xref: /netbsd-src/external/bsd/bc/dist/config.h (revision ed857e95db3fec367bb6764523110eb0ac99cb49)
1*ed857e95Sphil /* config.h  -- hand edited for NetBSD */
2*ed857e95Sphil #define PACKAGE "bc"
3*ed857e95Sphil 
4*ed857e95Sphil /* Package VERSION number */
5*ed857e95Sphil #define VERSION "nb1.0"
6*ed857e95Sphil 
7*ed857e95Sphil /* COPYRIGHT notice for BC target */
8*ed857e95Sphil #define BC_COPYRIGHT "Copyright (C) 1991-1994, 1997, 2000, 2012-2017 "\
9*ed857e95Sphil         "Free Software Foundation, Inc.\n"\
10*ed857e95Sphil         "Copyright (C) 2004, 2005, 2016-2017 Philip A. Nelson"
11*ed857e95Sphil 
12*ed857e95Sphil /* Define to use the BSD libedit library. */
13*ed857e95Sphil #define LIBEDIT
14*ed857e95Sphil 
15*ed857e95Sphil /* Define to `size_t' if <sys/types.h> and <stddef.h> don't define.  */
16*ed857e95Sphil #define ptrdiff_t size_t
17*ed857e95Sphil 
18*ed857e95Sphil /* Define to 1 if you have the <inttypes.h> header file. */
19*ed857e95Sphil #define HAVE_INTTYPES_H 1
20*ed857e95Sphil 
21*ed857e95Sphil /* Define to 1 if you have the `isgraph' function. */
22*ed857e95Sphil #define HAVE_ISGRAPH 1
23*ed857e95Sphil 
24*ed857e95Sphil /* Define to 1 if you have the <limits.h> header file. */
25*ed857e95Sphil #define HAVE_LIMITS_H 1
26*ed857e95Sphil 
27*ed857e95Sphil /* Define to 1 if you have the <memory.h> header file. */
28*ed857e95Sphil #define HAVE_MEMORY_H 1
29*ed857e95Sphil 
30*ed857e95Sphil /* Define to 1 if you have the `setvbuf' function. */
31*ed857e95Sphil #define HAVE_SETVBUF 1
32*ed857e95Sphil 
33*ed857e95Sphil /* Define to 1 if you have the <stdarg.h> header file. */
34*ed857e95Sphil #define HAVE_STDARG_H 1
35*ed857e95Sphil 
36*ed857e95Sphil /* Define to 1 if you have the <stddef.h> header file. */
37*ed857e95Sphil #define HAVE_STDDEF_H 1
38*ed857e95Sphil 
39*ed857e95Sphil /* Define to 1 if you have the <stdint.h> header file. */
40*ed857e95Sphil #define HAVE_STDINT_H 1
41*ed857e95Sphil 
42*ed857e95Sphil /* Define to 1 if you have the <stdlib.h> header file. */
43*ed857e95Sphil #define HAVE_STDLIB_H 1
44*ed857e95Sphil 
45*ed857e95Sphil /* Define to 1 if you have the <string.h> header file. */
46*ed857e95Sphil #define HAVE_STRING_H 1
47*ed857e95Sphil 
48*ed857e95Sphil /* Define to 1 if you have the <sys/stat.h> header file. */
49*ed857e95Sphil #define HAVE_SYS_STAT_H 1
50*ed857e95Sphil 
51*ed857e95Sphil /* Define to 1 if you have the <sys/types.h> header file. */
52*ed857e95Sphil #define HAVE_SYS_TYPES_H 1
53*ed857e95Sphil 
54*ed857e95Sphil /* Define to 1 if you have the <unistd.h> header file. */
55*ed857e95Sphil #define HAVE_UNISTD_H 1
56*ed857e95Sphil 
57*ed857e95Sphil /* Define to 1 if you have the `vprintf' function. */
58*ed857e95Sphil #define HAVE_VPRINTF 1
59*ed857e95Sphil 
60*ed857e95Sphil /* Define to 1 if you have the ANSI C header files. */
61*ed857e95Sphil #define STDC_HEADERS 1
62*ed857e95Sphil 
63*ed857e95Sphil /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
64*ed857e95Sphil    `char[]'. */
65*ed857e95Sphil #undef YYTEXT_POINTER
66*ed857e95Sphil 
67*ed857e95Sphil /* Define to 2 if the system does not provide POSIX.1 features except with
68*ed857e95Sphil    this defined. */
69*ed857e95Sphil #undef _POSIX_1_SOURCE
70*ed857e95Sphil 
71*ed857e95Sphil /* Define to 1 if you need to in order for `stat' and other things to work. */
72*ed857e95Sphil #undef _POSIX_SOURCE
73*ed857e95Sphil 
74*ed857e95Sphil /* Define to empty if `const' does not conform to ANSI C. */
75*ed857e95Sphil #undef const
76*ed857e95Sphil 
77*ed857e95Sphil /* Define to `size_t' if <sys/types.h> does not define. */
78*ed857e95Sphil #undef ptrdiff_t
79*ed857e95Sphil 
80*ed857e95Sphil /* Define to `unsigned' if <sys/types.h> does not define. */
81*ed857e95Sphil #undef size_t
82*ed857e95Sphil 
83*ed857e95Sphil /* NetBSD bc does not print a welcome! */
84*ed857e95Sphil #define QUIET
85