diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-09-09 16:31:30 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-09-19 08:05:30 +1200 |
commit | dc168c3cd2fa4754d85a02f7c2531a915cfc4f71 (patch) | |
tree | 9155d1cb7ddf3ae75ca053a0a6790947055c1e7e | |
parent | 613b522376b5f0ae2126a7a3a6c3bbd46ddbcfbe (diff) | |
download | openembedded-core-contrib-dc168c3cd2fa4754d85a02f7c2531a915cfc4f71.tar.gz |
recipetool: create: pick up AC_PROG_SWIG
AX_PKG_SWIG is not the only commonly-used macro for detecting swig -
there's also AC_PROG_SWIG. As per AX_PKG_SWIG, add swig-native to
DEPENDS if AC_PROG_SWIG is found in configure.ac.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r-- | scripts/lib/recipetool/create_buildsys.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py index 067be18c13..e914e53aab 100644 --- a/scripts/lib/recipetool/create_buildsys.py +++ b/scripts/lib/recipetool/create_buildsys.py @@ -571,7 +571,7 @@ class AutotoolsRecipeHandler(RecipeHandler): deps.append('sqlite3') elif keyword == 'AX_LIB_TAGLIB': deps.append('taglib') - elif keyword == 'AX_PKG_SWIG': + elif keyword in ['AX_PKG_SWIG', 'AC_PROG_SWIG']: deps.append('swig-native') elif keyword == 'AX_PROG_XSLTPROC': deps.append('libxslt-native') @@ -651,6 +651,7 @@ class AutotoolsRecipeHandler(RecipeHandler): 'AX_LIB_SQLITE3', 'AX_LIB_TAGLIB', 'AX_PKG_SWIG', + 'AC_PROG_SWIG', 'AX_PROG_XSLTPROC', 'AC_PYTHON_DEVEL', 'AX_PYTHON_DEVEL', |