#!/bin/sh

# Cleanup
rm -rf autom4te.cache

# Generate
set -x
aclocal
libtoolize --automake --force --copy
autoconf
autoheader
automake --add-missing --force --copy --foreign

#!/bin/sh

# Cleanup
rm -rf autom4te.cache

# Generate
set -x
aclocal
# TODO: detect glibtoolize
if [ "$OSTYPE" == "darwin10.0" ]; then
    glibtoolize --automake --force --copy
else
    libtoolize --automake --force --copy
fi
autoconf
autoheader
automake --add-missing --force --copy --foreign

Add fix for OSX, which uses glibtoolize.
Add fix for OSX, which uses glibtoolize.

Signed-off-by: Brian Rectanus <9a4714552e6d314ad334eadbbc923fe079416f4e@qualys.com>
