Would anybody know if there's any way of computing the name of an included file in autoconf ?
I have a project capable of building one of several variants currently based on an identity defined in configure.ac - my aim is to be able to identify the variant from the CLI when autoconf/configure is run and include an m4 file if/as appropriate. AFAICT, only string literals are allowed as the filename in either the include or sinclude macro calls ... and it's now starting to drive me to distraction =:-O
Any help most gratefully received
DP
The identity is setup at
configure
runtime, not whenconfigure
is created. Any m4 level (e.g. m4sugar) manipulation ofconfigure
will happen before then, so this doesn't look possible.