diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-24 16:48:03 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-24 16:48:03 +0000 |
commit | 6777db4e48d23b9841ebd5e081c8dd3f4437a586 (patch) | |
tree | 5e65a0454a2a68c6f0e01fea65ea6ef88f624eec | |
parent | b30908800a6594524171afb1eed22413f3e85bba (diff) | |
download | mpd-6777db4e48d23b9841ebd5e081c8dd3f4437a586.tar.gz mpd-6777db4e48d23b9841ebd5e081c8dd3f4437a586.tar.xz mpd-6777db4e48d23b9841ebd5e081c8dd3f4437a586.zip |
Added --enable-colors option, disabled AC_PROG_LIBTOOL
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@456 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | configure.ac | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7e4ae61c7..501e00e88 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 |