mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
* configure.ac (DLLIBS): Work properly on platforms where dlopen and
friends are in libc instead of libdl.
This commit is contained in:
parent
ef0ade2d78
commit
0a20226c6d
@ -1,3 +1,8 @@
|
|||||||
|
2003-10-27 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* configure.ac (DLLIBS): Work properly on platforms where dlopen
|
||||||
|
and friends are in libc instead of libdl.
|
||||||
|
|
||||||
2003-10-21 Werner Koch <wk@gnupg.org>
|
2003-10-21 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* configure.ac (PRINTABLE_OS_NAME): Remove special case for The
|
* configure.ac (PRINTABLE_OS_NAME): Remove special case for The
|
||||||
|
13
configure.ac
13
configure.ac
@ -518,18 +518,21 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$try_dynload" = yes ; then
|
if test "$try_dynload" = yes ; then
|
||||||
AC_CHECK_FUNC(dlopen,,AC_CHECK_LIB(dl,dlopen,found_dlopen=yes))
|
_dl_save_libs=$LIBS
|
||||||
|
LIBS=""
|
||||||
|
AC_SEARCH_LIBS(dlopen,dl,found_dlopen=yes)
|
||||||
if test x"$found_dlopen" = "xyes" ; then
|
if test x"$found_dlopen" = "xyes" ; then
|
||||||
AC_DEFINE(USE_DYNAMIC_LINKING,1,[define to enable the use of extensions])
|
AC_DEFINE(USE_DYNAMIC_LINKING,1,[define to enable the use of extensions])
|
||||||
AC_DEFINE(HAVE_DL_DLOPEN,1,
|
AC_DEFINE(HAVE_DL_DLOPEN,1,
|
||||||
[Defined when the dlopen function family is available])
|
[Defined when the dlopen function family is available])
|
||||||
AC_SUBST(DLLIBS,"-ldl")
|
DLLIBS=$LIBS
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([dlopen not found. Disabling extensions.])
|
||||||
fi
|
fi
|
||||||
else
|
LIBS=$_dl_save_libs
|
||||||
AC_MSG_CHECKING(for dynamic loading)
|
|
||||||
AC_MSG_RESULT(has been disabled)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(DLLIBS)
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user