From 0cd441867adedc5add8b65a42d0f156e906ab25e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 29 Mar 2011 16:22:12 +0300 Subject: Add fixes for localisation dir in linux portable build and error detection. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2b79d4261..74ed0d6b1 100755 --- a/configure.ac +++ b/configure.ac @@ -145,6 +145,17 @@ esac],[with_manaserv=false]) AM_CONDITIONAL(ENABLE_MANASERV, test x$with_manaserv = xtrue) +# Enable portable +AC_ARG_ENABLE(portable, +[ --enable-portable Turn on portable mode for linux], +[case "${enableval}" in + yes) portable_enabled=true ;; + no) portable_enabled=false ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-portable) ;; +esac],[portable_enabled=false]) + +AM_CONDITIONAL(ENABLE_PORTABLE, test x$portable_enabled = xtrue) + AC_CONFIG_FILES([ Makefile src/Makefile -- cgit v1.2.3-60-g2f50