aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>1999-01-18 17:54:36 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>1999-01-18 17:54:36 +0000
commit040bbbc24b40477e4f5c46426b0688c4f705d089 (patch)
tree3ec814a5a179bf7f38fb48c3dfb5003a60a4e762 /gdb/configure.in
parenta396d2bd0d9e011456b016ef09ff370e2da2c323 (diff)
downloadgdb-040bbbc24b40477e4f5c46426b0688c4f705d089.zip
gdb-040bbbc24b40477e4f5c46426b0688c4f705d089.tar.gz
gdb-040bbbc24b40477e4f5c46426b0688c4f705d089.tar.bz2
* configure.in: Ensure that -luser32 is always linked in for cygwin build.
* configure: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index f120a3d..38363e0 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -610,8 +610,9 @@ AC_SUBST(DLLTOOL)
AC_SUBST(WINDRES)
if test x$gdb_cv_os_cygwin = xyes; then
+ WIN32LIBS="-luser32"
if test x$enable_ide = xyes; then
- WIN32LIBS="-ladvapi32"
+ WIN32LIBS="$WIN32LIBS -ladvapi32"
fi
fi
@@ -687,7 +688,7 @@ if test "${enable_gdbtk}" = "yes"; then
CONFIG_OBS="${CONFIG_OBS} gdbtk.o gdbtk-cmds.o gdbtk-hooks.o"
if test x$gdb_cv_os_cygwin = xyes; then
- WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
+ WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
WIN32LDAPP="-Wl,--subsystem,console"
CONFIG_OBS="${CONFIG_OBS} gdbres.o"
fi