2011-03-10 19:43:59 -08:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Create configure and makefile stuff...
|
|
|
|
#
|
|
|
|
|
2013-09-15 00:13:30 -07:00
|
|
|
# Git hooks should come before autoreconf.
|
|
|
|
if test -d .git; then
|
2013-09-20 10:34:29 -07:00
|
|
|
if ! test -d .git/hooks; then
|
2013-09-15 00:13:30 -07:00
|
|
|
mkdir .git/hooks
|
|
|
|
fi
|
|
|
|
ln -s -f ../../pre-commit.sh .git/hooks/pre-commit
|
|
|
|
fi
|
|
|
|
|
|
|
|
# If this is a source checkout then call autoreconf with error as well
|
2012-10-26 02:06:06 -04:00
|
|
|
if test -d .git; then
|
|
|
|
WARNINGS="all,error"
|
|
|
|
else
|
|
|
|
WARNINGS="all"
|
|
|
|
fi
|
|
|
|
|
|
|
|
autoreconf --install --force --verbose
|
2013-03-13 10:06:08 -07:00
|
|
|
|