Indicate configure is running in a Git clone

This commit is contained in:
Kurt Zeilenga 2011-03-25 22:14:59 -07:00 committed by Kurt Zeilenga
parent e8e711018f
commit d5de80c962
2 changed files with 12 additions and 8 deletions

10
configure vendored
View file

@ -2134,12 +2134,14 @@ if test -t 1; then
TN="`$SHTOOL echo -e '%b' 2>/dev/null`"
fi
OPENLDAP_CVS=""
if test -d $ac_aux_dir/CVS; then
OPENLDAP_CVS="(from CVS sources) "
OPENLDAP_REPO=""
if test -d $ac_aux_dir/../.git; then
OPENLDAP_REPO="(from Git clone) "
elif test -d $ac_aux_dir/CVS; then
OPENLDAP_REPO="(from CVS checkout) "
fi
echo "Configuring ${TB}${OL_STRING}${TN} ${OPENLDAP_CVS}..."
echo "Configuring ${TB}${OL_STRING}${TN} ${OPENLDAP_REPO}..."
# Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||

View file

@ -56,12 +56,14 @@ if test -t 1; then
TN="`$SHTOOL echo -e '%b' 2>/dev/null`"
fi
OPENLDAP_CVS=""
if test -d $ac_aux_dir/CVS; then
OPENLDAP_CVS="(from CVS sources) "
OPENLDAP_REPO=""
if test -d $ac_aux_dir/../.git; then
OPENLDAP_REPO="(from Git clone) "
elif test -d $ac_aux_dir/CVS; then
OPENLDAP_REPO="(from CVS checkout) "
fi
echo "Configuring ${TB}${OL_STRING}${TN} ${OPENLDAP_CVS}..."
echo "Configuring ${TB}${OL_STRING}${TN} ${OPENLDAP_REPO}..."
dnl Determine host platform
dnl we try not to use this for much