diff options
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 429a5dc..8512fc9 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -37,6 +37,7 @@ AC_CANONICAL_SYSTEM dnl List of object files added by configure. CONFIG_OBS= +CONFIG_DEPS= configdirs="doc testsuite" @@ -340,17 +341,21 @@ if test "${enable_gdbtk}" = "yes"; then esac if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then TIXLIB="-L${tixdir} -ltix${TIXVERSION}" + TIX_DEPS="${tixdir}/libtix${TIXVERSION}.a" else TIXLIB="-L${tixdir} -ltix`echo ${TIXVERSION} | tr -d .`" + TIX_DEPS="${tixdir}/libtix`echo ${TIXVERSION} | tr -d .`.a" fi ENABLE_GDBTK=1 # Include some libraries that Tcl and Tk want. if test "${enable_ide}" = "yes"; then - TCL_LIBS='$(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)' + TCL_LIBS='$(LIBIDE) $(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)' + CONFIG_DEPS='$(LIBIDE) $(IDE_DEPS) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)' else - TCL_LIBS='$(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)' + TCL_LIBS='$(LIBIDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)' + CONFIG_DEPS='$(LIBIDE) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)' fi # Yes, the ordering seems wrong here. But it isn't. # TK_LIBS is the list of libraries that need to be linked @@ -359,7 +364,7 @@ if test "${enable_gdbtk}" = "yes"; then CONFIG_OBS="${CONFIG_OBS} gdbtk.o" if test x$gdb_cv_os_cygwin32 = xyes; then - WIN32LIBS="${WIN32LIBS} -luser32" + WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32" WIN32LDAPP="-Wl,--subsystem,windows" fi fi @@ -371,11 +376,13 @@ AC_SUBST(X_CFLAGS) AC_SUBST(X_LDFLAGS) AC_SUBST(X_LIBS) AC_SUBST(TIXLIB) +AC_SUBST(TIX_DEPS) # end-sanitize-gdbtk AC_SUBST(ENABLE_CFLAGS) AC_SUBST(CONFIG_OBS) +AC_SUBST(CONFIG_DEPS) # Begin stuff to support --enable-shared AC_ARG_ENABLE(shared, |