chiark / gitweb /
plugins/tracklength-gstreamer.c: Rewrite to use `GstDiscoverer'.
[disorder] / autogen.sh
index a63049a..78588ff 100755 (executable)
@@ -1,4 +1,4 @@
-#! /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