blob: ce3d8e744461a3873babbc91dbac77502b995c7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
set -e
gtkdocize
if test -n "$AUTOMAKE"; then
: # don't override an explicit user request
elif automake-1.8 --version &>/dev/null && \
aclocal-1.8 --version &>/dev/null; then
# If we have automake-1.8, use it. This helps to ensure that our build
# system doesn't accidentally grow automake-1.9 dependencies.
AUTOMAKE=automake-1.8
export AUTOMAKE
ACLOCAL=aclocal-1.8
export ACLOCAL
fi
autoreconf -i -f
run_configure=true
for arg in $*; do
case $arg in
--no-configure)
run_configure=false
;;
*)
;;
esac
done
if test $run_configure = true; then
./configure "$@"
fi
|