|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #41027] config.h is too generic |
Date: | Tue, 07 Jan 2014 21:37:04 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #8, bug #41027 (project octave): The autotools FAX mentions two possible solutions. The more braindead solution seems to be to give the config file and all #defines unique names so that the conflict with an existing config.h file or its #defines is removed. There is a macro to help implement that: AX_PREFIX_CONFIG_H (http://www.gnu.org/software/autoconf-archive/ax_prefix_config_h.html). It would involve a lot of search and replace operations (Perl!), but is otherwise easy to implement. The first alternative looks harder in that you have to think carefully about how to make exportable header files which don't rely on config.h _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41027> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |