Index: ports/sdl2-tests/build.sh |
diff --git a/ports/sdl2-tests/build.sh b/ports/sdl2-tests/build.sh |
index 8f9acd1709b465b955a06006afaf2f34da0e61c0..931dca06eb243bacfb87c819d3aa872f1ed56609 100644 |
--- a/ports/sdl2-tests/build.sh |
+++ b/ports/sdl2-tests/build.sh |
@@ -58,28 +58,20 @@ torturethread${NACL_EXEEXT} |
" |
ConfigureStep() { |
+ Banner "Autogen ${PACKAGE_NAME}" |
pushd ${SRC_DIR}/test |
- ./autogen.sh |
+ LogExecute ./autogen.sh |
popd |
- Banner "Configuring ${PACKAGE_NAME}" |
+ Banner "Configure ${PACKAGE_NAME}" |
SetupCrossEnvironment |
- local conf_host=${NACL_CROSS_PREFIX} |
- if [ ${NACL_ARCH} = "pnacl" ]; then |
- # The PNaCl tools use "pnacl-" as the prefix, but config.sub |
- # does not know about "pnacl". It only knows about "le32-nacl". |
- # Unfortunately, most of the config.subs here are so old that |
- # it doesn't know about that "le32" either. So we just say "nacl". |
- conf_host="nacl" |
- fi |
- |
CFLAGS="${CPPFLAGS} ${CFLAGS}" |
- LIBS="${LDFLAGS}" LogExecute ${SRC_DIR}/test/configure \ |
- --host=${conf_host} \ |
- --prefix=${PREFIX} \ |
- --disable-assembly \ |
- --disable-pthread-sem |
+ LIBS="${LDFLAGS}" |
+ LogExecute ${SRC_DIR}/test/configure \ |
+ --host=${CONF_HOST} \ |
+ --build=${CONF_BUILD} \ |
+ --prefix=${PREFIX} |
} |
InstallStep() { |