version 1.4 | | version 1.5 |
---|
| | |
/* | | /* |
* static char *rcsid_config_h = | | * static char *rcsid_config_h = |
* "$Id: config.h,v 1.4 1999/07/13 04:52:27 cvs Exp $"; | | * "$Id: config.h,v 1.5 1999/08/23 00:26:13 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* SECTION 2 - Machine/Compiler specific stuff. | | * SECTION 2 - Machine/Compiler specific stuff. |
* | | * |
* Short list of items: | | * Short list of items: |
* COMPRESS* - selection of compression programs | | * COMPRESS_SUFFIX - selection of compression programs |
* O_NDELAY - If you don't have O_NDELAY, uncomment it. | | * O_NDELAY - If you don't have O_NDELAY, uncomment it. |
* | | * |
***********************************************************************/ | | ***********************************************************************/ |
| | |
/* | | /* |
* If you compress your files to save space, please define at least uncompress | | * If you compress your files to save space, set the COMPRESS_SUFFIX below |
* If you change to some compression program not using ".Z" or ".gz", please | | * to the compression suffix you want (.Z, .gz, .bz2). The autoconf |
* define COMPRESS_SUFFIX. Note though that ".Z" and ".gz" is checked anyway. | | * should already find the program to use. If you set the suffix to |
* The program has support built in to handle gzip and compress | | * something that autoconf did not find, you are likely to have serious |
* files, however, the gzip, gunzip, compress and uncompress programs all | | * problems, so make sure you have the appropriate compression tool installed |
* need to be in the PATH environmental variable for this to work. | | * before you set this. You can look at the autoconf.h file to see |
* COMPRESS is the program name to compress the file, UNCOMPRESS to | | * what compression tools it found (search for COMPRESS). |
* uncompress the file. if COMPRESS_SUFFIX is not defined, COMPRESS | | * Note that this is used when saving files. Crossfire will search all |
* and UNCOMPRESS have no meaning. | | * methods when loading a file to see if it finds a match |
*/ | | */ |
| | |
#ifndef COMPRESS_SUFFIX | | #ifndef COMPRESS_SUFFIX |
/* #define COMPRESS_SUFFIX ".Z" */ | | /* #define COMPRESS_SUFFIX ".Z" */ |
#endif | | #endif |
| | |
/* #define COMPRESS <whatever> */ | | |
/* #define UNCOMPRESS <whatever> */ | | |
| | |
#ifndef COMPRESS | | |
# if defined (linux) || defined(SVR4) | | |
# define COMPRESS "/usr/bin/compress" | | |
# else | | |
# if defined(sgi) | | |
# define COMPRESS "/usr/bsd/compress" | | |
# else | | |
# if defined(ultrix) || defined(BSD) || defined(_BSD) | | |
# define COMPRESS "/usr/ucb/compress" | | |
# else | | |
# define COMPRESS "/local/bin/compress" | | |
# endif | | |
# endif | | |
# endif | | |
#endif | | |
#ifndef UNCOMPRESS | | |
# if defined (linux) || defined(SVR4) | | |
# define UNCOMPRESS "/usr/bin/uncompress" | | |
# else | | |
# if defined(sgi) | | |
# define UNCOMPRESS "/usr/bsd/uncompress" | | |
# else | | |
# if defined(ultrix) || defined(BSD) || defined(_BSD) | | |
# define UNCOMPRESS "/usr/ucb/uncompress" | | |
# else | | |
# define UNCOMPRESS "/local/bin/uncompress" | | |
# endif | | |
# endif | | |
# endif | | |
#endif | | |
| | |
/* If you get a complaint about O_NDELAY not being known/undefined, try | | /* If you get a complaint about O_NDELAY not being known/undefined, try |
* uncommenting this. | | * uncommenting this. |
* This may cause problems - O_NONBLOCK will return -1 on blocking writes | | * This may cause problems - O_NONBLOCK will return -1 on blocking writes |