[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unistd.h and getopt.h
From: |
Simon Josefsson |
Subject: |
Re: unistd.h and getopt.h |
Date: |
Wed, 30 Nov 2011 15:41:13 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Thanks for the analysis. To summarize:
> You have 2 gnulib-tool invocations in the scope of a single configure.ac file.
> - One gnulib-tool invocation asks for 'unistd'.
> - A second gnulib-tool invocation asks for 'unistd' and 'getopt'.
> The latter causes the m4 macros to set the GNULIB_UNISTD_H_GETOPT variable
> to 1. So code in the directory for the first gnulib-tool invocation tries
> to include <getopt.h>, which does not exist.
>
> This patch fixes it at the gnulib level. (Tested on AIX 5.1.) You can remove
> the workaround that you added yesterday.
Thank you, I did this a few days ago, let's see how the next release
works. (I thought I acknowledged this earlier, but I cannot find any
response from me in my mailboxes and your e-mail was left unread in one
of my folders... perhaps I confuse this with some of your other fixes)
/Simon