diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2012-03-20 19:24:32 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2012-03-20 19:24:32 +0000 |
commit | 17d5dae239c8e8cca84afffd3672981379536491 (patch) | |
tree | 85066d21a90e83a70d4903caa8424f01984001f9 /bfd/configure.in | |
parent | bdb892b99584bfd481ed23c90ad7ceafb31ca791 (diff) | |
download | gdb-17d5dae239c8e8cca84afffd3672981379536491.zip gdb-17d5dae239c8e8cca84afffd3672981379536491.tar.gz gdb-17d5dae239c8e8cca84afffd3672981379536491.tar.bz2 |
PR ld/12742
* configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h.
* plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined.
Add windows.h header include if HAVE_WINDOWS_H is defined.
(dlerror): New static function if windows variant is used instead
of dlfcn.h.
(dlclose): Likewise.
(dlopen): Likewise.
(dlsym): Likewise.
* configure: Regenerated.
* config.in: Regenerated.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index c40c825..f443915 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -190,6 +190,9 @@ AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h sys/stat.h) GCC_HEADER_STDINT(bfd_stdint.h) AC_HEADER_TIME AC_HEADER_DIRENT + +AC_CHECK_HEADERS(windows.h dlfcn.h) + ACX_HEADER_STRING AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno) AC_CHECK_FUNCS(strtoull) |