<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18556">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ast_pkgconfig.m4: AST_PKG_CONFIG_CHECK() relies on sed.<br><br>Make sure that we have a working sed before trying to use it.<br><br>ASTERISK-30059 #close<br><br>Change-Id: I9abad67a5df11b665d480feec304ab9d6f55cc76<br>---<br>M autoconf/ast_pkgconfig.m4<br>M configure<br>M menuselect/configure<br>3 files changed, 95 insertions(+), 94 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/autoconf/ast_pkgconfig.m4 b/autoconf/ast_pkgconfig.m4</span><br><span>index 3415ed5..bb9c60c 100644</span><br><span>--- a/autoconf/ast_pkgconfig.m4</span><br><span>+++ b/autoconf/ast_pkgconfig.m4</span><br><span>@@ -2,6 +2,7 @@</span><br><span> # AST_PKG_CONFIG_CHECK([package], [component])</span><br><span> AC_DEFUN([AST_PKG_CONFIG_CHECK],</span><br><span> [</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_REQUIRE([AST_PROG_SED])dnl</span><br><span> if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then</span><br><span> PKG_CHECK_MODULES($1, $2, [</span><br><span> PBX_$1=1</span><br><span>diff --git a/configure b/configure</span><br><span>index ac26b46..6c913f0 100755</span><br><span>--- a/configure</span><br><span>+++ b/configure</span><br><span>@@ -10210,7 +10210,7 @@</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system openssl > 1.1.0" >&5</span><br><span> printf "%s\n" "$as_me: checking whether system openssl > 1.1.0" >&6;}</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_OPENSSL}" != "x1" -a "${USE_OPENSSL}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_OPENSSL}" != "x1" -a "${USE_OPENSSL}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl >= 1.1.0" >&5</span><br><span>@@ -10301,7 +10301,7 @@</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether alternate openssl11 is installed" >&5</span><br><span> printf "%s\n" "$as_me: checking whether alternate openssl11 is installed" >&6;}</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_OPENSSL}" != "x1" -a "${USE_OPENSSL}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_OPENSSL}" != "x1" -a "${USE_OPENSSL}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl11" >&5</span><br><span>@@ -10397,7 +10397,7 @@</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking fallback system openssl" >&5</span><br><span> printf "%s\n" "$as_me: checking fallback system openssl" >&6;}</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_OPENSSL}" != "x1" -a "${USE_OPENSSL}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_OPENSSL}" != "x1" -a "${USE_OPENSSL}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5</span><br><span>@@ -14832,7 +14832,7 @@</span><br><span> </span><br><span> # Find required NetBSD Editline library (libedit).</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_LIBEDIT}" != "x1" -a "${USE_LIBEDIT}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_LIBEDIT}" != "x1" -a "${USE_LIBEDIT}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5</span><br><span>@@ -15293,7 +15293,7 @@</span><br><span> # Find required JSON support if bundled is not enabled.</span><br><span> if test "$JANSSON_BUNDLED" = "no" ; then</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_JANSSON}" != "x1" -a "${USE_JANSSON}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_JANSSON}" != "x1" -a "${USE_JANSSON}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jansson >= 2.11" >&5</span><br><span>@@ -15611,7 +15611,7 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_LIBXML2}" != "x1" -a "${USE_LIBXML2}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_LIBXML2}" != "x1" -a "${USE_LIBXML2}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0" >&5</span><br><span>@@ -22886,7 +22886,7 @@</span><br><span> fi</span><br><span> if test "${ILBC_SYSTEM}" = "yes"; then</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_ILBC}" != "x1" -a "${USE_ILBC}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_ILBC}" != "x1" -a "${USE_ILBC}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libilbc" >&5</span><br><span>@@ -25145,7 +25145,7 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_NETSNMP}" != "x1" -a "${USE_NETSNMP}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_NETSNMP}" != "x1" -a "${USE_NETSNMP}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for netsnmp-agent" >&5</span><br><span>@@ -26572,7 +26572,7 @@</span><br><span> if test "$USE_PJPROJECT" != "no" ; then</span><br><span> if test "$PJPROJECT_BUNDLED" = "no" ; then</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_PJPROJECT}" != "x1" -a "${USE_PJPROJECT}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_PJPROJECT}" != "x1" -a "${USE_PJPROJECT}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpjproject" >&5</span><br><span>@@ -27832,7 +27832,7 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python-2.7" >&5</span><br><span>@@ -27920,7 +27920,7 @@</span><br><span> fi</span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python2" >&5</span><br><span>@@ -28008,7 +28008,7 @@</span><br><span> fi</span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python" >&5</span><br><span>@@ -28204,7 +28204,7 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_PORTAUDIO}" != "x1" -a "${USE_PORTAUDIO}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_PORTAUDIO}" != "x1" -a "${USE_PORTAUDIO}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for portaudio-2.0" >&5</span><br><span>@@ -34122,7 +34122,7 @@</span><br><span> </span><br><span> for ver in 3.0 2.6 2.4 2.2 2.0; do</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_GMIME}" != "x1" -a "${USE_GMIME}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_GMIME}" != "x1" -a "${USE_GMIME}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gmime-$ver" >&5</span><br><span>@@ -35482,7 +35482,7 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5</span><br><span>@@ -35593,7 +35593,7 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_SYSTEMD}" != "x1" -a "${USE_SYSTEMD}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_SYSTEMD}" != "x1" -a "${USE_SYSTEMD}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5</span><br><span>diff --git a/menuselect/configure b/menuselect/configure</span><br><span>index 2f461c4..c387d7f 100755</span><br><span>--- a/menuselect/configure</span><br><span>+++ b/menuselect/configure</span><br><span>@@ -657,9 +657,9 @@</span><br><span> GTK2_LIBS</span><br><span> GTK2_CFLAGS</span><br><span> CONFIG_LIBXML2</span><br><span style="color: hsl(0, 100%, 40%);">-SED</span><br><span> LIBXML2_LIBS</span><br><span> LIBXML2_CFLAGS</span><br><span style="color: hsl(120, 100%, 40%);">+SED</span><br><span> HAVE_NCURSES_SUBDIR</span><br><span> PBX_TINFO</span><br><span> TINFO_DIR</span><br><span>@@ -4945,8 +4945,83 @@</span><br><span> </span><br><span> fi</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5</span><br><span style="color: hsl(120, 100%, 40%);">+printf %s "checking for a sed that does not truncate output... " >&6; }</span><br><span style="color: hsl(120, 100%, 40%);">+if test ${ac_cv_path_SED+y}</span><br><span style="color: hsl(120, 100%, 40%);">+then :</span><br><span style="color: hsl(120, 100%, 40%);">+ printf %s "(cached) " >&6</span><br><span style="color: hsl(120, 100%, 40%);">+else $as_nop</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/</span><br><span style="color: hsl(120, 100%, 40%);">+ for ac_i in 1 2 3 4 5 6 7; do</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_script="$ac_script$as_nl$ac_script"</span><br><span style="color: hsl(120, 100%, 40%);">+ done</span><br><span style="color: hsl(120, 100%, 40%);">+ echo "$ac_script" | sed 99q >conftest.sed</span><br><span style="color: hsl(120, 100%, 40%);">+ $as_unset ac_script || ac_script=</span><br><span style="color: hsl(120, 100%, 40%);">+ if test -z "$SED"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_path_SED_found=false</span><br><span style="color: hsl(120, 100%, 40%);">+ # Loop through the user's path and test for each of PROGNAME-LIST</span><br><span style="color: hsl(120, 100%, 40%);">+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR</span><br><span style="color: hsl(120, 100%, 40%);">+for as_dir in $PATH</span><br><span style="color: hsl(120, 100%, 40%);">+do</span><br><span style="color: hsl(120, 100%, 40%);">+ IFS=$as_save_IFS</span><br><span style="color: hsl(120, 100%, 40%);">+ case $as_dir in #(((</span><br><span style="color: hsl(120, 100%, 40%);">+ '') as_dir=./ ;;</span><br><span style="color: hsl(120, 100%, 40%);">+ */) ;;</span><br><span style="color: hsl(120, 100%, 40%);">+ *) as_dir=$as_dir/ ;;</span><br><span style="color: hsl(120, 100%, 40%);">+ esac</span><br><span style="color: hsl(120, 100%, 40%);">+ for ac_prog in sed gsed</span><br><span style="color: hsl(120, 100%, 40%);">+ do</span><br><span style="color: hsl(120, 100%, 40%);">+ for ac_exec_ext in '' $ac_executable_extensions; do</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_path_SED="$as_dir$ac_prog$ac_exec_ext"</span><br><span style="color: hsl(120, 100%, 40%);">+ as_fn_executable_p "$ac_path_SED" || continue</span><br><span style="color: hsl(120, 100%, 40%);">+# Check for GNU ac_path_SED and select it if it is found.</span><br><span style="color: hsl(120, 100%, 40%);">+ # Check for GNU $ac_path_SED</span><br><span style="color: hsl(120, 100%, 40%);">+case `"$ac_path_SED" --version 2>&1` in</span><br><span style="color: hsl(120, 100%, 40%);">+*GNU*)</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;</span><br><span style="color: hsl(120, 100%, 40%);">+*)</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_count=0</span><br><span style="color: hsl(120, 100%, 40%);">+ printf %s 0123456789 >"conftest.in"</span><br><span style="color: hsl(120, 100%, 40%);">+ while :</span><br><span style="color: hsl(120, 100%, 40%);">+ do</span><br><span style="color: hsl(120, 100%, 40%);">+ cat "conftest.in" "conftest.in" >"conftest.tmp"</span><br><span style="color: hsl(120, 100%, 40%);">+ mv "conftest.tmp" "conftest.in"</span><br><span style="color: hsl(120, 100%, 40%);">+ cp "conftest.in" "conftest.nl"</span><br><span style="color: hsl(120, 100%, 40%);">+ printf "%s\n" '' >> "conftest.nl"</span><br><span style="color: hsl(120, 100%, 40%);">+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break</span><br><span style="color: hsl(120, 100%, 40%);">+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break</span><br><span style="color: hsl(120, 100%, 40%);">+ as_fn_arith $ac_count + 1 && ac_count=$as_val</span><br><span style="color: hsl(120, 100%, 40%);">+ if test $ac_count -gt ${ac_path_SED_max-0}; then</span><br><span style="color: hsl(120, 100%, 40%);">+ # Best one so far, save it but keep looking for a better one</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_cv_path_SED="$ac_path_SED"</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_path_SED_max=$ac_count</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ # 10*(2^10) chars as input seems more than enough</span><br><span style="color: hsl(120, 100%, 40%);">+ test $ac_count -gt 10 && break</span><br><span style="color: hsl(120, 100%, 40%);">+ done</span><br><span style="color: hsl(120, 100%, 40%);">+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;</span><br><span style="color: hsl(120, 100%, 40%);">+esac</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_LIBXML2}" != "x1" -a "${USE_LIBXML2}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ $ac_path_SED_found && break 3</span><br><span style="color: hsl(120, 100%, 40%);">+ done</span><br><span style="color: hsl(120, 100%, 40%);">+ done</span><br><span style="color: hsl(120, 100%, 40%);">+ done</span><br><span style="color: hsl(120, 100%, 40%);">+IFS=$as_save_IFS</span><br><span style="color: hsl(120, 100%, 40%);">+ if test -z "$ac_cv_path_SED"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+else</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_cv_path_SED=$SED</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5</span><br><span style="color: hsl(120, 100%, 40%);">+printf "%s\n" "$ac_cv_path_SED" >&6; }</span><br><span style="color: hsl(120, 100%, 40%);">+ SED="$ac_cv_path_SED"</span><br><span style="color: hsl(120, 100%, 40%);">+ rm -f conftest.sed</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_LIBXML2}" != "x1" -a "${USE_LIBXML2}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0" >&5</span><br><span>@@ -5033,81 +5108,6 @@</span><br><span> fi</span><br><span> fi</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5</span><br><span style="color: hsl(0, 100%, 40%);">-printf %s "checking for a sed that does not truncate output... " >&6; }</span><br><span style="color: hsl(0, 100%, 40%);">-if test ${ac_cv_path_SED+y}</span><br><span style="color: hsl(0, 100%, 40%);">-then :</span><br><span style="color: hsl(0, 100%, 40%);">- printf %s "(cached) " >&6</span><br><span style="color: hsl(0, 100%, 40%);">-else $as_nop</span><br><span style="color: hsl(0, 100%, 40%);">- ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/</span><br><span style="color: hsl(0, 100%, 40%);">- for ac_i in 1 2 3 4 5 6 7; do</span><br><span style="color: hsl(0, 100%, 40%);">- ac_script="$ac_script$as_nl$ac_script"</span><br><span style="color: hsl(0, 100%, 40%);">- done</span><br><span style="color: hsl(0, 100%, 40%);">- echo "$ac_script" | sed 99q >conftest.sed</span><br><span style="color: hsl(0, 100%, 40%);">- $as_unset ac_script || ac_script=</span><br><span style="color: hsl(0, 100%, 40%);">- if test -z "$SED"; then</span><br><span style="color: hsl(0, 100%, 40%);">- ac_path_SED_found=false</span><br><span style="color: hsl(0, 100%, 40%);">- # Loop through the user's path and test for each of PROGNAME-LIST</span><br><span style="color: hsl(0, 100%, 40%);">- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR</span><br><span style="color: hsl(0, 100%, 40%);">-for as_dir in $PATH</span><br><span style="color: hsl(0, 100%, 40%);">-do</span><br><span style="color: hsl(0, 100%, 40%);">- IFS=$as_save_IFS</span><br><span style="color: hsl(0, 100%, 40%);">- case $as_dir in #(((</span><br><span style="color: hsl(0, 100%, 40%);">- '') as_dir=./ ;;</span><br><span style="color: hsl(0, 100%, 40%);">- */) ;;</span><br><span style="color: hsl(0, 100%, 40%);">- *) as_dir=$as_dir/ ;;</span><br><span style="color: hsl(0, 100%, 40%);">- esac</span><br><span style="color: hsl(0, 100%, 40%);">- for ac_prog in sed gsed</span><br><span style="color: hsl(0, 100%, 40%);">- do</span><br><span style="color: hsl(0, 100%, 40%);">- for ac_exec_ext in '' $ac_executable_extensions; do</span><br><span style="color: hsl(0, 100%, 40%);">- ac_path_SED="$as_dir$ac_prog$ac_exec_ext"</span><br><span style="color: hsl(0, 100%, 40%);">- as_fn_executable_p "$ac_path_SED" || continue</span><br><span style="color: hsl(0, 100%, 40%);">-# Check for GNU ac_path_SED and select it if it is found.</span><br><span style="color: hsl(0, 100%, 40%);">- # Check for GNU $ac_path_SED</span><br><span style="color: hsl(0, 100%, 40%);">-case `"$ac_path_SED" --version 2>&1` in</span><br><span style="color: hsl(0, 100%, 40%);">-*GNU*)</span><br><span style="color: hsl(0, 100%, 40%);">- ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;</span><br><span style="color: hsl(0, 100%, 40%);">-*)</span><br><span style="color: hsl(0, 100%, 40%);">- ac_count=0</span><br><span style="color: hsl(0, 100%, 40%);">- printf %s 0123456789 >"conftest.in"</span><br><span style="color: hsl(0, 100%, 40%);">- while :</span><br><span style="color: hsl(0, 100%, 40%);">- do</span><br><span style="color: hsl(0, 100%, 40%);">- cat "conftest.in" "conftest.in" >"conftest.tmp"</span><br><span style="color: hsl(0, 100%, 40%);">- mv "conftest.tmp" "conftest.in"</span><br><span style="color: hsl(0, 100%, 40%);">- cp "conftest.in" "conftest.nl"</span><br><span style="color: hsl(0, 100%, 40%);">- printf "%s\n" '' >> "conftest.nl"</span><br><span style="color: hsl(0, 100%, 40%);">- "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break</span><br><span style="color: hsl(0, 100%, 40%);">- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break</span><br><span style="color: hsl(0, 100%, 40%);">- as_fn_arith $ac_count + 1 && ac_count=$as_val</span><br><span style="color: hsl(0, 100%, 40%);">- if test $ac_count -gt ${ac_path_SED_max-0}; then</span><br><span style="color: hsl(0, 100%, 40%);">- # Best one so far, save it but keep looking for a better one</span><br><span style="color: hsl(0, 100%, 40%);">- ac_cv_path_SED="$ac_path_SED"</span><br><span style="color: hsl(0, 100%, 40%);">- ac_path_SED_max=$ac_count</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- # 10*(2^10) chars as input seems more than enough</span><br><span style="color: hsl(0, 100%, 40%);">- test $ac_count -gt 10 && break</span><br><span style="color: hsl(0, 100%, 40%);">- done</span><br><span style="color: hsl(0, 100%, 40%);">- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;</span><br><span style="color: hsl(0, 100%, 40%);">-esac</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- $ac_path_SED_found && break 3</span><br><span style="color: hsl(0, 100%, 40%);">- done</span><br><span style="color: hsl(0, 100%, 40%);">- done</span><br><span style="color: hsl(0, 100%, 40%);">- done</span><br><span style="color: hsl(0, 100%, 40%);">-IFS=$as_save_IFS</span><br><span style="color: hsl(0, 100%, 40%);">- if test -z "$ac_cv_path_SED"; then</span><br><span style="color: hsl(0, 100%, 40%);">- as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">-else</span><br><span style="color: hsl(0, 100%, 40%);">- ac_cv_path_SED=$SED</span><br><span style="color: hsl(0, 100%, 40%);">-fi</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-fi</span><br><span style="color: hsl(0, 100%, 40%);">-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5</span><br><span style="color: hsl(0, 100%, 40%);">-printf "%s\n" "$ac_cv_path_SED" >&6; }</span><br><span style="color: hsl(0, 100%, 40%);">- SED="$ac_cv_path_SED"</span><br><span style="color: hsl(0, 100%, 40%);">- rm -f conftest.sed</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> </span><br><span> if test "x${PBX_LIBXML2}" != "x1" -a "${USE_LIBXML2}" != "no"; then</span><br><span> PBX_LIBXML2=0</span><br><span>@@ -5267,7 +5267,7 @@</span><br><span> fi</span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${PBX_GTK2}" != "x1" -a "${USE_GTK2}" != "no"; then</span><br><span> </span><br><span> pkg_failed=no</span><br><span> { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18556">change 18556</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/18556"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9abad67a5df11b665d480feec304ab9d6f55cc76 </div>
<div style="display:none"> Gerrit-Change-Number: 18556 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>