]> err.no Git - varnish/commitdiff
Remove FreeBSD workaround; the FreeBSD ports tree has had working autotools
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 8 Aug 2007 10:01:50 +0000 (10:01 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 8 Aug 2007 10:01:50 +0000 (10:01 +0000)
for two weeks now.  Also fix inconsistent indentation.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1811 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/autogen.sh

index 457a7d000f96b7f5b18207b2dc47fce6cb6ab1bb..3800db0eab6094dd8883b32942c34314040bff76 100755 (executable)
@@ -9,19 +9,17 @@ warn() {
 
 case `uname -s` in
 Darwin)
-       LIBTOOLIZE=glibtoolize
-       ;;
+    LIBTOOLIZE=glibtoolize
+    ;;
 FreeBSD)
-       LIBTOOLIZE=libtoolize
-       if [ -d /usr/local/gnu-autotools/bin ] ; then
-               PATH=/usr/local/gnu-autotools/bin:${PATH}
-               export PATH
-               FIX_BROKEN_FREEBSD_PORTS="-I /usr/local/share/aclocal"
-       fi
-       ;;
+    LIBTOOLIZE=libtoolize
+    ;;
 Linux)
-       LIBTOOLIZE=libtoolize
-       ;;
+    LIBTOOLIZE=libtoolize
+    ;;
+*)
+    warn "unrecognized platform:" `uname -s`
+    LIBTOOLIZE=libtoolize
 esac
 
 automake_version=$(automake --version | tr ' ' '\n' | egrep '^[0-9]\.[0-9a-z.-]+')
@@ -39,7 +37,7 @@ fi
 
 set -ex
 
-aclocal ${FIX_BROKEN_FREEBSD_PORTS}
+aclocal
 $LIBTOOLIZE --copy --force
 autoheader
 automake --add-missing --copy --foreign