comparison configure.in @ 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 133d55b02d51
children d2b0f8b18ab8
comparison
equal deleted inserted replaced
1821:2f381b48b05c 1822:77656185d662
72 esac 72 esac
73 BUILD_CFLAGS="$CFLAGS $CPPFLAGS" 73 BUILD_CFLAGS="$CFLAGS $CPPFLAGS"
74 EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS" 74 EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS"
75 BUILD_LDFLAGS="$LDFLAGS" 75 BUILD_LDFLAGS="$LDFLAGS"
76 EXTRA_LDFLAGS="$BASE_LDFLAGS" 76 EXTRA_LDFLAGS="$BASE_LDFLAGS"
77 for path in /usr/local; do 77 dnl I can't remember why I added this. I'm sure it'll come to me...
78 if test -d $path/include; then 78 dnlfor path in /usr/local; do
79 EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include" 79 dnl if test -d $path/include; then
80 fi 80 dnl EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include"
81 if test -d $path/lib; then 81 dnl fi
82 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib" 82 dnl if test -d $path/lib; then
83 fi 83 dnl EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib"
84 done 84 dnl fi
85 dnldone
85 SDL_CFLAGS="$BASE_CFLAGS" 86 SDL_CFLAGS="$BASE_CFLAGS"
86 SDL_LIBS="-lSDL $BASE_LDFLAGS" 87 SDL_LIBS="-lSDL $BASE_LDFLAGS"
87 CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS" 88 CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS"
88 CFLAGS="$CFLAGS $EXTRA_CFLAGS" 89 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
89 LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" 90 LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS"