diff options
author | Nicolas Morey-Chaisemartin <nmorey@kalray.eu> | 2015-10-09 15:22:33 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-10-13 14:28:13 +0300 |
commit | 4aee3d1bc03144d6133fee3c14637457e9c793c4 (patch) | |
tree | bf4dcbe18f0ddcdb33bb26f6af5746bd4ad4d201 /platform/linux-generic/test/pktio/pktio_env | |
parent | 28e8c3a5a55627ca56b24fe6d82308f88563a932 (diff) |
configure: move all AM_CONDITIONAL to configure.ac
Platform specific m4 files cannot define AM_CONDITIONAL.
Even if not used outside of the platform specific file, configure will
exit with an error if another platform does not set this conditional:
configure: error: conditional "netmap_support" was never defined.
Usually this means the macro was only invoked conditionally.
Solve this by setting a default status do disabled/no at the top configure,
which can be overridden by the platform m4 files. And then set the
AM_CONDITIONAl in the top configure.ac for every platform to see.
Signed-off-by: Nicolas Morey-Chaisemartin <nmorey@kalray.eu>
Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/test/pktio/pktio_env')
0 files changed, 0 insertions, 0 deletions