From 6bb5615383e58228567e6f21907b32d927763d00 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 21 Nov 2005 10:30:45 +0000 Subject: [PATCH] Handle --with-gui/--without-gui arg. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) 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" -- 1.7.10.4