X-Git-Url: http://git.pk910.de/?p=srvx.git;a=blobdiff_plain;f=configure.in;h=a3a885165a080b602c80af02da02b311a5ace647;hp=f9502d105b6b54c00dbee74f3e9482d228dcda1d;hb=HEAD;hpb=056748e33d1b3d773de40697dd8925ad0be4a35f diff --git a/configure.in b/configure.in index f9502d1..a3a8851 100644 --- a/configure.in +++ b/configure.in @@ -3,12 +3,13 @@ dnl Process this file with autoconf to create a configure script. dnl General initialization. AC_PREREQ(2.64) AC_INIT([srvx],[1.4.0-rc3],[srvx-bugs@lists.sourceforge.net]) -CODENAME=surge +CODENAME=wgn AC_CONFIG_HEADERS(src/config.h) 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 @@ -23,6 +24,7 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_GCC_TRADITIONAL +AC_PROG_RANLIB dnl Look for a git client AC_CHECK_PROGS(GIT, [git]) @@ -332,7 +334,7 @@ AC_ARG_ENABLE(modules, 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