29 lines
820 B
Plaintext
29 lines
820 B
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.59)
|
|
AC_INIT(libsangoma, 1.0.0, anthmct@yahoo.com)
|
|
AM_INIT_AUTOMAKE(libsangoma,1.0.0)
|
|
# Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_LIBTOOL
|
|
AC_PROG_RANLIB
|
|
# Checks for libraries.
|
|
|
|
AC_CHECK_HEADERS(fcntl.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h math.h)
|
|
|
|
AC_ARG_WITH(libpri,
|
|
[ --with-libpri=<path> enable pri support],[libpripath="$withval"])
|
|
|
|
AM_CONDITIONAL([LIBPRI],[test -d "$libpripath" ])
|
|
AC_SUBST([libpripath])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_HEADER_TIME
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_SELECT_ARGTYPES
|
|
AC_CHECK_FUNCS([gettimeofday memset select socket])
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|