Changeset 3058 for pjproject/trunk


Ignore:
Timestamp:
Jan 13, 2010 4:28:15 PM (15 years ago)
Author:
bennylp
Message:

Ticket #1025: Support for using different PortAudio? installation/path

  • added --with-pa-path configure option
  • remove the use of PaUtil_SetDebugPrintFunction() since this is not always available across all PA versions (?)
Location:
pjproject/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3057 r3058  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.62 for pjproject 1.0. 
     3# Generated by GNU Autoconf 2.64 for pjproject 1.0. 
    44# 
    55# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
     6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 
     7# Foundation, Inc. 
     8# 
    79# This configure script is free software; the Free Software Foundation 
    810# gives unlimited permission to copy, distribute and modify it. 
    9 ## --------------------- ## 
    10 ## M4sh Initialization.  ## 
    11 ## --------------------- ## 
     11## -------------------- ## 
     12## M4sh Initialization. ## 
     13## -------------------- ## 
    1214 
    1315# Be more Bourne compatible 
    1416DUALCASE=1; export DUALCASE # for MKS sh 
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    1618  emulate sh 
    1719  NULLCMD=: 
     
    2123  setopt NO_GLOB_SUBST 
    2224else 
    23   case `(set -o) 2>/dev/null` in 
    24   *posix*) set -o posix ;; 
     25  case `(set -o) 2>/dev/null` in #( 
     26  *posix*) : 
     27    set -o posix ;; #( 
     28  *) : 
     29     ;; 
    2530esac 
    26  
    27 fi 
    28  
    29  
    30  
    31  
    32 # PATH needs CR 
    33 # Avoid depending upon Character Ranges. 
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    37 as_cr_digits='0123456789' 
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     31fi 
     32 
    3933 
    4034as_nl=' 
     
    4539as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
    4640as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     41# Prefer a ksh shell builtin over an external printf program on Solaris, 
     42# but without wasting forks for bash or zsh. 
     43if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     45  as_echo='print -r --' 
     46  as_echo_n='print -rn --' 
     47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
    4848  as_echo='printf %s\n' 
    4949  as_echo_n='printf %s' 
     
    5656    as_echo_n_body='eval 
    5757      arg=$1; 
    58       case $arg in 
     58      case $arg in #( 
    5959      *"$as_nl"*) 
    6060        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     
    7979fi 
    8080 
    81 # Support unset when possible. 
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    83   as_unset=unset 
    84 else 
    85   as_unset=false 
    86 fi 
    87  
    8881 
    8982# IFS 
     
    9588 
    9689# Find who we are.  Look in the path if we contain no directory separator. 
    97 case $0 in 
     90case $0 in #(( 
    9891  *[\\/]* ) as_myself=$0 ;; 
    9992  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    10295  IFS=$as_save_IFS 
    10396  test -z "$as_dir" && as_dir=. 
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    105 done 
     97    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     98  done 
    10699IFS=$as_save_IFS 
    107100 
     
    115108if test ! -f "$as_myself"; then 
    116109  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    117   { (exit 1); exit 1; } 
    118 fi 
    119  
    120 # Work around bugs in pre-3.0 UWIN ksh. 
    121 for as_var in ENV MAIL MAILPATH 
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     110  exit 1 
     111fi 
     112 
     113# Unset variables that we do not need and which cause bugs (e.g. in 
     114# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     115# suppresses any "Segmentation fault" message there.  '((' could 
     116# trigger a bug in pdksh 5.2.14. 
     117for as_var in BASH_ENV ENV MAIL MAILPATH 
     118do eval test x\${$as_var+set} = xset \ 
     119  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    123120done 
    124121PS1='$ ' 
     
    132129export LANGUAGE 
    133130 
    134 # Required to use basename. 
     131# CDPATH. 
     132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     133 
     134if test "x$CONFIG_SHELL" = x; then 
     135  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     136  emulate sh 
     137  NULLCMD=: 
     138  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
     139  # is contrary to our usage.  Disable this feature. 
     140  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     141  setopt NO_GLOB_SUBST 
     142else 
     143  case \`(set -o) 2>/dev/null\` in #( 
     144  *posix*) : 
     145    set -o posix ;; #( 
     146  *) : 
     147     ;; 
     148esac 
     149fi 
     150" 
     151  as_required="as_fn_return () { (exit \$1); } 
     152as_fn_success () { as_fn_return 0; } 
     153as_fn_failure () { as_fn_return 1; } 
     154as_fn_ret_success () { return 0; } 
     155as_fn_ret_failure () { return 1; } 
     156 
     157exitcode=0 
     158as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
     159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
     160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
     161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
     162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
     163 
     164else 
     165  exitcode=1; echo positional parameters were not saved. 
     166fi 
     167test x\$exitcode = x0 || exit 1" 
     168  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
     169  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     170  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
     171  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
     172test \$(( 1 + 1 )) = 2 || exit 1" 
     173  if (eval "$as_required") 2>/dev/null; then : 
     174  as_have_required=yes 
     175else 
     176  as_have_required=no 
     177fi 
     178  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
     179 
     180else 
     181  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     182as_found=false 
     183for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     184do 
     185  IFS=$as_save_IFS 
     186  test -z "$as_dir" && as_dir=. 
     187  as_found=: 
     188  case $as_dir in #( 
     189         /*) 
     190           for as_base in sh bash ksh sh5; do 
     191             # Try only shells that exist, to save several forks. 
     192             as_shell=$as_dir/$as_base 
     193             if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     194                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     195  CONFIG_SHELL=$as_shell as_have_required=yes 
     196                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     197  break 2 
     198fi 
     199fi 
     200           done;; 
     201       esac 
     202  as_found=false 
     203done 
     204$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
     205              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
     206  CONFIG_SHELL=$SHELL as_have_required=yes 
     207fi; } 
     208IFS=$as_save_IFS 
     209 
     210 
     211      if test "x$CONFIG_SHELL" != x; then : 
     212  # We cannot yet assume a decent shell, so we have to provide a 
     213        # neutralization value for shells without unset; and this also 
     214        # works around shells that cannot unset nonexistent variables. 
     215        BASH_ENV=/dev/null 
     216        ENV=/dev/null 
     217        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     218        export CONFIG_SHELL 
     219        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     220fi 
     221 
     222    if test x$as_have_required = xno; then : 
     223  $as_echo "$0: This script requires a shell more modern than all" 
     224  $as_echo "$0: the shells that I found on your system." 
     225  if test x${ZSH_VERSION+set} = xset ; then 
     226    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
     227    $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
     228  else 
     229    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
     230$0: including any error possibly output before this 
     231$0: message. Then install a modern shell, or manually run 
     232$0: the script under such a shell if you do have one." 
     233  fi 
     234  exit 1 
     235fi 
     236fi 
     237fi 
     238SHELL=${CONFIG_SHELL-/bin/sh} 
     239export SHELL 
     240# Unset more variables known to interfere with behavior of common tools. 
     241CLICOLOR_FORCE= GREP_OPTIONS= 
     242unset CLICOLOR_FORCE GREP_OPTIONS 
     243 
     244## --------------------- ## 
     245## M4sh Shell Functions. ## 
     246## --------------------- ## 
     247# as_fn_unset VAR 
     248# --------------- 
     249# Portably unset VAR. 
     250as_fn_unset () 
     251{ 
     252  { eval $1=; unset $1;} 
     253} 
     254as_unset=as_fn_unset 
     255 
     256# as_fn_set_status STATUS 
     257# ----------------------- 
     258# Set $? to STATUS, without forking. 
     259as_fn_set_status () 
     260{ 
     261  return $1 
     262} # as_fn_set_status 
     263 
     264# as_fn_exit STATUS 
     265# ----------------- 
     266# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     267as_fn_exit () 
     268{ 
     269  set +e 
     270  as_fn_set_status $1 
     271  exit $1 
     272} # as_fn_exit 
     273 
     274# as_fn_mkdir_p 
     275# ------------- 
     276# Create "$as_dir" as a directory, including parents if necessary. 
     277as_fn_mkdir_p () 
     278{ 
     279 
     280  case $as_dir in #( 
     281  -*) as_dir=./$as_dir;; 
     282  esac 
     283  test -d "$as_dir" || eval $as_mkdir_p || { 
     284    as_dirs= 
     285    while :; do 
     286      case $as_dir in #( 
     287      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     288      *) as_qdir=$as_dir;; 
     289      esac 
     290      as_dirs="'$as_qdir' $as_dirs" 
     291      as_dir=`$as_dirname -- "$as_dir" || 
     292$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     293         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     294         X"$as_dir" : 'X\(//\)$' \| \ 
     295         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     296$as_echo X"$as_dir" | 
     297    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     298            s//\1/ 
     299            q 
     300          } 
     301          /^X\(\/\/\)[^/].*/{ 
     302            s//\1/ 
     303            q 
     304          } 
     305          /^X\(\/\/\)$/{ 
     306            s//\1/ 
     307            q 
     308          } 
     309          /^X\(\/\).*/{ 
     310            s//\1/ 
     311            q 
     312          } 
     313          s/.*/./; q'` 
     314      test -d "$as_dir" && break 
     315    done 
     316    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     317  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     318 
     319 
     320} # as_fn_mkdir_p 
     321# as_fn_append VAR VALUE 
     322# ---------------------- 
     323# Append the text in VALUE to the end of the definition contained in VAR. Take 
     324# advantage of any shell optimizations that allow amortized linear growth over 
     325# repeated appends, instead of the typical quadratic growth present in naive 
     326# implementations. 
     327if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     328  eval 'as_fn_append () 
     329  { 
     330    eval $1+=\$2 
     331  }' 
     332else 
     333  as_fn_append () 
     334  { 
     335    eval $1=\$$1\$2 
     336  } 
     337fi # as_fn_append 
     338 
     339# as_fn_arith ARG... 
     340# ------------------ 
     341# Perform arithmetic evaluation on the ARGs, and store the result in the 
     342# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     343# must be portable across $(()) and expr. 
     344if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     345  eval 'as_fn_arith () 
     346  { 
     347    as_val=$(( $* )) 
     348  }' 
     349else 
     350  as_fn_arith () 
     351  { 
     352    as_val=`expr "$@" || test $? -eq 1` 
     353  } 
     354fi # as_fn_arith 
     355 
     356 
     357# as_fn_error ERROR [LINENO LOG_FD] 
     358# --------------------------------- 
     359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     361# script with status $?, using 1 if that was 0. 
     362as_fn_error () 
     363{ 
     364  as_status=$?; test $as_status -eq 0 && as_status=1 
     365  if test "$3"; then 
     366    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     367    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     368  fi 
     369  $as_echo "$as_me: error: $1" >&2 
     370  as_fn_exit $as_status 
     371} # as_fn_error 
     372 
    135373if expr a : '\(a\)' >/dev/null 2>&1 && 
    136374   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    146384fi 
    147385 
    148  
    149 # Name of the executable. 
     386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     387  as_dirname=dirname 
     388else 
     389  as_dirname=false 
     390fi 
     391 
    150392as_me=`$as_basename -- "$0" || 
    151393$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     
    167409          s/.*/./; q'` 
    168410 
    169 # CDPATH. 
    170 $as_unset CDPATH 
    171  
    172  
    173 if test "x$CONFIG_SHELL" = x; then 
    174   if (eval ":") 2>/dev/null; then 
    175   as_have_required=yes 
    176 else 
    177   as_have_required=no 
    178 fi 
    179  
    180   if test $as_have_required = yes &&     (eval ": 
    181 (as_func_return () { 
    182   (exit \$1) 
    183 } 
    184 as_func_success () { 
    185   as_func_return 0 
    186 } 
    187 as_func_failure () { 
    188   as_func_return 1 
    189 } 
    190 as_func_ret_success () { 
    191   return 0 
    192 } 
    193 as_func_ret_failure () { 
    194   return 1 
    195 } 
    196  
    197 exitcode=0 
    198 if as_func_success; then 
    199   : 
    200 else 
    201   exitcode=1 
    202   echo as_func_success failed. 
    203 fi 
    204  
    205 if as_func_failure; then 
    206   exitcode=1 
    207   echo as_func_failure succeeded. 
    208 fi 
    209  
    210 if as_func_ret_success; then 
    211   : 
    212 else 
    213   exitcode=1 
    214   echo as_func_ret_success failed. 
    215 fi 
    216  
    217 if as_func_ret_failure; then 
    218   exitcode=1 
    219   echo as_func_ret_failure succeeded. 
    220 fi 
    221  
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    223   : 
    224 else 
    225   exitcode=1 
    226   echo positional parameters were not saved. 
    227 fi 
    228  
    229 test \$exitcode = 0) || { (exit 1); exit 1; } 
    230  
    231 ( 
    232   as_lineno_1=\$LINENO 
    233   as_lineno_2=\$LINENO 
    234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    236 ") 2> /dev/null; then 
    237   : 
    238 else 
    239   as_candidate_shells= 
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    242 do 
    243   IFS=$as_save_IFS 
    244   test -z "$as_dir" && as_dir=. 
    245   case $as_dir in 
    246          /*) 
    247            for as_base in sh bash ksh sh5; do 
    248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    249            done;; 
    250        esac 
    251 done 
    252 IFS=$as_save_IFS 
    253  
    254  
    255       for as_shell in $as_candidate_shells $SHELL; do 
    256          # Try only shells that exist, to save several forks. 
    257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    258                 { ("$as_shell") 2> /dev/null <<\_ASEOF 
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    260   emulate sh 
    261   NULLCMD=: 
    262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    263   # is contrary to our usage.  Disable this feature. 
    264   alias -g '${1+"$@"}'='"$@"' 
    265   setopt NO_GLOB_SUBST 
    266 else 
    267   case `(set -o) 2>/dev/null` in 
    268   *posix*) set -o posix ;; 
    269 esac 
    270  
    271 fi 
    272  
    273  
    274 : 
    275 _ASEOF 
    276 }; then 
    277   CONFIG_SHELL=$as_shell 
    278                as_have_required=yes 
    279                if { "$as_shell" 2> /dev/null <<\_ASEOF 
    280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    281   emulate sh 
    282   NULLCMD=: 
    283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    284   # is contrary to our usage.  Disable this feature. 
    285   alias -g '${1+"$@"}'='"$@"' 
    286   setopt NO_GLOB_SUBST 
    287 else 
    288   case `(set -o) 2>/dev/null` in 
    289   *posix*) set -o posix ;; 
    290 esac 
    291  
    292 fi 
    293  
    294  
    295 : 
    296 (as_func_return () { 
    297   (exit $1) 
    298 } 
    299 as_func_success () { 
    300   as_func_return 0 
    301 } 
    302 as_func_failure () { 
    303   as_func_return 1 
    304 } 
    305 as_func_ret_success () { 
    306   return 0 
    307 } 
    308 as_func_ret_failure () { 
    309   return 1 
    310 } 
    311  
    312 exitcode=0 
    313 if as_func_success; then 
    314   : 
    315 else 
    316   exitcode=1 
    317   echo as_func_success failed. 
    318 fi 
    319  
    320 if as_func_failure; then 
    321   exitcode=1 
    322   echo as_func_failure succeeded. 
    323 fi 
    324  
    325 if as_func_ret_success; then 
    326   : 
    327 else 
    328   exitcode=1 
    329   echo as_func_ret_success failed. 
    330 fi 
    331  
    332 if as_func_ret_failure; then 
    333   exitcode=1 
    334   echo as_func_ret_failure succeeded. 
    335 fi 
    336  
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then 
    338   : 
    339 else 
    340   exitcode=1 
    341   echo positional parameters were not saved. 
    342 fi 
    343  
    344 test $exitcode = 0) || { (exit 1); exit 1; } 
    345  
    346 ( 
    347   as_lineno_1=$LINENO 
    348   as_lineno_2=$LINENO 
    349   test "x$as_lineno_1" != "x$as_lineno_2" && 
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    351  
    352 _ASEOF 
    353 }; then 
    354   break 
    355 fi 
    356  
    357 fi 
    358  
    359       done 
    360  
    361       if test "x$CONFIG_SHELL" != x; then 
    362   for as_var in BASH_ENV ENV 
    363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    364         done 
    365         export CONFIG_SHELL 
    366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    367 fi 
    368  
    369  
    370     if test $as_have_required = no; then 
    371   echo This script requires a shell more modern than all the 
    372       echo shells that I found on your system.  Please install a 
    373       echo modern shell, or manually run the script under such a 
    374       echo shell if you do have one. 
    375       { (exit 1); exit 1; } 
    376 fi 
    377  
    378  
    379 fi 
    380  
    381 fi 
    382  
    383  
    384  
    385 (eval "as_func_return () { 
    386   (exit \$1) 
    387 } 
    388 as_func_success () { 
    389   as_func_return 0 
    390 } 
    391 as_func_failure () { 
    392   as_func_return 1 
    393 } 
    394 as_func_ret_success () { 
    395   return 0 
    396 } 
    397 as_func_ret_failure () { 
    398   return 1 
    399 } 
    400  
    401 exitcode=0 
    402 if as_func_success; then 
    403   : 
    404 else 
    405   exitcode=1 
    406   echo as_func_success failed. 
    407 fi 
    408  
    409 if as_func_failure; then 
    410   exitcode=1 
    411   echo as_func_failure succeeded. 
    412 fi 
    413  
    414 if as_func_ret_success; then 
    415   : 
    416 else 
    417   exitcode=1 
    418   echo as_func_ret_success failed. 
    419 fi 
    420  
    421 if as_func_ret_failure; then 
    422   exitcode=1 
    423   echo as_func_ret_failure succeeded. 
    424 fi 
    425  
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    427   : 
    428 else 
    429   exitcode=1 
    430   echo positional parameters were not saved. 
    431 fi 
    432  
    433 test \$exitcode = 0") || { 
    434   echo No shell found that supports shell functions. 
    435   echo Please tell bug-autoconf@gnu.org about your system, 
    436   echo including any error possibly output before this message. 
    437   echo This can help us improve future autoconf versions. 
    438   echo Configuration will now proceed without shell functions. 
    439 } 
    440  
    441  
    442  
    443   as_lineno_1=$LINENO 
    444   as_lineno_2=$LINENO 
    445   test "x$as_lineno_1" != "x$as_lineno_2" && 
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    447  
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    449   # uniformly replaced by the line number.  The first 'sed' inserts a 
    450   # line-number line after each line using $LINENO; the second 'sed' 
    451   # does the real work.  The second script uses 'N' to pair each 
    452   # line-number line with the line containing $LINENO, and appends 
    453   # trailing '-' during substitution so that $LINENO is not a special 
    454   # case at line end. 
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    457   # E. McMahon (1931-1989) for sed's syntax.  :-) 
     411# Avoid depending upon Character Ranges. 
     412as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     414as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     415as_cr_digits='0123456789' 
     416as_cr_alnum=$as_cr_Letters$as_cr_digits 
     417 
     418 
     419  as_lineno_1=$LINENO as_lineno_1a=$LINENO 
     420  as_lineno_2=$LINENO as_lineno_2a=$LINENO 
     421  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
     422  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
     423  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
    458424  sed -n ' 
    459425    p 
     
    472438    ' >$as_me.lineno && 
    473439  chmod +x "$as_me.lineno" || 
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    475    { (exit 1); exit 1; }; } 
     440    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    476441 
    477442  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    483448} 
    484449 
    485  
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    487   as_dirname=dirname 
    488 else 
    489   as_dirname=false 
    490 fi 
    491  
    492450ECHO_C= ECHO_N= ECHO_T= 
    493 case `echo -n x` in 
     451case `echo -n x` in #((((( 
    494452-n*) 
    495   case `echo 'x\c'` in 
     453  case `echo 'xy\c'` in 
    496454  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    497   *)   ECHO_C='\c';; 
     455  xy)  ECHO_C='\c';; 
     456  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     457       ECHO_T=' ';; 
    498458  esac;; 
    499459*) 
    500460  ECHO_N='-n';; 
    501461esac 
    502 if expr a : '\(a\)' >/dev/null 2>&1 && 
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    504   as_expr=expr 
    505 else 
    506   as_expr=false 
    507 fi 
    508462 
    509463rm -f conf$$ conf$$.exe conf$$.file 
     
    535489 
    536490if mkdir -p . 2>/dev/null; then 
    537   as_mkdir_p=: 
     491  as_mkdir_p='mkdir -p "$as_dir"' 
    538492else 
    539493  test -d ./-p && rmdir ./-p 
     
    554508        test -d "$1/."; 
    555509      else 
    556         case $1 in 
     510        case $1 in #( 
    557511        -*)set "./$1";; 
    558512        esac; 
    559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     513        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    560514        ???[sx]*):;;*)false;;esac;fi 
    561515    '\'' sh 
     
    569523# Sed expression to map a string onto a valid variable name. 
    570524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    571  
    572525 
    573526 
     
    590543MFLAGS= 
    591544MAKEFLAGS= 
    592 SHELL=${CONFIG_SHELL-/bin/sh} 
    593545 
    594546# Identity of this package. 
     
    598550PACKAGE_STRING='pjproject 1.0' 
    599551PACKAGE_BUGREPORT='' 
     552PACKAGE_URL='' 
    600553 
    601554# Factoring default headers for most tests. 
     
    635588#endif" 
    636589 
    637 ac_subst_vars='SHELL 
     590ac_subst_vars='LTLIBOBJS 
     591LIBOBJS 
     592ac_main_obj 
     593ac_host 
     594ac_linux_poll 
     595ac_cross_compile 
     596libcrypto_present 
     597libssl_present 
     598openssl_h_present 
     599ac_no_ssl 
     600ac_no_ilbc_codec 
     601ac_no_speex_codec 
     602ac_no_g7221_codec 
     603ac_no_g722_codec 
     604ac_no_gsm_codec 
     605ac_no_l16_codec 
     606ac_no_g711_codec 
     607ac_no_speex_aec 
     608ac_no_large_filter 
     609ac_no_small_filter 
     610ac_pa_use_oss 
     611ac_pa_use_alsa 
     612ac_pa_cflags 
     613ac_pa_path 
     614ac_pjmedia_snd 
     615ac_os_objs 
     616EGREP 
     617GREP 
     618CPP 
     619ac_build_mak_vars 
     620ac_pjdir 
     621ac_ct_CXX 
     622CXXFLAGS 
     623CXX 
     624OBJEXT 
     625EXEEXT 
     626ac_ct_CC 
     627CPPFLAGS 
     628LDFLAGS 
     629CFLAGS 
     630CC 
     631target_os 
     632target_vendor 
     633target_cpu 
     634target 
     635host_os 
     636host_vendor 
     637host_cpu 
     638host 
     639build_os 
     640build_vendor 
     641build_cpu 
     642build 
     643target_alias 
     644host_alias 
     645build_alias 
     646LIBS 
     647ECHO_T 
     648ECHO_N 
     649ECHO_C 
     650DEFS 
     651mandir 
     652localedir 
     653libdir 
     654psdir 
     655pdfdir 
     656dvidir 
     657htmldir 
     658infodir 
     659docdir 
     660oldincludedir 
     661includedir 
     662localstatedir 
     663sharedstatedir 
     664sysconfdir 
     665datadir 
     666datarootdir 
     667libexecdir 
     668sbindir 
     669bindir 
     670program_transform_name 
     671prefix 
     672exec_prefix 
     673PACKAGE_URL 
     674PACKAGE_BUGREPORT 
     675PACKAGE_STRING 
     676PACKAGE_VERSION 
     677PACKAGE_TARNAME 
     678PACKAGE_NAME 
    638679PATH_SEPARATOR 
    639 PACKAGE_NAME 
    640 PACKAGE_TARNAME 
    641 PACKAGE_VERSION 
    642 PACKAGE_STRING 
    643 PACKAGE_BUGREPORT 
    644 exec_prefix 
    645 prefix 
    646 program_transform_name 
    647 bindir 
    648 sbindir 
    649 libexecdir 
    650 datarootdir 
    651 datadir 
    652 sysconfdir 
    653 sharedstatedir 
    654 localstatedir 
    655 includedir 
    656 oldincludedir 
    657 docdir 
    658 infodir 
    659 htmldir 
    660 dvidir 
    661 pdfdir 
    662 psdir 
    663 libdir 
    664 localedir 
    665 mandir 
    666 DEFS 
    667 ECHO_C 
    668 ECHO_N 
    669 ECHO_T 
    670 LIBS 
    671 build_alias 
    672 host_alias 
    673 target_alias 
    674 build 
    675 build_cpu 
    676 build_vendor 
    677 build_os 
    678 host 
    679 host_cpu 
    680 host_vendor 
    681 host_os 
    682 target 
    683 target_cpu 
    684 target_vendor 
    685 target_os 
    686 CC 
    687 CFLAGS 
    688 LDFLAGS 
    689 CPPFLAGS 
    690 ac_ct_CC 
    691 EXEEXT 
    692 OBJEXT 
    693 CXX 
    694 CXXFLAGS 
    695 ac_ct_CXX 
    696 ac_pjdir 
    697 ac_build_mak_vars 
    698 CPP 
    699 GREP 
    700 EGREP 
    701 ac_os_objs 
    702 ac_pjmedia_snd 
    703 ac_pa_cflags 
    704 ac_pa_use_alsa 
    705 ac_pa_use_oss 
    706 ac_no_small_filter 
    707 ac_no_large_filter 
    708 ac_no_speex_aec 
    709 ac_no_g711_codec 
    710 ac_no_l16_codec 
    711 ac_no_gsm_codec 
    712 ac_no_g722_codec 
    713 ac_no_g7221_codec 
    714 ac_no_speex_codec 
    715 ac_no_ilbc_codec 
    716 ac_no_ssl 
    717 openssl_h_present 
    718 libssl_present 
    719 libcrypto_present 
    720 ac_cross_compile 
    721 ac_linux_poll 
    722 ac_host 
    723 ac_main_obj 
    724 LIBOBJS 
    725 LTLIBOBJS' 
     680SHELL' 
    726681ac_subst_files='' 
    727682ac_user_opts=' 
     
    730685enable_epoll 
    731686enable_sound 
     687with_pa_path 
    732688enable_oss 
    733689enable_ext_sound 
     
    867823    # Reject names that are not valid shell variable names. 
    868824    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    869       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 
    870    { (exit 1); exit 1; }; } 
     825      as_fn_error "invalid feature name: $ac_useropt" 
    871826    ac_useropt_orig=$ac_useropt 
    872827    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    894849    # Reject names that are not valid shell variable names. 
    895850    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    896       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 
    897    { (exit 1); exit 1; }; } 
     851      as_fn_error "invalid feature name: $ac_useropt" 
    898852    ac_useropt_orig=$ac_useropt 
    899853    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    10991053    # Reject names that are not valid shell variable names. 
    11001054    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1101       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 
    1102    { (exit 1); exit 1; }; } 
     1055      as_fn_error "invalid package name: $ac_useropt" 
    11031056    ac_useropt_orig=$ac_useropt 
    11041057    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11161069    # Reject names that are not valid shell variable names. 
    11171070    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1118       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 
    1119    { (exit 1); exit 1; }; } 
     1071      as_fn_error "invalid package name: $ac_useropt" 
    11201072    ac_useropt_orig=$ac_useropt 
    11211073    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11471099    x_libraries=$ac_optarg ;; 
    11481100 
    1149   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 
    1150 Try \`$0 --help' for more information." >&2 
    1151    { (exit 1); exit 1; }; } 
     1101  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1102Try \`$0 --help' for more information." 
    11521103    ;; 
    11531104 
     
    11551106    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11561107    # Reject names that are not valid shell variable names. 
    1157     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1158       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1159    { (exit 1); exit 1; }; } 
     1108    case $ac_envvar in #( 
     1109      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1110      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1111    esac 
    11601112    eval $ac_envvar=\$ac_optarg 
    11611113    export $ac_envvar ;; 
     
    11741126if test -n "$ac_prev"; then 
    11751127  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1176   { $as_echo "$as_me: error: missing argument to $ac_option" >&2 
    1177    { (exit 1); exit 1; }; } 
     1128  as_fn_error "missing argument to $ac_option" 
    11781129fi 
    11791130 
     
    11811132  case $enable_option_checking in 
    11821133    no) ;; 
    1183     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 
    1184    { (exit 1); exit 1; }; } ;; 
    1185     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1134    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1135    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    11861136  esac 
    11871137fi 
     
    12051155    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    12061156  esac 
    1207   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1208    { (exit 1); exit 1; }; } 
     1157  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    12091158done 
    12101159 
     
    12361185ac_ls_di=`ls -di .` && 
    12371186ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1238   { $as_echo "$as_me: error: Working directory cannot be determined" >&2 
    1239    { (exit 1); exit 1; }; } 
     1187  as_fn_error "working directory cannot be determined" 
    12401188test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1241   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 
    1242    { (exit 1); exit 1; }; } 
     1189  as_fn_error "pwd does not report name of working directory" 
    12431190 
    12441191 
     
    12791226if test ! -r "$srcdir/$ac_unique_file"; then 
    12801227  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1281   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1282    { (exit 1); exit 1; }; } 
     1228  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12831229fi 
    12841230ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12851231ac_abs_confdir=`( 
    1286         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 
    1287    { (exit 1); exit 1; }; } 
     1232        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12881233        pwd)` 
    12891234# When building in place, set srcdir=. 
     
    14131358 
    14141359 
     1360Optional Packages: 
     1361  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
     1362  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
     1363  --with-pa-path=DIR      Specify PortAudio alternate location (e.g. /usr). 
     1364                          When this option is set, we will not use our copy of 
     1365                          PortAudio in third_party directory. 
     1366 
    14151367Some influential environment variables: 
    14161368  CC          C compiler command 
     
    14281380it to find libraries and programs with nonstandard names/locations. 
    14291381 
     1382Report bugs to the package provider. 
    14301383_ACEOF 
    14311384ac_status=$? 
     
    14911444  cat <<\_ACEOF 
    14921445pjproject configure 1.0 
    1493 generated by GNU Autoconf 2.62 
    1494  
    1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1496 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
     1446generated by GNU Autoconf 2.64 
     1447 
     1448Copyright (C) 2009 Free Software Foundation, Inc. 
    14971449This configure script is free software; the Free Software Foundation 
    14981450gives unlimited permission to copy, distribute and modify it. 
     
    15001452  exit 
    15011453fi 
     1454 
     1455## ------------------------ ## 
     1456## Autoconf initialization. ## 
     1457## ------------------------ ## 
     1458 
     1459# ac_fn_c_try_compile LINENO 
     1460# -------------------------- 
     1461# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1462ac_fn_c_try_compile () 
     1463{ 
     1464  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1465  rm -f conftest.$ac_objext 
     1466  if { { ac_try="$ac_compile" 
     1467case "(($ac_try" in 
     1468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1469  *) ac_try_echo=$ac_try;; 
     1470esac 
     1471eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1472$as_echo "$ac_try_echo"; } >&5 
     1473  (eval "$ac_compile") 2>conftest.err 
     1474  ac_status=$? 
     1475  if test -s conftest.err; then 
     1476    grep -v '^ *+' conftest.err >conftest.er1 
     1477    cat conftest.er1 >&5 
     1478    mv -f conftest.er1 conftest.err 
     1479  fi 
     1480  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1481  test $ac_status = 0; } && { 
     1482         test -z "$ac_c_werror_flag" || 
     1483         test ! -s conftest.err 
     1484       } && test -s conftest.$ac_objext; then : 
     1485  ac_retval=0 
     1486else 
     1487  $as_echo "$as_me: failed program was:" >&5 
     1488sed 's/^/| /' conftest.$ac_ext >&5 
     1489 
     1490        ac_retval=1 
     1491fi 
     1492  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1493  return $ac_retval 
     1494 
     1495} # ac_fn_c_try_compile 
     1496 
     1497# ac_fn_cxx_try_compile LINENO 
     1498# ---------------------------- 
     1499# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1500ac_fn_cxx_try_compile () 
     1501{ 
     1502  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1503  rm -f conftest.$ac_objext 
     1504  if { { ac_try="$ac_compile" 
     1505case "(($ac_try" in 
     1506  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1507  *) ac_try_echo=$ac_try;; 
     1508esac 
     1509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1510$as_echo "$ac_try_echo"; } >&5 
     1511  (eval "$ac_compile") 2>conftest.err 
     1512  ac_status=$? 
     1513  if test -s conftest.err; then 
     1514    grep -v '^ *+' conftest.err >conftest.er1 
     1515    cat conftest.er1 >&5 
     1516    mv -f conftest.er1 conftest.err 
     1517  fi 
     1518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1519  test $ac_status = 0; } && { 
     1520         test -z "$ac_cxx_werror_flag" || 
     1521         test ! -s conftest.err 
     1522       } && test -s conftest.$ac_objext; then : 
     1523  ac_retval=0 
     1524else 
     1525  $as_echo "$as_me: failed program was:" >&5 
     1526sed 's/^/| /' conftest.$ac_ext >&5 
     1527 
     1528        ac_retval=1 
     1529fi 
     1530  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1531  return $ac_retval 
     1532 
     1533} # ac_fn_cxx_try_compile 
     1534 
     1535# ac_fn_c_try_link LINENO 
     1536# ----------------------- 
     1537# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1538ac_fn_c_try_link () 
     1539{ 
     1540  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1541  rm -f conftest.$ac_objext conftest$ac_exeext 
     1542  if { { ac_try="$ac_link" 
     1543case "(($ac_try" in 
     1544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1545  *) ac_try_echo=$ac_try;; 
     1546esac 
     1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1548$as_echo "$ac_try_echo"; } >&5 
     1549  (eval "$ac_link") 2>conftest.err 
     1550  ac_status=$? 
     1551  if test -s conftest.err; then 
     1552    grep -v '^ *+' conftest.err >conftest.er1 
     1553    cat conftest.er1 >&5 
     1554    mv -f conftest.er1 conftest.err 
     1555  fi 
     1556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1557  test $ac_status = 0; } && { 
     1558         test -z "$ac_c_werror_flag" || 
     1559         test ! -s conftest.err 
     1560       } && test -s conftest$ac_exeext && { 
     1561         test "$cross_compiling" = yes || 
     1562         $as_test_x conftest$ac_exeext 
     1563       }; then : 
     1564  ac_retval=0 
     1565else 
     1566  $as_echo "$as_me: failed program was:" >&5 
     1567sed 's/^/| /' conftest.$ac_ext >&5 
     1568 
     1569        ac_retval=1 
     1570fi 
     1571  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1572  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1573  # interfere with the next link command; also delete a directory that is 
     1574  # left behind by Apple's compiler.  We do this before executing the actions. 
     1575  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1576  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1577  return $ac_retval 
     1578 
     1579} # ac_fn_c_try_link 
     1580 
     1581# ac_fn_c_try_run LINENO 
     1582# ---------------------- 
     1583# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1584# that executables *can* be run. 
     1585ac_fn_c_try_run () 
     1586{ 
     1587  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1588  if { { ac_try="$ac_link" 
     1589case "(($ac_try" in 
     1590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1591  *) ac_try_echo=$ac_try;; 
     1592esac 
     1593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1594$as_echo "$ac_try_echo"; } >&5 
     1595  (eval "$ac_link") 2>&5 
     1596  ac_status=$? 
     1597  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1598  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1599  { { case "(($ac_try" in 
     1600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1601  *) ac_try_echo=$ac_try;; 
     1602esac 
     1603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1604$as_echo "$ac_try_echo"; } >&5 
     1605  (eval "$ac_try") 2>&5 
     1606  ac_status=$? 
     1607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1608  test $ac_status = 0; }; }; then : 
     1609  ac_retval=0 
     1610else 
     1611  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1612       $as_echo "$as_me: failed program was:" >&5 
     1613sed 's/^/| /' conftest.$ac_ext >&5 
     1614 
     1615       ac_retval=$ac_status 
     1616fi 
     1617  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1618  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1619  return $ac_retval 
     1620 
     1621} # ac_fn_c_try_run 
     1622 
     1623# ac_fn_c_try_cpp LINENO 
     1624# ---------------------- 
     1625# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1626ac_fn_c_try_cpp () 
     1627{ 
     1628  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1629  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1630case "(($ac_try" in 
     1631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1632  *) ac_try_echo=$ac_try;; 
     1633esac 
     1634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1635$as_echo "$ac_try_echo"; } >&5 
     1636  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1637  ac_status=$? 
     1638  if test -s conftest.err; then 
     1639    grep -v '^ *+' conftest.err >conftest.er1 
     1640    cat conftest.er1 >&5 
     1641    mv -f conftest.er1 conftest.err 
     1642  fi 
     1643  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1644  test $ac_status = 0; } >/dev/null && { 
     1645         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1646         test ! -s conftest.err 
     1647       }; then : 
     1648  ac_retval=0 
     1649else 
     1650  $as_echo "$as_me: failed program was:" >&5 
     1651sed 's/^/| /' conftest.$ac_ext >&5 
     1652 
     1653    ac_retval=1 
     1654fi 
     1655  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1656  return $ac_retval 
     1657 
     1658} # ac_fn_c_try_cpp 
     1659 
     1660# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1661# ------------------------------------------------------- 
     1662# Tests whether HEADER exists and can be compiled using the include files in 
     1663# INCLUDES, setting the cache variable VAR accordingly. 
     1664ac_fn_c_check_header_compile () 
     1665{ 
     1666  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1668$as_echo_n "checking for $2... " >&6; } 
     1669if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1670  $as_echo_n "(cached) " >&6 
     1671else 
     1672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1673/* end confdefs.h.  */ 
     1674$4 
     1675#include <$2> 
     1676_ACEOF 
     1677if ac_fn_c_try_compile "$LINENO"; then : 
     1678  eval "$3=yes" 
     1679else 
     1680  eval "$3=no" 
     1681fi 
     1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1683fi 
     1684eval ac_res=\$$3 
     1685               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1686$as_echo "$ac_res" >&6; } 
     1687  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1688 
     1689} # ac_fn_c_check_header_compile 
     1690 
     1691# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1692# ------------------------------------------------------- 
     1693# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1694# the include files in INCLUDES and setting the cache variable VAR 
     1695# accordingly. 
     1696ac_fn_c_check_header_mongrel () 
     1697{ 
     1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1699  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1701$as_echo_n "checking for $2... " >&6; } 
     1702if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1703  $as_echo_n "(cached) " >&6 
     1704fi 
     1705eval ac_res=\$$3 
     1706               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1707$as_echo "$ac_res" >&6; } 
     1708else 
     1709  # Is the header compilable? 
     1710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1711$as_echo_n "checking $2 usability... " >&6; } 
     1712cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1713/* end confdefs.h.  */ 
     1714$4 
     1715#include <$2> 
     1716_ACEOF 
     1717if ac_fn_c_try_compile "$LINENO"; then : 
     1718  ac_header_compiler=yes 
     1719else 
     1720  ac_header_compiler=no 
     1721fi 
     1722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1724$as_echo "$ac_header_compiler" >&6; } 
     1725 
     1726# Is the header present? 
     1727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1728$as_echo_n "checking $2 presence... " >&6; } 
     1729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1730/* end confdefs.h.  */ 
     1731#include <$2> 
     1732_ACEOF 
     1733if ac_fn_c_try_cpp "$LINENO"; then : 
     1734  ac_header_preproc=yes 
     1735else 
     1736  ac_header_preproc=no 
     1737fi 
     1738rm -f conftest.err conftest.$ac_ext 
     1739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1740$as_echo "$ac_header_preproc" >&6; } 
     1741 
     1742# So?  What about this header? 
     1743case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1744  yes:no: ) 
     1745    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1746$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1747    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1748$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1749    ;; 
     1750  no:yes:* ) 
     1751    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1752$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1753    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1754$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1755    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1756$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1757    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1758$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1759    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1760$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1761    ;; 
     1762esac 
     1763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1764$as_echo_n "checking for $2... " >&6; } 
     1765if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1766  $as_echo_n "(cached) " >&6 
     1767else 
     1768  eval "$3=\$ac_header_compiler" 
     1769fi 
     1770eval ac_res=\$$3 
     1771               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1772$as_echo "$ac_res" >&6; } 
     1773fi 
     1774  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1775 
     1776} # ac_fn_c_check_header_mongrel 
    15021777cat >config.log <<_ACEOF 
    15031778This file contains any messages produced by compilers while 
     
    15051780 
    15061781It was created by pjproject $as_me 1.0, which was 
    1507 generated by GNU Autoconf 2.62.  Invocation command line was 
     1782generated by GNU Autoconf 2.64.  Invocation command line was 
    15081783 
    15091784  $ $0 $@ 
     
    15411816  IFS=$as_save_IFS 
    15421817  test -z "$as_dir" && as_dir=. 
    1543   $as_echo "PATH: $as_dir" 
    1544 done 
     1818    $as_echo "PATH: $as_dir" 
     1819  done 
    15451820IFS=$as_save_IFS 
    15461821 
     
    15791854    esac 
    15801855    case $ac_pass in 
    1581     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1856    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15821857    2) 
    1583       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1858      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15841859      if test $ac_must_keep_next = true; then 
    15851860        ac_must_keep_next=false # Got value, back to normal. 
     
    15971872        esac 
    15981873      fi 
    1599       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1874      as_fn_append ac_configure_args " '$ac_arg'" 
    16001875      ;; 
    16011876    esac 
    16021877  done 
    16031878done 
    1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1879{ ac_configure_args0=; unset ac_configure_args0;} 
     1880{ ac_configure_args1=; unset ac_configure_args1;} 
    16061881 
    16071882# When interrupted or exit'd, cleanup temporary files, and complete 
     
    16281903    *${as_nl}*) 
    16291904      case $ac_var in #( 
    1630       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1631 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     1905      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     1906$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    16321907      esac 
    16331908      case $ac_var in #( 
    16341909      _ | IFS | as_nl) ;; #( 
    16351910      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    1636       *) $as_unset $ac_var ;; 
     1911      *) { eval $ac_var=; unset $ac_var;} ;; 
    16371912      esac ;; 
    16381913    esac 
     
    17061981' 0 
    17071982for ac_signal in 1 2 13 15; do 
    1708   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     1983  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    17091984done 
    17101985ac_signal=0 
     
    17131988rm -f -r conftest* confdefs.h 
    17141989 
     1990$as_echo "/* confdefs.h */" > confdefs.h 
     1991 
    17151992# Predefined preprocessor variables. 
    17161993 
     
    17191996_ACEOF 
    17201997 
    1721  
    17221998cat >>confdefs.h <<_ACEOF 
    17231999#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    17242000_ACEOF 
    17252001 
    1726  
    17272002cat >>confdefs.h <<_ACEOF 
    17282003#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    17292004_ACEOF 
    17302005 
    1731  
    17322006cat >>confdefs.h <<_ACEOF 
    17332007#define PACKAGE_STRING "$PACKAGE_STRING" 
    17342008_ACEOF 
    17352009 
    1736  
    17372010cat >>confdefs.h <<_ACEOF 
    17382011#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
     2012_ACEOF 
     2013 
     2014cat >>confdefs.h <<_ACEOF 
     2015#define PACKAGE_URL "$PACKAGE_URL" 
    17392016_ACEOF 
    17402017 
     
    17572034  test "x$ac_site_file" = xNONE && continue 
    17582035  if test -r "$ac_site_file"; then 
    1759     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     2036    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
    17602037$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17612038    sed 's/^/| /' "$ac_site_file" >&5 
     
    17682045  # files actually), so we avoid doing that. 
    17692046  if test -f "$cache_file"; then 
    1770     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     2047    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
    17712048$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17722049    case $cache_file in 
     
    17762053  fi 
    17772054else 
    1778   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     2055  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
    17792056$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17802057  >$cache_file 
     
    17912068  case $ac_old_set,$ac_new_set in 
    17922069    set,) 
    1793       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2070      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    17942071$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17952072      ac_cache_corrupted=: ;; 
    17962073    ,set) 
    1797       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     2074      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
    17982075$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17992076      ac_cache_corrupted=: ;; 
     
    18052082        ac_new_val_w=`echo x $ac_new_val` 
    18062083        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
    1807           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     2084          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
    18082085$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    18092086          ac_cache_corrupted=: 
    18102087        else 
    1811           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2088          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
    18122089$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
    18132090          eval $ac_var=\$ac_old_val 
    18142091        fi 
    1815         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5 
     2092        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
    18162093$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
    1817         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5 
     2094        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
    18182095$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    18192096      fi;; 
     
    18272104    case " $ac_configure_args " in 
    18282105      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1829       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2106      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    18302107    esac 
    18312108  fi 
    18322109done 
    18332110if $ac_cache_corrupted; then 
    1834   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     2111  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2113  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    18352114$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1836   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1837 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1838    { (exit 1); exit 1; }; } 
    1839 fi 
    1840  
    1841  
    1842  
    1843  
    1844  
    1845  
    1846  
    1847  
    1848  
    1849  
    1850  
    1851  
    1852  
    1853  
    1854  
    1855  
    1856  
    1857  
    1858  
    1859  
    1860  
    1861  
    1862  
    1863  
     2115  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2116fi 
     2117## -------------------- ## 
     2118## Main body of script. ## 
     2119## -------------------- ## 
    18642120 
    18652121ac_ext=c 
     
    18752131ac_aux_dir= 
    18762132for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1877   if test -f "$ac_dir/install-sh"; then 
    1878     ac_aux_dir=$ac_dir 
    1879     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1880     break 
    1881   elif test -f "$ac_dir/install.sh"; then 
    1882     ac_aux_dir=$ac_dir 
    1883     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1884     break 
    1885   elif test -f "$ac_dir/shtool"; then 
    1886     ac_aux_dir=$ac_dir 
    1887     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1888     break 
    1889   fi 
     2133  for ac_t in install-sh install.sh shtool; do 
     2134    if test -f "$ac_dir/$ac_t"; then 
     2135      ac_aux_dir=$ac_dir 
     2136      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2137      break 2 
     2138    fi 
     2139  done 
    18902140done 
    18912141if test -z "$ac_aux_dir"; then 
    1892   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1893 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1894    { (exit 1); exit 1; }; } 
     2142  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18952143fi 
    18962144 
     
    19062154# Make sure we can run config.sub. 
    19072155$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1908   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1909 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1910    { (exit 1); exit 1; }; } 
    1911  
    1912 { $as_echo "$as_me:$LINENO: checking build system type" >&5 
     2156  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2157 
     2158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    19132159$as_echo_n "checking build system type... " >&6; } 
    1914 if test "${ac_cv_build+set}" = set; then 
     2160if test "${ac_cv_build+set}" = set; then : 
    19152161  $as_echo_n "(cached) " >&6 
    19162162else 
     
    19192165  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    19202166test "x$ac_build_alias" = x && 
    1921   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1922 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1923    { (exit 1); exit 1; }; } 
     2167  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    19242168ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1925   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1926 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1927    { (exit 1); exit 1; }; } 
    1928  
    1929 fi 
    1930 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     2169  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2170 
     2171fi 
     2172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
    19312173$as_echo "$ac_cv_build" >&6; } 
    19322174case $ac_cv_build in 
    19332175*-*-*) ;; 
    1934 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1935 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 
    1936    { (exit 1); exit 1; }; };; 
     2176*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    19372177esac 
    19382178build=$ac_cv_build 
     
    19502190 
    19512191 
    1952 { $as_echo "$as_me:$LINENO: checking host system type" >&5 
     2192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    19532193$as_echo_n "checking host system type... " >&6; } 
    1954 if test "${ac_cv_host+set}" = set; then 
     2194if test "${ac_cv_host+set}" = set; then : 
    19552195  $as_echo_n "(cached) " >&6 
    19562196else 
     
    19592199else 
    19602200  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1961     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1962 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1963    { (exit 1); exit 1; }; } 
    1964 fi 
    1965  
    1966 fi 
    1967 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     2201    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2202fi 
     2203 
     2204fi 
     2205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
    19682206$as_echo "$ac_cv_host" >&6; } 
    19692207case $ac_cv_host in 
    19702208*-*-*) ;; 
    1971 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1972 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 
    1973    { (exit 1); exit 1; }; };; 
     2209*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19742210esac 
    19752211host=$ac_cv_host 
     
    19872223 
    19882224 
    1989 { $as_echo "$as_me:$LINENO: checking target system type" >&5 
     2225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
    19902226$as_echo_n "checking target system type... " >&6; } 
    1991 if test "${ac_cv_target+set}" = set; then 
     2227if test "${ac_cv_target+set}" = set; then : 
    19922228  $as_echo_n "(cached) " >&6 
    19932229else 
     
    19962232else 
    19972233  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1998     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1999 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    2000    { (exit 1); exit 1; }; } 
    2001 fi 
    2002  
    2003 fi 
    2004 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     2234    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2235fi 
     2236 
     2237fi 
     2238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
    20052239$as_echo "$ac_cv_target" >&6; } 
    20062240case $ac_cv_target in 
    20072241*-*-*) ;; 
    2008 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    2009 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 
    2010    { (exit 1); exit 1; }; };; 
     2242*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    20112243esac 
    20122244target=$ac_cv_target 
     
    20522284  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    20532285set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    2054 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    20552287$as_echo_n "checking for $ac_word... " >&6; } 
    2056 if test "${ac_cv_prog_CC+set}" = set; then 
     2288if test "${ac_cv_prog_CC+set}" = set; then : 
    20572289  $as_echo_n "(cached) " >&6 
    20582290else 
     
    20652297  IFS=$as_save_IFS 
    20662298  test -z "$as_dir" && as_dir=. 
    2067   for ac_exec_ext in '' $ac_executable_extensions; do 
     2299    for ac_exec_ext in '' $ac_executable_extensions; do 
    20682300  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20692301    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2070     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2302    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20712303    break 2 
    20722304  fi 
    20732305done 
    2074 done 
     2306  done 
    20752307IFS=$as_save_IFS 
    20762308 
     
    20792311CC=$ac_cv_prog_CC 
    20802312if test -n "$CC"; then 
    2081   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    20822314$as_echo "$CC" >&6; } 
    20832315else 
    2084   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    20852317$as_echo "no" >&6; } 
    20862318fi 
     
    20922324  # Extract the first word of "gcc", so it can be a program name with args. 
    20932325set dummy gcc; ac_word=$2 
    2094 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    20952327$as_echo_n "checking for $ac_word... " >&6; } 
    2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2328if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    20972329  $as_echo_n "(cached) " >&6 
    20982330else 
     
    21052337  IFS=$as_save_IFS 
    21062338  test -z "$as_dir" && as_dir=. 
    2107   for ac_exec_ext in '' $ac_executable_extensions; do 
     2339    for ac_exec_ext in '' $ac_executable_extensions; do 
    21082340  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21092341    ac_cv_prog_ac_ct_CC="gcc" 
    2110     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2342    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21112343    break 2 
    21122344  fi 
    21132345done 
    2114 done 
     2346  done 
    21152347IFS=$as_save_IFS 
    21162348 
     
    21192351ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    21202352if test -n "$ac_ct_CC"; then 
    2121   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    21222354$as_echo "$ac_ct_CC" >&6; } 
    21232355else 
    2124   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    21252357$as_echo "no" >&6; } 
    21262358fi 
     
    21312363    case $cross_compiling:$ac_tool_warned in 
    21322364yes:) 
    2133 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2134 whose name does not start with the host triplet.  If you think this 
    2135 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2136 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2137 whose name does not start with the host triplet.  If you think this 
    2138 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    21392367ac_tool_warned=yes ;; 
    21402368esac 
     
    21492377    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    21502378set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    21522380$as_echo_n "checking for $ac_word... " >&6; } 
    2153 if test "${ac_cv_prog_CC+set}" = set; then 
     2381if test "${ac_cv_prog_CC+set}" = set; then : 
    21542382  $as_echo_n "(cached) " >&6 
    21552383else 
     
    21622390  IFS=$as_save_IFS 
    21632391  test -z "$as_dir" && as_dir=. 
    2164   for ac_exec_ext in '' $ac_executable_extensions; do 
     2392    for ac_exec_ext in '' $ac_executable_extensions; do 
    21652393  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21662394    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2167     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21682396    break 2 
    21692397  fi 
    21702398done 
    2171 done 
     2399  done 
    21722400IFS=$as_save_IFS 
    21732401 
     
    21762404CC=$ac_cv_prog_CC 
    21772405if test -n "$CC"; then 
    2178   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    21792407$as_echo "$CC" >&6; } 
    21802408else 
    2181   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    21822410$as_echo "no" >&6; } 
    21832411fi 
     
    21892417  # Extract the first word of "cc", so it can be a program name with args. 
    21902418set dummy cc; ac_word=$2 
    2191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    21922420$as_echo_n "checking for $ac_word... " >&6; } 
    2193 if test "${ac_cv_prog_CC+set}" = set; then 
     2421if test "${ac_cv_prog_CC+set}" = set; then : 
    21942422  $as_echo_n "(cached) " >&6 
    21952423else 
     
    22032431  IFS=$as_save_IFS 
    22042432  test -z "$as_dir" && as_dir=. 
    2205   for ac_exec_ext in '' $ac_executable_extensions; do 
     2433    for ac_exec_ext in '' $ac_executable_extensions; do 
    22062434  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22072435    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    22102438     fi 
    22112439    ac_cv_prog_CC="cc" 
    2212     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22132441    break 2 
    22142442  fi 
    22152443done 
    2216 done 
     2444  done 
    22172445IFS=$as_save_IFS 
    22182446 
     
    22332461CC=$ac_cv_prog_CC 
    22342462if test -n "$CC"; then 
    2235   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    22362464$as_echo "$CC" >&6; } 
    22372465else 
    2238   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    22392467$as_echo "no" >&6; } 
    22402468fi 
     
    22482476    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    22492477set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2250 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    22512479$as_echo_n "checking for $ac_word... " >&6; } 
    2252 if test "${ac_cv_prog_CC+set}" = set; then 
     2480if test "${ac_cv_prog_CC+set}" = set; then : 
    22532481  $as_echo_n "(cached) " >&6 
    22542482else 
     
    22612489  IFS=$as_save_IFS 
    22622490  test -z "$as_dir" && as_dir=. 
    2263   for ac_exec_ext in '' $ac_executable_extensions; do 
     2491    for ac_exec_ext in '' $ac_executable_extensions; do 
    22642492  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22652493    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2266     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2494    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22672495    break 2 
    22682496  fi 
    22692497done 
    2270 done 
     2498  done 
    22712499IFS=$as_save_IFS 
    22722500 
     
    22752503CC=$ac_cv_prog_CC 
    22762504if test -n "$CC"; then 
    2277   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    22782506$as_echo "$CC" >&6; } 
    22792507else 
    2280   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    22812509$as_echo "no" >&6; } 
    22822510fi 
     
    22922520  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22932521set dummy $ac_prog; ac_word=$2 
    2294 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    22952523$as_echo_n "checking for $ac_word... " >&6; } 
    2296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2524if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    22972525  $as_echo_n "(cached) " >&6 
    22982526else 
     
    23052533  IFS=$as_save_IFS 
    23062534  test -z "$as_dir" && as_dir=. 
    2307   for ac_exec_ext in '' $ac_executable_extensions; do 
     2535    for ac_exec_ext in '' $ac_executable_extensions; do 
    23082536  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    23092537    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2310     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    23112539    break 2 
    23122540  fi 
    23132541done 
    2314 done 
     2542  done 
    23152543IFS=$as_save_IFS 
    23162544 
     
    23192547ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    23202548if test -n "$ac_ct_CC"; then 
    2321   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    23222550$as_echo "$ac_ct_CC" >&6; } 
    23232551else 
    2324   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    23252553$as_echo "no" >&6; } 
    23262554fi 
     
    23352563    case $cross_compiling:$ac_tool_warned in 
    23362564yes:) 
    2337 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2338 whose name does not start with the host triplet.  If you think this 
    2339 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2340 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2341 whose name does not start with the host triplet.  If you think this 
    2342 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    23432567ac_tool_warned=yes ;; 
    23442568esac 
     
    23502574 
    23512575 
    2352 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2353 See \`config.log' for more details." >&5 
    2354 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2355 See \`config.log' for more details." >&2;} 
    2356    { (exit 1); exit 1; }; } 
     2576test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2578as_fn_error "no acceptable C compiler found in \$PATH 
     2579See \`config.log' for more details." "$LINENO" 5; } 
    23572580 
    23582581# Provide some information about the compiler. 
    2359 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 
     2582$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
    23602583set X $ac_compile 
    23612584ac_compiler=$2 
    2362 { (ac_try="$ac_compiler --version >&5" 
     2585for ac_option in --version -v -V -qversion; do 
     2586  { { ac_try="$ac_compiler $ac_option >&5" 
    23632587case "(($ac_try" in 
    23642588  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23652589  *) ac_try_echo=$ac_try;; 
    23662590esac 
    2367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2368 $as_echo "$ac_try_echo") >&5 
    2369   (eval "$ac_compiler --version >&5") 2>&5 
     2591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2592$as_echo "$ac_try_echo"; } >&5 
     2593  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23702594  ac_status=$? 
    2371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2372   (exit $ac_status); } 
    2373 { (ac_try="$ac_compiler -v >&5" 
    2374 case "(($ac_try" in 
    2375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2376   *) ac_try_echo=$ac_try;; 
    2377 esac 
    2378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2379 $as_echo "$ac_try_echo") >&5 
    2380   (eval "$ac_compiler -v >&5") 2>&5 
    2381   ac_status=$? 
    2382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2383   (exit $ac_status); } 
    2384 { (ac_try="$ac_compiler -V >&5" 
    2385 case "(($ac_try" in 
    2386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2387   *) ac_try_echo=$ac_try;; 
    2388 esac 
    2389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2390 $as_echo "$ac_try_echo") >&5 
    2391   (eval "$ac_compiler -V >&5") 2>&5 
    2392   ac_status=$? 
    2393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2394   (exit $ac_status); } 
    2395  
    2396 cat >conftest.$ac_ext <<_ACEOF 
    2397 /* confdefs.h.  */ 
    2398 _ACEOF 
    2399 cat confdefs.h >>conftest.$ac_ext 
    2400 cat >>conftest.$ac_ext <<_ACEOF 
     2595  if test -s conftest.err; then 
     2596    sed '10a\ 
     2597... rest of stderr output deleted ... 
     2598         10q' conftest.err >conftest.er1 
     2599    cat conftest.er1 >&5 
     2600    rm -f conftest.er1 conftest.err 
     2601  fi 
     2602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2603  test $ac_status = 0; } 
     2604done 
     2605 
     2606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    24012607/* end confdefs.h.  */ 
    2402  
     2608#include <stdio.h> 
    24032609int 
    24042610main () 
    24052611{ 
     2612FILE *f = fopen ("conftest.out", "w"); 
     2613 return ferror (f) || fclose (f) != 0; 
    24062614 
    24072615  ; 
     
    24102618_ACEOF 
    24112619ac_clean_files_save=$ac_clean_files 
    2412 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2620ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 
    24132621# Try to create an executable without -o first, disregard a.out. 
    24142622# It will help us diagnose broken compilers, and finding out an intuition 
    24152623# of exeext. 
    2416 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
     2624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
    24172625$as_echo_n "checking for C compiler default output file name... " >&6; } 
    24182626ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     
    24312639rm -f $ac_rmfiles 
    24322640 
    2433 if { (ac_try="$ac_link_default" 
     2641if { { ac_try="$ac_link_default" 
    24342642case "(($ac_try" in 
    24352643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24362644  *) ac_try_echo=$ac_try;; 
    24372645esac 
    2438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2439 $as_echo "$ac_try_echo") >&5 
     2646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2647$as_echo "$ac_try_echo"; } >&5 
    24402648  (eval "$ac_link_default") 2>&5 
    24412649  ac_status=$? 
    2442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2443   (exit $ac_status); }; then 
     2650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2651  test $ac_status = 0; }; then : 
    24442652  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    24452653# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    24582666        break;; 
    24592667    *.* ) 
    2460         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2668        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    24612669        then :; else 
    24622670           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24772685  ac_file='' 
    24782686fi 
    2479  
    2480 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 
     2687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
    24812688$as_echo "$ac_file" >&6; } 
    2482 if test -z "$ac_file"; then 
     2689if test -z "$ac_file"; then : 
    24832690  $as_echo "$as_me: failed program was:" >&5 
    24842691sed 's/^/| /' conftest.$ac_ext >&5 
    24852692 
    2486 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2487 See \`config.log' for more details." >&5 
    2488 $as_echo "$as_me: error: C compiler cannot create executables 
    2489 See \`config.log' for more details." >&2;} 
    2490    { (exit 77); exit 77; }; } 
    2491 fi 
    2492  
     2693{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2695{ as_fn_set_status 77 
     2696as_fn_error "C compiler cannot create executables 
     2697See \`config.log' for more details." "$LINENO" 5; }; } 
     2698fi 
    24932699ac_exeext=$ac_cv_exeext 
    24942700 
    24952701# Check that the compiler produces executables we can run.  If not, either 
    24962702# the compiler is broken, or we cross compile. 
    2497 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
     2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
    24982704$as_echo_n "checking whether the C compiler works... " >&6; } 
    2499 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    25002705# If not cross compiling, check that we can run a simple program. 
    25012706if test "$cross_compiling" != yes; then 
    25022707  if { ac_try='./$ac_file' 
    2503   { (case "(($ac_try" in 
     2708  { { case "(($ac_try" in 
    25042709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25052710  *) ac_try_echo=$ac_try;; 
    25062711esac 
    2507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2508 $as_echo "$ac_try_echo") >&5 
     2712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2713$as_echo "$ac_try_echo"; } >&5 
    25092714  (eval "$ac_try") 2>&5 
    25102715  ac_status=$? 
    2511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2512   (exit $ac_status); }; }; then 
     2716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2717  test $ac_status = 0; }; }; then 
    25132718    cross_compiling=no 
    25142719  else 
     
    25162721        cross_compiling=yes 
    25172722    else 
    2518         { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     2723        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2725as_fn_error "cannot run C compiled programs. 
    25192726If you meant to cross compile, use \`--host'. 
    2520 See \`config.log' for more details." >&5 
    2521 $as_echo "$as_me: error: cannot run C compiled programs. 
    2522 If you meant to cross compile, use \`--host'. 
    2523 See \`config.log' for more details." >&2;} 
    2524    { (exit 1); exit 1; }; } 
     2727See \`config.log' for more details." "$LINENO" 5; } 
    25252728    fi 
    25262729  fi 
    25272730fi 
    2528 { $as_echo "$as_me:$LINENO: result: yes" >&5 
     2731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    25292732$as_echo "yes" >&6; } 
    25302733 
    2531 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
     2734rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 
    25322735ac_clean_files=$ac_clean_files_save 
    25332736# Check that the compiler produces executables we can run.  If not, either 
    25342737# the compiler is broken, or we cross compile. 
    2535 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
    25362739$as_echo_n "checking whether we are cross compiling... " >&6; } 
    2537 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     2740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
    25382741$as_echo "$cross_compiling" >&6; } 
    25392742 
    2540 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
    25412744$as_echo_n "checking for suffix of executables... " >&6; } 
    2542 if { (ac_try="$ac_link" 
     2745if { { ac_try="$ac_link" 
    25432746case "(($ac_try" in 
    25442747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25452748  *) ac_try_echo=$ac_try;; 
    25462749esac 
    2547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2548 $as_echo "$ac_try_echo") >&5 
     2750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2751$as_echo "$ac_try_echo"; } >&5 
    25492752  (eval "$ac_link") 2>&5 
    25502753  ac_status=$? 
    2551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2552   (exit $ac_status); }; then 
     2754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2755  test $ac_status = 0; }; then : 
    25532756  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    25542757# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    25652768done 
    25662769else 
    2567   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2568 See \`config.log' for more details." >&5 
    2569 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2570 See \`config.log' for more details." >&2;} 
    2571    { (exit 1); exit 1; }; } 
    2572 fi 
    2573  
     2770  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2772as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2773See \`config.log' for more details." "$LINENO" 5; } 
     2774fi 
    25742775rm -f conftest$ac_cv_exeext 
    2575 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     2776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
    25762777$as_echo "$ac_cv_exeext" >&6; } 
    25772778 
     
    25792780EXEEXT=$ac_cv_exeext 
    25802781ac_exeext=$EXEEXT 
    2581 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    25822783$as_echo_n "checking for suffix of object files... " >&6; } 
    2583 if test "${ac_cv_objext+set}" = set; then 
     2784if test "${ac_cv_objext+set}" = set; then : 
    25842785  $as_echo_n "(cached) " >&6 
    25852786else 
    2586   cat >conftest.$ac_ext <<_ACEOF 
    2587 /* confdefs.h.  */ 
    2588 _ACEOF 
    2589 cat confdefs.h >>conftest.$ac_ext 
    2590 cat >>conftest.$ac_ext <<_ACEOF 
     2787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25912788/* end confdefs.h.  */ 
    25922789 
     
    26002797_ACEOF 
    26012798rm -f conftest.o conftest.obj 
    2602 if { (ac_try="$ac_compile" 
     2799if { { ac_try="$ac_compile" 
    26032800case "(($ac_try" in 
    26042801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    26052802  *) ac_try_echo=$ac_try;; 
    26062803esac 
    2607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2608 $as_echo "$ac_try_echo") >&5 
     2804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2805$as_echo "$ac_try_echo"; } >&5 
    26092806  (eval "$ac_compile") 2>&5 
    26102807  ac_status=$? 
    2611   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2612   (exit $ac_status); }; then 
     2808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2809  test $ac_status = 0; }; then : 
    26132810  for ac_file in conftest.o conftest.obj conftest.*; do 
    26142811  test -f "$ac_file" || continue; 
     
    26232820sed 's/^/| /' conftest.$ac_ext >&5 
    26242821 
    2625 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2626 See \`config.log' for more details." >&5 
    2627 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2628 See \`config.log' for more details." >&2;} 
    2629    { (exit 1); exit 1; }; } 
    2630 fi 
    2631  
     2822{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2823$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2824as_fn_error "cannot compute suffix of object files: cannot compile 
     2825See \`config.log' for more details." "$LINENO" 5; } 
     2826fi 
    26322827rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    26332828fi 
    2634 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     2829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
    26352830$as_echo "$ac_cv_objext" >&6; } 
    26362831OBJEXT=$ac_cv_objext 
    26372832ac_objext=$OBJEXT 
    2638 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    26392834$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    2640 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     2835if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
    26412836  $as_echo_n "(cached) " >&6 
    26422837else 
    2643   cat >conftest.$ac_ext <<_ACEOF 
    2644 /* confdefs.h.  */ 
    2645 _ACEOF 
    2646 cat confdefs.h >>conftest.$ac_ext 
    2647 cat >>conftest.$ac_ext <<_ACEOF 
     2838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26482839/* end confdefs.h.  */ 
    26492840 
     
    26592850} 
    26602851_ACEOF 
    2661 rm -f conftest.$ac_objext 
    2662 if { (ac_try="$ac_compile" 
    2663 case "(($ac_try" in 
    2664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2665   *) ac_try_echo=$ac_try;; 
    2666 esac 
    2667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2668 $as_echo "$ac_try_echo") >&5 
    2669   (eval "$ac_compile") 2>conftest.er1 
    2670   ac_status=$? 
    2671   grep -v '^ *+' conftest.er1 >conftest.err 
    2672   rm -f conftest.er1 
    2673   cat conftest.err >&5 
    2674   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2675   (exit $ac_status); } && { 
    2676          test -z "$ac_c_werror_flag" || 
    2677          test ! -s conftest.err 
    2678        } && test -s conftest.$ac_objext; then 
     2852if ac_fn_c_try_compile "$LINENO"; then : 
    26792853  ac_compiler_gnu=yes 
    26802854else 
    2681   $as_echo "$as_me: failed program was:" >&5 
    2682 sed 's/^/| /' conftest.$ac_ext >&5 
    2683  
    2684         ac_compiler_gnu=no 
    2685 fi 
    2686  
     2855  ac_compiler_gnu=no 
     2856fi 
    26872857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26882858ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26892859 
    26902860fi 
    2691 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     2861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
    26922862$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
    26932863if test $ac_compiler_gnu = yes; then 
     
    26982868ac_test_CFLAGS=${CFLAGS+set} 
    26992869ac_save_CFLAGS=$CFLAGS 
    2700 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     2870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    27012871$as_echo_n "checking whether $CC accepts -g... " >&6; } 
    2702 if test "${ac_cv_prog_cc_g+set}" = set; then 
     2872if test "${ac_cv_prog_cc_g+set}" = set; then : 
    27032873  $as_echo_n "(cached) " >&6 
    27042874else 
     
    27072877   ac_cv_prog_cc_g=no 
    27082878   CFLAGS="-g" 
    2709    cat >conftest.$ac_ext <<_ACEOF 
    2710 /* confdefs.h.  */ 
    2711 _ACEOF 
    2712 cat confdefs.h >>conftest.$ac_ext 
    2713 cat >>conftest.$ac_ext <<_ACEOF 
     2879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27142880/* end confdefs.h.  */ 
    27152881 
     
    27222888} 
    27232889_ACEOF 
    2724 rm -f conftest.$ac_objext 
    2725 if { (ac_try="$ac_compile" 
    2726 case "(($ac_try" in 
    2727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2728   *) ac_try_echo=$ac_try;; 
    2729 esac 
    2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2731 $as_echo "$ac_try_echo") >&5 
    2732   (eval "$ac_compile") 2>conftest.er1 
    2733   ac_status=$? 
    2734   grep -v '^ *+' conftest.er1 >conftest.err 
    2735   rm -f conftest.er1 
    2736   cat conftest.err >&5 
    2737   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2738   (exit $ac_status); } && { 
    2739          test -z "$ac_c_werror_flag" || 
    2740          test ! -s conftest.err 
    2741        } && test -s conftest.$ac_objext; then 
     2890if ac_fn_c_try_compile "$LINENO"; then : 
    27422891  ac_cv_prog_cc_g=yes 
    27432892else 
    2744   $as_echo "$as_me: failed program was:" >&5 
    2745 sed 's/^/| /' conftest.$ac_ext >&5 
    2746  
    2747         CFLAGS="" 
    2748       cat >conftest.$ac_ext <<_ACEOF 
    2749 /* confdefs.h.  */ 
    2750 _ACEOF 
    2751 cat confdefs.h >>conftest.$ac_ext 
    2752 cat >>conftest.$ac_ext <<_ACEOF 
     2893  CFLAGS="" 
     2894      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27532895/* end confdefs.h.  */ 
    27542896 
     
    27612903} 
    27622904_ACEOF 
    2763 rm -f conftest.$ac_objext 
    2764 if { (ac_try="$ac_compile" 
    2765 case "(($ac_try" in 
    2766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2767   *) ac_try_echo=$ac_try;; 
    2768 esac 
    2769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2770 $as_echo "$ac_try_echo") >&5 
    2771   (eval "$ac_compile") 2>conftest.er1 
    2772   ac_status=$? 
    2773   grep -v '^ *+' conftest.er1 >conftest.err 
    2774   rm -f conftest.er1 
    2775   cat conftest.err >&5 
    2776   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2777   (exit $ac_status); } && { 
    2778          test -z "$ac_c_werror_flag" || 
    2779          test ! -s conftest.err 
    2780        } && test -s conftest.$ac_objext; then 
    2781   : 
    2782 else 
    2783   $as_echo "$as_me: failed program was:" >&5 
    2784 sed 's/^/| /' conftest.$ac_ext >&5 
    2785  
    2786         ac_c_werror_flag=$ac_save_c_werror_flag 
     2905if ac_fn_c_try_compile "$LINENO"; then : 
     2906 
     2907else 
     2908  ac_c_werror_flag=$ac_save_c_werror_flag 
    27872909         CFLAGS="-g" 
    2788          cat >conftest.$ac_ext <<_ACEOF 
    2789 /* confdefs.h.  */ 
    2790 _ACEOF 
    2791 cat confdefs.h >>conftest.$ac_ext 
    2792 cat >>conftest.$ac_ext <<_ACEOF 
     2910         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27932911/* end confdefs.h.  */ 
    27942912 
     
    28012919} 
    28022920_ACEOF 
    2803 rm -f conftest.$ac_objext 
    2804 if { (ac_try="$ac_compile" 
    2805 case "(($ac_try" in 
    2806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2807   *) ac_try_echo=$ac_try;; 
    2808 esac 
    2809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2810 $as_echo "$ac_try_echo") >&5 
    2811   (eval "$ac_compile") 2>conftest.er1 
    2812   ac_status=$? 
    2813   grep -v '^ *+' conftest.er1 >conftest.err 
    2814   rm -f conftest.er1 
    2815   cat conftest.err >&5 
    2816   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2817   (exit $ac_status); } && { 
    2818          test -z "$ac_c_werror_flag" || 
    2819          test ! -s conftest.err 
    2820        } && test -s conftest.$ac_objext; then 
     2921if ac_fn_c_try_compile "$LINENO"; then : 
    28212922  ac_cv_prog_cc_g=yes 
    2822 else 
    2823   $as_echo "$as_me: failed program was:" >&5 
    2824 sed 's/^/| /' conftest.$ac_ext >&5 
    2825  
    2826  
    2827 fi 
    2828  
     2923fi 
    28292924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    28302925fi 
    2831  
    28322926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    28332927fi 
    2834  
    28352928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    28362929   ac_c_werror_flag=$ac_save_c_werror_flag 
    28372930fi 
    2838 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     2931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
    28392932$as_echo "$ac_cv_prog_cc_g" >&6; } 
    28402933if test "$ac_test_CFLAGS" = set; then 
     
    28532946  fi 
    28542947fi 
    2855 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
     2948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    28562949$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    2857 if test "${ac_cv_prog_cc_c89+set}" = set; then 
     2950if test "${ac_cv_prog_cc_c89+set}" = set; then : 
    28582951  $as_echo_n "(cached) " >&6 
    28592952else 
    28602953  ac_cv_prog_cc_c89=no 
    28612954ac_save_CC=$CC 
    2862 cat >conftest.$ac_ext <<_ACEOF 
    2863 /* confdefs.h.  */ 
    2864 _ACEOF 
    2865 cat confdefs.h >>conftest.$ac_ext 
    2866 cat >>conftest.$ac_ext <<_ACEOF 
     2955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    28672956/* end confdefs.h.  */ 
    28682957#include <stdarg.h> 
     
    29213010do 
    29223011  CC="$ac_save_CC $ac_arg" 
    2923   rm -f conftest.$ac_objext 
    2924 if { (ac_try="$ac_compile" 
    2925 case "(($ac_try" in 
    2926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2927   *) ac_try_echo=$ac_try;; 
    2928 esac 
    2929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2930 $as_echo "$ac_try_echo") >&5 
    2931   (eval "$ac_compile") 2>conftest.er1 
    2932   ac_status=$? 
    2933   grep -v '^ *+' conftest.er1 >conftest.err 
    2934   rm -f conftest.er1 
    2935   cat conftest.err >&5 
    2936   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2937   (exit $ac_status); } && { 
    2938          test -z "$ac_c_werror_flag" || 
    2939          test ! -s conftest.err 
    2940        } && test -s conftest.$ac_objext; then 
     3012  if ac_fn_c_try_compile "$LINENO"; then : 
    29413013  ac_cv_prog_cc_c89=$ac_arg 
    2942 else 
    2943   $as_echo "$as_me: failed program was:" >&5 
    2944 sed 's/^/| /' conftest.$ac_ext >&5 
    2945  
    2946  
    2947 fi 
    2948  
     3014fi 
    29493015rm -f core conftest.err conftest.$ac_objext 
    29503016  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    29573023case "x$ac_cv_prog_cc_c89" in 
    29583024  x) 
    2959     { $as_echo "$as_me:$LINENO: result: none needed" >&5 
     3025    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
    29603026$as_echo "none needed" >&6; } ;; 
    29613027  xno) 
    2962     { $as_echo "$as_me:$LINENO: result: unsupported" >&5 
     3028    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
    29633029$as_echo "unsupported" >&6; } ;; 
    29643030  *) 
    29653031    CC="$CC $ac_cv_prog_cc_c89" 
    2966     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
     3032    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
    29673033$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    29683034esac 
    2969  
     3035if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3036 
     3037fi 
    29703038 
    29713039ac_ext=c 
     
    29893057    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29903058set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    29923060$as_echo_n "checking for $ac_word... " >&6; } 
    2993 if test "${ac_cv_prog_CXX+set}" = set; then 
     3061if test "${ac_cv_prog_CXX+set}" = set; then : 
    29943062  $as_echo_n "(cached) " >&6 
    29953063else 
     
    30023070  IFS=$as_save_IFS 
    30033071  test -z "$as_dir" && as_dir=. 
    3004   for ac_exec_ext in '' $ac_executable_extensions; do 
     3072    for ac_exec_ext in '' $ac_executable_extensions; do 
    30053073  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    30063074    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    3007     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    30083076    break 2 
    30093077  fi 
    30103078done 
    3011 done 
     3079  done 
    30123080IFS=$as_save_IFS 
    30133081 
     
    30163084CXX=$ac_cv_prog_CXX 
    30173085if test -n "$CXX"; then 
    3018   { $as_echo "$as_me:$LINENO: result: $CXX" >&5 
     3086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
    30193087$as_echo "$CXX" >&6; } 
    30203088else 
    3021   { $as_echo "$as_me:$LINENO: result: no" >&5 
     3089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    30223090$as_echo "no" >&6; } 
    30233091fi 
     
    30333101  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    30343102set dummy $ac_prog; ac_word=$2 
    3035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    30363104$as_echo_n "checking for $ac_word... " >&6; } 
    3037 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     3105if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
    30383106  $as_echo_n "(cached) " >&6 
    30393107else 
     
    30463114  IFS=$as_save_IFS 
    30473115  test -z "$as_dir" && as_dir=. 
    3048   for ac_exec_ext in '' $ac_executable_extensions; do 
     3116    for ac_exec_ext in '' $ac_executable_extensions; do 
    30493117  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    30503118    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    3051     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    30523120    break 2 
    30533121  fi 
    30543122done 
    3055 done 
     3123  done 
    30563124IFS=$as_save_IFS 
    30573125 
     
    30603128ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    30613129if test -n "$ac_ct_CXX"; then 
    3062   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     3130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
    30633131$as_echo "$ac_ct_CXX" >&6; } 
    30643132else 
    3065   { $as_echo "$as_me:$LINENO: result: no" >&5 
     3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    30663134$as_echo "no" >&6; } 
    30673135fi 
     
    30763144    case $cross_compiling:$ac_tool_warned in 
    30773145yes:) 
    3078 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    3079 whose name does not start with the host triplet.  If you think this 
    3080 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3081 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3082 whose name does not start with the host triplet.  If you think this 
    3083 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3146{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3147$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30843148ac_tool_warned=yes ;; 
    30853149esac 
     
    30913155fi 
    30923156# Provide some information about the compiler. 
    3093 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
     3157$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
    30943158set X $ac_compile 
    30953159ac_compiler=$2 
    3096 { (ac_try="$ac_compiler --version >&5" 
     3160for ac_option in --version -v -V -qversion; do 
     3161  { { ac_try="$ac_compiler $ac_option >&5" 
    30973162case "(($ac_try" in 
    30983163  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30993164  *) ac_try_echo=$ac_try;; 
    31003165esac 
    3101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3102 $as_echo "$ac_try_echo") >&5 
    3103   (eval "$ac_compiler --version >&5") 2>&5 
     3166eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3167$as_echo "$ac_try_echo"; } >&5 
     3168  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    31043169  ac_status=$? 
    3105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3106   (exit $ac_status); } 
    3107 { (ac_try="$ac_compiler -v >&5" 
    3108 case "(($ac_try" in 
    3109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3110   *) ac_try_echo=$ac_try;; 
    3111 esac 
    3112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3113 $as_echo "$ac_try_echo") >&5 
    3114   (eval "$ac_compiler -v >&5") 2>&5 
    3115   ac_status=$? 
    3116   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3117   (exit $ac_status); } 
    3118 { (ac_try="$ac_compiler -V >&5" 
    3119 case "(($ac_try" in 
    3120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3121   *) ac_try_echo=$ac_try;; 
    3122 esac 
    3123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3124 $as_echo "$ac_try_echo") >&5 
    3125   (eval "$ac_compiler -V >&5") 2>&5 
    3126   ac_status=$? 
    3127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3128   (exit $ac_status); } 
    3129  
    3130 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     3170  if test -s conftest.err; then 
     3171    sed '10a\ 
     3172... rest of stderr output deleted ... 
     3173         10q' conftest.err >conftest.er1 
     3174    cat conftest.er1 >&5 
     3175    rm -f conftest.er1 conftest.err 
     3176  fi 
     3177  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3178  test $ac_status = 0; } 
     3179done 
     3180 
     3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
    31313182$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
    3132 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     3183if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
    31333184  $as_echo_n "(cached) " >&6 
    31343185else 
    3135   cat >conftest.$ac_ext <<_ACEOF 
    3136 /* confdefs.h.  */ 
    3137 _ACEOF 
    3138 cat confdefs.h >>conftest.$ac_ext 
    3139 cat >>conftest.$ac_ext <<_ACEOF 
     3186  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31403187/* end confdefs.h.  */ 
    31413188 
     
    31513198} 
    31523199_ACEOF 
    3153 rm -f conftest.$ac_objext 
    3154 if { (ac_try="$ac_compile" 
    3155 case "(($ac_try" in 
    3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3157   *) ac_try_echo=$ac_try;; 
    3158 esac 
    3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3160 $as_echo "$ac_try_echo") >&5 
    3161   (eval "$ac_compile") 2>conftest.er1 
    3162   ac_status=$? 
    3163   grep -v '^ *+' conftest.er1 >conftest.err 
    3164   rm -f conftest.er1 
    3165   cat conftest.err >&5 
    3166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3167   (exit $ac_status); } && { 
    3168          test -z "$ac_cxx_werror_flag" || 
    3169          test ! -s conftest.err 
    3170        } && test -s conftest.$ac_objext; then 
     3200if ac_fn_cxx_try_compile "$LINENO"; then : 
    31713201  ac_compiler_gnu=yes 
    31723202else 
    3173   $as_echo "$as_me: failed program was:" >&5 
    3174 sed 's/^/| /' conftest.$ac_ext >&5 
    3175  
    3176         ac_compiler_gnu=no 
    3177 fi 
    3178  
     3203  ac_compiler_gnu=no 
     3204fi 
    31793205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    31803206ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    31813207 
    31823208fi 
    3183 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     3209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
    31843210$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
    31853211if test $ac_compiler_gnu = yes; then 
     
    31903216ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31913217ac_save_CXXFLAGS=$CXXFLAGS 
    3192 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     3218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
    31933219$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
    3194 if test "${ac_cv_prog_cxx_g+set}" = set; then 
     3220if test "${ac_cv_prog_cxx_g+set}" = set; then : 
    31953221  $as_echo_n "(cached) " >&6 
    31963222else 
     
    31993225   ac_cv_prog_cxx_g=no 
    32003226   CXXFLAGS="-g" 
    3201    cat >conftest.$ac_ext <<_ACEOF 
    3202 /* confdefs.h.  */ 
    3203 _ACEOF 
    3204 cat confdefs.h >>conftest.$ac_ext 
    3205 cat >>conftest.$ac_ext <<_ACEOF 
     3227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32063228/* end confdefs.h.  */ 
    32073229 
     
    32143236} 
    32153237_ACEOF 
    3216 rm -f conftest.$ac_objext 
    3217 if { (ac_try="$ac_compile" 
    3218 case "(($ac_try" in 
    3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3220   *) ac_try_echo=$ac_try;; 
    3221 esac 
    3222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3223 $as_echo "$ac_try_echo") >&5 
    3224   (eval "$ac_compile") 2>conftest.er1 
    3225   ac_status=$? 
    3226   grep -v '^ *+' conftest.er1 >conftest.err 
    3227   rm -f conftest.er1 
    3228   cat conftest.err >&5 
    3229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3230   (exit $ac_status); } && { 
    3231          test -z "$ac_cxx_werror_flag" || 
    3232          test ! -s conftest.err 
    3233        } && test -s conftest.$ac_objext; then 
     3238if ac_fn_cxx_try_compile "$LINENO"; then : 
    32343239  ac_cv_prog_cxx_g=yes 
    32353240else 
    3236   $as_echo "$as_me: failed program was:" >&5 
    3237 sed 's/^/| /' conftest.$ac_ext >&5 
    3238  
    3239         CXXFLAGS="" 
    3240       cat >conftest.$ac_ext <<_ACEOF 
    3241 /* confdefs.h.  */ 
    3242 _ACEOF 
    3243 cat confdefs.h >>conftest.$ac_ext 
    3244 cat >>conftest.$ac_ext <<_ACEOF 
     3241  CXXFLAGS="" 
     3242      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32453243/* end confdefs.h.  */ 
    32463244 
     
    32533251} 
    32543252_ACEOF 
    3255 rm -f conftest.$ac_objext 
    3256 if { (ac_try="$ac_compile" 
    3257 case "(($ac_try" in 
    3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3259   *) ac_try_echo=$ac_try;; 
    3260 esac 
    3261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3262 $as_echo "$ac_try_echo") >&5 
    3263   (eval "$ac_compile") 2>conftest.er1 
    3264   ac_status=$? 
    3265   grep -v '^ *+' conftest.er1 >conftest.err 
    3266   rm -f conftest.er1 
    3267   cat conftest.err >&5 
    3268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3269   (exit $ac_status); } && { 
    3270          test -z "$ac_cxx_werror_flag" || 
    3271          test ! -s conftest.err 
    3272        } && test -s conftest.$ac_objext; then 
    3273   : 
    3274 else 
    3275   $as_echo "$as_me: failed program was:" >&5 
    3276 sed 's/^/| /' conftest.$ac_ext >&5 
    3277  
    3278         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3253if ac_fn_cxx_try_compile "$LINENO"; then : 
     3254 
     3255else 
     3256  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32793257         CXXFLAGS="-g" 
    3280          cat >conftest.$ac_ext <<_ACEOF 
    3281 /* confdefs.h.  */ 
    3282 _ACEOF 
    3283 cat confdefs.h >>conftest.$ac_ext 
    3284 cat >>conftest.$ac_ext <<_ACEOF 
     3258         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32853259/* end confdefs.h.  */ 
    32863260 
     
    32933267} 
    32943268_ACEOF 
    3295 rm -f conftest.$ac_objext 
    3296 if { (ac_try="$ac_compile" 
    3297 case "(($ac_try" in 
    3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3299   *) ac_try_echo=$ac_try;; 
    3300 esac 
    3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3302 $as_echo "$ac_try_echo") >&5 
    3303   (eval "$ac_compile") 2>conftest.er1 
    3304   ac_status=$? 
    3305   grep -v '^ *+' conftest.er1 >conftest.err 
    3306   rm -f conftest.er1 
    3307   cat conftest.err >&5 
    3308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3309   (exit $ac_status); } && { 
    3310          test -z "$ac_cxx_werror_flag" || 
    3311          test ! -s conftest.err 
    3312        } && test -s conftest.$ac_objext; then 
     3269if ac_fn_cxx_try_compile "$LINENO"; then : 
    33133270  ac_cv_prog_cxx_g=yes 
    3314 else 
    3315   $as_echo "$as_me: failed program was:" >&5 
    3316 sed 's/^/| /' conftest.$ac_ext >&5 
    3317  
    3318  
    3319 fi 
    3320  
     3271fi 
    33213272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33223273fi 
    3323  
    33243274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33253275fi 
    3326  
    33273276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33283277   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    33293278fi 
    3330 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     3279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
    33313280$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    33323281if test "$ac_test_CXXFLAGS" = set; then 
     
    33703319 
    33713320 
    3372  
    3373 { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
     3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
    33743322$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
    3375 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     3323if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
    33763324  $as_echo_n "(cached) " >&6 
    33773325else 
    33783326  ac_check_lib_save_LIBS=$LIBS 
    33793327LIBS="-lpthread  $LIBS" 
    3380 cat >conftest.$ac_ext <<_ACEOF 
    3381 /* confdefs.h.  */ 
    3382 _ACEOF 
    3383 cat confdefs.h >>conftest.$ac_ext 
    3384 cat >>conftest.$ac_ext <<_ACEOF 
     3328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33853329/* end confdefs.h.  */ 
    33863330 
     
    34003344} 
    34013345_ACEOF 
    3402 rm -f conftest.$ac_objext conftest$ac_exeext 
    3403 if { (ac_try="$ac_link" 
    3404 case "(($ac_try" in 
    3405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3406   *) ac_try_echo=$ac_try;; 
    3407 esac 
    3408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3409 $as_echo "$ac_try_echo") >&5 
    3410   (eval "$ac_link") 2>conftest.er1 
    3411   ac_status=$? 
    3412   grep -v '^ *+' conftest.er1 >conftest.err 
    3413   rm -f conftest.er1 
    3414   cat conftest.err >&5 
    3415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3416   (exit $ac_status); } && { 
    3417          test -z "$ac_c_werror_flag" || 
    3418          test ! -s conftest.err 
    3419        } && test -s conftest$ac_exeext && { 
    3420          test "$cross_compiling" = yes || 
    3421          $as_test_x conftest$ac_exeext 
    3422        }; then 
     3346if ac_fn_c_try_link "$LINENO"; then : 
    34233347  ac_cv_lib_pthread_pthread_create=yes 
    34243348else 
    3425   $as_echo "$as_me: failed program was:" >&5 
    3426 sed 's/^/| /' conftest.$ac_ext >&5 
    3427  
    3428         ac_cv_lib_pthread_pthread_create=no 
    3429 fi 
    3430  
    3431 rm -rf conftest.dSYM 
    3432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3433       conftest$ac_exeext conftest.$ac_ext 
     3349  ac_cv_lib_pthread_pthread_create=no 
     3350fi 
     3351rm -f core conftest.err conftest.$ac_objext \ 
     3352    conftest$ac_exeext conftest.$ac_ext 
    34343353LIBS=$ac_check_lib_save_LIBS 
    34353354fi 
    3436 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
    34373356$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
    3438 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3357if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    34393358  cat >>confdefs.h <<_ACEOF 
    34403359#define HAVE_LIBPTHREAD 1 
     
    34453364fi 
    34463365 
    3447  
    3448 { $as_echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
     3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
    34493367$as_echo_n "checking for puts in -lwsock32... " >&6; } 
    3450 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
     3368if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
    34513369  $as_echo_n "(cached) " >&6 
    34523370else 
    34533371  ac_check_lib_save_LIBS=$LIBS 
    34543372LIBS="-lwsock32  $LIBS" 
    3455 cat >conftest.$ac_ext <<_ACEOF 
    3456 /* confdefs.h.  */ 
    3457 _ACEOF 
    3458 cat confdefs.h >>conftest.$ac_ext 
    3459 cat >>conftest.$ac_ext <<_ACEOF 
     3373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34603374/* end confdefs.h.  */ 
    34613375 
     
    34753389} 
    34763390_ACEOF 
    3477 rm -f conftest.$ac_objext conftest$ac_exeext 
    3478 if { (ac_try="$ac_link" 
    3479 case "(($ac_try" in 
    3480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3481   *) ac_try_echo=$ac_try;; 
    3482 esac 
    3483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3484 $as_echo "$ac_try_echo") >&5 
    3485   (eval "$ac_link") 2>conftest.er1 
    3486   ac_status=$? 
    3487   grep -v '^ *+' conftest.er1 >conftest.err 
    3488   rm -f conftest.er1 
    3489   cat conftest.err >&5 
    3490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3491   (exit $ac_status); } && { 
    3492          test -z "$ac_c_werror_flag" || 
    3493          test ! -s conftest.err 
    3494        } && test -s conftest$ac_exeext && { 
    3495          test "$cross_compiling" = yes || 
    3496          $as_test_x conftest$ac_exeext 
    3497        }; then 
     3391if ac_fn_c_try_link "$LINENO"; then : 
    34983392  ac_cv_lib_wsock32_puts=yes 
    34993393else 
    3500   $as_echo "$as_me: failed program was:" >&5 
    3501 sed 's/^/| /' conftest.$ac_ext >&5 
    3502  
    3503         ac_cv_lib_wsock32_puts=no 
    3504 fi 
    3505  
    3506 rm -rf conftest.dSYM 
    3507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3508       conftest$ac_exeext conftest.$ac_ext 
     3394  ac_cv_lib_wsock32_puts=no 
     3395fi 
     3396rm -f core conftest.err conftest.$ac_objext \ 
     3397    conftest$ac_exeext conftest.$ac_ext 
    35093398LIBS=$ac_check_lib_save_LIBS 
    35103399fi 
    3511 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
     3400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
    35123401$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
    3513 if test $ac_cv_lib_wsock32_puts = yes; then 
     3402if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    35143403  cat >>confdefs.h <<_ACEOF 
    35153404#define HAVE_LIBWSOCK32 1 
     
    35203409fi 
    35213410 
    3522  
    3523 { $as_echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
     3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
    35243412$as_echo_n "checking for puts in -lws2_32... " >&6; } 
    3525 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
     3413if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
    35263414  $as_echo_n "(cached) " >&6 
    35273415else 
    35283416  ac_check_lib_save_LIBS=$LIBS 
    35293417LIBS="-lws2_32  $LIBS" 
    3530 cat >conftest.$ac_ext <<_ACEOF 
    3531 /* confdefs.h.  */ 
    3532 _ACEOF 
    3533 cat confdefs.h >>conftest.$ac_ext 
    3534 cat >>conftest.$ac_ext <<_ACEOF 
     3418cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35353419/* end confdefs.h.  */ 
    35363420 
     
    35503434} 
    35513435_ACEOF 
    3552 rm -f conftest.$ac_objext conftest$ac_exeext 
    3553 if { (ac_try="$ac_link" 
    3554 case "(($ac_try" in 
    3555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3556   *) ac_try_echo=$ac_try;; 
    3557 esac 
    3558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3559 $as_echo "$ac_try_echo") >&5 
    3560   (eval "$ac_link") 2>conftest.er1 
    3561   ac_status=$? 
    3562   grep -v '^ *+' conftest.er1 >conftest.err 
    3563   rm -f conftest.er1 
    3564   cat conftest.err >&5 
    3565   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3566   (exit $ac_status); } && { 
    3567          test -z "$ac_c_werror_flag" || 
    3568          test ! -s conftest.err 
    3569        } && test -s conftest$ac_exeext && { 
    3570          test "$cross_compiling" = yes || 
    3571          $as_test_x conftest$ac_exeext 
    3572        }; then 
     3436if ac_fn_c_try_link "$LINENO"; then : 
    35733437  ac_cv_lib_ws2_32_puts=yes 
    35743438else 
    3575   $as_echo "$as_me: failed program was:" >&5 
    3576 sed 's/^/| /' conftest.$ac_ext >&5 
    3577  
    3578         ac_cv_lib_ws2_32_puts=no 
    3579 fi 
    3580  
    3581 rm -rf conftest.dSYM 
    3582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3583       conftest$ac_exeext conftest.$ac_ext 
     3439  ac_cv_lib_ws2_32_puts=no 
     3440fi 
     3441rm -f core conftest.err conftest.$ac_objext \ 
     3442    conftest$ac_exeext conftest.$ac_ext 
    35843443LIBS=$ac_check_lib_save_LIBS 
    35853444fi 
    3586 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
     3445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
    35873446$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
    3588 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3447if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35893448  cat >>confdefs.h <<_ACEOF 
    35903449#define HAVE_LIBWS2_32 1 
     
    35953454fi 
    35963455 
    3597  
    3598 { $as_echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
     3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
    35993457$as_echo_n "checking for puts in -lole32... " >&6; } 
    3600 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
     3458if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
    36013459  $as_echo_n "(cached) " >&6 
    36023460else 
    36033461  ac_check_lib_save_LIBS=$LIBS 
    36043462LIBS="-lole32  $LIBS" 
    3605 cat >conftest.$ac_ext <<_ACEOF 
    3606 /* confdefs.h.  */ 
    3607 _ACEOF 
    3608 cat confdefs.h >>conftest.$ac_ext 
    3609 cat >>conftest.$ac_ext <<_ACEOF 
     3463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36103464/* end confdefs.h.  */ 
    36113465 
     
    36253479} 
    36263480_ACEOF 
    3627 rm -f conftest.$ac_objext conftest$ac_exeext 
    3628 if { (ac_try="$ac_link" 
    3629 case "(($ac_try" in 
    3630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3631   *) ac_try_echo=$ac_try;; 
    3632 esac 
    3633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3634 $as_echo "$ac_try_echo") >&5 
    3635   (eval "$ac_link") 2>conftest.er1 
    3636   ac_status=$? 
    3637   grep -v '^ *+' conftest.er1 >conftest.err 
    3638   rm -f conftest.er1 
    3639   cat conftest.err >&5 
    3640   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3641   (exit $ac_status); } && { 
    3642          test -z "$ac_c_werror_flag" || 
    3643          test ! -s conftest.err 
    3644        } && test -s conftest$ac_exeext && { 
    3645          test "$cross_compiling" = yes || 
    3646          $as_test_x conftest$ac_exeext 
    3647        }; then 
     3481if ac_fn_c_try_link "$LINENO"; then : 
    36483482  ac_cv_lib_ole32_puts=yes 
    36493483else 
    3650   $as_echo "$as_me: failed program was:" >&5 
    3651 sed 's/^/| /' conftest.$ac_ext >&5 
    3652  
    3653         ac_cv_lib_ole32_puts=no 
    3654 fi 
    3655  
    3656 rm -rf conftest.dSYM 
    3657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3658       conftest$ac_exeext conftest.$ac_ext 
     3484  ac_cv_lib_ole32_puts=no 
     3485fi 
     3486rm -f core conftest.err conftest.$ac_objext \ 
     3487    conftest$ac_exeext conftest.$ac_ext 
    36593488LIBS=$ac_check_lib_save_LIBS 
    36603489fi 
    3661 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
     3490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
    36623491$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
    3663 if test $ac_cv_lib_ole32_puts = yes; then 
     3492if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    36643493  cat >>confdefs.h <<_ACEOF 
    36653494#define HAVE_LIBOLE32 1 
     
    36703499fi 
    36713500 
    3672  
    3673 { $as_echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
     3501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
    36743502$as_echo_n "checking for puts in -lwinmm... " >&6; } 
    3675 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
     3503if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
    36763504  $as_echo_n "(cached) " >&6 
    36773505else 
    36783506  ac_check_lib_save_LIBS=$LIBS 
    36793507LIBS="-lwinmm  $LIBS" 
    3680 cat >conftest.$ac_ext <<_ACEOF 
    3681 /* confdefs.h.  */ 
    3682 _ACEOF 
    3683 cat confdefs.h >>conftest.$ac_ext 
    3684 cat >>conftest.$ac_ext <<_ACEOF 
     3508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36853509/* end confdefs.h.  */ 
    36863510 
     
    37003524} 
    37013525_ACEOF 
    3702 rm -f conftest.$ac_objext conftest$ac_exeext 
    3703 if { (ac_try="$ac_link" 
    3704 case "(($ac_try" in 
    3705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3706   *) ac_try_echo=$ac_try;; 
    3707 esac 
    3708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3709 $as_echo "$ac_try_echo") >&5 
    3710   (eval "$ac_link") 2>conftest.er1 
    3711   ac_status=$? 
    3712   grep -v '^ *+' conftest.er1 >conftest.err 
    3713   rm -f conftest.er1 
    3714   cat conftest.err >&5 
    3715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3716   (exit $ac_status); } && { 
    3717          test -z "$ac_c_werror_flag" || 
    3718          test ! -s conftest.err 
    3719        } && test -s conftest$ac_exeext && { 
    3720          test "$cross_compiling" = yes || 
    3721          $as_test_x conftest$ac_exeext 
    3722        }; then 
     3526if ac_fn_c_try_link "$LINENO"; then : 
    37233527  ac_cv_lib_winmm_puts=yes 
    37243528else 
    3725   $as_echo "$as_me: failed program was:" >&5 
    3726 sed 's/^/| /' conftest.$ac_ext >&5 
    3727  
    3728         ac_cv_lib_winmm_puts=no 
    3729 fi 
    3730  
    3731 rm -rf conftest.dSYM 
    3732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3733       conftest$ac_exeext conftest.$ac_ext 
     3529  ac_cv_lib_winmm_puts=no 
     3530fi 
     3531rm -f core conftest.err conftest.$ac_objext \ 
     3532    conftest$ac_exeext conftest.$ac_ext 
    37343533LIBS=$ac_check_lib_save_LIBS 
    37353534fi 
    3736 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
     3535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
    37373536$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
    3738 if test $ac_cv_lib_winmm_puts = yes; then 
     3537if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    37393538  cat >>confdefs.h <<_ACEOF 
    37403539#define HAVE_LIBWINMM 1 
     
    37453544fi 
    37463545 
    3747  
    3748 { $as_echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
     3546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
    37493547$as_echo_n "checking for puts in -lsocket... " >&6; } 
    3750 if test "${ac_cv_lib_socket_puts+set}" = set; then 
     3548if test "${ac_cv_lib_socket_puts+set}" = set; then : 
    37513549  $as_echo_n "(cached) " >&6 
    37523550else 
    37533551  ac_check_lib_save_LIBS=$LIBS 
    37543552LIBS="-lsocket  $LIBS" 
    3755 cat >conftest.$ac_ext <<_ACEOF 
    3756 /* confdefs.h.  */ 
    3757 _ACEOF 
    3758 cat confdefs.h >>conftest.$ac_ext 
    3759 cat >>conftest.$ac_ext <<_ACEOF 
     3553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37603554/* end confdefs.h.  */ 
    37613555 
     
    37753569} 
    37763570_ACEOF 
    3777 rm -f conftest.$ac_objext conftest$ac_exeext 
    3778 if { (ac_try="$ac_link" 
    3779 case "(($ac_try" in 
    3780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3781   *) ac_try_echo=$ac_try;; 
    3782 esac 
    3783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3784 $as_echo "$ac_try_echo") >&5 
    3785   (eval "$ac_link") 2>conftest.er1 
    3786   ac_status=$? 
    3787   grep -v '^ *+' conftest.er1 >conftest.err 
    3788   rm -f conftest.er1 
    3789   cat conftest.err >&5 
    3790   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3791   (exit $ac_status); } && { 
    3792          test -z "$ac_c_werror_flag" || 
    3793          test ! -s conftest.err 
    3794        } && test -s conftest$ac_exeext && { 
    3795          test "$cross_compiling" = yes || 
    3796          $as_test_x conftest$ac_exeext 
    3797        }; then 
     3571if ac_fn_c_try_link "$LINENO"; then : 
    37983572  ac_cv_lib_socket_puts=yes 
    37993573else 
    3800   $as_echo "$as_me: failed program was:" >&5 
    3801 sed 's/^/| /' conftest.$ac_ext >&5 
    3802  
    3803         ac_cv_lib_socket_puts=no 
    3804 fi 
    3805  
    3806 rm -rf conftest.dSYM 
    3807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3808       conftest$ac_exeext conftest.$ac_ext 
     3574  ac_cv_lib_socket_puts=no 
     3575fi 
     3576rm -f core conftest.err conftest.$ac_objext \ 
     3577    conftest$ac_exeext conftest.$ac_ext 
    38093578LIBS=$ac_check_lib_save_LIBS 
    38103579fi 
    3811 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
     3580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
    38123581$as_echo "$ac_cv_lib_socket_puts" >&6; } 
    3813 if test $ac_cv_lib_socket_puts = yes; then 
     3582if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    38143583  cat >>confdefs.h <<_ACEOF 
    38153584#define HAVE_LIBSOCKET 1 
     
    38203589fi 
    38213590 
    3822  
    3823 { $as_echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
     3591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
    38243592$as_echo_n "checking for puts in -lrt... " >&6; } 
    3825 if test "${ac_cv_lib_rt_puts+set}" = set; then 
     3593if test "${ac_cv_lib_rt_puts+set}" = set; then : 
    38263594  $as_echo_n "(cached) " >&6 
    38273595else 
    38283596  ac_check_lib_save_LIBS=$LIBS 
    38293597LIBS="-lrt  $LIBS" 
    3830 cat >conftest.$ac_ext <<_ACEOF 
    3831 /* confdefs.h.  */ 
    3832 _ACEOF 
    3833 cat confdefs.h >>conftest.$ac_ext 
    3834 cat >>conftest.$ac_ext <<_ACEOF 
     3598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38353599/* end confdefs.h.  */ 
    38363600 
     
    38503614} 
    38513615_ACEOF 
    3852 rm -f conftest.$ac_objext conftest$ac_exeext 
    3853 if { (ac_try="$ac_link" 
    3854 case "(($ac_try" in 
    3855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3856   *) ac_try_echo=$ac_try;; 
    3857 esac 
    3858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3859 $as_echo "$ac_try_echo") >&5 
    3860   (eval "$ac_link") 2>conftest.er1 
    3861   ac_status=$? 
    3862   grep -v '^ *+' conftest.er1 >conftest.err 
    3863   rm -f conftest.er1 
    3864   cat conftest.err >&5 
    3865   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3866   (exit $ac_status); } && { 
    3867          test -z "$ac_c_werror_flag" || 
    3868          test ! -s conftest.err 
    3869        } && test -s conftest$ac_exeext && { 
    3870          test "$cross_compiling" = yes || 
    3871          $as_test_x conftest$ac_exeext 
    3872        }; then 
     3616if ac_fn_c_try_link "$LINENO"; then : 
    38733617  ac_cv_lib_rt_puts=yes 
    38743618else 
    3875   $as_echo "$as_me: failed program was:" >&5 
    3876 sed 's/^/| /' conftest.$ac_ext >&5 
    3877  
    3878         ac_cv_lib_rt_puts=no 
    3879 fi 
    3880  
    3881 rm -rf conftest.dSYM 
    3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3883       conftest$ac_exeext conftest.$ac_ext 
     3619  ac_cv_lib_rt_puts=no 
     3620fi 
     3621rm -f core conftest.err conftest.$ac_objext \ 
     3622    conftest$ac_exeext conftest.$ac_ext 
    38843623LIBS=$ac_check_lib_save_LIBS 
    38853624fi 
    3886 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
     3625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
    38873626$as_echo "$ac_cv_lib_rt_puts" >&6; } 
    3888 if test $ac_cv_lib_rt_puts = yes; then 
     3627if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38893628  cat >>confdefs.h <<_ACEOF 
    38903629#define HAVE_LIBRT 1 
     
    38953634fi 
    38963635 
    3897  
    3898 { $as_echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
     3636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
    38993637$as_echo_n "checking for puts in -lnsl... " >&6; } 
    3900 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
     3638if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
    39013639  $as_echo_n "(cached) " >&6 
    39023640else 
    39033641  ac_check_lib_save_LIBS=$LIBS 
    39043642LIBS="-lnsl  $LIBS" 
    3905 cat >conftest.$ac_ext <<_ACEOF 
    3906 /* confdefs.h.  */ 
    3907 _ACEOF 
    3908 cat confdefs.h >>conftest.$ac_ext 
    3909 cat >>conftest.$ac_ext <<_ACEOF 
     3643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39103644/* end confdefs.h.  */ 
    39113645 
     
    39253659} 
    39263660_ACEOF 
    3927 rm -f conftest.$ac_objext conftest$ac_exeext 
    3928 if { (ac_try="$ac_link" 
    3929 case "(($ac_try" in 
    3930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3931   *) ac_try_echo=$ac_try;; 
    3932 esac 
    3933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3934 $as_echo "$ac_try_echo") >&5 
    3935   (eval "$ac_link") 2>conftest.er1 
    3936   ac_status=$? 
    3937   grep -v '^ *+' conftest.er1 >conftest.err 
    3938   rm -f conftest.er1 
    3939   cat conftest.err >&5 
    3940   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3941   (exit $ac_status); } && { 
    3942          test -z "$ac_c_werror_flag" || 
    3943          test ! -s conftest.err 
    3944        } && test -s conftest$ac_exeext && { 
    3945          test "$cross_compiling" = yes || 
    3946          $as_test_x conftest$ac_exeext 
    3947        }; then 
     3661if ac_fn_c_try_link "$LINENO"; then : 
    39483662  ac_cv_lib_nsl_puts=yes 
    39493663else 
    3950   $as_echo "$as_me: failed program was:" >&5 
    3951 sed 's/^/| /' conftest.$ac_ext >&5 
    3952  
    3953         ac_cv_lib_nsl_puts=no 
    3954 fi 
    3955  
    3956 rm -rf conftest.dSYM 
    3957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3958       conftest$ac_exeext conftest.$ac_ext 
     3664  ac_cv_lib_nsl_puts=no 
     3665fi 
     3666rm -f core conftest.err conftest.$ac_objext \ 
     3667    conftest$ac_exeext conftest.$ac_ext 
    39593668LIBS=$ac_check_lib_save_LIBS 
    39603669fi 
    3961 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
     3670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
    39623671$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
    3963 if test $ac_cv_lib_nsl_puts = yes; then 
     3672if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    39643673  cat >>confdefs.h <<_ACEOF 
    39653674#define HAVE_LIBNSL 1 
     
    39703679fi 
    39713680 
    3972  
    3973 { $as_echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    39743682$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3975 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3683if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    39763684  $as_echo_n "(cached) " >&6 
    39773685else 
    39783686  ac_check_lib_save_LIBS=$LIBS 
    39793687LIBS="-luuid  $LIBS" 
    3980 cat >conftest.$ac_ext <<_ACEOF 
    3981 /* confdefs.h.  */ 
    3982 _ACEOF 
    3983 cat confdefs.h >>conftest.$ac_ext 
    3984 cat >>conftest.$ac_ext <<_ACEOF 
     3688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39853689/* end confdefs.h.  */ 
    39863690 
     
    40003704} 
    40013705_ACEOF 
    4002 rm -f conftest.$ac_objext conftest$ac_exeext 
    4003 if { (ac_try="$ac_link" 
    4004 case "(($ac_try" in 
    4005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4006   *) ac_try_echo=$ac_try;; 
    4007 esac 
    4008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4009 $as_echo "$ac_try_echo") >&5 
    4010   (eval "$ac_link") 2>conftest.er1 
    4011   ac_status=$? 
    4012   grep -v '^ *+' conftest.er1 >conftest.err 
    4013   rm -f conftest.er1 
    4014   cat conftest.err >&5 
    4015   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4016   (exit $ac_status); } && { 
    4017          test -z "$ac_c_werror_flag" || 
    4018          test ! -s conftest.err 
    4019        } && test -s conftest$ac_exeext && { 
    4020          test "$cross_compiling" = yes || 
    4021          $as_test_x conftest$ac_exeext 
    4022        }; then 
     3706if ac_fn_c_try_link "$LINENO"; then : 
    40233707  ac_cv_lib_uuid_uuid_generate=yes 
    40243708else 
    4025   $as_echo "$as_me: failed program was:" >&5 
    4026 sed 's/^/| /' conftest.$ac_ext >&5 
    4027  
    4028         ac_cv_lib_uuid_uuid_generate=no 
    4029 fi 
    4030  
    4031 rm -rf conftest.dSYM 
    4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4033       conftest$ac_exeext conftest.$ac_ext 
     3709  ac_cv_lib_uuid_uuid_generate=no 
     3710fi 
     3711rm -f core conftest.err conftest.$ac_objext \ 
     3712    conftest$ac_exeext conftest.$ac_ext 
    40343713LIBS=$ac_check_lib_save_LIBS 
    40353714fi 
    4036 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    40373716$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4038 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3717if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40393718  cat >>confdefs.h <<_ACEOF 
    40403719#define HAVE_LIBUUID 1 
     
    40453724fi 
    40463725 
    4047 { $as_echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    40483727$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    4049 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3728if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    40503729  $as_echo_n "(cached) " >&6 
    40513730else 
    40523731  ac_check_lib_save_LIBS=$LIBS 
    40533732LIBS="-luuid  $LIBS" 
    4054 cat >conftest.$ac_ext <<_ACEOF 
    4055 /* confdefs.h.  */ 
    4056 _ACEOF 
    4057 cat confdefs.h >>conftest.$ac_ext 
    4058 cat >>conftest.$ac_ext <<_ACEOF 
     3733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40593734/* end confdefs.h.  */ 
    40603735 
     
    40743749} 
    40753750_ACEOF 
    4076 rm -f conftest.$ac_objext conftest$ac_exeext 
    4077 if { (ac_try="$ac_link" 
    4078 case "(($ac_try" in 
    4079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4080   *) ac_try_echo=$ac_try;; 
    4081 esac 
    4082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4083 $as_echo "$ac_try_echo") >&5 
    4084   (eval "$ac_link") 2>conftest.er1 
    4085   ac_status=$? 
    4086   grep -v '^ *+' conftest.er1 >conftest.err 
    4087   rm -f conftest.er1 
    4088   cat conftest.err >&5 
    4089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4090   (exit $ac_status); } && { 
    4091          test -z "$ac_c_werror_flag" || 
    4092          test ! -s conftest.err 
    4093        } && test -s conftest$ac_exeext && { 
    4094          test "$cross_compiling" = yes || 
    4095          $as_test_x conftest$ac_exeext 
    4096        }; then 
     3751if ac_fn_c_try_link "$LINENO"; then : 
    40973752  ac_cv_lib_uuid_uuid_generate=yes 
    40983753else 
    4099   $as_echo "$as_me: failed program was:" >&5 
    4100 sed 's/^/| /' conftest.$ac_ext >&5 
    4101  
    4102         ac_cv_lib_uuid_uuid_generate=no 
    4103 fi 
    4104  
    4105 rm -rf conftest.dSYM 
    4106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4107       conftest$ac_exeext conftest.$ac_ext 
     3754  ac_cv_lib_uuid_uuid_generate=no 
     3755fi 
     3756rm -f core conftest.err conftest.$ac_objext \ 
     3757    conftest$ac_exeext conftest.$ac_ext 
    41083758LIBS=$ac_check_lib_save_LIBS 
    41093759fi 
    4110 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    41113761$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4112 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3762if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    41133763  ac_has_uuid_lib=1 
    41143764fi 
    41153765 
    41163766 
    4117 { $as_echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
    41183768$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    41193769cat >>confdefs.h <<_ACEOF 
     
    41223772 
    41233773 
    4124 { $as_echo "$as_me:$LINENO: checking memory alignment" >&5 
     3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
    41253775$as_echo_n "checking memory alignment... " >&6; } 
    41263776case $target in 
    41273777    ia64-* | x86_64-* ) 
    4128         cat >>confdefs.h <<\_ACEOF 
    4129 #define PJ_POOL_ALIGNMENT 8 
    4130 _ACEOF 
    4131  
    4132         { $as_echo "$as_me:$LINENO: result: 8 bytes" >&5 
     3778        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3779 
     3780        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
    41333781$as_echo "8 bytes" >&6; } 
    41343782        ;; 
    41353783    * ) 
    4136         cat >>confdefs.h <<\_ACEOF 
    4137 #define PJ_POOL_ALIGNMENT 4 
    4138 _ACEOF 
    4139  
    4140         { $as_echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
     3784        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3785 
     3786        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
    41413787$as_echo "4 bytes (default)" >&6; } 
    41423788        ;; 
     
    41493795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    41503796ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4151 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     3797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
    41523798$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    41533799# On Suns, sometimes $CPP names a directory. 
     
    41563802fi 
    41573803if test -z "$CPP"; then 
    4158   if test "${ac_cv_prog_CPP+set}" = set; then 
     3804  if test "${ac_cv_prog_CPP+set}" = set; then : 
    41593805  $as_echo_n "(cached) " >&6 
    41603806else 
     
    41713817  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41723818  # not just through cpp. "Syntax error" is here to catch this case. 
    4173   cat >conftest.$ac_ext <<_ACEOF 
    4174 /* confdefs.h.  */ 
    4175 _ACEOF 
    4176 cat confdefs.h >>conftest.$ac_ext 
    4177 cat >>conftest.$ac_ext <<_ACEOF 
     3819  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41783820/* end confdefs.h.  */ 
    41793821#ifdef __STDC__ 
     
    41843826                     Syntax error 
    41853827_ACEOF 
    4186 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4187 case "(($ac_try" in 
    4188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4189   *) ac_try_echo=$ac_try;; 
    4190 esac 
    4191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4192 $as_echo "$ac_try_echo") >&5 
    4193   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4194   ac_status=$? 
    4195   grep -v '^ *+' conftest.er1 >conftest.err 
    4196   rm -f conftest.er1 
    4197   cat conftest.err >&5 
    4198   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4199   (exit $ac_status); } >/dev/null && { 
    4200          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4201          test ! -s conftest.err 
    4202        }; then 
    4203   : 
    4204 else 
    4205   $as_echo "$as_me: failed program was:" >&5 
    4206 sed 's/^/| /' conftest.$ac_ext >&5 
    4207  
     3828if ac_fn_c_try_cpp "$LINENO"; then : 
     3829 
     3830else 
    42083831  # Broken: fails on valid input. 
    42093832continue 
    42103833fi 
    4211  
    42123834rm -f conftest.err conftest.$ac_ext 
    42133835 
    42143836  # OK, works on sane cases.  Now check whether nonexistent headers 
    42153837  # can be detected and how. 
    4216   cat >conftest.$ac_ext <<_ACEOF 
    4217 /* confdefs.h.  */ 
    4218 _ACEOF 
    4219 cat confdefs.h >>conftest.$ac_ext 
    4220 cat >>conftest.$ac_ext <<_ACEOF 
     3838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42213839/* end confdefs.h.  */ 
    42223840#include <ac_nonexistent.h> 
    42233841_ACEOF 
    4224 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4225 case "(($ac_try" in 
    4226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4227   *) ac_try_echo=$ac_try;; 
    4228 esac 
    4229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4230 $as_echo "$ac_try_echo") >&5 
    4231   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4232   ac_status=$? 
    4233   grep -v '^ *+' conftest.er1 >conftest.err 
    4234   rm -f conftest.er1 
    4235   cat conftest.err >&5 
    4236   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4237   (exit $ac_status); } >/dev/null && { 
    4238          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4239          test ! -s conftest.err 
    4240        }; then 
     3842if ac_fn_c_try_cpp "$LINENO"; then : 
    42413843  # Broken: success on invalid input. 
    42423844continue 
    42433845else 
    4244   $as_echo "$as_me: failed program was:" >&5 
    4245 sed 's/^/| /' conftest.$ac_ext >&5 
    4246  
    42473846  # Passes both tests. 
    42483847ac_preproc_ok=: 
    42493848break 
    42503849fi 
    4251  
    42523850rm -f conftest.err conftest.$ac_ext 
    42533851 
     
    42553853# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42563854rm -f conftest.err conftest.$ac_ext 
    4257 if $ac_preproc_ok; then 
     3855if $ac_preproc_ok; then : 
    42583856  break 
    42593857fi 
     
    42673865  ac_cv_prog_CPP=$CPP 
    42683866fi 
    4269 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 
     3867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
    42703868$as_echo "$CPP" >&6; } 
    42713869ac_preproc_ok=false 
     
    42783876  # On the NeXT, cc -E runs the code through the compiler's parser, 
    42793877  # not just through cpp. "Syntax error" is here to catch this case. 
    4280   cat >conftest.$ac_ext <<_ACEOF 
    4281 /* confdefs.h.  */ 
    4282 _ACEOF 
    4283 cat confdefs.h >>conftest.$ac_ext 
    4284 cat >>conftest.$ac_ext <<_ACEOF 
     3878  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42853879/* end confdefs.h.  */ 
    42863880#ifdef __STDC__ 
     
    42913885                     Syntax error 
    42923886_ACEOF 
    4293 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4294 case "(($ac_try" in 
    4295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4296   *) ac_try_echo=$ac_try;; 
    4297 esac 
    4298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4299 $as_echo "$ac_try_echo") >&5 
    4300   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4301   ac_status=$? 
    4302   grep -v '^ *+' conftest.er1 >conftest.err 
    4303   rm -f conftest.er1 
    4304   cat conftest.err >&5 
    4305   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4306   (exit $ac_status); } >/dev/null && { 
    4307          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4308          test ! -s conftest.err 
    4309        }; then 
    4310   : 
    4311 else 
    4312   $as_echo "$as_me: failed program was:" >&5 
    4313 sed 's/^/| /' conftest.$ac_ext >&5 
    4314  
     3887if ac_fn_c_try_cpp "$LINENO"; then : 
     3888 
     3889else 
    43153890  # Broken: fails on valid input. 
    43163891continue 
    43173892fi 
    4318  
    43193893rm -f conftest.err conftest.$ac_ext 
    43203894 
    43213895  # OK, works on sane cases.  Now check whether nonexistent headers 
    43223896  # can be detected and how. 
    4323   cat >conftest.$ac_ext <<_ACEOF 
    4324 /* confdefs.h.  */ 
    4325 _ACEOF 
    4326 cat confdefs.h >>conftest.$ac_ext 
    4327 cat >>conftest.$ac_ext <<_ACEOF 
     3897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    43283898/* end confdefs.h.  */ 
    43293899#include <ac_nonexistent.h> 
    43303900_ACEOF 
    4331 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4332 case "(($ac_try" in 
    4333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4334   *) ac_try_echo=$ac_try;; 
    4335 esac 
    4336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4337 $as_echo "$ac_try_echo") >&5 
    4338   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4339   ac_status=$? 
    4340   grep -v '^ *+' conftest.er1 >conftest.err 
    4341   rm -f conftest.er1 
    4342   cat conftest.err >&5 
    4343   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4344   (exit $ac_status); } >/dev/null && { 
    4345          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4346          test ! -s conftest.err 
    4347        }; then 
     3901if ac_fn_c_try_cpp "$LINENO"; then : 
    43483902  # Broken: success on invalid input. 
    43493903continue 
    43503904else 
    4351   $as_echo "$as_me: failed program was:" >&5 
    4352 sed 's/^/| /' conftest.$ac_ext >&5 
    4353  
    43543905  # Passes both tests. 
    43553906ac_preproc_ok=: 
    43563907break 
    43573908fi 
    4358  
    43593909rm -f conftest.err conftest.$ac_ext 
    43603910 
     
    43623912# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    43633913rm -f conftest.err conftest.$ac_ext 
    4364 if $ac_preproc_ok; then 
    4365   : 
    4366 else 
    4367   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4368 See \`config.log' for more details." >&5 
    4369 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4370 See \`config.log' for more details." >&2;} 
    4371    { (exit 1); exit 1; }; } 
     3914if $ac_preproc_ok; then : 
     3915 
     3916else 
     3917  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     3918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     3919as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     3920See \`config.log' for more details." "$LINENO" 5; } 
    43723921fi 
    43733922 
     
    43793928 
    43803929 
    4381 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
     3930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    43823931$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    4383 if test "${ac_cv_path_GREP+set}" = set; then 
     3932if test "${ac_cv_path_GREP+set}" = set; then : 
    43843933  $as_echo_n "(cached) " >&6 
    43853934else 
     
    43923941  IFS=$as_save_IFS 
    43933942  test -z "$as_dir" && as_dir=. 
    4394   for ac_prog in grep ggrep; do 
     3943    for ac_prog in grep ggrep; do 
    43953944    for ac_exec_ext in '' $ac_executable_extensions; do 
    43963945      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     
    44123961    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44133962    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4414     ac_count=`expr $ac_count + 1` 
     3963    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44153964    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    44163965      # Best one so far, save it but keep looking for a better one 
     
    44273976    done 
    44283977  done 
    4429 done 
     3978  done 
    44303979IFS=$as_save_IFS 
    44313980  if test -z "$ac_cv_path_GREP"; then 
    4432     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4433 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4434    { (exit 1); exit 1; }; } 
     3981    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    44353982  fi 
    44363983else 
     
    44393986 
    44403987fi 
    4441 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
     3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
    44423989$as_echo "$ac_cv_path_GREP" >&6; } 
    44433990 GREP="$ac_cv_path_GREP" 
    44443991 
    44453992 
    4446 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 
     3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    44473994$as_echo_n "checking for egrep... " >&6; } 
    4448 if test "${ac_cv_path_EGREP+set}" = set; then 
     3995if test "${ac_cv_path_EGREP+set}" = set; then : 
    44493996  $as_echo_n "(cached) " >&6 
    44503997else 
     
    44604007  IFS=$as_save_IFS 
    44614008  test -z "$as_dir" && as_dir=. 
    4462   for ac_prog in egrep; do 
     4009    for ac_prog in egrep; do 
    44634010    for ac_exec_ext in '' $ac_executable_extensions; do 
    44644011      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     
    44804027    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44814028    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4482     ac_count=`expr $ac_count + 1` 
     4029    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44834030    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44844031      # Best one so far, save it but keep looking for a better one 
     
    44954042    done 
    44964043  done 
    4497 done 
     4044  done 
    44984045IFS=$as_save_IFS 
    44994046  if test -z "$ac_cv_path_EGREP"; then 
    4500     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4501 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4502    { (exit 1); exit 1; }; } 
     4047    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    45034048  fi 
    45044049else 
     
    45084053   fi 
    45094054fi 
    4510 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
     4055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
    45114056$as_echo "$ac_cv_path_EGREP" >&6; } 
    45124057 EGREP="$ac_cv_path_EGREP" 
    45134058 
    45144059 
    4515 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    45164061$as_echo_n "checking for ANSI C header files... " >&6; } 
    4517 if test "${ac_cv_header_stdc+set}" = set; then 
     4062if test "${ac_cv_header_stdc+set}" = set; then : 
    45184063  $as_echo_n "(cached) " >&6 
    45194064else 
    4520   cat >conftest.$ac_ext <<_ACEOF 
    4521 /* confdefs.h.  */ 
    4522 _ACEOF 
    4523 cat confdefs.h >>conftest.$ac_ext 
    4524 cat >>conftest.$ac_ext <<_ACEOF 
     4065  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45254066/* end confdefs.h.  */ 
    45264067#include <stdlib.h> 
     
    45374078} 
    45384079_ACEOF 
    4539 rm -f conftest.$ac_objext 
    4540 if { (ac_try="$ac_compile" 
    4541 case "(($ac_try" in 
    4542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4543   *) ac_try_echo=$ac_try;; 
    4544 esac 
    4545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4546 $as_echo "$ac_try_echo") >&5 
    4547   (eval "$ac_compile") 2>conftest.er1 
    4548   ac_status=$? 
    4549   grep -v '^ *+' conftest.er1 >conftest.err 
    4550   rm -f conftest.er1 
    4551   cat conftest.err >&5 
    4552   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4553   (exit $ac_status); } && { 
    4554          test -z "$ac_c_werror_flag" || 
    4555          test ! -s conftest.err 
    4556        } && test -s conftest.$ac_objext; then 
     4080if ac_fn_c_try_compile "$LINENO"; then : 
    45574081  ac_cv_header_stdc=yes 
    45584082else 
    4559   $as_echo "$as_me: failed program was:" >&5 
    4560 sed 's/^/| /' conftest.$ac_ext >&5 
    4561  
    4562         ac_cv_header_stdc=no 
    4563 fi 
    4564  
     4083  ac_cv_header_stdc=no 
     4084fi 
    45654085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    45664086 
    45674087if test $ac_cv_header_stdc = yes; then 
    45684088  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4569   cat >conftest.$ac_ext <<_ACEOF 
    4570 /* confdefs.h.  */ 
    4571 _ACEOF 
    4572 cat confdefs.h >>conftest.$ac_ext 
    4573 cat >>conftest.$ac_ext <<_ACEOF 
     4089  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45744090/* end confdefs.h.  */ 
    45754091#include <string.h> 
     
    45774093_ACEOF 
    45784094if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4579   $EGREP "memchr" >/dev/null 2>&1; then 
    4580   : 
     4095  $EGREP "memchr" >/dev/null 2>&1; then : 
     4096 
    45814097else 
    45824098  ac_cv_header_stdc=no 
     
    45884104if test $ac_cv_header_stdc = yes; then 
    45894105  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4590   cat >conftest.$ac_ext <<_ACEOF 
    4591 /* confdefs.h.  */ 
    4592 _ACEOF 
    4593 cat confdefs.h >>conftest.$ac_ext 
    4594 cat >>conftest.$ac_ext <<_ACEOF 
     4106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45954107/* end confdefs.h.  */ 
    45964108#include <stdlib.h> 
     
    45984110_ACEOF 
    45994111if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4600   $EGREP "free" >/dev/null 2>&1; then 
    4601   : 
     4112  $EGREP "free" >/dev/null 2>&1; then : 
     4113 
    46024114else 
    46034115  ac_cv_header_stdc=no 
     
    46094121if test $ac_cv_header_stdc = yes; then 
    46104122  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4611   if test "$cross_compiling" = yes; then 
     4123  if test "$cross_compiling" = yes; then : 
    46124124  : 
    46134125else 
    4614   cat >conftest.$ac_ext <<_ACEOF 
    4615 /* confdefs.h.  */ 
    4616 _ACEOF 
    4617 cat confdefs.h >>conftest.$ac_ext 
    4618 cat >>conftest.$ac_ext <<_ACEOF 
     4126  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46194127/* end confdefs.h.  */ 
    46204128#include <ctype.h> 
     
    46434151} 
    46444152_ACEOF 
    4645 rm -f conftest$ac_exeext 
    4646 if { (ac_try="$ac_link" 
    4647 case "(($ac_try" in 
    4648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4649   *) ac_try_echo=$ac_try;; 
    4650 esac 
    4651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4652 $as_echo "$ac_try_echo") >&5 
    4653   (eval "$ac_link") 2>&5 
    4654   ac_status=$? 
    4655   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4656   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4657   { (case "(($ac_try" in 
    4658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4659   *) ac_try_echo=$ac_try;; 
    4660 esac 
    4661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4662 $as_echo "$ac_try_echo") >&5 
    4663   (eval "$ac_try") 2>&5 
    4664   ac_status=$? 
    4665   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4666   (exit $ac_status); }; }; then 
    4667   : 
    4668 else 
    4669   $as_echo "$as_me: program exited with status $ac_status" >&5 
    4670 $as_echo "$as_me: failed program was:" >&5 
    4671 sed 's/^/| /' conftest.$ac_ext >&5 
    4672  
    4673 ( exit $ac_status ) 
    4674 ac_cv_header_stdc=no 
    4675 fi 
    4676 rm -rf conftest.dSYM 
    4677 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4678 fi 
    4679  
    4680  
    4681 fi 
    4682 fi 
    4683 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     4153if ac_fn_c_try_run "$LINENO"; then : 
     4154 
     4155else 
     4156  ac_cv_header_stdc=no 
     4157fi 
     4158rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4159  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4160fi 
     4161 
     4162fi 
     4163fi 
     4164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
    46844165$as_echo "$ac_cv_header_stdc" >&6; } 
    46854166if test $ac_cv_header_stdc = yes; then 
    46864167 
    4687 cat >>confdefs.h <<\_ACEOF 
    4688 #define STDC_HEADERS 1 
    4689 _ACEOF 
     4168$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46904169 
    46914170fi 
    46924171 
    46934172# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4694  
    4695  
    4696  
    4697  
    4698  
    4699  
    4700  
    4701  
    4702  
    47034173for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    47044174                  inttypes.h stdint.h unistd.h 
    4705 do 
    4706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4707 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4708 $as_echo_n "checking for $ac_header... " >&6; } 
    4709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4710   $as_echo_n "(cached) " >&6 
    4711 else 
    4712   cat >conftest.$ac_ext <<_ACEOF 
    4713 /* confdefs.h.  */ 
    4714 _ACEOF 
    4715 cat confdefs.h >>conftest.$ac_ext 
    4716 cat >>conftest.$ac_ext <<_ACEOF 
    4717 /* end confdefs.h.  */ 
    4718 $ac_includes_default 
    4719  
    4720 #include <$ac_header> 
    4721 _ACEOF 
    4722 rm -f conftest.$ac_objext 
    4723 if { (ac_try="$ac_compile" 
    4724 case "(($ac_try" in 
    4725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4726   *) ac_try_echo=$ac_try;; 
    4727 esac 
    4728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4729 $as_echo "$ac_try_echo") >&5 
    4730   (eval "$ac_compile") 2>conftest.er1 
    4731   ac_status=$? 
    4732   grep -v '^ *+' conftest.er1 >conftest.err 
    4733   rm -f conftest.er1 
    4734   cat conftest.err >&5 
    4735   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4736   (exit $ac_status); } && { 
    4737          test -z "$ac_c_werror_flag" || 
    4738          test ! -s conftest.err 
    4739        } && test -s conftest.$ac_objext; then 
    4740   eval "$as_ac_Header=yes" 
    4741 else 
    4742   $as_echo "$as_me: failed program was:" >&5 
    4743 sed 's/^/| /' conftest.$ac_ext >&5 
    4744  
    4745         eval "$as_ac_Header=no" 
    4746 fi 
    4747  
    4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4749 fi 
    4750 ac_res=`eval 'as_val=${'$as_ac_Header'} 
    4751                  $as_echo "$as_val"'` 
    4752                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 
    4753 $as_echo "$ac_res" >&6; } 
    4754 if test `eval 'as_val=${'$as_ac_Header'} 
    4755                  $as_echo "$as_val"'` = yes; then 
     4175do : 
     4176  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4177ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4178" 
     4179eval as_val=\$$as_ac_Header 
     4180   if test "x$as_val" = x""yes; then : 
    47564181  cat >>confdefs.h <<_ACEOF 
    47574182#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     
    47634188 
    47644189 
    4765  
    4766  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
     4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    47674191$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    4768 if test "${ac_cv_c_bigendian+set}" = set; then 
     4192if test "${ac_cv_c_bigendian+set}" = set; then : 
    47694193  $as_echo_n "(cached) " >&6 
    47704194else 
    47714195  ac_cv_c_bigendian=unknown 
    47724196    # See if we're dealing with a universal compiler. 
    4773     cat >conftest.$ac_ext <<_ACEOF 
    4774 /* confdefs.h.  */ 
    4775 _ACEOF 
    4776 cat confdefs.h >>conftest.$ac_ext 
    4777 cat >>conftest.$ac_ext <<_ACEOF 
     4197    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47784198/* end confdefs.h.  */ 
    47794199#ifndef __APPLE_CC__ 
     
    47834203 
    47844204_ACEOF 
    4785 rm -f conftest.$ac_objext 
    4786 if { (ac_try="$ac_compile" 
    4787 case "(($ac_try" in 
    4788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4789   *) ac_try_echo=$ac_try;; 
    4790 esac 
    4791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4792 $as_echo "$ac_try_echo") >&5 
    4793   (eval "$ac_compile") 2>conftest.er1 
    4794   ac_status=$? 
    4795   grep -v '^ *+' conftest.er1 >conftest.err 
    4796   rm -f conftest.er1 
    4797   cat conftest.err >&5 
    4798   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4799   (exit $ac_status); } && { 
    4800          test -z "$ac_c_werror_flag" || 
    4801          test ! -s conftest.err 
    4802        } && test -s conftest.$ac_objext; then 
     4205if ac_fn_c_try_compile "$LINENO"; then : 
    48034206 
    48044207        # Check for potential -arch flags.  It is not universal unless 
    4805         # there are some -arch flags.  Note that *ppc* also matches 
    4806         # ppc64.  This check is also rather less than ideal. 
    4807         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #( 
    4808           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 
    4809         esac 
    4810 else 
    4811   $as_echo "$as_me: failed program was:" >&5 
    4812 sed 's/^/| /' conftest.$ac_ext >&5 
    4813  
    4814  
    4815 fi 
    4816  
     4208        # there are at least two -arch flags with different values. 
     4209        ac_arch= 
     4210        ac_prev= 
     4211        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4212         if test -n "$ac_prev"; then 
     4213           case $ac_word in 
     4214             i?86 | x86_64 | ppc | ppc64) 
     4215               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4216                 ac_arch=$ac_word 
     4217               else 
     4218                 ac_cv_c_bigendian=universal 
     4219                 break 
     4220               fi 
     4221               ;; 
     4222           esac 
     4223           ac_prev= 
     4224         elif test "x$ac_word" = "x-arch"; then 
     4225           ac_prev=arch 
     4226         fi 
     4227       done 
     4228fi 
    48174229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    48184230    if test $ac_cv_c_bigendian = unknown; then 
    48194231      # See if sys/param.h defines the BYTE_ORDER macro. 
    4820       cat >conftest.$ac_ext <<_ACEOF 
    4821 /* confdefs.h.  */ 
    4822 _ACEOF 
    4823 cat confdefs.h >>conftest.$ac_ext 
    4824 cat >>conftest.$ac_ext <<_ACEOF 
     4232      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48254233/* end confdefs.h.  */ 
    48264234#include <sys/types.h> 
     
    48404248} 
    48414249_ACEOF 
    4842 rm -f conftest.$ac_objext 
    4843 if { (ac_try="$ac_compile" 
    4844 case "(($ac_try" in 
    4845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4846   *) ac_try_echo=$ac_try;; 
    4847 esac 
    4848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4849 $as_echo "$ac_try_echo") >&5 
    4850   (eval "$ac_compile") 2>conftest.er1 
    4851   ac_status=$? 
    4852   grep -v '^ *+' conftest.er1 >conftest.err 
    4853   rm -f conftest.er1 
    4854   cat conftest.err >&5 
    4855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4856   (exit $ac_status); } && { 
    4857          test -z "$ac_c_werror_flag" || 
    4858          test ! -s conftest.err 
    4859        } && test -s conftest.$ac_objext; then 
     4250if ac_fn_c_try_compile "$LINENO"; then : 
    48604251  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4861          cat >conftest.$ac_ext <<_ACEOF 
    4862 /* confdefs.h.  */ 
    4863 _ACEOF 
    4864 cat confdefs.h >>conftest.$ac_ext 
    4865 cat >>conftest.$ac_ext <<_ACEOF 
     4252         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48664253/* end confdefs.h.  */ 
    48674254#include <sys/types.h> 
     
    48794266} 
    48804267_ACEOF 
    4881 rm -f conftest.$ac_objext 
    4882 if { (ac_try="$ac_compile" 
    4883 case "(($ac_try" in 
    4884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4885   *) ac_try_echo=$ac_try;; 
    4886 esac 
    4887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4888 $as_echo "$ac_try_echo") >&5 
    4889   (eval "$ac_compile") 2>conftest.er1 
    4890   ac_status=$? 
    4891   grep -v '^ *+' conftest.er1 >conftest.err 
    4892   rm -f conftest.er1 
    4893   cat conftest.err >&5 
    4894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4895   (exit $ac_status); } && { 
    4896          test -z "$ac_c_werror_flag" || 
    4897          test ! -s conftest.err 
    4898        } && test -s conftest.$ac_objext; then 
     4268if ac_fn_c_try_compile "$LINENO"; then : 
    48994269  ac_cv_c_bigendian=yes 
    49004270else 
    4901   $as_echo "$as_me: failed program was:" >&5 
    4902 sed 's/^/| /' conftest.$ac_ext >&5 
    4903  
    4904         ac_cv_c_bigendian=no 
    4905 fi 
    4906  
     4271  ac_cv_c_bigendian=no 
     4272fi 
    49074273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4908 else 
    4909   $as_echo "$as_me: failed program was:" >&5 
    4910 sed 's/^/| /' conftest.$ac_ext >&5 
    4911  
    4912  
    4913 fi 
    4914  
     4274fi 
    49154275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    49164276    fi 
    49174277    if test $ac_cv_c_bigendian = unknown; then 
    49184278      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
    4919       cat >conftest.$ac_ext <<_ACEOF 
    4920 /* confdefs.h.  */ 
    4921 _ACEOF 
    4922 cat confdefs.h >>conftest.$ac_ext 
    4923 cat >>conftest.$ac_ext <<_ACEOF 
     4279      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    49244280/* end confdefs.h.  */ 
    49254281#include <limits.h> 
     
    49364292} 
    49374293_ACEOF 
    4938 rm -f conftest.$ac_objext 
    4939 if { (ac_try="$ac_compile" 
    4940 case "(($ac_try" in 
    4941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4942   *) ac_try_echo=$ac_try;; 
    4943 esac 
    4944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4945 $as_echo "$ac_try_echo") >&5 
    4946   (eval "$ac_compile") 2>conftest.er1 
    4947   ac_status=$? 
    4948   grep -v '^ *+' conftest.er1 >conftest.err 
    4949   rm -f conftest.er1 
    4950   cat conftest.err >&5 
    4951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4952   (exit $ac_status); } && { 
    4953          test -z "$ac_c_werror_flag" || 
    4954          test ! -s conftest.err 
    4955        } && test -s conftest.$ac_objext; then 
     4294if ac_fn_c_try_compile "$LINENO"; then : 
    49564295  # It does; now see whether it defined to _BIG_ENDIAN or not. 
    4957          cat >conftest.$ac_ext <<_ACEOF 
    4958 /* confdefs.h.  */ 
    4959 _ACEOF 
    4960 cat confdefs.h >>conftest.$ac_ext 
    4961 cat >>conftest.$ac_ext <<_ACEOF 
     4296         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    49624297/* end confdefs.h.  */ 
    49634298#include <limits.h> 
     
    49744309} 
    49754310_ACEOF 
    4976 rm -f conftest.$ac_objext 
    4977 if { (ac_try="$ac_compile" 
    4978 case "(($ac_try" in 
    4979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4980   *) ac_try_echo=$ac_try;; 
    4981 esac 
    4982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4983 $as_echo "$ac_try_echo") >&5 
    4984   (eval "$ac_compile") 2>conftest.er1 
    4985   ac_status=$? 
    4986   grep -v '^ *+' conftest.er1 >conftest.err 
    4987   rm -f conftest.er1 
    4988   cat conftest.err >&5 
    4989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4990   (exit $ac_status); } && { 
    4991          test -z "$ac_c_werror_flag" || 
    4992          test ! -s conftest.err 
    4993        } && test -s conftest.$ac_objext; then 
     4311if ac_fn_c_try_compile "$LINENO"; then : 
    49944312  ac_cv_c_bigendian=yes 
    49954313else 
    4996   $as_echo "$as_me: failed program was:" >&5 
    4997 sed 's/^/| /' conftest.$ac_ext >&5 
    4998  
    4999         ac_cv_c_bigendian=no 
    5000 fi 
    5001  
     4314  ac_cv_c_bigendian=no 
     4315fi 
    50024316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5003 else 
    5004   $as_echo "$as_me: failed program was:" >&5 
    5005 sed 's/^/| /' conftest.$ac_ext >&5 
    5006  
    5007  
    5008 fi 
    5009  
     4317fi 
    50104318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50114319    fi 
    50124320    if test $ac_cv_c_bigendian = unknown; then 
    50134321      # Compile a test program. 
    5014       if test "$cross_compiling" = yes; then 
     4322      if test "$cross_compiling" = yes; then : 
    50154323  # Try to guess by grepping values from an object file. 
    5016          cat >conftest.$ac_ext <<_ACEOF 
    5017 /* confdefs.h.  */ 
    5018 _ACEOF 
    5019 cat confdefs.h >>conftest.$ac_ext 
    5020 cat >>conftest.$ac_ext <<_ACEOF 
     4324         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50214325/* end confdefs.h.  */ 
    50224326short int ascii_mm[] = 
     
    50444348} 
    50454349_ACEOF 
    5046 rm -f conftest.$ac_objext 
    5047 if { (ac_try="$ac_compile" 
    5048 case "(($ac_try" in 
    5049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5050   *) ac_try_echo=$ac_try;; 
    5051 esac 
    5052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5053 $as_echo "$ac_try_echo") >&5 
    5054   (eval "$ac_compile") 2>conftest.er1 
    5055   ac_status=$? 
    5056   grep -v '^ *+' conftest.er1 >conftest.err 
    5057   rm -f conftest.er1 
    5058   cat conftest.err >&5 
    5059   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5060   (exit $ac_status); } && { 
    5061          test -z "$ac_c_werror_flag" || 
    5062          test ! -s conftest.err 
    5063        } && test -s conftest.$ac_objext; then 
     4350if ac_fn_c_try_compile "$LINENO"; then : 
    50644351  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
    50654352              ac_cv_c_bigendian=yes 
     
    50734360              fi 
    50744361            fi 
    5075 else 
    5076   $as_echo "$as_me: failed program was:" >&5 
    5077 sed 's/^/| /' conftest.$ac_ext >&5 
    5078  
    5079  
    5080 fi 
    5081  
     4362fi 
    50824363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50834364else 
    5084   cat >conftest.$ac_ext <<_ACEOF 
    5085 /* confdefs.h.  */ 
    5086 _ACEOF 
    5087 cat confdefs.h >>conftest.$ac_ext 
    5088 cat >>conftest.$ac_ext <<_ACEOF 
     4365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50894366/* end confdefs.h.  */ 
    50904367$ac_includes_default 
     
    51064383} 
    51074384_ACEOF 
    5108 rm -f conftest$ac_exeext 
    5109 if { (ac_try="$ac_link" 
    5110 case "(($ac_try" in 
    5111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5112   *) ac_try_echo=$ac_try;; 
    5113 esac 
    5114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5115 $as_echo "$ac_try_echo") >&5 
    5116   (eval "$ac_link") 2>&5 
    5117   ac_status=$? 
    5118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5119   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    5120   { (case "(($ac_try" in 
    5121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5122   *) ac_try_echo=$ac_try;; 
    5123 esac 
    5124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5125 $as_echo "$ac_try_echo") >&5 
    5126   (eval "$ac_try") 2>&5 
    5127   ac_status=$? 
    5128   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5129   (exit $ac_status); }; }; then 
     4385if ac_fn_c_try_run "$LINENO"; then : 
    51304386  ac_cv_c_bigendian=no 
    51314387else 
    5132   $as_echo "$as_me: program exited with status $ac_status" >&5 
    5133 $as_echo "$as_me: failed program was:" >&5 
    5134 sed 's/^/| /' conftest.$ac_ext >&5 
    5135  
    5136 ( exit $ac_status ) 
    5137 ac_cv_c_bigendian=yes 
    5138 fi 
    5139 rm -rf conftest.dSYM 
    5140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    5141 fi 
    5142  
     4388  ac_cv_c_bigendian=yes 
     4389fi 
     4390rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4391  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4392fi 
    51434393 
    51444394    fi 
    51454395fi 
    5146 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
     4396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
    51474397$as_echo "$ac_cv_c_bigendian" >&6; } 
    51484398 case $ac_cv_c_bigendian in #( 
    51494399   yes) 
    5150      cat >>confdefs.h <<\_ACEOF 
    5151 #define WORDS_BIGENDIAN 1 
    5152 _ACEOF 
     4400     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
    51534401;; #( 
    51544402   no) 
     
    51564404   universal) 
    51574405 
    5158 cat >>confdefs.h <<\_ACEOF 
    5159 #define AC_APPLE_UNIVERSAL_BUILD 1 
    5160 _ACEOF 
     4406$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
    51614407 
    51624408     ;; #( 
    51634409   *) 
    5164      { { $as_echo "$as_me:$LINENO: error: unknown endianness 
    5165  presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    5166 $as_echo "$as_me: error: unknown endianness 
    5167  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    5168    { (exit 1); exit 1; }; } ;; 
     4410     as_fn_error "unknown endianness 
     4411 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    51694412 esac 
    51704413 
     
    51724415case $target in 
    51734416    *mingw* | *cygw* | *win32* | *w32* ) 
    5174         cat >>confdefs.h <<\_ACEOF 
    5175 #define PJ_WIN32 1 
    5176 _ACEOF 
    5177  
    5178         cat >>confdefs.h <<\_ACEOF 
    5179 #define PJ_WIN32_WINNT 0x0400 
    5180 _ACEOF 
    5181  
    5182         cat >>confdefs.h <<\_ACEOF 
    5183 #define WIN32_LEAN_AND_MEAN 1 
    5184 _ACEOF 
     4417        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4418 
     4419        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4420 
     4421        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    51854422 
    51864423        ;; 
    51874424    *darwin*) 
    5188         cat >>confdefs.h <<\_ACEOF 
    5189 #define PJ_DARWINOS 1 
    5190 _ACEOF 
     4425        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    51914426 
    51924427        ;; 
    51934428    *linux*) 
    5194         cat >>confdefs.h <<\_ACEOF 
    5195 #define PJ_LINUX 1 
    5196 _ACEOF 
     4429        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    51974430 
    51984431        ;; 
    51994432    *rtems*) 
    5200         cat >>confdefs.h <<\_ACEOF 
    5201 #define PJ_RTEMS 1 
    5202 _ACEOF 
     4433        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    52034434 
    52044435        ;; 
    52054436    *sunos* | *solaris* ) 
    5206         cat >>confdefs.h <<\_ACEOF 
    5207 #define PJ_SUNOS 1 
    5208 _ACEOF 
     4437        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    52094438 
    52104439        ;; 
     
    52174446 
    52184447# Check whether --enable-floating-point was given. 
    5219 if test "${enable_floating_point+set}" = set; then 
     4448if test "${enable_floating_point+set}" = set; then : 
    52204449  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    5221                 cat >>confdefs.h <<\_ACEOF 
    5222 #define PJ_HAS_FLOATING_POINT 0 
    5223 _ACEOF 
    5224  
    5225                 { $as_echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
     4450                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4451 
     4452                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
    52264453$as_echo "Checking if floating point is disabled... yes" >&6; } 
    52274454               fi 
    52284455else 
    52294456 
    5230                 cat >>confdefs.h <<\_ACEOF 
    5231 #define PJ_HAS_FLOATING_POINT 1 
    5232 _ACEOF 
    5233  
    5234                 { $as_echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
     4457                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4458 
     4459                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
    52354460$as_echo "Checking if floating point is disabled... no" >&6; } 
    5236  
    5237 { $as_echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
     4461                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
    52384462$as_echo_n "checking for fmod in -lm... " >&6; } 
    5239 if test "${ac_cv_lib_m_fmod+set}" = set; then 
     4463if test "${ac_cv_lib_m_fmod+set}" = set; then : 
    52404464  $as_echo_n "(cached) " >&6 
    52414465else 
    52424466  ac_check_lib_save_LIBS=$LIBS 
    52434467LIBS="-lm  $LIBS" 
    5244 cat >conftest.$ac_ext <<_ACEOF 
    5245 /* confdefs.h.  */ 
    5246 _ACEOF 
    5247 cat confdefs.h >>conftest.$ac_ext 
    5248 cat >>conftest.$ac_ext <<_ACEOF 
     4468cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    52494469/* end confdefs.h.  */ 
    52504470 
     
    52644484} 
    52654485_ACEOF 
    5266 rm -f conftest.$ac_objext conftest$ac_exeext 
    5267 if { (ac_try="$ac_link" 
    5268 case "(($ac_try" in 
    5269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5270   *) ac_try_echo=$ac_try;; 
    5271 esac 
    5272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5273 $as_echo "$ac_try_echo") >&5 
    5274   (eval "$ac_link") 2>conftest.er1 
    5275   ac_status=$? 
    5276   grep -v '^ *+' conftest.er1 >conftest.err 
    5277   rm -f conftest.er1 
    5278   cat conftest.err >&5 
    5279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5280   (exit $ac_status); } && { 
    5281          test -z "$ac_c_werror_flag" || 
    5282          test ! -s conftest.err 
    5283        } && test -s conftest$ac_exeext && { 
    5284          test "$cross_compiling" = yes || 
    5285          $as_test_x conftest$ac_exeext 
    5286        }; then 
     4486if ac_fn_c_try_link "$LINENO"; then : 
    52874487  ac_cv_lib_m_fmod=yes 
    52884488else 
    5289   $as_echo "$as_me: failed program was:" >&5 
    5290 sed 's/^/| /' conftest.$ac_ext >&5 
    5291  
    5292         ac_cv_lib_m_fmod=no 
    5293 fi 
    5294  
    5295 rm -rf conftest.dSYM 
    5296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5297       conftest$ac_exeext conftest.$ac_ext 
     4489  ac_cv_lib_m_fmod=no 
     4490fi 
     4491rm -f core conftest.err conftest.$ac_objext \ 
     4492    conftest$ac_exeext conftest.$ac_ext 
    52984493LIBS=$ac_check_lib_save_LIBS 
    52994494fi 
    5300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
     4495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
    53014496$as_echo "$ac_cv_lib_m_fmod" >&6; } 
    5302 if test $ac_cv_lib_m_fmod = yes; then 
     4497if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    53034498  cat >>confdefs.h <<_ACEOF 
    53044499#define HAVE_LIBM 1 
     
    53144509 
    53154510 
    5316 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5317   { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5318 $as_echo_n "checking for arpa/inet.h... " >&6; } 
    5319 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5320   $as_echo_n "(cached) " >&6 
    5321 fi 
    5322 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5323 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 
    5324 else 
    5325   # Is the header compilable? 
    5326 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5327 $as_echo_n "checking arpa/inet.h usability... " >&6; } 
    5328 cat >conftest.$ac_ext <<_ACEOF 
    5329 /* confdefs.h.  */ 
    5330 _ACEOF 
    5331 cat confdefs.h >>conftest.$ac_ext 
    5332 cat >>conftest.$ac_ext <<_ACEOF 
    5333 /* end confdefs.h.  */ 
    5334 $ac_includes_default 
    5335 #include <arpa/inet.h> 
    5336 _ACEOF 
    5337 rm -f conftest.$ac_objext 
    5338 if { (ac_try="$ac_compile" 
    5339 case "(($ac_try" in 
    5340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5341   *) ac_try_echo=$ac_try;; 
    5342 esac 
    5343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5344 $as_echo "$ac_try_echo") >&5 
    5345   (eval "$ac_compile") 2>conftest.er1 
    5346   ac_status=$? 
    5347   grep -v '^ *+' conftest.er1 >conftest.err 
    5348   rm -f conftest.er1 
    5349   cat conftest.err >&5 
    5350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5351   (exit $ac_status); } && { 
    5352          test -z "$ac_c_werror_flag" || 
    5353          test ! -s conftest.err 
    5354        } && test -s conftest.$ac_objext; then 
    5355   ac_header_compiler=yes 
    5356 else 
    5357   $as_echo "$as_me: failed program was:" >&5 
    5358 sed 's/^/| /' conftest.$ac_ext >&5 
    5359  
    5360         ac_header_compiler=no 
    5361 fi 
    5362  
    5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5364 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5365 $as_echo "$ac_header_compiler" >&6; } 
    5366  
    5367 # Is the header present? 
    5368 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5369 $as_echo_n "checking arpa/inet.h presence... " >&6; } 
    5370 cat >conftest.$ac_ext <<_ACEOF 
    5371 /* confdefs.h.  */ 
    5372 _ACEOF 
    5373 cat confdefs.h >>conftest.$ac_ext 
    5374 cat >>conftest.$ac_ext <<_ACEOF 
    5375 /* end confdefs.h.  */ 
    5376 #include <arpa/inet.h> 
    5377 _ACEOF 
    5378 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5379 case "(($ac_try" in 
    5380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5381   *) ac_try_echo=$ac_try;; 
    5382 esac 
    5383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5384 $as_echo "$ac_try_echo") >&5 
    5385   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5386   ac_status=$? 
    5387   grep -v '^ *+' conftest.er1 >conftest.err 
    5388   rm -f conftest.er1 
    5389   cat conftest.err >&5 
    5390   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5391   (exit $ac_status); } >/dev/null && { 
    5392          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5393          test ! -s conftest.err 
    5394        }; then 
    5395   ac_header_preproc=yes 
    5396 else 
    5397   $as_echo "$as_me: failed program was:" >&5 
    5398 sed 's/^/| /' conftest.$ac_ext >&5 
    5399  
    5400   ac_header_preproc=no 
    5401 fi 
    5402  
    5403 rm -f conftest.err conftest.$ac_ext 
    5404 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5405 $as_echo "$ac_header_preproc" >&6; } 
    5406  
    5407 # So?  What about this header? 
    5408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5409   yes:no: ) 
    5410     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5411 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5412     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5413 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5414     ac_header_preproc=yes 
    5415     ;; 
    5416   no:yes:* ) 
    5417     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5418 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5419     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5420 $as_echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5421     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5422 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5423     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5424 $as_echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5425     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5426 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5427     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5428 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5429  
    5430     ;; 
    5431 esac 
    5432 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5433 $as_echo_n "checking for arpa/inet.h... " >&6; } 
    5434 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5435   $as_echo_n "(cached) " >&6 
    5436 else 
    5437   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5438 fi 
    5439 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5440 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 
    5441  
    5442 fi 
    5443 if test $ac_cv_header_arpa_inet_h = yes; then 
    5444   cat >>confdefs.h <<\_ACEOF 
    5445 #define PJ_HAS_ARPA_INET_H 1 
    5446 _ACEOF 
    5447  
    5448 fi 
    5449  
    5450  
    5451 if test "${ac_cv_header_assert_h+set}" = set; then 
    5452   { $as_echo "$as_me:$LINENO: checking for assert.h" >&5 
    5453 $as_echo_n "checking for assert.h... " >&6; } 
    5454 if test "${ac_cv_header_assert_h+set}" = set; then 
    5455   $as_echo_n "(cached) " >&6 
    5456 fi 
    5457 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5458 $as_echo "$ac_cv_header_assert_h" >&6; } 
    5459 else 
    5460   # Is the header compilable? 
    5461 { $as_echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5462 $as_echo_n "checking assert.h usability... " >&6; } 
    5463 cat >conftest.$ac_ext <<_ACEOF 
    5464 /* confdefs.h.  */ 
    5465 _ACEOF 
    5466 cat confdefs.h >>conftest.$ac_ext 
    5467 cat >>conftest.$ac_ext <<_ACEOF 
    5468 /* end confdefs.h.  */ 
    5469 $ac_includes_default 
    5470 #include <assert.h> 
    5471 _ACEOF 
    5472 rm -f conftest.$ac_objext 
    5473 if { (ac_try="$ac_compile" 
    5474 case "(($ac_try" in 
    5475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5476   *) ac_try_echo=$ac_try;; 
    5477 esac 
    5478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5479 $as_echo "$ac_try_echo") >&5 
    5480   (eval "$ac_compile") 2>conftest.er1 
    5481   ac_status=$? 
    5482   grep -v '^ *+' conftest.er1 >conftest.err 
    5483   rm -f conftest.er1 
    5484   cat conftest.err >&5 
    5485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5486   (exit $ac_status); } && { 
    5487          test -z "$ac_c_werror_flag" || 
    5488          test ! -s conftest.err 
    5489        } && test -s conftest.$ac_objext; then 
    5490   ac_header_compiler=yes 
    5491 else 
    5492   $as_echo "$as_me: failed program was:" >&5 
    5493 sed 's/^/| /' conftest.$ac_ext >&5 
    5494  
    5495         ac_header_compiler=no 
    5496 fi 
    5497  
    5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5499 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5500 $as_echo "$ac_header_compiler" >&6; } 
    5501  
    5502 # Is the header present? 
    5503 { $as_echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5504 $as_echo_n "checking assert.h presence... " >&6; } 
    5505 cat >conftest.$ac_ext <<_ACEOF 
    5506 /* confdefs.h.  */ 
    5507 _ACEOF 
    5508 cat confdefs.h >>conftest.$ac_ext 
    5509 cat >>conftest.$ac_ext <<_ACEOF 
    5510 /* end confdefs.h.  */ 
    5511 #include <assert.h> 
    5512 _ACEOF 
    5513 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5514 case "(($ac_try" in 
    5515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5516   *) ac_try_echo=$ac_try;; 
    5517 esac 
    5518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5519 $as_echo "$ac_try_echo") >&5 
    5520   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5521   ac_status=$? 
    5522   grep -v '^ *+' conftest.er1 >conftest.err 
    5523   rm -f conftest.er1 
    5524   cat conftest.err >&5 
    5525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5526   (exit $ac_status); } >/dev/null && { 
    5527          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5528          test ! -s conftest.err 
    5529        }; then 
    5530   ac_header_preproc=yes 
    5531 else 
    5532   $as_echo "$as_me: failed program was:" >&5 
    5533 sed 's/^/| /' conftest.$ac_ext >&5 
    5534  
    5535   ac_header_preproc=no 
    5536 fi 
    5537  
    5538 rm -f conftest.err conftest.$ac_ext 
    5539 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5540 $as_echo "$ac_header_preproc" >&6; } 
    5541  
    5542 # So?  What about this header? 
    5543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5544   yes:no: ) 
    5545     { $as_echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5546 $as_echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5547     { $as_echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5548 $as_echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5549     ac_header_preproc=yes 
    5550     ;; 
    5551   no:yes:* ) 
    5552     { $as_echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5553 $as_echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5554     { $as_echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5555 $as_echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5556     { $as_echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5557 $as_echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5558     { $as_echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5559 $as_echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5560     { $as_echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5561 $as_echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5562     { $as_echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5563 $as_echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5564  
    5565     ;; 
    5566 esac 
    5567 { $as_echo "$as_me:$LINENO: checking for assert.h" >&5 
    5568 $as_echo_n "checking for assert.h... " >&6; } 
    5569 if test "${ac_cv_header_assert_h+set}" = set; then 
    5570   $as_echo_n "(cached) " >&6 
    5571 else 
    5572   ac_cv_header_assert_h=$ac_header_preproc 
    5573 fi 
    5574 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5575 $as_echo "$ac_cv_header_assert_h" >&6; } 
    5576  
    5577 fi 
    5578 if test $ac_cv_header_assert_h = yes; then 
    5579   cat >>confdefs.h <<\_ACEOF 
    5580 #define PJ_HAS_ASSERT_H 1 
    5581 _ACEOF 
    5582  
    5583 fi 
    5584  
    5585  
    5586 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5587   { $as_echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5588 $as_echo_n "checking for ctype.h... " >&6; } 
    5589 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5590   $as_echo_n "(cached) " >&6 
    5591 fi 
    5592 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5593 $as_echo "$ac_cv_header_ctype_h" >&6; } 
    5594 else 
    5595   # Is the header compilable? 
    5596 { $as_echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5597 $as_echo_n "checking ctype.h usability... " >&6; } 
    5598 cat >conftest.$ac_ext <<_ACEOF 
    5599 /* confdefs.h.  */ 
    5600 _ACEOF 
    5601 cat confdefs.h >>conftest.$ac_ext 
    5602 cat >>conftest.$ac_ext <<_ACEOF 
    5603 /* end confdefs.h.  */ 
    5604 $ac_includes_default 
    5605 #include <ctype.h> 
    5606 _ACEOF 
    5607 rm -f conftest.$ac_objext 
    5608 if { (ac_try="$ac_compile" 
    5609 case "(($ac_try" in 
    5610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5611   *) ac_try_echo=$ac_try;; 
    5612 esac 
    5613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5614 $as_echo "$ac_try_echo") >&5 
    5615   (eval "$ac_compile") 2>conftest.er1 
    5616   ac_status=$? 
    5617   grep -v '^ *+' conftest.er1 >conftest.err 
    5618   rm -f conftest.er1 
    5619   cat conftest.err >&5 
    5620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5621   (exit $ac_status); } && { 
    5622          test -z "$ac_c_werror_flag" || 
    5623          test ! -s conftest.err 
    5624        } && test -s conftest.$ac_objext; then 
    5625   ac_header_compiler=yes 
    5626 else 
    5627   $as_echo "$as_me: failed program was:" >&5 
    5628 sed 's/^/| /' conftest.$ac_ext >&5 
    5629  
    5630         ac_header_compiler=no 
    5631 fi 
    5632  
    5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5634 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5635 $as_echo "$ac_header_compiler" >&6; } 
    5636  
    5637 # Is the header present? 
    5638 { $as_echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5639 $as_echo_n "checking ctype.h presence... " >&6; } 
    5640 cat >conftest.$ac_ext <<_ACEOF 
    5641 /* confdefs.h.  */ 
    5642 _ACEOF 
    5643 cat confdefs.h >>conftest.$ac_ext 
    5644 cat >>conftest.$ac_ext <<_ACEOF 
    5645 /* end confdefs.h.  */ 
    5646 #include <ctype.h> 
    5647 _ACEOF 
    5648 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5649 case "(($ac_try" in 
    5650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5651   *) ac_try_echo=$ac_try;; 
    5652 esac 
    5653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5654 $as_echo "$ac_try_echo") >&5 
    5655   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5656   ac_status=$? 
    5657   grep -v '^ *+' conftest.er1 >conftest.err 
    5658   rm -f conftest.er1 
    5659   cat conftest.err >&5 
    5660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5661   (exit $ac_status); } >/dev/null && { 
    5662          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5663          test ! -s conftest.err 
    5664        }; then 
    5665   ac_header_preproc=yes 
    5666 else 
    5667   $as_echo "$as_me: failed program was:" >&5 
    5668 sed 's/^/| /' conftest.$ac_ext >&5 
    5669  
    5670   ac_header_preproc=no 
    5671 fi 
    5672  
    5673 rm -f conftest.err conftest.$ac_ext 
    5674 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5675 $as_echo "$ac_header_preproc" >&6; } 
    5676  
    5677 # So?  What about this header? 
    5678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5679   yes:no: ) 
    5680     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5681 $as_echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5682     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5683 $as_echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5684     ac_header_preproc=yes 
    5685     ;; 
    5686   no:yes:* ) 
    5687     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5688 $as_echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5689     { $as_echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5690 $as_echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5691     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5692 $as_echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5693     { $as_echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5694 $as_echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5695     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5696 $as_echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5697     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5698 $as_echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5699  
    5700     ;; 
    5701 esac 
    5702 { $as_echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5703 $as_echo_n "checking for ctype.h... " >&6; } 
    5704 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5705   $as_echo_n "(cached) " >&6 
    5706 else 
    5707   ac_cv_header_ctype_h=$ac_header_preproc 
    5708 fi 
    5709 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5710 $as_echo "$ac_cv_header_ctype_h" >&6; } 
    5711  
    5712 fi 
    5713 if test $ac_cv_header_ctype_h = yes; then 
    5714   cat >>confdefs.h <<\_ACEOF 
    5715 #define PJ_HAS_CTYPE_H 1 
    5716 _ACEOF 
     4511ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4512if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4513  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4514 
     4515fi 
     4516 
     4517 
     4518ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4519if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4520  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4521 
     4522fi 
     4523 
     4524 
     4525ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4526if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4527  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    57174528 
    57184529fi 
     
    57224533case $target in 
    57234534    *mingw* | *cygw* | *win32* | *w32* ) 
    5724         cat >>confdefs.h <<\_ACEOF 
    5725 #define PJ_HAS_ERRNO_H 0 
    5726 _ACEOF 
     4535        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    57274536 
    57284537        ;; 
    57294538    *) 
    5730         if test "${ac_cv_header_errno_h+set}" = set; then 
    5731   { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 
    5732 $as_echo_n "checking for errno.h... " >&6; } 
    5733 if test "${ac_cv_header_errno_h+set}" = set; then 
    5734   $as_echo_n "(cached) " >&6 
    5735 fi 
    5736 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5737 $as_echo "$ac_cv_header_errno_h" >&6; } 
    5738 else 
    5739   # Is the header compilable? 
    5740 { $as_echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5741 $as_echo_n "checking errno.h usability... " >&6; } 
    5742 cat >conftest.$ac_ext <<_ACEOF 
    5743 /* confdefs.h.  */ 
    5744 _ACEOF 
    5745 cat confdefs.h >>conftest.$ac_ext 
    5746 cat >>conftest.$ac_ext <<_ACEOF 
    5747 /* end confdefs.h.  */ 
    5748 $ac_includes_default 
    5749 #include <errno.h> 
    5750 _ACEOF 
    5751 rm -f conftest.$ac_objext 
    5752 if { (ac_try="$ac_compile" 
    5753 case "(($ac_try" in 
    5754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5755   *) ac_try_echo=$ac_try;; 
    5756 esac 
    5757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5758 $as_echo "$ac_try_echo") >&5 
    5759   (eval "$ac_compile") 2>conftest.er1 
    5760   ac_status=$? 
    5761   grep -v '^ *+' conftest.er1 >conftest.err 
    5762   rm -f conftest.er1 
    5763   cat conftest.err >&5 
    5764   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5765   (exit $ac_status); } && { 
    5766          test -z "$ac_c_werror_flag" || 
    5767          test ! -s conftest.err 
    5768        } && test -s conftest.$ac_objext; then 
    5769   ac_header_compiler=yes 
    5770 else 
    5771   $as_echo "$as_me: failed program was:" >&5 
    5772 sed 's/^/| /' conftest.$ac_ext >&5 
    5773  
    5774         ac_header_compiler=no 
    5775 fi 
    5776  
    5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5778 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5779 $as_echo "$ac_header_compiler" >&6; } 
    5780  
    5781 # Is the header present? 
    5782 { $as_echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5783 $as_echo_n "checking errno.h presence... " >&6; } 
    5784 cat >conftest.$ac_ext <<_ACEOF 
    5785 /* confdefs.h.  */ 
    5786 _ACEOF 
    5787 cat confdefs.h >>conftest.$ac_ext 
    5788 cat >>conftest.$ac_ext <<_ACEOF 
    5789 /* end confdefs.h.  */ 
    5790 #include <errno.h> 
    5791 _ACEOF 
    5792 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5793 case "(($ac_try" in 
    5794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5795   *) ac_try_echo=$ac_try;; 
    5796 esac 
    5797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5798 $as_echo "$ac_try_echo") >&5 
    5799   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5800   ac_status=$? 
    5801   grep -v '^ *+' conftest.er1 >conftest.err 
    5802   rm -f conftest.er1 
    5803   cat conftest.err >&5 
    5804   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5805   (exit $ac_status); } >/dev/null && { 
    5806          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5807          test ! -s conftest.err 
    5808        }; then 
    5809   ac_header_preproc=yes 
    5810 else 
    5811   $as_echo "$as_me: failed program was:" >&5 
    5812 sed 's/^/| /' conftest.$ac_ext >&5 
    5813  
    5814   ac_header_preproc=no 
    5815 fi 
    5816  
    5817 rm -f conftest.err conftest.$ac_ext 
    5818 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5819 $as_echo "$ac_header_preproc" >&6; } 
    5820  
    5821 # So?  What about this header? 
    5822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5823   yes:no: ) 
    5824     { $as_echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5825 $as_echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5826     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5827 $as_echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5828     ac_header_preproc=yes 
    5829     ;; 
    5830   no:yes:* ) 
    5831     { $as_echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5832 $as_echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5833     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5834 $as_echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5835     { $as_echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5836 $as_echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5837     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5838 $as_echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5839     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5840 $as_echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5841     { $as_echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5842 $as_echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5843  
    5844     ;; 
    5845 esac 
    5846 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 
    5847 $as_echo_n "checking for errno.h... " >&6; } 
    5848 if test "${ac_cv_header_errno_h+set}" = set; then 
    5849   $as_echo_n "(cached) " >&6 
    5850 else 
    5851   ac_cv_header_errno_h=$ac_header_preproc 
    5852 fi 
    5853 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5854 $as_echo "$ac_cv_header_errno_h" >&6; } 
    5855  
    5856 fi 
    5857 if test $ac_cv_header_errno_h = yes; then 
    5858   cat >>confdefs.h <<\_ACEOF 
    5859 #define PJ_HAS_ERRNO_H 1 
    5860 _ACEOF 
     4539        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4540if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4541  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    58614542 
    58624543fi 
     
    58664547esac 
    58674548 
    5868 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5869   { $as_echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5870 $as_echo_n "checking for fcntl.h... " >&6; } 
    5871 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5872   $as_echo_n "(cached) " >&6 
    5873 fi 
    5874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5875 $as_echo "$ac_cv_header_fcntl_h" >&6; } 
    5876 else 
    5877   # Is the header compilable? 
    5878 { $as_echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5879 $as_echo_n "checking fcntl.h usability... " >&6; } 
    5880 cat >conftest.$ac_ext <<_ACEOF 
    5881 /* confdefs.h.  */ 
    5882 _ACEOF 
    5883 cat confdefs.h >>conftest.$ac_ext 
    5884 cat >>conftest.$ac_ext <<_ACEOF 
    5885 /* end confdefs.h.  */ 
    5886 $ac_includes_default 
    5887 #include <fcntl.h> 
    5888 _ACEOF 
    5889 rm -f conftest.$ac_objext 
    5890 if { (ac_try="$ac_compile" 
    5891 case "(($ac_try" in 
    5892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5893   *) ac_try_echo=$ac_try;; 
    5894 esac 
    5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5896 $as_echo "$ac_try_echo") >&5 
    5897   (eval "$ac_compile") 2>conftest.er1 
    5898   ac_status=$? 
    5899   grep -v '^ *+' conftest.er1 >conftest.err 
    5900   rm -f conftest.er1 
    5901   cat conftest.err >&5 
    5902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5903   (exit $ac_status); } && { 
    5904          test -z "$ac_c_werror_flag" || 
    5905          test ! -s conftest.err 
    5906        } && test -s conftest.$ac_objext; then 
    5907   ac_header_compiler=yes 
    5908 else 
    5909   $as_echo "$as_me: failed program was:" >&5 
    5910 sed 's/^/| /' conftest.$ac_ext >&5 
    5911  
    5912         ac_header_compiler=no 
    5913 fi 
    5914  
    5915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5916 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5917 $as_echo "$ac_header_compiler" >&6; } 
    5918  
    5919 # Is the header present? 
    5920 { $as_echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5921 $as_echo_n "checking fcntl.h presence... " >&6; } 
    5922 cat >conftest.$ac_ext <<_ACEOF 
    5923 /* confdefs.h.  */ 
    5924 _ACEOF 
    5925 cat confdefs.h >>conftest.$ac_ext 
    5926 cat >>conftest.$ac_ext <<_ACEOF 
    5927 /* end confdefs.h.  */ 
    5928 #include <fcntl.h> 
    5929 _ACEOF 
    5930 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5931 case "(($ac_try" in 
    5932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5933   *) ac_try_echo=$ac_try;; 
    5934 esac 
    5935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5936 $as_echo "$ac_try_echo") >&5 
    5937   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5938   ac_status=$? 
    5939   grep -v '^ *+' conftest.er1 >conftest.err 
    5940   rm -f conftest.er1 
    5941   cat conftest.err >&5 
    5942   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5943   (exit $ac_status); } >/dev/null && { 
    5944          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5945          test ! -s conftest.err 
    5946        }; then 
    5947   ac_header_preproc=yes 
    5948 else 
    5949   $as_echo "$as_me: failed program was:" >&5 
    5950 sed 's/^/| /' conftest.$ac_ext >&5 
    5951  
    5952   ac_header_preproc=no 
    5953 fi 
    5954  
    5955 rm -f conftest.err conftest.$ac_ext 
    5956 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5957 $as_echo "$ac_header_preproc" >&6; } 
    5958  
    5959 # So?  What about this header? 
    5960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5961   yes:no: ) 
    5962     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5963 $as_echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5964     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5965 $as_echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5966     ac_header_preproc=yes 
    5967     ;; 
    5968   no:yes:* ) 
    5969     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5970 $as_echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5971     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5972 $as_echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5973     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5974 $as_echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5975     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5976 $as_echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5977     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5978 $as_echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5979     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5980 $as_echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5981  
    5982     ;; 
    5983 esac 
    5984 { $as_echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5985 $as_echo_n "checking for fcntl.h... " >&6; } 
    5986 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5987   $as_echo_n "(cached) " >&6 
    5988 else 
    5989   ac_cv_header_fcntl_h=$ac_header_preproc 
    5990 fi 
    5991 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5992 $as_echo "$ac_cv_header_fcntl_h" >&6; } 
    5993  
    5994 fi 
    5995 if test $ac_cv_header_fcntl_h = yes; then 
    5996   cat >>confdefs.h <<\_ACEOF 
    5997 #define PJ_HAS_FCNTL_H 1 
    5998 _ACEOF 
    5999  
    6000 fi 
    6001  
    6002  
    6003 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    6004   { $as_echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    6005 $as_echo_n "checking for linux/socket.h... " >&6; } 
    6006 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    6007   $as_echo_n "(cached) " >&6 
    6008 fi 
    6009 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    6010 $as_echo "$ac_cv_header_linux_socket_h" >&6; } 
    6011 else 
    6012   # Is the header compilable? 
    6013 { $as_echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    6014 $as_echo_n "checking linux/socket.h usability... " >&6; } 
    6015 cat >conftest.$ac_ext <<_ACEOF 
    6016 /* confdefs.h.  */ 
    6017 _ACEOF 
    6018 cat confdefs.h >>conftest.$ac_ext 
    6019 cat >>conftest.$ac_ext <<_ACEOF 
    6020 /* end confdefs.h.  */ 
    6021 $ac_includes_default 
    6022 #include <linux/socket.h> 
    6023 _ACEOF 
    6024 rm -f conftest.$ac_objext 
    6025 if { (ac_try="$ac_compile" 
    6026 case "(($ac_try" in 
    6027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6028   *) ac_try_echo=$ac_try;; 
    6029 esac 
    6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6031 $as_echo "$ac_try_echo") >&5 
    6032   (eval "$ac_compile") 2>conftest.er1 
    6033   ac_status=$? 
    6034   grep -v '^ *+' conftest.er1 >conftest.err 
    6035   rm -f conftest.er1 
    6036   cat conftest.err >&5 
    6037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6038   (exit $ac_status); } && { 
    6039          test -z "$ac_c_werror_flag" || 
    6040          test ! -s conftest.err 
    6041        } && test -s conftest.$ac_objext; then 
    6042   ac_header_compiler=yes 
    6043 else 
    6044   $as_echo "$as_me: failed program was:" >&5 
    6045 sed 's/^/| /' conftest.$ac_ext >&5 
    6046  
    6047         ac_header_compiler=no 
    6048 fi 
    6049  
    6050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6051 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6052 $as_echo "$ac_header_compiler" >&6; } 
    6053  
    6054 # Is the header present? 
    6055 { $as_echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    6056 $as_echo_n "checking linux/socket.h presence... " >&6; } 
    6057 cat >conftest.$ac_ext <<_ACEOF 
    6058 /* confdefs.h.  */ 
    6059 _ACEOF 
    6060 cat confdefs.h >>conftest.$ac_ext 
    6061 cat >>conftest.$ac_ext <<_ACEOF 
    6062 /* end confdefs.h.  */ 
    6063 #include <linux/socket.h> 
    6064 _ACEOF 
    6065 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6066 case "(($ac_try" in 
    6067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6068   *) ac_try_echo=$ac_try;; 
    6069 esac 
    6070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6071 $as_echo "$ac_try_echo") >&5 
    6072   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6073   ac_status=$? 
    6074   grep -v '^ *+' conftest.er1 >conftest.err 
    6075   rm -f conftest.er1 
    6076   cat conftest.err >&5 
    6077   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6078   (exit $ac_status); } >/dev/null && { 
    6079          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6080          test ! -s conftest.err 
    6081        }; then 
    6082   ac_header_preproc=yes 
    6083 else 
    6084   $as_echo "$as_me: failed program was:" >&5 
    6085 sed 's/^/| /' conftest.$ac_ext >&5 
    6086  
    6087   ac_header_preproc=no 
    6088 fi 
    6089  
    6090 rm -f conftest.err conftest.$ac_ext 
    6091 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6092 $as_echo "$ac_header_preproc" >&6; } 
    6093  
    6094 # So?  What about this header? 
    6095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6096   yes:no: ) 
    6097     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6098 $as_echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6099     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    6100 $as_echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    6101     ac_header_preproc=yes 
    6102     ;; 
    6103   no:yes:* ) 
    6104     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    6105 $as_echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    6106     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    6107 $as_echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    6108     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    6109 $as_echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    6110     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6111 $as_echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6112     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    6113 $as_echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    6114     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    6115 $as_echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    6116  
    6117     ;; 
    6118 esac 
    6119 { $as_echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    6120 $as_echo_n "checking for linux/socket.h... " >&6; } 
    6121 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    6122   $as_echo_n "(cached) " >&6 
    6123 else 
    6124   ac_cv_header_linux_socket_h=$ac_header_preproc 
    6125 fi 
    6126 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    6127 $as_echo "$ac_cv_header_linux_socket_h" >&6; } 
    6128  
    6129 fi 
    6130 if test $ac_cv_header_linux_socket_h = yes; then 
    6131   cat >>confdefs.h <<\_ACEOF 
    6132 #define PJ_HAS_LINUX_SOCKET_H 1 
    6133 _ACEOF 
    6134  
    6135 fi 
    6136  
    6137  
    6138 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6139   { $as_echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6140 $as_echo_n "checking for malloc.h... " >&6; } 
    6141 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6142   $as_echo_n "(cached) " >&6 
    6143 fi 
    6144 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6145 $as_echo "$ac_cv_header_malloc_h" >&6; } 
    6146 else 
    6147   # Is the header compilable? 
    6148 { $as_echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    6149 $as_echo_n "checking malloc.h usability... " >&6; } 
    6150 cat >conftest.$ac_ext <<_ACEOF 
    6151 /* confdefs.h.  */ 
    6152 _ACEOF 
    6153 cat confdefs.h >>conftest.$ac_ext 
    6154 cat >>conftest.$ac_ext <<_ACEOF 
    6155 /* end confdefs.h.  */ 
    6156 $ac_includes_default 
    6157 #include <malloc.h> 
    6158 _ACEOF 
    6159 rm -f conftest.$ac_objext 
    6160 if { (ac_try="$ac_compile" 
    6161 case "(($ac_try" in 
    6162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6163   *) ac_try_echo=$ac_try;; 
    6164 esac 
    6165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6166 $as_echo "$ac_try_echo") >&5 
    6167   (eval "$ac_compile") 2>conftest.er1 
    6168   ac_status=$? 
    6169   grep -v '^ *+' conftest.er1 >conftest.err 
    6170   rm -f conftest.er1 
    6171   cat conftest.err >&5 
    6172   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6173   (exit $ac_status); } && { 
    6174          test -z "$ac_c_werror_flag" || 
    6175          test ! -s conftest.err 
    6176        } && test -s conftest.$ac_objext; then 
    6177   ac_header_compiler=yes 
    6178 else 
    6179   $as_echo "$as_me: failed program was:" >&5 
    6180 sed 's/^/| /' conftest.$ac_ext >&5 
    6181  
    6182         ac_header_compiler=no 
    6183 fi 
    6184  
    6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6186 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6187 $as_echo "$ac_header_compiler" >&6; } 
    6188  
    6189 # Is the header present? 
    6190 { $as_echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    6191 $as_echo_n "checking malloc.h presence... " >&6; } 
    6192 cat >conftest.$ac_ext <<_ACEOF 
    6193 /* confdefs.h.  */ 
    6194 _ACEOF 
    6195 cat confdefs.h >>conftest.$ac_ext 
    6196 cat >>conftest.$ac_ext <<_ACEOF 
    6197 /* end confdefs.h.  */ 
    6198 #include <malloc.h> 
    6199 _ACEOF 
    6200 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6201 case "(($ac_try" in 
    6202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6203   *) ac_try_echo=$ac_try;; 
    6204 esac 
    6205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6206 $as_echo "$ac_try_echo") >&5 
    6207   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6208   ac_status=$? 
    6209   grep -v '^ *+' conftest.er1 >conftest.err 
    6210   rm -f conftest.er1 
    6211   cat conftest.err >&5 
    6212   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6213   (exit $ac_status); } >/dev/null && { 
    6214          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6215          test ! -s conftest.err 
    6216        }; then 
    6217   ac_header_preproc=yes 
    6218 else 
    6219   $as_echo "$as_me: failed program was:" >&5 
    6220 sed 's/^/| /' conftest.$ac_ext >&5 
    6221  
    6222   ac_header_preproc=no 
    6223 fi 
    6224  
    6225 rm -f conftest.err conftest.$ac_ext 
    6226 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6227 $as_echo "$ac_header_preproc" >&6; } 
    6228  
    6229 # So?  What about this header? 
    6230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6231   yes:no: ) 
    6232     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6233 $as_echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6234     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    6235 $as_echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    6236     ac_header_preproc=yes 
    6237     ;; 
    6238   no:yes:* ) 
    6239     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    6240 $as_echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    6241     { $as_echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    6242 $as_echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    6243     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    6244 $as_echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    6245     { $as_echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6246 $as_echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6247     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    6248 $as_echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    6249     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    6250 $as_echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    6251  
    6252     ;; 
    6253 esac 
    6254 { $as_echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6255 $as_echo_n "checking for malloc.h... " >&6; } 
    6256 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6257   $as_echo_n "(cached) " >&6 
    6258 else 
    6259   ac_cv_header_malloc_h=$ac_header_preproc 
    6260 fi 
    6261 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6262 $as_echo "$ac_cv_header_malloc_h" >&6; } 
    6263  
    6264 fi 
    6265 if test $ac_cv_header_malloc_h = yes; then 
    6266   cat >>confdefs.h <<\_ACEOF 
    6267 #define PJ_HAS_MALLOC_H 1 
    6268 _ACEOF 
    6269  
    6270 fi 
    6271  
    6272  
    6273 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6274   { $as_echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6275 $as_echo_n "checking for netdb.h... " >&6; } 
    6276 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6277   $as_echo_n "(cached) " >&6 
    6278 fi 
    6279 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6280 $as_echo "$ac_cv_header_netdb_h" >&6; } 
    6281 else 
    6282   # Is the header compilable? 
    6283 { $as_echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6284 $as_echo_n "checking netdb.h usability... " >&6; } 
    6285 cat >conftest.$ac_ext <<_ACEOF 
    6286 /* confdefs.h.  */ 
    6287 _ACEOF 
    6288 cat confdefs.h >>conftest.$ac_ext 
    6289 cat >>conftest.$ac_ext <<_ACEOF 
    6290 /* end confdefs.h.  */ 
    6291 $ac_includes_default 
    6292 #include <netdb.h> 
    6293 _ACEOF 
    6294 rm -f conftest.$ac_objext 
    6295 if { (ac_try="$ac_compile" 
    6296 case "(($ac_try" in 
    6297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6298   *) ac_try_echo=$ac_try;; 
    6299 esac 
    6300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6301 $as_echo "$ac_try_echo") >&5 
    6302   (eval "$ac_compile") 2>conftest.er1 
    6303   ac_status=$? 
    6304   grep -v '^ *+' conftest.er1 >conftest.err 
    6305   rm -f conftest.er1 
    6306   cat conftest.err >&5 
    6307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6308   (exit $ac_status); } && { 
    6309          test -z "$ac_c_werror_flag" || 
    6310          test ! -s conftest.err 
    6311        } && test -s conftest.$ac_objext; then 
    6312   ac_header_compiler=yes 
    6313 else 
    6314   $as_echo "$as_me: failed program was:" >&5 
    6315 sed 's/^/| /' conftest.$ac_ext >&5 
    6316  
    6317         ac_header_compiler=no 
    6318 fi 
    6319  
    6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6321 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6322 $as_echo "$ac_header_compiler" >&6; } 
    6323  
    6324 # Is the header present? 
    6325 { $as_echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6326 $as_echo_n "checking netdb.h presence... " >&6; } 
    6327 cat >conftest.$ac_ext <<_ACEOF 
    6328 /* confdefs.h.  */ 
    6329 _ACEOF 
    6330 cat confdefs.h >>conftest.$ac_ext 
    6331 cat >>conftest.$ac_ext <<_ACEOF 
    6332 /* end confdefs.h.  */ 
    6333 #include <netdb.h> 
    6334 _ACEOF 
    6335 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6336 case "(($ac_try" in 
    6337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6338   *) ac_try_echo=$ac_try;; 
    6339 esac 
    6340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6341 $as_echo "$ac_try_echo") >&5 
    6342   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6343   ac_status=$? 
    6344   grep -v '^ *+' conftest.er1 >conftest.err 
    6345   rm -f conftest.er1 
    6346   cat conftest.err >&5 
    6347   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6348   (exit $ac_status); } >/dev/null && { 
    6349          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6350          test ! -s conftest.err 
    6351        }; then 
    6352   ac_header_preproc=yes 
    6353 else 
    6354   $as_echo "$as_me: failed program was:" >&5 
    6355 sed 's/^/| /' conftest.$ac_ext >&5 
    6356  
    6357   ac_header_preproc=no 
    6358 fi 
    6359  
    6360 rm -f conftest.err conftest.$ac_ext 
    6361 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6362 $as_echo "$ac_header_preproc" >&6; } 
    6363  
    6364 # So?  What about this header? 
    6365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6366   yes:no: ) 
    6367     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6368 $as_echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6369     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6370 $as_echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6371     ac_header_preproc=yes 
    6372     ;; 
    6373   no:yes:* ) 
    6374     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6375 $as_echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6376     { $as_echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6377 $as_echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6378     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6379 $as_echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6380     { $as_echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6381 $as_echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6382     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6383 $as_echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6384     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6385 $as_echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6386  
    6387     ;; 
    6388 esac 
    6389 { $as_echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6390 $as_echo_n "checking for netdb.h... " >&6; } 
    6391 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6392   $as_echo_n "(cached) " >&6 
    6393 else 
    6394   ac_cv_header_netdb_h=$ac_header_preproc 
    6395 fi 
    6396 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6397 $as_echo "$ac_cv_header_netdb_h" >&6; } 
    6398  
    6399 fi 
    6400 if test $ac_cv_header_netdb_h = yes; then 
    6401   cat >>confdefs.h <<\_ACEOF 
    6402 #define PJ_HAS_NETDB_H 1 
    6403 _ACEOF 
    6404  
    6405 fi 
    6406  
    6407  
    6408 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6409   { $as_echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6410 $as_echo_n "checking for netinet/in_systm.h... " >&6; } 
    6411 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6412   $as_echo_n "(cached) " >&6 
    6413 fi 
    6414 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6415 $as_echo "$ac_cv_header_netinet_in_systm_h" >&6; } 
    6416 else 
    6417   # Is the header compilable? 
    6418 { $as_echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6419 $as_echo_n "checking netinet/in_systm.h usability... " >&6; } 
    6420 cat >conftest.$ac_ext <<_ACEOF 
    6421 /* confdefs.h.  */ 
    6422 _ACEOF 
    6423 cat confdefs.h >>conftest.$ac_ext 
    6424 cat >>conftest.$ac_ext <<_ACEOF 
    6425 /* end confdefs.h.  */ 
    6426 $ac_includes_default 
    6427 #include <netinet/in_systm.h> 
    6428 _ACEOF 
    6429 rm -f conftest.$ac_objext 
    6430 if { (ac_try="$ac_compile" 
    6431 case "(($ac_try" in 
    6432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6433   *) ac_try_echo=$ac_try;; 
    6434 esac 
    6435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6436 $as_echo "$ac_try_echo") >&5 
    6437   (eval "$ac_compile") 2>conftest.er1 
    6438   ac_status=$? 
    6439   grep -v '^ *+' conftest.er1 >conftest.err 
    6440   rm -f conftest.er1 
    6441   cat conftest.err >&5 
    6442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6443   (exit $ac_status); } && { 
    6444          test -z "$ac_c_werror_flag" || 
    6445          test ! -s conftest.err 
    6446        } && test -s conftest.$ac_objext; then 
    6447   ac_header_compiler=yes 
    6448 else 
    6449   $as_echo "$as_me: failed program was:" >&5 
    6450 sed 's/^/| /' conftest.$ac_ext >&5 
    6451  
    6452         ac_header_compiler=no 
    6453 fi 
    6454  
    6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6456 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6457 $as_echo "$ac_header_compiler" >&6; } 
    6458  
    6459 # Is the header present? 
    6460 { $as_echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6461 $as_echo_n "checking netinet/in_systm.h presence... " >&6; } 
    6462 cat >conftest.$ac_ext <<_ACEOF 
    6463 /* confdefs.h.  */ 
    6464 _ACEOF 
    6465 cat confdefs.h >>conftest.$ac_ext 
    6466 cat >>conftest.$ac_ext <<_ACEOF 
    6467 /* end confdefs.h.  */ 
    6468 #include <netinet/in_systm.h> 
    6469 _ACEOF 
    6470 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6471 case "(($ac_try" in 
    6472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6473   *) ac_try_echo=$ac_try;; 
    6474 esac 
    6475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6476 $as_echo "$ac_try_echo") >&5 
    6477   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6478   ac_status=$? 
    6479   grep -v '^ *+' conftest.er1 >conftest.err 
    6480   rm -f conftest.er1 
    6481   cat conftest.err >&5 
    6482   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6483   (exit $ac_status); } >/dev/null && { 
    6484          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6485          test ! -s conftest.err 
    6486        }; then 
    6487   ac_header_preproc=yes 
    6488 else 
    6489   $as_echo "$as_me: failed program was:" >&5 
    6490 sed 's/^/| /' conftest.$ac_ext >&5 
    6491  
    6492   ac_header_preproc=no 
    6493 fi 
    6494  
    6495 rm -f conftest.err conftest.$ac_ext 
    6496 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6497 $as_echo "$ac_header_preproc" >&6; } 
    6498  
    6499 # So?  What about this header? 
    6500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6501   yes:no: ) 
    6502     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6503 $as_echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6504     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6505 $as_echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6506     ac_header_preproc=yes 
    6507     ;; 
    6508   no:yes:* ) 
    6509     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6510 $as_echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6511     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6512 $as_echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6513     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6514 $as_echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6515     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6516 $as_echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6517     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6518 $as_echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6519     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6520 $as_echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6521  
    6522     ;; 
    6523 esac 
    6524 { $as_echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6525 $as_echo_n "checking for netinet/in_systm.h... " >&6; } 
    6526 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6527   $as_echo_n "(cached) " >&6 
    6528 else 
    6529   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6530 fi 
    6531 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6532 $as_echo "$ac_cv_header_netinet_in_systm_h" >&6; } 
    6533  
    6534 fi 
    6535 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6536   cat >>confdefs.h <<\_ACEOF 
    6537 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6538 _ACEOF 
    6539  
    6540 fi 
    6541  
    6542  
    6543 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6544   { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6545 $as_echo_n "checking for netinet/in.h... " >&6; } 
    6546 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6547   $as_echo_n "(cached) " >&6 
    6548 fi 
    6549 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6550 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 
    6551 else 
    6552   # Is the header compilable? 
    6553 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6554 $as_echo_n "checking netinet/in.h usability... " >&6; } 
    6555 cat >conftest.$ac_ext <<_ACEOF 
    6556 /* confdefs.h.  */ 
    6557 _ACEOF 
    6558 cat confdefs.h >>conftest.$ac_ext 
    6559 cat >>conftest.$ac_ext <<_ACEOF 
    6560 /* end confdefs.h.  */ 
    6561 $ac_includes_default 
    6562 #include <netinet/in.h> 
    6563 _ACEOF 
    6564 rm -f conftest.$ac_objext 
    6565 if { (ac_try="$ac_compile" 
    6566 case "(($ac_try" in 
    6567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6568   *) ac_try_echo=$ac_try;; 
    6569 esac 
    6570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6571 $as_echo "$ac_try_echo") >&5 
    6572   (eval "$ac_compile") 2>conftest.er1 
    6573   ac_status=$? 
    6574   grep -v '^ *+' conftest.er1 >conftest.err 
    6575   rm -f conftest.er1 
    6576   cat conftest.err >&5 
    6577   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6578   (exit $ac_status); } && { 
    6579          test -z "$ac_c_werror_flag" || 
    6580          test ! -s conftest.err 
    6581        } && test -s conftest.$ac_objext; then 
    6582   ac_header_compiler=yes 
    6583 else 
    6584   $as_echo "$as_me: failed program was:" >&5 
    6585 sed 's/^/| /' conftest.$ac_ext >&5 
    6586  
    6587         ac_header_compiler=no 
    6588 fi 
    6589  
    6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6591 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6592 $as_echo "$ac_header_compiler" >&6; } 
    6593  
    6594 # Is the header present? 
    6595 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6596 $as_echo_n "checking netinet/in.h presence... " >&6; } 
    6597 cat >conftest.$ac_ext <<_ACEOF 
    6598 /* confdefs.h.  */ 
    6599 _ACEOF 
    6600 cat confdefs.h >>conftest.$ac_ext 
    6601 cat >>conftest.$ac_ext <<_ACEOF 
    6602 /* end confdefs.h.  */ 
    6603 #include <netinet/in.h> 
    6604 _ACEOF 
    6605 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6606 case "(($ac_try" in 
    6607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6608   *) ac_try_echo=$ac_try;; 
    6609 esac 
    6610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6611 $as_echo "$ac_try_echo") >&5 
    6612   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6613   ac_status=$? 
    6614   grep -v '^ *+' conftest.er1 >conftest.err 
    6615   rm -f conftest.er1 
    6616   cat conftest.err >&5 
    6617   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6618   (exit $ac_status); } >/dev/null && { 
    6619          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6620          test ! -s conftest.err 
    6621        }; then 
    6622   ac_header_preproc=yes 
    6623 else 
    6624   $as_echo "$as_me: failed program was:" >&5 
    6625 sed 's/^/| /' conftest.$ac_ext >&5 
    6626  
    6627   ac_header_preproc=no 
    6628 fi 
    6629  
    6630 rm -f conftest.err conftest.$ac_ext 
    6631 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6632 $as_echo "$ac_header_preproc" >&6; } 
    6633  
    6634 # So?  What about this header? 
    6635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6636   yes:no: ) 
    6637     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6638 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6639     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    6640 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    6641     ac_header_preproc=yes 
    6642     ;; 
    6643   no:yes:* ) 
    6644     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    6645 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    6646     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    6647 $as_echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    6648     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    6649 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    6650     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6651 $as_echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6652     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    6653 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    6654     { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    6655 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    6656  
    6657     ;; 
    6658 esac 
    6659 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6660 $as_echo_n "checking for netinet/in.h... " >&6; } 
    6661 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6662   $as_echo_n "(cached) " >&6 
    6663 else 
    6664   ac_cv_header_netinet_in_h=$ac_header_preproc 
    6665 fi 
    6666 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6667 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 
    6668  
    6669 fi 
    6670 if test $ac_cv_header_netinet_in_h = yes; then 
    6671   cat >>confdefs.h <<\_ACEOF 
    6672 #define PJ_HAS_NETINET_IN_H 1 
    6673 _ACEOF 
    6674  
    6675 fi 
    6676  
    6677  
    6678 { $as_echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
    6679 $as_echo_n "checking for netinet/ip.h... " >&6; } 
    6680 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
    6681   $as_echo_n "(cached) " >&6 
    6682 else 
    6683   cat >conftest.$ac_ext <<_ACEOF 
    6684 /* confdefs.h.  */ 
    6685 _ACEOF 
    6686 cat confdefs.h >>conftest.$ac_ext 
    6687 cat >>conftest.$ac_ext <<_ACEOF 
    6688 /* end confdefs.h.  */ 
    6689 #if PJ_HAS_SYS_TYPES_H 
     4549ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
     4550if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4551  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
     4552 
     4553fi 
     4554 
     4555 
     4556ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
     4557if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4558  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
     4559 
     4560fi 
     4561 
     4562 
     4563ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
     4564if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4565  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
     4566 
     4567fi 
     4568 
     4569 
     4570ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
     4571if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4572  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
     4573 
     4574fi 
     4575 
     4576 
     4577ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
     4578if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4579  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
     4580 
     4581fi 
     4582 
     4583 
     4584ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
     4585if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4586  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
     4587 
     4588fi 
     4589 
     4590 
     4591ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
    66904592                  #     include <sys/types.h> 
    66914593                  #endif 
     
    66974599                  #endif 
    66984600 
    6699  
    6700 #include <netinet/ip.h> 
    6701 _ACEOF 
    6702 rm -f conftest.$ac_objext 
    6703 if { (ac_try="$ac_compile" 
    6704 case "(($ac_try" in 
    6705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6706   *) ac_try_echo=$ac_try;; 
    6707 esac 
    6708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6709 $as_echo "$ac_try_echo") >&5 
    6710   (eval "$ac_compile") 2>conftest.er1 
    6711   ac_status=$? 
    6712   grep -v '^ *+' conftest.er1 >conftest.err 
    6713   rm -f conftest.er1 
    6714   cat conftest.err >&5 
    6715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6716   (exit $ac_status); } && { 
    6717          test -z "$ac_c_werror_flag" || 
    6718          test ! -s conftest.err 
    6719        } && test -s conftest.$ac_objext; then 
    6720   ac_cv_header_netinet_ip_h=yes 
    6721 else 
    6722   $as_echo "$as_me: failed program was:" >&5 
    6723 sed 's/^/| /' conftest.$ac_ext >&5 
    6724  
    6725         ac_cv_header_netinet_ip_h=no 
    6726 fi 
    6727  
    6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6729 fi 
    6730 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
    6731 $as_echo "$ac_cv_header_netinet_ip_h" >&6; } 
    6732 if test $ac_cv_header_netinet_ip_h = yes; then 
    6733   cat >>confdefs.h <<\_ACEOF 
    6734 #define PJ_HAS_NETINET_IP_H 1 
    6735 _ACEOF 
    6736  
    6737 fi 
    6738  
    6739  
    6740 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6741   { $as_echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6742 $as_echo_n "checking for netinet/tcp.h... " >&6; } 
    6743 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6744   $as_echo_n "(cached) " >&6 
    6745 fi 
    6746 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6747 $as_echo "$ac_cv_header_netinet_tcp_h" >&6; } 
    6748 else 
    6749   # Is the header compilable? 
    6750 { $as_echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
    6751 $as_echo_n "checking netinet/tcp.h usability... " >&6; } 
    6752 cat >conftest.$ac_ext <<_ACEOF 
    6753 /* confdefs.h.  */ 
    6754 _ACEOF 
    6755 cat confdefs.h >>conftest.$ac_ext 
    6756 cat >>conftest.$ac_ext <<_ACEOF 
    6757 /* end confdefs.h.  */ 
    6758 $ac_includes_default 
    6759 #include <netinet/tcp.h> 
    6760 _ACEOF 
    6761 rm -f conftest.$ac_objext 
    6762 if { (ac_try="$ac_compile" 
    6763 case "(($ac_try" in 
    6764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6765   *) ac_try_echo=$ac_try;; 
    6766 esac 
    6767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6768 $as_echo "$ac_try_echo") >&5 
    6769   (eval "$ac_compile") 2>conftest.er1 
    6770   ac_status=$? 
    6771   grep -v '^ *+' conftest.er1 >conftest.err 
    6772   rm -f conftest.er1 
    6773   cat conftest.err >&5 
    6774   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6775   (exit $ac_status); } && { 
    6776          test -z "$ac_c_werror_flag" || 
    6777          test ! -s conftest.err 
    6778        } && test -s conftest.$ac_objext; then 
    6779   ac_header_compiler=yes 
    6780 else 
    6781   $as_echo "$as_me: failed program was:" >&5 
    6782 sed 's/^/| /' conftest.$ac_ext >&5 
    6783  
    6784         ac_header_compiler=no 
    6785 fi 
    6786  
    6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6788 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6789 $as_echo "$ac_header_compiler" >&6; } 
    6790  
    6791 # Is the header present? 
    6792 { $as_echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
    6793 $as_echo_n "checking netinet/tcp.h presence... " >&6; } 
    6794 cat >conftest.$ac_ext <<_ACEOF 
    6795 /* confdefs.h.  */ 
    6796 _ACEOF 
    6797 cat confdefs.h >>conftest.$ac_ext 
    6798 cat >>conftest.$ac_ext <<_ACEOF 
    6799 /* end confdefs.h.  */ 
    6800 #include <netinet/tcp.h> 
    6801 _ACEOF 
    6802 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6803 case "(($ac_try" in 
    6804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6805   *) ac_try_echo=$ac_try;; 
    6806 esac 
    6807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6808 $as_echo "$ac_try_echo") >&5 
    6809   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6810   ac_status=$? 
    6811   grep -v '^ *+' conftest.er1 >conftest.err 
    6812   rm -f conftest.er1 
    6813   cat conftest.err >&5 
    6814   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6815   (exit $ac_status); } >/dev/null && { 
    6816          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6817          test ! -s conftest.err 
    6818        }; then 
    6819   ac_header_preproc=yes 
    6820 else 
    6821   $as_echo "$as_me: failed program was:" >&5 
    6822 sed 's/^/| /' conftest.$ac_ext >&5 
    6823  
    6824   ac_header_preproc=no 
    6825 fi 
    6826  
    6827 rm -f conftest.err conftest.$ac_ext 
    6828 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6829 $as_echo "$ac_header_preproc" >&6; } 
    6830  
    6831 # So?  What about this header? 
    6832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6833   yes:no: ) 
    6834     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6835 $as_echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6836     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
    6837 $as_echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
    6838     ac_header_preproc=yes 
    6839     ;; 
    6840   no:yes:* ) 
    6841     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
    6842 $as_echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
    6843     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
    6844 $as_echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
    6845     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
    6846 $as_echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
    6847     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6848 $as_echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6849     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
    6850 $as_echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
    6851     { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
    6852 $as_echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
    6853  
    6854     ;; 
    6855 esac 
    6856 { $as_echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6857 $as_echo_n "checking for netinet/tcp.h... " >&6; } 
    6858 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6859   $as_echo_n "(cached) " >&6 
    6860 else 
    6861   ac_cv_header_netinet_tcp_h=$ac_header_preproc 
    6862 fi 
    6863 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6864 $as_echo "$ac_cv_header_netinet_tcp_h" >&6; } 
    6865  
    6866 fi 
    6867 if test $ac_cv_header_netinet_tcp_h = yes; then 
    6868   cat >>confdefs.h <<\_ACEOF 
    6869 #define PJ_HAS_NETINET_TCP_H 1 
    6870 _ACEOF 
    6871  
    6872 fi 
    6873  
    6874  
    6875 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6876   { $as_echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6877 $as_echo_n "checking for ifaddrs.h... " >&6; } 
    6878 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6879   $as_echo_n "(cached) " >&6 
    6880 fi 
    6881 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6882 $as_echo "$ac_cv_header_ifaddrs_h" >&6; } 
    6883 else 
    6884   # Is the header compilable? 
    6885 { $as_echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
    6886 $as_echo_n "checking ifaddrs.h usability... " >&6; } 
    6887 cat >conftest.$ac_ext <<_ACEOF 
    6888 /* confdefs.h.  */ 
    6889 _ACEOF 
    6890 cat confdefs.h >>conftest.$ac_ext 
    6891 cat >>conftest.$ac_ext <<_ACEOF 
    6892 /* end confdefs.h.  */ 
    6893 $ac_includes_default 
    6894 #include <ifaddrs.h> 
    6895 _ACEOF 
    6896 rm -f conftest.$ac_objext 
    6897 if { (ac_try="$ac_compile" 
    6898 case "(($ac_try" in 
    6899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6900   *) ac_try_echo=$ac_try;; 
    6901 esac 
    6902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6903 $as_echo "$ac_try_echo") >&5 
    6904   (eval "$ac_compile") 2>conftest.er1 
    6905   ac_status=$? 
    6906   grep -v '^ *+' conftest.er1 >conftest.err 
    6907   rm -f conftest.er1 
    6908   cat conftest.err >&5 
    6909   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6910   (exit $ac_status); } && { 
    6911          test -z "$ac_c_werror_flag" || 
    6912          test ! -s conftest.err 
    6913        } && test -s conftest.$ac_objext; then 
    6914   ac_header_compiler=yes 
    6915 else 
    6916   $as_echo "$as_me: failed program was:" >&5 
    6917 sed 's/^/| /' conftest.$ac_ext >&5 
    6918  
    6919         ac_header_compiler=no 
    6920 fi 
    6921  
    6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6923 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6924 $as_echo "$ac_header_compiler" >&6; } 
    6925  
    6926 # Is the header present? 
    6927 { $as_echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
    6928 $as_echo_n "checking ifaddrs.h presence... " >&6; } 
    6929 cat >conftest.$ac_ext <<_ACEOF 
    6930 /* confdefs.h.  */ 
    6931 _ACEOF 
    6932 cat confdefs.h >>conftest.$ac_ext 
    6933 cat >>conftest.$ac_ext <<_ACEOF 
    6934 /* end confdefs.h.  */ 
    6935 #include <ifaddrs.h> 
    6936 _ACEOF 
    6937 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6938 case "(($ac_try" in 
    6939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6940   *) ac_try_echo=$ac_try;; 
    6941 esac 
    6942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6943 $as_echo "$ac_try_echo") >&5 
    6944   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6945   ac_status=$? 
    6946   grep -v '^ *+' conftest.er1 >conftest.err 
    6947   rm -f conftest.er1 
    6948   cat conftest.err >&5 
    6949   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6950   (exit $ac_status); } >/dev/null && { 
    6951          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6952          test ! -s conftest.err 
    6953        }; then 
    6954   ac_header_preproc=yes 
    6955 else 
    6956   $as_echo "$as_me: failed program was:" >&5 
    6957 sed 's/^/| /' conftest.$ac_ext >&5 
    6958  
    6959   ac_header_preproc=no 
    6960 fi 
    6961  
    6962 rm -f conftest.err conftest.$ac_ext 
    6963 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6964 $as_echo "$ac_header_preproc" >&6; } 
    6965  
    6966 # So?  What about this header? 
    6967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6968   yes:no: ) 
    6969     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6970 $as_echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6971     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
    6972 $as_echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
    6973     ac_header_preproc=yes 
    6974     ;; 
    6975   no:yes:* ) 
    6976     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
    6977 $as_echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
    6978     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
    6979 $as_echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
    6980     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
    6981 $as_echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
    6982     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6983 $as_echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6984     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
    6985 $as_echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
    6986     { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
    6987 $as_echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
    6988  
    6989     ;; 
    6990 esac 
    6991 { $as_echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6992 $as_echo_n "checking for ifaddrs.h... " >&6; } 
    6993 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6994   $as_echo_n "(cached) " >&6 
    6995 else 
    6996   ac_cv_header_ifaddrs_h=$ac_header_preproc 
    6997 fi 
    6998 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6999 $as_echo "$ac_cv_header_ifaddrs_h" >&6; } 
    7000  
    7001 fi 
    7002 if test $ac_cv_header_ifaddrs_h = yes; then 
    7003   cat >>confdefs.h <<\_ACEOF 
    7004 #define PJ_HAS_IFADDRS_H 1 
    7005 _ACEOF 
    7006  
    7007 fi 
    7008  
    7009  
    7010 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7011   { $as_echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    7012 $as_echo_n "checking for semaphore.h... " >&6; } 
    7013 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7014   $as_echo_n "(cached) " >&6 
    7015 fi 
    7016 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    7017 $as_echo "$ac_cv_header_semaphore_h" >&6; } 
    7018 else 
    7019   # Is the header compilable? 
    7020 { $as_echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
    7021 $as_echo_n "checking semaphore.h usability... " >&6; } 
    7022 cat >conftest.$ac_ext <<_ACEOF 
    7023 /* confdefs.h.  */ 
    7024 _ACEOF 
    7025 cat confdefs.h >>conftest.$ac_ext 
    7026 cat >>conftest.$ac_ext <<_ACEOF 
    7027 /* end confdefs.h.  */ 
    7028 $ac_includes_default 
    7029 #include <semaphore.h> 
    7030 _ACEOF 
    7031 rm -f conftest.$ac_objext 
    7032 if { (ac_try="$ac_compile" 
    7033 case "(($ac_try" in 
    7034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7035   *) ac_try_echo=$ac_try;; 
    7036 esac 
    7037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7038 $as_echo "$ac_try_echo") >&5 
    7039   (eval "$ac_compile") 2>conftest.er1 
    7040   ac_status=$? 
    7041   grep -v '^ *+' conftest.er1 >conftest.err 
    7042   rm -f conftest.er1 
    7043   cat conftest.err >&5 
    7044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7045   (exit $ac_status); } && { 
    7046          test -z "$ac_c_werror_flag" || 
    7047          test ! -s conftest.err 
    7048        } && test -s conftest.$ac_objext; then 
    7049   ac_header_compiler=yes 
    7050 else 
    7051   $as_echo "$as_me: failed program was:" >&5 
    7052 sed 's/^/| /' conftest.$ac_ext >&5 
    7053  
    7054         ac_header_compiler=no 
    7055 fi 
    7056  
    7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7058 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7059 $as_echo "$ac_header_compiler" >&6; } 
    7060  
    7061 # Is the header present? 
    7062 { $as_echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
    7063 $as_echo_n "checking semaphore.h presence... " >&6; } 
    7064 cat >conftest.$ac_ext <<_ACEOF 
    7065 /* confdefs.h.  */ 
    7066 _ACEOF 
    7067 cat confdefs.h >>conftest.$ac_ext 
    7068 cat >>conftest.$ac_ext <<_ACEOF 
    7069 /* end confdefs.h.  */ 
    7070 #include <semaphore.h> 
    7071 _ACEOF 
    7072 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7073 case "(($ac_try" in 
    7074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7075   *) ac_try_echo=$ac_try;; 
    7076 esac 
    7077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7078 $as_echo "$ac_try_echo") >&5 
    7079   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7080   ac_status=$? 
    7081   grep -v '^ *+' conftest.er1 >conftest.err 
    7082   rm -f conftest.er1 
    7083   cat conftest.err >&5 
    7084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7085   (exit $ac_status); } >/dev/null && { 
    7086          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7087          test ! -s conftest.err 
    7088        }; then 
    7089   ac_header_preproc=yes 
    7090 else 
    7091   $as_echo "$as_me: failed program was:" >&5 
    7092 sed 's/^/| /' conftest.$ac_ext >&5 
    7093  
    7094   ac_header_preproc=no 
    7095 fi 
    7096  
    7097 rm -f conftest.err conftest.$ac_ext 
    7098 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7099 $as_echo "$ac_header_preproc" >&6; } 
    7100  
    7101 # So?  What about this header? 
    7102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7103   yes:no: ) 
    7104     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7105 $as_echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7106     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
    7107 $as_echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
    7108     ac_header_preproc=yes 
    7109     ;; 
    7110   no:yes:* ) 
    7111     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
    7112 $as_echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
    7113     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
    7114 $as_echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
    7115     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
    7116 $as_echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
    7117     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7118 $as_echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7119     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
    7120 $as_echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
    7121     { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
    7122 $as_echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
    7123  
    7124     ;; 
    7125 esac 
    7126 { $as_echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    7127 $as_echo_n "checking for semaphore.h... " >&6; } 
    7128 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7129   $as_echo_n "(cached) " >&6 
    7130 else 
    7131   ac_cv_header_semaphore_h=$ac_header_preproc 
    7132 fi 
    7133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    7134 $as_echo "$ac_cv_header_semaphore_h" >&6; } 
    7135  
    7136 fi 
    7137 if test $ac_cv_header_semaphore_h = yes; then 
    7138   cat >>confdefs.h <<\_ACEOF 
    7139 #define PJ_HAS_SEMAPHORE_H 1 
    7140 _ACEOF 
    7141  
    7142 fi 
    7143  
    7144  
    7145 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7146   { $as_echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7147 $as_echo_n "checking for setjmp.h... " >&6; } 
    7148 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7149   $as_echo_n "(cached) " >&6 
    7150 fi 
    7151 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7152 $as_echo "$ac_cv_header_setjmp_h" >&6; } 
    7153 else 
    7154   # Is the header compilable? 
    7155 { $as_echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    7156 $as_echo_n "checking setjmp.h usability... " >&6; } 
    7157 cat >conftest.$ac_ext <<_ACEOF 
    7158 /* confdefs.h.  */ 
    7159 _ACEOF 
    7160 cat confdefs.h >>conftest.$ac_ext 
    7161 cat >>conftest.$ac_ext <<_ACEOF 
    7162 /* end confdefs.h.  */ 
    7163 $ac_includes_default 
    7164 #include <setjmp.h> 
    7165 _ACEOF 
    7166 rm -f conftest.$ac_objext 
    7167 if { (ac_try="$ac_compile" 
    7168 case "(($ac_try" in 
    7169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7170   *) ac_try_echo=$ac_try;; 
    7171 esac 
    7172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7173 $as_echo "$ac_try_echo") >&5 
    7174   (eval "$ac_compile") 2>conftest.er1 
    7175   ac_status=$? 
    7176   grep -v '^ *+' conftest.er1 >conftest.err 
    7177   rm -f conftest.er1 
    7178   cat conftest.err >&5 
    7179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7180   (exit $ac_status); } && { 
    7181          test -z "$ac_c_werror_flag" || 
    7182          test ! -s conftest.err 
    7183        } && test -s conftest.$ac_objext; then 
    7184   ac_header_compiler=yes 
    7185 else 
    7186   $as_echo "$as_me: failed program was:" >&5 
    7187 sed 's/^/| /' conftest.$ac_ext >&5 
    7188  
    7189         ac_header_compiler=no 
    7190 fi 
    7191  
    7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7193 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7194 $as_echo "$ac_header_compiler" >&6; } 
    7195  
    7196 # Is the header present? 
    7197 { $as_echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    7198 $as_echo_n "checking setjmp.h presence... " >&6; } 
    7199 cat >conftest.$ac_ext <<_ACEOF 
    7200 /* confdefs.h.  */ 
    7201 _ACEOF 
    7202 cat confdefs.h >>conftest.$ac_ext 
    7203 cat >>conftest.$ac_ext <<_ACEOF 
    7204 /* end confdefs.h.  */ 
    7205 #include <setjmp.h> 
    7206 _ACEOF 
    7207 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7208 case "(($ac_try" in 
    7209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7210   *) ac_try_echo=$ac_try;; 
    7211 esac 
    7212 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7213 $as_echo "$ac_try_echo") >&5 
    7214   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7215   ac_status=$? 
    7216   grep -v '^ *+' conftest.er1 >conftest.err 
    7217   rm -f conftest.er1 
    7218   cat conftest.err >&5 
    7219   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7220   (exit $ac_status); } >/dev/null && { 
    7221          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7222          test ! -s conftest.err 
    7223        }; then 
    7224   ac_header_preproc=yes 
    7225 else 
    7226   $as_echo "$as_me: failed program was:" >&5 
    7227 sed 's/^/| /' conftest.$ac_ext >&5 
    7228  
    7229   ac_header_preproc=no 
    7230 fi 
    7231  
    7232 rm -f conftest.err conftest.$ac_ext 
    7233 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7234 $as_echo "$ac_header_preproc" >&6; } 
    7235  
    7236 # So?  What about this header? 
    7237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7238   yes:no: ) 
    7239     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7240 $as_echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7241     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    7242 $as_echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    7243     ac_header_preproc=yes 
    7244     ;; 
    7245   no:yes:* ) 
    7246     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    7247 $as_echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    7248     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    7249 $as_echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    7250     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    7251 $as_echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    7252     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7253 $as_echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7254     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    7255 $as_echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    7256     { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    7257 $as_echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    7258  
    7259     ;; 
    7260 esac 
    7261 { $as_echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7262 $as_echo_n "checking for setjmp.h... " >&6; } 
    7263 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7264   $as_echo_n "(cached) " >&6 
    7265 else 
    7266   ac_cv_header_setjmp_h=$ac_header_preproc 
    7267 fi 
    7268 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7269 $as_echo "$ac_cv_header_setjmp_h" >&6; } 
    7270  
    7271 fi 
    7272 if test $ac_cv_header_setjmp_h = yes; then 
    7273   cat >>confdefs.h <<\_ACEOF 
    7274 #define PJ_HAS_SETJMP_H 1 
    7275 _ACEOF 
    7276  
    7277 fi 
    7278  
    7279  
    7280 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7281   { $as_echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7282 $as_echo_n "checking for stdarg.h... " >&6; } 
    7283 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7284   $as_echo_n "(cached) " >&6 
    7285 fi 
    7286 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7287 $as_echo "$ac_cv_header_stdarg_h" >&6; } 
    7288 else 
    7289   # Is the header compilable? 
    7290 { $as_echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    7291 $as_echo_n "checking stdarg.h usability... " >&6; } 
    7292 cat >conftest.$ac_ext <<_ACEOF 
    7293 /* confdefs.h.  */ 
    7294 _ACEOF 
    7295 cat confdefs.h >>conftest.$ac_ext 
    7296 cat >>conftest.$ac_ext <<_ACEOF 
    7297 /* end confdefs.h.  */ 
    7298 $ac_includes_default 
    7299 #include <stdarg.h> 
    7300 _ACEOF 
    7301 rm -f conftest.$ac_objext 
    7302 if { (ac_try="$ac_compile" 
    7303 case "(($ac_try" in 
    7304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7305   *) ac_try_echo=$ac_try;; 
    7306 esac 
    7307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7308 $as_echo "$ac_try_echo") >&5 
    7309   (eval "$ac_compile") 2>conftest.er1 
    7310   ac_status=$? 
    7311   grep -v '^ *+' conftest.er1 >conftest.err 
    7312   rm -f conftest.er1 
    7313   cat conftest.err >&5 
    7314   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7315   (exit $ac_status); } && { 
    7316          test -z "$ac_c_werror_flag" || 
    7317          test ! -s conftest.err 
    7318        } && test -s conftest.$ac_objext; then 
    7319   ac_header_compiler=yes 
    7320 else 
    7321   $as_echo "$as_me: failed program was:" >&5 
    7322 sed 's/^/| /' conftest.$ac_ext >&5 
    7323  
    7324         ac_header_compiler=no 
    7325 fi 
    7326  
    7327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7328 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7329 $as_echo "$ac_header_compiler" >&6; } 
    7330  
    7331 # Is the header present? 
    7332 { $as_echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    7333 $as_echo_n "checking stdarg.h presence... " >&6; } 
    7334 cat >conftest.$ac_ext <<_ACEOF 
    7335 /* confdefs.h.  */ 
    7336 _ACEOF 
    7337 cat confdefs.h >>conftest.$ac_ext 
    7338 cat >>conftest.$ac_ext <<_ACEOF 
    7339 /* end confdefs.h.  */ 
    7340 #include <stdarg.h> 
    7341 _ACEOF 
    7342 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7343 case "(($ac_try" in 
    7344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7345   *) ac_try_echo=$ac_try;; 
    7346 esac 
    7347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7348 $as_echo "$ac_try_echo") >&5 
    7349   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7350   ac_status=$? 
    7351   grep -v '^ *+' conftest.er1 >conftest.err 
    7352   rm -f conftest.er1 
    7353   cat conftest.err >&5 
    7354   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7355   (exit $ac_status); } >/dev/null && { 
    7356          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7357          test ! -s conftest.err 
    7358        }; then 
    7359   ac_header_preproc=yes 
    7360 else 
    7361   $as_echo "$as_me: failed program was:" >&5 
    7362 sed 's/^/| /' conftest.$ac_ext >&5 
    7363  
    7364   ac_header_preproc=no 
    7365 fi 
    7366  
    7367 rm -f conftest.err conftest.$ac_ext 
    7368 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7369 $as_echo "$ac_header_preproc" >&6; } 
    7370  
    7371 # So?  What about this header? 
    7372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7373   yes:no: ) 
    7374     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7375 $as_echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7376     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    7377 $as_echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    7378     ac_header_preproc=yes 
    7379     ;; 
    7380   no:yes:* ) 
    7381     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    7382 $as_echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    7383     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    7384 $as_echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    7385     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    7386 $as_echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    7387     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7388 $as_echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7389     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    7390 $as_echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    7391     { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    7392 $as_echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    7393  
    7394     ;; 
    7395 esac 
    7396 { $as_echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7397 $as_echo_n "checking for stdarg.h... " >&6; } 
    7398 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7399   $as_echo_n "(cached) " >&6 
    7400 else 
    7401   ac_cv_header_stdarg_h=$ac_header_preproc 
    7402 fi 
    7403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7404 $as_echo "$ac_cv_header_stdarg_h" >&6; } 
    7405  
    7406 fi 
    7407 if test $ac_cv_header_stdarg_h = yes; then 
    7408   cat >>confdefs.h <<\_ACEOF 
    7409 #define PJ_HAS_STDARG_H 1 
    7410 _ACEOF 
    7411  
    7412 fi 
    7413  
    7414  
    7415 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7416   { $as_echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7417 $as_echo_n "checking for stddef.h... " >&6; } 
    7418 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7419   $as_echo_n "(cached) " >&6 
    7420 fi 
    7421 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7422 $as_echo "$ac_cv_header_stddef_h" >&6; } 
    7423 else 
    7424   # Is the header compilable? 
    7425 { $as_echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    7426 $as_echo_n "checking stddef.h usability... " >&6; } 
    7427 cat >conftest.$ac_ext <<_ACEOF 
    7428 /* confdefs.h.  */ 
    7429 _ACEOF 
    7430 cat confdefs.h >>conftest.$ac_ext 
    7431 cat >>conftest.$ac_ext <<_ACEOF 
    7432 /* end confdefs.h.  */ 
    7433 $ac_includes_default 
    7434 #include <stddef.h> 
    7435 _ACEOF 
    7436 rm -f conftest.$ac_objext 
    7437 if { (ac_try="$ac_compile" 
    7438 case "(($ac_try" in 
    7439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7440   *) ac_try_echo=$ac_try;; 
    7441 esac 
    7442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7443 $as_echo "$ac_try_echo") >&5 
    7444   (eval "$ac_compile") 2>conftest.er1 
    7445   ac_status=$? 
    7446   grep -v '^ *+' conftest.er1 >conftest.err 
    7447   rm -f conftest.er1 
    7448   cat conftest.err >&5 
    7449   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7450   (exit $ac_status); } && { 
    7451          test -z "$ac_c_werror_flag" || 
    7452          test ! -s conftest.err 
    7453        } && test -s conftest.$ac_objext; then 
    7454   ac_header_compiler=yes 
    7455 else 
    7456   $as_echo "$as_me: failed program was:" >&5 
    7457 sed 's/^/| /' conftest.$ac_ext >&5 
    7458  
    7459         ac_header_compiler=no 
    7460 fi 
    7461  
    7462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7463 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7464 $as_echo "$ac_header_compiler" >&6; } 
    7465  
    7466 # Is the header present? 
    7467 { $as_echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    7468 $as_echo_n "checking stddef.h presence... " >&6; } 
    7469 cat >conftest.$ac_ext <<_ACEOF 
    7470 /* confdefs.h.  */ 
    7471 _ACEOF 
    7472 cat confdefs.h >>conftest.$ac_ext 
    7473 cat >>conftest.$ac_ext <<_ACEOF 
    7474 /* end confdefs.h.  */ 
    7475 #include <stddef.h> 
    7476 _ACEOF 
    7477 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7478 case "(($ac_try" in 
    7479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7480   *) ac_try_echo=$ac_try;; 
    7481 esac 
    7482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7483 $as_echo "$ac_try_echo") >&5 
    7484   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7485   ac_status=$? 
    7486   grep -v '^ *+' conftest.er1 >conftest.err 
    7487   rm -f conftest.er1 
    7488   cat conftest.err >&5 
    7489   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7490   (exit $ac_status); } >/dev/null && { 
    7491          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7492          test ! -s conftest.err 
    7493        }; then 
    7494   ac_header_preproc=yes 
    7495 else 
    7496   $as_echo "$as_me: failed program was:" >&5 
    7497 sed 's/^/| /' conftest.$ac_ext >&5 
    7498  
    7499   ac_header_preproc=no 
    7500 fi 
    7501  
    7502 rm -f conftest.err conftest.$ac_ext 
    7503 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7504 $as_echo "$ac_header_preproc" >&6; } 
    7505  
    7506 # So?  What about this header? 
    7507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7508   yes:no: ) 
    7509     { $as_echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7510 $as_echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7511     { $as_echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    7512 $as_echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    7513     ac_header_preproc=yes 
    7514     ;; 
    7515   no:yes:* ) 
    7516     { $as_echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    7517 $as_echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    7518     { $as_echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    7519 $as_echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    7520     { $as_echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    7521 $as_echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    7522     { $as_echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7523 $as_echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7524     { $as_echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    7525 $as_echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    7526     { $as_echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    7527 $as_echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    7528  
    7529     ;; 
    7530 esac 
    7531 { $as_echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7532 $as_echo_n "checking for stddef.h... " >&6; } 
    7533 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7534   $as_echo_n "(cached) " >&6 
    7535 else 
    7536   ac_cv_header_stddef_h=$ac_header_preproc 
    7537 fi 
    7538 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7539 $as_echo "$ac_cv_header_stddef_h" >&6; } 
    7540  
    7541 fi 
    7542 if test $ac_cv_header_stddef_h = yes; then 
    7543   cat >>confdefs.h <<\_ACEOF 
    7544 #define PJ_HAS_STDDEF_H 1 
    7545 _ACEOF 
    7546  
    7547 fi 
    7548  
    7549  
    7550 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7551   { $as_echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7552 $as_echo_n "checking for stdio.h... " >&6; } 
    7553 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7554   $as_echo_n "(cached) " >&6 
    7555 fi 
    7556 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7557 $as_echo "$ac_cv_header_stdio_h" >&6; } 
    7558 else 
    7559   # Is the header compilable? 
    7560 { $as_echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    7561 $as_echo_n "checking stdio.h usability... " >&6; } 
    7562 cat >conftest.$ac_ext <<_ACEOF 
    7563 /* confdefs.h.  */ 
    7564 _ACEOF 
    7565 cat confdefs.h >>conftest.$ac_ext 
    7566 cat >>conftest.$ac_ext <<_ACEOF 
    7567 /* end confdefs.h.  */ 
    7568 $ac_includes_default 
    7569 #include <stdio.h> 
    7570 _ACEOF 
    7571 rm -f conftest.$ac_objext 
    7572 if { (ac_try="$ac_compile" 
    7573 case "(($ac_try" in 
    7574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7575   *) ac_try_echo=$ac_try;; 
    7576 esac 
    7577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7578 $as_echo "$ac_try_echo") >&5 
    7579   (eval "$ac_compile") 2>conftest.er1 
    7580   ac_status=$? 
    7581   grep -v '^ *+' conftest.er1 >conftest.err 
    7582   rm -f conftest.er1 
    7583   cat conftest.err >&5 
    7584   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7585   (exit $ac_status); } && { 
    7586          test -z "$ac_c_werror_flag" || 
    7587          test ! -s conftest.err 
    7588        } && test -s conftest.$ac_objext; then 
    7589   ac_header_compiler=yes 
    7590 else 
    7591   $as_echo "$as_me: failed program was:" >&5 
    7592 sed 's/^/| /' conftest.$ac_ext >&5 
    7593  
    7594         ac_header_compiler=no 
    7595 fi 
    7596  
    7597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7598 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7599 $as_echo "$ac_header_compiler" >&6; } 
    7600  
    7601 # Is the header present? 
    7602 { $as_echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    7603 $as_echo_n "checking stdio.h presence... " >&6; } 
    7604 cat >conftest.$ac_ext <<_ACEOF 
    7605 /* confdefs.h.  */ 
    7606 _ACEOF 
    7607 cat confdefs.h >>conftest.$ac_ext 
    7608 cat >>conftest.$ac_ext <<_ACEOF 
    7609 /* end confdefs.h.  */ 
    7610 #include <stdio.h> 
    7611 _ACEOF 
    7612 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7613 case "(($ac_try" in 
    7614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7615   *) ac_try_echo=$ac_try;; 
    7616 esac 
    7617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7618 $as_echo "$ac_try_echo") >&5 
    7619   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7620   ac_status=$? 
    7621   grep -v '^ *+' conftest.er1 >conftest.err 
    7622   rm -f conftest.er1 
    7623   cat conftest.err >&5 
    7624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7625   (exit $ac_status); } >/dev/null && { 
    7626          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7627          test ! -s conftest.err 
    7628        }; then 
    7629   ac_header_preproc=yes 
    7630 else 
    7631   $as_echo "$as_me: failed program was:" >&5 
    7632 sed 's/^/| /' conftest.$ac_ext >&5 
    7633  
    7634   ac_header_preproc=no 
    7635 fi 
    7636  
    7637 rm -f conftest.err conftest.$ac_ext 
    7638 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7639 $as_echo "$ac_header_preproc" >&6; } 
    7640  
    7641 # So?  What about this header? 
    7642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7643   yes:no: ) 
    7644     { $as_echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7645 $as_echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7646     { $as_echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    7647 $as_echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    7648     ac_header_preproc=yes 
    7649     ;; 
    7650   no:yes:* ) 
    7651     { $as_echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    7652 $as_echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    7653     { $as_echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    7654 $as_echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    7655     { $as_echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    7656 $as_echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    7657     { $as_echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7658 $as_echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7659     { $as_echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    7660 $as_echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    7661     { $as_echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    7662 $as_echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    7663  
    7664     ;; 
    7665 esac 
    7666 { $as_echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7667 $as_echo_n "checking for stdio.h... " >&6; } 
    7668 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7669   $as_echo_n "(cached) " >&6 
    7670 else 
    7671   ac_cv_header_stdio_h=$ac_header_preproc 
    7672 fi 
    7673 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7674 $as_echo "$ac_cv_header_stdio_h" >&6; } 
    7675  
    7676 fi 
    7677 if test $ac_cv_header_stdio_h = yes; then 
    7678   cat >>confdefs.h <<\_ACEOF 
    7679 #define PJ_HAS_STDIO_H 1 
    7680 _ACEOF 
    7681  
    7682 fi 
    7683  
    7684  
    7685 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7686   { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7687 $as_echo_n "checking for stdint.h... " >&6; } 
    7688 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7689   $as_echo_n "(cached) " >&6 
    7690 fi 
    7691 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7692 $as_echo "$ac_cv_header_stdint_h" >&6; } 
    7693 else 
    7694   # Is the header compilable? 
    7695 { $as_echo "$as_me:$LINENO: checking stdint.h usability" >&5 
    7696 $as_echo_n "checking stdint.h usability... " >&6; } 
    7697 cat >conftest.$ac_ext <<_ACEOF 
    7698 /* confdefs.h.  */ 
    7699 _ACEOF 
    7700 cat confdefs.h >>conftest.$ac_ext 
    7701 cat >>conftest.$ac_ext <<_ACEOF 
    7702 /* end confdefs.h.  */ 
    7703 $ac_includes_default 
    7704 #include <stdint.h> 
    7705 _ACEOF 
    7706 rm -f conftest.$ac_objext 
    7707 if { (ac_try="$ac_compile" 
    7708 case "(($ac_try" in 
    7709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7710   *) ac_try_echo=$ac_try;; 
    7711 esac 
    7712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7713 $as_echo "$ac_try_echo") >&5 
    7714   (eval "$ac_compile") 2>conftest.er1 
    7715   ac_status=$? 
    7716   grep -v '^ *+' conftest.er1 >conftest.err 
    7717   rm -f conftest.er1 
    7718   cat conftest.err >&5 
    7719   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7720   (exit $ac_status); } && { 
    7721          test -z "$ac_c_werror_flag" || 
    7722          test ! -s conftest.err 
    7723        } && test -s conftest.$ac_objext; then 
    7724   ac_header_compiler=yes 
    7725 else 
    7726   $as_echo "$as_me: failed program was:" >&5 
    7727 sed 's/^/| /' conftest.$ac_ext >&5 
    7728  
    7729         ac_header_compiler=no 
    7730 fi 
    7731  
    7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7733 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7734 $as_echo "$ac_header_compiler" >&6; } 
    7735  
    7736 # Is the header present? 
    7737 { $as_echo "$as_me:$LINENO: checking stdint.h presence" >&5 
    7738 $as_echo_n "checking stdint.h presence... " >&6; } 
    7739 cat >conftest.$ac_ext <<_ACEOF 
    7740 /* confdefs.h.  */ 
    7741 _ACEOF 
    7742 cat confdefs.h >>conftest.$ac_ext 
    7743 cat >>conftest.$ac_ext <<_ACEOF 
    7744 /* end confdefs.h.  */ 
    7745 #include <stdint.h> 
    7746 _ACEOF 
    7747 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7748 case "(($ac_try" in 
    7749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7750   *) ac_try_echo=$ac_try;; 
    7751 esac 
    7752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7753 $as_echo "$ac_try_echo") >&5 
    7754   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7755   ac_status=$? 
    7756   grep -v '^ *+' conftest.er1 >conftest.err 
    7757   rm -f conftest.er1 
    7758   cat conftest.err >&5 
    7759   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7760   (exit $ac_status); } >/dev/null && { 
    7761          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7762          test ! -s conftest.err 
    7763        }; then 
    7764   ac_header_preproc=yes 
    7765 else 
    7766   $as_echo "$as_me: failed program was:" >&5 
    7767 sed 's/^/| /' conftest.$ac_ext >&5 
    7768  
    7769   ac_header_preproc=no 
    7770 fi 
    7771  
    7772 rm -f conftest.err conftest.$ac_ext 
    7773 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7774 $as_echo "$ac_header_preproc" >&6; } 
    7775  
    7776 # So?  What about this header? 
    7777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7778   yes:no: ) 
    7779     { $as_echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7780 $as_echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7781     { $as_echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
    7782 $as_echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
    7783     ac_header_preproc=yes 
    7784     ;; 
    7785   no:yes:* ) 
    7786     { $as_echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
    7787 $as_echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
    7788     { $as_echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
    7789 $as_echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
    7790     { $as_echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
    7791 $as_echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
    7792     { $as_echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7793 $as_echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7794     { $as_echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
    7795 $as_echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
    7796     { $as_echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
    7797 $as_echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
    7798  
    7799     ;; 
    7800 esac 
    7801 { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7802 $as_echo_n "checking for stdint.h... " >&6; } 
    7803 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7804   $as_echo_n "(cached) " >&6 
    7805 else 
    7806   ac_cv_header_stdint_h=$ac_header_preproc 
    7807 fi 
    7808 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7809 $as_echo "$ac_cv_header_stdint_h" >&6; } 
    7810  
    7811 fi 
    7812 if test $ac_cv_header_stdint_h = yes; then 
    7813   cat >>confdefs.h <<\_ACEOF 
    7814 #define PJ_HAS_STDINT_H 1 
    7815 _ACEOF 
    7816  
    7817 fi 
    7818  
    7819  
    7820 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7821   { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7822 $as_echo_n "checking for stdlib.h... " >&6; } 
    7823 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7824   $as_echo_n "(cached) " >&6 
    7825 fi 
    7826 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7827 $as_echo "$ac_cv_header_stdlib_h" >&6; } 
    7828 else 
    7829   # Is the header compilable? 
    7830 { $as_echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    7831 $as_echo_n "checking stdlib.h usability... " >&6; } 
    7832 cat >conftest.$ac_ext <<_ACEOF 
    7833 /* confdefs.h.  */ 
    7834 _ACEOF 
    7835 cat confdefs.h >>conftest.$ac_ext 
    7836 cat >>conftest.$ac_ext <<_ACEOF 
    7837 /* end confdefs.h.  */ 
    7838 $ac_includes_default 
    7839 #include <stdlib.h> 
    7840 _ACEOF 
    7841 rm -f conftest.$ac_objext 
    7842 if { (ac_try="$ac_compile" 
    7843 case "(($ac_try" in 
    7844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7845   *) ac_try_echo=$ac_try;; 
    7846 esac 
    7847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7848 $as_echo "$ac_try_echo") >&5 
    7849   (eval "$ac_compile") 2>conftest.er1 
    7850   ac_status=$? 
    7851   grep -v '^ *+' conftest.er1 >conftest.err 
    7852   rm -f conftest.er1 
    7853   cat conftest.err >&5 
    7854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7855   (exit $ac_status); } && { 
    7856          test -z "$ac_c_werror_flag" || 
    7857          test ! -s conftest.err 
    7858        } && test -s conftest.$ac_objext; then 
    7859   ac_header_compiler=yes 
    7860 else 
    7861   $as_echo "$as_me: failed program was:" >&5 
    7862 sed 's/^/| /' conftest.$ac_ext >&5 
    7863  
    7864         ac_header_compiler=no 
    7865 fi 
    7866  
    7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7868 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7869 $as_echo "$ac_header_compiler" >&6; } 
    7870  
    7871 # Is the header present? 
    7872 { $as_echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    7873 $as_echo_n "checking stdlib.h presence... " >&6; } 
    7874 cat >conftest.$ac_ext <<_ACEOF 
    7875 /* confdefs.h.  */ 
    7876 _ACEOF 
    7877 cat confdefs.h >>conftest.$ac_ext 
    7878 cat >>conftest.$ac_ext <<_ACEOF 
    7879 /* end confdefs.h.  */ 
    7880 #include <stdlib.h> 
    7881 _ACEOF 
    7882 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7883 case "(($ac_try" in 
    7884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7885   *) ac_try_echo=$ac_try;; 
    7886 esac 
    7887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7888 $as_echo "$ac_try_echo") >&5 
    7889   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7890   ac_status=$? 
    7891   grep -v '^ *+' conftest.er1 >conftest.err 
    7892   rm -f conftest.er1 
    7893   cat conftest.err >&5 
    7894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7895   (exit $ac_status); } >/dev/null && { 
    7896          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7897          test ! -s conftest.err 
    7898        }; then 
    7899   ac_header_preproc=yes 
    7900 else 
    7901   $as_echo "$as_me: failed program was:" >&5 
    7902 sed 's/^/| /' conftest.$ac_ext >&5 
    7903  
    7904   ac_header_preproc=no 
    7905 fi 
    7906  
    7907 rm -f conftest.err conftest.$ac_ext 
    7908 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7909 $as_echo "$ac_header_preproc" >&6; } 
    7910  
    7911 # So?  What about this header? 
    7912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7913   yes:no: ) 
    7914     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7915 $as_echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7916     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    7917 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    7918     ac_header_preproc=yes 
    7919     ;; 
    7920   no:yes:* ) 
    7921     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    7922 $as_echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    7923     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    7924 $as_echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    7925     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    7926 $as_echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    7927     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7928 $as_echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7929     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    7930 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    7931     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    7932 $as_echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    7933  
    7934     ;; 
    7935 esac 
    7936 { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7937 $as_echo_n "checking for stdlib.h... " >&6; } 
    7938 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7939   $as_echo_n "(cached) " >&6 
    7940 else 
    7941   ac_cv_header_stdlib_h=$ac_header_preproc 
    7942 fi 
    7943 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7944 $as_echo "$ac_cv_header_stdlib_h" >&6; } 
    7945  
    7946 fi 
    7947 if test $ac_cv_header_stdlib_h = yes; then 
    7948   cat >>confdefs.h <<\_ACEOF 
    7949 #define PJ_HAS_STDLIB_H 1 
    7950 _ACEOF 
    7951  
    7952 fi 
    7953  
    7954  
    7955 if test "${ac_cv_header_string_h+set}" = set; then 
    7956   { $as_echo "$as_me:$LINENO: checking for string.h" >&5 
    7957 $as_echo_n "checking for string.h... " >&6; } 
    7958 if test "${ac_cv_header_string_h+set}" = set; then 
    7959   $as_echo_n "(cached) " >&6 
    7960 fi 
    7961 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7962 $as_echo "$ac_cv_header_string_h" >&6; } 
    7963 else 
    7964   # Is the header compilable? 
    7965 { $as_echo "$as_me:$LINENO: checking string.h usability" >&5 
    7966 $as_echo_n "checking string.h usability... " >&6; } 
    7967 cat >conftest.$ac_ext <<_ACEOF 
    7968 /* confdefs.h.  */ 
    7969 _ACEOF 
    7970 cat confdefs.h >>conftest.$ac_ext 
    7971 cat >>conftest.$ac_ext <<_ACEOF 
    7972 /* end confdefs.h.  */ 
    7973 $ac_includes_default 
    7974 #include <string.h> 
    7975 _ACEOF 
    7976 rm -f conftest.$ac_objext 
    7977 if { (ac_try="$ac_compile" 
    7978 case "(($ac_try" in 
    7979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7980   *) ac_try_echo=$ac_try;; 
    7981 esac 
    7982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    7983 $as_echo "$ac_try_echo") >&5 
    7984   (eval "$ac_compile") 2>conftest.er1 
    7985   ac_status=$? 
    7986   grep -v '^ *+' conftest.er1 >conftest.err 
    7987   rm -f conftest.er1 
    7988   cat conftest.err >&5 
    7989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7990   (exit $ac_status); } && { 
    7991          test -z "$ac_c_werror_flag" || 
    7992          test ! -s conftest.err 
    7993        } && test -s conftest.$ac_objext; then 
    7994   ac_header_compiler=yes 
    7995 else 
    7996   $as_echo "$as_me: failed program was:" >&5 
    7997 sed 's/^/| /' conftest.$ac_ext >&5 
    7998  
    7999         ac_header_compiler=no 
    8000 fi 
    8001  
    8002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8003 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8004 $as_echo "$ac_header_compiler" >&6; } 
    8005  
    8006 # Is the header present? 
    8007 { $as_echo "$as_me:$LINENO: checking string.h presence" >&5 
    8008 $as_echo_n "checking string.h presence... " >&6; } 
    8009 cat >conftest.$ac_ext <<_ACEOF 
    8010 /* confdefs.h.  */ 
    8011 _ACEOF 
    8012 cat confdefs.h >>conftest.$ac_ext 
    8013 cat >>conftest.$ac_ext <<_ACEOF 
    8014 /* end confdefs.h.  */ 
    8015 #include <string.h> 
    8016 _ACEOF 
    8017 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8018 case "(($ac_try" in 
    8019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8020   *) ac_try_echo=$ac_try;; 
    8021 esac 
    8022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8023 $as_echo "$ac_try_echo") >&5 
    8024   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8025   ac_status=$? 
    8026   grep -v '^ *+' conftest.er1 >conftest.err 
    8027   rm -f conftest.er1 
    8028   cat conftest.err >&5 
    8029   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8030   (exit $ac_status); } >/dev/null && { 
    8031          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8032          test ! -s conftest.err 
    8033        }; then 
    8034   ac_header_preproc=yes 
    8035 else 
    8036   $as_echo "$as_me: failed program was:" >&5 
    8037 sed 's/^/| /' conftest.$ac_ext >&5 
    8038  
    8039   ac_header_preproc=no 
    8040 fi 
    8041  
    8042 rm -f conftest.err conftest.$ac_ext 
    8043 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8044 $as_echo "$ac_header_preproc" >&6; } 
    8045  
    8046 # So?  What about this header? 
    8047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8048   yes:no: ) 
    8049     { $as_echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8050 $as_echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8051     { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    8052 $as_echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    8053     ac_header_preproc=yes 
    8054     ;; 
    8055   no:yes:* ) 
    8056     { $as_echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    8057 $as_echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    8058     { $as_echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    8059 $as_echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    8060     { $as_echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    8061 $as_echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    8062     { $as_echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8063 $as_echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8064     { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    8065 $as_echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    8066     { $as_echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    8067 $as_echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    8068  
    8069     ;; 
    8070 esac 
    8071 { $as_echo "$as_me:$LINENO: checking for string.h" >&5 
    8072 $as_echo_n "checking for string.h... " >&6; } 
    8073 if test "${ac_cv_header_string_h+set}" = set; then 
    8074   $as_echo_n "(cached) " >&6 
    8075 else 
    8076   ac_cv_header_string_h=$ac_header_preproc 
    8077 fi 
    8078 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    8079 $as_echo "$ac_cv_header_string_h" >&6; } 
    8080  
    8081 fi 
    8082 if test $ac_cv_header_string_h = yes; then 
    8083   cat >>confdefs.h <<\_ACEOF 
    8084 #define PJ_HAS_STRING_H 1 
    8085 _ACEOF 
    8086  
    8087 fi 
    8088  
    8089  
    8090 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8091   { $as_echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8092 $as_echo_n "checking for sys/ioctl.h... " >&6; } 
    8093 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8094   $as_echo_n "(cached) " >&6 
    8095 fi 
    8096 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8097 $as_echo "$ac_cv_header_sys_ioctl_h" >&6; } 
    8098 else 
    8099   # Is the header compilable? 
    8100 { $as_echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    8101 $as_echo_n "checking sys/ioctl.h usability... " >&6; } 
    8102 cat >conftest.$ac_ext <<_ACEOF 
    8103 /* confdefs.h.  */ 
    8104 _ACEOF 
    8105 cat confdefs.h >>conftest.$ac_ext 
    8106 cat >>conftest.$ac_ext <<_ACEOF 
    8107 /* end confdefs.h.  */ 
    8108 $ac_includes_default 
    8109 #include <sys/ioctl.h> 
    8110 _ACEOF 
    8111 rm -f conftest.$ac_objext 
    8112 if { (ac_try="$ac_compile" 
    8113 case "(($ac_try" in 
    8114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8115   *) ac_try_echo=$ac_try;; 
    8116 esac 
    8117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8118 $as_echo "$ac_try_echo") >&5 
    8119   (eval "$ac_compile") 2>conftest.er1 
    8120   ac_status=$? 
    8121   grep -v '^ *+' conftest.er1 >conftest.err 
    8122   rm -f conftest.er1 
    8123   cat conftest.err >&5 
    8124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8125   (exit $ac_status); } && { 
    8126          test -z "$ac_c_werror_flag" || 
    8127          test ! -s conftest.err 
    8128        } && test -s conftest.$ac_objext; then 
    8129   ac_header_compiler=yes 
    8130 else 
    8131   $as_echo "$as_me: failed program was:" >&5 
    8132 sed 's/^/| /' conftest.$ac_ext >&5 
    8133  
    8134         ac_header_compiler=no 
    8135 fi 
    8136  
    8137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8138 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8139 $as_echo "$ac_header_compiler" >&6; } 
    8140  
    8141 # Is the header present? 
    8142 { $as_echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    8143 $as_echo_n "checking sys/ioctl.h presence... " >&6; } 
    8144 cat >conftest.$ac_ext <<_ACEOF 
    8145 /* confdefs.h.  */ 
    8146 _ACEOF 
    8147 cat confdefs.h >>conftest.$ac_ext 
    8148 cat >>conftest.$ac_ext <<_ACEOF 
    8149 /* end confdefs.h.  */ 
    8150 #include <sys/ioctl.h> 
    8151 _ACEOF 
    8152 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8153 case "(($ac_try" in 
    8154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8155   *) ac_try_echo=$ac_try;; 
    8156 esac 
    8157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8158 $as_echo "$ac_try_echo") >&5 
    8159   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8160   ac_status=$? 
    8161   grep -v '^ *+' conftest.er1 >conftest.err 
    8162   rm -f conftest.er1 
    8163   cat conftest.err >&5 
    8164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8165   (exit $ac_status); } >/dev/null && { 
    8166          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8167          test ! -s conftest.err 
    8168        }; then 
    8169   ac_header_preproc=yes 
    8170 else 
    8171   $as_echo "$as_me: failed program was:" >&5 
    8172 sed 's/^/| /' conftest.$ac_ext >&5 
    8173  
    8174   ac_header_preproc=no 
    8175 fi 
    8176  
    8177 rm -f conftest.err conftest.$ac_ext 
    8178 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8179 $as_echo "$ac_header_preproc" >&6; } 
    8180  
    8181 # So?  What about this header? 
    8182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8183   yes:no: ) 
    8184     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8185 $as_echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8186     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    8187 $as_echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    8188     ac_header_preproc=yes 
    8189     ;; 
    8190   no:yes:* ) 
    8191     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    8192 $as_echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    8193     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    8194 $as_echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    8195     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    8196 $as_echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    8197     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8198 $as_echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8199     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    8200 $as_echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    8201     { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    8202 $as_echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    8203  
    8204     ;; 
    8205 esac 
    8206 { $as_echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8207 $as_echo_n "checking for sys/ioctl.h... " >&6; } 
    8208 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8209   $as_echo_n "(cached) " >&6 
    8210 else 
    8211   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    8212 fi 
    8213 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8214 $as_echo "$ac_cv_header_sys_ioctl_h" >&6; } 
    8215  
    8216 fi 
    8217 if test $ac_cv_header_sys_ioctl_h = yes; then 
    8218   cat >>confdefs.h <<\_ACEOF 
    8219 #define PJ_HAS_SYS_IOCTL_H 1 
    8220 _ACEOF 
    8221  
    8222 fi 
    8223  
    8224  
    8225 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8226   { $as_echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8227 $as_echo_n "checking for sys/select.h... " >&6; } 
    8228 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8229   $as_echo_n "(cached) " >&6 
    8230 fi 
    8231 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8232 $as_echo "$ac_cv_header_sys_select_h" >&6; } 
    8233 else 
    8234   # Is the header compilable? 
    8235 { $as_echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    8236 $as_echo_n "checking sys/select.h usability... " >&6; } 
    8237 cat >conftest.$ac_ext <<_ACEOF 
    8238 /* confdefs.h.  */ 
    8239 _ACEOF 
    8240 cat confdefs.h >>conftest.$ac_ext 
    8241 cat >>conftest.$ac_ext <<_ACEOF 
    8242 /* end confdefs.h.  */ 
    8243 $ac_includes_default 
    8244 #include <sys/select.h> 
    8245 _ACEOF 
    8246 rm -f conftest.$ac_objext 
    8247 if { (ac_try="$ac_compile" 
    8248 case "(($ac_try" in 
    8249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8250   *) ac_try_echo=$ac_try;; 
    8251 esac 
    8252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8253 $as_echo "$ac_try_echo") >&5 
    8254   (eval "$ac_compile") 2>conftest.er1 
    8255   ac_status=$? 
    8256   grep -v '^ *+' conftest.er1 >conftest.err 
    8257   rm -f conftest.er1 
    8258   cat conftest.err >&5 
    8259   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8260   (exit $ac_status); } && { 
    8261          test -z "$ac_c_werror_flag" || 
    8262          test ! -s conftest.err 
    8263        } && test -s conftest.$ac_objext; then 
    8264   ac_header_compiler=yes 
    8265 else 
    8266   $as_echo "$as_me: failed program was:" >&5 
    8267 sed 's/^/| /' conftest.$ac_ext >&5 
    8268  
    8269         ac_header_compiler=no 
    8270 fi 
    8271  
    8272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8273 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8274 $as_echo "$ac_header_compiler" >&6; } 
    8275  
    8276 # Is the header present? 
    8277 { $as_echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    8278 $as_echo_n "checking sys/select.h presence... " >&6; } 
    8279 cat >conftest.$ac_ext <<_ACEOF 
    8280 /* confdefs.h.  */ 
    8281 _ACEOF 
    8282 cat confdefs.h >>conftest.$ac_ext 
    8283 cat >>conftest.$ac_ext <<_ACEOF 
    8284 /* end confdefs.h.  */ 
    8285 #include <sys/select.h> 
    8286 _ACEOF 
    8287 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8288 case "(($ac_try" in 
    8289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8290   *) ac_try_echo=$ac_try;; 
    8291 esac 
    8292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8293 $as_echo "$ac_try_echo") >&5 
    8294   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8295   ac_status=$? 
    8296   grep -v '^ *+' conftest.er1 >conftest.err 
    8297   rm -f conftest.er1 
    8298   cat conftest.err >&5 
    8299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8300   (exit $ac_status); } >/dev/null && { 
    8301          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8302          test ! -s conftest.err 
    8303        }; then 
    8304   ac_header_preproc=yes 
    8305 else 
    8306   $as_echo "$as_me: failed program was:" >&5 
    8307 sed 's/^/| /' conftest.$ac_ext >&5 
    8308  
    8309   ac_header_preproc=no 
    8310 fi 
    8311  
    8312 rm -f conftest.err conftest.$ac_ext 
    8313 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8314 $as_echo "$ac_header_preproc" >&6; } 
    8315  
    8316 # So?  What about this header? 
    8317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8318   yes:no: ) 
    8319     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8320 $as_echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8321     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    8322 $as_echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    8323     ac_header_preproc=yes 
    8324     ;; 
    8325   no:yes:* ) 
    8326     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    8327 $as_echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    8328     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    8329 $as_echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    8330     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    8331 $as_echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    8332     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8333 $as_echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8334     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    8335 $as_echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    8336     { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    8337 $as_echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    8338  
    8339     ;; 
    8340 esac 
    8341 { $as_echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8342 $as_echo_n "checking for sys/select.h... " >&6; } 
    8343 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8344   $as_echo_n "(cached) " >&6 
    8345 else 
    8346   ac_cv_header_sys_select_h=$ac_header_preproc 
    8347 fi 
    8348 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8349 $as_echo "$ac_cv_header_sys_select_h" >&6; } 
    8350  
    8351 fi 
    8352 if test $ac_cv_header_sys_select_h = yes; then 
    8353   cat >>confdefs.h <<\_ACEOF 
    8354 #define PJ_HAS_SYS_SELECT_H 1 
    8355 _ACEOF 
    8356  
    8357 fi 
    8358  
    8359  
    8360 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8361   { $as_echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8362 $as_echo_n "checking for sys/socket.h... " >&6; } 
    8363 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8364   $as_echo_n "(cached) " >&6 
    8365 fi 
    8366 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8367 $as_echo "$ac_cv_header_sys_socket_h" >&6; } 
    8368 else 
    8369   # Is the header compilable? 
    8370 { $as_echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    8371 $as_echo_n "checking sys/socket.h usability... " >&6; } 
    8372 cat >conftest.$ac_ext <<_ACEOF 
    8373 /* confdefs.h.  */ 
    8374 _ACEOF 
    8375 cat confdefs.h >>conftest.$ac_ext 
    8376 cat >>conftest.$ac_ext <<_ACEOF 
    8377 /* end confdefs.h.  */ 
    8378 $ac_includes_default 
    8379 #include <sys/socket.h> 
    8380 _ACEOF 
    8381 rm -f conftest.$ac_objext 
    8382 if { (ac_try="$ac_compile" 
    8383 case "(($ac_try" in 
    8384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8385   *) ac_try_echo=$ac_try;; 
    8386 esac 
    8387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8388 $as_echo "$ac_try_echo") >&5 
    8389   (eval "$ac_compile") 2>conftest.er1 
    8390   ac_status=$? 
    8391   grep -v '^ *+' conftest.er1 >conftest.err 
    8392   rm -f conftest.er1 
    8393   cat conftest.err >&5 
    8394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8395   (exit $ac_status); } && { 
    8396          test -z "$ac_c_werror_flag" || 
    8397          test ! -s conftest.err 
    8398        } && test -s conftest.$ac_objext; then 
    8399   ac_header_compiler=yes 
    8400 else 
    8401   $as_echo "$as_me: failed program was:" >&5 
    8402 sed 's/^/| /' conftest.$ac_ext >&5 
    8403  
    8404         ac_header_compiler=no 
    8405 fi 
    8406  
    8407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8408 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8409 $as_echo "$ac_header_compiler" >&6; } 
    8410  
    8411 # Is the header present? 
    8412 { $as_echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    8413 $as_echo_n "checking sys/socket.h presence... " >&6; } 
    8414 cat >conftest.$ac_ext <<_ACEOF 
    8415 /* confdefs.h.  */ 
    8416 _ACEOF 
    8417 cat confdefs.h >>conftest.$ac_ext 
    8418 cat >>conftest.$ac_ext <<_ACEOF 
    8419 /* end confdefs.h.  */ 
    8420 #include <sys/socket.h> 
    8421 _ACEOF 
    8422 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8423 case "(($ac_try" in 
    8424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8425   *) ac_try_echo=$ac_try;; 
    8426 esac 
    8427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8428 $as_echo "$ac_try_echo") >&5 
    8429   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8430   ac_status=$? 
    8431   grep -v '^ *+' conftest.er1 >conftest.err 
    8432   rm -f conftest.er1 
    8433   cat conftest.err >&5 
    8434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8435   (exit $ac_status); } >/dev/null && { 
    8436          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8437          test ! -s conftest.err 
    8438        }; then 
    8439   ac_header_preproc=yes 
    8440 else 
    8441   $as_echo "$as_me: failed program was:" >&5 
    8442 sed 's/^/| /' conftest.$ac_ext >&5 
    8443  
    8444   ac_header_preproc=no 
    8445 fi 
    8446  
    8447 rm -f conftest.err conftest.$ac_ext 
    8448 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8449 $as_echo "$ac_header_preproc" >&6; } 
    8450  
    8451 # So?  What about this header? 
    8452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8453   yes:no: ) 
    8454     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8455 $as_echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8456     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    8457 $as_echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    8458     ac_header_preproc=yes 
    8459     ;; 
    8460   no:yes:* ) 
    8461     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    8462 $as_echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    8463     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    8464 $as_echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    8465     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    8466 $as_echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    8467     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8468 $as_echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8469     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    8470 $as_echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    8471     { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    8472 $as_echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    8473  
    8474     ;; 
    8475 esac 
    8476 { $as_echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8477 $as_echo_n "checking for sys/socket.h... " >&6; } 
    8478 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8479   $as_echo_n "(cached) " >&6 
    8480 else 
    8481   ac_cv_header_sys_socket_h=$ac_header_preproc 
    8482 fi 
    8483 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8484 $as_echo "$ac_cv_header_sys_socket_h" >&6; } 
    8485  
    8486 fi 
    8487 if test $ac_cv_header_sys_socket_h = yes; then 
    8488   cat >>confdefs.h <<\_ACEOF 
    8489 #define PJ_HAS_SYS_SOCKET_H 1 
    8490 _ACEOF 
    8491  
    8492 fi 
    8493  
    8494  
    8495 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8496   { $as_echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8497 $as_echo_n "checking for sys/time.h... " >&6; } 
    8498 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8499   $as_echo_n "(cached) " >&6 
    8500 fi 
    8501 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8502 $as_echo "$ac_cv_header_sys_time_h" >&6; } 
    8503 else 
    8504   # Is the header compilable? 
    8505 { $as_echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    8506 $as_echo_n "checking sys/time.h usability... " >&6; } 
    8507 cat >conftest.$ac_ext <<_ACEOF 
    8508 /* confdefs.h.  */ 
    8509 _ACEOF 
    8510 cat confdefs.h >>conftest.$ac_ext 
    8511 cat >>conftest.$ac_ext <<_ACEOF 
    8512 /* end confdefs.h.  */ 
    8513 $ac_includes_default 
    8514 #include <sys/time.h> 
    8515 _ACEOF 
    8516 rm -f conftest.$ac_objext 
    8517 if { (ac_try="$ac_compile" 
    8518 case "(($ac_try" in 
    8519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8520   *) ac_try_echo=$ac_try;; 
    8521 esac 
    8522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8523 $as_echo "$ac_try_echo") >&5 
    8524   (eval "$ac_compile") 2>conftest.er1 
    8525   ac_status=$? 
    8526   grep -v '^ *+' conftest.er1 >conftest.err 
    8527   rm -f conftest.er1 
    8528   cat conftest.err >&5 
    8529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8530   (exit $ac_status); } && { 
    8531          test -z "$ac_c_werror_flag" || 
    8532          test ! -s conftest.err 
    8533        } && test -s conftest.$ac_objext; then 
    8534   ac_header_compiler=yes 
    8535 else 
    8536   $as_echo "$as_me: failed program was:" >&5 
    8537 sed 's/^/| /' conftest.$ac_ext >&5 
    8538  
    8539         ac_header_compiler=no 
    8540 fi 
    8541  
    8542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8543 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8544 $as_echo "$ac_header_compiler" >&6; } 
    8545  
    8546 # Is the header present? 
    8547 { $as_echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    8548 $as_echo_n "checking sys/time.h presence... " >&6; } 
    8549 cat >conftest.$ac_ext <<_ACEOF 
    8550 /* confdefs.h.  */ 
    8551 _ACEOF 
    8552 cat confdefs.h >>conftest.$ac_ext 
    8553 cat >>conftest.$ac_ext <<_ACEOF 
    8554 /* end confdefs.h.  */ 
    8555 #include <sys/time.h> 
    8556 _ACEOF 
    8557 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8558 case "(($ac_try" in 
    8559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8560   *) ac_try_echo=$ac_try;; 
    8561 esac 
    8562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8563 $as_echo "$ac_try_echo") >&5 
    8564   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8565   ac_status=$? 
    8566   grep -v '^ *+' conftest.er1 >conftest.err 
    8567   rm -f conftest.er1 
    8568   cat conftest.err >&5 
    8569   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8570   (exit $ac_status); } >/dev/null && { 
    8571          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8572          test ! -s conftest.err 
    8573        }; then 
    8574   ac_header_preproc=yes 
    8575 else 
    8576   $as_echo "$as_me: failed program was:" >&5 
    8577 sed 's/^/| /' conftest.$ac_ext >&5 
    8578  
    8579   ac_header_preproc=no 
    8580 fi 
    8581  
    8582 rm -f conftest.err conftest.$ac_ext 
    8583 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8584 $as_echo "$ac_header_preproc" >&6; } 
    8585  
    8586 # So?  What about this header? 
    8587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8588   yes:no: ) 
    8589     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8590 $as_echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8591     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    8592 $as_echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    8593     ac_header_preproc=yes 
    8594     ;; 
    8595   no:yes:* ) 
    8596     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    8597 $as_echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    8598     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    8599 $as_echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    8600     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    8601 $as_echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    8602     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8603 $as_echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8604     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    8605 $as_echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    8606     { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    8607 $as_echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    8608  
    8609     ;; 
    8610 esac 
    8611 { $as_echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8612 $as_echo_n "checking for sys/time.h... " >&6; } 
    8613 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8614   $as_echo_n "(cached) " >&6 
    8615 else 
    8616   ac_cv_header_sys_time_h=$ac_header_preproc 
    8617 fi 
    8618 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8619 $as_echo "$ac_cv_header_sys_time_h" >&6; } 
    8620  
    8621 fi 
    8622 if test $ac_cv_header_sys_time_h = yes; then 
    8623   cat >>confdefs.h <<\_ACEOF 
    8624 #define PJ_HAS_SYS_TIME_H 1 
    8625 _ACEOF 
    8626  
    8627 fi 
    8628  
    8629  
    8630 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8631   { $as_echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8632 $as_echo_n "checking for sys/timeb.h... " >&6; } 
    8633 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8634   $as_echo_n "(cached) " >&6 
    8635 fi 
    8636 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8637 $as_echo "$ac_cv_header_sys_timeb_h" >&6; } 
    8638 else 
    8639   # Is the header compilable? 
    8640 { $as_echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    8641 $as_echo_n "checking sys/timeb.h usability... " >&6; } 
    8642 cat >conftest.$ac_ext <<_ACEOF 
    8643 /* confdefs.h.  */ 
    8644 _ACEOF 
    8645 cat confdefs.h >>conftest.$ac_ext 
    8646 cat >>conftest.$ac_ext <<_ACEOF 
    8647 /* end confdefs.h.  */ 
    8648 $ac_includes_default 
    8649 #include <sys/timeb.h> 
    8650 _ACEOF 
    8651 rm -f conftest.$ac_objext 
    8652 if { (ac_try="$ac_compile" 
    8653 case "(($ac_try" in 
    8654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8655   *) ac_try_echo=$ac_try;; 
    8656 esac 
    8657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8658 $as_echo "$ac_try_echo") >&5 
    8659   (eval "$ac_compile") 2>conftest.er1 
    8660   ac_status=$? 
    8661   grep -v '^ *+' conftest.er1 >conftest.err 
    8662   rm -f conftest.er1 
    8663   cat conftest.err >&5 
    8664   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8665   (exit $ac_status); } && { 
    8666          test -z "$ac_c_werror_flag" || 
    8667          test ! -s conftest.err 
    8668        } && test -s conftest.$ac_objext; then 
    8669   ac_header_compiler=yes 
    8670 else 
    8671   $as_echo "$as_me: failed program was:" >&5 
    8672 sed 's/^/| /' conftest.$ac_ext >&5 
    8673  
    8674         ac_header_compiler=no 
    8675 fi 
    8676  
    8677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8678 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8679 $as_echo "$ac_header_compiler" >&6; } 
    8680  
    8681 # Is the header present? 
    8682 { $as_echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    8683 $as_echo_n "checking sys/timeb.h presence... " >&6; } 
    8684 cat >conftest.$ac_ext <<_ACEOF 
    8685 /* confdefs.h.  */ 
    8686 _ACEOF 
    8687 cat confdefs.h >>conftest.$ac_ext 
    8688 cat >>conftest.$ac_ext <<_ACEOF 
    8689 /* end confdefs.h.  */ 
    8690 #include <sys/timeb.h> 
    8691 _ACEOF 
    8692 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8693 case "(($ac_try" in 
    8694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8695   *) ac_try_echo=$ac_try;; 
    8696 esac 
    8697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8698 $as_echo "$ac_try_echo") >&5 
    8699   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8700   ac_status=$? 
    8701   grep -v '^ *+' conftest.er1 >conftest.err 
    8702   rm -f conftest.er1 
    8703   cat conftest.err >&5 
    8704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8705   (exit $ac_status); } >/dev/null && { 
    8706          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8707          test ! -s conftest.err 
    8708        }; then 
    8709   ac_header_preproc=yes 
    8710 else 
    8711   $as_echo "$as_me: failed program was:" >&5 
    8712 sed 's/^/| /' conftest.$ac_ext >&5 
    8713  
    8714   ac_header_preproc=no 
    8715 fi 
    8716  
    8717 rm -f conftest.err conftest.$ac_ext 
    8718 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8719 $as_echo "$ac_header_preproc" >&6; } 
    8720  
    8721 # So?  What about this header? 
    8722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8723   yes:no: ) 
    8724     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8725 $as_echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8726     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    8727 $as_echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    8728     ac_header_preproc=yes 
    8729     ;; 
    8730   no:yes:* ) 
    8731     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    8732 $as_echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    8733     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    8734 $as_echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    8735     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    8736 $as_echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    8737     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8738 $as_echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8739     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    8740 $as_echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    8741     { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    8742 $as_echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    8743  
    8744     ;; 
    8745 esac 
    8746 { $as_echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8747 $as_echo_n "checking for sys/timeb.h... " >&6; } 
    8748 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8749   $as_echo_n "(cached) " >&6 
    8750 else 
    8751   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    8752 fi 
    8753 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8754 $as_echo "$ac_cv_header_sys_timeb_h" >&6; } 
    8755  
    8756 fi 
    8757 if test $ac_cv_header_sys_timeb_h = yes; then 
    8758   cat >>confdefs.h <<\_ACEOF 
    8759 #define PJ_HAS_SYS_TIMEB_H 1 
    8760 _ACEOF 
    8761  
    8762 fi 
    8763  
    8764  
    8765 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8766   { $as_echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8767 $as_echo_n "checking for sys/types.h... " >&6; } 
    8768 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8769   $as_echo_n "(cached) " >&6 
    8770 fi 
    8771 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8772 $as_echo "$ac_cv_header_sys_types_h" >&6; } 
    8773 else 
    8774   # Is the header compilable? 
    8775 { $as_echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    8776 $as_echo_n "checking sys/types.h usability... " >&6; } 
    8777 cat >conftest.$ac_ext <<_ACEOF 
    8778 /* confdefs.h.  */ 
    8779 _ACEOF 
    8780 cat confdefs.h >>conftest.$ac_ext 
    8781 cat >>conftest.$ac_ext <<_ACEOF 
    8782 /* end confdefs.h.  */ 
    8783 $ac_includes_default 
    8784 #include <sys/types.h> 
    8785 _ACEOF 
    8786 rm -f conftest.$ac_objext 
    8787 if { (ac_try="$ac_compile" 
    8788 case "(($ac_try" in 
    8789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8790   *) ac_try_echo=$ac_try;; 
    8791 esac 
    8792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8793 $as_echo "$ac_try_echo") >&5 
    8794   (eval "$ac_compile") 2>conftest.er1 
    8795   ac_status=$? 
    8796   grep -v '^ *+' conftest.er1 >conftest.err 
    8797   rm -f conftest.er1 
    8798   cat conftest.err >&5 
    8799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8800   (exit $ac_status); } && { 
    8801          test -z "$ac_c_werror_flag" || 
    8802          test ! -s conftest.err 
    8803        } && test -s conftest.$ac_objext; then 
    8804   ac_header_compiler=yes 
    8805 else 
    8806   $as_echo "$as_me: failed program was:" >&5 
    8807 sed 's/^/| /' conftest.$ac_ext >&5 
    8808  
    8809         ac_header_compiler=no 
    8810 fi 
    8811  
    8812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8813 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8814 $as_echo "$ac_header_compiler" >&6; } 
    8815  
    8816 # Is the header present? 
    8817 { $as_echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    8818 $as_echo_n "checking sys/types.h presence... " >&6; } 
    8819 cat >conftest.$ac_ext <<_ACEOF 
    8820 /* confdefs.h.  */ 
    8821 _ACEOF 
    8822 cat confdefs.h >>conftest.$ac_ext 
    8823 cat >>conftest.$ac_ext <<_ACEOF 
    8824 /* end confdefs.h.  */ 
    8825 #include <sys/types.h> 
    8826 _ACEOF 
    8827 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8828 case "(($ac_try" in 
    8829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8830   *) ac_try_echo=$ac_try;; 
    8831 esac 
    8832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8833 $as_echo "$ac_try_echo") >&5 
    8834   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8835   ac_status=$? 
    8836   grep -v '^ *+' conftest.er1 >conftest.err 
    8837   rm -f conftest.er1 
    8838   cat conftest.err >&5 
    8839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8840   (exit $ac_status); } >/dev/null && { 
    8841          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8842          test ! -s conftest.err 
    8843        }; then 
    8844   ac_header_preproc=yes 
    8845 else 
    8846   $as_echo "$as_me: failed program was:" >&5 
    8847 sed 's/^/| /' conftest.$ac_ext >&5 
    8848  
    8849   ac_header_preproc=no 
    8850 fi 
    8851  
    8852 rm -f conftest.err conftest.$ac_ext 
    8853 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8854 $as_echo "$ac_header_preproc" >&6; } 
    8855  
    8856 # So?  What about this header? 
    8857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8858   yes:no: ) 
    8859     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8860 $as_echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8861     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    8862 $as_echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    8863     ac_header_preproc=yes 
    8864     ;; 
    8865   no:yes:* ) 
    8866     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    8867 $as_echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    8868     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    8869 $as_echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    8870     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    8871 $as_echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    8872     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8873 $as_echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8874     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    8875 $as_echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    8876     { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    8877 $as_echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    8878  
    8879     ;; 
    8880 esac 
    8881 { $as_echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8882 $as_echo_n "checking for sys/types.h... " >&6; } 
    8883 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8884   $as_echo_n "(cached) " >&6 
    8885 else 
    8886   ac_cv_header_sys_types_h=$ac_header_preproc 
    8887 fi 
    8888 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8889 $as_echo "$ac_cv_header_sys_types_h" >&6; } 
    8890  
    8891 fi 
    8892 if test $ac_cv_header_sys_types_h = yes; then 
    8893   cat >>confdefs.h <<\_ACEOF 
    8894 #define PJ_HAS_SYS_TYPES_H 1 
    8895 _ACEOF 
    8896  
    8897 fi 
    8898  
    8899  
    8900 if test "${ac_cv_header_time_h+set}" = set; then 
    8901   { $as_echo "$as_me:$LINENO: checking for time.h" >&5 
    8902 $as_echo_n "checking for time.h... " >&6; } 
    8903 if test "${ac_cv_header_time_h+set}" = set; then 
    8904   $as_echo_n "(cached) " >&6 
    8905 fi 
    8906 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    8907 $as_echo "$ac_cv_header_time_h" >&6; } 
    8908 else 
    8909   # Is the header compilable? 
    8910 { $as_echo "$as_me:$LINENO: checking time.h usability" >&5 
    8911 $as_echo_n "checking time.h usability... " >&6; } 
    8912 cat >conftest.$ac_ext <<_ACEOF 
    8913 /* confdefs.h.  */ 
    8914 _ACEOF 
    8915 cat confdefs.h >>conftest.$ac_ext 
    8916 cat >>conftest.$ac_ext <<_ACEOF 
    8917 /* end confdefs.h.  */ 
    8918 $ac_includes_default 
    8919 #include <time.h> 
    8920 _ACEOF 
    8921 rm -f conftest.$ac_objext 
    8922 if { (ac_try="$ac_compile" 
    8923 case "(($ac_try" in 
    8924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8925   *) ac_try_echo=$ac_try;; 
    8926 esac 
    8927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8928 $as_echo "$ac_try_echo") >&5 
    8929   (eval "$ac_compile") 2>conftest.er1 
    8930   ac_status=$? 
    8931   grep -v '^ *+' conftest.er1 >conftest.err 
    8932   rm -f conftest.er1 
    8933   cat conftest.err >&5 
    8934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8935   (exit $ac_status); } && { 
    8936          test -z "$ac_c_werror_flag" || 
    8937          test ! -s conftest.err 
    8938        } && test -s conftest.$ac_objext; then 
    8939   ac_header_compiler=yes 
    8940 else 
    8941   $as_echo "$as_me: failed program was:" >&5 
    8942 sed 's/^/| /' conftest.$ac_ext >&5 
    8943  
    8944         ac_header_compiler=no 
    8945 fi 
    8946  
    8947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8948 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8949 $as_echo "$ac_header_compiler" >&6; } 
    8950  
    8951 # Is the header present? 
    8952 { $as_echo "$as_me:$LINENO: checking time.h presence" >&5 
    8953 $as_echo_n "checking time.h presence... " >&6; } 
    8954 cat >conftest.$ac_ext <<_ACEOF 
    8955 /* confdefs.h.  */ 
    8956 _ACEOF 
    8957 cat confdefs.h >>conftest.$ac_ext 
    8958 cat >>conftest.$ac_ext <<_ACEOF 
    8959 /* end confdefs.h.  */ 
    8960 #include <time.h> 
    8961 _ACEOF 
    8962 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8963 case "(($ac_try" in 
    8964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8965   *) ac_try_echo=$ac_try;; 
    8966 esac 
    8967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    8968 $as_echo "$ac_try_echo") >&5 
    8969   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8970   ac_status=$? 
    8971   grep -v '^ *+' conftest.er1 >conftest.err 
    8972   rm -f conftest.er1 
    8973   cat conftest.err >&5 
    8974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8975   (exit $ac_status); } >/dev/null && { 
    8976          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8977          test ! -s conftest.err 
    8978        }; then 
    8979   ac_header_preproc=yes 
    8980 else 
    8981   $as_echo "$as_me: failed program was:" >&5 
    8982 sed 's/^/| /' conftest.$ac_ext >&5 
    8983  
    8984   ac_header_preproc=no 
    8985 fi 
    8986  
    8987 rm -f conftest.err conftest.$ac_ext 
    8988 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8989 $as_echo "$ac_header_preproc" >&6; } 
    8990  
    8991 # So?  What about this header? 
    8992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8993   yes:no: ) 
    8994     { $as_echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8995 $as_echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8996     { $as_echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    8997 $as_echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    8998     ac_header_preproc=yes 
    8999     ;; 
    9000   no:yes:* ) 
    9001     { $as_echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    9002 $as_echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    9003     { $as_echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    9004 $as_echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    9005     { $as_echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    9006 $as_echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    9007     { $as_echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9008 $as_echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9009     { $as_echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    9010 $as_echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    9011     { $as_echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    9012 $as_echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    9013  
    9014     ;; 
    9015 esac 
    9016 { $as_echo "$as_me:$LINENO: checking for time.h" >&5 
    9017 $as_echo_n "checking for time.h... " >&6; } 
    9018 if test "${ac_cv_header_time_h+set}" = set; then 
    9019   $as_echo_n "(cached) " >&6 
    9020 else 
    9021   ac_cv_header_time_h=$ac_header_preproc 
    9022 fi 
    9023 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9024 $as_echo "$ac_cv_header_time_h" >&6; } 
    9025  
    9026 fi 
    9027 if test $ac_cv_header_time_h = yes; then 
    9028   cat >>confdefs.h <<\_ACEOF 
    9029 #define PJ_HAS_TIME_H 1 
    9030 _ACEOF 
    9031  
    9032 fi 
    9033  
    9034  
    9035 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9036   { $as_echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9037 $as_echo_n "checking for unistd.h... " >&6; } 
    9038 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9039   $as_echo_n "(cached) " >&6 
    9040 fi 
    9041 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9042 $as_echo "$ac_cv_header_unistd_h" >&6; } 
    9043 else 
    9044   # Is the header compilable? 
    9045 { $as_echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    9046 $as_echo_n "checking unistd.h usability... " >&6; } 
    9047 cat >conftest.$ac_ext <<_ACEOF 
    9048 /* confdefs.h.  */ 
    9049 _ACEOF 
    9050 cat confdefs.h >>conftest.$ac_ext 
    9051 cat >>conftest.$ac_ext <<_ACEOF 
    9052 /* end confdefs.h.  */ 
    9053 $ac_includes_default 
    9054 #include <unistd.h> 
    9055 _ACEOF 
    9056 rm -f conftest.$ac_objext 
    9057 if { (ac_try="$ac_compile" 
    9058 case "(($ac_try" in 
    9059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9060   *) ac_try_echo=$ac_try;; 
    9061 esac 
    9062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9063 $as_echo "$ac_try_echo") >&5 
    9064   (eval "$ac_compile") 2>conftest.er1 
    9065   ac_status=$? 
    9066   grep -v '^ *+' conftest.er1 >conftest.err 
    9067   rm -f conftest.er1 
    9068   cat conftest.err >&5 
    9069   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9070   (exit $ac_status); } && { 
    9071          test -z "$ac_c_werror_flag" || 
    9072          test ! -s conftest.err 
    9073        } && test -s conftest.$ac_objext; then 
    9074   ac_header_compiler=yes 
    9075 else 
    9076   $as_echo "$as_me: failed program was:" >&5 
    9077 sed 's/^/| /' conftest.$ac_ext >&5 
    9078  
    9079         ac_header_compiler=no 
    9080 fi 
    9081  
    9082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9083 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9084 $as_echo "$ac_header_compiler" >&6; } 
    9085  
    9086 # Is the header present? 
    9087 { $as_echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    9088 $as_echo_n "checking unistd.h presence... " >&6; } 
    9089 cat >conftest.$ac_ext <<_ACEOF 
    9090 /* confdefs.h.  */ 
    9091 _ACEOF 
    9092 cat confdefs.h >>conftest.$ac_ext 
    9093 cat >>conftest.$ac_ext <<_ACEOF 
    9094 /* end confdefs.h.  */ 
    9095 #include <unistd.h> 
    9096 _ACEOF 
    9097 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9098 case "(($ac_try" in 
    9099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9100   *) ac_try_echo=$ac_try;; 
    9101 esac 
    9102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9103 $as_echo "$ac_try_echo") >&5 
    9104   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9105   ac_status=$? 
    9106   grep -v '^ *+' conftest.er1 >conftest.err 
    9107   rm -f conftest.er1 
    9108   cat conftest.err >&5 
    9109   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9110   (exit $ac_status); } >/dev/null && { 
    9111          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9112          test ! -s conftest.err 
    9113        }; then 
    9114   ac_header_preproc=yes 
    9115 else 
    9116   $as_echo "$as_me: failed program was:" >&5 
    9117 sed 's/^/| /' conftest.$ac_ext >&5 
    9118  
    9119   ac_header_preproc=no 
    9120 fi 
    9121  
    9122 rm -f conftest.err conftest.$ac_ext 
    9123 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9124 $as_echo "$ac_header_preproc" >&6; } 
    9125  
    9126 # So?  What about this header? 
    9127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9128   yes:no: ) 
    9129     { $as_echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9130 $as_echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9131     { $as_echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    9132 $as_echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    9133     ac_header_preproc=yes 
    9134     ;; 
    9135   no:yes:* ) 
    9136     { $as_echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    9137 $as_echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    9138     { $as_echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    9139 $as_echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    9140     { $as_echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    9141 $as_echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    9142     { $as_echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9143 $as_echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9144     { $as_echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    9145 $as_echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    9146     { $as_echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    9147 $as_echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    9148  
    9149     ;; 
    9150 esac 
    9151 { $as_echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9152 $as_echo_n "checking for unistd.h... " >&6; } 
    9153 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9154   $as_echo_n "(cached) " >&6 
    9155 else 
    9156   ac_cv_header_unistd_h=$ac_header_preproc 
    9157 fi 
    9158 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9159 $as_echo "$ac_cv_header_unistd_h" >&6; } 
    9160  
    9161 fi 
    9162 if test $ac_cv_header_unistd_h = yes; then 
    9163   cat >>confdefs.h <<\_ACEOF 
    9164 #define PJ_HAS_UNISTD_H 1 
    9165 _ACEOF 
    9166  
    9167 fi 
    9168  
    9169  
    9170 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9171   { $as_echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9172 $as_echo_n "checking for winsock.h... " >&6; } 
    9173 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9174   $as_echo_n "(cached) " >&6 
    9175 fi 
    9176 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9177 $as_echo "$ac_cv_header_winsock_h" >&6; } 
    9178 else 
    9179   # Is the header compilable? 
    9180 { $as_echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    9181 $as_echo_n "checking winsock.h usability... " >&6; } 
    9182 cat >conftest.$ac_ext <<_ACEOF 
    9183 /* confdefs.h.  */ 
    9184 _ACEOF 
    9185 cat confdefs.h >>conftest.$ac_ext 
    9186 cat >>conftest.$ac_ext <<_ACEOF 
    9187 /* end confdefs.h.  */ 
    9188 $ac_includes_default 
    9189 #include <winsock.h> 
    9190 _ACEOF 
    9191 rm -f conftest.$ac_objext 
    9192 if { (ac_try="$ac_compile" 
    9193 case "(($ac_try" in 
    9194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9195   *) ac_try_echo=$ac_try;; 
    9196 esac 
    9197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9198 $as_echo "$ac_try_echo") >&5 
    9199   (eval "$ac_compile") 2>conftest.er1 
    9200   ac_status=$? 
    9201   grep -v '^ *+' conftest.er1 >conftest.err 
    9202   rm -f conftest.er1 
    9203   cat conftest.err >&5 
    9204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9205   (exit $ac_status); } && { 
    9206          test -z "$ac_c_werror_flag" || 
    9207          test ! -s conftest.err 
    9208        } && test -s conftest.$ac_objext; then 
    9209   ac_header_compiler=yes 
    9210 else 
    9211   $as_echo "$as_me: failed program was:" >&5 
    9212 sed 's/^/| /' conftest.$ac_ext >&5 
    9213  
    9214         ac_header_compiler=no 
    9215 fi 
    9216  
    9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9218 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9219 $as_echo "$ac_header_compiler" >&6; } 
    9220  
    9221 # Is the header present? 
    9222 { $as_echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    9223 $as_echo_n "checking winsock.h presence... " >&6; } 
    9224 cat >conftest.$ac_ext <<_ACEOF 
    9225 /* confdefs.h.  */ 
    9226 _ACEOF 
    9227 cat confdefs.h >>conftest.$ac_ext 
    9228 cat >>conftest.$ac_ext <<_ACEOF 
    9229 /* end confdefs.h.  */ 
    9230 #include <winsock.h> 
    9231 _ACEOF 
    9232 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9233 case "(($ac_try" in 
    9234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9235   *) ac_try_echo=$ac_try;; 
    9236 esac 
    9237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9238 $as_echo "$ac_try_echo") >&5 
    9239   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9240   ac_status=$? 
    9241   grep -v '^ *+' conftest.er1 >conftest.err 
    9242   rm -f conftest.er1 
    9243   cat conftest.err >&5 
    9244   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9245   (exit $ac_status); } >/dev/null && { 
    9246          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9247          test ! -s conftest.err 
    9248        }; then 
    9249   ac_header_preproc=yes 
    9250 else 
    9251   $as_echo "$as_me: failed program was:" >&5 
    9252 sed 's/^/| /' conftest.$ac_ext >&5 
    9253  
    9254   ac_header_preproc=no 
    9255 fi 
    9256  
    9257 rm -f conftest.err conftest.$ac_ext 
    9258 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9259 $as_echo "$ac_header_preproc" >&6; } 
    9260  
    9261 # So?  What about this header? 
    9262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9263   yes:no: ) 
    9264     { $as_echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9265 $as_echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9266     { $as_echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    9267 $as_echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    9268     ac_header_preproc=yes 
    9269     ;; 
    9270   no:yes:* ) 
    9271     { $as_echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    9272 $as_echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    9273     { $as_echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    9274 $as_echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    9275     { $as_echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    9276 $as_echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    9277     { $as_echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9278 $as_echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9279     { $as_echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    9280 $as_echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    9281     { $as_echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    9282 $as_echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    9283  
    9284     ;; 
    9285 esac 
    9286 { $as_echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9287 $as_echo_n "checking for winsock.h... " >&6; } 
    9288 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9289   $as_echo_n "(cached) " >&6 
    9290 else 
    9291   ac_cv_header_winsock_h=$ac_header_preproc 
    9292 fi 
    9293 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9294 $as_echo "$ac_cv_header_winsock_h" >&6; } 
    9295  
    9296 fi 
    9297 if test $ac_cv_header_winsock_h = yes; then 
    9298   cat >>confdefs.h <<\_ACEOF 
    9299 #define PJ_HAS_WINSOCK_H 1 
    9300 _ACEOF 
    9301  
    9302 fi 
    9303  
    9304  
    9305 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9306   { $as_echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9307 $as_echo_n "checking for winsock2.h... " >&6; } 
    9308 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9309   $as_echo_n "(cached) " >&6 
    9310 fi 
    9311 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9312 $as_echo "$ac_cv_header_winsock2_h" >&6; } 
    9313 else 
    9314   # Is the header compilable? 
    9315 { $as_echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    9316 $as_echo_n "checking winsock2.h usability... " >&6; } 
    9317 cat >conftest.$ac_ext <<_ACEOF 
    9318 /* confdefs.h.  */ 
    9319 _ACEOF 
    9320 cat confdefs.h >>conftest.$ac_ext 
    9321 cat >>conftest.$ac_ext <<_ACEOF 
    9322 /* end confdefs.h.  */ 
    9323 $ac_includes_default 
    9324 #include <winsock2.h> 
    9325 _ACEOF 
    9326 rm -f conftest.$ac_objext 
    9327 if { (ac_try="$ac_compile" 
    9328 case "(($ac_try" in 
    9329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9330   *) ac_try_echo=$ac_try;; 
    9331 esac 
    9332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9333 $as_echo "$ac_try_echo") >&5 
    9334   (eval "$ac_compile") 2>conftest.er1 
    9335   ac_status=$? 
    9336   grep -v '^ *+' conftest.er1 >conftest.err 
    9337   rm -f conftest.er1 
    9338   cat conftest.err >&5 
    9339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9340   (exit $ac_status); } && { 
    9341          test -z "$ac_c_werror_flag" || 
    9342          test ! -s conftest.err 
    9343        } && test -s conftest.$ac_objext; then 
    9344   ac_header_compiler=yes 
    9345 else 
    9346   $as_echo "$as_me: failed program was:" >&5 
    9347 sed 's/^/| /' conftest.$ac_ext >&5 
    9348  
    9349         ac_header_compiler=no 
    9350 fi 
    9351  
    9352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9353 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9354 $as_echo "$ac_header_compiler" >&6; } 
    9355  
    9356 # Is the header present? 
    9357 { $as_echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    9358 $as_echo_n "checking winsock2.h presence... " >&6; } 
    9359 cat >conftest.$ac_ext <<_ACEOF 
    9360 /* confdefs.h.  */ 
    9361 _ACEOF 
    9362 cat confdefs.h >>conftest.$ac_ext 
    9363 cat >>conftest.$ac_ext <<_ACEOF 
    9364 /* end confdefs.h.  */ 
    9365 #include <winsock2.h> 
    9366 _ACEOF 
    9367 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9368 case "(($ac_try" in 
    9369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9370   *) ac_try_echo=$ac_try;; 
    9371 esac 
    9372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9373 $as_echo "$ac_try_echo") >&5 
    9374   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9375   ac_status=$? 
    9376   grep -v '^ *+' conftest.er1 >conftest.err 
    9377   rm -f conftest.er1 
    9378   cat conftest.err >&5 
    9379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9380   (exit $ac_status); } >/dev/null && { 
    9381          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9382          test ! -s conftest.err 
    9383        }; then 
    9384   ac_header_preproc=yes 
    9385 else 
    9386   $as_echo "$as_me: failed program was:" >&5 
    9387 sed 's/^/| /' conftest.$ac_ext >&5 
    9388  
    9389   ac_header_preproc=no 
    9390 fi 
    9391  
    9392 rm -f conftest.err conftest.$ac_ext 
    9393 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9394 $as_echo "$ac_header_preproc" >&6; } 
    9395  
    9396 # So?  What about this header? 
    9397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9398   yes:no: ) 
    9399     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9400 $as_echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9401     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    9402 $as_echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    9403     ac_header_preproc=yes 
    9404     ;; 
    9405   no:yes:* ) 
    9406     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    9407 $as_echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    9408     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    9409 $as_echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    9410     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    9411 $as_echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    9412     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9413 $as_echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9414     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    9415 $as_echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    9416     { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    9417 $as_echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    9418  
    9419     ;; 
    9420 esac 
    9421 { $as_echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9422 $as_echo_n "checking for winsock2.h... " >&6; } 
    9423 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9424   $as_echo_n "(cached) " >&6 
    9425 else 
    9426   ac_cv_header_winsock2_h=$ac_header_preproc 
    9427 fi 
    9428 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9429 $as_echo "$ac_cv_header_winsock2_h" >&6; } 
    9430  
    9431 fi 
    9432 if test $ac_cv_header_winsock2_h = yes; then 
    9433   cat >>confdefs.h <<\_ACEOF 
    9434 #define PJ_HAS_WINSOCK2_H 1 
    9435 _ACEOF 
    9436  
    9437 fi 
    9438  
    9439  
    9440 { $as_echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    9441 $as_echo_n "checking for mswsock.h... " >&6; } 
    9442 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    9443   $as_echo_n "(cached) " >&6 
    9444 else 
    9445   cat >conftest.$ac_ext <<_ACEOF 
    9446 /* confdefs.h.  */ 
    9447 _ACEOF 
    9448 cat confdefs.h >>conftest.$ac_ext 
    9449 cat >>conftest.$ac_ext <<_ACEOF 
    9450 /* end confdefs.h.  */ 
    9451 #if PJ_HAS_WINSOCK2_H 
     4601" 
     4602if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4603  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
     4604 
     4605fi 
     4606 
     4607 
     4608ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
     4609if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4610  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
     4611 
     4612fi 
     4613 
     4614 
     4615ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
     4616if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4617  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
     4618 
     4619fi 
     4620 
     4621 
     4622ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
     4623if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4624  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
     4625 
     4626fi 
     4627 
     4628 
     4629ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
     4630if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4631  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
     4632 
     4633fi 
     4634 
     4635 
     4636ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
     4637if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4638  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
     4639 
     4640fi 
     4641 
     4642 
     4643ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
     4644if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4645  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
     4646 
     4647fi 
     4648 
     4649 
     4650ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
     4651if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4652  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
     4653 
     4654fi 
     4655 
     4656 
     4657ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
     4658if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4659  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
     4660 
     4661fi 
     4662 
     4663 
     4664ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
     4665if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4666  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
     4667 
     4668fi 
     4669 
     4670 
     4671ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
     4672if test "x$ac_cv_header_string_h" = x""yes; then : 
     4673  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
     4674 
     4675fi 
     4676 
     4677 
     4678ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
     4679if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4680  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
     4681 
     4682fi 
     4683 
     4684 
     4685ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
     4686if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4687  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
     4688 
     4689fi 
     4690 
     4691 
     4692ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
     4693if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4694  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
     4695 
     4696fi 
     4697 
     4698 
     4699ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
     4700if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4701  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
     4702 
     4703fi 
     4704 
     4705 
     4706ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
     4707if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4708  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
     4709 
     4710fi 
     4711 
     4712 
     4713ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
     4714if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4715  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
     4716 
     4717fi 
     4718 
     4719 
     4720ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
     4721if test "x$ac_cv_header_time_h" = x""yes; then : 
     4722  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
     4723 
     4724fi 
     4725 
     4726 
     4727ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
     4728if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     4729  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
     4730 
     4731fi 
     4732 
     4733 
     4734ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
     4735if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     4736  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
     4737 
     4738fi 
     4739 
     4740 
     4741ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
     4742if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     4743  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
     4744 
     4745fi 
     4746 
     4747 
     4748ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
    94524749                  #     include <winsock2.h> 
    94534750                  #elif PJ_HAS_WINSOCK_H 
     
    94554752                  #endif 
    94564753 
    9457  
    9458 #include <mswsock.h> 
    9459 _ACEOF 
    9460 rm -f conftest.$ac_objext 
    9461 if { (ac_try="$ac_compile" 
    9462 case "(($ac_try" in 
    9463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9464   *) ac_try_echo=$ac_try;; 
    9465 esac 
    9466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9467 $as_echo "$ac_try_echo") >&5 
    9468   (eval "$ac_compile") 2>conftest.er1 
    9469   ac_status=$? 
    9470   grep -v '^ *+' conftest.er1 >conftest.err 
    9471   rm -f conftest.er1 
    9472   cat conftest.err >&5 
    9473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9474   (exit $ac_status); } && { 
    9475          test -z "$ac_c_werror_flag" || 
    9476          test ! -s conftest.err 
    9477        } && test -s conftest.$ac_objext; then 
    9478   ac_cv_header_mswsock_h=yes 
    9479 else 
    9480   $as_echo "$as_me: failed program was:" >&5 
    9481 sed 's/^/| /' conftest.$ac_ext >&5 
    9482  
    9483         ac_cv_header_mswsock_h=no 
    9484 fi 
    9485  
    9486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9487 fi 
    9488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    9489 $as_echo "$ac_cv_header_mswsock_h" >&6; } 
    9490 if test $ac_cv_header_mswsock_h = yes; then 
    9491   cat >>confdefs.h <<\_ACEOF 
    9492 #define PJ_HAS_MSWSOCK_H 1 
    9493 _ACEOF 
    9494  
    9495 fi 
    9496  
    9497  
    9498 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9499   { $as_echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9500 $as_echo_n "checking for ws2tcpip.h... " >&6; } 
    9501 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9502   $as_echo_n "(cached) " >&6 
    9503 fi 
    9504 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9505 $as_echo "$ac_cv_header_ws2tcpip_h" >&6; } 
    9506 else 
    9507   # Is the header compilable? 
    9508 { $as_echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
    9509 $as_echo_n "checking ws2tcpip.h usability... " >&6; } 
    9510 cat >conftest.$ac_ext <<_ACEOF 
    9511 /* confdefs.h.  */ 
    9512 _ACEOF 
    9513 cat confdefs.h >>conftest.$ac_ext 
    9514 cat >>conftest.$ac_ext <<_ACEOF 
    9515 /* end confdefs.h.  */ 
    9516 $ac_includes_default 
    9517 #include <ws2tcpip.h> 
    9518 _ACEOF 
    9519 rm -f conftest.$ac_objext 
    9520 if { (ac_try="$ac_compile" 
    9521 case "(($ac_try" in 
    9522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9523   *) ac_try_echo=$ac_try;; 
    9524 esac 
    9525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9526 $as_echo "$ac_try_echo") >&5 
    9527   (eval "$ac_compile") 2>conftest.er1 
    9528   ac_status=$? 
    9529   grep -v '^ *+' conftest.er1 >conftest.err 
    9530   rm -f conftest.er1 
    9531   cat conftest.err >&5 
    9532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9533   (exit $ac_status); } && { 
    9534          test -z "$ac_c_werror_flag" || 
    9535          test ! -s conftest.err 
    9536        } && test -s conftest.$ac_objext; then 
    9537   ac_header_compiler=yes 
    9538 else 
    9539   $as_echo "$as_me: failed program was:" >&5 
    9540 sed 's/^/| /' conftest.$ac_ext >&5 
    9541  
    9542         ac_header_compiler=no 
    9543 fi 
    9544  
    9545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9546 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9547 $as_echo "$ac_header_compiler" >&6; } 
    9548  
    9549 # Is the header present? 
    9550 { $as_echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
    9551 $as_echo_n "checking ws2tcpip.h presence... " >&6; } 
    9552 cat >conftest.$ac_ext <<_ACEOF 
    9553 /* confdefs.h.  */ 
    9554 _ACEOF 
    9555 cat confdefs.h >>conftest.$ac_ext 
    9556 cat >>conftest.$ac_ext <<_ACEOF 
    9557 /* end confdefs.h.  */ 
    9558 #include <ws2tcpip.h> 
    9559 _ACEOF 
    9560 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9561 case "(($ac_try" in 
    9562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9563   *) ac_try_echo=$ac_try;; 
    9564 esac 
    9565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9566 $as_echo "$ac_try_echo") >&5 
    9567   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9568   ac_status=$? 
    9569   grep -v '^ *+' conftest.er1 >conftest.err 
    9570   rm -f conftest.er1 
    9571   cat conftest.err >&5 
    9572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9573   (exit $ac_status); } >/dev/null && { 
    9574          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9575          test ! -s conftest.err 
    9576        }; then 
    9577   ac_header_preproc=yes 
    9578 else 
    9579   $as_echo "$as_me: failed program was:" >&5 
    9580 sed 's/^/| /' conftest.$ac_ext >&5 
    9581  
    9582   ac_header_preproc=no 
    9583 fi 
    9584  
    9585 rm -f conftest.err conftest.$ac_ext 
    9586 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9587 $as_echo "$ac_header_preproc" >&6; } 
    9588  
    9589 # So?  What about this header? 
    9590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9591   yes:no: ) 
    9592     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9593 $as_echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9594     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
    9595 $as_echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
    9596     ac_header_preproc=yes 
    9597     ;; 
    9598   no:yes:* ) 
    9599     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
    9600 $as_echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
    9601     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
    9602 $as_echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
    9603     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
    9604 $as_echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
    9605     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9606 $as_echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9607     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
    9608 $as_echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
    9609     { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
    9610 $as_echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
    9611  
    9612     ;; 
    9613 esac 
    9614 { $as_echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9615 $as_echo_n "checking for ws2tcpip.h... " >&6; } 
    9616 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9617   $as_echo_n "(cached) " >&6 
    9618 else 
    9619   ac_cv_header_ws2tcpip_h=$ac_header_preproc 
    9620 fi 
    9621 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9622 $as_echo "$ac_cv_header_ws2tcpip_h" >&6; } 
    9623  
    9624 fi 
    9625 if test $ac_cv_header_ws2tcpip_h = yes; then 
    9626   cat >>confdefs.h <<\_ACEOF 
    9627 #define PJ_HAS_WS2TCPIP_H 1 
    9628 _ACEOF 
    9629  
    9630 fi 
    9631  
    9632  
    9633 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9634   { $as_echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9635 $as_echo_n "checking for uuid/uuid.h... " >&6; } 
    9636 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9637   $as_echo_n "(cached) " >&6 
    9638 fi 
    9639 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9640 $as_echo "$ac_cv_header_uuid_uuid_h" >&6; } 
    9641 else 
    9642   # Is the header compilable? 
    9643 { $as_echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
    9644 $as_echo_n "checking uuid/uuid.h usability... " >&6; } 
    9645 cat >conftest.$ac_ext <<_ACEOF 
    9646 /* confdefs.h.  */ 
    9647 _ACEOF 
    9648 cat confdefs.h >>conftest.$ac_ext 
    9649 cat >>conftest.$ac_ext <<_ACEOF 
    9650 /* end confdefs.h.  */ 
    9651 $ac_includes_default 
    9652 #include <uuid/uuid.h> 
    9653 _ACEOF 
    9654 rm -f conftest.$ac_objext 
    9655 if { (ac_try="$ac_compile" 
    9656 case "(($ac_try" in 
    9657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9658   *) ac_try_echo=$ac_try;; 
    9659 esac 
    9660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9661 $as_echo "$ac_try_echo") >&5 
    9662   (eval "$ac_compile") 2>conftest.er1 
    9663   ac_status=$? 
    9664   grep -v '^ *+' conftest.er1 >conftest.err 
    9665   rm -f conftest.er1 
    9666   cat conftest.err >&5 
    9667   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9668   (exit $ac_status); } && { 
    9669          test -z "$ac_c_werror_flag" || 
    9670          test ! -s conftest.err 
    9671        } && test -s conftest.$ac_objext; then 
    9672   ac_header_compiler=yes 
    9673 else 
    9674   $as_echo "$as_me: failed program was:" >&5 
    9675 sed 's/^/| /' conftest.$ac_ext >&5 
    9676  
    9677         ac_header_compiler=no 
    9678 fi 
    9679  
    9680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9681 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9682 $as_echo "$ac_header_compiler" >&6; } 
    9683  
    9684 # Is the header present? 
    9685 { $as_echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
    9686 $as_echo_n "checking uuid/uuid.h presence... " >&6; } 
    9687 cat >conftest.$ac_ext <<_ACEOF 
    9688 /* confdefs.h.  */ 
    9689 _ACEOF 
    9690 cat confdefs.h >>conftest.$ac_ext 
    9691 cat >>conftest.$ac_ext <<_ACEOF 
    9692 /* end confdefs.h.  */ 
    9693 #include <uuid/uuid.h> 
    9694 _ACEOF 
    9695 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9696 case "(($ac_try" in 
    9697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9698   *) ac_try_echo=$ac_try;; 
    9699 esac 
    9700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9701 $as_echo "$ac_try_echo") >&5 
    9702   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9703   ac_status=$? 
    9704   grep -v '^ *+' conftest.er1 >conftest.err 
    9705   rm -f conftest.er1 
    9706   cat conftest.err >&5 
    9707   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9708   (exit $ac_status); } >/dev/null && { 
    9709          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9710          test ! -s conftest.err 
    9711        }; then 
    9712   ac_header_preproc=yes 
    9713 else 
    9714   $as_echo "$as_me: failed program was:" >&5 
    9715 sed 's/^/| /' conftest.$ac_ext >&5 
    9716  
    9717   ac_header_preproc=no 
    9718 fi 
    9719  
    9720 rm -f conftest.err conftest.$ac_ext 
    9721 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9722 $as_echo "$ac_header_preproc" >&6; } 
    9723  
    9724 # So?  What about this header? 
    9725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9726   yes:no: ) 
    9727     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9728 $as_echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9729     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
    9730 $as_echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
    9731     ac_header_preproc=yes 
    9732     ;; 
    9733   no:yes:* ) 
    9734     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
    9735 $as_echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
    9736     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
    9737 $as_echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
    9738     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
    9739 $as_echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
    9740     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9741 $as_echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9742     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
    9743 $as_echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
    9744     { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
    9745 $as_echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
    9746  
    9747     ;; 
    9748 esac 
    9749 { $as_echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9750 $as_echo_n "checking for uuid/uuid.h... " >&6; } 
    9751 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9752   $as_echo_n "(cached) " >&6 
    9753 else 
    9754   ac_cv_header_uuid_uuid_h=$ac_header_preproc 
    9755 fi 
    9756 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9757 $as_echo "$ac_cv_header_uuid_uuid_h" >&6; } 
    9758  
    9759 fi 
    9760 if test $ac_cv_header_uuid_uuid_h = yes; then 
     4754" 
     4755if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     4756  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
     4757 
     4758fi 
     4759 
     4760 
     4761ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
     4762if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     4763  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
     4764 
     4765fi 
     4766 
     4767 
     4768ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
     4769if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
    97614770  ac_has_uuid_h=1 
    97624771fi 
    97634772 
    97644773 
    9765 { $as_echo "$as_me:$LINENO: checking for net/if.h" >&5 
    9766 $as_echo_n "checking for net/if.h... " >&6; } 
    9767 if test "${ac_cv_header_net_if_h+set}" = set; then 
    9768   $as_echo_n "(cached) " >&6 
    9769 else 
    9770   cat >conftest.$ac_ext <<_ACEOF 
    9771 /* confdefs.h.  */ 
    9772 _ACEOF 
    9773 cat confdefs.h >>conftest.$ac_ext 
    9774 cat >>conftest.$ac_ext <<_ACEOF 
    9775 /* end confdefs.h.  */ 
    9776 #if PJ_HAS_SYS_TYPES_H 
     4774ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
    97774775                  #     include <sys/types.h> 
    97784776                  #endif 
     
    97824780                  #endif 
    97834781 
    9784  
    9785 #include <net/if.h> 
    9786 _ACEOF 
    9787 rm -f conftest.$ac_objext 
    9788 if { (ac_try="$ac_compile" 
    9789 case "(($ac_try" in 
    9790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9791   *) ac_try_echo=$ac_try;; 
    9792 esac 
    9793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9794 $as_echo "$ac_try_echo") >&5 
    9795   (eval "$ac_compile") 2>conftest.er1 
    9796   ac_status=$? 
    9797   grep -v '^ *+' conftest.er1 >conftest.err 
    9798   rm -f conftest.er1 
    9799   cat conftest.err >&5 
    9800   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9801   (exit $ac_status); } && { 
    9802          test -z "$ac_c_werror_flag" || 
    9803          test ! -s conftest.err 
    9804        } && test -s conftest.$ac_objext; then 
    9805   ac_cv_header_net_if_h=yes 
    9806 else 
    9807   $as_echo "$as_me: failed program was:" >&5 
    9808 sed 's/^/| /' conftest.$ac_ext >&5 
    9809  
    9810         ac_cv_header_net_if_h=no 
    9811 fi 
    9812  
    9813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9814 fi 
    9815 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
    9816 $as_echo "$ac_cv_header_net_if_h" >&6; } 
    9817 if test $ac_cv_header_net_if_h = yes; then 
    9818   cat >>confdefs.h <<\_ACEOF 
    9819 #define PJ_HAS_NET_IF_H 1 
    9820 _ACEOF 
    9821  
    9822 fi 
    9823  
    9824  
    9825 { $as_echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
     4782" 
     4783if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     4784  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
     4785 
     4786fi 
     4787 
     4788 
     4789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
    98264790$as_echo "Setting PJ_OS_NAME to $target" >&6; } 
    98274791cat >>confdefs.h <<_ACEOF 
     
    98304794 
    98314795 
    9832 { $as_echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     4796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    98334797$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    9834 cat >>confdefs.h <<\_ACEOF 
    9835 #define PJ_HAS_ERRNO_VAR 1 
    9836 _ACEOF 
    9837  
    9838  
    9839 { $as_echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     4798$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
     4799 
     4800 
     4801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    98404802$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    9841 cat >>confdefs.h <<\_ACEOF 
    9842 #define PJ_HAS_HIGH_RES_TIMER 1 
    9843 _ACEOF 
    9844  
    9845  
    9846 { $as_echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
     4803$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
     4804 
     4805 
     4806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
    98474807$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
    9848 cat >>confdefs.h <<\_ACEOF 
    9849 #define PJ_HAS_MALLOC 1 
    9850 _ACEOF 
    9851  
    9852  
    9853 { $as_echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     4808$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
     4809 
     4810 
     4811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    98544812$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    9855 cat >>confdefs.h <<\_ACEOF 
    9856 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    9857 _ACEOF 
    9858  
    9859  
    9860 { $as_echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     4813$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
     4814 
     4815 
     4816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    98614817$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    9862 cat >>confdefs.h <<\_ACEOF 
    9863 #define PJ_ATOMIC_VALUE_TYPE long 
    9864 _ACEOF 
    9865  
    9866  
    9867 { $as_echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
     4818$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
     4819 
     4820 
     4821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
    98684822$as_echo_n "checking if inet_aton() is available... " >&6; } 
    9869 cat >conftest.$ac_ext <<_ACEOF 
    9870 /* confdefs.h.  */ 
    9871 _ACEOF 
    9872 cat confdefs.h >>conftest.$ac_ext 
    9873 cat >>conftest.$ac_ext <<_ACEOF 
     4823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    98744824/* end confdefs.h.  */ 
    98754825#include <sys/types.h> 
     
    98844834} 
    98854835_ACEOF 
    9886 rm -f conftest.$ac_objext 
    9887 if { (ac_try="$ac_compile" 
    9888 case "(($ac_try" in 
    9889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9890   *) ac_try_echo=$ac_try;; 
    9891 esac 
    9892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9893 $as_echo "$ac_try_echo") >&5 
    9894   (eval "$ac_compile") 2>conftest.er1 
    9895   ac_status=$? 
    9896   grep -v '^ *+' conftest.er1 >conftest.err 
    9897   rm -f conftest.er1 
    9898   cat conftest.err >&5 
    9899   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9900   (exit $ac_status); } && { 
    9901          test -z "$ac_c_werror_flag" || 
    9902          test ! -s conftest.err 
    9903        } && test -s conftest.$ac_objext; then 
    9904   cat >>confdefs.h <<\_ACEOF 
    9905 #define PJ_SOCK_HAS_INET_ATON 1 
    9906 _ACEOF 
    9907  
    9908                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     4836if ac_fn_c_try_compile "$LINENO"; then : 
     4837  $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
     4838 
     4839                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    99094840$as_echo "yes" >&6; } 
    99104841else 
    9911   $as_echo "$as_me: failed program was:" >&5 
    9912 sed 's/^/| /' conftest.$ac_ext >&5 
    9913  
    9914         { $as_echo "$as_me:$LINENO: result: no" >&5 
     4842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    99154843$as_echo "no" >&6; } 
    99164844fi 
    9917  
    99184845rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    99194846 
    9920 { $as_echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
     4847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
    99214848$as_echo_n "checking if inet_pton() is available... " >&6; } 
    9922 cat >conftest.$ac_ext <<_ACEOF 
    9923 /* confdefs.h.  */ 
    9924 _ACEOF 
    9925 cat confdefs.h >>conftest.$ac_ext 
    9926 cat >>conftest.$ac_ext <<_ACEOF 
     4849cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    99274850/* end confdefs.h.  */ 
    99284851#include <sys/types.h> 
     
    99374860} 
    99384861_ACEOF 
    9939 rm -f conftest.$ac_objext 
    9940 if { (ac_try="$ac_compile" 
    9941 case "(($ac_try" in 
    9942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9943   *) ac_try_echo=$ac_try;; 
    9944 esac 
    9945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9946 $as_echo "$ac_try_echo") >&5 
    9947   (eval "$ac_compile") 2>conftest.er1 
    9948   ac_status=$? 
    9949   grep -v '^ *+' conftest.er1 >conftest.err 
    9950   rm -f conftest.er1 
    9951   cat conftest.err >&5 
    9952   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9953   (exit $ac_status); } && { 
    9954          test -z "$ac_c_werror_flag" || 
    9955          test ! -s conftest.err 
    9956        } && test -s conftest.$ac_objext; then 
    9957   cat >>confdefs.h <<\_ACEOF 
    9958 #define PJ_SOCK_HAS_INET_PTON 1 
    9959 _ACEOF 
    9960  
    9961                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     4862if ac_fn_c_try_compile "$LINENO"; then : 
     4863  $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
     4864 
     4865                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    99624866$as_echo "yes" >&6; } 
    99634867else 
    9964   $as_echo "$as_me: failed program was:" >&5 
    9965 sed 's/^/| /' conftest.$ac_ext >&5 
    9966  
    9967         { $as_echo "$as_me:$LINENO: result: no" >&5 
     4868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    99684869$as_echo "no" >&6; } 
    99694870fi 
    9970  
    99714871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    99724872 
    9973 { $as_echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
     4873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
    99744874$as_echo_n "checking if inet_ntop() is available... " >&6; } 
    9975 cat >conftest.$ac_ext <<_ACEOF 
    9976 /* confdefs.h.  */ 
    9977 _ACEOF 
    9978 cat confdefs.h >>conftest.$ac_ext 
    9979 cat >>conftest.$ac_ext <<_ACEOF 
     4875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    99804876/* end confdefs.h.  */ 
    99814877#include <sys/types.h> 
     
    99904886} 
    99914887_ACEOF 
    9992 rm -f conftest.$ac_objext 
    9993 if { (ac_try="$ac_compile" 
    9994 case "(($ac_try" in 
    9995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9996   *) ac_try_echo=$ac_try;; 
    9997 esac 
    9998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    9999 $as_echo "$ac_try_echo") >&5 
    10000   (eval "$ac_compile") 2>conftest.er1 
    10001   ac_status=$? 
    10002   grep -v '^ *+' conftest.er1 >conftest.err 
    10003   rm -f conftest.er1 
    10004   cat conftest.err >&5 
    10005   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10006   (exit $ac_status); } && { 
    10007          test -z "$ac_c_werror_flag" || 
    10008          test ! -s conftest.err 
    10009        } && test -s conftest.$ac_objext; then 
    10010   cat >>confdefs.h <<\_ACEOF 
    10011 #define PJ_SOCK_HAS_INET_NTOP 1 
    10012 _ACEOF 
    10013  
    10014                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     4888if ac_fn_c_try_compile "$LINENO"; then : 
     4889  $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
     4890 
     4891                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    100154892$as_echo "yes" >&6; } 
    100164893else 
    10017   $as_echo "$as_me: failed program was:" >&5 
    10018 sed 's/^/| /' conftest.$ac_ext >&5 
    10019  
    10020         { $as_echo "$as_me:$LINENO: result: no" >&5 
     4894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    100214895$as_echo "no" >&6; } 
    100224896fi 
    10023  
    100244897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    100254898 
    10026 { $as_echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
     4899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
    100274900$as_echo_n "checking if getaddrinfo() is available... " >&6; } 
    10028 cat >conftest.$ac_ext <<_ACEOF 
    10029 /* confdefs.h.  */ 
    10030 _ACEOF 
    10031 cat confdefs.h >>conftest.$ac_ext 
    10032 cat >>conftest.$ac_ext <<_ACEOF 
     4901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    100334902/* end confdefs.h.  */ 
    100344903#include <sys/types.h> 
     
    100434912} 
    100444913_ACEOF 
    10045 rm -f conftest.$ac_objext 
    10046 if { (ac_try="$ac_compile" 
    10047 case "(($ac_try" in 
    10048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10049   *) ac_try_echo=$ac_try;; 
    10050 esac 
    10051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10052 $as_echo "$ac_try_echo") >&5 
    10053   (eval "$ac_compile") 2>conftest.er1 
    10054   ac_status=$? 
    10055   grep -v '^ *+' conftest.er1 >conftest.err 
    10056   rm -f conftest.er1 
    10057   cat conftest.err >&5 
    10058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10059   (exit $ac_status); } && { 
    10060          test -z "$ac_c_werror_flag" || 
    10061          test ! -s conftest.err 
    10062        } && test -s conftest.$ac_objext; then 
    10063   cat >>confdefs.h <<\_ACEOF 
    10064 #define PJ_SOCK_HAS_GETADDRINFO 1 
    10065 _ACEOF 
    10066  
    10067                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     4914if ac_fn_c_try_compile "$LINENO"; then : 
     4915  $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
     4916 
     4917                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    100684918$as_echo "yes" >&6; } 
    100694919else 
    10070   $as_echo "$as_me: failed program was:" >&5 
    10071 sed 's/^/| /' conftest.$ac_ext >&5 
    10072  
    10073         { $as_echo "$as_me:$LINENO: result: no" >&5 
     4920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    100744921$as_echo "no" >&6; } 
    100754922fi 
    10076  
    100774923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    100784924 
    10079 { $as_echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
     4925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
    100804926$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
    10081 cat >conftest.$ac_ext <<_ACEOF 
    10082 /* confdefs.h.  */ 
    10083 _ACEOF 
    10084 cat confdefs.h >>conftest.$ac_ext 
    10085 cat >>conftest.$ac_ext <<_ACEOF 
     4927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    100864928/* end confdefs.h.  */ 
    100874929#include <sys/types.h> 
     
    100974939} 
    100984940_ACEOF 
    10099 rm -f conftest.$ac_objext 
    10100 if { (ac_try="$ac_compile" 
    10101 case "(($ac_try" in 
    10102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10103   *) ac_try_echo=$ac_try;; 
    10104 esac 
    10105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10106 $as_echo "$ac_try_echo") >&5 
    10107   (eval "$ac_compile") 2>conftest.er1 
    10108   ac_status=$? 
    10109   grep -v '^ *+' conftest.er1 >conftest.err 
    10110   rm -f conftest.er1 
    10111   cat conftest.err >&5 
    10112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10113   (exit $ac_status); } && { 
    10114          test -z "$ac_c_werror_flag" || 
    10115          test ! -s conftest.err 
    10116        } && test -s conftest.$ac_objext; then 
    10117   cat >>confdefs.h <<\_ACEOF 
    10118 #define PJ_SOCKADDR_HAS_LEN 1 
    10119 _ACEOF 
    10120  
    10121                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     4941if ac_fn_c_try_compile "$LINENO"; then : 
     4942  $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
     4943 
     4944                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    101224945$as_echo "yes" >&6; } 
    101234946else 
    10124   $as_echo "$as_me: failed program was:" >&5 
    10125 sed 's/^/| /' conftest.$ac_ext >&5 
    10126  
    10127         { $as_echo "$as_me:$LINENO: result: no" >&5 
     4947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    101284948$as_echo "no" >&6; } 
    101294949fi 
    10130  
    101314950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    101324951 
    10133 { $as_echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
     4952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
    101344953$as_echo_n "checking if socklen_t is available... " >&6; } 
    10135 cat >conftest.$ac_ext <<_ACEOF 
    10136 /* confdefs.h.  */ 
    10137 _ACEOF 
    10138 cat confdefs.h >>conftest.$ac_ext 
    10139 cat >>conftest.$ac_ext <<_ACEOF 
     4954cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101404955/* end confdefs.h.  */ 
    101414956#include <sys/types.h> 
     
    101494964} 
    101504965_ACEOF 
    10151 rm -f conftest.$ac_objext 
    10152 if { (ac_try="$ac_compile" 
    10153 case "(($ac_try" in 
    10154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10155   *) ac_try_echo=$ac_try;; 
    10156 esac 
    10157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10158 $as_echo "$ac_try_echo") >&5 
    10159   (eval "$ac_compile") 2>conftest.er1 
    10160   ac_status=$? 
    10161   grep -v '^ *+' conftest.er1 >conftest.err 
    10162   rm -f conftest.er1 
    10163   cat conftest.err >&5 
    10164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10165   (exit $ac_status); } && { 
    10166          test -z "$ac_c_werror_flag" || 
    10167          test ! -s conftest.err 
    10168        } && test -s conftest.$ac_objext; then 
    10169   cat >>confdefs.h <<\_ACEOF 
    10170 #define PJ_HAS_SOCKLEN_T 1 
    10171 _ACEOF 
    10172  
    10173                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     4966if ac_fn_c_try_compile "$LINENO"; then : 
     4967  $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
     4968 
     4969                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    101744970$as_echo "yes" >&6; } 
    101754971else 
    10176   $as_echo "$as_me: failed program was:" >&5 
    10177 sed 's/^/| /' conftest.$ac_ext >&5 
    10178  
    10179         { $as_echo "$as_me:$LINENO: result: no" >&5 
     4972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    101804973$as_echo "no" >&6; } 
    101814974fi 
    10182  
    101834975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    101844976 
    10185 { $as_echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
     4977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
    101864978$as_echo_n "checking if SO_ERROR is available... " >&6; } 
    101874979case $target in 
    101884980    *mingw* | *cygw* | *win32* | *w32* ) 
    10189         cat >>confdefs.h <<\_ACEOF 
    10190 #define PJ_HAS_SO_ERROR 1 
    10191 _ACEOF 
    10192  
    10193         { $as_echo "$as_me:$LINENO: result: yes" >&5 
     4981        $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     4982 
     4983        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    101944984$as_echo "yes" >&6; } 
    101954985        ;; 
    101964986    *) 
    10197         cat >conftest.$ac_ext <<_ACEOF 
    10198 /* confdefs.h.  */ 
    10199 _ACEOF 
    10200 cat confdefs.h >>conftest.$ac_ext 
    10201 cat >>conftest.$ac_ext <<_ACEOF 
     4987        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102024988/* end confdefs.h.  */ 
    102034989#include <sys/types.h> 
     
    102134999} 
    102145000_ACEOF 
    10215 rm -f conftest.$ac_objext 
    10216 if { (ac_try="$ac_compile" 
    10217 case "(($ac_try" in 
    10218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10219   *) ac_try_echo=$ac_try;; 
    10220 esac 
    10221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10222 $as_echo "$ac_try_echo") >&5 
    10223   (eval "$ac_compile") 2>conftest.er1 
    10224   ac_status=$? 
    10225   grep -v '^ *+' conftest.er1 >conftest.err 
    10226   rm -f conftest.er1 
    10227   cat conftest.err >&5 
    10228   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10229   (exit $ac_status); } && { 
    10230          test -z "$ac_c_werror_flag" || 
    10231          test ! -s conftest.err 
    10232        } && test -s conftest.$ac_objext; then 
    10233   cat >>confdefs.h <<\_ACEOF 
    10234 #define PJ_HAS_SO_ERROR 1 
    10235 _ACEOF 
    10236  
    10237                            { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5001if ac_fn_c_try_compile "$LINENO"; then : 
     5002  $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5003 
     5004                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    102385005$as_echo "yes" >&6; } 
    102395006else 
    10240   $as_echo "$as_me: failed program was:" >&5 
    10241 sed 's/^/| /' conftest.$ac_ext >&5 
    10242  
    10243         { $as_echo "$as_me:$LINENO: result: no" >&5 
     5007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    102445008$as_echo "no" >&6; } 
    102455009fi 
    10246  
    102475010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102485011        ;; 
     
    102505013 
    102515014 
    10252 { $as_echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
     5015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
    102535016$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
    10254 cat >conftest.$ac_ext <<_ACEOF 
    10255 /* confdefs.h.  */ 
    10256 _ACEOF 
    10257 cat confdefs.h >>conftest.$ac_ext 
    10258 cat >>conftest.$ac_ext <<_ACEOF 
     5017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102595018/* end confdefs.h.  */ 
    102605019#include <pthread.h> 
     
    102675026} 
    102685027_ACEOF 
    10269 rm -f conftest.$ac_objext 
    10270 if { (ac_try="$ac_compile" 
    10271 case "(($ac_try" in 
    10272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10273   *) ac_try_echo=$ac_try;; 
    10274 esac 
    10275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10276 $as_echo "$ac_try_echo") >&5 
    10277   (eval "$ac_compile") 2>conftest.er1 
    10278   ac_status=$? 
    10279   grep -v '^ *+' conftest.er1 >conftest.err 
    10280   rm -f conftest.er1 
    10281   cat conftest.err >&5 
    10282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10283   (exit $ac_status); } && { 
    10284          test -z "$ac_c_werror_flag" || 
    10285          test ! -s conftest.err 
    10286        } && test -s conftest.$ac_objext; then 
    10287   cat >>confdefs.h <<\_ACEOF 
    10288 #define PJ_EMULATE_RWMUTEX 0 
    10289 _ACEOF 
     5028if ac_fn_c_try_compile "$LINENO"; then : 
     5029  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    102905030 
    102915031                   ac_rwmutex="yes" 
    10292                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5032                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    102935033$as_echo "yes" >&6; } 
    102945034else 
    10295   $as_echo "$as_me: failed program was:" >&5 
    10296 sed 's/^/| /' conftest.$ac_ext >&5 
    10297  
    10298         cat >>confdefs.h <<\_ACEOF 
    10299 #define PJ_EMULATE_RWMUTEX 1 
    10300 _ACEOF 
     5035  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    103015036 
    103025037                   ac_rwmutex="no" 
    10303                    { $as_echo "$as_me:$LINENO: result: no" >&5 
     5038                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    103045039$as_echo "no" >&6; } 
    103055040fi 
    10306  
    103075041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103085042 
    103095043if test "$ac_rwmutex" = "no"; then 
    10310     { $as_echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     5044    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    103115045$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
    10312     cat >conftest.$ac_ext <<_ACEOF 
    10313 /* confdefs.h.  */ 
    10314 _ACEOF 
    10315 cat confdefs.h >>conftest.$ac_ext 
    10316 cat >>conftest.$ac_ext <<_ACEOF 
     5046    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103175047/* end confdefs.h.  */ 
    103185048#define _POSIX_READER_WRITER_LOCKS 
     
    103265056} 
    103275057_ACEOF 
    10328 rm -f conftest.$ac_objext 
    10329 if { (ac_try="$ac_compile" 
    10330 case "(($ac_try" in 
    10331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10332   *) ac_try_echo=$ac_try;; 
    10333 esac 
    10334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10335 $as_echo "$ac_try_echo") >&5 
    10336   (eval "$ac_compile") 2>conftest.er1 
    10337   ac_status=$? 
    10338   grep -v '^ *+' conftest.er1 >conftest.err 
    10339   rm -f conftest.er1 
    10340   cat conftest.err >&5 
    10341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10342   (exit $ac_status); } && { 
    10343          test -z "$ac_c_werror_flag" || 
    10344          test ! -s conftest.err 
    10345        } && test -s conftest.$ac_objext; then 
    10346   cat >>confdefs.h <<\_ACEOF 
    10347 #define PJ_EMULATE_RWMUTEX 0 
    10348 _ACEOF 
     5058if ac_fn_c_try_compile "$LINENO"; then : 
     5059  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    103495060 
    103505061                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    10351                        { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5062                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    103525063$as_echo "yes" >&6; } 
    103535064else 
    10354   $as_echo "$as_me: failed program was:" >&5 
    10355 sed 's/^/| /' conftest.$ac_ext >&5 
    10356  
    10357         cat >>confdefs.h <<\_ACEOF 
    10358 #define PJ_EMULATE_RWMUTEX 1 
    10359 _ACEOF 
    10360  
    10361                        { $as_echo "$as_me:$LINENO: result: no" >&5 
     5065  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     5066 
     5067                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    103625068$as_echo "no" >&6; } 
    103635069fi 
    10364  
    103655070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103665071fi 
    103675072 
    10368 { $as_echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
     5073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
    103695074$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
    10370 cat >conftest.$ac_ext <<_ACEOF 
    10371 /* confdefs.h.  */ 
    10372 _ACEOF 
    10373 cat confdefs.h >>conftest.$ac_ext 
    10374 cat >>conftest.$ac_ext <<_ACEOF 
     5075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103755076/* end confdefs.h.  */ 
    103765077#include <pthread.h> 
     
    103835084} 
    103845085_ACEOF 
    10385 rm -f conftest.$ac_objext 
    10386 if { (ac_try="$ac_compile" 
    10387 case "(($ac_try" in 
    10388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10389   *) ac_try_echo=$ac_try;; 
    10390 esac 
    10391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10392 $as_echo "$ac_try_echo") >&5 
    10393   (eval "$ac_compile") 2>conftest.er1 
    10394   ac_status=$? 
    10395   grep -v '^ *+' conftest.er1 >conftest.err 
    10396   rm -f conftest.er1 
    10397   cat conftest.err >&5 
    10398   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10399   (exit $ac_status); } && { 
    10400          test -z "$ac_c_werror_flag" || 
    10401          test ! -s conftest.err 
    10402        } && test -s conftest.$ac_objext; then 
    10403   cat >>confdefs.h <<\_ACEOF 
    10404 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
    10405 _ACEOF 
    10406  
    10407                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5086if ac_fn_c_try_compile "$LINENO"; then : 
     5087  $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
     5088 
     5089                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    104085090$as_echo "yes" >&6; } 
    104095091else 
    10410   $as_echo "$as_me: failed program was:" >&5 
    10411 sed 's/^/| /' conftest.$ac_ext >&5 
    10412  
    10413         { $as_echo "$as_me:$LINENO: result: no" >&5 
     5092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    104145093$as_echo "no" >&6; } 
    104155094fi 
    10416  
    104175095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104185096 
    10419 { $as_echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
     5097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
    104205098$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
    10421 cat >conftest.$ac_ext <<_ACEOF 
    10422 /* confdefs.h.  */ 
    10423 _ACEOF 
    10424 cat confdefs.h >>conftest.$ac_ext 
    10425 cat >>conftest.$ac_ext <<_ACEOF 
     5099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104265100/* end confdefs.h.  */ 
    104275101#include <pthread.h> 
     
    104355109} 
    104365110_ACEOF 
    10437 rm -f conftest.$ac_objext 
    10438 if { (ac_try="$ac_compile" 
    10439 case "(($ac_try" in 
    10440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10441   *) ac_try_echo=$ac_try;; 
    10442 esac 
    10443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10444 $as_echo "$ac_try_echo") >&5 
    10445   (eval "$ac_compile") 2>conftest.er1 
    10446   ac_status=$? 
    10447   grep -v '^ *+' conftest.er1 >conftest.err 
    10448   rm -f conftest.er1 
    10449   cat conftest.err >&5 
    10450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10451   (exit $ac_status); } && { 
    10452          test -z "$ac_c_werror_flag" || 
    10453          test ! -s conftest.err 
    10454        } && test -s conftest.$ac_objext; then 
    10455   cat >>confdefs.h <<\_ACEOF 
    10456 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
    10457 _ACEOF 
    10458  
    10459                    { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5111if ac_fn_c_try_compile "$LINENO"; then : 
     5112  $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
     5113 
     5114                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    104605115$as_echo "yes" >&6; } 
    104615116else 
    10462   $as_echo "$as_me: failed program was:" >&5 
    10463 sed 's/^/| /' conftest.$ac_ext >&5 
    10464  
    10465         { $as_echo "$as_me:$LINENO: result: no" >&5 
     5117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    104665118$as_echo "no" >&6; } 
    104675119fi 
    10468  
    104695120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104705121 
    104715122 
    10472 { $as_echo "$as_me:$LINENO: checking ioqueue backend" >&5 
     5123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
    104735124$as_echo_n "checking ioqueue backend... " >&6; } 
    104745125# Check whether --enable-epoll was given. 
    10475 if test "${enable_epoll+set}" = set; then 
     5126if test "${enable_epoll+set}" = set; then : 
    104765127  enableval=$enable_epoll; 
    104775128                ac_os_objs=ioqueue_epoll.o 
    10478                 { $as_echo "$as_me:$LINENO: result: /dev/epoll" >&5 
     5129                { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
    104795130$as_echo "/dev/epoll" >&6; } 
    104805131 
     
    104825133 
    104835134                ac_os_objs=ioqueue_select.o 
    10484                 { $as_echo "$as_me:$LINENO: result: select()" >&5 
     5135                { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
    104855136$as_echo "select()" >&6; } 
    104865137 
     
    105095160 
    105105161# Check whether --enable-sound was given. 
    10511 if test "${enable_sound+set}" = set; then 
     5162if test "${enable_sound+set}" = set; then : 
    105125163  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    105135164                ac_pjmedia_snd=null 
    10514                 { $as_echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
     5165                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
    105155166$as_echo "Checking if sound is disabled... yes" >&6; } 
    105165167               fi 
     
    105205171 
    105215172 
    10522 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    10523   { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    10524 $as_echo_n "checking for sys/soundcard.h... " >&6; } 
    10525 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    10526   $as_echo_n "(cached) " >&6 
    10527 fi 
    10528 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    10529 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; } 
    10530 else 
    10531   # Is the header compilable? 
    10532 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
    10533 $as_echo_n "checking sys/soundcard.h usability... " >&6; } 
    10534 cat >conftest.$ac_ext <<_ACEOF 
    10535 /* confdefs.h.  */ 
    10536 _ACEOF 
    10537 cat confdefs.h >>conftest.$ac_ext 
    10538 cat >>conftest.$ac_ext <<_ACEOF 
    10539 /* end confdefs.h.  */ 
    10540 $ac_includes_default 
    10541 #include <sys/soundcard.h> 
    10542 _ACEOF 
    10543 rm -f conftest.$ac_objext 
    10544 if { (ac_try="$ac_compile" 
    10545 case "(($ac_try" in 
    10546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10547   *) ac_try_echo=$ac_try;; 
    10548 esac 
    10549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10550 $as_echo "$ac_try_echo") >&5 
    10551   (eval "$ac_compile") 2>conftest.er1 
    10552   ac_status=$? 
    10553   grep -v '^ *+' conftest.er1 >conftest.err 
    10554   rm -f conftest.er1 
    10555   cat conftest.err >&5 
    10556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10557   (exit $ac_status); } && { 
    10558          test -z "$ac_c_werror_flag" || 
    10559          test ! -s conftest.err 
    10560        } && test -s conftest.$ac_objext; then 
    10561   ac_header_compiler=yes 
    10562 else 
    10563   $as_echo "$as_me: failed program was:" >&5 
    10564 sed 's/^/| /' conftest.$ac_ext >&5 
    10565  
    10566         ac_header_compiler=no 
    10567 fi 
    10568  
    10569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10570 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    10571 $as_echo "$ac_header_compiler" >&6; } 
    10572  
    10573 # Is the header present? 
    10574 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
    10575 $as_echo_n "checking sys/soundcard.h presence... " >&6; } 
    10576 cat >conftest.$ac_ext <<_ACEOF 
    10577 /* confdefs.h.  */ 
    10578 _ACEOF 
    10579 cat confdefs.h >>conftest.$ac_ext 
    10580 cat >>conftest.$ac_ext <<_ACEOF 
    10581 /* end confdefs.h.  */ 
    10582 #include <sys/soundcard.h> 
    10583 _ACEOF 
    10584 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10585 case "(($ac_try" in 
    10586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10587   *) ac_try_echo=$ac_try;; 
    10588 esac 
    10589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10590 $as_echo "$ac_try_echo") >&5 
    10591   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10592   ac_status=$? 
    10593   grep -v '^ *+' conftest.er1 >conftest.err 
    10594   rm -f conftest.er1 
    10595   cat conftest.err >&5 
    10596   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10597   (exit $ac_status); } >/dev/null && { 
    10598          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10599          test ! -s conftest.err 
    10600        }; then 
    10601   ac_header_preproc=yes 
    10602 else 
    10603   $as_echo "$as_me: failed program was:" >&5 
    10604 sed 's/^/| /' conftest.$ac_ext >&5 
    10605  
    10606   ac_header_preproc=no 
    10607 fi 
    10608  
    10609 rm -f conftest.err conftest.$ac_ext 
    10610 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10611 $as_echo "$ac_header_preproc" >&6; } 
    10612  
    10613 # So?  What about this header? 
    10614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10615   yes:no: ) 
    10616     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10617 $as_echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10618     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
    10619 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
    10620     ac_header_preproc=yes 
    10621     ;; 
    10622   no:yes:* ) 
    10623     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
    10624 $as_echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
    10625     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
    10626 $as_echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    10627     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
    10628 $as_echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
    10629     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10630 $as_echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10631     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
    10632 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    10633     { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
    10634 $as_echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    10635  
    10636     ;; 
    10637 esac 
    10638 { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    10639 $as_echo_n "checking for sys/soundcard.h... " >&6; } 
    10640 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    10641   $as_echo_n "(cached) " >&6 
    10642 else 
    10643   ac_cv_header_sys_soundcard_h=$ac_header_preproc 
    10644 fi 
    10645 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    10646 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; } 
    10647  
    10648 fi 
    10649 if test $ac_cv_header_sys_soundcard_h = yes; then 
     5173 
     5174# Check whether --with-pa-path was given. 
     5175if test "${with_pa_path+set}" = set; then : 
     5176  withval=$with_pa_path; 
     5177        if test "x$with_pa_path" != "xno"; then 
     5178                ac_pa_path=$with_pa_path 
     5179                # Remove trailing backslash 
     5180                ac_pa_path=`echo $ac_pa_path | sed 's/\/$//'` 
     5181                # Test the path 
     5182                #if test ! -f $ac_pa_path/include/portaudio.h; then 
     5183                #       AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/include/portaudio.h does not exist]) 
     5184                #fi 
     5185                #if test ! -d $ac_pa_path/lib; then 
     5186                #       AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/lib does not exist]) 
     5187                #fi 
     5188                { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Using PortAudio in $ac_pa_path **" >&5 
     5189$as_echo "** Using PortAudio in $ac_pa_path **" >&6; } 
     5190        fi 
     5191 
     5192 
     5193fi 
     5194 
     5195 
     5196 
     5197 
     5198ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
     5199if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
    106505200  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    106515201fi 
    106525202 
    106535203 
    10654 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    10655   { $as_echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    10656 $as_echo_n "checking for linux/soundcard.h... " >&6; } 
    10657 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    10658   $as_echo_n "(cached) " >&6 
    10659 fi 
    10660 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    10661 $as_echo "$ac_cv_header_linux_soundcard_h" >&6; } 
    10662 else 
    10663   # Is the header compilable? 
    10664 { $as_echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
    10665 $as_echo_n "checking linux/soundcard.h usability... " >&6; } 
    10666 cat >conftest.$ac_ext <<_ACEOF 
    10667 /* confdefs.h.  */ 
    10668 _ACEOF 
    10669 cat confdefs.h >>conftest.$ac_ext 
    10670 cat >>conftest.$ac_ext <<_ACEOF 
    10671 /* end confdefs.h.  */ 
    10672 $ac_includes_default 
    10673 #include <linux/soundcard.h> 
    10674 _ACEOF 
    10675 rm -f conftest.$ac_objext 
    10676 if { (ac_try="$ac_compile" 
    10677 case "(($ac_try" in 
    10678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10679   *) ac_try_echo=$ac_try;; 
    10680 esac 
    10681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10682 $as_echo "$ac_try_echo") >&5 
    10683   (eval "$ac_compile") 2>conftest.er1 
    10684   ac_status=$? 
    10685   grep -v '^ *+' conftest.er1 >conftest.err 
    10686   rm -f conftest.er1 
    10687   cat conftest.err >&5 
    10688   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10689   (exit $ac_status); } && { 
    10690          test -z "$ac_c_werror_flag" || 
    10691          test ! -s conftest.err 
    10692        } && test -s conftest.$ac_objext; then 
    10693   ac_header_compiler=yes 
    10694 else 
    10695   $as_echo "$as_me: failed program was:" >&5 
    10696 sed 's/^/| /' conftest.$ac_ext >&5 
    10697  
    10698         ac_header_compiler=no 
    10699 fi 
    10700  
    10701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10702 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    10703 $as_echo "$ac_header_compiler" >&6; } 
    10704  
    10705 # Is the header present? 
    10706 { $as_echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
    10707 $as_echo_n "checking linux/soundcard.h presence... " >&6; } 
    10708 cat >conftest.$ac_ext <<_ACEOF 
    10709 /* confdefs.h.  */ 
    10710 _ACEOF 
    10711 cat confdefs.h >>conftest.$ac_ext 
    10712 cat >>conftest.$ac_ext <<_ACEOF 
    10713 /* end confdefs.h.  */ 
    10714 #include <linux/soundcard.h> 
    10715 _ACEOF 
    10716 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10717 case "(($ac_try" in 
    10718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10719   *) ac_try_echo=$ac_try;; 
    10720 esac 
    10721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10722 $as_echo "$ac_try_echo") >&5 
    10723   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10724   ac_status=$? 
    10725   grep -v '^ *+' conftest.er1 >conftest.err 
    10726   rm -f conftest.er1 
    10727   cat conftest.err >&5 
    10728   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10729   (exit $ac_status); } >/dev/null && { 
    10730          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10731          test ! -s conftest.err 
    10732        }; then 
    10733   ac_header_preproc=yes 
    10734 else 
    10735   $as_echo "$as_me: failed program was:" >&5 
    10736 sed 's/^/| /' conftest.$ac_ext >&5 
    10737  
    10738   ac_header_preproc=no 
    10739 fi 
    10740  
    10741 rm -f conftest.err conftest.$ac_ext 
    10742 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10743 $as_echo "$ac_header_preproc" >&6; } 
    10744  
    10745 # So?  What about this header? 
    10746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10747   yes:no: ) 
    10748     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10749 $as_echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10750     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
    10751 $as_echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
    10752     ac_header_preproc=yes 
    10753     ;; 
    10754   no:yes:* ) 
    10755     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
    10756 $as_echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
    10757     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
    10758 $as_echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    10759     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
    10760 $as_echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
    10761     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10762 $as_echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10763     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
    10764 $as_echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    10765     { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
    10766 $as_echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    10767  
    10768     ;; 
    10769 esac 
    10770 { $as_echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    10771 $as_echo_n "checking for linux/soundcard.h... " >&6; } 
    10772 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    10773   $as_echo_n "(cached) " >&6 
    10774 else 
    10775   ac_cv_header_linux_soundcard_h=$ac_header_preproc 
    10776 fi 
    10777 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    10778 $as_echo "$ac_cv_header_linux_soundcard_h" >&6; } 
    10779  
    10780 fi 
    10781 if test $ac_cv_header_linux_soundcard_h = yes; then 
     5204ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
     5205if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
    107825206  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    107835207fi 
    107845208 
    107855209 
    10786 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    10787   { $as_echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    10788 $as_echo_n "checking for machine/soundcard.h... " >&6; } 
    10789 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    10790   $as_echo_n "(cached) " >&6 
    10791 fi 
    10792 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    10793 $as_echo "$ac_cv_header_machine_soundcard_h" >&6; } 
    10794 else 
    10795   # Is the header compilable? 
    10796 { $as_echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
    10797 $as_echo_n "checking machine/soundcard.h usability... " >&6; } 
    10798 cat >conftest.$ac_ext <<_ACEOF 
    10799 /* confdefs.h.  */ 
    10800 _ACEOF 
    10801 cat confdefs.h >>conftest.$ac_ext 
    10802 cat >>conftest.$ac_ext <<_ACEOF 
    10803 /* end confdefs.h.  */ 
    10804 $ac_includes_default 
    10805 #include <machine/soundcard.h> 
    10806 _ACEOF 
    10807 rm -f conftest.$ac_objext 
    10808 if { (ac_try="$ac_compile" 
    10809 case "(($ac_try" in 
    10810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10811   *) ac_try_echo=$ac_try;; 
    10812 esac 
    10813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10814 $as_echo "$ac_try_echo") >&5 
    10815   (eval "$ac_compile") 2>conftest.er1 
    10816   ac_status=$? 
    10817   grep -v '^ *+' conftest.er1 >conftest.err 
    10818   rm -f conftest.er1 
    10819   cat conftest.err >&5 
    10820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10821   (exit $ac_status); } && { 
    10822          test -z "$ac_c_werror_flag" || 
    10823          test ! -s conftest.err 
    10824        } && test -s conftest.$ac_objext; then 
    10825   ac_header_compiler=yes 
    10826 else 
    10827   $as_echo "$as_me: failed program was:" >&5 
    10828 sed 's/^/| /' conftest.$ac_ext >&5 
    10829  
    10830         ac_header_compiler=no 
    10831 fi 
    10832  
    10833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10834 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    10835 $as_echo "$ac_header_compiler" >&6; } 
    10836  
    10837 # Is the header present? 
    10838 { $as_echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
    10839 $as_echo_n "checking machine/soundcard.h presence... " >&6; } 
    10840 cat >conftest.$ac_ext <<_ACEOF 
    10841 /* confdefs.h.  */ 
    10842 _ACEOF 
    10843 cat confdefs.h >>conftest.$ac_ext 
    10844 cat >>conftest.$ac_ext <<_ACEOF 
    10845 /* end confdefs.h.  */ 
    10846 #include <machine/soundcard.h> 
    10847 _ACEOF 
    10848 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10849 case "(($ac_try" in 
    10850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10851   *) ac_try_echo=$ac_try;; 
    10852 esac 
    10853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10854 $as_echo "$ac_try_echo") >&5 
    10855   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10856   ac_status=$? 
    10857   grep -v '^ *+' conftest.er1 >conftest.err 
    10858   rm -f conftest.er1 
    10859   cat conftest.err >&5 
    10860   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10861   (exit $ac_status); } >/dev/null && { 
    10862          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10863          test ! -s conftest.err 
    10864        }; then 
    10865   ac_header_preproc=yes 
    10866 else 
    10867   $as_echo "$as_me: failed program was:" >&5 
    10868 sed 's/^/| /' conftest.$ac_ext >&5 
    10869  
    10870   ac_header_preproc=no 
    10871 fi 
    10872  
    10873 rm -f conftest.err conftest.$ac_ext 
    10874 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10875 $as_echo "$ac_header_preproc" >&6; } 
    10876  
    10877 # So?  What about this header? 
    10878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10879   yes:no: ) 
    10880     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10881 $as_echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10882     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
    10883 $as_echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
    10884     ac_header_preproc=yes 
    10885     ;; 
    10886   no:yes:* ) 
    10887     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
    10888 $as_echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
    10889     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
    10890 $as_echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    10891     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
    10892 $as_echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
    10893     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10894 $as_echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10895     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
    10896 $as_echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    10897     { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
    10898 $as_echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    10899  
    10900     ;; 
    10901 esac 
    10902 { $as_echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    10903 $as_echo_n "checking for machine/soundcard.h... " >&6; } 
    10904 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    10905   $as_echo_n "(cached) " >&6 
    10906 else 
    10907   ac_cv_header_machine_soundcard_h=$ac_header_preproc 
    10908 fi 
    10909 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    10910 $as_echo "$ac_cv_header_machine_soundcard_h" >&6; } 
    10911  
    10912 fi 
    10913 if test $ac_cv_header_machine_soundcard_h = yes; then 
     5210ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
     5211if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
    109145212  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    109155213fi 
     
    109335231                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    109345232                ac_pjmedia_snd=pa_old_darwinos 
    10935                 { $as_echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
     5233                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
    109365234$as_echo "Checking sound device backend... old coreaudio" >&6; } 
    109375235        else 
    109385236                ac_pjmedia_snd=pa_darwinos 
    10939                 { $as_echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
     5237                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
    109405238$as_echo "Checking sound device backend... coreaudio" >&6; } 
    109415239        fi 
     
    109435241  *cygwin* | *mingw*) 
    109445242        ac_pjmedia_snd=pa_win32 
    10945         { $as_echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
     5243        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
    109465244$as_echo "Checking sound device backend... win32 sound" >&6; } 
    109475245        ;; 
    109485246  *rtems*) 
    109495247        ac_pjmedia_snd=null 
    10950         { $as_echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
     5248        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
    109515249$as_echo "Checking sound device backend... null sound" >&6; } 
    109525250        ;; 
    109535251  *) 
    109545252                ac_pjmedia_snd=pa_unix 
    10955         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    10956   { $as_echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    10957 $as_echo_n "checking for alsa/version.h... " >&6; } 
    10958 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    10959   $as_echo_n "(cached) " >&6 
    10960 fi 
    10961 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    10962 $as_echo "$ac_cv_header_alsa_version_h" >&6; } 
    10963 else 
    10964   # Is the header compilable? 
    10965 { $as_echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    10966 $as_echo_n "checking alsa/version.h usability... " >&6; } 
    10967 cat >conftest.$ac_ext <<_ACEOF 
    10968 /* confdefs.h.  */ 
    10969 _ACEOF 
    10970 cat confdefs.h >>conftest.$ac_ext 
    10971 cat >>conftest.$ac_ext <<_ACEOF 
    10972 /* end confdefs.h.  */ 
    10973 $ac_includes_default 
    10974 #include <alsa/version.h> 
    10975 _ACEOF 
    10976 rm -f conftest.$ac_objext 
    10977 if { (ac_try="$ac_compile" 
    10978 case "(($ac_try" in 
    10979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10980   *) ac_try_echo=$ac_try;; 
    10981 esac 
    10982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    10983 $as_echo "$ac_try_echo") >&5 
    10984   (eval "$ac_compile") 2>conftest.er1 
    10985   ac_status=$? 
    10986   grep -v '^ *+' conftest.er1 >conftest.err 
    10987   rm -f conftest.er1 
    10988   cat conftest.err >&5 
    10989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10990   (exit $ac_status); } && { 
    10991          test -z "$ac_c_werror_flag" || 
    10992          test ! -s conftest.err 
    10993        } && test -s conftest.$ac_objext; then 
    10994   ac_header_compiler=yes 
    10995 else 
    10996   $as_echo "$as_me: failed program was:" >&5 
    10997 sed 's/^/| /' conftest.$ac_ext >&5 
    10998  
    10999         ac_header_compiler=no 
    11000 fi 
    11001  
    11002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11003 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11004 $as_echo "$ac_header_compiler" >&6; } 
    11005  
    11006 # Is the header present? 
    11007 { $as_echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    11008 $as_echo_n "checking alsa/version.h presence... " >&6; } 
    11009 cat >conftest.$ac_ext <<_ACEOF 
    11010 /* confdefs.h.  */ 
    11011 _ACEOF 
    11012 cat confdefs.h >>conftest.$ac_ext 
    11013 cat >>conftest.$ac_ext <<_ACEOF 
    11014 /* end confdefs.h.  */ 
    11015 #include <alsa/version.h> 
    11016 _ACEOF 
    11017 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11018 case "(($ac_try" in 
    11019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11020   *) ac_try_echo=$ac_try;; 
    11021 esac 
    11022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11023 $as_echo "$ac_try_echo") >&5 
    11024   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11025   ac_status=$? 
    11026   grep -v '^ *+' conftest.er1 >conftest.err 
    11027   rm -f conftest.er1 
    11028   cat conftest.err >&5 
    11029   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11030   (exit $ac_status); } >/dev/null && { 
    11031          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11032          test ! -s conftest.err 
    11033        }; then 
    11034   ac_header_preproc=yes 
    11035 else 
    11036   $as_echo "$as_me: failed program was:" >&5 
    11037 sed 's/^/| /' conftest.$ac_ext >&5 
    11038  
    11039   ac_header_preproc=no 
    11040 fi 
    11041  
    11042 rm -f conftest.err conftest.$ac_ext 
    11043 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11044 $as_echo "$ac_header_preproc" >&6; } 
    11045  
    11046 # So?  What about this header? 
    11047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11048   yes:no: ) 
    11049     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11050 $as_echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11051     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    11052 $as_echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    11053     ac_header_preproc=yes 
    11054     ;; 
    11055   no:yes:* ) 
    11056     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    11057 $as_echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    11058     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    11059 $as_echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    11060     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    11061 $as_echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    11062     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11063 $as_echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11064     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    11065 $as_echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    11066     { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    11067 $as_echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    11068  
    11069     ;; 
    11070 esac 
    11071 { $as_echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11072 $as_echo_n "checking for alsa/version.h... " >&6; } 
    11073 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11074   $as_echo_n "(cached) " >&6 
    11075 else 
    11076   ac_cv_header_alsa_version_h=$ac_header_preproc 
    11077 fi 
    11078 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11079 $as_echo "$ac_cv_header_alsa_version_h" >&6; } 
    11080  
    11081 fi 
    11082 if test $ac_cv_header_alsa_version_h = yes; then 
     5253        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
     5254if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
    110835255  ac_pa_use_alsa=1 
    110845256 
     
    110915263 
    110925264 
    11093         { $as_echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
     5265        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
    110945266$as_echo "Checking sound device backend... unix" >&6; } 
    110955267 
     
    110975269 
    110985270        # Check whether --enable-oss was given. 
    11099 if test "${enable_oss+set}" = set; then 
     5271if test "${enable_oss+set}" = set; then : 
    111005272  enableval=$enable_oss; 
    111015273                        if test "$enable_oss" = "no"; then 
    111025274                         ac_pa_use_oss=0 
    11103                          { $as_echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
     5275                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
    111045276$as_echo "Checking if OSS audio is disabled... yes" >&6; } 
    111055277                        fi 
     
    111125284 
    111135285# Check whether --enable-ext_sound was given. 
    11114 if test "${enable_ext_sound+set}" = set; then 
     5286if test "${enable_ext_sound+set}" = set; then : 
    111155287  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    111165288                ac_pjmedia_snd=external 
    11117                 { $as_echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
     5289                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
    111185290$as_echo "Checking if external sound is set... yes" >&6; } 
    111195291               fi 
     
    111245296 
    111255297# Check whether --enable-small-filter was given. 
    11126 if test "${enable_small_filter+set}" = set; then 
     5298if test "${enable_small_filter+set}" = set; then : 
    111275299  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    111285300                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    11129                 { $as_echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
     5301                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
    111305302$as_echo "Checking if small filter is disabled... yes" >&6; } 
    111315303               fi 
    111325304else 
    11133   { $as_echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
     5305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
    111345306$as_echo "Checking if small filter is disabled... no" >&6; } 
    111355307fi 
     
    111385310 
    111395311# Check whether --enable-large-filter was given. 
    11140 if test "${enable_large_filter+set}" = set; then 
     5312if test "${enable_large_filter+set}" = set; then : 
    111415313  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    111425314                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    11143                 { $as_echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
     5315                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
    111445316$as_echo "Checking if large filter is disabled... yes" >&6; } 
    111455317               fi 
    111465318else 
    11147   { $as_echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
     5319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
    111485320$as_echo "Checking if large filter is disabled... no" >&6; } 
    111495321fi 
     
    111525324 
    111535325# Check whether --enable-speex-aec was given. 
    11154 if test "${enable_speex_aec+set}" = set; then 
     5326if test "${enable_speex_aec+set}" = set; then : 
    111555327  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    111565328                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    11157                 { $as_echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
     5329                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
    111585330$as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
    111595331               fi 
    111605332else 
    11161   { $as_echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
     5333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
    111625334$as_echo "Checking if Speex AEC is disabled...no" >&6; } 
    111635335fi 
     
    111665338 
    111675339# Check whether --enable-g711-codec was given. 
    11168 if test "${enable_g711_codec+set}" = set; then 
     5340if test "${enable_g711_codec+set}" = set; then : 
    111695341  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    111705342                ac_no_g711_codec=1 
    11171                 cat >>confdefs.h <<\_ACEOF 
    11172 #define PJMEDIA_HAS_G711_CODEC 0 
    11173 _ACEOF 
    11174  
    11175                 { $as_echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
     5343                $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
     5344 
     5345                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
    111765346$as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
    111775347               fi 
    111785348else 
    11179   { $as_echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     5349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
    111805350$as_echo "Checking if G.711 codec is disabled...no" >&6; } 
    111815351fi 
     
    111855355 
    111865356# Check whether --enable-l16-codec was given. 
    11187 if test "${enable_l16_codec+set}" = set; then 
     5357if test "${enable_l16_codec+set}" = set; then : 
    111885358  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    111895359                ac_no_l16_codec=1 
    11190                 cat >>confdefs.h <<\_ACEOF 
    11191 #define PJMEDIA_HAS_L16_CODEC 0 
    11192 _ACEOF 
    11193  
    11194                 { $as_echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
     5360                $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
     5361 
     5362                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
    111955363$as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
    111965364               fi 
    111975365else 
    11198   { $as_echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
     5366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
    111995367$as_echo "Checking if L16 codec is disabled...no" >&6; } 
    112005368fi 
     
    112045372 
    112055373# Check whether --enable-gsm-codec was given. 
    11206 if test "${enable_gsm_codec+set}" = set; then 
     5374if test "${enable_gsm_codec+set}" = set; then : 
    112075375  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    112085376                ac_no_gsm_codec=1 
    11209                 cat >>confdefs.h <<\_ACEOF 
    11210 #define PJMEDIA_HAS_GSM_CODEC 0 
    11211 _ACEOF 
    11212  
    11213                 { $as_echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
     5377                $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
     5378 
     5379                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
    112145380$as_echo "Checking if GSM codec is disabled...yes" >&6; } 
    112155381               fi 
    112165382else 
    11217   { $as_echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
     5383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
    112185384$as_echo "Checking if GSM codec is disabled...no" >&6; } 
    112195385fi 
     
    112225388 
    112235389# Check whether --enable-g722-codec was given. 
    11224 if test "${enable_g722_codec+set}" = set; then 
     5390if test "${enable_g722_codec+set}" = set; then : 
    112255391  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    112265392                ac_no_g722_codec=1 
    11227                 cat >>confdefs.h <<\_ACEOF 
    11228 #define PJMEDIA_HAS_G722_CODEC 0 
    11229 _ACEOF 
    11230  
    11231                 { $as_echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
     5393                $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
     5394 
     5395                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
    112325396$as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
    112335397               fi 
    112345398else 
    11235   { $as_echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
     5399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
    112365400$as_echo "Checking if G.722 codec is disabled...no" >&6; } 
    112375401fi 
     
    112405404 
    112415405# Check whether --enable-g7221-codec was given. 
    11242 if test "${enable_g7221_codec+set}" = set; then 
     5406if test "${enable_g7221_codec+set}" = set; then : 
    112435407  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    112445408                ac_no_g7221_codec=1 
    11245                 cat >>confdefs.h <<\_ACEOF 
    11246 #define PJMEDIA_HAS_G7221_CODEC 0 
    11247 _ACEOF 
    11248  
    11249                 { $as_echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
     5409                $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
     5410 
     5411                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
    112505412$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
    112515413               fi 
    112525414else 
    11253   { $as_echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
     5415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
    112545416$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
    112555417fi 
     
    112585420 
    112595421# Check whether --enable-speex-codec was given. 
    11260 if test "${enable_speex_codec+set}" = set; then 
     5422if test "${enable_speex_codec+set}" = set; then : 
    112615423  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    112625424                ac_no_speex_codec=1 
    11263                 cat >>confdefs.h <<\_ACEOF 
    11264 #define PJMEDIA_HAS_SPEEX_CODEC 0 
    11265 _ACEOF 
    11266  
    11267                 { $as_echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
     5425                $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
     5426 
     5427                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
    112685428$as_echo "Checking if Speex codec is disabled...yes" >&6; } 
    112695429               fi 
    112705430else 
    11271   { $as_echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
     5431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
    112725432$as_echo "Checking if Speex codec is disabled...no" >&6; } 
    112735433fi 
     
    112765436 
    112775437# Check whether --enable-ilbc-codec was given. 
    11278 if test "${enable_ilbc_codec+set}" = set; then 
     5438if test "${enable_ilbc_codec+set}" = set; then : 
    112795439  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    112805440                ac_no_ilbc_codec=1 
    11281                 cat >>confdefs.h <<\_ACEOF 
    11282 #define PJMEDIA_HAS_ILBC_CODEC 0 
    11283 _ACEOF 
    11284  
    11285                 { $as_echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
     5441                $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
     5442 
     5443                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
    112865444$as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
    112875445               fi 
    112885446else 
    11289   { $as_echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
     5447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
    112905448$as_echo "Checking if iLBC codec is disabled...no" >&6; } 
    112915449fi 
     
    112935451 
    112945452# Check whether --enable-libsamplerate was given. 
    11295 if test "${enable_libsamplerate+set}" = set; then 
    11296   enableval=$enable_libsamplerate; 
    11297 { $as_echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
     5453if test "${enable_libsamplerate+set}" = set; then : 
     5454  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
    112985455$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
    11299 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
     5456if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
    113005457  $as_echo_n "(cached) " >&6 
    113015458else 
    113025459  ac_check_lib_save_LIBS=$LIBS 
    113035460LIBS="-lsamplerate  $LIBS" 
    11304 cat >conftest.$ac_ext <<_ACEOF 
    11305 /* confdefs.h.  */ 
    11306 _ACEOF 
    11307 cat confdefs.h >>conftest.$ac_ext 
    11308 cat >>conftest.$ac_ext <<_ACEOF 
     5461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    113095462/* end confdefs.h.  */ 
    113105463 
     
    113245477} 
    113255478_ACEOF 
    11326 rm -f conftest.$ac_objext conftest$ac_exeext 
    11327 if { (ac_try="$ac_link" 
    11328 case "(($ac_try" in 
    11329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11330   *) ac_try_echo=$ac_try;; 
    11331 esac 
    11332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11333 $as_echo "$ac_try_echo") >&5 
    11334   (eval "$ac_link") 2>conftest.er1 
    11335   ac_status=$? 
    11336   grep -v '^ *+' conftest.er1 >conftest.err 
    11337   rm -f conftest.er1 
    11338   cat conftest.err >&5 
    11339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11340   (exit $ac_status); } && { 
    11341          test -z "$ac_c_werror_flag" || 
    11342          test ! -s conftest.err 
    11343        } && test -s conftest$ac_exeext && { 
    11344          test "$cross_compiling" = yes || 
    11345          $as_test_x conftest$ac_exeext 
    11346        }; then 
     5479if ac_fn_c_try_link "$LINENO"; then : 
    113475480  ac_cv_lib_samplerate_src_new=yes 
    113485481else 
    11349   $as_echo "$as_me: failed program was:" >&5 
    11350 sed 's/^/| /' conftest.$ac_ext >&5 
    11351  
    11352         ac_cv_lib_samplerate_src_new=no 
    11353 fi 
    11354  
    11355 rm -rf conftest.dSYM 
    11356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11357       conftest$ac_exeext conftest.$ac_ext 
     5482  ac_cv_lib_samplerate_src_new=no 
     5483fi 
     5484rm -f core conftest.err conftest.$ac_objext \ 
     5485    conftest$ac_exeext conftest.$ac_ext 
    113585486LIBS=$ac_check_lib_save_LIBS 
    113595487fi 
    11360 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
     5488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
    113615489$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
    11362 if test $ac_cv_lib_samplerate_src_new = yes; then 
     5490if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
    113635491  cat >>confdefs.h <<_ACEOF 
    113645492#define HAVE_LIBSAMPLERATE 1 
     
    113705498 
    113715499else 
    11372   { $as_echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
     5500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
    113735501$as_echo "Skipping libsamplerate detection" >&6; } 
    113745502 
     
    113785506 
    113795507# Check whether --enable-ipp was given. 
    11380 if test "${enable_ipp+set}" = set; then 
     5508if test "${enable_ipp+set}" = set; then : 
    113815509  enableval=$enable_ipp; 
    113825510else 
     
    113875515 
    113885516# Check whether --enable-ipp was given. 
    11389 if test "${enable_ipp+set}" = set; then 
     5517if test "${enable_ipp+set}" = set; then : 
    113905518  enableval=$enable_ipp; 
    113915519else 
     
    113965524 
    113975525# Check whether --enable-ipp-samples was given. 
    11398 if test "${enable_ipp_samples+set}" = set; then 
     5526if test "${enable_ipp_samples+set}" = set; then : 
    113995527  enableval=$enable_ipp_samples; 
    114005528else 
     
    114055533 
    114065534if test "x$enable_ipp" != "xno"; then 
    11407                 { $as_echo "$as_me:$LINENO: checking Intel IPP location" >&5 
     5535                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
    114085536$as_echo_n "checking Intel IPP location... " >&6; } 
    114095537 
    114105538    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    11411         { $as_echo "$as_me:$LINENO: result: $with_ipp" >&5 
     5539        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
    114125540$as_echo "$with_ipp" >&6; } 
    114135541        IPPROOT=$with_ipp 
     
    114155543        if test -d /opt/intel/ipp; then 
    114165544            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    11417             { $as_echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
     5545            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
    114185546$as_echo "autodetected in $IPPROOT" >&6; } 
    114195547        fi 
    114205548    else 
    11421         { $as_echo "$as_me:$LINENO: result: $IPPROOT" >&5 
     5549        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
    114225550$as_echo "$IPPROOT" >&6; } 
    114235551    fi 
    114245552 
    114255553    if test x$IPPROOT = x; then 
    11426         { { $as_echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&5 
    11427 $as_echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&2;} 
    11428    { (exit 1); exit 1; }; } 
     5554        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 
    114295555    elif test ! -d $IPPROOT; then 
    11430         { { $as_echo "$as_me:$LINENO: error: not found" >&5 
    11431 $as_echo "$as_me: error: not found" >&2;} 
    11432    { (exit 1); exit 1; }; } 
     5556        as_fn_error "not found" "$LINENO" 5 
    114335557    elif test ! -d $IPPROOT/include; then 
    11434         { { $as_echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    11435 $as_echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    11436    { (exit 1); exit 1; }; } 
     5558        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    114375559    else 
    114385560        # IPP directory looks okay. 
     
    114555577 
    114565578 
    11457         { $as_echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
     5579        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
    114585580$as_echo_n "checking Intel IPP usability... " >&6; } 
    11459         cat >conftest.$ac_ext <<_ACEOF 
    11460 /* confdefs.h.  */ 
    11461 _ACEOF 
    11462 cat confdefs.h >>conftest.$ac_ext 
    11463 cat >>conftest.$ac_ext <<_ACEOF 
     5581        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    114645582/* end confdefs.h.  */ 
    114655583#include <ippcore.h> 
     
    114735591} 
    114745592_ACEOF 
    11475 rm -f conftest.$ac_objext conftest$ac_exeext 
    11476 if { (ac_try="$ac_link" 
    11477 case "(($ac_try" in 
    11478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11479   *) ac_try_echo=$ac_try;; 
    11480 esac 
    11481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11482 $as_echo "$ac_try_echo") >&5 
    11483   (eval "$ac_link") 2>conftest.er1 
    11484   ac_status=$? 
    11485   grep -v '^ *+' conftest.er1 >conftest.err 
    11486   rm -f conftest.er1 
    11487   cat conftest.err >&5 
    11488   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11489   (exit $ac_status); } && { 
    11490          test -z "$ac_c_werror_flag" || 
    11491          test ! -s conftest.err 
    11492        } && test -s conftest$ac_exeext && { 
    11493          test "$cross_compiling" = yes || 
    11494          $as_test_x conftest$ac_exeext 
    11495        }; then 
    11496   { $as_echo "$as_me:$LINENO: result: ok" >&5 
     5593if ac_fn_c_try_link "$LINENO"; then : 
     5594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    114975595$as_echo "ok" >&6; } 
    114985596else 
    11499   $as_echo "$as_me: failed program was:" >&5 
    11500 sed 's/^/| /' conftest.$ac_ext >&5 
    11501  
    11502         { { $as_echo "$as_me:$LINENO: error: failed 
    11503 See \`config.log' for more details." >&5 
    11504 $as_echo "$as_me: error: failed 
    11505 See \`config.log' for more details." >&2;} 
    11506    { (exit 1); exit 1; }; } 
    11507 fi 
    11508  
    11509 rm -rf conftest.dSYM 
    11510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11511       conftest$ac_exeext conftest.$ac_ext 
     5597  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     5598$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     5599as_fn_error "failed 
     5600See \`config.log' for more details." "$LINENO" 5; } 
     5601fi 
     5602rm -f core conftest.err conftest.$ac_objext \ 
     5603    conftest$ac_exeext conftest.$ac_ext 
    115125604 
    115135605        CFLAGS="$SAVED_CFLAGS" 
     
    115165608    fi 
    115175609 
    11518                 { $as_echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
     5610                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
    115195611$as_echo_n "checking Intel IPP samples location... " >&6; } 
    115205612 
    115215613    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    11522         { $as_echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
     5614        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
    115235615$as_echo "$with_ipp_samples" >&6; } 
    115245616        IPPSAMPLES=$with_ipp_samples 
     
    115265618        if test -d /opt/intel/ipp-samples; then 
    115275619            IPPSAMPLES=/opt/intel/ipp-samples 
    11528             { $as_echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
     5620            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
    115295621$as_echo "autodetected in $IPPSAMPLES" >&6; } 
    115305622        fi 
    115315623    else 
    11532         { $as_echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
     5624        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
    115335625$as_echo "$IPPSAMPLES" >&6; } 
    115345626    fi 
    115355627 
    115365628    if test x$IPPSAMPLES = x; then 
    11537         { { $as_echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&5 
    11538 $as_echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&2;} 
    11539    { (exit 1); exit 1; }; } 
     5629        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 
    115405630    elif test ! -d $IPPSAMPLES; then 
    11541         { { $as_echo "$as_me:$LINENO: error: not found" >&5 
    11542 $as_echo "$as_me: error: not found" >&2;} 
    11543    { (exit 1); exit 1; }; } 
     5631        as_fn_error "not found" "$LINENO" 5 
    115445632    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    11545         { { $as_echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    11546 $as_echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    11547    { (exit 1); exit 1; }; } 
     5633        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    115485634    else 
    115495635        # Remove trailing backslash 
     
    115515637 
    115525638        # Guess the libusc.a build location 
    11553         { $as_echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
     5639        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
    115545640$as_echo_n "checking Intel IPP USC build location... " >&6; } 
    115555641        IPPSAMPLESLIB=`ls -d $IPPSAMPLES/speech-codecs/bin/*gcc*/lib | head -1` 
    115565642        if test ! -d $IPPSAMPLESLIB; then 
    11557             { { $as_echo "$as_me:$LINENO: error: the $IPPSAMPLES/speech-codecs/bin/*gcc*/lib directory not found. Have you built the samples? 
    11558 See \`config.log' for more details." >&5 
    11559 $as_echo "$as_me: error: the $IPPSAMPLES/speech-codecs/bin/*gcc*/lib directory not found. Have you built the samples? 
    11560 See \`config.log' for more details." >&2;} 
    11561    { (exit 1); exit 1; }; } 
     5643            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     5644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     5645as_fn_error "the $IPPSAMPLES/speech-codecs/bin/*gcc*/lib directory not found. Have you built the samples? 
     5646See \`config.log' for more details." "$LINENO" 5; } 
    115625647        fi 
    115635648        if test ! -f $IPPSAMPLESLIB/libusc.a; then 
    11564             { { $as_echo "$as_me:$LINENO: error: libusc.a doesn't exist in $IPPSAMPLESLIB 
    11565 See \`config.log' for more details." >&5 
    11566 $as_echo "$as_me: error: libusc.a doesn't exist in $IPPSAMPLESLIB 
    11567 See \`config.log' for more details." >&2;} 
    11568    { (exit 1); exit 1; }; } 
     5649            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     5650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     5651as_fn_error "libusc.a doesn't exist in $IPPSAMPLESLIB 
     5652See \`config.log' for more details." "$LINENO" 5; } 
    115695653        fi 
    11570         { $as_echo "$as_me:$LINENO: result: $IPPSAMPLESLIB" >&5 
     5654        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLESLIB" >&5 
    115715655$as_echo "$IPPSAMPLESLIB" >&6; } 
    115725656 
     
    115805664        LIBS="-lusc $LIBS" 
    115815665 
    11582         { $as_echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
     5666        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
    115835667$as_echo_n "checking Intel IPP USC usability... " >&6; } 
    11584         cat >conftest.$ac_ext <<_ACEOF 
    11585 /* confdefs.h.  */ 
    11586 _ACEOF 
    11587 cat confdefs.h >>conftest.$ac_ext 
    11588 cat >>conftest.$ac_ext <<_ACEOF 
     5668        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    115895669/* end confdefs.h.  */ 
    115905670#include <usc.h> 
     
    115985678} 
    115995679_ACEOF 
    11600 rm -f conftest.$ac_objext conftest$ac_exeext 
    11601 if { (ac_try="$ac_link" 
    11602 case "(($ac_try" in 
    11603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11604   *) ac_try_echo=$ac_try;; 
    11605 esac 
    11606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11607 $as_echo "$ac_try_echo") >&5 
    11608   (eval "$ac_link") 2>conftest.er1 
    11609   ac_status=$? 
    11610   grep -v '^ *+' conftest.er1 >conftest.err 
    11611   rm -f conftest.er1 
    11612   cat conftest.err >&5 
    11613   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11614   (exit $ac_status); } && { 
    11615          test -z "$ac_c_werror_flag" || 
    11616          test ! -s conftest.err 
    11617        } && test -s conftest$ac_exeext && { 
    11618          test "$cross_compiling" = yes || 
    11619          $as_test_x conftest$ac_exeext 
    11620        }; then 
    11621   { $as_echo "$as_me:$LINENO: result: ok" >&5 
     5680if ac_fn_c_try_link "$LINENO"; then : 
     5681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    116225682$as_echo "ok" >&6; } 
    116235683else 
    11624   $as_echo "$as_me: failed program was:" >&5 
    11625 sed 's/^/| /' conftest.$ac_ext >&5 
    11626  
    11627         { { $as_echo "$as_me:$LINENO: error: failed 
    11628 See \`config.log' for more details." >&5 
    11629 $as_echo "$as_me: error: failed 
    11630 See \`config.log' for more details." >&2;} 
    11631    { (exit 1); exit 1; }; } 
    11632 fi 
    11633  
    11634 rm -rf conftest.dSYM 
    11635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11636       conftest$ac_exeext conftest.$ac_ext 
     5684  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     5685$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     5686as_fn_error "failed 
     5687See \`config.log' for more details." "$LINENO" 5; } 
     5688fi 
     5689rm -f core conftest.err conftest.$ac_objext \ 
     5690    conftest$ac_exeext conftest.$ac_ext 
    116375691 
    116385692        CFLAGS="$SAVED_CFLAGS" 
     
    116505704export IPP_LIBS=$IPP_LIBS" 
    116515705else 
    11652     { $as_echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
     5706    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
    116535707$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
    116545708fi 
     
    116585712 
    116595713# Check whether --enable-ssl was given. 
    11660 if test "${enable_ssl+set}" = set; then 
     5714if test "${enable_ssl+set}" = set; then : 
    116615715  enableval=$enable_ssl; 
    116625716                if test "$enable_ssl" = "no"; then 
    116635717                 ac_no_ssl=1 
    11664                  { $as_echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
     5718                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
    116655719$as_echo "Checking if SSL support is disabled... yes" >&6; } 
    116665720                fi 
     
    116685722else 
    116695723 
    11670                 { $as_echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
     5724                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
    116715725$as_echo "checking for OpenSSL installations.." >&6; } 
    116725726 
    116735727 
    116745728 
    11675                 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    11676   { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    11677 $as_echo_n "checking for openssl/ssl.h... " >&6; } 
    11678 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    11679   $as_echo_n "(cached) " >&6 
    11680 fi 
    11681 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    11682 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; } 
    11683 else 
    11684   # Is the header compilable? 
    11685 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
    11686 $as_echo_n "checking openssl/ssl.h usability... " >&6; } 
    11687 cat >conftest.$ac_ext <<_ACEOF 
    11688 /* confdefs.h.  */ 
    11689 _ACEOF 
    11690 cat confdefs.h >>conftest.$ac_ext 
    11691 cat >>conftest.$ac_ext <<_ACEOF 
    11692 /* end confdefs.h.  */ 
    11693 $ac_includes_default 
    11694 #include <openssl/ssl.h> 
    11695 _ACEOF 
    11696 rm -f conftest.$ac_objext 
    11697 if { (ac_try="$ac_compile" 
    11698 case "(($ac_try" in 
    11699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11700   *) ac_try_echo=$ac_try;; 
    11701 esac 
    11702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11703 $as_echo "$ac_try_echo") >&5 
    11704   (eval "$ac_compile") 2>conftest.er1 
    11705   ac_status=$? 
    11706   grep -v '^ *+' conftest.er1 >conftest.err 
    11707   rm -f conftest.er1 
    11708   cat conftest.err >&5 
    11709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11710   (exit $ac_status); } && { 
    11711          test -z "$ac_c_werror_flag" || 
    11712          test ! -s conftest.err 
    11713        } && test -s conftest.$ac_objext; then 
    11714   ac_header_compiler=yes 
    11715 else 
    11716   $as_echo "$as_me: failed program was:" >&5 
    11717 sed 's/^/| /' conftest.$ac_ext >&5 
    11718  
    11719         ac_header_compiler=no 
    11720 fi 
    11721  
    11722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11723 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11724 $as_echo "$ac_header_compiler" >&6; } 
    11725  
    11726 # Is the header present? 
    11727 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
    11728 $as_echo_n "checking openssl/ssl.h presence... " >&6; } 
    11729 cat >conftest.$ac_ext <<_ACEOF 
    11730 /* confdefs.h.  */ 
    11731 _ACEOF 
    11732 cat confdefs.h >>conftest.$ac_ext 
    11733 cat >>conftest.$ac_ext <<_ACEOF 
    11734 /* end confdefs.h.  */ 
    11735 #include <openssl/ssl.h> 
    11736 _ACEOF 
    11737 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11738 case "(($ac_try" in 
    11739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11740   *) ac_try_echo=$ac_try;; 
    11741 esac 
    11742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11743 $as_echo "$ac_try_echo") >&5 
    11744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11745   ac_status=$? 
    11746   grep -v '^ *+' conftest.er1 >conftest.err 
    11747   rm -f conftest.er1 
    11748   cat conftest.err >&5 
    11749   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11750   (exit $ac_status); } >/dev/null && { 
    11751          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11752          test ! -s conftest.err 
    11753        }; then 
    11754   ac_header_preproc=yes 
    11755 else 
    11756   $as_echo "$as_me: failed program was:" >&5 
    11757 sed 's/^/| /' conftest.$ac_ext >&5 
    11758  
    11759   ac_header_preproc=no 
    11760 fi 
    11761  
    11762 rm -f conftest.err conftest.$ac_ext 
    11763 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11764 $as_echo "$ac_header_preproc" >&6; } 
    11765  
    11766 # So?  What about this header? 
    11767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11768   yes:no: ) 
    11769     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11770 $as_echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11771     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
    11772 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
    11773     ac_header_preproc=yes 
    11774     ;; 
    11775   no:yes:* ) 
    11776     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
    11777 $as_echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
    11778     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
    11779 $as_echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
    11780     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
    11781 $as_echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
    11782     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11783 $as_echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11784     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
    11785 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
    11786     { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
    11787 $as_echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
    11788  
    11789     ;; 
    11790 esac 
    11791 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    11792 $as_echo_n "checking for openssl/ssl.h... " >&6; } 
    11793 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    11794   $as_echo_n "(cached) " >&6 
    11795 else 
    11796   ac_cv_header_openssl_ssl_h=$ac_header_preproc 
    11797 fi 
    11798 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    11799 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; } 
    11800  
    11801 fi 
    11802 if test $ac_cv_header_openssl_ssl_h = yes; then 
     5729                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
     5730if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
    118035731  openssl_h_present=1 
    118045732fi 
    118055733 
    118065734 
    11807                 { $as_echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     5735                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    118085736$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
    11809 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
     5737if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
    118105738  $as_echo_n "(cached) " >&6 
    118115739else 
    118125740  ac_check_lib_save_LIBS=$LIBS 
    118135741LIBS="-lcrypto  $LIBS" 
    11814 cat >conftest.$ac_ext <<_ACEOF 
    11815 /* confdefs.h.  */ 
    11816 _ACEOF 
    11817 cat confdefs.h >>conftest.$ac_ext 
    11818 cat >>conftest.$ac_ext <<_ACEOF 
     5742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    118195743/* end confdefs.h.  */ 
    118205744 
     
    118345758} 
    118355759_ACEOF 
    11836 rm -f conftest.$ac_objext conftest$ac_exeext 
    11837 if { (ac_try="$ac_link" 
    11838 case "(($ac_try" in 
    11839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11840   *) ac_try_echo=$ac_try;; 
    11841 esac 
    11842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11843 $as_echo "$ac_try_echo") >&5 
    11844   (eval "$ac_link") 2>conftest.er1 
    11845   ac_status=$? 
    11846   grep -v '^ *+' conftest.er1 >conftest.err 
    11847   rm -f conftest.er1 
    11848   cat conftest.err >&5 
    11849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11850   (exit $ac_status); } && { 
    11851          test -z "$ac_c_werror_flag" || 
    11852          test ! -s conftest.err 
    11853        } && test -s conftest$ac_exeext && { 
    11854          test "$cross_compiling" = yes || 
    11855          $as_test_x conftest$ac_exeext 
    11856        }; then 
     5760if ac_fn_c_try_link "$LINENO"; then : 
    118575761  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    118585762else 
    11859   $as_echo "$as_me: failed program was:" >&5 
    11860 sed 's/^/| /' conftest.$ac_ext >&5 
    11861  
    11862         ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    11863 fi 
    11864  
    11865 rm -rf conftest.dSYM 
    11866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11867       conftest$ac_exeext conftest.$ac_ext 
     5763  ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     5764fi 
     5765rm -f core conftest.err conftest.$ac_objext \ 
     5766    conftest$ac_exeext conftest.$ac_ext 
    118685767LIBS=$ac_check_lib_save_LIBS 
    118695768fi 
    11870 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     5769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    118715770$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    11872 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     5771if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
    118735772  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    118745773fi 
    118755774 
    11876                 { $as_echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
     5775                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
    118775776$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
    11878 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
     5777if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
    118795778  $as_echo_n "(cached) " >&6 
    118805779else 
    118815780  ac_check_lib_save_LIBS=$LIBS 
    118825781LIBS="-lssl  $LIBS" 
    11883 cat >conftest.$ac_ext <<_ACEOF 
    11884 /* confdefs.h.  */ 
    11885 _ACEOF 
    11886 cat confdefs.h >>conftest.$ac_ext 
    11887 cat >>conftest.$ac_ext <<_ACEOF 
     5782cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    118885783/* end confdefs.h.  */ 
    118895784 
     
    119035798} 
    119045799_ACEOF 
    11905 rm -f conftest.$ac_objext conftest$ac_exeext 
    11906 if { (ac_try="$ac_link" 
    11907 case "(($ac_try" in 
    11908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11909   *) ac_try_echo=$ac_try;; 
    11910 esac 
    11911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    11912 $as_echo "$ac_try_echo") >&5 
    11913   (eval "$ac_link") 2>conftest.er1 
    11914   ac_status=$? 
    11915   grep -v '^ *+' conftest.er1 >conftest.err 
    11916   rm -f conftest.er1 
    11917   cat conftest.err >&5 
    11918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11919   (exit $ac_status); } && { 
    11920          test -z "$ac_c_werror_flag" || 
    11921          test ! -s conftest.err 
    11922        } && test -s conftest$ac_exeext && { 
    11923          test "$cross_compiling" = yes || 
    11924          $as_test_x conftest$ac_exeext 
    11925        }; then 
     5800if ac_fn_c_try_link "$LINENO"; then : 
    119265801  ac_cv_lib_ssl_SSL_library_init=yes 
    119275802else 
    11928   $as_echo "$as_me: failed program was:" >&5 
    11929 sed 's/^/| /' conftest.$ac_ext >&5 
    11930  
    11931         ac_cv_lib_ssl_SSL_library_init=no 
    11932 fi 
    11933  
    11934 rm -rf conftest.dSYM 
    11935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11936       conftest$ac_exeext conftest.$ac_ext 
     5803  ac_cv_lib_ssl_SSL_library_init=no 
     5804fi 
     5805rm -f core conftest.err conftest.$ac_objext \ 
     5806    conftest$ac_exeext conftest.$ac_ext 
    119375807LIBS=$ac_check_lib_save_LIBS 
    119385808fi 
    11939 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     5809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    119405810$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    11941 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     5811if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
    119425812  libssl_present=1 && LIBS="$LIBS -lssl" 
    119435813fi 
    119445814 
    119455815                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    11946                         { $as_echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
     5816                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
    119475817$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
    119485818                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    119495819                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    11950                         cat >>confdefs.h <<\_ACEOF 
    11951 #define PJ_HAS_SSL_SOCK 1 
    11952 _ACEOF 
     5820                        $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
    119535821 
    119545822                else 
    11955                         { $as_echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     5823                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    119565824$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    119575825                fi 
     
    119635831 
    119645832 
    11965 { $as_echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
     5833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
    119665834$as_echo_n "checking if select() needs correct nfds... " >&6; } 
    119675835case $target in 
    11968   *rtems*) cat >>confdefs.h <<\_ACEOF 
    11969 #define PJ_SELECT_NEEDS_NFDS 1 
    11970 _ACEOF 
    11971  
    11972            { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5836  *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
     5837 
     5838           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    119735839$as_echo "yes" >&6; } 
    119745840        ;; 
    11975   *) cat >>confdefs.h <<\_ACEOF 
    11976 #define PJ_SELECT_NEEDS_NFDS 0 
    11977 _ACEOF 
    11978  
    11979      { $as_echo "$as_me:$LINENO: result: no (default)" >&5 
     5841  *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
     5842 
     5843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    119805844$as_echo "no (default)" >&6; } 
    11981      { $as_echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     5845     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    119825846$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    119835847        ;; 
    119845848esac 
    119855849 
    11986 { $as_echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
     5850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
    119875851$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
    119885852case $target in 
    11989   *rtems*) cat >>confdefs.h <<\_ACEOF 
    11990 #define PJ_THREAD_SET_STACK_SIZE 1 
    11991 _ACEOF 
    11992  
    11993            { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5853  *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
     5854 
     5855           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    119945856$as_echo "yes" >&6; } 
    119955857        ;; 
    11996   *) cat >>confdefs.h <<\_ACEOF 
    11997 #define PJ_THREAD_SET_STACK_SIZE 0 
    11998 _ACEOF 
    11999  
    12000      { $as_echo "$as_me:$LINENO: result: no (default)" >&5 
     5858  *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
     5859 
     5860     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    120015861$as_echo "no (default)" >&6; } 
    120025862        ;; 
    120035863esac 
    120045864 
    12005 { $as_echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
     5865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
    120065866$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
    120075867case $target in 
    12008   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12009 #define PJ_THREAD_ALLOCATE_STACK 1 
    12010 _ACEOF 
    12011  
    12012            { $as_echo "$as_me:$LINENO: result: yes" >&5 
     5868  *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
     5869 
     5870           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    120135871$as_echo "yes" >&6; } 
    120145872        ;; 
    12015   *) cat >>confdefs.h <<\_ACEOF 
    12016 #define PJ_THREAD_ALLOCATE_STACK 0 
    12017 _ACEOF 
    12018  
    12019      { $as_echo "$as_me:$LINENO: result: no (default)" >&5 
     5873  *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
     5874 
     5875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    120205876$as_echo "no (default)" >&6; } 
    120215877        ;; 
     
    120245880case $target in 
    120255881  *mingw* | *cygw* | *win32* | *w32* ) 
    12026         cat >>confdefs.h <<\_ACEOF 
    12027 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    12028 _ACEOF 
     5882        $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    120295883 
    120305884        ;; 
    12031   *) cat >>confdefs.h <<\_ACEOF 
    12032 #define PJ_BLOCKING_ERROR_VAL EAGAIN 
    12033 _ACEOF 
    12034  
    12035      { $as_echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     5885  *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
     5886 
     5887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    120365888$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    120375889        ;; 
     
    120405892case $target in 
    120415893  *mingw* | *cygw* | *win32* | *w32* ) 
    12042         cat >>confdefs.h <<\_ACEOF 
    12043 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    12044 _ACEOF 
     5894        $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    120455895 
    120465896        ;; 
    12047   *) cat >>confdefs.h <<\_ACEOF 
    12048 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    12049 _ACEOF 
    12050  
    12051      { $as_echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     5897  *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
     5898 
     5899     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    120525900$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    120535901        ;; 
     
    121055953    *${as_nl}*) 
    121065954      case $ac_var in #( 
    12107       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    12108 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     5955      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     5956$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    121095957      esac 
    121105958      case $ac_var in #( 
    121115959      _ | IFS | as_nl) ;; #( 
    121125960      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    12113       *) $as_unset $ac_var ;; 
     5961      *) { eval $ac_var=; unset $ac_var;} ;; 
    121145962      esac ;; 
    121155963    esac 
     
    121195967    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    121205968    *${as_nl}ac_space=\ *) 
    12121       # `set' does not quote correctly, so add quotes (double-quote 
    12122       # substitution turns \\\\ into \\, and sed turns \\ into \). 
     5969      # `set' does not quote correctly, so add quotes: double-quote 
     5970      # substitution turns \\\\ into \\, and sed turns \\ into \. 
    121235971      sed -n \ 
    121245972        "s/'/'\\\\''/g; 
     
    121435991  if test -w "$cache_file"; then 
    121445992    test "x$cache_file" != "x/dev/null" && 
    12145       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 
     5993      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
    121465994$as_echo "$as_me: updating cache $cache_file" >&6;} 
    121475995    cat confcache >$cache_file 
    121485996  else 
    12149     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
     5997    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
    121505998$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    121515999  fi 
     
    121676015  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    121686016  #    will be set to the directory where LIBOBJS objects are built. 
    12169   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    12170   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
     6017  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     6018  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
    121716019done 
    121726020LIBOBJS=$ac_libobjs 
     
    121816029ac_clean_files_save=$ac_clean_files 
    121826030ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    12183 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
     6031{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
    121846032$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    12185 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     6033as_write_fail=0 
     6034cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
    121866035#! $SHELL 
    121876036# Generated by $as_me. 
     
    121936042ac_cs_recheck=false 
    121946043ac_cs_silent=false 
     6044 
    121956045SHELL=\${CONFIG_SHELL-$SHELL} 
    12196 _ACEOF 
    12197  
    12198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    12199 ## --------------------- ## 
    12200 ## M4sh Initialization.  ## 
    12201 ## --------------------- ## 
     6046export SHELL 
     6047_ASEOF 
     6048cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
     6049## -------------------- ## 
     6050## M4sh Initialization. ## 
     6051## -------------------- ## 
    122026052 
    122036053# Be more Bourne compatible 
    122046054DUALCASE=1; export DUALCASE # for MKS sh 
    12205 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     6055if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    122066056  emulate sh 
    122076057  NULLCMD=: 
     
    122116061  setopt NO_GLOB_SUBST 
    122126062else 
    12213   case `(set -o) 2>/dev/null` in 
    12214   *posix*) set -o posix ;; 
     6063  case `(set -o) 2>/dev/null` in #( 
     6064  *posix*) : 
     6065    set -o posix ;; #( 
     6066  *) : 
     6067     ;; 
    122156068esac 
    12216  
    12217 fi 
    12218  
    12219  
    12220  
    12221  
    12222 # PATH needs CR 
    12223 # Avoid depending upon Character Ranges. 
    12224 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    12225 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    12226 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    12227 as_cr_digits='0123456789' 
    12228 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     6069fi 
     6070 
    122296071 
    122306072as_nl=' 
     
    122356077as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
    122366078as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
    12237 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6079# Prefer a ksh shell builtin over an external printf program on Solaris, 
     6080# but without wasting forks for bash or zsh. 
     6081if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     6082    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6083  as_echo='print -r --' 
     6084  as_echo_n='print -rn --' 
     6085elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
    122386086  as_echo='printf %s\n' 
    122396087  as_echo_n='printf %s' 
     
    122466094    as_echo_n_body='eval 
    122476095      arg=$1; 
    12248       case $arg in 
     6096      case $arg in #( 
    122496097      *"$as_nl"*) 
    122506098        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     
    122696117fi 
    122706118 
    12271 # Support unset when possible. 
    12272 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    12273   as_unset=unset 
    12274 else 
    12275   as_unset=false 
    12276 fi 
    12277  
    122786119 
    122796120# IFS 
     
    122856126 
    122866127# Find who we are.  Look in the path if we contain no directory separator. 
    12287 case $0 in 
     6128case $0 in #(( 
    122886129  *[\\/]* ) as_myself=$0 ;; 
    122896130  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    122926133  IFS=$as_save_IFS 
    122936134  test -z "$as_dir" && as_dir=. 
    12294   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    12295 done 
     6135    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     6136  done 
    122966137IFS=$as_save_IFS 
    122976138 
     
    123056146if test ! -f "$as_myself"; then 
    123066147  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    12307   { (exit 1); exit 1; } 
    12308 fi 
    12309  
    12310 # Work around bugs in pre-3.0 UWIN ksh. 
    12311 for as_var in ENV MAIL MAILPATH 
    12312 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     6148  exit 1 
     6149fi 
     6150 
     6151# Unset variables that we do not need and which cause bugs (e.g. in 
     6152# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     6153# suppresses any "Segmentation fault" message there.  '((' could 
     6154# trigger a bug in pdksh 5.2.14. 
     6155for as_var in BASH_ENV ENV MAIL MAILPATH 
     6156do eval test x\${$as_var+set} = xset \ 
     6157  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    123136158done 
    123146159PS1='$ ' 
     
    123226167export LANGUAGE 
    123236168 
    12324 # Required to use basename. 
     6169# CDPATH. 
     6170(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     6171 
     6172 
     6173# as_fn_error ERROR [LINENO LOG_FD] 
     6174# --------------------------------- 
     6175# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     6176# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     6177# script with status $?, using 1 if that was 0. 
     6178as_fn_error () 
     6179{ 
     6180  as_status=$?; test $as_status -eq 0 && as_status=1 
     6181  if test "$3"; then 
     6182    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     6183    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     6184  fi 
     6185  $as_echo "$as_me: error: $1" >&2 
     6186  as_fn_exit $as_status 
     6187} # as_fn_error 
     6188 
     6189 
     6190# as_fn_set_status STATUS 
     6191# ----------------------- 
     6192# Set $? to STATUS, without forking. 
     6193as_fn_set_status () 
     6194{ 
     6195  return $1 
     6196} # as_fn_set_status 
     6197 
     6198# as_fn_exit STATUS 
     6199# ----------------- 
     6200# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     6201as_fn_exit () 
     6202{ 
     6203  set +e 
     6204  as_fn_set_status $1 
     6205  exit $1 
     6206} # as_fn_exit 
     6207 
     6208# as_fn_unset VAR 
     6209# --------------- 
     6210# Portably unset VAR. 
     6211as_fn_unset () 
     6212{ 
     6213  { eval $1=; unset $1;} 
     6214} 
     6215as_unset=as_fn_unset 
     6216# as_fn_append VAR VALUE 
     6217# ---------------------- 
     6218# Append the text in VALUE to the end of the definition contained in VAR. Take 
     6219# advantage of any shell optimizations that allow amortized linear growth over 
     6220# repeated appends, instead of the typical quadratic growth present in naive 
     6221# implementations. 
     6222if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     6223  eval 'as_fn_append () 
     6224  { 
     6225    eval $1+=\$2 
     6226  }' 
     6227else 
     6228  as_fn_append () 
     6229  { 
     6230    eval $1=\$$1\$2 
     6231  } 
     6232fi # as_fn_append 
     6233 
     6234# as_fn_arith ARG... 
     6235# ------------------ 
     6236# Perform arithmetic evaluation on the ARGs, and store the result in the 
     6237# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     6238# must be portable across $(()) and expr. 
     6239if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     6240  eval 'as_fn_arith () 
     6241  { 
     6242    as_val=$(( $* )) 
     6243  }' 
     6244else 
     6245  as_fn_arith () 
     6246  { 
     6247    as_val=`expr "$@" || test $? -eq 1` 
     6248  } 
     6249fi # as_fn_arith 
     6250 
     6251 
    123256252if expr a : '\(a\)' >/dev/null 2>&1 && 
    123266253   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    123366263fi 
    123376264 
    12338  
    12339 # Name of the executable. 
     6265if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     6266  as_dirname=dirname 
     6267else 
     6268  as_dirname=false 
     6269fi 
     6270 
    123406271as_me=`$as_basename -- "$0" || 
    123416272$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     
    123576288          s/.*/./; q'` 
    123586289 
    12359 # CDPATH. 
    12360 $as_unset CDPATH 
    12361  
    12362  
    12363  
    12364   as_lineno_1=$LINENO 
    12365   as_lineno_2=$LINENO 
    12366   test "x$as_lineno_1" != "x$as_lineno_2" && 
    12367   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    12368  
    12369   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    12370   # uniformly replaced by the line number.  The first 'sed' inserts a 
    12371   # line-number line after each line using $LINENO; the second 'sed' 
    12372   # does the real work.  The second script uses 'N' to pair each 
    12373   # line-number line with the line containing $LINENO, and appends 
    12374   # trailing '-' during substitution so that $LINENO is not a special 
    12375   # case at line end. 
    12376   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    12377   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    12378   # E. McMahon (1931-1989) for sed's syntax.  :-) 
    12379   sed -n ' 
    12380     p 
    12381     /[$]LINENO/= 
    12382   ' <$as_myself | 
    12383     sed ' 
    12384       s/[$]LINENO.*/&-/ 
    12385       t lineno 
    12386       b 
    12387       :lineno 
    12388       N 
    12389       :loop 
    12390       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    12391       t loop 
    12392       s/-\n.*// 
    12393     ' >$as_me.lineno && 
    12394   chmod +x "$as_me.lineno" || 
    12395     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    12396    { (exit 1); exit 1; }; } 
    12397  
    12398   # Don't try to exec as it changes $[0], causing all sort of problems 
    12399   # (the dirname of $[0] is not the place where we might find the 
    12400   # original and so on.  Autoconf is especially sensitive to this). 
    12401   . "./$as_me.lineno" 
    12402   # Exit status is that of the last command. 
    12403   exit 
    12404 } 
    12405  
    12406  
    12407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    12408   as_dirname=dirname 
    12409 else 
    12410   as_dirname=false 
    12411 fi 
     6290# Avoid depending upon Character Ranges. 
     6291as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     6292as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     6293as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     6294as_cr_digits='0123456789' 
     6295as_cr_alnum=$as_cr_Letters$as_cr_digits 
    124126296 
    124136297ECHO_C= ECHO_N= ECHO_T= 
    12414 case `echo -n x` in 
     6298case `echo -n x` in #((((( 
    124156299-n*) 
    12416   case `echo 'x\c'` in 
     6300  case `echo 'xy\c'` in 
    124176301  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    12418   *)   ECHO_C='\c';; 
     6302  xy)  ECHO_C='\c';; 
     6303  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     6304       ECHO_T=' ';; 
    124196305  esac;; 
    124206306*) 
    124216307  ECHO_N='-n';; 
    124226308esac 
    12423 if expr a : '\(a\)' >/dev/null 2>&1 && 
    12424    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    12425   as_expr=expr 
    12426 else 
    12427   as_expr=false 
    12428 fi 
    124296309 
    124306310rm -f conf$$ conf$$.exe conf$$.file 
     
    124556335rmdir conf$$.dir 2>/dev/null 
    124566336 
     6337 
     6338# as_fn_mkdir_p 
     6339# ------------- 
     6340# Create "$as_dir" as a directory, including parents if necessary. 
     6341as_fn_mkdir_p () 
     6342{ 
     6343 
     6344  case $as_dir in #( 
     6345  -*) as_dir=./$as_dir;; 
     6346  esac 
     6347  test -d "$as_dir" || eval $as_mkdir_p || { 
     6348    as_dirs= 
     6349    while :; do 
     6350      case $as_dir in #( 
     6351      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     6352      *) as_qdir=$as_dir;; 
     6353      esac 
     6354      as_dirs="'$as_qdir' $as_dirs" 
     6355      as_dir=`$as_dirname -- "$as_dir" || 
     6356$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     6357         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     6358         X"$as_dir" : 'X\(//\)$' \| \ 
     6359         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     6360$as_echo X"$as_dir" | 
     6361    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     6362            s//\1/ 
     6363            q 
     6364          } 
     6365          /^X\(\/\/\)[^/].*/{ 
     6366            s//\1/ 
     6367            q 
     6368          } 
     6369          /^X\(\/\/\)$/{ 
     6370            s//\1/ 
     6371            q 
     6372          } 
     6373          /^X\(\/\).*/{ 
     6374            s//\1/ 
     6375            q 
     6376          } 
     6377          s/.*/./; q'` 
     6378      test -d "$as_dir" && break 
     6379    done 
     6380    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     6381  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     6382 
     6383 
     6384} # as_fn_mkdir_p 
    124576385if mkdir -p . 2>/dev/null; then 
    12458   as_mkdir_p=: 
     6386  as_mkdir_p='mkdir -p "$as_dir"' 
    124596387else 
    124606388  test -d ./-p && rmdir ./-p 
     
    124756403        test -d "$1/."; 
    124766404      else 
    12477         case $1 in 
     6405        case $1 in #( 
    124786406        -*)set "./$1";; 
    124796407        esac; 
    12480         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     6408        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    124816409        ???[sx]*):;;*)false;;esac;fi 
    124826410    '\'' sh 
     
    124936421 
    124946422exec 6>&1 
    12495  
    12496 # Save the log message, to keep $[0] and so on meaningful, and to 
     6423## ----------------------------------- ## 
     6424## Main body of $CONFIG_STATUS script. ## 
     6425## ----------------------------------- ## 
     6426_ASEOF 
     6427test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
     6428 
     6429cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     6430# Save the log message, to keep $0 and so on meaningful, and to 
    124976431# report actual input values of CONFIG_FILES etc. instead of their 
    124986432# values after options handling. 
    124996433ac_log=" 
    125006434This file was extended by pjproject $as_me 1.0, which was 
    12501 generated by GNU Autoconf 2.62.  Invocation command line was 
     6435generated by GNU Autoconf 2.64.  Invocation command line was 
    125026436 
    125036437  CONFIG_FILES    = $CONFIG_FILES 
     
    125126446_ACEOF 
    125136447 
     6448case $ac_config_files in *" 
     6449"*) set x $ac_config_files; shift; ac_config_files=$*;; 
     6450esac 
     6451 
     6452case $ac_config_headers in *" 
     6453"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
     6454esac 
     6455 
     6456 
    125146457cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    125156458# Files that config.status was made for. 
     
    125216464cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    125226465ac_cs_usage="\ 
    12523 \`$as_me' instantiates files from templates according to the 
    12524 current configuration. 
    12525  
    12526 Usage: $0 [OPTIONS] [FILE]... 
     6466\`$as_me' instantiates files and other configuration actions 
     6467from templates according to the current configuration.  Unless the files 
     6468and actions are specified as TAGs, all are instantiated by default. 
     6469 
     6470Usage: $0 [OPTION]... [TAG]... 
    125276471 
    125286472  -h, --help       print this help, then exit 
    125296473  -V, --version    print version number and configuration settings, then exit 
    12530   -q, --quiet      do not print progress messages 
     6474  -q, --quiet, --silent 
     6475                   do not print progress messages 
    125316476  -d, --debug      don't remove temporary files 
    125326477      --recheck    update $as_me by reconfiguring in the same conditions 
    12533   --file=FILE[:TEMPLATE] 
     6478      --file=FILE[:TEMPLATE] 
    125346479                   instantiate the configuration file FILE 
    12535   --header=FILE[:TEMPLATE] 
     6480      --header=FILE[:TEMPLATE] 
    125366481                   instantiate the configuration header FILE 
    125376482 
     
    125426487$config_headers 
    125436488 
    12544 Report bugs to <bug-autoconf@gnu.org>." 
     6489Report bugs to the package provider." 
    125456490 
    125466491_ACEOF 
     
    125486493ac_cs_version="\\ 
    125496494pjproject config.status 1.0 
    12550 configured by $0, generated by GNU Autoconf 2.62, 
     6495configured by $0, generated by GNU Autoconf 2.64, 
    125516496  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
    125526497 
    12553 Copyright (C) 2008 Free Software Foundation, Inc. 
     6498Copyright (C) 2009 Free Software Foundation, Inc. 
    125546499This config.status script is free software; the Free Software Foundation 
    125556500gives unlimited permission to copy, distribute and modify it." 
     
    125916536    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    125926537    esac 
    12593     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 
     6538    as_fn_append CONFIG_FILES " '$ac_optarg'" 
    125946539    ac_need_defaults=false;; 
    125956540  --header | --heade | --head | --hea ) 
     
    125986543    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    125996544    esac 
    12600     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 
     6545    as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
    126016546    ac_need_defaults=false;; 
    126026547  --he | --h) 
    126036548    # Conflict between --help and --header 
    12604     { $as_echo "$as_me: error: ambiguous option: $1 
    12605 Try \`$0 --help' for more information." >&2 
    12606    { (exit 1); exit 1; }; };; 
     6549    as_fn_error "ambiguous option: \`$1' 
     6550Try \`$0 --help' for more information.";; 
    126076551  --help | --hel | -h ) 
    126086552    $as_echo "$ac_cs_usage"; exit ;; 
     
    126126556 
    126136557  # This is an error. 
    12614   -*) { $as_echo "$as_me: error: unrecognized option: $1 
    12615 Try \`$0 --help' for more information." >&2 
    12616    { (exit 1); exit 1; }; } ;; 
    12617  
    12618   *) ac_config_targets="$ac_config_targets $1" 
     6558  -*) as_fn_error "unrecognized option: \`$1' 
     6559Try \`$0 --help' for more information." ;; 
     6560 
     6561  *) as_fn_append ac_config_targets " $1" 
    126196562     ac_need_defaults=false ;; 
    126206563 
     
    126766619    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    126776620 
    12678   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    12679 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    12680    { (exit 1); exit 1; }; };; 
     6621  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
    126816622  esac 
    126826623done 
     
    127046645  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    127056646' 0 
    12706   trap '{ (exit 1); exit 1; }' 1 2 13 15 
     6647  trap 'as_fn_exit 1' 1 2 13 15 
    127076648} 
    127086649# Create a (secure) tmp directory for tmp files. 
     
    127156656  tmp=./conf$$-$RANDOM 
    127166657  (umask 077 && mkdir "$tmp") 
    12717 } || 
    12718 { 
    12719    $as_echo "$as_me: cannot create a temporary directory in ." >&2 
    12720    { (exit 1); exit 1; } 
    12721 } 
     6658} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
    127226659 
    127236660# Set up the scripts for CONFIG_FILES section. 
     
    127276664 
    127286665 
    12729 ac_cr=' 
    12730 ' 
     6666ac_cr=`echo X | tr X '\015'` 
     6667# On cygwin, bash can eat \r inside `` if the user requested igncr. 
     6668# But we know of no other shell where ac_cr would be empty at this 
     6669# point, so we can use a bashism as a fallback. 
     6670if test "x$ac_cr" = x; then 
     6671  eval ac_cr=\$\'\\r\' 
     6672fi 
    127316673ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
    127326674if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
    12733   ac_cs_awk_cr='\\r' 
     6675  ac_cs_awk_cr='\r' 
    127346676else 
    127356677  ac_cs_awk_cr=$ac_cr 
     
    127456687  echo "_ACEOF" 
    127466688} >conf$$subs.sh || 
    12747   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    12748 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    12749    { (exit 1); exit 1; }; } 
     6689  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    127506690ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
    127516691ac_delim='%!_!# ' 
    127526692for ac_last_try in false false false false false :; do 
    127536693  . ./conf$$subs.sh || 
    12754     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    12755 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    12756    { (exit 1); exit 1; }; } 
    12757  
    12758   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 
     6694    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     6695 
     6696  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     6697  if test $ac_delim_n = $ac_delim_num; then 
    127596698    break 
    127606699  elif $ac_last_try; then 
    12761     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    12762 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    12763    { (exit 1); exit 1; }; } 
     6700    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    127646701  else 
    127656702    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    128506787  cat 
    128516788fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
    12852   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 
    12853 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 
    12854    { (exit 1); exit 1; }; } 
     6789  || as_fn_error "could not setup config files machinery" "$LINENO" 5 
    128556790_ACEOF 
    128566791 
     
    128936828    break 
    128946829  elif $ac_last_try; then 
    12895     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 
    12896 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 
    12897    { (exit 1); exit 1; }; } 
     6830    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
    128986831  else 
    128996832    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     
    129616894  split(mac1, mac2, "(") #) 
    129626895  macro = mac2[1] 
     6896  prefix = substr(line, 1, index(line, defundef) - 1) 
    129636897  if (D_is_set[macro]) { 
    129646898    # Preserve the white space surrounding the "#". 
    12965     prefix = substr(line, 1, index(line, defundef) - 1) 
    129666899    print prefix "define", macro P[macro] D[macro] 
    129676900    next 
     
    129716904    # on some systems where configure will not decide to define it. 
    129726905    if (defundef == "undef") { 
    12973       print "/*", line, "*/" 
     6906      print "/*", prefix defundef, macro, "*/" 
    129746907      next 
    129756908    } 
     
    129806913_ACEOF 
    129816914cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    12982   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 
    12983 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 
    12984    { (exit 1); exit 1; }; } 
     6915  as_fn_error "could not setup config headers machinery" "$LINENO" 5 
    129856916fi # test -n "$CONFIG_HEADERS" 
    129866917 
     
    129956926  case $ac_mode$ac_tag in 
    129966927  :[FHL]*:*);; 
    12997   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
    12998 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
    12999    { (exit 1); exit 1; }; };; 
     6928  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
    130006929  :[FH]-) ac_tag=-:-;; 
    130016930  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     
    130256954           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    130266955           esac || 
    13027            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
    13028 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
    13029    { (exit 1); exit 1; }; };; 
     6956           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
    130306957      esac 
    130316958      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
    13032       ac_file_inputs="$ac_file_inputs '$ac_f'" 
     6959      as_fn_append ac_file_inputs " '$ac_f'" 
    130336960    done 
    130346961 
     
    130416968    if test x"$ac_file" != x-; then 
    130426969      configure_input="$ac_file.  $configure_input" 
    13043       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 
     6970      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
    130446971$as_echo "$as_me: creating $ac_file" >&6;} 
    130456972    fi 
     
    130546981    case $ac_tag in 
    130556982    *:-:* | *:-) cat >"$tmp/stdin" \ 
    13056       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 
    13057 $as_echo "$as_me: error: could not create $ac_file" >&2;} 
    13058    { (exit 1); exit 1; }; } ;; 
     6983      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
    130596984    esac 
    130606985    ;; 
     
    130847009          } 
    130857010          s/.*/./; q'` 
    13086   { as_dir="$ac_dir" 
    13087   case $as_dir in #( 
    13088   -*) as_dir=./$as_dir;; 
    13089   esac 
    13090   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
    13091     as_dirs= 
    13092     while :; do 
    13093       case $as_dir in #( 
    13094       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    13095       *) as_qdir=$as_dir;; 
    13096       esac 
    13097       as_dirs="'$as_qdir' $as_dirs" 
    13098       as_dir=`$as_dirname -- "$as_dir" || 
    13099 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    13100          X"$as_dir" : 'X\(//\)[^/]' \| \ 
    13101          X"$as_dir" : 'X\(//\)$' \| \ 
    13102          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    13103 $as_echo X"$as_dir" | 
    13104     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    13105             s//\1/ 
    13106             q 
    13107           } 
    13108           /^X\(\/\/\)[^/].*/{ 
    13109             s//\1/ 
    13110             q 
    13111           } 
    13112           /^X\(\/\/\)$/{ 
    13113             s//\1/ 
    13114             q 
    13115           } 
    13116           /^X\(\/\).*/{ 
    13117             s//\1/ 
    13118             q 
    13119           } 
    13120           s/.*/./; q'` 
    13121       test -d "$as_dir" && break 
    13122     done 
    13123     test -z "$as_dirs" || eval "mkdir $as_dirs" 
    13124   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
    13125 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    13126    { (exit 1); exit 1; }; }; } 
     7011  as_dir="$ac_dir"; as_fn_mkdir_p 
    131277012  ac_builddir=. 
    131287013 
     
    131727057# FIXME: This hack should be removed a few years after 2.60. 
    131737058ac_datarootdir_hack=; ac_datarootdir_seen= 
    13174  
    131757059ac_sed_dataroot=' 
    131767060/datarootdir/ { 
     
    131827066/@infodir@/p 
    131837067/@localedir@/p 
    13184 /@mandir@/p 
    13185 ' 
     7068/@mandir@/p' 
    131867069case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
    131877070*datarootdir*) ac_datarootdir_seen=yes;; 
    131887071*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    13189   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     7072  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    131907073$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    131917074_ACEOF 
     
    131977080  s&@localedir@&$localedir&g 
    131987081  s&@mandir@&$mandir&g 
    13199     s&\\\${datarootdir}&$datarootdir&g' ;; 
     7082  s&\\\${datarootdir}&$datarootdir&g' ;; 
    132007083esac 
    132017084_ACEOF 
     
    132247107" 
    132257108eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    13226   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 
    13227 $as_echo "$as_me: error: could not create $ac_file" >&2;} 
    13228    { (exit 1); exit 1; }; } 
     7109  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    132297110 
    132307111test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    132317112  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    132327113  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    13233   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     7114  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    132347115which seems to be undefined.  Please make sure it is defined." >&5 
    132357116$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     
    132417122  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
    132427123  esac \ 
    13243   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 
    13244 $as_echo "$as_me: error: could not create $ac_file" >&2;} 
    13245    { (exit 1); exit 1; }; } 
     7124  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    132467125 ;; 
    132477126  :H) 
     
    132547133      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    132557134    } >"$tmp/config.h" \ 
    13256       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 
    13257 $as_echo "$as_me: error: could not create $ac_file" >&2;} 
    13258    { (exit 1); exit 1; }; } 
     7135      || as_fn_error "could not create $ac_file" "$LINENO" 5 
    132597136    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
    13260       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
     7137      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
    132617138$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    132627139    else 
    132637140      rm -f "$ac_file" 
    132647141      mv "$tmp/config.h" "$ac_file" \ 
    13265         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 
    13266 $as_echo "$as_me: error: could not create $ac_file" >&2;} 
    13267    { (exit 1); exit 1; }; } 
     7142        || as_fn_error "could not create $ac_file" "$LINENO" 5 
    132687143    fi 
    132697144  else 
    132707145    $as_echo "/* $configure_input  */" \ 
    132717146      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
    13272       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 
    13273 $as_echo "$as_me: error: could not create -" >&2;} 
    13274    { (exit 1); exit 1; }; } 
     7147      || as_fn_error "could not create -" "$LINENO" 5 
    132757148  fi 
    132767149 ;; 
     
    132827155 
    132837156 
    13284 { (exit 0); exit 0; } 
    13285 _ACEOF 
    13286 chmod +x $CONFIG_STATUS 
     7157as_fn_exit 0 
     7158_ACEOF 
    132877159ac_clean_files=$ac_clean_files_save 
    132887160 
    132897161test $ac_write_fail = 0 || 
    13290   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 
    13291 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 
    13292    { (exit 1); exit 1; }; } 
     7162  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    132937163 
    132947164 
     
    133117181  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    133127182  # would make configure fail if this is the last instruction. 
    13313   $ac_cs_success || { (exit 1); exit 1; } 
     7183  $ac_cs_success || as_fn_exit $? 
    133147184fi 
    133157185if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
    13316   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 
    13317 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 
    13318 fi 
    13319  
    13320  
    13321  
    13322 { $as_echo "$as_me:$LINENO: result: 
     7186  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
     7187$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
     7188fi 
     7189 
     7190 
     7191 
     7192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
    133237193 
    133247194Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 
  • pjproject/trunk/aconfigure.ac

    r3057 r3058  
    389389              ) 
    390390 
     391dnl # PortAudio path. If ac_pa_path is not empty, we're using PortAudio 
     392dnl # in external location (not under third_party) 
     393AC_SUBST(ac_pa_path) 
     394AC_ARG_WITH(pa-path, 
     395    AC_HELP_STRING([--with-pa-path=DIR], 
     396                   [Specify PortAudio alternate location (e.g. /usr). When this option is set, we will not use our copy of PortAudio in third_party directory.]), 
     397    [ 
     398        if test "x$with_pa_path" != "xno"; then 
     399                ac_pa_path=$with_pa_path 
     400                # Remove trailing backslash 
     401                ac_pa_path=`echo $ac_pa_path | sed 's/\/$//'` 
     402                # Test the path 
     403                #if test ! -f $ac_pa_path/include/portaudio.h; then 
     404                #       AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/include/portaudio.h does not exist]) 
     405                #fi 
     406                #if test ! -d $ac_pa_path/lib; then 
     407                #       AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/lib does not exist]) 
     408                #fi 
     409                AC_MSG_RESULT([** Using PortAudio in $ac_pa_path **]) 
     410        fi 
     411    ] 
     412    ) 
     413 
     414 
    391415AC_SUBST(ac_pa_cflags) 
    392416AC_CHECK_HEADER(sys/soundcard.h, 
  • pjproject/trunk/build.mak.in

    r2601 r3058  
    3434endif 
    3535 
     36ifneq (x@ac_pa_path@,x) 
     37# We're using external PortAudio 
     38APP_THIRD_PARTY_LIBS += -L@ac_pa_path@/lib -lportaudio 
     39APP_THIRD_PARTY_LIB_FILES +=  
     40else 
    3641ifneq ($(findstring pa,@ac_pjmedia_snd@),) 
    3742APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) 
    3843APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libportaudio-$(LIB_SUFFIX) 
     44endif 
    3945endif 
    4046 
  • pjproject/trunk/pjmedia/build/Makefile

    r3004 r3058  
    22 
    33THIRD_PARTY:=$(PJDIR)/third_party 
    4 PA_DIR := $(THIRD_PARTY)/build/portaudio/src 
    54 
    65SRTP_INC=$(CC_INC)$(THIRD_PARTY)/build/srtp \ 
  • pjproject/trunk/pjmedia/build/os-auto.mak.in

    r2740 r3058  
    8787# 
    8888ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) 
     89ifeq (x@ac_pa_path@,x) 
     90# Our PA in third_party 
    8991export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 
     92else 
     93# External PA 
     94export CFLAGS += -I@ac_pa_path@/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 
     95endif 
    9096endif 
    9197 
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/pa_dev.c

    r2740 r3058  
    3131#define DRIVER_NAME     "PA" 
    3232 
     33/* Enable call to PaUtil_SetDebugPrintFunction, but this is not always 
     34 * available across all PortAudio versions (?) 
     35 */ 
     36/*#define USE_PA_DEBUG_PRINT */ 
     37 
    3338struct pa_aud_factory 
    3439{ 
     
    405410} 
    406411 
     412#ifdef USE_PA_DEBUG_PRINT 
    407413/* Logging callback from PA */ 
    408414static void pa_log_cb(const char *log) 
     
    416422typedef void (*PaUtilLogCallback ) (const char *log); 
    417423void PaUtil_SetDebugPrintFunction(PaUtilLogCallback  cb); 
     424#endif 
    418425 
    419426 
     
    443450    PJ_UNUSED_ARG(f); 
    444451 
     452#ifdef USE_PA_DEBUG_PRINT 
    445453    PaUtil_SetDebugPrintFunction(&pa_log_cb); 
     454#endif 
    446455 
    447456    err = Pa_Initialize(); 
  • pjproject/trunk/third_party/build/os-auto.mak.in

    r2601 r3058  
    1616endif 
    1717 
     18ifeq (x@ac_pa_path@,x) 
     19# Only if we're using our own PA in third_party 
    1820ifneq ($(findstring pa,@ac_pjmedia_snd@),) 
    1921DIRS += portaudio 
    2022endif 
     23endif 
    2124 
Note: See TracChangeset for help on using the changeset viewer.