summaryrefslogtreecommitdiff
path: root/m4/python.m4
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:38:36 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:38:37 +0900
commit6261b351b73e062a1d9b5f8bddc73b093c6f02a3 (patch)
tree3fa9713a22b432db0ea20b36fbb8be0841da59a0 /m4/python.m4
parent06b7709867b9e43162fa6c6fd6a10063762b875a (diff)
downloadpygobject2-6261b351b73e062a1d9b5f8bddc73b093c6f02a3.tar.gz
pygobject2-6261b351b73e062a1d9b5f8bddc73b093c6f02a3.tar.bz2
pygobject2-6261b351b73e062a1d9b5f8bddc73b093c6f02a3.zip
Imported Upstream version 3.1.1
Change-Id: I9fcc2f2973769a7b4834618364ba228c93885a4d Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'm4/python.m4')
-rw-r--r--m4/python.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/python.m4 b/m4/python.m4
index 7c90275..3cfb9e2 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)