Skip to content

Commit

Permalink
Should we always look in /usr/local when compiling natively?
Browse files Browse the repository at this point in the history
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...
  • Loading branch information
slouken committed May 11, 2006
1 parent 17495a7 commit 5d3af61
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions configure.in
Expand Up @@ -74,14 +74,15 @@ BUILD_CFLAGS="$CFLAGS $CPPFLAGS"
EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS"
BUILD_LDFLAGS="$LDFLAGS"
EXTRA_LDFLAGS="$BASE_LDFLAGS"
for path in /usr/local; do
if test -d $path/include; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
fi
if test -d $path/lib; then
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
fi
done
dnl I can't remember why I added this. I'm sure it'll come to me...
dnlfor path in /usr/local; do
dnl if test -d $path/include; then
dnl EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
dnl fi
dnl if test -d $path/lib; then
dnl EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
dnl fi
dnldone
SDL_CFLAGS="$BASE_CFLAGS"
SDL_LIBS="-lSDL $BASE_LDFLAGS"
CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS"
Expand Down

0 comments on commit 5d3af61

Please sign in to comment.