autogen.sh 404 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. echo "Generating build information using autoconf"
  3. echo "This may take a while ..."
  4. srcdir=`dirname $0`
  5. test -z "$srcdir" && srcdir=.
  6. cd "$srcdir"
  7. # Regenerate configuration files
  8. cat acinclude/* >aclocal.m4
  9. if test "$AUTOCONF"x = x; then
  10. AUTOCONF=autoconf
  11. fi
  12. $AUTOCONF || exit 1
  13. rm aclocal.m4
  14. rm -rf autom4te.cache
  15. (cd test; sh autogen.sh)
  16. echo "Now you are ready to run ./configure"