Let the Configure instance be private (3/3)
This commit is contained in:
parent
8a14bdbdc7
commit
6855258c8c
@ -46,7 +46,39 @@
|
||||
#endif
|
||||
|
||||
|
||||
/* configure */
|
||||
/* Configure */
|
||||
/* private */
|
||||
/* types */
|
||||
struct _Configure {
|
||||
ConfigurePrefs * prefs;
|
||||
Config * config;
|
||||
HostArch arch;
|
||||
HostOS os;
|
||||
HostKernel kernel;
|
||||
struct
|
||||
{
|
||||
char const * exeext;
|
||||
char const * soext;
|
||||
} extensions;
|
||||
struct
|
||||
{
|
||||
char const * ar;
|
||||
char const * as;
|
||||
char const * cc;
|
||||
char const * ccshared;
|
||||
char const * cxx;
|
||||
char const * install;
|
||||
char const * libtool;
|
||||
char const * ln;
|
||||
char const * mkdir;
|
||||
char const * ranlib;
|
||||
char const * rm;
|
||||
char const * tar;
|
||||
} programs;
|
||||
};
|
||||
|
||||
|
||||
/* public */
|
||||
/* constants */
|
||||
const String * sHostArch[HA_COUNT] =
|
||||
{
|
||||
|
@ -141,34 +141,7 @@ typedef struct _ConfigurePrefs
|
||||
# define PREFS_n 0x1
|
||||
# define PREFS_S 0x2
|
||||
# define PREFS_v 0x4
|
||||
typedef struct _Configure
|
||||
{
|
||||
ConfigurePrefs * prefs;
|
||||
Config * config;
|
||||
HostArch arch;
|
||||
HostOS os;
|
||||
HostKernel kernel;
|
||||
struct
|
||||
{
|
||||
char const * exeext;
|
||||
char const * soext;
|
||||
} extensions;
|
||||
struct
|
||||
{
|
||||
char const * ar;
|
||||
char const * as;
|
||||
char const * cc;
|
||||
char const * ccshared;
|
||||
char const * cxx;
|
||||
char const * install;
|
||||
char const * libtool;
|
||||
char const * ln;
|
||||
char const * mkdir;
|
||||
char const * ranlib;
|
||||
char const * rm;
|
||||
char const * tar;
|
||||
} programs;
|
||||
} Configure;
|
||||
typedef struct _Configure Configure;
|
||||
|
||||
|
||||
/* functions */
|
||||
|
Loading…
Reference in New Issue
Block a user