summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-10 13:32:37 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-10 13:32:37 +0000
commite51a1598b4615c7a6e0d31c91f917e5ef52006ad (patch)
tree30ba51a17b6c746a9421483f31b0f99ba85a394f
parent71670752d0c3ddd7844071b11ab2f1af245869e5 (diff)
downloadmpv-e51a1598b4615c7a6e0d31c91f917e5ef52006ad.tar.bz2
mpv-e51a1598b4615c7a6e0d31c91f917e5ef52006ad.tar.xz
Quote test arguments that may be empty
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30257 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index ab05e9ceed..e568fec877 100755
--- a/configure
+++ b/configure
@@ -3111,7 +3111,7 @@ for _ld_tmp in "$_ld_sock" "$_ld_sock -lresolv" ; do
cc_check $_ld_tmp && inet_pton=yes && break
done
if test $inet_pton = yes ; then
- test $_ld_tmp && _res_comment="using $_ld_tmp"
+ test "$_ld_tmp" && _res_comment="using $_ld_tmp"
def_inet_pton='#define HAVE_INET_PTON 1'
fi
echores "$inet_pton"
@@ -3130,7 +3130,7 @@ for _ld_tmp in "$_ld_sock" "$_ld_sock -lresolv" ; do
cc_check $_ld_tmp && inet_aton=yes && break
done
if test $inet_aton = yes ; then
- test $_ld_tmp && _res_comment="using $_ld_tmp"
+ test "$_ld_tmp" && _res_comment="using $_ld_tmp"
def_inet_aton='#define HAVE_INET_ATON 1'
fi
echores "$inet_aton"