35 lines
681 B
Text
35 lines
681 B
Text
|
|
AC_INIT([xsock], [0.5], [shamox@free.fr,glenux@gmail.com])
|
|
AC_PREREQ(2.50)
|
|
|
|
AC_CANONICAL_HOST
|
|
AC_CANONICAL_TARGET
|
|
|
|
AM_INIT_AUTOMAKE([xsock],[0.5])
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
AC_CONFIG_SRCDIR([src/XSock.h])
|
|
AC_PROG_INSTALL
|
|
|
|
AC_ISC_POSIX
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CXX
|
|
AC_PROG_CPP
|
|
AC_PROG_CXXCPP
|
|
AC_PROG_INSTALL
|
|
|
|
AC_LANG_SAVE
|
|
AC_LANG_CPLUSPLUS
|
|
|
|
AC_HEADER_STDC([stdio.h stdlib.h string.h unistd.h math.h time.h fcntl.h sys/stat.h sys/socket.h sys/errno.h sys/time.h sys/types.h netinet/in.h netdb.h arpa/inet.h])
|
|
|
|
AC_CHECK_HEADERS([iostream sstream],,AC_MSG_ERROR([You need to have the libstdc++ headers installed]))
|
|
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
AC_CONFIG_FILES([Makefile src/Makefile])
|
|
AC_OUTPUT
|
|
|
|
|