From 4a766df8de5d279ca4ce68a3d16fa6cdf656a905 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 15 Apr 2019 22:50:10 +0200 Subject: [PATCH] - acinclude.m4: fix exec_prefix variable in cdk-mode too Signed-off-by: Thilo Graf --- acinclude.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index f64c6f0c8..8e1eff3e0 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -161,9 +161,6 @@ if test "$TARGET" = "native"; then if test "$prefix" = "NONE"; then prefix=/usr/local fi - if test "$exec_prefix" = "NONE"; then - exec_prefix=$prefix - fi targetprefix=$prefix TARGET_PREFIX=$prefix AC_DEFINE_UNQUOTED(TARGET_PREFIX, "$TARGET_PREFIX", [The targets prefix]) @@ -191,6 +188,10 @@ else AC_MSG_ERROR([invalid target $TARGET, choose on from native,cdk]); fi +if test "$exec_prefix" = "NONE"; then + exec_prefix=$prefix +fi + AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_SYS_LARGEFILE