summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-07-05 16:36:41 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-07-05 16:38:30 +0200
commite6660d3be56472a0ab05503b4611805a0a5a3b62 (patch)
tree5d265b1f45b6a7a78c0a12bed0da8d1e633c61a3
parentda9efb53fc48c34d917f28f97a01c1f238eaf01f (diff)
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 <tklauser@distanz.ch>
-rwxr-xr-xconfigure16
1 files changed, 8 insertions, 8 deletions
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]"