[Autotools] Add the AM_WEBKIT_FEATURE_CONDITIONAL macro
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2013 17:51:57 +0000 (17:51 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2013 17:51:57 +0000 (17:51 +0000)
commit9f55fb293eadddfd5fbd2fa5db3ad4bb8cd65cb9
treebe406bfbd6e5741e5385bb76f11227cf4caba931
parente25c99fc449645c385872483f0c6629f12ddf74b
[Autotools] Add the AM_WEBKIT_FEATURE_CONDITIONAL macro
https://bugs.webkit.org/show_bug.cgi?id=106576

Reviewed by Martin Robinson.

Replace the AC_CHECK_WEBKIT_FEATURE_ENABLED with the new macro.
The former was executing actions based on the passed-in feature being
enabled in the (possibly overridden) GNUmakefile.features.am, the actions
usually affecting the Automake conditional value that was set up afterwards.
The new macro does this directly, setting up an Automake conditional of the
same name as the feature that was checked.

* Source/autotools/webkitfeature.m4:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/autotools/webkitfeature.m4