/* include/autoconf.h.  Generated automatically by configure.  */
/*
 *  Project   : tin - a Usenet reader
 *  Module    : autoconf.hin
 *  Author    : Thomas Dickey <dickey@herndon4.his.com>
 *  Created   : 1995-08-24
 *  Updated   : 2000-07-19
 *  Notes     : #include files, #defines & struct's
 *
 * Copyright (c) 1995-2001 Thomas Dickey <dickey@herndon4.his.com>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *    This product includes software developed by Thomas Dickey.
 * 4. The name of the author may not be used to endorse or promote
 *    products derived from this software without specific prior written
 *    permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */


#ifndef TIN_AUTOCONF_H
#	define TIN_AUTOCONF_H

/* Package and version */
#	define PACKAGE "tin"
#	define VERSION "1.5.8"

#	define SYSTEM_NAME "ultrix4.1"

/* compiler, compilerflags, ... */
#	define TIN_CC "gcc"
#	define TIN_CFLAGS "-O2 "
#	define TIN_CPP "gcc -E"
#	define TIN_CPPFLAGS ""
#	define TIN_LD "gcc"
#	define TIN_LDFLAGS ""
#	define TIN_LIBS "-ltermlib  "

/*
 * If we're able to run the 'configure' script, it's close enough to UNIX for
 * our purposes. (It's predefined on SCO).
 */
#	ifndef M_UNIX
#		define M_UNIX
#	endif /* !M_UNIX */

/*
 * SCO requires special handling
 */
/* #	undef NEED_TIMEVAL_FIX */
/* #	undef NEED_PTEM_H */

/*
 * These are set as configure options, some must be guarded by ifdefs because
 * they're also used in makefile rules (e.g., lint, proto).
 */
/* #	undef HAVE_MH_MAIL_HANDLING */
#	define NNTP_ABLE 1
/* #	undef NNTP_ONLY */

#	ifndef HAVE_COLOR
#		define HAVE_COLOR 1
#	endif /* !HAVE_COLOR */

#	define DEFAULT_ISO2ASC "-1"
/* #	undef DOMAIN_NAME */
/* #	undef HAVE_FASCIST_NEWSADMIN */
/* #	undef HAVE_MMDF_MAILER */
/* #	undef INEWSDIR */
#	define INN_NNTPLIB ""
/* #	undef LOCAL_CHARSET */
/* #	undef MIME_BREAK_LONG_LINES */
#	define MIME_STRICT_CHARSET 1
#	define MM_CHARSET "US-ASCII"
#	define NEWSLIBDIR "/usr/lib/news"
#	define NNTP_DEFAULT_SERVER "news"
#	define NOVROOTDIR "/var/spool/news"
/* #	undef NO_ETIQUETTE */
/* #	undef NO_LOCALE */
/* #	undef NO_POSTING */
/* #	undef NO_SHELL_ESCAPE */
#	define OVERVIEW_FILE ".overview"
/* #	undef SOCKS */
#	define SPOOLDIR "/var/spool/news"
/* #	undef USE_INN_NNTPLIB */
/* #	undef USE_INVERSE_HACK */
/* #	undef USE_SOCKS4_PREFIX */
/* #	undef USE_SOCKS5 */

/*
 * These are defined if the corresponding program is found during configuration
 */
/* #	undef HAVE_ISPELL */
/* #	undef HAVE_METAMAIL */
/* pgp-2 */
/* #	undef HAVE_PGP */
/* pgp-5 */
/* #	undef HAVE_PGPK */
/* gpg */
/* #	undef HAVE_GPG */
#	define HAVE_SUM 1

/*
 * Compiler characteristics
 */
/* #	undef inline */
/* #	undef const */
#	define HAVE_NESTED_PARAMS 1

/*
 * Data types
 */
/* #	undef gid_t */
/* #	undef mode_t */
/* #	undef off_t */
/* #	undef pid_t */
#	define quad_t NONE
/* #	undef size_t */
/* #	undef time_t */
/* #	undef uid_t */
#	define RETSIGTYPE void
#	define HAVE_LONG_LONG 1

/*
 * The following xxx_H definitions are set by the 'configure' script to
 * defined or commented-out, according to whether the corresponding header
 * file was detected during configuration.
 */
/* #	undef HAVE_ALLOCA_H */
#	define HAVE_ARPA_INET_H 1
#	define HAVE_CURSES_H 1
#	define HAVE_DIRENT_H 1
#	define HAVE_ERRNO_H 1
#	define HAVE_FCNTL_H 1
/* #	undef HAVE_GETOPT_H */
/* #	undef HAVE_IOCTL_H */
/* #	undef HAVE_LIBC_H */
#	define HAVE_LOCALE_H 1
#	define HAVE_MALLOC_H 1
/* #	undef HAVE_NCURSES_H */		/* obsolete versions of ncurses */
#	define HAVE_NETDB_H 1
#	define HAVE_NETINET_IN_H 1
/* #	undef HAVE_NETLIB_H */
/* #	undef HAVE_NOMACROS_H */		/* ncurses 4.1 */
/* #	undef HAVE_POLL_H */
/* #	undef HAVE_PROTOTYPES_H */
#	define HAVE_PWD_H 1
#	define HAVE_SGTTY_H 1
/* #	undef HAVE_SOCKET_H */
#	define HAVE_STDARG_H 1
#	define HAVE_STDDEF_H 1
#	define HAVE_STDLIB_H 1
#	define HAVE_STRINGS_H 1
#	define HAVE_STRING_H 1
/* #	undef HAVE_STROPTS_H */
/* #	undef HAVE_SYS_BSDTYPES_H */
/* #	undef HAVE_SYS_DIR_H */
#	define HAVE_SYS_IOCTL_H 1
/* #	undef HAVE_SYS_NDIR_H */
#	define HAVE_SYS_PARAM_H 1
/* #	undef HAVE_SYS_PTEM_H */
/* #	undef HAVE_SYS_PTY_H */
/* #	undef HAVE_SYS_SELECT_H */
#	define HAVE_SYS_SOCKET_H 1
/* #	undef HAVE_SYS_STREAM_H */
#	define HAVE_SYS_TIMEB_H 1
#	define HAVE_SYS_TIMES_H 1
#	define HAVE_SYS_TIME_H 1
#	define HAVE_SYS_UTSNAME_H 1
#	define HAVE_SYS_WAIT_H 1
/* #	undef HAVE_TERMCAP_H */
#	define HAVE_TERMIOS_H 1
#	define HAVE_TERMIO_H 1
#	define HAVE_TERM_H 1
#	define HAVE_TIME_H 1
#	define HAVE_UNISTD_H 1
#	define HAVE_VARARGS_H 1
#	define STDC_HEADERS 1
#	define TIME_WITH_SYS_TIME 1

/*
 * The following are defined by the configure script if the corresponding
 * function is found in a library.
 */
#	define HAVE_ATOI 1
#	define HAVE_ATOL 1
#	define HAVE_BCOPY 1
#	define HAVE_CHMOD 1
#	define HAVE_FDOPEN 1
#	define HAVE_FORK 1
#	define HAVE_FTIME 1
/* #	undef HAVE_GAI_STRERROR */
#	define HAVE_GETCWD 1
/* #	undef HAVE_GETADDRINFO */
#	define HAVE_GETHOSTBYNAME 1
#	define HAVE_GETSERVBYNAME 1
/* #	undef HAVE_INET_ATON */
/* #	undef HAVE_IS_XTERM */
#	define HAVE_ISASCII 1
#	define HAVE_LINK 1
#	define HAVE_MBLEN 1
#	define HAVE_MEMCMP 1
#	define HAVE_MEMCPY 1
#	define HAVE_MEMMOVE 1
#	define HAVE_MEMSET 1
#	define HAVE_MKDIR 1
/* #	undef HAVE_MKSTEMP */
#	define HAVE_MKTEMP 1
/* #	undef HAVE_MUNMAP */
/* #	undef HAVE_POLL */
#	define HAVE_PUTENV 1
/* #	undef HAVE_RESIZETERM */
#	define HAVE_REWINDDIR 1
#	define HAVE_SELECT 1
#	define HAVE_SETENV 1
#	define HAVE_SETLOCALE 1
/* #	undef HAVE_SETTZ */
/* #	undef HAVE_SNPRINTF */
/* #	undef HAVE_STPCPY */
#	define HAVE_STRCASECMP 1
#	define HAVE_STRCHR 1
/* #	undef HAVE_STRDUP */
#	define HAVE_STRERROR 1
#	define HAVE_STRFTIME 1
#	define HAVE_STRNCASECMP 1
#	define HAVE_STRPBRK 1
#	define HAVE_STRSTR 1
#	define HAVE_STRTOL 1
#	define HAVE_TCGETATTR 1
#	define HAVE_TCSETATTR 1
#	define HAVE_TEMPNAM 1
/* #	undef HAVE_TIGETINT */
/* #	undef HAVE_TIGETNUM */
#	define HAVE_TMPNAM 1
#	define HAVE_TZSET 1
#	define HAVE_UNAME 1
#	define HAVE_UNLINK 1
/* #	undef HAVE_USE_DEFAULT_COLORS */
/* #	undef HAVE_USLEEP */
/* #	undef HAVE_VSNPRINTF */

/*
 * The following are functions/data that we'll have to declare if they're not
 * declared in the system include files, since they return values other than
 * int.
 */
/* #	undef DECL_ERRNO */
/* #	undef DECL_GETENV */
/* #	undef DECL_GETHOSTBYNAME */
/* #	undef DECL_GETLOGIN */
/* #	undef DECL_GETPWNAM */
/* #	undef DECL_GETSERVBYNAME */
/* #	undef DECL_POPEN */
#	define DECL_SYS_ERRLIST 1
/* #	undef DECL_TGETSTR */
/* #	undef DECL_TGOTO */
/* #	undef DECL_TIGETSTR */

/*
 * The following are functions that we'll optionally prototype (to stifle
 * warnings, etc., for development/testing).
 */
/* #	undef DECL_ATOI */
/* #	undef DECL_ATOL */
/* #	undef DECL_BCOPY */
/* #	undef DECL_BZERO */
/* #	undef DECL_CALLOC */
/* #	undef DECL_CONNECT */
/* #	undef DECL_FCLOSE */
/* #	undef DECL_FDOPEN */
/* #	undef DECL_FFLUSH */
/* #	undef DECL_FGETC */
/* #	undef DECL_FILENO */
/* #	undef DECL_FPRINTF */
/* #	undef DECL_FPUTC */
/* #	undef DECL_FPUTS */
/* #	undef DECL_FREAD */
/* #	undef DECL_FREE */
/* #	undef DECL_FSEEK */
/* #	undef DECL_FWRITE */
/* #	undef DECL_GETCWD */
/* #	undef DECL_GETHOSTNAME */
/* #	undef DECL_GETOPT */
/* #	undef DECL_GETPASS */
/* #	undef DECL_INET_ADDR */
/* #	undef DECL_INET_NTOA */
/* #	undef DECL_IOCTL */
/* #	undef DECL_ISASCII */
/* #	undef DECL_MALLOC */
/* #	undef DECL_MEMSET */
/* #	undef DECL_MKSTEMP */
/* #	undef DECL_MKTEMP */
/* #	undef DECL_PCLOSE */
/* #	undef DECL_PERROR */
/* #	undef DECL_PRINTF */
/* #	undef DECL_PUTENV */
/* #	undef DECL_QSORT */
/* #	undef DECL_REALLOC */
/* #	undef DECL_RENAME */
/* #	undef DECL_REWIND */
/* #	undef DECL_SELECT */
/* #	undef DECL_SETENV */
/* #	undef DECL_SNPRINTF */
/* #	undef DECL_SOCKET */
/* #	undef DECL_SSCANF */
/* #	undef DECL_STRCASECMP */
/* #	undef DECL_STRCHR */
/* #	undef DECL_STRFTIME */
/* #	undef DECL_STRNCASECMP */
/* #	undef DECL_STRTOL */
/* #	undef DECL_SYSTEM */
/* #	undef DECL_TEMPNAM */
/* #	undef DECL_TGETENT */
/* #	undef DECL_TGETFLAG */
/* #	undef DECL_TGETNUM */
/* #	undef DECL_TIGETFLAG */
/* #	undef DECL_TIGETNUM */
/* #	undef DECL_TIME */
/* #	undef DECL_TOLOWER */
/* #	undef DECL_TOUPPER */
/* #	undef DECL_TPUTS */
/* #	undef DECL_UNGETC */
/* #	undef DECL_USLEEP */
/* #	undef DECL_VSNPRINTF */
/* #	undef DECL_VSPRINTF */
/* #	undef DECL__FLSBUF */


#	define HAVE_POSIX_JC 1
/* #	undef HAVE_SELECT_INTP */
/* #	undef HAVE_TYPE_SIGACTION */
/* #	undef HAVE_TYPE_UNIONWAIT */

/*
 * Enable IPv6 support
 */
/* #	undef ENABLE_IPV6 */

/*
 * Define a symbol to control whether we use curses, or the termcap/terminfo
 * interface
 */
/* #	undef USE_CURSES */
/* #	undef USE_TRACE */
/* #	undef NEED_CURSES_H */
#	define NEED_TERM_H 1
/* #	undef NEED_TERMCAP_H */

/*
 * Define symbols to prototype the function 'outchar()'
 */
/* #	undef USE_TERMINFO */
#	define OUTC_RETURN 1
/* #	undef OUTC_ARGS */

/*
 * Miscelleneous terminfo/termcap definitions
 */
#define	HAVE_EXTERN_TCAP_PC 1

/*
 * Define a symbol for the prototype arguments of a signal handler
 */
#	define SIG_ARGS int sig

/*
 * define if setpgrp() takes no arguments
 */
#	define SETPGRP_VOID 1

/*
 * Define this if it's safe to redefine the signal constants with prototypes.
 */
#	define DECL_SIG_CONST 1


/* FIXME: remove absolut-paths! */
/*
 * Program-paths (i.e., the invocation-path)
 */
#	define DEFAULT_EDITOR "/usr/ucb/vi"
#	define DEFAULT_MAILBOX "/var/spool/mail"
#	define DEFAULT_MAILER "/usr/lib/sendmail"
/* #	undef PATH_ISPELL */
/* #	undef PATH_METAMAIL */
#	define PATH_SUM "/usr/bin/sum"
/* #	undef PATH_PGP */
/* FIXME: this is _not_ the path to the pgp-5 binarie we usually need */
/* #	undef PATH_PGPK */
/* #	undef PATH_GPG */

/*
 * Configure also checks whether sum takes -r
 * And defines PATH_SUM_R appropriately
 */
/* #	undef SUM_TAKES_DASH_R */
#	define PATH_SUM_R "/usr/bin/sum"

/*
 * Define this if the host system has long (>14 character) filenames
 */
#	define HAVE_LONG_FILE_NAMES 1

/*
 * Define this if the compiler performs ANSI-style token substitution (used in
 * our 'assert' macro).
 */
#	define CPP_DOES_EXPAND 1
/*
 * Define this if the compiler performs ANSI-style token concatenation (used in
 * our 'tincfg.h' macros).
 */
#	define CPP_DOES_CONCAT 1

/*
 * One of the following two is defined, according to whether qsort's compare
 * function is ANSI (declared with 'void *' parameters) or not.
 */
#	define HAVE_COMPTYPE_VOID 1
/* #	undef HAVE_COMPTYPE_CHAR */

/*
 * Define this to enable interpretation of 8-bit keycodes (e.g., beginning
 * with 0x9b).
 */
#	define HAVE_KEY_PREFIX 1

/*
 * Define this if an application can dump core.  Some systems (e.g., apollo)
 * don't at all.  Others may not, depending on how they're configured.
 */
#	define HAVE_COREFILE 1

/*
 * Define if the system doesn't define SIGWINCH, or the associated structs
 * to determine the window's size.
 */
#	define DONT_HAVE_SIGWINCH 1

/*
 * Definitions for debugging-malloc libraries
 */
#	ifndef __BUILD__
/* #		undef USE_DBMALLOC */	/* use Conor Cahill's dbmalloc library */
/* #		undef USE_DMALLOC */	/* use Gray Watson's dmalloc library */
#	endif /* !__BUILD__ */

/*
 * Define if the system doesn't support pipes, or if it is not a desired
 * feature.
 */
/* #	undef DONT_HAVE_PIPING */

/*
 * Define if the system doesn't support printing, or if it is not a
 * desired feature.
 */
/* #	undef DISABLE_PRINTING */

/*
 * Used in get_full_name()
 */
/* #	undef DONT_HAVE_PW_GECOS */

/*
 * Used in parsedate.y
 */
/* #	undef DONT_HAVE_TM_GMTOFF */

#	if defined(__hpux)
#		define HAVE_KEYPAD
#	endif /* __hpux */

/*
 * Not all platforms have either strerror or sys_errlist[].
 */
#	define HAVE_SYS_ERRLIST 1

#	if 0 /* FIXME: test-not-impl */
#		if defined(supermax)
#			define HAVE_BROKEN_TGETSTR
#		endif /* supermax */
#	endif /* 0 */

#	define USE_SYSTEM_STATUS 1

/*
 * Use this if you want pid attached to the end of .article filename
 */
#	define APPEND_PID 1

/*
 * allow fallback to XHDR XREF if XOVER isn't supported?
 */
#	define XHDR_XREF 1

/*
 * The directory, where tin looks first for its tin.defaults file
 * can be left empty, tin searches for some standard places
 * XXXXX please define surrounded with double quotes! XXXXX
 */
#	define TIN_DEFAULTS_DIR "/etc/tin"

/*
 * define if second and thrid argument of setvbuf() are swaped
 * (System V before Release 3)
 */
/* #	undef SETVBUF_REVERSED */

/*
 * define if closedir() does not return a status
 */
/* #	undef CLOSEDIR_VIOD */

/*
 * define if your NNTP server needs an extra GROUP command before
 * accepting a LISTGROUP command.
 * (old versions of leafnode and NNTPcache need this)
 */
/* #	undef BROKEN_LISTGROUP */

/* #	undef HAVE_COFFEE */

/*
 * libuu - used in save.c
 */
/* #	undef HAVE_UUDEVIEW_H */
/* #	undef HAVE_LIBUU */

/*
 * Some older socks libraries, especially AIX need special definitions
 */
#	if defined(_AIX) && !defined(USE_SOCKS5)
/* #		undef accept */
/* #		undef bind */
/* #		undef connect */
/* #		undef getpeername */
/* #		undef getsockname */
/* #		undef listen */
/* #		undef recvfrom */
/* #		undef select */
#	endif /* _AIX && !USE_SOCKS5 */

/* FIXME: move things below to right place above */

/* GNU gettext */
/* Define to 1 if NLS is requested.  */
/* #	undef ENABLE_NLS */

/* Define if your locale.h file contains LC_MESSAGES.  */
/* #	undef HAVE_LC_MESSAGES */

/* Define if you have the i library (-li).  */
/* #	undef HAVE_LIBI */

/* #	undef HAVE___ARGZ_COUNT */
/* #	undef HAVE___ARGZ_NEXT */
/* #	undef HAVE___ARGZ_STRINGIFY */
/* #	undef HAVE_CATGETS */
/* #	undef HAVE_DCGETTEXT */
/* #	undef HAVE_GETTEXT */
#endif /* !TIN_AUTOCONF_H */
