summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--configure.ac9
2 files changed, 16 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 82dc0485..da905cd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-19 Werner Koch <wk@g10code.com>
+
+ * configure.ac: Define GPG_ERR_ENABLE_ERRNO_MACROS. Remove
+ definition of _GNU_SOURCE.
+ (AC_GNU_SOURCE): New.
+
+2010-08-16 Werner Koch <wk@g10code.com>
+
+ * configure.ac (INSERT_SYS_SELECT_H): New.
+
2010-07-09 Werner Koch <wk@g10code.com>
* configure.ac: Bump LT version to C18/A7/R0 to prepare a backport
diff --git a/configure.ac b/configure.ac
index aaaa74ad..13792c62 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,9 +70,9 @@ AM_MAINTAINER_MODE
AH_TOP([
#ifndef _GCRYPT_CONFIG_H_INCLUDED
#define _GCRYPT_CONFIG_H_INCLUDED
-/* need this, because some autoconf tests rely on this (e.g. stpcpy)
- * and it should be used for new programs */
-#define _GNU_SOURCE 1
+
+/* Enable gpg-error's strerror macro for W32CE. */
+#define GPG_ERR_ENABLE_ERRNO_MACROS 1
])
AH_BOTTOM([
@@ -139,6 +139,9 @@ AC_ISC_POSIX
AC_PROG_INSTALL
AC_PROG_AWK
+AC_GNU_SOURCE
+
+
LT_PREREQ([2.2.6])
LT_INIT([win32-dll disable-static])
LT_LANG([Windows Resource])