User: vins
Date: 05/03/26 18:22:39
Modified: xemacs ChangeLog configure configure.ac
Log:
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'
Revision Changes Path
1.447 +8 -0 XEmacs/xemacs/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/ChangeLog,v
retrieving revision 1.446
retrieving revision 1.447
diff -u -p -r1.446 -r1.447
--- ChangeLog 2005/03/24 00:27:37 1.446
+++ ChangeLog 2005/03/26 17:22:29 1.447
@@ -1,3 +1,11 @@
+2005-03-23 Vin Shelton <acs(a)xemacs.org>
+
+ * configure.in: Remove -fno-gnu-linker option from Solaris
+ dynodump builds; it doesn't do anything.
+
+ Don't use 'head -1' - it's deprecated by coreutils-5.3.0 on some
+ platforms.
+
2005-03-24 Aidan Kehoe <kehoea(a)parhasard.net>
* configure: Regenerate.
1.247 +4 -5 XEmacs/xemacs/configure
Index: configure
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -p -r1.246 -r1.247
--- configure 2005/03/24 00:27:37 1.246
+++ configure 2005/03/26 17:22:29 1.247
@@ -8028,7 +8028,6 @@ _ACEOF
*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 "$as_me:$LINENO: checking for compi
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 @@ else case "$XEMACS_CC" in
;;
*-*-solaris*)
- compiler_version=`$XEMACS_CC -V 2>&1 | head -1`
+ compiler_version=`$XEMACS_CC -V 2>&1 | sed 1q`
;;
alpha*-dec-osf*)
1.6 +4 -6 XEmacs/xemacs/configure.ac
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- configure.ac 2005/03/24 00:27:40 1.5
+++ configure.ac 2005/03/26 17:22:34 1.6
@@ -2302,8 +2302,6 @@ else
*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 #### Is this code correct if $XEMACS
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 @@ else case "$XEMACS_CC" in
;;
*-*-solaris*)
- compiler_version=`$XEMACS_CC -V 2>&1 | head -1`
+ compiler_version=`$XEMACS_CC -V 2>&1 | sed 1q`
;;
alpha*-dec-osf*)
Show replies by date