Mercurial > hg > xemacs-beta
diff aclocal.m4 @ 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 | b145b32294ff |
children | aa5ed11f473b |
line wrap: on
line diff
--- a/aclocal.m4 Mon Jan 01 07:46:38 2007 +0000 +++ b/aclocal.m4 Mon Jan 01 10:04:13 2007 +0000 @@ -355,7 +355,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 @@ -385,7 +385,7 @@ # Check to see if it really is or isn't GNU ld. AC_MSG_CHECKING([if the linker is GNU ld]) # 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 @@ -425,7 +425,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