Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e4601faf7c
Fetching contributors…

Cannot retrieve contributors at this time

63 lines (45 sloc) 2.015 kb
# Copyright (C)2008 Laurence Tratt http:#tratt.net/laurie/
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
AC_INIT([extsmail], EXTSMAIL_VERSION)
####################################################################################################
# Generic initialization
#
AC_CONFIG_HEADER(Config.h)
AC_LANG(C)
AC_PROG_CC
AC_ISC_POSIX
AC_PROG_GCC_TRADITIONAL
####################################################################################################
# Function / feature checks
#
CFLAGS="-std=c99 -O2"
# kqueue (*BSD)
AH_TEMPLATE(HAVE_KQUEUE,
[Define if your platform has the kqueue family of functions.])
AC_CHECK_FUNC(kqueue, [AC_DEFINE(HAVE_KQUEUE)])
# inotify (GNU/Linux)
AH_TEMPLATE(HAVE_INOTIFY,
[Define if your platform has the inotify family of functions.])
AC_CHECK_HEADERS(sys/inotify.h, [AC_DEFINE(HAVE_INOTIFY)])
####################################################################################################
# Output
#
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
Jump to Line
Something went wrong with that request. Please try again.