1998-12-13 18:08:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2006-09-26 15:37:07 +02:00
|
|
|
set -e
|
|
|
|
|
|
2002-10-22 20:20:03 +00:00
|
|
|
touch ltconfig
|
2001-07-30 12:18:35 +00:00
|
|
|
libtoolize --force --copy --automake
|
1999-02-17 09:44:11 +00:00
|
|
|
aclocal $ACLOCAL_FLAGS
|
2000-06-05 14:34:21 +00:00
|
|
|
autoheader
|
2001-07-30 11:56:46 +00:00
|
|
|
automake --foreign --copy --add-missing
|
2002-10-24 12:09:30 +00:00
|
|
|
touch depcomp # seems to be missing for old automake
|
1998-12-13 18:08:12 +00:00
|
|
|
autoconf
|
2000-05-08 18:53:38 +00:00
|
|
|
export CFLAGS='-O2 -Wall -W -pipe -g'
|
1999-02-17 09:44:11 +00:00
|
|
|
echo "CFLAGS=$CFLAGS"
|
|
|
|
|
echo "./configure $@"
|
2001-11-26 18:21:00 +00:00
|
|
|
./configure $@ || exit 1
|
1998-12-13 18:08:12 +00:00
|
|
|
unset CFLAGS
|
2001-11-26 18:19:44 +00:00
|
|
|
if [ -z "$CVSCOMPILE_NO_MAKE" ]; then
|
|
|
|
|
make
|
|
|
|
|
fi
|