From f292335e61db16b692d7435da5dd4f038782a0d4 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 15 Apr 2019 22:50:10 +0200 Subject: [PATCH] acinclude.m4: fix exec_prefix variable in cdk-mode too Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/77276e61e7de7d430bae8e8a9bca17e2448e84f8 Author: vanhofen Date: 2019-04-15 (Mon, 15 Apr 2019) Origin message was: ------------------ - acinclude.m4: fix exec_prefix variable in cdk-mode too ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- acinclude.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 9ebdfd241..76545ce1f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -151,9 +151,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]) @@ -181,6 +178,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