Skip a broken configure test whose result isn't used and which only

succeeded out of sheer luck until struct ostatfs was removed in rev 1.108
of <sys/mount.h>.
This commit is contained in:
naddy 2012-09-16 18:00:00 +00:00
parent 7cd4dce78b
commit 9cd84e9c71

View File

@ -1,6 +1,10 @@
$OpenBSD: patch-configure,v 1.2 2007/10/08 13:45:53 fgsch Exp $
--- configure.orig Fri Jul 1 14:00:17 2005
+++ configure Thu Oct 4 12:03:59 2007
$OpenBSD: patch-configure,v 1.3 2012/09/16 18:00:00 naddy Exp $
Get the list of mounted filesystems: this isn't used outside of
configure, so just skip the broken tests.
--- configure.orig Fri Jul 1 15:00:17 2005
+++ configure Sun Sep 16 16:13:14 2012
@@ -1973,17 +1973,9 @@ echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
@ -21,6 +25,24 @@ $OpenBSD: patch-configure,v 1.2 2007/10/08 13:45:53 fgsch Exp $
fi
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
@@ -11105,7 +11097,7 @@ done
# Determine how to get the list of mounted filesystems.
-list_mounted_fs=
+list_mounted_fs=no
# If the getmntent function is available but not in the standard library,
# make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX).
@@ -12605,7 +12597,7 @@ _ACEOF
fi
-if [ $target = "p.os" ]; then
+if [ "$target" = "p.os" ]; then
HAVE_POS=yes
else
echo "$as_me:$LINENO: checking for pOS" >&5
@@ -13858,8 +13850,7 @@ fi
if test $ac_cv_c_compiler_gnu = yes; then