[PR python/18291] Fix printing of "disabled" status of xmethod matchers.
[deliverable/binutils-gdb.git] / sim / erc32 / configure.ac
CommitLineData
c906108c 1dnl Process this file with autoconf to produce a configure script.
6ffe910a 2AC_PREREQ(2.64)dnl
c906108c 3AC_INIT(Makefile.in)
9c082ca8 4sinclude(../common/acinclude.m4)
c906108c 5
6ffe910a 6SIM_AC_COMMON
35695fd6 7
7a292a7a
SS
8# In the Cygwin environment, we need some additional flags.
9AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin,
10[AC_EGREP_CPP(lose, [
11#ifdef __CYGWIN__
12lose
13#endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])])
14
15if test x$sim_cv_os_cygwin = xyes; then
16 TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32'
17else
b909d38d
MF
18 # Keep in sync with gdb's configure.ac list.
19 AC_SEARCH_LIBS(tgetent, [termcap tinfo curses ncurses],
20 [TERMCAP=$ac_cv_search_tgetent], [TERMCAP=""])
7a292a7a 21fi
c906108c
SS
22AC_SUBST(TERMCAP)
23
70a9be63
HPN
24# We prefer the in-tree readline. Top-level dependencies make sure
25# src/readline (if it's there) is configured before src/sim.
26if test -r ../../readline/Makefile; then
27 READLINE=../../readline/libreadline.a
28else
29 AC_CHECK_LIB(readline, readline, READLINE=-lreadline,
30 AC_ERROR([the required "readline" library is missing]), $TERMCAP)
31fi
32AC_SUBST(READLINE)
9c5f41df 33SIM_AC_OPTION_HOSTENDIAN
c906108c 34SIM_AC_OUTPUT
This page took 0.629628 seconds and 4 git commands to generate.