--- configure.ac 2009-10-09 17:31:54.000000000 +0000 +++ configure.ac 2010-01-24 21:19:10.402469180 +0000 @@ -31,7 +31,12 @@ AC_CHECK_FUNCS([strlcat]) # Internationalization & localization support -AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"]) +AC_CHECK_PROG(XGETTEXT, xgettext, yes) +if test -n "$XGETTEXT"; then + AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"]) +else + USE_GETTEXT="no" +fi AC_MSG_CHECKING([where to install localized messages]) AC_ARG_WITH([localedir], AC_HELP_STRING([--with-localedir=], [Path to install message files in (default: datadir/locale)]),