From: handa Date: Thu, 27 May 2004 11:47:17 +0000 (+0000) Subject: If Xft is not available, set XFT2_LD_FLAGS to null. X-Git-Tag: withdl~153 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=15c03300c6fb7e760a0a404dc4c2608fc268475f;p=m17n%2Fm17n-lib.git If Xft is not available, set XFT2_LD_FLAGS to null. Likewise for xml2. --- 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"