autogen.sh 393 B

12345678910111213141516
  1. #!/bin/sh
  2. bs_dir="$(dirname $(readlink -f $0))"
  3. rm -rf "${bs_dir}"/autom4te.cache
  4. rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh
  5. echo 'Running autoreconf -if...'
  6. aclocal --force -I m4
  7. libtoolize --install --copy --force
  8. autoconf --force
  9. autoheader --force
  10. automake --add-missing --copy --force-missing
  11. if test -z "$NOCONFIGURE" ; then
  12. echo 'Configuring...'
  13. "$bs_dir"/configure "$@"
  14. fi