X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=configure.ac;h=cdeb3bf473217d6f21c52faa710c8ccad1b6706e;hb=af244aeef3f45e0b431fd6fe8a7d2673ceefb254;hp=76d4218026a1a986adce1c1ff0e3cef1c5ae90ea;hpb=f9dc020f90ea4e70ea0215a73ae021c7b415b3c6;p=chaz%2Ftar diff --git a/configure.ac b/configure.ac index 76d4218..cdeb3bf 100644 --- a/configure.ac +++ b/configure.ac @@ -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 #include ]) - + # 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 ])]) +AC_CHECK_HEADERS(iconv.h) +AC_CHECK_TYPE(iconv_t,:, + AC_DEFINE(iconv_t, int, + [Conversion descriptor type]), + [ +#ifdef HAVE_ICONV_H +# include +#endif +]) AC_OUTPUT([Makefile\ doc/Makefile\