Hello,

On 03/08/2017 08:51 PM, Yumiko wrote:
How should I write my macro so that the test program is
compiled and linked through the libtool program?

I've used a macro, originally from TeX-Live, that I extended for Fortran and which simply changes the compiler etc. to use libtool.

I found that for one compiler I needed to rewrite FCFLAGS at the same time because one of its options collides with those of libtool. But this shouldn't be an issue for C/C++.

If you simply add _KPSE_USE_LIBTOOL after all the necessary AC_PROG_* macros, you should be fine.

Some tests might need to be adapted if you e.g. try to deduce something from inspecting programs (which are wrapper scripts when using libtool).

Regards, Thomas

Attachment: kpse_libtool.m4
Description: application/m4

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to