1/* config.h.  Generated automatically by configure.  */
2/* config.hin.  Generated automatically from configure.in by autoheader.  */
3/*
4 * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5 * Use is subject to license terms.
6 */
7
8#ifndef _CONFIG_H
9#define _CONFIG_H
10
11/* Define to empty if the keyword does not work.  */
12/* #undef const */
13
14/* Define if your struct stat has st_blksize.  */
15#define HAVE_ST_BLKSIZE 1
16
17/* Define to `int' if <sys/types.h> doesn't define.  */
18/* #undef mode_t */
19
20/* Define to `long' if <sys/types.h> doesn't define.  */
21/* #undef off_t */
22
23/* Define to `int' if <sys/types.h> doesn't define.  */
24/* #undef pid_t */
25
26/* Define to `unsigned' if <sys/types.h> doesn't define.  */
27/* #undef size_t */
28
29/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
30/* #undef STAT_MACROS_BROKEN */
31
32/* Define if you have the ANSI C header files.  */
33#define STDC_HEADERS 1
34
35/* Define if your processor stores words with the most significant
36   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
37#define WORDS_BIGENDIAN 1
38
39/* Define to `int' if <sys/types.h> doesn't define.  */
40/* #undef ssize_t */
41
42/* Define if you want a debugging version. */
43/* #undef DEBUG */
44
45/* Define if you want a version with run-time diagnostic checking. */
46/* #undef DIAGNOSTIC */
47
48/* Define if you have sigfillset (and sigprocmask). */
49#define HAVE_SIGFILLSET 1
50
51/* Define if building big-file environment (e.g., Solaris, HP/UX). */
52#define HAVE_FILE_OFFSET_BITS 1
53
54/* Define if you have spinlocks. */
55#define HAVE_SPINLOCKS 1
56
57/* Define if you want to use mc68020/gcc assembly spinlocks. */
58/* #undef HAVE_ASSEM_MC68020_GCC */
59
60/* Define if you want to use parisc/gcc assembly spinlocks. */
61/* #undef HAVE_ASSEM_PARISC_GCC */
62
63/* Define if you want to use sco/cc assembly spinlocks. */
64/* #undef HAVE_ASSEM_SCO_CC */
65
66/* Define if you want to use sparc/gcc assembly spinlocks. */
67/* #undef HAVE_ASSEM_SPARC_GCC */
68
69/* Define if you want to use uts4/cc assembly spinlocks. */
70/* #undef HAVE_ASSEM_UTS4_CC */
71
72/* Define if you want to use x86/gcc assembly spinlocks. */
73/* #undef HAVE_ASSEM_X86_GCC */
74
75/* Define if you have the AIX _check_lock spinlocks. */
76/* #undef HAVE_FUNC_AIX */
77
78/* Define if you have the OSF1 or HPPA msemaphore spinlocks. */
79/* #undef HAVE_FUNC_MSEM */
80
81/* Define if you have the SGI abilock_t spinlocks. */
82/* #undef HAVE_FUNC_SGI */
83
84/* Define if you have the ReliantUNIX spinlock_t spinlocks. */
85/* #undef HAVE_FUNC_RELIANT */
86
87/* Define if you have the Solaris mutex_t spinlocks. */
88#define HAVE_FUNC_SOLARIS 1
89
90/* Define if your sprintf returns a pointer, not a length. */
91/* #undef SPRINTF_RET_CHARPNT */
92
93/* Define if you have the getcwd function.  */
94#define HAVE_GETCWD 1
95
96/* Define if you have the getopt function.  */
97#define HAVE_GETOPT 1
98
99/* Define if you have the getuid function.  */
100#define HAVE_GETUID 1
101
102/* Define if you have the memcmp function.  */
103#define HAVE_MEMCMP 1
104
105/* Define if you have the memcpy function.  */
106#define HAVE_MEMCPY 1
107
108/* Define if you have the memmove function.  */
109#define HAVE_MEMMOVE 1
110
111/* Define if you have the mmap function.  */
112#define HAVE_MMAP 1
113
114/* Define if you have the munmap function.  */
115#define HAVE_MUNMAP 1
116
117/* Define if you have the pread function.  */
118#define HAVE_PREAD 1
119
120/* Define if you have the pstat_getdynamic function.  */
121/* #undef HAVE_PSTAT_GETDYNAMIC */
122
123/* Define if you have the qsort function.  */
124#define HAVE_QSORT 1
125
126/* Define if you have the raise function.  */
127#define HAVE_RAISE 1
128
129/* Define if you have the select function.  */
130#define HAVE_SELECT 1
131
132/* Define if you have the shmget function.  */
133#define HAVE_SHMGET 1
134
135/* Define if you have the snprintf function.  */
136#define HAVE_SNPRINTF 1
137
138/* Define if you have the strerror function.  */
139#define HAVE_STRERROR 1
140
141/* Define if you have the strsep function.  */
142#define	HAVE_STRSEP 1
143
144/* Define if you have the sysconf function.  */
145#define HAVE_SYSCONF 1
146
147/* Define if you have the vsnprintf function.  */
148#define HAVE_VSNPRINTF 1
149
150/* Define if you have the <dirent.h> header file.  */
151#define HAVE_DIRENT_H 1
152
153/* Define if you have the <ndir.h> header file.  */
154/* #undef HAVE_NDIR_H */
155
156/* Define if you have the <sys/dir.h> header file.  */
157/* #undef HAVE_SYS_DIR_H */
158
159/* Define if you have the <sys/ndir.h> header file.  */
160/* #undef HAVE_SYS_NDIR_H */
161
162/* Define if you have the <sys/select.h> header file.  */
163#define HAVE_SYS_SELECT_H 1
164
165/* Define if you have the <sys/time.h> header file.  */
166#define HAVE_SYS_TIME_H 1
167
168/*
169 * Don't step on the namespace.  Also, other libraries have real snprintf(3)
170 * implementations, don't want to override them just because they're loaded
171 * after us.
172 */
173#ifndef HAVE_SNPRINTF
174#define	snprintf	__db_snprintf
175#endif
176#ifndef HAVE_VSNPRINTF
177#define	vsnprintf	__db_vsnprintf
178#endif
179
180/*
181 * Big-file configuration.
182 */
183#ifdef	HAVE_FILE_OFFSET_BITS
184#define	_LARGE_FILES				/* AIX specific. */
185#define	_FILE_OFFSET_BITS	64
186#endif
187#endif /* _CONFIG_H */
188