2010-10-16 20:56:55 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
# a silly hack that generates autoregen.sh but it's handy
|
|
|
|
echo "#!/bin/sh" > autoregen.sh
|
|
|
|
echo "./autogen.sh $@ \$@" >> autoregen.sh
|
|
|
|
chmod +x autoregen.sh
|
|
|
|
|
2011-06-21 13:05:37 +00:00
|
|
|
mkdir -p m4
|
|
|
|
|
2010-10-16 20:56:55 +00:00
|
|
|
test -n "$srcdir" || srcdir=$(dirname "$0")
|
2010-12-16 09:42:34 +00:00
|
|
|
test -n "$srcdir" || srcdir=.
|
2010-10-16 20:56:55 +00:00
|
|
|
(
|
|
|
|
cd "$srcdir" &&
|
2011-06-21 13:05:37 +00:00
|
|
|
AUTOPOINT='intltoolize --automake -c -f' autoreconf -fivm
|
2010-10-16 20:56:55 +00:00
|
|
|
) || exit
|
|
|
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
|
|
|
|