aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index dc0e161..128758f 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -431,6 +431,19 @@ 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],
+[if test -d "${withval}"
+then
+ LIBS="${LIBS} -L${withval}/lib -lgpu2 -L${x_libraries} -lX11"
+else
+ AC_MSG_ERROR("Directory ${withval} does not exist.");
+fi])dnl
+# end-sanitize-sky
+
AC_SUBST(ENABLE_CFLAGS)
AC_SUBST(CONFIG_OBS)