From e6660d3be56472a0ab05503b4611805a0a5a3b62 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 5 Jul 2013 16:36:41 +0200 Subject: configure: Don't redirect output of pkg-config This will of course also lead to the flags getting redirected. Silly me. While at it also remove the pointless warning flags to cc. Signed-off-by: Tobias Klauser --- configure | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 61a6ba0..63c7d21 100755 --- a/configure +++ b/configure @@ -99,13 +99,13 @@ void main(void) } EOF - $CC -W -Wall \ - $(pkg-config --cflags libnl-3.0 2>&1 > /dev/null) \ - $(pkg-config --cflags libnl-genl-3.0 2>&1 > /dev/null) \ + $CC \ + $(pkg-config --cflags libnl-3.0) \ + $(pkg-config --cflags libnl-genl-3.0) \ -o $TMPDIR/libnltest \ $TMPDIR/libnltest.c \ - $(pkg-config --libs libnl-3.0 2>&1 > /dev/null) \ - $(pkg-config --libs libnl-genl-3.0 2>&1 > /dev/null) \ + $(pkg-config --libs libnl-3.0) \ + $(pkg-config --libs libnl-genl-3.0) \ >> $TMPDIR/config.log 2>&1 if [ ! -x $TMPDIR/libnltest ] ; then echo "[NO]" @@ -153,10 +153,10 @@ void main(void) } EOF - $CC -W -Wall \ - $(pkg-config --cflags ncurses 2>&1 > /dev/null) \ + $CC \ + $(pkg-config --cflags ncurses) \ -o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \ - $(pkg-config --libs ncurses 2>&1 > /dev/null) \ + $(pkg-config --libs ncurses) \ >> $TMPDIR/config.log 2>&1 if [ ! -x $TMPDIR/ncursestest ] ; then echo "[NO]" -- cgit v1.2.3-54-g00ecf