Skip to content

Commit

Permalink
Add check for libuuid in top-level configure
Browse files Browse the repository at this point in the history
This should save the mess of having to wait for zeromq's configure before
realizing you are missing libuuid.
  • Loading branch information
Beirdo committed Jul 19, 2012
1 parent 71f462c commit 354fd02
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mythtv/configure
Expand Up @@ -1548,6 +1548,7 @@ MYTHTV_HAVE_LIST='
gettimeofday
posix_fadvise
libudev
libuuid
stdint_h
sync_file_range
sys_endian_h
Expand Down Expand Up @@ -3540,6 +3541,7 @@ EOF
! disabled joystick_menu && enable joystick_menu
enable dv1394
enable libudev
enable libuuid
;;
irix*)
target_os=irix
Expand Down Expand Up @@ -4099,6 +4101,12 @@ if enabled pthreads; then
check_func pthread_cancel
fi

# Check for libuuid for zeromq
enabled libuuid && check_lib uuid/uuid.h uuid_generate -luuid || disable libuuid
if disabled libuuid ; then
die "ERROR: can not find libuuid. (debian uuid-dev; RedHat libuuid-devel)"
fi

# Attempt to use libudev for mediamonitor
enabled libudev && check_lib2 libudev.h udev_new -ludev || disable libudev

Expand Down

0 comments on commit 354fd02

Please sign in to comment.