Landing configuration rewrite
Katsuhiro Kondou
Katsuhiro_Kondou at isc.org
Mon Dec 29 03:04:55 UTC 2003
In article <877k0ktiku.fsf at windlord.stanford.edu>,
Russ Allbery <rra at stanford.edu> wrote;
} land this. Please let me know if you see any problems and I'll try to get
} them fixed right away. I've tested somewhat, but it's hard to thoroughly
} test the configure script itself (most of the errors are likely to just be
} simple syntax errors, since I tried pretty hard to keep the actual
} functionality the same, although some of the defines have changed names).
Attached fixes compilation problem on OSX(both Jaguar
and Panther). This time I leave repository untouched,
since you may get another patch from others.
--
Katsuhiro Kondou
Index: configure.ac
===================================================================
RCS file: /Users/kondou/news/inn/repository/inn/configure.ac,v
retrieving revision 1.2
diff -u -r1.2 configure.ac
--- configure.ac 2003/12/26 06:33:19 1.2
+++ configure.ac 2003/12/29 02:44:47
@@ -353,7 +353,8 @@
AC_CHECK_DECLS([pread, pwrite, snprintf, vsnprintf])
AC_CHECK_DECLS([h_errno], , , [#include <netdb.h>])
AC_CHECK_DECLS([inet_aton, inet_ntoa], , ,
- [#include <netinet/in.h>
+ [#include <sys/types.h>
+ #include <netinet/in.h>
#include <arpa/inet.h>])
AC_CHECK_DECLS([altzone], , , [#include <time.h>])
@@ -368,7 +369,9 @@
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
AC_CHECK_MEMBERS([struct tm.tm_gmtoff])
-AC_CHECK_MEMBERS([struct sockaddr.sa_len], , , [#include <sys/socket.h>])
+AC_CHECK_MEMBERS([struct sockaddr.sa_len], , ,
+ [#include <sys/types.h>
+ #include <sys/socket.h>])
dnl Checks for types.
INN_TYPE_INT32_T
@@ -396,8 +399,10 @@
dnl are named.
AC_CHECK_TYPES([struct sockaddr_storage],
[AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family], , ,
- [#include <sys/socket.h>])], ,
- [#include <sys/socket.h>])
+ [#include <sys/types.h>
+ #include <sys/socket.h>])], ,
+ [#include <sys/types.h>
+ #include <sys/socket.h>])
dnl Checks for macros.
INN_MACRO_IN6_ARE_ADDR_EQUAL
More information about the inn-workers
mailing list