]> git.sur5r.net Git - openldap/commitdiff
Indicate configure is running in a Git clone
authorKurt Zeilenga <kurt@OpenLDAP.org>
Sat, 26 Mar 2011 05:14:59 +0000 (22:14 -0700)
committerKurt Zeilenga <Kurt@OpenLDAP.org>
Mon, 28 Mar 2011 12:48:48 +0000 (05:48 -0700)
configure
configure.in

index 4fd8f0af4e6e823d4c09c2b183552074c3115f77..81bb8323d5eaafd6dce9564b8cef59b68398ca0d 100755 (executable)
--- a/configure
+++ b/configure
@@ -2872,12 +2872,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 sources) "
 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 ||
index 0e4485883fae3b9b9609f481ee5b68fd1a88fb91..f5220ebc175cb5910493eb0439d202cbafc51bff 100644 (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