summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--[-rwxr-xr-x]configure.ac28
1 files changed, 7 insertions, 21 deletions
diff --git a/configure.ac b/configure.ac
index 1d25ae8e1..e0d53b324 100755..100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
-AC_PREREQ(2.60)
-AC_INIT([ManaPlus], [1.0], [akaras@inbox.ru], [manaplus])
+AC_PREREQ([2.69])
+AC_INIT([ManaVerse], [1.0], [], [manaplus], [https://manaverse.germantmw.de])
AM_INIT_AUTOMAKE([1.9])
-AC_LANG_CPLUSPLUS
+AC_LANG([C++])
AC_DEFUN([AC_CHECK_CXX_FLAG],
[
@@ -149,18 +149,6 @@ esac],[openglerrors_enabled=false])
AM_CONDITIONAL(ENABLE_OPENGLERRORS, test "x$openglerrors_enabled" = xtrue)
-# Enable password from command line
-AC_ARG_ENABLE(commandlinepassword,
-[ --enable-commandlinepassword Enable command line option for set password],
-[case "${enableval}" in
- yes) commandlinepassword_enabled=true
- ;;
- no) commandlinepassword_enabled=false
- ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-commandlinepassword) ;;
-esac],[commandlinepassword_enabled=false])
-
-AM_CONDITIONAL(ENABLE_COMMANDLINEPASSWORD, test "x$commandlinepassword_enabled" = xtrue)
# Checks for android.
AC_ARG_ENABLE(androidbuild,
@@ -214,7 +202,7 @@ AM_PROG_CC_C_O
AC_PROG_INSTALL
# Checks for typedefs, structures, and compiler characteristics.
-AC_HEADER_TIME
+
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
@@ -260,7 +248,7 @@ CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libpng`"
# Checks for internationalization support
AM_GNU_GETTEXT([external],[need-ngettext])
-AM_GNU_GETTEXT_VERSION([0.16.1])
+AM_GNU_GETTEXT_VERSION([0.18.2])
case "$host" in
(*mingw*)
@@ -379,7 +367,7 @@ if test "x$with_internalsdlgfx" = "xno"; then
AC_CHECK_HEADERS(SDL2_rotozoom.h, ,)
else
with_internalsdlgfx=yes
- AC_DEFINE(USE_INTERNALSDLGFX, 1, [Defines if ManaPlus should use internal sdlgfx2])
+ AC_DEFINE(USE_INTERNALSDLGFX, 1, [Defines if ManaVerse should use internal sdlgfx2])
fi
AM_CONDITIONAL(USE_INTERNALSDLGFX, test "x$with_internalsdlgfx" = xyes)
@@ -424,8 +412,7 @@ AC_MSG_ERROR([ *** CURL library found but cannot find headers (http://curl.haxx.
# select xml lib
AC_ARG_ENABLE(libxml,
- AC_HELP_STRING([--enable-libxml=ARG],
- [xml libs: libxml (default), pugixml (experimental)]),
+ AS_HELP_STRING([--enable-libxml=ARG],[xml libs: libxml (default), pugixml (experimental)]),
[
xmllib="${enableval}"
],
@@ -587,7 +574,6 @@ fi
AM_CONDITIONAL(USE_X11, test "x$use_x11" = xyes)
# Checks for header files.
-AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h])
# Enable mac build