diff options
author | Jerome Pinot <ngc891@gmail.com> | 2013-11-04 22:11:48 +0900 |
---|---|---|
committer | Jerome Pinot <ngc891@gmail.com> | 2013-11-04 22:12:12 +0900 |
commit | 2743382fa63eeef382fe21719016a9b7d8afd899 (patch) | |
tree | 3a933216dc55794d64a8d781a8785da8ce1bf80a | |
parent | fdf6828b7e705ea058ca3ac6475d1d3ff53cd31f (diff) |
Add "--with-id" configure option that can be used to specify a
string identifying the build (vendor, maintainer, etc). It defines
EFL_BUILD_ID with default to "none". It can be used by applications
or for bug reports by including Efl_Config.h
Differential Revision: https://phab.enlightenment.org/D288
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 10 | ||||
-rw-r--r-- | src/lib/efl/Efl_Config.h.in | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e88cf9cb85..e8c44e0402 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -55,6 +55,16 @@ AC_SUBST(EFL_API_EO_DEF) | |||
55 | 55 | ||
56 | #### Additional options to configure | 56 | #### Additional options to configure |
57 | 57 | ||
58 | # string to identify the build | ||
59 | AC_ARG_WITH([id], | ||
60 | [AC_HELP_STRING([--with-id=BUILD_ID], | ||
61 | [Specify a string to identify the build (vendor, maintainer, etc). | ||
62 | @<:@default=none@:>@])], | ||
63 | [EFL_BUILD_ID="${withval}"], | ||
64 | [EFL_BUILD_ID="none"]) | ||
65 | AC_SUBST(EFL_BUILD_ID) | ||
66 | |||
67 | # profile | ||
58 | AC_ARG_WITH([profile], | 68 | AC_ARG_WITH([profile], |
59 | [AC_HELP_STRING([--with-profile=PROFILE], | 69 | [AC_HELP_STRING([--with-profile=PROFILE], |
60 | [use the predefined build profile, one of: dev, debug and release. | 70 | [use the predefined build profile, one of: dev, debug and release. |
diff --git a/src/lib/efl/Efl_Config.h.in b/src/lib/efl/Efl_Config.h.in index ad17684a3d..25420d0c4e 100644 --- a/src/lib/efl/Efl_Config.h.in +++ b/src/lib/efl/Efl_Config.h.in | |||
@@ -15,5 +15,6 @@ | |||
15 | 15 | ||
16 | #define EFL_VERSION_MAJOR @EFL_VERSION_MAJOR@ | 16 | #define EFL_VERSION_MAJOR @EFL_VERSION_MAJOR@ |
17 | #define EFL_VERSION_MINOR @EFL_VERSION_MINOR@ | 17 | #define EFL_VERSION_MINOR @EFL_VERSION_MINOR@ |
18 | #define EFL_BUILD_ID "@EFL_BUILD_ID@" | ||
18 | 19 | ||
19 | #endif | 20 | #endif |