From 848d1d0cd84c11ceed93e83739c17dbb7246b701 Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 27 Oct 2001 14:58:33 +0000 Subject: Suppress implicit usage of /usr/local stuff git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2500 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3