]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/configure.in
Added files to the .cvsignore
[irc/gameservirc.git] / gameserv / configure.in
index 96b5c8744a9af80b0e8e8793939c340feed18dc4..77f538cb34c2ba3d9ef3fca2fa42587335037ae0 100644 (file)
@@ -1,30 +1,27 @@
-#                                               -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(aClient.cpp)
 
-AC_PREREQ(2.57)
-AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
-AC_CONFIG_SRCDIR([aClient.cpp])
-AC_CONFIG_HEADER([config.h])
+dnl Create the config.h
+AC_CONFIG_HEADER(config.h)
 
-# Checks for programs.
+dnl Checks for programs.
 AC_PROG_CXX
+AC_PROG_CXXCPP
 AC_PROG_CC
-AC_PROG_INSTALL
 
-# Checks for libraries.
+dnl Checks for libraries.
+AC_CHECK_LIB(crypt, crypt)
 
-# Checks for header files.
+dnl Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS([arpa/inet.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h])
+AC_HEADER_TIME
+AC_CHECK_HEADERS(limits.h unistd.h crypt.h)
 
-# Checks for typedefs, structures, and compiler characteristics.
-AC_HEADER_STDBOOL
+dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 AC_TYPE_SIZE_T
 
-# Checks for library functions.
-AC_FUNC_FORK
-AC_CHECK_FUNCS([gethostbyname inet_ntoa memset pow socket strcspn strspn strtol])
+dnl Checks for library functions.
+AC_CHECK_FUNCS(socket strcspn strspn strtol strtok)
+AC_OUTPUT(Makefile)
 
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT