9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas SlebodnikSSS_AC_EXPAND_LIB_DIR()
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas SlebodnikAC_CHECK_HEADERS([unistr.h],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [AC_CHECK_LIB([unistring],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [u8_strlen],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [UNISTRING_LIBS="-lunistring"],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [AC_MSG_ERROR([No usable libunistring library found])],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [-L$sss_extra_libdir])],
826937ebae068e2ebe59dd37c5f12331f09fe3b9Stephen Gallagher [AC_MSG_ERROR([libunistring header files are not installed])]
826937ebae068e2ebe59dd37c5f12331f09fe3b9Stephen Gallagher)
826937ebae068e2ebe59dd37c5f12331f09fe3b9Stephen Gallagher
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas SlebodnikAC_CHECK_HEADERS([unicase.h],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [AC_CHECK_LIB([unistring],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [u8_casecmp],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [UNISTRING_LIBS="-lunistring"],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [AC_MSG_ERROR([No usable libunistring library found])],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [-L$sss_extra_libdir])],
826937ebae068e2ebe59dd37c5f12331f09fe3b9Stephen Gallagher [AC_MSG_ERROR([libunistring header files are not installed])]
872f2d32d979a1dd2145667487f170fec8b5189aStephen Gallagher)
872f2d32d979a1dd2145667487f170fec8b5189aStephen Gallagher
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas SlebodnikAC_CHECK_HEADERS([unistr.h],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [AC_CHECK_LIB([unistring],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [u8_check],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [UNISTRING_LIBS="-lunistring"],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [AC_MSG_ERROR([No usable libunistring library found])],
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik [-L$sss_extra_libdir])],
872f2d32d979a1dd2145667487f170fec8b5189aStephen Gallagher [AC_MSG_ERROR([libunistring header files are not installed])]
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik)
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas Slebodnik
9dbdf62243f01f6aee41c2b5f2976c56da47f25dLukas SlebodnikUNISTRING_LIBS="-L$sss_extra_libdir $UNISTRING_LIBS "