Skip to content

Commit

Permalink
configure: check additional paths for programs
Browse files Browse the repository at this point in the history
It doesn't have to be the root user building it.
  • Loading branch information
gao-yan committed Jun 18, 2024
1 parent 438c91a commit 79b8620
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ LOGDIR=${localstatedir}/log/cluster
CLUSTERVARRUN=${localstatedir}/run/cluster
CLUSTERDATA=${datadir}/cluster

## Program Paths
PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
export PATH

AC_PATH_PROGS(XMLLINT, xmllint)
AM_CONDITIONAL(BUILD_DOC, test "x$XMLLINT" != "x" )
if test "x$XMLLINT" = "x"; then
Expand Down

0 comments on commit 79b8620

Please sign in to comment.