summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-06-03 10:28:02 +0200
committerFelipe Contreras <felipe.contreras@nokia.com>2011-07-15 15:02:15 +0300
commitab7f0e5101412b1b88c0a84f69cfcda5e22ab3c3 (patch)
treea3e6a692c391c074605d29d248159a650c3d1aad
parente607f8a83450b80c2b1ba81ee13df7ee0e998cfd (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.in2
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