[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)
commit47249c27f9b6e6484328cf2276099a560cd11552
treebe406bfbd6e5741e5385bb76f11227cf4caba931
parent94146ac5b08f47e74067ffe4e930865c27c69a1a
[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: https://svn.webkit.org/repository/webkit/trunk@139327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/autotools/webkitfeature.m4