cmake HAVE_DLFCN_H examples

Kitware/VTK ThirdParty/expat/vtkexpat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

Kitware/VTK ThirdParty/libxml2/vtklibxml2/CMakeLists.txt :180

check_include_files(dlfcn.h HAVE_DLFCN_H)

mongodb/mongo-bi-connector-odbc-driver configure.cmake :398

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

ucla-vision/xivo thirdparty/glog/CMakeLists.txt :94

check_include_file_cxx (dlfcn.h HAVE_DLFCN_H)

MapServer/MapServer CMakeLists.txt :136

check_include_file(dlfcn.h HAVE_DLFCN_H)

HumbleNet/HumbleNet 3rdparty/libwebsockets/CMakeLists.txt :226

CHECK_INCLUDE_FILE(dlfcn.h HAVE_DLFCN_H)

FujiNetWIFI/fujinet-firmware components/expat/expat/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

FujiNetWIFI/fujinet-firmware components/libsmb2/cmake/ConfigureChecks.cmake :3

check_include_file("dlfcn.h" HAVE_DLFCN_H)

FujiNetWIFI/fujinet-firmware components_pc/libsmb2/cmake/ConfigureChecks.cmake :3

check_include_file("dlfcn.h" HAVE_DLFCN_H)

securesystemslab/multicompiler cmake/config-ix.cmake :46

check_include_file(dlfcn.h HAVE_DLFCN_H)

microsoft/DirectXShaderCompiler cmake/config-ix.cmake :46

check_include_file(dlfcn.h HAVE_DLFCN_H)

alibaba/AliSQL configure.cmake :342

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

fluent/fluent-bit lib/c-ares-1.34.4/CMakeLists.txt :236

CHECK_INCLUDE_FILES (dlfcn.h               HAVE_DLFCN_H)

fluent/fluent-bit lib/onigmo/CMakeLists.txt :135

check_include_file(dlfcn.h HAVE_DLFCN_H)

chatopera/clause thirdparty/glog/CMakeLists.txt :63

check_include_file (dlfcn.h HAVE_DLFCN_H)

Geocld/PeaSyo third-party/json-c/CMakeLists.txt :132

check_include_file("dlfcn.h"        HAVE_DLFCN_H)

arkdb/arkproxy configure.cmake :178

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

DrTimothyAldenDavis/GraphBLAS CMakeLists.txt :403

check_include_file ( dlfcn.h HAVE_DLFCN_H )

DrTimothyAldenDavis/GraphBLAS CMakeLists.txt :407

target_compile_definitions ( GraphBLAS PRIVATE HAVE_DLFCN_H )

DrTimothyAldenDavis/GraphBLAS CMakeLists.txt :410

target_compile_definitions ( GraphBLAS_static PRIVATE HAVE_DLFCN_H )

DrTimothyAldenDavis/GraphBLAS cpu_features/CMakeLists.txt :152

check_include_file(dlfcn.h HAVE_DLFCN_H)

DrTimothyAldenDavis/GraphBLAS cpu_features/CMakeLists.txt :154

target_compile_definitions(unix_based_hardware_detection PRIVATE HAVE_DLFCN_H)

DrTimothyAldenDavis/GraphBLAS GraphBLAS/CMakeLists.txt :301

check_include_file ( dlfcn.h HAVE_DLFCN_H )

DrTimothyAldenDavis/GraphBLAS GraphBLAS/CMakeLists.txt :303

target_compile_definitions ( graphblas_matlab PRIVATE HAVE_DLFCN_H )

joedrago/colorist ext/libwebp/cmake/deps.cmake :112

check_include_files(dlfcn.h HAVE_DLFCN_H)

joedrago/colorist ext/openjpeg/thirdparty/libtiff/CMakeLists.txt :93

CHECK_INCLUDE_FILES("dlfcn.h" HAVE_DLFCN_H)

NGSolve/ngsolve CMakeLists.txt :89

check_include_files (dlfcn.h HAVE_DLFCN_H)

NGSolve/ngsolve CMakeLists.txt :93

list(APPEND NGSOLVE_COMPILE_DEFINITIONS HAVE_DLFCN_H)

apache/xerces-c cmake/XercesIncludes.cmake :25

check_include_file_cxx(dlfcn.h                     HAVE_DLFCN_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/Expat/src/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt :200

CHECK_INCLUDE_FILES(dlfcn.h     HAVE_DLFCN_H)

danigm/poppler ConfigureChecks.cmake :14

check_include_files(dlfcn.h HAVE_DLFCN_H)

SsageParuders/Android_Native_Surface my_android_opencv/3rdparty/libtiff/CMakeLists.txt :18

check_include_file(dlfcn.h     HAVE_DLFCN_H)

flomesh-io/pipy deps/libexpat-R_2_2_6/expat/ConfigureChecks.cmake :8

check_include_file("dlfcn.h" HAVE_DLFCN_H)

p4lang/open-p4studio cmake/ConfigureChecks.cmake :9

check_include_file(dlfcn.h HAVE_DLFCN_H)

p4lang/open-p4studio pkgsrc/target-syslibs/cmake/ConfigureChecks.cmake :9

check_include_file(dlfcn.h HAVE_DLFCN_H)

p4lang/open-p4studio pkgsrc/target-utils/cmake/ConfigureChecks.cmake :9

check_include_file(dlfcn.h HAVE_DLFCN_H)

percona/percona-server configure.cmake :193

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

percona/percona-server plugin/percona-pam-for-mysql/CMakeLists.txt :26

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

percona/percona-server plugin/percona-pam-for-mysql/CMakeLists.txt :48

ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R AND HAVE_DLFCN_H)

logicalclocks/rondb configure.cmake :194

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

alibaba/AliSQLBackup configure.cmake :258

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

DIPlib/diplib dependencies/libtiff/CMakeLists.txt :151

check_include_file(dlfcn.h     HAVE_DLFCN_H)

GoSSIP-SJTU/TripleDoggy cmake/config-ix.cmake :26

check_include_file(dlfcn.h HAVE_DLFCN_H)

LiangliangNan/MVStudio 3rd_party/nlopt/CMakeLists.txt :100

check_include_file (dlfcn.h HAVE_DLFCN_H)

in-formant/in-formant external/libsamplerate/CMakeLists.txt :100

check_include_file(dlfcn.h HAVE_DLFCN_H)

csmith-project/creduce CMakeLists.txt :91

check_include_file("dlfcn.h"		HAVE_DLFCN_H)

MoeMod/CSMoE 3rdparty/fontconfig-cmake/ConfigureChecks.cmake :32

check_include_file( "dlfcn.h" HAVE_DLFCN_H )

MoeMod/CSMoE 3rdparty/mpg123-cmake/src/CMakeLists.txt :12

check_include_file("dlfcn.h" HAVE_DLFCN_H)

gridlab-d/gridlab-d cmake/CheckDependencies.cmake :30

CHECK_INCLUDE_FILES(dlfcn.h HAVE_DLFCN_H)

polardb/polardbx-engine configure.cmake :192

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

fukuchi/libqrencode CMakeLists.txt :35

check_include_file(dlfcn.h    HAVE_DLFCN_H   )

feelpp/feelpp feelpp/contrib/glog/CMakeLists.txt :66

check_include_file (dlfcn.h HAVE_DLFCN_H)

percona/percona-xtrabackup configure.cmake :193

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

Ravbug/UnityHubNative wxWidgets/src/expat/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

GreatSQL/GreatSQL configure.cmake :192

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

GreatSQL/GreatSQL plugin/percona-pam-for-mysql/CMakeLists.txt :26

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

GreatSQL/GreatSQL plugin/percona-pam-for-mysql/CMakeLists.txt :48

ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R AND HAVE_DLFCN_H)

qtfreet00/llvm-obfuscator cmake/config-ix.cmake :47

check_include_file(dlfcn.h HAVE_DLFCN_H)

JulNadeauCA/libagar CMakeChecks.cmake :1052

CHECK_INCLUDE_FILE(dlfcn.h HAVE_DLFCN_H)

JulNadeauCA/libagar CMakeChecks.cmake :1061

check_c_source_compiles("
#include <string.h>
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif

int
main(int argc, char *argv[])
{
	void *handle;
	char *error;
	handle = dlopen(\"foo.so\", 0);
	error = dlerror();
	(void)dlsym(handle, \"foo\");
	return (error != NULL);
}
" HAVE_DLOPEN)

JulNadeauCA/libagar CMakeChecks.cmake :1084

check_c_source_compiles("
#include <string.h>
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif

int
main(int argc, char *argv[])
{
	void *handle;
	char *error;
	handle = dlopen(\"foo.so\", 0);
	error = dlerror();
	(void)dlsym(handle, \"foo\");
	return (error != NULL);
}
" HAVE_DLOPEN_IN_LIBDL)

google/glog CMakeLists.txt :128

check_include_file_cxx (dlfcn.h HAVE_DLFCN_H)

gnss-sdr/gnss-sdr src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cpu_features/CMakeLists.txt :152

check_include_file(dlfcn.h HAVE_DLFCN_H)

gnss-sdr/gnss-sdr src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cpu_features/CMakeLists.txt :154

target_compile_definitions(unix_based_hardware_detection PRIVATE HAVE_DLFCN_H)

gnss-sdr/gnss-sdr src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/CMakeLists.txt :28

check_include_file(dlfcn.h HAVE_DLFCN_H)

gnss-sdr/gnss-sdr src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/lib/CMakeLists.txt :30

add_definitions(-DHAVE_DLFCN_H)

Froser/gamemachine src/3rdparty/libtiff/CMakeLists.txt :213

check_include_file(dlfcn.h     HAVE_DLFCN_H)

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :514

CHECK_INCLUDE_FILE(dlfcn.h HAVE_DLFCN_H)

utsaslab/pebblesdb CMakeLists.txt :49

check_include_file("dlfcn.h" HAVE_DLFCN_H)

ShadowsocksR-Live/shadowsocksr-native cmake/configure.cmake :38

check_include_files ( dlfcn.h HAVE_DLFCN_H )

spotify/pedalboard vendors/fftw3/CMakeLists.txt :38

check_include_file (dlfcn.h          HAVE_DLFCN_H)

fligger/FateInjector wxWidgets-3.2.0/src/expat/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

fligger/FateInjector wxWidgets-3.2.0/src/tiff/CMakeLists.txt :211

check_include_file(dlfcn.h     HAVE_DLFCN_H)

llvm-dcpu16/llvm-dcpu16 cmake/config-ix.cmake :43

check_include_file(dlfcn.h HAVE_DLFCN_H)

GoSSIP-SJTU/Armariris cmake/config-ix.cmake :47

check_include_file(dlfcn.h HAVE_DLFCN_H)

boundary/wireshark ConfigureChecks.cmake :32

check_include_file("dlfcn.h"             HAVE_DLFCN_H)

gazebosim/gazebo-classic deps/opende/CMakeLists.txt :116

CHECK_INCLUDE_FILES(dlfcn.h HAVE_DLFCN_H)

axmolengine/axmol 3rdparty/openal/CMakeLists.txt :546

check_include_file(dlfcn.h HAVE_DLFCN_H)

axmolengine/axmol 3rdparty/openal/CMakeLists.txt :734

elseif(HAVE_DLFCN_H)

ucb-bar/esp-llvm cmake/config-ix.cmake :47

check_include_file(dlfcn.h HAVE_DLFCN_H)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/libsndfile/cmake/SndFileChecks.cmake :89

check_include_file (dlfcn.h			HAVE_DLFCN_H)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/mpg123/ports/cmake/src/CMakeLists.txt :16

check_include_file("dlfcn.h" HAVE_DLFCN_H)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/doom3/neo/externlibs/openal-soft/CMakeLists.txt :523

check_include_file(dlfcn.h HAVE_DLFCN_H)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/doom3/neo/externlibs/openal-soft/CMakeLists.txt :710

elseif(HAVE_DLFCN_H)

Jackarain/proxy third_party/wolfssl/CMakeLists.txt :93

check_include_file("dlfcn.h" HAVE_DLFCN_H)

keystone-engine/keystone llvm/cmake/config-ix.cmake :46

check_include_file(dlfcn.h HAVE_DLFCN_H)

CrealityOfficial/CrealityPrint deps/EXPAT/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

joachimBurket/esp32-opencv 3rdparty/libtiff/CMakeLists.txt :18

check_include_file(dlfcn.h     HAVE_DLFCN_H)

sahlberg/libnfs cmake/ConfigureChecks.cmake :5

check_include_file("dlfcn.h" HAVE_DLFCN_H)

Cisco-Talos/clamav CMakeLists.txt :651

check_include_file("dlfcn.h"        HAVE_DLFCN_H)

Geant4/geant4 source/externals/expat/CMakeLists.txt :20

check_include_file("dlfcn.h" HAVE_DLFCN_H)

SCIInstitute/SCIRun src/Externals/libxml2/CMakeLists.txt :123

CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H)

infiniflow/infinity third_party/ijma/src/libmecab/ConfigureChecks.cmake :13

CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)

bambulab/BambuStudio deps/EXPAT/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

SoftFever/OrcaSlicer deps/EXPAT/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

aidanmcb1/Citra externals/faad2/CMakeLists.txt :40

check_include_files(dlfcn.h HAVE_DLFCN_H)

aidanmcb1/Citra externals/faad2/CMakeLists.txt :60

target_compile_definitions(faad2 PRIVATE
    -DFAAD_VERSION=${FAAD_VERSION}
    -DPACKAGE_VERSION=\"${FAAD_VERSION}\"
    -DSTDC_HEADERS
    -DHAVE_GETPWUID=${HAVE_GETPWUID}
    -DHAVE_LRINTF=${HAVE_LRINTF}
    -DHAVE_MEMCPY=${HAVE_MEMCPY}
    -DHAVE_STRCHR=${HAVE_STRCHR}
    -DHAVE_STRSEP=${HAVE_STRSEP}
    -DHAVE_DLFCN_H=${HAVE_DLFCN_H}
    -DHAVE_ERRNO_H=${HAVE_ERRNO_H}
    -DHAVE_FLOAT_H=${HAVE_FLOAT_H}
    -DHAVE_INTTYPES_H=${HAVE_INTTYPES_H}
    -DHAVE_IOKIT_IOKITLIB_H=${HAVE_IOKIT_IOKITLIB_H}
    -DHAVE_LIMITS_H=${HAVE_LIMITS_H}
    -DHAVE_MATHF_H=${HAVE_MATHF_H}
    -DHAVE_STDINT_H=${HAVE_STDINT_H}
    -DHAVE_STDIO_H=${HAVE_STDIO_H}
    -DHAVE_STDLIB_H=${HAVE_STDLIB_H}
    -DHAVE_STRINGS_H=${HAVE_STRINGS_H}
    -DHAVE_STRING_H=${HAVE_STRING_H}
    -DHAVE_SYSFS_LIBSYSFS_H=${HAVE_SYSFS_LIBSYSFS_H}
    -DHAVE_SYS_STAT_H=${HAVE_SYS_STAT_H}
    -DHAVE_SYS_TIME_H=${HAVE_SYS_TIME_H}
    -DHAVE_SYS_TYPES_H=${HAVE_SYS_TYPES_H}
    -DHAVE_UNISTD_H=${HAVE_UNISTD_H}
    # Only compile for AAC-LC decoding.
    -DLC_ONLY_DECODER -DDISABLE_SBR
)

jlblancoc/suitesparse-metis-for-windows SuiteSparse/GraphBLAS/cpu_features/CMakeLists.txt :111

check_include_file(dlfcn.h HAVE_DLFCN_H)

jlblancoc/suitesparse-metis-for-windows SuiteSparse/GraphBLAS/cpu_features/CMakeLists.txt :113

target_compile_definitions(unix_based_hardware_detection PRIVATE HAVE_DLFCN_H)