5315fbba5b
ok sthen@
72 lines
2.1 KiB
Plaintext
72 lines
2.1 KiB
Plaintext
$OpenBSD: patch-configure,v 1.9 2008/09/20 22:15:52 rui Exp $
|
|
--- configure.orig Fri Sep 5 10:29:01 2008
|
|
+++ configure Fri Sep 19 18:04:38 2008
|
|
@@ -21655,34 +21655,6 @@ fi
|
|
echo "$as_me:$LINENO: result: $EXTRACPPFLAGS" >&5
|
|
echo "${ECHO_T}$EXTRACPPFLAGS" >&6
|
|
|
|
-# Prefixes must begin with "/" or [A-Z] followed by colon.
|
|
-
|
|
-if test "x$prefix" = "xNONE"; then
|
|
- prefix=/usr/local
|
|
-fi
|
|
-
|
|
-fch=`echo $prefix | sed 's/\(.\).*/\1/'`
|
|
-if test "x$fch" != "x/" ; then
|
|
- sch=`echo $prefix | sed 's/.\(.\).*/\1/'`
|
|
- if test "x$sch" != "x:" ; then
|
|
- prefix=`pwd`/$prefix
|
|
- echo "adjusting prefix to $prefix"
|
|
- fi
|
|
-fi
|
|
-
|
|
-if test "x$exec_prefix" = "xNONE"; then
|
|
- exec_prefix=$prefix
|
|
-fi
|
|
-
|
|
-fch=`echo $exec_prefix | sed 's/\(.\).*/\1/'`
|
|
-if test "x$fch" != "x/" ; then
|
|
- sch=`echo $exec_prefix | sed 's/.\(.\).*/\1/'`
|
|
- if test "x$sch" != "x:" ; then
|
|
- exec_prefix=`pwd`/$exec_prefix
|
|
- echo "adjusting exec_prefix to $exec_prefix"
|
|
- fi
|
|
-fi
|
|
-
|
|
# Set SNMPLIBPATH & SNMPSHAREPATH
|
|
|
|
SNMPLIBPATH=""
|
|
@@ -28344,6 +28316,7 @@ cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
$ac_includes_default
|
|
+#include <sys/types.h>
|
|
#include <tcpd.h>
|
|
_ACEOF
|
|
rm -f conftest.$ac_objext
|
|
@@ -28388,6 +28361,7 @@ _ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
+#include <sys/types.h>
|
|
#include <tcpd.h>
|
|
_ACEOF
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
@@ -33939,7 +33913,7 @@ done
|
|
|
|
|
|
|
|
-for ac_header in malloc.h net/if_dl.h sys/sysctl.h stdlib.h net/if_types.h sys/queue.h osreldate.h machine/types.h sys/user.h sys/proc.h sys/mbuf.h sys/mount.h sys/dkstat.h sys/conf.h
|
|
+for ac_header in sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_types.h sys/queue.h osreldate.h machine/types.h sys/socketvar.h sys/user.h sys/proc.h sys/mbuf.h sys/mount.h sys/dkstat.h sys/conf.h
|
|
do
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
@@ -37415,7 +37389,6 @@ cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
-#include <machine/types.h>
|
|
#include <sys/disklabel.h>
|
|
|
|
_ACEOF
|