Subject: bug#11180: libtool should not check for <dlfcn.h> without LT_INIT([dlopen])

From: Zack Weinberg <[email-masked]>
Date: Wed, 4 Apr 2012 17:44:45 -0700

It appears that the only reason libtool checks for <dlfcn.h> at
configure time is to support libltdl, therefore it should only do that
if I ask it to, with LT_INIT([dlopen]) or similar.  This is literally
the *only* invocation of AC_CONFIG_HEADERS in my configure script, but
it drags in all the AC_INCLUDES_DEFAULT checks.

zw