configure.ac
changeset 882 a7222d7fb7a8
parent 777 13884840c5d0
child 897 855c5d2d97f0
equal deleted inserted replaced
881:c5ac0ab2d6cf 882:a7222d7fb7a8
   405 if test "x${debugring}" = "x1"; then
   405 if test "x${debugring}" = "x1"; then
   406     AC_DEFINE([EC_DEBUG_RING], [1], [Debug ring enabled])
   406     AC_DEFINE([EC_DEBUG_RING], [1], [Debug ring enabled])
   407 fi
   407 fi
   408 
   408 
   409 #------------------------------------------------------------------------------
   409 #------------------------------------------------------------------------------
   410 # Dummy master module
       
   411 #------------------------------------------------------------------------------
       
   412 
       
   413 AC_ARG_ENABLE([dummy],
       
   414     AS_HELP_STRING([--enable-dummy],
       
   415                    [Build the dummy master module @<:@NO@:>@]),
       
   416     [
       
   417         case "${enableval}" in
       
   418             yes) dummy=1
       
   419                 ;;
       
   420             no) dummy=0
       
   421                 ;;
       
   422             *) AC_MSG_ERROR([Invalid value for --enable-dummy])
       
   423                 ;;
       
   424         esac
       
   425     ],
       
   426     [dummy=0]
       
   427 )
       
   428 
       
   429 AM_CONDITIONAL(ENABLE_DUMMY, test "x$dummy" = "x1")
       
   430 AC_SUBST(ENABLE_DUMMY,[$dummy])
       
   431 
       
   432 #------------------------------------------------------------------------------
       
   433 # Ethernet-over-EtherCAT support
   410 # Ethernet-over-EtherCAT support
   434 #------------------------------------------------------------------------------
   411 #------------------------------------------------------------------------------
   435 
   412 
   436 AC_ARG_ENABLE([eoe],
   413 AC_ARG_ENABLE([eoe],
   437     AS_HELP_STRING([--enable-eoe],
   414     AS_HELP_STRING([--enable-eoe],
   459 
   436 
   460 AC_CONFIG_FILES([
   437 AC_CONFIG_FILES([
   461         Doxyfile
   438         Doxyfile
   462         Kbuild
   439         Kbuild
   463         Makefile
   440         Makefile
       
   441         devices/Kbuild
       
   442         devices/Makefile
       
   443         devices/e1000/Kbuild
       
   444         devices/e1000/Makefile
       
   445         examples/Makefile
       
   446         examples/mini/Kbuild
       
   447         examples/mini/Makefile
       
   448         examples/msr/Kbuild
       
   449         examples/msr/Makefile
       
   450         examples/rtai/Kbuild
       
   451         examples/rtai/Makefile
       
   452         include/Makefile
   464         master/Kbuild
   453         master/Kbuild
   465         master/Makefile
   454         master/Makefile
   466         devices/Kbuild
       
   467         devices/Makefile
       
   468         devices/e1000/Makefile
       
   469         devices/e1000/Kbuild
       
   470         script/Makefile
   455         script/Makefile
   471         script/init.d/Makefile
   456         script/init.d/Makefile
   472         script/sysconfig/Makefile
   457         script/sysconfig/Makefile
   473         include/Makefile
       
   474         examples/Makefile
       
   475         examples/mini/Kbuild
       
   476         examples/mini/Makefile
       
   477         examples/rtai/Kbuild
       
   478         examples/rtai/Makefile
       
   479         examples/msr/Kbuild
       
   480         examples/msr/Makefile
       
   481         dummy/Kbuild
       
   482         dummy/Makefile
       
   483 ])
   458 ])
   484 AC_OUTPUT
   459 AC_OUTPUT
   485 
   460 
   486 #------------------------------------------------------------------------------
   461 #------------------------------------------------------------------------------