mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-21 05:58:28 +08:00
Output CCAT configuration.
This commit is contained in:
+31
-23
@@ -246,29 +246,6 @@ fi
|
||||
|
||||
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
|
||||
#------------------------------------------------------------------------------
|
||||
@@ -505,6 +482,37 @@ fi
|
||||
|
||||
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)
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user