LibreDWG/libredwg
CMakeLists.txt
:102
check_symbol_exists("setenv" "stdlib.h" HAVE_SETENV)
check_symbol_exists("setenv" "stdlib.h" HAVE_SETENV)
endif (NOT (HAVE_MKDTEMP AND HAVE_SETENV))
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_function_exists(setenv HAVE_SETENV)
CHECK_FUNCTION_EXISTS (setenv HAVE_SETENV)
CHECK_FUNCTION_EXISTS (setenv HAVE_SETENV)
add_definitions(-DHAVE_INTTYPES_H -DHAVE_SETENV -DHAVE_SINF)
check_symbol_exists(setenv "stdlib.h" HAVE_SETENV)
check_function_exists(setenv HAVE_SETENV)
check_function_exists(setenv HAVE_SETENV)
check_function_exists(setenv HAVE_SETENV)
CHECK_FUNCTION_EXISTS (setenv HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
CHECK_FUNCTION_EXISTS(setenv HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_c_source_compiles("
#include <stdlib.h>
int
main(int argc, char *argv[])
{
(void)setenv(\"BSDBUILD_SETENV_TEST\", \"foo\", 1);
unsetenv(\"BSDBUILD_SETENV_TEST\");
return (0);
}
" HAVE_SETENV)
list(APPEND SDL_MIXER_DEFINITIONS
-DHAVE_INTTYPES_H -DHAVE_SETENV -DHAVE_SINF
-DPIC -D_REENTRANT -D_USE_MATH_DEFINES
)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_function_exists(setenv HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
target_compile_definitions(${LIBNAME} PRIVATE HAVE_SETENV=1)
CHECK_CXX_SYMBOL_EXISTS(setenv "stdlib.h" HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv "stdlib.h" HAVE_SETENV)
check_function_exists(setenv HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
check_symbol_exists(setenv stdlib.h HAVE_SETENV)
CHECK_FUNCTION_EXISTS("setenv" HAVE_SETENV)
CHECK_FUNCTION_EXISTS(setenv HAVE_SETENV)