1/* common/config.h.in.  Generated from etc/configure.ac by autoheader.  */
2
3/*
4 *      aegis - project change supervisor
5 *      Copyright (C) 1991-2008, 2010, 2012 Peter Miller
6 *
7 *      This program is free software; you can redistribute it and/or modify
8 *      it under the terms of the GNU General Public License as published by
9 *      the Free Software Foundation; either version 3 of the License, or
10 *      (at your option) any later version.
11 *
12 *      This program is distributed in the hope that it will be useful,
13 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *      GNU General Public License for more details.
16 *
17 *      You should have received a copy of the GNU General Public License
18 *      along with this program. If not, see
19 *      <http://www.gnu.org/licenses/>.
20 */
21
22#ifndef COMMON_CONFIG_H
23#define COMMON_CONFIG_H
24
25
26/* Set this to be the absolute path of the GNU diff command. */
27#undef CONF_DIFF
28
29/* Set this to be the absolute path of the GNU diff command. */
30#undef CONF_PATCH
31
32/* Set this to be the absolute path of a Perl interpreter. */
33#undef CONF_PERL
34
35/* Set this to be the absolute path of a Bourne shell which understands
36   functions. */
37#undef CONF_SHELL
38
39/* Set this to a suitable argument for the getpgrp function to discover the
40   process group of the current process. */
41#undef CONF_getpgrp_arg
42
43/* Define to 1 if you have the `backtrace' function. */
44#undef HAVE_BACKTRACE
45
46/* Define to 1 if you have the <bits/c++locale.h> header file. */
47#undef HAVE_BITS_C__LOCALE_H
48
49/* Define to 1 if you have the <boost/shared_ptr.hpp> header file. */
50#undef HAVE_BOOST_SHARED_PTR_HPP
51
52/* Define to 1 if you have the <bzlib.h> header file. */
53#undef HAVE_BZLIB_H
54
55/* Define to 1 if you have the `clu_info' function. */
56#undef HAVE_CLU_INFO
57
58/* Define to 1 if you have the `crypt' function. */
59#undef HAVE_CRYPT
60
61/* Define to 1 if you have the <crypt.h> header file. */
62#undef HAVE_CRYPT_H
63
64/* Define to 1 if you have the <curl/curl.h> header file. */
65#undef HAVE_CURL_CURL_H
66
67/* Define to 1 if you have the `curl_easy_strerror' function. */
68#undef HAVE_CURL_EASY_STRERROR
69
70/* Define to 1 if you have the <curl/multi.h> header file. */
71#undef HAVE_CURL_MULTI_H
72
73/* Define to 1 if you have the `curl_multi_strerror' function. */
74#undef HAVE_CURL_MULTI_STRERROR
75
76/* Define to 1 if you have the <dce/rpc.h> header file. */
77#undef HAVE_DCE_RPC_H
78
79/* Define to 1 if you have the <dce/uuid.h> header file. */
80#undef HAVE_DCE_UUID_H
81
82/* Define to 1 if you have the declaration of `crypt', and to 0 if you don't.
83   */
84#undef HAVE_DECL_CRYPT
85
86/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
87   don't. */
88#undef HAVE_DECL_MBRTOWC
89
90/* Define to 1 if you have the declaration of `strsignal', and to 0 if you
91   don't. */
92#undef HAVE_DECL_STRSIGNAL
93
94/* Define to 1 if you have the declaration of `wcrtomb', and to 0 if you
95   don't. */
96#undef HAVE_DECL_WCRTOMB
97
98/* Define to 1 if you have the declaration of `wcswidth', and to 0 if you
99   don't. */
100#undef HAVE_DECL_WCSWIDTH
101
102/* Define to 1 if you have the declaration of `wcwidth', and to 0 if you
103   don't. */
104#undef HAVE_DECL_WCWIDTH
105
106/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
107   */
108#undef HAVE_DIRENT_H
109
110/* Define to 1 if you have the <execinfo.h> header file. */
111#undef HAVE_EXECINFO_H
112
113/* Define to 1 if you have the <fcntl.h> header file. */
114#undef HAVE_FCNTL_H
115
116/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
117#undef HAVE_FSEEKO
118
119/* Define to 1 if you have the `getpgrp' function. */
120#undef HAVE_GETPGRP
121
122/* Define to 1 if you have the `gettext' function. */
123#undef HAVE_GETTEXT
124
125/* Define to 1 if you have the `gettimeofday' function. */
126#undef HAVE_GETTIMEOFDAY
127
128/* Define this symbol of your system has GNU diff. */
129#undef HAVE_GNU_DIFF
130
131/* Define this symbol of your system has GNU patch. */
132#undef HAVE_GNU_PATCH
133
134/* Define this symbol of your system has the <new> C++ header */
135#undef HAVE_HEADER_NEW
136
137/* Define to 1 if you have the `igetspnam' function. */
138#undef HAVE_IGETSPNAM
139
140/* Define to 1 if you have the `initgroups' function. */
141#undef HAVE_INITGROUPS
142
143/* Define to 1 if you have the <inttypes.h> header file. */
144#undef HAVE_INTTYPES_H
145
146/* Define to 1 if you have the <iso646.h> header file. */
147#undef HAVE_ISO646_H
148
149/* Define to 1 if you have the `iswctype' function. */
150#undef HAVE_ISWCTYPE
151
152/* Define this symbol of your system has iswprint() AND it works. */
153#undef HAVE_ISWPRINT
154
155/* Define to 1 if you have the `bz2' library (-lbz2). */
156#undef HAVE_LIBBZ2
157
158/* Define to 1 if you have the `c' library (-lc). */
159#undef HAVE_LIBC
160
161/* Define to 1 if you have the `clu' library (-lclu). */
162#undef HAVE_LIBCLU
163
164/* Define to 1 if you have the `crypt' library (-lcrypt). */
165#undef HAVE_LIBCRYPT
166
167/* Define to 1 if you have the `curl' library (-lcurl). */
168#undef HAVE_LIBCURL
169
170/* Define to 1 if you have the `gettext' library (-lgettext). */
171#undef HAVE_LIBGETTEXT
172
173/* Define to 1 if you have the <libgettext.h> header file. */
174#undef HAVE_LIBGETTEXT_H
175
176/* Define to 1 if you have the `iconv' library (-liconv). */
177#undef HAVE_LIBICONV
178
179/* Define to 1 if you have the `intl' library (-lintl). */
180#undef HAVE_LIBINTL
181
182/* Define to 1 if you have the <libintl.h> header file. */
183#undef HAVE_LIBINTL_H
184
185/* Define to 1 if you have the `m' library (-lm). */
186#undef HAVE_LIBM
187
188/* Define to 1 if you have the `magic' library (-lmagic). */
189#undef HAVE_LIBMAGIC
190
191/* Define to 1 if you have the `rx' library (-lrx). */
192#undef HAVE_LIBRX
193
194/* Define to 1 if you have the `socket' library (-lsocket). */
195#undef HAVE_LIBSOCKET
196
197/* Define to 1 if you have the `uuid' library (-luuid). */
198#undef HAVE_LIBUUID
199
200/* Define to 1 if you have the `w' library (-lw). */
201#undef HAVE_LIBW
202
203/* Define to 1 if you have the `xml2' library (-lxml2). */
204#undef HAVE_LIBXML2
205
206/* Define to 1 if you have the `z' library (-lz). */
207#undef HAVE_LIBZ
208
209/* Define to 1 if you have the <limits.h> header file. */
210#undef HAVE_LIMITS_H
211
212/* Define this symbol if your system has /proc/sys/kernel/random/uuid */
213#undef HAVE_LINUX_UUID
214
215/* Define this symbol if your system has the locale-gen(8) program. */
216#undef HAVE_LOCALE_GEN_PROG
217
218/* Define to 1 if you have the <locale.h> header file. */
219#undef HAVE_LOCALE_H
220
221/* Define this symbol if your system has the locale(1) program. */
222#undef HAVE_LOCALE_PROG
223
224/* Define to 1 if you support file names longer than 14 characters. */
225#undef HAVE_LONG_FILE_NAMES
226
227/* Define to 1 if you have the `lutime' function. */
228#undef HAVE_LUTIME
229
230/* Define to 1 if you have the `magic_file' function. */
231#undef HAVE_MAGIC_FILE
232
233/* Define to 1 if you have the <magic.h> header file. */
234#undef HAVE_MAGIC_H
235
236/* Define this symbol of your system has mblen AND it works. */
237#undef HAVE_MBLEN
238
239/* Define to 1 if you have the `mbrtowc' function. */
240#undef HAVE_MBRTOWC
241
242/* Define this symbol of your system has the mbstate_t type defined. It is
243   usually in <stddef.h> or <wchar.h>. */
244#undef HAVE_MBSTATE_T
245
246/* Define to 1 if you have the `memmem' function. */
247#undef HAVE_MEMMEM
248
249/* Define to 1 if you have the <memory.h> header file. */
250#undef HAVE_MEMORY_H
251
252/* Define to 1 if you have the <mntent.h> header file. */
253#undef HAVE_MNTENT_H
254
255/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
256#undef HAVE_NDIR_H
257
258/* Define to 1 if you have the <new.h> header file. */
259#undef HAVE_NEW_H
260
261/* Define to 1 if you have the `pathconf' function. */
262#undef HAVE_PATHCONF
263
264/* Define to 1 if you have the `prctl' function. */
265#undef HAVE_PRCTL
266
267/* Define to 1 if you have the `regcomp' function. */
268#undef HAVE_REGCOMP
269
270/* Define to 1 if you have the <regex.h> header file. */
271#undef HAVE_REGEX_H
272
273/* Define to 1 if you have the `rpc_string_free' function. */
274#undef HAVE_RPC_STRING_FREE
275
276/* Define to 1 if you have the <rxposix.h> header file. */
277#undef HAVE_RXPOSIX_H
278
279/* Define to 1 if you have the `seteuid' function. */
280#undef HAVE_SETEUID
281
282/* Define to 1 if you have the `setlocale' function. */
283#undef HAVE_SETLOCALE
284
285/* Define to 1 if you have the `setresuid' function. */
286#undef HAVE_SETRESUID
287
288/* Define to 1 if you have the `setreuid' function. */
289#undef HAVE_SETREUID
290
291/* Define to 1 if you have the <shadow.h> header file. */
292#undef HAVE_SHADOW_H
293
294/* Define to 1 if you have the `sighold' function. */
295#undef HAVE_SIGHOLD
296
297/* Define to 1 if you have the `sigprocmask' function. */
298#undef HAVE_SIGPROCMASK
299
300/* Define to 1 if you have the `sigrelse' function. */
301#undef HAVE_SIGRELSE
302
303/* Define to 1 if you have the `snprintf' function. */
304#undef HAVE_SNPRINTF
305
306/* Define this symbol of your system has <stdarg.h> AND it works. */
307#undef HAVE_STDARG_H
308
309/* Define to 1 if you have the <stddef.h> header file. */
310#undef HAVE_STDDEF_H
311
312/* Define to 1 if you have the <stdint.h> header file. */
313#undef HAVE_STDINT_H
314
315/* Define to 1 if you have the <stdlib.h> header file. */
316#undef HAVE_STDLIB_H
317
318/* Define to 1 if you have the `strcasecmp' function. */
319#undef HAVE_STRCASECMP
320
321/* Define to 1 if you have the `strendcpy' function. */
322#undef HAVE_STRENDCPY
323
324/* Define to 1 if you have the `strerror' function. */
325#undef HAVE_STRERROR
326
327/* Define to 1 if you have the `strftime' function. */
328#undef HAVE_STRFTIME
329
330/* Define to 1 if you have the <strings.h> header file. */
331#undef HAVE_STRINGS_H
332
333/* Define to 1 if you have the <string.h> header file. */
334#undef HAVE_STRING_H
335
336/* Define to 1 if you have the `strlcat' function. */
337#undef HAVE_STRLCAT
338
339/* Define to 1 if you have the `strlcpy' function. */
340#undef HAVE_STRLCPY
341
342/* Define to 1 if you have the `strncasecmp' function. */
343#undef HAVE_STRNCASECMP
344
345/* Define to 1 if you have the `strsignal' function. */
346#undef HAVE_STRSIGNAL
347
348/* Define to 1 if you have the `strtoll' function. */
349#undef HAVE_STRTOLL
350
351/* Define to 1 if you have the `strtoul' function. */
352#undef HAVE_STRTOUL
353
354/* Define to 1 if you have the `strverscmp' function. */
355#undef HAVE_STRVERSCMP
356
357/* Define to 1 if you have the `symlink' function. */
358#undef HAVE_SYMLINK
359
360/* Define to 1 if you have the <sys/clu.h> header file. */
361#undef HAVE_SYS_CLU_H
362
363/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
364   */
365#undef HAVE_SYS_DIR_H
366
367/* Define to 1 if you have the <sys/ioctl.h> header file. */
368#undef HAVE_SYS_IOCTL_H
369
370/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
371   */
372#undef HAVE_SYS_NDIR_H
373
374/* Define to 1 if you have the <sys/prctl.h> header file. */
375#undef HAVE_SYS_PRCTL_H
376
377/* Define to 1 if you have the <sys/stat.h> header file. */
378#undef HAVE_SYS_STAT_H
379
380/* Define to 1 if you have the <sys/types.h> header file. */
381#undef HAVE_SYS_TYPES_H
382
383/* Define to 1 if you have the <sys/uuid.h> header file. */
384#undef HAVE_SYS_UUID_H
385
386/* Define to 1 if you have the `tcgetpgrp' function. */
387#undef HAVE_TCGETPGRP
388
389/* Define to 1 if you have the <tr1/memory> header file. */
390#undef HAVE_TR1_MEMORY
391
392/* Define to 1 if you have the <unistd.h> header file. */
393#undef HAVE_UNISTD_H
394
395/* Define to 1 if you have the `uuid_create' function. */
396#undef HAVE_UUID_CREATE
397
398/* Define to 1 if you have the `uuid_export' function. */
399#undef HAVE_UUID_EXPORT
400
401/* Define to 1 if you have the `uuid_generate' function. */
402#undef HAVE_UUID_GENERATE
403
404/* Define to 1 if you have the <uuid.h> header file. */
405#undef HAVE_UUID_H
406
407/* Define to 1 if you have the `uuid_hash' function. */
408#undef HAVE_UUID_HASH
409
410/* Define to 1 if you have the `uuid_load' function. */
411#undef HAVE_UUID_LOAD
412
413/* Define to 1 if you have the `uuid_make' function. */
414#undef HAVE_UUID_MAKE
415
416/* Define to 1 if you have the `uuid_to_string' function. */
417#undef HAVE_UUID_TO_STRING
418
419/* Define to 1 if you have the `uuid_unparse' function. */
420#undef HAVE_UUID_UNPARSE
421
422/* Define to 1 if you have the <uuid/uuid.h> header file. */
423#undef HAVE_UUID_UUID_H
424
425/* Define to 1 if you have the `vsnprintf' function. */
426#undef HAVE_VSNPRINTF
427
428/* Define to 1 if you have the <wchar.h> header file. */
429#undef HAVE_WCHAR_H
430
431/* Define to 1 if you have the `wcrtomb' function. */
432#undef HAVE_WCRTOMB
433
434/* Define to 1 if you have the `wcslen' function. */
435#undef HAVE_WCSLEN
436
437/* Define to 1 if you have the `wcswidth' function. */
438#undef HAVE_WCSWIDTH
439
440/* Define to 1 if you have the <wctype.h> header file. */
441#undef HAVE_WCTYPE_H
442
443/* Define to 1 if you have the `wcwidth' function. */
444#undef HAVE_WCWIDTH
445
446/* Define to 1 if you have the <widec.h> header file. */
447#undef HAVE_WIDEC_H
448
449/* Define this symbol of your system has the wint_t type defined. It is
450   usually in <stddef.h> or <wctype.h>. */
451#undef HAVE_WINT_T
452
453/* Define to 1 if you have the `xmlReaderForIO' function. */
454#undef HAVE_XMLREADERFORIO
455
456/* Define to 1 if you have the <zlib.h> header file. */
457#undef HAVE_ZLIB_H
458
459/* Define this symbol if your system has the pw_comment field in the passwd
460   struct defined in <pwd.h>. */
461#undef HAVE_pw_comment
462
463/* Define this symbol if your system has the tm_zone field in the tm struct
464   defined in <time.h>. */
465#undef HAVE_tm_zone
466
467/* Define this symbol if your system as <sys/ioctl.h> AND it defines
468   TIOCGWINSZ and struct winsize. */
469#undef HAVE_winsize_SYS_IOCTL_H
470
471/* Define this symbol if your system as <termios.h> AND it defines TIOCGWINSZ
472   and struct winsize. */
473#undef HAVE_winsize_TERMIOS_H
474
475/* Define this symbol if your system has /proc/sys/kernel/random/uuid */
476#undef LINUX_UUID_FILENAME
477
478/* Define this symbol if your system has /proc/sys/kernel/random/uuid */
479#undef LINUX_UUID_SIZE
480
481/* Define this symbol to be the number of bits in a long. This is analogous to
482   the standard CHAR_BIT define. */
483#undef LONG_BIT
484
485/* Define to the address where bug reports for this package should be sent. */
486#undef PACKAGE_BUGREPORT
487
488/* Define to the full name of this package. */
489#undef PACKAGE_NAME
490
491/* Define to the full name and version of this package. */
492#undef PACKAGE_STRING
493
494/* Define to the one symbol short name of this package. */
495#undef PACKAGE_TARNAME
496
497/* Define to the home page for this package. */
498#undef PACKAGE_URL
499
500/* Define to the version of this package. */
501#undef PACKAGE_VERSION
502
503/* Define as the return type of signal handlers (`int' or `void'). */
504#undef RETSIGTYPE
505
506/* The size of `int', as computed by sizeof. */
507#undef SIZEOF_INT
508
509/* The size of `long', as computed by sizeof. */
510#undef SIZEOF_LONG
511
512/* The size of `long long', as computed by sizeof. */
513#undef SIZEOF_LONG_LONG
514
515/* Define to 1 if you have the ANSI C header files. */
516#undef STDC_HEADERS
517
518/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
519#undef TIME_WITH_SYS_TIME
520
521/* Enable extensions on AIX 3, Interix.  */
522#ifndef _ALL_SOURCE
523# undef _ALL_SOURCE
524#endif
525/* Enable GNU extensions on systems that have them.  */
526#ifndef _GNU_SOURCE
527# undef _GNU_SOURCE
528#endif
529/* Enable threading extensions on Solaris.  */
530#ifndef _POSIX_PTHREAD_SEMANTICS
531# undef _POSIX_PTHREAD_SEMANTICS
532#endif
533/* Enable extensions on HP NonStop.  */
534#ifndef _TANDEM_SOURCE
535# undef _TANDEM_SOURCE
536#endif
537/* Enable general extensions on Solaris.  */
538#ifndef __EXTENSIONS__
539# undef __EXTENSIONS__
540#endif
541
542
543/* Define this symbol if your system has a working UUID implementation. */
544#undef UUID_OK
545
546/* Number of bits in a file offset, on hosts where this is settable. */
547#undef _FILE_OFFSET_BITS
548
549/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
550#undef _LARGEFILE_SOURCE
551
552/* Define for large files, on AIX-style hosts. */
553#undef _LARGE_FILES
554
555/* Define to 1 if on MINIX. */
556#undef _MINIX
557
558/* Define to 2 if the system does not provide POSIX.1 features except with
559   this defined. */
560#undef _POSIX_1_SOURCE
561
562/* Define to 1 if you need to in order for `stat' and other things to work. */
563#undef _POSIX_SOURCE
564
565/* Define to empty if `const' does not conform to ANSI C. */
566#undef const
567
568/* Define to `long int' if <sys/types.h> does not define. */
569#undef off_t
570
571/* Define to `unsigned int' if <sys/types.h> does not define. */
572#undef size_t
573
574/*
575 * This defines the file creation mask.  See umask(2) for more information.
576 * Some bits are not available, because aegis is _meant_ to be paranoid.
577 * Owner: always has read, write and search/exec.
578 * Group: always has read and search/exec, so that developers can get at the
579 *      baseline.  There is never group write, because then developers
580 *      could trash the baseline, which is counter-productive.
581 * Others: There is never others write, for the same reason as group.
582 *      Others read and search/execute is configurable.
583 *
584 * The permissions mask in binary looks like
585 *      000 010 X1X
586 * where the Xs may be configured.
587 *
588 * Alternatives for default umask are thus
589 *      027     others get nothing
590 *      026     others can execute the results if they know where they are going
591 *      022     others can see and copy and execute anything
592 *      023     don't do this (why is left as an exersize for the reader)
593 *
594 * Projects have a configurable umask, this is just the default.
595 *      See aepattr(1) for more information.
596 */
597#define DEFAULT_UMASK 026
598
599/*
600 * These symbols define where non-system user IDs start,
601 * and where non-system group IDs start.
602 * This is mostly to ensure that accounts "root" and "bin"
603 * and "uucp" are not project owners.
604 */
605#define AEGIS_MIN_UID 100
606#define AEGIS_MIN_GID 10
607
608/*
609 * There is more to do, but we need to insulate it from config.status,
610 * because it screws up the #undef lines.  They are all implications of
611 * the above information, so there is no need for you to edit the file,
612 * if you are configuring Aegis manually.
613 */
614#include <common/config.messy.h>
615
616#endif /* COMMON_CONFIG_H */
617