diff options
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 363438a..216f6d6 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -83,6 +83,7 @@ BFD_NEED_DECLARATION(realloc) BFD_NEED_DECLARATION(free) BFD_NEED_DECLARATION(strerror) BFD_NEED_DECLARATION(strdup) +BFD_NEED_DECLARATION(strstr) # The following save_state_t checkery is only necessary for HPUX @@ -424,6 +425,9 @@ AC_SUBST(DLLTOOL) AC_SUBST(WINDRES) dnl Figure out which term library to use. +if test x$gdb_host = xgo32; then + TERM_LIB= +else if test x$gdb_cv_os_cygwin = xyes; then TERM_LIB='`if test -r ../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a; else echo -ltermcap; fi`' else @@ -440,6 +444,7 @@ else AC_MSG_ERROR(Could not find a term library, e.g. termcap or termlib!) fi fi +fi AC_SUBST(TERM_LIB) |