Ticket #3576: gdb-8.0.1-sis-cygwin.diff
-
sim/erc32/Changelog:
2018-10-30 Joel Sherrill <joel@rtems.org>
* configure.ac: Remove the Cygwin-specific libtermcap.a hack
and use the standard logic to determine which library to use.
* configure: Regenerate.
diff -ur gdb-8.0.1-orig/sim/erc32/configure.ac gdb-8.0.1/sim/erc32/configure.ac
old
|
new
|
|
27 | 27 | lose |
28 | 28 | #endif],[sim_cv_os_cygwin=yes],[sim_cv_os_cygwin=no])]) |
29 | 29 | |
| 30 | # Keep in sync with gdb's configure.ac list. |
| 31 | AC_SEARCH_LIBS(tgetent, [termcap tinfo curses ncurses], |
| 32 | [TERMCAP=$ac_cv_search_tgetent], [TERMCAP=""]) |
30 | 33 | if test x$sim_cv_os_cygwin = xyes; then |
31 | | TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32' |
32 | | else |
33 | | # Keep in sync with gdb's configure.ac list. |
34 | | AC_SEARCH_LIBS(tgetent, [termcap tinfo curses ncurses], |
35 | | [TERMCAP=$ac_cv_search_tgetent], [TERMCAP=""]) |
| 34 | TERMCAP="${TERMCAP} -luser32" |
36 | 35 | fi |
37 | 36 | AC_SUBST(TERMCAP) |
38 | 37 | |
-
diff -ur gdb-8.0.1-orig/sim/erc32/configure gdb-8.0.1/sim/erc32/configure
old
|
new
|
|
13500 | 13500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5 |
13501 | 13501 | $as_echo "$sim_cv_os_cygwin" >&6; } |
13502 | 13502 | |
13503 | | if test x$sim_cv_os_cygwin = xyes; then |
13504 | | TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap/libtermcap.a; else echo -ltermcap; fi` -luser32' |
13505 | | else |
13506 | | # Keep in sync with gdb's configure.ac list. |
13507 | | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5 |
| 13503 | |
| 13504 | # Keep in sync with gdb's configure.ac list. |
| 13505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5 |
13508 | 13506 | $as_echo_n "checking for library containing tgetent... " >&6; } |
13509 | 13507 | if test "${ac_cv_search_tgetent+set}" = set; then : |
13510 | 13508 | $as_echo_n "(cached) " >&6 |
… |
… |
|
13562 | 13560 | TERMCAP="" |
13563 | 13561 | fi |
13564 | 13562 | |
| 13563 | if test x$sim_cv_os_cygwin = xyes; then |
| 13564 | TERMCAP="${TERMCAP} -luser32" |
13565 | 13565 | fi |
13566 | 13566 | |
13567 | 13567 | |
Download in other formats: