[git] GPGME - branch, master, updated. gpgme-1.9.0-25-ga827382
by Alon Bar-Lev
cvs at cvs.gnupg.org
Tue Apr 11 11:28:17 CEST 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 "GnuPG Made Easy".
The branch, master has been updated
via a827382cafe7f1425455dcc8bf5ef049172eb493 (commit)
from d785c053a982bddefd7014dc6856d1af345fe9fb (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 a827382cafe7f1425455dcc8bf5ef049172eb493
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date: Tue Apr 11 03:56:00 2017 +0300
python: use autoconf pre-processor when building via autoconf
* configure.ac: Add AC_PROG_CPP.
* lang/python/Makefile.am: Set CPP environment for setup.py to use.
Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
diff --git a/configure.ac b/configure.ac
index becd156..b4878cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,7 @@ AH_VERBATIM([_REENTRANT],
#endif])
AC_PROG_CC
+AC_PROG_CPP
AC_PROG_CXX
# Note: A suitable gitlog-to-changelog script can be found in GnuPG master.
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 3fa98b5..8d74cbd 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -39,6 +39,7 @@ copystamp:
all-local: copystamp
set -e ; for PYTHON in $(PYTHONS); do \
+ CPP="$(CPP)" \
CFLAGS="$(CFLAGS)" \
srcdir="$(srcdir)" \
top_builddir="$(top_builddir)" \
@@ -47,6 +48,7 @@ all-local: copystamp
python$(PYTHON_VERSION)-gpg/dist/gpg-$(VERSION).tar.gz.asc: copystamp
$(MKDIR_P) python$(PYTHON_VERSION)-gpg-dist
+ CPP="$(CPP)" \
CFLAGS="$(CFLAGS)" \
srcdir="$(srcdir)" \
top_builddir="$(top_builddir)" \
@@ -80,6 +82,8 @@ clean-local:
install-exec-local:
set -e ; for PYTHON in $(PYTHONS); do \
+ CPP="$(CPP)" \
+ CFLAGS="$(CFLAGS)" \
srcdir="$(srcdir)" \
top_builddir="$(top_builddir)" \
$$PYTHON setup.py \
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
lang/python/Makefile.am | 4 ++++
2 files changed, 5 insertions(+)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list