blob: 394519855e1bec1a42d3dd726e38b518df749780 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-Status: Inappropriate [configuration]
2
3--- lrzsz-0.12.20/acinclude.m4~autotools 1998-12-27 17:08:59.000000000 -0500
4+++ lrzsz-0.12.20/acinclude.m4 2004-05-09 22:26:19.000000000 -0400
5@@ -1,12 +1,11 @@
6 dnl AC_REPLACE_GNU_GETOPT
7-AC_DEFUN(AC_REPLACE_GNU_GETOPT,
8-[AC_CHECK_FUNC(getopt_long, , [LIBOBJS="$LIBOBJS getopt1.o getopt.o"])
9-AC_SUBST(LIBOBJS)dnl
10-])
11+AC_DEFUN([AC_REPLACE_GNU_GETOPT],
12+[AC_CHECK_FUNC(getopt_long, , [AC_LIBOBJ([getopt1])
13+AC_LIBOBJ([getopt])dnl])])
14
15 dnl
16 dnl taken from taylor uucp
17-AC_DEFUN(LRZSZ_ERRNO_DECL,[
18+AC_DEFUN([LRZSZ_ERRNO_DECL],[
19 AC_MSG_CHECKING(for errno declaration)
20 AC_CACHE_VAL(lrzsz_cv_decl_errno,
21 [AC_TRY_COMPILE([#include <errno.h>], [int i = errno; errno = 1;],
22@@ -23,7 +21,7 @@
23 ])
24
25 dnl LRZSZ_TYPE_SPEED_T
26-AC_DEFUN(LRZSZ_TYPE_SPEED_T,[
27+AC_DEFUN([LRZSZ_TYPE_SPEED_T],[
28 AC_REQUIRE([AC_HEADER_STDC])dnl
29 AC_REQUIRE([LRZSZ_HEADERS_TERM_IO])dnl
30 AC_MSG_CHECKING(for speed_t)
31@@ -61,7 +59,7 @@
32 fi
33 ])
34
35-AC_DEFUN(lrzsz_HEADER_SYS_SELECT,
36+AC_DEFUN([lrzsz_HEADER_SYS_SELECT],
37 [AC_CACHE_CHECK([whether sys/time.h and sys/select.h may both be included],
38 lrzsz_cv_header_sys_select,
39 [AC_TRY_COMPILE([#include <sys/types.h>