Subject: bug#73737: closed (Re: bug#73737: configure error at "checking dynamic linker characteristics")

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 15 Oct 2024 15:49:02 +0000

Your bug report

#73737: configure error at "checking dynamic linker characteristics"

which was filed against the libtool package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73737: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73737
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#73737: configure error at "checking dynamic linker characteristics"
From: Ileana Dumitrescu <[email-masked]>
To: [email-masked]
Cc: trcrsired <[email-masked]>, Bruno Haible <[email-masked]>
Date: Tue, 15 Oct 2024 18:46:35 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

This bug should be resolved with a patch submitted on Savannah:
https://savannah.gnu.org/patch/index.php?10481

It has been applied to the development branch:
https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=4cc12b83ffa947d9c1948a066c7e70c0336f6acd

The other requested changes have also been applied:
https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=c5bd2b146f6638f295a0b6414efe8767e21dad7c

-- 
Ileana Dumitrescu

GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354

Subject: configure error at "checking dynamic linker characteristics"
From: Bruno Haible <[email-masked]>
To: [email-masked]
Date: Thu, 10 Oct 2024 21:46:59 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

In a build of GNU gettext, with libtool 2.5.3 + Sergey's fix,
on mingw with --disable-shared, I see this error during configuration:

checking whether the x86_64-w64-mingw32-gcc linker (/usr/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... ../../gettext-runtime/configure: line 17525: test: yes: unary operator expected
Win32 ld.exe
checking how to hardcode library paths into programs... immediate

At gettext-runtime/configure line 17525 we have this statement:

    # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
    if test yes = $multilib; then                                           <=== HERE
    postinstall_cmds='base_file=`basename \$file`~

Apparently $multilib is empty or expands to more than one word.

This code was added in commit ab89ebbcc2ff0ecff5157982ef03627cfd615f7e .

The main problem is that the variable 'multilib' is never defined in libtool.m4.
Where is it supposed to be defined?

Other than that, this commit has two problems:
  - missing indentation of the two branches of the 'if' statement.
  - a typo (mulitlibs -> multilib)

Bruno