[cairo-commit] pycairo acinclude.m4,1.1,1.2
Steve Chaplin
commit at pdx.freedesktop.org
Tue Nov 23 18:16:30 PST 2004
Committed by: stevech1097
Update of /cvs/cairo/pycairo
In directory gabe:/tmp/cvs-serv21943
Modified Files:
acinclude.m4
Log Message:
SC 24/11/2004
Index: acinclude.m4
===================================================================
RCS file: /cvs/cairo/pycairo/acinclude.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- acinclude.m4 17 Sep 2003 15:04:10 -0000 1.1
+++ acinclude.m4 24 Nov 2004 02:16:28 -0000 1.2
@@ -1,7 +1,7 @@
## this one is commonly used with AM_PATH_PYTHONDIR ...
dnl AM_CHECK_PYMOD(MODNAME [,SYMBOL [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
dnl Check if a module containing a given symbol is visible to python.
-AC_DEFUN(AM_CHECK_PYMOD,
+AC_DEFUN([AM_CHECK_PYMOD],
[AC_REQUIRE([AM_PATH_PYTHON])
py_mod_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
AC_MSG_CHECKING(for ifelse([$2],[],,[$2 in ])python module $1)
More information about the cairo-commit
mailing list