blob: e9eb405aed644bab3faab03fc85bc2ebb67bcf84 (
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
|
#!/bin/sh
set -e
if [ "$1" = "clean" ]; then
rm -f aclocal.m4 configure config.* `find . -name Makefile.in` libtool
rm -rf autom4te.cache m4 aux
exit
fi
if automake-1.11 --version &> /dev/null; then
automake_suffix='-1.11'
else
automake_suffix=''
fi
mkdir -p m4 aux
gtkdocize --docdir docs --flavour no-tmpl
aclocal${automake_suffix} ${ACLOCAL_FLAGS}
automake${automake_suffix} --add-missing --foreign
autoconf
CFLAGS=${CFLAGS=-ggdb -Werror}
LDFLAGS=${LDFLAGS=-Wl,-O1}
export CFLAGS LDFLAGS
if test -z "$NOCONFIGURE"; then
./configure "$@"
fi
|