[glade3] Fix warning: Quote the definition of AM_CHECK_PYMOD
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] Fix warning: Quote the definition of AM_CHECK_PYMOD
- Date: Thu, 10 Jun 2010 03:22:19 +0000 (UTC)
commit 8aac220111a764f4c3d55c1618bf81343ef4ca98
Author: Javier Jardón <jjardon gnome org>
Date: Thu Jun 10 05:18:24 2010 +0200
Fix warning: Quote the definition of AM_CHECK_PYMOD
So we follow current automake recommendations:
http://sources.redhat.com/automake/automake.html#Extending-aclocal
ChangeLog | 4 ++++
m4/python.m4 | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ef43534..377a24c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2010-06-10 Javier Jardón <jjardon gnome org>
+ * m4/python.m4: quote the definition of AM_CHECK_PYMOD
+
+2010-06-10 Javier Jardón <jjardon gnome org>
+
* gladeui/glade-utils.c: Use gtk_show_uri() instead custom code
* src/glade-window.c: Use the same api (based in gtk_show_uri()) to show the help and urls.
diff --git a/m4/python.m4 b/m4/python.m4
index 77e451a..7684df9 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]