Re: tsearch2 in 7.4beta1 compile problem - Mailing list pgsql-general

From Teodor Sigaev
Subject Re: tsearch2 in 7.4beta1 compile problem
Date
Msg-id 3F3D202C.9070506@sigaev.ru
Whole thread Raw
In response to Re: tsearch2 in 7.4beta1 compile problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> AFAICT tsearch2's incompatibility is in the redefined YY_INPUT macro,
> which seems of no value for Postgres anyway.  Can't we take that out?
>

Ok, I've removed it from tsearch and tsearch2. But I can't check it with new flex:
% /usr/local/bin/flex -8 -Ptsearch2_yy -o'parser.c' parser.l
m4: illegal option -- P
usage: m4 [-d flags] [-t name] [-gs] [-D name[=value]]...
           [-U name]... [-I dirname]... file...

%uname -a
FreeBSD xor 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Fri Jun 13 20:34:53 MSD 2003

So flex calls m4 which isn't gnu m4, it is system utility. GNU m4 is named as
gm4... I can't find any option about which m4 to use.


--
Teodor Sigaev                                  E-mail: teodor@sigaev.ru


pgsql-general by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: Why the duplicate messages to pgsql-general?
Next
From: Ron Johnson
Date:
Subject: Arrays and "goodness" in RDBMSs (was Re: join of array)