Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / fam / patches / patch-ax
blob543d7355f51db6465b1f2d10d8b5b018555a0b92
1 $NetBSD$
3 --- configure.orig      2003-11-26 11:47:26.000000000 -0800
4 +++ configure
5 @@ -1,6 +1,6 @@
6  #! /bin/sh
7  # Guess values for system-dependent variables and create Makefiles.
8 -# Generated by GNU Autoconf 2.57 for fam 2.7.0-pre1.
9 +# Generated by GNU Autoconf 2.57 for fam 2.7.0.
10  #
11  # Report bugs to <fam@oss.sgi.com>.
12  #
13 @@ -1128,7 +1128,7 @@ cat >&5 <<_ACEOF
14  This file contains any messages produced by compilers while
15  running configure, to aid debugging if configure makes a mistake.
17 -It was created by fam $as_me 2.7.0-pre1, which was
18 +It was created by fam $as_me 2.7.0, which was
19  generated by GNU Autoconf 2.57.  Invocation command line was
21    $ $0 $@
22 @@ -9053,7 +9053,9 @@ fi
26 -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
29 +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
30  do
31  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32  if eval "test \"\${$as_ac_Header+set}\" = set"; then
33 @@ -9833,7 +9835,8 @@ _ACEOF
34  cat confdefs.h >>conftest.$ac_ext
35  cat >>conftest.$ac_ext <<_ACEOF
36  /* end confdefs.h.  */
37 -$ac_includes_default
38 +#include <sys/socket.h>
40  int
41  main ()
42  {
43 @@ -9868,7 +9871,8 @@ _ACEOF
44  cat confdefs.h >>conftest.$ac_ext
45  cat >>conftest.$ac_ext <<_ACEOF
46  /* end confdefs.h.  */
47 -$ac_includes_default
48 +#include <sys/socket.h>
50  int
51  main ()
52  {
53 @@ -9910,7 +9914,103 @@ cat >>confdefs.h <<_ACEOF
54  #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
55  _ACEOF
57 -struct sockaddr_un.sun_len
59 +fi
61 +echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
62 +echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
63 +if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
64 +  echo $ECHO_N "(cached) $ECHO_C" >&6
65 +else
66 +  cat >conftest.$ac_ext <<_ACEOF
67 +#line $LINENO "configure"
68 +/* confdefs.h.  */
69 +_ACEOF
70 +cat confdefs.h >>conftest.$ac_ext
71 +cat >>conftest.$ac_ext <<_ACEOF
72 +/* end confdefs.h.  */
73 +#include <sys/types.h>
74 +#include <sys/un.h>
76 +int
77 +main ()
79 +static struct sockaddr_un ac_aggr;
80 +if (ac_aggr.sun_len)
81 +return 0;
82 +  ;
83 +  return 0;
85 +_ACEOF
86 +rm -f conftest.$ac_objext
87 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88 +  (eval $ac_compile) 2>&5
89 +  ac_status=$?
90 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
91 +  (exit $ac_status); } &&
92 +         { ac_try='test -s conftest.$ac_objext'
93 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94 +  (eval $ac_try) 2>&5
95 +  ac_status=$?
96 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
97 +  (exit $ac_status); }; }; then
98 +  ac_cv_member_struct_sockaddr_un_sun_len=yes
99 +else
100 +  echo "$as_me: failed program was:" >&5
101 +sed 's/^/| /' conftest.$ac_ext >&5
103 +cat >conftest.$ac_ext <<_ACEOF
104 +#line $LINENO "configure"
105 +/* confdefs.h.  */
106 +_ACEOF
107 +cat confdefs.h >>conftest.$ac_ext
108 +cat >>conftest.$ac_ext <<_ACEOF
109 +/* end confdefs.h.  */
110 +#include <sys/types.h>
111 +#include <sys/un.h>
113 +int
114 +main ()
116 +static struct sockaddr_un ac_aggr;
117 +if (sizeof ac_aggr.sun_len)
118 +return 0;
119 +  ;
120 +  return 0;
122 +_ACEOF
123 +rm -f conftest.$ac_objext
124 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125 +  (eval $ac_compile) 2>&5
126 +  ac_status=$?
127 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
128 +  (exit $ac_status); } &&
129 +         { ac_try='test -s conftest.$ac_objext'
130 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131 +  (eval $ac_try) 2>&5
132 +  ac_status=$?
133 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
134 +  (exit $ac_status); }; }; then
135 +  ac_cv_member_struct_sockaddr_un_sun_len=yes
136 +else
137 +  echo "$as_me: failed program was:" >&5
138 +sed 's/^/| /' conftest.$ac_ext >&5
140 +ac_cv_member_struct_sockaddr_un_sun_len=no
142 +rm -f conftest.$ac_objext conftest.$ac_ext
144 +rm -f conftest.$ac_objext conftest.$ac_ext
146 +echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
147 +echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
148 +if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
150 +cat >>confdefs.h <<_ACEOF
151 +#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
152 +_ACEOF
155  fi
158 @@ -10193,7 +10293,7 @@ rm -f conftest*
162 -for ac_func in bindresvport _daemonize daemon getgrmember select
163 +for ac_func in bindresvport _daemonize daemon getgrmember select sysctlbyname unsetenv
164  do
165  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
166  echo "$as_me:$LINENO: checking for $ac_func" >&5
167 @@ -10646,7 +10746,7 @@ _ASBOX
168  } >&5
169  cat >&5 <<_CSEOF
171 -This file was extended by fam $as_me 2.7.0-pre1, which was
172 +This file was extended by fam $as_me 2.7.0, which was
173  generated by GNU Autoconf 2.57.  Invocation command line was
175    CONFIG_FILES    = $CONFIG_FILES