bea0dc79faf609de8603cb42f190adae544bc8fbJakub HrozekAC_SUBST(UUID_LIBS)
bea0dc79faf609de8603cb42f190adae544bc8fbJakub HrozekAC_SUBST(UUID_CFLAGS)
bea0dc79faf609de8603cb42f190adae544bc8fbJakub HrozekPKG_CHECK_MODULES([UUID], [uuid], [found_uuid=yes], [found_uuid=no])
bea0dc79faf609de8603cb42f190adae544bc8fbJakub HrozekSSS_AC_EXPAND_LIB_DIR()
7c67679ba86682d8c2afea404ec0229641a7f473Lukas SlebodnikAS_IF([test x"$found_uuid" != xyes],
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozek [AC_CHECK_HEADERS([uuid/uuid.h],
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozek [AC_CHECK_LIB([uuid],
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozek [uuid_generate],
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozek [UUID_LIBS="-L$sss_extra_libdir -luuid"],
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozek [AC_MSG_ERROR([libuuid missing uuid_generate])],
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozek [-L$sss_extra_libdir -luuid])],
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozek [AC_MSG_ERROR([
bea0dc79faf609de8603cb42f190adae544bc8fbJakub HrozekYou must have the header file uuid.h installed to build sssd
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozekwith KCM responder. If you want to build sssd without KCM responder
bea0dc79faf609de8603cb42f190adae544bc8fbJakub Hrozekthen specify --without-kcm when running configure.])])])