.pc.c :
- $(PROC) $(PROCFLAGS) $(PROC_INCLUDES) iname=$< oname=$@
+ $(PROC) $(PROCFLAGS) $(AM_PROCFLAGS) $(PROC_INCLUDES) iname=$< oname=$@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
then
if test -x "$with_epics/startup/EpicsHostArch"
then
- epics_version="3_14"
+ epics_release="314"
+ cat >>confdefs.h <<\_ACEOF
+#define EPICS_RELEASE 314
+_ACEOF
+
EPICS_HOST_ARCH=$($with_epics/startup/EpicsHostArch)
HOST_ARCH=$($with_epics/startup/HostArch)
elif test -x "$with_epics/startup/HostArch"
then
- epics_version="3_13"
+ epics_release="313"
+ cat >>confdefs.h <<\_ACEOF
+#define EPICS_RELEASE 313
+_ACEOF
+
HOST_ARCH=$($with_epics/startup/HostArch)
else
{ { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
echo "$as_me: error: Missing valid EPICS version" >&2;}
{ (exit 1); exit 1; }; }
fi
- echo "setting EPICS version to $epics_version"
+ echo "setting EPICS release to $epics_release"
fi
fi
- if test "x$epics_version" = "x3_13"
+ if test "x$epics_release" = "x313"
then
LIBS="-L$with_epics/lib/$HOST_ARCH $LIBS"
- elif test "x$epics_version" = "x3_14"
+ elif test "x$epics_release" = "x314"
then
LIBS="-L$with_epics/lib/$EPICS_HOST_ARCH $LIBS"
fi
fi
if test "x$enable_paramsrc" = "xca"
then
- if test "x$epics_version" = "x3_13"
+ if test "x$epics_release" = "x313"
then
LIBS="-L$with_epics/lib/$HOST_ARCH $LIBS"
- elif test "x$epics_version" = "x3_14"
+ elif test "x$epics_release" = "x314"
then
LIBS="-L$with_epics/lib/$EPICS_HOST_ARCH $LIBS"
fi
if test "x$enable_param" = "xca"
then
- if test "x$epics_version" = "x3_13"
+ if test "x$epics_release" = "x313"
then
CPPFLAGS="-I$with_epics/include -I$with_epics/include/os/$HOST_ARCH $CPPFLAGS"
- elif test "x$epics_version" = "x3_14"
+ elif test "x$epics_release" = "x314"
then
CPPFLAGS="-I$with_epics/include -I$with_epics/include/os/$HOST_ARCH -I$with_epics/include/os/$EPICS_HOST_ARCH $CPPFLAGS"
fi
then
if test -x "$with_epics/startup/EpicsHostArch"
then
- epics_version="3_14"
+ epics_release="314"
+ AC_DEFINE(EPICS_RELEASE, 314)
EPICS_HOST_ARCH=$($with_epics/startup/EpicsHostArch)
HOST_ARCH=$($with_epics/startup/HostArch)
elif test -x "$with_epics/startup/HostArch"
then
- epics_version="3_13"
+ epics_release="313"
+ AC_DEFINE(EPICS_RELEASE, 313)
HOST_ARCH=$($with_epics/startup/HostArch)
else
AC_ERROR([Missing valid EPICS version])
fi
- echo "setting EPICS version to $epics_version"
+ echo "setting EPICS release to $epics_release"
fi
AC_SEARCH_LIBS(syslog, netinet)
AC_CHECK_LIB(compat, SYSLOG_syslog)
- if test "x$epics_version" = "x3_13"
+ if test "x$epics_release" = "x313"
then
LIBS="-L$with_epics/lib/$HOST_ARCH $LIBS"
- elif test "x$epics_version" = "x3_14"
+ elif test "x$epics_release" = "x314"
then
LIBS="-L$with_epics/lib/$EPICS_HOST_ARCH $LIBS"
fi
fi
if test "x$enable_paramsrc" = "xca"
then
- if test "x$epics_version" = "x3_13"
+ if test "x$epics_release" = "x313"
then
LIBS="-L$with_epics/lib/$HOST_ARCH $LIBS"
- elif test "x$epics_version" = "x3_14"
+ elif test "x$epics_release" = "x314"
then
LIBS="-L$with_epics/lib/$EPICS_HOST_ARCH $LIBS"
fi
if test "x$enable_param" = "xca"
then
- if test "x$epics_version" = "x3_13"
+ if test "x$epics_release" = "x313"
then
CPPFLAGS="-I$with_epics/include -I$with_epics/include/os/$HOST_ARCH $CPPFLAGS"
- elif test "x$epics_version" = "x3_14"
+ elif test "x$epics_release" = "x314"
then
CPPFLAGS="-I$with_epics/include -I$with_epics/include/os/$HOST_ARCH -I$with_epics/include/os/$EPICS_HOST_ARCH $CPPFLAGS"
fi