diff options
author | Patrick Welche <prlw1@cam.ac.uk> | 2012-02-07 11:49:58 +0000 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2012-02-08 05:45:51 +0100 |
commit | 1d23d8006be98b77a0134fddd23b76df05e489fa (patch) | |
tree | f026bd923e46d61b03b0d866b7cdafc42358690d /m4/python.m4 | |
parent | 945fd18e531c2131440af93dcd89f6c63abbfd7c (diff) | |
download | pygobject-1d23d8006be98b77a0134fddd23b76df05e489fa.tar.gz |
test(1) uses '=' to test if strings are identical
https://bugzilla.gnome.org/show_bug.cgi?id=669598
Diffstat (limited to 'm4/python.m4')
-rw-r--r-- | m4/python.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/python.m4 b/m4/python.m4 index 7c902752..3cfb9e23 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -43,7 +43,7 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], [AC_REQUIRE([AM_PATH_PYTHON]) AC_MSG_CHECKING(for headers required to compile python extensions) dnl deduce PYTHON_INCLUDES -if test "x$PYTHON_INCLUDES" == x; then +if test "x$PYTHON_INCLUDES" = x; then PYTHON_CONFIG=`which $PYTHON`-config if test -x "$PYTHON_CONFIG"; then PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null` @@ -76,10 +76,10 @@ AC_DEFUN([AM_CHECK_PYTHON_LIBS], AC_MSG_CHECKING(for libraries required to embed python) dnl deduce PYTHON_LIBS py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"` -if test "x$PYTHON_LIBS" == x; then +if test "x$PYTHON_LIBS" = x; then PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}" fi -if test "x$PYTHON_LIB_LOC" == x; then +if test "x$PYTHON_LIB_LOC" = x; then PYTHON_LIB_LOC="${py_prefix}/lib" fi AC_SUBST(PYTHON_LIBS) |