summaryrefslogtreecommitdiff
path: root/sim/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/configure')
-rwxr-xr-xsim/configure8
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure
index dac7f085be1..5283ef9c0dc 100755
--- a/sim/configure
+++ b/sim/configure
@@ -903,6 +903,7 @@ PKG_CONFIG
RANLIB
AR
LDFLAGS_FOR_BUILD
+CPPFLAGS_FOR_BUILD
CFLAGS_FOR_BUILD
RANLIB_FOR_BUILD
CC_FOR_BUILD
@@ -4999,12 +5000,14 @@ if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
+ : "${CPPFLAGS_FOR_BUILD:=\$(CPPFLAGS)}"
: "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
else
: "${AR_FOR_BUILD:=ar}"
: "${CC_FOR_BUILD:=gcc}"
: "${RANLIB_FOR_BUILD:=ranlib}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
+ : "${CPPFLAGS_FOR_BUILD:=}"
: "${LDLFAGS_FOR_BUILD:=}"
fi
@@ -5014,6 +5017,7 @@ fi
+
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -12771,7 +12775,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12774 "configure"
+#line 12778 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12877,7 +12881,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12880 "configure"
+#line 12884 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H