On Nov 24, 2010, at 5:08 PM, Pavan Balaji wrote:
>> So my question -- per prior email -- is: why not use
>> --disable-embedded-mode, and --disable-shared --enable-static? (vs.
>> patching) IIRC, I put --disable-embedded-mode there exactly for the
>> case of projects that want to embed but don't want to call our m4
>> directly.
>
> We use an AC_CONFIG_SUBDIR-style macro for launching the hwloc configure (but slightly modified to do a sandbox-configure so we can catch errors). So, the configure arguments come from what the user specified. We have capability to internally add extra configure arguments specifically for hwloc, but I was trying to avoid that. Besides, other projects might not have the same macros that MPICH2 has.
Ah, I see.
Can you setenv enable_shared=no (for example) before calling CONFIG_SUBDIRS?
(this may be moot if you end up calling our m4 directly, but I'm still curious)
--
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
|