This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: where is ecosconfig?
- From: Chuck McManis <cmcmanis at mcmanis dot com>
- To: Bart Veer <bartv at ecoscentric dot com>,ecos at mcmanis dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 01 Apr 2004 21:34:15 -0800
- Subject: Re: [ECOS] where is ecosconfig?
- References: <200403301429.30166.cmcmanis@mcmanis.com><43095.62.166.230.82.1080710114.squirrel@www.chez-thomas.org><6.0.0.22.2.20040330223954.02f53d48@66.125.189.29><20040331140346.BE024EC1C0@delenn.bartv.net><6.0.0.22.2.20040331145414.03ec2408@66.125.189.29><20040401131114.14302EC1C0@delenn.bartv.net>
At 05:11 AM 4/1/2004, Bart Veer wrote:
So the obvious solution is to change the autoconf macro to look for
TCL_INCLUDE_SPEC rather than TCL_INC_DIR, but a quick glance at
cygwin's tclConfig.sh shows that TCL_INCLUDE_SPEC there is set to an
invalid location /nonexistent/include
Note that TCL_INCLUDE_SPEC is of the form "-I/usr/include/..." rather than
simply "/usr/include/..." so there is some post processing still to be done
on it.
But is likely to break things on other platforms. I think it is
necessary to do an AC_FIND_FILE() for tcl.h in a variety of locations
including ${TCL_INCLUDE_SPEC}, ${TCL_INC_DIR}, ${TCL_PREFIX}/include,
and ${TCL_PREFIX}/include/tcl${with_tcl_version}.
I expect that would be the most general solution.
--Chuck
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss