configure.in
changeset 1822 77656185d662
parent 1820 133d55b02d51
child 1823 d2b0f8b18ab8
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"