Mercurial > hg > xemacs-beta
diff configure @ 2692:7be4146ed65e
[xemacs-hg @ 2005-03-26 17:22:29 by vins]
configure.ac: Don't specify non-working -fno-gnu-linker on Solaris.
'head -1' is deprecated by coreutils-5.3.0 on some platforms;
replace it with 'sed 1q'
author | vins |
---|---|
date | Sat, 26 Mar 2005 17:22:34 +0000 |
parents | b26d8b5d0d30 |
children | 296a5cd2a686 |
line wrap: on
line diff
--- a/configure Sat Mar 26 16:26:53 2005 +0000 +++ b/configure Sat Mar 26 17:22:34 2005 +0000 @@ -8028,7 +8028,6 @@ *86* ) dynodump_arch=i386 ;; powerpc ) dynodump_arch=ppc ;; esac - test "$GCC" = "yes" && ld_switch_site="$ld_switch_site -fno-gnu-linker" && if test "$verbose" = "yes"; then echo " Appending \"-fno-gnu-linker\" to \$ld_switch_site"; fi fi @@ -8145,11 +8144,11 @@ echo $ECHO_N "checking for compiler version information... $ECHO_C" >&6 if test "$GCC" = "yes"; then - compiler_version=`$XEMACS_CC --version | head -1` - gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` + compiler_version=`$XEMACS_CC --version | sed 1q` + gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | sed 1q` else case "$XEMACS_CC" in ic*) - compiler_version=`icc -V 2>&1 | head -1` + compiler_version=`icc -V 2>&1 | sed 1q` ;; *) case "$ac_cv_build" in *-*-aix* ) @@ -8174,7 +8173,7 @@ ;; *-*-solaris*) - compiler_version=`$XEMACS_CC -V 2>&1 | head -1` + compiler_version=`$XEMACS_CC -V 2>&1 | sed 1q` ;; alpha*-dec-osf*)