Hello,

We use libtool to create a library and in the test suite we are trying to link against this library statically. The problem is that this test will obviously fail when no static library was created, i.e., only shared library was created. IIUC, this might happen on some platforms but also if the user issues `./configure --disable-static'.

I wonder if there is any variable available that I can use to decide whether I should skip the test. For example, if there is some shell variable available in the configure script I could easily propagate it to the test script. Just searching for static in configure, I found a variable $enable_static, and it seems to work the few test cases I've tried, but if anyone knows of a better way I would like to know.

Thank you.

Peter


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to