|
From: Lutz M. <lut...@gm...> - 2011-07-25 06:07:01
|
On Sun, Jul 24, 2011 at 12:16 AM, Mojca Miklavec <moj...@gm...> wrote: > On Sun, Jul 24, 2011 at 05:05, Ethan Merritt <merritt@u.washington.edu> wrote: >> On Saturday, 23 July 2011, Mojca Miklavec wrote: >>> Just replace "-laquaterm" with "-framework AquaTerm". Everywhere. >>> (Some users argued that one should better use "-Wl,-framework >>> -Wl,AquaTerm". >> >> It appears a grand total of one place, in m4/apple.m4 >> So OK, I've changed this one place and commited it to CVS. >> Could you please confirm that it works from a fresh check-out? > > Thank you very much. But this wasn't quite enough and there are still > a few problems. (It still works with the old setup, but not yet on the > new one ...) I haven't had a chance to try Ethan's change yet, but I believe that the predefined AC_CHECK_LIB macro that is used in m4/apple.m4 generates the test in ./configure that attempts to link against the aquaterm dynamic library. To replace that by a test that links against the aquaterm framework, one would have to write a new macro (let's call it AC_CHECK_FRAMEWORK), which could probably be based on the predefined AC_CHECK_LIB macro. The other thread already mentions two possible solutions found on the web, another might be this one: http://trac.imagemagick.org/browser/ImageMagick/trunk/m4/framework.m4 This one seems to be very similar to the AC_CHECK_LIB macro that ships with autoconf: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/libs.m4 Hope this helps, Lutz |