diff -r b369f3f92eb8 -r 7d748d9cf9e8 configure.ac --- a/configure.ac Mon Oct 18 10:30:57 2010 +0200 +++ b/configure.ac Mon Oct 18 10:45:07 2010 +0200 @@ -513,6 +513,30 @@ fi #------------------------------------------------------------------------------ +# Read alias address from register +#------------------------------------------------------------------------------ + +AC_ARG_ENABLE([regalias], + AS_HELP_STRING([--enable-regalias], + [Read alias adresses from register (default: no)]), + [ + case "${enableval}" in + yes) regalias=1 + ;; + no) regalias=0 + ;; + *) AC_MSG_ERROR([Invalid value for --enable-regalias]) + ;; + esac + ], + [regalias=0] +) + +if test "x${regalias}" = "x1"; then + AC_DEFINE([EC_REGALIAS], [1], [Read alias adresses from register]) +fi + +#------------------------------------------------------------------------------ # Command-line tool #-----------------------------------------------------------------------------