Add games-emulation/pcsx2-0.9.4.
[overlay.git] / games-emulation / pcsx2 / files / pcsx2-add-nls.patch
1 --- configure.ac.old    2008-02-23 22:42:48.751259786 +0000
2 +++ configure.ac        2008-02-23 22:44:38.140260060 +0000
3 @@ -107,7 +107,12 @@
4  AC_CHECK_LIB(stdc++,main,[LIBS="$LIBS -lstdc++"])
5  AC_CHECK_LIB(z,main,[LIBS="$LIBS -lz"])
6  
7 -AC_CHECK_HEADER([libintl.h], [AC_DEFINE(ENABLE_NLS,1,[__x86_64__])])
8 +AC_ARG_ENABLE(nls, AC_HELP_STRING([--disable-nls], [Disable nls support]),
9 + nls=$enableval,nls=yes)
10 +if test "x$nls" == xyes
11 +then
12 + AC_CHECK_HEADER([libintl.h], [AC_DEFINE(ENABLE_NLS,1,[__x86_64__])])
13 +fi
14  
15  AC_OUTPUT([
16   Makefile
17 @@ -132,3 +137,4 @@
18  echo "  Force sse3?               $sse3"
19  echo "  Recompilers enabled?   $recbuild"
20  echo "  Virtual memory build?  $vmbuild"
21 +echo "  nls support?          $nls"