--- configure.in 2007-02-13 01:10:47 +0000 +++ configure.in 2007-03-03 19:58:39 +0000 @@ -157,6 +157,15 @@ AC_CHECK_HEADER(dlfcn.h,[LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -ldl" ; AC_DEFINE(HAVE_NCORE,1,Support for NodalCore acceleration)], AC_MSG_WARN([****** NodalCore support disabled (no support for dlopen)])) fi +AC_ARG_ENABLE(nls, + AC_HELP_STRING([--disable-nls], [disable nls support]), + [want_nls=$enableval], [want_nls=yes] +) + +if test $want_nls = yes; then + CPPFLAGS="$CPPFLAGS -DENABLE_NLS" +fi + AC_ARG_ENABLE(dns, AC_HELP_STRING([--disable-dns], [disable support for database verification through DNS]), [want_dns=$enableval], [want_dns=yes] --- shared/output.c 2007-02-21 02:46:49 +0000 +++ shared/output.c 2007-02-21 02:50:42 +0000 @@ -53,7 +53,7 @@ pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER; #endif -#ifdef C_LINUX +#if defined(C_LINUX) && defined(ENABLE_NLS) #include #include