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
#
# use existing automake files
#
echo >> /dev/null
else
#
# 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