1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

Do not use AM_GNU_GETTEXT for now, it causes gettextize to run during

autogen.sh, which we do not want.  Explicitely check for libintl,
gettext, bindtextdomain, and textdomain instead.
This commit is contained in:
Marius Vollmer 2004-09-25 01:01:42 +00:00
parent effad63994
commit ac3260868a

View file

@ -638,7 +638,13 @@ AC_TRY_LINK([#include <gmp.h>],
[AC_MSG_ERROR([At least GNU MP 4.1 is required, see http://swox.com/gmp])])
dnl i18n tests
AM_GNU_GETTEXT([external], [need-ngettext])
AC_CHECK_HEADERS([libintl.h])
AC_CHECK_FUNCS(gettext)
if test $ac_cv_func_gettext = no; then
AC_CHECK_LIB(intl, gettext)
fi
AC_CHECK_FUNCS([bindtextdomain textdomain])
#AM_GNU_GETTEXT([external], [need-ngettext])
### Some systems don't declare some functions. On such systems, we
### need to at least provide our own K&R-style declarations.