diff -r 5144a4bc6184 -r 4751747d4e6d configure.ac --- a/configure.ac Mon Oct 24 10:49:27 2011 +0200 +++ b/configure.ac Fri Nov 04 12:21:09 2011 +0100 @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ # -# $Id$ +# $Id: configure.ac,v 1baafcd263cc 2011/07/06 14:37:40 fp $ # # Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH # @@ -752,6 +752,31 @@ AC_SUBST(ENABLE_TTY,[$tty]) #------------------------------------------------------------------------------ +# Slave identification wildcards +#------------------------------------------------------------------------------ + +AC_ARG_ENABLE([wildcards], + AS_HELP_STRING([--enable-wildcards], + [Enable vendor ID / product code wildcards (default: no)]), + [ + case "${enableval}" in + yes) wildcards=1 + ;; + no) wildcards=0 + ;; + *) AC_MSG_ERROR([Invalid value for --enable-wildcards]) + ;; + esac + ], + [wildcards=0] +) + +if test "x${wildcards}" = "x1"; then + AC_DEFINE([EC_IDENT_WILDCARDS], [1], + [Use vendor id / product code wildcards]) +fi + +#------------------------------------------------------------------------------ AC_CONFIG_FILES([ Doxyfile