GNU bug report logs - #45849
Autoconf options and dependencies

Previous Next

Package: grep;

Reported by: noloader <at> gmail.com

Date: Thu, 14 Jan 2021 00:06:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Jeffrey Walton <noloader <at> gmail.com>
To: 45849 <at> debbugs.gnu.org
Subject: bug#45849: Autoconf options and dependencies
Date: Wed, 13 Jan 2021 19:05:02 -0500
Hi Everyone,

I noticed Grep offers these two autoconf options (and friends):

    --with-libiconv-prefix
    --with-libintl-prefix

Configure does not complain when they are used.

However, when I check link dependencies with ldd:

    $ ldd /usr/local/bin/grep
        linux-vdso.so.1
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
        /lib64/ld-linux-x86-64.so.2

There seems to be no iConv dependencies, but there does seem to be
PCRE dependencies. (It may be time to bump to PCRE2 since PCRE is
end-of-life and the sources have some undefined behavior present).

If I use --with-libpcre-prefix, then I get an autoconf warning:

    WARNING: unrecognized options: --with-libpcre-prefix

It looks like something is a bit sideways.

Jef




This bug report was last modified 3 years and 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.