OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [sim/] [erc32/] [configure.in] - Blame information for rev 106

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
dnl Process this file with autoconf to produce a configure script.
2
sinclude(../common/aclocal.m4)
3
AC_PREREQ(2.5)dnl
4
AC_INIT(Makefile.in)
5
 
6
SIM_AC_COMMON
7
 
8
AC_CHECK_HEADERS(stdlib.h)
9
 
10
# In the Cygwin environment, we need some additional flags.
11
AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin,
12
[AC_EGREP_CPP(lose, [
13
#ifdef __CYGWIN__
14
lose
15
#endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])])
16
 
17
if 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'
19
else
20
  AC_CHECK_LIB(termcap, main, TERMCAP=-ltermcap, TERMCAP="")
21
fi
22
AC_SUBST(TERMCAP)
23
 
24
SIM_AC_OUTPUT

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.