2 # This is a script to create all the configuration files when
3 # you compile from the CVS source. You should NOT use it to
4 # compile the distribution.
6 # Step 1 - check if the necessary tools appear to be there.
7 # Ideally we should check versions too, which we don't...
8 if ! autoconf --version | grep GNU >/dev/null 2>&1; then
9 echo "Cannot find GNU autoconf! Exiting..."
12 if ! automake --version | grep GNU >/dev/null 2>&1; then
13 echo "Cannot find GNU automake! Exiting..."
16 if ! libtool --version | grep GNU >/dev/null 2>&1; then
17 echo "Cannot find GNU libtool! Exiting..."
22 # fix for OSX producing debug directories; replace rm -f with rm -rf in built-in scripts
23 cat aclocal.m4 | sed -e 's/rm="rm -f"/rm="rm -rf"/' | sed -e 's/rm -f /rm -rf /' > aclocal.tmp && mv aclocal.tmp aclocal.m4