1
/* config.h - hand edited by Stefan Bellon to suit RISC OS needs
2
* Copyright (C) 2001 Free Software Foundation, Inc.
4
* This file is part of GNUPG.
6
* GNUPG is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* GNUPG is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
23
/* need this, because some autoconf tests rely on this (e.g. stpcpy)
24
* and it should be used for new programs
29
/* Define if using alloca.c. */
32
/* Define to empty if the keyword does not work. */
35
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
36
This function is required for alloca.c support on those systems. */
37
#undef CRAY_STACKSEG_END
39
/* Define if you have alloca, as a function or macro. */
40
/* #undef HAVE_ALLOCA */
43
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
44
/* #undef HAVE_ALLOCA_H */
45
#define HAVE_ALLOCA_H 1
49
/* Define if you don't have vprintf but do have _doprnt. */
52
/* Define if you have the vprintf function. */
53
#define HAVE_VPRINTF 1
55
/* Define to `long' if <sys/types.h> doesn't define. */
58
/* Define if you need to in order for stat and other things to work. */
61
/* Define as the return type of signal handlers (int or void). */
62
#define RETSIGTYPE void
64
/* Define to `unsigned' if <sys/types.h> doesn't define. */
65
#define size_t unsigned int
67
/* If using the C implementation of alloca, define if you know the
68
direction of stack growth for your system; otherwise it will be
69
automatically deduced at run-time.
70
STACK_DIRECTION > 0 => grows toward higher addresses
71
STACK_DIRECTION < 0 => grows toward lower addresses
72
STACK_DIRECTION = 0 => direction of growth unknown
74
#undef STACK_DIRECTION
76
/* Define if you have the ANSI C header files. */
77
#define STDC_HEADERS 1
79
/* Define if `sys_siglist' is declared by <signal.h>. */
80
#define SYS_SIGLIST_DECLARED 1
84
#define PRINTABLE_OS_NAME "RISC OS"
86
/* Define if your locale.h file contains LC_MESSAGES. */
87
#define HAVE_LC_MESSAGES 1
89
/* Define to 1 if NLS is requested. */
92
/* Define as 1 if you have catgets and don't want to use GNU gettext. */
95
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
98
#undef BIG_ENDIAN_HOST
99
#define LITTLE_ENDIAN_HOST 1
101
#undef HAVE_BYTE_TYPEDEF
102
#undef HAVE_USHORT_TYPEDEF
103
#undef HAVE_ULONG_TYPEDEF
104
#undef HAVE_U16_TYPEDEF
105
#undef HAVE_U32_TYPEDEF
107
#undef HAVE_BROKEN_MLOCK
109
/* defined if we have a /dev/random and /dev/urandom */
110
#undef HAVE_DEV_RANDOM
111
/* and the real names of the random devices */
112
#undef NAME_OF_DEV_RANDOM
113
#undef NAME_OF_DEV_URANDOM
114
/* Linux has an ioctl */
115
#undef HAVE_DEV_RANDOM_IOCTL
117
/* see cipher/rndegd.c */
118
#undef EGD_SOCKET_NAME
120
#undef USE_DYNAMIC_LINKING
121
#undef HAVE_DL_DLOPEN
122
#undef HAVE_DL_SHL_LOAD
123
#undef HAVE_DLD_DLD_LINK
125
#undef USE_SHM_COPROCESSING
127
#undef IPC_HAVE_SHM_LOCK
128
#undef IPC_RMID_DEFERRED_RELEASE
130
/* set this to limit filenames to the 8.3 format */
131
#undef USE_ONLY_8DOT3
132
/* defined if we must run on a stupid file system */
133
#undef HAVE_DRIVE_LETTERS
134
/* defined if we run on some of the PCDOS like systems (DOS, Windoze. OS/2)
135
* with special properties like no file modes */
136
#undef HAVE_DOSISH_SYSTEM
137
/* because the Unix gettext has to much overhead on MingW32 systems
138
* and these systems lack Posix functions, we use a simplified version
140
#undef USE_SIMPLE_GETTEXT
141
/* At some point in the system we need to know that we use the Windows
143
#undef USE_STATIC_RNDW32
145
#undef USE_CAPABILITIES
147
/* Some systems have mkdir that takes a single argument. */
148
#undef MKDIR_TAKES_ONE_ARG
150
/* The number of bytes in a unsigned int. */
151
#define SIZEOF_UNSIGNED_INT 4
153
/* The number of bytes in a unsigned long. */
154
#define SIZEOF_UNSIGNED_LONG 4
156
/* The number of bytes in a unsigned long long. */
157
#define SIZEOF_UNSIGNED_LONG_LONG 0
159
/* The number of bytes in a unsigned short. */
160
#define SIZEOF_UNSIGNED_SHORT 2
162
/* Define if you have the __argz_count function. */
163
#undef HAVE___ARGZ_COUNT
165
/* Define if you have the __argz_next function. */
166
#undef HAVE___ARGZ_NEXT
168
/* Define if you have the __argz_stringify function. */
169
#undef HAVE___ARGZ_STRINGIFY
171
/* Define if you have the atexit function. */
172
#define HAVE_ATEXIT 1
174
/* Define if you have the clock_gettime function. */
175
#undef HAVE_CLOCK_GETTIME
177
/* Define if you have the dcgettext function. */
178
#undef HAVE_DCGETTEXT
180
/* Define if you have the dlopen function. */
183
/* Define if you have the fopen64 function. */
186
/* Define if you have the fstat64 function. */
189
/* Define if you have the getcwd function. */
190
#define HAVE_GETCWD 1
192
/* Define if you have the gethrtime function. */
193
#undef HAVE_GETHRTIME
195
/* Define if you have the getpagesize function. */
196
#define HAVE_GETPAGESIZE 1
198
/* Define if you have the getrusage function. */
199
#define HAVE_GETRUSAGE 1
201
/* Define if you have the gettimeofday function. */
202
#define HAVE_GETTIMEOFDAY 1
204
/* Define if you have the memicmp function. */
207
/* Define if you have the memmove function. */
208
#define HAVE_MEMMOVE 1
210
/* Define if you have the mlock function. */
213
/* Define if you have the mmap function. */
216
/* Define if you have the munmap function. */
219
/* Define if you have the nl_langinfo function. */
220
#undef HAVE_NL_LANGINFO
222
/* Define if you have the putenv function. */
223
#define HAVE_PUTENV 1
225
/* Define if you have the raise function. */
228
/* Define if you have the rand function. */
231
/* Define if you have the setenv function. */
232
#define HAVE_SETENV 1
234
/* Define if you have the setlocale function. */
235
#define HAVE_SETLOCALE 1
237
/* Define if you have the setrlimit function. */
238
#define HAVE_SETRLIMIT 1
240
/* Define if you have the sigaction function. */
241
#define HAVE_SIGACTION 1
243
/* Define if you have the sigprocmask function. */
244
#define HAVE_SIGPROCMASK 1
246
/* Define if you have the stpcpy function. */
247
#define HAVE_STPCPY 1
249
/* Define if you have the strcasecmp function. */
250
#define HAVE_STRCASECMP 1
252
/* Define if you have the strchr function. */
253
#define HAVE_STRCHR 1
255
/* Define if you have the strdup function. */
256
#define HAVE_STRDUP 1
258
/* Define if you have the strerror function. */
259
#define HAVE_STRERROR 1
261
/* Define if you have the strftime function. */
262
#define HAVE_STRFTIME 1
264
/* Define if you have the stricmp function. */
265
#define HAVE_STRICMP 1
267
/* Define if you have the strlwr function. */
270
/* Define if you have the strtoul function. */
271
#define HAVE_STRTOUL 1
273
/* Define if you have the tcgetattr function. */
274
#undef HAVE_TCGETATTR
276
/* Define if you have the wait4 function. */
279
/* Define if you have the waitpid function. */
280
#define HAVE_WAITPID 1
282
/* Define if you have the <argz.h> header file. */
285
/* Define if you have the <direct.h> header file. */
288
/* Define if you have the <gdbm.h> header file. */
291
/* Define if you have the <langinfo.h> header file. */
292
#undef HAVE_LANGINFO_H
294
/* Define if you have the <limits.h> header file. */
295
#define HAVE_LIMITS_H 1
297
/* Define if you have the <linux/random.h> header file. */
298
#undef HAVE_LINUX_RANDOM_H
300
/* Define if you have the <locale.h> header file. */
301
#define HAVE_LOCALE_H 1
303
/* Define if you have the <malloc.h> header file. */
304
#define HAVE_MALLOC_H 1
306
/* Define if you have the <nl_types.h> header file. */
307
#undef HAVE_NL_TYPES_H
309
/* Define if you have the <string.h> header file. */
310
#define HAVE_STRING_H 1
312
/* Define if you have the <sys/capability.h> header file. */
313
#undef HAVE_SYS_CAPABILITY_H
315
/* Define if you have the <sys/ipc.h> header file. */
316
#undef HAVE_SYS_IPC_H
318
/* Define if you have the <sys/mman.h> header file. */
319
#define HAVE_SYS_MMAN_H 1
321
/* Define if you have the <sys/param.h> header file. */
322
#define HAVE_SYS_PARAM_H 1
324
/* Define if you have the <sys/shm.h> header file. */
325
#undef HAVE_SYS_SHM_H
327
/* Define if you have the <sys/stat.h> header file. */
328
#define HAVE_SYS_STAT_H 1
330
/* Define if you have the <termio.h> header file. */
333
/* Define if you have the <unistd.h> header file. */
334
#define HAVE_UNISTD_H 1
336
/* Define if you have the <zlib.h> header file. */
337
#define HAVE_ZLIB_H 1
339
/* Define if you have the dl library (-ldl). */
342
/* Define if you have the dld library (-ldld). */
345
/* Define if you have the gdbm library (-lgdbm). */
348
/* Define if you have the i library (-li). */
351
/* Define if you have the nsl library (-lnsl). */
354
/* Define if you have the rt library (-lrt). */
357
/* Name of package */
358
#define PACKAGE "GnuPG"
361
/* define if compiled symbols have a leading underscore */
362
#define WITH_SYMBOL_UNDERSCORE 1
364
#ifdef IS_DEVELOPMENT_VERSION
366
/* #define M_DEBUG */
370
#define USE_RNDRISCOS 1
372
/* RISC OS specifica */
373
#if (__CC_NORCROFT == 1) /* Norcroft */
375
# define __GNUC_MINOR__ 0
377
# define __attribute__(x)
378
# if (__CC_NORCROFT_VERSION < 544) /* old version of Norcroft */
379
# define inline __inline
381
# define __func__ "[" __FILE__ ":" STR(__LINE__) "]"
386
/* #define USE_EXTERNAL_HKP */
390
#endif /*G10_CONFIG_H*/