[Top][All Lists]

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

Re: getopt_.h on Windows

From: Eli Zaretskii
Subject: Re: getopt_.h on Windows
Date: Mon, 07 Feb 2011 06:03:23 +0200

> Date: Sun, 06 Feb 2011 19:09:06 -0700
> From: Christoph <address@hidden>
> On a clean checkout on Windows getopt_.h has to be generated manually 
> before a bootstrap runs.

Always, or because getopt.in.h was changed lately?  If the former,
then I did something wrong, because that's not what I meant to happen.
If the latter, someone needs to regenerate getopt_.h and commit it to
the repository.

Also, what do you mean by "manually"?  The intent was to run a
specific Make rule, not to create the file by hand.

> This seems to be the case even if Sed is installed.

The need for regenerating getopt_.h does not depend on Sed, it depends
on getopt.in.h being newer.

> Is there any reason we couldn't just check for Sed and abort 
> if it is not present and otherwise build getopt_.h automatically?

Patches welcome, but please remember that Windows Makefiles support
both a Unixy shell and the Windows cmd.exe, so whatever you want to
add must work with both of them.

reply via email to

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