From ded5f2ed01c17fa2b5adec34c4213b5824c5b7db Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 6 Jul 2006 11:18:34 +0000 Subject: [PATCH] My version. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@349 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/autogen.phk | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 varnish-cache/autogen.phk diff --git a/varnish-cache/autogen.phk b/varnish-cache/autogen.phk new file mode 100755 index 00000000..e10a3df1 --- /dev/null +++ b/varnish-cache/autogen.phk @@ -0,0 +1,35 @@ +#!/bin/sh +# +# $Id: autogen.sh 118 2006-04-05 09:40:22Z phk $ +# + +set -ex + +if [ -d /usr/local/gnu-autotools/bin ] ; then + PATH=${PATH}:/usr/local/gnu-autotools/bin + export PATH +fi + +base=$(cd $(dirname $0) && pwd) +for dir in $base $base/contrib/libevent ; do + ( + echo $dir + cd $dir + aclocal + libtoolize --copy --force + aclocal + autoheader + automake --add-missing --copy --foreign + autoconf + ) +done + +sh configure \ + --enable-pedantic \ + --enable-wall \ + --enable-werror \ + --enable-dependency-tracking \ + "CFLAGS=-std=c99 -Wno-format" + +# This is a safety-measure during development +( cd lib/libvcl && ./*.tcl ) -- 2.39.5