]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - tests/plugin/mit-t.c
Add real Autoconf probing for SQLite
[kerberos/krb5-strength.git] / tests / plugin / mit-t.c
index 09401c3101a163109d7477056d97f7b1c7bc44bc..5922ab9a2d8deda95e7845892f9874a064502055 100644 (file)
@@ -354,7 +354,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
@@ -388,13 +388,13 @@ main(void)
         is_password_test(ctx, vtable, data, &principal_tests[i]);
     vtable->close(ctx, data);
 
-#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);