]> git.pld-linux.org Git - packages/inn.git/blob - inn-ac25x.patch
- release 2
[packages/inn.git] / inn-ac25x.patch
1 --- inn-2.3.2/configure.in.orig Tue Sep 11 21:44:00 2001
2 +++ inn-2.3.2/configure.in      Tue Sep 11 21:56:49 2001
3 @@ -425,7 +425,7 @@
4                  case $i in
5                  inria)
6                          dnl http://www.kame.net/
7 -                        AC_EGREP_CPP(%%%yes%%%, [dnl
8 +                        AC_EGREP_CPP(%%%yes%%%, [
9  #include <netinet/in.h>
10  #ifdef IPV6_INRIA_VERSION
11  %%%yes%%%
12 @@ -435,7 +435,7 @@
13                          ;;
14                  kame)
15                         dnl http://www.kame.net/
16 -                        AC_EGREP_CPP(%%%yes%%%, [dnl
17 +                        AC_EGREP_CPP(%%%yes%%%, [
18  #include <netinet/in.h>
19  #ifdef __KAME__
20  %%%yes%%%
21 @@ -445,7 +445,7 @@
22                          ;;
23                  linux-glibc)
24                          dnl http://www.v6.linux.or.jp/
25 -                        AC_EGREP_CPP(%%%yes%%%, [dnl
26 +                        AC_EGREP_CPP(%%%yes%%%, [
27  #include <features.h>
28  #if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
29  %%%yes%%%
30 @@ -463,7 +463,7 @@
31                          fi
32                          ;;
33                  toshiba)
34 -                        AC_EGREP_CPP(%%%yes%%%, [dnl
35 +                        AC_EGREP_CPP(%%%yes%%%, [
36  #include <sys/param.h>
37  #ifdef _TOSHIBA_INET6
38  %%%yes%%%
39 @@ -474,7 +474,7 @@
40                                  CFLAGS="-DINET6 $CFLAGS"])
41                          ;;
42                  v6d)
43 -                        AC_EGREP_CPP(%%%yes%%%, [dnl
44 +                        AC_EGREP_CPP(%%%yes%%%, [
45  #include </usr/local/v6/include/sys/v6config.h>
46  #ifdef __V6D__
47  %%%yes%%%
48 @@ -485,7 +485,7 @@
49                                 CFLAGS="-I/usr/local/v6/include $CFLAGS"])
50                          ;;
51                  zeta)
52 -                        AC_EGREP_CPP(%%%yes%%%, [dnl
53 +                        AC_EGREP_CPP(%%%yes%%%, [
54  #include <sys/param.h>
55  #ifdef _ZETA_MINAMI_INET6
56  yes
57 @@ -1206,8 +1206,8 @@
58  else
59      ifelse([$5], , :, [$5])
60  fi
61 -undefine([AC_TYPE_NAME])dnl
62 -undefine([AC_CV_NAME])dnl
63 +ifdef([AC_TYPE_NAME],[undefine([AC_TYPE_NAME])])dnl
64 +ifdef([AC_TYPE_NAME],[undefine([AC_CV_NAME])])dnl
65  ])
66  
67  dnl Find a 32 bit type, by trying likely candidates.  First, check for the
68 @@ -1270,11 +1270,11 @@
69  
70  dnl If we don't have fcntl, try to find another locking function.
71  if test x"$ac_cv_func_fcntl" = xno ; then
72 -    AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK),
73 -        AC_CHECK_LIB(bsd, flock, 
74 +    AC_CHECK_FUNC(flock, [AC_DEFINE(HAVE_FLOCK)],
75 +        [AC_CHECK_LIB(bsd, flock, 
76                       AC_DEFINE(HAVE_FLOCK)
77                       LIBS="-lbsd $LIBS",
78 -                     [AC_CHECK_FUNCS(lockf)]))
79 +                     [AC_CHECK_FUNCS(lockf)])])
80  fi
81  
82  dnl If we don't have statvfs, gather some more information for inndf.
This page took 0.093059 seconds and 3 git commands to generate.