lsyncd/configure.in
Axel Kittenberger f0937e7417 1.37
2010-08-05 12:53:26 +00:00

29 lines
748 B
Plaintext

AC_INIT(lsyncd.c)
m4_define(LSYNCD_PACKAGE,lsyncd)
m4_define(LSYNCD_VERSION,1.37)
AM_INIT_AUTOMAKE(LSYNCD_PACKAGE,LSYNCD_VERSION)
AC_ARG_ENABLE([xml_config],
[ --enable-xml-config Lsyncd is able to parse lsyncd.conf files (default: enabled)],
[case "${enableval}" in
yes) xml_config=true ;;
no) xml_config=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-xml-config]) ;;
esac],[xml_config=true])
AM_CONDITIONAL(XML_CONFIG,[test x$xml_config = xtrue])
#if test x$xml_config = xtrue; then
#AM_PATH_XML2(2.5.0,,AC_MSG_ERROR([*** Libxml is required if you do not --disable-xml-config]))
#fi
AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_INSTALL
AC_CHECK_HEADERS([sys/inotify.h])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT(Makefile)