diff options
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure index 39af594c879..cd0acf79819 100755 --- a/gdb/configure +++ b/gdb/configure @@ -20034,6 +20034,18 @@ if test x$gdb_cv_os_cygwin = xyes; then esac fi +# The ser-tcp.c module requires sockets. +case ${host} in + *mingw32*) + +cat >>confdefs.h <<\_ACEOF +#define USE_WIN32API 1 +_ACEOF + + WIN32LIBS="$WIN32LIBS -lws2_32" + ;; +esac + LIBGUI="../libgui/src/libgui.a" GUI_CFLAGS_X="-I${srcdir}/../libgui/src" |