]> gitweb @ CieloNegro.org - autobuild.git/commitdiff
Don't pass --prefix to DISTCHECK_CONFIGURE_FLAGS. It interferes with automake.
authorPHO <pho@cielonegro.org>
Wed, 25 Jul 2012 04:41:59 +0000 (13:41 +0900)
committerPHO <pho@cielonegro.org>
Wed, 25 Jul 2012 04:41:59 +0000 (13:41 +0900)
src/functions.bash
src/main.bash

index a9ac44fab090a51816c24cc5a6af4677fba6f09a..262c91061941b7ddef6dc1589ad6cd33319cc2cf 100644 (file)
@@ -10,7 +10,6 @@ function setPrefix () {
 declare -a configArgs
 function setConfigArgs () {
     configArgs=( \
-        --prefix="$prefix" \
         PATH="$PATH" \
         PKG_CONFIG_PATH="$PKG_CONFIG_PATH" \
         "$@" \
index f5659701c632389c9844480d97ed8d48d1ff4ba3..73dc7cb3aeee6a61c157b4ac136324194192971c 100644 (file)
@@ -15,7 +15,7 @@ function configure () {
     if [[ ! -f "_build/Makefile" ]]; then
         run mkdir -p _build
         run pushd _build
-        run ../configure "${configArgs[@]}"
+        run ../configure --prefix="$prefix" "${configArgs[@]}"
         run popd
     fi
 }