diff --git a/autogen.sh b/autogen.sh
index 4c02b8af463ab88e6035d09fd582d2daf12dc9b4..baee6c3e6971398a329e2f0af4a039d506e1e970 100755 (executable)
--- a/autogen.sh
+++ b/autogen.sh
-#! /bin/sh
+#!/bin/sh -e
-# Generate config.h.in
-echo "touch stamp-h"
-touch stamp-h
+rm -rf config.cache build
+mkdir build
+
+# create po/Makefile.in.in
+glib-gettextize --force --copy
# add aclocal.m4 to current dir
echo "aclocal..."
# add aclocal.m4 to current dir
echo "aclocal..."
-aclocal -I $PWD/m4
-
-# rerun libtoolize
-echo "libtoolize..."
-libtoolize --force
+aclocal -I m4
# This generates the configure script from configure.in
echo "autoconf..."
# This generates the configure script from configure.in
echo "autoconf..."