summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e857aa8)
raw | patch | inline | side by side (parent: e857aa8)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 29 Apr 2010 07:57:18 +0000 (09:57 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 29 Apr 2010 07:59:50 +0000 (09:59 +0200) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 95552fd047ca6ab378ec4533e0543f543ea4db93..6b66b2ac92373ed0edbcafa6edf066319e1ca69f 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_HEADER_DIRENT
AC_HEADER_STDBOOL
-AC_CHECK_HEADERS(stdio.h stdint.h errno.h math.h stdarg.h syslog.h fcntl.h signal.h assert.h sys/types.h sys/socket.h sys/select.h poll.h netdb.h arpa/inet.h sys/resource.h sys/param.h kstat.h regex.h sys/ioctl.h endian.h sys/isa_defs.h)
+AC_CHECK_HEADERS(stdio.h errno.h math.h stdarg.h syslog.h fcntl.h signal.h assert.h sys/types.h sys/socket.h sys/select.h poll.h netdb.h arpa/inet.h sys/resource.h sys/param.h kstat.h regex.h sys/ioctl.h endian.h sys/isa_defs.h)
# For ping library
AC_CHECK_HEADERS(netinet/in_systm.h, [], [],
#if HAVE_STDINT_H
# include <stdint.h>
#endif
-#include <inttypes.h>
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
#if HAVE_STDBOOL_H
# include <stdbool.h>
#endif
#if HAVE_STDINT_H
# include <stdint.h>
#endif
-#include <inttypes.h>
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
#if HAVE_STDBOOL_H
# include <stdbool.h>
#endif
#if HAVE_STDINT_H
# include <stdint.h>
#endif
-#include <inttypes.h>
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
#if HAVE_STDBOOL_H
# include <stdbool.h>
#endif
AC_LANG_PROGRAM([
#include <sys/types.h>
#include <netinet/in.h>
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
#endif
], [
return htonll(0);