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