nautilus-python r49 - in trunk: . m4
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus-python r49 - in trunk: . m4
- Date: Fri, 11 Jan 2008 14:16:01 +0000 (GMT)
Author: johan
Date: Fri Jan 11 14:16:01 2008
New Revision: 49
URL: http://svn.gnome.org/viewvc/nautilus-python?rev=49&view=rev
Log:
2008-01-11 Scott Tsai <scottt tw gmail com>
reviewed by: Johan Dahlin
* m4/python.m4 (py_exec_prefix): Allowing the PYTHON_LIB_LOC and
PYTHON_LIBS configure variables to be overriden.
Modified:
trunk/ChangeLog
trunk/m4/python.m4
Modified: trunk/m4/python.m4
==============================================================================
--- trunk/m4/python.m4 (original)
+++ trunk/m4/python.m4 Fri Jan 11 14:16:01 2008
@@ -69,8 +69,12 @@
AC_MSG_CHECKING(for libraries required to embed python)
dnl deduce PYTHON_LIBS
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
-PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
-PYTHON_LIB_LOC="${py_prefix}/lib"
+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
+ PYTHON_LIB_LOC="${py_prefix}/lib"
+fi
AC_SUBST(PYTHON_LIBS)
AC_SUBST(PYTHON_LIB_LOC)
dnl check if the headers exist:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]