Should we always look in /usr/local when compiling natively?
I'm guessing we probably should, but I don't remember why this was added in the first place. I'm disabling it for now... --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401783
This commit is contained in:
parent
6eed3898de
commit
dc8db021be
1 changed files with 9 additions and 8 deletions
17
configure.in
17
configure.in
|
@ -74,14 +74,15 @@ BUILD_CFLAGS="$CFLAGS $CPPFLAGS"
|
||||||
EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS"
|
EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS"
|
||||||
BUILD_LDFLAGS="$LDFLAGS"
|
BUILD_LDFLAGS="$LDFLAGS"
|
||||||
EXTRA_LDFLAGS="$BASE_LDFLAGS"
|
EXTRA_LDFLAGS="$BASE_LDFLAGS"
|
||||||
for path in /usr/local; do
|
dnl I can't remember why I added this. I'm sure it'll come to me...
|
||||||
if test -d $path/include; then
|
dnlfor path in /usr/local; do
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
|
dnl if test -d $path/include; then
|
||||||
fi
|
dnl EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
|
||||||
if test -d $path/lib; then
|
dnl fi
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
|
dnl if test -d $path/lib; then
|
||||||
fi
|
dnl EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
|
||||||
done
|
dnl fi
|
||||||
|
dnldone
|
||||||
SDL_CFLAGS="$BASE_CFLAGS"
|
SDL_CFLAGS="$BASE_CFLAGS"
|
||||||
SDL_LIBS="-lSDL $BASE_LDFLAGS"
|
SDL_LIBS="-lSDL $BASE_LDFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue