From e6a6d3e61dbc3cb1eb6ab90b3b0d53f6c652cb2c Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 28 Nov 2005 05:40:13 +0000 Subject: [PATCH] Don't show the sdl*-config not found messages. People get confused. --- src/conio/Common.gmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/conio/Common.gmake b/src/conio/Common.gmake index 6d4b6f4fbe..bbfaa5c64a 100644 --- a/src/conio/Common.gmake +++ b/src/conio/Common.gmake @@ -5,19 +5,19 @@ ifndef SDL_CONFIG WITH_SDL := 1 endif else - ifeq ($(shell sdl-config --cflags > /dev/null && echo YES),YES) + ifeq ($(shell sdl-config --cflags 2>&1 > /dev/null && echo YES),YES) SDL_CONFIG := sdl-config WITH_SDL := 1 else - ifeq ($(shell sdl13-config --cflags > /dev/null && echo YES),YES) + ifeq ($(shell sdl13-config --cflags 2>&1 > /dev/null && echo YES),YES) SDL_CONFIG := sdl13-config WITH_SDL := 1 else - ifeq ($(shell sdl12-config --cflags > /dev/null && echo YES),YES) + ifeq ($(shell sdl12-config --cflags 2>&1 > /dev/null && echo YES),YES) SDL_CONFIG := sdl12-config WITH_SDL := 1 else - ifeq ($(shell sdl11-config --cflags > /dev/null && echo YES),YES) + ifeq ($(shell sdl11-config --cflags 2>&1 > /dev/null && echo YES),YES) SDL_CONFIG := sdl11-config WITH_SDL := 1 endif @@ -29,7 +29,7 @@ endif ifdef WITH_SDL ifdef SDL_CONFIG - ifeq ($(shell ${SDL_CONFIG} --cflags > /dev/null && echo YES),YES) + ifeq ($(shell ${SDL_CONFIG} --cflags 2>&1 > /dev/null && echo YES),YES) CIOLIB-MT_CFLAGS += -DWITH_SDL CIOLIB-MT_CFLAGS += $(shell $(SDL_CONFIG) --cflags) ifdef STATIC_SDL -- GitLab