[svn] gcry - r1442 - trunk

svn author wk cvs at cvs.gnupg.org
Thu Aug 19 15:24:50 CEST 2010


Author: wk
Date: 2010-08-19 15:24:49 +0200 (Thu, 19 Aug 2010)
New Revision: 1442

Modified:
   trunk/ChangeLog
   trunk/configure.ac
Log:
Prepare for a gpg-error change


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-08-16 08:45:49 UTC (rev 1441)
+++ trunk/ChangeLog	2010-08-19 13:24:49 UTC (rev 1442)
@@ -1,3 +1,13 @@
+2010-08-19  Werner Koch  <wk at 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 at g10code.com>
+
+	* configure.ac (INSERT_SYS_SELECT_H): New.
+
 2010-07-09  Werner Koch  <wk at g10code.com>
 
 	* configure.ac: Bump LT version to C18/A7/R0 to prepare a backport

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2010-08-16 08:45:49 UTC (rev 1441)
+++ trunk/configure.ac	2010-08-19 13:24:49 UTC (rev 1442)
@@ -70,9 +70,9 @@
 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_PROG_INSTALL
 AC_PROG_AWK
 
+AC_GNU_SOURCE
+
+
 LT_PREREQ([2.2.6])
 LT_INIT([win32-dll disable-static])
 LT_LANG([Windows Resource])





More information about the Gnupg-commits mailing list