
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 


Sun, 12 Sep 1999 19:39:41 -0300 (ADT)
The Hermit Hacker <scrappy@hub.org>
configure & template files ...

Found and fixed...we checked for INCLUDE_DIR being defined, but not
SRCH_INC...same for libs...

On Sun, 12 Sep 1999, The Hermit Hacker wrote:

> 
> 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 
> 
> 
> ************
> 

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


Sun, 12 Sep 1999 19:50:57 -0300 (ADT)
The Hermit Hacker <scrappy@hub.org>
Re: [HACKERS] configure & template files ...