configure.ac
branchredundancy
changeset 2295 4e4c018573c0
parent 2133 74dbd0b7d6aa
child 2309 b0ddf0ea0a60
equal deleted inserted replaced
2294:234ba1162c1c 2295:4e4c018573c0
   655     [tty=0]
   655     [tty=0]
   656 )
   656 )
   657 
   657 
   658 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1")
   658 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1")
   659 AC_SUBST(ENABLE_TTY,[$tty])
   659 AC_SUBST(ENABLE_TTY,[$tty])
       
   660 
       
   661 #------------------------------------------------------------------------------
       
   662 # Slave identification wildcards
       
   663 #------------------------------------------------------------------------------
       
   664 
       
   665 AC_ARG_ENABLE([wildcards],
       
   666     AS_HELP_STRING([--enable-wildcards],
       
   667                    [Enable vendor ID / product code wildcards (default: no)]),
       
   668     [
       
   669         case "${enableval}" in
       
   670             yes) wildcards=1
       
   671                 ;;
       
   672             no) wildcards=0
       
   673                 ;;
       
   674             *) AC_MSG_ERROR([Invalid value for --enable-wildcards])
       
   675                 ;;
       
   676         esac
       
   677     ],
       
   678     [wildcards=0]
       
   679 )
       
   680 
       
   681 if test "x${wildcards}" = "x1"; then
       
   682     AC_DEFINE([EC_IDENT_WILDCARDS], [1],
       
   683         [Use vendor id / product code wildcards])
       
   684 fi
   660 
   685 
   661 #------------------------------------------------------------------------------
   686 #------------------------------------------------------------------------------
   662 
   687 
   663 AC_CONFIG_FILES([
   688 AC_CONFIG_FILES([
   664         Doxyfile
   689         Doxyfile