When I check my locally installed wget --version it is showing the wrong wgetrc:

    $ command -v wget
    /usr/local/bin/wget

    $ wget --version
    GNU Wget 1.19.5 built on linux-gnu.
    ...
    Wgetrc:
        /etc/wgetrc (system)

I installed an updated wgetrc based on sample.wgetrc in $PREFIX/etc
but it appears it is not being used.

There does not appear to be a configure option to control it:

    $ ./configure --help | grep -i wgetrc
    $

I tried to add -DSYSTEM_WGETRC="$PREFIX/etc/wgetrc" to CFLAGS but it
resulted in a compile error.

How do I change SYSTEM_WGETRC?

Thanks in advance.

Reply via email to