examples: fix dependencies on hash library
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 6 Jul 2016 14:33:01 +0000 (16:33 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 14:23:13 +0000 (16:23 +0200)
commitc6946933310be6172b8a64017711dd8f2361bc2f
treeda6d92d70deedae742073db12e58d25ed3e9efd7
parentd7a4bb154913e9ac3e3c5801728150bb025643c4
examples: fix dependencies on hash library

The multi_process example do not need rte_hash.
But these examples cannot compile if rte_hash is not available:
- ipsec-secgw (was already protected - no change)
- ipv4_multicast
- l3fwd-power
- l3fwd-vf
- tep_termination
- ip_pipeline

The ip_pipeline example is not disabled because its dependencies
are handled with #ifdef. It may require a separate fix.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
examples/Makefile
examples/multi_process/client_server_mp/mp_server/init.c
examples/multi_process/client_server_mp/mp_server/main.c