Warning, /frameworks/kio/src/kpac/ConfigureChecks.cmake is written in an unsupported language. File is not indexed.
0001 include(CheckIncludeFiles) 0002 include(CheckLibraryExists) 0003 include(CheckLibraryExists) 0004 0005 check_include_files(sys/param.h HAVE_SYS_PARAM_H) 0006 check_include_files(arpa/nameser_compat.h HAVE_ARPA_NAMESER_COMPAT_H) 0007 check_include_files(arpa/nameser8_compat.h HAVE_ARPA_NAMESER8_COMPAT_H) 0008 check_include_files("netinet/in.h" HAVE_NETINET_IN_H) 0009 check_include_files(stdint.h HAVE_STDINT_H) 0010 0011 # Check for libresolv 0012 # e.g. on slackware 9.1 res_init() is only a define for __res_init, so we check both, Alex 0013 set(HAVE_RESOLV_LIBRARY FALSE) 0014 check_library_exists(resolv res_init "" HAVE_RES_INIT_IN_RESOLV_LIBRARY) 0015 check_library_exists(resolv __res_init "" HAVE___RES_INIT_IN_RESOLV_LIBRARY) 0016 if (HAVE___RES_INIT_IN_RESOLV_LIBRARY OR HAVE_RES_INIT_IN_RESOLV_LIBRARY) 0017 set(HAVE_RESOLV_LIBRARY TRUE) 0018 endif (HAVE___RES_INIT_IN_RESOLV_LIBRARY OR HAVE_RES_INIT_IN_RESOLV_LIBRARY) 0019 0020 check_library_exists(nsl gethostbyname "" HAVE_NSL_LIBRARY) 0021 check_library_exists(socket connect "" HAVE_SOCKET_LIBRARY)