From e50c5f39cc2ea399eead30ef451d7d5e24c13fe6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 21 Nov 2006 11:00:14 +0000 Subject: No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a good chance that gpg2 will now work. Other cleanups. Updated gettext. --- configure.ac | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index bcf70867b..38c343895 100644 --- a/configure.ac +++ b/configure.ac @@ -422,6 +422,11 @@ AH_BOTTOM([ /* We don't want the old assuan codes anymore. */ #define _ASSUAN_ONLY_GPG_ERRORS 1 +/* We explicitly need to disable PTH's soft mapping as Debian + currently enables it by default for no reason. */ +#define PTH_SYSCALL_SOFT 0 + + #endif /*GNUPG_CONFIG_H_INCLUDED*/ ]) @@ -847,7 +852,7 @@ AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$PRINTABLE_OS_NAME", # # Check for gettext # -AM_GNU_GETTEXT_VERSION(0.14.1) +AM_GNU_GETTEXT_VERSION([0.15]) if test "$try_gettext" = yes; then AM_GNU_GETTEXT(,[need-ngettext]) @@ -863,7 +868,6 @@ else AC_SUBST(USE_NLS) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(BUILD_INCLUDED_LIBINTL) - AM_PO_SUBDIRS fi @@ -881,6 +885,7 @@ fi AC_HEADER_STDC AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h]) AC_CHECK_HEADERS([pty.h pwd.h inttypes.h]) +AC_HEADER_TIME # @@ -914,6 +919,21 @@ AC_CHECK_SIZEOF(unsigned short) AC_CHECK_SIZEOF(unsigned int) AC_CHECK_SIZEOF(unsigned long) AC_CHECK_SIZEOF(unsigned long long) +AC_CHECK_SIZEOF(time_t,,[[ +#include +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif +]]) + + # Ensure that we have UINT64_C before we bother to check for uint64_t # Fixme: really needed in gnupg? I think it is only useful in libcgrypt. AC_CACHE_CHECK([for UINT64_C],[gnupg_cv_uint64_c_works], -- cgit v1.2.3