autogen.sh 276 B

12345678910111213
  1. #!/bin/sh
  2. autoreconf -v --install || exit 1
  3. # If there are any options, assume the user wants to run configure.
  4. # To run configure w/o any options, use ./autogen.sh --configure
  5. if [ $# -gt 0 ] ; then
  6. case "$1" in
  7. --conf*)
  8. shift 1
  9. ;;
  10. esac
  11. exec ./configure "$@"
  12. fi