diff configure @ 3773:5f25b1501bcd

[xemacs-hg @ 2007-01-01 10:03:52 by malcolmp] Use 'grep -E' rather than egrep and 'grep -F' rather than fgrep.
author malcolmp
date Mon, 01 Jan 2007 10:04:13 +0000
parents e1dc2edc2719
children e58f4b9ab1ad
line wrap: on
line diff
--- a/configure	Mon Jan 01 07:46:38 2007 +0000
+++ b/configure	Mon Jan 01 10:04:13 2007 +0000
@@ -21488,7 +21488,7 @@
         # Check to see if the program is GNU ld.  I'd rather use --version,
         # but apparently some GNU ld's only accept -v.
         # Break only if it was the GNU/non-GNU ld that we prefer.
-        if "$LTLD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+        if "$LTLD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
           xe_gnu_ld=yes
         else
           xe_gnu_ld=no
@@ -21520,7 +21520,7 @@
 echo "$as_me:$LINENO: checking if the linker is GNU ld" >&5
 echo $ECHO_N "checking if the linker is GNU ld... $ECHO_C" >&6
 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
-if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+if $LTLD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   xe_gnu_ld=yes
 else
   xe_gnu_ld=no
@@ -21561,7 +21561,7 @@
   can_build_shared=yes
   if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
     # See if GNU ld supports shared libraries.
-    if $LTLD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+    if $LTLD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null; then
       dll_ld=$CC
       dll_ldflags="-shared"
       ld_shlibs=yes