configure.ac
branchstable-1.5
changeset 2556 674fcdccc0f3
parent 2540 fca12d7035d1
parent 2553 b0c2762a1a83
child 2557 ded6d50de4a7
equal deleted inserted replaced
2540:fca12d7035d1 2556:674fcdccc0f3
   245 fi
   245 fi
   246 
   246 
   247 AC_SUBST(KERNEL_8139TOO,[$kernel8139too])
   247 AC_SUBST(KERNEL_8139TOO,[$kernel8139too])
   248 
   248 
   249 #------------------------------------------------------------------------------
   249 #------------------------------------------------------------------------------
       
   250 # CCAT driver
       
   251 #------------------------------------------------------------------------------
       
   252 
       
   253 AC_ARG_ENABLE([ccat],
       
   254     AS_HELP_STRING([--enable-ccat],
       
   255                    [Enable CCAT driver]),
       
   256     [
       
   257         case "${enableval}" in
       
   258             yes) enableccat=1
       
   259                 ;;
       
   260             no) enableccat=0
       
   261                 ;;
       
   262             *) AC_MSG_ERROR([Invalid value for --enable-ccat])
       
   263                 ;;
       
   264         esac
       
   265     ],
       
   266     [enableccat=0] # disabled by default
       
   267 )
       
   268 
       
   269 AM_CONDITIONAL(ENABLE_CCAT, test "x$enableccat" = "x1")
       
   270 AC_SUBST(ENABLE_CCAT,[$enableccat])
       
   271 
       
   272 AC_ARG_WITH([ccat-kernel],
       
   273     AC_HELP_STRING(
       
   274         [--with-ccat-kernel=<X.Y.Z>],
       
   275         [ccat kernel (only if differing)]
       
   276     ),
       
   277     [
       
   278         kernelccat=[$withval]
       
   279     ],
       
   280     [
       
   281         kernelccat=$linuxversion
       
   282     ]
       
   283 )
       
   284 
       
   285 AC_SUBST(KERNEL_CCAT,[$kernelccat])
       
   286 
       
   287 #------------------------------------------------------------------------------
   250 # e100 driver
   288 # e100 driver
   251 #------------------------------------------------------------------------------
   289 #------------------------------------------------------------------------------
   252 
   290 
   253 AC_ARG_ENABLE([e100],
   291 AC_ARG_ENABLE([e100],
   254     AS_HELP_STRING([--enable-e100],
   292     AS_HELP_STRING([--enable-e100],
  1001         Doxyfile
  1039         Doxyfile
  1002         Kbuild
  1040         Kbuild
  1003         Makefile
  1041         Makefile
  1004         devices/Kbuild
  1042         devices/Kbuild
  1005         devices/Makefile
  1043         devices/Makefile
       
  1044         devices/ccat/Kbuild
       
  1045         devices/ccat/Makefile
  1006         devices/e1000/Kbuild
  1046         devices/e1000/Kbuild
  1007         devices/e1000/Makefile
  1047         devices/e1000/Makefile
  1008         devices/e1000e/Kbuild
  1048         devices/e1000e/Kbuild
  1009         devices/e1000e/Makefile
  1049         devices/e1000e/Makefile
  1010         ethercat.spec
  1050         ethercat.spec