mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
configure: only check for gettext/dcgettext if we want them (makes --without-gettext work on platforms where gettext exists but isn't wanted)
This commit is contained in:
parent
10648cac5b
commit
4c3d3af73e
1 changed files with 5 additions and 5 deletions
10
configure.ac
10
configure.ac
|
@ -677,16 +677,16 @@ fi
|
||||||
|
|
||||||
AC_CHECK_FUNCS( wcsdup wcsndup wcslen wcscasecmp wcsncasecmp fwprintf )
|
AC_CHECK_FUNCS( wcsdup wcsndup wcslen wcscasecmp wcsncasecmp fwprintf )
|
||||||
AC_CHECK_FUNCS( futimes wcwidth wcswidth wcstok fputwc fgetwc )
|
AC_CHECK_FUNCS( futimes wcwidth wcswidth wcstok fputwc fgetwc )
|
||||||
AC_CHECK_FUNCS( wcstol wcslcat wcslcpy lrand48_r killpg gettext )
|
AC_CHECK_FUNCS( wcstol wcslcat wcslcpy lrand48_r killpg )
|
||||||
AC_CHECK_FUNCS( dcgettext backtrace backtrace_symbols sysconf )
|
AC_CHECK_FUNCS( backtrace backtrace_symbols sysconf getifaddrs )
|
||||||
AC_CHECK_FUNCS( getifaddrs )
|
|
||||||
|
if test x$local_gettext != xno; then
|
||||||
|
AC_CHECK_FUNCS( gettext dcgettext )
|
||||||
|
|
||||||
#
|
#
|
||||||
# The Makefile also needs to know if we have gettext, so it knows if
|
# The Makefile also needs to know if we have gettext, so it knows if
|
||||||
# the translations should be installed.
|
# the translations should be installed.
|
||||||
#
|
#
|
||||||
|
|
||||||
if test x$local_gettext != xno; then
|
|
||||||
AC_CHECK_FUNC( gettext, HAVE_GETTEXT=1, HAVE_GETTEXT=0 )
|
AC_CHECK_FUNC( gettext, HAVE_GETTEXT=1, HAVE_GETTEXT=0 )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue