diff options
author | Andreas Schwab <schwab@suse.de> | 2008-10-12 12:47:22 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2008-10-12 12:47:22 +0000 |
commit | f17ef625676168a2216425b612d0e5590f2e5e9f (patch) | |
tree | 241eab51fc9ba01f1ccd0fe7962e718f6287c483 /configure.in | |
parent | 472254537a89d0e217e303912091af57dfe680ce (diff) | |
download | emacs-f17ef625676168a2216425b612d0e5590f2e5e9f.tar.gz |
Only check for m17n-flt if HAVE_LIBOTF.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.in b/configure.in index ead577f5246..0807fb9f02c 100644 --- a/configure.in +++ b/configure.in @@ -1876,10 +1876,12 @@ dnl Does the new font backend require it, or can it work without it? fi HAVE_M17N_FLT=no -if test "${with_m17n_flt}" != "no"; 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 using libm17n-flt.]) +if test "${HAVE_LIBOTF}" = yes; then + if test "${with_m17n_flt}" != "no"; 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 using libm17n-flt.]) + fi fi fi |