2009-04-16 08:22:51 +02:00
|
|
|
#!/bin/sh
|
2010-07-15 14:19:01 +02:00
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
# Additional options go to configure.
|
2009-04-16 08:22:51 +02:00
|
|
|
|
2010-07-15 14:19:01 +02:00
|
|
|
echo "Rebuilding ./configure with autoreconf..."
|
2017-07-10 15:14:43 +02:00
|
|
|
for dir in include m4; do
|
|
|
|
if [ ! -d "$dir" ]; then
|
|
|
|
mkdir "$dir"
|
|
|
|
fi
|
|
|
|
done
|
2017-07-31 11:48:37 +02:00
|
|
|
autoreconf -f -i
|
2010-07-15 14:19:01 +02:00
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
echo "autoreconf failed"
|
|
|
|
exit $?
|
|
|
|
fi
|
2017-07-31 11:48:37 +02:00
|
|
|
|
|
|
|
./configure --enable-maintainer-mode "$@"
|