summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9eeb5f90f..cc0264d51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -703,9 +703,16 @@ dnl ---------------------------------------------
dnl Checks for Ascii-Art library
dnl ---------------------------------------------
+AC_ARG_ENABLE(aalib,
+ AC_HELP_STRING([--disable-aalib], [do not build aalib]),
+ disable_aalib=yes,
+ disable_aalib=no)
+
+if test x$disable_aalib = "xno"; then
AM_PATH_AALIB(1.4,, AC_MSG_RESULT([*** All of AALIB dependent parts will be disabled ***]))
-AM_CONDITIONAL(HAVE_AA, test x$no_aalib != "xyes")
+fi
+AM_CONDITIONAL(HAVE_AA, test x$no_aalib != "xyes")
dnl ---------------------------------------------
dnl Checks for Color AsCii Art library