X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=configure.in;h=80975b82649e3e326a54555c4d49c9d044b96c1f;hb=9764499136fabafc7f7d71f84e2df4ff29d242c4;hp=3b7383f4b7ab38ce8f4fed2682597e6147a14406;hpb=df018dd97539f574cc50fc0c97e4036716a1d4bf;p=openldap diff --git a/configure.in b/configure.in index 3b7383f4b7..80975b8264 100644 --- a/configure.in +++ b/configure.in @@ -1012,9 +1012,11 @@ dnl UUID Support have_uuid=no AC_CHECK_HEADERS(sys/uuid.h) +dnl The HAVE_UUID_TO_STR code path also needs uuid_create if test $ac_cv_header_sys_uuid_h = yes ; then save_LIBS="$LIBS" AC_SEARCH_LIBS([uuid_to_str], [uuid], [have_uuid=yes], :) + AC_SEARCH_LIBS([uuid_create], [uuid], :, [have_uuid=no]) LIBS="$save_LIBS" if test $have_uuid = yes ; then @@ -1027,11 +1029,13 @@ if test $ac_cv_header_sys_uuid_h = yes ; then fi dnl Look for uuid_generate +dnl The HAVE_UUID_GENERATE code path also needs uuid_unparse_lower if test $have_uuid = no ; then AC_CHECK_HEADERS(uuid/uuid.h) if test $ac_cv_header_uuid_uuid_h = yes ; then save_LIBS="$LIBS" AC_SEARCH_LIBS([uuid_generate], [uuid], [have_uuid=yes], :) + AC_SEARCH_LIBS([uuid_unparse_lower], [uuid], :, [have_uuid=no]) LIBS="$save_LIBS" if test $have_uuid = yes ; then