From: Greg Hudson Date: Mon, 17 Oct 2011 17:15:31 +0000 (+0000) Subject: Add AC_LANG_SOURCE to PKINIT NSS version check X-Git-Tag: krb5-1.10-alpha1~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9788068a95e1636202b3d106c11b5bcaf1473660;p=krb5.git Add AC_LANG_SOURCE to PKINIT NSS version check 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 --- diff --git a/src/configure.in b/src/configure.in index 3451173a4..9de430f26 100644 --- a/src/configure.in +++ b/src/configure.in @@ -213,14 +213,14 @@ nss) 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 #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 ;; *)