diff options
| author | Justus Winter <[email protected]> | 2016-09-20 09:10:10 +0000 | 
|---|---|---|
| committer | Justus Winter <[email protected]> | 2016-09-20 09:10:10 +0000 | 
| commit | ef99b74eb12463db7da5806a316e3b55f8097c5c (patch) | |
| tree | 011d047e2bb7cd98ad8d43366b79daea12be88b2 | |
| parent | core: Remove moc artifact (diff) | |
| download | gpgme-ef99b74eb12463db7da5806a316e3b55f8097c5c.tar.gz gpgme-ef99b74eb12463db7da5806a316e3b55f8097c5c.zip | |
python: Fix detection of Python available versions.
* configure.ac: Test for 'PYTHON_VERSION' as 'AX_PYTHON_DEVEL' sets
'PYTHON' but clears the former.
Fixes-commit: 99db3512
Signed-off-by: Justus Winter <[email protected]>
| -rw-r--r-- | configure.ac | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/configure.ac b/configure.ac index 352ac8b8..d6f3e0a0 100644 --- a/configure.ac +++ b/configure.ac @@ -407,7 +407,7 @@ if test "$found_py" = "1" -o "$found_py2" = "1" -o "$found_py3" = "1"; then  	if test "$found_py" = "1" -o "$found_py2" = "1"; then  	    AM_PATH_PYTHON([2.7])  	    AX_PYTHON_DEVEL -	    if test "$PYTHON"; then +	    if test "$PYTHON_VERSION"; then  		PYTHONS="$(echo $PYTHONS $PYTHON)"  		PYTHON_VERSIONS="$(echo $PYTHON_VERSIONS $PYTHON_VERSION)"  	    fi @@ -430,7 +430,7 @@ if test "$found_py" = "1" -o "$found_py2" = "1" -o "$found_py3" = "1"; then  	    unset am_cv_python_pyexecdir  	    AM_PATH_PYTHON([3.4])  	    AX_PYTHON_DEVEL -	    if test "$PYTHON"; then +	    if test "$PYTHON_VERSION"; then  		PYTHONS="$(echo $PYTHONS $PYTHON)"  		PYTHON_VERSIONS="$(echo $PYTHON_VERSIONS $PYTHON_VERSION)"  	    fi | 
