Remove unneeded checks for snprintf

snprintf is a standard function which should be available
on all relevant platforms, so those checks are unnecessary.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-02-13 08:04:52 +01:00
parent f627b95a4c
commit b3327f4e90
3 changed files with 0 additions and 10 deletions

View File

@ -105,11 +105,6 @@ set(include_files_list
)
check_includes(include_files_list)
set(functions_list
snprintf
)
check_functions(functions_list)
set(types_list
"long long int"
off_t

View File

@ -338,7 +338,6 @@ dnl ********************
OLD_CXXFLAGS=$CXXFLAGS
AC_MSG_CHECKING([whether compiler supports C++11])
CXXFLAGS="$CXXFLAGS -std=c++11"
snprintfworks=no
AC_COMPILE_IFELSE(
[
AC_LANG_SOURCE([[
@ -353,7 +352,6 @@ AC_COMPILE_IFELSE(
AC_MSG_RESULT(no)
AC_MSG_ERROR([Your compiler does not have the necessary c++11 support! Cannot proceed.])
])
AC_CHECK_FUNCS([snprintf],, [snprintfworks=yes])
CXXFLAGS="$OLD_CXXFLAGS"

View File

@ -87,9 +87,6 @@ projects:
- src/ccstruct
- src/ccutil
check_symbol_exists:
snprintf: stdio.h
check_include_exists:
- dlfcn.h
- inttypes.h