summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-27 14:58:33 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-27 14:58:33 +0000
commit848d1d0cd84c11ceed93e83739c17dbb7246b701 (patch)
tree485392a348f4394a7e2aba4126ee5eb621a713fa /configure
parentc07c47b4c301f2d87e6f57bd7609e3235ffb894c (diff)
downloadmpv-848d1d0cd84c11ceed93e83739c17dbb7246b701.tar.bz2
mpv-848d1d0cd84c11ceed93e83739c17dbb7246b701.tar.xz
Suppress implicit usage of /usr/local stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2500 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure b/configure
index dc54bd3326..225d82e91a 100755
--- a/configure
+++ b/configure
@@ -422,12 +422,19 @@ if test -z "$_x11incdir" ; then
fi
# Lots of stuff are installed under /usr/local
-
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# NK: But we should never use this stuff implicitly
+# since we call compiler from /usr we should be sure
+# that there no effects from other compilers (libraries)
+# which might be installed into /usr/local.
+# Let users use this stuff explicitly as command line argument.
+# In other words: It would be resonable have or only /usr/include
+# or only /usr/local/include.
if test -z "$_extralibdir" ; then
-_extralibdir=-L/usr/local/lib
+_extralibdir=-L/usr/lib
fi
if test -z "$_extraincdir" ; then
-_extraincdir=-I/usr/local/include
+_extraincdir=-I/usr/include
fi
if test -z "$_sdlconfig" ; then