Bruno Haible <[EMAIL PROTECTED]> writes: > - The autoconf manual still recommends to include <alloca.h> only if > HAVE_ALLOCA_H. > - fnmatch.c and regex.c are still included in gcc's libiberty. Its regex.c > also includes <alloca.h> only if HAVE_ALLOCA_H.
But these are for Autoconf's AC_FUNC_ALLOCA macro. We are talking about gnulib's gl_FUNC_ALLOCA. Let's put it this way. Currently, one cannot build a program, part of which does things the Autoconf way, and part of which does things the Gnulib way. This is because Gnulib unconditionally defines HAVE_ALLOCA_H. But with the proposed change (where Gnulib does unconditionally define HAVE_ALLOCA_H), one could build such a program. For example, one could build a program that uses gcc's libiberty along with some gnulib code. The libiberty code won't use Gnulib's <alloca.h> substitute, but that's OK; it will still work just as well as it does now. So I still don't see the downside of making that change.