From 03544e68ad4ccf1f6b0c66fef53d1daaffd75468 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 23 Oct 2019 22:07:26 -0600 Subject: [PATCH] tt: begin to get it building under autotools --- cde/configure.ac | 2 +- cde/lib/tt/mini_isam/Makefile.am | 2 +- cde/lib/tt/tooltalk.inc | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 cde/lib/tt/tooltalk.inc diff --git a/cde/configure.ac b/cde/configure.ac index 0dd10634..75014703 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -185,7 +185,7 @@ dnl headers AC_HEADER_STDC dnl libraries -AC_CHECK_LIB(tirpc, main, [TIRPCINC=-I/usr/include/tirpc; TIRPCLIB=-ltirpc]) +AC_CHECK_LIB(tirpc, main, [TIRPCINC="-DOPT_TIRPC -I/usr/include/tirpc"; TIRPCLIB=-ltirpc]) AC_SUBST(TIRPCINC) AC_SUBST(TIRPCLIB) diff --git a/cde/lib/tt/mini_isam/Makefile.am b/cde/lib/tt/mini_isam/Makefile.am index 8d302761..a8a8901c 100644 --- a/cde/lib/tt/mini_isam/Makefile.am +++ b/cde/lib/tt/mini_isam/Makefile.am @@ -1,6 +1,6 @@ MAINTAINERCLEANFILES = Makefile.in -include ../tooltalk.tmpl +include ../tooltalk.inc noinst_LIBRARIES= libisam.a diff --git a/cde/lib/tt/tooltalk.inc b/cde/lib/tt/tooltalk.inc new file mode 100644 index 00000000..a27ce50f --- /dev/null +++ b/cde/lib/tt/tooltalk.inc @@ -0,0 +1,13 @@ +# This file is imbedded near the top of every ToolTalk Imakefile. +# It contains definitions and redefinitions that are common to all +# of ToolTalk but which aren't referred to anywhere else in the +# build. + +# It should match tooltalk.tmpl in terms of definitions... + +# TT_VERSION defines the version string which is imbedded in all the +# binaries and shipped libraries. + +TT_VERSION = "CDE Version 2.3.0a" +TT_VERSION_DEFINE = -DTT_VERSION_STRING=\"$(TT_VERSION)\" + -- 2.25.1