aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-05-11 13:35:55 +0000
committerStan Shebs <shebs@codesourcery.com>1999-05-11 13:35:55 +0000
commitcd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891 (patch)
tree422678986a58e51b2a7fe3d64c38b97d4996abe1 /gdb/configure.in
parente9868447b4b62dd04b5350113b136856ddbaa232 (diff)
downloadgdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.zip
gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.gz
gdb-cd0fc7c3ebe90ce6390e06cef0ae9a54fe9c9891.tar.bz2
import gdb-1999-05-10
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 216f6d6..82cd0d0 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -75,7 +75,7 @@ AC_HEADER_STAT
AC_C_CONST
-AC_CHECK_FUNCS(setpgid sbrk sigaction isascii bzero bcopy btowc)
+AC_CHECK_FUNCS(setpgid sbrk sigaction isascii bzero bcopy btowc poll)
AC_FUNC_ALLOCA
BFD_NEED_DECLARATION(malloc)
@@ -447,7 +447,12 @@ fi
fi
AC_SUBST(TERM_LIB)
-
+# libreadline needs libuser32.a in a cygwin environment
+WIN32LIBS=
+if test x$gdb_cv_os_cygwin = xyes; then
+ WIN32LIBS="-luser32"
+fi
+AC_SUBST(WIN32LIBS)
AC_PATH_X