[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PCCTS?
From: |
vishnu |
Subject: |
Re: PCCTS? |
Date: |
Mon, 15 Oct 2001 10:05:51 -0700 |
User-agent: |
Mutt/1.3.20i |
On Mon, Oct 15, 2001 at 09:35:08AM -0400, Dale E Martin wrote:
> I use a couple of things - this first one looks for the binaries:
>
> AC_DEFUN(AC_PROG_PCCTS,
> [
> AC_SUBST(ANTLR)
> AC_SUBST(DLG)
>
> AC_PATH_PROG(ANTLR, antlr, no)
> if test $ANTLR = no; then
> AC_MSG_ERROR( Configure could not locate the program \"antlr\" in your
> path. This program is needed to build the savant system. It should
"savant system"? If you post the complete macro then i can modify
it to be generic for any package.
> And I also have a fallback that can use an environment variable PCCTSROOT:
That's not too bad. What would be cool is if pccts installed a pkg-config
specification.
> PCCTS is kind of a special case in that it has .cpp files that need to be
> compiled but doesn't have any "official" library (static or shared) that
> goes with it. I copy those files into my working dir and build a local
> library of them for my own system.
i'm just using C (not C++). Is there really that much boilerplate support
code to justify creating a library?
> I'm the Debian Linux maintainer of PCCTS - I just adopted it a couple of
> weeks back. I've spoken with Tom Moog a teeny bit about providing changes
> to the build system to build shared libraries. He hasn't done it because
> he's more of a Windows guy. So I've considered doing an autotools/libtool
> build and sending the changes upstream. Anyone have any thoughts about it?
Dunno. i'm pretty satisfied already. A really minor improvement that
would be appreciated is to clean up the generated code a little bit to
avoid triggering so many compiler warnings:
config.c: In function `conf_empathy_file':
config.c:113: warning: unused variable `zzaRetPtr'
config.c:113: warning: unused variable `zzpf'
config.c: In function `conf_pattern':
config.c:178: warning: unused variable `zzaRetPtr'
config.c:178: warning: unused variable `zzpf'
config.c: In function `conf_context':
config.c:226: warning: unused variable `zzaRetPtr'
config.c:226: warning: unused variable `zzpf'
config.c: In function `conf_constraints':
config.c:279: warning: unused variable `zzcnt'
config.c:271: warning: unused variable `zzaRetPtr'
config.c:271: warning: unused variable `zzpf'
config.c:296: warning: label `fail' defined but not used
config.c:298: warning: will never be executed
--
Victory to the Divine Mother!! ... after all, why compete?
http://sahajayoga.org http://why-compete.org