From b298a1a6d73060998f7aa2a611d8c336ba6dac3f Mon Sep 17 00:00:00 2001 From: Juergen Repp Date: Fri, 1 Nov 2024 19:12:20 +0100 Subject: [PATCH] m4: fix test ld version script. * The test macro gl_LD_VERSION_SCRIPT which not work on FreeBSD 14.1 is simplified and works now also on FreeBSD 14.1 * The option --enable-nodl, which was used as a workaround for this problem in the cirrus CI, is removed. Signed-off-by: Juergen Repp --- m4/ld-version-script.m4 | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/m4/ld-version-script.m4 b/m4/ld-version-script.m4 index 048c536fc..3cfe0bb44 100644 --- a/m4/ld-version-script.m4 +++ b/m4/ld-version-script.m4 @@ -26,20 +26,10 @@ AC_DEFUN([gl_LD_VERSION_SCRIPT], [gl_cv_sys_ld_version_script=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" - echo foo >conftest.map + echo "{ global: *; };" > conftest.map AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], - [], - [cat > conftest.map <