configure.ac
branchstable-1.5
changeset 2139 d64957379916
parent 2064 2ab48cb3a5b4
child 2192 1c7c546ac08c
equal deleted inserted replaced
2128:e645d0d83b3b 2139:d64957379916
   600     [tty=0]
   600     [tty=0]
   601 )
   601 )
   602 
   602 
   603 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1")
   603 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1")
   604 AC_SUBST(ENABLE_TTY,[$tty])
   604 AC_SUBST(ENABLE_TTY,[$tty])
       
   605 
       
   606 #------------------------------------------------------------------------------
       
   607 # Slave identification wildcards
       
   608 #------------------------------------------------------------------------------
       
   609 
       
   610 AC_ARG_ENABLE([wildcards],
       
   611     AS_HELP_STRING([--enable-wildcards],
       
   612                    [Enable vendor ID / product code wildcards (default: no)]),
       
   613     [
       
   614         case "${enableval}" in
       
   615             yes) wildcards=1
       
   616                 ;;
       
   617             no) wildcards=0
       
   618                 ;;
       
   619             *) AC_MSG_ERROR([Invalid value for --enable-wildcards])
       
   620                 ;;
       
   621         esac
       
   622     ],
       
   623     [wildcards=0]
       
   624 )
       
   625 
       
   626 if test "x${wildcards}" = "x1"; then
       
   627     AC_DEFINE([EC_IDENT_WILDCARDS], [1],
       
   628         [Use vendor id / product code wildcards])
       
   629 fi
   605 
   630 
   606 #------------------------------------------------------------------------------
   631 #------------------------------------------------------------------------------
   607 
   632 
   608 AC_CONFIG_FILES([
   633 AC_CONFIG_FILES([
   609         Doxyfile
   634         Doxyfile