aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2024-05-02 18:29:28 -0700
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2024-05-08 22:18:24 -0700
commite5b12a313fdbbf9b628e920e40feb6613a9d6905 (patch)
tree8c43dc18ad95dad38eefef402979fdafc69ebc2d /gprofng/src
parent46b6ba96d0b071e1616710c4d3463ea6d8a60ea7 (diff)
downloadbinutils-e5b12a313fdbbf9b628e920e40feb6613a9d6905.zip
binutils-e5b12a313fdbbf9b628e920e40feb6613a9d6905.tar.gz
binutils-e5b12a313fdbbf9b628e920e40feb6613a9d6905.tar.bz2
Fix hard-coded bash path in gprofng
When running 'make check', the default gprofng test suite creates a shell script for which it used a hardcoded shebang of '/usr/bin/bash' this script would not run if bash is in a different location, like /bin/bash This commit adds 'AC_PATH_PROG(BASH, bash)' to configure.ac so the installation path of bash is detected at configuration time. The configuration is propagated to the runtest command line where it is needed.
Diffstat (limited to 'gprofng/src')
-rw-r--r--gprofng/src/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gprofng/src/Makefile.in b/gprofng/src/Makefile.in
index db763ef..cef4b27 100644
--- a/gprofng/src/Makefile.in
+++ b/gprofng/src/Makefile.in
@@ -306,6 +306,7 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
+BASH = @BASH@
BISON = @BISON@
BUILD_SUBDIRS = @BUILD_SUBDIRS@
CC = @CC@