From b8e0a31cb506f56b97d9d7a1c6f2ec7013ec73c9 Mon Sep 17 00:00:00 2001
From: Sanjoy Das <sanjoyd@sourceware.org>
Date: Sun, 20 Nov 2011 08:53:25 +0000
Subject: gdb/ 	* config.in: Add new #defines: JIT_READER_DIR and 
 JIT_READER_DIR_RELOCATABLE. 	* configure.ac: New GDB directory entry for
 jit-reader-dir. 	* configure: Re-generated by autoconf. 	* jit.c: New
 static variable: const char *jit_reader_dir. 	(_initialize_jit): Relocate
 jit_reader_dir.

---
 gdb/configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'gdb/configure.ac')

diff --git a/gdb/configure.ac b/gdb/configure.ac
index ac8707a..4ecb5c9 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -627,6 +627,10 @@ fi
 AC_SUBST(TARGET_PTR)
 AC_CONFIG_FILES([jit-reader.h:jit-reader.in])
 
+GDB_AC_WITH_DIR([JIT_READER_DIR], [jit-reader-dir],
+                [directory to load the JIT readers from],
+                [${libdir}/gdb])
+
 AC_ARG_WITH(expat,
   AS_HELP_STRING([--with-expat], [include expat support (auto/yes/no)]),
   [], [with_expat=auto])
-- 
cgit v1.1