1/*
2 *  Project   : tin - a Usenet reader
3 *  Module    : autoconf.hin
4 *  Author    : Thomas Dickey
5 *  Created   : 1995-08-24
6 *  Updated   : 2020-04-23
7 *  Notes     : #include files, #defines & struct's
8 *
9 * Copyright (c) 1995-2021 Thomas Dickey <dickey@invisible-island.net>
10 * All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 *
16 * 1. Redistributions of source code must retain the above copyright notice,
17 *    this list of conditions and the following disclaimer.
18 *
19 * 2. Redistributions in binary form must reproduce the above copyright
20 *    notice, this list of conditions and the following disclaimer in the
21 *    documentation and/or other materials provided with the distribution.
22 *
23 * 3. Neither the name of the copyright holder nor the names of its
24 *    contributors may be used to endorse or promote products derived from
25 *    this software without specific prior written permission.
26 *
27 * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
31 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * POSSIBILITY OF SUCH DAMAGE.
38 */
39
40
41#ifndef TIN_AUTOCONF_H
42#	define TIN_AUTOCONF_H
43
44/* Package and version */
45#	undef NLS_TEXTDOMAIN
46#	undef VERSION
47
48#	undef SYSTEM_NAME
49
50/* compiler, compilerflags, ... */
51#	undef TIN_CC
52#	undef TIN_CPP
53#	undef TIN_CPPFLAGS
54#	undef TIN_LD
55#	undef TIN_LDFLAGS
56#	undef TIN_LIBS
57
58/*
59 * SCO requires special handling
60 */
61#	undef NEED_TIMEVAL_FIX
62#	undef NEED_PTEM_H
63
64/*
65 * SEIUX has strange struct utsname values
66 */
67#	undef SEIUX
68
69/*
70 * ISC_UNIX lacks EHOSTUNREACH from errno.h and fchmod(2)
71 */
72#	undef ISC_UNIX
73
74/*
75 * These are set as configure options, some must be guarded by ifdefs because
76 * they're also used in makefile rules (e.g., lint, proto).
77 */
78#	undef HAVE_MH_MAIL_HANDLING
79#	undef NNTP_ABLE
80#	undef NNTP_ONLY
81
82#	ifndef HAVE_COLOR
83#		undef HAVE_COLOR
84#	endif /* !HAVE_COLOR */
85
86#	undef DEFAULT_ISO2ASC
87#	undef DEFAULT_SHELL
88#	undef DOMAIN_NAME
89#	undef HAVE_FASCIST_NEWSADMIN
90#	undef INEWSDIR
91#	undef PATH_INEWS
92#	undef MIME_BREAK_LONG_LINES
93#	undef MIME_STRICT_CHARSET
94#	undef MM_CHARSET
95#	undef NEWSLIBDIR
96#	undef NNTP_DEFAULT_SERVER
97#	undef NOVROOTDIR
98#	undef NO_ETIQUETTE
99#	undef NO_LOCALE
100#	undef NO_POSTING
101#	undef NO_SHELL_ESCAPE
102#	undef OVERVIEW_FILE
103#	undef SOCKS
104#	undef SPOOLDIR
105#	undef USE_INVERSE_HACK
106#	undef USE_SOCKS4_PREFIX
107#	undef USE_SOCKS5
108
109/*
110 * These are defined if the corresponding program is found during configuration
111 */
112#	undef HAVE_ISPELL
113#	undef HAVE_METAMAIL
114/* pgp-2 */
115#	undef HAVE_PGP
116/* pgp-5 */
117#	undef HAVE_PGPK
118/* gpg */
119#	undef HAVE_GPG
120#	undef HAVE_SUM
121
122/* slrnface */
123#	undef HAVE_SLRNFACE
124#	undef PATH_SLRNFACE
125
126/*
127 * Compiler characteristics
128 */
129#	undef inline
130#	undef const
131#	undef HAVE_NESTED_PARAMS
132
133/*
134 * Data types
135 */
136#	undef gid_t
137#	undef in_addr_t
138#	undef mode_t
139#	undef off_t
140#	undef pid_t
141#	undef quad_t
142#	undef size_t
143#	undef ssize_t
144#	undef time_t
145#	undef uid_t
146#	undef RETSIGTYPE
147#	undef HAVE_INT_LEAST64_T
148#	undef HAVE_LONG_LONG
149#	undef HAVE_NL_ITEM
150
151#	undef HAVE_INT64_C
152
153/*
154 * The following xxx_H definitions are set by the 'configure' script to
155 * defined or commented-out, according to whether the corresponding header
156 * file was detected during configuration.
157 */
158#	undef HAVE_ALLOCA_H
159#	undef HAVE_ARPA_INET_H
160#	undef HAVE_CURSES_H
161#	undef HAVE_DIRENT_H
162#	undef HAVE_ERRNO_H
163#	undef HAVE_FCNTL_H
164#	undef HAVE_GETOPT_H
165#	undef HAVE_ICONV_H
166#	undef HAVE_INTTYPES_H
167#	undef HAVE_IOCTL_H
168#	undef HAVE_LANGINFO_H
169#	undef HAVE_LIBC_H
170#	undef HAVE_LIBCANLOCK_3_CANLOCK_H
171#	undef HAVE_LIBINTL_H
172#	undef HAVE_LOCALE_H
173#	undef HAVE_MALLOC_H
174#	undef HAVE_NCURSESW_NCURSES_H
175#	undef HAVE_NCURSESW_TERM_H
176#	undef HAVE_NCURSES_H		/* obsolete versions of ncurses */
177#	undef HAVE_NCURSES_NCURSES_H
178#	undef HAVE_NCURSES_TERM_H
179#	undef HAVE_NETDB_H
180#	undef HAVE_NETINET_IN_H
181#	undef HAVE_NETLIB_H
182#	undef HAVE_NOMACROS_H		/* ncurses 4.1 */
183#	undef HAVE_PATHS_H
184#	undef HAVE_POLL_H
185#	undef HAVE_PROTOTYPES_H
186#	undef HAVE_PWD_H
187#	undef HAVE_SGTTY_H
188#	undef HAVE_SOCKET_H
189#	undef HAVE_STDARG_H
190#	undef HAVE_STDBOOL_H
191#	undef HAVE_STDDEF_H
192#	undef HAVE_STDINT_H
193#	undef HAVE_STDLIB_H
194#	undef HAVE_STRINGS_H
195#	undef HAVE_STRING_H
196#	undef HAVE_STROPTS_H
197#	undef HAVE_SYS_BSDTYPES_H
198#	undef HAVE_SYS_DIR_H
199#	undef HAVE_SYS_ERRNO_H
200#	undef HAVE_SYS_FILE_H
201#	undef HAVE_SYS_IOCTL_H
202#	undef HAVE_SYS_NDIR_H
203#	undef HAVE_SYS_PARAM_H
204#	undef HAVE_SYS_POLL_H
205#	undef HAVE_SYS_PTEM_H
206#	undef HAVE_SYS_PTY_H
207#	undef HAVE_SYS_SELECT_H
208#	undef HAVE_SYS_SOCKET_H
209#	undef HAVE_SYS_STAT_H
210#	undef HAVE_SYS_STREAM_H
211#	undef HAVE_SYS_TIMEB_H
212#	undef HAVE_SYS_TIMES_H
213#	undef HAVE_SYS_TIME_H
214#	undef HAVE_SYS_TYPES_H
215#	undef HAVE_SYS_UTSNAME_H
216#	undef HAVE_SYS_WAIT_H
217#	undef HAVE_TERMCAP_H
218#	undef HAVE_TERMIOS_H
219#	undef HAVE_TERMIO_H
220#	undef HAVE_TERM_H
221#	undef HAVE_TIME_H
222#	undef HAVE_UNISTD_H
223#	undef HAVE_VARARGS_H
224#	undef HAVE_WCHAR_H
225#	undef HAVE_WCTYPE_H
226#	undef STDC_HEADERS
227#	undef TIME_WITH_SYS_TIME
228
229/*
230 * The following are defined by the configure script if the corresponding
231 * function is found in a library.
232 */
233#	undef HAVE_ALARM
234#	undef HAVE_ATOI
235#	undef HAVE_ATOL
236#	undef HAVE_ATOLL
237#	undef HAVE_ATOQ
238#	undef HAVE_BCOPY
239#	undef HAVE_CHMOD
240#	undef HAVE_CLOCK_GETTIME
241#	undef HAVE_EXECLP
242#	undef HAVE_FCHMOD
243#	undef HAVE_FCNTL
244#	undef HAVE_FDOPEN
245#	undef HAVE_FLOCK
246#	undef HAVE_FORK
247#	undef HAVE_FTIME
248#	undef HAVE_FTRUNCATE
249#	undef HAVE_FSYNC
250#	undef HAVE_GAI_STRERROR
251#	undef HAVE_GETADDRINFO
252#	undef HAVE_GETCWD
253#	undef HAVE_GETHOSTBYNAME
254#	undef HAVE_GETHOSTNAME
255#	undef HAVE_GETSERVBYNAME
256#	undef HAVE_GETTIMEOFDAY
257#	undef HAVE_GETWD
258#	undef HAVE_HEAPSORT
259#	undef HAVE_ICONV
260#	undef HAVE_INET_ADDR
261#	undef HAVE_INET_ATON
262#	undef HAVE_INET_NTOA
263#	undef HAVE_ISASCII
264#	undef HAVE_IS_XTERM
265#	undef HAVE_LINK
266#	undef HAVE_LOCKF
267#	undef HAVE_MEMCMP
268#	undef HAVE_MEMCPY
269#	undef HAVE_MEMMOVE
270#	undef HAVE_MEMSET
271#	undef HAVE_MKDIR
272#	undef HAVE_MKFIFO
273#	undef HAVE_MKSTEMP
274#	undef HAVE_MKTEMP
275#	undef HAVE_MUNMAP
276#	undef HAVE_NL_LANGINFO
277#	undef HAVE_POLL
278#	undef HAVE_PUTENV
279#	undef HAVE_RESIZETERM
280#	undef HAVE_REWINDDIR
281#	undef HAVE_SELECT
282#	undef HAVE_SETENV
283#	undef HAVE_SETLOCALE
284#	undef HAVE_SETTZ
285#	undef HAVE_SETVBUF
286#	undef HAVE_SNPRINTF
287#	undef HAVE_STPCPY
288#	undef HAVE_STRCASECMP
289#	undef HAVE_STRCASESTR
290#	undef HAVE_STRCHR
291#	undef HAVE_STRDUP
292#	undef HAVE_STRERROR
293#	undef HAVE_STRFTIME
294#	undef HAVE_STRNCASECMP
295#	undef HAVE_STRPBRK
296#	undef HAVE_STRRCHR
297#	undef HAVE_STRRSTR
298#	undef HAVE_STRSEP
299#	undef HAVE_STRSTR
300#	undef HAVE_STRTOL
301#	undef HAVE_STRTOLL
302#	undef HAVE_TCGETATTR
303#	undef HAVE_TCSETATTR
304#	undef HAVE_TIGETINT
305#	undef HAVE_TIGETNUM
306#	undef HAVE_TMPFILE
307#	undef HAVE_TZSET
308#	undef HAVE_UNAME
309#	undef HAVE_UNLINK
310#	undef HAVE_USE_DEFAULT_COLORS
311#	undef HAVE_USLEEP
312#	undef HAVE_VSNPRINTF
313#	undef HAVE_VW_PRINTW
314#	undef HAVE_WAITPID
315#	undef HAVE__TRACEF
316
317/*
318 * The following are functions/data that we'll have to declare if they're not
319 * declared in the system include files, since they return values other than
320 * int.
321 */
322#	undef DECL_ERRNO
323#	undef DECL_GETENV
324#	undef DECL_GETHOSTBYNAME
325#	undef DECL_GETLOGIN
326#	undef DECL_GETPWNAM
327#	undef DECL_GETSERVBYNAME
328#	undef DECL_POPEN
329#	undef DECL_STRCASESTR
330#	undef DECL_STRSEP
331#	undef DECL_SYS_ERRLIST
332#	undef DECL_TMPFILE
333#	undef DECL_TGETSTR
334#	undef DECL_TGOTO
335#	undef DECL_TIGETSTR
336
337/*
338 * The following are functions that we'll optionally prototype (to stifle
339 * warnings, etc., for development/testing).
340 */
341#	undef DECL_ALARM
342#	undef DECL_ATOI
343#	undef DECL_ATOL
344#	undef DECL_ATOLL
345#	undef DECL_ATOQ
346#	undef DECL_BCOPY
347#	undef DECL_BZERO
348#	undef DECL_CALLOC
349#	undef DECL_CONNECT
350#	undef DECL_FCHMOD
351#	undef DECL_FCLOSE
352#	undef DECL_FDOPEN
353#	undef DECL_FFLUSH
354#	undef DECL_FGETC
355#	undef DECL_FILENO
356#	undef DECL_FPRINTF
357#	undef DECL_FPUTC
358#	undef DECL_FPUTS
359#	undef DECL_FREAD
360#	undef DECL_FREE
361#	undef DECL_FSEEK
362#	undef DECL_FWRITE
363#	undef DECL_GETCWD
364#	undef DECL_GETHOSTNAME
365#	undef DECL_GETOPT
366#	undef DECL_GETWD
367#	undef DECL_HEAPSORT
368#	undef DECL_INET_ADDR
369#	undef DECL_INET_ATON
370#	undef DECL_INET_NTOA
371#	undef DECL_IOCTL
372#	undef DECL_ISASCII
373#	undef DECL_KILL
374#	undef DECL_MALLOC
375#	undef DECL_MEMSET
376#	undef DECL_MKSTEMP
377#	undef DECL_MKTEMP
378#	undef DECL_PCLOSE
379#	undef DECL_PERROR
380#	undef DECL_PRINTF
381#	undef DECL_PUTENV
382#	undef DECL_QSORT
383#	undef DECL_REALLOC
384#	undef DECL_RENAME
385#	undef DECL_REWIND
386#	undef DECL_SELECT
387#	undef DECL_SETENV
388#	undef DECL_SNPRINTF
389#	undef DECL_SOCKET
390#	undef DECL_SSCANF
391#	undef DECL_STRCASECMP
392#	undef DECL_STRCHR
393#	undef DECL_STRFTIME
394#	undef DECL_STRNCASECMP
395#	undef DECL_STRRCHR
396#	undef DECL_STRTOL
397#	undef DECL_STRTOLL
398#	undef DECL_SYSTEM
399#	undef DECL_TGETENT
400#	undef DECL_TGETFLAG
401#	undef DECL_TGETNUM
402#	undef DECL_TIGETFLAG
403#	undef DECL_TIGETNUM
404#	undef DECL_TIME
405#	undef DECL_TOLOWER
406#	undef DECL_TOUPPER
407#	undef DECL_TPUTS
408#	undef DECL_UNGETC
409#	undef DECL_USLEEP
410#	undef DECL_VSNPRINTF
411#	undef DECL_VSPRINTF
412#	undef DECL__FLSBUF
413
414
415#	undef HAVE_POSIX_JC
416#	undef HAVE_SELECT_INTP
417#	undef HAVE_TYPE_SIGACTION
418#	undef HAVE_TYPE_UNIONWAIT
419
420/*
421 * Enable IPv6 support
422 */
423#	undef ENABLE_IPV6
424
425
426/*
427 * Enable large article numbers
428 * (if system has long long or quad_t or int_least64_t)
429 */
430#	undef ENABLE_LONG_ARTICLE_NUMBERS
431
432
433/*
434 * Define a symbol to control whether we use curses, or the termcap/terminfo
435 * interface
436 */
437#	undef HAVE_XCURSES
438#	undef NEED_CURSES_H
439#	undef NEED_TERMCAP_H
440#	undef NEED_TERM_H
441#	undef USE_CURSES
442#	undef USE_TRACE
443#	undef XCURSES
444
445/*
446 * Symbols used for wide-character curses
447 */
448#	undef NEED_WCHAR_H
449#	undef WIDEC_CURSES
450/*
451 * Define symbols to prototype the function 'outchar()'
452 */
453#	undef USE_TERMINFO
454#	undef OUTC_RETURN
455#	undef OUTC_ARGS
456
457/*
458 * Miscellaneous terminfo/termcap definitions
459 */
460#	undef HAVE_EXTERN_TCAP_PC
461
462/*
463 * Define a symbol for the prototype arguments of a signal handler
464 */
465#	undef SIG_ARGS
466
467/*
468 * define if setpgrp() takes no arguments
469 */
470#	undef SETPGRP_VOID
471
472/*
473 * Define this if it's safe to redefine the signal constants with prototypes.
474 */
475#	undef DECL_SIG_CONST
476
477
478/* FIXME: remove absolute-paths! */
479/*
480 * Program-paths (i.e., the invocation-path)
481 */
482#	undef DEFAULT_EDITOR
483#	undef DEFAULT_MAILBOX
484#	undef DEFAULT_MAILER
485#	undef PATH_ISPELL
486#	undef PATH_METAMAIL
487#	undef PATH_SUM
488#	undef PATH_PGP
489/* FIXME: this is _not_ the path to the pgp-5 binarie we usually need */
490#	undef PATH_PGPK
491#	undef PATH_GPG
492
493/*
494 * Configure also checks whether sum takes -r
495 * And defines PATH_SUM_R appropriately
496 */
497#	undef SUM_TAKES_DASH_R
498#	undef PATH_SUM_R
499
500/*
501 * Define this if the host system has long (>14 character) filenames
502 */
503#	undef HAVE_LONG_FILE_NAMES
504
505/*
506 * Use this if you want pid attached to the end of .article filename
507 */
508#	undef APPEND_PID
509
510/*
511 * requested locking scheme
512 */
513#	undef USE_FCNTL
514#	undef USE_FLOCK
515#	undef USE_LOCKF
516
517/*
518 * Define this if we intend to use heapsort as an alternative to qsort.
519 */
520#	undef USE_HEAPSORT
521
522/*
523 * Define this if the compiler performs ANSI-style token substitution (used in
524 * our 'assert' macro).
525 */
526#	undef CPP_DOES_EXPAND
527/*
528 * Define this if the compiler performs ANSI-style token concatenation (used in
529 * our 'tincfg.h' macros).
530 */
531#	undef CPP_DOES_CONCAT
532
533/*
534 * One of the following two is defined, according to whether qsort's compare
535 * function is ANSI (declared with 'void *' parameters) or not.
536 */
537#	undef HAVE_COMPTYPE_VOID
538#	undef HAVE_COMPTYPE_CHAR
539
540/*
541 * Define this to enable interpretation of 8-bit keycodes (e.g., beginning
542 * with 0x9b).
543 */
544#	undef HAVE_KEY_PREFIX
545
546/*
547 * Define this if an application can dump core. Some systems (e.g., apollo)
548 * don't at all. Others may not, depending on how they're configured.
549 */
550#	undef HAVE_COREFILE
551
552/*
553 * Define if the system doesn't define SIGWINCH, or the associated structs
554 * to determine the window's size.
555 */
556#	undef DONT_HAVE_SIGWINCH
557
558/*
559 * Definitions for debugging-malloc libraries
560 */
561#	ifndef __BUILD__
562#		undef USE_DBMALLOC	/* use Conor Cahill's dbmalloc library */
563#		undef USE_DMALLOC	/* use Gray Watson's dmalloc library */
564#	endif /* !__BUILD__ */
565
566/*
567 * Define if the system doesn't support pipes, or if it is not a desired
568 * feature.
569 */
570#	undef DONT_HAVE_PIPING
571
572/*
573 * Define if the system doesn't support printing, or if it is not a
574 * desired feature.
575 */
576#	undef DISABLE_PRINTING
577
578/*
579 * Used in get_full_name()
580 */
581#	undef DONT_HAVE_PW_GECOS
582
583/*
584 * Used in parsedate.y
585 */
586#	undef DONT_HAVE_TM_GMTOFF
587
588#	if defined(__hpux)
589#		define HAVE_KEYPAD
590#	endif /* __hpux */
591
592/*
593 * Not all platforms have either strerror or sys_errlist[].
594 */
595#	undef HAVE_SYS_ERRLIST
596
597#	undef USE_SYSTEM_STATUS
598
599/*
600 * allow fallback to XHDR XREF if XOVER isn't supported?
601 */
602#	undef XHDR_XREF
603
604/*
605 * The directory, where tin looks first for its tin.defaults file
606 * can be left empty, tin searches for some standard places
607 * XXXXX please define surrounded with double quotes! XXXXX
608 */
609#	undef TIN_DEFAULTS_DIR
610
611/*
612 * define if second and third argument of setvbuf() are swapped
613 * (System V before Release 3)
614 */
615#	undef SETVBUF_REVERSED
616
617/*
618 * define if closedir() does not return a status
619 */
620#	undef CLOSEDIR_VOID
621
622/*
623 * define if gettimeofday() takes the timezone as 2nd argument
624 */
625#	undef GETTIMEOFDAY_2ARGS
626
627/*
628 * define if your NNTP server needs an extra GROUP command before
629 * accepting a LISTGROUP command.
630 * (old versions of leafnode and NNTPcache need this)
631 */
632#	undef BROKEN_LISTGROUP
633
634/*
635 * on some old systems the WIFEXITED()/WEXITSTATUS() macros do not work,
636 * e.g. SEIUX3.2, DG/UX5.4R3, NEXTSTEP3, ULTRIX4.5
637 * TODO: write configure check
638 */
639#	undef IGNORE_SYSTEM_STATUS
640
641/*
642 * generate Cancel-Locks
643 */
644#	undef USE_CANLOCK
645
646/*
647 * use libgsasl for AUTH
648 */
649#	undef USE_SASL
650
651#	undef HAVE_COFFEE
652
653/*
654 * libuu - used in save.c
655 */
656#	undef HAVE_UUDEVIEW_H
657#	undef HAVE_LIBUU
658
659/*
660 * libidnkit - used for Internationalized Domain Names (IDNA 2008)
661 */
662#	undef HAVE_IDN_API_H
663#	undef HAVE_IDN_DECODENAME
664#	undef HAVE_LIBIDNKIT
665
666/*
667 * libidn - used for unicode normalization and
668 *          Internationalized Domain Names (IDNA 2003)
669 */
670#	undef HAVE_IDNA_H
671#	undef HAVE_STRINGPREP_H
672#	undef HAVE_IDNA_TO_UNICODE_LZLZ
673#	undef HAVE_IDNA_STRERROR
674#	undef HAVE_IDNA_USE_STD3_ASCII_RULES
675#	undef HAVE_LIBIDN
676
677/*
678 * ICU - International Components for Unicode
679 *       used for unicode normalization
680 */
681#	undef HAVE_UNICODE_UNORM_H
682#	undef HAVE_UNICODE_UNORM2_H
683#	undef HAVE_UNICODE_USTRING_H
684#	undef HAVE_UNICODE_UBIDI_H
685#	undef HAVE_UNICODE_UIDNA_H
686#	undef HAVE_LIBICUUC
687#	undef HAVE_LIBICUUC_46_API
688
689/*
690 * GNU libunistring
691 *     used for unicode normalization
692 */
693#	undef HAVE_UNITYPES_H
694#	undef HAVE_UNINORM_H
695#	undef HAVE_LIBUNISTRING
696
697/*
698 * Define as const if the declaration of iconv() needs const.
699 */
700#	undef ICONV_CONST
701
702/*
703 * Define if iconv_open() has //TRNALSIT extension.
704 */
705#	undef HAVE_ICONV_OPEN_TRANSLIT
706
707/*
708 * Define if you have swprintf() and co.
709 */
710#	undef MULTIBYTE_ABLE
711#	undef HAVE_LIBUTF8_H
712
713/*
714 * Definition used in PCRE:
715 */
716#	if defined(MULTIBYTE_ABLE) || defined(HAVE_LIBUTF8_H)
717#		define SUPPORT_UTF8 1
718#		define SUPPORT_UCP 1
719#	endif /* MULTIBYTE_ABLE || HAVE_LIBUTF8_H */
720
721/*
722 * Define if you have <langinfo.h> and nl_langinfo(CODESET).
723 */
724#	undef HAVE_LANGINFO_CODESET
725
726/*
727 * Some older socks libraries, especially AIX need special definitions
728 */
729#	if defined(_AIX) && !defined(USE_SOCKS5)
730#		undef accept
731#		undef bind
732#		undef connect
733#		undef getpeername
734#		undef getsockname
735#		undef listen
736#		undef recvfrom
737#		undef select
738#	endif /* _AIX && !USE_SOCKS5 */
739
740/* FIXME: move things below to right place above */
741
742/* GNU gettext */
743/* Define to 1 if NLS is requested. */
744#	undef ENABLE_NLS
745
746/* Define if your locale.h file contains LC_MESSAGES. */
747#	undef HAVE_LC_MESSAGES
748
749/* Define if you have the i library (-li). */
750#	undef HAVE_LIBI
751
752#	undef HAVE___ARGZ_COUNT
753#	undef HAVE___ARGZ_NEXT
754#	undef HAVE___ARGZ_STRINGIFY
755#	undef HAVE_CATGETS
756#	undef HAVE_DCGETTEXT
757#	undef HAVE_GETTEXT
758
759/*
760-----------------------------------
761Added missing headers after gettext update, using autoheader
762-----------------------------------
763*/
764/* Define if using alloca.c. */
765#	undef C_ALLOCA
766
767/*
768 * Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
769 * This function is required for alloca.c support on those systems.
770 */
771#	undef CRAY_STACKSEG_END
772
773/* Define if you have the <argz.h> header file. */
774#	undef HAVE_ARGZ_H
775
776/* Define if you don't have vprintf but do have _doprnt. */
777#	undef HAVE_DOPRNT
778
779/* Define if you have the feof_unlocked function. */
780#	undef HAVE_FEOF_UNLOCKED
781
782/* Define if you have the fgets_unlocked function. */
783#	undef HAVE_FGETS_UNLOCKED
784
785/* Define if your system has a working fnmatch function. */
786#	undef HAVE_FNMATCH
787
788/* Define if you have the getegid function. */
789#	undef HAVE_GETEGID
790
791/* Define if you have the geteuid function. */
792#	undef HAVE_GETEUID
793
794/* Define if you have the getgid function. */
795#	undef HAVE_GETGID
796
797/* Define if your system has its own `getloadavg' function. */
798#	undef HAVE_GETLOADAVG
799
800/* Define if you have the getmntent function. */
801#	undef HAVE_GETMNTENT
802
803/* Define if you have the getnameinfo function. */
804#	undef HAVE_GETNAMEINFO
805
806/* Define if you have the getpagesize function. */
807#	undef HAVE_GETPAGESIZE
808
809/* Define if you have the getuid function. */
810#	undef HAVE_GETUID
811
812/* Define if you have the nsl library (-lnsl). */
813#	undef HAVE_LIBNSL
814
815/* Define if you have the socket library (-lsocket). */
816#	undef HAVE_LIBSOCKET
817
818/* Define if you have the <limits.h> header file. */
819#	undef HAVE_LIMITS_H
820
821/* Define if the `long double' type works. */
822#	undef HAVE_LONG_DOUBLE
823
824/* Define if you have the mempcpy function. */
825#	undef HAVE_MEMPCPY
826
827/* Define if you have a working `mmap' system call. */
828#	undef HAVE_MMAP
829
830/* Define if you have the <ndir.h> header file. */
831#	undef HAVE_NDIR_H
832
833/* Define if you have the <nl_types.h> header file. */
834#	undef HAVE_NL_TYPES_H
835
836/*
837 * Define if system calls automatically restart after interruption
838 * by a signal.
839 */
840#	undef HAVE_RESTARTABLE_SYSCALLS
841
842/* Define if you have the sigaction function. */
843#	undef HAVE_SIGACTION
844
845/* Define if your struct stat has st_blksize. */
846#	undef HAVE_ST_BLKSIZE
847
848/* Define if your struct stat has st_blocks. */
849#	undef HAVE_ST_BLOCKS
850
851/* Define if you have the strcoll function and it is properly defined. */
852#	undef HAVE_STRCOLL
853
854/* Define if your struct stat has st_rdev. */
855#	undef HAVE_ST_RDEV
856
857/* Define if you have the ANSI # stringizing operator in cpp. */
858#	undef HAVE_STRINGIZE
859
860/* Define if you have the strtoul function. */
861#	undef HAVE_STRTOUL
862
863/* Define if you have the <sys/termio.h> header file. */
864#	undef HAVE_SYS_TERMIO_H
865
866/* Define if your struct tm has tm_zone. */
867#	undef HAVE_TM_ZONE
868
869/* Define if you have the tsearch function. */
870#	undef HAVE_TSEARCH
871
872/*
873 * Define if you don't have tm_zone but do have the external array
874 * tzname.
875 */
876#	undef HAVE_TZNAME
877
878/* Define if utime(file, NULL) sets file's timestamp to the present. */
879#	undef HAVE_UTIME_NULL
880
881/* Define if you have <vfork.h>. */
882#	undef HAVE_VFORK_H
883
884/* Define if you have the va_copy feature */
885#	undef HAVE_VA_COPY
886
887/* Define if you have the __va_copy feature */
888#	undef HAVE___VA_COPY
889
890/* Define if you have the __builtin_va_copy feature */
891#	undef HAVE___BUILTIN_VA_COPY
892
893/* Define if va_list is an array, and none of va_copy/__va_copy/__builtin_va_copy are supported */
894#	undef ARRAY_VA_LIST
895
896/* Define if you have the vprintf function. */
897#	undef HAVE_VPRINTF
898
899/* Define if you have the wait3 system call. */
900#	undef HAVE_WAIT3
901
902/* Define if you have the <wait.h> header file. */
903#	undef HAVE_WAIT_H
904
905/* Define if your C compiler doesn't accept -c and -o together. */
906#	undef NO_MINUS_C_MINUS_O
907
908/* Define if your Fortran 77 compiler doesn't accept -c and -o together. */
909#	undef F77_NO_MINUS_C_MINUS_O
910
911/* Define to the type of arg1 for select(). */
912#	undef SELECT_TYPE_ARG1
913
914/* Define to the type of args 2, 3 and 4 for select(). */
915#	undef SELECT_TYPE_ARG234
916
917/* Define to the type of arg5 for select(). */
918#	undef SELECT_TYPE_ARG5
919
920/*
921 * If using the C implementation of alloca, define if you know the
922 * direction of stack growth for your system; otherwise it will be
923 * automatically deduced at run-time.
924 * STACK_DIRECTION > 0 => grows toward higher addresses
925 * STACK_DIRECTION < 0 => grows toward lower addresses
926 * STACK_DIRECTION = 0 => direction of growth unknown
927 */
928#	undef STACK_DIRECTION
929
930/* libcanlock */
931#	undef HAVE_EXPLICIT_BZERO
932#	undef HAVE_EXPLICIT_MEMSET
933#	undef HAVE_MEMSET_S
934
935/* Define if the X Window System is missing or not being used. */
936#	undef X_DISPLAY_MISSING
937
938/*
939 * define if you don't want to use file-locking (fcntl/flock/lockf/dotlock)
940 * TODO: add --disable-file-locking switch and rename
941 */
942#	undef NO_LOCKING
943
944/*
945 * define if you can't chmod go-r
946 * TODO: write configure check and find a better name
947 */
948#	undef FILE_MODE_BROKEN
949
950/*
951 * define if tolower() doesn't work correctly as on NEWS-OS3.3
952 */
953#	undef TOLOWER_BROKEN
954#	undef TOUPPER_BROKEN
955
956/*
957 * define if struct hostent contains h_addr_list
958 */
959#	undef HAVE_HOSTENT_H_ADDR_LIST
960
961/*
962 * define if FD_SET()marcor is present
963 */
964#	undef HAVE_TYPE_FD_SET
965
966/*
967 * define if newsserver can't handle pipelined (streamed) commands
968 * TODO: write configure option
969 */
970#	undef DISABLE_PIPELINING
971
972#endif /* !TIN_AUTOCONF_H */
973