autogen.sh 424 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. set -e
  3. if [ -d /usr/local/share/aclocal ]; then
  4. ACLOCAL_DIR=/usr/local/share/aclocal
  5. elif [ -d /opt/local/share/aclocal ]; then
  6. ACLOCAL_DIR=/opt/local/share/aclocal
  7. elif [ -d /usr/share/aclocal ]; then
  8. ACLOCAL_DIR=/usr/share/aclocal
  9. fi
  10. if [ `uname -s` = Darwin ]; then
  11. glibtoolize --automake --copy
  12. else
  13. libtoolize --automake --copy
  14. fi
  15. autoheader
  16. aclocal -I m4
  17. automake --add-missing --copy
  18. autoconf