openbsd-ports/net/ucd-snmp/patches/patch-aa

25 lines
762 B
Plaintext
Raw Normal View History

1999-07-21 16:11:00 -04:00
--- configure.orig Wed Jul 21 11:41:23 1999
+++ configure Wed Jul 21 11:51:00 1999
@@ -3014,11 +3014,20 @@
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
+ if test "x$ac_hdr" = "xnetinet/in_pcb.h" ;then
+ cat > conftest.$ac_ext <<EOF
#line 3019 "configure"
#include "confdefs.h"
+#include <netinet/in.h>
#include <$ac_hdr>
EOF
+ else
+ cat > conftest.$ac_ext <<EOF
+#line 3019 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ fi
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`