blob: 2571de11780da384d317ad0cb970208c4336db5c [file] [log] [blame]
Alexandre Lision7fd5d3d2013-12-04 13:06:40 -05001/*
2 * bnconfig.h.cmake -- Configuration file for BigNum library.
3 *
4 * cmake processes this file.
5 */
6#ifndef _BNCONFIG_H
7#define _BNCONFIG_H
8
9/* Checks for the presence and absence of various header files */
10#cmakedefine HAVE_ASSERT_H 1
11#define NO_ASSERT_H !HAVE_ASSERT_H
12
13#cmakedefine HAVE_LIMITS_H 1
14#define NO_LIMITS_H !HAVE_LIMITS_H
15
16#cmakedefine HAVE_STDLIB_H 1
17#define NO_STDLIB_H !HAVE_STDLIB_H
18
19#cmakedefine HAVE_STRING_H 1
20#define NO_STRING_H !HAVE_STRING_H
21
22#cmakedefine HAVE_STRINGS_H 1
23
24#cmakedefine NEED_MEMORY_H 1
25
26/* We go to some trouble to find accurate times... */
27
28/* Define if you have Posix.4 glock_gettime() */
29#cmakedefine HAVE_CLOCK_GETTIME 1
30/* Define if you have Solaris-style gethrvtime() */
31#cmakedefine HAVE_GETHRVTIME 1
32/* Define if you have getrusage() */
33#cmakedefine HAVE_GETRUSAGE 1
34/* Define if you have clock() */
35#cmakedefine HAVE_CLOCK 1
36/* Define if you have time() */
37#cmakedefine HAVE_TIME 1
38
39/*
40 * Define as 0 if #including <sys/time.h> automatically
41 * #includes <time.h>, and doing so explicitly causes an
42 * error.
43 */
44#define TIME_WITH_SYS_TIME 0
45
46/* Defines for various kinds of library brokenness */
47
48/* Define if <stdio.h> is missing prototypes (= lots of warnings!) */
49#cmakedefine NO_STDIO_PROTOS 1
50
51/* Define if <assert.h> depends on <stdio.h> and breaks without it */
52#cmakedefine ASSERT_NEEDS_STDIO 1
53/* Define if <assert.h> depends on <stdlib.h> and complains without it */
54#cmakedefine ASSERT_NEEDS_STDLIB 1
55
56/*
57 * Define if <string.h> delcares the mem* functions to take char *
58 * instead of void * parameters (= lots of warnings)
59 */
60#cmakedefine MEM_PROTOS_BROKEN 1
61
62/* If not available, bcopy() is substituted */
63#cmakedefine HAVE_MEMMOVE 1
64#define NO_MEMMOVE !HAVE_MEMMOVE
65#cmakedefine HAVE_MEMCPY 1
66#define NO_MEMCPY !HAVE_MEMCPY
67
68#endif /* _BNCONFIG_H */