summaryrefslogblamecommitdiff
path: root/configure.ac
blob: 5944ab8dab830ff17e199ce43f45a6182418079e (plain) (tree)
































                                                                                                             
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