exhaustive list of header files
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 6 Sep 2011 20:48:35 +0000 (20:48 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 6 Sep 2011 20:48:35 +0000 (20:48 +0000)
config.h.in
configure
configure.ac

index c0b3181..31beb3f 100644 (file)
@@ -12,6 +12,9 @@
 /* Define to 1 if you have the <stdint.h> header file. */
 #undef HAVE_STDINT_H
 
+/* Define to 1 if you have the <stdio.h> header file. */
+#undef HAVE_STDIO_H
+
 /* Define to 1 if you have the <stdlib.h> header file. */
 #undef HAVE_STDLIB_H
 
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #undef HAVE_SYS_STAT_H
 
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
 /* Define to 1 if you have the <sys/types.h> header file. */
 #undef HAVE_SYS_TYPES_H
 
+/* Define to 1 if you have the <time.h> header file. */
+#undef HAVE_TIME_H
+
 /* Define to 1 if you have the <unistd.h> header file. */
 #undef HAVE_UNISTD_H
 
index 887a83f..fa5ce57 100755 (executable)
--- a/configure
+++ b/configure
@@ -4382,7 +4382,7 @@ fi
 done
 
 
-for ac_header in stdlib.h getopt.h
+for ac_header in getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
index c0e455b..a572ae6 100644 (file)
@@ -18,7 +18,7 @@ AC_PROG_RANLIB
 
 # Checks for header files.
 AC_PATH_X
-AC_CHECK_HEADERS([stdlib.h getopt.h])
+AC_CHECK_HEADERS([getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h])
 
 # Checks CURL 
 PKG_CHECK_MODULES(CURL, libcurl )