Re: [libav-devel] [RFC] configure: Factorize the toolchain support

2016-02-05 Thread Diego Biurrun
On Mon, Oct 26, 2015 at 09:08:35PM +0100, Luca Barbato wrote: > That makes possible to use --toolchain=asan. Allows using .. > --- a/configure > +++ b/configure > @@ -2641,42 +2641,49 @@ set >> $logfile > case "$toolchain" in > clang-asan) > cc_default="clang" > -

Re: [libav-devel] [RFC] configure: Factorize the toolchain support

2016-02-05 Thread Luca Barbato
On 05/02/16 18:58, Diego Biurrun wrote: > Unfortunately there is no fallthrough in POSIX shell like in bash. > Splitting the case block in two parts is ugly though. I think embedded > case blocks would be cleaner even if a few lines longer. Not sure how you'd do.

Re: [libav-devel] [RFC] configure: Factorize the toolchain support

2016-02-04 Thread Luca Barbato
On 04/02/16 12:57, Vittorio Giovara wrote: > On Mon, Oct 26, 2015 at 9:08 PM, Luca Barbato wrote: >> That makes possible to use --toolchain=asan. >> --- >> >> It is sort of handy all in all. >> >> configure | 35 +-- >> 1 file changed, 21

[libav-devel] [RFC] configure: Factorize the toolchain support

2015-10-26 Thread Luca Barbato
That makes possible to use --toolchain=asan. --- It is sort of handy all in all. configure | 35 +-- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/configure b/configure index 8d44768..924f5c8 100755 --- a/configure +++ b/configure @@ -2641,42