-AC_DEFINE_UNQUOTED([PREFIX],["$prefix"],where should we make our root?)
-dnl AC_SUBST(PREFIX)
-
-dnl dnl Here is the check for libintl etc.
-dnl
-dnl AC_DEFINE([ENABLE_NLS],
-dnl [ --disable-nls do not use Native Language Support],
-dnl ok_nls=no, ok_nls=yes)
-dnl
-dnl if test "$ok_nls" != "no"; then
-dnl AC_MSG_RESULT(Checking for per-thread NLS support...)
-dnl AC_TRY_RUN([
-dnl #define _GNU_SOURCE
-dnl #include <libintl.h>
-dnl #include <locale.h>
-dnl #include <time.h>
-dnl main() {
-dnl char *foo = NULL;
-dnl char baz[32];
-dnl struct tm *tm;
-dnl uselocale(LC_GLOBAL_LOCALE);
-dnl foo = gettext("bar");
-dnl if (0) {
-dnl strftime_l(baz, sizeof baz, "%c", tm, LC_GLOBAL_LOCALE);
-dnl }
-dnl exit(0);
-dnl }
-dnl ],
-dnl ok_uselocale=yes,
-dnl ok_uselocale=no
-dnl )
-dnl ok_nls=$ok_uselocale
-dnl fi
-dnl
-dnl if test "$ok_nls" != "no"; then
-dnl AC_CHECK_PROG(ok_xgettext, xgettext, yes, no)
-dnl ok_nls=$ok_xgettext
-dnl fi
-dnl
-dnl if test "$ok_nls" != "no"; then
-dnl AC_CHECK_PROG(ok_msgmerge, msgmerge, yes, no)
-dnl ok_nls=$ok_msgmerge
-dnl fi
-dnl
-dnl if test "$ok_nls" != "no"; then
-dnl AC_CHECK_PROG(ok_msgfmt, msgfmt, yes, no)
-dnl ok_nls=$ok_msgfmt
-dnl fi
-dnl
-dnl if test "$ok_nls" != "no"; then
-dnl AC_MSG_RESULT(WebCit will be built with national language support.)
-dnl AC_DEFINE(ENABLE_NLS)
-dnl CFLAGS="$CFLAGS -I\$(top_srcdir)/po"
-dnl PROG_SUBDIRS="$PROG_SUBDIRS po"
-dnl AC_CHECK_LIB(intl, gettext)
-dnl else
-dnl AC_MSG_RESULT(WebCit will be built without national language support.)
-dnl fi
-dnl Checks for programs.
-AM_GNU_GETTEXT_VERSION([0.14])
-
-#AM_GNU_GETTEXT
-# if we have intl/...
-IT_PROG_INTLTOOL
-AC_TRY_COMPILE([#include <locale.h>],
- [ extern locale_t wc_locales[]],
- [
- _nls_avail=yes
- AM_GNU_GETTEXT([external],[need-ngettext])
- ],
- [_nls_avail=no])