libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HEAD: Kill two showstoppers at once


From: Ralf Wildenhues
Subject: Re: HEAD: Kill two showstoppers at once
Date: Wed, 31 Aug 2005 14:14:17 +0200
User-agent: Mutt/1.4.1i

Slight omission:

* Ralf Wildenhues wrote on Tue, Aug 30, 2005 at 06:51:44PM CEST:
> 
> --- libltdl/m4/ltoptions.m4   30 Aug 2005 14:31:40 -0000      1.2
> +++ libltdl/m4/ltoptions.m4   30 Aug 2005 16:46:52 -0000
> @@ -20,9 +20,15 @@
>  
>  
>  # _LT_SET_OPTION(NAME)
> -# ------------------------------
> -# Set option NAME.  Other NAMEs are saved as a flag.
> -m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1]))])
> +# --------------------
> +# Set option NAME, and if there is a matching handler defined,
> +# dispatch to it.  Other NAMEs are saved as a flag.
> +m4_define([_LT_SET_OPTION],
> +[m4_define(_LT_MANGLE_OPTION([$1]))dnl
> +m4_ifdef(_LT_MANGLE_DEFUN([$1]),
> +        _LT_MANGLE_DEFUN([$1]),
> +    [m4_warn([Unknown Libtool option `$1'])])[]dnl
> +])
>  
>  
>  # _LT_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
> @@ -52,16 +58,14 @@
>  # and exit.
>  m4_define([_LT_SET_OPTIONS],

D'oh, you also want m4_defun([_LT_SET_OPTIONS] in this case.

>  [m4_foreach([_LT_Option], m4_split(m4_normalize([$1])),
> -    [_LT_SET_OPTION(_LT_Option)
> -    m4_ifdef(_LT_MANGLE_DEFUN(_LT_Option),
> -          _LT_MANGLE_DEFUN(_LT_Option),
> -     [m4_fatal([Unknown option `]_LT_Option[' to LT][_INIT_LIBTOOL])])
> -    ])dnl
> +    [_LT_SET_OPTION(_LT_Option)])
>  dnl
>  dnl Simply set some default values (i.e off) if boolean options were not
>  dnl specified:
*snip*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]