diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-06-03 10:28:02 +0200 |
---|---|---|
committer | Felipe Contreras <felipe.contreras@nokia.com> | 2011-07-15 15:02:15 +0300 |
commit | ab7f0e5101412b1b88c0a84f69cfcda5e22ab3c3 (patch) | |
tree | a3e6a692c391c074605d29d248159a650c3d1aad | |
parent | e607f8a83450b80c2b1ba81ee13df7ee0e998cfd (diff) |
build: only #include config.h when HAVE_CONFIG_H
On some systems the defines from config.h are passed via CFLAGS instead
of a config.h file.
This also makes the generated gstomx.conf file easier to read because
the indention is not destroyed anymore and no additional newlines are
inserted.
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
-rw-r--r-- | omx/gstomx.conf.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/omx/gstomx.conf.in b/omx/gstomx.conf.in index 46ca2de..038c82d 100644 --- a/omx/gstomx.conf.in +++ b/omx/gstomx.conf.in @@ -1,4 +1,6 @@ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif /* in case of multiple OMX components mapping to a single gst-openmax element * class, a dynamic subclass can be created by specifying the gst-openmax |