Writing Autoconf tests

Yumiko <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
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?

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE/iL9/HAl9cznDUdFYMfCzvKaxaEFAljAYKYACgkQYMfCzvKa
xaEo4BAAhcul6CM4XZ5nXD2i8JDewdQ/VEiioK9asyuh0bvG6Z8S+ps5jKseMNED
Q/rmCvYQPbeNH7zZFcBJqRXgIgh3rSXBMGzO7f/L24TkGnKyuShVbdy7SDya1FVH
b4V0pwt951kyVmDRPYfVv5d5qeSDQI1qB1uVyYhTeNYmEz28iKK7M2bViKQJWiUJ
B892l0l8r8dhrV5MPye+N1c33BjwGiJdEaWyx2+8un1sqq9YFpuAWgFEQQxdOPBU
j6jVNFrw9jAO+HxN4X/q/DnweIM2A7UYSwfZWuQLCqZZ++seDuu5eou9nyGvxLsX
+0kpALIhEKCIs8OQy9FfjG9Nwtby0h99jOo/aB+HIwbbRt9rdnelZK0HVzipNIZo
UehLH1FpVliU0u39v2ygKEDx5HTkReSZnX3OX++RQY089vDo/6wY9jTZlEMeMzjj
ae2ZMRhma7GiFTJUEEPYzVpTuxnnkoE/wQIeT9zt7KRFNMM8YuHrYaocQWOYeOLx
eHTP1W3IPFe+YcY3OrIUM24yx5GZ3VoPg7W6Ar0He+lcbSKcm3rdeqVfrxfIN8uJ
dzJeXN6oxcsP4JXNana0Q7OyXjkt1mTUh6Q1q9kW27Vcrjukdq96bKKxvT/CAHXb
8Mk7auEALKplTgUI9/V4sbV4jPl68RUX5/yqYC4zsF6gWk+dWbo=
=Hhc7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.