From d90084c600a53dc6f7aad5485e1658d07d934ec7 Mon Sep 17 00:00:00 2001 From: sailer Date: Wed, 12 Feb 2003 09:16:04 +0000 Subject: [PATCH] Enable define of WORKER_NEW_PROTOCOL (is this needed? Otherwise my command line was wrong) -- Benjamin Sailer --- hadaq/configure | 8 ++++++++ hadaq/configure.in | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/hadaq/configure b/hadaq/configure index 15cfef7..0584b72 100644 --- a/hadaq/configure +++ b/hadaq/configure @@ -3266,6 +3266,14 @@ if test "$ac_cv_search_syslog" != no; then fi +if test -n "$WORKER_NEW_PROTOCOL" +then +cat >>confdefs.h <<\_ACEOF +#define WORKER_NEW_PROTOCOL 1 +_ACEOF + +fi + if test x$with_param = xca then if test -x "$with_epics/startup/HostArch" diff --git a/hadaq/configure.in b/hadaq/configure.in index 5a9331a..bb5801c 100644 --- a/hadaq/configure.in +++ b/hadaq/configure.in @@ -38,6 +38,12 @@ AC_SEARCH_LIBS(svc_register, rpc) AC_SEARCH_LIBS(syslog, netinet) +dnl wether to use new-worker-protocol +if test -n "$WORKER_NEW_PROTOCOL" +then +AC_DEFINE(WORKER_NEW_PROTOCOL) +fi + if test x$with_param = xca then if test -x "$with_epics/startup/HostArch" -- 2.43.0