qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Remove unused header checks.
2016-08-20, Elliott Sales de Andrade
f2beced1f8c2
Parents
22477dc14614
Children
cdbda37176f1
Remove unused header checks.
* arpa/nameser_compat.h appears unused.
* sys/time.h should be fine on all systems, according to AC_HEADER_TIME,
but it's not used anyway.
* regex.h is not used.
* sys/utsname.h appears twice.
1 files changed, 1 insertions(+), 4 deletions(-)
+1
-4
configure.ac
--- a/configure.ac Wed Jan 06 14:25:46 2016 -0500
+++ b/configure.ac Sat Aug 20 20:15:01 2016 -0400
@@ -69,7 +69,7 @@
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(arpa/nameser_compat.h fcntl.h sys/time.h unistd.h locale.h signal.h stdint.h regex.h)
+AC_CHECK_HEADERS(fcntl.h unistd.h locale.h signal.h stdint.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -91,9 +91,6 @@
AC_MSG_CHECKING(for the %z format string in strftime())
AC_TRY_RUN([
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
#include <time.h>
#include <stdio.h>