dnl Process this file with autoconf to produce a configure script.
dnl $Id$
-AC_INIT([WebCit], [7.24], [http://www.citadel.org/])
+AC_INIT([WebCit], [7.30], [http://www.citadel.org/])
AC_SUBST(PROG_SUBDIRS)
AC_DEFINE(PROG_SUBDIRS, [], [Program dirs])
AC_CHECK_HEADER(libcitadel.h,
[AC_CHECK_LIB(citadel, libcitadel_version_string,
[
- AC_MSG_RESULT(OK)
LIBS="-lcitadel $LIBS"
],
[
]
)
fi
+ok_libical=$webcit_with_calendar_service
+
if test "$webcit_with_calendar_service" == "yes"; then
AC_DEFINE(WEBCIT_WITH_CALENDAR_SERVICE,[],[whether we can do with calendar.])
)
fi
+dnl Check for iconv in external libiconv
+if test "$ok_nls" != "no"; then
+ if test "$ok_nls" == "no" ; then
+ AC_MSG_RESULT(Checking for an external libiconv...)
+ AC_CHECK_HEADER(iconv.h,
+ [
+ AC_CHECK_LIB(iconv, iconv_open,
+ [
+ LIBS="-liconv $LIBS"
+ ok_iconv=yes
+ ]
+ )
+ ]
+ )
+ fi
+fi
+
if test "$ok_iconv" != "no"; then
AC_MSG_RESULT(WebCit will be built with character set conversion.)
AC_DEFINE(HAVE_ICONV,[],[whether we have iconv for charset conversion])
dnl Here is the check for libintl etc.
+AC_CHECK_FUNCS(strftime_l uselocale gettext)
AC_ARG_ENABLE(nls,
[ --disable-nls do not use Native Language Support],