    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
    CONFIG_SHELL='$SHELL'
 diff --git a/configure.in b/configure.in
-index 0b96b8d..cb1d0a2 100644
+index 0b96b8d..cece319 100644
 --- a/configure.in
 +++ b/configure.in
 @@ -96,7 +96,10 @@ AC_MSG_ERROR([--with-ldopts no longer supported; use LDFLAGS= instead]))

+	if test "$prefix" = NONE ; then
+		prefix="`finddir B_COMMON_DIRECTORY`";
+		AC_MSG_RESULT([On $host_os systems, prefix defaults to `finddir B_COMMON_DIRECTORY`])
+		if test "$sbindir" = '${prefix}/sbin' ; then
+			AC_MSG_RESULT([...and sbindir defaults to `finddir B_COMMON_DIRECTORY`/bin])
+			mandir="`finddir B_COMMON_DIRECTORY`/bin"
+		fi

diff --git a/configure b/configure
index d47cef7..9d6fcbe 100755
--- a/configure
+++ b/configure
@@ -1,9 +1,11 @@
