diff --git a/sc2/src/config.h b/sc2/src/config.h new file mode 100644 index 000000000..f4dd57dd6 --- /dev/null +++ b/sc2/src/config.h @@ -0,0 +1,14 @@ +/* This file contains some compile-time configuration options. + */ + +#ifdef WIN32 + /* If we're compiling in windows, we're using the msvc++/config.h file + * If you want anything else than the defaults, you'll have to edit + * that file manually. */ +# include "msvc++/config.h" +#else + /* If we're compiling in unix, use config_unix.h, generated from + * src/config_unix.h.in by build.sh. */ +# include "config_unix.h" +#endif + diff --git a/sc2/src/config.h.in b/sc2/src/config.h.in deleted file mode 100644 index 4a2b702e0..000000000 --- a/sc2/src/config.h.in +++ /dev/null @@ -1,44 +0,0 @@ -/* This file contains some compile-time configuration options for *nix - * systems. - * src/config.h is generated from src/config.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. - */ - -#ifdef WIN32 - /* If we're compiling in windows, we want the other config.h */ -# include "msvc++/config.h" -#endif - -#ifndef _CONFIG_H -#define _CONFIG_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_H */ -