Annotation of coherent/g/usr/lib/uucp/tay104/conf.h, revision 1.1.1.1

1.1       root        1: /* conf.h.  Generated automatically by configure.  */
                      2: /* Configuration header file for Taylor UUCP.  -*- C -*-  */
                      3: 
                      4: /* Set MAIL_PROGRAM to a program which takes a mail address as an
                      5:    argument and accepts a mail message to send to that address on
                      6:    stdin (e.g. "/bin/mail").  */
                      7: #define MAIL_PROGRAM "/bin/mail"
                      8: 
                      9: /* Set ECHO_PROGRAM to a program which echoes its arguments; if echo
                     10:    is a shell builtin you can just use "echo".  */
                     11: #define ECHO_PROGRAM "echo"
                     12: 
                     13: /* The following macros indicate what header files you have.  Set the
                     14:    macro to 1 if you have the corresponding header file, or 0 if you
                     15:    do not.  */
                     16: #define HAVE_STDDEF_H 1 /* <stddef.h> */
                     17: #define HAVE_STRING_H 1 /* <string.h> */
                     18: #define HAVE_STRINGS_H 0 /* <strings.h> */
                     19: #define HAVE_UNISTD_H 1 /* <unistd.h> */
                     20: #define HAVE_STDLIB_H 1 /* <stdlib.h> */
                     21: #define HAVE_LIMITS_H 1 /* <limits.h> */
                     22: #define HAVE_TIME_H 1 /* <time.h> */
                     23: #define HAVE_SYS_WAIT_H 0 /* <sys/wait.h> */
                     24: #define HAVE_SYS_IOCTL_H 0 /* <sys/ioctl.h> */
                     25: #define HAVE_DIRENT_H 1 /* <dirent.h> */
                     26: #define HAVE_MEMORY_H 1 /* <memory.h> */
                     27: #define HAVE_SYS_PARAM_H 1 /* <sys/param.h> */
                     28: #define HAVE_UTIME_H 0 /* <utime.h> */
                     29: #define HAVE_FCNTL_H 1 /* <fcntl.h> */
                     30: #define HAVE_SYS_FILE_H 1 /* <sys/file.h> */
                     31: #define HAVE_SYS_TIMES_H 1 /* <sys/times.h> */
                     32: #define HAVE_LIBC_H 0 /* <libc.h> */
                     33: #define HAVE_SYSEXITS_H 0 /* <sysexits.h> */
                     34: #define HAVE_POLL_H 1 /* <poll.h> */
                     35: #define HAVE_TIUSER_H 0 /* <tiuser.h> */
                     36: #define HAVE_XTI_H 0 /* <xti.h> */
                     37: #define HAVE_SYS_TLI_H 0 /* <sys/tli.h> */
                     38: #define HAVE_STROPTS_H 0 /* <stropts.h> */
                     39: #define HAVE_FTW_H 0 /* <ftw.h> */
                     40: #define HAVE_GLOB_H 0 /* <glob.h> */
                     41: #define HAVE_SYS_SELECT_H 1 /* <sys/select.h> */
                     42: #define HAVE_SYS_TYPES_TCP_H 0 /* <sys/types.tcp.h> */
                     43: 
                     44: /* If major and minor are not defined in <sys/types.h>, but are in
                     45:    <sys/mkdev.h>, set MAJOR_IN_MKDEV to 1.  If they are in
                     46:    <sys/sysmacros.h>, set MAJOR_IN_SYSMACROS to 1.  */
                     47: #define MAJOR_IN_MKDEV 0
                     48: #define MAJOR_IN_SYSMACROS 0
                     49: 
                     50: /* If the macro offsetof is not defined in <stddef.h>, you may give it
                     51:    a definition here.  If you do not, the code will use a definition
                     52:    (in uucp.h) that should be fairly portable.  */
                     53: /* #define offsetof */
                     54: 
                     55: /* Set RETSIGTYPE to the return type of a signal handler.  On newer
                     56:    systems this will be void; some older systems use int.  */
                     57: #define RETSIGTYPE int
                     58: 
                     59: /* Set HAVE_SYS_TIME_AND_TIME_H to 1 if <time.h> and <sys/time.h> can both
                     60:    be included in a single source file; if you don't have either or both of
                     61:    them, it doesn't matter what you set this to.  */
                     62: #define HAVE_SYS_TIME_AND_TIME_H 1
                     63: 
                     64: /* Set HAVE_TERMIOS_AND_SYS_IOCTL_H to 1 if <termios.h> and <sys/ioctl.h>
                     65:    can both be included in a single source file; if you don't have either
                     66:    or both of them, it doesn't matter what you set this to.  */
                     67: #define HAVE_TERMIOS_AND_SYS_IOCTL_H 0
                     68: 
                     69: /* If you are configuring by hand, you should set one of the terminal
                     70:    driver options in policy.h.  If you are autoconfiguring, the script
                     71:    will check whether your system defines CBREAK, which is a terminal
                     72:    setting; if your system supports CBREAK, and you don't set a terminal
                     73:    driver in policy.h, the code will assume that you have a BSD style
                     74:    terminal driver.  */
                     75: #define HAVE_CBREAK 1
                     76: 
                     77: /* The package needs several standard types.  If you are using the
                     78:    configure script, it will look in standard places for these types,
                     79:    and give default definitions for them here if it doesn't find them.
                     80:    The default definitions should work on most systems, but you may
                     81:    want to check them.  If you are configuring by hand, you will have
                     82:    to figure out whether the types are defined on your system, and
                     83:    what they should be defined to.
                     84: 
                     85:    Any type that is not defined on your system should get a macro
                     86:    definition.  The definition should be of the name of the type in
                     87:    all capital letters.  For example, #define PID_T int.  If the type
                     88:    is defined in a standard header file, the macro name should not be
                     89:    defined.  */
                     90: 
                     91: /* The type pid_t is used to hold a process ID number.  It is normally
                     92:    defined in <sys/types.h>.  This is the type returned by the
                     93:    functions fork or getpid.  Usually int will work fine.  */
                     94: #define PID_T int
                     95: 
                     96: /* The type uid_t is used to hold a user ID number.  It is normally
                     97:    defined in <sys/types.h>.  This is the type returned by the getuid
                     98:    function.  Usually int will work fine.  */
                     99: #define UID_T int
                    100: 
                    101: /* The type gid_t is used to hold a group ID number.  It is sometimes
                    102:    defined in <sys/types.h>.  This is the type returned by the getgid
                    103:    function.  Usually int will work fine.  */
                    104: #define GID_T int
                    105: 
                    106: /* The type off_t is used to hold an offset in a file.  It is sometimes
                    107:    defined in <sys/types.h>.  This is the type of the second argument to
                    108:    the lseek function.  Usually long will work fine.  */
                    109: #undef OFF_T
                    110: 
                    111: /* Set HAVE_SIG_ATOMIC_T_IN_SIGNAL_H if the type sig_atomic_t is defined
                    112:    in <signal.h> as required by ANSI C.  */
                    113: #define HAVE_SIG_ATOMIC_T_IN_SIGNAL_H 0
                    114: 
                    115: /* Set HAVE_SIG_ATOMIC_T_IN_TYPES_H if the type sig_atomic_t is defined
                    116:    in <sys/types.h>.  This is ignored if HAVE_SIG_ATOMIC_T_IN_SIGNAL_H is
                    117:    set to 1.  */
                    118: #define HAVE_SIG_ATOMIC_T_IN_TYPES_H 0
                    119: 
                    120: /* The type sig_atomic_t is used to hold a value which may be
                    121:    referenced in a single atomic operation.  If it is not defined in
                    122:    either <signal.h> or <sys/types.h>, you may want to give it a
                    123:    definition here.  If you don't, the code will use char.  If your
                    124:    compiler does not support sig_atomic_t, there is no type which is
                    125:    really correct; fortunately, for this package it does not really
                    126:    matter very much.  */
                    127: #undef SIG_ATOMIC_T
                    128: 
                    129: /* Set HAVE_SIZE_T_IN_STDDEF_H to 1 if the type size_t is defined in
                    130:    <stddef.h> as required by ANSI C.  */
                    131: #define HAVE_SIZE_T_IN_STDDEF_H 1
                    132: 
                    133: /* Set HAVE_SIZE_T_IN_TYPES_H to 1 if the type size_t is defined in
                    134:    <sys/types.h>.  This is ignored if HAVE_SIZE_T_IN_STDDEF_H is set
                    135:    to 1.  */
                    136: #define HAVE_SIZE_T_IN_TYPES_H 0
                    137: 
                    138: /* The type size_t is used to hold the size of an object.  In
                    139:    particular, an argument of this type is passed as the size argument
                    140:    to the malloc and realloc functions.  If size_t is not defined in
                    141:    either <stddef.h> or <sys/types.h>, you may want to give it a
                    142:    definition here.  If you don't, the code will use unsigned.  */
                    143: #undef SIZE_T
                    144: 
                    145: /* Set HAVE_TIME_T_IN_TIME_H to 1 if the type time_t is defined in
                    146:    <time.h>, as required by the ANSI C standard.  */
                    147: #define HAVE_TIME_T_IN_TIME_H 1
                    148: 
                    149: /* Set HAVE_TIME_T_IN_TYPES_H to 1 if the type time_t is defined in
                    150:    <sys/types.h>.  This is ignored if HAVE_TIME_T_IN_TIME_H is set to
                    151:    1.  */
                    152: #define HAVE_TIME_T_IN_TYPES_H 1
                    153: 
                    154: /* When Taylor UUCP is talking to another instance of itself, it will
                    155:    tell the other side the size of a file before it is transferred.
                    156:    If the package can determine how much disk space is available, it
                    157:    will use this information to avoid filling up the disk.  Define one
                    158:    of the following macros to tell the code how to determine the
                    159:    amount of available disk space.  It is possible that none of these
                    160:    are appropriate; it will do no harm to use none of them, but, of
                    161:    course, nothing will then prevent the package from filling up the
                    162:    disk.  Note that this space check is only useful when talking to
                    163:    another instance of Taylor UUCP.
                    164: 
                    165:    STAT_STATVFS          statvfs function
                    166:    STAT_STATFS2_BSIZE    two argument statfs function with f_bsize field
                    167:    STAT_STATFS2_FSIZE    two argument statfs function with f_fsize field
                    168:    STAT_STATFS2_FS_DATA  two argument statfs function with fd_req field
                    169:    STAT_STATFS4          four argument statfs function
                    170:    STAT_USTAT            the ustat function with 512 byte blocks.  */
                    171: #define STAT_STATVFS 0
                    172: #define STAT_STATFS2_BSIZE 0
                    173: #define STAT_STATFS2_FSIZE 0
                    174: #define STAT_STATFS2_FS_DATA 0
                    175: #define STAT_STATFS4 0
                    176: #define STAT_USTAT 0
                    177: 
                    178: /* Set HAVE_VOID to 1 if the compiler supports declaring functions with
                    179:    a return type of void and casting values to void.  */
                    180: #define HAVE_VOID 1
                    181: 
                    182: /* Set HAVE_UNSIGNED_CHAR to 1 if the compiler supports the type unsigned
                    183:    char.  */
                    184: #define HAVE_UNSIGNED_CHAR 1
                    185: 
                    186: /* Set HAVE_ERRNO_DECLARATION to 1 if errno is declared in <errno.h>.  */
                    187: #define HAVE_ERRNO_DECLARATION 1
                    188: 
                    189: /* There are now a number of functions to check for.  For each of
                    190:    these, the macro HAVE_FUNC should be set to 1 if your system has
                    191:    FUNC.  For example, HAVE_VFPRINTF should be set to 1 if your system
                    192:    has vfprintf, 0 otherwise.  */
                    193: 
                    194: /* Taylor UUCP will take advantage of the following functions if they
                    195:    are available, but knows how to deal with their absence.  */
                    196: #define HAVE_VFPRINTF 1
                    197: #define HAVE_FTRUNCATE 0
                    198: #define HAVE_LTRUNC 0
                    199: #define HAVE_WAITPID 0
                    200: #define HAVE_WAIT4 0
                    201: #define HAVE_GLOB 0
                    202: #define HAVE_SETREUID 0
                    203: 
                    204: /* There are several functions which are replaced in the subdirectory
                    205:    lib.  If they are missing, the configure script will automatically
                    206:    add them to lib/Makefile to force them to be recompiled.  If you
                    207:    are configuring by hand, you will have to do this yourself.  The
                    208:    string @LIBOBJS@ in lib/Makefile.in should be replaced by a list of
                    209:    object files in lib/Makefile.  The following comments tell you
                    210:    which object file names to add (they are generally fairly obvious,
                    211:    given that the file names have no more than six characters before
                    212:    the period).  */
                    213: 
                    214: /* For each of these functions, if it does not exist, the indicated
                    215:    object file should be added to lib/Makefile.  */
                    216: #define HAVE_BSEARCH 1 /* bsrch.o */
                    217: #define HAVE_GETLINE 0 /* getlin.o */
                    218: #define HAVE_MEMCHR 1 /* memchr.o */
                    219: #define HAVE_STRDUP 0 /* strdup.o */
                    220: #define HAVE_STRSTR 1 /* strstr.o */
                    221: #define HAVE_STRTOL 1 /* strtol.o */
                    222: 
                    223: /* If neither of these functions exists, you should add bzero.o to
                    224:    lib/Makefile.  */
                    225: #define HAVE_BZERO 0
                    226: #define HAVE_MEMSET 1
                    227: 
                    228: /* If neither of these functions exists, you should add memcmp.o to
                    229:    lib/Makefile.  */
                    230: #define HAVE_MEMCMP 1
                    231: #define HAVE_BCMP 0
                    232: 
                    233: /* If neither of these functions exists, you should add memcpy.o to
                    234:    lib/Makefile.  */
                    235: #define HAVE_MEMCPY 1
                    236: #define HAVE_BCOPY 0
                    237: 
                    238: /* If neither of these functions exists, you should add strcas.o to
                    239:    lib/Makefile.  */
                    240: #define HAVE_STRCASECMP 0
                    241: #define HAVE_STRICMP 0
                    242: 
                    243: /* If neither of these functions exists, you should add strncs.o to
                    244:    lib/Makefile.  */
                    245: #define HAVE_STRNCASECMP 0
                    246: #define HAVE_STRNICMP 0
                    247: 
                    248: /* If neither of these functions exists, you should add strchr.o to
                    249:    lib/Makefile.  */
                    250: #define HAVE_STRCHR 1
                    251: #define HAVE_INDEX 1
                    252: 
                    253: /* If neither of these functions exists, you should add strrch.o to
                    254:    lib/Makefile.  */
                    255: #define HAVE_STRRCHR 1
                    256: #define HAVE_RINDEX 1
                    257: 
                    258: /* There are also Unix specific functions which are replaced in the
                    259:    subdirectory unix.  If they are missing, the configure script will
                    260:    automatically add them to unix/Makefile to force them to be
                    261:    recompiled.  If you are configuring by hand, you will have to do
                    262:    this yourself.  The string @UNIXOBJS@ in unix/Makefile.in should be
                    263:    replaced by a list of object files in unix/Makefile.  The following
                    264:    comments tell you which object file names to add.  */
                    265: 
                    266: /* For each of these functions, if it does not exist, the indicated
                    267:    object file should be added to unix/Makefile.  */
                    268: #define HAVE_OPENDIR 1 /* dirent.o */
                    269: #define HAVE_DUP2 1 /* dup2.o */
                    270: #define HAVE_FTW 0 /* ftw.o */
                    271: #define HAVE_REMOVE 1 /* remove.o */
                    272: #define HAVE_RENAME 1 /* rename.o */
                    273: #define HAVE_STRERROR 1 /* strerr.o */
                    274: 
                    275: /* The code needs to know how to create directories.  If you have the
                    276:    mkdir function, set HAVE_MKDIR to 1 and replace @UUDIR@ in
                    277:    Makefile.in with '# ' (the configure script will set @UUDIR@
                    278:    according to the variable UUDIR).  Otherwise, set HAVE_MKDIR to 0,
                    279:    remove @UUDIR@ from Makefile.in, set MKDIR_PROGRAM to the name of
                    280:    the program which will create a directory named on the command line
                    281:    (e.g., "/bin/mkdir"), and add mkdir.o to the @UNIXOBJS@ string in
                    282:    unix/Makefile.in.  */
                    283: #define HAVE_MKDIR 1
                    284: #define MKDIR_PROGRAM unused
                    285: 
                    286: /* The code also needs to know how to remove directories.  If you have
                    287:    the rmdir function, set HAVE_RMDIR to 1.  Otherwise, set
                    288:    RMDIR_PROGRAM to the name of the program which will remove a
                    289:    directory named on the command line (e.g., "/bin/rmdir") and add
                    290:    rmdir.o to the @UNIXOBJS@ string in unix/Makefile.in.  */
                    291: #define HAVE_RMDIR 1
                    292: #define RMDIR_PROGRAM unused
                    293: 
                    294: /* The code needs to know to how to get the name of the current
                    295:    directory.  If getcwd is available it will be used, otherwise if
                    296:    getwd is available it will be used.  Otherwise, set PWD_PROGRAM to
                    297:    the name of the program which will print the name of the current
                    298:    working directory (e.g., "/bin/pwd") and add getcwd.o to the
                    299:    @UNIXOBJS@ string in unix/Makefile.in.  */
                    300: #define HAVE_GETCWD 1
                    301: #define HAVE_GETWD 0
                    302: #define PWD_PROGRAM unused
                    303: 
                    304: /* If you have either sigsetjmp or setret, it will be used instead of
                    305:    setjmp.  These functions will only be used if your system restarts
                    306:    system calls after interrupts (see HAVE_RESTARTABLE_SYSCALLS,
                    307:    below).  */
                    308: #define HAVE_SIGSETJMP 0
                    309: #define HAVE_SETRET 0
                    310: 
                    311: /* The code needs to know what function to use to set a signal
                    312:    handler.  If will try to use each of the following functions in
                    313:    turn.  If none are available, it will use signal, which is assumed
                    314:    to always exist.  */
                    315: #define HAVE_SIGACTION 0
                    316: #define HAVE_SIGVEC 0
                    317: #define HAVE_SIGSET 1
                    318: 
                    319: /* If the code is going to use sigvec (HAVE_SIGACTION is 0 and
                    320:    HAVE_SIGVEC is 1), then HAVE_SIGVEC_SV_FLAGS must be set to 1 if
                    321:    the sigvec structure contains the sv_flags field, or 0 if the
                    322:    sigvec structure contains the sv_onstack field.  If the code is not
                    323:    going to use sigvec, it doesn't matter what this is set to.  */
                    324: #define HAVE_SIGVEC_SV_FLAGS 0
                    325: 
                    326: /* The code will try to use each of the following functions in turn
                    327:    when blocking signals from delivery.  If none are available, a
                    328:    relatively unimportant race condition will exist.  */
                    329: #define HAVE_SIGPROCMASK 0
                    330: #define HAVE_SIGBLOCK 0
                    331: #define HAVE_SIGHOLD 1
                    332: 
                    333: /* If you have either of the following functions, it will be used to
                    334:    determine the number of file descriptors which may be open.
                    335:    Otherwise, the code will use OPEN_MAX if defined, then NOFILE if
                    336:    defined, then 20.  */
                    337: #define HAVE_GETDTABLESIZE 0
                    338: #define HAVE_SYSCONF 0
                    339: 
                    340: /* The code will use one of the following functions when detaching
                    341:    from a terminal.  One of these must exist.  */
                    342: #define HAVE_SETPGRP 1
                    343: #define HAVE_SETSID 0
                    344: 
                    345: /* If you do not specify the local node name in the main configuration
                    346:    file, Taylor UUCP will try to use each of the following functions
                    347:    in turn.  If neither is available, you must specify the local node
                    348:    name in the configuration file.  */
                    349: #define HAVE_GETHOSTNAME 0
                    350: #define HAVE_UNAME 1
                    351: 
                    352: /* The code will try to use each of the following functions in turn to
                    353:    determine the current time.  If none are available, it will use
                    354:    time, which is assumed to always exist.  */
                    355: #define HAVE_GETTIMEOFDAY 0
                    356: #define HAVE_FTIME 1
                    357: 
                    358: /* If neither gettimeofday nor ftime is available, the code will use
                    359:    times (if available) to measure a span of time.  See also the
                    360:    discussion of TIMES_TICK in policy.h.  */
                    361: #define HAVE_TIMES 1
                    362: 
                    363: /* When a chat script requests a pause of less than a second with \p,
                    364:    Taylor UUCP will try to use each of the following functions in
                    365:    turn.  If none are available, it will sleep for a full second.
                    366:    Also, the (non-portable) tstuu program requires either select or
                    367:    poll.  */
                    368: #define HAVE_NAPMS 0
                    369: #define HAVE_NAP 0
                    370: #define HAVE_USLEEP 0
                    371: #define HAVE_POLL 1
                    372: #define HAVE_SELECT 0
                    373: 
                    374: /* If the getgrent function is available, it will be used to determine
                    375:    all the groups a user belongs to when checking file access
                    376:    permissions.  */
                    377: #define HAVE_GETGRENT 1
                    378: 
                    379: /* If the socket function is available, TCP support code will be
                    380:    compiled in.  */
                    381: #define HAVE_SOCKET 0
                    382: 
                    383: /* If the t_open function is available, TLI support code will be
                    384:    compiled in.  This may require adding a library, such as -lnsl or
                    385:    -lxti, to the Makefile variables LIBS.  */
                    386: #define HAVE_T_OPEN 0
                    387: 
                    388: /* That's the end of the list of the functions.  Now there are a few
                    389:    last miscellaneous items.  */
                    390: 
                    391: /* On some systems the following functions are declared in such a way
                    392:    that the code cannot make a simple extern.  On other systems, these
                    393:    functions are not declared at all, and the extern is required.  If
                    394:    a declaration of the function, as shown, compiles on your system,
                    395:    set the value to 1.  Not all functions declared externally are
                    396:    listed here, only the ones with which I have had trouble.  */
                    397: /* extern long times (); */
                    398: #define TIMES_DECLARATION_OK 1
                    399: /* extern struct passwd *getpwnam (); */
                    400: #define GETPWNAM_DECLARATION_OK 1
                    401: /* extern struct passwd *getpwuid (); */
                    402: #define GETPWUID_DECLARATION_OK 1
                    403: /* extern struct group *getgrent (); */
                    404: #define GETGRENT_DECLARATION_OK 1
                    405: 
                    406: /* Set HAVE_BSD_PGRP to 1 if your getpgrp call takes 1 argument and
                    407:    your setpgrp calls takes 2 arguments (on System V they generally
                    408:    take no arguments).  You can safely set this to 1 on System V,
                    409:    provided the call will compile without any errors.  */
                    410: #define HAVE_BSD_PGRP 1
                    411: 
                    412: /* Set HAVE_UNION_WAIT to 1 if union wait is defined in the header
                    413:    file <sys/wait.h>.  */
                    414: #define HAVE_UNION_WAIT 0
                    415: 
                    416: /* Set HAVE_LONG_FILE_NAMES to 1 if the system supports file names
                    417:    longer than 14 characters.  */
                    418: #define HAVE_LONG_FILE_NAMES 1
                    419: 
                    420: /* If slow system calls are restarted after interrupts, set
                    421:    HAVE_RESTARTABLE_SYSCALLS to 1.  This is ignored if HAVE_SIGACTION
                    422:    is 1 or if HAVE_SIGVEC is 1 and HAVE_SIGVEC_SV_FLAGS is 1 and
                    423:    SV_INTERRUPT is defined in <signal.h>.  In both of these cases
                    424:    system calls can be prevented from restarting.  */
                    425: #define HAVE_RESTARTABLE_SYSCALLS 0
                    426: 
                    427: /* Some systems supposedly need the following macros to be defined.
                    428:    These are handled by the configure script (it will turn #undef into
                    429:    #define when appropriate, which is why the peculiar #ifndef #undef
                    430:    construction is used).  If you are configuring by hand, you may add
                    431:    appropriate definitions here, or just add them to CFLAGS when
                    432:    running make.  */
                    433: #ifndef _ALL_SOURCE
                    434: #undef _ALL_SOURCE
                    435: #endif
                    436: #ifndef _POSIX_SOURCE
                    437: #undef _POSIX_SOURCE
                    438: #endif
                    439: #ifndef _MINIX
                    440: #undef _MINIX
                    441: #endif
                    442: #ifndef _POSIX_1_SOURCE
                    443: #undef _POSIX_1_SOURCE
                    444: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.