configure.ac
changeset 1942 cd6ff5adae84
parent 1934 f00951ab7399
child 2028 55854f070c4a
child 2054 3417bbc4ad2f
child 2064 2ab48cb3a5b4
equal deleted inserted replaced
1941:e12266a4f473 1942:cd6ff5adae84
   508     [hrtimer=0]
   508     [hrtimer=0]
   509 )
   509 )
   510 
   510 
   511 if test "x${hrtimer}" = "x1"; then
   511 if test "x${hrtimer}" = "x1"; then
   512     AC_DEFINE([EC_USE_HRTIMER], [1], [Use hrtimer for scheduling])
   512     AC_DEFINE([EC_USE_HRTIMER], [1], [Use hrtimer for scheduling])
       
   513 fi
       
   514 
       
   515 #------------------------------------------------------------------------------
       
   516 # Read alias address from register
       
   517 #------------------------------------------------------------------------------
       
   518 
       
   519 AC_ARG_ENABLE([regalias],
       
   520     AS_HELP_STRING([--enable-regalias],
       
   521                    [Read alias adresses from register (default: no)]),
       
   522     [
       
   523         case "${enableval}" in
       
   524             yes) regalias=1
       
   525                 ;;
       
   526             no) regalias=0
       
   527                 ;;
       
   528             *) AC_MSG_ERROR([Invalid value for --enable-regalias])
       
   529                 ;;
       
   530         esac
       
   531     ],
       
   532     [regalias=0]
       
   533 )
       
   534 
       
   535 if test "x${regalias}" = "x1"; then
       
   536     AC_DEFINE([EC_REGALIAS], [1], [Read alias adresses from register])
   513 fi
   537 fi
   514 
   538 
   515 #------------------------------------------------------------------------------
   539 #------------------------------------------------------------------------------
   516 # Command-line tool
   540 # Command-line tool
   517 #-----------------------------------------------------------------------------
   541 #-----------------------------------------------------------------------------