examples: fix pkg-config detection with older make
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 3 Jul 2019 16:40:00 +0000 (17:40 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 3 Jul 2019 21:10:23 +0000 (23:10 +0200)
Make versions before 4.2 did not have support for the .SHELLSTATUS
variable, so use another method to detect shell success.

Fixes: 22119c4591a0 ("examples: use pkg-config in makefiles")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>

No differences found