]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/inetutils/inetutils-1.4.2/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / inetutils / inetutils-1.4.2 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- inetutils-1.4.2/acinclude.m4~configure      2002-12-11 07:37:59.000000000 -0500
7 +++ inetutils-1.4.2/acinclude.m4        2004-01-26 16:19:05.000000000 -0500
8 @@ -554,7 +554,7 @@
9  dnl VERSION should be either 4 or 5
10  dnl Defines KRB_CFLAGS and KRB_LIBS if found.
11  dnl Defines KRB_IMPL to "Heimdal", "MIT", or "OldMIT", or "none" if not found
12 -AC_DEFUN(IU_CHECK_KRB5,
13 +AC_DEFUN([IU_CHECK_KRB5],
14  [
15   if test "x$iu_cv_lib_krb5_libs" = x; then
16    cache=""
17 --- inetutils-1.4.2/configure.ac~configure      2002-12-22 23:27:37.000000000 -0500
18 +++ inetutils-1.4.2/configure.ac        2004-01-26 16:23:13.000000000 -0500
19 @@ -529,8 +529,8 @@
20  
21  jm_INCLUDED_REGEX(libinetutils/regex.c)
22  
23 -AC_CHECK_FUNC(_obstack_free, ,
24 -  AC_LIBOBJ(obstack) INCLUDES="$INCLUDES obstack.h")
25 +AC_CHECK_FUNC(_obstack_free, ,[
26 +  AC_LIBOBJ(obstack) INCLUDES="$INCLUDES obstack.h"])
27  
28  dnl Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp
29  AC_CHECK_FUNC(setpgid, , AC_DEFINE(setpgid, setpgrp,
30 @@ -538,37 +538,37 @@
31  
32  dnl We use our own version of getopt (including our own header file) if the
33  dnl system one doesn't have getopt_long.
34 -AC_CHECK_FUNC(getopt_long, ,
35 +AC_CHECK_FUNC(getopt_long, ,[
36    AC_LIBOBJ(getopt)
37    AC_LIBOBJ(getopt1)
38 -  INCLUDES="$INCLUDES getopt.h")
39 +  INCLUDES="$INCLUDES getopt.h"])
40  
41  dnl Supply a version of poll() if the libray is missing.
42  dnl syslogd uses poll() unconditionnaly.
43 -AC_CHECK_FUNC(poll, ,
44 +AC_CHECK_FUNC(poll, ,[
45    AC_DEFINE(HAVE_POLL_H, 1, [Define to one if you have <poll.h>])
46    AC_LIBOBJ(poll)
47 -  INCLUDES="$INCLUDES poll.h")
48 +  INCLUDES="$INCLUDES poll.h"])
49  
50  dnl Supply versions of the BSD error reporting functions if the system doesn't
51 -AC_CHECK_FUNC(verrx, ,
52 +AC_CHECK_FUNC(verrx, ,[
53    AC_LIBOBJ(err)
54 -  INCLUDES="$INCLUDES err.h")
55 +  INCLUDES="$INCLUDES err.h"])
56  
57  dnl See if the __PROGNAME variable is defined, otherwise use our own.
58  AC_CHECK_FUNC(__progname,
59    AC_DEFINE(HAVE___PROGNAME, 1, [Define to one if you have __progname]),
60 -  AC_LIBOBJ(__progname))
61 +  [AC_LIBOBJ(__progname)])
62  
63  dnl See if snprintf exists, otherwise just use a bogus version
64  AC_CHECK_FUNC(snprintf,
65    AC_DEFINE(HAVE_SNPRINTF, 1, [Define to one if you have snprintf]),
66 -  AC_LIBOBJ(snprintf))
67 +  [AC_LIBOBJ(snprintf)])
68  
69  dnl See if vsnprintf exists, otherwise use our own.
70  AC_CHECK_FUNC(vsnprintf,
71    AC_DEFINE(HAVE_VSNPRINTF, 1, [FIXME]),
72 -  AC_LIBOBJ(snprintf))
73 +  [AC_LIBOBJ(snprintf)])
74  AH_BOTTOM(
75  [#ifndef HAVE_VSNPRINTF
76  #include <sys/types.h>
77 @@ -581,7 +581,7 @@
78  #endif])
79  
80  dnl See if the system has strerror, and replace it if not
81 -AC_CHECK_FUNC(strerror, , AC_LIBOBJ(strerror))
82 +AC_CHECK_FUNC(strerror, , [AC_LIBOBJ(strerror)])
83  if test "$ac_cv_func_strerror" = no; then
84    # No strerror, so see if the SYS_ERRLIST variable can be used by ours
85    AC_CHECK_FUNC(sys_errlist, AC_DEFINE(HAVE_SYS_ERRLIST, 1,
86 @@ -596,7 +596,7 @@
87  fi
88  
89  dnl See if the system has hstrerror, and replace it if not
90 -AC_CHECK_FUNC(hstrerror, , AC_LIBOBJ(hstrerror))
91 +AC_CHECK_FUNC(hstrerror, , [AC_LIBOBJ(hstrerror)])
92  if test "$ac_cv_func_hstrerror" = yes; then
93    AC_CHECK_DECL(hstrerror, , , [#include <netdb.h>])
94  else