--- ../php/configure.orig	Mon Aug  9 20:35:31 1999
+++ ../php/configure	Tue Aug 17 09:45:15 1999
@@ -7954,32 +7954,13 @@
   if test -n "$unique" && test "`eval $cmd`" = "" ; then
     eval "LIBPATH$unique=set"
     
-    EXTRA_LIBS="$EXTRA_LIBS -L$ai_p"
-    RAW_RPATHS="$RAW_RPATHS ${raw_runpath_switch}$ai_p"
-    if test -n "$APXS" ; then
-      RPATHS="$RPATHS ${apxs_runpath_switch}$ai_p'"
-    else
-      RPATHS="$RPATHS ${ld_runpath_switch}$ai_p"
-    fi
+    EXTRA_LIBS="$EXTRA_LIBS $ai_p/libc-client4.a"
   
   fi
-
-
-  
   
-  unique=`echo $ac_n "$IMAP_LIB$ac_c" | tr -c -d a-zA-Z0-9`
-  cmd="echo $ac_n \"\$LIBRARY$unique$ac_c\""
-  if test -n "$unique" && test "`eval $cmd`" = "" ; then
-    eval "LIBRARY$unique=set"
-    
-    EXTRA_LIBS="$EXTRA_LIBS -l$IMAP_LIB"
-  
-  fi
 
 
 
-		
-  
   if test -z "$IMAP_INC_DIR" || echo "$IMAP_INC_DIR" | grep '^/' >/dev/null ; then
     ai_p="$IMAP_INC_DIR"
   else
