[MPlayer-cvslog] r30257 - trunk/configure

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jan 10 14:35:09 CET 2010


On Sun, Jan 10, 2010 at 02:32:38PM +0100, reimar wrote:
> Author: reimar
> Date: Sun Jan 10 14:32:37 2010
> New Revision: 30257
> 
> Log:
> Quote test arguments that may be empty
> 
> Modified:
>    trunk/configure
> 
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	Sun Jan 10 13:13:10 2010	(r30256)
> +++ trunk/configure	Sun Jan 10 14:32:37 2010	(r30257)
> @@ -3111,7 +3111,7 @@ for _ld_tmp in "$_ld_sock" "$_ld_sock -l
>    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 -l
>    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"

On second thought, this still looks wrong. A proper fix is welcome.


More information about the MPlayer-cvslog mailing list