On Tue 06/12/11 13:56 , Eric Blake [email protected] sent: <snip> > There's your problem. You have to #include <config.h> prior to any > other include files, if you want gnulib's getopt replacements to work.
Thanks Eric, that worked. May I suggest that gnulib-tool is improved to check that a) config.h is being generated and if not advise the user on how to get it to be created in the first place and b) advise the user to #include the config.h header. Thanks again, Mark.
