how to use configure to change name of lib

Hi,

I am making some modifications to a source package that generates a shared library. The original library is installed on my system and I would like to compile my modified version of the library with a different name so that I can have both side by side on the system and switch between them in client code in order to carry out some testing.

I am trying to use the configure command to do this. I am able to install to a different location using --prefix= and I am able to add a suffix or prefix to the name of *binaries* using --program-prefix= or --program-suffix=. However I am not able to modify the name of the generated library file (only the binary files). Is there any way to do this using configure? Or can I just change the lib name manually?

Thanks for any advice!

Mockle
The only thing that comes to mind is installing in a different location using --prefix= and compiling/running two separate instances of the application.
there must be some files with name Makefile.am and Makefile.ac and Configure.ac
In one of these the name of the library and binaries is mentioned. i think that must be Configure.ac
Why not change the lib name in Makefile.am and rebuild?
Topic archived. No new replies allowed.