From a08480acaad6dafa67990a2a3059567e2bb8c871 Mon Sep 17 00:00:00 2001 From: Jordi Mallach Date: Fri, 25 Jun 2004 22:26:19 +0000 Subject: [PATCH] Fix XSI:ism in config.rpath. git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_2_branch/nano@1816 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ config.rpath | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10ca6d7b..992baf4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ CVS code - #246956 (no warning when trying to open non-readable file). - Add an extra titlebar() call (useful when reading in a big file). +- config.rpath: + - Replace usage of egrep with grep -E, avoiding a XSI:ism (David + Weinehall) GNU nano 1.2.3 - 2004.01.17 - General: 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 -- 2.39.5