]> err.no Git - varnish/commitdiff
My version.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Jul 2006 11:18:34 +0000 (11:18 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Jul 2006 11:18:34 +0000 (11:18 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@349 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/autogen.phk [new file with mode: 0755]

diff --git a/varnish-cache/autogen.phk b/varnish-cache/autogen.phk
new file mode 100755 (executable)
index 0000000..e10a3df
--- /dev/null
@@ -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 )