about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/configure
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-14 20:17:43 +0000
committerRoland McGrath <roland@gnu.org>2004-08-14 20:17:43 +0000
commit0b44fad39268c75c2da50f6c1c4f5bb3b54a0ef7 (patch)
treeaedb4a833f54090a01205d689b000e5a8c444d45 /sysdeps/mach/hurd/configure
parentc7fa647a109ef0e44faffe7675df1a1ab9afede0 (diff)
downloadglibc-0b44fad39268c75c2da50f6c1c4f5bb3b54a0ef7.tar.gz
glibc-0b44fad39268c75c2da50f6c1c4f5bb3b54a0ef7.tar.xz
glibc-0b44fad39268c75c2da50f6c1c4f5bb3b54a0ef7.zip
2004-08-14 Roland McGrath <roland@frob.com>
	* sysdeps/mach/configure: Regenerated.
	* sysdeps/mach/hurd/configure: Regenerated.
Diffstat (limited to 'sysdeps/mach/hurd/configure')
-rwxr-xr-xsysdeps/mach/hurd/configure17
1 files changed, 13 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure
index 591024b19b..959a779fa5 100755
--- a/sysdeps/mach/hurd/configure
+++ b/sysdeps/mach/hurd/configure
@@ -34,7 +34,6 @@ if test "${libc_cv_hurd_version+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
@@ -55,11 +54,21 @@ main ()
 _ACEOF
 rm -f conftest.$ac_objext
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>&5
+  (eval $ac_compile) 2>conftest.er1
   ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&
-         { ac_try='test -s conftest.$ac_objext'
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest.$ac_objext'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
@@ -72,7 +81,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 libc_cv_hurd_version=bad
 fi
-rm -f conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
 echo "$as_me:$LINENO: result: $libc_cv_hurd_version" >&5
 echo "${ECHO_T}$libc_cv_hurd_version" >&6