>>>> "WMP" == William M Perry
<wmperry(a)aventail.com> writes:
WMP> For actual OS things that they would need to check for that XEmacs'
WMP> config.h doesn't take care of... I can't see many other than AC_CHECK_LIB
WMP> and testing for module-specific includes. But creating the makefiles, etc,
WMP> etc, is definitely best left to the modules themselves.
WMP> I've been meaning for well over a year to make the package system use
WMP> autoconf, but have never found the time. :(
Time....
One idea is that the module needs an XEmacs, and XEmacs already knows
_everything_ about the system. And its configuration variables are
available from lisp via config-value-hash-table.
Perl does something similar with its modules.
perl Makefile.PL
make
make install
Note: no independent configure step. Just ask the perl executable.