]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - tests/plugin/heimdal-t.c
Add real Autoconf probing for SQLite
[kerberos/krb5-strength.git] / tests / plugin / heimdal-t.c
index 6fc561870265e881d23f0c468a86b5b7976b948a..8ea373b7ea22b843f216bc105786523b1d576b4c 100644 (file)
@@ -254,7 +254,7 @@ main(void)
 
 #endif /* !HAVE_CDB */
 
-#ifdef HAVE_SQLITE3
+#ifdef HAVE_SQLITE
 
     /*
      * If built with SQLite, set up krb5.conf to use a SQLite dictionary
@@ -276,13 +276,13 @@ main(void)
     for (i = 0; i < ARRAY_SIZE(principal_tests); i++)
         is_password_test(verifier, &principal_tests[i]);
 
-#else /* !HAVE_SQLITE3 */
+#else /* !HAVE_SQLITE */
 
     /* Otherwise, mark the SQLite tests as skipped. */
     count = ARRAY_SIZE(sqlite_tests) + ARRAY_SIZE(principal_tests);
     skip_block(count * 2 + 1, "not built with SQLite support");
 
-#endif /* !HAVE_SQLITE3 */
+#endif /* !HAVE_SQLITE */
 
     /* Manually clean up after the results of make-krb5-conf. */
     basprintf(&path, "%s/krb5.conf", tmpdir);