You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
807 B

  1. #! /bin/sh
  2. if glibtoolize --version > /dev/null 2>&1; then
  3. LIBTOOLIZE='glibtoolize'
  4. else
  5. LIBTOOLIZE='libtoolize'
  6. fi
  7. if [ ! -x "`which $LIBTOOLIZE 2>/dev/null`" ] ; then
  8. echo "libtool is required, but wasn't found on this system"
  9. exit 1
  10. fi
  11. if [ ! -x "`which autoconf 2>/dev/null`" ] ; then
  12. echo "autoconf is required, but wasn't found on this system"
  13. exit 1
  14. fi
  15. if [ ! -x "`which automake 2>/dev/null`" ] ; then
  16. echo "automake is required, but wasn't found on this system"
  17. exit 1
  18. fi
  19. if [ ! -x "`which pkg-config 2>/dev/null`" ] ; then
  20. echo "pkg-config is required, but wasn't found on this system"
  21. exit 1
  22. fi
  23. if [ -x "`which autoreconf 2>/dev/null`" ] ; then
  24. exec autoreconf -ivf
  25. fi
  26. $LIBTOOLIZE && \
  27. aclocal && \
  28. automake --add-missing --force-missing --include-deps && \
  29. autoconf