equal
deleted
inserted
replaced
1 #------------------------------------------------------------------------------ |
1 #------------------------------------------------------------------------------ |
2 # |
2 # |
3 # $Id$ |
3 # $Id: configure.ac,v 1baafcd263cc 2011/07/06 14:37:40 fp $ |
4 # |
4 # |
5 # Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH |
5 # Copyright (C) 2006-2009 Florian Pose, Ingenieurgemeinschaft IgH |
6 # |
6 # |
7 # This file is part of the IgH EtherCAT Master. |
7 # This file is part of the IgH EtherCAT Master. |
8 # |
8 # |
748 [tty=0] |
748 [tty=0] |
749 ) |
749 ) |
750 |
750 |
751 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1") |
751 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1") |
752 AC_SUBST(ENABLE_TTY,[$tty]) |
752 AC_SUBST(ENABLE_TTY,[$tty]) |
|
753 |
|
754 #------------------------------------------------------------------------------ |
|
755 # Slave identification wildcards |
|
756 #------------------------------------------------------------------------------ |
|
757 |
|
758 AC_ARG_ENABLE([wildcards], |
|
759 AS_HELP_STRING([--enable-wildcards], |
|
760 [Enable vendor ID / product code wildcards (default: no)]), |
|
761 [ |
|
762 case "${enableval}" in |
|
763 yes) wildcards=1 |
|
764 ;; |
|
765 no) wildcards=0 |
|
766 ;; |
|
767 *) AC_MSG_ERROR([Invalid value for --enable-wildcards]) |
|
768 ;; |
|
769 esac |
|
770 ], |
|
771 [wildcards=0] |
|
772 ) |
|
773 |
|
774 if test "x${wildcards}" = "x1"; then |
|
775 AC_DEFINE([EC_IDENT_WILDCARDS], [1], |
|
776 [Use vendor id / product code wildcards]) |
|
777 fi |
753 |
778 |
754 #------------------------------------------------------------------------------ |
779 #------------------------------------------------------------------------------ |
755 |
780 |
756 AC_CONFIG_FILES([ |
781 AC_CONFIG_FILES([ |
757 Doxyfile |
782 Doxyfile |