bug-gtypist
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gtypist] GNU typist 2.9.3 breaks with --disable-nls


From: Christian Weisgerber
Subject: [bug-gtypist] GNU typist 2.9.3 breaks with --disable-nls
Date: Mon, 30 Sep 2013 18:22:38 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,
on systems where iconv() is in a separate library rather than part of
libc, GNU typist 2.9.3 fails to build with "--disable-nls".

If NLS is enabled, iconv() will be pulled in for gettext support,
but without NLS, it's just missing.

Something along the lines of the patch below should fix this.

--- configure.ac.orig   2013-06-05 20:50:00.000000000 +0200
+++ configure.ac        2013-09-30 18:17:15.000000000 +0200
@@ -57,6 +57,9 @@
    exit 1;
 fi
 
+# iconv
+AM_ICONV
+
 # Internationalization macros
 
 AM_GNU_GETTEXT_VERSION([0.18.2])
--- src/Makefile.am.orig        2013-06-05 20:50:00.000000000 +0200
+++ src/Makefile.am     2013-09-30 18:17:28.000000000 +0200
@@ -8,7 +8,7 @@
 bin_PROGRAMS = gtypist
 gtypist_SOURCES = gtypist.c cursmenu.c script.c error.c getopt.c getopt1.c \
                cursmenu.h error.h getopt.h gettext.h gtypist.h script.h utf8.c 
utf8.h
-gtypist_LDADD = @LIBINTL@
+gtypist_LDADD = @LIBINTL@ @LIBICONV@
 
 AM_CPPFLAGS = -I../intl \
   -DDATADIR=\"$(pkgdatadir)\" \
-- 
Christian "naddy" Weisgerber                          address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]