autogen.sh 362 B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -e
  3. cd $(dirname $0)
  4. rm -f config/config.guess config/config.sub config/ltmain.sh 2>/dev/null
  5. rm -f aclocal.m4 2>/dev/null
  6. aclocal -I libopts/m4/
  7. if test -x "$(which glibtoolize)" ; then
  8. # Necessary under OS X
  9. glibtoolize --copy --automake --force
  10. else
  11. libtoolize --copy --force
  12. fi
  13. autoheader
  14. automake --add-missing --copy
  15. autoconf