diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index af064640..c202daba 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -57,7 +57,6 @@ macro_bool_to_01(X11_XSync_FOUND HAVE_XSYNC) # kidleti # specific order. Refer to the man page for each symbol for which a # check is to be added to get the proper set of headers. check_symbol_exists(strtoll "stdlib.h" HAVE_STRTOLL) # kioslave -check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF) # config.h check_symbol_exists(getgrouplist "unistd.h;grp.h" HAVE_GETGROUPLIST) # kio check_function_exists(backtrace HAVE_BACKTRACE) # kdecore, kio diff --git a/config.h.cmake b/config.h.cmake index 328993d3..a4edf4c7 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -27,7 +27,6 @@ #cmakedefine HAVE_SENDFILE 1 #cmakedefine HAVE_SETMNTENT 1 #cmakedefine HAVE_STRTOLL 1 -#cmakedefine HAVE_VSNPRINTF 1 #cmakedefine HAVE_GETGROUPLIST 1 #cmakedefine HAVE_TTYNAME_R 1 @@ -57,29 +56,7 @@ /* Define to 1 if you have libintl */ #cmakedefine HAVE_LIBINTL 1 -/*********************/ - -/* - * On HP-UX, the declaration of vsnprintf() is needed every time ! - */ - -#if !defined(HAVE_VSNPRINTF) -#if __STDC__ -#include -#include -#else -#include -#endif -#ifdef __cplusplus -extern "C" -#endif -int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); -#ifdef __cplusplus -extern "C" -#endif -int snprintf(char *str, size_t n, char const *fmt, ...); -#endif - +/* Define to 1 if getmntinfo() uses statvfs struct */ #cmakedefine GETMNTINFO_USES_STATVFS 1 /* Defined to 1 if you have a d_type member in struct dirent */