>>>>> "Duncan" == Duncan Simpson <[EMAIL PROTECTED]> writes:
Duncan> Some electrons claimed that Jean-Marc Lasgouttes write: >> Ben> 2) does not define HAVE_DECL_MKSTEMP, but my system has it. >> Lars, the LYX_DECL_HDR is broken: it does not create a define in >> config.h. I do not know what to do about it, actually >> >> JMarc >> Duncan> Do you need some compile time switches to expose the mkstemp Duncan> declaration, or it is a different header file from the one Duncan> that the LYX_DECL_HDR macro thinks? Given detials I can Duncan> probably fix the LYX_DECL_HDR macro (aka WTX_CHECK_DECL with a Duncan> few name changes). There is also WTX_CHECK_DECL_HDRS which Duncan> tests several headers if you need this to fix the problem. I Duncan> could turn WTX_CHECK_HDRS into LYX_DECL_HDRS quickly if you Duncan> asked (WTX_CHECK_DECL_HDRS internally uses Duncan> WTX_CHECK_DECL_HDR). The problem is that the checking is done correctly, but we cannot get autoheader to guess that it has to provide a template for HAVE_DECL_MKSTEMP. Since no template exists, the #define is forgotten. Do you know how to solve this problem? JMarc