From 8a8964ed6b5bd447161430a495b2136100fe8d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Sun, 18 Nov 2007 13:38:59 +0000 Subject: [PATCH] add some messages to show configuration summary, to be extended git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@777 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/configure.ac | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/jtag/configure.ac b/jtag/configure.ac index cd967e0b..18f88c35 100644 --- a/jtag/configure.ac +++ b/jtag/configure.ac @@ -130,3 +130,24 @@ CFLAGS="$CFLAGS -Wall" CPPFLAGS="$CPPFLAGS -I\$(top_srcdir) -I\$(top_srcdir)/include" AC_OUTPUT + + +dnl +dnl Configuration summary +dnl +if test ${HAVELIBFTDI:-no} != no ; then + FLAG_HAVELIBFTDI=yes +else + FLAG_HAVELIBFTDI=no +fi +if test ${HAVELIBUSB:-no} != no ; then + FLAG_HAVELIBUSB=yes +else + FLAG_HAVELIBUSB=no +fi +AC_MSG_RESULT([ +jtag is now configured for + + USB cable support: $FLAG_HAVELIBUSB + FTDI cable support: $FLAG_HAVELIBFTDI +])