openbsd-ports/security/fragrouter/patches/patch-configure

54 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1 2001/03/16 10:24:06 wilfried Exp $
--- configure.orig Mon Jul 26 17:08:51 1999
+++ configure Thu Mar 15 22:35:24 2001
@@ -746,31 +746,6 @@ else
fi
fi
-if test -n "$GCC"; then
- echo $ac_n "checking if the compiler understands -pipe -Wall""... $ac_c" 1>&6
-echo "configure:752: checking if the compiler understands -pipe -Wall" >&5
- OLDCC="$CC"
- CC="$CC -pipe -Wall"
- cat > conftest.$ac_ext <<EOF
-#line 756 "configure"
-#include "confdefs.h"
-
-int main() {
-
-; return 0; }
-EOF
-if { (eval echo configure:763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- echo "$ac_t""yes" 1>&6
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- CC="$OLDCC"
- echo "$ac_t""no" 1>&6
-fi
-rm -f conftest*
-fi
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
@@ -1375,7 +1350,7 @@ fi
done
-subdirs="libpcap-0.4 Libnet-0.99b"
+subdirs="Libnet-0.99b"
trap '' 1 2 15
@@ -1762,7 +1737,7 @@ if test "$no_recursion" != yes; then
esac
done
- for ac_config_dir in libpcap-0.4 Libnet-0.99b; do
+ for ac_config_dir in Libnet-0.99b; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.