From 5ed7087cb8e6bfed7c357dc7101bc89f89fdd47b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 15 Dec 2017 23:20:55 +0100 Subject: [PATCH] acinclude: fix TARGET_PREFIX define for native target Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b0c4a28ba13853a9e3e6ea21c86f63eb63b06015 Author: vanhofen Date: 2017-12-15 (Fri, 15 Dec 2017) Origin message was: ------------------ - acinclude: fix TARGET_PREFIX define for native target ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- acinclude.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 2a733d1f5..a9acd82a0 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -50,11 +50,12 @@ if test "$TARGET" = "native"; then if test "$prefix" = "NONE"; then prefix=/usr/local fi - TARGET_PREFIX=$prefix 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]) elif test "$TARGET" = "cdk"; then AC_MSG_RESULT(cdk)