--- configure.ac.old 2008-02-23 22:42:48.751259786 +0000 +++ configure.ac 2008-02-23 22:44:38.140260060 +0000 @@ -107,7 +107,12 @@ AC_CHECK_LIB(stdc++,main,[LIBS="$LIBS -lstdc++"]) AC_CHECK_LIB(z,main,[LIBS="$LIBS -lz"]) -AC_CHECK_HEADER([libintl.h], [AC_DEFINE(ENABLE_NLS,1,[__x86_64__])]) +AC_ARG_ENABLE(nls, AC_HELP_STRING([--disable-nls], [Disable nls support]), + nls=$enableval,nls=yes) +if test "x$nls" == xyes +then + AC_CHECK_HEADER([libintl.h], [AC_DEFINE(ENABLE_NLS,1,[__x86_64__])]) +fi AC_OUTPUT([ Makefile @@ -132,3 +137,4 @@ echo " Force sse3? $sse3" echo " Recompilers enabled? $recbuild" echo " Virtual memory build? $vmbuild" +echo " nls support? $nls"