From 88fc2b892c61f6ef57decc55abe03ec6734f27ec Mon Sep 17 00:00:00 2001 From: Ileana Dumitrescu Date: Mon, 8 Apr 2024 22:34:19 +0300 Subject: [PATCH] libtool: Remove test_compile This is cleanup for libtool. The option test_compile is not used in libtool, and the documentation states that it would probably be dropped in the future. * build-aux/ltmain.in: Remove case statement for test_compile. * doc/libtool.texi: Remove test_compile from documentation. * m4/libtool.m4: Remove test_compile definition from macro file. --- build-aux/ltmain.in | 102 -------------------------------------------- doc/libtool.texi | 7 --- m4/libtool.m4 | 1 - 3 files changed, 110 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index c1d28856c..090a4fe8a 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -7314,108 +7314,6 @@ func_mode_link () # implementing what was already the behavior. newdeplibs=$deplibs ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c <