]> granicus.if.org Git - graphviz/commitdiff
fix for conditional pango/cairo support
authorellson <devnull@localhost>
Sun, 21 May 2006 15:49:15 +0000 (15:49 +0000)
committerellson <devnull@localhost>
Sun, 21 May 2006 15:49:15 +0000 (15:49 +0000)
configure.ac

index ed905fdb8c19e7d3c022880ee9e45d4cdba581bc..ef2f1fed799bf3818761b9b89cdd8e48467ae5d7 100644 (file)
@@ -1117,12 +1117,12 @@ dnl -----------------------------------
 dnl INCLUDES and LIBS for PANGO, CAIRO et.al.
                                                                                 
 PKG_CHECK_MODULES(PANGOCAIRO, [pangocairo >= 1.0],
-       [AC_DEFINE_UNQUOTED(HAVE_PANGOCAIRO,1,
-               [Define if you have the pangocairo library])],
+       [HAVE_PANGOCAIRO=1
+       AC_DEFINE_UNQUOTED(HAVE_PANGOCAIRO,1,
+               [Define if you have the pango library with cairo support])],
        [AC_MSG_WARN(pangocairo library not available)])
 AC_SUBST(PANGOCAIRO_CFLAGS)
 AC_SUBST(PANGOCAIRO_LIBS)
-
 AM_CONDITIONAL(WITH_PANGOCAIRO, [test "x$HAVE_PANGOCAIRO" != "x"])
 
 dnl -----------------------------------