AC_CONFIG_SRCDIR(src/opserv.c)
dnl AM_CANONICAL_TARGET must be before AM_INIT_AUTOMAKE() or autoconf whines
AC_CANONICAL_TARGET
-AM_INIT_AUTOMAKE([gnu 1.6])
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE([gnu 1.10 silent-rules])
AM_MAINTAINER_MODE
LT_INIT
module_list=""
dnl Must use a separate file because autoconf can't stand newlines in an AC_SUBSTed variable.
for module in $enableval ; do
- module=`echo $module | sed -e s/^mod-// -e s/\.c\$//`
+ module=`echo $module | sed -e s/^mod-// -e s/\\\.c\\\$//`
EXTRA_MODULE_OBJS="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
module_list="$module_list $module"
echo "WITH_MODULE($module)" >> $MODULE_DEFINES