diff options
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100755 index 0000000..5944ab8 --- /dev/null +++ b/configure.ac @@ -0,0 +1,33 @@ +AC_PREREQ(2.59) +AC_INIT([ManaPlusLint], [1.2.10.28], [akaras@inbox.ru], [manaplus]) +AM_INIT_AUTOMAKE([1.9]) +#AC_CONFIG_HEADERS([config.h:config.h.in]) +AC_LANG_CPLUSPLUS + +# Checks for programs. +AC_PROG_CXX +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 +AC_FUNC_MALLOC +AC_FUNC_REALLOC + +AC_FUNC_SELECT_ARGTYPES +AC_FUNC_VPRINTF +AC_CHECK_FUNCS([atexit floor getcwd gethostbyname memset mkdir select socket]) + +# 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]) + +AC_CONFIG_FILES([ +Makefile +src/Makefile +]) + +AC_OUTPUT |