changeset 4988:12d853120b45 HEAD

Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
author Timo Sirainen <tss@iki.fi>
date Thu, 04 Jan 2007 02:53:33 +0200
parents 7179db893d3e
children 6acd005ad980
files autogen.sh
diffstat 1 files changed, 20 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/autogen.sh	Thu Jan 04 01:49:26 2007 +0200
+++ b/autogen.sh	Thu Jan 04 02:53:33 2007 +0200
@@ -1,5 +1,20 @@
-aclocal
-autoheader
-libtoolize --force
-automake --add-missing
-autoconf
+#!/bin/sh
+
+# If you've non-standard directories, set these
+ACLOCAL_DIR=
+GETTEXT_DIR=
+
+if test "$ACLOCAL_DIR" != ""; then
+  ACLOCAL="aclocal -I $ACLOCAL_DIR"
+  export ACLOCAL
+fi
+
+autoreconf -i -f
+
+for dir in $GETTEXT_DIR /usr/share/gettext; do
+  if test -f $dir/config.rpath; then
+    /bin/cp -f $dir/config.rpath .
+    break
+  fi
+done
+