Re: [Pmk-users] Can PMK do things like AC_TRY_RUN?
Brought to you by:
coudercd
|
From: Damien C. <mip...@us...> - 2005-02-01 16:03:06
|
Erik de Castro Lopo wrote: > Hi all, > > I'm the main author of libsndfile and libsamplerate and I'm > investigating alternatives to automake/autoconf/libtool. > > Currently I have a number of custom M4 macros that use AC_TRY_RUN > to detect specific features of the host CPU (with defaults for > cross compiling). An example would be: > > http://www.mega-nerd.com/tmp/clip_mode.m4 > > So, if I wanted to do a test like that, would that test have to > be built into the pmk binary/data files or does pmk have some > other way of doing it? Hi Erik, i've finaly found some time to check your second problem. I knew that one day i'll get this question :) One of the reasons that made me starting PMK was the problem that occured some time ago with trojans hidden in configure scripts. The solution in my mind was to replace scripts by data files. So the threat is located only in pmk code instead of every configure scripts. Until now we always found an alternative for AC_TRY_RUN and i hope we'll always succeed in that :) I've looked quickly at your m4 macro so i get the main idea of what you're checking. Now i'm wondering if this is a bug or a feature, could you provide me an URL that explain a bit more this phenomenon ? Damien |