[vlc-devel] commit: Don't try to outsmart the compiler for the include path ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Feb 14 23:14:45 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 15 00:13:26 2010 +0200| [1086c467ee02d03421b5ffe4b244619d7e460d94] | committer: Rémi Denis-Courmont 

Don't try to outsmart the compiler for the include path

This breaks cross-compilation with any prefix other than /usr

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

 vlc-config.in.in |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/vlc-config.in.in b/vlc-config.in.in
index 134cd59..e725323 100644
--- a/vlc-config.in.in
+++ b/vlc-config.in.in
@@ -69,13 +69,6 @@ if test $# -eq 0; then
         usage 1 1>&2
 fi
 
-#
-#  No need to include the default @*FLAGS@ values here because they are
-#  automatically added when using $(COMPILE), $(CXXCOMPILE) or $(OBJCCOMPILE)
-#
-if test "@includedir@" != "/usr/include"; then
-  includes="-I at includedir@"
-fi
 if test "${top_builddir}" != ""; then
   top_builddir="${top_builddir}/"
 elif test "${TOP_BUILDDIR}" != ""; then




More information about the vlc-devel mailing list