simple
./configure --ur-options --with-imap=/imapdir
add the imap dir pointing to the correct imap directory.
to configure with imap, u must first download and configure your imap...
ftp://ftp.cac.washington.edu/imap/imap-4.7.tar.Z
might want to check for the version..
then gzip -d imap-4.7.tar.Z, tar -xvf imap-4.7.tar, build IMAP
change in to imap-4.7
run make
(where system type is slx for linux with shadow passwords)
change in to c-client
run ln -s /home/progs/imap-4.7/c-client lib
run ln -s /home/progs/imap-4.7/c-client include
(I'm not sure why the links are required but it's the only
way I've been able to get php to compile...)
then
change into ../php-3.0.16
run ./configure --with-apache=../apache_1.3.12
--enable-track-vars
--with-imap=/home/progs/imap-4.7/c-client
--with-mysql
(note the full path in the --with-imap setting,
it is REQUIRED to be the full path)
run make
run make install
and do ur apache installs config.
good luck. email if u have errors as I had a tough time getting the imap to work
cheers
nilesh.