Commit d9d5deb4 authored by Leigh Stoller's avatar Leigh Stoller

Oops, get configure stuff right so that bootinfo is built with my little

hack to deal with inner vs outer control network.
parent e3a00fdd
......@@ -1059,6 +1059,13 @@ if test $PLABSUPPORT -eq 1; then
fi
fi
if test $ELABINELAB -eq 1; then
cat >> confdefs.h <<EOF
#define ELABINELAB 1
EOF
fi
LOG_TESTBED=`echo "LOG_$TBLOGFACIL" | tr a-z A-Z`
cat >> confdefs.h <<EOF
#define LOG_TESTBED $LOG_TESTBED
......@@ -1389,7 +1396,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1393: checking for a BSD compatible install" >&5
echo "configure:1400: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
......
......@@ -201,6 +201,10 @@ if test $PLABSUPPORT -eq 1; then
fi
fi
if test $ELABINELAB -eq 1; then
AC_DEFINE_UNQUOTED(ELABINELAB, 1)
fi
LOG_TESTBED=`echo "LOG_$TBLOGFACIL" | tr a-z A-Z`
AC_DEFINE_UNQUOTED(LOG_TESTBED, $LOG_TESTBED)
AC_SUBST(LOG_TESTBED)
......
......@@ -12,7 +12,7 @@
#include <syslog.h>
#include <arpa/inet.h>
#include <string.h>
#include "config.h"
#include "log.h"
#include "tbdb.h"
#include "bootwhat.h"
......
......@@ -14,6 +14,7 @@
#include <string.h>
#include <signal.h>
#include <netdb.h>
#include "config.h"
#include "log.h"
#include "tbdefs.h"
#include "bootwhat.h"
......
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