freebsd-ports/lang/php/files/patch-configure
Peter Pentchev 32be7c61c0 Update to look for c-client 4.8 libs.
Disable mcrypt - it seems PHP does not like mcrypt 2.4.x at all :(

PR:		25131
Submitted by:	Mario Lopez <mario@patas.org> - the c-client alert
2001-02-21 10:23:21 +00:00

39 lines
1.2 KiB
Text

--- configure.old Wed Feb 21 11:11:02 2001
+++ configure Wed Feb 21 11:13:29 2001
@@ -5147,7 +5147,7 @@
withval="$with_imap"
if test "$withval" = "yes"; then
- if test -f /usr/local/include/mail.h; then
+ if test -f /usr/local/include/c-client/mail.h; then
withval=/usr/local
elif test -f /usr/include/mail.h; then
withval=/usr
@@ -5157,8 +5157,8 @@
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
@@ -9231,7 +9231,7 @@
fi
SYBASE_CT_INCLUDE=-I$SYBASE_CT_INCDIR
SYBASE_CT_LFLAGS="-L$SYBASE_CT_LIBDIR"
- SYBASE_CT_LIBS="-lcs -lct -lcomn -lintl"
+ SYBASE_CT_LIBS="-lct"
old_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -L$SYBASE_CT_LIBDIR"
echo $ac_n "checking for netg_errstr in -ltcl""... $ac_c" 1>&6
@@ -9272,7 +9272,6 @@
SYBASE_CT_LIBS="$SYBASE_CT_LIBS -ltcl"
else
echo "$ac_t""no" 1>&6
- SYBASE_CT_LIBS="$SYBASE_CT_LIBS -lsybtcl"
fi
echo $ac_n "checking for insck__getVdate in -linsck""... $ac_c" 1>&6