bug-gnulib
[Top][All Lists]
Advanced

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

[bug-gnulib] Re: gcc -Wall warning for minmax.h


From: Bruno Haible
Subject: [bug-gnulib] Re: gcc -Wall warning for minmax.h
Date: Mon, 23 May 2005 11:20:42 +0200
User-agent: KMail/1.5

Derek Price wrote:
> >First, the $gl_* variables should be cached, with AC_CACHE_CHECK.
> 
> Done.

Thanks.

> +   AC_CACHE_CHECK([whether <limits.h> defines MIN & MAX],
> +              gl_limits_h_has_minmax,

Cache variables need to have _cv_ in their name. So one needs to change this
to gl_cv_limits_h_has_minmax.

> +   AC_CACHE_CHECK([whether <sys/param.h> defines MIN & MAX],
> +              gl_sys_param_h_has_minmax,

This code is essentially duplicated from the above. Someday we may have 3 or
4 header file candidates, not just 2, so it's worth unifying this.

Bruno





reply via email to

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