use of shrext_cmds on mac os x

2010-04-23 Thread Vincent Torri
Hey, on mac os x, shrext_cmds is defined like that: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' i want to use it in AC_DEFINE_UNQUOTED like that : AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects]) how do i get its value in a cross platfor

Re: use of shrext_cmds on mac os x

2010-04-23 Thread Eric Blake
On 04/23/2010 12:09 PM, Vincent Torri wrote: > > Hey, > > on mac os x, shrext_cmds is defined like that: > > shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' Wrong list. shrext_cmds is defined by libtool, so you may have better luck asking your question there. -- Eric Blake