aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-19 19:15:43 +0000
committerKalle Wallin <kaw@linux.se>2004-03-19 19:15:43 +0000
commita48c2fe2c2d13fbc879a6b5111fc9f3c866ac5b3 (patch)
tree8a5ff0674412243fd2610f0c0b3f21cd6e176506 /configure.ac
parent526b460e750f52f5b9b04df72b6601fe4c1fd5f7 (diff)
downloadmpd-a48c2fe2c2d13fbc879a6b5111fc9f3c866ac5b3.tar.gz
mpd-a48c2fe2c2d13fbc879a6b5111fc9f3c866ac5b3.tar.xz
mpd-a48c2fe2c2d13fbc879a6b5111fc9f3c866ac5b3.zip
Added iconv support
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@308 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8adb481ee..1d537c6e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@ set -- $CFLAGS
CFLAGS="-Wall $CFLAGS"
+
dnl
dnl Check for libaries
dnl
@@ -44,6 +45,18 @@ AC_CHECK_TYPE(socklen_t,
dnl
dnl Check for headers
dnl
+
+AM_ICONV
+
+AC_CHECK_HEADER(langinfo.h,
+ AC_DEFINE(HAVE_LANGINFO_H, 1, langinfo.h),
+ ,)
+
+AC_CHECK_HEADER(locale.h,
+ AC_DEFINE(HAVE_LOCALE_H, 1, locale.h),
+ ,)
+
+
AC_CHECK_HEADER(libgen.h,
AC_DEFINE(HAVE_LIBGEN_H, 1, glibc - libgen.h),
,)