lsyncd/configure.in
Axel Kittenberger d15d3c24fd v1.34
2010-07-11 18:56:49 +00:00

29 lines
748 B
Plaintext

AC_INIT(lsyncd.c)
m4_define(LSYNCD_PACKAGE,lsyncd)
m4_define(LSYNCD_VERSION,1.34)
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)