On Fri, Jun 03, 2005 at 01:54:01PM +0200, Stepan Kasal wrote: > + gl_CACHE_VAR, > + [AC_COMPILE_IFELSE([#include <$1> > + int x = MIN (42, 17);], > + [gl_CACHE_VAR=yes], > + [gl_CACHE_VAR=no])]) > + if test $gl_CACHE_VAR = yes; then > + AC_DEFINE([HAVE_MINMAX_IN_]AS_TR_CPP([$1]), 1, > [Define to 1 if <$1> defines the MIN and MAX macros.]) > fi
Apologies for stating the obvious, but contrary to this description, HAVE_MINMAX_IN_FOO_H is defined if MIN is defined in foo.h and MAX is not. Strictly speaking, we should change either the macro or the description. Regards, James. _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib