From 7f6002caba3f0a6749820c2772161caf55b8d267 Mon Sep 17 00:00:00 2001 From: neonloop Date: Fri, 7 May 2021 20:00:12 +0000 Subject: Initial commit (uqm-0.8.0) --- src/config_unix.h.in | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 src/config_unix.h.in (limited to 'src/config_unix.h.in') diff --git a/src/config_unix.h.in b/src/config_unix.h.in new file mode 100644 index 0000000..63d1e0a --- /dev/null +++ b/src/config_unix.h.in @@ -0,0 +1,63 @@ +/* This file contains some compile-time configuration options for *nix + * systems. + * config_unix.h is generated from config_unix.h.in by build.sh + * When building on MS Windows using build.sh (MinGW, Cygwin), + * config_win.h is generated from src/config_win.h.in. + * When using MSVC on MS Windows, you'll have to edit src/config_vc6.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 config files will be stored */ +#define CONFIGDIR USERDIR + +/* Directory where supermelee teams will be stored */ +#define MELEEDIR "${UQM_CONFIG_DIR}/teams/" + +/* Directory where save games will be stored */ +#define SAVEDIR "${UQM_CONFIG_DIR}/save/" + +/* Defined if words are stored with the most significant byte first */ +@WORDS_BIGENDIAN@ + +/* Defined if your system has readdir_r of its own */ +@HAVE_READDIR_R@ + +/* Defined if your system has setenv of its own */ +@HAVE_SETENV@ + +/* Defined if your system has strupr of its own */ +@HAVE_STRUPR@ + +/* Defined if your system has strcasecmp of its own */ +@HAVE_STRCASECMP_UQM@ + // Not using "HAVE_STRCASECMP" as that conflicts with SDL. + +/* Defined if your system has stricmp of its own */ +@HAVE_STRICMP@ + +/* Defined if your system has getopt_long */ +@HAVE_GETOPT_LONG@ + +/* Defined if your system has iswgraph of its own*/ +@HAVE_ISWGRAPH@ + +/* Defined if your system has wchar_t of its own */ +@HAVE_WCHAR_T@ + +/* Defined if your system has wint_t of its own */ +@HAVE_WINT_T@ + +/* Defined if your system has _Bool of its own */ +@HAVE__BOOL@ + +#endif /* CONFIG_UNIX_H_ */ + -- cgit v1.2.3