]> git.sur5r.net Git - openldap/commitdiff
Support --with-ldbm-api/type with warning
authorHoward Chu <hyc@openldap.org>
Thu, 25 Aug 2005 22:46:10 +0000 (22:46 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Aug 2005 22:46:10 +0000 (22:46 +0000)
configure.in

index 05ec2ccb96749b84cbd36d88813722b5f02986c1..420943373ef2b1c2f9be9f7a469b7a75dbf9d0f7 100644 (file)
@@ -302,8 +302,14 @@ OL_ARG_ENABLE(ldap,[    --enable-ldap        enable ldap backend],
        no, [no yes mod], ol_enable_backends)dnl
 OL_ARG_ENABLE(ldbm,[    --enable-ldbm    enable ldbm backend],
        no, [no yes mod], ol_enable_backends)dnl
+AC_WITH(ldbm_api,[
+       AC_MSG_WARN([Please use --enable-ldbm-api instead of --with-ldbm-api])
+       enable_ldbm_api="$with_ldbm_api"])
 OL_ARG_ENABLE(ldbm_api,[      --enable-ldbm-api   use LDBM API],
        auto, [auto berkeley bcompat mdbm gdbm])
+AC_WITH(ldbm_type,[
+       AC_MSG_WARN([Please use --enable-ldbm-type instead of --with-ldbm-type])
+       enable_ldbm_type="$with_ldbm_type"])
 OL_ARG_ENABLE(ldbm_type,[      --enable-ldbm-type  use LDBM type],
        auto, [auto btree hash])
 OL_ARG_ENABLE(meta,[    --enable-meta    enable metadirectory backend],