Skip to content

Commit

Permalink
Add MacOS X build support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Krew authored and arska committed Feb 5, 2016
1 parent 012dc5b commit 8af6b97
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8af6b97

Please sign in to comment.