build: refactorization of dependency tracking
build: refactorization of dependency tracking

This patch tries to avoid branching in configure.ac using a more functional
approach in macros usage.

Signed-off-by: Víctor Manuel Jáquez Leal <4955886a7d0bd82ff6afce9ed1e93fbb85ab8088@intel.com>

GStreamer/gstreamer-vaapi,ceyusa/gstreamer-vaapi,01org/iotg-lin-gfx-gstreamer-vaapi,GStreamer/gstreamer-vaapi,CapOM/gstreamer-vaapi,01org/iotg-lin-gfx-gstreamer-vaapi,ceyusa/gstreamer-vaapi,CapOM/gstreamer-vaapi,01org/iotg-lin-gfx-gstreamer-vaapi,CapOM/gstreamer-vaapi