bug#31900: typo in libtool.m4 file (wrong -L/-R detection)

Igor Rondarev <[email protected]>
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <CA+mp+ZSB=Ydb1zVxRzdLB2sdh2xZChAdjhE5cjbv8QFaWKi-4Q@mail.gmail.com>
Dear libtool maintenance team!

Please note that m4/libtool.m4 file (starting from 2.4.2.418) has incorrect
string comparition that leads to wrong behaviour related to default library
paths.

See m4/libtool.m4 at string 7559 (
http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4#n7559)

# Some compilers place space between "-{L,R}" and the path.
       # Remove the space.
       if test x-L = "$p" ||
          test x-R = "$p"; then
	 prev=$p
	 continue


Both tests are being performed without 'x' in right parts (i.e. "$p"
instead of "x$p"), what makes them always false.

Hope this information is helpful.

Best regards,
Igor.

_______________________________________________
Bug-libtool mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-libtool
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.