aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-26 17:27:57 +0000
committerKalle Wallin <kaw@linux.se>2004-03-26 17:27:57 +0000
commitc737b402afdbf4eb38109a49c2a0ac2c86462521 (patch)
tree48c9c3ba05a1d00afba10d0043fc7669f2ab0ed3 /configure.ac
parent1e17a1289f54c440ac552c741e949d66b3e9bfa5 (diff)
downloadmpd-c737b402afdbf4eb38109a49c2a0ac2c86462521.tar.gz
mpd-c737b402afdbf4eb38109a49c2a0ac2c86462521.tar.xz
mpd-c737b402afdbf4eb38109a49c2a0ac2c86462521.zip
Added file langinfo.c, used on systems without nl_langinfo() support.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@503 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index edd6760f6..67b4c93a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,6 +53,11 @@ AM_ICONV
dnl nl_langinfo()
AM_LANGINFO_CODESET
+if test $am_cv_langinfo_codeset = no; then
+ LANGINFO_OBJS=langinfo.o
+fi
+AC_SUBST(LANGINFO_OBJS)
+
dnl ncurses
AC_CHECK_LIB(ncurses, initscr,, [AC_MSG_ERROR(ncurses library is required)])
@@ -107,7 +112,6 @@ 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)
AC_OUTPUT(doc/Makefile Makefile)