summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d61782f)
raw | patch | inline | side by side (parent: d61782f)
author | Kalle Wallin <kaw@linux.se> | |
Mon, 29 Mar 2004 18:12:30 +0000 (18:12 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Mon, 29 Mar 2004 18:12:30 +0000 (18:12 +0000) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index d11ba0f8ca0e76f33c925c2288cc85a0ca0ce7d1..912767ef5ef1051a96f60fa97d0631ec5cc3d2a7 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl ncurses
AC_CHECK_LIB(ncurses, initscr,, [AC_MSG_ERROR(ncurses library is required)])
+LIBS="$LIBS -lncurses"
dnl glib-2.0
AM_PATH_GLIB_2_0(, , [AC_MSG_ERROR(glib-2.x is required)], glib)
CFLAGS="$CFLAGS -g -DDEBUG"
fi
-dnl Default charset
-AC_ARG_WITH(default-charset,
- [ --with-default-charset=ARG Default charset (ISO-8859-1)],
- DEFAULT_CHARSET="ISO-8859-1")
-
dnl Default host
AC_ARG_WITH(default-host,
[ --with-default-host=HOST Default host (localhost)],
CFLAGS="$CFLAGS $GLIB_CFLAGS"
-LIBS="$LIBS $GLIB_LIBS -lncurses"
+LIBS="$LIBS $GLIB_LIBS"
dnl Autoheader
AC_DEFINE_UNQUOTED(DEFAULT_PORT, $DEFAULT_PORT, Default MPD port)
AC_DEFINE_UNQUOTED(DEFAULT_PORT_STR, "$DEFAULT_PORT", Default MPD port)
AC_DEFINE_UNQUOTED(DEFAULT_HOST, "$DEFAULT_HOST", Default MPD host)
-AC_DEFINE_UNQUOTED(DEFAULT_CHARSET, "$DEFAULT_CHARSET", Default charset)
AM_CONFIG_HEADER(config.h)