|
|
@ -475,10 +475,15 @@ set( kde_socklen_t socklen_t )
|
|
|
|
|
|
|
|
|
|
|
|
##### check for libdl ###########################
|
|
|
|
##### check for libdl ###########################
|
|
|
|
|
|
|
|
|
|
|
|
find_library( HAVE_LIBDL dl )
|
|
|
|
set( DL_LIBRARIES dl )
|
|
|
|
if( NOT HAVE_LIBDL-NOTFOUND )
|
|
|
|
check_library_exists( ${DL_LIBRARIES} dlopen /lib HAVE_LIBDL )
|
|
|
|
set( DL_LIBRARIES dl )
|
|
|
|
if( NOT HAVE_LIBDL )
|
|
|
|
endif( NOT HAVE_LIBDL-NOTFOUND )
|
|
|
|
unset( DL_LIBRARIES )
|
|
|
|
|
|
|
|
check_function_exists( dlopen HAVE_DLOPEN )
|
|
|
|
|
|
|
|
if( HAVE_DLOPEN )
|
|
|
|
|
|
|
|
set( HAVE_LIBDL 1 )
|
|
|
|
|
|
|
|
endif( HAVE_DLOPEN )
|
|
|
|
|
|
|
|
endif( NOT HAVE_LIBDL )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### check for utempter ########################
|
|
|
|
##### check for utempter ########################
|
|
|
|