1 diff -Nru asterisk-1.4.23.1.org/autoconf/ast_prog_ld.m4 asterisk-1.4.23.1/autoconf/ast_prog_ld.m4
2 --- asterisk-1.4.23.1.org/autoconf/ast_prog_ld.m4 2008-10-20 06:45:56.000000000 +0200
3 +++ asterisk-1.4.23.1/autoconf/ast_prog_ld.m4 2009-01-31 15:46:48.000000000 +0100
5 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
6 [test "$withval" = no || with_gnu_ld=yes],
8 -AC_REQUIRE([AST_PROG_SED])dnl
9 +AC_REQUIRE([AC_PROG_SED])dnl
10 AC_REQUIRE([AC_PROG_CC])dnl
11 AC_REQUIRE([AC_CANONICAL_HOST])dnl
12 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
13 diff -Nru asterisk-1.4.23.1.org/autoconf/ast_prog_sed.m4 asterisk-1.4.23.1/autoconf/ast_prog_sed.m4
14 --- asterisk-1.4.23.1.org/autoconf/ast_prog_sed.m4 2008-10-20 06:45:56.000000000 +0200
15 +++ asterisk-1.4.23.1/autoconf/ast_prog_sed.m4 1970-01-01 01:00:00.000000000 +0100
19 -# Check for a fully functional sed program that truncates
20 -# as few characters as possible. Prefer GNU sed if found.
21 -AC_DEFUN([AST_PROG_SED],
22 -[AC_CACHE_CHECK([for a sed that does not truncate output], ac_cv_path_SED,
23 - [dnl ac_script should not contain more than 99 commands (for HP-UX sed),
24 - dnl but more than about 7000 bytes, to catch a limit in Solaris 8 /usr/ucb/sed.
25 - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
26 - for ac_i in 1 2 3 4 5 6 7; do
27 - ac_script="$ac_script$as_nl$ac_script"
29 - echo "$ac_script" | sed 99q >conftest.sed
30 - $as_unset ac_script || ac_script=
31 - _AC_PATH_PROG_FEATURE_CHECK(SED, [sed gsed],
32 - [_AC_FEATURE_CHECK_LENGTH([ac_path_SED], [ac_cv_path_SED],
33 - ["$ac_path_SED" -f conftest.sed])])])
34 - SED="$ac_cv_path_SED"