From 4da57b04cbe754b3b0862b660064799bf329e2dd Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 22 Jan 2002 16:34:52 +0000 Subject: [PATCH] 2002-01-22 Marcus Brinkmann * configure.ac (HAVE_JNLIB_LOGGING): Define always for assuan. --- ChangeLog | 4 ++++ configure.ac | 16 ++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea90e193..b38e130d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-01-22 Marcus Brinkmann + + * configure.ac (HAVE_JNLIB_LOGGING): Define always for assuan. + 2001-12-19 Werner Koch * configure.ac (VERSION,PACKAGE): Defined and subst. Used for diff --git a/configure.ac b/configure.ac index fa234934..b039acdc 100644 --- a/configure.ac +++ b/configure.ac @@ -102,8 +102,8 @@ GNUPG_CHECK_TYPEDEF(ulong, HAVE_ULONG_TYPEDEF) GNUPG_CHECK_TYPEDEF(u16, HAVE_U16_TYPEDEF) GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF) -# We should not use them in this software; -# However jnlib/types.h needs them - so we take the easy way. +dnl We should not use them in this software; +dnl However jnlib/types.h needs them - so we take the easy way. AC_CHECK_SIZEOF(unsigned short) AC_CHECK_SIZEOF(unsigned int) AC_CHECK_SIZEOF(unsigned long) @@ -122,6 +122,10 @@ dnl dnl These are needed by libjnlib AC_CHECK_FUNCS(memicmp stpcpy strlwr strtoul memmove stricmp) +dnl We use jnlib, so tell other modules about it +AC_DEFINE(HAVE_JNLIB_LOGGING, 1, + [Defined if jnlib style logging fucntions are available.]) + dnl dnl Checks for system services dnl @@ -185,10 +189,6 @@ fi AM_CONDITIONAL(RUN_GPGSM_TESTS, [test "$cross_compiling" != "yes" && test -n "$GPGSM" && test -r "$GPGSM"]) -dnl -dnl Create config files -dnl - dnl FIXME: Only build if supported. AM_CONDITIONAL(BUILD_ASSUAN, test "$GPGSM" != "no") @@ -211,6 +211,10 @@ GPGME_CFLAGS="" AC_SUBST(GPGME_LIBS) AC_SUBST(GPGME_CFLAGS) +dnl +dnl Create config files +dnl + AC_CONFIG_FILES(Makefile assuan/Makefile jnlib/Makefile gpgme/Makefile tests/Makefile tests/gpg/Makefile tests/gpgsm/Makefile doc/Makefile