summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore_audio.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-16 17:24:36 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-16 17:24:36 +0000
commitad1417713b564bf28605077220b86794b9dbbcd6 (patch)
tree4dcf44b5c9e5e9e53e0b5e1fde460bc707f04329 /src/tests/ecore/ecore_test_ecore_audio.c
parent09f342fdebd1889c3c6e401cb2a6c5799a6c20ed (diff)
simplify efl version and initialization in a macro, fixes libtool version-info.
Introduces EFL_VERSION() to make it simpler to define our version. The last parameter is the release status, defaults to 'dev' for development purposes and may be set to something else to be a snapshot. It non-empty will be given to libtool's -release. As EFL_VERSION() must be done *before* AC_INIT(), we need to create another macro to do the AC_SUBST() and AC_DEFINE(). This is EFL_INIT. And no, we can't just call AC_INIT() from inside EFL_INIT(). Last but not least, we had a problem with our libtool version-info. It was being calculated as MAJOR + MINOR, right now 1 + 7 = 8. But as soon as we get to MAJOR=2 and MINOR=0, we get into problems. This was fixed by rewriting as (MAJOR * 100 + MINOR), but this is still problematic. According to libtool's manual (info libtool), we shouldn't bind the version-info with package info, instead doing the 'release' field. Pretty likely we'll do worse than expected by distros and binary packages in future :-/ SVN revision: 82891
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions