summaryrefslogtreecommitdiff
path: root/www/php4/patches/patch-aa
blob: 07ed1518ba5e4e0a8eb157d0ab2e82c62f3d156f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-aa,v 1.6 2001/05/14 14:12:28 jlam Exp $

--- configure.in.orig	Mon Apr 30 09:37:22 2001
+++ configure.in
@@ -353,7 +353,8 @@
 
 dnl Check for IPv6 support
 AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support,
-[AC_TRY_COMPILE([#include <sys/socket.h>
+[AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>], [struct sockaddr_in6 s; int i=AF_INET6; s],
   ac_cv_ipv6_support=yes, ac_cv_ipv6_support=no)])
 if test "$ac_cv_ipv6_support" = yes; then
@@ -820,10 +821,6 @@
     PHP_CONFIGURE_PART(Configuring shared libtool)
     $SHELL $srcdir/ltconfig --output=shlibtool --disable-static --srcdir=$srcdir --cache-file=./config.cache $srcdir/ltmain.sh
     SHARED_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool'
-  else
-    PHP_COMPILE='$(COMPILE) -c $< && touch $@'
-    CXX_PHP_COMPILE='$(CXX_COMPILE) -c $< && touch $@'
-  fi
 fi
 
 CC="$old_CC"