autogen.sh 498 B

12345678910111213141516171819
  1. #!/bin/sh
  2. #
  3. echo "Generating build information using autoconf"
  4. echo "This may take a while ..."
  5. # Regenerate configuration files
  6. cat acinclude/* >aclocal.m4
  7. found=false
  8. for autoconf in autoconf autoconf259 autoconf-2.59
  9. do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
  10. done
  11. if test x$found = xfalse; then
  12. echo "Couldn't find autoconf, aborting"
  13. exit 1
  14. fi
  15. (cd test; sh autogen.sh)
  16. # Run configure for this platform
  17. echo "Now you are ready to run ./configure"