Home | History | Annotate | Line # | Download | only in ksh
      1  1.53     kamil /*	$NetBSD: config.h,v 1.53 2017/06/30 04:22:22 kamil Exp $	*/
      2   1.4       tls 
      3   1.1       jtc /* config.h.  Generated automatically by configure.  */
      4   1.1       jtc /* config.h.in.  Generated automatically from configure.in by autoheader.  */
      5   1.1       jtc /*
      6   1.1       jtc  * This file, acconfig.h, which is a part of pdksh (the public domain ksh),
      7   1.1       jtc  * is placed in the public domain.  It comes with no licence, warranty
      8   1.1       jtc  * or guarantee of any kind (i.e., at your own risk).
      9   1.1       jtc  */
     10   1.1       jtc 
     11   1.1       jtc #ifndef CONFIG_H
     12   1.1       jtc #define CONFIG_H
     13   1.1       jtc 
     14   1.1       jtc /* Define if on MINIX.  */
     15   1.1       jtc /* #undef _MINIX */
     16   1.1       jtc 
     17   1.1       jtc /* Define if the system does not provide POSIX.1 features except
     18   1.1       jtc    with this defined.  */
     19   1.1       jtc /* #undef _POSIX_1_SOURCE */
     20   1.1       jtc 
     21   1.1       jtc /* Define if you need to in order for stat and other things to work.  */
     22   1.1       jtc /* #undef _POSIX_SOURCE */
     23   1.1       jtc 
     24   1.1       jtc /* Define as the return type of signal handlers (int or void).  */
     25   1.1       jtc #define RETSIGTYPE void
     26   1.1       jtc 
     27   1.1       jtc /* Define if `sys_siglist' is declared by <signal.h>.  */
     28   1.1       jtc #define SYS_SIGLIST_DECLARED 1
     29   1.1       jtc 
     30   1.1       jtc /* Define as the return value of signal handlers (0 or ).  */
     31   1.1       jtc #define RETSIGVAL
     32   1.1       jtc 
     33   1.1       jtc /* Define if you have bsd versions of the setpgrp() and getpgrp() routines */
     34   1.1       jtc /* #undef BSD_PGRP */
     35   1.1       jtc 
     36   1.1       jtc /* Define if you have POSIX versions of the setpgid() and getpgrp() routines */
     37   1.1       jtc #define POSIX_PGRP 1
     38   1.1       jtc 
     39   1.1       jtc /* Define if you have sysV versions of the setpgrp() and getpgrp() routines */
     40   1.1       jtc /* #undef SYSV_PGRP */
     41   1.1       jtc 
     42   1.1       jtc /* Define if you don't have setpgrp(), setpgid() or getpgrp() routines */
     43   1.1       jtc /* #undef NO_PGRP */
     44   1.1       jtc 
     45   1.1       jtc /* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */
     46   1.1       jtc #define HAVE_GCC_FUNC_ATTR 1
     47   1.1       jtc 
     48   1.1       jtc /* Define if sys_errlist[] and sys_nerr are in the C library */
     49   1.1       jtc #define HAVE_SYS_ERRLIST 1
     50   1.1       jtc 
     51   1.1       jtc /* Define if sys_errlist[] and sys_nerr are defined in <errno.h> */
     52   1.1       jtc #define SYS_ERRLIST_DECLARED 1
     53   1.1       jtc 
     54   1.1       jtc /* Define if sys_siglist[] is in the C library */
     55   1.1       jtc #define HAVE_SYS_SIGLIST 1
     56   1.1       jtc 
     57   1.1       jtc /* Define if you have a sane <termios.h> header file */
     58   1.1       jtc #define HAVE_TERMIOS_H 1
     59   1.1       jtc 
     60   1.1       jtc /* Define if you have a sane <termio.h> header file */
     61   1.1       jtc /* #undef HAVE_TERMIO_H */
     62   1.1       jtc 
     63   1.1       jtc /* Define if opendir() will open non-directory files */
     64   1.1       jtc /* #undef OPENDIR_DOES_NONDIR */
     65   1.1       jtc 
     66   1.1       jtc /* Define if the pgrp of setpgrp() can't be the pid of a zombie process */
     67   1.1       jtc /* #undef NEED_PGRP_SYNC */
     68   1.1       jtc 
     69   1.7   mycroft /* Default PATH */
     70   1.8  christos #ifdef RESCUEDIR
     71   1.8  christos #define DEFAULT_PATH RESCUEDIR ":/bin:/usr/bin:/sbin:/usr/sbin"
     72   1.8  christos #else
     73   1.7   mycroft #define DEFAULT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
     74   1.8  christos #endif
     75   1.7   mycroft 
     76   1.7   mycroft /* Include ksh features? */
     77   1.1       jtc #define KSH 1
     78   1.1       jtc 
     79   1.7   mycroft /* Include emacs editing? */
     80   1.1       jtc #define EMACS 1
     81   1.1       jtc 
     82   1.7   mycroft /* Include vi editing? */
     83   1.1       jtc #define VI 1
     84   1.1       jtc 
     85   1.7   mycroft /* Include job control? */
     86   1.1       jtc #define JOBS 1
     87   1.1       jtc 
     88   1.7   mycroft /* Include brace-expansion? */
     89   1.1       jtc #define BRACE_EXPAND 1
     90   1.1       jtc 
     91   1.7   mycroft /* Include any history? */
     92   1.1       jtc #define HISTORY 1
     93   1.1       jtc 
     94   1.7   mycroft /* Include complex history? */
     95   1.1       jtc /* #undef COMPLEX_HISTORY */
     96   1.1       jtc 
     97   1.7   mycroft /* Strict POSIX behaviour? */
     98   1.3       jtc #define POSIXLY_CORRECT 1
     99   1.1       jtc 
    100   1.7   mycroft /* Specify default $ENV? */
    101   1.6  jdolecek #define DEFAULT_ENV	"$HOME/.kshrc"
    102   1.1       jtc 
    103   1.7   mycroft /* Include shl(1) support? */
    104   1.1       jtc /* #undef SWTCH */
    105   1.1       jtc 
    106   1.7   mycroft /* Include game-of-life? */
    107   1.1       jtc /* #undef SILLY */
    108   1.1       jtc 
    109   1.1       jtc /* Define if you have the _setjmp function.  */
    110   1.7   mycroft #define HAVE__SETJMP
    111   1.1       jtc 
    112   1.1       jtc /* Define if you have the confstr function.  */
    113   1.1       jtc #define HAVE_CONFSTR 1
    114   1.1       jtc 
    115   1.1       jtc /* Define if you have the flock function.  */
    116   1.1       jtc #define HAVE_FLOCK 1
    117   1.1       jtc 
    118   1.7   mycroft /* Define if you have the getcwd function.  */
    119   1.7   mycroft #define HAVE_GETCWD 1
    120   1.7   mycroft 
    121   1.1       jtc /* Define if you have the getgroups function.  */
    122   1.7   mycroft #define HAVE_GETGROUPS
    123   1.1       jtc 
    124   1.2       jtc /* Define if you have the getpagesize function.  */
    125   1.2       jtc #define HAVE_GETPAGESIZE 1
    126   1.2       jtc 
    127   1.1       jtc /* Define if you have the getrusage function.  */
    128   1.7   mycroft #define HAVE_GETRUSAGE
    129   1.1       jtc 
    130   1.1       jtc /* Define if you have the getwd function.  */
    131   1.1       jtc #define HAVE_GETWD 1
    132   1.1       jtc 
    133   1.1       jtc /* Define if you have the killpg function.  */
    134   1.1       jtc #define HAVE_KILLPG 1
    135   1.1       jtc 
    136   1.1       jtc /* Define if you have the nice function.  */
    137   1.1       jtc #define HAVE_NICE 1
    138   1.1       jtc 
    139   1.1       jtc /* Define if you have the setrlimit function.  */
    140   1.1       jtc #define HAVE_SETRLIMIT 1
    141   1.1       jtc 
    142   1.1       jtc /* Define if you have the sigsetjmp function.  */
    143   1.1       jtc #define HAVE_SIGSETJMP 1
    144   1.1       jtc 
    145   1.1       jtc /* Define if you have the strerror function.  */
    146   1.1       jtc #define HAVE_STRERROR 1
    147   1.1       jtc 
    148   1.1       jtc /* Define if you have the sysconf function.  */
    149   1.1       jtc #define HAVE_SYSCONF 1
    150   1.1       jtc 
    151   1.1       jtc /* Define if you have the tcsetpgrp function.  */
    152   1.1       jtc #define HAVE_TCSETPGRP 1
    153   1.1       jtc 
    154   1.1       jtc /* Define if you have the ulimit function.  */
    155   1.7   mycroft #define HAVE_ULIMIT
    156   1.2       jtc 
    157   1.2       jtc /* Define if you have the valloc function.  */
    158   1.2       jtc #define HAVE_VALLOC 1
    159   1.1       jtc 
    160   1.1       jtc /* Define if you have the <dirent.h> header file.  */
    161   1.1       jtc #define HAVE_DIRENT_H 1
    162   1.1       jtc 
    163   1.1       jtc /* Define if you have the <ndir.h> header file.  */
    164   1.1       jtc /* #undef HAVE_NDIR_H */
    165   1.1       jtc 
    166   1.1       jtc /* Define if you have the <paths.h> header file.  */
    167   1.1       jtc #define HAVE_PATHS_H 1
    168   1.1       jtc 
    169   1.1       jtc /* Define if you have the <sys/dir.h> header file.  */
    170   1.7   mycroft #define HAVE_SYS_DIR_H
    171   1.1       jtc 
    172   1.1       jtc /* Define if you have the <sys/ndir.h> header file.  */
    173   1.1       jtc /* #undef HAVE_SYS_NDIR_H */
    174   1.1       jtc 
    175   1.1       jtc /* Define if you have the <sys/param.h> header file.  */
    176   1.1       jtc #define HAVE_SYS_PARAM_H 1
    177   1.1       jtc 
    178   1.1       jtc /* Define if you have the <sys/resource.h> header file.  */
    179   1.1       jtc #define HAVE_SYS_RESOURCE_H 1
    180   1.1       jtc 
    181   1.1       jtc /* Define if you have the <ulimit.h> header file.  */
    182   1.7   mycroft #define HAVE_ULIMIT_H
    183   1.1       jtc 
    184   1.1       jtc /* Define if you have the <values.h> header file.  */
    185   1.1       jtc /* #undef HAVE_VALUES_H */
    186   1.1       jtc 
    187   1.1       jtc /* Need to use a separate file to keep the configure script from commenting
    188   1.1       jtc  * out the undefs....
    189   1.1       jtc  */
    190   1.1       jtc #include "conf-end.h"
    191   1.1       jtc 
    192   1.1       jtc #endif /* CONFIG_H */
    193