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([lib/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 XSOCK_LIB_CURRENT=0 XSOCK_LIB_REVISION=9 XSOCK_LIB_AGE=0 AC_SUBST(XSOCK_LIB_CURRENT) AC_SUBST(XSOCK_LIB_REVISION) AC_SUBST(XSOCK_LIB_AGE) AC_CONFIG_FILES([ Makefile lib/Makefile xsock.pc ]) #libvorbis.spec AC_OUTPUT