Ignore:
Timestamp:
Jun 7, 2012 2:24:51 AM (12 years ago)
Author:
ming
Message:

Re #1529: Modify configure script to search for SDL2 first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r4157 r4159  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.67 for pjproject 2.x. 
     3# Generated by GNU Autoconf 2.69 for pjproject 2.x. 
    44# 
    55# 
    6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 
    8 # Foundation, Inc. 
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 
    97# 
    108# 
     
    9088 
    9189# Find who we are.  Look in the path if we contain no directory separator. 
     90as_myself= 
    9291case $0 in #(( 
    9392  *[\\/]* ) as_myself=$0 ;; 
     
    134133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    135134 
     135# Use a proper internal environment variable to ensure we don't fall 
     136  # into an infinite loop, continuously re-executing ourselves. 
     137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 
     138    _as_can_reexec=no; export _as_can_reexec; 
     139    # We cannot yet assume a decent shell, so we have to provide a 
     140# neutralization value for shells without unset; and this also 
     141# works around shells that cannot unset nonexistent variables. 
     142# Preserve -v and -x to the replacement shell. 
     143BASH_ENV=/dev/null 
     144ENV=/dev/null 
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     146case $- in # (((( 
     147  *v*x* | *x*v* ) as_opts=-vx ;; 
     148  *v* ) as_opts=-v ;; 
     149  *x* ) as_opts=-x ;; 
     150  * ) as_opts= ;; 
     151esac 
     152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 
     153# Admittedly, this is quite paranoid, since all the known shells bail 
     154# out after a failed `exec'. 
     155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 
     156as_fn_exit 255 
     157  fi 
     158  # We don't want this to propagate to other subprocesses. 
     159          { _as_can_reexec=; unset _as_can_reexec;} 
    136160if test "x$CONFIG_SHELL" = x; then 
    137161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     
    167191  exitcode=1; echo positional parameters were not saved. 
    168192fi 
    169 test x\$exitcode = x0 || exit 1" 
     193test x\$exitcode = x0 || exit 1 
     194test -x / || exit 1" 
    170195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
    171196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     
    212237 
    213238      if test "x$CONFIG_SHELL" != x; then : 
    214   # We cannot yet assume a decent shell, so we have to provide a 
    215         # neutralization value for shells without unset; and this also 
    216         # works around shells that cannot unset nonexistent variables. 
    217         BASH_ENV=/dev/null 
    218         ENV=/dev/null 
    219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
    220         export CONFIG_SHELL 
    221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     239  export CONFIG_SHELL 
     240             # We cannot yet assume a decent shell, so we have to provide a 
     241# neutralization value for shells without unset; and this also 
     242# works around shells that cannot unset nonexistent variables. 
     243# Preserve -v and -x to the replacement shell. 
     244BASH_ENV=/dev/null 
     245ENV=/dev/null 
     246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     247case $- in # (((( 
     248  *v*x* | *x*v* ) as_opts=-vx ;; 
     249  *v* ) as_opts=-v ;; 
     250  *x* ) as_opts=-x ;; 
     251  * ) as_opts= ;; 
     252esac 
     253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 
     254# Admittedly, this is quite paranoid, since all the known shells bail 
     255# out after a failed `exec'. 
     256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 
     257exit 255 
    222258fi 
    223259 
     
    321357 
    322358} # as_fn_mkdir_p 
     359 
     360# as_fn_executable_p FILE 
     361# ----------------------- 
     362# Test if FILE is an executable regular file. 
     363as_fn_executable_p () 
     364{ 
     365  test -f "$1" && test -x "$1" 
     366} # as_fn_executable_p 
    323367# as_fn_append VAR VALUE 
    324368# ---------------------- 
     
    442486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    443487 
     488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 
     489  # already done that, so ensure we don't try to do so again and fall 
     490  # in an infinite loop.  This has already happened in practice. 
     491  _as_can_reexec=no; export _as_can_reexec 
    444492  # Don't try to exec as it changes $[0], causing all sort of problems 
    445493  # (the dirname of $[0] is not the place where we might find the 
     
    476524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    477525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    478     # In both cases, we have to default to `cp -p'. 
     526    # In both cases, we have to default to `cp -pR'. 
    479527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    480       as_ln_s='cp -p' 
     528      as_ln_s='cp -pR' 
    481529  elif ln conf$$.file conf$$ 2>/dev/null; then 
    482530    as_ln_s=ln 
    483531  else 
    484     as_ln_s='cp -p' 
     532    as_ln_s='cp -pR' 
    485533  fi 
    486534else 
    487   as_ln_s='cp -p' 
     535  as_ln_s='cp -pR' 
    488536fi 
    489537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
     
    497545fi 
    498546 
    499 if test -x / >/dev/null 2>&1; then 
    500   as_test_x='test -x' 
    501 else 
    502   if ls -dL / >/dev/null 2>&1; then 
    503     as_ls_L_option=L 
    504   else 
    505     as_ls_L_option= 
    506   fi 
    507   as_test_x=' 
    508     eval sh -c '\'' 
    509       if test -d "$1"; then 
    510         test -d "$1/."; 
    511       else 
    512         case $1 in #( 
    513         -*)set "./$1";; 
    514         esac; 
    515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    516         ???[sx]*):;;*)false;;esac;fi 
    517     '\'' sh 
    518   ' 
    519 fi 
    520 as_executable_p=$as_test_x 
     547as_test_x='test -x' 
     548as_executable_p=as_fn_executable_p 
    521549 
    522550# Sed expression to map a string onto a valid CPP name. 
     
    11691197    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    11701198      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    1171     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
     1199    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 
    11721200    ;; 
    11731201 
     
    12201248  if test "x$build_alias" = x; then 
    12211249    cross_compiling=maybe 
    1222     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 
    1223     If a cross compiler is detected then cross compile mode will be used" >&2 
    12241250  elif test "x$build_alias" != "x$host_alias"; then 
    12251251    cross_compiling=yes 
     
    15221548  cat <<\_ACEOF 
    15231549pjproject configure 2.x 
    1524 generated by GNU Autoconf 2.67 
    1525  
    1526 Copyright (C) 2010 Free Software Foundation, Inc. 
     1550generated by GNU Autoconf 2.69 
     1551 
     1552Copyright (C) 2012 Free Software Foundation, Inc. 
    15271553This configure script is free software; the Free Software Foundation 
    15281554gives unlimited permission to copy, distribute and modify it. 
     
    15681594        ac_retval=1 
    15691595fi 
    1570   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1596  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    15711597  as_fn_set_status $ac_retval 
    15721598 
     
    16061632        ac_retval=1 
    16071633fi 
    1608   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1634  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16091635  as_fn_set_status $ac_retval 
    16101636 
     
    16381664       } && test -s conftest$ac_exeext && { 
    16391665         test "$cross_compiling" = yes || 
    1640          $as_test_x conftest$ac_exeext 
     1666         test -x conftest$ac_exeext 
    16411667       }; then : 
    16421668  ac_retval=0 
     
    16521678  # left behind by Apple's compiler.  We do this before executing the actions. 
    16531679  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1654   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1680  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16551681  as_fn_set_status $ac_retval 
    16561682 
     
    16941720fi 
    16951721  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1696   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1722  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16971723  as_fn_set_status $ac_retval 
    16981724 
     
    17311757    ac_retval=1 
    17321758fi 
    1733   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1759  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    17341760  as_fn_set_status $ac_retval 
    17351761 
     
    17451771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17461772$as_echo_n "checking for $2... " >&6; } 
    1747 if eval "test \"\${$3+set}\"" = set; then : 
     1773if eval \${$3+:} false; then : 
    17481774  $as_echo_n "(cached) " >&6 
    17491775else 
     
    17631789               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    17641790$as_echo "$ac_res" >&6; } 
    1765   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1791  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    17661792 
    17671793} # ac_fn_c_check_header_compile 
     
    17751801{ 
    17761802  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1777   if eval "test \"\${$3+set}\"" = set; then : 
     1803  if eval \${$3+:} false; then : 
    17781804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17791805$as_echo_n "checking for $2... " >&6; } 
    1780 if eval "test \"\${$3+set}\"" = set; then : 
     1806if eval \${$3+:} false; then : 
    17811807  $as_echo_n "(cached) " >&6 
    17821808fi 
     
    18411867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    18421868$as_echo_n "checking for $2... " >&6; } 
    1843 if eval "test \"\${$3+set}\"" = set; then : 
     1869if eval \${$3+:} false; then : 
    18441870  $as_echo_n "(cached) " >&6 
    18451871else 
     
    18501876$as_echo "$ac_res" >&6; } 
    18511877fi 
    1852   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1878  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    18531879 
    18541880} # ac_fn_c_check_header_mongrel 
     
    18621888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    18631889$as_echo_n "checking for $2... " >&6; } 
    1864 if eval "test \"\${$3+set}\"" = set; then : 
     1890if eval \${$3+:} false; then : 
    18651891  $as_echo_n "(cached) " >&6 
    18661892else 
     
    19171943               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    19181944$as_echo "$ac_res" >&6; } 
    1919   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1945  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    19201946 
    19211947} # ac_fn_c_check_func 
     
    19251951 
    19261952It was created by pjproject $as_me 2.x, which was 
    1927 generated by GNU Autoconf 2.67.  Invocation command line was 
     1953generated by GNU Autoconf 2.69.  Invocation command line was 
    19281954 
    19291955  $ $0 $@ 
     
    21832209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    21842210as_fn_error $? "failed to load site script $ac_site_file 
    2185 See \`config.log' for more details" "$LINENO" 5 ; } 
     2211See \`config.log' for more details" "$LINENO" 5; } 
    21862212  fi 
    21872213done 
     
    23102336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    23112337$as_echo_n "checking build system type... " >&6; } 
    2312 if test "${ac_cv_build+set}" = set; then : 
     2338if ${ac_cv_build+:} false; then : 
    23132339  $as_echo_n "(cached) " >&6 
    23142340else 
     
    23262352case $ac_cv_build in 
    23272353*-*-*) ;; 
    2328 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 
     2354*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 
    23292355esac 
    23302356build=$ac_cv_build 
     
    23442370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    23452371$as_echo_n "checking host system type... " >&6; } 
    2346 if test "${ac_cv_host+set}" = set; then : 
     2372if ${ac_cv_host+:} false; then : 
    23472373  $as_echo_n "(cached) " >&6 
    23482374else 
     
    23592385case $ac_cv_host in 
    23602386*-*-*) ;; 
    2361 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 
     2387*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 
    23622388esac 
    23632389host=$ac_cv_host 
     
    23772403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
    23782404$as_echo_n "checking target system type... " >&6; } 
    2379 if test "${ac_cv_target+set}" = set; then : 
     2405if ${ac_cv_target+:} false; then : 
    23802406  $as_echo_n "(cached) " >&6 
    23812407else 
     
    23922418case $ac_cv_target in 
    23932419*-*-*) ;; 
    2394 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 
     2420*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 
    23952421esac 
    23962422target=$ac_cv_target 
     
    24382464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    24392465$as_echo_n "checking for $ac_word... " >&6; } 
    2440 if test "${ac_cv_prog_CC+set}" = set; then : 
     2466if ${ac_cv_prog_CC+:} false; then : 
    24412467  $as_echo_n "(cached) " >&6 
    24422468else 
     
    24502476  test -z "$as_dir" && as_dir=. 
    24512477    for ac_exec_ext in '' $ac_executable_extensions; do 
    2452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2478  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    24532479    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    24542480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    24782504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    24792505$as_echo_n "checking for $ac_word... " >&6; } 
    2480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2506if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    24812507  $as_echo_n "(cached) " >&6 
    24822508else 
     
    24902516  test -z "$as_dir" && as_dir=. 
    24912517    for ac_exec_ext in '' $ac_executable_extensions; do 
    2492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2518  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    24932519    ac_cv_prog_ac_ct_CC="gcc" 
    24942520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    25312557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    25322558$as_echo_n "checking for $ac_word... " >&6; } 
    2533 if test "${ac_cv_prog_CC+set}" = set; then : 
     2559if ${ac_cv_prog_CC+:} false; then : 
    25342560  $as_echo_n "(cached) " >&6 
    25352561else 
     
    25432569  test -z "$as_dir" && as_dir=. 
    25442570    for ac_exec_ext in '' $ac_executable_extensions; do 
    2545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    25462572    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    25472573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    25712597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    25722598$as_echo_n "checking for $ac_word... " >&6; } 
    2573 if test "${ac_cv_prog_CC+set}" = set; then : 
     2599if ${ac_cv_prog_CC+:} false; then : 
    25742600  $as_echo_n "(cached) " >&6 
    25752601else 
     
    25842610  test -z "$as_dir" && as_dir=. 
    25852611    for ac_exec_ext in '' $ac_executable_extensions; do 
    2586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2612  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    25872613    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
    25882614       ac_prog_rejected=yes 
     
    26302656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    26312657$as_echo_n "checking for $ac_word... " >&6; } 
    2632 if test "${ac_cv_prog_CC+set}" = set; then : 
     2658if ${ac_cv_prog_CC+:} false; then : 
    26332659  $as_echo_n "(cached) " >&6 
    26342660else 
     
    26422668  test -z "$as_dir" && as_dir=. 
    26432669    for ac_exec_ext in '' $ac_executable_extensions; do 
    2644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2670  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    26452671    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    26462672    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    26742700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    26752701$as_echo_n "checking for $ac_word... " >&6; } 
    2676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2702if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    26772703  $as_echo_n "(cached) " >&6 
    26782704else 
     
    26862712  test -z "$as_dir" && as_dir=. 
    26872713    for ac_exec_ext in '' $ac_executable_extensions; do 
    2688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2714  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    26892715    ac_cv_prog_ac_ct_CC="$ac_prog" 
    26902716    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    27292755$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    27302756as_fn_error $? "no acceptable C compiler found in \$PATH 
    2731 See \`config.log' for more details" "$LINENO" 5 ; } 
     2757See \`config.log' for more details" "$LINENO" 5; } 
    27322758 
    27332759# Provide some information about the compiler. 
     
    28442870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    28452871as_fn_error 77 "C compiler cannot create executables 
    2846 See \`config.log' for more details" "$LINENO" 5 ; } 
     2872See \`config.log' for more details" "$LINENO" 5; } 
    28472873else 
    28482874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     
    28872913$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    28882914as_fn_error $? "cannot compute suffix of executables: cannot compile and link 
    2889 See \`config.log' for more details" "$LINENO" 5 ; } 
     2915See \`config.log' for more details" "$LINENO" 5; } 
    28902916fi 
    28912917rm -f conftest conftest$ac_cv_exeext 
     
    29462972as_fn_error $? "cannot run C compiled programs. 
    29472973If you meant to cross compile, use \`--host'. 
    2948 See \`config.log' for more details" "$LINENO" 5 ; } 
     2974See \`config.log' for more details" "$LINENO" 5; } 
    29492975    fi 
    29502976  fi 
     
    29572983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    29582984$as_echo_n "checking for suffix of object files... " >&6; } 
    2959 if test "${ac_cv_objext+set}" = set; then : 
     2985if ${ac_cv_objext+:} false; then : 
    29602986  $as_echo_n "(cached) " >&6 
    29612987else 
     
    29983024$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    29993025as_fn_error $? "cannot compute suffix of object files: cannot compile 
    3000 See \`config.log' for more details" "$LINENO" 5 ; } 
     3026See \`config.log' for more details" "$LINENO" 5; } 
    30013027fi 
    30023028rm -f conftest.$ac_cv_objext conftest.$ac_ext 
     
    30083034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    30093035$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    3010 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     3036if ${ac_cv_c_compiler_gnu+:} false; then : 
    30113037  $as_echo_n "(cached) " >&6 
    30123038else 
     
    30453071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    30463072$as_echo_n "checking whether $CC accepts -g... " >&6; } 
    3047 if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3073if ${ac_cv_prog_cc_g+:} false; then : 
    30483074  $as_echo_n "(cached) " >&6 
    30493075else 
     
    31233149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    31243150$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    3125 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3151if ${ac_cv_prog_cc_c89+:} false; then : 
    31263152  $as_echo_n "(cached) " >&6 
    31273153else 
     
    31323158#include <stdarg.h> 
    31333159#include <stdio.h> 
    3134 #include <sys/types.h> 
    3135 #include <sys/stat.h> 
     3160struct stat; 
    31363161/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
    31373162struct buf { int x; }; 
     
    32343259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    32353260$as_echo_n "checking for $ac_word... " >&6; } 
    3236 if test "${ac_cv_prog_CXX+set}" = set; then : 
     3261if ${ac_cv_prog_CXX+:} false; then : 
    32373262  $as_echo_n "(cached) " >&6 
    32383263else 
     
    32463271  test -z "$as_dir" && as_dir=. 
    32473272    for ac_exec_ext in '' $ac_executable_extensions; do 
    3248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3273  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    32493274    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    32503275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    32783303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    32793304$as_echo_n "checking for $ac_word... " >&6; } 
    3280 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3305if ${ac_cv_prog_ac_ct_CXX+:} false; then : 
    32813306  $as_echo_n "(cached) " >&6 
    32823307else 
     
    32903315  test -z "$as_dir" && as_dir=. 
    32913316    for ac_exec_ext in '' $ac_executable_extensions; do 
    3292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    32933318    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    32943319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    33563381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
    33573382$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
    3358 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3383if ${ac_cv_cxx_compiler_gnu+:} false; then : 
    33593384  $as_echo_n "(cached) " >&6 
    33603385else 
     
    33933418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
    33943419$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
    3395 if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3420if ${ac_cv_prog_cxx_g+:} false; then : 
    33963421  $as_echo_n "(cached) " >&6 
    33973422else 
     
    35533578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
    35543579$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
    3555 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3580if ${ac_cv_lib_pthread_pthread_create+:} false; then : 
    35563581  $as_echo_n "(cached) " >&6 
    35573582else 
     
    35873612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
    35883613$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
    3589 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
     3614if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 
    35903615  cat >>confdefs.h <<_ACEOF 
    35913616#define HAVE_LIBPTHREAD 1 
     
    35983623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
    35993624$as_echo_n "checking for puts in -lwsock32... " >&6; } 
    3600 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3625if ${ac_cv_lib_wsock32_puts+:} false; then : 
    36013626  $as_echo_n "(cached) " >&6 
    36023627else 
     
    36323657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
    36333658$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
    3634 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
     3659if test "x$ac_cv_lib_wsock32_puts" = xyes; then : 
    36353660  cat >>confdefs.h <<_ACEOF 
    36363661#define HAVE_LIBWSOCK32 1 
     
    36433668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
    36443669$as_echo_n "checking for puts in -lws2_32... " >&6; } 
    3645 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3670if ${ac_cv_lib_ws2_32_puts+:} false; then : 
    36463671  $as_echo_n "(cached) " >&6 
    36473672else 
     
    36773702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
    36783703$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
    3679 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
     3704if test "x$ac_cv_lib_ws2_32_puts" = xyes; then : 
    36803705  cat >>confdefs.h <<_ACEOF 
    36813706#define HAVE_LIBWS2_32 1 
     
    36883713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
    36893714$as_echo_n "checking for puts in -lole32... " >&6; } 
    3690 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3715if ${ac_cv_lib_ole32_puts+:} false; then : 
    36913716  $as_echo_n "(cached) " >&6 
    36923717else 
     
    37223747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
    37233748$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
    3724 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
     3749if test "x$ac_cv_lib_ole32_puts" = xyes; then : 
    37253750  cat >>confdefs.h <<_ACEOF 
    37263751#define HAVE_LIBOLE32 1 
     
    37333758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
    37343759$as_echo_n "checking for puts in -lwinmm... " >&6; } 
    3735 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3760if ${ac_cv_lib_winmm_puts+:} false; then : 
    37363761  $as_echo_n "(cached) " >&6 
    37373762else 
     
    37673792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
    37683793$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
    3769 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
     3794if test "x$ac_cv_lib_winmm_puts" = xyes; then : 
    37703795  cat >>confdefs.h <<_ACEOF 
    37713796#define HAVE_LIBWINMM 1 
     
    37783803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
    37793804$as_echo_n "checking for puts in -lsocket... " >&6; } 
    3780 if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3805if ${ac_cv_lib_socket_puts+:} false; then : 
    37813806  $as_echo_n "(cached) " >&6 
    37823807else 
     
    38123837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
    38133838$as_echo "$ac_cv_lib_socket_puts" >&6; } 
    3814 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
     3839if test "x$ac_cv_lib_socket_puts" = xyes; then : 
    38153840  cat >>confdefs.h <<_ACEOF 
    38163841#define HAVE_LIBSOCKET 1 
     
    38233848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
    38243849$as_echo_n "checking for puts in -lrt... " >&6; } 
    3825 if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3850if ${ac_cv_lib_rt_puts+:} false; then : 
    38263851  $as_echo_n "(cached) " >&6 
    38273852else 
     
    38573882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
    38583883$as_echo "$ac_cv_lib_rt_puts" >&6; } 
    3859 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
     3884if test "x$ac_cv_lib_rt_puts" = xyes; then : 
    38603885  cat >>confdefs.h <<_ACEOF 
    38613886#define HAVE_LIBRT 1 
     
    38683893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
    38693894$as_echo_n "checking for puts in -lnsl... " >&6; } 
    3870 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3895if ${ac_cv_lib_nsl_puts+:} false; then : 
    38713896  $as_echo_n "(cached) " >&6 
    38723897else 
     
    39023927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
    39033928$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
    3904 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
     3929if test "x$ac_cv_lib_nsl_puts" = xyes; then : 
    39053930  cat >>confdefs.h <<_ACEOF 
    39063931#define HAVE_LIBNSL 1 
     
    39133938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    39143939$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3915 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3940if ${ac_cv_lib_uuid_uuid_generate+:} false; then : 
    39163941  $as_echo_n "(cached) " >&6 
    39173942else 
     
    39473972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    39483973$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3949 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     3974if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : 
    39503975  cat >>confdefs.h <<_ACEOF 
    39513976#define HAVE_LIBUUID 1 
     
    39583983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    39593984$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3960 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3985if ${ac_cv_lib_uuid_uuid_generate+:} false; then : 
    39613986  $as_echo_n "(cached) " >&6 
    39623987else 
     
    39924017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    39934018$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3994 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     4019if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : 
    39954020  ac_has_uuid_lib=1 
    39964021fi 
     
    40344059fi 
    40354060if test -z "$CPP"; then 
    4036   if test "${ac_cv_prog_CPP+set}" = set; then : 
     4061  if ${ac_cv_prog_CPP+:} false; then : 
    40374062  $as_echo_n "(cached) " >&6 
    40384063else 
     
    41504175$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    41514176as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 
    4152 See \`config.log' for more details" "$LINENO" 5 ; } 
     4177See \`config.log' for more details" "$LINENO" 5; } 
    41534178fi 
    41544179 
     
    41624187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    41634188$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    4164 if test "${ac_cv_path_GREP+set}" = set; then : 
     4189if ${ac_cv_path_GREP+:} false; then : 
    41654190  $as_echo_n "(cached) " >&6 
    41664191else 
     
    41764201    for ac_exec_ext in '' $ac_executable_extensions; do 
    41774202      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4178       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4203      as_fn_executable_p "$ac_path_GREP" || continue 
    41794204# Check for GNU ac_path_GREP and select it if it is found. 
    41804205  # Check for GNU $ac_path_GREP 
     
    42254250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    42264251$as_echo_n "checking for egrep... " >&6; } 
    4227 if test "${ac_cv_path_EGREP+set}" = set; then : 
     4252if ${ac_cv_path_EGREP+:} false; then : 
    42284253  $as_echo_n "(cached) " >&6 
    42294254else 
     
    42424267    for ac_exec_ext in '' $ac_executable_extensions; do 
    42434268      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4244       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4269      as_fn_executable_p "$ac_path_EGREP" || continue 
    42454270# Check for GNU ac_path_EGREP and select it if it is found. 
    42464271  # Check for GNU $ac_path_EGREP 
     
    42924317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    42934318$as_echo_n "checking for ANSI C header files... " >&6; } 
    4294 if test "${ac_cv_header_stdc+set}" = set; then : 
     4319if ${ac_cv_header_stdc+:} false; then : 
    42954320  $as_echo_n "(cached) " >&6 
    42964321else 
     
    44214446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    44224447$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    4423 if test "${ac_cv_c_bigendian+set}" = set; then : 
     4448if ${ac_cv_c_bigendian+:} false; then : 
    44244449  $as_echo_n "(cached) " >&6 
    44254450else 
     
    46404665   *) 
    46414666     as_fn_error $? "unknown endianness 
    4642  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;; 
     4667 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    46434668 esac 
    46444669 
     
    46984723                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
    46994724$as_echo_n "checking for fmod in -lm... " >&6; } 
    4700 if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4725if ${ac_cv_lib_m_fmod+:} false; then : 
    47014726  $as_echo_n "(cached) " >&6 
    47024727else 
     
    47324757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
    47334758$as_echo "$ac_cv_lib_m_fmod" >&6; } 
    4734 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
     4759if test "x$ac_cv_lib_m_fmod" = xyes; then : 
    47354760  cat >>confdefs.h <<_ACEOF 
    47364761#define HAVE_LIBM 1 
     
    47474772 
    47484773ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
    4749 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4774if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 
    47504775  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
    47514776 
     
    47544779 
    47554780ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
    4756 if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4781if test "x$ac_cv_header_assert_h" = xyes; then : 
    47574782  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
    47584783 
     
    47614786 
    47624787ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
    4763 if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4788if test "x$ac_cv_header_ctype_h" = xyes; then : 
    47644789  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    47654790 
     
    47754800    *) 
    47764801        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
    4777 if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4802if test "x$ac_cv_header_errno_h" = xyes; then : 
    47784803  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    47794804 
     
    47854810 
    47864811ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
    4787 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4812if test "x$ac_cv_header_fcntl_h" = xyes; then : 
    47884813  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
    47894814 
     
    47924817 
    47934818ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
    4794 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4819if test "x$ac_cv_header_linux_socket_h" = xyes; then : 
    47954820  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
    47964821 
     
    47994824 
    48004825ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 
    4801 if test "x$ac_cv_header_limits_h" = x""yes; then : 
     4826if test "x$ac_cv_header_limits_h" = xyes; then : 
    48024827  $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 
    48034828 
     
    48064831 
    48074832ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
    4808 if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4833if test "x$ac_cv_header_malloc_h" = xyes; then : 
    48094834  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
    48104835 
     
    48134838 
    48144839ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
    4815 if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4840if test "x$ac_cv_header_netdb_h" = xyes; then : 
    48164841  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
    48174842 
     
    48204845 
    48214846ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
    4822 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4847if test "x$ac_cv_header_netinet_in_systm_h" = xyes; then : 
    48234848  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
    48244849 
     
    48274852 
    48284853ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
    4829 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4854if test "x$ac_cv_header_netinet_in_h" = xyes; then : 
    48304855  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
    48314856 
     
    48444869 
    48454870" 
    4846 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4871if test "x$ac_cv_header_netinet_ip_h" = xyes; then : 
    48474872  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
    48484873 
     
    48514876 
    48524877ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
    4853 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4878if test "x$ac_cv_header_netinet_tcp_h" = xyes; then : 
    48544879  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
    48554880 
     
    48584883 
    48594884ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
    4860 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4885if test "x$ac_cv_header_ifaddrs_h" = xyes; then : 
    48614886  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
    4862 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4887if test "x$ac_cv_func_getifaddrs" = xyes; then : 
    48634888  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
    48644889 
     
    48694894 
    48704895ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
    4871 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4896if test "x$ac_cv_header_semaphore_h" = xyes; then : 
    48724897  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
    48734898 
     
    48764901 
    48774902ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
    4878 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4903if test "x$ac_cv_header_setjmp_h" = xyes; then : 
    48794904  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
    48804905 
     
    48834908 
    48844909ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
    4885 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4910if test "x$ac_cv_header_stdarg_h" = xyes; then : 
    48864911  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
    48874912 
     
    48904915 
    48914916ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
    4892 if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4917if test "x$ac_cv_header_stddef_h" = xyes; then : 
    48934918  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
    48944919 
     
    48974922 
    48984923ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
    4899 if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4924if test "x$ac_cv_header_stdio_h" = xyes; then : 
    49004925  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
    49014926 
     
    49044929 
    49054930ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
    4906 if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4931if test "x$ac_cv_header_stdint_h" = xyes; then : 
    49074932  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
    49084933 
     
    49114936 
    49124937ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
    4913 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4938if test "x$ac_cv_header_stdlib_h" = xyes; then : 
    49144939  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
    49154940 
     
    49184943 
    49194944ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
    4920 if test "x$ac_cv_header_string_h" = x""yes; then : 
     4945if test "x$ac_cv_header_string_h" = xyes; then : 
    49214946  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
    49224947 
     
    49254950 
    49264951ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
    4927 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4952if test "x$ac_cv_header_sys_ioctl_h" = xyes; then : 
    49284953  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
    49294954 
     
    49324957 
    49334958ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
    4934 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4959if test "x$ac_cv_header_sys_select_h" = xyes; then : 
    49354960  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
    49364961 
     
    49394964 
    49404965ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
    4941 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4966if test "x$ac_cv_header_sys_socket_h" = xyes; then : 
    49424967  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
    49434968 
     
    49464971 
    49474972ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
    4948 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4973if test "x$ac_cv_header_sys_time_h" = xyes; then : 
    49494974  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
    49504975 
     
    49534978 
    49544979ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
    4955 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4980if test "x$ac_cv_header_sys_timeb_h" = xyes; then : 
    49564981  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
    49574982 
     
    49604985 
    49614986ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
    4962 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4987if test "x$ac_cv_header_sys_types_h" = xyes; then : 
    49634988  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
    49644989 
     
    49674992 
    49684993ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
    4969 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4994if test "x$ac_cv_header_sys_filio_h" = xyes; then : 
    49704995  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
    49714996 
     
    49744999 
    49755000ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
    4976 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     5001if test "x$ac_cv_header_sys_sockio_h" = xyes; then : 
    49775002  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
    49785003 
     
    49815006 
    49825007ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 
    4983 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 
     5008if test "x$ac_cv_header_sys_utsname_h" = xyes; then : 
    49845009  $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 
    49855010 
     
    49885013 
    49895014ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
    4990 if test "x$ac_cv_header_time_h" = x""yes; then : 
     5015if test "x$ac_cv_header_time_h" = xyes; then : 
    49915016  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
    49925017 
     
    49955020 
    49965021ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
    4997 if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     5022if test "x$ac_cv_header_unistd_h" = xyes; then : 
    49985023  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
    49995024 
     
    50025027 
    50035028ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
    5004 if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     5029if test "x$ac_cv_header_winsock_h" = xyes; then : 
    50055030  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
    50065031 
     
    50095034 
    50105035ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
    5011 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     5036if test "x$ac_cv_header_winsock2_h" = xyes; then : 
    50125037  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
    50135038 
     
    50225047 
    50235048" 
    5024 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     5049if test "x$ac_cv_header_mswsock_h" = xyes; then : 
    50255050  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
    50265051 
     
    50295054 
    50305055ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
    5031 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     5056if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : 
    50325057  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
    50335058 
     
    50365061 
    50375062ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
    5038 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
     5063if test "x$ac_cv_header_uuid_uuid_h" = xyes; then : 
    50395064  ac_has_uuid_h=1 
    50405065fi 
     
    50505075 
    50515076" 
    5052 if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     5077if test "x$ac_cv_header_net_if_h" = xyes; then : 
    50535078  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
    50545079 
     
    56015626 
    56025627ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
    5603 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
     5628if test "x$ac_cv_header_sys_soundcard_h" = xyes; then : 
    56045629  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    56055630fi 
     
    56075632 
    56085633ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
    5609 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
     5634if test "x$ac_cv_header_linux_soundcard_h" = xyes; then : 
    56105635  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    56115636fi 
     
    56135638 
    56145639ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
    5615 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
     5640if test "x$ac_cv_header_machine_soundcard_h" = xyes; then : 
    56165641  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    56175642fi 
     
    56615686                ac_pjmedia_snd=pa_unix 
    56625687        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
    5663 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
     5688if test "x$ac_cv_header_alsa_version_h" = xyes; then : 
    56645689  ac_pa_use_alsa=1 
    56655690 
     
    59645989  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
    59655990$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
    5966 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5991if ${ac_cv_lib_samplerate_src_new+:} false; then : 
    59675992  $as_echo_n "(cached) " >&6 
    59685993else 
     
    59986023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
    59996024$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
    6000 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
     6025if test "x$ac_cv_lib_samplerate_src_new" = xyes; then : 
    60016026  cat >>confdefs.h <<_ACEOF 
    60026027#define HAVE_LIBSAMPLERATE 1 
     
    60566081                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&5 
    60576082$as_echo "Using SDL prefix... $with_sdl" >&6; } 
    6058                         for ac_prog in sdl-config sdl2-config 
     6083                        for ac_prog in sdl2-config sdl-config 
    60596084do 
    60606085  # Extract the first word of "$ac_prog", so it can be a program name with args. 
     
    60626087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    60636088$as_echo_n "checking for $ac_word... " >&6; } 
    6064 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then : 
     6089if ${ac_cv_path_SDL_CONFIG+:} false; then : 
    60656090  $as_echo_n "(cached) " >&6 
    60666091else 
     
    60766101  test -z "$as_dir" && as_dir=. 
    60776102    for ac_exec_ext in '' $ac_executable_extensions; do 
    6078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     6103  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    60796104    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 
    60806105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    61026127 
    61036128                  else 
    6104                         for ac_prog in sdl-config sdl2-config 
     6129                        for ac_prog in sdl2-config sdl-config 
    61056130do 
    61066131  # Extract the first word of "$ac_prog", so it can be a program name with args. 
     
    61086133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    61096134$as_echo_n "checking for $ac_word... " >&6; } 
    6110 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then : 
     6135if ${ac_cv_path_SDL_CONFIG+:} false; then : 
    61116136  $as_echo_n "(cached) " >&6 
    61126137else 
     
    61226147  test -z "$as_dir" && as_dir=. 
    61236148    for ac_exec_ext in '' $ac_executable_extensions; do 
    6124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     6149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    61256150    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 
    61266151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    62156240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    62166241$as_echo_n "checking for $ac_word... " >&6; } 
    6217 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then : 
     6242if ${ac_cv_prog_PKG_CONFIG+:} false; then : 
    62186243  $as_echo_n "(cached) " >&6 
    62196244else 
     
    62276252  test -z "$as_dir" && as_dir=. 
    62286253    for ac_exec_ext in '' $ac_executable_extensions; do 
    6229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     6254  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    62306255    ac_cv_prog_PKG_CONFIG="$ac_prog" 
    62316256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    63046329                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
    63056330$as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
    6306 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
     6331if ${ac_cv_lib_avdevice_avdevice_version+:} false; then : 
    63076332  $as_echo_n "(cached) " >&6 
    63086333else 
     
    63386363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    63396364$as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    6340 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
     6365if test "x$ac_cv_lib_avdevice_avdevice_version" = xyes; then : 
    63416366  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    63426367                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    63476372                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
    63486373$as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
    6349 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
     6374if ${ac_cv_lib_avutil_av_malloc+:} false; then : 
    63506375  $as_echo_n "(cached) " >&6 
    63516376else 
     
    63816406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
    63826407$as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
    6383 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
     6408if test "x$ac_cv_lib_avutil_av_malloc" = xyes; then : 
    63846409  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    63856410                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    63906415                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
    63916416$as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
    6392 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
     6417if ${ac_cv_lib_avcodec_avcodec_init+:} false; then : 
    63936418  $as_echo_n "(cached) " >&6 
    63946419else 
     
    64256450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    64266451$as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    6427 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
     6452if test "x$ac_cv_lib_avcodec_avcodec_init" = xyes; then : 
    64286453  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    64296454                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    64336458                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
    64346459$as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
    6435 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
     6460if ${ac_cv_lib_avformat_av_register_all+:} false; then : 
    64366461  $as_echo_n "(cached) " >&6 
    64376462else 
     
    64686493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
    64696494$as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
    6470 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
     6495if test "x$ac_cv_lib_avformat_av_register_all" = xyes; then : 
    64716496  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    64726497                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    64766501                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
    64776502$as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
    6478 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
     6503if ${ac_cv_lib_swscale_sws_scale+:} false; then : 
    64796504  $as_echo_n "(cached) " >&6 
    64806505else 
     
    65116536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
    65126537$as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
    6513 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
     6538if test "x$ac_cv_lib_swscale_sws_scale" = xyes; then : 
    65146539  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    65156540                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    65196544                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
    65206545$as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
    6521 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
     6546if ${ac_cv_lib_avcore_avcore_version+:} false; then : 
    65226547  $as_echo_n "(cached) " >&6 
    65236548else 
     
    65536578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
    65546579$as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
    6555 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
     6580if test "x$ac_cv_lib_avcore_avcore_version" = xyes; then : 
    65566581  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    65576582                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    65846609                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
    65856610$as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
    6586 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
     6611if ${ac_cv_lib_v4l2_v4l2_open+:} false; then : 
    65876612  $as_echo_n "(cached) " >&6 
    65886613else 
     
    66186643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    66196644$as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    6620 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
     6645if test "x$ac_cv_lib_v4l2_v4l2_open" = xyes; then : 
    66216646  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    66226647                              ac_v4l2_ldflags="-lv4l2" 
     
    67796804$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    67806805as_fn_error $? "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info 
    6781 See \`config.log' for more details" "$LINENO" 5 ; } 
     6806See \`config.log' for more details" "$LINENO" 5; } 
    67826807fi 
    67836808rm -f core conftest.err conftest.$ac_objext \ 
     
    68356860$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    68366861as_fn_error $? "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    6837 See \`config.log' for more details" "$LINENO" 5 ; } 
     6862See \`config.log' for more details" "$LINENO" 5; } 
    68386863            fi 
    68396864        else 
     
    68416866$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    68426867as_fn_error $? "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
    6843 See \`config.log' for more details" "$LINENO" 5 ; } 
     6868See \`config.log' for more details" "$LINENO" 5; } 
    68446869        fi 
    68456870 
     
    68496874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    68506875as_fn_error $? "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    6851 See \`config.log' for more details" "$LINENO" 5 ; } 
     6876See \`config.log' for more details" "$LINENO" 5; } 
    68526877            exit 1; 
    68536878        fi 
     
    68636888$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    68646889as_fn_error $? "bug in this script: unsupported IPP version 
    6865 See \`config.log' for more details" "$LINENO" 5 ; } 
     6890See \`config.log' for more details" "$LINENO" 5; } 
    68666891        fi 
    68676892 
     
    68706895$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    68716896as_fn_error $? "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    6872 See \`config.log' for more details" "$LINENO" 5 ; } 
     6897See \`config.log' for more details" "$LINENO" 5; } 
    68736898        fi 
    68746899 
     
    69066931$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    69076932as_fn_error $? "failed 
    6908 See \`config.log' for more details" "$LINENO" 5 ; } 
     6933See \`config.log' for more details" "$LINENO" 5; } 
    69096934fi 
    69106935rm -f core conftest.err conftest.$ac_objext \ 
     
    69736998 
    69746999                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
    6975 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
     7000if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : 
    69767001  openssl_h_present=1 
    69777002fi 
     
    69807005                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    69817006$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
    6982 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     7007if ${ac_cv_lib_crypto_ERR_load_BIO_strings+:} false; then : 
    69837008  $as_echo_n "(cached) " >&6 
    69847009else 
     
    70147039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    70157040$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    7016 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
     7041if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = xyes; then : 
    70177042  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    70187043fi 
     
    70207045                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
    70217046$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
    7022 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     7047if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : 
    70237048  $as_echo_n "(cached) " >&6 
    70247049else 
     
    70547079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    70557080$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    7056 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
     7081if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : 
    70577082  libssl_present=1 && LIBS="$LIBS -lssl" 
    70587083fi 
     
    71127137 
    71137138                ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 
    7114 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : 
     7139if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = xyes; then : 
    71157140  opencore_amrnb_h_present=1 
    71167141fi 
     
    71197144                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 
    71207145$as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 
    7121 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : 
     7146if ${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+:} false; then : 
    71227147  $as_echo_n "(cached) " >&6 
    71237148else 
     
    71537178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 
    71547179$as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 
    7155 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : 
     7180if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = xyes; then : 
    71567181  opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 
    71577182fi 
     
    73267351if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 
    73277352  if test -w "$cache_file"; then 
    7328     test "x$cache_file" != "x/dev/null" && 
     7353    if test "x$cache_file" != "x/dev/null"; then 
    73297354      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
    73307355$as_echo "$as_me: updating cache $cache_file" >&6;} 
    7331     cat confcache >$cache_file 
     7356      if test ! -f "$cache_file" || test -h "$cache_file"; then 
     7357        cat confcache >"$cache_file" 
     7358      else 
     7359        case $cache_file in #( 
     7360        */* | ?:*) 
     7361          mv -f confcache "$cache_file"$$ && 
     7362          mv -f "$cache_file"$$ "$cache_file" ;; #( 
     7363        *) 
     7364          mv -f confcache "$cache_file" ;; 
     7365        esac 
     7366      fi 
     7367    fi 
    73327368  else 
    73337369    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     
    73627398 
    73637399 
    7364 : ${CONFIG_STATUS=./config.status} 
     7400: "${CONFIG_STATUS=./config.status}" 
    73657401ac_write_fail=0 
    73667402ac_clean_files_save=$ac_clean_files 
     
    74637499 
    74647500# Find who we are.  Look in the path if we contain no directory separator. 
     7501as_myself= 
    74657502case $0 in #(( 
    74667503  *[\\/]* ) as_myself=$0 ;; 
     
    76587695    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    76597696    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    7660     # In both cases, we have to default to `cp -p'. 
     7697    # In both cases, we have to default to `cp -pR'. 
    76617698    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    7662       as_ln_s='cp -p' 
     7699      as_ln_s='cp -pR' 
    76637700  elif ln conf$$.file conf$$ 2>/dev/null; then 
    76647701    as_ln_s=ln 
    76657702  else 
    7666     as_ln_s='cp -p' 
     7703    as_ln_s='cp -pR' 
    76677704  fi 
    76687705else 
    7669   as_ln_s='cp -p' 
     7706  as_ln_s='cp -pR' 
    76707707fi 
    76717708rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
     
    77277764fi 
    77287765 
    7729 if test -x / >/dev/null 2>&1; then 
    7730   as_test_x='test -x' 
    7731 else 
    7732   if ls -dL / >/dev/null 2>&1; then 
    7733     as_ls_L_option=L 
    7734   else 
    7735     as_ls_L_option= 
    7736   fi 
    7737   as_test_x=' 
    7738     eval sh -c '\'' 
    7739       if test -d "$1"; then 
    7740         test -d "$1/."; 
    7741       else 
    7742         case $1 in #( 
    7743         -*)set "./$1";; 
    7744         esac; 
    7745         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    7746         ???[sx]*):;;*)false;;esac;fi 
    7747     '\'' sh 
    7748   ' 
    7749 fi 
    7750 as_executable_p=$as_test_x 
     7766 
     7767# as_fn_executable_p FILE 
     7768# ----------------------- 
     7769# Test if FILE is an executable regular file. 
     7770as_fn_executable_p () 
     7771{ 
     7772  test -f "$1" && test -x "$1" 
     7773} # as_fn_executable_p 
     7774as_test_x='test -x' 
     7775as_executable_p=as_fn_executable_p 
    77517776 
    77527777# Sed expression to map a string onto a valid CPP name. 
     
    77707795ac_log=" 
    77717796This file was extended by pjproject $as_me 2.x, which was 
    7772 generated by GNU Autoconf 2.67.  Invocation command line was 
     7797generated by GNU Autoconf 2.69.  Invocation command line was 
    77737798 
    77747799  CONFIG_FILES    = $CONFIG_FILES 
     
    78327857ac_cs_version="\\ 
    78337858pjproject config.status 2.x 
    7834 configured by $0, generated by GNU Autoconf 2.67, 
     7859configured by $0, generated by GNU Autoconf 2.69, 
    78357860  with options \\"\$ac_cs_config\\" 
    78367861 
    7837 Copyright (C) 2010 Free Software Foundation, Inc. 
     7862Copyright (C) 2012 Free Software Foundation, Inc. 
    78387863This config.status script is free software; the Free Software Foundation 
    78397864gives unlimited permission to copy, distribute and modify it." 
     
    79237948cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    79247949if \$ac_cs_recheck; then 
    7925   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7950  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    79267951  shift 
    79277952  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     
    79677992    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    79687993 
    7969   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 
     7994  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
    79707995  esac 
    79717996done 
     
    79898014$debug || 
    79908015{ 
    7991   tmp= 
     8016  tmp= ac_tmp= 
    79928017  trap 'exit_status=$? 
    7993   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     8018  : "${ac_tmp:=$tmp}" 
     8019  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 
    79948020' 0 
    79958021  trap 'as_fn_exit 1' 1 2 13 15 
     
    79998025{ 
    80008026  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    8001   test -n "$tmp" && test -d "$tmp" 
     8027  test -d "$tmp" 
    80028028}  || 
    80038029{ 
     
    80058031  (umask 077 && mkdir "$tmp") 
    80068032} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
     8033ac_tmp=$tmp 
    80078034 
    80088035# Set up the scripts for CONFIG_FILES section. 
     
    80268053fi 
    80278054 
    8028 echo 'BEGIN {' >"$tmp/subs1.awk" && 
     8055echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 
    80298056_ACEOF 
    80308057 
     
    80548081 
    80558082cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    8056 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     8083cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 
    80578084_ACEOF 
    80588085sed -n ' 
     
    81028129cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    81038130_ACAWK 
    8104 cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     8131cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 
    81058132  for (key in S) S_is_set[key] = 1 
    81068133  FS = "" 
     
    81348161else 
    81358162  cat 
    8136 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
     8163fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 
    81378164  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
    81388165_ACEOF 
     
    81688195# This happens for instance with `./config.status Makefile'. 
    81698196if test -n "$CONFIG_HEADERS"; then 
    8170 cat >"$tmp/defines.awk" <<\_ACAWK || 
     8197cat >"$ac_tmp/defines.awk" <<\_ACAWK || 
    81718198BEGIN { 
    81728199_ACEOF 
     
    81808207ac_delim='%!_!# ' 
    81818208for ac_last_try in false false :; do 
    8182   ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
    8183   if test -z "$ac_t"; then 
     8209  ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 
     8210  if test -z "$ac_tt"; then 
    81848211    break 
    81858212  elif $ac_last_try; then 
     
    82828309  case $ac_mode$ac_tag in 
    82838310  :[FHL]*:*);; 
    8284   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 
     8311  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 
    82858312  :[FH]-) ac_tag=-:-;; 
    82868313  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     
    83018328    do 
    83028329      case $ac_f in 
    8303       -) ac_f="$tmp/stdin";; 
     8330      -) ac_f="$ac_tmp/stdin";; 
    83048331      *) # Look for the file first in the build tree, then in the source tree 
    83058332         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     
    83108337           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    83118338           esac || 
    8312            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 
     8339           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
    83138340      esac 
    83148341      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     
    83368363 
    83378364    case $ac_tag in 
    8338     *:-:* | *:-) cat >"$tmp/stdin" \ 
    8339       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;; 
     8365    *:-:* | *:-) cat >"$ac_tmp/stdin" \ 
     8366      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 
    83408367    esac 
    83418368    ;; 
     
    84628489$ac_datarootdir_hack 
    84638490" 
    8464 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    8465   || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
     8491eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 
     8492  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    84668493 
    84678494test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    8468   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    8469   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
     8495  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 
     8496  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \ 
     8497      "$ac_tmp/out"`; test -z "$ac_out"; } && 
    84708498  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    84718499which seems to be undefined.  Please make sure it is defined" >&5 
     
    84738501which seems to be undefined.  Please make sure it is defined" >&2;} 
    84748502 
    8475   rm -f "$tmp/stdin" 
     8503  rm -f "$ac_tmp/stdin" 
    84768504  case $ac_file in 
    8477   -) cat "$tmp/out" && rm -f "$tmp/out";; 
    8478   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     8505  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 
     8506  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 
    84798507  esac \ 
    84808508  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
     
    84878515    { 
    84888516      $as_echo "/* $configure_input  */" \ 
    8489       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    8490     } >"$tmp/config.h" \ 
     8517      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 
     8518    } >"$ac_tmp/config.h" \ 
    84918519      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    8492     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     8520    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 
    84938521      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
    84948522$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    84958523    else 
    84968524      rm -f "$ac_file" 
    8497       mv "$tmp/config.h" "$ac_file" \ 
     8525      mv "$ac_tmp/config.h" "$ac_file" \ 
    84988526        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    84998527    fi 
    85008528  else 
    85018529    $as_echo "/* $configure_input  */" \ 
    8502       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
     8530      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 
    85038531      || as_fn_error $? "could not create -" "$LINENO" 5 
    85048532  fi 
Note: See TracChangeset for help on using the changeset viewer.