[gst-devel] config.h #included from public headers

Murray Cumming murrayc at t-online.de
Sat Nov 2 08:34:23 CET 2002


I don't think that config.h should be #included from any public headers.
I shouldn't have to do this in 3rd party code:

#undef HAVE_CONFIG_H
#include <gst/gst.h>
#define HAVE_CONFIG_H


Also, the public config.h files, such as gstconfig.h should be installed
in the libs directory because they are platform-specific. For instance:

[murrayc at localhost murrayc]$ ls
/gnome/gnome-2-0/INSTALL/lib/glib-2.0/include/
glibconfig.h 

-- 
Murray Cumming
murray at usa.net
www.murrayc.com





More information about the gstreamer-devel mailing list