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...
9 if ! autoconf
--version 2>&1 |
grep GNU
>/dev
/null
2>&1; then
10 echo "Cannot find GNU autoconf! Exiting..."
13 if ! automake
--version 2>&1 |
grep GNU
>/dev
/null
2>&1; then
14 echo "Cannot find GNU automake! Exiting..."
18 if ! libtool
--version 2>&1 |
grep GNU
>/dev
/null
2>&1; then
19 # on Mac OS X the GNU version is called glibtool...
20 if ! glibtool
--version 2>&1 |
grep GNU
>/dev
/null
2>&1; then
21 echo "Cannot find GNU libtool! Exiting..."
27 # fix for OSX producing debug directories; replace rm -f with rm -rf in built-in scripts
28 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