From: Jordi Mallach Date: Fri, 25 Jun 2004 22:34:18 +0000 (+0000) Subject: Fix XSI:ism in config.rpath. X-Git-Tag: v1.3.3~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d350727726531369cf5747446034d752888739dd;p=nano.git Fix XSI:ism in config.rpath. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1817 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 8a78567a..83331df7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -413,6 +413,10 @@ CVS code - programs. (DLR) - Remove the checks for resizeterm() and wresize(), as they're no longer needed. (DLR) +- config.rpath: + - Replace usage of egrep with grep -E, avoiding a XSI:ism (David + Weinehall) + - faq.html: - Removed question about the NumLock glitch, as it's no longer needed. (DLR) diff --git a/config.rpath b/config.rpath index 5ead7586..5e7ba100 100755 --- a/config.rpath +++ b/config.rpath @@ -125,7 +125,7 @@ if test "$with_gnu_ld" = yes; then ld_shlibs=no ;; beos*) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + if $LD --help 2>&1 | grep -E ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no @@ -137,9 +137,9 @@ if test "$with_gnu_ld" = yes; then hardcode_libdir_flag_spec='-L$libdir' ;; solaris* | sysv5*) - if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then + if $LD -v 2>&1 | grep -E 'BFD 2\.8' > /dev/null; then ld_shlibs=no - elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + elif $LD --help 2>&1 | grep -E ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no @@ -149,7 +149,7 @@ if test "$with_gnu_ld" = yes; then hardcode_direct=yes ;; *) - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + if $LD --help 2>&1 | grep -E ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no