Commit c12143ce authored by Leigh Stoller's avatar Leigh Stoller

Addendum to previous revision; do all the other goo to get them into

config.h for tmcd.c
parent 4b97bb7f
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
#undef WINSUPPORT #undef WINSUPPORT
#undef OPSDBSUPPORT #undef OPSDBSUPPORT
#undef ELVIN_COMPAT #undef ELVIN_COMPAT
#undef ISOLATEADMINS
#undef DYNAMICROOTPASSWORDS
#undef HAVE_SRANDOMDEV #undef HAVE_SRANDOMDEV
......
...@@ -1734,6 +1734,20 @@ EOF ...@@ -1734,6 +1734,20 @@ EOF
fi fi
if test $ISOLATEADMINS -eq 1; then
cat >> confdefs.h <<EOF
#define ISOLATEADMINS 1
EOF
fi
if test $DYNAMICROOTPASSWORDS -eq 1; then
cat >> confdefs.h <<EOF
#define DYNAMICROOTPASSWORDS 1
EOF
fi
LOG_TESTBED=`echo "LOG_$TBLOGFACIL" | tr a-z A-Z` LOG_TESTBED=`echo "LOG_$TBLOGFACIL" | tr a-z A-Z`
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define LOG_TESTBED $LOG_TESTBED #define LOG_TESTBED $LOG_TESTBED
......
...@@ -385,6 +385,13 @@ if test $ELABINELAB -eq 1; then ...@@ -385,6 +385,13 @@ if test $ELABINELAB -eq 1; then
AC_DEFINE_UNQUOTED(ELABINELAB, 1) AC_DEFINE_UNQUOTED(ELABINELAB, 1)
fi fi
if test $ISOLATEADMINS -eq 1; then
AC_DEFINE_UNQUOTED(ISOLATEADMINS, 1)
fi
if test $DYNAMICROOTPASSWORDS -eq 1; then
AC_DEFINE_UNQUOTED(DYNAMICROOTPASSWORDS, 1)
fi
LOG_TESTBED=`echo "LOG_$TBLOGFACIL" | tr a-z A-Z` LOG_TESTBED=`echo "LOG_$TBLOGFACIL" | tr a-z A-Z`
AC_DEFINE_UNQUOTED(LOG_TESTBED, $LOG_TESTBED) AC_DEFINE_UNQUOTED(LOG_TESTBED, $LOG_TESTBED)
AC_SUBST(LOG_TESTBED) AC_SUBST(LOG_TESTBED)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment