2008-08-06 13:04:01 +00:00
|
|
|
AC_INIT(lsyncd.c)
|
2008-10-08 04:08:28 +00:00
|
|
|
m4_define(LSYNCD_PACKAGE,lsyncd)
|
|
|
|
m4_define(LSYNCD_VERSION,1.0)
|
|
|
|
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])
|
|
|
|
|
|
|
|
|
2008-08-06 13:04:01 +00:00
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
2008-10-08 04:08:28 +00:00
|
|
|
AC_CHECK_HEADERS([sys/inotify.h])
|
2008-08-06 13:04:01 +00:00
|
|
|
|
2008-10-08 04:08:28 +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
|
|
|
|