diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-12-12 01:45:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-12-12 01:45:57 +0100 |
commit | 5d75a87ef6270e65c54f63b66f8d9c8052ef60e9 (patch) | |
tree | 78bd8b7c87f875eb7174f9cd4e1440bcdcb7fcd2 /configure.ac | |
parent | 7ea8a3310e44d1ee3f455c3c1a1c630ca54057b3 (diff) | |
download | libmicrohttpd-5d75a87ef6270e65c54f63b66f8d9c8052ef60e9.tar.gz libmicrohttpd-5d75a87ef6270e65c54f63b66f8d9c8052ef60e9.zip |
brutally simplify VLA macro for stupid compilers
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a03205dc..44c7d294 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -743,7 +743,7 @@ fd = epoll_create1(EPOLL_CLOEXEC);]])], | |||
743 | AC_DEFINE([[HAVE_EPOLL_CREATE1]], [[1]], [Define if you have epoll_create1 function.])])) | 743 | AC_DEFINE([[HAVE_EPOLL_CREATE1]], [[1]], [Define if you have epoll_create1 function.])])) |
744 | 744 | ||
745 | # Check for headers that are ALWAYS required | 745 | # Check for headers that are ALWAYS required |
746 | AC_CHECK_HEADERS([fcntl.h math.h errno.h limits.h stdio.h locale.h sys/stat.h sys/types.h], [], [AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])], [AC_INCLUDES_DEFAULT]) | 746 | AC_CHECK_HEADERS_ONCE([fcntl.h math.h errno.h limits.h stdio.h locale.h sys/stat.h sys/types.h], [], [AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])], [AC_INCLUDES_DEFAULT]) |
747 | 747 | ||
748 | # Check for optional headers | 748 | # Check for optional headers |
749 | AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h time.h sys/mman.h sys/ioctl.h \ | 749 | AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h time.h sys/mman.h sys/ioctl.h \ |