kconfig: Print errors to stderr in the Makefile

Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
Michal Marek 2012-07-07 23:32:18 +02:00
parent 1a7a8c6fd8
commit 5b580fa671
1 changed files with 14 additions and 14 deletions

View File

@ -234,12 +234,12 @@ $(obj)/.tmp_qtcheck:
if [ -f $$d/include/qconfig.h ]; then dir=$$d; break; fi; \ if [ -f $$d/include/qconfig.h ]; then dir=$$d; break; fi; \
done; \ done; \
if [ -z "$$dir" ]; then \ if [ -z "$$dir" ]; then \
echo "*"; \ echo >&2 "*"; \
echo "* Unable to find any QT installation. Please make sure that"; \ echo >&2 "* Unable to find any QT installation. Please make sure that"; \
echo "* the QT4 or QT3 development package is correctly installed and"; \ echo >&2 "* the QT4 or QT3 development package is correctly installed and"; \
echo "* either qmake can be found or install pkg-config or set"; \ echo >&2 "* either qmake can be found or install pkg-config or set"; \
echo "* the QTDIR environment variable to the correct location."; \ echo >&2 "* the QTDIR environment variable to the correct location."; \
echo "*"; \ echo >&2 "*"; \
false; \ false; \
fi; \ fi; \
libpath=$$dir/lib; lib=qt; osdir=""; \ libpath=$$dir/lib; lib=qt; osdir=""; \
@ -279,17 +279,17 @@ $(obj)/.tmp_gtkcheck:
if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then \ if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then \
touch $@; \ touch $@; \
else \ else \
echo "*"; \ echo >&2 "*"; \
echo "* GTK+ is present but version >= 2.0.0 is required."; \ echo >&2 "* GTK+ is present but version >= 2.0.0 is required."; \
echo "*"; \ echo >&2 "*"; \
false; \ false; \
fi \ fi \
else \ else \
echo "*"; \ echo >&2 "*"; \
echo "* Unable to find the GTK+ installation. Please make sure that"; \ echo >&2 "* Unable to find the GTK+ installation. Please make sure that"; \
echo "* the GTK+ 2.0 development package is correctly installed..."; \ echo >&2 "* the GTK+ 2.0 development package is correctly installed..."; \
echo "* You need gtk+-2.0, glib-2.0 and libglade-2.0."; \ echo >&2 "* You need gtk+-2.0, glib-2.0 and libglade-2.0."; \
echo "*"; \ echo >&2 "*"; \
false; \ false; \
fi fi
endif endif