1 /* $DragonFly: src/gnu/usr.bin/gdb/libgdb/config.h,v 1.1 2006/03/07 15:48:11 corecode Exp $ */ 2 /* config.h. Generated automatically by configure. */ 3 /* config.in. Generated automatically from configure.in by autoheader. */ 4 5 /* Define if on AIX 3. 6 System headers sometimes define this. 7 We just want to avoid a redefinition error message. */ 8 #ifndef _ALL_SOURCE 9 /* #undef _ALL_SOURCE */ 10 #endif 11 12 /* Define if using alloca.c. */ 13 /* #undef C_ALLOCA */ 14 15 /* Define to empty if the keyword does not work. */ 16 /* #undef const */ 17 18 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. 19 This function is required for alloca.c support on those systems. */ 20 /* #undef CRAY_STACKSEG_END */ 21 22 /* Define if you have alloca, as a function or macro. */ 23 #define HAVE_ALLOCA 1 24 25 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */ 26 /* #undef HAVE_ALLOCA_H */ 27 28 /* Define if the `long double' type works. */ 29 #define HAVE_LONG_DOUBLE 1 30 31 /* Define if you have a working `mmap' system call. */ 32 #define HAVE_MMAP 1 33 34 /* Define if you have <vfork.h>. */ 35 /* #undef HAVE_VFORK_H */ 36 37 /* Define as __inline if that's what the C compiler calls it. */ 38 /* #undef inline */ 39 40 /* Define to `long' if <sys/types.h> doesn't define. */ 41 /* #undef off_t */ 42 43 /* Define to `int' if <sys/types.h> doesn't define. */ 44 /* #undef pid_t */ 45 46 /* Define if you need to in order for stat and other things to work. */ 47 /* #undef _POSIX_SOURCE */ 48 49 /* Define as the return type of signal handlers (int or void). */ 50 #define RETSIGTYPE void 51 52 /* Define if the `setpgrp' function takes no argument. */ 53 /* #undef SETPGRP_VOID */ 54 55 /* Define to `unsigned' if <sys/types.h> doesn't define. */ 56 /* #undef size_t */ 57 58 /* If using the C implementation of alloca, define if you know the 59 direction of stack growth for your system; otherwise it will be 60 automatically deduced at run-time. 61 STACK_DIRECTION > 0 => grows toward higher addresses 62 STACK_DIRECTION < 0 => grows toward lower addresses 63 STACK_DIRECTION = 0 => direction of growth unknown 64 */ 65 /* #undef STACK_DIRECTION */ 66 67 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 68 /* #undef STAT_MACROS_BROKEN */ 69 70 /* Define if you have the ANSI C header files. */ 71 #define STDC_HEADERS 1 72 73 /* Define vfork as fork if vfork does not work. */ 74 /* #undef vfork */ 75 76 /* Enable GNU extensions on systems that have them. */ 77 #ifndef _GNU_SOURCE 78 # define _GNU_SOURCE 1 79 #endif 80 81 /* Define if your struct reg has r_fs. */ 82 #define HAVE_STRUCT_REG_R_FS 1 83 84 /* Define if your struct stat has st_blocks. */ 85 #define HAVE_STRUCT_STAT_ST_BLOCKS 1 86 87 /* Define if your struct reg has r_gs. */ 88 #define HAVE_STRUCT_REG_R_GS 1 89 90 /* Define if <link.h> exists and defines struct link_map which has 91 members with an ``l_'' prefix. (For Solaris, SVR4, and 92 SVR4-like systems.) */ 93 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1 94 95 /* Define if <link.h> exists and defines struct link_map which has 96 members with an ``lm_'' prefix. (For SunOS.) */ 97 /* #undef HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS */ 98 99 /* Define if <link.h> exists and defines a struct so_map which has 100 members with an ``som_'' prefix. (Found on older *BSD systems.) */ 101 /* #undef HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS */ 102 103 /* Define if <sys/link.h> has struct link_map32 */ 104 /* #undef HAVE_STRUCT_LINK_MAP32 */ 105 106 /* Define if <sys/link.h> has link_map32 (solaris sparc-64 target) */ 107 /* #undef _SYSCALL32 */ 108 109 /* Define if the prfpregset_t type is broken. */ 110 /* #undef PRFPREGSET_T_BROKEN */ 111 112 /* Define if you want to use new multi-fd /proc interface 113 (replaces HAVE_MULTIPLE_PROC_FDS as well as other macros). */ 114 /* #undef NEW_PROC_API */ 115 116 /* Define if ioctl argument PIOCSET is available. */ 117 /* #undef HAVE_PROCFS_PIOCSET */ 118 119 /* Define if the `long long' type works. */ 120 #define CC_HAS_LONG_LONG 1 121 122 /* Define if the "ll" format works to print long long ints. */ 123 #define PRINTF_HAS_LONG_LONG 1 124 125 /* Define if the "%Lg" format works to print long doubles. */ 126 #define PRINTF_HAS_LONG_DOUBLE 1 127 128 /* Define if the "%Lg" format works to scan long doubles. */ 129 #define SCANF_HAS_LONG_DOUBLE 1 130 131 /* Define if using Solaris thread debugging. */ 132 /* #undef HAVE_THREAD_DB_LIB */ 133 134 /* Define on a GNU/Linux system to work around problems in sys/procfs.h. */ 135 /* #undef START_INFERIOR_TRAPS_EXPECTED */ 136 /* #undef sys_quotactl */ 137 138 /* Define if you have HPUX threads */ 139 /* #undef HAVE_HPUX_THREAD_SUPPORT */ 140 141 /* Define if <proc_service.h> on solaris uses int instead of 142 size_t, and assorted other type changes. */ 143 /* #undef PROC_SERVICE_IS_OLD */ 144 145 /* Define if the simulator is being linked in. */ 146 #define WITH_SIM 1 147 148 /* Set to true if the save_state_t structure is present */ 149 /* #undef HAVE_STRUCT_SAVE_STATE_T */ 150 151 /* Set to true if the save_state_t structure has the ss_wide member */ 152 /* #undef HAVE_STRUCT_MEMBER_SS_WIDE */ 153 154 /* Define if <sys/ptrace.h> defines the PTRACE_GETREGS request. */ 155 /* #undef HAVE_PTRACE_GETREGS */ 156 157 /* Define if <sys/ptrace.h> defines the PTRACE_GETFPXREGS request. */ 158 /* #undef HAVE_PTRACE_GETFPXREGS */ 159 160 /* Define if <sys/ptrace.h> defines the PT_GETDBREGS request. */ 161 #define HAVE_PT_GETDBREGS 1 162 163 /* Define if <sys/ptrace.h> defines the PT_GETXMMREGS request. */ 164 /* #undef HAVE_PT_GETXMMREGS */ 165 166 /* Define if libunwind library is being used. */ 167 /* #undef HAVE_LIBUNWIND */ 168 169 /* hostfile */ 170 #define GDB_XM_FILE config/i386/xm-i386.h 171 172 /* targetfile */ 173 #define GDB_TM_FILE config/i386/tm-fbsd.h 174 175 /* nativefile */ 176 #define GDB_NM_FILE config/i386/nm-fbsd.h 177 178 /* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works 179 around a <sys/proc.h> problem on IRIX 5. */ 180 #ifndef _KMEMUSER 181 /* #undef _KMEMUSER */ 182 #endif 183 184 /* Define if you have the __argz_count function. */ 185 /* #undef HAVE___ARGZ_COUNT */ 186 187 /* Define if you have the __argz_next function. */ 188 /* #undef HAVE___ARGZ_NEXT */ 189 190 /* Define if you have the __argz_stringify function. */ 191 /* #undef HAVE___ARGZ_STRINGIFY */ 192 193 /* Define if you have the _mcleanup function. */ 194 #define HAVE__MCLEANUP 1 195 196 /* Define if you have the canonicalize_file_name function. */ 197 /* #undef HAVE_CANONICALIZE_FILE_NAME */ 198 199 /* Define if you have the dcgettext function. */ 200 /* #undef HAVE_DCGETTEXT */ 201 202 /* Define if you have the getcwd function. */ 203 #define HAVE_GETCWD 1 204 205 /* Define if you have the getpagesize function. */ 206 #define HAVE_GETPAGESIZE 1 207 208 /* Define if you have the monstartup function. */ 209 #define HAVE_MONSTARTUP 1 210 211 /* Define if you have the munmap function. */ 212 #define HAVE_MUNMAP 1 213 214 /* Define if you have the poll function. */ 215 #define HAVE_POLL 1 216 217 /* Define if you have the pread64 function. */ 218 /* #undef HAVE_PREAD64 */ 219 220 /* Define if you have the putenv function. */ 221 #define HAVE_PUTENV 1 222 223 /* Define if you have the realpath function. */ 224 #define HAVE_REALPATH 1 225 226 /* Define if you have the sbrk function. */ 227 #define HAVE_SBRK 1 228 229 /* Define if you have the setenv function. */ 230 #define HAVE_SETENV 1 231 232 /* Define if you have the setlocale function. */ 233 #define HAVE_SETLOCALE 1 234 235 /* Define if you have the setpgid function. */ 236 #define HAVE_SETPGID 1 237 238 /* Define if you have the setpgrp function. */ 239 #define HAVE_SETPGRP 1 240 241 /* Define if you have the sigaction function. */ 242 #define HAVE_SIGACTION 1 243 244 /* Define if you have the sigprocmask function. */ 245 #define HAVE_SIGPROCMASK 1 246 247 /* Define if you have the sigsetmask function. */ 248 #define HAVE_SIGSETMASK 1 249 250 /* Define if you have the socketpair function. */ 251 #define HAVE_SOCKETPAIR 1 252 253 /* Define if you have the stpcpy function. */ 254 /* #undef HAVE_STPCPY */ 255 256 /* Define if you have the strcasecmp function. */ 257 #define HAVE_STRCASECMP 1 258 259 /* Define if you have the strchr function. */ 260 #define HAVE_STRCHR 1 261 262 /* Define if you have the syscall function. */ 263 #define HAVE_SYSCALL 1 264 265 /* Define if you have the <argz.h> header file. */ 266 /* #undef HAVE_ARGZ_H */ 267 268 /* Define if you have the <ctype.h> header file. */ 269 #define HAVE_CTYPE_H 1 270 271 /* Define if you have the <curses.h> header file. */ 272 #define HAVE_CURSES_H 1 273 274 /* Define if you have the <dirent.h> header file. */ 275 #define HAVE_DIRENT_H 1 276 277 /* Define if you have the <gnu/libc-version.h> header file. */ 278 /* #undef HAVE_GNU_LIBC_VERSION_H */ 279 280 /* Define if you have the <libunwind-ia64.h> header file. */ 281 /* #undef HAVE_LIBUNWIND_IA64_H */ 282 283 /* Define if you have the <libunwind.h> header file. */ 284 /* #undef HAVE_LIBUNWIND_H */ 285 286 /* Define if you have the <limits.h> header file. */ 287 #define HAVE_LIMITS_H 1 288 289 /* Define if you have the <link.h> header file. */ 290 #define HAVE_LINK_H 1 291 292 /* Define if you have the <locale.h> header file. */ 293 #define HAVE_LOCALE_H 1 294 295 /* Define if you have the <machine/reg.h> header file. */ 296 #define HAVE_MACHINE_REG_H 1 297 298 /* Define if you have the <malloc.h> header file. */ 299 /* #undef HAVE_MALLOC_H */ 300 301 /* Define if you have the <memory.h> header file. */ 302 #define HAVE_MEMORY_H 1 303 304 /* Define if you have the <ncurses.h> header file. */ 305 #define HAVE_NCURSES_H 1 306 307 /* Define if you have the <ndir.h> header file. */ 308 /* #undef HAVE_NDIR_H */ 309 310 /* Define if you have the <nl_types.h> header file. */ 311 #define HAVE_NL_TYPES_H 1 312 313 /* Define if you have the <nlist.h> header file. */ 314 #define HAVE_NLIST_H 1 315 316 /* Define if you have the <poll.h> header file. */ 317 #define HAVE_POLL_H 1 318 319 /* Define if you have the <proc_service.h> header file. */ 320 /* #undef HAVE_PROC_SERVICE_H */ 321 322 /* Define if you have the <ptrace.h> header file. */ 323 /* #undef HAVE_PTRACE_H */ 324 325 /* Define if you have the <sgtty.h> header file. */ 326 #define HAVE_SGTTY_H 1 327 328 /* Define if you have the <stddef.h> header file. */ 329 #define HAVE_STDDEF_H 1 330 331 /* Define if you have the <stdint.h> header file. */ 332 #define HAVE_STDINT_H 1 333 334 /* Define if you have the <stdlib.h> header file. */ 335 #define HAVE_STDLIB_H 1 336 337 /* Define if you have the <string.h> header file. */ 338 #define HAVE_STRING_H 1 339 340 /* Define if you have the <strings.h> header file. */ 341 #define HAVE_STRINGS_H 1 342 343 /* Define if you have the <sys/debugreg.h> header file. */ 344 /* #undef HAVE_SYS_DEBUGREG_H */ 345 346 /* Define if you have the <sys/dir.h> header file. */ 347 /* #undef HAVE_SYS_DIR_H */ 348 349 /* Define if you have the <sys/fault.h> header file. */ 350 /* #undef HAVE_SYS_FAULT_H */ 351 352 /* Define if you have the <sys/file.h> header file. */ 353 #define HAVE_SYS_FILE_H 1 354 355 /* Define if you have the <sys/filio.h> header file. */ 356 #define HAVE_SYS_FILIO_H 1 357 358 /* Define if you have the <sys/ioctl.h> header file. */ 359 #define HAVE_SYS_IOCTL_H 1 360 361 /* Define if you have the <sys/ndir.h> header file. */ 362 /* #undef HAVE_SYS_NDIR_H */ 363 364 /* Define if you have the <sys/param.h> header file. */ 365 #define HAVE_SYS_PARAM_H 1 366 367 /* Define if you have the <sys/poll.h> header file. */ 368 #define HAVE_SYS_POLL_H 1 369 370 /* Define if you have the <sys/proc.h> header file. */ 371 /* #undef HAVE_SYS_PROC_H */ 372 373 /* Define if you have the <sys/procfs.h> header file. */ 374 #define HAVE_SYS_PROCFS_H 1 375 376 /* Define if you have the <sys/ptrace.h> header file. */ 377 #define HAVE_SYS_PTRACE_H 1 378 379 /* Define if you have the <sys/reg.h> header file. */ 380 /* #undef HAVE_SYS_REG_H */ 381 382 /* Define if you have the <sys/select.h> header file. */ 383 #define HAVE_SYS_SELECT_H 1 384 385 /* Define if you have the <sys/syscall.h> header file. */ 386 #define HAVE_SYS_SYSCALL_H 1 387 388 /* Define if you have the <sys/user.h> header file. */ 389 #define HAVE_SYS_USER_H 1 390 391 /* Define if you have the <sys/wait.h> header file. */ 392 #define HAVE_SYS_WAIT_H 1 393 394 /* Define if you have the <term.h> header file. */ 395 #define HAVE_TERM_H 1 396 397 /* Define if you have the <termio.h> header file. */ 398 /* #undef HAVE_TERMIO_H */ 399 400 /* Define if you have the <termios.h> header file. */ 401 #define HAVE_TERMIOS_H 1 402 403 /* Define if you have the <thread_db.h> header file. */ 404 /* #undef HAVE_THREAD_DB_H */ 405 406 /* Define if you have the <time.h> header file. */ 407 #define HAVE_TIME_H 1 408 409 /* Define if you have the <unistd.h> header file. */ 410 #define HAVE_UNISTD_H 1 411 412 /* Define if you have the <values.h> header file. */ 413 /* #undef HAVE_VALUES_H */ 414 415 /* Define if you have the <wait.h> header file. */ 416 /* #undef HAVE_WAIT_H */ 417 418 /* Define if you have the dl library (-ldl). */ 419 /* #undef HAVE_LIBDL */ 420 421 /* Define if you have the m library (-lm). */ 422 #define HAVE_LIBM 1 423 424 /* Define if you have the w library (-lw). */ 425 /* #undef HAVE_LIBW */ 426 427 /* Define if you have the stpcpy function */ 428 /* #undef HAVE_STPCPY */ 429 430 /* Define if your locale.h file contains LC_MESSAGES. */ 431 #define HAVE_LC_MESSAGES 1 432 433 /* Define to 1 if NLS is requested */ 434 /* #undef ENABLE_NLS */ 435 436 /* Define as 1 if you have gettext and don't want to use GNU gettext. */ 437 /* #undef HAVE_GETTEXT */ 438 439 /* Name of this package. */ 440 #define PACKAGE "gdb" 441 442 /* Global directory for separate debug files. */ 443 #define DEBUGDIR "/usr/lib/debug" 444 445 /* Define to BFD's default architecture. */ 446 #define DEFAULT_BFD_ARCH bfd_i386_arch 447 448 /* Define to BFD's default target vector. */ 449 #define DEFAULT_BFD_VEC bfd_elf32_i386_freebsd_vec 450 451 /* Define to 1 if your system has the _etext variable. */ 452 #define HAVE__ETEXT 1 453 454 /* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on 455 Solaris 2.[789] when using GCC. */ 456 /* #undef _MSE_INT_H */ 457 458 /* Define to 1 if we found this declaration otherwise define to 0. */ 459 #define HAVE_DECL_GETOPT 0 460 461 /* Define if sigsetjmp is available. */ 462 #define HAVE_SIGSETJMP 1 463 464 /* Define to 1 if the regex included in libiberty should be used. */ 465 #define USE_INCLUDED_REGEX 1 466 467 /* Define to 1 if your system has td_pcb in struct thread. */ 468 /* #undef HAVE_STRUCT_THREAD_TD_PCB */ 469 470 /* Define to 1 if your system has struct reg in <machine/reg.h>. */ 471 #define HAVE_STRUCT_REG 1 472 473 /* Define if <stdint.h> provides the uintptr_t type. */ 474 #define HAVE_UINTPTR_T 1 475 476 /* Define if malloc is not declared in system header files. */ 477 /* #undef NEED_DECLARATION_MALLOC */ 478 479 /* Define if realloc is not declared in system header files. */ 480 /* #undef NEED_DECLARATION_REALLOC */ 481 482 /* Define if free is not declared in system header files. */ 483 /* #undef NEED_DECLARATION_FREE */ 484 485 /* Define if strerror is not declared in system header files. */ 486 /* #undef NEED_DECLARATION_STRERROR */ 487 488 /* Define if strdup is not declared in system header files. */ 489 /* #undef NEED_DECLARATION_STRDUP */ 490 491 /* Define if strstr is not declared in system header files. */ 492 /* #undef NEED_DECLARATION_STRSTR */ 493 494 /* Define if canonicalize_file_name is not declared in system header files. */ 495 #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1 496 497 /* Define if <sys/procfs.h> has pstatus_t. */ 498 /* #undef HAVE_PSTATUS_T */ 499 500 /* Define if <sys/procfs.h> has prrun_t. */ 501 /* #undef HAVE_PRRUN_T */ 502 503 /* Define if <sys/procfs.h> has gregset_t. */ 504 #define HAVE_GREGSET_T 1 505 506 /* Define if <sys/procfs.h> has fpregset_t. */ 507 #define HAVE_FPREGSET_T 1 508 509 /* Define if <sys/procfs.h> has prgregset_t. */ 510 /* #undef HAVE_PRGREGSET_T */ 511 512 /* Define if <sys/procfs.h> has prfpregset_t. */ 513 #define HAVE_PRFPREGSET_T 1 514 515 /* Define if <sys/procfs.h> has prgregset32_t. */ 516 /* #undef HAVE_PRGREGSET32_T */ 517 518 /* Define if <sys/procfs.h> has prfpregset32_t. */ 519 /* #undef HAVE_PRFPREGSET32_T */ 520 521 /* Define if <sys/procfs.h> has lwpid_t. */ 522 /* #undef HAVE_LWPID_T */ 523 524 /* Define if <sys/procfs.h> has psaddr_t. */ 525 /* #undef HAVE_PSADDR_T */ 526 527 /* Define if <sys/procfs.h> has prsysent_t. */ 528 /* #undef HAVE_PRSYSENT_T */ 529 530 /* Define if <sys/procfs.h> has pr_sigset_t. */ 531 /* #undef HAVE_PR_SIGSET_T */ 532 533 /* Define if <sys/procfs.h> has pr_sigaction64_t. */ 534 /* #undef HAVE_PR_SIGACTION64_T */ 535 536 /* Define if <sys/procfs.h> has pr_siginfo64_t. */ 537 /* #undef HAVE_PR_SIGINFO64_T */ 538 539 /* Define if <thread_db.h> has the TD_NOTALLOC error code. */ 540 /* #undef THREAD_DB_HAS_TD_NOTALLOC */ 541 542 /* Define if we can use the tkill syscall. */ 543 /* #undef HAVE_TKILL_SYSCALL */ 544 545 /* Define to the default OS ABI for this configuration. */ 546 /* #undef GDB_OSABI_DEFAULT */ 547 548 /* Define to be a string naming the default host character set. */ 549 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1" 550 551 /* Define if you have the iconv() function. */ 552 /* #undef HAVE_ICONV */ 553 554 /* Define as const if the declaration of iconv() needs const. */ 555 /* #undef ICONV_CONST */ 556 557