1da671615Schristos /* This file is automatically generated. DO NOT EDIT! */ 2*eceb233bSchristos /* Generated from: NetBSD: mknative-gdb,v 1.12 2020/09/17 16:54:31 christos Exp */ 35a254e06Schristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4da671615Schristos 5da671615Schristos /* config.h. Generated from config.h.in by configure. */ 6da671615Schristos /* config.h.in. Maintained by hand. */ 7da671615Schristos 85a254e06Schristos /* Template definitions for autoconf */ 95a254e06Schristos #define __EXTENSIONS__ 1 105a254e06Schristos #define _ALL_SOURCE 1 115a254e06Schristos #define _GNU_SOURCE 1 125a254e06Schristos /* #undef _POSIX_SOURCE */ 135a254e06Schristos /* #undef _POSIX_1_SOURCE */ 145a254e06Schristos #define _POSIX_PTHREAD_SEMANTICS 1 155a254e06Schristos #define _TANDEM_SOURCE 1 165a254e06Schristos /* #undef _MINIX */ 175a254e06Schristos 18da671615Schristos /* Define NO_MULTIBYTE_SUPPORT to not compile in support for multibyte 19da671615Schristos characters, even if the OS supports them. */ 20da671615Schristos /* #undef NO_MULTIBYTE_SUPPORT */ 21da671615Schristos 228bd2f7aeSchristos /* #undef _FILE_OFFSET_BITS */ 238bd2f7aeSchristos 24da671615Schristos /* Define as the return type of signal handlers (int or void). */ 25da671615Schristos #define RETSIGTYPE void 26da671615Schristos 27da671615Schristos #define VOID_SIGHANDLER 1 28da671615Schristos 29da671615Schristos /* Characteristics of the compiler. */ 308bd2f7aeSchristos /* #undef sig_atomic_t */ 31da671615Schristos 32da671615Schristos /* #undef size_t */ 33da671615Schristos 34da671615Schristos /* #undef ssize_t */ 35da671615Schristos 368bd2f7aeSchristos /* #undef const */ 378bd2f7aeSchristos 388bd2f7aeSchristos /* #undef volatile */ 398bd2f7aeSchristos 40da671615Schristos #define PROTOTYPES 1 41*eceb233bSchristos #define __PROTOTYPES 1 42da671615Schristos 43da671615Schristos /* #undef __CHAR_UNSIGNED__ */ 44da671615Schristos 45da671615Schristos /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 46da671615Schristos /* #undef STAT_MACROS_BROKEN */ 47da671615Schristos 48*eceb233bSchristos /* Define if you have the chown function. */ 49*eceb233bSchristos /* #undef HAVE_CHOWN */ 50*eceb233bSchristos 51da671615Schristos /* Define if you have the fcntl function. */ 52da671615Schristos #define HAVE_FCNTL 1 53da671615Schristos 54*eceb233bSchristos /* Define if you have the fnmatch function. */ 55*eceb233bSchristos #define HAVE_FNMATCH 1 56*eceb233bSchristos 57da671615Schristos /* Define if you have the getpwent function. */ 58da671615Schristos #define HAVE_GETPWENT 1 59da671615Schristos 60da671615Schristos /* Define if you have the getpwnam function. */ 61da671615Schristos #define HAVE_GETPWNAM 1 62da671615Schristos 63da671615Schristos /* Define if you have the getpwuid function. */ 64da671615Schristos #define HAVE_GETPWUID 1 65da671615Schristos 66da671615Schristos /* Define if you have the isascii function. */ 67da671615Schristos #define HAVE_ISASCII 1 68da671615Schristos 698bd2f7aeSchristos /* Define if you have the iswctype function. */ 708bd2f7aeSchristos #define HAVE_ISWCTYPE 1 718bd2f7aeSchristos 728bd2f7aeSchristos /* Define if you have the iswlower function. */ 738bd2f7aeSchristos #define HAVE_ISWLOWER 1 748bd2f7aeSchristos 758bd2f7aeSchristos /* Define if you have the iswupper function. */ 768bd2f7aeSchristos #define HAVE_ISWUPPER 1 778bd2f7aeSchristos 78da671615Schristos /* Define if you have the isxdigit function. */ 79da671615Schristos #define HAVE_ISXDIGIT 1 80da671615Schristos 81da671615Schristos /* Define if you have the kill function. */ 82da671615Schristos #define HAVE_KILL 1 83da671615Schristos 84da671615Schristos /* Define if you have the lstat function. */ 85da671615Schristos #define HAVE_LSTAT 1 86da671615Schristos 87da671615Schristos /* Define if you have the mbrlen function. */ 88da671615Schristos #define HAVE_MBRLEN 1 89da671615Schristos 90da671615Schristos /* Define if you have the mbrtowc function. */ 91da671615Schristos #define HAVE_MBRTOWC 1 92da671615Schristos 93da671615Schristos /* Define if you have the mbsrtowcs function. */ 94da671615Schristos #define HAVE_MBSRTOWCS 1 95da671615Schristos 96da671615Schristos /* Define if you have the memmove function. */ 97da671615Schristos #define HAVE_MEMMOVE 1 98da671615Schristos 99*eceb233bSchristos /* Define if you have the pselect function. */ 100*eceb233bSchristos #define HAVE_PSELECT 1 101*eceb233bSchristos 102da671615Schristos /* Define if you have the putenv function. */ 103da671615Schristos #define HAVE_PUTENV 1 104da671615Schristos 105*eceb233bSchristos /* Define if you have the readlink function. */ 106*eceb233bSchristos #define HAVE_READLINK 1 107*eceb233bSchristos 108da671615Schristos /* Define if you have the select function. */ 109da671615Schristos #define HAVE_SELECT 1 110da671615Schristos 111da671615Schristos /* Define if you have the setenv function. */ 112da671615Schristos #define HAVE_SETENV 1 113da671615Schristos 114da671615Schristos /* Define if you have the setlocale function. */ 115da671615Schristos #define HAVE_SETLOCALE 1 116da671615Schristos 117da671615Schristos /* Define if you have the strcasecmp function. */ 118da671615Schristos #define HAVE_STRCASECMP 1 119da671615Schristos 120da671615Schristos /* Define if you have the strcoll function. */ 121da671615Schristos #define HAVE_STRCOLL 1 122da671615Schristos 123da671615Schristos /* #undef STRCOLL_BROKEN */ 124da671615Schristos 125da671615Schristos /* Define if you have the strpbrk function. */ 126da671615Schristos #define HAVE_STRPBRK 1 127da671615Schristos 128da671615Schristos /* Define if you have the tcgetattr function. */ 129da671615Schristos #define HAVE_TCGETATTR 1 130da671615Schristos 1318bd2f7aeSchristos /* Define if you have the towlower function. */ 1328bd2f7aeSchristos #define HAVE_TOWLOWER 1 1338bd2f7aeSchristos 1348bd2f7aeSchristos /* Define if you have the towupper function. */ 1358bd2f7aeSchristos #define HAVE_TOWUPPER 1 1368bd2f7aeSchristos 137da671615Schristos /* Define if you have the vsnprintf function. */ 138da671615Schristos #define HAVE_VSNPRINTF 1 139da671615Schristos 1408bd2f7aeSchristos /* Define if you have the wcrtomb function. */ 1418bd2f7aeSchristos #define HAVE_WCRTOMB 1 1428bd2f7aeSchristos 1438bd2f7aeSchristos /* Define if you have the wcscoll function. */ 1448bd2f7aeSchristos #define HAVE_WCSCOLL 1 1458bd2f7aeSchristos 1468bd2f7aeSchristos /* Define if you have the wctype function. */ 1478bd2f7aeSchristos #define HAVE_WCTYPE 1 148da671615Schristos 149da671615Schristos /* Define if you have the wcwidth function. */ 150da671615Schristos #define HAVE_WCWIDTH 1 151da671615Schristos 152*eceb233bSchristos /* and whether it works */ 153*eceb233bSchristos /* #undef WCWIDTH_BROKEN */ 154*eceb233bSchristos 155da671615Schristos #define STDC_HEADERS 1 156da671615Schristos 157da671615Schristos /* Define if you have the <dirent.h> header file. */ 158da671615Schristos #define HAVE_DIRENT_H 1 159da671615Schristos 160da671615Schristos /* Define if you have the <fcntl.h> header file. */ 161da671615Schristos #define HAVE_FCNTL_H 1 162da671615Schristos 163da671615Schristos /* Define if you have the <langinfo.h> header file. */ 164da671615Schristos #define HAVE_LANGINFO_H 1 165da671615Schristos 166*eceb233bSchristos /* Define if you have the <libaudit.h> header file. */ 167*eceb233bSchristos /* #undef HAVE_LIBAUDIT_H */ 168*eceb233bSchristos 169da671615Schristos /* Define if you have the <limits.h> header file. */ 170da671615Schristos #define HAVE_LIMITS_H 1 171da671615Schristos 172da671615Schristos /* Define if you have the <locale.h> header file. */ 173da671615Schristos #define HAVE_LOCALE_H 1 174da671615Schristos 175da671615Schristos /* Define if you have the <memory.h> header file. */ 176da671615Schristos #define HAVE_MEMORY_H 1 177da671615Schristos 178da671615Schristos /* Define if you have the <ndir.h> header file. */ 179da671615Schristos /* #undef HAVE_NDIR_H */ 180da671615Schristos 181*eceb233bSchristos /* Define if you have the <ncurses/termcap.h> header file. */ 182*eceb233bSchristos /* #undef HAVE_NCURSES_TERMCAP_H */ 183*eceb233bSchristos 184da671615Schristos /* Define if you have the <pwd.h> header file. */ 185da671615Schristos #define HAVE_PWD_H 1 186da671615Schristos 187da671615Schristos /* Define if you have the <stdarg.h> header file. */ 188da671615Schristos #define HAVE_STDARG_H 1 189da671615Schristos 190*eceb233bSchristos /* Define if you have the <stdbool.h> header file. */ 191*eceb233bSchristos #define HAVE_STDBOOL_H 1 192*eceb233bSchristos 193da671615Schristos /* Define if you have the <stdlib.h> header file. */ 194da671615Schristos #define HAVE_STDLIB_H 1 195da671615Schristos 196da671615Schristos /* Define if you have the <string.h> header file. */ 197da671615Schristos #define HAVE_STRING_H 1 198da671615Schristos 199da671615Schristos /* Define if you have the <strings.h> header file. */ 200da671615Schristos #define HAVE_STRINGS_H 1 201da671615Schristos 202da671615Schristos /* Define if you have the <sys/dir.h> header file. */ 203da671615Schristos /* #undef HAVE_SYS_DIR_H */ 204da671615Schristos 205da671615Schristos /* Define if you have the <sys/file.h> header file. */ 206da671615Schristos #define HAVE_SYS_FILE_H 1 207da671615Schristos 208*eceb233bSchristos /* Define if you have the <sys/ioctl.h> header file. */ 209*eceb233bSchristos #define HAVE_SYS_IOCTL_H 1 210*eceb233bSchristos 211da671615Schristos /* Define if you have the <sys/ndir.h> header file. */ 212da671615Schristos /* #undef HAVE_SYS_NDIR_H */ 213da671615Schristos 214da671615Schristos /* Define if you have the <sys/pte.h> header file. */ 215da671615Schristos /* #undef HAVE_SYS_PTE_H */ 216da671615Schristos 217da671615Schristos /* Define if you have the <sys/ptem.h> header file. */ 218da671615Schristos /* #undef HAVE_SYS_PTEM_H */ 219da671615Schristos 220da671615Schristos /* Define if you have the <sys/select.h> header file. */ 221da671615Schristos #define HAVE_SYS_SELECT_H 1 222da671615Schristos 223da671615Schristos /* Define if you have the <sys/stream.h> header file. */ 224da671615Schristos /* #undef HAVE_SYS_STREAM_H */ 225da671615Schristos 226da671615Schristos /* Define if you have the <termcap.h> header file. */ 227da671615Schristos #define HAVE_TERMCAP_H 1 228da671615Schristos 229da671615Schristos /* Define if you have the <termio.h> header file. */ 230da671615Schristos /* #undef HAVE_TERMIO_H */ 231da671615Schristos 232da671615Schristos /* Define if you have the <termios.h> header file. */ 233da671615Schristos #define HAVE_TERMIOS_H 1 234da671615Schristos 235da671615Schristos /* Define if you have the <unistd.h> header file. */ 236da671615Schristos #define HAVE_UNISTD_H 1 237da671615Schristos 238da671615Schristos /* Define if you have the <varargs.h> header file. */ 239da671615Schristos /* #undef HAVE_VARARGS_H */ 240da671615Schristos 241da671615Schristos /* Define if you have the <wchar.h> header file. */ 242da671615Schristos #define HAVE_WCHAR_H 1 243da671615Schristos 2448bd2f7aeSchristos /* Define if you have the <wctype.h> header file. */ 245da671615Schristos #define HAVE_WCTYPE_H 1 246da671615Schristos 247da671615Schristos #define HAVE_MBSTATE_T 1 248da671615Schristos 2498bd2f7aeSchristos /* Define if you have wchar_t in <wctype.h>. */ 2508bd2f7aeSchristos #define HAVE_WCHAR_T 1 2518bd2f7aeSchristos 2528bd2f7aeSchristos /* Define if you have wctype_t in <wctype.h>. */ 2538bd2f7aeSchristos #define HAVE_WCTYPE_T 1 2548bd2f7aeSchristos 2558bd2f7aeSchristos /* Define if you have wint_t in <wctype.h>. */ 2568bd2f7aeSchristos #define HAVE_WINT_T 1 2578bd2f7aeSchristos 258da671615Schristos /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 259da671615Schristos #define HAVE_LANGINFO_CODESET 1 260da671615Schristos 261*eceb233bSchristos /* Define if you have <linux/audit.h> and it defines AUDIT_USER_TTY */ 262*eceb233bSchristos #define HAVE_DECL_AUDIT_USER_TTY 0 263*eceb233bSchristos 264da671615Schristos /* Definitions pulled in from aclocal.m4. */ 265da671615Schristos #define VOID_SIGHANDLER 1 266da671615Schristos 267da671615Schristos /* #undef GWINSZ_IN_SYS_IOCTL */ 268da671615Schristos 269da671615Schristos #define STRUCT_WINSIZE_IN_SYS_IOCTL 1 270da671615Schristos 271da671615Schristos /* #undef STRUCT_WINSIZE_IN_TERMIOS */ 272da671615Schristos 273da671615Schristos #define TIOCSTAT_IN_SYS_IOCTL 1 274da671615Schristos 275da671615Schristos #define FIONREAD_IN_SYS_IOCTL 1 276da671615Schristos 277da671615Schristos /* #undef SPEED_T_IN_SYS_TYPES */ 278da671615Schristos 279da671615Schristos #define HAVE_GETPW_DECLS 1 280da671615Schristos 281*eceb233bSchristos #define HAVE_STRUCT_DIRENT_D_INO 1 282da671615Schristos 283*eceb233bSchristos #define HAVE_STRUCT_DIRENT_D_FILENO 1 284*eceb233bSchristos 285*eceb233bSchristos /* #undef HAVE_STRUCT_DIRENT_D_NAMLEN */ 286da671615Schristos 287da671615Schristos /* #undef HAVE_BSD_SIGNALS */ 288da671615Schristos 289da671615Schristos #define HAVE_POSIX_SIGNALS 1 290da671615Schristos 291da671615Schristos /* #undef HAVE_USG_SIGHOLD */ 292da671615Schristos 293da671615Schristos /* #undef MUST_REINSTALL_SIGHANDLERS */ 294da671615Schristos 295da671615Schristos #define HAVE_POSIX_SIGSETJMP 1 296da671615Schristos 297da671615Schristos #define CTYPE_NON_ASCII 1 298da671615Schristos 299da671615Schristos /* modify settings or make new ones based on what autoconf tells us. */ 300da671615Schristos 301da671615Schristos /* Ultrix botches type-ahead when switching from canonical to 302da671615Schristos non-canonical mode, at least through version 4.3 */ 303da671615Schristos #if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix) 304da671615Schristos # define TERMIOS_MISSING 305da671615Schristos #endif 306da671615Schristos 307*eceb233bSchristos /* VARARGS defines moved to rlstdc.h */ 308