CVS update: php31

From: Date: Tue, 11 Aug 1998 14:25:40 +0000
Subject: CVS update: php31
Groups: php.dev 
Request: Send a blank email to php-dev+get-102@lists.php.net to get a copy of this message
Date: Tuesday August 11, 1998 @ 10:25 Author: rasmus Update of /repository/php31 In directory asf:/tmp/cvs-serv1266 Modified Files: configure.in.in Log Message: php31 CGI version now builds ok on Linux Index: php31/configure.in.in diff -c php31/configure.in.in:2.3 php31/configure.in.in:2.4 *** php31/configure.in.in:2.3 Tue Aug 11 08:10:58 1998 --- php31/configure.in.in Tue Aug 11 10:25:39 1998 *************** *** 1,4 **** ! dnl ## $Id: configure.in.in,v 2.3 1998/08/11 12:10:58 ssb Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. dnl ## diversion 1 is the initial checking of OS features, programs, --- 1,4 ---- ! dnl ## $Id: configure.in.in,v 2.4 1998/08/11 14:25:39 rasmus Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. dnl ## diversion 1 is the initial checking of OS features, programs, *************** *** 55,60 **** --- 55,75 ---- AC_CHECK_LIB(nsl, gethostbyaddr, [ LIBS="-lnsl $LIBS" AC_DEFINE(HAVE_LIBNSL) ], []) ]) + + dnl The res_search may be in libsocket as well, and if it is + dnl make sure to check for dn_skipname in libresolv, or if res_search + dnl is in neither of these libs, still check for dn_skipname in libresolv + AC_CHECK_LIB(socket, res_search, [ + AC_CHECK_LIB(resolv, dn_skipname) + LIBS="$LIBS -lsocket" + AC_DEFINE(HAVE_LIBSOCKET) ], [ + AC_CHECK_LIB(resolv, res_search, [ + LIBS="$LIBS -lresolv" + AC_DEFINE(HAVE_LIBRESOLV) + ], [ + AC_CHECK_LIB(resolv, dn_skipname) + ]) + ]) AC_CHECK_LIB(c, crypt, [:], [ AC_CHECK_LIB(crypt, crypt, [ -- 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

« previous php.dev (#102) next »