mongodb/mongo-bi-connector-odbc-driver
configure.cmake
:499
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
check_cxx_symbol_exists(vasprintf stdio.h HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS(vasprintf HAVE_VASPRINTF)
check_symbol_exists(vasprintf "stdio.h" HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS(vasprintf HAVE_VASPRINTF)
check_function_exists("vasprintf" HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
check_function_exists(vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
check_c_source_compiles("
#include <stdio.h>
#include <stdarg.h>
int
testprintf(const char *fmt, ...)
{
va_list args;
char *buf;
va_start(args, fmt);
if (vasprintf(&buf, \"%s\", args) == -1) {
return (-1);
}
va_end(args);
return (0);
}
int
main(int argc, char *argv[])
{
return (testprintf(\"foo %s\", \"bar\"));
}
" HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
CHECK_CXX_SYMBOL_EXISTS( vasprintf "cstdio" HAVE_VASPRINTF )
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
check_symbol_exists(vasprintf "stdio.h" HAVE_VASPRINTF)
check_symbol_exists(vasprintf stdio.h HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS (vasprintf HAVE_VASPRINTF)
check_function_exists(vasprintf HAVE_VASPRINTF)
CHECK_FUNCTION_EXISTS(vasprintf HAVE_VASPRINTF)