diff options
author | Sanjoy Das <sanjoyd@sourceware.org> | 2011-11-20 08:59:56 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoyd@sourceware.org> | 2011-11-20 08:59:56 +0000 |
commit | a2d08b9eeb595583d02c5a59e5126d4654389408 (patch) | |
tree | fb4c102ca1771d7c74811f29d1b1cb6c87639fc8 /gdb/configure.ac | |
parent | b8e0a31cb506f56b97d9d7a1c6f2ec7013ec73c9 (diff) | |
download | gdb-a2d08b9eeb595583d02c5a59e5126d4654389408.zip gdb-a2d08b9eeb595583d02c5a59e5126d4654389408.tar.gz gdb-a2d08b9eeb595583d02c5a59e5126d4654389408.tar.bz2 |
gdb/
* Makefile.in: Add gdb-dlfcn.c and gdb-dlfcn.h to build system.
* config.in: Add new #define HAVE_LIBDL.
* configure.ac: Add check for -ldl.
* configure: Re-generated by autoconf.
* gdb-dlfcn.c: New file.
* gdb-dlfcn.h: New file.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 4ecb5c9..cbbf647 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -627,6 +627,8 @@ fi AC_SUBST(TARGET_PTR) AC_CONFIG_FILES([jit-reader.h:jit-reader.in]) +AC_SEARCH_LIBS(dlopen, dl) + GDB_AC_WITH_DIR([JIT_READER_DIR], [jit-reader-dir], [directory to load the JIT readers from], [${libdir}/gdb]) @@ -981,7 +983,8 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \ sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ sys/types.h sys/wait.h wait.h termios.h termio.h \ - sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h]) + sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \ + dlfcn.h]) AC_CHECK_HEADERS(link.h, [], [], [#if HAVE_SYS_TYPES_H # include <sys/types.h> |