-#! /bin/bash
+#! /bin/sh
#
# This file is part of DisOrder.
# Copyright (C) 2004-2008 Richard Kettlewell
#
set -e
-srcdir=$(dirname $0)
-here=$(pwd)
-cd $srcdir
-if test -d $HOME/share/aclocal; then
- aclocal --acdir=$HOME/share/aclocal
-else
- aclocal
-fi
-libtoolize
-autoconf
-autoheader
-automake -a || true # for INSTALL
-automake --foreign -a
-
+cd $(dirname $0)
+mkdir -p m4
+autoreconf -si