Template code to use lt_dladvise()
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Dec 2009 14:48:30 +0000 (15:48 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 9 Dec 2009 14:48:30 +0000 (15:48 +0100)
commit33e111cab3c205d2d8063a237d9e3ef2c794afaf
treef9df52f45ae65cfd278265a5af47aa12256f78a6
parent2c8760ddfe7fe56bfe0d06847b837ae6b2b8cc23
Template code to use lt_dladvise()

The libtool people have discovered that it's useful to allow
*additional* features from linking.  Like allowing libraries to
link to libraries.  Using this magic API allows FreeRADIUS to load
the Perl module, which in turn loads other modules, which in turn
load dynamic libraries.  Right now, it complains because of
limitations in libltdl.

We COULD do these checks in 2.1.8, but that involves either adding
configure checks, OR upgrading our version of libltdl.  We don't want
to do either.
src/main/modules.c