diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8aa07ffbeb9..2e7212a83ef 100644 --- a/configure.ac +++ b/configure.ac @@ -542,7 +542,7 @@ BUILD_PYTHON_LIB= have_python2=no have_Python_h=no -if echo $PYTHON_VERSION | grep ^2; then +if echo $PYTHON_VERSION | grep -q ^2; then have_python2=yes dnl Use pkg-config to get runtime search patch missing from ${PYTHON}-config |