modules/admin-full: fix wifi join
[project/luci.git] / contrib / package / asterisk-xip / patches / 030-acinclude.patch
1 diff -Nru asterisk-1.4.22.org/acinclude.m4 asterisk-1.4.22/acinclude.m4
2 --- asterisk-1.4.22.org/acinclude.m4    2008-07-22 22:49:41.000000000 +0200
3 +++ asterisk-1.4.22/acinclude.m4        2008-11-29 15:08:07.000000000 +0100
4 @@ -664,7 +664,7 @@
5         [assume the C compiler uses GNU ld @<:@default=no@:>@])],
6      [test "$withval" = no || with_gnu_ld=yes],
7      [with_gnu_ld=no])
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 @@ -769,28 +769,6 @@
14   AC_SUBST([EGREP])
15  ])]) # AST_PROG_EGREP
16  
17 -# AST_PROG_SED
18 -# -----------
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"
28 -     done
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"
35 - AC_SUBST([SED])dnl
36 - rm -f conftest.sed
37 -])# AST_PROG_SED
38 -
39  dnl @synopsis ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
40  dnl
41  dnl @summary figure out how to build C programs using POSIX threads