CVS update: php3
| From: | rasmus | Date: | Thu, 25 Feb 1999 16:13:58 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4286@lists.php.net to get a copy of this message | ||
Date: Thursday February 25, 1999 @ 11:13
Author: rasmus
Update of /repository/php3
In directory asf:/u/temp/cvs-serv578
Modified Files:
configure.in
Log Message:
Oops, need -lpthread on Linux if we are using the Netscape LDAP SDK
Index: php3/configure.in
diff -c php3/configure.in:1.326 php3/configure.in:1.327
*** php3/configure.in:1.326 Thu Feb 25 10:53:21 1999
--- php3/configure.in Thu Feb 25 11:13:58 1999
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.326 1999/02/25 15:53:21 rasmus Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.327 1999/02/25 16:13:58 rasmus Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
***************
*** 1255,1270 ****
fi
fi
if test -f $LDAP_LIBDIR/liblber.a; then
LDAP_LIBS="-lldap -llber"
elif test -f $LDAP_LIBDIR/libldapssl30.so; then
! LDAP_LIBS="-lldapssl30"
AC_DEFINE(HAVE_NSLDAP)
elif test -f $LDAP_LIBDIR/libldapssl30.sl; then
LDAP_LIBS="-lldapssl30"
AC_DEFINE(HAVE_NSLDAP)
elif test -f $LDAP_LIBDIR/libldap30.so; then
! LDAP_LIBS="-lldap30"
AC_DEFINE(HAVE_NSLDAP)
elif test -f $LDAP_LIBDIR/libldap30.sl; then
LDAP_LIBS="-lldap30"
--- 1255,1280 ----
fi
fi
+ dnl The Linux version of the SDK need -lpthread
+ dnl I have tested Solaris, and it doesn't, but others may. Add
+ dnl these here if necessary. -RL
+
+ if test
uname = "Linux"; then
+ LDAP_PTHREAD="-lpthread"
+ else
+ LDAP_PTHREAD=
+ fi
+
if test -f $LDAP_LIBDIR/liblber.a; then
LDAP_LIBS="-lldap -llber"
elif test -f $LDAP_LIBDIR/libldapssl30.so; then
! LDAP_LIBS="-lldapssl30 $LDAP_PTHREAD"
AC_DEFINE(HAVE_NSLDAP)
elif test -f $LDAP_LIBDIR/libldapssl30.sl; then
LDAP_LIBS="-lldapssl30"
AC_DEFINE(HAVE_NSLDAP)
elif test -f $LDAP_LIBDIR/libldap30.so; then
! LDAP_LIBS="-lldap30 $LDAP_PTHREAD"
AC_DEFINE(HAVE_NSLDAP)
elif test -f $LDAP_LIBDIR/libldap30.sl; then
LDAP_LIBS="-lldap30"
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net