Removed refs to charmm files in share/top/Makefile.am
[gromacs/qmmm-gamess-us.git] / bootstrap
blob411d3c0ebd2305aebd735142fe8829368bb8588d
1 #!/bin/sh
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..."
11 exit 0
13 if ! automake --version 2>&1 | grep GNU >/dev/null 2>&1; then
14 echo "Cannot find GNU automake! Exiting..."
15 exit 0
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..."
22 exit 0
26 aclocal
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
29 autoheader
30 automake
31 autoconf