Damien Miller | 7f6ea02 | 1999-10-28 13:25:17 +1000 | [diff] [blame] | 1 | /* config.h.in. Generated by hand, don't use autoheader. */ |
| 2 | |
Damien Miller | c7b38ce | 1999-11-09 10:28:04 +1100 | [diff] [blame] | 3 | /* SSL directory. */ |
| 4 | #undef ssldir |
| 5 | |
Damien Miller | 3f90587 | 1999-11-15 17:10:57 +1100 | [diff] [blame] | 6 | /* Location of lastlog file */ |
| 7 | #undef LASTLOG_LOCATION |
| 8 | |
| 9 | /* Location of random number pool */ |
Damien Miller | ab18c41 | 1999-11-11 10:40:23 +1100 | [diff] [blame] | 10 | #undef RANDOM_POOL |
| 11 | |
| 12 | /* Are we using the Entropy gathering daemon */ |
| 13 | #undef HAVE_EGD |
| 14 | |
Damien Miller | 7f6ea02 | 1999-10-28 13:25:17 +1000 | [diff] [blame] | 15 | /* Define if your ssl headers are included with #include <ssl/header.h> */ |
| 16 | #undef HAVE_SSL |
| 17 | |
| 18 | /* Define if your ssl headers are included with #include <openssl/header.h> */ |
| 19 | #undef HAVE_OPENSSL |
Damien Miller | ab18c41 | 1999-11-11 10:40:23 +1100 | [diff] [blame] | 20 | |
| 21 | /* Define is utmp.h has a ut_host field */ |
| 22 | #undef HAVE_HOST_IN_UTMP |
| 23 | |
| 24 | /* Define is libutil has login() function */ |
| 25 | #undef HAVE_LIBUTIL_LOGIN |
Damien Miller | 5ce662a | 1999-11-11 17:57:39 +1100 | [diff] [blame] | 26 | |
Damien Miller | 3f90587 | 1999-11-15 17:10:57 +1100 | [diff] [blame] | 27 | /* Define if you want external askpass support */ |
Damien Miller | d05a247 | 1999-11-15 14:25:30 +1100 | [diff] [blame] | 28 | #undef USE_EXTERNAL_ASKPASS |
Damien Miller | 5ce662a | 1999-11-11 17:57:39 +1100 | [diff] [blame] | 29 | |
Damien Miller | 3f90587 | 1999-11-15 17:10:57 +1100 | [diff] [blame] | 30 | /* Define if libc defines __progname */ |
| 31 | #undef HAVE___PROGNAME |
| 32 | |
Damien Miller | 8029775 | 1999-11-19 13:03:25 +1100 | [diff] [blame^] | 33 | /* Define if you want Kerberos 4 support */ |
| 34 | #undef KRB4 |
| 35 | |
| 36 | /* Define if you want AFS support */ |
| 37 | #undef AFS |
| 38 | |
| 39 | /* Define if you want S/Key support */ |
| 40 | #undef SKEY |
| 41 | |
| 42 | /* Define if you want TCP Wrappers support */ |
| 43 | #undef LIBWRAP |
| 44 | |
Damien Miller | 6854f82 | 1999-11-13 10:49:55 +1100 | [diff] [blame] | 45 | @BOTTOM@ |
| 46 | |
Damien Miller | 3d1b22c | 1999-11-12 15:46:08 +1100 | [diff] [blame] | 47 | /* ******************* Shouldn't need to edit below this line ************** */ |
| 48 | |
Damien Miller | 4874c79 | 1999-11-16 13:29:26 +1100 | [diff] [blame] | 49 | #include <sys/types.h> /* For u_intXX_t */ |
| 50 | #include <sys/socket.h> /* For SHUT_XXXX */ |
| 51 | #include <paths.h> /* For _PATH_XXX */ |
| 52 | |
Damien Miller | 5ce662a | 1999-11-11 17:57:39 +1100 | [diff] [blame] | 53 | #ifndef SHUT_RDWR |
| 54 | enum |
| 55 | { |
| 56 | SHUT_RD = 0, /* No more receptions. */ |
| 57 | #define SHUT_RD SHUT_RD |
| 58 | SHUT_WR, /* No more transmissions. */ |
| 59 | #define SHUT_WR SHUT_WR |
| 60 | SHUT_RDWR /* No more receptions or transmissions. */ |
| 61 | #define SHUT_RDWR SHUT_RDWR |
| 62 | }; |
| 63 | #endif |
Damien Miller | 0a6e668 | 1999-11-15 09:56:06 +1100 | [diff] [blame] | 64 | |
| 65 | #if !defined(u_int32_t) && defined(uint32_t) |
| 66 | #define u_int32_t uint32_t |
| 67 | #endif |
| 68 | |
| 69 | #if !defined(u_int16_t) && defined(uint16_t) |
| 70 | #define u_int16_t uint16_t |
| 71 | #endif |
Damien Miller | 3f90587 | 1999-11-15 17:10:57 +1100 | [diff] [blame] | 72 | |
Damien Miller | 4874c79 | 1999-11-16 13:29:26 +1100 | [diff] [blame] | 73 | #if !defined(quad_t) && defined(int64_t) |
| 74 | #define quad_t int64_t |
| 75 | #endif |
| 76 | |
Damien Miller | 3f90587 | 1999-11-15 17:10:57 +1100 | [diff] [blame] | 77 | #ifndef _PATH_LASTLOG |
| 78 | # ifdef LASTLOG_LOCATION |
| 79 | # define _PATH_LASTLOG LASTLOG_LOCATION |
| 80 | # endif |
| 81 | #endif |
| 82 | |
| 83 | #ifndef _PATH_UTMP |
| 84 | # ifdef UTMP_FILE |
| 85 | # define _PATH_UTMP UTMP_FILE |
| 86 | # endif |
| 87 | #endif |
| 88 | |
| 89 | #ifndef _PATH_WTMP |
| 90 | # ifdef WTMP_FILE |
| 91 | # define _PATH_WTMP WTMP_FILE |
| 92 | # endif |
| 93 | #endif |
| 94 | |
| 95 | #ifndef _PATH_BSHELL |
| 96 | # define _PATH_BSHELL "/bin/sh" |
| 97 | #endif |
| 98 | |
| 99 | #ifndef _PATH_STDPATH |
| 100 | # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:" |
| 101 | #endif |
| 102 | |
| 103 | #ifndef _PATH_MAILDIR |
| 104 | # ifdef MAILDIR |
| 105 | # define _PATH_MAILDIR MAILDIR |
| 106 | # endif |
| 107 | #endif |
Damien Miller | 4874c79 | 1999-11-16 13:29:26 +1100 | [diff] [blame] | 108 | |
| 109 | #ifndef MAX |
| 110 | # define MAX(a,b) (((a)>(b))?(a):(b)) |
| 111 | # define MIN(a,b) (((a)<(b))?(a):(b)) |
| 112 | #endif |