diff -urN coot-0.3.3.orig/macros/guile-gtk.m4 coot-0.3.3/macros/guile-gtk.m4 --- coot-0.3.3.orig/macros/guile-gtk.m4 2007-08-15 12:20:04.000000000 -0700 +++ coot-0.3.3/macros/guile-gtk.m4 2007-08-15 12:20:32.000000000 -0700 @@ -66,9 +66,9 @@ # we have the variable coot_gtk2 in configure.in, which is either TRUE or FALSE # Let's use that here. Perhaps there is a better (set by gtk macro?) variable? if test $coot_gtk2 = TRUE ; then - GUILE_GTK_LIBS=$guile_gtk_prefix/lib/libguilegtk-2.0.la + GUILE_GTK_LIBS="-L$guile_gtk_prefix/lib -lguilegtk-2.0" else - GUILE_GTK_LIBS=$guile_gtk_prefix/lib/libguilegtk-1.2.la + GUILE_GTK_LIBS="-L$guile_gtk_prefix/lib -lguilegtk-1.2" fi # do we need to set this in fact? GUILE_GTK_CFLAGS="-I$guile_gtk_prefix/include"