gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10842: improve test for *-codegen.


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10842: improve test for *-codegen. Subsitute both.
Date: Sun, 26 Apr 2009 11:02:34 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10842
committer: address@hidden
branch nick: trunk
timestamp: Sun 2009-04-26 11:02:34 -0600
message:
  improve test for *-codegen. Subsitute both.
modified:
  macros/python.m4
=== modified file 'macros/python.m4'
--- a/macros/python.m4  2009-04-26 01:20:45 +0000
+++ b/macros/python.m4  2009-04-26 17:02:34 +0000
@@ -128,10 +128,10 @@
 
     AM_PATH_PYTHON
     AC_PATH_PROG(PYGOBJECT_CODEGEN, pygobject-codegen-2.0, no)
-    if test "x$PYGOBJECT_CODEGEN" = xno; then
+    if test x"${PYGOBJECT_CODEGEN}" = x; then
       AC_MSG_WARN(could not find pygobject-codegen-2.0 script)
-      AC_PATH_PROG(PYGOBJECT_CODEGEN, pygtk-codegen-2.0, no)
-      if test "x$PYGOBJECT_CODEGEN" = xno; then
+      AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
+      if test x"${PYGTK_CODEGEN}" = xno; then
         AC_MSG_ERROR(could not find pygtk-codegen-2.0 script)
        fi
      fi
@@ -141,8 +141,9 @@
     PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
   fi
 
+  AC_SUBST(PYGOBJECT_CODEGEN)
+  AC_SUBST(PYGTK_CODEGEN)
   AC_SUBST(PYGTK_DEFSDIR)
-
   AC_SUBST(PYTHON_CFLAGS)  
   AC_SUBST(PYTHON_LIBS)
 ])


reply via email to

[Prev in Thread] Current Thread [Next in Thread]