On Sat, 10 Apr 2004, Alien999999999 wrote: > In the config.h file, i need to know what the shared library suffix is on the > configured system. do you guys know how that is accomplished? > > the purpose is to use dlopen with a path, so i need to have the complete > filename of a library, therefor i must know the suffix...
You should use libtool for this task. Automake is designed to work with libtool to build shared libraries, and libtool supports portable shared library "dlopen"ing via its libltdl component. Libtool stores the compile filename of the library in an associated .la file. Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen