The configure.in code for the PKINIT NSS back end version check was
copied from the k5crypto NSS back end version check, but from before
r25181 which added AC_LANG_SOURCE wrappers.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25360
dc483132-0cff-0310-8789-
dd5450dbe970
AC_DEFINE(PKINIT_CRYPTO_IMPL_NSS,1,[Define if pkinit crypto implementation is NSS])
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $PKINIT_CRYPTO_IMPL_CFLAGS"
- AC_COMPILE_IFELSE([
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <nss.h>
#if NSS_VMAJOR < 3 || (NSS_VMAJOR == 3 && NSS_VMINOR < 12)
#error
#elif NSS_VMAJOR == 3 && NSS_VMINOR == 12 && NSS_VPATCH < 11
#error
#endif
- ], [], [AC_MSG_ERROR([NSS version 3.12.11 or later required.])])
+ ])], [], [AC_MSG_ERROR([NSS version 3.12.11 or later required.])])
CFLAGS=$save_CFLAGS
;;
*)