diff --git a/configure b/configure index d8fc074b0..dce13f7c0 100755 --- a/configure +++ b/configure @@ -15753,14 +15753,14 @@ EXTRA_LDFLAGS="$BASE_LDFLAGS" #done SDL_CFLAGS="$BASE_CFLAGS" SDL_LIBS="-lSDL2" -if "$BASE_LDFLAGS" != "" ; then +if test "x$BASE_LDFLAGS" != x; then SDL_LIBS="$SDL_LIBS $BASE_LDFLAGS" fi -if "$EXTRA_CFLAGS" != "" ; then +if test "x$EXTRA_CFLAGS" != x; then CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS" CFLAGS="$CFLAGS $EXTRA_CFLAGS" fi -if "$EXTRA_LDFLAGS" != "" ; then +if test "x$EXTRA_LDFLAGS" != x; then LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" fi diff --git a/configure.in b/configure.in index 1b9935c71..cc6cd4bb2 100644 --- a/configure.in +++ b/configure.in @@ -124,14 +124,14 @@ EXTRA_LDFLAGS="$BASE_LDFLAGS" #done SDL_CFLAGS="$BASE_CFLAGS" SDL_LIBS="-lSDL2" -if [ "$BASE_LDFLAGS" != "" ]; then +if test "x$BASE_LDFLAGS" != x; then SDL_LIBS="$SDL_LIBS $BASE_LDFLAGS" fi -if [ "$EXTRA_CFLAGS" != "" ]; then +if test "x$EXTRA_CFLAGS" != x; then CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS" CFLAGS="$CFLAGS $EXTRA_CFLAGS" fi -if [ "$EXTRA_LDFLAGS" != "" ]; then +if test "x$EXTRA_LDFLAGS" != x; then LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" fi