From d9a8bb01e475802409124439e35705bd59034532 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Wed, 27 Jan 1999 08:52:57 +0000 Subject: [PATCH] applied patch from Andrej Borsenkow to also check Wed Jan 27 01:57:19 1999 Tim Janik * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej Borsenkow to also check for dlsym() in system libraries and -ldl, to catch systems that provide dlopen() in libc and dlsym() in libdl. this is at least the case for Reliant UNIX 5.44 (labeling itself as SINIX). --- ChangeLog | 8 ++++++++ ChangeLog.pre-2-0 | 8 ++++++++ ChangeLog.pre-2-10 | 8 ++++++++ ChangeLog.pre-2-12 | 8 ++++++++ ChangeLog.pre-2-2 | 8 ++++++++ ChangeLog.pre-2-4 | 8 ++++++++ ChangeLog.pre-2-6 | 8 ++++++++ ChangeLog.pre-2-8 | 8 ++++++++ configure.in | 14 +++++++++----- 9 files changed, 73 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 14472f2..026a53b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 14472f2..026a53b 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 14472f2..026a53b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 14472f2..026a53b 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 14472f2..026a53b 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 14472f2..026a53b 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 14472f2..026a53b 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 14472f2..026a53b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,11 @@ +Wed Jan 27 01:57:19 1999 Tim Janik + + * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej + Borsenkow to also check for dlsym() in system + libraries and -ldl, to catch systems that provide dlopen() in libc + and dlsym() in libdl. this is at least the case for Reliant UNIX + 5.44 (labeling itself as SINIX). + Tue Jan 26 13:39:22 PST 1999 Manish Singh * configure.in: don't use backquotes in warning text diff --git a/configure.in b/configure.in index ce96ad0..3669aa8 100644 --- a/configure.in +++ b/configure.in @@ -443,17 +443,21 @@ G_MODULE_LDFLAGS= G_MODULE_IMPL= G_MODULE_NEED_USCORE=0 G_MODULE_HAVE_DLERROR=0 -dnl *** dlopen() in system libraries +dnl *** dlopen() and dlsym() in system libraries if test -z "$G_MODULE_IMPL"; then AC_CHECK_FUNC(dlopen, - G_MODULE_IMPL=G_MODULE_IMPL_DL + AC_CHECK_FUNC(dlsym, + G_MODULE_IMPL=G_MODULE_IMPL_DL + ,) ,) fi -dnl *** dlopen() in libdl +dnl *** dlopen() and dlsym() in libdl if test -z "$G_MODULE_IMPL"; then AC_CHECK_LIB(dl, dlopen, - G_MODULE_LIBS=-ldl - G_MODULE_IMPL=G_MODULE_IMPL_DL + AC_CHECK_LIB(dl, dlsym, + G_MODULE_LIBS=-ldl + G_MODULE_IMPL=G_MODULE_IMPL_DL + ,) ,) fi dnl *** shl_load() in libdld (HP-UX) -- 2.7.4