Re: shrext_cmds get passed literally into user code

2023-08-05 Thread Eric Gallager
On Mon, Jul 31, 2023 at 7:18 PM Eric Gallager wrote: > > I am on Darwin, where libtool sets shrext_cmds to `test .$module = > .yes && echo .so || echo .dylib`. In the project's configure.ac, there > is code that does this: > > AC_DEFINE_UNQUOTED([SHARED_LIB_EXT],["${shrext_cmds}"], >

shrext_cmds get passed literally into user code

2023-07-31 Thread Eric Gallager
I am on Darwin, where libtool sets shrext_cmds to `test .$module = .yes && echo .so || echo .dylib`. In the project's configure.ac, there is code that does this: AC_DEFINE_UNQUOTED([SHARED_LIB_EXT],["${shrext_cmds}"], [Extension of a shared library])dnl This preprocessor