Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (23 sloc) 621 Bytes
dnl Process this file with autoconf to produce a configure script.
AC_INIT(libusual, 0.1)
AC_CONFIG_SRCDIR(usual/base.h)
AC_CONFIG_HEADER(usual/config.h)
AC_PREREQ([2.59])
AC_USUAL_PORT_CHECK
AC_USUAL_PROGRAM_CHECK
AC_USUAL_HEADER_CHECK
AC_USUAL_TYPE_CHECK
AC_USUAL_FUNCTION_CHECK
AC_USUAL_CASSERT
AC_USUAL_WERROR
AC_USUAL_DEBUG
AC_USUAL_UREGEX
AC_USUAL_LIBEVENT(opt)
AC_USUAL_GETADDRINFO_A
dnl search for common libraries
AC_SEARCH_LIBS(clock_gettime, rt)
AC_SEARCH_LIBS(getsockname, socket)
AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(hstrerror, resolv)
dnl Output findings
AC_OUTPUT([config.mak])
Jump to Line
Something went wrong with that request. Please try again.