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