Apply Paul Brook's patch to implement armv6k instructions
[deliverable/binutils-gdb.git] / sim / erc32 / configure.in
CommitLineData
c906108c
SS
1dnl Process this file with autoconf to produce a configure script.
2sinclude(../common/aclocal.m4)
3AC_PREREQ(2.5)dnl
4AC_INIT(Makefile.in)
5
6SIM_AC_COMMON
7
8AC_CHECK_HEADERS(stdlib.h)
9
7a292a7a
SS
10# In the Cygwin environment, we need some additional flags.
11AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin,
12[AC_EGREP_CPP(lose, [
13#ifdef __CYGWIN__
14lose
15#endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])])
16
17if test x$sim_cv_os_cygwin = xyes; then
18 TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32'
19else
20 AC_CHECK_LIB(termcap, main, TERMCAP=-ltermcap, TERMCAP="")
21fi
c906108c
SS
22AC_SUBST(TERMCAP)
23
24SIM_AC_OUTPUT
This page took 0.254054 seconds and 4 git commands to generate.