Mercurial > sdl-ios-xcode
changeset 1822:77656185d662
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...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 11 May 2006 23:37:13 +0000 |
parents | 2f381b48b05c |
children | d2b0f8b18ab8 |
files | configure.in |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Thu May 11 23:32:11 2006 +0000 +++ b/configure.in Thu May 11 23:37:13 2006 +0000 @@ -74,14 +74,15 @@ 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"