From: handa Date: Mon, 21 Nov 2005 10:30:45 +0000 (+0000) Subject: Handle --with-gui/--without-gui arg. X-Git-Tag: REL-1-3-0~60 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bb5615383e58228567e6f21907b32d927763d00;p=m17n%2Fm17n-lib.git Handle --with-gui/--without-gui arg. --- diff --git a/configure.ac b/configure.ac index 0f63f37..2848821 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,15 @@ else fi AC_SUBST(M17NDIR) +dnl Checks which levels of APIs should be compiled. + +AC_ARG_ENABLE(gui, + AC_HELP_STRING([--with-gui], + [with GUI level APIs (default is YES)])) + +AM_CONDITIONAL(WITH_GUI, test x$with_gui != xno) + +if test x$with_gui != xno; then dnl Checks if dlopen exists, and if it's in libc or libdl. @@ -277,6 +286,8 @@ if test "x$with_gd" != "xno"; then fi AC_SUBST(GD_LD_FLAGS) +fi + dnl Check for libxml2 usability. save_CPPFLAGS="$CPPFLAGS" save_LIBS="$LIBS"