bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] How to change SYSTEM_WGETRC?


From: Jeffrey Walton
Subject: [Bug-wget] How to change SYSTEM_WGETRC?
Date: Wed, 18 Jul 2018 10:10:28 -0400

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

[Prev in Thread] Current Thread [Next in Thread]