Mercurial > dovecot > core-2.2
diff autogen.sh @ 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 | d3342c78ed44 |
children | 786556485e91 |
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 +