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
#
# use existing automake files
#
echo >> /dev/null
# use existing automake files
echo >> /dev/null
else
#
# regenerate automake files
#
# regenerate automake files
echo "Running autotools..."
autoheader \
&& aclocal \
&& libtoolize --ltdl --copy --force \
&& case \
$(uname) in Darwin*) glibtoolize --ltdl --copy --force ;; \
*) libtoolize --ltdl --copy --force ;; esac \
&& automake --add-missing --copy \
&& autoconf \
&& ./configure