mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Indicate configure is running in a Git clone
This commit is contained in:
parent
e8e711018f
commit
d5de80c962
2 changed files with 12 additions and 8 deletions
10
configure
vendored
10
configure
vendored
|
|
@ -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 ||
|
||||
|
|
|
|||
10
configure.in
10
configure.in
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue