From: sailer Date: Wed, 12 Feb 2003 09:16:04 +0000 (+0000) Subject: Enable define of WORKER_NEW_PROTOCOL (is this needed? Otherwise my X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d90084c600a53dc6f7aad5485e1658d07d934ec7;p=daqdata.git Enable define of WORKER_NEW_PROTOCOL (is this needed? Otherwise my command line was wrong) -- Benjamin Sailer --- 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"