>>>> "JJ" == Jerry James
<james(a)eecs.ukans.edu> writes:
JJ> I am working on adding ViaVoice support to XEmacs as a module. I need
JJ> to find the ViaVoice libraries, with configure. How should this be
JJ> handled? Should I have a configure script in the module directory? If
JJ> so, will the include of config.h via emodules.h still pick up the right
JJ> config.h? Or should I ask to have the main configure script add
JJ> ViaVoice detection once the module is ready?
JJ> If this question is answered somewhere already, a pointer is sufficient.
If it's a simple addition like AC_CHECK_LIB, the simplest is just to
add a test to configure.in, even though XEmacs proper won't use it.
The proper architected solution is for the module to have its own
configure script, and write its output to a file with a different name
from config.h, so that you don't get name conflicts. But trust me,
you don't want to get into the business of maintaining a configure
tool set if you can avoid it.