bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 1 | /* |
| 2 | * User definable configuration options |
| 3 | */ |
| 4 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 5 | /* Define if you want the connection to be probed */ |
| 6 | /* XXX Not working yet, so ignore this for now */ |
| 7 | #undef PROBE_CONN |
| 8 | |
| 9 | /* Define to 1 if you want KEEPALIVE timers */ |
| 10 | #define DO_KEEPALIVE 0 |
| 11 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 12 | /* Define this if you want slirp to write to the tty as fast as it can */ |
| 13 | /* This should only be set if you are using load-balancing, slirp does a */ |
| 14 | /* pretty good job on single modems already, and seting this will make */ |
| 15 | /* interactive sessions less responsive */ |
| 16 | /* XXXXX Talk about having fast modem as unit 0 */ |
| 17 | #undef FULL_BOLT |
| 18 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 19 | /*********************************************************/ |
| 20 | /* |
| 21 | * Autoconf defined configuration options |
| 22 | * You shouldn't need to touch any of these |
| 23 | */ |
| 24 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 25 | /* Define if you have sys/ioctl.h */ |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 26 | #undef HAVE_SYS_IOCTL_H |
| 27 | #ifndef _WIN32 |
bellard | ee2654a | 2004-07-12 21:11:45 +0000 | [diff] [blame] | 28 | #define HAVE_SYS_IOCTL_H |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 29 | #endif |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 30 | |
| 31 | /* Define if you have sys/filio.h */ |
| 32 | #undef HAVE_SYS_FILIO_H |
bellard | ee2654a | 2004-07-12 21:11:45 +0000 | [diff] [blame] | 33 | #ifdef __APPLE__ |
| 34 | #define HAVE_SYS_FILIO_H |
| 35 | #endif |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 36 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 37 | /* Define if you have sys/bitypes.h */ |
| 38 | #undef HAVE_SYS_BITYPES_H |
| 39 | |
| 40 | /* Define if the machine is big endian */ |
Juan Quintela | e2542fe | 2009-07-27 16:13:06 +0200 | [diff] [blame] | 41 | //#undef HOST_WORDS_BIGENDIAN |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 42 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 43 | /* Define if you have readv */ |
| 44 | #undef HAVE_READV |
| 45 | |
| 46 | /* Define if iovec needs to be declared */ |
| 47 | #undef DECLARE_IOVEC |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 48 | #ifdef _WIN32 |
| 49 | #define DECLARE_IOVEC |
| 50 | #endif |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 51 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 52 | /* Define if you have a POSIX.1 sys/wait.h */ |
| 53 | #undef HAVE_SYS_WAIT_H |
| 54 | |
| 55 | /* Define if you have sys/select.h */ |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 56 | #undef HAVE_SYS_SELECT_H |
| 57 | #ifndef _WIN32 |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 58 | #define HAVE_SYS_SELECT_H |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 59 | #endif |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 60 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 61 | /* Define if you have arpa/inet.h */ |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 62 | #undef HAVE_ARPA_INET_H |
| 63 | #ifndef _WIN32 |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 64 | #define HAVE_ARPA_INET_H |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 65 | #endif |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 66 | |
| 67 | /* Define if you have sys/signal.h */ |
| 68 | #undef HAVE_SYS_SIGNAL_H |
| 69 | |
| 70 | /* Define if you have sys/stropts.h */ |
| 71 | #undef HAVE_SYS_STROPTS_H |
| 72 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 73 | /* Define to sizeof(char *) */ |
bellard | 101c593 | 2005-06-05 17:11:42 +0000 | [diff] [blame] | 74 | #define SIZEOF_CHAR_P (HOST_LONG_BITS / 8) |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 75 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 76 | /* Define if you have inet_aton */ |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 77 | #undef HAVE_INET_ATON |
| 78 | #ifndef _WIN32 |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 79 | #define HAVE_INET_ATON |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 80 | #endif |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 81 | |
bellard | f0cbd3e | 2004-04-22 00:10:48 +0000 | [diff] [blame] | 82 | /* Define if you DON'T have unix-domain sockets */ |
| 83 | #undef NO_UNIX_SOCKETS |
bellard | 379ff53 | 2004-07-12 22:33:07 +0000 | [diff] [blame] | 84 | #ifdef _WIN32 |
| 85 | #define NO_UNIX_SOCKETS |
| 86 | #endif |