From 5b57bff96cc4eed3afa47eb10ac7fdbfd163b24d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 5 Jan 2006 08:58:50 +0000 Subject: Minor glib fix. Pretty up debug output. --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 635dc8ca..b85f049b 100644 --- a/configure.ac +++ b/configure.ac @@ -180,6 +180,7 @@ AC_CHECK_HEADERS(sys/select.h) # Type checks. +AC_C_INLINE AC_CHECK_SIZEOF(unsigned int) AC_SYS_LARGEFILE AC_TYPE_OFF_T @@ -507,6 +508,15 @@ AH_VERBATIM([SEPCONSTANTS], #endif ]) +AH_BOTTOM([ +/* Definition of GCC specific attributes. */ +#if __GNUC__ > 2 +# define GPGME_GCC_A_PURE __attribute__ ((__pure__)) +#else +# define GPGME_GCC_A_PURE +#endif +]) + # Substitution used for gpgme-config GPGME_CONFIG_LIBS="-lgpgme" -- cgit v1.2.3