[git] GPG-ERROR - branch, master, updated. libgpg-error-1.27-4-g5e51b64
by Justus Winter
cvs at cvs.gnupg.org
Wed Mar 8 11:44:42 CET 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".
The branch, master has been updated
via 5e51b642f747547c737a7abbc37e65b0f630d188 (commit)
from 1126c4c117a47c8ea8435ac11561d51b13f538dd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5e51b642f747547c737a7abbc37e65b0f630d188
Author: Justus Winter <justus at g10code.com>
Date: Mon Feb 13 10:58:23 2017 +0100
build: Use macOS' compatibility macros to enable all features.
* configure.ac: On macOS, use the compatibility macros to expose every
feature of the libc. This is the equivalent of _GNU_SOURCE on GNU
libc.
--
Not defining this leads to compilation errors or superfluous warnings
on macOS.
GnuPG-bug-id: 2910
Signed-off-by: Justus Winter <justus at g10code.com>
diff --git a/configure.ac b/configure.ac
index a44f0c8..d5c6887 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,7 +81,7 @@ AC_PROG_AWK
AC_CHECK_TOOL(AR, ar, :)
AC_GNU_SOURCE
-# Set some internal variables depending on the platform for later use.
+# Set some variables depending on the platform for later use.
have_w32_system=no
have_w64_system=no
have_w32ce_system=no
@@ -97,6 +97,12 @@ case "${host}" in
*-mingw32*)
have_w32_system=yes
;;
+ *-apple-darwin*)
+ # This is the equivalent of the _GNU_SOURCE feature-test-macro
+ # on GNU libc systems.
+ AC_DEFINE(_DARWIN_C_SOURCE, 900000L,
+ Expose all libc features (__DARWIN_C_FULL).)
+ ;;
*)
;;
esac
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list