From 19b0f84db123cc2384fec95fec273eca1b291e7d Mon Sep 17 00:00:00 2001
From: Joerg Wunsch <j@uriah.heep.sax.de>
Date: Tue, 20 Mar 2012 14:13:18 +0000
Subject: [PATCH] Print a configuration summary at the end of the configure
 run.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1069 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 ChangeLog    |  6 +++++-
 configure.ac | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 3c0db48a..1fc55d34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-20  Joerg Wunsch <j.gnu@uriah.heep.sax.de>
+
+	* configure.ac: Print a configuration summary at the end of the
+	configure run
+
 2012-02-11  Rene Liebscher <R.Liebscher@gmx.de>
 
 	patch #7718: Merge global data of avrftdi in a private data structure
@@ -8,7 +13,6 @@
 
 	patch #7720 Bug in EEPROM write
 	* avrftdi.c: fixed wrong buffer address initialization in paged_write
-	
 	* fileio.c: added #include <stdint.h>
 
 2012-02-05  Rene Liebscher <R.Liebscher@gmx.de>
diff --git a/configure.ac b/configure.ac
index fa624ccb..68213e9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -425,3 +425,38 @@ AC_CONFIG_FILES([avrdude.conf.tmp:avrdude.conf.in],
 		[confsubst="$confsubst"])
 
 AC_OUTPUT
+
+echo ""
+echo ""
+echo "Configuration summary:"
+echo "----------------------"
+
+if test x$have_libelf = xyes; then
+   echo "DO HAVE    libelf"
+else
+   echo "DON'T HAVE libelf"
+fi
+
+if test x$have_libusb = xyes; then
+   echo "DO HAVE    libusb"
+else
+   echo "DON'T HAVE libusb"
+fi
+
+if test x$have_libusb_1_0 = xyes; then
+   echo "DO HAVE    libusb_1_0"
+else
+   echo "DON'T HAVE libusb_1_0"
+fi
+
+if test x$have_libftdi = xyes; then
+   echo "DO HAVE    libftdi"
+else
+   echo "DON'T HAVE libftdi"
+fi
+
+if test x$have_libhid = xyes; then
+   echo "DO HAVE    libhid"
+else
+   echo "DON'T HAVE libhid"
+fi