[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mbstate_t not properly detected
From: |
Stepan Kasal |
Subject: |
Re: mbstate_t not properly detected |
Date: |
Wed, 23 Feb 2005 09:49:44 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi Denis,
On Sun, Feb 20, 2005 at 04:30:32PM +0100, Denis Corbin wrote:
> Thanks for your remark. I will remove AC_REPLACE_FNMATCH as I have no
> replacement function to provide.
if you are targeting platforms which could lack fnmatch, you can get a
replacement from the gnulib CVS on savannah.
(Files lib/fnmatch*, I think; part of the fnmatch module.)
OTOH, if you simply remove the AC_REPLACE_FNMATCH, then AC_TYPE_MBSTATE_T
won't be included, and the problem will disappear altogether, without
any need for the #undef.
> Noah Misch wrote:
> > I would `#undef mbstate_t' immediately after including config.h in
> > each source file. This is not too pleasing, but it will work with
> > released Autoconf.
If you need this hack anyway, and if you include config.h from several
places, you could use:
AH_BOTTOM([#include "config-fixes.h"])
and put the #undef to config-fixes.h.
Hope these comments will be useful,
Stepan Kasal
- mbstate_t not properly detected, Denis Corbin, 2005/02/13
- Re: mbstate_t not properly detected, Stepan Kasal, 2005/02/14
- Re: mbstate_t not properly detected, Denis Corbin, 2005/02/14
- Re: mbstate_t not properly detected, Noah Misch, 2005/02/16
- Re: mbstate_t not properly detected, Denis Corbin, 2005/02/17
- Re: mbstate_t not properly detected, Noah Misch, 2005/02/17
- Re: mbstate_t not properly detected, Denis Corbin, 2005/02/20
- Re: mbstate_t not properly detected,
Stepan Kasal <=
- Re: mbstate_t not properly detected, Denis Corbin, 2005/02/24
- Re: mbstate_t not properly detected, Stepan Kasal, 2005/02/25