| 1 | /****************************************************************************
|
|---|
| 2 | * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. *
|
|---|
| 3 | * *
|
|---|
| 4 | * Permission is hereby granted, free of charge, to any person obtaining a *
|
|---|
| 5 | * copy of this software and associated documentation files (the *
|
|---|
| 6 | * "Software"), to deal in the Software without restriction, including *
|
|---|
| 7 | * without limitation the rights to use, copy, modify, merge, publish, *
|
|---|
| 8 | * distribute, distribute with modifications, sublicense, and/or sell *
|
|---|
| 9 | * copies of the Software, and to permit persons to whom the Software is *
|
|---|
| 10 | * furnished to do so, subject to the following conditions: *
|
|---|
| 11 | * *
|
|---|
| 12 | * The above copyright notice and this permission notice shall be included *
|
|---|
| 13 | * in all copies or substantial portions of the Software. *
|
|---|
| 14 | * *
|
|---|
| 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
|---|
| 16 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
|---|
| 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
|---|
| 18 | * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
|---|
| 19 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
|---|
| 20 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
|---|
| 21 | * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
|---|
| 22 | * *
|
|---|
| 23 | * Except as contained in this notice, the name(s) of the above copyright *
|
|---|
| 24 | * holders shall not be used in advertising or otherwise to promote the *
|
|---|
| 25 | * sale, use or other dealings in this Software without prior written *
|
|---|
| 26 | * authorization. *
|
|---|
| 27 | ****************************************************************************/
|
|---|
| 28 |
|
|---|
| 29 | /****************************************************************************
|
|---|
| 30 | * Author: Thomas E. Dickey <dickey@clark.net> 1997 *
|
|---|
| 31 | ****************************************************************************/
|
|---|
| 32 | /*
|
|---|
| 33 | * $Id: ncurses_cfg.hin,v 1.7 2005/01/02 01:26:58 tom Exp $
|
|---|
| 34 | *
|
|---|
| 35 | * This is a template-file used to generate the "ncurses_cfg.h" file.
|
|---|
| 36 | *
|
|---|
| 37 | * Rather than list every definition, the configuration script substitutes the
|
|---|
| 38 | * definitions that it finds using 'sed'. You need a patch (original date
|
|---|
| 39 | * 971222) to autoconf 2.12 or 2.13 to do this.
|
|---|
| 40 | *
|
|---|
| 41 | * See:
|
|---|
| 42 | * http://invisible-island.net/autoconf/
|
|---|
| 43 | * ftp://invisible-island.net/autoconf/
|
|---|
| 44 | */
|
|---|
| 45 | #ifndef NC_CONFIG_H
|
|---|
| 46 | #define NC_CONFIG_H
|
|---|
| 47 |
|
|---|
| 48 | /* stupid - start */
|
|---|
| 49 | #define CC_HAS_INLINE_FUNCS 1
|
|---|
| 50 | #define CC_HAS_PROTOS 1
|
|---|
| 51 | #define CPP_HAS_STATIC_CAST 1
|
|---|
| 52 | #define GCC_NORETURN __attribute__((noreturn))
|
|---|
| 53 | #define GCC_PRINTF 1
|
|---|
| 54 | #define GCC_SCANF 1
|
|---|
| 55 | #define GCC_UNUSED __attribute__((unused))
|
|---|
| 56 | #define HAVE_BIG_CORE 1
|
|---|
| 57 | #define HAVE_CURSES_VERSION 1
|
|---|
| 58 | #define HAVE_DIRENT_H 1
|
|---|
| 59 | #define HAVE_FCNTL_H 1
|
|---|
| 60 | #define HAVE_FORM_H 1
|
|---|
| 61 | #define HAVE_GETCWD 1
|
|---|
| 62 | #define HAVE_GETEGID 1
|
|---|
| 63 | #define HAVE_GETEUID 1
|
|---|
| 64 | #define HAVE_GETOPT_H 1
|
|---|
| 65 | #define HAVE_GETTIMEOFDAY 1
|
|---|
| 66 | #define HAVE_HAS_KEY 1
|
|---|
| 67 | #define HAVE_INTTYPES_H 1
|
|---|
| 68 | #define HAVE_ISASCII 1
|
|---|
| 69 | #define HAVE_ISSETUGID 1
|
|---|
| 70 | #define HAVE_LANGINFO_CODESET 1
|
|---|
| 71 | #define HAVE_LIBFORM 1
|
|---|
| 72 | #define HAVE_LIBMENU 1
|
|---|
| 73 | #define HAVE_LIBPANEL 1
|
|---|
| 74 | #define HAVE_LIMITS_H 1
|
|---|
| 75 | #define HAVE_LOCALE_H 1
|
|---|
| 76 | #define HAVE_LONG_FILE_NAMES 1
|
|---|
| 77 | #define HAVE_MEMORY_H 1
|
|---|
| 78 | #define HAVE_MENU_H 1
|
|---|
| 79 | #define HAVE_MKSTEMP 1
|
|---|
| 80 | #define HAVE_NANOSLEEP 1
|
|---|
| 81 | #define HAVE_NC_ALLOC_H 1
|
|---|
| 82 | #define HAVE_PANEL_H 1
|
|---|
| 83 | #define HAVE_REGEX_H_FUNCS 1
|
|---|
| 84 | #define HAVE_REMOVE 1
|
|---|
| 85 | #define HAVE_REMOVE 1
|
|---|
| 86 | #define HAVE_RESIZETERM 1
|
|---|
| 87 | #define HAVE_RESIZE_TERM 1
|
|---|
| 88 | #define HAVE_SELECT 1
|
|---|
| 89 | #define HAVE_SETBUF 1
|
|---|
| 90 | #define HAVE_SETBUFFER 1
|
|---|
| 91 | #define HAVE_SETVBUF 1
|
|---|
| 92 | #define HAVE_SIGACTION 1
|
|---|
| 93 | #define HAVE_SIGVEC 1
|
|---|
| 94 | #define HAVE_SLK_COLOR 1
|
|---|
| 95 | #define HAVE_STDINT_H 1
|
|---|
| 96 | #define HAVE_STDLIB_H 1
|
|---|
| 97 | #define HAVE_STRDUP 1
|
|---|
| 98 | #define HAVE_STRINGS_H 1
|
|---|
| 99 | #define HAVE_STRING_H 1
|
|---|
| 100 | #define HAVE_STRSTR 1
|
|---|
| 101 | #define HAVE_SYMLINK 1
|
|---|
| 102 | #define HAVE_SYS_IOCTL_H 1
|
|---|
| 103 | #define HAVE_SYS_PARAM_H 1
|
|---|
| 104 | #define HAVE_SYS_SELECT_H 1
|
|---|
| 105 | #define HAVE_SYS_STAT_H 1
|
|---|
| 106 | #define HAVE_SYS_TIMES_H 1
|
|---|
| 107 | #define HAVE_SYS_TIME_H 1
|
|---|
| 108 | #define HAVE_SYS_TIME_SELECT 1
|
|---|
| 109 | #define HAVE_SYS_TYPES_H 1
|
|---|
| 110 | #define HAVE_TCGETATTR 1
|
|---|
| 111 | #define HAVE_TCGETPGRP 1
|
|---|
| 112 | #define HAVE_TERMIOS_H 1
|
|---|
| 113 | #define HAVE_TERMIO_H 1
|
|---|
| 114 | #define HAVE_TIMES 1
|
|---|
| 115 | #define HAVE_TYPEINFO 1
|
|---|
| 116 | #define HAVE_UNISTD_H 1
|
|---|
| 117 | #define HAVE_UNISTD_H 1
|
|---|
| 118 | #define HAVE_UNISTD_H 1
|
|---|
| 119 | #define HAVE_UNLINK 1
|
|---|
| 120 | #define HAVE_USE_DEFAULT_COLORS 1
|
|---|
| 121 | #define HAVE_VSNPRINTF 1
|
|---|
| 122 | #define HAVE_VSSCANF 1
|
|---|
| 123 | #define HAVE_WCTYPE_H 1
|
|---|
| 124 | #define HAVE_WRESIZE 1
|
|---|
| 125 | #define NCURSES_EXT_FUNCS 1
|
|---|
| 126 | #define NCURSES_NO_PADDING 1
|
|---|
| 127 | #define NCURSES_PATHSEP ';'
|
|---|
| 128 | #define NCURSES_VERSION_STRING "5.5.20051010"
|
|---|
| 129 | #define NDEBUG 1
|
|---|
| 130 | #define PACKAGE_BUGREPORT ""
|
|---|
| 131 | #define PACKAGE_NAME ""
|
|---|
| 132 | #define PACKAGE_STRING ""
|
|---|
| 133 | #define PACKAGE_TARNAME ""
|
|---|
| 134 | #define PACKAGE_VERSION ""
|
|---|
| 135 | #define PROG_EXT ".exe"
|
|---|
| 136 | #define PROTOTYPES 1
|
|---|
| 137 | #define PURE_TERMINFO 1
|
|---|
| 138 | #define RETSIGTYPE void
|
|---|
| 139 | #define STDC_HEADERS 1
|
|---|
| 140 | #define STDC_HEADERS 1
|
|---|
| 141 | #define SYSTEM_NAME "os2-emx"
|
|---|
| 142 | #define TERMINFO "/@unixroot/usr/share/terminfo"
|
|---|
| 143 | #define TERMINFO_DIRS "/@unixroot/usr/share/terminfo"
|
|---|
| 144 | #define TIME_WITH_SYS_TIME 1
|
|---|
| 145 | #define TYPEOF_CHTYPE long
|
|---|
| 146 | #define USE_ASSUMED_COLOR 1
|
|---|
| 147 | #define USE_DATABASE 1
|
|---|
| 148 | #define USE_HASHMAP 1
|
|---|
| 149 | #define USE_HOME_TERMINFO 1
|
|---|
| 150 | #define USE_ROOT_ENVIRON 1
|
|---|
| 151 | #define USE_SIGWINCH 1
|
|---|
| 152 | #define USE_SYMLINKS 1
|
|---|
| 153 | #define __PROTOTYPES 1
|
|---|
| 154 | /* stupid - end */
|
|---|
| 155 |
|
|---|
| 156 | #include <ncurses_def.h>
|
|---|
| 157 |
|
|---|
| 158 | /* The C compiler may not treat these properly but C++ has to */
|
|---|
| 159 | #ifdef __cplusplus
|
|---|
| 160 | #undef const
|
|---|
| 161 | #undef inline
|
|---|
| 162 | #else
|
|---|
| 163 | #if defined(lint) || defined(TRACE)
|
|---|
| 164 | #undef inline
|
|---|
| 165 | #define inline /* nothing */
|
|---|
| 166 | #endif
|
|---|
| 167 | #endif
|
|---|
| 168 |
|
|---|
| 169 | /* On HP-UX, the C compiler doesn't grok mbstate_t without
|
|---|
| 170 | -D_XOPEN_SOURCE=500. However, this causes problems on
|
|---|
| 171 | IRIX. So, we #define mbstate_t to int in configure.in
|
|---|
| 172 | only for the C compiler if needed. */
|
|---|
| 173 | #ifndef __cplusplus
|
|---|
| 174 | #ifdef NEED_MBSTATE_T_DEF
|
|---|
| 175 | #define mbstate_t int
|
|---|
| 176 | #endif
|
|---|
| 177 | #endif
|
|---|
| 178 |
|
|---|
| 179 | #endif /* NC_CONFIG_H */
|
|---|