]> git.pld-linux.org Git - packages/php.git/blame - php-no_libnsl.patch
new
[packages/php.git] / php-no_libnsl.patch
CommitLineData
ac4d0f5c
SZ
1diff -Naur php-4.0.3RC1/configure.in php-4.0.3RC1-p/configure.in
2--- php-4.0.3RC1/configure.in Sun Sep 10 11:35:48 2000
3+++ php-4.0.3RC1-p/configure.in Mon Sep 25 16:18:19 2000
4@@ -215,12 +215,14 @@
5
6 if test "$php_no_nsl_checks" != "yes"; then
7
8-AC_CHECK_LIB(nsl, gethostname, [
9- AC_ADD_LIBRARY(nsl)
10- AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
11- AC_CHECK_LIB(nsl, gethostbyaddr, [
12+AC_CHECK_FUNC(gethostname, [ ], [
13+ AC_CHECK_LIB(nsl, gethostname, [
14 AC_ADD_LIBRARY(nsl)
15- AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
16+ AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
17+ AC_CHECK_LIB(nsl, gethostbyaddr, [
18+ AC_ADD_LIBRARY(nsl)
19+ AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
20+ ])
21 ])
22
23 fi
This page took 0.029761 seconds and 4 git commands to generate.