]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
autoconf: Tidy up header includes
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 3 Jan 2011 10:40:56 +0000 (10:40 +0000)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 4 Apr 2013 08:48:23 +0000 (01:48 -0700)
Tidy up our list of header includes so it's easier to see what
we're testing for. The list is now one-per-line, in alphabetically
sorted order.

Note that this won't affect our use of the default include set, as
autoconf will already have tested for all of those before it starts
this CHECK_HEADERS run.

Reviewed-on: http://gerrit.openafs.org/3612
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit c8fc94fb86255a2c5cbd1613b33e32ec3a4d3b21)

Change-Id: I0b507dcd9578d1c041731f7f7923f27e33fc89df
Reviewed-on: http://gerrit.openafs.org/9411
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
acinclude.m4

index e87b8bd734fc44f9c6832bb1c1d09f615ffec68d..bd4a43b77824cf9fd9fe5d48384508184ad10a6a 100644 (file)
@@ -1294,16 +1294,47 @@ dnl checks for header files.
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
 AC_HEADER_DIRENT
-AC_CHECK_HEADERS(stdlib.h string.h unistd.h fcntl.h sys/time.h sys/file.h grp.h)
-AC_CHECK_HEADERS(netinet/in.h netdb.h sys/fcntl.h sys/mnttab.h sys/mntent.h)
-AC_CHECK_HEADERS(mntent.h sys/vfs.h sys/param.h sys/fs_types.h sys/fstyp.h)
-AC_CHECK_HEADERS(sys/mount.h strings.h termios.h signal.h sys/pag.h)
-AC_CHECK_HEADERS(windows.h direct.h sys/ipc.h sys/resource.h)
-AC_CHECK_HEADERS(security/pam_modules.h ucontext.h regex.h sys/statvfs.h sys/statfs.h sys/bitypes.h)
+AC_CHECK_HEADERS([ \
+       curses.h \
+       direct.h \
+       et/com_err.h \
+       fcntl.h \
+       grp.h \
+       mntent.h \
+       ncurses.h \
+       ncurses/ncurses.h \
+       netinet/in.h \
+       netdb.h \
+       regex.h \
+       search.h \
+       security/pam_modules.h \
+       signal.h \
+       stdlib.h \
+       string.h \
+       strings.h \
+       sys/bitypes.h \
+       sys/fcntl.h \
+       sys/file.h \
+       sys/fs_types.h \
+       sys/fstyp.h \
+       sys/ipc.h \
+       sys/mntent.h \
+       sys/mnttab.h \
+       sys/mount.h \
+       sys/pag.h \
+       sys/param.h \
+       sys/resource.h \
+       sys/statfs.h \
+       sys/statvfs.h \
+       sys/time.h \
+       sys/vfs.h \
+       termios.h \
+       ucontext.h \
+       unistd.h \
+       windows.h \
+])
+
 AC_CHECK_HEADERS(linux/errqueue.h,,,[#include <linux/types.h>])
-AC_CHECK_HEADERS(et/com_err.h)
-AC_CHECK_HEADERS(ncurses.h ncurses/ncurses.h curses.h)
-AC_CHECK_HEADERS(search.h)
 
 AC_CHECK_TYPES([fsblkcnt_t],,,[
 #include <sys/types.h>