diff options
author | Werner Koch <wk@gnupg.org> | 2010-08-19 13:24:49 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-08-19 13:24:49 +0000 |
commit | e090c873f772448e696c54a6a0af3834bf6f54ae (patch) | |
tree | 478060d39ad5fd4d60a6d31256de6b5f9886142b | |
parent | f5b35cdd09913e723254e9c2fbf613190d3a308a (diff) | |
download | libgcrypt-e090c873f772448e696c54a6a0af3834bf6f54ae.tar.gz |
Prepare for a gpg-error change
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | configure.ac | 9 |
2 files changed, 16 insertions, 3 deletions
@@ -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]) |