diff options
author | Jakub Jelen <jjelen@redhat.com> | 2017-12-11 15:37:02 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-12-21 11:43:19 +0100 |
commit | b8e301ade328fdfbef37e967241fc5da67111975 (patch) | |
tree | 9b24d8c0d25c5d775fed05047235d12bd9192578 /ConfigureChecks.cmake | |
parent | 99c5160cb5a1a169f86d334017efde4cef23ead8 (diff) | |
download | libssh-b8e301ade328fdfbef37e967241fc5da67111975.tar.gz libssh-b8e301ade328fdfbef37e967241fc5da67111975.tar.xz libssh-b8e301ade328fdfbef37e967241fc5da67111975.zip |
config: Add CMake check for glob()
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 3e497dcb..2e1083b4 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -63,6 +63,7 @@ check_include_file(sys/utime.h HAVE_SYS_UTIME_H) check_include_file(sys/param.h HAVE_SYS_PARAM_H) check_include_file(arpa/inet.h HAVE_ARPA_INET_H) check_include_file(byteswap.h HAVE_BYTESWAP_H) +check_include_file(glob.h HAVE_GLOB_H) if (WIN32) check_include_file(io.h HAVE_IO_H) @@ -140,6 +141,10 @@ check_function_exists(isblank HAVE_ISBLANK) check_function_exists(strncpy HAVE_STRNCPY) check_function_exists(strtoull HAVE_STRTOULL) +if (HAVE_GLOB_H) + check_function_exists(glob HAVE_GLOB) +endif (HAVE_GLOB_H) + if (NOT WIN32) check_function_exists(vsnprintf HAVE_VSNPRINTF) check_function_exists(snprintf HAVE_SNPRINTF) |