Test Autotools builds without sudo.
@@ -7,10 +7,10 @@ if [[ "$BUILD_TOOL" == "scons" ]]; then
elif [[ "$BUILD_TOOL" == "autotools" ]]; then
cd build/autotools
autoreconf --install || exit 1
- ./configure || exit 1
- sudo make -j 3 install
+ ./configure --prefix=$HOME/.local || exit 1
+ make -j 3 install
cd ../..
- export LIBTCOD_DLL_PATH=/usr/local/lib
+ export LIBTCOD_DLL_PATH=~/.local/lib
else
echo "BUILD_TOOL not defined correctly, is currently: $BUILD_TOOL"
exit 1
