-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)
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" ]
)
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])
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