diff --git a/configure.ac b/configure.ac index 62f1631fbb38..6b6301210dfd 100644 --- a/configure.ac +++ b/configure.ac @@ -3686,6 +3686,25 @@ AC_SUBST(DEFAULT_PROFILE) # End build profile configuration # +if test x$USE_NLS = xprofile_default; then + +if test x$host_darwin = xyes; then +# We make the default value for USE_NLS +# "no" on OSX because it isn't available on most +# default OSX installs. The most common configurations will +# all disable it, so this saves us typing. + USE_NLS=no + AC_SUBST([USE_NLS]) + AC_MSG_RESULT([$USE_NLS]) +else + USE_NLS=yes + AC_SUBST([USE_NLS]) + AC_MSG_RESULT([$USE_NLS]) +fi + +fi + + MALLOC_MEMPOOLS=no AC_ARG_WITH(malloc_mempools,[ --with-malloc-mempools=yes,no Use malloc for each single mempool allocation (only for runtime debugging, defaults to no)],[ if test x$with_malloc_mempools = xyes; then diff --git a/m4/nls.m4 b/m4/nls.m4 index 003704c4b93b..93e89ee4632b 100644 --- a/m4/nls.m4 +++ b/m4/nls.m4 @@ -26,7 +26,7 @@ AC_DEFUN([AM_NLS], dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], - USE_NLS=$enableval, USE_NLS=yes) + USE_NLS=$enableval, USE_NLS=profile_default) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) diff --git a/scripts/ci/run-jenkins.sh b/scripts/ci/run-jenkins.sh index b3ade889396e..bab0f012df5d 100755 --- a/scripts/ci/run-jenkins.sh +++ b/scripts/ci/run-jenkins.sh @@ -7,8 +7,8 @@ export CFLAGS=-ggdb3 if [[ ${CI_TAGS} == *'coop-gc'* ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-cooperative-gc=yes"; export MONO_CHECK_MODE=gc,thread; fi -if [[ ${label} == 'osx-i386' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib --enable-nls=no --build=i386-apple-darwin11.2.0"; fi -if [[ ${label} == 'osx-amd64' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib --enable-nls=no"; fi +if [[ ${label} == 'osx-i386' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib --build=i386-apple-darwin11.2.0"; fi +if [[ ${label} == 'osx-amd64' ]]; then EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-libgdiplus=/Library/Frameworks/Mono.framework/Versions/Current/lib/libgdiplus.dylib "; fi if [[ ${label} == 'w32' ]]; then PLATFORM=Win32; EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --host=i686-w64-mingw32"; export MONO_EXECUTABLE="`cygpath -u ${WORKSPACE}\\\msvc\\\Win32\\\bin\\\Release_SGen\\\mono-sgen.exe`";fi if [[ ${label} == 'w64' ]]; then PLATFORM=x64; EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --host=x86_64-w64-mingw32 --disable-boehm"; export MONO_EXECUTABLE="`cygpath -u ${WORKSPACE}\\\msvc\\\x64\\\bin\\\Release_SGen\\\mono-sgen.exe`"; fi