From 42ba776e3b62893de1fb324f10878072932507fe Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Sun, 7 Jun 2015 13:24:06 -0500 Subject: [PATCH] Test script to build several configurations --- testbuilds.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 testbuilds.sh diff --git a/testbuilds.sh b/testbuilds.sh new file mode 100755 index 0000000..6c94331 --- /dev/null +++ b/testbuilds.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +# Test various build configurations. Both SDL 1 and 2 must be +# installed. + +# Exit at the first error +set -e + +# SDL 1 + TTF +autoreconf -i +./configure +make clean +make -j4 + +# SDL 1, no TTF +autoreconf -i +./configure --disable-ttf +make clean +make -j4 + +# SDL 2 + TTF +autoreconf -i +./configure --enable-sdl2 +make clean +make -j4 + +# SDL 2, no TTF is not supported (yet?) + +echo +echo Success +echo