More detailed output of configure script. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Wed, 06 Feb 2013 17:48:54 +0100
branchstable-1.5
changeset 2509 232831b6249b
parent 2508 6b21b3f88a9a
child 2510 1e8d9fcb5100
More detailed output of configure script.
configure.ac
--- a/configure.ac	Wed Feb 06 17:25:08 2013 +0100
+++ b/configure.ac	Wed Feb 06 17:48:54 2013 +0100
@@ -562,6 +562,8 @@
 # Debug interface
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to build the debug interface])
+
 AC_ARG_ENABLE([debug-if],
     AS_HELP_STRING([--enable-debug-if],
                    [Create a debug interface for each master @<:@NO@:>@]),
@@ -580,7 +582,11 @@
 
 if test "x${dbg}" = "x1"; then
     AC_DEFINE([EC_DEBUG_IF], [1], [Debug interfaces enabled])
-fi
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
+fi
+
 AM_CONDITIONAL(ENABLE_DEBUG_IF, test "x$dbg" = "x1")
 AC_SUBST(ENABLE_DEBUG_IF,[$dbg])
 
@@ -588,6 +594,8 @@
 # Debug ring
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to build the debug ring])
+
 AC_ARG_ENABLE([debug-ring],
     AS_HELP_STRING([--enable-debug-ring],
                    [Create a debug ring to record frames @<:@NO@:>@]),
@@ -606,12 +614,17 @@
 
 if test "x${debugring}" = "x1"; then
     AC_DEFINE([EC_DEBUG_RING], [1], [Debug ring enabled])
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
 fi
 
 #------------------------------------------------------------------------------
 # Ethernet over EtherCAT support
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to build with EoE support])
+
 AC_ARG_ENABLE([eoe],
     AS_HELP_STRING([--enable-eoe],
                    [Enable EoE support (default: yes)]),
@@ -630,7 +643,11 @@
 
 if test "x${eoe}" = "x1"; then
     AC_DEFINE([EC_EOE], [1], [EoE support enabled])
-fi
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
+fi
+
 AM_CONDITIONAL(ENABLE_EOE, test "x$eoe" = "x1")
 AC_SUBST(ENABLE_EOE,[$eoe])
 
@@ -638,6 +655,8 @@
 # CPU timestamp counter support
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to use the CPU timestamp counter])
+
 AC_ARG_ENABLE([cycles],
     AS_HELP_STRING([--enable-cycles],
                    [Use CPU timestamp counter (default: no)]),
@@ -656,12 +675,17 @@
 
 if test "x${cycles}" = "x1"; then
     AC_DEFINE([EC_HAVE_CYCLES], [1], [Use CPU timestamp counter])
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
 fi
 
 #------------------------------------------------------------------------------
 # High-resolution timer support
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to use high-resolution timers for scheduling])
+
 AC_ARG_ENABLE([hrtimer],
     AS_HELP_STRING([--enable-hrtimer],
                    [Use high-resolution timer for scheduling (default: no)]),
@@ -680,12 +704,17 @@
 
 if test "x${hrtimer}" = "x1"; then
     AC_DEFINE([EC_USE_HRTIMER], [1], [Use hrtimer for scheduling])
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
 fi
 
 #------------------------------------------------------------------------------
 # Read alias address from register
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to read alias addresses from registers])
+
 AC_ARG_ENABLE([regalias],
     AS_HELP_STRING([--enable-regalias],
                    [Read alias adresses from register (default: no)]),
@@ -704,12 +733,17 @@
 
 if test "x${regalias}" = "x1"; then
     AC_DEFINE([EC_REGALIAS], [1], [Read alias adresses from register])
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
 fi
 
 #------------------------------------------------------------------------------
 # Command-line tool
 #-----------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to build the command-line tool])
+
 AC_ARG_ENABLE([tool],
     AS_HELP_STRING([--enable-tool],
                    [Build command-line tool (default: yes)]),
@@ -726,12 +760,20 @@
     [tool=1]
 )
 
+if test "x${tool}" = "x1"; then
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
+fi
+
 AM_CONDITIONAL(BUILD_TOOL, test "x$tool" = "x1")
 
 #------------------------------------------------------------------------------
 # Userspace library generation
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to build the userspace library])
+
 AC_ARG_ENABLE([userlib],
     AS_HELP_STRING([--enable-userlib],
                    [Generation of the userspace library (default: yes)]),
@@ -748,12 +790,20 @@
     [userlib=1]
 )
 
+if test "x${userlib}" = "x1"; then
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
+fi
+
 AM_CONDITIONAL(ENABLE_USERLIB, test "x$userlib" = "x1")
 
 #------------------------------------------------------------------------------
 # TTY driver
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to build the tty driver])
+
 AC_ARG_ENABLE([tty],
     AS_HELP_STRING([--enable-tty],
                    [Generation of the ec_tty module (default: no)]),
@@ -770,6 +820,12 @@
     [tty=0]
 )
 
+if test "x${tty}" = "x1"; then
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
+fi
+
 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1")
 AC_SUBST(ENABLE_TTY,[$tty])
 
@@ -777,6 +833,8 @@
 # Slave identification wildcards
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to allow identification wildcards])
+
 AC_ARG_ENABLE([wildcards],
     AS_HELP_STRING([--enable-wildcards],
                    [Enable vendor ID / product code wildcards (default: no)]),
@@ -796,6 +854,9 @@
 if test "x${wildcards}" = "x1"; then
     AC_DEFINE([EC_IDENT_WILDCARDS], [1],
         [Use vendor id / product code wildcards])
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
 fi
 
 #------------------------------------------------------------------------------
@@ -834,6 +895,8 @@
 # SII assignment
 #------------------------------------------------------------------------------
 
+AC_MSG_CHECKING([whether to assign the SII to PDI])
+
 AC_ARG_ENABLE([sii-assign],
     AS_HELP_STRING([--enable-sii-assign],
                    [Enable SII assignment to PDI (default: no)]),
@@ -852,6 +915,9 @@
 
 if test "x${siiassign}" = "x1"; then
     AC_DEFINE([EC_SII_ASSIGN], [1], [Assign SII to PDI])
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
 fi
 
 #------------------------------------------------------------------------------