Correct autoconf script for finding UUID support.
authorDavid M. Lee <dlee@digium.com>
Mon, 3 Jun 2013 15:57:42 +0000 (15:57 +0000)
committerDavid M. Lee <dlee@digium.com>
Mon, 3 Jun 2013 15:57:42 +0000 (15:57 +0000)
commit6d805dc04ba180f531cabe780b1187352609395f
tree147928c28af1261eb5ee98e19dacee5d7ead15ce
parent1458a20e47fc1cab9a22a961bff0745f7368b447
Correct autoconf script for finding UUID support.

The library that provides UUID support varies greatly from system to
system. On most Linux distros, it's in libuuid. On OpenBSD, it's in
libe2fs-uuid. On OS X, it is in libsystem.

This patch plays hide-and-seek with UUID support, looking for it in the
three places we know about. It also corrects the Makefile so that it uses
the configured library name and include path.

(closes issue ASTERISK-21816)
Reported by: Brad Latus (snuffy)
Tested by: Brad Latus (snuffy)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configure
configure.ac
include/asterisk/autoconfig.h.in
main/Makefile
makeopts.in