X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=699bf968dbed77d013e23610d0ff2887988ac119;hb=8daad02cf03b9cef0bc47c068cf216d5971c543b;hp=65568c0341627207aa393c5f02bc9348392562a0;hpb=a5e66c8aec9b24595006c52499c926807cc7118b;p=supertux.git diff --git a/configure.ac b/configure.ac index 65568c034..699bf968d 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,16 @@ AC_PROG_CXX AC_PROG_INSTALL AC_CHECK_PROGS(XGETTEXT, xgettext) +if test -n "$XGETTEXT" ; then + AC_MSG_CHECKING([if xgettext supports lisp]) + if echo '(gettext "test")' | xgettext -o - -L Lisp - >& /dev/null; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + AC_MSG_WARN([It seems your gettext installation is too old, try updating it]) + XGETTEXT="" + fi +fi dnl Checks for header files. AC_HEADER_DIRENT