[libbluray-devel] configure issues
hpi
hpi.libbluray at gmail.com
Tue Feb 22 13:24:41 CET 2011
2011/2/19 Dominic Fandrey <kamikaze at bsdforen.de>:
> Hello, there's a small typo in configure.ac that renders
> --with-dlopen-crypto-libs useless.
>
> Here's the fix:
[...]
Thanks!
> There is no -ldl on FreeBSD. It's obsolete, because dlopen is part
> of -lc (libc). I'm not really comfortable enough with autotools
> to resolve this nicely, but I suppose hooking onto the mingw32
> exception will do:
>
> --- configure.ac.orig 2011-02-19 18:20:05.000000000 +0100
> +++ configure.ac 2011-02-19 18:42:11.000000000 +0100
> @@ -120,7 +120,7 @@
>
> # dlopen check
> if [[ $use_dlopen_crypto_libs = "auto" ]]; then
> - if test "${SYS}" != "mingw32" ; then
> + if test "${SYS}" != "mingw32" -a "${SYS}" == "${SYS#freebsd}" ; then
> AC_CHECK_LIB([dl], [dlopen],
> [DLOPEN_LDFLAGS="-ldl"; AC_MSG_NOTICE($using_dlopen_crypto_libs)
> AC_DEFINE([DLOPEN_CRYPTO_LIBS], [1], ["Define to 1 if dlopening crypto libs"])],
>
>
> Note that --width-dlopen... does not work on mingw32 or freebsd,
> because the check is performed there, too and no exception is made
> in that case.
Maybe the attached patch would solve those issues too ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlopen-check.diff
Type: text/x-diff
Size: 1696 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20110222/dc8272f2/attachment.diff>
More information about the libbluray-devel
mailing list