|
1 | | -/* This file contains PHP build definitions. */ |
| 1 | +/* The following build system related configuration values are on *nix |
| 2 | + systems defined in the main/build-defs.h header and JScript Windows |
| 3 | + build system defines them in the configuration header file |
| 4 | + (main/config.w32.h). On *nix systems these are provided as a separate |
| 5 | + header file aiming to simplify the (re)building phase when multiple |
| 6 | + configurations are used. For example, using one installation prefix for |
| 7 | + the stage installation directory and the other for production. */ |
2 | 8 |
|
3 | 9 | /* Command used for configuring PHP at build phase. */ |
4 | 10 | #define CONFIGURE_COMMAND "@CONFIGURE_COMMAND@" |
5 | 11 |
|
6 | | -/* The path to the sendmail program. */ |
7 | | -#define PHP_PROG_SENDMAIL "@PROG_SENDMAIL@" |
8 | | - |
9 | 12 | /* The path to the PEAR installation directory. */ |
10 | 13 | #define PEAR_INSTALLDIR "@EXPANDED_PEAR_INSTALLDIR@" |
11 | 14 |
|
12 | | -/* The default PHP include_path INI directive configuration. */ |
13 | | -#define PHP_INCLUDE_PATH "@INCLUDE_PATH@" |
| 15 | +/* The path to the directory containing command-line executables (bin). */ |
| 16 | +#define PHP_BINDIR "@EXPANDED_BINDIR@" |
14 | 17 |
|
15 | | -/* The path to the directory containing PHP extensions. */ |
16 | | -#define PHP_EXTENSION_DIR "@EXPANDED_EXTENSION_DIR@" |
| 18 | +/* The path to the directory in which PHP looks for the php.ini |
| 19 | + configuration file. On Windows this macro isn't utilized in the C |
| 20 | + code. */ |
| 21 | +#define PHP_CONFIG_FILE_PATH "@EXPANDED_PHP_CONFIG_FILE_PATH@" |
17 | 22 |
|
18 | | -/* The installation prefix used when installing PHP. */ |
19 | | -#define PHP_PREFIX "@prefix@" |
| 23 | +/* The path to the directory where PHP scans for additional INI |
| 24 | + configuration files. */ |
| 25 | +#define PHP_CONFIG_FILE_SCAN_DIR "@EXPANDED_PHP_CONFIG_FILE_SCAN_DIR@" |
20 | 26 |
|
21 | | -/* The path to the directory containing command-line executables (bin). */ |
22 | | -#define PHP_BINDIR "@EXPANDED_BINDIR@" |
| 27 | +/* The path to the directory containing architecture-independent data |
| 28 | + (share). */ |
| 29 | +#define PHP_DATADIR "@EXPANDED_DATADIR@" |
23 | 30 |
|
24 | | -/* The path to the directory containing system admin executables (sbin). */ |
25 | | -#define PHP_SBINDIR "@EXPANDED_SBINDIR@" |
| 31 | +/* The default path to the directory containing dynamically loadable PHP |
| 32 | + extensions. */ |
| 33 | +#define PHP_EXTENSION_DIR "@EXPANDED_EXTENSION_DIR@" |
26 | 34 |
|
27 | | -/* The path to the directory containing man documentation. */ |
28 | | -#define PHP_MANDIR "@EXPANDED_MANDIR@" |
| 35 | +/* The default 'include_path' PHP INI directive. */ |
| 36 | +#define PHP_INCLUDE_PATH "@INCLUDE_PATH@" |
29 | 37 |
|
30 | | -/* The path to the directory containing system libraries. */ |
| 38 | +/* The path to the directory containing system libraries (lib, lib64, |
| 39 | + etc.). */ |
31 | 40 | #define PHP_LIBDIR "@EXPANDED_LIBDIR@" |
32 | 41 |
|
33 | | -/* The path to the directory containing architecture-independent data. */ |
34 | | -#define PHP_DATADIR "@EXPANDED_DATADIR@" |
| 42 | +/* The path to the directory containing modifiable single-machine data |
| 43 | + (var). */ |
| 44 | +#define PHP_LOCALSTATEDIR "@EXPANDED_LOCALSTATEDIR@" |
35 | 45 |
|
36 | | -/* The path to the directory containing read-only single-machine data. */ |
37 | | -#define PHP_SYSCONFDIR "@EXPANDED_SYSCONFDIR@" |
| 46 | +/* The path to the directory containing man documentation. */ |
| 47 | +#cmakedefine PHP_MANDIR "@EXPANDED_MANDIR@" |
38 | 48 |
|
39 | | -/* The path to the directory containing modifiable single-machine data. */ |
40 | | -#define PHP_LOCALSTATEDIR "@EXPANDED_LOCALSTATEDIR@" |
| 49 | +/* The PHP installation prefix. */ |
| 50 | +#define PHP_PREFIX "@prefix@" |
41 | 51 |
|
42 | | -/* The path to the directory in which PHP looks for php.ini configuration |
43 | | - file. */ |
44 | | -#define PHP_CONFIG_FILE_PATH "@EXPANDED_PHP_CONFIG_FILE_PATH@" |
| 52 | +/* The path to the sendmail program. */ |
| 53 | +#if !@PHP_CONFIG_H_WINDOWS@ |
| 54 | +# define PHP_PROG_SENDMAIL "@PROG_SENDMAIL@" |
| 55 | +#endif |
45 | 56 |
|
46 | | -/* The path to the directory where PHP scans for additional INI configuration |
47 | | - files. */ |
48 | | -#define PHP_CONFIG_FILE_SCAN_DIR "@EXPANDED_PHP_CONFIG_FILE_SCAN_DIR@" |
| 57 | +/* The path to the directory containing system admin executables (sbin). */ |
| 58 | +#define PHP_SBINDIR "@EXPANDED_SBINDIR@" |
| 59 | + |
| 60 | +/* The filename prefix for the shared PHP extensions. */ |
| 61 | +#define PHP_SHLIB_EXT_PREFIX "@PHP_SHLIB_EXT_PREFIX@" |
49 | 62 |
|
50 | | -/* The file extension of the shared PHP extensions (.so, .dll, etc.). */ |
| 63 | +/* The file extension of the shared PHP extensions ('so', 'dll'). */ |
51 | 64 | #define PHP_SHLIB_SUFFIX "@SHLIB_DL_SUFFIX_NAME@" |
52 | 65 |
|
53 | | -/* The prefix for the shared library objects. */ |
54 | | -#define PHP_SHLIB_EXT_PREFIX "" |
| 66 | +/* The path to the directory containing read-only single-machine data |
| 67 | + (etc). */ |
| 68 | +#define PHP_SYSCONFDIR "@EXPANDED_SYSCONFDIR@" |
0 commit comments