Fix a bug in configure in library dependency setting

* builds/unix/configure.raw: Use `x"${xxx}" != xno' style.
This commit is contained in:
suzuki toshiya 2014-03-05 10:19:15 +09:00
parent f48f7dc84b
commit 382f3ef103
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2014-03-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Fix a bug in configure in library dependency setting
* builds/unix/configure.raw: Use `x"${xxx}" != xno' style.
2014-03-04 Werner Lemberg <wl@gnu.org>
Minor fix for `make devel'.

View File

@ -982,20 +982,20 @@ AC_SUBST([build_libtool_libs])
# 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