gl_FUNC_STRTOUMAX
gl_GETDATE
gl_GETOPT
+gl_GETTIME
gl_HASH
gl_HUMAN
gl_MODECHANGE
gl_SAVEDIR
gl_STRCASE
gl_TIME_R
+gl_TIMESPEC
gl_XALLOC
gl_XGETCWD
gl_XSTRTOL
[
#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.
# 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\