Changeset 4149


Ignore:
Timestamp:
Jun 1, 2012 4:27:01 AM (9 years ago)
Author:
ming
Message:

Fixed #1525: Modify configure script to disable autodetection when cross-compiling.

This fix disable autodetection for:

  • SDL
  • ffmpeg
  • SSL
  • OpenCORE AMR-NB
Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r4131 r4149  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.65 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 Free Software Foundation, 
    8 # 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 
     
    317353    done 
    318354    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 
    320356 
    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# ---------------------- 
     
    357401 
    358402 
    359 # as_fn_error ERROR [LINENO LOG_FD] 
    360 # --------------------------------- 
     403# as_fn_error STATUS ERROR [LINENO LOG_FD] 
     404# ---------------------------------------- 
    361405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    362406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    363 # script with status $?, using 1 if that was 0. 
     407# script with STATUS, using 1 if that was 0. 
    364408as_fn_error () 
    365409{ 
    366   as_status=$?; test $as_status -eq 0 && as_status=1 
    367   if test "$3"; then 
    368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     410  as_status=$1; test $as_status -eq 0 && as_status=1 
     411  if test "$4"; then 
     412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 
    370414  fi 
    371   $as_echo "$as_me: error: $1" >&2 
     415  $as_echo "$as_me: error: $2" >&2 
    372416  as_fn_exit $as_status 
    373417} # as_fn_error 
     
    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. 
     
    531559 
    532560# Name of the host. 
    533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
     561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 
    534562# so uname gets run too. 
    535563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 
     
    596624ac_host 
    597625ac_linux_poll 
    598 ac_cross_compile 
    599626opencore_amrnb_present 
    600627opencore_amrnb_h_present 
     
    640667GREP 
    641668CPP 
     669ac_cross_compile 
    642670ac_shlib_suffix 
    643671ac_build_mak_vars 
     
    740768with_sdl 
    741769enable_sdl 
     770with_ffmpeg 
    742771enable_ffmpeg 
    743 with_ffmpeg 
    744772enable_v4l2 
    745773enable_ipp 
     
    747775with_ipp_samples 
    748776with_ipp_arch 
     777with_ssl 
    749778enable_ssl 
     779with_opencore_amrnb 
    750780enable_opencore_amrnb 
    751781' 
     
    824854 
    825855  case $ac_option in 
    826   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
    827   *)    ac_optarg=yes ;; 
     856  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 
     857  *=)   ac_optarg= ;; 
     858  *)    ac_optarg=yes ;; 
    828859  esac 
    829860 
     
    870901    # Reject names that are not valid shell variable names. 
    871902    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    872       as_fn_error "invalid feature name: $ac_useropt" 
     903      as_fn_error $? "invalid feature name: $ac_useropt" 
    873904    ac_useropt_orig=$ac_useropt 
    874905    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    896927    # Reject names that are not valid shell variable names. 
    897928    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    898       as_fn_error "invalid feature name: $ac_useropt" 
     929      as_fn_error $? "invalid feature name: $ac_useropt" 
    899930    ac_useropt_orig=$ac_useropt 
    900931    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11001131    # Reject names that are not valid shell variable names. 
    11011132    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1102       as_fn_error "invalid package name: $ac_useropt" 
     1133      as_fn_error $? "invalid package name: $ac_useropt" 
    11031134    ac_useropt_orig=$ac_useropt 
    11041135    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11161147    # Reject names that are not valid shell variable names. 
    11171148    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1118       as_fn_error "invalid package name: $ac_useropt" 
     1149      as_fn_error $? "invalid package name: $ac_useropt" 
    11191150    ac_useropt_orig=$ac_useropt 
    11201151    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11461177    x_libraries=$ac_optarg ;; 
    11471178 
    1148   -*) as_fn_error "unrecognized option: \`$ac_option' 
    1149 Try \`$0 --help' for more information." 
     1179  -*) as_fn_error $? "unrecognized option: \`$ac_option' 
     1180Try \`$0 --help' for more information" 
    11501181    ;; 
    11511182 
     
    11551186    case $ac_envvar in #( 
    11561187      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
    1157       as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1188      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 
    11581189    esac 
    11591190    eval $ac_envvar=\$ac_optarg 
     
    11651196    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    11661197      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    1167     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
     1198    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 
    11681199    ;; 
    11691200 
     
    11731204if test -n "$ac_prev"; then 
    11741205  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1175   as_fn_error "missing argument to $ac_option" 
     1206  as_fn_error $? "missing argument to $ac_option" 
    11761207fi 
    11771208 
     
    11791210  case $enable_option_checking in 
    11801211    no) ;; 
    1181     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1212    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 
    11821213    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    11831214  esac 
     
    12021233    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    12031234  esac 
    1204   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
     1235  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 
    12051236done 
    12061237 
     
    12161247  if test "x$build_alias" = x; then 
    12171248    cross_compiling=maybe 
    1218     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    1219     If a cross compiler is detected then cross compile mode will be used." >&2 
    12201249  elif test "x$build_alias" != "x$host_alias"; then 
    12211250    cross_compiling=yes 
     
    12321261ac_ls_di=`ls -di .` && 
    12331262ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1234   as_fn_error "working directory cannot be determined" 
     1263  as_fn_error $? "working directory cannot be determined" 
    12351264test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1236   as_fn_error "pwd does not report name of working directory" 
     1265  as_fn_error $? "pwd does not report name of working directory" 
    12371266 
    12381267 
     
    12731302if test ! -r "$srcdir/$ac_unique_file"; then 
    12741303  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1275   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
     1304  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 
    12761305fi 
    12771306ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12781307ac_abs_confdir=`( 
    1279         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
     1308        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 
    12801309        pwd)` 
    12811310# When building in place, set srcdir=. 
     
    13171346      --help=recursive    display the short help of all the included packages 
    13181347  -V, --version           display version information and exit 
    1319   -q, --quiet, --silent   do not print \`checking...' messages 
     1348  -q, --quiet, --silent   do not print \`checking ...' messages 
    13201349      --cache-file=FILE   cache test results in FILE [disabled] 
    13211350  -C, --config-cache      alias for \`--cache-file=config.cache' 
     
    14351464  --with-ipp-arch=ARCH    Specify the Intel IPP ARCH suffix, e.g. "64" or 
    14361465                          "em64t. Default is blank for IA32" 
     1466  --with-ssl=DIR          Specify alternate libssl prefix 
     1467  --with-opencore-amrnb=DIR 
     1468                          Specify alternate libopencore-amrnb prefix 
    14371469 
    14381470Some influential environment variables: 
     
    15151547  cat <<\_ACEOF 
    15161548pjproject configure 2.x 
    1517 generated by GNU Autoconf 2.65 
    1518  
    1519 Copyright (C) 2009 Free Software Foundation, Inc. 
     1549generated by GNU Autoconf 2.69 
     1550 
     1551Copyright (C) 2012 Free Software Foundation, Inc. 
    15201552This configure script is free software; the Free Software Foundation 
    15211553gives unlimited permission to copy, distribute and modify it. 
     
    15611593        ac_retval=1 
    15621594fi 
    1563   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1595  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    15641596  as_fn_set_status $ac_retval 
    15651597 
     
    15991631        ac_retval=1 
    16001632fi 
    1601   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1633  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16021634  as_fn_set_status $ac_retval 
    16031635 
     
    16311663       } && test -s conftest$ac_exeext && { 
    16321664         test "$cross_compiling" = yes || 
    1633          $as_test_x conftest$ac_exeext 
     1665         test -x conftest$ac_exeext 
    16341666       }; then : 
    16351667  ac_retval=0 
     
    16451677  # left behind by Apple's compiler.  We do this before executing the actions. 
    16461678  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1647   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1679  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16481680  as_fn_set_status $ac_retval 
    16491681 
     
    16871719fi 
    16881720  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1689   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1721  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    16901722  as_fn_set_status $ac_retval 
    16911723 
     
    17131745  fi 
    17141746  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1715   test $ac_status = 0; } >/dev/null && { 
     1747  test $ac_status = 0; } > conftest.i && { 
    17161748         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    17171749         test ! -s conftest.err 
     
    17241756    ac_retval=1 
    17251757fi 
    1726   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1758  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    17271759  as_fn_set_status $ac_retval 
    17281760 
     
    17381770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17391771$as_echo_n "checking for $2... " >&6; } 
    1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1772if eval \${$3+:} false; then : 
    17411773  $as_echo_n "(cached) " >&6 
    17421774else 
     
    17561788               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    17571789$as_echo "$ac_res" >&6; } 
    1758   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1790  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    17591791 
    17601792} # ac_fn_c_check_header_compile 
     
    17681800{ 
    17691801  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1770   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1802  if eval \${$3+:} false; then : 
    17711803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    17721804$as_echo_n "checking for $2... " >&6; } 
    1773 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1805if eval \${$3+:} false; then : 
    17741806  $as_echo_n "(cached) " >&6 
    17751807fi 
     
    18071839  ac_header_preproc=no 
    18081840fi 
    1809 rm -f conftest.err conftest.$ac_ext 
     1841rm -f conftest.err conftest.i conftest.$ac_ext 
    18101842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
    18111843$as_echo "$ac_header_preproc" >&6; } 
     
    18341866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    18351867$as_echo_n "checking for $2... " >&6; } 
    1836 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1868if eval \${$3+:} false; then : 
    18371869  $as_echo_n "(cached) " >&6 
    18381870else 
     
    18431875$as_echo "$ac_res" >&6; } 
    18441876fi 
    1845   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1877  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    18461878 
    18471879} # ac_fn_c_check_header_mongrel 
     
    18551887  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    18561888$as_echo_n "checking for $2... " >&6; } 
    1857 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1889if eval \${$3+:} false; then : 
    18581890  $as_echo_n "(cached) " >&6 
    18591891else 
     
    19101942               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    19111943$as_echo "$ac_res" >&6; } 
    1912   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1944  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 
    19131945 
    19141946} # ac_fn_c_check_func 
     
    19181950 
    19191951It was created by pjproject $as_me 2.x, which was 
    1920 generated by GNU Autoconf 2.65.  Invocation command line was 
     1952generated by GNU Autoconf 2.69.  Invocation command line was 
    19211953 
    19221954  $ $0 $@ 
     
    20282060    echo 
    20292061 
    2030     cat <<\_ASBOX 
    2031 ## ---------------- ## 
     2062    $as_echo "## ---------------- ## 
    20322063## Cache variables. ## 
    2033 ## ---------------- ## 
    2034 _ASBOX 
     2064## ---------------- ##" 
    20352065    echo 
    20362066    # The following way of writing the cache mishandles newlines in values, 
     
    20662096    echo 
    20672097 
    2068     cat <<\_ASBOX 
    2069 ## ----------------- ## 
     2098    $as_echo "## ----------------- ## 
    20702099## Output variables. ## 
    2071 ## ----------------- ## 
    2072 _ASBOX 
     2100## ----------------- ##" 
    20732101    echo 
    20742102    for ac_var in $ac_subst_vars 
     
    20832111 
    20842112    if test -n "$ac_subst_files"; then 
    2085       cat <<\_ASBOX 
    2086 ## ------------------- ## 
     2113      $as_echo "## ------------------- ## 
    20872114## File substitutions. ## 
    2088 ## ------------------- ## 
    2089 _ASBOX 
     2115## ------------------- ##" 
    20902116      echo 
    20912117      for ac_var in $ac_subst_files 
     
    21012127 
    21022128    if test -s confdefs.h; then 
    2103       cat <<\_ASBOX 
    2104 ## ----------- ## 
     2129      $as_echo "## ----------- ## 
    21052130## confdefs.h. ## 
    2106 ## ----------- ## 
    2107 _ASBOX 
     2131## ----------- ##" 
    21082132      echo 
    21092133      cat confdefs.h 
     
    21602184ac_site_file2=NONE 
    21612185if test -n "$CONFIG_SITE"; then 
    2162   ac_site_file1=$CONFIG_SITE 
     2186  # We do not want a PATH search for config.site. 
     2187  case $CONFIG_SITE in #(( 
     2188    -*)  ac_site_file1=./$CONFIG_SITE;; 
     2189    */*) ac_site_file1=$CONFIG_SITE;; 
     2190    *)   ac_site_file1=./$CONFIG_SITE;; 
     2191  esac 
    21632192elif test "x$prefix" != xNONE; then 
    21642193  ac_site_file1=$prefix/share/config.site 
     
    21752204$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    21762205    sed 's/^/| /' "$ac_site_file" >&5 
    2177     . "$ac_site_file" 
     2206    . "$ac_site_file" \ 
     2207      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2209as_fn_error $? "failed to load site script $ac_site_file 
     2210See \`config.log' for more details" "$LINENO" 5; } 
    21782211  fi 
    21792212done 
     
    22512284  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    22522285$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    2253   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2286  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
    22542287fi 
    22552288## -------------------- ## 
     
    22692302ac_aux_dir= 
    22702303for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    2271   for ac_t in install-sh install.sh shtool; do 
    2272     if test -f "$ac_dir/$ac_t"; then 
    2273       ac_aux_dir=$ac_dir 
    2274       ac_install_sh="$ac_aux_dir/$ac_t -c" 
    2275       break 2 
    2276     fi 
    2277   done 
     2304  if test -f "$ac_dir/install-sh"; then 
     2305    ac_aux_dir=$ac_dir 
     2306    ac_install_sh="$ac_aux_dir/install-sh -c" 
     2307    break 
     2308  elif test -f "$ac_dir/install.sh"; then 
     2309    ac_aux_dir=$ac_dir 
     2310    ac_install_sh="$ac_aux_dir/install.sh -c" 
     2311    break 
     2312  elif test -f "$ac_dir/shtool"; then 
     2313    ac_aux_dir=$ac_dir 
     2314    ac_install_sh="$ac_aux_dir/shtool install -c" 
     2315    break 
     2316  fi 
    22782317done 
    22792318if test -z "$ac_aux_dir"; then 
    2280   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
     2319  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    22812320fi 
    22822321 
     
    22922331# Make sure we can run config.sub. 
    22932332$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    2294   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2333  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
    22952334 
    22962335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    22972336$as_echo_n "checking build system type... " >&6; } 
    2298 if test "${ac_cv_build+set}" = set; then : 
     2337if ${ac_cv_build+:} false; then : 
    22992338  $as_echo_n "(cached) " >&6 
    23002339else 
     
    23032342  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    23042343test "x$ac_build_alias" = x && 
    2305   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
     2344  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 
    23062345ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    2307   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2346  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
    23082347 
    23092348fi 
     
    23122351case $ac_cv_build in 
    23132352*-*-*) ;; 
    2314 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
     2353*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 
    23152354esac 
    23162355build=$ac_cv_build 
     
    23302369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    23312370$as_echo_n "checking host system type... " >&6; } 
    2332 if test "${ac_cv_host+set}" = set; then : 
     2371if ${ac_cv_host+:} false; then : 
    23332372  $as_echo_n "(cached) " >&6 
    23342373else 
     
    23372376else 
    23382377  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    2339     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2378    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
    23402379fi 
    23412380 
     
    23452384case $ac_cv_host in 
    23462385*-*-*) ;; 
    2347 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
     2386*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 
    23482387esac 
    23492388host=$ac_cv_host 
     
    23632402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
    23642403$as_echo_n "checking target system type... " >&6; } 
    2365 if test "${ac_cv_target+set}" = set; then : 
     2404if ${ac_cv_target+:} false; then : 
    23662405  $as_echo_n "(cached) " >&6 
    23672406else 
     
    23702409else 
    23712410  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    2372     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2411    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
    23732412fi 
    23742413 
     
    23782417case $ac_cv_target in 
    23792418*-*-*) ;; 
    2380 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
     2419*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 
    23812420esac 
    23822421target=$ac_cv_target 
     
    24242463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    24252464$as_echo_n "checking for $ac_word... " >&6; } 
    2426 if test "${ac_cv_prog_CC+set}" = set; then : 
     2465if ${ac_cv_prog_CC+:} false; then : 
    24272466  $as_echo_n "(cached) " >&6 
    24282467else 
     
    24362475  test -z "$as_dir" && as_dir=. 
    24372476    for ac_exec_ext in '' $ac_executable_extensions; do 
    2438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2477  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    24392478    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    24402479    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    24642503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    24652504$as_echo_n "checking for $ac_word... " >&6; } 
    2466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2505if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    24672506  $as_echo_n "(cached) " >&6 
    24682507else 
     
    24762515  test -z "$as_dir" && as_dir=. 
    24772516    for ac_exec_ext in '' $ac_executable_extensions; do 
    2478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2517  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    24792518    ac_cv_prog_ac_ct_CC="gcc" 
    24802519    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    25172556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    25182557$as_echo_n "checking for $ac_word... " >&6; } 
    2519 if test "${ac_cv_prog_CC+set}" = set; then : 
     2558if ${ac_cv_prog_CC+:} false; then : 
    25202559  $as_echo_n "(cached) " >&6 
    25212560else 
     
    25292568  test -z "$as_dir" && as_dir=. 
    25302569    for ac_exec_ext in '' $ac_executable_extensions; do 
    2531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2570  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    25322571    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    25332572    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    25572596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    25582597$as_echo_n "checking for $ac_word... " >&6; } 
    2559 if test "${ac_cv_prog_CC+set}" = set; then : 
     2598if ${ac_cv_prog_CC+:} false; then : 
    25602599  $as_echo_n "(cached) " >&6 
    25612600else 
     
    25702609  test -z "$as_dir" && as_dir=. 
    25712610    for ac_exec_ext in '' $ac_executable_extensions; do 
    2572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2611  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    25732612    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
    25742613       ac_prog_rejected=yes 
     
    26162655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    26172656$as_echo_n "checking for $ac_word... " >&6; } 
    2618 if test "${ac_cv_prog_CC+set}" = set; then : 
     2657if ${ac_cv_prog_CC+:} false; then : 
    26192658  $as_echo_n "(cached) " >&6 
    26202659else 
     
    26282667  test -z "$as_dir" && as_dir=. 
    26292668    for ac_exec_ext in '' $ac_executable_extensions; do 
    2630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2669  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    26312670    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    26322671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    26602699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    26612700$as_echo_n "checking for $ac_word... " >&6; } 
    2662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2701if ${ac_cv_prog_ac_ct_CC+:} false; then : 
    26632702  $as_echo_n "(cached) " >&6 
    26642703else 
     
    26722711  test -z "$as_dir" && as_dir=. 
    26732712    for ac_exec_ext in '' $ac_executable_extensions; do 
    2674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     2713  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    26752714    ac_cv_prog_ac_ct_CC="$ac_prog" 
    26762715    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    27142753test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    27152754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2716 as_fn_error "no acceptable C compiler found in \$PATH 
    2717 See \`config.log' for more details." "$LINENO" 5; } 
     2755as_fn_error $? "no acceptable C compiler found in \$PATH 
     2756See \`config.log' for more details" "$LINENO" 5; } 
    27182757 
    27192758# Provide some information about the compiler. 
     
    28292868{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    28302869$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2831 { as_fn_set_status 77 
    2832 as_fn_error "C compiler cannot create executables 
    2833 See \`config.log' for more details." "$LINENO" 5; }; } 
     2870as_fn_error 77 "C compiler cannot create executables 
     2871See \`config.log' for more details" "$LINENO" 5; } 
    28342872else 
    28352873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     
    28732911  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    28742912$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2875 as_fn_error "cannot compute suffix of executables: cannot compile and link 
    2876 See \`config.log' for more details." "$LINENO" 5; } 
     2913as_fn_error $? "cannot compute suffix of executables: cannot compile and link 
     2914See \`config.log' for more details" "$LINENO" 5; } 
    28772915fi 
    28782916rm -f conftest conftest$ac_cv_exeext 
     
    29312969        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    29322970$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2933 as_fn_error "cannot run C compiled programs. 
     2971as_fn_error $? "cannot run C compiled programs. 
    29342972If you meant to cross compile, use \`--host'. 
    2935 See \`config.log' for more details." "$LINENO" 5; } 
     2973See \`config.log' for more details" "$LINENO" 5; } 
    29362974    fi 
    29372975  fi 
     
    29442982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    29452983$as_echo_n "checking for suffix of object files... " >&6; } 
    2946 if test "${ac_cv_objext+set}" = set; then : 
     2984if ${ac_cv_objext+:} false; then : 
    29472985  $as_echo_n "(cached) " >&6 
    29482986else 
     
    29843022{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    29853023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2986 as_fn_error "cannot compute suffix of object files: cannot compile 
    2987 See \`config.log' for more details." "$LINENO" 5; } 
     3024as_fn_error $? "cannot compute suffix of object files: cannot compile 
     3025See \`config.log' for more details" "$LINENO" 5; } 
    29883026fi 
    29893027rm -f conftest.$ac_cv_objext conftest.$ac_ext 
     
    29953033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    29963034$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    2997 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     3035if ${ac_cv_c_compiler_gnu+:} false; then : 
    29983036  $as_echo_n "(cached) " >&6 
    29993037else 
     
    30323070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    30333071$as_echo_n "checking whether $CC accepts -g... " >&6; } 
    3034 if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3072if ${ac_cv_prog_cc_g+:} false; then : 
    30353073  $as_echo_n "(cached) " >&6 
    30363074else 
     
    31103148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    31113149$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    3112 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3150if ${ac_cv_prog_cc_c89+:} false; then : 
    31133151  $as_echo_n "(cached) " >&6 
    31143152else 
     
    31193157#include <stdarg.h> 
    31203158#include <stdio.h> 
    3121 #include <sys/types.h> 
    3122 #include <sys/stat.h> 
     3159struct stat; 
    31233160/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
    31243161struct buf { int x; }; 
     
    32213258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    32223259$as_echo_n "checking for $ac_word... " >&6; } 
    3223 if test "${ac_cv_prog_CXX+set}" = set; then : 
     3260if ${ac_cv_prog_CXX+:} false; then : 
    32243261  $as_echo_n "(cached) " >&6 
    32253262else 
     
    32333270  test -z "$as_dir" && as_dir=. 
    32343271    for ac_exec_ext in '' $ac_executable_extensions; do 
    3235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3272  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    32363273    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    32373274    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    32653302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    32663303$as_echo_n "checking for $ac_word... " >&6; } 
    3267 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3304if ${ac_cv_prog_ac_ct_CXX+:} false; then : 
    32683305  $as_echo_n "(cached) " >&6 
    32693306else 
     
    32773314  test -z "$as_dir" && as_dir=. 
    32783315    for ac_exec_ext in '' $ac_executable_extensions; do 
    3279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     3316  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    32803317    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    32813318    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    33433380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
    33443381$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
    3345 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3382if ${ac_cv_cxx_compiler_gnu+:} false; then : 
    33463383  $as_echo_n "(cached) " >&6 
    33473384else 
     
    33803417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
    33813418$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
    3382 if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3419if ${ac_cv_prog_cxx_g+:} false; then : 
    33833420  $as_echo_n "(cached) " >&6 
    33843421else 
     
    35313568 
    35323569 
     3570if test "$build" = "$host"; then 
     3571    ac_cross_compile= 
     3572else 
     3573    ac_cross_compile=${host_orig}- 
     3574fi 
     3575 
     3576 
    35333577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
    35343578$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
    3535 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3579if ${ac_cv_lib_pthread_pthread_create+:} false; then : 
    35363580  $as_echo_n "(cached) " >&6 
    35373581else 
     
    35673611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
    35683612$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
    3569 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
     3613if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 
    35703614  cat >>confdefs.h <<_ACEOF 
    35713615#define HAVE_LIBPTHREAD 1 
     
    35783622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
    35793623$as_echo_n "checking for puts in -lwsock32... " >&6; } 
    3580 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3624if ${ac_cv_lib_wsock32_puts+:} false; then : 
    35813625  $as_echo_n "(cached) " >&6 
    35823626else 
     
    36123656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
    36133657$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
    3614 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
     3658if test "x$ac_cv_lib_wsock32_puts" = xyes; then : 
    36153659  cat >>confdefs.h <<_ACEOF 
    36163660#define HAVE_LIBWSOCK32 1 
     
    36233667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
    36243668$as_echo_n "checking for puts in -lws2_32... " >&6; } 
    3625 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3669if ${ac_cv_lib_ws2_32_puts+:} false; then : 
    36263670  $as_echo_n "(cached) " >&6 
    36273671else 
     
    36573701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
    36583702$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
    3659 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
     3703if test "x$ac_cv_lib_ws2_32_puts" = xyes; then : 
    36603704  cat >>confdefs.h <<_ACEOF 
    36613705#define HAVE_LIBWS2_32 1 
     
    36683712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
    36693713$as_echo_n "checking for puts in -lole32... " >&6; } 
    3670 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3714if ${ac_cv_lib_ole32_puts+:} false; then : 
    36713715  $as_echo_n "(cached) " >&6 
    36723716else 
     
    37023746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
    37033747$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
    3704 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
     3748if test "x$ac_cv_lib_ole32_puts" = xyes; then : 
    37053749  cat >>confdefs.h <<_ACEOF 
    37063750#define HAVE_LIBOLE32 1 
     
    37133757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
    37143758$as_echo_n "checking for puts in -lwinmm... " >&6; } 
    3715 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3759if ${ac_cv_lib_winmm_puts+:} false; then : 
    37163760  $as_echo_n "(cached) " >&6 
    37173761else 
     
    37473791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
    37483792$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
    3749 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
     3793if test "x$ac_cv_lib_winmm_puts" = xyes; then : 
    37503794  cat >>confdefs.h <<_ACEOF 
    37513795#define HAVE_LIBWINMM 1 
     
    37583802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
    37593803$as_echo_n "checking for puts in -lsocket... " >&6; } 
    3760 if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3804if ${ac_cv_lib_socket_puts+:} false; then : 
    37613805  $as_echo_n "(cached) " >&6 
    37623806else 
     
    37923836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
    37933837$as_echo "$ac_cv_lib_socket_puts" >&6; } 
    3794 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
     3838if test "x$ac_cv_lib_socket_puts" = xyes; then : 
    37953839  cat >>confdefs.h <<_ACEOF 
    37963840#define HAVE_LIBSOCKET 1 
     
    38033847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
    38043848$as_echo_n "checking for puts in -lrt... " >&6; } 
    3805 if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3849if ${ac_cv_lib_rt_puts+:} false; then : 
    38063850  $as_echo_n "(cached) " >&6 
    38073851else 
     
    38373881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
    38383882$as_echo "$ac_cv_lib_rt_puts" >&6; } 
    3839 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
     3883if test "x$ac_cv_lib_rt_puts" = xyes; then : 
    38403884  cat >>confdefs.h <<_ACEOF 
    38413885#define HAVE_LIBRT 1 
     
    38483892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
    38493893$as_echo_n "checking for puts in -lnsl... " >&6; } 
    3850 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3894if ${ac_cv_lib_nsl_puts+:} false; then : 
    38513895  $as_echo_n "(cached) " >&6 
    38523896else 
     
    38823926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
    38833927$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
    3884 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
     3928if test "x$ac_cv_lib_nsl_puts" = xyes; then : 
    38853929  cat >>confdefs.h <<_ACEOF 
    38863930#define HAVE_LIBNSL 1 
     
    38933937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    38943938$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3895 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3939if ${ac_cv_lib_uuid_uuid_generate+:} false; then : 
    38963940  $as_echo_n "(cached) " >&6 
    38973941else 
     
    39273971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    39283972$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3929 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     3973if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : 
    39303974  cat >>confdefs.h <<_ACEOF 
    39313975#define HAVE_LIBUUID 1 
     
    39383982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    39393983$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3940 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3984if ${ac_cv_lib_uuid_uuid_generate+:} false; then : 
    39413985  $as_echo_n "(cached) " >&6 
    39423986else 
     
    39724016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    39734017$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3974 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     4018if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : 
    39754019  ac_has_uuid_lib=1 
    39764020fi 
     
    40144058fi 
    40154059if test -z "$CPP"; then 
    4016   if test "${ac_cv_prog_CPP+set}" = set; then : 
     4060  if ${ac_cv_prog_CPP+:} false; then : 
    40174061  $as_echo_n "(cached) " >&6 
    40184062else 
     
    40444088continue 
    40454089fi 
    4046 rm -f conftest.err conftest.$ac_ext 
     4090rm -f conftest.err conftest.i conftest.$ac_ext 
    40474091 
    40484092  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    40604104break 
    40614105fi 
    4062 rm -f conftest.err conftest.$ac_ext 
     4106rm -f conftest.err conftest.i conftest.$ac_ext 
    40634107 
    40644108done 
    40654109# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    4066 rm -f conftest.err conftest.$ac_ext 
     4110rm -f conftest.i conftest.err conftest.$ac_ext 
    40674111if $ac_preproc_ok; then : 
    40684112  break 
     
    41034147continue 
    41044148fi 
    4105 rm -f conftest.err conftest.$ac_ext 
     4149rm -f conftest.err conftest.i conftest.$ac_ext 
    41064150 
    41074151  # OK, works on sane cases.  Now check whether nonexistent headers 
     
    41194163break 
    41204164fi 
    4121 rm -f conftest.err conftest.$ac_ext 
     4165rm -f conftest.err conftest.i conftest.$ac_ext 
    41224166 
    41234167done 
    41244168# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    4125 rm -f conftest.err conftest.$ac_ext 
     4169rm -f conftest.i conftest.err conftest.$ac_ext 
    41264170if $ac_preproc_ok; then : 
    41274171 
     
    41294173  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    41304174$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    4131 as_fn_error "C preprocessor \"$CPP\" fails sanity check 
    4132 See \`config.log' for more details." "$LINENO" 5; } 
     4175as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 
     4176See \`config.log' for more details" "$LINENO" 5; } 
    41334177fi 
    41344178 
     
    41424186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    41434187$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    4144 if test "${ac_cv_path_GREP+set}" = set; then : 
     4188if ${ac_cv_path_GREP+:} false; then : 
    41454189  $as_echo_n "(cached) " >&6 
    41464190else 
     
    41564200    for ac_exec_ext in '' $ac_executable_extensions; do 
    41574201      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4158       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4202      as_fn_executable_p "$ac_path_GREP" || continue 
    41594203# Check for GNU ac_path_GREP and select it if it is found. 
    41604204  # Check for GNU $ac_path_GREP 
     
    41914235IFS=$as_save_IFS 
    41924236  if test -z "$ac_cv_path_GREP"; then 
    4193     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4237    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    41944238  fi 
    41954239else 
     
    42054249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    42064250$as_echo_n "checking for egrep... " >&6; } 
    4207 if test "${ac_cv_path_EGREP+set}" = set; then : 
     4251if ${ac_cv_path_EGREP+:} false; then : 
    42084252  $as_echo_n "(cached) " >&6 
    42094253else 
     
    42224266    for ac_exec_ext in '' $ac_executable_extensions; do 
    42234267      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4224       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4268      as_fn_executable_p "$ac_path_EGREP" || continue 
    42254269# Check for GNU ac_path_EGREP and select it if it is found. 
    42264270  # Check for GNU $ac_path_EGREP 
     
    42574301IFS=$as_save_IFS 
    42584302  if test -z "$ac_cv_path_EGREP"; then 
    4259     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4303    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    42604304  fi 
    42614305else 
     
    42724316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    42734317$as_echo_n "checking for ANSI C header files... " >&6; } 
    4274 if test "${ac_cv_header_stdc+set}" = set; then : 
     4318if ${ac_cv_header_stdc+:} false; then : 
    42754319  $as_echo_n "(cached) " >&6 
    42764320else 
     
    43894433ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
    43904434" 
    4391 eval as_val=\$$as_ac_Header 
    4392    if test "x$as_val" = x""yes; then : 
     4435if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 
    43934436  cat >>confdefs.h <<_ACEOF 
    43944437#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     
    44024445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    44034446$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    4404 if test "${ac_cv_c_bigendian+set}" = set; then : 
     4447if ${ac_cv_c_bigendian+:} false; then : 
    44054448  $as_echo_n "(cached) " >&6 
    44064449else 
     
    46204663     ;; #( 
    46214664   *) 
    4622      as_fn_error "unknown endianness 
     4665     as_fn_error $? "unknown endianness 
    46234666 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    46244667 esac 
     
    46794722                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
    46804723$as_echo_n "checking for fmod in -lm... " >&6; } 
    4681 if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4724if ${ac_cv_lib_m_fmod+:} false; then : 
    46824725  $as_echo_n "(cached) " >&6 
    46834726else 
     
    47134756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
    47144757$as_echo "$ac_cv_lib_m_fmod" >&6; } 
    4715 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
     4758if test "x$ac_cv_lib_m_fmod" = xyes; then : 
    47164759  cat >>confdefs.h <<_ACEOF 
    47174760#define HAVE_LIBM 1 
     
    47284771 
    47294772ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
    4730 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4773if test "x$ac_cv_header_arpa_inet_h" = xyes; then : 
    47314774  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
    47324775 
     
    47354778 
    47364779ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
    4737 if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4780if test "x$ac_cv_header_assert_h" = xyes; then : 
    47384781  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
    47394782 
     
    47424785 
    47434786ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
    4744 if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4787if test "x$ac_cv_header_ctype_h" = xyes; then : 
    47454788  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    47464789 
     
    47564799    *) 
    47574800        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
    4758 if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4801if test "x$ac_cv_header_errno_h" = xyes; then : 
    47594802  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    47604803 
     
    47664809 
    47674810ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
    4768 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4811if test "x$ac_cv_header_fcntl_h" = xyes; then : 
    47694812  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
    47704813 
     
    47734816 
    47744817ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
    4775 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4818if test "x$ac_cv_header_linux_socket_h" = xyes; then : 
    47764819  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
    47774820 
     
    47804823 
    47814824ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 
    4782 if test "x$ac_cv_header_limits_h" = x""yes; then : 
     4825if test "x$ac_cv_header_limits_h" = xyes; then : 
    47834826  $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 
    47844827 
     
    47874830 
    47884831ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
    4789 if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4832if test "x$ac_cv_header_malloc_h" = xyes; then : 
    47904833  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
    47914834 
     
    47944837 
    47954838ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
    4796 if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4839if test "x$ac_cv_header_netdb_h" = xyes; then : 
    47974840  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
    47984841 
     
    48014844 
    48024845ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
    4803 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4846if test "x$ac_cv_header_netinet_in_systm_h" = xyes; then : 
    48044847  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
    48054848 
     
    48084851 
    48094852ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
    4810 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4853if test "x$ac_cv_header_netinet_in_h" = xyes; then : 
    48114854  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
    48124855 
     
    48254868 
    48264869" 
    4827 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4870if test "x$ac_cv_header_netinet_ip_h" = xyes; then : 
    48284871  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
    48294872 
     
    48324875 
    48334876ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
    4834 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4877if test "x$ac_cv_header_netinet_tcp_h" = xyes; then : 
    48354878  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
    48364879 
     
    48394882 
    48404883ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
    4841 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4884if test "x$ac_cv_header_ifaddrs_h" = xyes; then : 
    48424885  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
    4843 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4886if test "x$ac_cv_func_getifaddrs" = xyes; then : 
    48444887  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
    48454888 
     
    48504893 
    48514894ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
    4852 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4895if test "x$ac_cv_header_semaphore_h" = xyes; then : 
    48534896  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
    48544897 
     
    48574900 
    48584901ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
    4859 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4902if test "x$ac_cv_header_setjmp_h" = xyes; then : 
    48604903  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
    48614904 
     
    48644907 
    48654908ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
    4866 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4909if test "x$ac_cv_header_stdarg_h" = xyes; then : 
    48674910  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
    48684911 
     
    48714914 
    48724915ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
    4873 if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4916if test "x$ac_cv_header_stddef_h" = xyes; then : 
    48744917  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
    48754918 
     
    48784921 
    48794922ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
    4880 if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4923if test "x$ac_cv_header_stdio_h" = xyes; then : 
    48814924  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
    48824925 
     
    48854928 
    48864929ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
    4887 if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4930if test "x$ac_cv_header_stdint_h" = xyes; then : 
    48884931  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
    48894932 
     
    48924935 
    48934936ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
    4894 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4937if test "x$ac_cv_header_stdlib_h" = xyes; then : 
    48954938  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
    48964939 
     
    48994942 
    49004943ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
    4901 if test "x$ac_cv_header_string_h" = x""yes; then : 
     4944if test "x$ac_cv_header_string_h" = xyes; then : 
    49024945  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
    49034946 
     
    49064949 
    49074950ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
    4908 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4951if test "x$ac_cv_header_sys_ioctl_h" = xyes; then : 
    49094952  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
    49104953 
     
    49134956 
    49144957ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
    4915 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4958if test "x$ac_cv_header_sys_select_h" = xyes; then : 
    49164959  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
    49174960 
     
    49204963 
    49214964ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
    4922 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4965if test "x$ac_cv_header_sys_socket_h" = xyes; then : 
    49234966  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
    49244967 
     
    49274970 
    49284971ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
    4929 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4972if test "x$ac_cv_header_sys_time_h" = xyes; then : 
    49304973  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
    49314974 
     
    49344977 
    49354978ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
    4936 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4979if test "x$ac_cv_header_sys_timeb_h" = xyes; then : 
    49374980  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
    49384981 
     
    49414984 
    49424985ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
    4943 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4986if test "x$ac_cv_header_sys_types_h" = xyes; then : 
    49444987  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
    49454988 
     
    49484991 
    49494992ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
    4950 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4993if test "x$ac_cv_header_sys_filio_h" = xyes; then : 
    49514994  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
    49524995 
     
    49554998 
    49564999ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
    4957 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     5000if test "x$ac_cv_header_sys_sockio_h" = xyes; then : 
    49585001  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
    49595002 
     
    49625005 
    49635006ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 
    4964 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 
     5007if test "x$ac_cv_header_sys_utsname_h" = xyes; then : 
    49655008  $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 
    49665009 
     
    49695012 
    49705013ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
    4971 if test "x$ac_cv_header_time_h" = x""yes; then : 
     5014if test "x$ac_cv_header_time_h" = xyes; then : 
    49725015  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
    49735016 
     
    49765019 
    49775020ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
    4978 if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     5021if test "x$ac_cv_header_unistd_h" = xyes; then : 
    49795022  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
    49805023 
     
    49835026 
    49845027ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
    4985 if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     5028if test "x$ac_cv_header_winsock_h" = xyes; then : 
    49865029  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
    49875030 
     
    49905033 
    49915034ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
    4992 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     5035if test "x$ac_cv_header_winsock2_h" = xyes; then : 
    49935036  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
    49945037 
     
    50035046 
    50045047" 
    5005 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     5048if test "x$ac_cv_header_mswsock_h" = xyes; then : 
    50065049  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
    50075050 
     
    50105053 
    50115054ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
    5012 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     5055if test "x$ac_cv_header_ws2tcpip_h" = xyes; then : 
    50135056  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
    50145057 
     
    50175060 
    50185061ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
    5019 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
     5062if test "x$ac_cv_header_uuid_uuid_h" = xyes; then : 
    50205063  ac_has_uuid_h=1 
    50215064fi 
     
    50315074 
    50325075" 
    5033 if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     5076if test "x$ac_cv_header_net_if_h" = xyes; then : 
    50345077  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
    50355078 
     
    54485491 
    54495492else 
    5450   as_fn_error "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
     5493  as_fn_error $? "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
    54515494fi 
    54525495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     
    55145557 
    55155558else 
    5516   as_fn_error "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
     5559  as_fn_error $? "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
    55175560 
    55185561 
     
    55715614 
    55725615else 
    5573   as_fn_error "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
     5616  as_fn_error $? "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
    55745617fi 
    55755618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     
    55825625 
    55835626ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
    5584 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
     5627if test "x$ac_cv_header_sys_soundcard_h" = xyes; then : 
    55855628  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    55865629fi 
     
    55885631 
    55895632ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
    5590 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
     5633if test "x$ac_cv_header_linux_soundcard_h" = xyes; then : 
    55915634  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    55925635fi 
     
    55945637 
    55955638ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
    5596 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
     5639if test "x$ac_cv_header_machine_soundcard_h" = xyes; then : 
    55975640  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    55985641fi 
     
    56425685                ac_pjmedia_snd=pa_unix 
    56435686        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
    5644 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
     5687if test "x$ac_cv_header_alsa_version_h" = xyes; then : 
    56455688  ac_pa_use_alsa=1 
    56465689 
     
    59455988  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
    59465989$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
    5947 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5990if ${ac_cv_lib_samplerate_src_new+:} false; then : 
    59485991  $as_echo_n "(cached) " >&6 
    59495992else 
     
    59796022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
    59806023$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
    5981 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
     6024if test "x$ac_cv_lib_samplerate_src_new" = xyes; then : 
    59826025  cat >>confdefs.h <<_ACEOF 
    59836026#define HAVE_LIBSAMPLERATE 1 
     
    60196062fi 
    60206063 
     6064 
     6065if test "x$ac_cross_compile" != "x" -a "x$with_sdl" = "xno"; then 
     6066    enable_sdl=no 
     6067fi 
    60216068 
    60226069# Check whether --enable-sdl was given. 
     
    60556102 
    60566103 
     6104 
     6105# Check whether --with-ffmpeg was given. 
     6106if test "${with_ffmpeg+set}" = set; then : 
     6107  withval=$with_ffmpeg; 
     6108else 
     6109  with_ffmpeg=no 
     6110 
     6111fi 
     6112 
     6113 
     6114if test "x$ac_cross_compile" != "x" -a "x$with_ffmpeg" = "xno"; then 
     6115    enable_ffmpeg=no 
     6116fi 
     6117 
    60576118# Check whether --enable-ffmpeg was given. 
    60586119if test "${enable_ffmpeg+set}" = set; then : 
     
    60866147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    60876148$as_echo_n "checking for $ac_word... " >&6; } 
    6088 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then : 
     6149if ${ac_cv_prog_PKG_CONFIG+:} false; then : 
    60896150  $as_echo_n "(cached) " >&6 
    60906151else 
     
    60986159  test -z "$as_dir" && as_dir=. 
    60996160    for ac_exec_ext in '' $ac_executable_extensions; do 
    6100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     6161  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    61016162    ac_cv_prog_PKG_CONFIG="$ac_prog" 
    61026163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     
    61756236                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
    61766237$as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
    6177 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
     6238if ${ac_cv_lib_avdevice_avdevice_version+:} false; then : 
    61786239  $as_echo_n "(cached) " >&6 
    61796240else 
     
    62096270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    62106271$as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    6211 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
     6272if test "x$ac_cv_lib_avdevice_avdevice_version" = xyes; then : 
    62126273  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    62136274                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    62186279                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
    62196280$as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
    6220 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
     6281if ${ac_cv_lib_avutil_av_malloc+:} false; then : 
    62216282  $as_echo_n "(cached) " >&6 
    62226283else 
     
    62526313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
    62536314$as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
    6254 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
     6315if test "x$ac_cv_lib_avutil_av_malloc" = xyes; then : 
    62556316  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    62566317                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    62616322                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
    62626323$as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
    6263 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
     6324if ${ac_cv_lib_avcodec_avcodec_init+:} false; then : 
    62646325  $as_echo_n "(cached) " >&6 
    62656326else 
     
    62966357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    62976358$as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    6298 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
     6359if test "x$ac_cv_lib_avcodec_avcodec_init" = xyes; then : 
    62996360  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    63006361                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    63046365                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
    63056366$as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
    6306 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
     6367if ${ac_cv_lib_avformat_av_register_all+:} false; then : 
    63076368  $as_echo_n "(cached) " >&6 
    63086369else 
     
    63396400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
    63406401$as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
    6341 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
     6402if test "x$ac_cv_lib_avformat_av_register_all" = xyes; then : 
    63426403  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    63436404                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    63476408                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
    63486409$as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
    6349 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
     6410if ${ac_cv_lib_swscale_sws_scale+:} false; then : 
    63506411  $as_echo_n "(cached) " >&6 
    63516412else 
     
    63826443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
    63836444$as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
    6384 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
     6445if test "x$ac_cv_lib_swscale_sws_scale" = xyes; then : 
    63856446  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    63866447                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    63906451                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
    63916452$as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
    6392 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
     6453if ${ac_cv_lib_avcore_avcore_version+:} false; then : 
    63936454  $as_echo_n "(cached) " >&6 
    63946455else 
     
    64246485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
    64256486$as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
    6426 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
     6487if test "x$ac_cv_lib_avcore_avcore_version" = xyes; then : 
    64276488  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    64286489                                      ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    64396500 
    64406501fi 
    6441  
    6442  
    6443  
    6444 # Check whether --with-ffmpeg was given. 
    6445 if test "${with_ffmpeg+set}" = set; then : 
    6446   withval=$with_ffmpeg; 
    6447 else 
    6448   with_ffmpeg=no 
    6449  
    6450 fi 
    6451  
    64526502 
    64536503 
     
    64666516                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
    64676517$as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
    6468 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
     6518if ${ac_cv_lib_v4l2_v4l2_open+:} false; then : 
    64696519  $as_echo_n "(cached) " >&6 
    64706520else 
     
    65006550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    65016551$as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    6502 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
     6552if test "x$ac_cv_lib_v4l2_v4l2_open" = xyes; then : 
    65036553  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    65046554                              ac_v4l2_ldflags="-lv4l2" 
     
    65816631 
    65826632    if test x$IPPROOT = x; then 
    6583         as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 
     6633        as_fn_error $? "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 
    65846634    elif test ! -d $IPPROOT; then 
    6585         as_fn_error "not found" "$LINENO" 5 
     6635        as_fn_error $? "not found" "$LINENO" 5 
    65866636    elif test ! -d $IPPROOT/include; then 
    6587         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     6637        as_fn_error $? "directory doesn't seem to be valid" "$LINENO" 5 
    65886638    else 
    65896639        # IPP directory looks okay. 
     
    66226672                   # IPP7 
    66236673                   if ! test -d $IPPROOT/../compiler; then 
    6624                         as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
     6674                        as_fn_error $? "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
    66256675                   fi 
    66266676                   IPP_CFLAGS="$IPP_CFLAGS" 
     
    66606710  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    66616711$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6662 as_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 
    6663 See \`config.log' for more details." "$LINENO" 5; } 
     6712as_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 
     6713See \`config.log' for more details" "$LINENO" 5; } 
    66646714fi 
    66656715rm -f core conftest.err conftest.$ac_objext \ 
     
    66906740 
    66916741    if test x$IPPSAMPLES = x; then 
    6692         as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 5 
     6742        as_fn_error $? "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 5 
    66936743    elif test ! -d $IPPSAMPLES; then 
    6694         as_fn_error "not found" "$LINENO" 5 
     6744        as_fn_error $? "not found" "$LINENO" 5 
    66956745    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    6696         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     6746        as_fn_error $? "directory doesn't seem to be valid" "$LINENO" 5 
    66976747    else 
    66986748        # Remove trailing backslash 
     
    67166766                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    67176767$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6718 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    6719 See \`config.log' for more details." "$LINENO" 5; } 
     6768as_fn_error $? "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     6769See \`config.log' for more details" "$LINENO" 5; } 
    67206770            fi 
    67216771        else 
    67226772            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    67236773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6724 as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
    6725 See \`config.log' for more details." "$LINENO" 5; } 
     6774as_fn_error $? "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     6775See \`config.log' for more details" "$LINENO" 5; } 
    67266776        fi 
    67276777 
     
    67306780            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    67316781$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6732 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    6733 See \`config.log' for more details." "$LINENO" 5; } 
     6782as_fn_error $? "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     6783See \`config.log' for more details" "$LINENO" 5; } 
    67346784            exit 1; 
    67356785        fi 
     
    67446794            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    67456795$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6746 as_fn_error "bug in this script: unsupported IPP version 
    6747 See \`config.log' for more details." "$LINENO" 5; } 
     6796as_fn_error $? "bug in this script: unsupported IPP version 
     6797See \`config.log' for more details" "$LINENO" 5; } 
    67486798        fi 
    67496799 
     
    67516801            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    67526802$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6753 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    6754 See \`config.log' for more details." "$LINENO" 5; } 
     6803as_fn_error $? "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     6804See \`config.log' for more details" "$LINENO" 5; } 
    67556805        fi 
    67566806 
     
    67876837  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    67886838$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6789 as_fn_error "failed 
    6790 See \`config.log' for more details." "$LINENO" 5; } 
     6839as_fn_error $? "failed 
     6840See \`config.log' for more details" "$LINENO" 5; } 
    67916841fi 
    67926842rm -f core conftest.err conftest.$ac_objext \ 
     
    68166866 
    68176867 
     6868 
     6869 
     6870# Check whether --with-ssl was given. 
     6871if test "${with_ssl+set}" = set; then : 
     6872  withval=$with_ssl; 
     6873else 
     6874  with_ssl=no 
     6875 
     6876fi 
     6877 
     6878 
     6879if test "x$ac_cross_compile" != "x" -a "x$with_ssl" = "xno"; then 
     6880    enable_ssl=no 
     6881fi 
    68186882 
    68196883 
     
    68316895                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
    68326896$as_echo "checking for OpenSSL installations.." >&6; } 
     6897                if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then 
     6898                    CFLAGS="$CFLAGS -I$with_ssl/include" 
     6899                    LDFLAGS="$LDFLAGS -L$with_ssl/lib" 
     6900                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SSL prefix... $with_ssl" >&5 
     6901$as_echo "Using SSL prefix... $with_ssl" >&6; } 
     6902                fi 
    68336903 
    68346904 
    68356905 
    68366906                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
    6837 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
     6907if test "x$ac_cv_header_openssl_ssl_h" = xyes; then : 
    68386908  openssl_h_present=1 
    68396909fi 
     
    68426912                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    68436913$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
    6844 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     6914if ${ac_cv_lib_crypto_ERR_load_BIO_strings+:} false; then : 
    68456915  $as_echo_n "(cached) " >&6 
    68466916else 
     
    68766946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    68776947$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    6878 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
     6948if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = xyes; then : 
    68796949  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    68806950fi 
     
    68826952                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
    68836953$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
    6884 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     6954if ${ac_cv_lib_ssl_SSL_library_init+:} false; then : 
    68856955  $as_echo_n "(cached) " >&6 
    68866956else 
     
    69166986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    69176987$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    6918 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
     6988if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then : 
    69196989  libssl_present=1 && LIBS="$LIBS -lssl" 
    69206990fi 
     
    69367006 
    69377007 
     7008# Check whether --with-opencore-amrnb was given. 
     7009if test "${with_opencore_amrnb+set}" = set; then : 
     7010  withval=$with_opencore_amrnb; 
     7011else 
     7012  with_opencore_amrnb=no 
     7013 
     7014fi 
     7015 
     7016 
     7017if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amrnb" = "xno"; then 
     7018    enable_opencore_amrnb=no 
     7019fi 
     7020 
     7021 
    69387022# Check whether --enable-opencore_amrnb was given. 
    69397023if test "${enable_opencore_amrnb+set}" = set; then : 
     
    69517035                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 
    69527036$as_echo "checking for OpenCORE AMR-NB installations.." >&6; } 
     7037                if test "x$with_opencore_amrnb" != "xno" -a "x$with_opencore_amrnb" != "x"; then 
     7038                    CFLAGS="$CFLAGS -I$with_opencore_amrnb/include" 
     7039                    LDFLAGS="$LDFLAGS -L$with_opencore_amrnb/lib" 
     7040                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OpenCORE AMR-NB prefix... $with_opencore_amrnb" >&5 
     7041$as_echo "Using OpenCORE AMR-NB prefix... $with_opencore_amrnb" >&6; } 
     7042                fi 
    69537043 
    69547044 
    69557045                ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 
    6956 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : 
     7046if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = xyes; then : 
    69577047  opencore_amrnb_h_present=1 
    69587048fi 
     
    69617051                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 
    69627052$as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 
    6963 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : 
     7053if ${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+:} false; then : 
    69647054  $as_echo_n "(cached) " >&6 
    69657055else 
     
    69957085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 
    69967086$as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 
    6997 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : 
     7087if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = xyes; then : 
    69987088  opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 
    69997089fi 
     
    70887178 
    70897179 
    7090  
    7091 if test "$build" = "$host"; then 
    7092     ac_cross_compile= 
    7093 else 
    7094     ac_cross_compile=${host_orig}- 
    7095 fi 
    70967180ac_linux_poll=select 
    70977181 
     
    71747258if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 
    71757259  if test -w "$cache_file"; then 
    7176     test "x$cache_file" != "x/dev/null" && 
     7260    if test "x$cache_file" != "x/dev/null"; then 
    71777261      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
    71787262$as_echo "$as_me: updating cache $cache_file" >&6;} 
    7179     cat confcache >$cache_file 
     7263      if test ! -f "$cache_file" || test -h "$cache_file"; then 
     7264        cat confcache >"$cache_file" 
     7265      else 
     7266        case $cache_file in #( 
     7267        */* | ?:*) 
     7268          mv -f confcache "$cache_file"$$ && 
     7269          mv -f "$cache_file"$$ "$cache_file" ;; #( 
     7270        *) 
     7271          mv -f confcache "$cache_file" ;; 
     7272        esac 
     7273      fi 
     7274    fi 
    71807275  else 
    71817276    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     
    71937288ac_libobjs= 
    71947289ac_ltlibobjs= 
     7290U= 
    71957291for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 
    71967292  # 1. Remove the extension, and $U if already installed. 
     
    72097305 
    72107306 
    7211 : ${CONFIG_STATUS=./config.status} 
     7307: "${CONFIG_STATUS=./config.status}" 
    72127308ac_write_fail=0 
    72137309ac_clean_files_save=$ac_clean_files 
     
    73107406 
    73117407# Find who we are.  Look in the path if we contain no directory separator. 
     7408as_myself= 
    73127409case $0 in #(( 
    73137410  *[\\/]* ) as_myself=$0 ;; 
     
    73557452 
    73567453 
    7357 # as_fn_error ERROR [LINENO LOG_FD] 
    7358 # --------------------------------- 
     7454# as_fn_error STATUS ERROR [LINENO LOG_FD] 
     7455# ---------------------------------------- 
    73597456# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    73607457# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    7361 # script with status $?, using 1 if that was 0. 
     7458# script with STATUS, using 1 if that was 0. 
    73627459as_fn_error () 
    73637460{ 
    7364   as_status=$?; test $as_status -eq 0 && as_status=1 
    7365   if test "$3"; then 
    7366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    7367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     7461  as_status=$1; test $as_status -eq 0 && as_status=1 
     7462  if test "$4"; then 
     7463    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     7464    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 
    73687465  fi 
    7369   $as_echo "$as_me: error: $1" >&2 
     7466  $as_echo "$as_me: error: $2" >&2 
    73707467  as_fn_exit $as_status 
    73717468} # as_fn_error 
     
    75057602    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    75067603    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    7507     # In both cases, we have to default to `cp -p'. 
     7604    # In both cases, we have to default to `cp -pR'. 
    75087605    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    7509       as_ln_s='cp -p' 
     7606      as_ln_s='cp -pR' 
    75107607  elif ln conf$$.file conf$$ 2>/dev/null; then 
    75117608    as_ln_s=ln 
    75127609  else 
    7513     as_ln_s='cp -p' 
     7610    as_ln_s='cp -pR' 
    75147611  fi 
    75157612else 
    7516   as_ln_s='cp -p' 
     7613  as_ln_s='cp -pR' 
    75177614fi 
    75187615rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
     
    75637660    done 
    75647661    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    7565   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     7662  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 
    75667663 
    75677664 
     
    75747671fi 
    75757672 
    7576 if test -x / >/dev/null 2>&1; then 
    7577   as_test_x='test -x' 
    7578 else 
    7579   if ls -dL / >/dev/null 2>&1; then 
    7580     as_ls_L_option=L 
    7581   else 
    7582     as_ls_L_option= 
    7583   fi 
    7584   as_test_x=' 
    7585     eval sh -c '\'' 
    7586       if test -d "$1"; then 
    7587         test -d "$1/."; 
    7588       else 
    7589         case $1 in #( 
    7590         -*)set "./$1";; 
    7591         esac; 
    7592         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    7593         ???[sx]*):;;*)false;;esac;fi 
    7594     '\'' sh 
    7595   ' 
    7596 fi 
    7597 as_executable_p=$as_test_x 
     7673 
     7674# as_fn_executable_p FILE 
     7675# ----------------------- 
     7676# Test if FILE is an executable regular file. 
     7677as_fn_executable_p () 
     7678{ 
     7679  test -f "$1" && test -x "$1" 
     7680} # as_fn_executable_p 
     7681as_test_x='test -x' 
     7682as_executable_p=as_fn_executable_p 
    75987683 
    75997684# Sed expression to map a string onto a valid CPP name. 
     
    76177702ac_log=" 
    76187703This file was extended by pjproject $as_me 2.x, which was 
    7619 generated by GNU Autoconf 2.65.  Invocation command line was 
     7704generated by GNU Autoconf 2.69.  Invocation command line was 
    76207705 
    76217706  CONFIG_FILES    = $CONFIG_FILES 
     
    76797764ac_cs_version="\\ 
    76807765pjproject config.status 2.x 
    7681 configured by $0, generated by GNU Autoconf 2.65, 
     7766configured by $0, generated by GNU Autoconf 2.69, 
    76827767  with options \\"\$ac_cs_config\\" 
    76837768 
    7684 Copyright (C) 2009 Free Software Foundation, Inc. 
     7769Copyright (C) 2012 Free Software Foundation, Inc. 
    76857770This config.status script is free software; the Free Software Foundation 
    76867771gives unlimited permission to copy, distribute and modify it." 
     
    76977782do 
    76987783  case $1 in 
    7699   --*=*) 
     7784  --*=?*) 
    77007785    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    77017786    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     7787    ac_shift=: 
     7788    ;; 
     7789  --*=) 
     7790    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     7791    ac_optarg= 
    77027792    ac_shift=: 
    77037793    ;; 
     
    77237813    case $ac_optarg in 
    77247814    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7815    '') as_fn_error $? "missing file argument" ;; 
    77257816    esac 
    77267817    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     
    77357826  --he | --h) 
    77367827    # Conflict between --help and --header 
    7737     as_fn_error "ambiguous option: \`$1' 
     7828    as_fn_error $? "ambiguous option: \`$1' 
    77387829Try \`$0 --help' for more information.";; 
    77397830  --help | --hel | -h ) 
     
    77447835 
    77457836  # This is an error. 
    7746   -*) as_fn_error "unrecognized option: \`$1' 
     7837  -*) as_fn_error $? "unrecognized option: \`$1' 
    77477838Try \`$0 --help' for more information." ;; 
    77487839 
     
    77647855cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    77657856if \$ac_cs_recheck; then 
    7766   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7857  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    77677858  shift 
    77687859  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     
    78087899    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    78097900 
    7810   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     7901  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
    78117902  esac 
    78127903done 
     
    78307921$debug || 
    78317922{ 
    7832   tmp= 
     7923  tmp= ac_tmp= 
    78337924  trap 'exit_status=$? 
    7834   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     7925  : "${ac_tmp:=$tmp}" 
     7926  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 
    78357927' 0 
    78367928  trap 'as_fn_exit 1' 1 2 13 15 
     
    78407932{ 
    78417933  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    7842   test -n "$tmp" && test -d "$tmp" 
     7934  test -d "$tmp" 
    78437935}  || 
    78447936{ 
    78457937  tmp=./conf$$-$RANDOM 
    78467938  (umask 077 && mkdir "$tmp") 
    7847 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     7939} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 
     7940ac_tmp=$tmp 
    78487941 
    78497942# Set up the scripts for CONFIG_FILES section. 
     
    78627955ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
    78637956if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
    7864   ac_cs_awk_cr='\r' 
     7957  ac_cs_awk_cr='\\r' 
    78657958else 
    78667959  ac_cs_awk_cr=$ac_cr 
    78677960fi 
    78687961 
    7869 echo 'BEGIN {' >"$tmp/subs1.awk" && 
     7962echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 
    78707963_ACEOF 
    78717964 
     
    78767969  echo "_ACEOF" 
    78777970} >conf$$subs.sh || 
    7878   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7879 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     7971  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
     7972ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 
    78807973ac_delim='%!_!# ' 
    78817974for ac_last_try in false false false false false :; do 
    78827975  . ./conf$$subs.sh || 
    7883     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7976    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
    78847977 
    78857978  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     
    78877980    break 
    78887981  elif $ac_last_try; then 
    7889     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7982    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 
    78907983  else 
    78917984    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    78957988 
    78967989cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7897 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     7990cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 
    78987991_ACEOF 
    78997992sed -n ' 
     
    79438036cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    79448037_ACAWK 
    7945 cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     8038cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 
    79468039  for (key in S) S_is_set[key] = 1 
    79478040  FS = "" 
     
    79758068else 
    79768069  cat 
    7977 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
    7978   || as_fn_error "could not setup config files machinery" "$LINENO" 5 
    7979 _ACEOF 
    7980  
    7981 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    7982 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     8070fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 
     8071  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 
     8072_ACEOF 
     8073 
     8074# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 
     8075# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 
    79838076# trailing colons and then remove the whole line if VPATH becomes empty 
    79848077# (actually we leave an empty line to preserve line numbers). 
    79858078if test "x$srcdir" = x.; then 
    7986   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    7987 s/:*\$(srcdir):*/:/ 
    7988 s/:*\${srcdir}:*/:/ 
    7989 s/:*@srcdir@:*/:/ 
    7990 s/^\([^=]*=[     ]*\):*/\1/ 
     8079  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{ 
     8080h 
     8081s/// 
     8082s/^/:/ 
     8083s/[      ]*$/:/ 
     8084s/:\$(srcdir):/:/g 
     8085s/:\${srcdir}:/:/g 
     8086s/:@srcdir@:/:/g 
     8087s/^:*// 
    79918088s/:*$// 
     8089x 
     8090s/\(=[   ]*\).*/\1/ 
     8091G 
     8092s/\n// 
    79928093s/^[^=]*=[       ]*$// 
    79938094}' 
     
    80018102# This happens for instance with `./config.status Makefile'. 
    80028103if test -n "$CONFIG_HEADERS"; then 
    8003 cat >"$tmp/defines.awk" <<\_ACAWK || 
     8104cat >"$ac_tmp/defines.awk" <<\_ACAWK || 
    80048105BEGIN { 
    80058106_ACEOF 
     
    80138114ac_delim='%!_!# ' 
    80148115for ac_last_try in false false :; do 
    8015   ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
    8016   if test -z "$ac_t"; then 
     8116  ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 
     8117  if test -z "$ac_tt"; then 
    80178118    break 
    80188119  elif $ac_last_try; then 
    8019     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     8120    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 
    80208121  else 
    80218122    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    81028203_ACEOF 
    81038204cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    8104   as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     8205  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 
    81058206fi # test -n "$CONFIG_HEADERS" 
    81068207 
     
    81158216  case $ac_mode$ac_tag in 
    81168217  :[FHL]*:*);; 
    8117   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     8218  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 
    81188219  :[FH]-) ac_tag=-:-;; 
    81198220  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     
    81348235    do 
    81358236      case $ac_f in 
    8136       -) ac_f="$tmp/stdin";; 
     8237      -) ac_f="$ac_tmp/stdin";; 
    81378238      *) # Look for the file first in the build tree, then in the source tree 
    81388239         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     
    81438244           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    81448245           esac || 
    8145            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     8246           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
    81468247      esac 
    81478248      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     
    81698270 
    81708271    case $ac_tag in 
    8171     *:-:* | *:-) cat >"$tmp/stdin" \ 
    8172       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     8272    *:-:* | *:-) cat >"$ac_tmp/stdin" \ 
     8273      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 
    81738274    esac 
    81748275    ;; 
     
    82958396$ac_datarootdir_hack 
    82968397" 
    8297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    8298   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     8398eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 
     8399  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    82998400 
    83008401test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    8301   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    8302   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
     8402  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 
     8403  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \ 
     8404      "$ac_tmp/out"`; test -z "$ac_out"; } && 
    83038405  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    8304 which seems to be undefined.  Please make sure it is defined." >&5 
     8406which seems to be undefined.  Please make sure it is defined" >&5 
    83058407$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    8306 which seems to be undefined.  Please make sure it is defined." >&2;} 
    8307  
    8308   rm -f "$tmp/stdin" 
     8408which seems to be undefined.  Please make sure it is defined" >&2;} 
     8409 
     8410  rm -f "$ac_tmp/stdin" 
    83098411  case $ac_file in 
    8310   -) cat "$tmp/out" && rm -f "$tmp/out";; 
    8311   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     8412  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 
     8413  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 
    83128414  esac \ 
    8313   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     8415  || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    83148416 ;; 
    83158417  :H) 
     
    83208422    { 
    83218423      $as_echo "/* $configure_input  */" \ 
    8322       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    8323     } >"$tmp/config.h" \ 
    8324       || as_fn_error "could not create $ac_file" "$LINENO" 5 
    8325     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     8424      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 
     8425    } >"$ac_tmp/config.h" \ 
     8426      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
     8427    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 
    83268428      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
    83278429$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    83288430    else 
    83298431      rm -f "$ac_file" 
    8330       mv "$tmp/config.h" "$ac_file" \ 
    8331         || as_fn_error "could not create $ac_file" "$LINENO" 5 
     8432      mv "$ac_tmp/config.h" "$ac_file" \ 
     8433        || as_fn_error $? "could not create $ac_file" "$LINENO" 5 
    83328434    fi 
    83338435  else 
    83348436    $as_echo "/* $configure_input  */" \ 
    8335       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
    8336       || as_fn_error "could not create -" "$LINENO" 5 
     8437      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 
     8438      || as_fn_error $? "could not create -" "$LINENO" 5 
    83378439  fi 
    83388440 ;; 
     
    83498451 
    83508452test $ac_write_fail = 0 || 
    8351   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
     8453  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    83528454 
    83538455 
     
    83708472  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    83718473  # would make configure fail if this is the last instruction. 
    8372   $ac_cs_success || as_fn_exit $? 
     8474  $ac_cs_success || as_fn_exit 1 
    83738475fi 
    83748476if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
  • pjproject/trunk/aconfigure.ac

    r4131 r4149  
    105105        ;; 
    106106esac 
     107 
     108AC_SUBST(ac_cross_compile) 
     109if test "$build" = "$host"; then 
     110    ac_cross_compile= 
     111else 
     112    ac_cross_compile=${host_orig}- 
     113fi 
    107114 
    108115AC_CHECK_LIB(pthread,pthread_create) 
     
    831838    ) 
    832839 
     840dnl # Do not use default SDL installation if we are cross-compiling 
     841if test "x$ac_cross_compile" != "x" -a "x$with_sdl" = "xno"; then 
     842    enable_sdl=no 
     843fi 
     844 
    833845dnl # SDL 
    834846AC_ARG_ENABLE(sdl, 
     
    860872              ]) 
    861873 
     874 
     875AC_ARG_WITH(ffmpeg, 
     876    AC_HELP_STRING([--with-ffmpeg=DIR], 
     877                   [Specify alternate FFMPEG prefix]), 
     878    [], 
     879    [with_ffmpeg=no] 
     880    ) 
     881 
     882dnl # Do not use default ffmpeg installation if we are cross-compiling 
     883if test "x$ac_cross_compile" != "x" -a "x$with_ffmpeg" = "xno"; then 
     884    enable_ffmpeg=no 
     885fi 
    862886 
    863887dnl # FFMPEG stuffs 
     
    9841008              ) 
    9851009 
    986 AC_ARG_WITH(ffmpeg, 
    987     AC_HELP_STRING([--with-ffmpeg=DIR], 
    988                    [Specify alternate FFMPEG prefix]), 
    989     [], 
    990     [with_ffmpeg=no] 
    991     ) 
    992  
    993  
    9941010dnl # Video for Linux 2 
    9951011AC_ARG_ENABLE(v4l2, 
     
    12541270dnl # 
    12551271 
     1272dnl # SSL alt prefix 
     1273AC_ARG_WITH(ssl, 
     1274    AC_HELP_STRING([--with-ssl=DIR], 
     1275                   [Specify alternate libssl prefix]), 
     1276    [], 
     1277    [with_ssl=no] 
     1278    ) 
     1279 
     1280dnl # Do not use default SSL installation if we are cross-compiling 
     1281if test "x$ac_cross_compile" != "x" -a "x$with_ssl" = "xno"; then 
     1282    enable_ssl=no 
     1283fi 
     1284 
    12561285dnl # Include SSL support 
    12571286AC_SUBST(ac_no_ssl) 
     
    12681297              [ 
    12691298                AC_MSG_RESULT([checking for OpenSSL installations..]) 
     1299                if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then 
     1300                    CFLAGS="$CFLAGS -I$with_ssl/include" 
     1301                    LDFLAGS="$LDFLAGS -L$with_ssl/lib" 
     1302                    AC_MSG_RESULT([Using SSL prefix... $with_ssl]) 
     1303                fi 
    12701304                AC_SUBST(openssl_h_present) 
    12711305                AC_SUBST(libssl_present) 
     
    12841318              ]) 
    12851319 
     1320dnl # opencore-amrnb alt prefix 
     1321AC_ARG_WITH(opencore-amrnb, 
     1322    AC_HELP_STRING([--with-opencore-amrnb=DIR], 
     1323                   [Specify alternate libopencore-amrnb prefix]), 
     1324    [], 
     1325    [with_opencore_amrnb=no] 
     1326    ) 
     1327 
     1328dnl # Do not use default opencore-amrnb installation if we are cross-compiling 
     1329if test "x$ac_cross_compile" != "x" -a "x$with_opencore_amrnb" = "xno"; then 
     1330    enable_opencore_amrnb=no 
     1331fi 
     1332 
    12861333dnl # Include opencore-amrnb support 
    12871334AC_SUBST(ac_no_opencore_amrnb) 
     
    12991346              [ 
    13001347                AC_MSG_RESULT([checking for OpenCORE AMR-NB installations..]) 
     1348                if test "x$with_opencore_amrnb" != "xno" -a "x$with_opencore_amrnb" != "x"; then 
     1349                    CFLAGS="$CFLAGS -I$with_opencore_amrnb/include" 
     1350                    LDFLAGS="$LDFLAGS -L$with_opencore_amrnb/lib" 
     1351                    AC_MSG_RESULT([Using OpenCORE AMR-NB prefix... $with_opencore_amrnb]) 
     1352                fi                 
    13011353                AC_SUBST(opencore_amrnb_h_present) 
    13021354                AC_SUBST(opencore_amrnb_present) 
     
    13811433 
    13821434AC_SUBST(target) 
    1383 AC_SUBST(ac_cross_compile) 
    1384 if test "$build" = "$host"; then 
    1385     ac_cross_compile= 
    1386 else 
    1387     ac_cross_compile=${host_orig}- 
    1388 fi 
    13891435AC_SUBST(ac_linux_poll,select) 
    13901436AC_SUBST(ac_host,unix) 
Note: See TracChangeset for help on using the changeset viewer.