]> Dogcows Code - chaz/tar/blobdiff - configure.ac
Produce an error, not warning, if the filename is too long.
[chaz/tar] / configure.ac
index 76d4218026a1a986adce1c1ff0e3cef1c5ae90ea..cdeb3bf473217d6f21c52faa710c8ccad1b6706e 100644 (file)
@@ -119,6 +119,7 @@ gl_FUNC_STRTOIMAX
 gl_FUNC_STRTOUMAX
 gl_GETDATE
 gl_GETOPT
+gl_GETTIME
 gl_HASH
 gl_HUMAN
 gl_MODECHANGE
@@ -132,6 +133,7 @@ gl_SAVE_CWD
 gl_SAVEDIR
 gl_STRCASE
 gl_TIME_R
+gl_TIMESPEC
 gl_XALLOC
 gl_XGETCWD
 gl_XSTRTOL
@@ -150,7 +152,7 @@ AC_CHECK_MEMBERS([struct stat.st_spare1, struct stat.st_atim.tv_nsec, struct sta
                  [
 #include <sys/types.h>
 #include <sys/stat.h>])
+
 # Save and restore LIBS so e.g., -lrt, isn't added to it.  Otherwise, *all*
 # programs in the package would end up linked with that potentially-shared
 # library, inducing unnecessary run-time overhead.
@@ -276,11 +278,15 @@ AM_GNU_GETTEXT_VERSION(0.12.1)
 
 # Iconv
 AM_ICONV
-AC_CHECK_HEADERS(iconv.h,
-                 [AC_CHECK_TYPE(iconv_t,:,
-                                AC_DEFINE(iconv_t, int,
-                                          [Conversion descriptor type]),
-                                [#include <iconv.h>])])
+AC_CHECK_HEADERS(iconv.h)
+AC_CHECK_TYPE(iconv_t,:,
+              AC_DEFINE(iconv_t, int,
+                        [Conversion descriptor type]),
+              [
+#ifdef HAVE_ICONV_H
+# include <iconv.h>
+#endif
+])
 
 AC_OUTPUT([Makefile\
            doc/Makefile\
This page took 0.020513 seconds and 4 git commands to generate.