+2008-02-02 Thien-Thi Nguyen <ttn@gnuvola.org>
+
+ * configure.in: For libotf and m17n-flt checks, set shell vars
+ HAVE_LIBOTF and HAVE_M17N_FLT instead of pkg_check_libotf and
+ pkg_check_m17n_flt, respectively, for the sake of the summary output.
+ Reported by Ulrich Mueller.
+ * configure: Regenerated.
+
2008-02-02 Eli Zaretskii <eliz@gnu.org>
* configure.in: If admin/unidata/UnicodeData.txt is present, copy
if test "$PKG_CONFIG" = "no" ; then
- pkg_check_libotf=no
+ HAVE_LIBOTF=no
else
PKG_CONFIG_MIN_VERSION=0.9.0
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
fi
if test $succeeded = yes; then
- pkg_check_libotf=yes
+ HAVE_LIBOTF=yes
else
- pkg_check_libotf=no
+ HAVE_LIBOTF=no
fi
- if test "$pkg_check_libotf" = "yes"; then
+ if test "$HAVE_LIBOTF" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBOTF 1
if test "$PKG_CONFIG" = "no" ; then
- pkg_check_m17n_flt=no
+ HAVE_M17N_FLT=no
else
PKG_CONFIG_MIN_VERSION=0.9.0
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
fi
if test $succeeded = yes; then
- pkg_check_m17n_flt=yes
+ HAVE_M17N_FLT=yes
else
- pkg_check_m17n_flt=no
+ HAVE_M17N_FLT=no
fi
- if test "$pkg_check_m17n_flt" = "yes"; then
+ if test "$HAVE_M17N_FLT" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_M17N_FLT 1
if test "X${with_pkg_config_prog}" != X; then
PKG_CONFIG="${with_pkg_config_prog}"
fi
- PKG_CHECK_MODULES(LIBOTF, libotf, pkg_check_libotf=yes,
- pkg_check_libotf=no)
- if test "$pkg_check_libotf" = "yes"; then
+ PKG_CHECK_MODULES(LIBOTF, libotf, HAVE_LIBOTF=yes,
+ HAVE_LIBOTF=no)
+ if test "$HAVE_LIBOTF" = "yes"; then
AC_DEFINE(HAVE_LIBOTF, 1,
[Define to 1 if you have libotf library.])
fi
PKG_CONFIG="${with_pkg_config_prog}"
fi
dnl Checks for libraries.
- PKG_CHECK_MODULES(M17N_FLT, m17n-flt, pkg_check_m17n_flt=yes,
- pkg_check_m17n_flt=no)
- if test "$pkg_check_m17n_flt" = "yes"; then
+ PKG_CHECK_MODULES(M17N_FLT, m17n-flt, HAVE_M17N_FLT=yes,
+ HAVE_M17N_FLT=no)
+ if test "$HAVE_M17N_FLT" = "yes"; then
AC_DEFINE(HAVE_M17N_FLT, 1,
[Define to 1 if you have m17n-flt library.])
fi