From 15c03300c6fb7e760a0a404dc4c2608fc268475f Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 27 May 2004 11:47:17 +0000 Subject: [PATCH] If Xft is not available, set XFT2_LD_FLAGS to null. Likewise for xml2. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index e7b63c0..b435cd1 100644 --- a/configure.ac +++ b/configure.ac @@ -161,6 +161,7 @@ if test "x$HAVE_XFT2" = "xyes"; then AC_DEFINE(HAVE_XFT2, 1, [Define to 1 if you have Xft2 library and header file.]) else + XFT2_LD_FLAGS= CPPFLAGS="$save_CPPFLAGS" fi LIBS="$save_LIBS" @@ -221,6 +222,7 @@ if test "x$HAVE_XML2" = "xyes"; then AC_DEFINE(HAVE_XML2, 1, [Define to 1 if you have libxml2 library and header file]) else + XML2_LD_FLAGS= CPPFLAGS="$save_CPPFLAGS" fi LIBS="$save_LIBS" -- 1.7.10.4