Hi, Marc Nieper-Wißkirchen wrote: > Linux systems have libuuid but this may not be present on other POSIX > systems.
The first choice should be to use libuuid itself on the other systems. In fact, the libuuid source (part of util-linux) is already autoconfiguring and seems to support even native Windows. The second choice, if the first choice fails, would be to create an API- and link-compatible replacement for libuuid for the other systems. This is probably best done separately from Gnulib. As for the "not present" argument, the best way is probably to talk with the distributions to include libuuid. MacPorts, HaikuPorts, OpenPKG, pkgsrc already have it [1]. You could propose it for the other ones (the BSDs, Fink & Homebrew, Cygwin, CSW & OpenIndiana, etc.) You can surely, as a fallback, package the libuuid source in a subdirectory of your package. If that is successful and other packages have the same need, we can talk about moving that to Gnulib. But I feel that the other options should be explored first. Bruno [1] https://repology.org/metapackage/libuuid/versions
