ref: 382f3ef103f7d3599aec7fbdf99aa2e66bb0cbb5
parent: f48f7dc84b46657e197bfb429a5ce5ec0fc4f806
author: suzuki toshiya <[email protected]>
date: Wed Mar 5 05:19:15 EST 2014
Fix a bug in configure in library dependency setting * builds/unix/configure.raw: Use `x"${xxx}" != xno' style.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-05 suzuki toshiya <[email protected]>
+
+ Fix a bug in configure in library dependency setting
+
+ * builds/unix/configure.raw: Use `x"${xxx}" != xno' style.
+
2014-03-04 Werner Lemberg <[email protected]>
Minor fix for `make devel'.
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -982,20 +982,20 @@
# changing LDFLAGS value should only be done after
# lt_cv_prog_compiler_static_works test
-if test "$have_zlib" != no; then
+if test x"$have_zlib" != xno; then
CFLAGS="$CFLAGS $ZLIB_CFLAGS -DFT_CONFIG_OPTION_SYSTEM_ZLIB"
LDFLAGS="$LDFLAGS $ZLIB_LIBS"
fi
-if test "$have_bzip2" != no; then
+if test x"$have_bzip2" != xno; then
CFLAGS="$CFLAGS $BZIP2_CFLAGS -DFT_CONFIG_OPTION_USE_BZIP2"
LDFLAGS="$LDFLAGS $BZIP2_LIBS"
fi
-if test x"$have_libpng" != no; then
+if test x"$have_libpng" != xno; then
CFLAGS="$CFLAGS $LIBPNG_CFLAGS -DFT_CONFIG_OPTION_USE_PNG"
LDFLAGS="$LDFLAGS $LIBPNG_LIBS"
fi
-if test x"$have_harfbuzz" != no; then
+if test x"$have_harfbuzz" != xno; then
CFLAGS="$CFLAGS $HARFBUZZ_CFLAGS -DFT_CONFIG_OPTION_USE_HARFBUZZ"
LDFLAGS="$LDFLAGS $HARFBUZZ_LIBS"
fi