Commit 630817e4 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

build: Enable automake's subdir-objects option

We can get rid of autogen.des' egrep command used to silence this
warning too. In fact we can even remove the subshell and simply
call autoreconf directly. The problem with egrep is the loss of
a meaningful exit status for the autoreconf invocation.

I also enabled autoreconf's verbose output.
parent b82271e5
......@@ -22,8 +22,8 @@ else
DST="--prefix=/opt/varnish --mandir=/opt/varnish/man"
fi
rm -f configure
(cd $SRCDIR && autoreconf -i 2>&1 | egrep -v "(subdir-objects|is in a subdirectory)")
rm -f $SRCDIR/configure
autoreconf -i -v $SRCDIR
# autoconf prior to 2.62 has issues with zsh 4.2 and newer
CONFIG_SHELL=/bin/sh
......
......@@ -19,7 +19,7 @@ AC_CANONICAL_SYSTEM
AC_LANG(C)
AM_MAINTAINER_MODE([disable])
AM_INIT_AUTOMAKE([1.11 foreign color-tests parallel-tests])
AM_INIT_AUTOMAKE([1.11 foreign color-tests parallel-tests subdir-objects])
AM_SILENT_RULES([yes])
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment