diff --git a/sc2/src/config_unix.h.in b/sc2/src/config_unix.h.in new file mode 100644 index 000000000..3c7adb642 --- /dev/null +++ b/sc2/src/config_unix.h.in @@ -0,0 +1,40 @@ +/* This file contains some compile-time configuration options for *nix + * systems. + * config_unix.h is generated from config_unix.h.in by build.sh + * For windows, you'll have to edit src/msvc++/config.h manually + * if you want anything else than the defaults. + */ + +#ifndef _CONFIG_UNIX_H +#define _CONFIG_UNIX_H + +/* Directory where the UQM game data is located */ +#define CONTENTDIR "@CONTENTDIR@" + +/* Directory where game data will be stored */ +#define USERDIR "~/.uqm/" + +/* Directory where supermelee teams will be stored */ +#define MELEEDIR USERDIR "teams/" + +/* Directory where save games will be stored */ +#define SAVEDIR USERDIR "save/" + +/* Directory where config files will be stored */ +#define CONFIGDIR USERDIR + +/* Defined if words are stored with the most significant byte first */ +@WORDS_BIGENDIAN@ + +/* Defined if your system has strupr of its own */ +@HAVE_STRUPR@ + +/* Defined if your system has stricmp of its own */ +@HAVE_STRICMP@ + +/* Defined if your system has getopt.h */ +@HAVE_GETOPT_H@ + +#endif /* _CONFIG_UNIX_H */ + +