# HG changeset patch # User Florian Pose # Date 1414415725 -3600 # Node ID 25da153a74b9734fd2fec5fc4ad2bb8b6a0b4b92 # Parent e842688ccc5e1d6d33a214ab1ca3f7e8a9988dda Output CCAT configuration. diff -r e842688ccc5e -r 25da153a74b9 configure.ac --- 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) #------------------------------------------------------------------------------