Fix a problem in configure.ac.
authorHuang Peng <shawn.p.huang@gmail.com>
Wed, 17 Sep 2008 13:59:21 +0000 (21:59 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Wed, 17 Sep 2008 13:59:21 +0000 (21:59 +0800)
configure.ac

index 9452c470e30ab53f0a4a1646d864b839c98d91c3..371897108149dafc54c15421982a96806579e99d 100644 (file)
@@ -181,7 +181,7 @@ if test x"$IBUS_HAS_PYGTK" != x"yes" -a x"$enable_pygconf" = x"yes"; then
 fi
 
 AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
-if test "x$PYGTK_CODEGEN" = x"no"; then
+if test x"$PYGTK_CODEGEN" = x"no" -a x"$enable_pygconf" = x"yes"; then
   AC_MSG_ERROR(could not build python gconf binding without pygtk-codegen-2.0)
 fi