Ticket #626: 0001-Check-for-explicit-value-or-HAVE_UUID_UNPARSE_LOWER-.patch

File 0001-Check-for-explicit-value-or-HAVE_UUID_UNPARSE_LOWER-.patch, 896 bytes (added by Dagobert Michelsen, 9 years ago)

Fix detection of uuid_unparse_lower

  • configure.ac

    From 83506df0b040989eda490611936319f6c9e80cf3 Mon Sep 17 00:00:00 2001
    From: Dagobert Michelsen <dam@opencsw.org>
    Date: Fri, 20 Sep 2013 21:10:21 +0200
    Subject: [PATCH] Check for explicit value or HAVE_UUID_UNPARSE_LOWER will
     always be set
    
    ---
     configure.ac | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/configure.ac b/configure.ac
    index e12b6a0..6542546 100644
    a b case $enable_backend_chert$enable_backend_brass in  
    721721  dnl Older versions of libuuid (such as that on CentOS 4.7) don't have
    722722  dnl uuid_unparse_lower(), only uuid_unparse().
    723723  AC_LINK_IFELSE([AC_LANG_CALL([], [uuid_unparse_lower])], [found=true], [found=false])
    724   if $found ; then
     724  if test $found = "true"; then
    725725    AC_DEFINE([HAVE_UUID_UNPARSE_LOWER], [1],
    726726              [Define to 1 if you have the 'uuid_unparse_lower' function.])
    727727  fi