From: <tho...@fr...> - 2005-10-15 18:22:45
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: thomasvs Date: Sat Oct 15 2005 11:22:43 PDT Log message: * configure.ac: add srcdir, builddir includes to GST_ALL_CFLAGS, since everything that uses GStreamer API should have the includes Modified files: . : ChangeLog configure.ac Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.1737&r2=1.1738 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/configure.ac.diff?r1=1.399&r2=1.400 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.1737 retrieving revision 1.1738 diff -u -d -r1.1737 -r1.1738 --- ChangeLog 15 Oct 2005 17:59:06 -0000 1.1737 +++ ChangeLog 15 Oct 2005 18:22:31 -0000 1.1738 @@ -1,5 +1,11 @@ 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org> + * configure.ac: + add srcdir, builddir includes to GST_ALL_CFLAGS, since + everything that uses GStreamer API should have the includes + +2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org> * docs/gst/gstreamer-sections.txt: * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize): * gst/gstvalue.h: Index: configure.ac RCS file: /cvs/gstreamer/gstreamer/configure.ac,v retrieving revision 1.399 retrieving revision 1.400 diff -u -d -r1.399 -r1.400 --- configure.ac 15 Oct 2005 15:52:08 -0000 1.399 +++ configure.ac 15 Oct 2005 18:22:31 -0000 1.400 @@ -578,10 +578,13 @@ dnl GST_ALL_* dnl vars common to for all internal objects (core libs, elements, applications) -dnl CFLAGS: XML needs to be added because xmlPtr is used in core +dnl CFLAGS: +dnl - XML needs to be added because xmlPtr is used in core +dnl - src and build dirs need to be added because every piece that gets built +dnl will need the GStreamer source and generated headers dnl LIBS: XML doesn't need to be added because we don't explicitly use symbols dnl from LibXML -GST_ALL_CFLAGS="$GLIB_CFLAGS $XML_CFLAGS \$(GST_OPTION_CFLAGS)" +GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir) $GLIB_CFLAGS $XML_CFLAGS \$(GST_OPTION_CFLAGS)" dnl FIXME: check if LTLIBINTL is needed everywhere dnl I presume it is given that it contains the symbols that _() stuff maps to GST_ALL_LIBS="$GLIB_LIBS $LTLIBINTL" @@ -594,7 +597,7 @@ dnl GST_OBJ_* dnl default vars for all internal objects built on libgstreamer -GST_OBJ_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) \$(GST_ALL_CFLAGS)" +GST_OBJ_CFLAGS="\$(GST_ALL_CFLAGS)" GST_OBJ_LIBS="\$(top_builddir)/gst/libgstreamer-$GST_MAJORMINOR.la \$(GST_ALL_LIBS)" GST_OBJ_LDFLAGS="$GST_LT_LDFLAGS $GST_ALL_LDFLAGS" AC_SUBST(GST_OBJ_CFLAGS) |