autogen.sh 266 B

123456789101112131415161718
  1. #!/bin/sh
  2. for i in autoconf; do
  3. echo "$i"
  4. $i
  5. if [ $? -ne 0 ]; then
  6. echo "Error $? in $i"
  7. exit 1
  8. fi
  9. done
  10. echo "./configure --enable-autogen $@"
  11. ./configure --enable-autogen $@
  12. if [ $? -ne 0 ]; then
  13. echo "Error $? in ./configure"
  14. exit 1
  15. fi