Here are the parameters: 1. I cannot rely on `guile-config'. It is often installed without that script.
2. I tried a macro AG_WITHLIB_GUILE which does the following: a) accepts --with-libguile, --with-libguile-incdir and --with-libguile-libdir b) If any of these are provided, LIBS and CPPFLAGS are appropriately modified c) presumably using those environment variables, (eval $ac_link) 2>&5 will try to link this program: > #include <libguile.h> > int main () { > SCM fumble, bumble, stumble; > stumble = scm_cons( fumble, bumble ); > stumble = scm_display( fumble, bumble ); > stumble = scm_ilength( fumble ); > stumble = scm_makstr( 1, 2 ); > stumble = gh_eval_str( "stumble" ); > scm_misc_error( "oops", "bad", bumble ); > stumble = scm_num_eq_p( fumble, bumble ); > scm_wrong_type_arg( "oops", 1, bumble ); > return 0; } d) if all that fails, then `guile-config' is consulted. 3. on the Source Forge Solaris build farm, this links: > checking whether with-libguile was specified... no > checking whether with-libguile-incdir was specified... no > checking whether with-libguile-libdir was specified... no > checking whether libguile can be linked with... yes consequently, `guile-config' is not consulted. It is not consulted because libguile.h was included successfully and the link for the above works. 4. HOWEVER: $ ../autogen-5.5.2pre3/configure \ --prefix=/home/users/b/bk/bkorb \ --bindir=/home/users/b/bk/bkorb/bin/sun4u-SunOS-5.8 \ --libdir=/home/users/b/bk/bkorb/lib/sun4u-SunOS-5.8 [[...]] $ make [[...]] /bin/bash ../libtool --mode=link gcc -g -O2 -o autogen \ -export-dynamic -lguile autogen-*.o ../autoopts/libopts.la \ -lm -ldl -lgen mkdir .libs gcc -g -O2 -o .libs/autogen autogen-*.o -lguile \ ../autoopts/.libs/libopts.so -lm -lm -lm -lm -ldl -lgen \ -R/home/users/b/bk/bkorb/lib/sun4u-SunOS-5.8 creating autogen [[...]] top_builddir=.. \ ../agen5/autogen -L ../../autogen-5.5.2pre3/autoopts \ -Taginfo -bcolumns -DLEVEL=section \ ../../autogen-5.5.2pre3/columns/opts.def ld.so.1: autogen: fatal: libguile.so.6: open failed: No such file or directory *** Signal 9 make: Fatal error: Command failed for target `gen-stamp' Current working directory /home/users/b/bk/bkorb/=sun4u-SunOS-5.8/columns ``libguile'' lives in a place where LD_LIBRARY_PATH must be set (viz., /opt/sfw/lib). What is wrong? What should I be doing to tell libtool that it has to add a ``-R/opt/sfw/lib'' or something? If I use ``guile-config'' first, I'll override ``--with-libguile''. So much pain. :-( _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool