Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Side by Side Diff: sim/erc32/configure.ac

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/erc32/configure ('k') | sim/erc32/interf.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl Process this file with autoconf to produce a configure script. 1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.64)dnl 2 AC_PREREQ(2.64)dnl
3 AC_INIT(Makefile.in) 3 AC_INIT(Makefile.in)
4 sinclude(../common/acinclude.m4) 4 sinclude(../common/acinclude.m4)
5 5
6 SIM_AC_COMMON 6 SIM_AC_COMMON
7 7
8 AC_CHECK_HEADERS(stdlib.h) 8 AC_CHECK_HEADERS(stdlib.h)
9 9
10 # In the Cygwin environment, we need some additional flags. 10 # In the Cygwin environment, we need some additional flags.
11 AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin, 11 AC_CACHE_CHECK([for cygwin], sim_cv_os_cygwin,
12 [AC_EGREP_CPP(lose, [ 12 [AC_EGREP_CPP(lose, [
13 #ifdef __CYGWIN__ 13 #ifdef __CYGWIN__
14 lose 14 lose
15 #endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])]) 15 #endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])])
16 16
17 if test x$sim_cv_os_cygwin = xyes; then 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' 18 TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap /libtermcap.a; else echo -ltermcap; fi` -luser32'
19 else 19 else
20 AC_CHECK_LIB(termcap, main, TERMCAP=-ltermcap, TERMCAP="") 20 # Keep in sync with gdb's configure.ac list.
21 AC_SEARCH_LIBS(tgetent, [termcap tinfo curses ncurses],
22 [TERMCAP=$ac_cv_search_tgetent], [TERMCAP=""])
21 fi 23 fi
22 AC_SUBST(TERMCAP) 24 AC_SUBST(TERMCAP)
23 25
24 # We prefer the in-tree readline. Top-level dependencies make sure 26 # We prefer the in-tree readline. Top-level dependencies make sure
25 # src/readline (if it's there) is configured before src/sim. 27 # src/readline (if it's there) is configured before src/sim.
26 if test -r ../../readline/Makefile; then 28 if test -r ../../readline/Makefile; then
27 READLINE=../../readline/libreadline.a 29 READLINE=../../readline/libreadline.a
28 else 30 else
29 AC_CHECK_LIB(readline, readline, READLINE=-lreadline, 31 AC_CHECK_LIB(readline, readline, READLINE=-lreadline,
30 AC_ERROR([the required "readline" library is missing]), $TERMCAP) 32 AC_ERROR([the required "readline" library is missing]), $TERMCAP)
31 fi 33 fi
32 AC_SUBST(READLINE) 34 AC_SUBST(READLINE)
33 SIM_AC_OUTPUT 35 SIM_AC_OUTPUT
OLDNEW
« no previous file with comments | « sim/erc32/configure ('k') | sim/erc32/interf.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698