- make i18n working again
- always use system libintl
- introduced vncviewer/gettext.h (from gettext package) as conventional wrapper around libintl.h


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2491 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/configure.ac b/unix/configure.ac
index 40bf10c..631d3cb 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -12,6 +12,8 @@
 AC_PROG_CXX
 AC_PROG_LIBTOOL
 AC_LANG([C++])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.17])
 
 case "`(uname -sr) 2>/dev/null`" in
 "SunOS 5"*)
@@ -152,8 +154,6 @@
 AC_LANG_RESTORE
 AC_SUBST(INET_LIB)
 
-dnl AM_GNU_GETTEXT
-
 BOILERPLATE=boilerplate.mk
 
 if (sh -c "make --version" 2>/dev/null | grep GNU 2>&1 >/dev/null); then