diff options
| author | Alon Bar-Lev <[email protected]> | 2017-04-11 00:56:00 +0000 | 
|---|---|---|
| committer | Justus Winter <[email protected]> | 2017-04-11 08:24:44 +0000 | 
| commit | a827382cafe7f1425455dcc8bf5ef049172eb493 (patch) | |
| tree | c92df9e4b398df081663991ddbc91988b12442aa /lang/python | |
| parent | python: fix run-tests missing python_libdir (diff) | |
| download | gpgme-a827382cafe7f1425455dcc8bf5ef049172eb493.tar.gz gpgme-a827382cafe7f1425455dcc8bf5ef049172eb493.zip  | |
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 <[email protected]>
Diffstat (limited to 'lang/python')
| -rw-r--r-- | lang/python/Makefile.am | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am index 3fa98b56..8d74cbd1 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 \  | 
