efl/configure: simplify lib declaration.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Sun, 30 Dec 2012 15:21:33 +0000 (15:21 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Sun, 30 Dec 2012 15:21:33 +0000 (15:21 +0000)
commitfb27484376f64ab229020c70cf21ca4fc56be092
tree8daf9206dcede184e8da53c681103cca3d07fef4
parentc60c72b60f77f386d0a11cc37da7c5075e270352
efl/configure: simplify lib declaration.

added couple of macros:

 - EFL_LIB_START(PKG): setup variables and replacements (AC_SUBST),
   prints started checks
 - EFL_LIB_END(PKG): prints ended checks

 - EFL_LIB_START_OPTIONAL(PKG, TEST): wraps EFL_LIB_START() with a
   conditional test. defines AC_DEFINE(HAVE_PKG).
 - EFL_LIB_END_OPTIONAL(PKG): wraps EFL_LIB_END() with a conditional
   test, defines AM_CONDITIONAL(HAVE_PKG).

SVN revision: 81903
configure.ac
m4/efl.m4