1 /* This file is part of bsconf - a configure replacement.
3 * This is the configuration file used by bsconf.c to specify information
4 * specific to your project that it needs to substitute into files listed
5 * in g_Files. Being a configuration file, this file can be used or
6 * modified entirely without restriction. You should change all values
7 * appropriately to the name of your project and its requirements. The
8 * LGPL does not apply to this file. It can and should be treated as a
9 * template for the creation of your own configuration file.
11 * All substituted variable names are given without enclosing @@. For
12 * example: "CC" will match "@CC@" in config.h.in and replace it with
16 #define BSCONF_VERSION 0x03
18 #define PACKAGE_NAME "todo"
19 #define PACKAGE_MAJOR "0"
20 #define PACKAGE_MINOR "2"
21 #define PACKAGE_BUILD "0"
23 #define PACKAGE_VERSION PACKAGE_MAJOR "." PACKAGE_MINOR
24 #define PACKAGE_TARNAME PACKAGE_NAME
25 #define PACKAGE_STRING PACKAGE_NAME " " PACKAGE_VERSION
26 #define PACKAGE_BUGREPORT "Mike Sharov <msharov@users.sourceforge.net>"
28 static cpchar_t g_Files
[] = {
33 /* Values substitute @VARNAME@ */
34 static cpchar_t g_EnvVars
[] = {
43 /* VARIABLE PROGRAM HOW TO CALL IF NOT FOUND */
44 static cpchar_t g_ProgVars
[] = {
45 "CC", "gcc", "gcc", "@CC@",
46 "CC", "cc", "cc", "gcc",
47 "CXX", "g++", "g++", "@CXX@",
48 "CXX", "c++", "c++", "g++",
49 "LD", "ld", "ld", "ld",
50 "AR", "ar", "ar", "echo",
51 "RANLIB", "ranlib", "ranlib", "touch",
52 "DOXYGEN", "doxygen", "doxygen", "echo",
53 "INSTALL", "install", "install -c", "cp"
56 /* NAME IF NOT FOUND IF FOUND */
57 static cpchar_t g_Headers
[] = {
58 "utui.h", "#undef HAVE_UTUI_H", "#define HAVE_UTUI_H 1",
59 "iff.h", "#undef HAVE_IFF_H", "#define HAVE_IFF_H 1"
62 /* NAME IF NOT FOUND IF FOUND */
63 static cpchar_t g_Libs
[] = {
70 /* NAME IF NOT FOUND IF FOUND */
71 static cpchar_t g_Functions
[] = {
74 /* NAME WITHOUT TEXT WITH TEXT */
75 static cpchar_t g_Components
[] = {
76 "debug", "#DEBUG\t\t= 1", "DEBUG\t\t= 1 "
79 /* Parallel to g_Components */
80 static SComponentInfo g_ComponentInfos
[VectorSize(g_Components
) / 3] = {
81 { 0, "Compiles the application with debugging information" }
84 /* Substitutes names like @PACKAGE_NAME@ with the second field */
85 static cpchar_t g_CustomVars
[] = {
88 "-fno-threadsafe-statics -fno-enforce-eh-specs -fuse-cxa-atexit",
92 "PACKAGE_NAME", PACKAGE_NAME
,
93 "PACKAGE_VERSION", PACKAGE_VERSION
,
94 "PACKAGE_TARNAME", PACKAGE_TARNAME
,
95 "PACKAGE_STRING", PACKAGE_STRING
,
96 "PACKAGE_BUGREPORT", PACKAGE_BUGREPORT
,
97 "PACKAGE_MAJOR", PACKAGE_MAJOR
,
98 "PACKAGE_MINOR", PACKAGE_MINOR
,
99 "PACKAGE_BUILD", PACKAGE_BUILD