Re: [bug-gnulib] badly sorted #include directives

2006-04-25 Thread Bruno Haible
Ben Pfaff wrote: > gnulib-tool appears to blindly sort the list of #include > directives it prints. When the list contains #if...#endif, that > makes the output funny, e.g.: > > You may need to add #include directives for the following .h files. > #endif > #if HAVE_MBRTOWC >

badly sorted #include directives

2006-04-24 Thread Ben Pfaff
gnulib-tool appears to blindly sort the list of #include directives it prints. When the list contains #if...#endif, that makes the output funny, e.g.: You may need to add #include directives for the following .h files. #endif #if HAVE_MBRTOWC #if HAVE_WCHAR_H && HAVE_WCTYPE_