changeset 2499:13e4620eccb7

Suppress implicit usage of /usr/local stuff
author nick
date Sat, 27 Oct 2001 14:58:33 +0000
parents 38bb41c48d1f
children 8858ff8ab415
files configure
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Oct 27 14:30:43 2001 +0000
+++ b/configure	Sat Oct 27 14:58:33 2001 +0000
@@ -422,12 +422,19 @@
 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