]> arthur.barton.de Git - bup.git/commitdiff
configure: summarize findings
authorRob Browning <rlb@defaultvalue.org>
Sun, 21 Jun 2020 17:13:24 +0000 (12:13 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Jul 2020 16:16:23 +0000 (11:16 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
config/configure

index c113089386cb88ef9063fc16b28a03adcdc10e2d..c7ab50c3819b2b7446b887101afe3bb278e104b2 100755 (executable)
@@ -71,7 +71,8 @@ else
            "$("$bup_python" -c 'import sys; print(sys.version_info[0])')"
 fi
 
-if test -z "$(bup_find_prog git '')"; then
+bup_git="$(bup_find_prog git '')"
+if test -z "$bup_git"; then
     AC_FAIL "ERROR: unable to find git"
 fi
 
@@ -248,3 +249,25 @@ echo -n "$bup_python" > config.var/bup-python
 if test -e bin; then rm -r bin; fi
 mkdir -p bin
 cd bin && ln -s "$bup_python" python
+
+printf "
+found: python (%q, $("$bup_python" --version 2>&1))
+found: git (%q, ($("$bup_git" --version))
+" \
+       "$bup_python" \
+       "$bup_git" \
+       1>&5
+
+summarize()
+{
+    local found="$1"
+    shift
+    if test "$found"; then
+        TLOG found: "$@"
+    else
+        TLOG not found: "$@"
+    fi
+}
+summarize "$bup_have_readline" 'readline support (e.g. bup ftp)'
+summarize "$bup_have_libacl" 'POSIX ACL support'
+TLOG