2006-01-10 10:42:33 +00:00
|
|
|
|
2006-01-10 14:00:44 +00:00
|
|
|
AC_INIT([xsock], [0.9.0], [shamox@free.fr,glenux@gmail.com])
|
2006-01-10 10:42:33 +00:00
|
|
|
AC_PREREQ(2.50)
|
|
|
|
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
AC_CANONICAL_TARGET
|
|
|
|
|
2006-01-10 14:00:44 +00:00
|
|
|
AM_INIT_AUTOMAKE([xsock],[0.9.0])
|
2006-01-10 10:42:33 +00:00
|
|
|
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
2006-01-10 12:43:24 +00:00
|
|
|
AC_CONFIG_SRCDIR([lib/xsock.h])
|
2006-01-10 10:42:33 +00:00
|
|
|
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
|
|
|
|
|
2006-01-10 12:43:24 +00:00
|
|
|
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
|
2006-01-10 10:42:33 +00:00
|
|
|
AC_OUTPUT
|
|
|
|
|
|
|
|
|