summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch')
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch
new file mode 100644
index 0000000000..73f5a062ef
--- /dev/null
+++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch
@@ -0,0 +1,37 @@
1--- lrzsz-0.12.20/acinclude.m4~autotools 1998-12-27 17:08:59.000000000 -0500
2+++ lrzsz-0.12.20/acinclude.m4 2004-05-09 22:26:19.000000000 -0400
3@@ -1,12 +1,11 @@
4 dnl AC_REPLACE_GNU_GETOPT
5-AC_DEFUN(AC_REPLACE_GNU_GETOPT,
6-[AC_CHECK_FUNC(getopt_long, , [LIBOBJS="$LIBOBJS getopt1.o getopt.o"])
7-AC_SUBST(LIBOBJS)dnl
8-])
9+AC_DEFUN([AC_REPLACE_GNU_GETOPT],
10+[AC_CHECK_FUNC(getopt_long, , [AC_LIBOBJ([getopt1])
11+AC_LIBOBJ([getopt])dnl])])
12
13 dnl
14 dnl taken from taylor uucp
15-AC_DEFUN(LRZSZ_ERRNO_DECL,[
16+AC_DEFUN([LRZSZ_ERRNO_DECL],[
17 AC_MSG_CHECKING(for errno declaration)
18 AC_CACHE_VAL(lrzsz_cv_decl_errno,
19 [AC_TRY_COMPILE([#include <errno.h>], [int i = errno; errno = 1;],
20@@ -23,7 +21,7 @@
21 ])
22
23 dnl LRZSZ_TYPE_SPEED_T
24-AC_DEFUN(LRZSZ_TYPE_SPEED_T,[
25+AC_DEFUN([LRZSZ_TYPE_SPEED_T],[
26 AC_REQUIRE([AC_HEADER_STDC])dnl
27 AC_REQUIRE([LRZSZ_HEADERS_TERM_IO])dnl
28 AC_MSG_CHECKING(for speed_t)
29@@ -61,7 +59,7 @@
30 fi
31 ])
32
33-AC_DEFUN(lrzsz_HEADER_SYS_SELECT,
34+AC_DEFUN([lrzsz_HEADER_SYS_SELECT],
35 [AC_CACHE_CHECK([whether sys/time.h and sys/select.h may both be included],
36 lrzsz_cv_header_sys_select,
37 [AC_TRY_COMPILE([#include <sys/types.h>