-AC_CONFIG_HEADER(config.h)
-
-EXTRA_OBJ=""
-
-#AC_CHECK_HEADERS(sched.h)
-#AC_CHECK_FUNCS(mlockall)
-
-AC_CACHE_CHECK([for sin_len in sock],libnfs_cv_HAVE_SOCK_SIN_LEN,[
-AC_TRY_COMPILE([#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>],
-[struct sockaddr_in sock; sock.sin_len = sizeof(sock);],
-libnfs_cv_HAVE_SOCK_SIN_LEN=yes,libnfs_cv_HAVE_SOCK_SIN_LEN=no)])
-if test x"$libnfs_cv_HAVE_SOCK_SIN_LEN" = x"yes"; then
- AC_DEFINE(HAVE_SOCK_SIN_LEN,1,[Whether the sockaddr_in struct has a sin_len property])
-fi
-AC_SUBST(libdir)
-AC_SUBST(install)
-AC_SUBST(ldconfig)
-AC_SUBST(is_darwin)
-#AC_SUBST(LIBNFS_LDFLAGS)
+# option: logdir
+AC_ARG_WITH([logdir],
+ [AC_HELP_STRING([--with-logdir=DIR],
+ [path to log directory [[LOCALSTATEDIR/log]]])],
+ [LOGDIR=$withval],
+ [LOGDIR='${localstatedir}/log'])
+
+#if test ! -d "$LOGDIR"; then
+# AC_MSG_ERROR([--with-logdir must specify a path])
+#fi
+AC_SUBST(LOGDIR)