URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
[/] [or1k_old/] [trunk/] [insight/] [sim/] [erc32/] [configure.in] - Rev 1782
Compare with Previous | Blame | View Log
dnl Process this file with autoconf to produce a configure script.sinclude(../common/aclocal.m4)AC_PREREQ(2.5)dnlAC_INIT(Makefile.in)SIM_AC_COMMONAC_CHECK_HEADERS(stdlib.h)# In the Cygwin environment, we need some additional flags.AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin,[AC_EGREP_CPP(lose, [#ifdef __CYGWIN__lose#endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])])if test x$sim_cv_os_cygwin = xyes; thenTERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32'elseAC_CHECK_LIB(termcap, main, TERMCAP=-ltermcap, TERMCAP="")fiAC_SUBST(TERMCAP)SIM_AC_OUTPUT
