From: Florian Forster Date: Thu, 29 Apr 2010 07:57:18 +0000 (+0200) Subject: configure.in: Put conditionals around , too, for consistency's sake. X-Git-Tag: collectd-4.10.0~3^2~1^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=aaa30a38b12e500f687c2bfdf069fe8f1d9b1b66;p=collectd.git configure.in: Put conditionals around , too, for consistency's sake. --- diff --git a/configure.in b/configure.in index 95552fd0..6b66b2ac 100644 --- a/configure.in +++ b/configure.in @@ -109,7 +109,7 @@ AC_HEADER_SYS_WAIT 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, [], [], @@ -690,7 +690,9 @@ if test "x$fp_layout_type" = "xunknown"; then #if HAVE_STDINT_H # include #endif -#include +#if HAVE_INTTYPES_H +# include +#endif #if HAVE_STDBOOL_H # include #endif @@ -735,7 +737,9 @@ if test "x$fp_layout_type" = "xunknown"; then #if HAVE_STDINT_H # include #endif -#include +#if HAVE_INTTYPES_H +# include +#endif #if HAVE_STDBOOL_H # include #endif @@ -788,7 +792,9 @@ if test "x$fp_layout_type" = "xunknown"; then #if HAVE_STDINT_H # include #endif -#include +#if HAVE_INTTYPES_H +# include +#endif #if HAVE_STDBOOL_H # include #endif @@ -925,8 +931,8 @@ AC_MSG_CHECKING([if have htonll defined]) AC_LANG_PROGRAM([ #include #include -#ifdef HAVE_INTTYPES_H -#include +#if HAVE_INTTYPES_H +# include #endif ], [ return htonll(0);