[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Writing Autoconf tests
From: |
Yumiko |
Subject: |
Writing Autoconf tests |
Date: |
Wed, 8 Mar 2017 20:51:11 +0100 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
I have a problem with Libtool when writing test programs with Autoconf.
My macro modifies LIBS and uses the AC_RUN_IFELSE macro to link and
run a test program, but AC_RUN_IFELSE uses gcc/g++ directly,
not through libtool, and the result is that .la files are not inspected
and required flags are thus not added.
At least this is what I think is happening.
How should I write my macro so that the test program is
compiled and linked through the libtool program?
signature.asc
Description: Digital signature
- Writing Autoconf tests,
Yumiko <=