-#! /bin/sh
+#!/bin/sh
set -x
-if [ ! -e config ]; then
+if [ ! -d "config" ]; then
mkdir config
fi
-aclocal -I m4
-libtoolize --force --copy
-autoheader
-automake --add-missing --copy
-autoconf
+# Disable 'obsolete' warnings for AM_PATH_GLIB_2_0
+autoreconf -vif -W no-obsolete