Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
PR #921: configure: fix --with-sphinx-python regex
Browse files Browse the repository at this point in the history
  • Loading branch information
j-ogas authored Jan 19, 2021
1 parent 8e65fec commit 0f5e0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ CH_CHECK_VERSION([SPHINX], [$vmin_sphinx],
AS_IF([test -n "$SPHINX"], [
AS_IF([test -z "$sphinx_python"], [
AC_MSG_CHECKING([for sphinx-build Python])
sphinx_python=$(head -1 "$SPHINX" | sed -E -e 's/^#!\s*//' -e 's/\s+$//')
sphinx_python=$(head -1 "$SPHINX" | sed -E -e 's/^#!\s*//' -e 's/\s.*$//')
AC_MSG_RESULT([$sphinx_python])
AC_MSG_CHECKING([if "$sphinx_python" starts with slash])
AS_CASE([$sphinx_python],
Expand Down

0 comments on commit 0f5e0a5

Please sign in to comment.