Mercurial > hg > xemacs-beta
diff configure.ac @ 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.ac Sat Mar 26 16:26:53 2005 +0000 +++ b/configure.ac Sat Mar 26 17:22:34 2005 +0000 @@ -2302,8 +2302,6 @@ *86* ) dynodump_arch=i386 ;; powerpc ) dynodump_arch=ppc ;; esac - dnl Dynodump requires the system linker - test "$GCC" = "yes" && XE_APPEND(-fno-gnu-linker, ld_switch_site) fi dnl Feed s&m crud to src/Makefile @@ -2359,12 +2357,12 @@ dnl run through the AC_PROG_CC mill. dnl Would anybody really build libsrc with GCC and XEmacs with non-GCC? 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 dnl The Intel cc compiler ic*) - compiler_version=`icc -V 2>&1 | head -1` + compiler_version=`icc -V 2>&1 | sed 1q` ;; dnl non-gcc machine-specific magic - contributions welcome *) case "$ac_cv_build" in @@ -2393,7 +2391,7 @@ ;; *-*-solaris*) - compiler_version=`$XEMACS_CC -V 2>&1 | head -1` + compiler_version=`$XEMACS_CC -V 2>&1 | sed 1q` ;; alpha*-dec-osf*)