summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-06-10 05:18:24 +0200
committerJavier Jardón <jjardon@gnome.org>2010-06-10 05:21:52 +0200
commit8aac220111a764f4c3d55c1618bf81343ef4ca98 (patch)
tree60ef571cbff642568becb97d39947ee67cee0511 /m4
parent23aa3575b61c4a3ed57868b7fe46d0d40865bbb2 (diff)
downloadglade-8aac220111a764f4c3d55c1618bf81343ef4ca98.tar.gz
Fix warning: Quote the definition of AM_CHECK_PYMOD
So we follow current automake recommendations: http://sources.redhat.com/automake/automake.html#Extending-aclocal
Diffstat (limited to 'm4')
-rw-r--r--m4/python.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/python.m4 b/m4/python.m4
index 77e451a5..7684df9a 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -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)