configure.ac
changeset 1565 8c526cfe1399
parent 1540 49430a3fe73d
child 1567 1babaa430b7b
equal deleted inserted replaced
1564:75e8fd4ec427 1565:8c526cfe1399
   515     ],
   515     ],
   516     [userlib=1]
   516     [userlib=1]
   517 )
   517 )
   518 
   518 
   519 AM_CONDITIONAL(ENABLE_USERLIB, test "x$userlib" = "x1")
   519 AM_CONDITIONAL(ENABLE_USERLIB, test "x$userlib" = "x1")
       
   520 
       
   521 #------------------------------------------------------------------------------
       
   522 # TTY driver
       
   523 #------------------------------------------------------------------------------
       
   524 
       
   525 AC_ARG_ENABLE([tty],
       
   526     AS_HELP_STRING([--enable-tty],
       
   527                    [Generation of the ec_tty module (default: no)]),
       
   528     [
       
   529         case "${enableval}" in
       
   530             yes) tty=1
       
   531                 ;;
       
   532             no) tty=0
       
   533                 ;;
       
   534             *) AC_MSG_ERROR([Invalid value for --enable-tty])
       
   535                 ;;
       
   536         esac
       
   537     ],
       
   538     [tty=0]
       
   539 )
       
   540 
       
   541 AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1")
       
   542 AC_SUBST(ENABLE_TTY,[$tty])
   520 
   543 
   521 #------------------------------------------------------------------------------
   544 #------------------------------------------------------------------------------
   522 
   545 
   523 AC_CONFIG_FILES([
   546 AC_CONFIG_FILES([
   524         Doxyfile
   547         Doxyfile
   546         script/Makefile
   569         script/Makefile
   547         script/init.d/Makefile
   570         script/init.d/Makefile
   548         script/init.d/ethercat
   571         script/init.d/ethercat
   549         script/sysconfig/Makefile
   572         script/sysconfig/Makefile
   550         tool/Makefile
   573         tool/Makefile
       
   574         tty/Makefile
       
   575         tty/Kbuild
   551 ])
   576 ])
   552 AC_OUTPUT
   577 AC_OUTPUT
   553 
   578 
   554 #------------------------------------------------------------------------------
   579 #------------------------------------------------------------------------------