[Mesa-dev] [PATCH] configure: check for dladdr via AC_CHECK_FUNC/AC_CHECK_LIB

Ilia Mirkin imirkin at alum.mit.edu
Fri Aug 8 10:58:07 PDT 2014


The problem is that AC_CHECK_FUNCS would stick the LDFLAGS before the
conftest.c arg while AC_CHECK_LIB sticks the -ldl after conftest.c.
This apparently matters with newer gcc's. There's probably some
correct autoconf way of dealing with it, but... this works :)

On Fri, Aug 8, 2014 at 1:55 PM, Matt Turner <mattst88 at gmail.com> wrote:
> No idea why this was a problem, but the new code matches the existing
> dlopen check.
>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list