Output CCAT configuration.
--- a/configure.ac Mon Oct 27 14:15:55 2014 +0100
+++ b/configure.ac Mon Oct 27 14:15:25 2014 +0100
@@ -247,29 +247,6 @@
AC_SUBST(KERNEL_8139TOO,[$kernel8139too])
#------------------------------------------------------------------------------
-# CCAT driver
-#------------------------------------------------------------------------------
-
-AC_ARG_ENABLE([ccat],
- AS_HELP_STRING([--enable-ccat],
- [Enable CCAT driver]),
- [
- case "${enableval}" in
- yes) enableccat=1
- ;;
- no) enableccat=0
- ;;
- *) AC_MSG_ERROR([Invalid value for --enable-ccat])
- ;;
- esac
- ],
- [enableccat=0] # disabled by default
-)
-
-AM_CONDITIONAL(ENABLE_CCAT, test "x$enableccat" = "x1")
-AC_SUBST(ENABLE_CCAT,[$enableccat])
-
-#------------------------------------------------------------------------------
# e100 driver
#------------------------------------------------------------------------------
@@ -506,6 +483,37 @@
AC_SUBST(KERNEL_R8169,[$kernel_r8169])
#------------------------------------------------------------------------------
+# CCAT driver
+#------------------------------------------------------------------------------
+
+AC_MSG_CHECKING([whether to build the CCAT driver])
+
+AC_ARG_ENABLE([ccat],
+ AS_HELP_STRING([--enable-ccat],
+ [Enable CCAT driver]),
+ [
+ case "${enableval}" in
+ yes) enableccat=1
+ ;;
+ no) enableccat=0
+ ;;
+ *) AC_MSG_ERROR([Invalid value for --enable-ccat])
+ ;;
+ esac
+ ],
+ [enableccat=0] # disabled by default
+)
+
+if test "x${enableccat}" = "x1"; then
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_RESULT([no])
+fi
+
+AM_CONDITIONAL(ENABLE_CCAT, test "x$enableccat" = "x1")
+AC_SUBST(ENABLE_CCAT,[$enableccat])
+
+#------------------------------------------------------------------------------
# RTAI path (optional)
#------------------------------------------------------------------------------