Commit 5ce48694 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.

Conflicts:
	autogen.des
parent da278133
......@@ -22,8 +22,8 @@ else
DST="--prefix=/opt/varnish --mandir=/opt/varnish/man"
fi
rm -f configure
(cd $SRCDIR && . ./autogen.sh 2>&1 | egrep -v "(subdir-objects|is in a subdirectory)")
rm -f $SRCDIR/configure
(cd $SRCDIR && . ./autogen.sh 2>&1)
# autoconf prior to 2.62 has issues with zsh 4.2 and newer
export 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