Lines 31-37
Link Here
|
31 |
AC_CHECK_FUNCS([strlcat]) |
31 |
AC_CHECK_FUNCS([strlcat]) |
32 |
|
32 |
|
33 |
# Internationalization & localization support |
33 |
# Internationalization & localization support |
34 |
AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"]) |
34 |
AC_CHECK_PROG(XGETTEXT, xgettext, yes) |
|
|
35 |
if test -n "$XGETTEXT"; then |
36 |
AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"]) |
37 |
else |
38 |
USE_GETTEXT="no" |
39 |
fi |
35 |
AC_MSG_CHECKING([where to install localized messages]) |
40 |
AC_MSG_CHECKING([where to install localized messages]) |
36 |
AC_ARG_WITH([localedir], AC_HELP_STRING([--with-localedir=<path>], |
41 |
AC_ARG_WITH([localedir], AC_HELP_STRING([--with-localedir=<path>], |
37 |
[Path to install message files in (default: datadir/locale)]), |
42 |
[Path to install message files in (default: datadir/locale)]), |