[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110297] AC_PATH_PROG should accept a basename as an override
From: |
Zack Weinberg |
Subject: |
[sr #110297] AC_PATH_PROG should accept a basename as an override |
Date: |
Wed, 26 Aug 2020 09:57:51 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
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/
- [sr #110297] AC_PATH_PROG should accept a basename as an override,
Zack Weinberg <=