CVS update: php3
| From: | martin | Date: | Fri, 25 Sep 1998 14:07:30 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1496@lists.php.net to get a copy of this message | ||
Date: Friday September 25, 1998 @ 10:07
Author: martin
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv29517
Modified Files:
configure.in
Log Message:
In many SVR4 systems, libsocket depends on (references symbols from) libnsl.
Use an additional test for "gethostname() in libnsl" before testing
"socket() in libsocket", because without it the test for socket() fails.
Index: php3/configure.in
diff -c php3/configure.in:1.258 php3/configure.in:1.259
*** php3/configure.in:1.258 Fri Sep 25 09:37:29 1998
--- php3/configure.in Fri Sep 25 10:07:28 1998
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.258 1998/09/25 13:37:29 martin Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.259 1998/09/25 14:07:28 martin Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
***************
*** 54,59 ****
--- 54,63 ----
fi
AC_PREFERRED_DB_LIB
+
+ AC_CHECK_LIB(nsl, gethostname, [
+ LIBS="-lnsl $LIBS"
+ AC_DEFINE(HAVE_LIBNSL) ], [])
AC_CHECK_LIB(c, socket, [:], [
AC_CHECK_LIB(socket, socket, [
--
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