[PHP-DEV] CVS update: php3 From: musone (php-dev <email protected>)
Date: 07/29/98

Date: Wednesday July 29, 1998 @ 0:40
Author: musone

Update of /repository/php3
In directory asf:/tmp/cvs-serv19120

Modified Files:
        ChangeLog configure.in
Log Message:
made configure smarter, and added most options for functions.

Index: php3/ChangeLog
diff -c php3/ChangeLog:1.420 php3/ChangeLog:1.421
*** php3/ChangeLog:1.420 Tue Jul 28 15:22:31 1998
--- php3/ChangeLog Wed Jul 29 00:40:46 1998
***************
*** 1,6 ****
--- 1,7 ----
  PHP 3.0 CHANGE LOG ChangeLog
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
  ?? Version 3.0.3
+ - Added static IMAP support
  - Syntax highlighting was generating additional whitespace - fixed.
  - Added ucwords. Works like ucfirst, but works on all words within a string.
  - Added array_walk() - apply user function to every element of an array
Index: php3/configure.in
diff -c php3/configure.in:1.229 php3/configure.in:1.230
*** php3/configure.in:1.229 Mon Jul 27 11:55:40 1998
--- php3/configure.in Wed Jul 29 00:40:47 1998
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.229 1998/07/27 15:55:40 musone Exp $
  dnl Process this file with autoconf to produce a configure script.
  
  AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.230 1998/07/29 04:40:47 musone Exp $
  dnl Process this file with autoconf to produce a configure script.
  
  AC_INIT(main.c)
***************
*** 442,448 ****
  
  AC_MSG_CHECKING(imap support)
  AC_ARG_WITH(imap,
! [ --with-imap[=DIR] Include IMAP support (DIR is IMAP's include dir and c-client.a dir).],
  [
    if test "$withval" != "no"; then
          if test "$withval" = "yes"; then
--- 442,448 ----
  
  AC_MSG_CHECKING(imap support)
  AC_ARG_WITH(imap,
! [ --with-imap[=DIR] Include IMAP support (DIR is IMAP's include dir and c-client.a dir).],
  [
    if test "$withval" != "no"; then
          if test "$withval" = "yes"; then
***************
*** 450,457 ****
          else
                  IMAP_DIR=$withval
      fi
! IMAP_INCLUDE="-I$IMAP_DIR/include/"
! IMAP_LIBS="-L$IMAP_DIR/lib -lc-client"
                  AC_SUBST(IMAP_INCLUDE)
                  AC_SUBST(IMAP_LIBS)
          AC_DEFINE(HAVE_IMAP)
--- 450,469 ----
          else
                  IMAP_DIR=$withval
      fi
! if test ! -f $IMAP_DIR/include/mail.h; then
! AC_MSG_ERROR(could not find mail.h in $IMAP_DIR/include !)
! fi
! if test ! -f $IMAP_DIR/include/rfc822.h; then
! AC_MSG_ERROR(could not find rfc822.h in $IMAP_DIR/include !)
! fi
! if test ! -f $IMAP_DIR/include/linkage.h; then
! AC_MSG_ERROR(could not find linkage.h in $IMAP_DIR/include !)
! fi
! if test ! -f $IMAP_DIR/lib/c-client.a; then
! AC_MSG_ERROR(could not find c-client.a in $IMAP_DIR/lib !)
! fi
! IMAP_INCLUDE="-I$IMAP_DIR/include/"
! IMAP_LIBS="$IMAP_DIR/lib/c-client.a"
                  AC_SUBST(IMAP_INCLUDE)
                  AC_SUBST(IMAP_LIBS)
          AC_DEFINE(HAVE_IMAP)