Merge pull request #92 from arska/feature-macosxbuild

Add Macos X build support (thanks @samkrew)
This commit is contained in:
Stefan Wahren 2016-02-06 00:54:25 +01:00
commit cf4d11b0fc

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