OSDN Git Service

configure.ac: Restructure uuid library detection.
authorErik Larsson <mechie@users.sourceforge.net>
Tue, 6 Nov 2012 09:30:48 +0000 (10:30 +0100)
committerErik Larsson <mechie@users.sourceforge.net>
Tue, 6 Nov 2012 09:30:48 +0000 (10:30 +0100)
commitea55e5e3c83879a97b850f9965a3d578d0a8f167
tree4b052d2456332c4e98802b3d93d246910dcac8b8
parent11a7e8297d665f2d600a161d72b2852dec8da7bd
configure.ac: Restructure uuid library detection.

The 'uuid' library functionality may be located in a separate 'uuid'
library, but it may also be included in the standard C library. This is
the case on Mac OS X.

Instead of relying on the uuid code being located in a 'uuid' library,
we restructure the code so that it checks different libraries, in order
for the 'uuid_generate' function. This code is easy to extend if we
would find a new configuration where uuid_generate is located in a
different library.
configure.ac