[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans
From: |
Simon Josefsson |
Subject: |
Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans |
Date: |
Thu, 20 Sep 2007 14:21:49 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
"Andrew W. Nosenko" <address@hidden> writes:
> On 9/19/07, Yoshisato YANAGISAWA <address@hidden> wrote:
>> OK, I will change the script to disable camellia when the result of
>> "libgcrypt --algorithms" don't have camellia. Code in configure script
>> will be:
>>
>> if test "`$LIBGCRYPT_CONFIG --algorithms | grep -i camellia`"; then
>> CFLAGS += -DUSE_CAMELLIA
>> else
>> echo "$as_me: WARNING: camellia feature disabled" >& 2
>> fi
>
> Please, use
> AC_MSG_WARN([camellia feature disabled])
> or some another AC_MSG_*() macro at your taste instead of direct "echo".
> "echo" doesn't handle possible descriptor's redirection in 'configure'
> and doesn't duplicate message to the 'config.log'.
I agree, although I think that was the intention (notice that he said
'Code in configure script' not configure.in script).
> Second: why warning at all and not something like
> AC_MSG_CHECKING([for camelia support in libgcrypt])
> # ... actual tests here ...
> # following assumes that result stored in the shell variable
> # 'is_camelia_present' in the form 'yes' or 'no'.
> if test x$is_camelia_present = xyes
> then
> AC_MSG_RESULT([yes])
> # ... and some additional acrtions if you want
> else
> AC_MSG_RESULT([no])
> # ... and some additional acrtions if you want
> fi
Yeah, I agree with that too.
/Simon
- [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Simon Josefsson, 2007/09/11
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Florian Weimer, 2007/09/11
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Yoshisato YANAGISAWA, 2007/09/11
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Werner Koch, 2007/09/12
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Simon Josefsson, 2007/09/17
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Yoshisato YANAGISAWA, 2007/09/19
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Simon Josefsson, 2007/09/19
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Andrew W. Nosenko, 2007/09/20
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans,
Simon Josefsson <=
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Yoshisato YANAGISAWA, 2007/09/21
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Yoshisato YANAGISAWA, 2007/09/21
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Simon Josefsson, 2007/09/24
- Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Werner Koch, 2007/09/20
Re: [gnutls-dev] Time-based release schedule and GnuTLS v2.2 plans, Simon Josefsson, 2007/09/19