|
From: | Gijs van Tulder |
Subject: | Re: [Bug-wget] WARC, new version |
Date: | Mon, 24 Oct 2011 00:15:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110923 Thunderbird/7.0 |
Hi Giuseppe, Giuseppe Scrivano wrote:
I wonder if it is possible to remove the dependency from libuuid, maybe provide replacement for uuid_generate and uuid_unparse when libuuid is not found? Even a simple implementation based on rand?
Thanks for your reply. I've attached a new version of the patch that includes a fallback function that generates UUIDs from rand (version 4 from RFC 4122, the UUID description). The only problem is that I can't figure out how to get ./configure to enable this function based on the availability of libuuid.
You're probably more familiar with the workings of autoconf, so it would be great if you could have a look at that. I've added #ifdef HAVE_LIBUUID to the sections of src/warc.c that depend on libuuid, but whatever I tried, I just couldn't set that from ./configure.
Thanks, Gijs
wget-warc-patch-20111023.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |