From e7dd2eae6d2d2c7be60c958dea09bab722a73683 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 14 Jun 2004 05:23:06 +0000 Subject: [PATCH] Check the program m17n-db. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index de21bc4..883ee70 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,17 @@ AC_FUNC_STRTOD AC_CHECK_FUNCS(memmove memset nl_langinfo putenv regcomp setlocale) AC_CHECK_FUNCS(strchr strdup gettimeofday) +dnl Checks where the m17n database is installed. + +AC_CHECK_PROG(HAVE_M17N_DB, m17n-db, yes) +if test "x$HAVE_M17N_DB" = "xyes"; then + M17NDIR=`m17n-db` +else + M17NDIR="${datadir}/m17n" +fi +AC_SUBST(M17NDIR) + + dnl Checks if dlopen exists, and if it's in libc or libdl. AC_SEARCH_LIBS(dlopen, dl, -- 1.7.10.4