comparison configure @ 2499:13e4620eccb7

Suppress implicit usage of /usr/local stuff
author nick
date Sat, 27 Oct 2001 14:58:33 +0000
parents ed74af5ee66d
children 8858ff8ab415
comparison
equal deleted inserted replaced
2498:38bb41c48d1f 2499:13e4620eccb7
420 fi 420 fi
421 done 421 done
422 fi 422 fi
423 423
424 # Lots of stuff are installed under /usr/local 424 # Lots of stuff are installed under /usr/local
425 425 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
426 # NK: But we should never use this stuff implicitly
427 # since we call compiler from /usr we should be sure
428 # that there no effects from other compilers (libraries)
429 # which might be installed into /usr/local.
430 # Let users use this stuff explicitly as command line argument.
431 # In other words: It would be resonable have or only /usr/include
432 # or only /usr/local/include.
426 if test -z "$_extralibdir" ; then 433 if test -z "$_extralibdir" ; then
427 _extralibdir=-L/usr/local/lib 434 _extralibdir=-L/usr/lib
428 fi 435 fi
429 if test -z "$_extraincdir" ; then 436 if test -z "$_extraincdir" ; then
430 _extraincdir=-I/usr/local/include 437 _extraincdir=-I/usr/include
431 fi 438 fi
432 439
433 if test -z "$_sdlconfig" ; then 440 if test -z "$_sdlconfig" ; then
434 if freebsd ; then 441 if freebsd ; then
435 _sdlconfig='sdl11-config' 442 _sdlconfig='sdl11-config'