Skip to content

Commit

Permalink
Revert "Check for presence of git before using it in configure"
Browse files Browse the repository at this point in the history
This reverts commit 9af88ef.

Revert "Use git describe on a known PRRTE commit sha instead of checking for .git directory"

This reverts commit 4a5c1e8.

Signed-off-by: Ralph Castain <rhc@pmix.org>
  • Loading branch information
rhc54 committed Dec 20, 2023
1 parent 9af88ef commit e062bba
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config/prte_configure_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,9 @@ AC_DEFINE_UNQUOTED([PRTE_WANT_PRTE_PREFIX_BY_DEFAULT],
# Is this a developer copy?
#

AC_CHECK_PROG(prte_git_cmd, git, [git])
if test "$prte_git_cmd" != ""; then
if git describe 350564b9f381dfbdbe119f26585f07da6f4b9e8a &> /dev/null ; then
PRTE_DEVEL=1
else
PRTE_DEVEL=0
fi
if test -d .git; then
PRTE_DEVEL=1
else
# we cannot check, so assume it isn't a repo build
PRTE_DEVEL=0
fi

Expand Down

0 comments on commit e062bba

Please sign in to comment.