da38dd3498
This fixes PR 36346.
175 lines
4.8 KiB
Text
175 lines
4.8 KiB
Text
$NetBSD: patch-ax,v 1.12 2007/07/08 23:31:35 minskim Exp $
|
|
|
|
--- configure.orig 2003-11-26 11:47:26.000000000 -0800
|
|
+++ configure
|
|
@@ -1,6 +1,6 @@
|
|
#! /bin/sh
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
-# Generated by GNU Autoconf 2.57 for fam 2.7.0-pre1.
|
|
+# Generated by GNU Autoconf 2.57 for fam 2.7.0.
|
|
#
|
|
# Report bugs to <fam@oss.sgi.com>.
|
|
#
|
|
@@ -1128,7 +1128,7 @@ cat >&5 <<_ACEOF
|
|
This file contains any messages produced by compilers while
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
-It was created by fam $as_me 2.7.0-pre1, which was
|
|
+It was created by fam $as_me 2.7.0, which was
|
|
generated by GNU Autoconf 2.57. Invocation command line was
|
|
|
|
$ $0 $@
|
|
@@ -9053,7 +9053,9 @@ fi
|
|
|
|
|
|
|
|
-for ac_header in fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h
|
|
+
|
|
+
|
|
+for ac_header in fcntl.h limits.h linux/imon.h netinet/in.h rpc/rpc.h rpc/rpcent.h rpcsvc/mount.h stddef.h stdlib.h string.h syslog.h sys/filio.h sys/imon.h sys/param.h sys/select.h sys/statvfs.h sys/syssgi.h sys/time.h sys/types.h sys/un.h unistd.h mntent.h sys/mnttab.h sys/sysmacros.h
|
|
do
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
@@ -9833,7 +9835,8 @@ _ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
-$ac_includes_default
|
|
+#include <sys/socket.h>
|
|
+
|
|
int
|
|
main ()
|
|
{
|
|
@@ -9868,7 +9871,8 @@ _ACEOF
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
-$ac_includes_default
|
|
+#include <sys/socket.h>
|
|
+
|
|
int
|
|
main ()
|
|
{
|
|
@@ -9910,7 +9914,103 @@ cat >>confdefs.h <<_ACEOF
|
|
#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
|
|
_ACEOF
|
|
|
|
-struct sockaddr_un.sun_len
|
|
+
|
|
+fi
|
|
+
|
|
+echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
|
|
+echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
|
|
+if test "${ac_cv_member_struct_sockaddr_un_sun_len+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
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#include <sys/types.h>
|
|
+#include <sys/un.h>
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+static struct sockaddr_un ac_aggr;
|
|
+if (ac_aggr.sun_len)
|
|
+return 0;
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
+ (eval $ac_compile) 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=$?
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }; }; then
|
|
+ ac_cv_member_struct_sockaddr_un_sun_len=yes
|
|
+else
|
|
+ echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+#line $LINENO "configure"
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+#include <sys/types.h>
|
|
+#include <sys/un.h>
|
|
+
|
|
+int
|
|
+main ()
|
|
+{
|
|
+static struct sockaddr_un ac_aggr;
|
|
+if (sizeof ac_aggr.sun_len)
|
|
+return 0;
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
+ (eval $ac_compile) 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=$?
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }; }; then
|
|
+ ac_cv_member_struct_sockaddr_un_sun_len=yes
|
|
+else
|
|
+ echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ac_cv_member_struct_sockaddr_un_sun_len=no
|
|
+fi
|
|
+rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+rm -f conftest.$ac_objext conftest.$ac_ext
|
|
+fi
|
|
+echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
|
|
+echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
|
|
+if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
|
|
+
|
|
+cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
|
|
+_ACEOF
|
|
+
|
|
+
|
|
fi
|
|
|
|
|
|
@@ -10193,7 +10293,7 @@ rm -f conftest*
|
|
|
|
|
|
|
|
-for ac_func in bindresvport _daemonize daemon getgrmember select
|
|
+for ac_func in bindresvport _daemonize daemon getgrmember select sysctlbyname unsetenv
|
|
do
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
@@ -10646,7 +10746,7 @@ _ASBOX
|
|
} >&5
|
|
cat >&5 <<_CSEOF
|
|
|
|
-This file was extended by fam $as_me 2.7.0-pre1, which was
|
|
+This file was extended by fam $as_me 2.7.0, which was
|
|
generated by GNU Autoconf 2.57. Invocation command line was
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|