autogen.sh 358 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. if [ -x "`which autoreconf 2>/dev/null`" ] ; then
  3. opt="-i -f -W all,error"
  4. for i in $@; do
  5. case "$i" in
  6. -v)
  7. opt="${opt} -v"
  8. ;;
  9. esac
  10. done
  11. exec autoreconf $opt
  12. fi
  13. set -e
  14. # Run this to generate all the initial makefiles, etc.
  15. aclocal -I m4 && \
  16. autoheader && \
  17. autoconf && \
  18. automake --add-missing --copy