3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
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
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],
15 if test "x$iu_cv_lib_krb5_libs" = x; then
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
21 jm_INCLUDED_REGEX(libinetutils/regex.c)
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"])
28 dnl Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp
29 AC_CHECK_FUNC(setpgid, , AC_DEFINE(setpgid, setpgrp,
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, ,[
38 - INCLUDES="$INCLUDES getopt.h")
39 + INCLUDES="$INCLUDES getopt.h"])
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>])
47 - INCLUDES="$INCLUDES poll.h")
48 + INCLUDES="$INCLUDES poll.h"])
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, ,[
54 - INCLUDES="$INCLUDES err.h")
55 + INCLUDES="$INCLUDES err.h"])
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)])
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)])
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)])
75 [#ifndef HAVE_VSNPRINTF
76 #include <sys/types.h>
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,
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>])