hal 0.5.14 released

Michael Biebl mbiebl at gmail.com
Fri Dec 4 01:32:42 PST 2009


2009/12/3 Joe Marcus Clarke <marcus at marcuscom.com>:
> On Tue, 2009-12-01 at 00:54 -0600, Robby Workman wrote:
>> On Tue, 01 Dec 2009 01:44:50 -0500
>> Joe Marcus Clarke <marcus at marcuscom.com> wrote:
>>
>> > This will tell me if it compiles, but not if it will work on FreeBSD.
>> > It should, though.
>>
>> After applying the patch (to 0.5.14 released sources) and running
>> autoreconf, I get this:
>>
>>   configure: error: conditional "HAVE_LIBUSB20" was never defined.
>>   Usually this means the macro was only invoked conditionally.
>
> Yeah, I got too greedy in my patch.  Try this version.

The logic is pretty weird.
First you set USE_LIBUSB20=no and USE_LIBUSB=no
if you then find LIBUSB20, you won't check for LIBUSB so

AM_CONDITIONAL([HAVE_LIBUSB20],[test "x$USE_LIBUSB20" = "xyes"])
AM_CONDITIONAL([HAVE_LIBUSB20],[test "x$USE_LIBUSB" = "xyes"])

will first set HAVE_LIBUSB20 to yes and then to no.

I guess you need to rework this again.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the hal mailing list