Обсуждение: configure & template files ...

Поиск
Список
Период
Сортировка

configure & template files ...

От
The Hermit Hacker
Дата:
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 



Re: [HACKERS] configure & template files ...

От
The Hermit Hacker
Дата:
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