]> git.sesse.net Git - vlc/commitdiff
Don't try to outsmart the compiler for the include path
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 14 Feb 2010 22:13:26 +0000 (00:13 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 14 Feb 2010 22:13:26 +0000 (00:13 +0200)
This breaks cross-compilation with any prefix other than /usr

vlc-config.in.in

index 134cd59d0d3dc5482ce5ed84419d41ef2b0a7f45..e7253236f7689a23dcc47dee79ad4f7d47700508 100644 (file)
@@ -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@includedir@"
-fi
 if test "${top_builddir}" != ""; then
   top_builddir="${top_builddir}/"
 elif test "${TOP_BUILDDIR}" != ""; then