1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Description: Remove usage of obsolete AM_LANGINFO_CODESET
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/978389
@@ -181,7 +181,6 @@ case $with_libiconv in
AC_DEFINE(USE_LIBICONV_NATIVE, 1, [Using a native implementation of iconv in a separate library])
;;
esac
-AM_LANGINFO_CODESET
dnl Checks for id3tag
@@ -41,9 +41,7 @@
#include <filepathutil.h>
#include <easyh10.h>
-#ifdef HAVE_LANGINFO_CODESET
#include <langinfo.h>
-#endif
#ifdef HAVE_GETOPT_H
#include <getopt.h>
@@ -889,11 +887,9 @@ int main(int argc, char *argv[])
if (!encoding_specified) {
const char *encoding = getenv("CHARSET");
-#ifdef HAVE_LANGINFO_CODESET
if (!encoding) {
encoding = nl_langinfo(CODESET);
}
-#endif/*HAVE_LANGINFO_CODESET*/
if (encoding) {
/* EasyH10 could detect the character encoding. */
|