]> git.sesse.net Git - vlc/commitdiff
Use the headers from builddir and srcdir before the system headers
authorRafaël Carré <rcarre@m2x.nl>
Wed, 2 Jul 2008 11:14:30 +0000 (13:14 +0200)
committerRafaël Carré <rcarre@m2x.nl>
Wed, 2 Jul 2008 11:14:30 +0000 (13:14 +0200)
That fixes compilation when incompatible headers are installed on the system (such as headers from vlc 0.8.6)

configure.ac

index 4504e5848a63c40c24a73e9ffe403c294e8d078e..64fa27d2076667c0f9942c7ba53cdf36f86b5357 100644 (file)
@@ -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