changeset 36615:97cfc1701d55

Do not print pkg-config errors.
author reimar
date Thu, 23 Jan 2014 19:13:50 +0000
parents a6a86c77e9cc
children b98f5481ed41
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jan 23 17:28:02 2014 +0000
+++ b/configure	Thu Jan 23 19:13:50 2014 +0000
@@ -4272,7 +4272,7 @@
 fi
 if test "$_smb" = auto; then
   _smb=no
-  pkg_inc=$($_pkg_config --cflags smbclient)
+  pkg_inc=$($_pkg_config --cflags smbclient 2>/dev/null)
   for ld_tmp in "-lsmbclient" "-lsmbclient $ld_dl" "-lsmbclient $ld_dl -lnsl" "-lsmbclient $ld_dl -lssl -lnsl" ; do
     statement_check libsmbclient.h 'smbc_opendir("smb://")' $ld_tmp &&
       extra_ldflags="$extra_ldflags $ld_tmp" && _smb=yes && break