/* confdefs.h */
#define PACKAGE_NAME "man-db"
#define PACKAGE_TARNAME "man-db"
#define PACKAGE_VERSION "2.6.1"
#define PACKAGE_STRING "man-db 2.6.1"
#define PACKAGE_BUGREPORT "cjwatson@debian.org"
#define PACKAGE_URL ""
#define PACKAGE "man-db"
#define VERSION "2.6.1"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _DARWIN_C_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define SECURE_MAN_UID "man"
#define MAN_DB_UPDATES 1
#define MAN_CATS 1
#define _FILE_OFFSET_BITS 64
#define HAVE_PAGER 1
#define HAVE_NROFF 1
#define GNU_NROFF 1
#define TROFF_IS_GROFF 1
#define HAS_TROFF 1
#define MULTIBYTE_GROFF 1
#define HAVE_EQN 1
#define HAVE_NEQN 1
#define HAVE_TBL 1
#define HAVE_COL 1
#define HAVE_REFER 1
#define HAVE_PIC 1
#define HAVE_GZIP 1
#define HAVE_BZIP2 1
#define HAVE_XZ 1
#define HAVE_LZMA 1
#define COMP_CAT 1
#define COMP_SRC 1
#define MANDIR_LAYOUT "GNU"
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define restrict __restrict
#define HAVE_DECL_CLEARERR_UNLOCKED 1
#define HAVE_DECL_FEOF_UNLOCKED 1
#define HAVE_DECL_FERROR_UNLOCKED 1
#define HAVE_DECL_FFLUSH_UNLOCKED 1
#define HAVE_DECL_FGETS_UNLOCKED 1
#define HAVE_DECL_FPUTC_UNLOCKED 1
#define HAVE_DECL_FPUTS_UNLOCKED 1
#define HAVE_DECL_FREAD_UNLOCKED 1
#define HAVE_DECL_FWRITE_UNLOCKED 1
#define HAVE_DECL_GETC_UNLOCKED 1
#define HAVE_DECL_GETCHAR_UNLOCKED 1
#define HAVE_DECL_PUTC_UNLOCKED 1
#define HAVE_DECL_PUTCHAR_UNLOCKED 1
#define HAVE_FLOCKFILE 1
#define HAVE_FUNLOCKFILE 1
#define HAVE_BTOWC 1
#define HAVE_CANONICALIZE_FILE_NAME 1
#define HAVE_REALPATH 1
#define HAVE_GETCWD 1
#define HAVE_READLINK 1
#define HAVE_FCHDIR 1
#define HAVE_FCNTL 1
#define HAVE_SYMLINK 1
#define HAVE_FDOPENDIR 1
#define HAVE_MEMPCPY 1
#define HAVE_FLOCK 1
#define HAVE_ISBLANK 1
#define HAVE_ISWCTYPE 1
#define HAVE_MBSRTOWCS 1
#define HAVE_WMEMCHR 1
#define HAVE_WMEMCPY 1
#define HAVE_WMEMPCPY 1
#define HAVE_FSTATAT 1
#define HAVE_GETDELIM 1
#define HAVE_GETDTABLESIZE 1
#define HAVE_GETLOGIN_R 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETUID 1
#define HAVE_GETEUID 1
#define HAVE_GETRESUID 1
#define HAVE_GETGID 1
#define HAVE_GETEGID 1
#define HAVE_GETRESGID 1
#define HAVE_SETRESUID 1
#define HAVE_SETREUID 1
#define HAVE_SETEUID 1
#define HAVE_SETRESGID 1
#define HAVE_SETREGID 1
#define HAVE_SETEGID 1
#define HAVE_LSTAT 1
#define HAVE_MBSINIT 1
#define HAVE_MBRTOWC 1
#define HAVE_MPROTECT 1
#define HAVE_MKSTEMP 1
#define HAVE_NL_LANGINFO 1
#define HAVE_OPENAT 1
#define HAVE_WCSCOLL 1
#define HAVE_LINK 1
#define HAVE_PATHCONF 1
#define HAVE_SETENV 1
#define HAVE_SIGACTION 1
#define HAVE_SIGALTSTACK 1
#define HAVE_SIGINTERRUPT 1
#define HAVE_SLEEP 1
#define HAVE_STRDUP 1
#define HAVE_STRNDUP 1
#define HAVE_PIPE 1
#define HAVE_SNPRINTF 1
#define HAVE_WCRTOMB 1
#define HAVE_ISWCNTRL 1
#define HAVE_FEATURES_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_DIRENT_H 1
#define HAVE_WCTYPE_H 1
#define HAVE_GETOPT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_WCHAR_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYSEXITS_H 1
#define HAVE_LANGINFO_CODESET 1
#define FUNC_REALPATH_WORKS 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define STRERROR_R_CHAR_P 1
#define HAVE_DECL_FCHDIR 1
#define HAVE_WORKING_O_NOATIME 1
#define HAVE_WORKING_O_NOFOLLOW 1
#define HAVE_MBSTATE_T 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define HAVE_DECL_GETCWD 1
#define HAVE_DECL_GETDELIM 1
#define HAVE_DECL_GETLINE 1
#define HAVE_DECL_GETLOGIN_R 1
#define HAVE_DECL_GETLOGIN 1
#define HAVE_GETOPT_H 1
#define HAVE_GETOPT_LONG_ONLY 1
#define __GETOPT_PREFIX rpl_
#define HAVE_DECL_GETENV 1
#define HAVE_RAW_DECL_GETTIMEOFDAY 1
#define USE_POSIX_THREADS 1
#define USE_POSIX_THREADS_WEAK 1
#define HAVE_STDLIB_H 1
#define MALLOC_0_IS_NONNULL 1
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_MAP_ANONYMOUS 1
#define HAVE_DECL_MEMRCHR 1
#define HAVE_MINMAX_IN_SYS_PARAM_H 1
#define PROMOTED_MODE_T mode_t
#define HAVE_SIGSET_T 1
#define HAVE_LONG_FILE_NAMES 1
#define HAVE_DECL_SETENV 1
#define HAVE_SEARCH_H 1
#define HAVE_TSEARCH 1
#define HAVE__BOOL 1
#define HAVE_WCHAR_T 1
#define HAVE_DECL_STRDUP 1
#define HAVE_RAW_DECL_FFSL 1
#define HAVE_RAW_DECL_FFSLL 1
#define HAVE_RAW_DECL_MEMMEM 1
#define HAVE_RAW_DECL_MEMPCPY 1
#define HAVE_RAW_DECL_MEMRCHR 1
#define HAVE_RAW_DECL_RAWMEMCHR 1
#define HAVE_RAW_DECL_STPCPY 1
#define HAVE_RAW_DECL_STPNCPY 1
#define HAVE_RAW_DECL_STRCHRNUL 1
#define HAVE_RAW_DECL_STRDUP 1
#define HAVE_RAW_DECL_STRNCAT 1
#define HAVE_RAW_DECL_STRNDUP 1
#define HAVE_RAW_DECL_STRNLEN 1
#define HAVE_RAW_DECL_STRPBRK 1
#define HAVE_RAW_DECL_STRSEP 1
#define HAVE_RAW_DECL_STRCASESTR 1
#define HAVE_RAW_DECL_STRTOK_R 1
#define HAVE_RAW_DECL_STRERROR_R 1
#define HAVE_RAW_DECL_STRSIGNAL 1
#define HAVE_RAW_DECL_STRVERSCMP 1
#define HAVE_RAW_DECL_FFS 1
#define HAVE_RAW_DECL_STRCASECMP 1
#define HAVE_RAW_DECL_STRNCASECMP 1
#define HAVE_DECL_STRNDUP 1
#define HAVE_DECL_STRNLEN 1
#define HAVE_DECL_UNSETENV 1
#define HAVE_WINT_T 1
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
#define HAVE_STDINT_H_WITH_UINTMAX 1
#define HAVE_INTMAX_T 1
#define DBL_EXPBIT0_WORD 1
#define DBL_EXPBIT0_BIT 20
#define HAVE_SNPRINTF 1
#define HAVE_STRNLEN 1
#define HAVE_WCSLEN 1
#define HAVE_WCSNLEN 1
#define HAVE_MBRTOWC 1
#define HAVE_WCRTOMB 1
#define HAVE_DECL__SNPRINTF 0
#define HAVE_SNPRINTF_RETVAL_C99 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_ALLOCA 1
#define HAVE_DECL_PROGRAM_INVOCATION_NAME 1
#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_PROGRAM_INVOCATION_NAME 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define GNULIB_TEST_BTOWC 1
#define GNULIB_CANONICALIZE 1
#define GNULIB_TEST_CANONICALIZE 1
#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
#define GNULIB_CANONICALIZE_LGPL 1
#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
#define GNULIB_TEST_REALPATH 1
#define GNULIB_TEST_CHDIR 1
#define GNULIB_TEST_CLOEXEC 1
#define GNULIB_TEST_CLOSE 1
#define HAVE_CLOSEDIR 1
#define GNULIB_TEST_CLOSEDIR 1
#define D_INO_IN_DIRENT 1
#define HAVE_STRUCT_DIRENT_D_TYPE 1
#define HAVE_RAW_DECL_ALPHASORT 1
#define HAVE_RAW_DECL_CLOSEDIR 1
#define HAVE_RAW_DECL_DIRFD 1
#define HAVE_RAW_DECL_FDOPENDIR 1
#define HAVE_RAW_DECL_OPENDIR 1
#define HAVE_RAW_DECL_READDIR 1
#define HAVE_RAW_DECL_REWINDDIR 1
#define HAVE_RAW_DECL_SCANDIR 1
#define HAVE_DIRFD 1
#define HAVE_DECL_DIRFD 1
#define GNULIB_TEST_DIRFD 1
#define GNULIB_DIRNAME 1
#define GNULIB_TEST_DUP 1
#define HAVE_DUP2 1
#define GNULIB_TEST_DUP2 1
#define GNULIB_TEST_ENVIRON 1
#define GNULIB_TEST_FCHDIR 1
#define GNULIB_TEST_FCNTL 1
#define HAVE_RAW_DECL_FCNTL 1
#define HAVE_RAW_DECL_OPENAT 1
#define HAVE_DECL_FDOPENDIR 1
#define GNULIB_TEST_FDOPENDIR 1
#define GNULIB_FDOPENDIR 1
#define GNULIB_TEST_FSTAT 1
#define GNULIB_FSTATAT 1
#define GNULIB_TEST_FSTATAT 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MINIMALLY_WORKING_GETCWD 1
#define GNULIB_GETCWD 1
#define GNULIB_TEST_GETCWD 1
#define GNULIB_TEST_GETCWD 1
#define GNULIB_TEST_GETDELIM 1
#define GNULIB_TEST_GETDTABLESIZE 1
#define GNULIB_TEST_GETLINE 1
#define GNULIB_TEST_GETLOGIN_R 1
#define GNULIB_TEST_GETOPT_GNU 1
#define __GETOPT_PREFIX rpl_
#define GETTIMEOFDAY_TIMEZONE struct timezone
#define GNULIB_TEST_GETTIMEOFDAY 1
#define HAVE_GLOB_H 1
#define HAVE_INLINE 1
#define HAVE_RAW_DECL_NL_LANGINFO 1
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
#define GNULIB_TEST_LSTAT 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC_GNU 1
#define GNULIB_MALLOC_GNU 1
#define HAVE_MALLOC_POSIX 1
#define GNULIB_TEST_MALLOC_POSIX 1
#define GNULIB_TEST_MBRTOWC 1
#define GNULIB_TEST_MBSINIT 1
#define GNULIB_TEST_MBSRTOWCS 1
#define GNULIB_TEST_MBTOWC 1
#define GNULIB_TEST_MEMCHR 1
#define HAVE_MEMPCPY 1
#define GNULIB_TEST_MEMPCPY 1
#define HAVE_MEMRCHR 1
#define GNULIB_TEST_MEMRCHR 1
#define HAVE_MKDTEMP 1
#define GNULIB_TEST_MKDTEMP 1
#define GNULIB_TEST_MKSTEMP 1
#define FUNC_NL_LANGINFO_YESEXPR_WORKS 1
#define GNULIB_TEST_NL_LANGINFO 1
#define GNULIB_TEST_OPEN 1
#define GNULIB_OPENAT 1
#define GNULIB_TEST_OPENAT 1
#define HAVE_OPENDIR 1
#define GNULIB_TEST_OPENDIR 1
#define HAVE_RAISE 1
#define GNULIB_TEST_RAISE 1
#define HAVE_RAWMEMCHR 1
#define GNULIB_TEST_RAWMEMCHR 1
#define HAVE_READDIR 1
#define GNULIB_TEST_READDIR 1
#define GNULIB_TEST_READLINK 1
#define HAVE_REALLOC_POSIX 1
#define GNULIB_TEST_REALLOC_POSIX 1
#define GNULIB_TEST_RENAME 1
#define HAVE_REWINDDIR 1
#define GNULIB_TEST_REWINDDIR 1
#define GNULIB_TEST_RMDIR 1
#define GNULIB_TEST_SETENV 1
#define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
#define GNULIB_TEST_SIGACTION 1
#define HAVE_RAW_DECL_PTHREAD_SIGMASK 1
#define HAVE_RAW_DECL_SIGACTION 1
#define HAVE_RAW_DECL_SIGADDSET 1
#define HAVE_RAW_DECL_SIGDELSET 1
#define HAVE_RAW_DECL_SIGEMPTYSET 1
#define HAVE_RAW_DECL_SIGFILLSET 1
#define HAVE_RAW_DECL_SIGISMEMBER 1
#define HAVE_RAW_DECL_SIGPENDING 1
#define HAVE_RAW_DECL_SIGPROCMASK 1
#define GNULIB_TEST_SIGPROCMASK 1
#define HAVE_STDINT_H 1
#define HAVE_DECL_SLEEP 1
/* end confdefs.h.  */

#include <errno.h>
#include <unistd.h>
#include <signal.h>
static void
handle_alarm (int sig)
{
  if (sig != SIGALRM)
    _exit (2);
}

int
main ()
{

    /* Failure to compile this test due to missing alarm is okay,
       since all such platforms (mingw) also lack sleep.  */
    unsigned int pentecost = 30;
    unsigned int remaining;
    signal (SIGALRM, handle_alarm);
    alarm (1);
    remaining = sleep (pentecost);
    if (remaining > pentecost)
      return 3;
    if (remaining <= pentecost - 10)
      return 4;
    return 0;

  ;
  return 0;
}
