Hi Eric,

> I think this fixes it, but I ran out of time to test it for now.

Yes, would also have fixed it. Sorry, I pushed a correction already
before noticing your proposal.

> @@ -43,8 +43,8 @@ int a = T_FMT_AMPM;
>           [gl_cv_header_langinfo_t_fmt_ampm=yes],
>           [gl_cv_header_langinfo_t_fmt_ampm=no])
>        ])
> -    if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
> -      HAVE_LANGINFO_T_FMT_AMPM=1
> +    if test $gl_cv_header_langinfo_t_fmt_ampm != yes; then
> +      HAVE_LANGINFO_T_FMT_AMPM=0
>      fi
>      AC_CACHE_CHECK([whether langinfo.h defines ERA],
>        [gl_cv_header_langinfo_era],

In any case, all 4 variables HAVE_LANGINFO_CODESET, HAVE_LANGINFO_T_FMT_AMPM,
HAVE_LANGINFO_ERA, HAVE_LANGINFO_YESEXPR should be handled the same way.

Bruno

Reply via email to