sim: bfin: handle AN (negative overflows) in dsp mult insns
[deliverable/binutils-gdb.git] / sim / erc32 / configure.ac
index f1aeadac36defd888d2f25c49d97e7c1b0798041..7637a771b03c0372544378dc54c5831f274d2538 100644 (file)
@@ -25,4 +25,13 @@ else
 fi
 AC_SUBST(TERMCAP)
 
+# We prefer the in-tree readline.  Top-level dependencies make sure
+# src/readline (if it's there) is configured before src/sim.
+if test -r ../../readline/Makefile; then
+  READLINE=../../readline/libreadline.a
+else
+  AC_CHECK_LIB(readline, readline, READLINE=-lreadline,
+              AC_ERROR([the required "readline" library is missing]), $TERMCAP)
+fi
+AC_SUBST(READLINE)
 SIM_AC_OUTPUT
This page took 0.022987 seconds and 4 git commands to generate.