Show cursor on exit
[utui.git] / bsconf.h
blob10ab521fa61c3c344b12fdde54a6ddc9a4f5a19d
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
13 * "gcc" in config.h.
16 #define BSCONF_VERSION 0x03
18 #define PACKAGE_NAME "utui"
19 #define LIB_MAJOR "0"
20 #define LIB_MINOR "2"
21 #define LIB_BUILD "0"
23 #define PACKAGE_VERSION LIB_MAJOR "." LIB_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 [] = {
29 "Config.mk",
30 "config.h"
33 /* Values substitute @VARNAME@ */
34 static cpchar_t g_EnvVars [] = {
35 "CC",
36 "CXX",
37 "LD",
38 "HOME",
39 "LDFLAGS",
40 "CXXFLAGS"
43 /* VARIABLE PROGRAM HOW TO CALL IF NOT FOUND */
44 static cpchar_t g_ProgVars [] = {
45 "CXX", "g++", "g++", "@CXX@",
46 "CXX", "c++", "c++", "g++",
47 "LD", "ld", "ld", "ld",
48 "AR", "ar", "ar", "echo",
49 "RANLIB", "ranlib", "ranlib", "touch",
50 "DOXYGEN", "doxygen", "doxygen", "echo",
51 "INSTALL", "install", "install -c", "cp"
54 /* NAME IF NOT FOUND IF FOUND */
55 static cpchar_t g_Headers [] = {
56 "ustl.h", "#undef HAVE_USTL_H", "#define HAVE_USTL_H 1",
57 "utio.h", "#undef HAVE_UTIO_H", "#define HAVE_UTIO_H 1"
60 /* NAME IF NOT FOUND IF FOUND */
61 static cpchar_t g_Libs [] = {
62 "c", "", "-lc",
63 "ustl", "", "-lustl",
64 "utio", "", "-lutio"
67 /* NAME IF NOT FOUND IF FOUND */
68 static cpchar_t g_Functions [] = {
71 /* NAME WITHOUT TEXT WITH TEXT */
72 static cpchar_t g_Components [] = {
73 "shared", "#BUILD_SHARED\t= 1", "BUILD_SHARED\t= 1 ",
74 "static", "#BUILD_STATIC\t= 1", "BUILD_STATIC\t= 1 ",
75 "debug", "#DEBUG\t\t= 1", "DEBUG\t\t= 1 "
78 /* Parallel to g_Components */
79 static SComponentInfo g_ComponentInfos [VectorSize(g_Components) / 3] = {
80 { 1, "Builds the shared library (if supported by the OS)" },
81 { 0, "Builds the static library" },
82 { 0, "Compiles the library with debugging information" }
85 /* Substitutes names like @PACKAGE_NAME@ with the second field */
86 static cpchar_t g_CustomVars [] = {
87 "GCC4_SIZEOPTS",
88 #if __GNUC__ >= 4
89 "-fno-threadsafe-statics -fno-enforce-eh-specs -fuse-cxa-atexit",
90 #else
91 "",
92 #endif
93 "PACKAGE_NAME", PACKAGE_NAME,
94 "PACKAGE_VERSION", PACKAGE_VERSION,
95 "PACKAGE_TARNAME", PACKAGE_TARNAME,
96 "PACKAGE_STRING", PACKAGE_STRING,
97 "PACKAGE_BUGREPORT", PACKAGE_BUGREPORT,
98 "LIBNAME", PACKAGE_NAME,
99 "LIB_MAJOR", LIB_MAJOR,
100 "LIB_MINOR", LIB_MINOR,
101 "LIB_BUILD", LIB_BUILD