#cmakedefine HAVE_GMTIME_R
#cmakedefine HAVE_TIMEGM
#cmakedefine HAVE_LOCALTIME_R
#cmakedefine HAVE_REALPATH
#cmakedefine HAVE__USLEEP
#cmakedefine HAVE_FNMATCH
#cmakedefine HAVE_FTRUNCATE
#cmakedefine HAVE_POSIX_CHDIR
#cmakedefine HAVE_WINDOWS_CHDIR
#cmakedefine HAVE_POSIX_GETCWD
#cmakedefine HAVE_WINDOWS_GETCWD
#cmakedefine HAVE_TZNAME
#cmakedefine HAVE_ROUND
#cmakedefine HAVE_VA_COPY
#cmakedefine HAVE_SIGBUS
#cmakedefine HAVE_PTHREAD
#cmakedefine HAVE_PID_T
#cmakedefine HAVE_EXECINFO
#cmakedefine HAVE_FORK
#cmakedefine HAVE_POSIX_MKDIR
#cmakedefine HAVE_WINDOWS_MKDIR
#cmakedefine HAVE_GETPWUID
#cmakedefine HAVE_FSYNC
#cmakedefine HAVE_CHMOD
#cmakedefine HAVE_MODE_T
#cmakedefine HAVE_CXX_SHARED_PTR
#cmakedefine HAVE_POSIX_UNLINK
#cmakedefine HAVE_WINDOWS_UNLINK


#cmakedefine HAVE_POSIX_ACCESS
#cmakedefine HAVE_WINDOWS__ACCESS
#cmakedefine HAVE_WINDOWS_GET_TEMP_PATH
#cmakedefine HAVE_WINDOWS_TZNAME

#ifdef HAVE_VA_COPY
#define UTIL_VA_COPY(target,src) va_copy(target,src)
#else
#define UTIL_VA_COPY(target,src) target = src
#endif


/*
  The HAVE_UTIL_ABORT_INTERCEPT is required to allow testing of the
  util_abort() functionality; in prinicple this could be implemented
  also in the simple util_abort() function without backtrace
  capabilities, but currently it is only implemented in the full
  util_abort_gnu() function.
*/

#ifdef HAVE_FORK
#ifdef HAVE_PTHREAD
#ifdef HAVE_EXECINFO
#ifdef HAVE_GETPWUID

#define HAVE_BACKTRACE
#define HAVE_UTIL_ABORT_INTERCEPT

#endif
#endif
#endif
#endif
