Commit ef239891 authored by Rafaël Carré's avatar Rafaël Carré

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)
parent d60188f5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment