autogen.sh 338 B

123456789101112131415
  1. #!/bin/sh
  2. #
  3. # autogen.sh
  4. libtoolize -c -f 2>/dev/null || glibtoolize -c -f
  5. aclocal
  6. autoheader -f
  7. autoconf
  8. if grep -q PKG_CHECK_MODULES configure; then
  9. # The generated configure is invalid because pkg-config is unavailable.
  10. rm configure
  11. echo "Error, missing pkg-config. Check the build requirements."
  12. exit 1
  13. fi
  14. automake -a -c -f