1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#! /bin/sh case $OSTYPE in darwin*) LIBTOOLIZE=glibtoolize ;; *) LIBTOOLIZE=libtoolize ;; esac aclocal -I . && \ autoheader && \ $LIBTOOLIZE --automake --copy && \ automake --add-missing --copy && \ autoconf && \ echo "Ready to run ./configure"