Hello, Alexandre!
> There are two approaches to extracting the scripts: we may get their
> contents into the configure script, through some macro, or try to
This will make "configure" huge. Not nice, but it should work.
> arrange for configure to find them in libtool.m4 or aclocal.m4,
> avoiding the duplication of the scripts, but risking not finding the
> m4 file.
You mean that "aclocal" should put the code into aclocal.m4 because it
finds a macro in "configure.in"? I don't know how you are going to prevent
autoconf from including that code to "configure".
I believe that you will have to fool either aclocal or autoconf, so my
opinion will depend on how you are going to do it.
Regards,
Pavel Roskin