Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-08-14
03:24 • Closed ticket [2025889fff]: BUILD_packagename variable for windows plus 7 ot... artifact: 9b1c339a2c user: hobbs
2008-07-23
15:56 • New ticket [2025889fff]. artifact: 8bbdc430be user: nicolascastagne

BUILD_packagename variable for windows

Closed / Duplicate2025889fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 16 years ago
Descriptionplain2008-07-23 15:56:32
On windows, to allow exporting symbols, there must be a BUILD_packagename variable defined by the configure script

 (eg : BUILD_sample for the sample extension)

Header files have to check for this variable, which is defined if compilation is made on window.



I suggest that :
- the name of this variable could be made clearer, eg : WINDOW_BUILD_sample
- the name of this variable could be freed of the package name. After all, what we mind here is knowing that the build is made on window. We don't mind to know the name of the extension. 

The latest, also, would make easier to adapt the sample extension to a specific extension (removes one thing to change in configure.in)


If the above is not possible, or not wanted, I suggest to add a few words on the need to change the name of this variable in :
- configure.in
- and the header files
when adapting the sample extension to a specific extension.

AFAIR, it is not quated in the doc.

Hope this helps,
Nicolas
hobbsplain2010-08-14 03:24:56
allow_comments - 1

Going to deal with this in 941042.
Log in (anonymous is fine) to add a comment.