autoconf/TODO
1994-08-26 01:15:45 +00:00

97 lines
3.5 KiB
Plaintext

-*- outline -*-
Things it would be nice to maybe do someday:
------------------------------------------------------------------------------
* Fix AC_REQUIRE interrupting messages.
------------------------------------------------------------------------------
* Split up AC_SUBST substitutions using a loop to accomodate shells
with severely limited here document sizes, if it turns out to be a problem.
I'm not sure whether the limit is on lines or bytes; if bytes, it
will be less of a problem than it was with the long lines used for
creating a header file.
------------------------------------------------------------------------------
* Look at Jim Avera's code to allow [ and ] in patterns and AC_DEFINE args.
------------------------------------------------------------------------------
* Support host and target dependent hints for things that can't be
automatically determined. Perhaps this could replace or supplement
the current ad-hoc macros for Dynix, SCO, ISC, etc. Or, perhaps there
should be macros for certain functions (statfs, wait) or classes of
functions (POSIX, NIS) that do everything necessary, instead.
------------------------------------------------------------------------------
* Support copying and adding "dir" commands to .gdbinit.
------------------------------------------------------------------------------
* Doc: Add index of concepts.
------------------------------------------------------------------------------
* Supply a template Makefile.in that people can adapt (what GNU hello
was going to be).
** Have CC, DEFS, etc. substitutions.
** Support all of the GNU standard targets.
** Parameterize with make variables to require as little modification
as necessary. Maybe via m4? (Eww, sounds like imake.)
** Make it usable both with and without a header file.
------------------------------------------------------------------------------
* Mike Haertel's suggestions.
** Provide a file containing decls for alloca, strings, etc. acdecls.h?
** Cross compiling:
*** Error messages include instructions for overriding defaults using
config.site.
*** Distribute a config.site corresponding to a hypothetical bare POSIX system with c89.
*** Cache consistency checking: ignore cache if environment
(CC or PATH) differs.
** Site defaults:
*** Convention for consistency checking of env vars and options in config.site so config.site can print obnoxious messages if it doesn't like options or env vars that users use.
------------------------------------------------------------------------------
* autoscan: Tell the files that caused inclusion of each macro,
in a dnl comment. (Seems to be hard.)
------------------------------------------------------------------------------
* Select the right CONFIG_SHELL automatically (Ultrix, Lynx esp.)
------------------------------------------------------------------------------
* Select the right C compiler or POSIX/ANSI C options automatically.
------------------------------------------------------------------------------
* Look at user contributed macros: prototypes, IEEE double precision math,
shared libraries, various other things.
------------------------------------------------------------------------------
* Test suite: more things to test:
** That the shell scripts produce correct output on some simple data.
** Configuration header files. That autoheader does the right thing,
and so does AC_CONFIG_HEADER when autoconf is run.
------------------------------------------------------------------------------