autogen.sh 356 B

1234567891011121314
  1. #!/bin/sh
  2. # Run this to generate all the initial makefiles, etc.
  3. set -e
  4. if [ ! -f configure.ac -o ! -f COPYING ]; then
  5. echo "Doesn't look like you're in the source directory" >&2
  6. exit 1
  7. fi
  8. # old autoreconf/aclocal versions fail hard if m4 doesn't exist
  9. mkdir -p m4
  10. autoreconf --force --install
  11. echo "Now type './configure ...' and 'make' to compile."