autogen.sh 284 B

1234567891011
  1. #!/bin/sh
  2. bs_dir="$(dirname $(readlink -f $0))"
  3. #Some versions of libtoolize don't like there being no ltmain.sh file already
  4. touch "${bs_dir}"/ltmain.sh
  5. autoreconf -fi "${bs_dir}"
  6. if test -n "$1" && test -z "$NOCONFIGURE" ; then
  7. echo 'Configuring...'
  8. "$bs_dir"/configure "$@"
  9. fi