Denis Excoffier wrote: > >> > Is it conceivable that in mpsort.c, the line > >> > > >> > #include <config.h> > >> > > >> > is (officially) replaced by the three lines > >> > > >> > #ifdef HAVE_CONFIG_H > >> > # include <config.h> > >> > #endif > >> > > >> > for those people (like me...) that don't work with <config.h> but prefer > >> > to keep mpsort.c untouched?
No. mpsort.c uses the 'restrict' keyword, which requires <config.h>. If you don't want a <config.h>, you'll get a compilation error with many compilers. Or you can do a sed 's/\*restrict/*/g' on the mpsort.c file. But when you do that, you can also sed 's/#include <config.h>//'. And you're entirely on your own with this approach. We don't support sources that have been hacked in this way. > i wish to be a user of (some) gnulib software, without > being also a user of the ./configure etc. usual mechanism. If you don't wish to use an Autoconf generated configure file, then gnulib is not for you. Most of the gnulib sources require platform-dependent configuration, done in 'configure', through Autoconf macros. If you don't want this, you must be looking for completely portable old-style ANSI C source code that doesn't need Autoconf checks. Such source code exists, but it is not gnulib. Please read: http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Introduction.html http://www.gnu.org/software/gnulib/manual/html_node/Modules.html Bruno