]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Regenerate.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Feb 2005 19:12:41 +0000 (19:12 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Feb 2005 19:12:41 +0000 (19:12 +0000)
configure

index ba9f62014b6c8783ec3e8875a1257648a230f221..db8fbe7c7a325f5f5d0d4dce8c76827e3fcc8bf5 100755 (executable)
--- a/configure
+++ b/configure
@@ -505,13 +505,13 @@ IFS="     $as_nl"
 $as_unset CDPATH
 
 
+exec </dev/null 6>&1
+
 # Name of the host.
 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
-exec 6>&1
-
 #
 # Initializations.
 #
@@ -2548,9 +2548,10 @@ do
     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
     # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
-if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
-else
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
   ac_count=0
   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   while :
@@ -2570,8 +2571,8 @@ else
     # 10*(2^10) chars as input seems more than enough
     test $ac_count -gt 10 && break
   done
-  rm -f conftest.*
-fi
+  rm -f conftest.*;;
+esac
 
 
     $ac_path_GREP_found && break 3