From: Kurt Zeilenga Date: Sat, 26 Mar 2011 05:14:59 +0000 (-0700) Subject: Indicate configure is running in a Git clone X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~1420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5de80c9626df7e1a05f08416976f86e7258061f;p=thirdparty%2Fopenldap.git Indicate configure is running in a Git clone --- diff --git a/configure b/configure index 7ef3736e8b..f0694d279a 100755 --- a/configure +++ b/configure @@ -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 || diff --git a/configure.in b/configure.in index 1d087f5213..e3fe17ff3c 100644 --- a/configure.in +++ b/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