From 6777db4e48d23b9841ebd5e081c8dd3f4437a586 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Wed, 24 Mar 2004 16:48:03 +0000 Subject: [PATCH] Added --enable-colors option, disabled AC_PROG_LIBTOOL git-svn-id: https://svn.musicpd.org/ncmpc/trunk@456 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- configure.ac | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7e4ae61..501e00e 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ AM_INIT_AUTOMAKE(ncmpc, 0.10.0-svn) dnl Check for programs AC_PROG_CC AC_PROG_INSTALL -AC_PROG_LIBTOOL +dnl AC_PROG_LIBTOOL dnl ======================================================= dnl initialize variables @@ -79,10 +79,20 @@ if test "$enable_debug" = yes; then CFLAGS="$CFLAGS -g -DDEBUG" fi +dnl Enable +AC_ARG_ENABLE(colors, + [ --enable-colors Enable colors [default=no]], + , + enable_colors=no) + +if test "$enable_colors" = yes; then + CFLAGS="$CFLAGS -DENABLE_COLORS" +fi + + dnl Default charset AC_ARG_WITH(default-charset, [ --with-default-charset=ARG Default charset (ISO-8859-1)], - DEFAULT_CHARSET="$withval", DEFAULT_CHARSET="ISO-8859-1") dnl Default host -- 2.30.2