comparison 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
comparison
equal deleted inserted replaced
2691:8d4fa1c4e0b8 2692:7be4146ed65e
8026 case "$machine" in 8026 case "$machine" in
8027 sparc ) dynodump_arch=sparc ;; 8027 sparc ) dynodump_arch=sparc ;;
8028 *86* ) dynodump_arch=i386 ;; 8028 *86* ) dynodump_arch=i386 ;;
8029 powerpc ) dynodump_arch=ppc ;; 8029 powerpc ) dynodump_arch=ppc ;;
8030 esac 8030 esac
8031 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
8032 fi 8031 fi
8033 8032
8034 8033
8035 8034
8036 ac_ext=c 8035 ac_ext=c
8143 8142
8144 echo "$as_me:$LINENO: checking for compiler version information" >&5 8143 echo "$as_me:$LINENO: checking for compiler version information" >&5
8145 echo $ECHO_N "checking for compiler version information... $ECHO_C" >&6 8144 echo $ECHO_N "checking for compiler version information... $ECHO_C" >&6
8146 8145
8147 if test "$GCC" = "yes"; then 8146 if test "$GCC" = "yes"; then
8148 compiler_version=`$XEMACS_CC --version | head -1` 8147 compiler_version=`$XEMACS_CC --version | sed 1q`
8149 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` 8148 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | sed 1q`
8150 else case "$XEMACS_CC" in 8149 else case "$XEMACS_CC" in
8151 ic*) 8150 ic*)
8152 compiler_version=`icc -V 2>&1 | head -1` 8151 compiler_version=`icc -V 2>&1 | sed 1q`
8153 ;; 8152 ;;
8154 *) case "$ac_cv_build" in 8153 *) case "$ac_cv_build" in
8155 *-*-aix* ) 8154 *-*-aix* )
8156 realcc=`which $XEMACS_CC` 8155 realcc=`which $XEMACS_CC`
8157 if test -L $realcc ; then 8156 if test -L $realcc ; then
8172 compiler_version="$lpp $lpplev - $lppdesc" 8171 compiler_version="$lpp $lpplev - $lppdesc"
8173 fi 8172 fi
8174 ;; 8173 ;;
8175 8174
8176 *-*-solaris*) 8175 *-*-solaris*)
8177 compiler_version=`$XEMACS_CC -V 2>&1 | head -1` 8176 compiler_version=`$XEMACS_CC -V 2>&1 | sed 1q`
8178 ;; 8177 ;;
8179 8178
8180 alpha*-dec-osf*) 8179 alpha*-dec-osf*)
8181 compiler_version=`$XEMACS_CC -V | tr '\n' ' '` 8180 compiler_version=`$XEMACS_CC -V | tr '\n' ' '`
8182 ;; 8181 ;;