4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-20 21:39:21 +08:00
newlib-cygwin/winsup/autogen.sh
Jon Turney 58ca21cf78
Cygwin: Add testsuite directory to autogen.sh
Also remove unneeded aclocal.m4 for an old aclocal version.
2020-11-08 14:40:26 +00:00

18 lines
587 B
Bash
Executable File

#!/bin/sh -e
if ! /usr/bin/test -e config.guess; then
/usr/bin/wget -q -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
/bin/chmod a+x config.guess
fi
if ! /usr/bin/test -e config.sub; then
/usr/bin/wget -q -O config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
/bin/chmod a+x config.sub
fi
/usr/bin/aclocal --force
/usr/bin/autoconf -f
/bin/rm -rf autom4te.cache
res=0
for d in cygwin utils cygserver testsuite; do
(cd $d && exec ./autogen.sh) || res=1
done
exit $res