* sparc-tdep.c (sparc_extract_struct_value_address): Make it
[deliverable/binutils-gdb.git] / gdb / configure.in
index c2d01ab8b0a1c7d6a5dc439bb3c742f7b2a981c5..a2c3508b7cbb7e5dad4abf368716e67eafe155f1 100644 (file)
@@ -338,6 +338,9 @@ WIN32LDAPP=
 AC_SUBST(WIN32LIBS)
 AC_SUBST(WIN32LDAPP)
 
+WINDRES=${WINDRES-windres}
+AC_SUBST(WINDRES)
+
 if test x$gdb_cv_os_cygwin32 = xyes; then
     if test x$enable_ide = xyes; then
        WIN32LIBS="-ladvapi32"
@@ -399,8 +402,8 @@ if test "${enable_gdbtk}" = "yes"; then
 
           # Include some libraries that Tcl and Tk want.
           if test "${enable_ide}" = "yes"; then        
-             TCL_LIBS='$(LIBIDE) $(LIBGUI) $(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
-             CONFIG_DEPS='$(LIBIDE) $(LIBGUI) $(IDE_DEPS) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
+             TCL_LIBS='$(LIBIDETCL) $(LIBIDE) $(LIBGUI) $(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
+             CONFIG_DEPS='$(LIBIDETCL) $(LIBIDE) $(LIBGUI) $(IDE_DEPS) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
           else
              TCL_LIBS='$(LIBGUI) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
              CONFIG_DEPS='$(LIBGUI) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
@@ -414,6 +417,7 @@ if test "${enable_gdbtk}" = "yes"; then
           if test x$gdb_cv_os_cygwin32 = xyes; then
              WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
              WIN32LDAPP="-Wl,--subsystem,windows"
+             CONFIG_OBS="${CONFIG_OBS} gdbres.o"
           fi
        fi
     fi
@@ -427,6 +431,23 @@ AC_SUBST(TIXLIB)
 AC_SUBST(TIX_DEPS)
 # end-sanitize-gdbtk
 
+AC_PATH_X
+# start-sanitize-sky
+# Enable GPU2 library for MIPS simulator
+AC_ARG_WITH(sim-gpu2,
+[  --with-sim-gpu2=path                        Use GPU2 library under given directory],
+[case "${target}" in
+  mips*-sky-*)
+    if test -d "${withval}"
+    then
+      LIBS="${LIBS} -L${withval}/lib -lgpu2 -L${x_libraries} -lX11"
+    else
+      AC_MSG_WARN([Directory ${withval} does not exist.])
+    fi ;;
+  *)  AC_MSG_WARN([--with-sim-gpu2 option invalid for target ${target}])
+esac])dnl
+# end-sanitize-sky
+
 AC_SUBST(ENABLE_CFLAGS)
 
 AC_SUBST(CONFIG_OBS)
This page took 0.025251 seconds and 4 git commands to generate.