From 98ec149da4451676a744ac6973027ed741c4708b Mon Sep 17 00:00:00 2001 From: Stephen Torri Date: Sat, 29 Jan 2005 23:17:52 +0000 Subject: Add ability to disable checks for aalib if they are not required. The present behavior of checking for aalib will proceed if this flag is not given. CVS patchset: 7371 CVS date: 2005/01/29 23:17:52 --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3