Fixed the terminal not fully functional error
[utio.git] / bsconf.h
blobf314cf05de43619ab08ae3d73e9034758467871f
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 * bsconf license does not apply to this file. It can and should be treated
9 * as a 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 "utio"
19 #define LIB_MAJOR "1"
20 #define LIB_MINOR "3"
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 "CXXFLAGS",
38 "LDFLAGS"
41 /* VARIABLE PROGRAM HOW TO CALL IF NOT FOUND */
42 static cpchar_t g_ProgVars [] = {
43 "CC", "gcc", "gcc", "@CC@",
44 "CC", "cc", "cc", "gcc",
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",
52 "RM", "rm", "rm -f", "rm",
53 "LN", "ln", "ln -sf", "cp"
56 /* NAME IF NOT FOUND IF FOUND */
57 static cpchar_t g_Headers [] = {
58 "ustl.h", "#undef HAVE_USTL_H", "#define HAVE_USTL_H 1",
59 "sys/ioctl.h", "#undef HAVE_SYS_IOCTL_H", "#define HAVE_SYS_IOCTL_H 1"
62 /* NAME IF NOT FOUND IF FOUND */
63 static cpchar_t g_Libs [] = {
64 "ustl", "", "-lustl"
67 /* NAME IF NOT FOUND IF FOUND */
68 static cpchar_t g_Functions [] = {
69 "strsignal", "#undef HAVE_STRSIGNAL", "#define HAVE_STRSIGNAL 1"
72 /* NAME WITHOUT TEXT WITH TEXT */
73 static cpchar_t g_Components [] = {
74 "shared", "#BUILD_SHARED\t= 1", "BUILD_SHARED\t= 1 ",
75 "static", "#BUILD_STATIC\t= 1", "BUILD_STATIC\t= 1 ",
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 { 1, "Builds the shared library (if supported by the OS)" },
82 { 0, "Builds the static library" },
83 { 0, "Compiles the library with debugging information" }
86 /* Substitutes names like @PACKAGE_NAME@ with the second field */
87 static cpchar_t g_CustomVars [] = {
88 "GCC4_SIZEOPTS",
89 #if __GNUC__ >= 4
90 "-fno-threadsafe-statics -fno-enforce-eh-specs -fuse-cxa-atexit",
91 #else
92 "",
93 #endif
94 "PACKAGE_NAME", PACKAGE_NAME,
95 "PACKAGE_VERSION", PACKAGE_VERSION,
96 "PACKAGE_TARNAME", PACKAGE_TARNAME,
97 "PACKAGE_STRING", PACKAGE_STRING,
98 "PACKAGE_BUGREPORT", PACKAGE_BUGREPORT,
99 "LIBNAME", PACKAGE_NAME,
100 "LIB_MAJOR", LIB_MAJOR,
101 "LIB_MINOR", LIB_MINOR,
102 "LIB_BUILD", LIB_BUILD