1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / configure.in
index f120a3da5c0045630af5656efb5e034cb8271349..38363e0aeb07f9c013d9c52c24b13c7e386f204d 100644 (file)
@@ -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
This page took 0.023296 seconds and 4 git commands to generate.