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:
parent
effad63994
commit
ac3260868a
1 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue