aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32/configure')
-rwxr-xr-xsim/erc32/configure8
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/erc32/configure b/sim/erc32/configure
index 3f7227b..548b11c 100755
--- a/sim/erc32/configure
+++ b/sim/erc32/configure
@@ -642,6 +642,7 @@ sim_endian
sim_bitsize
sim_alignment
cgen_breaks
+READLINE_CFLAGS
READLINE
TERMCAP
REPORT_BUGS_TEXI
@@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11230 "configure"
+#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11336 "configure"
+#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12071,6 +12072,7 @@ fi
# src/readline (if it's there) is configured before src/sim.
if test -r ../../readline/Makefile; then
READLINE=../../readline/readline/libreadline.a
+ READLINE_CFLAGS='-I$(READLINE_SRC)/..'
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
$as_echo_n "checking for readline in -lreadline... " >&6; }
@@ -12114,9 +12116,11 @@ else
as_fn_error $? "the required \"readline\" library is missing" "$LINENO" 5
fi
+ READLINE_CFLAGS=
fi
+
cgen_breaks=""
if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then
cgen_breaks="break cgen_rtx_error";