|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
#! /bin/sh
|
|
|
|
|
# From configure.ac Revision: 46848 .
|
|
|
|
|
# From configure.ac Revision: 47305 .
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
|
# Generated by GNU Autoconf 2.60a.
|
|
|
|
|
#
|
|
|
|
@ -673,7 +673,7 @@ CXXFLAGS
|
|
|
|
|
ac_ct_CXX
|
|
|
|
|
CPP
|
|
|
|
|
CXXCPP
|
|
|
|
|
GREP
|
|
|
|
|
SED
|
|
|
|
|
EGREP
|
|
|
|
|
AWK
|
|
|
|
|
INSTALL_PROGRAM
|
|
|
|
@ -682,6 +682,7 @@ INSTALL_DATA
|
|
|
|
|
LN_S
|
|
|
|
|
GNU_MAKE
|
|
|
|
|
GNU_LD
|
|
|
|
|
GREP
|
|
|
|
|
FIND
|
|
|
|
|
COMPRESS
|
|
|
|
|
BASENAME
|
|
|
|
@ -4651,90 +4652,41 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
# This macro is just copied into our local acinclude.m4 from libtool.m4 so that
|
|
|
|
|
# the developers regenerating the configure script don't have to install libtool.
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
|
|
|
|
|
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
|
|
|
|
|
if test "${lt_cv_path_SED+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
# Loop through the user's path and test for sed and gsed.
|
|
|
|
|
# Then use that list of sed's as ones to test for truncation.
|
|
|
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
|
|
for as_dir in $PATH
|
|
|
|
|
do
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
test -z "$as_dir" && as_dir=.
|
|
|
|
|
for lt_ac_prog in sed gsed; do
|
|
|
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
|
|
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
|
|
|
|
|
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
lt_ac_max=0
|
|
|
|
|
lt_ac_count=0
|
|
|
|
|
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
|
|
|
|
|
# along with /bin/sed that truncates output.
|
|
|
|
|
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
|
|
|
|
|
test ! -f $lt_ac_sed && continue
|
|
|
|
|
cat /dev/null > conftest.in
|
|
|
|
|
lt_ac_count=0
|
|
|
|
|
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
|
|
|
|
|
# Check for GNU sed and select it if it is found.
|
|
|
|
|
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
|
|
|
|
|
lt_cv_path_SED=$lt_ac_sed
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
while true; do
|
|
|
|
|
cat conftest.in conftest.in >conftest.tmp
|
|
|
|
|
mv conftest.tmp conftest.in
|
|
|
|
|
cp conftest.in conftest.nl
|
|
|
|
|
echo >>conftest.nl
|
|
|
|
|
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
|
|
|
|
|
cmp -s conftest.out conftest.nl || break
|
|
|
|
|
# 10000 chars as input seems more than enough
|
|
|
|
|
test $lt_ac_count -gt 10 && break
|
|
|
|
|
lt_ac_count=`expr $lt_ac_count + 1`
|
|
|
|
|
if test $lt_ac_count -gt $lt_ac_max; then
|
|
|
|
|
lt_ac_max=$lt_ac_count
|
|
|
|
|
lt_cv_path_SED=$lt_ac_sed
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
SED=$lt_cv_path_SED
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $SED" >&5
|
|
|
|
|
echo "${ECHO_T}$SED" >&6; }
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
|
|
|
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_path_GREP+set}" = set; then
|
|
|
|
|
if test "${ac_cv_path_SED+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
# Extract the first word of "grep ggrep" to use in msg output
|
|
|
|
|
if test -z "$GREP"; then
|
|
|
|
|
set dummy grep ggrep; ac_prog_name=$2
|
|
|
|
|
if test "${ac_cv_path_GREP+set}" = set; then
|
|
|
|
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
|
|
|
|
for ac_i in 1 2 3 4 5 6 7; do
|
|
|
|
|
ac_script="$ac_script$as_nl$ac_script"
|
|
|
|
|
done
|
|
|
|
|
echo "$ac_script" | sed 99q >conftest.sed
|
|
|
|
|
$as_unset ac_script || ac_script=
|
|
|
|
|
# Extract the first word of "sed gsed" to use in msg output
|
|
|
|
|
if test -z "$SED"; then
|
|
|
|
|
set dummy sed gsed; ac_prog_name=$2
|
|
|
|
|
if test "${ac_cv_path_SED+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_path_GREP_found=false
|
|
|
|
|
ac_path_SED_found=false
|
|
|
|
|
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
|
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
|
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
|
|
|
for as_dir in $PATH
|
|
|
|
|
do
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
test -z "$as_dir" && as_dir=.
|
|
|
|
|
for ac_prog in grep ggrep; do
|
|
|
|
|
for ac_prog in sed gsed; do
|
|
|
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
|
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
|
|
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
|
|
|
|
|
# Check for GNU ac_path_GREP and select it if it is found.
|
|
|
|
|
# Check for GNU $ac_path_GREP
|
|
|
|
|
case `"$ac_path_GREP" --version 2>&1` in
|
|
|
|
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
|
|
{ test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
|
|
|
|
|
# Check for GNU ac_path_SED and select it if it is found.
|
|
|
|
|
# Check for GNU $ac_path_SED
|
|
|
|
|
case `"$ac_path_SED" --version 2>&1` in
|
|
|
|
|
*GNU*)
|
|
|
|
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
|
|
|
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
|
|
|
|
*)
|
|
|
|
|
ac_count=0
|
|
|
|
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
|
|
@ -4743,14 +4695,14 @@ case `"$ac_path_GREP" --version 2>&1` in
|
|
|
|
|
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
|
|
|
mv "conftest.tmp" "conftest.in"
|
|
|
|
|
cp "conftest.in" "conftest.nl"
|
|
|
|
|
echo 'GREP' >> "conftest.nl"
|
|
|
|
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
|
|
|
echo '' >> "conftest.nl"
|
|
|
|
|
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
|
|
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
|
|
|
ac_count=`expr $ac_count + 1`
|
|
|
|
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
|
|
|
if test $ac_count -gt ${ac_path_SED_max-0}; then
|
|
|
|
|
# Best one so far, save it but keep looking for a better one
|
|
|
|
|
ac_cv_path_GREP="$ac_path_GREP"
|
|
|
|
|
ac_path_GREP_max=$ac_count
|
|
|
|
|
ac_cv_path_SED="$ac_path_SED"
|
|
|
|
|
ac_path_SED_max=$ac_count
|
|
|
|
|
fi
|
|
|
|
|
# 10*(2^10) chars as input seems more than enough
|
|
|
|
|
test $ac_count -gt 10 && break
|
|
|
|
@ -4759,7 +4711,7 @@ case `"$ac_path_GREP" --version 2>&1` in
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ac_path_GREP_found && break 3
|
|
|
|
|
$ac_path_SED_found && break 3
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
@ -4769,105 +4721,36 @@ IFS=$as_save_IFS
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
GREP="$ac_cv_path_GREP"
|
|
|
|
|
if test -z "$GREP"; then
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
|
|
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
|
|
|
SED="$ac_cv_path_SED"
|
|
|
|
|
if test -z "$SED"; then
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
|
|
|
|
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
ac_cv_path_GREP=$GREP
|
|
|
|
|
ac_cv_path_SED=$SED
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
|
|
|
GREP="$ac_cv_path_GREP"
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
|
|
|
|
|
SED="$ac_cv_path_SED"
|
|
|
|
|
rm -f conftest.sed
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
|
|
|
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
|
|
|
if test "${ac_cv_prog_egrep+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
|
|
|
then ac_cv_path_EGREP="$GREP -E"
|
|
|
|
|
else
|
|
|
|
|
# Extract the first word of "egrep" to use in msg output
|
|
|
|
|
if test -z "$EGREP"; then
|
|
|
|
|
set dummy egrep; ac_prog_name=$2
|
|
|
|
|
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_path_EGREP_found=false
|
|
|
|
|
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
|
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
|
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
|
|
|
do
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
test -z "$as_dir" && as_dir=.
|
|
|
|
|
for ac_prog in egrep; do
|
|
|
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
|
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
|
|
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
|
|
|
|
|
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
|
|
|
# Check for GNU $ac_path_EGREP
|
|
|
|
|
case `"$ac_path_EGREP" --version 2>&1` in
|
|
|
|
|
*GNU*)
|
|
|
|
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
|
|
|
*)
|
|
|
|
|
ac_count=0
|
|
|
|
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
|
|
|
while :
|
|
|
|
|
do
|
|
|
|
|
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
|
|
|
mv "conftest.tmp" "conftest.in"
|
|
|
|
|
cp "conftest.in" "conftest.nl"
|
|
|
|
|
echo 'EGREP' >> "conftest.nl"
|
|
|
|
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
|
|
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
|
|
|
ac_count=`expr $ac_count + 1`
|
|
|
|
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
|
|
|
# Best one so far, save it but keep looking for a better one
|
|
|
|
|
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
|
|
|
ac_path_EGREP_max=$ac_count
|
|
|
|
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
|
|
|
|
then ac_cv_prog_egrep='grep -E'
|
|
|
|
|
else ac_cv_prog_egrep='egrep'
|
|
|
|
|
fi
|
|
|
|
|
# 10*(2^10) chars as input seems more than enough
|
|
|
|
|
test $ac_count -gt 10 && break
|
|
|
|
|
done
|
|
|
|
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ac_path_EGREP_found && break 3
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
EGREP="$ac_cv_path_EGREP"
|
|
|
|
|
if test -z "$EGREP"; then
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
|
|
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
ac_cv_path_EGREP=$EGREP
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
|
|
|
EGREP="$ac_cv_path_EGREP"
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6; }
|
|
|
|
|
EGREP=$ac_cv_prog_egrep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -6776,6 +6659,168 @@ PBX_ZAPTEL=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
|
|
|
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_path_GREP+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
# Extract the first word of "grep ggrep" to use in msg output
|
|
|
|
|
if test -z "$GREP"; then
|
|
|
|
|
set dummy grep ggrep; ac_prog_name=$2
|
|
|
|
|
if test "${ac_cv_path_GREP+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_path_GREP_found=false
|
|
|
|
|
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
|
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
|
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
|
|
|
do
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
test -z "$as_dir" && as_dir=.
|
|
|
|
|
for ac_prog in grep ggrep; do
|
|
|
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
|
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
|
|
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
|
|
|
|
|
# Check for GNU ac_path_GREP and select it if it is found.
|
|
|
|
|
# Check for GNU $ac_path_GREP
|
|
|
|
|
case `"$ac_path_GREP" --version 2>&1` in
|
|
|
|
|
*GNU*)
|
|
|
|
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
|
|
|
*)
|
|
|
|
|
ac_count=0
|
|
|
|
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
|
|
|
while :
|
|
|
|
|
do
|
|
|
|
|
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
|
|
|
mv "conftest.tmp" "conftest.in"
|
|
|
|
|
cp "conftest.in" "conftest.nl"
|
|
|
|
|
echo 'GREP' >> "conftest.nl"
|
|
|
|
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
|
|
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
|
|
|
ac_count=`expr $ac_count + 1`
|
|
|
|
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
|
|
|
# Best one so far, save it but keep looking for a better one
|
|
|
|
|
ac_cv_path_GREP="$ac_path_GREP"
|
|
|
|
|
ac_path_GREP_max=$ac_count
|
|
|
|
|
fi
|
|
|
|
|
# 10*(2^10) chars as input seems more than enough
|
|
|
|
|
test $ac_count -gt 10 && break
|
|
|
|
|
done
|
|
|
|
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ac_path_GREP_found && break 3
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
GREP="$ac_cv_path_GREP"
|
|
|
|
|
if test -z "$GREP"; then
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
|
|
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
ac_cv_path_GREP=$GREP
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
|
|
|
GREP="$ac_cv_path_GREP"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
|
|
|
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
|
|
|
then ac_cv_path_EGREP="$GREP -E"
|
|
|
|
|
else
|
|
|
|
|
# Extract the first word of "egrep" to use in msg output
|
|
|
|
|
if test -z "$EGREP"; then
|
|
|
|
|
set dummy egrep; ac_prog_name=$2
|
|
|
|
|
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_path_EGREP_found=false
|
|
|
|
|
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
|
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
|
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
|
|
|
do
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
test -z "$as_dir" && as_dir=.
|
|
|
|
|
for ac_prog in egrep; do
|
|
|
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
|
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
|
|
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
|
|
|
|
|
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
|
|
|
# Check for GNU $ac_path_EGREP
|
|
|
|
|
case `"$ac_path_EGREP" --version 2>&1` in
|
|
|
|
|
*GNU*)
|
|
|
|
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
|
|
|
*)
|
|
|
|
|
ac_count=0
|
|
|
|
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
|
|
|
while :
|
|
|
|
|
do
|
|
|
|
|
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
|
|
|
mv "conftest.tmp" "conftest.in"
|
|
|
|
|
cp "conftest.in" "conftest.nl"
|
|
|
|
|
echo 'EGREP' >> "conftest.nl"
|
|
|
|
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
|
|
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
|
|
|
ac_count=`expr $ac_count + 1`
|
|
|
|
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
|
|
|
# Best one so far, save it but keep looking for a better one
|
|
|
|
|
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
|
|
|
ac_path_EGREP_max=$ac_count
|
|
|
|
|
fi
|
|
|
|
|
# 10*(2^10) chars as input seems more than enough
|
|
|
|
|
test $ac_count -gt 10 && break
|
|
|
|
|
done
|
|
|
|
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ac_path_EGREP_found && break 3
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
EGREP="$ac_cv_path_EGREP"
|
|
|
|
|
if test -z "$EGREP"; then
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
|
|
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
ac_cv_path_EGREP=$EGREP
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
|
|
|
EGREP="$ac_cv_path_EGREP"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
|
|
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ac_cv_header_stdc+set}" = set; then
|
|
|
|
@ -34123,7 +34168,7 @@ CXXFLAGS!$CXXFLAGS$ac_delim
|
|
|
|
|
ac_ct_CXX!$ac_ct_CXX$ac_delim
|
|
|
|
|
CPP!$CPP$ac_delim
|
|
|
|
|
CXXCPP!$CXXCPP$ac_delim
|
|
|
|
|
GREP!$GREP$ac_delim
|
|
|
|
|
SED!$SED$ac_delim
|
|
|
|
|
EGREP!$EGREP$ac_delim
|
|
|
|
|
AWK!$AWK$ac_delim
|
|
|
|
|
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
|
|
|
@ -34132,6 +34177,7 @@ INSTALL_DATA!$INSTALL_DATA$ac_delim
|
|
|
|
|
LN_S!$LN_S$ac_delim
|
|
|
|
|
GNU_MAKE!$GNU_MAKE$ac_delim
|
|
|
|
|
GNU_LD!$GNU_LD$ac_delim
|
|
|
|
|
GREP!$GREP$ac_delim
|
|
|
|
|
FIND!$FIND$ac_delim
|
|
|
|
|
COMPRESS!$COMPRESS$ac_delim
|
|
|
|
|
BASENAME!$BASENAME$ac_delim
|
|
|
|
@ -34148,7 +34194,6 @@ CAP_LIB!$CAP_LIB$ac_delim
|
|
|
|
|
CAP_INCLUDE!$CAP_INCLUDE$ac_delim
|
|
|
|
|
PBX_CAP!$PBX_CAP$ac_delim
|
|
|
|
|
CURL_LIB!$CURL_LIB$ac_delim
|
|
|
|
|
CURL_INCLUDE!$CURL_INCLUDE$ac_delim
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
|
|
|
@ -34190,6 +34235,7 @@ _ACEOF
|
|
|
|
|
ac_delim='%!_!# '
|
|
|
|
|
for ac_last_try in false false false false false :; do
|
|
|
|
|
cat >conf$$subs.sed <<_ACEOF
|
|
|
|
|
CURL_INCLUDE!$CURL_INCLUDE$ac_delim
|
|
|
|
|
PBX_CURL!$PBX_CURL$ac_delim
|
|
|
|
|
CURSES_LIB!$CURSES_LIB$ac_delim
|
|
|
|
|
CURSES_INCLUDE!$CURSES_INCLUDE$ac_delim
|
|
|
|
@ -34286,7 +34332,6 @@ TINFO_INCLUDE!$TINFO_INCLUDE$ac_delim
|
|
|
|
|
PBX_TINFO!$PBX_TINFO$ac_delim
|
|
|
|
|
TONEZONE_LIB!$TONEZONE_LIB$ac_delim
|
|
|
|
|
TONEZONE_INCLUDE!$TONEZONE_INCLUDE$ac_delim
|
|
|
|
|
PBX_TONEZONE!$PBX_TONEZONE$ac_delim
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
|
|
|
@ -34328,6 +34373,7 @@ _ACEOF
|
|
|
|
|
ac_delim='%!_!# '
|
|
|
|
|
for ac_last_try in false false false false false :; do
|
|
|
|
|
cat >conf$$subs.sed <<_ACEOF
|
|
|
|
|
PBX_TONEZONE!$PBX_TONEZONE$ac_delim
|
|
|
|
|
VORBIS_LIB!$VORBIS_LIB$ac_delim
|
|
|
|
|
VORBIS_INCLUDE!$VORBIS_INCLUDE$ac_delim
|
|
|
|
|
PBX_VORBIS!$PBX_VORBIS$ac_delim
|
|
|
|
@ -34372,7 +34418,7 @@ CURL!$CURL$ac_delim
|
|
|
|
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
|
|
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 43; then
|
|
|
|
|
break
|
|
|
|
|
elif $ac_last_try; then
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
|
|
|