Prepare for __UNUSED__
authorsebastid <sebastid>
Wed, 13 Apr 2005 05:48:38 +0000 (05:48 +0000)
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Apr 2005 05:48:38 +0000 (05:48 +0000)
Make gettext work with 0.14.1 (which by default looks for internal libintl)

SVN revision: 14165

configure.in

index 7f89615..ae03c5b 100644 (file)
@@ -18,6 +18,7 @@ AC_HEADER_STDC
 AC_C_CONST
 AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
+AC_C___ATTRIBUTE__
 
 MODULE_ARCH="$target_os-$target_cpu"
 AC_SUBST(MODULE_ARCH)
@@ -91,7 +92,7 @@ else
   AC_DEFINE_UNQUOTED(LOCALE_DIR, "${datadir}/locale", "Locale directory")
 fi
 
-AM_GNU_GETTEXT
+AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION(0.12.1)
 if test "x$LIBINTL" = "x"; then
   LIBINTL="$INTLLIBS"