forked from Mirrors/freeswitch
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.59)
|
|
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
|
|
AC_CONFIG_SRCDIR([switch.c])
|
|
AC_CONFIG_HEADER([config.h])
|
|
|
|
# Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_MAKE_SET
|
|
|
|
# Checks for libraries.
|
|
# FIXME: Replace `main' with a function in `-leXosip2':
|
|
AC_CHECK_LIB([eXosip2], [main])
|
|
# FIXME: Replace `main' with a function in `-lsangoma':
|
|
AC_CHECK_LIB([sangoma], [main])
|
|
# FIXME: Replace `main' with a function in `-lspeex':
|
|
AC_CHECK_LIB([speex], [main])
|
|
|
|
# Checks for header files.
|
|
AC_HEADER_DIRENT
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AC_TYPE_SIZE_T
|
|
AC_HEADER_TIME
|
|
AC_STRUCT_TM
|
|
|
|
# Checks for library functions.
|
|
AC_PROG_GCC_TRADITIONAL
|
|
AC_FUNC_MALLOC
|
|
AC_TYPE_SIGNAL
|
|
AC_FUNC_STRFTIME
|
|
AC_CHECK_FUNCS([gethostname gettimeofday localtime_r memmove memset socket strcasecmp strchr strdup strncasecmp strstr])
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
mod/mod_exosip/Makefile
|
|
mod/mod_g711codec/Makefile
|
|
mod/mod_speexcodec/Makefile
|
|
mod/mod_wanchan/Makefile])
|
|
AC_OUTPUT
|