summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Torri <storri@users.sourceforge.net>2005-01-29 23:17:52 +0000
committerStephen Torri <storri@users.sourceforge.net>2005-01-29 23:17:52 +0000
commit98ec149da4451676a744ac6973027ed741c4708b (patch)
tree59d82bd9709f1021418cc45ffb9e109d904a49bb
parentf84237187a6557c5ae73051ce74586969229e8e5 (diff)
downloadxine-lib-98ec149da4451676a744ac6973027ed741c4708b.tar.gz
xine-lib-98ec149da4451676a744ac6973027ed741c4708b.tar.bz2
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
-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