summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-11 11:16:20 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-11 11:16:20 +0000
commit9c46f5530c5ab032eab756beacdd02b5654a326d (patch)
treed66225117c9b5150f2e984f5b1aec986ce93e49e
parent61f18f2381a874b929dbb143ded2dfccc2a29082 (diff)
downloadmpv-9c46f5530c5ab032eab756beacdd02b5654a326d.tar.bz2
mpv-9c46f5530c5ab032eab756beacdd02b5654a326d.tar.xz
Only print "using XYZ" comment if XYZ has been set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28295 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 929a939f1c..404e83e4f7 100755
--- a/configure
+++ b/configure
@@ -2891,7 +2891,7 @@ if test "$_winsock2_h" = yes ; then
elif cc_check $_ld_sock ; then
# NOTE: Linux has libresolv but does not need it
:
- _res_comment="using $_ld_sock"
+ test $_ld_sock && _res_comment="using $_ld_sock"
echores "yes"
elif cc_check $_ld_sock -lresolv ; then
# NOTE: needed for SunOS at least
@@ -2913,7 +2913,7 @@ EOF
if cc_check $_ld_sock ; then
# NOTE: Linux has libresolv but does not need it
:
- _res_comment="using $_ld_sock"
+ test $_ld_sock && _res_comment="using $_ld_sock"
elif cc_check $_ld_sock -lresolv ; then
# NOTE: needed for SunOS at least
_ld_sock="$_ld_sock -lresolv"
@@ -3151,7 +3151,7 @@ if ! hpux ; then
fi
fi
if test "$_pthreads" = yes ; then
- _res_comment="using $_ld_pthread"
+ test $_ld_pthread && _res_comment="using $_ld_pthread"
_def_pthreads='#define HAVE_PTHREADS 1'
_def_threads='#define HAVE_THREADS 1'
else
@@ -3396,7 +3396,7 @@ EOF
fi
if test "$_termcap" = yes ; then
_def_termcap='#define HAVE_TERMCAP 1'
- _res_comment="using $_ld_tmp"
+ test $_ld_tmp && _res_comment="using $_ld_tmp"
else
_def_termcap='#undef HAVE_TERMCAP'
fi
@@ -6500,7 +6500,7 @@ EOF
fi
fi
if test "$_live" = yes && test "$_network" = yes; then
- _res_comment="using $_livelibdir"
+ test $_livelibdir && _res_comment="using $_livelibdir"
_def_live='#define CONFIG_LIVE555 1'
_inputmodules="live555 $_inputmodules"
elif test "$_live_dist" = yes && test "$_network" = yes; then