[sr #110297] AC_PATH_PROG should accept a basename as an override

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/support/?110297>

                 Summary: AC_PATH_PROG should accept a basename as an override
                 Project: Autoconf
            Submitted by: zackw
            Submitted on: Wed 26 Aug 2020 01:57:49 PM UTC
                Category: None
                Priority: 5 - Normal
                Severity: 1 - Wish
                  Status: Confirmed
                 Privacy: Public
             Assigned to: zackw
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

If a configure script uses AC_CHECK_PROG to find a program,  then the person
running configure can use "./configure PROGRAM=renamed" to direct configure to
use a different name for the program.  However, if it uses AC_PATH_PROG, then
the person running configure must supply an absolute path to PROGRAM,
otherwise the setting is silently ignored.  This is confusing.  If given a
relative path, it should convert it to an absolute one; if given a basename,
it should walk $PATH for that name instead.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110297>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
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.