Merge pull request #92 from arska/feature-macosxbuild
Add Macos X build support (thanks @samkrew)
This commit is contained in:
commit
cf4d11b0fc
14
build.sh
14
build.sh
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user