dnl Process this file with autoconf to produce a configure script.
AC_INIT(notice.c)

dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_RANLIB

dnl Checks for libraries.
dnl Replace `main' with a function in -lInvertedFile:
AC_CHECK_LIB(InvertedFile, main)
dnl Replace `main' with a function in -lSquirePPM:
AC_CHECK_LIB(SquirePPM, main)
dnl Replace `main' with a function in -lc:
AC_CHECK_LIB(c, main)
dnl Replace `main' with a function in -lcrypt:
AC_CHECK_LIB(crypt, main)
dnl Replace `main' with a function in -ldb:
AC_CHECK_LIB(db, main)
dnl Replace `main' with a function in -ldl:
AC_CHECK_LIB(dl, main)
dnl Replace `main' with a function in -lgdbm:
AC_CHECK_LIB(gdbm, main)
dnl Replace `main' with a function in -lm:
AC_CHECK_LIB(m, main)
dnl Replace `main' with a function in -lndbm:
AC_CHECK_LIB(ndbm, main)
dnl Replace `main' with a function in -lnsl:
AC_CHECK_LIB(nsl, main)
dnl Replace `main' with a function in -lperl:
AC_CHECK_LIB(perl, main)
dnl Replace `main' with a function in -lposix:
AC_CHECK_LIB(posix, main)

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h malloc.h sys/time.h unistd.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_HEADER_TIME

dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_MMAP
AC_FUNC_SETVBUF_REVERSED
AC_CHECK_FUNCS(select socket strerror strtod strtol)

AC_OUTPUT(GIFTServer/gift-config/Makefile Doc/Makefile GIFT/expat/Makefile GIFT/libBayesian/Makefile GIFTServer/gift-mrml-messages/Makefile dtd/Makefile GIFT/scripts/Makefile GIFT/scripts/perl/Makefile GIFT/FeatureExtraction/Makefile expat/Makefile libBayesian/Makefile GIFT/libUnpublished/cc/Makefile scripts/emacs-lisp/Makefile GIFT/Makefile scripts/Makefile GIFT/GIFTServer/gift-config/Makefile GIFT/libBayesian/include/Makefile GIFT/libInvertedFile/Makefile FeatureExtraction/Makefile libInvertedFile/cc/Makefile libUnpublished/cc/Makefile Makefile GIFT/GIFTServer/Makefile libBayesian/include/Makefile GIFT/GIFT-0.1/Makefile libBayesian/cc/Makefile libInvertedFile/Makefile GIFT/scripts/emacs-lisp/Makefile libUnpublished/Makefile GIFTServer/Makefile libSquirePPM/Makefile GIFT/GIFT-0.1/libInvertedFile/Makefile GIFT/libInvertedFile/include/Makefile GIFT-0.1/Makefile GIFT/libInvertedFile/cc/Makefile GIFT-0.1/libInvertedFile/Makefile scripts/perl/Makefile libInvertedFile/include/Makefile GIFT/Doc/Makefile GIFT/libBayesian/cc/Makefile GIFT/libUnpublished/Makefile GIFT/GIFTServer/gift-mrml-messages/Makefile GIFT/dtd/Makefile GIFT/libSquirePPM/Makefile)
