equal
deleted
inserted
replaced
1023 [rtsyslog=1] |
1023 [rtsyslog=1] |
1024 ) |
1024 ) |
1025 |
1025 |
1026 if test "x${rtsyslog}" = "x1"; then |
1026 if test "x${rtsyslog}" = "x1"; then |
1027 AC_DEFINE([EC_RT_SYSLOG], [1], [Output to syslog in RT context]) |
1027 AC_DEFINE([EC_RT_SYSLOG], [1], [Output to syslog in RT context]) |
|
1028 AC_MSG_RESULT([yes]) |
|
1029 else |
|
1030 AC_MSG_RESULT([no]) |
|
1031 fi |
|
1032 |
|
1033 #------------------------------------------------------------------------------ |
|
1034 # use loop control registers to open slave ports |
|
1035 #------------------------------------------------------------------------------ |
|
1036 |
|
1037 AC_MSG_CHECKING([whether to use loop control registers]) |
|
1038 |
|
1039 AC_ARG_ENABLE([loop-control], |
|
1040 AS_HELP_STRING([--enable-loop-control], |
|
1041 [Use loop control registers (default: no)]), |
|
1042 [ |
|
1043 case "${enableval}" in |
|
1044 yes) loopctl=1 |
|
1045 ;; |
|
1046 no) loopctl=0 |
|
1047 ;; |
|
1048 *) AC_MSG_ERROR([Invalid value for --enable-loop-control]) |
|
1049 ;; |
|
1050 esac |
|
1051 ], |
|
1052 [loopctl=0] |
|
1053 ) |
|
1054 |
|
1055 if test "x${loopctl}" = "x1"; then |
|
1056 AC_DEFINE([EC_LOOP_CONTROL], [1], [Use loop control registers]) |
1028 AC_MSG_RESULT([yes]) |
1057 AC_MSG_RESULT([yes]) |
1029 else |
1058 else |
1030 AC_MSG_RESULT([no]) |
1059 AC_MSG_RESULT([no]) |
1031 fi |
1060 fi |
1032 |
1061 |