Merge pull request #36 from abergmeier/emscripten_fix

Fixes for building with Emscripten
This commit is contained in:
Anthony Green
2013-07-02 12:12:34 -07:00
2 changed files with 60 additions and 39 deletions
+8 -1
View File
@@ -33,7 +33,6 @@ AC_SUBST(CFLAGS)
AM_PROG_AS
AM_PROG_CC_C_O
AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
# Test for 64-bit build.
@@ -539,6 +538,14 @@ AC_ARG_ENABLE(purify-safety,
if test "$enable_purify_safety" = "yes"; then
AC_DEFINE(USING_PURIFY, 1, [Define this if you are using Purify and want to suppress spurious messages.])
fi)
AC_ARG_ENABLE(libtool,
[ --disable-libtool do not use libtool to handle libraries])
AM_CONDITIONAL(USE_LIBTOOL, !test "x$enable_libtool" = "xno")
if test "x$enable_libtool" = "xyes"; then
AC_PROG_LIBTOOL
fi
# These variables are only ever used when we cross-build to X86_WIN32.
# And we only support this with GCC, so...