Add MacOS X build support

This commit is contained in:
Sam Krew
2016-02-05 18:51:02 +01:00
committed by Aarno Aukia
parent 012dc5ba36
commit 8af6b97647

View File

@ -2,19 +2,17 @@
# #
if [ -f Makefile ]; then if [ -f Makefile ]; then
# # use existing automake files
# use existing automake files echo >> /dev/null
#
echo >> /dev/null
else else
# # regenerate automake files
# regenerate automake files
#
echo "Running autotools..." echo "Running autotools..."
autoheader \ autoheader \
&& aclocal \ && aclocal \
&& libtoolize --ltdl --copy --force \ && case \
$(uname) in Darwin*) glibtoolize --ltdl --copy --force ;; \
*) libtoolize --ltdl --copy --force ;; esac \
&& automake --add-missing --copy \ && automake --add-missing --copy \
&& autoconf \ && autoconf \
&& ./configure && ./configure