[Dune] [#631] Document the ENABLE_FOO buildsystem trick

Dune dune at dune-project.org
Fri Oct 30 12:44:55 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Oliver Sander (sander) 

Attached to Project - Dune
Summary - Document the ENABLE_FOO buildsystem trick
Task Type - Feature Request
Category - Documentation
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - Various m4 tests for external libraries (e.g., Alu or UG) do not simply set 

#define HAVE_FOO 1

in config.h.  Instead, the line is

#define HAVE_FOO ENABLE_FOO

The flag ENABLE_FOO is then set by a -D options added automagically to the FOO_CPPFLAGS.

The purpose of this twist may not be intuitively clear to our younger readers.  We should therefore document it, preferably in prose in the buildsystem tutorial.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=631

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list