configure & template files ... - Mailing list pgsql-hackers

From The Hermit Hacker
Subject configure & template files ...
Date
Msg-id Pine.BSF.4.10.9909121933480.54336-100000@thelab.hub.org
Whole thread Raw
Responses Re: [HACKERS] configure & template files ...  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
Before I dive into this, has anyone else noticed that the SRCH_INC and
SRCH_LIB options in the templates no longer work?

To test, I modified template/freebsd as follows:

AROPT:cq
SHARED_LIB:-fpic -DPIC
CFLAGS:-O2 -m486 -pipe
SRCH_INC:/usr/local/include
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

Adding /usr/local/include to SRCH_INC, but when I run configure, it
reports:

- setting CPPFLAGS=
- setting LDFLAGS=

I'm suspecting this code in configure.in:

[
rm -f conftest.sh
sed 's/^\([A-Za-z_]*\):\(.*\)$/\1="\2"/' "template/$TEMPLATE" >conftest.sh
. ./conftest.sh
rm -f conftest.sh
]

Isn't working as expected...

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] Fixing Simms' vacuum problems
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] configure & template files ...