David Fang wrote:

> 
> SHREXT=$shrext_cmds
> AC_SUBST(SHREXT)

shrext_cmds needs to be eval'ed, on darwin it is:

shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'

So, depending on whether you want the extension for a loadable module or
a shared lib, you can do like ltdl:
module=yes
eval libltdl_cv_shlibext=$shrext_cmds

Or similarly but setting 'module=no' first.

Peter
-- 
Peter O'Gorman
http://pogma.com


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to