configure.ac
changeset 2060 8b67602f5161
parent 2058 543c4ce9e86e
parent 2045 ff2a13a4603c
child 2076 1baafcd263cc
equal deleted inserted replaced
2059:ab0b96ac18bb 2060:8b67602f5161
   578 if test "x${hrtimer}" = "x1"; then
   578 if test "x${hrtimer}" = "x1"; then
   579     AC_DEFINE([EC_USE_HRTIMER], [1], [Use hrtimer for scheduling])
   579     AC_DEFINE([EC_USE_HRTIMER], [1], [Use hrtimer for scheduling])
   580 fi
   580 fi
   581 
   581 
   582 #------------------------------------------------------------------------------
   582 #------------------------------------------------------------------------------
       
   583 # Use 2 datagrams (payload+last-byte) when sending to mailbox (reduces frame size)
       
   584 #------------------------------------------------------------------------------
       
   585 
       
   586 AC_ARG_ENABLE([mboxframesize],
       
   587     AS_HELP_STRING([--enable-mboxframesize],
       
   588                    [Reduced frame size when sending to mailbox, uses 2 datagrams (default: no)]),
       
   589     [
       
   590         case "${enableval}" in
       
   591             yes) mboxframesize=1
       
   592                 ;;
       
   593             no) mboxframesize=0
       
   594                 ;;
       
   595             *) AC_MSG_ERROR([Invalid value for --enable-mboxframesize])
       
   596                 ;;
       
   597         esac
       
   598     ],
       
   599     [mboxframesize=0]
       
   600 )
       
   601 
       
   602 if test "x${mboxframesize}" = "x1"; then
       
   603     AC_DEFINE([EC_REDUCE_MBOXFRAMESIZE], [1], [Reduced frame size when sending to mailbox])
       
   604 fi
       
   605 
       
   606 
       
   607 #------------------------------------------------------------------------------
   583 # Read alias address from register
   608 # Read alias address from register
   584 #------------------------------------------------------------------------------
   609 #------------------------------------------------------------------------------
   585 
   610 
   586 AC_ARG_ENABLE([regalias],
   611 AC_ARG_ENABLE([regalias],
   587     AS_HELP_STRING([--enable-regalias],
   612     AS_HELP_STRING([--enable-regalias],
   600 )
   625 )
   601 
   626 
   602 if test "x${regalias}" = "x1"; then
   627 if test "x${regalias}" = "x1"; then
   603     AC_DEFINE([EC_REGALIAS], [1], [Read alias adresses from register])
   628     AC_DEFINE([EC_REGALIAS], [1], [Read alias adresses from register])
   604 fi
   629 fi
       
   630 
   605 
   631 
   606 #------------------------------------------------------------------------------
   632 #------------------------------------------------------------------------------
   607 # Command-line tool
   633 # Command-line tool
   608 #-----------------------------------------------------------------------------
   634 #-----------------------------------------------------------------------------
   609 
   635