annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4988
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
1 #!/bin/sh
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
2
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
3 # If you've non-standard directories, set these
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
4 ACLOCAL_DIR=
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
5 GETTEXT_DIR=
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
6
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
7 if test "$ACLOCAL_DIR" != ""; then
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
8 ACLOCAL="aclocal -I $ACLOCAL_DIR"
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
9 export ACLOCAL
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
10 fi
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
11
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
12 autoreconf -i -f
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
13
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
14 for dir in $GETTEXT_DIR /usr/share/gettext; do
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
15 if test -f $dir/config.rpath; then
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
16 /bin/cp -f $dir/config.rpath .
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
17 break
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
18 fi
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
19 done
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
20