]> arthur.barton.de Git - netatalk.git/commitdiff
Clean up --with-did check: "hash" is now an explicit argument.
authorsrittau <srittau>
Wed, 28 Nov 2001 01:02:21 +0000 (01:02 +0000)
committersrittau <srittau>
Wed, 28 Nov 2001 01:02:21 +0000 (01:02 +0000)
configure.in

index a80bb94920e7612894dfe17641844c01c79245b0..e7f7a71d9624d38e055370fb884ab5e85a42e86d 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.133 2001-11-27 22:40:52 jmarcus Exp $
+dnl $Id: configure.in,v 1.134 2001-11-28 01:02:21 srittau Exp $
 dnl configure.in for netatalk
 
 AC_INIT(bin/adv1tov2/adv1tov2.c)
@@ -232,7 +232,7 @@ db3_required=no
 dnl Determine DID scheme
 AC_MSG_CHECKING([for DID scheme to use])
 AC_ARG_WITH(did,
-       [  --with-did=SCHEME       set DID scheme (last,mtab,cnid)],
+       [  --with-did=SCHEME       set DID scheme (last,hash,mtab,cnid)],
        [ did_scheme="$withval" ],
        [ did_scheme="last" ]
 )
@@ -240,6 +240,8 @@ AC_ARG_WITH(did,
 if test "x$did_scheme" = "xlast"; then
        AC_DEFINE(USE_LASTDID, 1)
        AC_MSG_RESULT([last])
+elif test "x$did_scheme" = "xhash"; then
+       AC_MSG_RESULT([inode-based hashing])
 elif test "x$did_scheme" = "xmtab"; then
        AC_DEFINE(DID_MTAB, 1)
        AC_MSG_RESULT([mtab-based DID creation support])
@@ -247,8 +249,6 @@ elif test "x$did_scheme" = "xcnid"; then
        db3_required="yes"
        AC_DEFINE(CNID_DB, 1)
        AC_MSG_RESULT([enabling build with CNID DB support])
-elif test "x$did_scheme" != "xno"; then
-       AC_MSG_RESULT([default])
 else
        AC_MSG_ERROR([unknown DID scheme])
 fi