diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-07-05 08:51:04 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-07-05 08:51:04 +0200 |
commit | 8b5f0cfb0cbf54b707e1c16903f841148871baf1 (patch) | |
tree | bdd20fcc6542f74743a5666ba629dd038e121faf | |
parent | cfa76744cb9cea2649b0155b1bbdd0233a814307 (diff) |
configure: Silence pkg-config calls
Redirect the output of pkg-config to /dev/null so it doesn't clutter the
output of the configure script.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rwxr-xr-x | configure | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -100,12 +100,12 @@ void main(void) EOF $CC -W -Wall \ - $(pkg-config --cflags libnl-3.0) \ - $(pkg-config --cflags libnl-genl-3.0) \ + $(pkg-config --cflags libnl-3.0 2>&1 > /dev/null) \ + $(pkg-config --cflags libnl-genl-3.0 2>&1 > /dev/null) \ -o $TMPDIR/libnltest \ $TMPDIR/libnltest.c \ - $(pkg-config --libs libnl-3.0) \ - $(pkg-config --libs libnl-genl-3.0) \ + $(pkg-config --libs libnl-3.0 2>&1 > /dev/null) \ + $(pkg-config --libs libnl-genl-3.0 2>&1 > /dev/null) \ >> $TMPDIR/config.log 2>&1 if [ ! -x $TMPDIR/libnltest ] ; then echo "[NO]" @@ -153,7 +153,11 @@ void main(void) } EOF - $CC $(pkg-config --cflags ncurses) -o $TMPDIR/ncursestest $TMPDIR/ncursestest.c $(pkg-config --libs ncurses) >> $TMPDIR/config.log 2>&1 + $CC -W -Wall \ + $(pkg-config --cflags ncurses 2>&1 > /dev/null) \ + -o $TMPDIR/ncursestest $TMPDIR/ncursestest.c \ + $(pkg-config --libs ncurses 2>&1 > /dev/null) \ + >> $TMPDIR/config.log 2>&1 if [ ! -x $TMPDIR/ncursestest ] ; then echo "[NO]" MISSING_DEFS=1 |