--- configure.orig	Wed Apr  5 01:32:58 2000
+++ configure	Tue Jul 18 23:39:15 2000
@@ -5133,14 +5133,14 @@
 			withval=/usr/local
 		elif test -f /usr/include/mail.h; then
 			withval=/usr
-		elif test -f /usr/include/imap/mail.h; then
+		elif test -f /usr/include/c-client/mail.h; then
 			withval=/usr
 		fi
     fi
 	if test "$withval" != "no" && test "$withval" != "yes"; then
 		IMAP_DIR=$withval
-		if test -f $IMAP_DIR/include/imap/mail.h; then
-			IMAP_INC_DIR=$IMAP_DIR/include/imap
+		if test -f $IMAP_DIR/include/c-client/mail.h; then
+			IMAP_INC_DIR=$IMAP_DIR/include/c-client
 		else
 			IMAP_INC_DIR=$withval/include
 		fi
