~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to scripts/conf-riscos/include/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2006-01-24 04:31:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060124043142-pbg192or6qxv3yk2
Tags: 1.9.20-1
* New Upstream version. Closes:#306890,#344530
  * Closes:#320490: gpg-protect-tool fails to decrypt PKCS-12 files 
* Depend on libopensc2-dev, not -1-. Closes:#348106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* config.h - hand edited by Stefan Bellon to suit RISC OS needs
 
2
 *      Copyright (C) 2001 Free Software Foundation, Inc.
 
3
 *
 
4
 * This file is part of GNUPG.
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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
 
19
 */
 
20
#ifndef G10_CONFIG_H
 
21
#define G10_CONFIG_H
 
22
 
 
23
/* need this, because some autoconf tests rely on this (e.g. stpcpy)
 
24
 * and it should be used for new programs
 
25
 */
 
26
#define _GNU_SOURCE  1
 
27
 
 
28
 
 
29
/* Define if using alloca.c.  */
 
30
#undef C_ALLOCA
 
31
 
 
32
/* Define to empty if the keyword does not work.  */
 
33
/* #undef const */
 
34
 
 
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
 
38
 
 
39
/* Define if you have alloca, as a function or macro.  */
 
40
/* #undef HAVE_ALLOCA */
 
41
#define HAVE_ALLOCA 1
 
42
 
 
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
 
46
 
 
47
/* #undef _LIBC */
 
48
 
 
49
/* Define if you don't have vprintf but do have _doprnt.  */
 
50
#undef HAVE_DOPRNT
 
51
 
 
52
/* Define if you have the vprintf function.  */
 
53
#define HAVE_VPRINTF 1
 
54
 
 
55
/* Define to `long' if <sys/types.h> doesn't define.  */
 
56
#undef off_t
 
57
 
 
58
/* Define if you need to in order for stat and other things to work.  */
 
59
#undef _POSIX_SOURCE
 
60
 
 
61
/* Define as the return type of signal handlers (int or void).  */
 
62
#define RETSIGTYPE void
 
63
 
 
64
/* Define to `unsigned' if <sys/types.h> doesn't define.  */
 
65
#define size_t unsigned int
 
66
 
 
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
 
73
 */
 
74
#undef STACK_DIRECTION
 
75
 
 
76
/* Define if you have the ANSI C header files.  */
 
77
#define STDC_HEADERS 1
 
78
 
 
79
/* Define if `sys_siglist' is declared by <signal.h>.  */
 
80
#define SYS_SIGLIST_DECLARED 1
 
81
 
 
82
#undef M_DEBUG
 
83
#undef M_GUARD
 
84
#define PRINTABLE_OS_NAME "RISC OS"
 
85
 
 
86
/* Define if your locale.h file contains LC_MESSAGES.  */
 
87
#define HAVE_LC_MESSAGES 1
 
88
 
 
89
/* Define to 1 if NLS is requested.  */
 
90
#define ENABLE_NLS 1
 
91
 
 
92
/* Define as 1 if you have catgets and don't want to use GNU gettext.  */
 
93
#undef HAVE_CATGETS
 
94
 
 
95
/* Define as 1 if you have gettext and don't want to use GNU gettext.  */
 
96
#undef HAVE_GETTEXT
 
97
 
 
98
#undef BIG_ENDIAN_HOST
 
99
#define LITTLE_ENDIAN_HOST 1
 
100
 
 
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
 
106
 
 
107
#undef HAVE_BROKEN_MLOCK
 
108
 
 
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
 
116
 
 
117
/* see cipher/rndegd.c */
 
118
#undef EGD_SOCKET_NAME
 
119
 
 
120
#undef USE_DYNAMIC_LINKING
 
121
#undef HAVE_DL_DLOPEN
 
122
#undef HAVE_DL_SHL_LOAD
 
123
#undef HAVE_DLD_DLD_LINK
 
124
 
 
125
#undef USE_SHM_COPROCESSING
 
126
 
 
127
#undef IPC_HAVE_SHM_LOCK
 
128
#undef IPC_RMID_DEFERRED_RELEASE
 
129
 
 
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
 
139
 * of gettext */
 
140
#undef USE_SIMPLE_GETTEXT
 
141
/* At some point in the system we need to know that we use the Windows
 
142
 * random module. */
 
143
#undef USE_STATIC_RNDW32
 
144
 
 
145
#undef USE_CAPABILITIES
 
146
 
 
147
/* Some systems have mkdir that takes a single argument. */
 
148
#undef MKDIR_TAKES_ONE_ARG
 
149
 
 
150
/* The number of bytes in a unsigned int.  */
 
151
#define SIZEOF_UNSIGNED_INT 4
 
152
 
 
153
/* The number of bytes in a unsigned long.  */
 
154
#define SIZEOF_UNSIGNED_LONG 4
 
155
 
 
156
/* The number of bytes in a unsigned long long.  */
 
157
#define SIZEOF_UNSIGNED_LONG_LONG 0
 
158
 
 
159
/* The number of bytes in a unsigned short.  */
 
160
#define SIZEOF_UNSIGNED_SHORT 2
 
161
 
 
162
/* Define if you have the __argz_count function.  */
 
163
#undef HAVE___ARGZ_COUNT
 
164
 
 
165
/* Define if you have the __argz_next function.  */
 
166
#undef HAVE___ARGZ_NEXT
 
167
 
 
168
/* Define if you have the __argz_stringify function.  */
 
169
#undef HAVE___ARGZ_STRINGIFY
 
170
 
 
171
/* Define if you have the atexit function.  */
 
172
#define HAVE_ATEXIT 1
 
173
 
 
174
/* Define if you have the clock_gettime function.  */
 
175
#undef HAVE_CLOCK_GETTIME
 
176
 
 
177
/* Define if you have the dcgettext function.  */
 
178
#undef HAVE_DCGETTEXT
 
179
 
 
180
/* Define if you have the dlopen function.  */
 
181
#undef HAVE_DLOPEN
 
182
 
 
183
/* Define if you have the fopen64 function.  */
 
184
#undef HAVE_FOPEN64
 
185
 
 
186
/* Define if you have the fstat64 function.  */
 
187
#undef HAVE_FSTAT64
 
188
 
 
189
/* Define if you have the getcwd function.  */
 
190
#define HAVE_GETCWD 1
 
191
 
 
192
/* Define if you have the gethrtime function.  */
 
193
#undef HAVE_GETHRTIME
 
194
 
 
195
/* Define if you have the getpagesize function.  */
 
196
#define HAVE_GETPAGESIZE 1
 
197
 
 
198
/* Define if you have the getrusage function.  */
 
199
#define HAVE_GETRUSAGE 1
 
200
 
 
201
/* Define if you have the gettimeofday function.  */
 
202
#define HAVE_GETTIMEOFDAY 1
 
203
 
 
204
/* Define if you have the memicmp function.  */
 
205
#undef HAVE_MEMICMP
 
206
 
 
207
/* Define if you have the memmove function.  */
 
208
#define HAVE_MEMMOVE 1
 
209
 
 
210
/* Define if you have the mlock function.  */
 
211
#undef HAVE_MLOCK
 
212
 
 
213
/* Define if you have the mmap function.  */
 
214
#undef HAVE_MMAP
 
215
 
 
216
/* Define if you have the munmap function.  */
 
217
#undef HAVE_MUNMAP
 
218
 
 
219
/* Define if you have the nl_langinfo function.  */
 
220
#undef HAVE_NL_LANGINFO
 
221
 
 
222
/* Define if you have the putenv function.  */
 
223
#define HAVE_PUTENV 1
 
224
 
 
225
/* Define if you have the raise function.  */
 
226
#define HAVE_RAISE 1
 
227
 
 
228
/* Define if you have the rand function.  */
 
229
#define HAVE_RAND 1
 
230
 
 
231
/* Define if you have the setenv function.  */
 
232
#define HAVE_SETENV 1
 
233
 
 
234
/* Define if you have the setlocale function.  */
 
235
#define HAVE_SETLOCALE 1
 
236
 
 
237
/* Define if you have the setrlimit function.  */
 
238
#define HAVE_SETRLIMIT 1
 
239
 
 
240
/* Define if you have the sigaction function.  */
 
241
#define HAVE_SIGACTION 1
 
242
 
 
243
/* Define if you have the sigprocmask function.  */
 
244
#define HAVE_SIGPROCMASK 1
 
245
 
 
246
/* Define if you have the stpcpy function.  */
 
247
#define HAVE_STPCPY 1
 
248
 
 
249
/* Define if you have the strcasecmp function.  */
 
250
#define HAVE_STRCASECMP 1
 
251
 
 
252
/* Define if you have the strchr function.  */
 
253
#define HAVE_STRCHR 1
 
254
 
 
255
/* Define if you have the strdup function.  */
 
256
#define HAVE_STRDUP 1
 
257
 
 
258
/* Define if you have the strerror function.  */
 
259
#define HAVE_STRERROR 1
 
260
 
 
261
/* Define if you have the strftime function.  */
 
262
#define HAVE_STRFTIME 1
 
263
 
 
264
/* Define if you have the stricmp function.  */
 
265
#define HAVE_STRICMP 1
 
266
 
 
267
/* Define if you have the strlwr function.  */
 
268
#undef HAVE_STRLWR
 
269
 
 
270
/* Define if you have the strtoul function.  */
 
271
#define HAVE_STRTOUL 1
 
272
 
 
273
/* Define if you have the tcgetattr function.  */
 
274
#undef HAVE_TCGETATTR
 
275
 
 
276
/* Define if you have the wait4 function.  */
 
277
#define HAVE_WAIT4 1
 
278
 
 
279
/* Define if you have the waitpid function.  */
 
280
#define HAVE_WAITPID 1
 
281
 
 
282
/* Define if you have the <argz.h> header file.  */
 
283
#undef HAVE_ARGZ_H
 
284
 
 
285
/* Define if you have the <direct.h> header file.  */
 
286
#undef HAVE_DIRECT_H
 
287
 
 
288
/* Define if you have the <gdbm.h> header file.  */
 
289
#undef HAVE_GDBM_H
 
290
 
 
291
/* Define if you have the <langinfo.h> header file.  */
 
292
#undef HAVE_LANGINFO_H
 
293
 
 
294
/* Define if you have the <limits.h> header file.  */
 
295
#define HAVE_LIMITS_H 1
 
296
 
 
297
/* Define if you have the <linux/random.h> header file.  */
 
298
#undef HAVE_LINUX_RANDOM_H
 
299
 
 
300
/* Define if you have the <locale.h> header file.  */
 
301
#define HAVE_LOCALE_H 1
 
302
 
 
303
/* Define if you have the <malloc.h> header file.  */
 
304
#define HAVE_MALLOC_H 1
 
305
 
 
306
/* Define if you have the <nl_types.h> header file.  */
 
307
#undef HAVE_NL_TYPES_H
 
308
 
 
309
/* Define if you have the <string.h> header file.  */
 
310
#define HAVE_STRING_H 1
 
311
 
 
312
/* Define if you have the <sys/capability.h> header file.  */
 
313
#undef HAVE_SYS_CAPABILITY_H
 
314
 
 
315
/* Define if you have the <sys/ipc.h> header file.  */
 
316
#undef HAVE_SYS_IPC_H
 
317
 
 
318
/* Define if you have the <sys/mman.h> header file.  */
 
319
#define HAVE_SYS_MMAN_H 1
 
320
 
 
321
/* Define if you have the <sys/param.h> header file.  */
 
322
#define HAVE_SYS_PARAM_H 1
 
323
 
 
324
/* Define if you have the <sys/shm.h> header file.  */
 
325
#undef HAVE_SYS_SHM_H
 
326
 
 
327
/* Define if you have the <sys/stat.h> header file.  */
 
328
#define HAVE_SYS_STAT_H 1
 
329
 
 
330
/* Define if you have the <termio.h> header file.  */
 
331
#undef HAVE_TERMIO_H
 
332
 
 
333
/* Define if you have the <unistd.h> header file.  */
 
334
#define HAVE_UNISTD_H 1
 
335
 
 
336
/* Define if you have the <zlib.h> header file.  */
 
337
#define HAVE_ZLIB_H 1
 
338
 
 
339
/* Define if you have the dl library (-ldl).  */
 
340
#undef HAVE_LIBDL
 
341
 
 
342
/* Define if you have the dld library (-ldld).  */
 
343
#undef HAVE_LIBDLD
 
344
 
 
345
/* Define if you have the gdbm library (-lgdbm).  */
 
346
#undef HAVE_LIBGDBM
 
347
 
 
348
/* Define if you have the i library (-li).  */
 
349
#undef HAVE_LIBI
 
350
 
 
351
/* Define if you have the nsl library (-lnsl).  */
 
352
#undef HAVE_LIBNSL
 
353
 
 
354
/* Define if you have the rt library (-lrt).  */
 
355
#undef HAVE_LIBRT
 
356
 
 
357
/* Name of package */
 
358
#define PACKAGE "GnuPG"
 
359
 
 
360
 
 
361
/* define if compiled symbols have a leading underscore */
 
362
#define WITH_SYMBOL_UNDERSCORE 1
 
363
 
 
364
#ifdef IS_DEVELOPMENT_VERSION
 
365
  #define DEBUG 1
 
366
/*  #define M_DEBUG */
 
367
  #define M_GUARD 1
 
368
#endif
 
369
 
 
370
#define USE_RNDRISCOS 1
 
371
 
 
372
/* RISC OS specifica */
 
373
#if (__CC_NORCROFT == 1) /* Norcroft */
 
374
# undef __GNUC__
 
375
# define __GNUC_MINOR__ 0
 
376
# define __GLIBC__ 0
 
377
# define __attribute__(x) 
 
378
# if (__CC_NORCROFT_VERSION < 544) /* old version of Norcroft */
 
379
#  define inline __inline
 
380
#  define STR(a) #a
 
381
#  define __func__ "[" __FILE__ ":" STR(__LINE__) "]"
 
382
# endif
 
383
#else /* gcc */
 
384
#endif
 
385
 
 
386
/* #define USE_EXTERNAL_HKP */
 
387
 
 
388
#include "g10defs.h"
 
389
 
 
390
#endif /*G10_CONFIG_H*/