aboutsummaryrefslogtreecommitdiffstats
path: root/m4/codeset.m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:28 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:28 +0200
commit629401644d03c1fc57895409b74ea8267c276a4b (patch)
tree3b3851879bb8a780d90d3338ac2f87a1d5477300 /m4/codeset.m4
parent6d3b7cdd62d798521d73ac58d57bd67061d64ba5 (diff)
downloadmpd-629401644d03c1fc57895409b74ea8267c276a4b.tar.gz
mpd-629401644d03c1fc57895409b74ea8267c276a4b.tar.xz
mpd-629401644d03c1fc57895409b74ea8267c276a4b.zip
configure: updated m4/*.m4
Copied m4 files from /usr/share/aclocal (Debian Lenny).
Diffstat (limited to '')
-rw-r--r--m4/codeset.m414
1 files changed, 6 insertions, 8 deletions
diff --git a/m4/codeset.m4 b/m4/codeset.m4
index 59535ebcf..223955b45 100644
--- a/m4/codeset.m4
+++ b/m4/codeset.m4
@@ -1,10 +1,8 @@
-# codeset.m4 serial AM1 (gettext-0.10.40)
-dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
-dnl This file is free software, distributed under the terms of the GNU
-dnl General Public License. As a special exception to the GNU General
-dnl Public License, this file may be distributed as part of a program
-dnl that contains a configuration script generated by Autoconf, under
-dnl the same distribution terms as the rest of that program.
+# codeset.m4 serial 2 (gettext-0.16)
+dnl Copyright (C) 2000-2002, 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
dnl From Bruno Haible.
@@ -12,7 +10,7 @@ AC_DEFUN([AM_LANGINFO_CODESET],
[
AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
[AC_TRY_LINK([#include <langinfo.h>],
- [char* cs = nl_langinfo(CODESET);],
+ [char* cs = nl_langinfo(CODESET); return !cs;],
am_cv_langinfo_codeset=yes,
am_cv_langinfo_codeset=no)
])