Thien-Thi Nguyen wrote: > > Thien-Thi Nguyen <[EMAIL PROTECTED]> writes (imprecisely): > > you can process the headers on install. > > sorry, i forgot to emphasize: the headers processed are those other than > config.h -- the horrible approach described does not require you to install > config.h. (did i mention that this approach is very much Not Recommended but > only posted for let-us-learn-from-this-foolish-example-of-badness reasons? :-)
This is probably a better kludge: http://ac-archive.sf.net/Miscellaneous/ac_create_prefix_config_h.html You run the AC_CREATE_PREFIX_CONFIG_H after AC_OUTPUT(...). You will now have a file named, ``$project-config.h''. Use these project-name prefixed defines in your code and you can go ahead and install $project-config.h.