Lines Matching +full:separately +full:- +full:defined
4 Subject: [PATCH] tentatively change --cppflags to omit -I prefix on
5 cross-compilation
7 The autoconf macros defined from jitter --cppflags get automatically changed, of
12 * bin/jitter-config.in.m4sh (main loop) <--cppflags>: Introduce conditional on
20 patch jitter-config.in instead of jitter-config.in.m4sh since
23 for @-substitutions.]
25 Signed-off-by: Romain Naour <romain.naour@gmail.com>
26 ---
27 jitter/bin/jitter-config.in | 10 +++++++---
29 2 files changed, 8 insertions(+), 3 deletions(-)
31 diff --git a/jitter/bin/jitter-config.in b/jitter/bin/jitter-config.in
33 --- a/jitter/bin/jitter-config.in
34 +++ b/jitter/bin/jitter-config.in
35 @@ -999,10 +999,14 @@ while test "$#" != "0"; do
36 --cppflags)
39 - # Append a -I argument. This is defined separately from the rest,
40 - # as the installation prefix can be decided very late, at Jitter
41 + # Unless cross-compiling, append a -I argument referring the
42 + # installation path. This is defined separately from the rest, as
45 - output="$output -I $includedir";;
46 + # (When cross-compiling this would be difficult to do correctly.)
48 + output="$output -I $includedir"
50 --ldadd)
53 diff --git a/jitter/configure.ac b/jitter/configure.ac
55 --- a/jitter/configure.ac
57 @@ -308,6 +308,7 @@ else
58 AC_MSG_RESULT([yes, cross-compiling from $build to $host .])
65 --