2002-06-29 03:01:49 +00:00
|
|
|
#!/bin/sh
|
2007-08-17 21:53:57 +00:00
|
|
|
|
2019-01-18 13:49:30 +02:00
|
|
|
if command -v autoreconf; then
|
2016-12-15 17:02:30 +00:00
|
|
|
opt="-i -f -W all,error"
|
2013-01-18 18:00:51 -05:00
|
|
|
|
2019-01-18 13:49:30 +02:00
|
|
|
for i in "$@"; do
|
2013-01-18 18:00:51 -05:00
|
|
|
case "$i" in
|
|
|
|
-v)
|
2016-12-15 17:02:30 +00:00
|
|
|
opt="${opt} -v"
|
2013-01-18 18:00:51 -05:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
2019-01-18 13:49:30 +02:00
|
|
|
# shellcheck disable=SC2086
|
2013-01-18 18:00:51 -05:00
|
|
|
exec autoreconf $opt
|
2010-09-27 11:20:12 -04:00
|
|
|
fi
|
|
|
|
|
2007-08-17 21:53:57 +00:00
|
|
|
set -e
|
|
|
|
|
2002-06-29 03:01:49 +00:00
|
|
|
# Run this to generate all the initial makefiles, etc.
|
2013-02-07 16:23:48 -05:00
|
|
|
aclocal -I m4 && \
|
2007-08-17 21:55:24 +00:00
|
|
|
autoheader && \
|
|
|
|
autoconf && \
|
|
|
|
automake --add-missing --copy
|