summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2022-12-17 12:05:16 -0500
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2024-02-09 15:46:51 +0000
commit63e544a7e7873b7938e00c4ccbede39fe97a73e1 (patch)
tree243da58b28b6177c3bf12c4bd3a985251d0a9941
parentce718ac5886932e13e8c2698e426953d23f07a88 (diff)
downloadmv-63e544a7e7873b7938e00c4ccbede39fe97a73e1.tar.gz
mv-63e544a7e7873b7938e00c4ccbede39fe97a73e1.tar.bz2
mv-63e544a7e7873b7938e00c4ccbede39fe97a73e1.tar.xz
mv-63e544a7e7873b7938e00c4ccbede39fe97a73e1.zip
Updated configure.ac to newer autoconf standards by using the 'autoupdate' tool.camel
Fixes a lot of warnings when running autoreconf -i
-rw-r--r--[-rwxr-xr-x]configure.ac21
1 files changed, 14 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 23febd1c8..cc770c9f0 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.71])
+AC_INIT([ManaPlus],[1.0],[akaras@inbox.ru],[manaplus])
AM_INIT_AUTOMAKE([1.9])
-AC_LANG_CPLUSPLUS
+AC_LANG([C++])
AC_DEFUN([AC_CHECK_CXX_FLAG],
[
@@ -214,7 +214,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
@@ -424,8 +424,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 +586,15 @@ fi
AM_CONDITIONAL(USE_X11, test x$use_x11 = xyes)
# Checks for header files.
-AC_HEADER_STDC
+m4_warn([obsolete],
+[The preprocessor macro `STDC_HEADERS' is obsolete.
+ Except in unusual embedded environments, you can safely include all
+ ISO C90 headers unconditionally.])dnl
+# Autoupdate added the next two lines to ensure that your configure
+# script's behavior did not change. They are probably safe to remove.
+AC_CHECK_INCLUDES_DEFAULT
+AC_PROG_EGREP
+
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