lsyncd/configure.in

29 lines
748 B
Plaintext
Raw Normal View History

2008-08-06 13:04:01 +00:00
AC_INIT(lsyncd.c)
m4_define(LSYNCD_PACKAGE,lsyncd)
2010-07-11 18:56:49 +00:00
m4_define(LSYNCD_VERSION,1.34)
AM_INIT_AUTOMAKE(LSYNCD_PACKAGE,LSYNCD_VERSION)
2008-08-06 13:04:01 +00:00
2008-11-20 21:38:58 +00:00
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
2008-11-20 21:38:58 +00:00
2008-08-06 13:04:01 +00:00
AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_INSTALL
AC_CHECK_HEADERS([sys/inotify.h])
2008-08-06 13:04:01 +00:00
AC_CONFIG_HEADERS([config.h])
2008-08-06 13:04:01 +00:00
AC_OUTPUT(Makefile)
2008-11-20 21:38:58 +00:00