[vlc-devel] commit: Use the headers from builddir and srcdir before the system headers ( Rafaël Carré )

git version control git at videolan.org
Wed Jul 2 13:16:29 CEST 2008


vlc | branch: master | Rafaël Carré <rcarre at m2x.nl> | Wed Jul  2 13:14:30 2008 +0200| [ef239891487f4b3c6ad3d1be94048644c27ede3a]

Use the headers from builddir and srcdir before the system headers

That fixes compilation when incompatible headers are installed on the system (such as headers from vlc 0.8.6)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef239891487f4b3c6ad3d1be94048644c27ede3a
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4504e58..64fa27d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5718,7 +5718,7 @@ dnl  Handle substvars that use $(top_srcdir)
 dnl
 VLC_CONFIG="top_builddir=\"\$(top_builddir)\" \$(top_builddir)/vlc-config"
 AC_SUBST(VLC_CONFIG)
-CPPFLAGS_save="${CPPFLAGS_save} -I\$(top_srcdir)/include -I\$(top_builddir)/include"
+CPPFLAGS_save="-I\$(top_srcdir)/include -I\$(top_builddir)/include ${CPPFLAGS_save}"
 
 dnl
 dnl  Restore *FLAGS




More information about the vlc-devel mailing list