Changeset 3299


Ignore:
Timestamp:
Aug 27, 2010 6:46:29 AM (14 years ago)
Author:
ming
Message:

Closed ticket #1107: iOS4 background feature

  • pjlib:
    • add support for activesock TCP to work in background mode.
    • add feature in ioqueue to recreate closed UDP sockets.
  • pjsip-apps:
    • ipjsua: add support for iPhone OS 4 background mode
    • ipjsystest: add support for iPhone OS 4 background mode
Location:
pjproject/trunk
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3275 r3299  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 
    4 # 
     3# Generated by GNU Autoconf 2.61 for pjproject 1.x. 
    54# 
    65# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
    8 # Inc. 
    9 # 
    10 # 
     6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
    117# This configure script is free software; the Free Software Foundation 
    128# gives unlimited permission to copy, distribute and modify it. 
    13 ## -------------------- ## 
    14 ## M4sh Initialization. ## 
    15 ## -------------------- ## 
     9## --------------------- ## 
     10## M4sh Initialization.  ## 
     11## --------------------- ## 
    1612 
    1713# Be more Bourne compatible 
    1814DUALCASE=1; export DUALCASE # for MKS sh 
    19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
     15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    2016  emulate sh 
    2117  NULLCMD=: 
    22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
     18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    2319  # is contrary to our usage.  Disable this feature. 
    2420  alias -g '${1+"$@"}'='"$@"' 
    2521  setopt NO_GLOB_SUBST 
    2622else 
    27   case `(set -o) 2>/dev/null` in #( 
    28   *posix*) : 
    29     set -o posix ;; #( 
    30   *) : 
    31      ;; 
    32 esac 
    33 fi 
    34  
    35  
    36 as_nl=' 
    37 ' 
    38 export as_nl 
    39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 
    40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
    41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
    42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
    43 # Prefer a ksh shell builtin over an external printf program on Solaris, 
    44 # but without wasting forks for bash or zsh. 
    45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 
    46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
    47   as_echo='print -r --' 
    48   as_echo_n='print -rn --' 
    49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
    50   as_echo='printf %s\n' 
    51   as_echo_n='printf %s' 
    52 else 
    53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
    54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
    55     as_echo_n='/usr/ucb/echo -n' 
    56   else 
    57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
    58     as_echo_n_body='eval 
    59       arg=$1; 
    60       case $arg in #( 
    61       *"$as_nl"*) 
    62         expr "X$arg" : "X\\(.*\\)$as_nl"; 
    63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
    64       esac; 
    65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
    66     ' 
    67     export as_echo_n_body 
    68     as_echo_n='sh -c $as_echo_n_body as_echo' 
    69   fi 
    70   export as_echo_body 
    71   as_echo='sh -c $as_echo_body as_echo' 
    72 fi 
     23  case `(set -o) 2>/dev/null` in 
     24  *posix*) set -o posix ;; 
     25esac 
     26 
     27fi 
     28 
     29 
     30 
     31 
     32# PATH needs CR 
     33# Avoid depending upon Character Ranges. 
     34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     37as_cr_digits='0123456789' 
     38as_cr_alnum=$as_cr_Letters$as_cr_digits 
    7339 
    7440# The user is always right. 
    7541if test "${PATH_SEPARATOR+set}" != set; then 
    76   PATH_SEPARATOR=: 
    77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
    78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
    79       PATH_SEPARATOR=';' 
    80   } 
     42  echo "#! /bin/sh" >conf$$.sh 
     43  echo  "exit 0"   >>conf$$.sh 
     44  chmod +x conf$$.sh 
     45  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     46    PATH_SEPARATOR=';' 
     47  else 
     48    PATH_SEPARATOR=: 
     49  fi 
     50  rm -f conf$$.sh 
     51fi 
     52 
     53# Support unset when possible. 
     54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     55  as_unset=unset 
     56else 
     57  as_unset=false 
    8158fi 
    8259 
     
    8764# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    8865# splitting by setting IFS to empty value.) 
     66as_nl=' 
     67' 
    8968IFS=" ""        $as_nl" 
    9069 
    9170# Find who we are.  Look in the path if we contain no directory separator. 
    92 case $0 in #(( 
     71case $0 in 
    9372  *[\\/]* ) as_myself=$0 ;; 
    9473  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    9776  IFS=$as_save_IFS 
    9877  test -z "$as_dir" && as_dir=. 
    99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    100   done 
     78  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     79done 
    10180IFS=$as_save_IFS 
    10281 
     
    10988fi 
    11089if test ! -f "$as_myself"; then 
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    112   exit 1 
    113 fi 
    114  
    115 # Unset variables that we do not need and which cause bugs (e.g. in 
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
    117 # suppresses any "Segmentation fault" message there.  '((' could 
    118 # trigger a bug in pdksh 5.2.14. 
    119 for as_var in BASH_ENV ENV MAIL MAILPATH 
    120 do eval test x\${$as_var+set} = xset \ 
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
     90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     91  { (exit 1); exit 1; } 
     92fi 
     93 
     94# Work around bugs in pre-3.0 UWIN ksh. 
     95for as_var in ENV MAIL MAILPATH 
     96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    12297done 
    12398PS1='$ ' 
     
    126101 
    127102# NLS nuisances. 
    128 LC_ALL=C 
    129 export LC_ALL 
    130 LANGUAGE=C 
    131 export LANGUAGE 
    132  
    133 # CDPATH. 
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    135  
    136 if test "x$CONFIG_SHELL" = x; then 
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
    138   emulate sh 
    139   NULLCMD=: 
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
    141   # is contrary to our usage.  Disable this feature. 
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"' 
    143   setopt NO_GLOB_SUBST 
    144 else 
    145   case \`(set -o) 2>/dev/null\` in #( 
    146   *posix*) : 
    147     set -o posix ;; #( 
    148   *) : 
    149      ;; 
    150 esac 
    151 fi 
    152 " 
    153   as_required="as_fn_return () { (exit \$1); } 
    154 as_fn_success () { as_fn_return 0; } 
    155 as_fn_failure () { as_fn_return 1; } 
    156 as_fn_ret_success () { return 0; } 
    157 as_fn_ret_failure () { return 1; } 
    158  
    159 exitcode=0 
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
    165  
    166 else 
    167   exitcode=1; echo positional parameters were not saved. 
    168 fi 
    169 test x\$exitcode = x0 || exit 1" 
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
    174 test \$(( 1 + 1 )) = 2 || exit 1" 
    175   if (eval "$as_required") 2>/dev/null; then : 
    176   as_have_required=yes 
    177 else 
    178   as_have_required=no 
    179 fi 
    180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
    181  
    182 else 
    183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    184 as_found=false 
    185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     103for as_var in \ 
     104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     106  LC_TELEPHONE LC_TIME 
    186107do 
    187   IFS=$as_save_IFS 
    188   test -z "$as_dir" && as_dir=. 
    189   as_found=: 
    190   case $as_dir in #( 
    191          /*) 
    192            for as_base in sh bash ksh sh5; do 
    193              # Try only shells that exist, to save several forks. 
    194              as_shell=$as_dir/$as_base 
    195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
    197   CONFIG_SHELL=$as_shell as_have_required=yes 
    198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
    199   break 2 
    200 fi 
    201 fi 
    202            done;; 
    203        esac 
    204   as_found=false 
     108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     109    eval $as_var=C; export $as_var 
     110  else 
     111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     112  fi 
    205113done 
    206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
    207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
    208   CONFIG_SHELL=$SHELL as_have_required=yes 
    209 fi; } 
    210 IFS=$as_save_IFS 
    211  
    212  
    213       if test "x$CONFIG_SHELL" != x; then : 
    214   # We cannot yet assume a decent shell, so we have to provide a 
    215         # neutralization value for shells without unset; and this also 
    216         # works around shells that cannot unset nonexistent variables. 
    217         BASH_ENV=/dev/null 
    218         ENV=/dev/null 
    219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
    220         export CONFIG_SHELL 
    221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    222 fi 
    223  
    224     if test x$as_have_required = xno; then : 
    225   $as_echo "$0: This script requires a shell more modern than all" 
    226   $as_echo "$0: the shells that I found on your system." 
    227   if test x${ZSH_VERSION+set} = xset ; then 
    228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
    229     $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
    230   else 
    231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
    232 $0: including any error possibly output before this 
    233 $0: message. Then install a modern shell, or manually run 
    234 $0: the script under such a shell if you do have one." 
    235   fi 
    236   exit 1 
    237 fi 
    238 fi 
    239 fi 
    240 SHELL=${CONFIG_SHELL-/bin/sh} 
    241 export SHELL 
    242 # Unset more variables known to interfere with behavior of common tools. 
    243 CLICOLOR_FORCE= GREP_OPTIONS= 
    244 unset CLICOLOR_FORCE GREP_OPTIONS 
    245  
    246 ## --------------------- ## 
    247 ## M4sh Shell Functions. ## 
    248 ## --------------------- ## 
    249 # as_fn_unset VAR 
    250 # --------------- 
    251 # Portably unset VAR. 
    252 as_fn_unset () 
    253 { 
    254   { eval $1=; unset $1;} 
    255 } 
    256 as_unset=as_fn_unset 
    257  
    258 # as_fn_set_status STATUS 
    259 # ----------------------- 
    260 # Set $? to STATUS, without forking. 
    261 as_fn_set_status () 
    262 { 
    263   return $1 
    264 } # as_fn_set_status 
    265  
    266 # as_fn_exit STATUS 
    267 # ----------------- 
    268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
    269 as_fn_exit () 
    270 { 
    271   set +e 
    272   as_fn_set_status $1 
    273   exit $1 
    274 } # as_fn_exit 
    275  
    276 # as_fn_mkdir_p 
    277 # ------------- 
    278 # Create "$as_dir" as a directory, including parents if necessary. 
    279 as_fn_mkdir_p () 
    280 { 
    281  
    282   case $as_dir in #( 
    283   -*) as_dir=./$as_dir;; 
    284   esac 
    285   test -d "$as_dir" || eval $as_mkdir_p || { 
    286     as_dirs= 
    287     while :; do 
    288       case $as_dir in #( 
    289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    290       *) as_qdir=$as_dir;; 
    291       esac 
    292       as_dirs="'$as_qdir' $as_dirs" 
    293       as_dir=`$as_dirname -- "$as_dir" || 
    294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    295          X"$as_dir" : 'X\(//\)[^/]' \| \ 
    296          X"$as_dir" : 'X\(//\)$' \| \ 
    297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    298 $as_echo X"$as_dir" | 
    299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    300             s//\1/ 
    301             q 
    302           } 
    303           /^X\(\/\/\)[^/].*/{ 
    304             s//\1/ 
    305             q 
    306           } 
    307           /^X\(\/\/\)$/{ 
    308             s//\1/ 
    309             q 
    310           } 
    311           /^X\(\/\).*/{ 
    312             s//\1/ 
    313             q 
    314           } 
    315           s/.*/./; q'` 
    316       test -d "$as_dir" && break 
    317     done 
    318     test -z "$as_dirs" || eval "mkdir $as_dirs" 
    319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
    320  
    321  
    322 } # as_fn_mkdir_p 
    323 # as_fn_append VAR VALUE 
    324 # ---------------------- 
    325 # Append the text in VALUE to the end of the definition contained in VAR. Take 
    326 # advantage of any shell optimizations that allow amortized linear growth over 
    327 # repeated appends, instead of the typical quadratic growth present in naive 
    328 # implementations. 
    329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
    330   eval 'as_fn_append () 
    331   { 
    332     eval $1+=\$2 
    333   }' 
    334 else 
    335   as_fn_append () 
    336   { 
    337     eval $1=\$$1\$2 
    338   } 
    339 fi # as_fn_append 
    340  
    341 # as_fn_arith ARG... 
    342 # ------------------ 
    343 # Perform arithmetic evaluation on the ARGs, and store the result in the 
    344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 
    345 # must be portable across $(()) and expr. 
    346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
    347   eval 'as_fn_arith () 
    348   { 
    349     as_val=$(( $* )) 
    350   }' 
    351 else 
    352   as_fn_arith () 
    353   { 
    354     as_val=`expr "$@" || test $? -eq 1` 
    355   } 
    356 fi # as_fn_arith 
    357  
    358  
    359 # as_fn_error ERROR [LINENO LOG_FD] 
    360 # --------------------------------- 
    361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    363 # script with status $?, using 1 if that was 0. 
    364 as_fn_error () 
    365 { 
    366   as_status=$?; test $as_status -eq 0 && as_status=1 
    367   if test "$3"; then 
    368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
    370   fi 
    371   $as_echo "$as_me: error: $1" >&2 
    372   as_fn_exit $as_status 
    373 } # as_fn_error 
    374  
     114 
     115# Required to use basename. 
    375116if expr a : '\(a\)' >/dev/null 2>&1 && 
    376117   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    386127fi 
    387128 
    388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    389   as_dirname=dirname 
    390 else 
    391   as_dirname=false 
    392 fi 
    393  
     129 
     130# Name of the executable. 
    394131as_me=`$as_basename -- "$0" || 
    395132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    396133         X"$0" : 'X\(//\)$' \| \ 
    397134         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    398 $as_echo X/"$0" | 
     135echo X/"$0" | 
    399136    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    400137            s//\1/ 
     
    411148          s/.*/./; q'` 
    412149 
    413 # Avoid depending upon Character Ranges. 
    414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    417 as_cr_digits='0123456789' 
    418 as_cr_alnum=$as_cr_Letters$as_cr_digits 
    419  
    420  
    421   as_lineno_1=$LINENO as_lineno_1a=$LINENO 
    422   as_lineno_2=$LINENO as_lineno_2a=$LINENO 
    423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
    424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
    425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
     150# CDPATH. 
     151$as_unset CDPATH 
     152 
     153 
     154if test "x$CONFIG_SHELL" = x; then 
     155  if (eval ":") 2>/dev/null; then 
     156  as_have_required=yes 
     157else 
     158  as_have_required=no 
     159fi 
     160 
     161  if test $as_have_required = yes &&     (eval ": 
     162(as_func_return () { 
     163  (exit \$1) 
     164} 
     165as_func_success () { 
     166  as_func_return 0 
     167} 
     168as_func_failure () { 
     169  as_func_return 1 
     170} 
     171as_func_ret_success () { 
     172  return 0 
     173} 
     174as_func_ret_failure () { 
     175  return 1 
     176} 
     177 
     178exitcode=0 
     179if as_func_success; then 
     180  : 
     181else 
     182  exitcode=1 
     183  echo as_func_success failed. 
     184fi 
     185 
     186if as_func_failure; then 
     187  exitcode=1 
     188  echo as_func_failure succeeded. 
     189fi 
     190 
     191if as_func_ret_success; then 
     192  : 
     193else 
     194  exitcode=1 
     195  echo as_func_ret_success failed. 
     196fi 
     197 
     198if as_func_ret_failure; then 
     199  exitcode=1 
     200  echo as_func_ret_failure succeeded. 
     201fi 
     202 
     203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
     204  : 
     205else 
     206  exitcode=1 
     207  echo positional parameters were not saved. 
     208fi 
     209 
     210test \$exitcode = 0) || { (exit 1); exit 1; } 
     211 
     212( 
     213  as_lineno_1=\$LINENO 
     214  as_lineno_2=\$LINENO 
     215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
     216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
     217") 2> /dev/null; then 
     218  : 
     219else 
     220  as_candidate_shells= 
     221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     223do 
     224  IFS=$as_save_IFS 
     225  test -z "$as_dir" && as_dir=. 
     226  case $as_dir in 
     227         /*) 
     228           for as_base in sh bash ksh sh5; do 
     229             as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
     230           done;; 
     231       esac 
     232done 
     233IFS=$as_save_IFS 
     234 
     235 
     236      for as_shell in $as_candidate_shells $SHELL; do 
     237         # Try only shells that exist, to save several forks. 
     238         if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     239                { ("$as_shell") 2> /dev/null <<\_ASEOF 
     240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     241  emulate sh 
     242  NULLCMD=: 
     243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     244  # is contrary to our usage.  Disable this feature. 
     245  alias -g '${1+"$@"}'='"$@"' 
     246  setopt NO_GLOB_SUBST 
     247else 
     248  case `(set -o) 2>/dev/null` in 
     249  *posix*) set -o posix ;; 
     250esac 
     251 
     252fi 
     253 
     254 
     255: 
     256_ASEOF 
     257}; then 
     258  CONFIG_SHELL=$as_shell 
     259               as_have_required=yes 
     260               if { "$as_shell" 2> /dev/null <<\_ASEOF 
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     262  emulate sh 
     263  NULLCMD=: 
     264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     265  # is contrary to our usage.  Disable this feature. 
     266  alias -g '${1+"$@"}'='"$@"' 
     267  setopt NO_GLOB_SUBST 
     268else 
     269  case `(set -o) 2>/dev/null` in 
     270  *posix*) set -o posix ;; 
     271esac 
     272 
     273fi 
     274 
     275 
     276: 
     277(as_func_return () { 
     278  (exit $1) 
     279} 
     280as_func_success () { 
     281  as_func_return 0 
     282} 
     283as_func_failure () { 
     284  as_func_return 1 
     285} 
     286as_func_ret_success () { 
     287  return 0 
     288} 
     289as_func_ret_failure () { 
     290  return 1 
     291} 
     292 
     293exitcode=0 
     294if as_func_success; then 
     295  : 
     296else 
     297  exitcode=1 
     298  echo as_func_success failed. 
     299fi 
     300 
     301if as_func_failure; then 
     302  exitcode=1 
     303  echo as_func_failure succeeded. 
     304fi 
     305 
     306if as_func_ret_success; then 
     307  : 
     308else 
     309  exitcode=1 
     310  echo as_func_ret_success failed. 
     311fi 
     312 
     313if as_func_ret_failure; then 
     314  exitcode=1 
     315  echo as_func_ret_failure succeeded. 
     316fi 
     317 
     318if ( set x; as_func_ret_success y && test x = "$1" ); then 
     319  : 
     320else 
     321  exitcode=1 
     322  echo positional parameters were not saved. 
     323fi 
     324 
     325test $exitcode = 0) || { (exit 1); exit 1; } 
     326 
     327( 
     328  as_lineno_1=$LINENO 
     329  as_lineno_2=$LINENO 
     330  test "x$as_lineno_1" != "x$as_lineno_2" && 
     331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
     332 
     333_ASEOF 
     334}; then 
     335  break 
     336fi 
     337 
     338fi 
     339 
     340      done 
     341 
     342      if test "x$CONFIG_SHELL" != x; then 
     343  for as_var in BASH_ENV ENV 
     344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     345        done 
     346        export CONFIG_SHELL 
     347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     348fi 
     349 
     350 
     351    if test $as_have_required = no; then 
     352  echo This script requires a shell more modern than all the 
     353      echo shells that I found on your system.  Please install a 
     354      echo modern shell, or manually run the script under such a 
     355      echo shell if you do have one. 
     356      { (exit 1); exit 1; } 
     357fi 
     358 
     359 
     360fi 
     361 
     362fi 
     363 
     364 
     365 
     366(eval "as_func_return () { 
     367  (exit \$1) 
     368} 
     369as_func_success () { 
     370  as_func_return 0 
     371} 
     372as_func_failure () { 
     373  as_func_return 1 
     374} 
     375as_func_ret_success () { 
     376  return 0 
     377} 
     378as_func_ret_failure () { 
     379  return 1 
     380} 
     381 
     382exitcode=0 
     383if as_func_success; then 
     384  : 
     385else 
     386  exitcode=1 
     387  echo as_func_success failed. 
     388fi 
     389 
     390if as_func_failure; then 
     391  exitcode=1 
     392  echo as_func_failure succeeded. 
     393fi 
     394 
     395if as_func_ret_success; then 
     396  : 
     397else 
     398  exitcode=1 
     399  echo as_func_ret_success failed. 
     400fi 
     401 
     402if as_func_ret_failure; then 
     403  exitcode=1 
     404  echo as_func_ret_failure succeeded. 
     405fi 
     406 
     407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
     408  : 
     409else 
     410  exitcode=1 
     411  echo positional parameters were not saved. 
     412fi 
     413 
     414test \$exitcode = 0") || { 
     415  echo No shell found that supports shell functions. 
     416  echo Please tell autoconf@gnu.org about your system, 
     417  echo including any error possibly output before this 
     418  echo message 
     419} 
     420 
     421 
     422 
     423  as_lineno_1=$LINENO 
     424  as_lineno_2=$LINENO 
     425  test "x$as_lineno_1" != "x$as_lineno_2" && 
     426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
     427 
     428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     429  # uniformly replaced by the line number.  The first 'sed' inserts a 
     430  # line-number line after each line using $LINENO; the second 'sed' 
     431  # does the real work.  The second script uses 'N' to pair each 
     432  # line-number line with the line containing $LINENO, and appends 
     433  # trailing '-' during substitution so that $LINENO is not a special 
     434  # case at line end. 
     435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     436  # scripts with optimization help from Paolo Bonzini.  Blame Lee 
     437  # E. McMahon (1931-1989) for sed's syntax.  :-) 
    426438  sed -n ' 
    427439    p 
     
    440452    ' >$as_me.lineno && 
    441453  chmod +x "$as_me.lineno" || 
    442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
     454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
     455   { (exit 1); exit 1; }; } 
    443456 
    444457  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    450463} 
    451464 
     465 
     466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     467  as_dirname=dirname 
     468else 
     469  as_dirname=false 
     470fi 
     471 
    452472ECHO_C= ECHO_N= ECHO_T= 
    453 case `echo -n x` in #((((( 
     473case `echo -n x` in 
    454474-n*) 
    455   case `echo 'xy\c'` in 
     475  case `echo 'x\c'` in 
    456476  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    457   xy)  ECHO_C='\c';; 
    458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
    459        ECHO_T=' ';; 
     477  *)   ECHO_C='\c';; 
    460478  esac;; 
    461479*) 
     
    463481esac 
    464482 
     483if expr a : '\(a\)' >/dev/null 2>&1 && 
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     485  as_expr=expr 
     486else 
     487  as_expr=false 
     488fi 
     489 
    465490rm -f conf$$ conf$$.exe conf$$.file 
    466491if test -d conf$$.dir; then 
     
    468493else 
    469494  rm -f conf$$.dir 
    470   mkdir conf$$.dir 2>/dev/null 
    471 fi 
    472 if (echo >conf$$.file) 2>/dev/null; then 
    473   if ln -s conf$$.file conf$$ 2>/dev/null; then 
    474     as_ln_s='ln -s' 
    475     # ... but there are two gotchas: 
    476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    478     # In both cases, we have to default to `cp -p'. 
    479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    480       as_ln_s='cp -p' 
    481   elif ln conf$$.file conf$$ 2>/dev/null; then 
    482     as_ln_s=ln 
    483   else 
     495  mkdir conf$$.dir 
     496fi 
     497echo >conf$$.file 
     498if ln -s conf$$.file conf$$ 2>/dev/null; then 
     499  as_ln_s='ln -s' 
     500  # ... but there are two gotchas: 
     501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     503  # In both cases, we have to default to `cp -p'. 
     504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    484505    as_ln_s='cp -p' 
    485   fi 
     506elif ln conf$$.file conf$$ 2>/dev/null; then 
     507  as_ln_s=ln 
    486508else 
    487509  as_ln_s='cp -p' 
     
    491513 
    492514if mkdir -p . 2>/dev/null; then 
    493   as_mkdir_p='mkdir -p "$as_dir"' 
     515  as_mkdir_p=: 
    494516else 
    495517  test -d ./-p && rmdir ./-p 
     
    508530    eval sh -c '\'' 
    509531      if test -d "$1"; then 
    510         test -d "$1/."; 
     532        test -d "$1/."; 
    511533      else 
    512         case $1 in #( 
    513         -*)set "./$1";; 
     534        case $1 in 
     535        -*)set "./$1";; 
    514536        esac; 
    515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
     537        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    516538        ???[sx]*):;;*)false;;esac;fi 
    517539    '\'' sh 
     
    527549 
    528550 
    529 test -n "$DJDIR" || exec 7<&0 </dev/null 
    530 exec 6>&1 
     551 
     552exec 7<&0 </dev/null 6>&1 
    531553 
    532554# Name of the host. 
     
    546568MFLAGS= 
    547569MAKEFLAGS= 
     570SHELL=${CONFIG_SHELL-/bin/sh} 
    548571 
    549572# Identity of this package. 
     
    553576PACKAGE_STRING='pjproject 1.x' 
    554577PACKAGE_BUGREPORT='' 
    555 PACKAGE_URL='' 
    556578 
    557579# Factoring default headers for most tests. 
     
    591613#endif" 
    592614 
    593 ac_subst_vars='LTLIBOBJS 
     615ac_subst_vars='SHELL 
     616PATH_SEPARATOR 
     617PACKAGE_NAME 
     618PACKAGE_TARNAME 
     619PACKAGE_VERSION 
     620PACKAGE_STRING 
     621PACKAGE_BUGREPORT 
     622exec_prefix 
     623prefix 
     624program_transform_name 
     625bindir 
     626sbindir 
     627libexecdir 
     628datarootdir 
     629datadir 
     630sysconfdir 
     631sharedstatedir 
     632localstatedir 
     633includedir 
     634oldincludedir 
     635docdir 
     636infodir 
     637htmldir 
     638dvidir 
     639pdfdir 
     640psdir 
     641libdir 
     642localedir 
     643mandir 
     644DEFS 
     645ECHO_C 
     646ECHO_N 
     647ECHO_T 
     648LIBS 
     649build_alias 
     650host_alias 
     651target_alias 
     652build 
     653build_cpu 
     654build_vendor 
     655build_os 
     656host 
     657host_cpu 
     658host_vendor 
     659host_os 
     660target 
     661target_cpu 
     662target_vendor 
     663target_os 
     664CC 
     665CFLAGS 
     666LDFLAGS 
     667CPPFLAGS 
     668ac_ct_CC 
     669EXEEXT 
     670OBJEXT 
     671CXX 
     672CXXFLAGS 
     673ac_ct_CXX 
     674AR 
     675LD 
     676LDOUT 
     677RANLIB 
     678LIBEXT 
     679LIBEXT2 
     680CC_OUT 
     681CC_INC 
     682CC_DEF 
     683CC_OPTIMIZE 
     684CC_CFLAGS 
     685ac_pjdir 
     686ac_build_mak_vars 
     687CPP 
     688GREP 
     689EGREP 
     690ac_os_objs 
     691ac_external_speex 
     692ac_external_gsm 
     693ac_pjmedia_snd 
     694ac_external_pa 
     695ac_pa_cflags 
     696ac_pa_use_alsa 
     697ac_pa_use_oss 
     698ac_no_small_filter 
     699ac_no_large_filter 
     700ac_no_speex_aec 
     701ac_no_g711_codec 
     702ac_no_l16_codec 
     703ac_no_gsm_codec 
     704ac_no_g722_codec 
     705ac_no_g7221_codec 
     706ac_no_speex_codec 
     707ac_no_ilbc_codec 
     708ac_no_ssl 
     709openssl_h_present 
     710libssl_present 
     711libcrypto_present 
     712ac_cross_compile 
     713ac_linux_poll 
     714ac_host 
     715ac_main_obj 
    594716LIBOBJS 
    595 ac_main_obj 
    596 ac_host 
    597 ac_linux_poll 
    598 ac_cross_compile 
    599 libcrypto_present 
    600 libssl_present 
    601 openssl_h_present 
    602 ac_no_ssl 
    603 ac_no_ilbc_codec 
    604 ac_no_speex_codec 
    605 ac_no_g7221_codec 
    606 ac_no_g722_codec 
    607 ac_no_gsm_codec 
    608 ac_no_l16_codec 
    609 ac_no_g711_codec 
    610 ac_no_speex_aec 
    611 ac_no_large_filter 
    612 ac_no_small_filter 
    613 ac_pa_use_oss 
    614 ac_pa_use_alsa 
    615 ac_pa_cflags 
    616 ac_external_pa 
    617 ac_pjmedia_snd 
    618 ac_external_gsm 
    619 ac_external_speex 
    620 ac_os_objs 
    621 EGREP 
    622 GREP 
    623 CPP 
    624 ac_build_mak_vars 
    625 ac_pjdir 
    626 CC_CFLAGS 
    627 CC_OPTIMIZE 
    628 CC_DEF 
    629 CC_INC 
    630 CC_OUT 
    631 LIBEXT2 
    632 LIBEXT 
    633 RANLIB 
    634 LDOUT 
    635 LD 
    636 AR 
    637 ac_ct_CXX 
    638 CXXFLAGS 
    639 CXX 
    640 OBJEXT 
    641 EXEEXT 
    642 ac_ct_CC 
    643 CPPFLAGS 
    644 LDFLAGS 
    645 CFLAGS 
    646 CC 
    647 target_os 
    648 target_vendor 
    649 target_cpu 
    650 target 
    651 host_os 
    652 host_vendor 
    653 host_cpu 
    654 host 
    655 build_os 
    656 build_vendor 
    657 build_cpu 
    658 build 
    659 target_alias 
    660 host_alias 
    661 build_alias 
    662 LIBS 
    663 ECHO_T 
    664 ECHO_N 
    665 ECHO_C 
    666 DEFS 
    667 mandir 
    668 localedir 
    669 libdir 
    670 psdir 
    671 pdfdir 
    672 dvidir 
    673 htmldir 
    674 infodir 
    675 docdir 
    676 oldincludedir 
    677 includedir 
    678 localstatedir 
    679 sharedstatedir 
    680 sysconfdir 
    681 datadir 
    682 datarootdir 
    683 libexecdir 
    684 sbindir 
    685 bindir 
    686 program_transform_name 
    687 prefix 
    688 exec_prefix 
    689 PACKAGE_URL 
    690 PACKAGE_BUGREPORT 
    691 PACKAGE_STRING 
    692 PACKAGE_VERSION 
    693 PACKAGE_TARNAME 
    694 PACKAGE_NAME 
    695 PATH_SEPARATOR 
    696 SHELL' 
     717LTLIBOBJS' 
    697718ac_subst_files='' 
    698 ac_user_opts=' 
    699 enable_option_checking 
    700 enable_floating_point 
    701 enable_epoll 
    702 with_external_speex 
    703 with_external_gsm 
    704 enable_sound 
    705 with_external_pa 
    706 enable_oss 
    707 enable_ext_sound 
    708 enable_small_filter 
    709 enable_large_filter 
    710 enable_speex_aec 
    711 enable_g711_codec 
    712 enable_l16_codec 
    713 enable_gsm_codec 
    714 enable_g722_codec 
    715 enable_g7221_codec 
    716 enable_speex_codec 
    717 enable_ilbc_codec 
    718 enable_libsamplerate 
    719 enable_ipp 
    720 with_ipp 
    721 with_ipp_samples 
    722 with_ipp_arch 
    723 enable_ssl 
    724 ' 
    725719      ac_precious_vars='build_alias 
    726720host_alias 
     
    740734ac_init_help= 
    741735ac_init_version=false 
    742 ac_unrecognized_opts= 
    743 ac_unrecognized_sep= 
    744736# The variables have the same names as the options, with 
    745737# dashes changed to underlines. 
     
    840832 
    841833  -disable-* | --disable-*) 
    842     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     834    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    843835    # Reject names that are not valid shell variable names. 
    844     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    845       as_fn_error "invalid feature name: $ac_useropt" 
    846     ac_useropt_orig=$ac_useropt 
    847     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    848     case $ac_user_opts in 
    849       *" 
    850 "enable_$ac_useropt" 
    851 "*) ;; 
    852       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
    853          ac_unrecognized_sep=', ';; 
    854     esac 
    855     eval enable_$ac_useropt=no ;; 
     836    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     837      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     838   { (exit 1); exit 1; }; } 
     839    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
     840    eval enable_$ac_feature=no ;; 
    856841 
    857842  -docdir | --docdir | --docdi | --doc | --do) 
     
    866851 
    867852  -enable-* | --enable-*) 
    868     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     853    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    869854    # Reject names that are not valid shell variable names. 
    870     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    871       as_fn_error "invalid feature name: $ac_useropt" 
    872     ac_useropt_orig=$ac_useropt 
    873     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    874     case $ac_user_opts in 
    875       *" 
    876 "enable_$ac_useropt" 
    877 "*) ;; 
    878       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
    879          ac_unrecognized_sep=', ';; 
    880     esac 
    881     eval enable_$ac_useropt=\$ac_optarg ;; 
     855    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     856      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     857   { (exit 1); exit 1; }; } 
     858    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
     859    eval enable_$ac_feature=\$ac_optarg ;; 
    882860 
    883861  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10701048 
    10711049  -with-* | --with-*) 
    1072     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1050    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10731051    # Reject names that are not valid shell variable names. 
    1074     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1075       as_fn_error "invalid package name: $ac_useropt" 
    1076     ac_useropt_orig=$ac_useropt 
    1077     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    1078     case $ac_user_opts in 
    1079       *" 
    1080 "with_$ac_useropt" 
    1081 "*) ;; 
    1082       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
    1083          ac_unrecognized_sep=', ';; 
    1084     esac 
    1085     eval with_$ac_useropt=\$ac_optarg ;; 
     1052    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     1053      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     1054   { (exit 1); exit 1; }; } 
     1055    ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
     1056    eval with_$ac_package=\$ac_optarg ;; 
    10861057 
    10871058  -without-* | --without-*) 
    1088     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1059    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10891060    # Reject names that are not valid shell variable names. 
    1090     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1091       as_fn_error "invalid package name: $ac_useropt" 
    1092     ac_useropt_orig=$ac_useropt 
    1093     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    1094     case $ac_user_opts in 
    1095       *" 
    1096 "with_$ac_useropt" 
    1097 "*) ;; 
    1098       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
    1099          ac_unrecognized_sep=', ';; 
    1100     esac 
    1101     eval with_$ac_useropt=no ;; 
     1061    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     1062      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     1063   { (exit 1); exit 1; }; } 
     1064    ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
     1065    eval with_$ac_package=no ;; 
    11021066 
    11031067  --x) 
     
    11191083    x_libraries=$ac_optarg ;; 
    11201084 
    1121   -*) as_fn_error "unrecognized option: \`$ac_option' 
    1122 Try \`$0 --help' for more information." 
     1085  -*) { echo "$as_me: error: unrecognized option: $ac_option 
     1086Try \`$0 --help' for more information." >&2 
     1087   { (exit 1); exit 1; }; } 
    11231088    ;; 
    11241089 
     
    11261091    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11271092    # Reject names that are not valid shell variable names. 
    1128     case $ac_envvar in #( 
    1129       '' | [0-9]* | *[!_$as_cr_alnum]* ) 
    1130       as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
    1131     esac 
     1093    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
     1094      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
     1095   { (exit 1); exit 1; }; } 
    11321096    eval $ac_envvar=\$ac_optarg 
    11331097    export $ac_envvar ;; 
     
    11351099  *) 
    11361100    # FIXME: should be removed in autoconf 3.0. 
    1137     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1101    echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11381102    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1139       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1103      echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11401104    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11411105    ;; 
     
    11461110if test -n "$ac_prev"; then 
    11471111  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1148   as_fn_error "missing argument to $ac_option" 
    1149 fi 
    1150  
    1151 if test -n "$ac_unrecognized_opts"; then 
    1152   case $enable_option_checking in 
    1153     no) ;; 
    1154     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
    1155     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    1156   esac 
    1157 fi 
    1158  
    1159 # Check all directory arguments for consistency. 
     1112  { echo "$as_me: error: missing argument to $ac_option" >&2 
     1113   { (exit 1); exit 1; }; } 
     1114fi 
     1115 
     1116# Be sure to have absolute directory names. 
    11601117for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11611118                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11641121do 
    11651122  eval ac_val=\$$ac_var 
    1166   # Remove trailing slashes. 
    1167   case $ac_val in 
    1168     */ ) 
    1169       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
    1170       eval $ac_var=\$ac_val;; 
    1171   esac 
    1172   # Be sure to have absolute directory names. 
    11731123  case $ac_val in 
    11741124    [\\/$]* | ?:[\\/]* )  continue;; 
    11751125    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11761126  esac 
    1177   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
     1127  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     1128   { (exit 1); exit 1; }; } 
    11781129done 
    11791130 
     
    11891140  if test "x$build_alias" = x; then 
    11901141    cross_compiling=maybe 
    1191     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1142    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11921143    If a cross compiler is detected then cross compile mode will be used." >&2 
    11931144  elif test "x$build_alias" != "x$host_alias"; then 
     
    12051156ac_ls_di=`ls -di .` && 
    12061157ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1207   as_fn_error "working directory cannot be determined" 
     1158  { echo "$as_me: error: Working directory cannot be determined" >&2 
     1159   { (exit 1); exit 1; }; } 
    12081160test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1209   as_fn_error "pwd does not report name of working directory" 
     1161  { echo "$as_me: error: pwd does not report name of working directory" >&2 
     1162   { (exit 1); exit 1; }; } 
    12101163 
    12111164 
     
    12141167  ac_srcdir_defaulted=yes 
    12151168  # Try the directory containing this script, then the parent directory. 
    1216   ac_confdir=`$as_dirname -- "$as_myself" || 
    1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1218          X"$as_myself" : 'X\(//\)[^/]' \| \ 
    1219          X"$as_myself" : 'X\(//\)$' \| \ 
    1220          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
    1221 $as_echo X"$as_myself" | 
     1169  ac_confdir=`$as_dirname -- "$0" || 
     1170$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1171         X"$0" : 'X\(//\)[^/]' \| \ 
     1172         X"$0" : 'X\(//\)$' \| \ 
     1173         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
     1174echo X"$0" | 
    12221175    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    12231176            s//\1/ 
     
    12461199if test ! -r "$srcdir/$ac_unique_file"; then 
    12471200  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1248   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
     1201  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
     1202   { (exit 1); exit 1; }; } 
    12491203fi 
    12501204ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12511205ac_abs_confdir=`( 
    1252         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
     1206        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
     1207   { (exit 1); exit 1; }; } 
    12531208        pwd)` 
    12541209# When building in place, set srcdir=. 
     
    12981253Installation directories: 
    12991254  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1300                           [$ac_default_prefix] 
     1255                          [$ac_default_prefix] 
    13011256  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1302                           [PREFIX] 
     1257                          [PREFIX] 
    13031258 
    13041259By default, \`make install' will install all the files in 
     
    13101265 
    13111266Fine tuning of the installation directories: 
    1312   --bindir=DIR            user executables [EPREFIX/bin] 
    1313   --sbindir=DIR           system admin executables [EPREFIX/sbin] 
    1314   --libexecdir=DIR        program executables [EPREFIX/libexec] 
    1315   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
    1316   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
    1317   --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
    1318   --libdir=DIR            object code libraries [EPREFIX/lib] 
    1319   --includedir=DIR        C header files [PREFIX/include] 
    1320   --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
    1321   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
    1322   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
    1323   --infodir=DIR           info documentation [DATAROOTDIR/info] 
    1324   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
    1325   --mandir=DIR            man documentation [DATAROOTDIR/man] 
    1326   --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
    1327   --htmldir=DIR           html documentation [DOCDIR] 
    1328   --dvidir=DIR            dvi documentation [DOCDIR] 
    1329   --pdfdir=DIR            pdf documentation [DOCDIR] 
    1330   --psdir=DIR             ps documentation [DOCDIR] 
     1267  --bindir=DIR           user executables [EPREFIX/bin] 
     1268  --sbindir=DIR          system admin executables [EPREFIX/sbin] 
     1269  --libexecdir=DIR       program executables [EPREFIX/libexec] 
     1270  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
     1271  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
     1272  --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
     1273  --libdir=DIR           object code libraries [EPREFIX/lib] 
     1274  --includedir=DIR       C header files [PREFIX/include] 
     1275  --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
     1276  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
     1277  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
     1278  --infodir=DIR          info documentation [DATAROOTDIR/info] 
     1279  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
     1280  --mandir=DIR           man documentation [DATAROOTDIR/man] 
     1281  --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
     1282  --htmldir=DIR          html documentation [DOCDIR] 
     1283  --dvidir=DIR           dvi documentation [DOCDIR] 
     1284  --pdfdir=DIR           pdf documentation [DOCDIR] 
     1285  --psdir=DIR            ps documentation [DOCDIR] 
    13311286_ACEOF 
    13321287 
     
    13471302 
    13481303Optional Features: 
    1349   --disable-option-checking  ignore unrecognized --enable/--with options 
    13501304  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13511305  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    14051359              nonstandard directory <lib dir> 
    14061360  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1407   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
     1361  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
    14081362              you have headers in a nonstandard directory <include dir> 
    14091363  CXX         C++ compiler command 
     
    14141368it to find libraries and programs with nonstandard names/locations. 
    14151369 
    1416 Report bugs to the package provider. 
    14171370_ACEOF 
    14181371ac_status=$? 
     
    14221375  # If there are subdirs, report their specific --help. 
    14231376  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1424     test -d "$ac_dir" || 
    1425       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
    1426       continue 
     1377    test -d "$ac_dir" || continue 
    14271378    ac_builddir=. 
    14281379 
     
    14301381.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    14311382*) 
    1432   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
     1383  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    14331384  # A ".." for each directory in $ac_dir_suffix. 
    1434   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
     1385  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
    14351386  case $ac_top_builddir_sub in 
    14361387  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14681419      $SHELL "$ac_srcdir/configure" --help=recursive 
    14691420    else 
    1470       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1421      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14711422    fi || ac_status=$? 
    14721423    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14781429  cat <<\_ACEOF 
    14791430pjproject configure 1.x 
    1480 generated by GNU Autoconf 2.65 
    1481  
    1482 Copyright (C) 2009 Free Software Foundation, Inc. 
     1431generated by GNU Autoconf 2.61 
     1432 
     1433Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
     14342002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
    14831435This configure script is free software; the Free Software Foundation 
    14841436gives unlimited permission to copy, distribute and modify it. 
     
    14861438  exit 
    14871439fi 
    1488  
    1489 ## ------------------------ ## 
    1490 ## Autoconf initialization. ## 
    1491 ## ------------------------ ## 
    1492  
    1493 # ac_fn_c_try_compile LINENO 
    1494 # -------------------------- 
    1495 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
    1496 ac_fn_c_try_compile () 
    1497 { 
    1498   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1499   rm -f conftest.$ac_objext 
    1500   if { { ac_try="$ac_compile" 
    1501 case "(($ac_try" in 
    1502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1503   *) ac_try_echo=$ac_try;; 
    1504 esac 
    1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1506 $as_echo "$ac_try_echo"; } >&5 
    1507   (eval "$ac_compile") 2>conftest.err 
    1508   ac_status=$? 
    1509   if test -s conftest.err; then 
    1510     grep -v '^ *+' conftest.err >conftest.er1 
    1511     cat conftest.er1 >&5 
    1512     mv -f conftest.er1 conftest.err 
    1513   fi 
    1514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1515   test $ac_status = 0; } && { 
    1516          test -z "$ac_c_werror_flag" || 
    1517          test ! -s conftest.err 
    1518        } && test -s conftest.$ac_objext; then : 
    1519   ac_retval=0 
    1520 else 
    1521   $as_echo "$as_me: failed program was:" >&5 
    1522 sed 's/^/| /' conftest.$ac_ext >&5 
    1523  
    1524         ac_retval=1 
    1525 fi 
    1526   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1527   as_fn_set_status $ac_retval 
    1528  
    1529 } # ac_fn_c_try_compile 
    1530  
    1531 # ac_fn_cxx_try_compile LINENO 
    1532 # ---------------------------- 
    1533 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
    1534 ac_fn_cxx_try_compile () 
    1535 { 
    1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1537   rm -f conftest.$ac_objext 
    1538   if { { ac_try="$ac_compile" 
    1539 case "(($ac_try" in 
    1540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1541   *) ac_try_echo=$ac_try;; 
    1542 esac 
    1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1544 $as_echo "$ac_try_echo"; } >&5 
    1545   (eval "$ac_compile") 2>conftest.err 
    1546   ac_status=$? 
    1547   if test -s conftest.err; then 
    1548     grep -v '^ *+' conftest.err >conftest.er1 
    1549     cat conftest.er1 >&5 
    1550     mv -f conftest.er1 conftest.err 
    1551   fi 
    1552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1553   test $ac_status = 0; } && { 
    1554          test -z "$ac_cxx_werror_flag" || 
    1555          test ! -s conftest.err 
    1556        } && test -s conftest.$ac_objext; then : 
    1557   ac_retval=0 
    1558 else 
    1559   $as_echo "$as_me: failed program was:" >&5 
    1560 sed 's/^/| /' conftest.$ac_ext >&5 
    1561  
    1562         ac_retval=1 
    1563 fi 
    1564   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1565   as_fn_set_status $ac_retval 
    1566  
    1567 } # ac_fn_cxx_try_compile 
    1568  
    1569 # ac_fn_c_try_link LINENO 
    1570 # ----------------------- 
    1571 # Try to link conftest.$ac_ext, and return whether this succeeded. 
    1572 ac_fn_c_try_link () 
    1573 { 
    1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1575   rm -f conftest.$ac_objext conftest$ac_exeext 
    1576   if { { ac_try="$ac_link" 
    1577 case "(($ac_try" in 
    1578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1579   *) ac_try_echo=$ac_try;; 
    1580 esac 
    1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1582 $as_echo "$ac_try_echo"; } >&5 
    1583   (eval "$ac_link") 2>conftest.err 
    1584   ac_status=$? 
    1585   if test -s conftest.err; then 
    1586     grep -v '^ *+' conftest.err >conftest.er1 
    1587     cat conftest.er1 >&5 
    1588     mv -f conftest.er1 conftest.err 
    1589   fi 
    1590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1591   test $ac_status = 0; } && { 
    1592          test -z "$ac_c_werror_flag" || 
    1593          test ! -s conftest.err 
    1594        } && test -s conftest$ac_exeext && { 
    1595          test "$cross_compiling" = yes || 
    1596          $as_test_x conftest$ac_exeext 
    1597        }; then : 
    1598   ac_retval=0 
    1599 else 
    1600   $as_echo "$as_me: failed program was:" >&5 
    1601 sed 's/^/| /' conftest.$ac_ext >&5 
    1602  
    1603         ac_retval=1 
    1604 fi 
    1605   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
    1606   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
    1607   # interfere with the next link command; also delete a directory that is 
    1608   # left behind by Apple's compiler.  We do this before executing the actions. 
    1609   rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1610   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1611   as_fn_set_status $ac_retval 
    1612  
    1613 } # ac_fn_c_try_link 
    1614  
    1615 # ac_fn_c_try_run LINENO 
    1616 # ---------------------- 
    1617 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
    1618 # that executables *can* be run. 
    1619 ac_fn_c_try_run () 
    1620 { 
    1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1622   if { { ac_try="$ac_link" 
    1623 case "(($ac_try" in 
    1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1625   *) ac_try_echo=$ac_try;; 
    1626 esac 
    1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1628 $as_echo "$ac_try_echo"; } >&5 
    1629   (eval "$ac_link") 2>&5 
    1630   ac_status=$? 
    1631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1632   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
    1633   { { case "(($ac_try" in 
    1634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1635   *) ac_try_echo=$ac_try;; 
    1636 esac 
    1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1638 $as_echo "$ac_try_echo"; } >&5 
    1639   (eval "$ac_try") 2>&5 
    1640   ac_status=$? 
    1641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1642   test $ac_status = 0; }; }; then : 
    1643   ac_retval=0 
    1644 else 
    1645   $as_echo "$as_me: program exited with status $ac_status" >&5 
    1646        $as_echo "$as_me: failed program was:" >&5 
    1647 sed 's/^/| /' conftest.$ac_ext >&5 
    1648  
    1649        ac_retval=$ac_status 
    1650 fi 
    1651   rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1652   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1653   as_fn_set_status $ac_retval 
    1654  
    1655 } # ac_fn_c_try_run 
    1656  
    1657 # ac_fn_c_try_cpp LINENO 
    1658 # ---------------------- 
    1659 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
    1660 ac_fn_c_try_cpp () 
    1661 { 
    1662   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1663   if { { ac_try="$ac_cpp conftest.$ac_ext" 
    1664 case "(($ac_try" in 
    1665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1666   *) ac_try_echo=$ac_try;; 
    1667 esac 
    1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1669 $as_echo "$ac_try_echo"; } >&5 
    1670   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
    1671   ac_status=$? 
    1672   if test -s conftest.err; then 
    1673     grep -v '^ *+' conftest.err >conftest.er1 
    1674     cat conftest.er1 >&5 
    1675     mv -f conftest.er1 conftest.err 
    1676   fi 
    1677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1678   test $ac_status = 0; } >/dev/null && { 
    1679          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    1680          test ! -s conftest.err 
    1681        }; then : 
    1682   ac_retval=0 
    1683 else 
    1684   $as_echo "$as_me: failed program was:" >&5 
    1685 sed 's/^/| /' conftest.$ac_ext >&5 
    1686  
    1687     ac_retval=1 
    1688 fi 
    1689   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1690   as_fn_set_status $ac_retval 
    1691  
    1692 } # ac_fn_c_try_cpp 
    1693  
    1694 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
    1695 # ------------------------------------------------------- 
    1696 # Tests whether HEADER exists and can be compiled using the include files in 
    1697 # INCLUDES, setting the cache variable VAR accordingly. 
    1698 ac_fn_c_check_header_compile () 
    1699 { 
    1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1702 $as_echo_n "checking for $2... " >&6; } 
    1703 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1704   $as_echo_n "(cached) " >&6 
    1705 else 
    1706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1707 /* end confdefs.h.  */ 
    1708 $4 
    1709 #include <$2> 
    1710 _ACEOF 
    1711 if ac_fn_c_try_compile "$LINENO"; then : 
    1712   eval "$3=yes" 
    1713 else 
    1714   eval "$3=no" 
    1715 fi 
    1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    1717 fi 
    1718 eval ac_res=\$$3 
    1719                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1720 $as_echo "$ac_res" >&6; } 
    1721   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1722  
    1723 } # ac_fn_c_check_header_compile 
    1724  
    1725 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
    1726 # ------------------------------------------------------- 
    1727 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 
    1728 # the include files in INCLUDES and setting the cache variable VAR 
    1729 # accordingly. 
    1730 ac_fn_c_check_header_mongrel () 
    1731 { 
    1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1733   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1735 $as_echo_n "checking for $2... " >&6; } 
    1736 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1737   $as_echo_n "(cached) " >&6 
    1738 fi 
    1739 eval ac_res=\$$3 
    1740                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1741 $as_echo "$ac_res" >&6; } 
    1742 else 
    1743   # Is the header compilable? 
    1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
    1745 $as_echo_n "checking $2 usability... " >&6; } 
    1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1747 /* end confdefs.h.  */ 
    1748 $4 
    1749 #include <$2> 
    1750 _ACEOF 
    1751 if ac_fn_c_try_compile "$LINENO"; then : 
    1752   ac_header_compiler=yes 
    1753 else 
    1754   ac_header_compiler=no 
    1755 fi 
    1756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
    1758 $as_echo "$ac_header_compiler" >&6; } 
    1759  
    1760 # Is the header present? 
    1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
    1762 $as_echo_n "checking $2 presence... " >&6; } 
    1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1764 /* end confdefs.h.  */ 
    1765 #include <$2> 
    1766 _ACEOF 
    1767 if ac_fn_c_try_cpp "$LINENO"; then : 
    1768   ac_header_preproc=yes 
    1769 else 
    1770   ac_header_preproc=no 
    1771 fi 
    1772 rm -f conftest.err conftest.$ac_ext 
    1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
    1774 $as_echo "$ac_header_preproc" >&6; } 
    1775  
    1776 # So?  What about this header? 
    1777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
    1778   yes:no: ) 
    1779     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
    1780 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    1781     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
    1782 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
    1783     ;; 
    1784   no:yes:* ) 
    1785     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
    1786 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
    1787     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
    1788 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
    1789     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
    1790 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
    1791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
    1792 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
    1793     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
    1794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
    1795     ;; 
    1796 esac 
    1797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1798 $as_echo_n "checking for $2... " >&6; } 
    1799 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1800   $as_echo_n "(cached) " >&6 
    1801 else 
    1802   eval "$3=\$ac_header_compiler" 
    1803 fi 
    1804 eval ac_res=\$$3 
    1805                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1806 $as_echo "$ac_res" >&6; } 
    1807 fi 
    1808   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1809  
    1810 } # ac_fn_c_check_header_mongrel 
    1811  
    1812 # ac_fn_c_check_func LINENO FUNC VAR 
    1813 # ---------------------------------- 
    1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly 
    1815 ac_fn_c_check_func () 
    1816 { 
    1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1819 $as_echo_n "checking for $2... " >&6; } 
    1820 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1821   $as_echo_n "(cached) " >&6 
    1822 else 
    1823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1824 /* end confdefs.h.  */ 
    1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
    1826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    1827 #define $2 innocuous_$2 
    1828  
    1829 /* System header to define __stub macros and hopefully few prototypes, 
    1830     which can conflict with char $2 (); below. 
    1831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    1832     <limits.h> exists even on freestanding compilers.  */ 
    1833  
    1834 #ifdef __STDC__ 
    1835 # include <limits.h> 
    1836 #else 
    1837 # include <assert.h> 
    1838 #endif 
    1839  
    1840 #undef $2 
    1841  
    1842 /* Override any GCC internal prototype to avoid an error. 
    1843    Use char because int might match the return type of a GCC 
    1844    builtin and then its argument prototype would still apply.  */ 
    1845 #ifdef __cplusplus 
    1846 extern "C" 
    1847 #endif 
    1848 char $2 (); 
    1849 /* The GNU C library defines this for functions which it implements 
    1850     to always fail with ENOSYS.  Some functions are actually named 
    1851     something starting with __ and the normal name is an alias.  */ 
    1852 #if defined __stub_$2 || defined __stub___$2 
    1853 choke me 
    1854 #endif 
    1855  
    1856 int 
    1857 main () 
    1858 { 
    1859 return $2 (); 
    1860   ; 
    1861   return 0; 
    1862 } 
    1863 _ACEOF 
    1864 if ac_fn_c_try_link "$LINENO"; then : 
    1865   eval "$3=yes" 
    1866 else 
    1867   eval "$3=no" 
    1868 fi 
    1869 rm -f core conftest.err conftest.$ac_objext \ 
    1870     conftest$ac_exeext conftest.$ac_ext 
    1871 fi 
    1872 eval ac_res=\$$3 
    1873                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1874 $as_echo "$ac_res" >&6; } 
    1875   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1876  
    1877 } # ac_fn_c_check_func 
    18781440cat >config.log <<_ACEOF 
    18791441This file contains any messages produced by compilers while 
     
    18811443 
    18821444It was created by pjproject $as_me 1.x, which was 
    1883 generated by GNU Autoconf 2.65.  Invocation command line was 
     1445generated by GNU Autoconf 2.61.  Invocation command line was 
    18841446 
    18851447  $ $0 $@ 
     
    19171479  IFS=$as_save_IFS 
    19181480  test -z "$as_dir" && as_dir=. 
    1919     $as_echo "PATH: $as_dir" 
    1920   done 
     1481  echo "PATH: $as_dir" 
     1482done 
    19211483IFS=$as_save_IFS 
    19221484 
     
    19521514      continue ;; 
    19531515    *\'*) 
    1954       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1516      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    19551517    esac 
    19561518    case $ac_pass in 
    1957     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
     1519    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
    19581520    2) 
    1959       as_fn_append ac_configure_args1 " '$ac_arg'" 
     1521      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
    19601522      if test $ac_must_keep_next = true; then 
    19611523        ac_must_keep_next=false # Got value, back to normal. 
     
    19731535        esac 
    19741536      fi 
    1975       as_fn_append ac_configure_args " '$ac_arg'" 
     1537      ac_configure_args="$ac_configure_args '$ac_arg'" 
    19761538      ;; 
    19771539    esac 
    19781540  done 
    19791541done 
    1980 { ac_configure_args0=; unset ac_configure_args0;} 
    1981 { ac_configure_args1=; unset ac_configure_args1;} 
     1542$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1543$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
    19821544 
    19831545# When interrupted or exit'd, cleanup temporary files, and complete 
     
    20041566    *${as_nl}*) 
    20051567      case $ac_var in #( 
    2006       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
    2007 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
     1568      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
     1569echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
    20081570      esac 
    20091571      case $ac_var in #( 
    20101572      _ | IFS | as_nl) ;; #( 
    2011       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    2012       *) { eval $ac_var=; unset $ac_var;} ;; 
     1573      *) $as_unset $ac_var ;; 
    20131574      esac ;; 
    20141575    esac 
     
    20391600      eval ac_val=\$$ac_var 
    20401601      case $ac_val in 
    2041       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     1602      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    20421603      esac 
    2043       $as_echo "$ac_var='\''$ac_val'\''" 
     1604      echo "$ac_var='\''$ac_val'\''" 
    20441605    done | sort 
    20451606    echo 
     
    20561617        eval ac_val=\$$ac_var 
    20571618        case $ac_val in 
    2058         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     1619        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    20591620        esac 
    2060         $as_echo "$ac_var='\''$ac_val'\''" 
     1621        echo "$ac_var='\''$ac_val'\''" 
    20611622      done | sort 
    20621623      echo 
     
    20741635    fi 
    20751636    test "$ac_signal" != 0 && 
    2076       $as_echo "$as_me: caught signal $ac_signal" 
    2077     $as_echo "$as_me: exit $exit_status" 
     1637      echo "$as_me: caught signal $ac_signal" 
     1638    echo "$as_me: exit $exit_status" 
    20781639  } >&5 
    20791640  rm -f core *.core core.conftest.* && 
     
    20821643' 0 
    20831644for ac_signal in 1 2 13 15; do 
    2084   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
     1645  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
    20851646done 
    20861647ac_signal=0 
     
    20891650rm -f -r conftest* confdefs.h 
    20901651 
    2091 $as_echo "/* confdefs.h */" > confdefs.h 
    2092  
    20931652# Predefined preprocessor variables. 
    20941653 
     
    20971656_ACEOF 
    20981657 
     1658 
    20991659cat >>confdefs.h <<_ACEOF 
    21001660#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    21011661_ACEOF 
    21021662 
     1663 
    21031664cat >>confdefs.h <<_ACEOF 
    21041665#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    21051666_ACEOF 
    21061667 
     1668 
    21071669cat >>confdefs.h <<_ACEOF 
    21081670#define PACKAGE_STRING "$PACKAGE_STRING" 
    21091671_ACEOF 
    21101672 
     1673 
    21111674cat >>confdefs.h <<_ACEOF 
    21121675#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    21131676_ACEOF 
    21141677 
    2115 cat >>confdefs.h <<_ACEOF 
    2116 #define PACKAGE_URL "$PACKAGE_URL" 
    2117 _ACEOF 
    2118  
    21191678 
    21201679# Let the site file select an alternate cache file if it wants to. 
    2121 # Prefer an explicitly selected file to automatically selected ones. 
    2122 ac_site_file1=NONE 
    2123 ac_site_file2=NONE 
     1680# Prefer explicitly selected file to automatically selected ones. 
    21241681if test -n "$CONFIG_SITE"; then 
    2125   ac_site_file1=$CONFIG_SITE 
     1682  set x "$CONFIG_SITE" 
    21261683elif test "x$prefix" != xNONE; then 
    2127   ac_site_file1=$prefix/share/config.site 
    2128   ac_site_file2=$prefix/etc/config.site 
    2129 else 
    2130   ac_site_file1=$ac_default_prefix/share/config.site 
    2131   ac_site_file2=$ac_default_prefix/etc/config.site 
    2132 fi 
    2133 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
     1684  set x "$prefix/share/config.site" "$prefix/etc/config.site" 
     1685else 
     1686  set x "$ac_default_prefix/share/config.site" \ 
     1687        "$ac_default_prefix/etc/config.site" 
     1688fi 
     1689shift 
     1690for ac_site_file 
    21341691do 
    2135   test "x$ac_site_file" = xNONE && continue 
    2136   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
    2137     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
    2138 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 
     1692  if test -r "$ac_site_file"; then 
     1693    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     1694echo "$as_me: loading site script $ac_site_file" >&6;} 
    21391695    sed 's/^/| /' "$ac_site_file" >&5 
    21401696    . "$ac_site_file" 
     
    21431699 
    21441700if test -r "$cache_file"; then 
    2145   # Some versions of bash will fail to source /dev/null (special files 
    2146   # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
    2147   if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
    2148     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
    2149 $as_echo "$as_me: loading cache $cache_file" >&6;} 
     1701  # Some versions of bash will fail to source /dev/null (special 
     1702  # files actually), so we avoid doing that. 
     1703  if test -f "$cache_file"; then 
     1704    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     1705echo "$as_me: loading cache $cache_file" >&6;} 
    21501706    case $cache_file in 
    21511707      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    21541710  fi 
    21551711else 
    2156   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
    2157 $as_echo "$as_me: creating cache $cache_file" >&6;} 
     1712  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     1713echo "$as_me: creating cache $cache_file" >&6;} 
    21581714  >$cache_file 
    21591715fi 
     
    21691725  case $ac_old_set,$ac_new_set in 
    21701726    set,) 
    2171       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    2172 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     1727      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1728echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    21731729      ac_cache_corrupted=: ;; 
    21741730    ,set) 
    2175       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
    2176 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     1731      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     1732echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    21771733      ac_cache_corrupted=: ;; 
    21781734    ,);; 
    21791735    *) 
    21801736      if test "x$ac_old_val" != "x$ac_new_val"; then 
    2181         # differences in whitespace do not lead to failure. 
    2182         ac_old_val_w=`echo x $ac_old_val` 
    2183         ac_new_val_w=`echo x $ac_new_val` 
    2184         if test "$ac_old_val_w" != "$ac_new_val_w"; then 
    2185           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
    2186 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    2187           ac_cache_corrupted=: 
    2188         else 
    2189           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
    2190 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
    2191           eval $ac_var=\$ac_old_val 
    2192         fi 
    2193         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
    2194 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
    2195         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
    2196 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
     1737        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     1738echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     1739        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
     1740echo "$as_me:   former value:  $ac_old_val" >&2;} 
     1741        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
     1742echo "$as_me:   current value: $ac_new_val" >&2;} 
     1743        ac_cache_corrupted=: 
    21971744      fi;; 
    21981745  esac 
     
    22001747  if test "$ac_new_set" = set; then 
    22011748    case $ac_new_val in 
    2202     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1749    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    22031750    *) ac_arg=$ac_var=$ac_new_val ;; 
    22041751    esac 
    22051752    case " $ac_configure_args " in 
    22061753      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    2207       *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
     1754      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    22081755    esac 
    22091756  fi 
    22101757done 
    22111758if $ac_cache_corrupted; then 
    2212   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2214   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    2215 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    2216   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
    2217 fi 
    2218 ## -------------------- ## 
    2219 ## Main body of script. ## 
    2220 ## -------------------- ## 
     1759  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     1760echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     1761  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1762echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
     1763   { (exit 1); exit 1; }; } 
     1764fi 
     1765 
     1766 
     1767 
     1768 
     1769 
     1770 
     1771 
     1772 
     1773 
     1774 
     1775 
     1776 
     1777 
     1778 
     1779 
     1780 
     1781 
     1782 
     1783 
     1784 
     1785 
     1786 
     1787 
     1788 
    22211789 
    22221790ac_ext=c 
     
    22321800ac_aux_dir= 
    22331801for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    2234   for ac_t in install-sh install.sh shtool; do 
    2235     if test -f "$ac_dir/$ac_t"; then 
    2236       ac_aux_dir=$ac_dir 
    2237       ac_install_sh="$ac_aux_dir/$ac_t -c" 
    2238       break 2 
    2239     fi 
    2240   done 
     1802  if test -f "$ac_dir/install-sh"; then 
     1803    ac_aux_dir=$ac_dir 
     1804    ac_install_sh="$ac_aux_dir/install-sh -c" 
     1805    break 
     1806  elif test -f "$ac_dir/install.sh"; then 
     1807    ac_aux_dir=$ac_dir 
     1808    ac_install_sh="$ac_aux_dir/install.sh -c" 
     1809    break 
     1810  elif test -f "$ac_dir/shtool"; then 
     1811    ac_aux_dir=$ac_dir 
     1812    ac_install_sh="$ac_aux_dir/shtool install -c" 
     1813    break 
     1814  fi 
    22411815done 
    22421816if test -z "$ac_aux_dir"; then 
    2243   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
     1817  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
     1818echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
     1819   { (exit 1); exit 1; }; } 
    22441820fi 
    22451821 
     
    22551831# Make sure we can run config.sub. 
    22561832$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    2257   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
    2258  
    2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    2260 $as_echo_n "checking build system type... " >&6; } 
    2261 if test "${ac_cv_build+set}" = set; then : 
    2262   $as_echo_n "(cached) " >&6 
     1833  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
     1834echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
     1835   { (exit 1); exit 1; }; } 
     1836 
     1837{ echo "$as_me:$LINENO: checking build system type" >&5 
     1838echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
     1839if test "${ac_cv_build+set}" = set; then 
     1840  echo $ECHO_N "(cached) $ECHO_C" >&6 
    22631841else 
    22641842  ac_build_alias=$build_alias 
     
    22661844  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    22671845test "x$ac_build_alias" = x && 
    2268   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
     1846  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
     1847echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
     1848   { (exit 1); exit 1; }; } 
    22691849ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    2270   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
    2271  
    2272 fi 
    2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
    2274 $as_echo "$ac_cv_build" >&6; } 
     1850  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
     1851echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
     1852   { (exit 1); exit 1; }; } 
     1853 
     1854fi 
     1855{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     1856echo "${ECHO_T}$ac_cv_build" >&6; } 
    22751857case $ac_cv_build in 
    22761858*-*-*) ;; 
    2277 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
     1859*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
     1860echo "$as_me: error: invalid value of canonical build" >&2;} 
     1861   { (exit 1); exit 1; }; };; 
    22781862esac 
    22791863build=$ac_cv_build 
     
    22911875 
    22921876 
    2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    2294 $as_echo_n "checking host system type... " >&6; } 
    2295 if test "${ac_cv_host+set}" = set; then : 
    2296   $as_echo_n "(cached) " >&6 
     1877{ echo "$as_me:$LINENO: checking host system type" >&5 
     1878echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
     1879if test "${ac_cv_host+set}" = set; then 
     1880  echo $ECHO_N "(cached) $ECHO_C" >&6 
    22971881else 
    22981882  if test "x$host_alias" = x; then 
     
    23001884else 
    23011885  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    2302     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
    2303 fi 
    2304  
    2305 fi 
    2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
    2307 $as_echo "$ac_cv_host" >&6; } 
     1886    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
     1887echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
     1888   { (exit 1); exit 1; }; } 
     1889fi 
     1890 
     1891fi 
     1892{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     1893echo "${ECHO_T}$ac_cv_host" >&6; } 
    23081894case $ac_cv_host in 
    23091895*-*-*) ;; 
    2310 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
     1896*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
     1897echo "$as_me: error: invalid value of canonical host" >&2;} 
     1898   { (exit 1); exit 1; }; };; 
    23111899esac 
    23121900host=$ac_cv_host 
     
    23241912 
    23251913 
    2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
    2327 $as_echo_n "checking target system type... " >&6; } 
    2328 if test "${ac_cv_target+set}" = set; then : 
    2329   $as_echo_n "(cached) " >&6 
     1914{ echo "$as_me:$LINENO: checking target system type" >&5 
     1915echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
     1916if test "${ac_cv_target+set}" = set; then 
     1917  echo $ECHO_N "(cached) $ECHO_C" >&6 
    23301918else 
    23311919  if test "x$target_alias" = x; then 
     
    23331921else 
    23341922  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    2335     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
    2336 fi 
    2337  
    2338 fi 
    2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
    2340 $as_echo "$ac_cv_target" >&6; } 
     1923    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
     1924echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
     1925   { (exit 1); exit 1; }; } 
     1926fi 
     1927 
     1928fi 
     1929{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     1930echo "${ECHO_T}$ac_cv_target" >&6; } 
    23411931case $ac_cv_target in 
    23421932*-*-*) ;; 
    2343 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
     1933*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
     1934echo "$as_me: error: invalid value of canonical target" >&2;} 
     1935   { (exit 1); exit 1; }; };; 
    23441936esac 
    23451937target=$ac_cv_target 
     
    23851977  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    23861978set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2388 $as_echo_n "checking for $ac_word... " >&6; } 
    2389 if test "${ac_cv_prog_CC+set}" = set; then : 
    2390   $as_echo_n "(cached) " >&6 
     1979{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1980echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     1981if test "${ac_cv_prog_CC+set}" = set; then 
     1982  echo $ECHO_N "(cached) $ECHO_C" >&6 
    23911983else 
    23921984  if test -n "$CC"; then 
     
    23981990  IFS=$as_save_IFS 
    23991991  test -z "$as_dir" && as_dir=. 
    2400     for ac_exec_ext in '' $ac_executable_extensions; do 
     1992  for ac_exec_ext in '' $ac_executable_extensions; do 
    24011993  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    24021994    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1995    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    24041996    break 2 
    24051997  fi 
    24061998done 
    2407   done 
     1999done 
    24082000IFS=$as_save_IFS 
    24092001 
     
    24122004CC=$ac_cv_prog_CC 
    24132005if test -n "$CC"; then 
    2414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2415 $as_echo "$CC" >&6; } 
    2416 else 
    2417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2418 $as_echo "no" >&6; } 
     2006  { echo "$as_me:$LINENO: result: $CC" >&5 
     2007echo "${ECHO_T}$CC" >&6; } 
     2008else 
     2009  { echo "$as_me:$LINENO: result: no" >&5 
     2010echo "${ECHO_T}no" >&6; } 
    24192011fi 
    24202012 
     
    24252017  # Extract the first word of "gcc", so it can be a program name with args. 
    24262018set dummy gcc; ac_word=$2 
    2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2428 $as_echo_n "checking for $ac_word... " >&6; } 
    2429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    2430   $as_echo_n "(cached) " >&6 
     2019{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2020echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2021if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2022  echo $ECHO_N "(cached) $ECHO_C" >&6 
    24312023else 
    24322024  if test -n "$ac_ct_CC"; then 
     
    24382030  IFS=$as_save_IFS 
    24392031  test -z "$as_dir" && as_dir=. 
    2440     for ac_exec_ext in '' $ac_executable_extensions; do 
     2032  for ac_exec_ext in '' $ac_executable_extensions; do 
    24412033  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    24422034    ac_cv_prog_ac_ct_CC="gcc" 
    2443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2035    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    24442036    break 2 
    24452037  fi 
    24462038done 
    2447   done 
     2039done 
    24482040IFS=$as_save_IFS 
    24492041 
     
    24522044ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    24532045if test -n "$ac_ct_CC"; then 
    2454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    2455 $as_echo "$ac_ct_CC" >&6; } 
    2456 else 
    2457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2458 $as_echo "no" >&6; } 
     2046  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2047echo "${ECHO_T}$ac_ct_CC" >&6; } 
     2048else 
     2049  { echo "$as_me:$LINENO: result: no" >&5 
     2050echo "${ECHO_T}no" >&6; } 
    24592051fi 
    24602052 
     
    24642056    case $cross_compiling:$ac_tool_warned in 
    24652057yes:) 
    2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    2467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     2058{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     2059whose name does not start with the host triplet.  If you think this 
     2060configuration is useful to you, please write to autoconf@gnu.org." >&5 
     2061echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     2062whose name does not start with the host triplet.  If you think this 
     2063configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    24682064ac_tool_warned=yes ;; 
    24692065esac 
     
    24782074    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    24792075set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2481 $as_echo_n "checking for $ac_word... " >&6; } 
    2482 if test "${ac_cv_prog_CC+set}" = set; then : 
    2483   $as_echo_n "(cached) " >&6 
     2076{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2077echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2078if test "${ac_cv_prog_CC+set}" = set; then 
     2079  echo $ECHO_N "(cached) $ECHO_C" >&6 
    24842080else 
    24852081  if test -n "$CC"; then 
     
    24912087  IFS=$as_save_IFS 
    24922088  test -z "$as_dir" && as_dir=. 
    2493     for ac_exec_ext in '' $ac_executable_extensions; do 
     2089  for ac_exec_ext in '' $ac_executable_extensions; do 
    24942090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    24952091    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2092    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    24972093    break 2 
    24982094  fi 
    24992095done 
    2500   done 
     2096done 
    25012097IFS=$as_save_IFS 
    25022098 
     
    25052101CC=$ac_cv_prog_CC 
    25062102if test -n "$CC"; then 
    2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2508 $as_echo "$CC" >&6; } 
    2509 else 
    2510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2511 $as_echo "no" >&6; } 
     2103  { echo "$as_me:$LINENO: result: $CC" >&5 
     2104echo "${ECHO_T}$CC" >&6; } 
     2105else 
     2106  { echo "$as_me:$LINENO: result: no" >&5 
     2107echo "${ECHO_T}no" >&6; } 
    25122108fi 
    25132109 
     
    25182114  # Extract the first word of "cc", so it can be a program name with args. 
    25192115set dummy cc; ac_word=$2 
    2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2521 $as_echo_n "checking for $ac_word... " >&6; } 
    2522 if test "${ac_cv_prog_CC+set}" = set; then : 
    2523   $as_echo_n "(cached) " >&6 
     2116{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2117echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2118if test "${ac_cv_prog_CC+set}" = set; then 
     2119  echo $ECHO_N "(cached) $ECHO_C" >&6 
    25242120else 
    25252121  if test -n "$CC"; then 
     
    25322128  IFS=$as_save_IFS 
    25332129  test -z "$as_dir" && as_dir=. 
    2534     for ac_exec_ext in '' $ac_executable_extensions; do 
     2130  for ac_exec_ext in '' $ac_executable_extensions; do 
    25352131  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    25362132    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    25392135     fi 
    25402136    ac_cv_prog_CC="cc" 
    2541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2137    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    25422138    break 2 
    25432139  fi 
    25442140done 
    2545   done 
     2141done 
    25462142IFS=$as_save_IFS 
    25472143 
     
    25622158CC=$ac_cv_prog_CC 
    25632159if test -n "$CC"; then 
    2564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2565 $as_echo "$CC" >&6; } 
    2566 else 
    2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2568 $as_echo "no" >&6; } 
     2160  { echo "$as_me:$LINENO: result: $CC" >&5 
     2161echo "${ECHO_T}$CC" >&6; } 
     2162else 
     2163  { echo "$as_me:$LINENO: result: no" >&5 
     2164echo "${ECHO_T}no" >&6; } 
    25692165fi 
    25702166 
     
    25772173    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    25782174set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2580 $as_echo_n "checking for $ac_word... " >&6; } 
    2581 if test "${ac_cv_prog_CC+set}" = set; then : 
    2582   $as_echo_n "(cached) " >&6 
     2175{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2176echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2177if test "${ac_cv_prog_CC+set}" = set; then 
     2178  echo $ECHO_N "(cached) $ECHO_C" >&6 
    25832179else 
    25842180  if test -n "$CC"; then 
     
    25902186  IFS=$as_save_IFS 
    25912187  test -z "$as_dir" && as_dir=. 
    2592     for ac_exec_ext in '' $ac_executable_extensions; do 
     2188  for ac_exec_ext in '' $ac_executable_extensions; do 
    25932189  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    25942190    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2191    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    25962192    break 2 
    25972193  fi 
    25982194done 
    2599   done 
     2195done 
    26002196IFS=$as_save_IFS 
    26012197 
     
    26042200CC=$ac_cv_prog_CC 
    26052201if test -n "$CC"; then 
    2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2607 $as_echo "$CC" >&6; } 
    2608 else 
    2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2610 $as_echo "no" >&6; } 
     2202  { echo "$as_me:$LINENO: result: $CC" >&5 
     2203echo "${ECHO_T}$CC" >&6; } 
     2204else 
     2205  { echo "$as_me:$LINENO: result: no" >&5 
     2206echo "${ECHO_T}no" >&6; } 
    26112207fi 
    26122208 
     
    26212217  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    26222218set dummy $ac_prog; ac_word=$2 
    2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2624 $as_echo_n "checking for $ac_word... " >&6; } 
    2625 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    2626   $as_echo_n "(cached) " >&6 
     2219{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2220echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2221if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2222  echo $ECHO_N "(cached) $ECHO_C" >&6 
    26272223else 
    26282224  if test -n "$ac_ct_CC"; then 
     
    26342230  IFS=$as_save_IFS 
    26352231  test -z "$as_dir" && as_dir=. 
    2636     for ac_exec_ext in '' $ac_executable_extensions; do 
     2232  for ac_exec_ext in '' $ac_executable_extensions; do 
    26372233  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    26382234    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2235    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    26402236    break 2 
    26412237  fi 
    26422238done 
    2643   done 
     2239done 
    26442240IFS=$as_save_IFS 
    26452241 
     
    26482244ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    26492245if test -n "$ac_ct_CC"; then 
    2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    2651 $as_echo "$ac_ct_CC" >&6; } 
    2652 else 
    2653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2654 $as_echo "no" >&6; } 
     2246  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2247echo "${ECHO_T}$ac_ct_CC" >&6; } 
     2248else 
     2249  { echo "$as_me:$LINENO: result: no" >&5 
     2250echo "${ECHO_T}no" >&6; } 
    26552251fi 
    26562252 
     
    26642260    case $cross_compiling:$ac_tool_warned in 
    26652261yes:) 
    2666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    2667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     2262{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     2263whose name does not start with the host triplet.  If you think this 
     2264configuration is useful to you, please write to autoconf@gnu.org." >&5 
     2265echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     2266whose name does not start with the host triplet.  If you think this 
     2267configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    26682268ac_tool_warned=yes ;; 
    26692269esac 
     
    26752275 
    26762276 
    2677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2679 as_fn_error "no acceptable C compiler found in \$PATH 
    2680 See \`config.log' for more details." "$LINENO" 5; } 
     2277test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     2278See \`config.log' for more details." >&5 
     2279echo "$as_me: error: no acceptable C compiler found in \$PATH 
     2280See \`config.log' for more details." >&2;} 
     2281   { (exit 1); exit 1; }; } 
    26812282 
    26822283# Provide some information about the compiler. 
    2683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
    2684 set X $ac_compile 
    2685 ac_compiler=$2 
    2686 for ac_option in --version -v -V -qversion; do 
    2687   { { ac_try="$ac_compiler $ac_option >&5" 
    2688 case "(($ac_try" in 
    2689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2690   *) ac_try_echo=$ac_try;; 
    2691 esac 
    2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2693 $as_echo "$ac_try_echo"; } >&5 
    2694   (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    2695   ac_status=$? 
    2696   if test -s conftest.err; then 
    2697     sed '10a\ 
    2698 ... rest of stderr output deleted ... 
    2699          10q' conftest.err >conftest.er1 
    2700     cat conftest.er1 >&5 
    2701   fi 
    2702   rm -f conftest.er1 conftest.err 
    2703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2704   test $ac_status = 0; } 
    2705 done 
    2706  
    2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2284echo "$as_me:$LINENO: checking for C compiler version" >&5 
     2285ac_compiler=`set X $ac_compile; echo $2` 
     2286{ (ac_try="$ac_compiler --version >&5" 
     2287case "(($ac_try" in 
     2288  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2289  *) ac_try_echo=$ac_try;; 
     2290esac 
     2291eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2292  (eval "$ac_compiler --version >&5") 2>&5 
     2293  ac_status=$? 
     2294  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2295  (exit $ac_status); } 
     2296{ (ac_try="$ac_compiler -v >&5" 
     2297case "(($ac_try" in 
     2298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2299  *) ac_try_echo=$ac_try;; 
     2300esac 
     2301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2302  (eval "$ac_compiler -v >&5") 2>&5 
     2303  ac_status=$? 
     2304  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2305  (exit $ac_status); } 
     2306{ (ac_try="$ac_compiler -V >&5" 
     2307case "(($ac_try" in 
     2308  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2309  *) ac_try_echo=$ac_try;; 
     2310esac 
     2311eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2312  (eval "$ac_compiler -V >&5") 2>&5 
     2313  ac_status=$? 
     2314  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2315  (exit $ac_status); } 
     2316 
     2317cat >conftest.$ac_ext <<_ACEOF 
     2318/* confdefs.h.  */ 
     2319_ACEOF 
     2320cat confdefs.h >>conftest.$ac_ext 
     2321cat >>conftest.$ac_ext <<_ACEOF 
    27082322/* end confdefs.h.  */ 
    27092323 
     
    27172331_ACEOF 
    27182332ac_clean_files_save=$ac_clean_files 
    2719 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2333ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    27202334# Try to create an executable without -o first, disregard a.out. 
    27212335# It will help us diagnose broken compilers, and finding out an intuition 
    27222336# of exeext. 
    2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
    2724 $as_echo_n "checking whether the C compiler works... " >&6; } 
    2725 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2726  
    2727 # The possible output files: 
    2728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
    2729  
     2337{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
     2338echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
     2339ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2340# 
     2341# List of possible output files, starting from the most likely. 
     2342# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
     2343# only as a last resort.  b.out is created by i960 compilers. 
     2344ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
     2345# 
     2346# The IRIX 6 linker writes into existing files which may not be 
     2347# executable, retaining their permissions.  Remove them first so a 
     2348# subsequent execution test works. 
    27302349ac_rmfiles= 
    27312350for ac_file in $ac_files 
    27322351do 
    27332352  case $ac_file in 
    2734     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2353    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    27352354    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    27362355  esac 
     
    27382357rm -f $ac_rmfiles 
    27392358 
    2740 if { { ac_try="$ac_link_default" 
    2741 case "(($ac_try" in 
    2742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2743   *) ac_try_echo=$ac_try;; 
    2744 esac 
    2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2746 $as_echo "$ac_try_echo"; } >&5 
     2359if { (ac_try="$ac_link_default" 
     2360case "(($ac_try" in 
     2361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2362  *) ac_try_echo=$ac_try;; 
     2363esac 
     2364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    27472365  (eval "$ac_link_default") 2>&5 
    27482366  ac_status=$? 
    2749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2750   test $ac_status = 0; }; then : 
     2367  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2368  (exit $ac_status); }; then 
    27512369  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    27522370# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    27582376  test -f "$ac_file" || continue 
    27592377  case $ac_file in 
    2760     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
     2378    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
    27612379        ;; 
    27622380    [ab].out ) 
     
    27652383        break;; 
    27662384    *.* ) 
    2767         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2385        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    27682386        then :; else 
    27692387           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    27842402  ac_file='' 
    27852403fi 
    2786 if test -z "$ac_file"; then : 
    2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2788 $as_echo "no" >&6; } 
    2789 $as_echo "$as_me: failed program was:" >&5 
     2404 
     2405{ echo "$as_me:$LINENO: result: $ac_file" >&5 
     2406echo "${ECHO_T}$ac_file" >&6; } 
     2407if test -z "$ac_file"; then 
     2408  echo "$as_me: failed program was:" >&5 
    27902409sed 's/^/| /' conftest.$ac_ext >&5 
    27912410 
    2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2794 { as_fn_set_status 77 
    2795 as_fn_error "C compiler cannot create executables 
    2796 See \`config.log' for more details." "$LINENO" 5; }; } 
    2797 else 
    2798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    2799 $as_echo "yes" >&6; } 
    2800 fi 
    2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
    2802 $as_echo_n "checking for C compiler default output file name... " >&6; } 
    2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
    2804 $as_echo "$ac_file" >&6; } 
     2411{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 
     2412See \`config.log' for more details." >&5 
     2413echo "$as_me: error: C compiler cannot create executables 
     2414See \`config.log' for more details." >&2;} 
     2415   { (exit 77); exit 77; }; } 
     2416fi 
     2417 
    28052418ac_exeext=$ac_cv_exeext 
    28062419 
    2807 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
     2420# Check that the compiler produces executables we can run.  If not, either 
     2421# the compiler is broken, or we cross compile. 
     2422{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
     2423echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
     2424# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     2425# If not cross compiling, check that we can run a simple program. 
     2426if test "$cross_compiling" != yes; then 
     2427  if { ac_try='./$ac_file' 
     2428  { (case "(($ac_try" in 
     2429  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2430  *) ac_try_echo=$ac_try;; 
     2431esac 
     2432eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2433  (eval "$ac_try") 2>&5 
     2434  ac_status=$? 
     2435  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2436  (exit $ac_status); }; }; then 
     2437    cross_compiling=no 
     2438  else 
     2439    if test "$cross_compiling" = maybe; then 
     2440        cross_compiling=yes 
     2441    else 
     2442        { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     2443If you meant to cross compile, use \`--host'. 
     2444See \`config.log' for more details." >&5 
     2445echo "$as_me: error: cannot run C compiled programs. 
     2446If you meant to cross compile, use \`--host'. 
     2447See \`config.log' for more details." >&2;} 
     2448   { (exit 1); exit 1; }; } 
     2449    fi 
     2450  fi 
     2451fi 
     2452{ echo "$as_me:$LINENO: result: yes" >&5 
     2453echo "${ECHO_T}yes" >&6; } 
     2454 
     2455rm -f a.out a.exe conftest$ac_cv_exeext b.out 
    28082456ac_clean_files=$ac_clean_files_save 
    2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
    2810 $as_echo_n "checking for suffix of executables... " >&6; } 
    2811 if { { ac_try="$ac_link" 
    2812 case "(($ac_try" in 
    2813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2814   *) ac_try_echo=$ac_try;; 
    2815 esac 
    2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2817 $as_echo "$ac_try_echo"; } >&5 
     2457# Check that the compiler produces executables we can run.  If not, either 
     2458# the compiler is broken, or we cross compile. 
     2459{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     2460echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
     2461{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     2462echo "${ECHO_T}$cross_compiling" >&6; } 
     2463 
     2464{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     2465echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
     2466if { (ac_try="$ac_link" 
     2467case "(($ac_try" in 
     2468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2469  *) ac_try_echo=$ac_try;; 
     2470esac 
     2471eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    28182472  (eval "$ac_link") 2>&5 
    28192473  ac_status=$? 
    2820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2821   test $ac_status = 0; }; then : 
     2474  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2475  (exit $ac_status); }; then 
    28222476  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    28232477# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    28272481  test -f "$ac_file" || continue 
    28282482  case $ac_file in 
    2829     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2483    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    28302484    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    28312485          break;; 
     
    28342488done 
    28352489else 
    2836   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2838 as_fn_error "cannot compute suffix of executables: cannot compile and link 
    2839 See \`config.log' for more details." "$LINENO" 5; } 
    2840 fi 
    2841 rm -f conftest conftest$ac_cv_exeext 
    2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
    2843 $as_echo "$ac_cv_exeext" >&6; } 
     2490  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     2491See \`config.log' for more details." >&5 
     2492echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     2493See \`config.log' for more details." >&2;} 
     2494   { (exit 1); exit 1; }; } 
     2495fi 
     2496 
     2497rm -f conftest$ac_cv_exeext 
     2498{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     2499echo "${ECHO_T}$ac_cv_exeext" >&6; } 
    28442500 
    28452501rm -f conftest.$ac_ext 
    28462502EXEEXT=$ac_cv_exeext 
    28472503ac_exeext=$EXEEXT 
    2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2504{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     2505echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
     2506if test "${ac_cv_objext+set}" = set; then 
     2507  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2508else 
     2509  cat >conftest.$ac_ext <<_ACEOF 
     2510/* confdefs.h.  */ 
     2511_ACEOF 
     2512cat confdefs.h >>conftest.$ac_ext 
     2513cat >>conftest.$ac_ext <<_ACEOF 
    28492514/* end confdefs.h.  */ 
    2850 #include <stdio.h> 
     2515 
    28512516int 
    28522517main () 
    28532518{ 
    2854 FILE *f = fopen ("conftest.out", "w"); 
    2855  return ferror (f) || fclose (f) != 0; 
    28562519 
    28572520  ; 
     
    28592522} 
    28602523_ACEOF 
    2861 ac_clean_files="$ac_clean_files conftest.out" 
    2862 # Check that the compiler produces executables we can run.  If not, either 
    2863 # the compiler is broken, or we cross compile. 
    2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
    2865 $as_echo_n "checking whether we are cross compiling... " >&6; } 
    2866 if test "$cross_compiling" != yes; then 
    2867   { { ac_try="$ac_link" 
    2868 case "(($ac_try" in 
    2869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2870   *) ac_try_echo=$ac_try;; 
    2871 esac 
    2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2873 $as_echo "$ac_try_echo"; } >&5 
    2874   (eval "$ac_link") 2>&5 
    2875   ac_status=$? 
    2876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2877   test $ac_status = 0; } 
    2878   if { ac_try='./conftest$ac_cv_exeext' 
    2879   { { case "(($ac_try" in 
    2880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2881   *) ac_try_echo=$ac_try;; 
    2882 esac 
    2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2884 $as_echo "$ac_try_echo"; } >&5 
    2885   (eval "$ac_try") 2>&5 
    2886   ac_status=$? 
    2887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2888   test $ac_status = 0; }; }; then 
    2889     cross_compiling=no 
    2890   else 
    2891     if test "$cross_compiling" = maybe; then 
    2892         cross_compiling=yes 
    2893     else 
    2894         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2896 as_fn_error "cannot run C compiled programs. 
    2897 If you meant to cross compile, use \`--host'. 
    2898 See \`config.log' for more details." "$LINENO" 5; } 
    2899     fi 
    2900   fi 
    2901 fi 
    2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
    2903 $as_echo "$cross_compiling" >&6; } 
    2904  
    2905 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
    2906 ac_clean_files=$ac_clean_files_save 
    2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    2908 $as_echo_n "checking for suffix of object files... " >&6; } 
    2909 if test "${ac_cv_objext+set}" = set; then : 
    2910   $as_echo_n "(cached) " >&6 
    2911 else 
    2912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    2913 /* end confdefs.h.  */ 
    2914  
    2915 int 
    2916 main () 
    2917 { 
    2918  
    2919   ; 
    2920   return 0; 
    2921 } 
    2922 _ACEOF 
    29232524rm -f conftest.o conftest.obj 
    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:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2930 $as_echo "$ac_try_echo"; } >&5 
     2525if { (ac_try="$ac_compile" 
     2526case "(($ac_try" in 
     2527  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2528  *) ac_try_echo=$ac_try;; 
     2529esac 
     2530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    29312531  (eval "$ac_compile") 2>&5 
    29322532  ac_status=$? 
    2933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2934   test $ac_status = 0; }; then : 
     2533  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2534  (exit $ac_status); }; then 
    29352535  for ac_file in conftest.o conftest.obj conftest.*; do 
    29362536  test -f "$ac_file" || continue; 
    29372537  case $ac_file in 
    2938     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
     2538    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
    29392539    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    29402540       break;; 
     
    29422542done 
    29432543else 
    2944   $as_echo "$as_me: failed program was:" >&5 
     2544  echo "$as_me: failed program was:" >&5 
    29452545sed 's/^/| /' conftest.$ac_ext >&5 
    29462546 
    2947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2949 as_fn_error "cannot compute suffix of object files: cannot compile 
    2950 See \`config.log' for more details." "$LINENO" 5; } 
    2951 fi 
     2547{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     2548See \`config.log' for more details." >&5 
     2549echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     2550See \`config.log' for more details." >&2;} 
     2551   { (exit 1); exit 1; }; } 
     2552fi 
     2553 
    29522554rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    29532555fi 
    2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
    2955 $as_echo "$ac_cv_objext" >&6; } 
     2556{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     2557echo "${ECHO_T}$ac_cv_objext" >&6; } 
    29562558OBJEXT=$ac_cv_objext 
    29572559ac_objext=$OBJEXT 
    2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    2959 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    2960 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
    2961   $as_echo_n "(cached) " >&6 
    2962 else 
    2963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2560{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     2561echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
     2562if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     2563  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2564else 
     2565  cat >conftest.$ac_ext <<_ACEOF 
     2566/* confdefs.h.  */ 
     2567_ACEOF 
     2568cat confdefs.h >>conftest.$ac_ext 
     2569cat >>conftest.$ac_ext <<_ACEOF 
    29642570/* end confdefs.h.  */ 
    29652571 
     
    29752581} 
    29762582_ACEOF 
    2977 if ac_fn_c_try_compile "$LINENO"; then : 
     2583rm -f conftest.$ac_objext 
     2584if { (ac_try="$ac_compile" 
     2585case "(($ac_try" in 
     2586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2587  *) ac_try_echo=$ac_try;; 
     2588esac 
     2589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2590  (eval "$ac_compile") 2>conftest.er1 
     2591  ac_status=$? 
     2592  grep -v '^ *+' conftest.er1 >conftest.err 
     2593  rm -f conftest.er1 
     2594  cat conftest.err >&5 
     2595  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2596  (exit $ac_status); } && { 
     2597         test -z "$ac_c_werror_flag" || 
     2598         test ! -s conftest.err 
     2599       } && test -s conftest.$ac_objext; then 
    29782600  ac_compiler_gnu=yes 
    29792601else 
    2980   ac_compiler_gnu=no 
    2981 fi 
     2602  echo "$as_me: failed program was:" >&5 
     2603sed 's/^/| /' conftest.$ac_ext >&5 
     2604 
     2605        ac_compiler_gnu=no 
     2606fi 
     2607 
    29822608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    29832609ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    29842610 
    29852611fi 
    2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
    2987 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 
    2988 if test $ac_compiler_gnu = yes; then 
    2989   GCC=yes 
    2990 else 
    2991   GCC= 
    2992 fi 
     2612{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     2613echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
     2614GCC=`test $ac_compiler_gnu = yes && echo yes` 
    29932615ac_test_CFLAGS=${CFLAGS+set} 
    29942616ac_save_CFLAGS=$CFLAGS 
    2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    2996 $as_echo_n "checking whether $CC accepts -g... " >&6; } 
    2997 if test "${ac_cv_prog_cc_g+set}" = set; then : 
    2998   $as_echo_n "(cached) " >&6 
     2617{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     2618echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
     2619if test "${ac_cv_prog_cc_g+set}" = set; then 
     2620  echo $ECHO_N "(cached) $ECHO_C" >&6 
    29992621else 
    30002622  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    30022624   ac_cv_prog_cc_g=no 
    30032625   CFLAGS="-g" 
    3004    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2626   cat >conftest.$ac_ext <<_ACEOF 
     2627/* confdefs.h.  */ 
     2628_ACEOF 
     2629cat confdefs.h >>conftest.$ac_ext 
     2630cat >>conftest.$ac_ext <<_ACEOF 
    30052631/* end confdefs.h.  */ 
    30062632 
     
    30132639} 
    30142640_ACEOF 
    3015 if ac_fn_c_try_compile "$LINENO"; then : 
     2641rm -f conftest.$ac_objext 
     2642if { (ac_try="$ac_compile" 
     2643case "(($ac_try" in 
     2644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2645  *) ac_try_echo=$ac_try;; 
     2646esac 
     2647eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2648  (eval "$ac_compile") 2>conftest.er1 
     2649  ac_status=$? 
     2650  grep -v '^ *+' conftest.er1 >conftest.err 
     2651  rm -f conftest.er1 
     2652  cat conftest.err >&5 
     2653  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2654  (exit $ac_status); } && { 
     2655         test -z "$ac_c_werror_flag" || 
     2656         test ! -s conftest.err 
     2657       } && test -s conftest.$ac_objext; then 
    30162658  ac_cv_prog_cc_g=yes 
    30172659else 
    3018   CFLAGS="" 
    3019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2660  echo "$as_me: failed program was:" >&5 
     2661sed 's/^/| /' conftest.$ac_ext >&5 
     2662 
     2663        CFLAGS="" 
     2664      cat >conftest.$ac_ext <<_ACEOF 
     2665/* confdefs.h.  */ 
     2666_ACEOF 
     2667cat confdefs.h >>conftest.$ac_ext 
     2668cat >>conftest.$ac_ext <<_ACEOF 
    30202669/* end confdefs.h.  */ 
    30212670 
     
    30282677} 
    30292678_ACEOF 
    3030 if ac_fn_c_try_compile "$LINENO"; then : 
    3031  
    3032 else 
    3033   ac_c_werror_flag=$ac_save_c_werror_flag 
     2679rm -f conftest.$ac_objext 
     2680if { (ac_try="$ac_compile" 
     2681case "(($ac_try" in 
     2682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2683  *) ac_try_echo=$ac_try;; 
     2684esac 
     2685eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2686  (eval "$ac_compile") 2>conftest.er1 
     2687  ac_status=$? 
     2688  grep -v '^ *+' conftest.er1 >conftest.err 
     2689  rm -f conftest.er1 
     2690  cat conftest.err >&5 
     2691  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2692  (exit $ac_status); } && { 
     2693         test -z "$ac_c_werror_flag" || 
     2694         test ! -s conftest.err 
     2695       } && test -s conftest.$ac_objext; then 
     2696  : 
     2697else 
     2698  echo "$as_me: failed program was:" >&5 
     2699sed 's/^/| /' conftest.$ac_ext >&5 
     2700 
     2701        ac_c_werror_flag=$ac_save_c_werror_flag 
    30342702         CFLAGS="-g" 
    3035          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2703         cat >conftest.$ac_ext <<_ACEOF 
     2704/* confdefs.h.  */ 
     2705_ACEOF 
     2706cat confdefs.h >>conftest.$ac_ext 
     2707cat >>conftest.$ac_ext <<_ACEOF 
    30362708/* end confdefs.h.  */ 
    30372709 
     
    30442716} 
    30452717_ACEOF 
    3046 if ac_fn_c_try_compile "$LINENO"; then : 
     2718rm -f conftest.$ac_objext 
     2719if { (ac_try="$ac_compile" 
     2720case "(($ac_try" in 
     2721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2722  *) ac_try_echo=$ac_try;; 
     2723esac 
     2724eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2725  (eval "$ac_compile") 2>conftest.er1 
     2726  ac_status=$? 
     2727  grep -v '^ *+' conftest.er1 >conftest.err 
     2728  rm -f conftest.er1 
     2729  cat conftest.err >&5 
     2730  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2731  (exit $ac_status); } && { 
     2732         test -z "$ac_c_werror_flag" || 
     2733         test ! -s conftest.err 
     2734       } && test -s conftest.$ac_objext; then 
    30472735  ac_cv_prog_cc_g=yes 
    3048 fi 
     2736else 
     2737  echo "$as_me: failed program was:" >&5 
     2738sed 's/^/| /' conftest.$ac_ext >&5 
     2739 
     2740 
     2741fi 
     2742 
    30492743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30502744fi 
     2745 
    30512746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30522747fi 
     2748 
    30532749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30542750   ac_c_werror_flag=$ac_save_c_werror_flag 
    30552751fi 
    3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
    3057 $as_echo "$ac_cv_prog_cc_g" >&6; } 
     2752{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     2753echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
    30582754if test "$ac_test_CFLAGS" = set; then 
    30592755  CFLAGS=$ac_save_CFLAGS 
     
    30712767  fi 
    30722768fi 
    3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    3074 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    3075 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
    3076   $as_echo_n "(cached) " >&6 
     2769{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
     2770echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
     2771if test "${ac_cv_prog_cc_c89+set}" = set; then 
     2772  echo $ECHO_N "(cached) $ECHO_C" >&6 
    30772773else 
    30782774  ac_cv_prog_cc_c89=no 
    30792775ac_save_CC=$CC 
    3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2776cat >conftest.$ac_ext <<_ACEOF 
     2777/* confdefs.h.  */ 
     2778_ACEOF 
     2779cat confdefs.h >>conftest.$ac_ext 
     2780cat >>conftest.$ac_ext <<_ACEOF 
    30812781/* end confdefs.h.  */ 
    30822782#include <stdarg.h> 
     
    31352835do 
    31362836  CC="$ac_save_CC $ac_arg" 
    3137   if ac_fn_c_try_compile "$LINENO"; then : 
     2837  rm -f conftest.$ac_objext 
     2838if { (ac_try="$ac_compile" 
     2839case "(($ac_try" in 
     2840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2841  *) ac_try_echo=$ac_try;; 
     2842esac 
     2843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2844  (eval "$ac_compile") 2>conftest.er1 
     2845  ac_status=$? 
     2846  grep -v '^ *+' conftest.er1 >conftest.err 
     2847  rm -f conftest.er1 
     2848  cat conftest.err >&5 
     2849  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2850  (exit $ac_status); } && { 
     2851         test -z "$ac_c_werror_flag" || 
     2852         test ! -s conftest.err 
     2853       } && test -s conftest.$ac_objext; then 
    31382854  ac_cv_prog_cc_c89=$ac_arg 
    3139 fi 
     2855else 
     2856  echo "$as_me: failed program was:" >&5 
     2857sed 's/^/| /' conftest.$ac_ext >&5 
     2858 
     2859 
     2860fi 
     2861 
    31402862rm -f core conftest.err conftest.$ac_objext 
    31412863  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    31482870case "x$ac_cv_prog_cc_c89" in 
    31492871  x) 
    3150     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
    3151 $as_echo "none needed" >&6; } ;; 
     2872    { echo "$as_me:$LINENO: result: none needed" >&5 
     2873echo "${ECHO_T}none needed" >&6; } ;; 
    31522874  xno) 
    3153     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
    3154 $as_echo "unsupported" >&6; } ;; 
     2875    { echo "$as_me:$LINENO: result: unsupported" >&5 
     2876echo "${ECHO_T}unsupported" >&6; } ;; 
    31552877  *) 
    31562878    CC="$CC $ac_cv_prog_cc_c89" 
    3157     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
    3158 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    3159 esac 
    3160 if test "x$ac_cv_prog_cc_c89" != xno; then : 
    3161  
    3162 fi 
     2879    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
     2880echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     2881esac 
     2882 
    31632883 
    31642884ac_ext=c 
     
    31822902    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    31832903set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    3185 $as_echo_n "checking for $ac_word... " >&6; } 
    3186 if test "${ac_cv_prog_CXX+set}" = set; then : 
    3187   $as_echo_n "(cached) " >&6 
     2904{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2905echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2906if test "${ac_cv_prog_CXX+set}" = set; then 
     2907  echo $ECHO_N "(cached) $ECHO_C" >&6 
    31882908else 
    31892909  if test -n "$CXX"; then 
     
    31952915  IFS=$as_save_IFS 
    31962916  test -z "$as_dir" && as_dir=. 
    3197     for ac_exec_ext in '' $ac_executable_extensions; do 
     2917  for ac_exec_ext in '' $ac_executable_extensions; do 
    31982918  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    31992919    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    3200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2920    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    32012921    break 2 
    32022922  fi 
    32032923done 
    3204   done 
     2924done 
    32052925IFS=$as_save_IFS 
    32062926 
     
    32092929CXX=$ac_cv_prog_CXX 
    32102930if test -n "$CXX"; then 
    3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
    3212 $as_echo "$CXX" >&6; } 
    3213 else 
    3214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    3215 $as_echo "no" >&6; } 
     2931  { echo "$as_me:$LINENO: result: $CXX" >&5 
     2932echo "${ECHO_T}$CXX" >&6; } 
     2933else 
     2934  { echo "$as_me:$LINENO: result: no" >&5 
     2935echo "${ECHO_T}no" >&6; } 
    32162936fi 
    32172937 
     
    32262946  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    32272947set dummy $ac_prog; ac_word=$2 
    3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    3229 $as_echo_n "checking for $ac_word... " >&6; } 
    3230 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
    3231   $as_echo_n "(cached) " >&6 
     2948{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2949echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2950if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     2951  echo $ECHO_N "(cached) $ECHO_C" >&6 
    32322952else 
    32332953  if test -n "$ac_ct_CXX"; then 
     
    32392959  IFS=$as_save_IFS 
    32402960  test -z "$as_dir" && as_dir=. 
    3241     for ac_exec_ext in '' $ac_executable_extensions; do 
     2961  for ac_exec_ext in '' $ac_executable_extensions; do 
    32422962  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    32432963    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    3244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2964    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    32452965    break 2 
    32462966  fi 
    32472967done 
    3248   done 
     2968done 
    32492969IFS=$as_save_IFS 
    32502970 
     
    32532973ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    32542974if test -n "$ac_ct_CXX"; then 
    3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
    3256 $as_echo "$ac_ct_CXX" >&6; } 
    3257 else 
    3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    3259 $as_echo "no" >&6; } 
     2975  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     2976echo "${ECHO_T}$ac_ct_CXX" >&6; } 
     2977else 
     2978  { echo "$as_me:$LINENO: result: no" >&5 
     2979echo "${ECHO_T}no" >&6; } 
    32602980fi 
    32612981 
     
    32692989    case $cross_compiling:$ac_tool_warned in 
    32702990yes:) 
    3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    3272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     2991{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     2992whose name does not start with the host triplet.  If you think this 
     2993configuration is useful to you, please write to autoconf@gnu.org." >&5 
     2994echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     2995whose name does not start with the host triplet.  If you think this 
     2996configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    32732997ac_tool_warned=yes ;; 
    32742998esac 
     
    32803004fi 
    32813005# Provide some information about the compiler. 
    3282 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
    3283 set X $ac_compile 
    3284 ac_compiler=$2 
    3285 for ac_option in --version -v -V -qversion; do 
    3286   { { ac_try="$ac_compiler $ac_option >&5" 
    3287 case "(($ac_try" in 
    3288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3289   *) ac_try_echo=$ac_try;; 
    3290 esac 
    3291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    3292 $as_echo "$ac_try_echo"; } >&5 
    3293   (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    3294   ac_status=$? 
    3295   if test -s conftest.err; then 
    3296     sed '10a\ 
    3297 ... rest of stderr output deleted ... 
    3298          10q' conftest.err >conftest.er1 
    3299     cat conftest.er1 >&5 
    3300   fi 
    3301   rm -f conftest.er1 conftest.err 
    3302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    3303   test $ac_status = 0; } 
    3304 done 
    3305  
    3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
    3307 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
    3308 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
    3309   $as_echo_n "(cached) " >&6 
    3310 else 
    3311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3006echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
     3007ac_compiler=`set X $ac_compile; echo $2` 
     3008{ (ac_try="$ac_compiler --version >&5" 
     3009case "(($ac_try" in 
     3010  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3011  *) ac_try_echo=$ac_try;; 
     3012esac 
     3013eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3014  (eval "$ac_compiler --version >&5") 2>&5 
     3015  ac_status=$? 
     3016  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3017  (exit $ac_status); } 
     3018{ (ac_try="$ac_compiler -v >&5" 
     3019case "(($ac_try" in 
     3020  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3021  *) ac_try_echo=$ac_try;; 
     3022esac 
     3023eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3024  (eval "$ac_compiler -v >&5") 2>&5 
     3025  ac_status=$? 
     3026  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3027  (exit $ac_status); } 
     3028{ (ac_try="$ac_compiler -V >&5" 
     3029case "(($ac_try" in 
     3030  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3031  *) ac_try_echo=$ac_try;; 
     3032esac 
     3033eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3034  (eval "$ac_compiler -V >&5") 2>&5 
     3035  ac_status=$? 
     3036  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3037  (exit $ac_status); } 
     3038 
     3039{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     3040echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
     3041if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     3042  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3043else 
     3044  cat >conftest.$ac_ext <<_ACEOF 
     3045/* confdefs.h.  */ 
     3046_ACEOF 
     3047cat confdefs.h >>conftest.$ac_ext 
     3048cat >>conftest.$ac_ext <<_ACEOF 
    33123049/* end confdefs.h.  */ 
    33133050 
     
    33233060} 
    33243061_ACEOF 
    3325 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3062rm -f conftest.$ac_objext 
     3063if { (ac_try="$ac_compile" 
     3064case "(($ac_try" in 
     3065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3066  *) ac_try_echo=$ac_try;; 
     3067esac 
     3068eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3069  (eval "$ac_compile") 2>conftest.er1 
     3070  ac_status=$? 
     3071  grep -v '^ *+' conftest.er1 >conftest.err 
     3072  rm -f conftest.er1 
     3073  cat conftest.err >&5 
     3074  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3075  (exit $ac_status); } && { 
     3076         test -z "$ac_cxx_werror_flag" || 
     3077         test ! -s conftest.err 
     3078       } && test -s conftest.$ac_objext; then 
    33263079  ac_compiler_gnu=yes 
    33273080else 
    3328   ac_compiler_gnu=no 
    3329 fi 
     3081  echo "$as_me: failed program was:" >&5 
     3082sed 's/^/| /' conftest.$ac_ext >&5 
     3083 
     3084        ac_compiler_gnu=no 
     3085fi 
     3086 
    33303087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33313088ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    33323089 
    33333090fi 
    3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
    3335 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
    3336 if test $ac_compiler_gnu = yes; then 
    3337   GXX=yes 
    3338 else 
    3339   GXX= 
    3340 fi 
     3091{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     3092echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
     3093GXX=`test $ac_compiler_gnu = yes && echo yes` 
    33413094ac_test_CXXFLAGS=${CXXFLAGS+set} 
    33423095ac_save_CXXFLAGS=$CXXFLAGS 
    3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
    3344 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 
    3345 if test "${ac_cv_prog_cxx_g+set}" = set; then : 
    3346   $as_echo_n "(cached) " >&6 
     3096{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     3097echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
     3098if test "${ac_cv_prog_cxx_g+set}" = set; then 
     3099  echo $ECHO_N "(cached) $ECHO_C" >&6 
    33473100else 
    33483101  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    33503103   ac_cv_prog_cxx_g=no 
    33513104   CXXFLAGS="-g" 
    3352    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3105   cat >conftest.$ac_ext <<_ACEOF 
     3106/* confdefs.h.  */ 
     3107_ACEOF 
     3108cat confdefs.h >>conftest.$ac_ext 
     3109cat >>conftest.$ac_ext <<_ACEOF 
    33533110/* end confdefs.h.  */ 
    33543111 
     
    33613118} 
    33623119_ACEOF 
    3363 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3120rm -f conftest.$ac_objext 
     3121if { (ac_try="$ac_compile" 
     3122case "(($ac_try" in 
     3123  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3124  *) ac_try_echo=$ac_try;; 
     3125esac 
     3126eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3127  (eval "$ac_compile") 2>conftest.er1 
     3128  ac_status=$? 
     3129  grep -v '^ *+' conftest.er1 >conftest.err 
     3130  rm -f conftest.er1 
     3131  cat conftest.err >&5 
     3132  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3133  (exit $ac_status); } && { 
     3134         test -z "$ac_cxx_werror_flag" || 
     3135         test ! -s conftest.err 
     3136       } && test -s conftest.$ac_objext; then 
    33643137  ac_cv_prog_cxx_g=yes 
    33653138else 
    3366   CXXFLAGS="" 
    3367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3139  echo "$as_me: failed program was:" >&5 
     3140sed 's/^/| /' conftest.$ac_ext >&5 
     3141 
     3142        CXXFLAGS="" 
     3143      cat >conftest.$ac_ext <<_ACEOF 
     3144/* confdefs.h.  */ 
     3145_ACEOF 
     3146cat confdefs.h >>conftest.$ac_ext 
     3147cat >>conftest.$ac_ext <<_ACEOF 
    33683148/* end confdefs.h.  */ 
    33693149 
     
    33763156} 
    33773157_ACEOF 
    3378 if ac_fn_cxx_try_compile "$LINENO"; then : 
    3379  
    3380 else 
    3381   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3158rm -f conftest.$ac_objext 
     3159if { (ac_try="$ac_compile" 
     3160case "(($ac_try" in 
     3161  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3162  *) ac_try_echo=$ac_try;; 
     3163esac 
     3164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3165  (eval "$ac_compile") 2>conftest.er1 
     3166  ac_status=$? 
     3167  grep -v '^ *+' conftest.er1 >conftest.err 
     3168  rm -f conftest.er1 
     3169  cat conftest.err >&5 
     3170  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3171  (exit $ac_status); } && { 
     3172         test -z "$ac_cxx_werror_flag" || 
     3173         test ! -s conftest.err 
     3174       } && test -s conftest.$ac_objext; then 
     3175  : 
     3176else 
     3177  echo "$as_me: failed program was:" >&5 
     3178sed 's/^/| /' conftest.$ac_ext >&5 
     3179 
     3180        ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    33823181         CXXFLAGS="-g" 
    3383          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3182         cat >conftest.$ac_ext <<_ACEOF 
     3183/* confdefs.h.  */ 
     3184_ACEOF 
     3185cat confdefs.h >>conftest.$ac_ext 
     3186cat >>conftest.$ac_ext <<_ACEOF 
    33843187/* end confdefs.h.  */ 
    33853188 
     
    33923195} 
    33933196_ACEOF 
    3394 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3197rm -f conftest.$ac_objext 
     3198if { (ac_try="$ac_compile" 
     3199case "(($ac_try" in 
     3200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3201  *) ac_try_echo=$ac_try;; 
     3202esac 
     3203eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3204  (eval "$ac_compile") 2>conftest.er1 
     3205  ac_status=$? 
     3206  grep -v '^ *+' conftest.er1 >conftest.err 
     3207  rm -f conftest.er1 
     3208  cat conftest.err >&5 
     3209  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3210  (exit $ac_status); } && { 
     3211         test -z "$ac_cxx_werror_flag" || 
     3212         test ! -s conftest.err 
     3213       } && test -s conftest.$ac_objext; then 
    33953214  ac_cv_prog_cxx_g=yes 
    3396 fi 
     3215else 
     3216  echo "$as_me: failed program was:" >&5 
     3217sed 's/^/| /' conftest.$ac_ext >&5 
     3218 
     3219 
     3220fi 
     3221 
    33973222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33983223fi 
     3224 
    33993225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34003226fi 
     3227 
    34013228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34023229   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    34033230fi 
    3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
    3405 $as_echo "$ac_cv_prog_cxx_g" >&6; } 
     3231{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     3232echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
    34063233if test "$ac_test_CXXFLAGS" = set; then 
    34073234  CXXFLAGS=$ac_save_CXXFLAGS 
     
    34813308 
    34823309 
    3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
    3484 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
    3485 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
    3486   $as_echo_n "(cached) " >&6 
     3310 
     3311{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
     3312echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
     3313if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     3314  echo $ECHO_N "(cached) $ECHO_C" >&6 
    34873315else 
    34883316  ac_check_lib_save_LIBS=$LIBS 
    34893317LIBS="-lpthread  $LIBS" 
    3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3318cat >conftest.$ac_ext <<_ACEOF 
     3319/* confdefs.h.  */ 
     3320_ACEOF 
     3321cat confdefs.h >>conftest.$ac_ext 
     3322cat >>conftest.$ac_ext <<_ACEOF 
    34913323/* end confdefs.h.  */ 
    34923324 
     
    35063338} 
    35073339_ACEOF 
    3508 if ac_fn_c_try_link "$LINENO"; then : 
     3340rm -f conftest.$ac_objext conftest$ac_exeext 
     3341if { (ac_try="$ac_link" 
     3342case "(($ac_try" in 
     3343  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3344  *) ac_try_echo=$ac_try;; 
     3345esac 
     3346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3347  (eval "$ac_link") 2>conftest.er1 
     3348  ac_status=$? 
     3349  grep -v '^ *+' conftest.er1 >conftest.err 
     3350  rm -f conftest.er1 
     3351  cat conftest.err >&5 
     3352  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3353  (exit $ac_status); } && { 
     3354         test -z "$ac_c_werror_flag" || 
     3355         test ! -s conftest.err 
     3356       } && test -s conftest$ac_exeext && 
     3357       $as_test_x conftest$ac_exeext; then 
    35093358  ac_cv_lib_pthread_pthread_create=yes 
    35103359else 
    3511   ac_cv_lib_pthread_pthread_create=no 
    3512 fi 
    3513 rm -f core conftest.err conftest.$ac_objext \ 
    3514     conftest$ac_exeext conftest.$ac_ext 
     3360  echo "$as_me: failed program was:" >&5 
     3361sed 's/^/| /' conftest.$ac_ext >&5 
     3362 
     3363        ac_cv_lib_pthread_pthread_create=no 
     3364fi 
     3365 
     3366rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3367      conftest$ac_exeext conftest.$ac_ext 
    35153368LIBS=$ac_check_lib_save_LIBS 
    35163369fi 
    3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3518 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
    3519 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
     3370{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3371echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
     3372if test $ac_cv_lib_pthread_pthread_create = yes; then 
    35203373  cat >>confdefs.h <<_ACEOF 
    35213374#define HAVE_LIBPTHREAD 1 
     
    35263379fi 
    35273380 
    3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
    3529 $as_echo_n "checking for puts in -lwsock32... " >&6; } 
    3530 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
    3531   $as_echo_n "(cached) " >&6 
     3381 
     3382{ echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
     3383echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
     3384if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
     3385  echo $ECHO_N "(cached) $ECHO_C" >&6 
    35323386else 
    35333387  ac_check_lib_save_LIBS=$LIBS 
    35343388LIBS="-lwsock32  $LIBS" 
    3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3389cat >conftest.$ac_ext <<_ACEOF 
     3390/* confdefs.h.  */ 
     3391_ACEOF 
     3392cat confdefs.h >>conftest.$ac_ext 
     3393cat >>conftest.$ac_ext <<_ACEOF 
    35363394/* end confdefs.h.  */ 
    35373395 
     
    35513409} 
    35523410_ACEOF 
    3553 if ac_fn_c_try_link "$LINENO"; then : 
     3411rm -f conftest.$ac_objext conftest$ac_exeext 
     3412if { (ac_try="$ac_link" 
     3413case "(($ac_try" in 
     3414  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3415  *) ac_try_echo=$ac_try;; 
     3416esac 
     3417eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3418  (eval "$ac_link") 2>conftest.er1 
     3419  ac_status=$? 
     3420  grep -v '^ *+' conftest.er1 >conftest.err 
     3421  rm -f conftest.er1 
     3422  cat conftest.err >&5 
     3423  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3424  (exit $ac_status); } && { 
     3425         test -z "$ac_c_werror_flag" || 
     3426         test ! -s conftest.err 
     3427       } && test -s conftest$ac_exeext && 
     3428       $as_test_x conftest$ac_exeext; then 
    35543429  ac_cv_lib_wsock32_puts=yes 
    35553430else 
    3556   ac_cv_lib_wsock32_puts=no 
    3557 fi 
    3558 rm -f core conftest.err conftest.$ac_objext \ 
    3559     conftest$ac_exeext conftest.$ac_ext 
     3431  echo "$as_me: failed program was:" >&5 
     3432sed 's/^/| /' conftest.$ac_ext >&5 
     3433 
     3434        ac_cv_lib_wsock32_puts=no 
     3435fi 
     3436 
     3437rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3438      conftest$ac_exeext conftest.$ac_ext 
    35603439LIBS=$ac_check_lib_save_LIBS 
    35613440fi 
    3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
    3563 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
    3564 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
     3441{ echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
     3442echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
     3443if test $ac_cv_lib_wsock32_puts = yes; then 
    35653444  cat >>confdefs.h <<_ACEOF 
    35663445#define HAVE_LIBWSOCK32 1 
     
    35713450fi 
    35723451 
    3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
    3574 $as_echo_n "checking for puts in -lws2_32... " >&6; } 
    3575 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
    3576   $as_echo_n "(cached) " >&6 
     3452 
     3453{ echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
     3454echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
     3455if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
     3456  echo $ECHO_N "(cached) $ECHO_C" >&6 
    35773457else 
    35783458  ac_check_lib_save_LIBS=$LIBS 
    35793459LIBS="-lws2_32  $LIBS" 
    3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3460cat >conftest.$ac_ext <<_ACEOF 
     3461/* confdefs.h.  */ 
     3462_ACEOF 
     3463cat confdefs.h >>conftest.$ac_ext 
     3464cat >>conftest.$ac_ext <<_ACEOF 
    35813465/* end confdefs.h.  */ 
    35823466 
     
    35963480} 
    35973481_ACEOF 
    3598 if ac_fn_c_try_link "$LINENO"; then : 
     3482rm -f conftest.$ac_objext conftest$ac_exeext 
     3483if { (ac_try="$ac_link" 
     3484case "(($ac_try" in 
     3485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3486  *) ac_try_echo=$ac_try;; 
     3487esac 
     3488eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3489  (eval "$ac_link") 2>conftest.er1 
     3490  ac_status=$? 
     3491  grep -v '^ *+' conftest.er1 >conftest.err 
     3492  rm -f conftest.er1 
     3493  cat conftest.err >&5 
     3494  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3495  (exit $ac_status); } && { 
     3496         test -z "$ac_c_werror_flag" || 
     3497         test ! -s conftest.err 
     3498       } && test -s conftest$ac_exeext && 
     3499       $as_test_x conftest$ac_exeext; then 
    35993500  ac_cv_lib_ws2_32_puts=yes 
    36003501else 
    3601   ac_cv_lib_ws2_32_puts=no 
    3602 fi 
    3603 rm -f core conftest.err conftest.$ac_objext \ 
    3604     conftest$ac_exeext conftest.$ac_ext 
     3502  echo "$as_me: failed program was:" >&5 
     3503sed 's/^/| /' conftest.$ac_ext >&5 
     3504 
     3505        ac_cv_lib_ws2_32_puts=no 
     3506fi 
     3507 
     3508rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3509      conftest$ac_exeext conftest.$ac_ext 
    36053510LIBS=$ac_check_lib_save_LIBS 
    36063511fi 
    3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
    3608 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
    3609 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
     3512{ echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
     3513echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
     3514if test $ac_cv_lib_ws2_32_puts = yes; then 
    36103515  cat >>confdefs.h <<_ACEOF 
    36113516#define HAVE_LIBWS2_32 1 
     
    36163521fi 
    36173522 
    3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
    3619 $as_echo_n "checking for puts in -lole32... " >&6; } 
    3620 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
    3621   $as_echo_n "(cached) " >&6 
     3523 
     3524{ echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
     3525echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
     3526if test "${ac_cv_lib_ole32_puts+set}" = set; then 
     3527  echo $ECHO_N "(cached) $ECHO_C" >&6 
    36223528else 
    36233529  ac_check_lib_save_LIBS=$LIBS 
    36243530LIBS="-lole32  $LIBS" 
    3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3531cat >conftest.$ac_ext <<_ACEOF 
     3532/* confdefs.h.  */ 
     3533_ACEOF 
     3534cat confdefs.h >>conftest.$ac_ext 
     3535cat >>conftest.$ac_ext <<_ACEOF 
    36263536/* end confdefs.h.  */ 
    36273537 
     
    36413551} 
    36423552_ACEOF 
    3643 if ac_fn_c_try_link "$LINENO"; then : 
     3553rm -f conftest.$ac_objext conftest$ac_exeext 
     3554if { (ac_try="$ac_link" 
     3555case "(($ac_try" in 
     3556  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3557  *) ac_try_echo=$ac_try;; 
     3558esac 
     3559eval "echo \"\$as_me:$LINENO: $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  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       $as_test_x conftest$ac_exeext; then 
    36443571  ac_cv_lib_ole32_puts=yes 
    36453572else 
    3646   ac_cv_lib_ole32_puts=no 
    3647 fi 
    3648 rm -f core conftest.err conftest.$ac_objext \ 
    3649     conftest$ac_exeext conftest.$ac_ext 
     3573  echo "$as_me: failed program was:" >&5 
     3574sed 's/^/| /' conftest.$ac_ext >&5 
     3575 
     3576        ac_cv_lib_ole32_puts=no 
     3577fi 
     3578 
     3579rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3580      conftest$ac_exeext conftest.$ac_ext 
    36503581LIBS=$ac_check_lib_save_LIBS 
    36513582fi 
    3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
    3653 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 
    3654 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
     3583{ echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
     3584echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
     3585if test $ac_cv_lib_ole32_puts = yes; then 
    36553586  cat >>confdefs.h <<_ACEOF 
    36563587#define HAVE_LIBOLE32 1 
     
    36613592fi 
    36623593 
    3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
    3664 $as_echo_n "checking for puts in -lwinmm... " >&6; } 
    3665 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
    3666   $as_echo_n "(cached) " >&6 
     3594 
     3595{ echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
     3596echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
     3597if test "${ac_cv_lib_winmm_puts+set}" = set; then 
     3598  echo $ECHO_N "(cached) $ECHO_C" >&6 
    36673599else 
    36683600  ac_check_lib_save_LIBS=$LIBS 
    36693601LIBS="-lwinmm  $LIBS" 
    3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3602cat >conftest.$ac_ext <<_ACEOF 
     3603/* confdefs.h.  */ 
     3604_ACEOF 
     3605cat confdefs.h >>conftest.$ac_ext 
     3606cat >>conftest.$ac_ext <<_ACEOF 
    36713607/* end confdefs.h.  */ 
    36723608 
     
    36863622} 
    36873623_ACEOF 
    3688 if ac_fn_c_try_link "$LINENO"; then : 
     3624rm -f conftest.$ac_objext conftest$ac_exeext 
     3625if { (ac_try="$ac_link" 
     3626case "(($ac_try" in 
     3627  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3628  *) ac_try_echo=$ac_try;; 
     3629esac 
     3630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3631  (eval "$ac_link") 2>conftest.er1 
     3632  ac_status=$? 
     3633  grep -v '^ *+' conftest.er1 >conftest.err 
     3634  rm -f conftest.er1 
     3635  cat conftest.err >&5 
     3636  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3637  (exit $ac_status); } && { 
     3638         test -z "$ac_c_werror_flag" || 
     3639         test ! -s conftest.err 
     3640       } && test -s conftest$ac_exeext && 
     3641       $as_test_x conftest$ac_exeext; then 
    36893642  ac_cv_lib_winmm_puts=yes 
    36903643else 
    3691   ac_cv_lib_winmm_puts=no 
    3692 fi 
    3693 rm -f core conftest.err conftest.$ac_objext \ 
    3694     conftest$ac_exeext conftest.$ac_ext 
     3644  echo "$as_me: failed program was:" >&5 
     3645sed 's/^/| /' conftest.$ac_ext >&5 
     3646 
     3647        ac_cv_lib_winmm_puts=no 
     3648fi 
     3649 
     3650rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3651      conftest$ac_exeext conftest.$ac_ext 
    36953652LIBS=$ac_check_lib_save_LIBS 
    36963653fi 
    3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
    3698 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 
    3699 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
     3654{ echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
     3655echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
     3656if test $ac_cv_lib_winmm_puts = yes; then 
    37003657  cat >>confdefs.h <<_ACEOF 
    37013658#define HAVE_LIBWINMM 1 
     
    37063663fi 
    37073664 
    3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
    3709 $as_echo_n "checking for puts in -lsocket... " >&6; } 
    3710 if test "${ac_cv_lib_socket_puts+set}" = set; then : 
    3711   $as_echo_n "(cached) " >&6 
     3665 
     3666{ echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
     3667echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
     3668if test "${ac_cv_lib_socket_puts+set}" = set; then 
     3669  echo $ECHO_N "(cached) $ECHO_C" >&6 
    37123670else 
    37133671  ac_check_lib_save_LIBS=$LIBS 
    37143672LIBS="-lsocket  $LIBS" 
    3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3673cat >conftest.$ac_ext <<_ACEOF 
     3674/* confdefs.h.  */ 
     3675_ACEOF 
     3676cat confdefs.h >>conftest.$ac_ext 
     3677cat >>conftest.$ac_ext <<_ACEOF 
    37163678/* end confdefs.h.  */ 
    37173679 
     
    37313693} 
    37323694_ACEOF 
    3733 if ac_fn_c_try_link "$LINENO"; then : 
     3695rm -f conftest.$ac_objext conftest$ac_exeext 
     3696if { (ac_try="$ac_link" 
     3697case "(($ac_try" in 
     3698  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3699  *) ac_try_echo=$ac_try;; 
     3700esac 
     3701eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3702  (eval "$ac_link") 2>conftest.er1 
     3703  ac_status=$? 
     3704  grep -v '^ *+' conftest.er1 >conftest.err 
     3705  rm -f conftest.er1 
     3706  cat conftest.err >&5 
     3707  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3708  (exit $ac_status); } && { 
     3709         test -z "$ac_c_werror_flag" || 
     3710         test ! -s conftest.err 
     3711       } && test -s conftest$ac_exeext && 
     3712       $as_test_x conftest$ac_exeext; then 
    37343713  ac_cv_lib_socket_puts=yes 
    37353714else 
    3736   ac_cv_lib_socket_puts=no 
    3737 fi 
    3738 rm -f core conftest.err conftest.$ac_objext \ 
    3739     conftest$ac_exeext conftest.$ac_ext 
     3715  echo "$as_me: failed program was:" >&5 
     3716sed 's/^/| /' conftest.$ac_ext >&5 
     3717 
     3718        ac_cv_lib_socket_puts=no 
     3719fi 
     3720 
     3721rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3722      conftest$ac_exeext conftest.$ac_ext 
    37403723LIBS=$ac_check_lib_save_LIBS 
    37413724fi 
    3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
    3743 $as_echo "$ac_cv_lib_socket_puts" >&6; } 
    3744 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
     3725{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
     3726echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
     3727if test $ac_cv_lib_socket_puts = yes; then 
    37453728  cat >>confdefs.h <<_ACEOF 
    37463729#define HAVE_LIBSOCKET 1 
     
    37513734fi 
    37523735 
    3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
    3754 $as_echo_n "checking for puts in -lrt... " >&6; } 
    3755 if test "${ac_cv_lib_rt_puts+set}" = set; then : 
    3756   $as_echo_n "(cached) " >&6 
     3736 
     3737{ echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
     3738echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
     3739if test "${ac_cv_lib_rt_puts+set}" = set; then 
     3740  echo $ECHO_N "(cached) $ECHO_C" >&6 
    37573741else 
    37583742  ac_check_lib_save_LIBS=$LIBS 
    37593743LIBS="-lrt  $LIBS" 
    3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3744cat >conftest.$ac_ext <<_ACEOF 
     3745/* confdefs.h.  */ 
     3746_ACEOF 
     3747cat confdefs.h >>conftest.$ac_ext 
     3748cat >>conftest.$ac_ext <<_ACEOF 
    37613749/* end confdefs.h.  */ 
    37623750 
     
    37763764} 
    37773765_ACEOF 
    3778 if ac_fn_c_try_link "$LINENO"; then : 
     3766rm -f conftest.$ac_objext conftest$ac_exeext 
     3767if { (ac_try="$ac_link" 
     3768case "(($ac_try" in 
     3769  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3770  *) ac_try_echo=$ac_try;; 
     3771esac 
     3772eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3773  (eval "$ac_link") 2>conftest.er1 
     3774  ac_status=$? 
     3775  grep -v '^ *+' conftest.er1 >conftest.err 
     3776  rm -f conftest.er1 
     3777  cat conftest.err >&5 
     3778  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3779  (exit $ac_status); } && { 
     3780         test -z "$ac_c_werror_flag" || 
     3781         test ! -s conftest.err 
     3782       } && test -s conftest$ac_exeext && 
     3783       $as_test_x conftest$ac_exeext; then 
    37793784  ac_cv_lib_rt_puts=yes 
    37803785else 
    3781   ac_cv_lib_rt_puts=no 
    3782 fi 
    3783 rm -f core conftest.err conftest.$ac_objext \ 
    3784     conftest$ac_exeext conftest.$ac_ext 
     3786  echo "$as_me: failed program was:" >&5 
     3787sed 's/^/| /' conftest.$ac_ext >&5 
     3788 
     3789        ac_cv_lib_rt_puts=no 
     3790fi 
     3791 
     3792rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3793      conftest$ac_exeext conftest.$ac_ext 
    37853794LIBS=$ac_check_lib_save_LIBS 
    37863795fi 
    3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
    3788 $as_echo "$ac_cv_lib_rt_puts" >&6; } 
    3789 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
     3796{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
     3797echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
     3798if test $ac_cv_lib_rt_puts = yes; then 
    37903799  cat >>confdefs.h <<_ACEOF 
    37913800#define HAVE_LIBRT 1 
     
    37963805fi 
    37973806 
    3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
    3799 $as_echo_n "checking for puts in -lnsl... " >&6; } 
    3800 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
    3801   $as_echo_n "(cached) " >&6 
     3807 
     3808{ echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
     3809echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
     3810if test "${ac_cv_lib_nsl_puts+set}" = set; then 
     3811  echo $ECHO_N "(cached) $ECHO_C" >&6 
    38023812else 
    38033813  ac_check_lib_save_LIBS=$LIBS 
    38043814LIBS="-lnsl  $LIBS" 
    3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3815cat >conftest.$ac_ext <<_ACEOF 
     3816/* confdefs.h.  */ 
     3817_ACEOF 
     3818cat confdefs.h >>conftest.$ac_ext 
     3819cat >>conftest.$ac_ext <<_ACEOF 
    38063820/* end confdefs.h.  */ 
    38073821 
     
    38213835} 
    38223836_ACEOF 
    3823 if ac_fn_c_try_link "$LINENO"; then : 
     3837rm -f conftest.$ac_objext conftest$ac_exeext 
     3838if { (ac_try="$ac_link" 
     3839case "(($ac_try" in 
     3840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3841  *) ac_try_echo=$ac_try;; 
     3842esac 
     3843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3844  (eval "$ac_link") 2>conftest.er1 
     3845  ac_status=$? 
     3846  grep -v '^ *+' conftest.er1 >conftest.err 
     3847  rm -f conftest.er1 
     3848  cat conftest.err >&5 
     3849  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3850  (exit $ac_status); } && { 
     3851         test -z "$ac_c_werror_flag" || 
     3852         test ! -s conftest.err 
     3853       } && test -s conftest$ac_exeext && 
     3854       $as_test_x conftest$ac_exeext; then 
    38243855  ac_cv_lib_nsl_puts=yes 
    38253856else 
    3826   ac_cv_lib_nsl_puts=no 
    3827 fi 
    3828 rm -f core conftest.err conftest.$ac_objext \ 
    3829     conftest$ac_exeext conftest.$ac_ext 
     3857  echo "$as_me: failed program was:" >&5 
     3858sed 's/^/| /' conftest.$ac_ext >&5 
     3859 
     3860        ac_cv_lib_nsl_puts=no 
     3861fi 
     3862 
     3863rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3864      conftest$ac_exeext conftest.$ac_ext 
    38303865LIBS=$ac_check_lib_save_LIBS 
    38313866fi 
    3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
    3833 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 
    3834 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
     3867{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
     3868echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
     3869if test $ac_cv_lib_nsl_puts = yes; then 
    38353870  cat >>confdefs.h <<_ACEOF 
    38363871#define HAVE_LIBNSL 1 
     
    38413876fi 
    38423877 
    3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    3844 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3845 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    3846   $as_echo_n "(cached) " >&6 
     3878 
     3879{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3880echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
     3881if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3882  echo $ECHO_N "(cached) $ECHO_C" >&6 
    38473883else 
    38483884  ac_check_lib_save_LIBS=$LIBS 
    38493885LIBS="-luuid  $LIBS" 
    3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3886cat >conftest.$ac_ext <<_ACEOF 
     3887/* confdefs.h.  */ 
     3888_ACEOF 
     3889cat confdefs.h >>conftest.$ac_ext 
     3890cat >>conftest.$ac_ext <<_ACEOF 
    38513891/* end confdefs.h.  */ 
    38523892 
     
    38663906} 
    38673907_ACEOF 
    3868 if ac_fn_c_try_link "$LINENO"; then : 
     3908rm -f conftest.$ac_objext conftest$ac_exeext 
     3909if { (ac_try="$ac_link" 
     3910case "(($ac_try" in 
     3911  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3912  *) ac_try_echo=$ac_try;; 
     3913esac 
     3914eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3915  (eval "$ac_link") 2>conftest.er1 
     3916  ac_status=$? 
     3917  grep -v '^ *+' conftest.er1 >conftest.err 
     3918  rm -f conftest.er1 
     3919  cat conftest.err >&5 
     3920  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3921  (exit $ac_status); } && { 
     3922         test -z "$ac_c_werror_flag" || 
     3923         test ! -s conftest.err 
     3924       } && test -s conftest$ac_exeext && 
     3925       $as_test_x conftest$ac_exeext; then 
    38693926  ac_cv_lib_uuid_uuid_generate=yes 
    38703927else 
    3871   ac_cv_lib_uuid_uuid_generate=no 
    3872 fi 
    3873 rm -f core conftest.err conftest.$ac_objext \ 
    3874     conftest$ac_exeext conftest.$ac_ext 
     3928  echo "$as_me: failed program was:" >&5 
     3929sed 's/^/| /' conftest.$ac_ext >&5 
     3930 
     3931        ac_cv_lib_uuid_uuid_generate=no 
     3932fi 
     3933 
     3934rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3935      conftest$ac_exeext conftest.$ac_ext 
    38753936LIBS=$ac_check_lib_save_LIBS 
    38763937fi 
    3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3878 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3879 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     3938{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3939echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3940if test $ac_cv_lib_uuid_uuid_generate = yes; then 
    38803941  cat >>confdefs.h <<_ACEOF 
    38813942#define HAVE_LIBUUID 1 
     
    38863947fi 
    38873948 
    3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    3889 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3890 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    3891   $as_echo_n "(cached) " >&6 
     3949{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3950echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
     3951if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3952  echo $ECHO_N "(cached) $ECHO_C" >&6 
    38923953else 
    38933954  ac_check_lib_save_LIBS=$LIBS 
    38943955LIBS="-luuid  $LIBS" 
    3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3956cat >conftest.$ac_ext <<_ACEOF 
     3957/* confdefs.h.  */ 
     3958_ACEOF 
     3959cat confdefs.h >>conftest.$ac_ext 
     3960cat >>conftest.$ac_ext <<_ACEOF 
    38963961/* end confdefs.h.  */ 
    38973962 
     
    39113976} 
    39123977_ACEOF 
    3913 if ac_fn_c_try_link "$LINENO"; then : 
     3978rm -f conftest.$ac_objext conftest$ac_exeext 
     3979if { (ac_try="$ac_link" 
     3980case "(($ac_try" in 
     3981  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3982  *) ac_try_echo=$ac_try;; 
     3983esac 
     3984eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3985  (eval "$ac_link") 2>conftest.er1 
     3986  ac_status=$? 
     3987  grep -v '^ *+' conftest.er1 >conftest.err 
     3988  rm -f conftest.er1 
     3989  cat conftest.err >&5 
     3990  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3991  (exit $ac_status); } && { 
     3992         test -z "$ac_c_werror_flag" || 
     3993         test ! -s conftest.err 
     3994       } && test -s conftest$ac_exeext && 
     3995       $as_test_x conftest$ac_exeext; then 
    39143996  ac_cv_lib_uuid_uuid_generate=yes 
    39153997else 
    3916   ac_cv_lib_uuid_uuid_generate=no 
    3917 fi 
    3918 rm -f core conftest.err conftest.$ac_objext \ 
    3919     conftest$ac_exeext conftest.$ac_ext 
     3998  echo "$as_me: failed program was:" >&5 
     3999sed 's/^/| /' conftest.$ac_ext >&5 
     4000 
     4001        ac_cv_lib_uuid_uuid_generate=no 
     4002fi 
     4003 
     4004rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     4005      conftest$ac_exeext conftest.$ac_ext 
    39204006LIBS=$ac_check_lib_save_LIBS 
    39214007fi 
    3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3923 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3924 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     4008{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     4009echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
     4010if test $ac_cv_lib_uuid_uuid_generate = yes; then 
    39254011  ac_has_uuid_lib=1 
    39264012fi 
    39274013 
    39284014 
    3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
    3930 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
     4015{ echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
     4016echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
    39314017cat >>confdefs.h <<_ACEOF 
    39324018#define PJ_M_NAME "$target_cpu" 
     
    39344020 
    39354021 
    3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
    3937 $as_echo_n "checking memory alignment... " >&6; } 
     4022{ echo "$as_me:$LINENO: checking memory alignment" >&5 
     4023echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
    39384024case $target in 
    39394025    sparc64-* | ia64-* | x86_64-* ) 
    3940         $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
    3941  
    3942         { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
    3943 $as_echo "8 bytes" >&6; } 
     4026        cat >>confdefs.h <<\_ACEOF 
     4027#define PJ_POOL_ALIGNMENT 8 
     4028_ACEOF 
     4029 
     4030        { echo "$as_me:$LINENO: result: 8 bytes" >&5 
     4031echo "${ECHO_T}8 bytes" >&6; } 
    39444032        ;; 
    39454033    * ) 
    3946         $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
    3947  
    3948         { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
    3949 $as_echo "4 bytes (default)" >&6; } 
     4034        cat >>confdefs.h <<\_ACEOF 
     4035#define PJ_POOL_ALIGNMENT 4 
     4036_ACEOF 
     4037 
     4038        { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
     4039echo "${ECHO_T}4 bytes (default)" >&6; } 
    39504040        ;; 
    39514041esac 
     
    39574047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    39584048ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
    3960 $as_echo_n "checking how to run the C preprocessor... " >&6; } 
     4049{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     4050echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
    39614051# On Suns, sometimes $CPP names a directory. 
    39624052if test -n "$CPP" && test -d "$CPP"; then 
     
    39644054fi 
    39654055if test -z "$CPP"; then 
    3966   if test "${ac_cv_prog_CPP+set}" = set; then : 
    3967   $as_echo_n "(cached) " >&6 
     4056  if test "${ac_cv_prog_CPP+set}" = set; then 
     4057  echo $ECHO_N "(cached) $ECHO_C" >&6 
    39684058else 
    39694059      # Double quotes because CPP needs to be expanded 
     
    39794069  # On the NeXT, cc -E runs the code through the compiler's parser, 
    39804070  # not just through cpp. "Syntax error" is here to catch this case. 
    3981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4071  cat >conftest.$ac_ext <<_ACEOF 
     4072/* confdefs.h.  */ 
     4073_ACEOF 
     4074cat confdefs.h >>conftest.$ac_ext 
     4075cat >>conftest.$ac_ext <<_ACEOF 
    39824076/* end confdefs.h.  */ 
    39834077#ifdef __STDC__ 
     
    39884082                     Syntax error 
    39894083_ACEOF 
    3990 if ac_fn_c_try_cpp "$LINENO"; then : 
    3991  
    3992 else 
     4084if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4085case "(($ac_try" in 
     4086  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4087  *) ac_try_echo=$ac_try;; 
     4088esac 
     4089eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4090  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4091  ac_status=$? 
     4092  grep -v '^ *+' conftest.er1 >conftest.err 
     4093  rm -f conftest.er1 
     4094  cat conftest.err >&5 
     4095  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4096  (exit $ac_status); } >/dev/null && { 
     4097         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4098         test ! -s conftest.err 
     4099       }; then 
     4100  : 
     4101else 
     4102  echo "$as_me: failed program was:" >&5 
     4103sed 's/^/| /' conftest.$ac_ext >&5 
     4104 
    39934105  # Broken: fails on valid input. 
    39944106continue 
    39954107fi 
     4108 
    39964109rm -f conftest.err conftest.$ac_ext 
    39974110 
    39984111  # OK, works on sane cases.  Now check whether nonexistent headers 
    39994112  # can be detected and how. 
    4000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4113  cat >conftest.$ac_ext <<_ACEOF 
     4114/* confdefs.h.  */ 
     4115_ACEOF 
     4116cat confdefs.h >>conftest.$ac_ext 
     4117cat >>conftest.$ac_ext <<_ACEOF 
    40014118/* end confdefs.h.  */ 
    40024119#include <ac_nonexistent.h> 
    40034120_ACEOF 
    4004 if ac_fn_c_try_cpp "$LINENO"; then : 
     4121if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4122case "(($ac_try" in 
     4123  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4124  *) ac_try_echo=$ac_try;; 
     4125esac 
     4126eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4127  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4128  ac_status=$? 
     4129  grep -v '^ *+' conftest.er1 >conftest.err 
     4130  rm -f conftest.er1 
     4131  cat conftest.err >&5 
     4132  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4133  (exit $ac_status); } >/dev/null && { 
     4134         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4135         test ! -s conftest.err 
     4136       }; then 
    40054137  # Broken: success on invalid input. 
    40064138continue 
    40074139else 
     4140  echo "$as_me: failed program was:" >&5 
     4141sed 's/^/| /' conftest.$ac_ext >&5 
     4142 
    40084143  # Passes both tests. 
    40094144ac_preproc_ok=: 
    40104145break 
    40114146fi 
     4147 
    40124148rm -f conftest.err conftest.$ac_ext 
    40134149 
     
    40154151# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    40164152rm -f conftest.err conftest.$ac_ext 
    4017 if $ac_preproc_ok; then : 
     4153if $ac_preproc_ok; then 
    40184154  break 
    40194155fi 
     
    40274163  ac_cv_prog_CPP=$CPP 
    40284164fi 
    4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
    4030 $as_echo "$CPP" >&6; } 
     4165{ echo "$as_me:$LINENO: result: $CPP" >&5 
     4166echo "${ECHO_T}$CPP" >&6; } 
    40314167ac_preproc_ok=false 
    40324168for ac_c_preproc_warn_flag in '' yes 
     
    40384174  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40394175  # not just through cpp. "Syntax error" is here to catch this case. 
    4040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4176  cat >conftest.$ac_ext <<_ACEOF 
     4177/* confdefs.h.  */ 
     4178_ACEOF 
     4179cat confdefs.h >>conftest.$ac_ext 
     4180cat >>conftest.$ac_ext <<_ACEOF 
    40414181/* end confdefs.h.  */ 
    40424182#ifdef __STDC__ 
     
    40474187                     Syntax error 
    40484188_ACEOF 
    4049 if ac_fn_c_try_cpp "$LINENO"; then : 
    4050  
    4051 else 
     4189if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4190case "(($ac_try" in 
     4191  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4192  *) ac_try_echo=$ac_try;; 
     4193esac 
     4194eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4195  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4196  ac_status=$? 
     4197  grep -v '^ *+' conftest.er1 >conftest.err 
     4198  rm -f conftest.er1 
     4199  cat conftest.err >&5 
     4200  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4201  (exit $ac_status); } >/dev/null && { 
     4202         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4203         test ! -s conftest.err 
     4204       }; then 
     4205  : 
     4206else 
     4207  echo "$as_me: failed program was:" >&5 
     4208sed 's/^/| /' conftest.$ac_ext >&5 
     4209 
    40524210  # Broken: fails on valid input. 
    40534211continue 
    40544212fi 
     4213 
    40554214rm -f conftest.err conftest.$ac_ext 
    40564215 
    40574216  # OK, works on sane cases.  Now check whether nonexistent headers 
    40584217  # can be detected and how. 
    4059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4218  cat >conftest.$ac_ext <<_ACEOF 
     4219/* confdefs.h.  */ 
     4220_ACEOF 
     4221cat confdefs.h >>conftest.$ac_ext 
     4222cat >>conftest.$ac_ext <<_ACEOF 
    40604223/* end confdefs.h.  */ 
    40614224#include <ac_nonexistent.h> 
    40624225_ACEOF 
    4063 if ac_fn_c_try_cpp "$LINENO"; then : 
     4226if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4227case "(($ac_try" in 
     4228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4229  *) ac_try_echo=$ac_try;; 
     4230esac 
     4231eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4232  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4233  ac_status=$? 
     4234  grep -v '^ *+' conftest.er1 >conftest.err 
     4235  rm -f conftest.er1 
     4236  cat conftest.err >&5 
     4237  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4238  (exit $ac_status); } >/dev/null && { 
     4239         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4240         test ! -s conftest.err 
     4241       }; then 
    40644242  # Broken: success on invalid input. 
    40654243continue 
    40664244else 
     4245  echo "$as_me: failed program was:" >&5 
     4246sed 's/^/| /' conftest.$ac_ext >&5 
     4247 
    40674248  # Passes both tests. 
    40684249ac_preproc_ok=: 
    40694250break 
    40704251fi 
     4252 
    40714253rm -f conftest.err conftest.$ac_ext 
    40724254 
     
    40744256# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    40754257rm -f conftest.err conftest.$ac_ext 
    4076 if $ac_preproc_ok; then : 
    4077  
    4078 else 
    4079   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    4080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    4081 as_fn_error "C preprocessor \"$CPP\" fails sanity check 
    4082 See \`config.log' for more details." "$LINENO" 5; } 
     4258if $ac_preproc_ok; then 
     4259  : 
     4260else 
     4261  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     4262See \`config.log' for more details." >&5 
     4263echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     4264See \`config.log' for more details." >&2;} 
     4265   { (exit 1); exit 1; }; } 
    40834266fi 
    40844267 
     
    40904273 
    40914274 
    4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    4093 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    4094 if test "${ac_cv_path_GREP+set}" = set; then : 
    4095   $as_echo_n "(cached) " >&6 
    4096 else 
    4097   if test -z "$GREP"; then 
     4275{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
     4276echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
     4277if test "${ac_cv_path_GREP+set}" = set; then 
     4278  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4279else 
     4280  # Extract the first word of "grep ggrep" to use in msg output 
     4281if test -z "$GREP"; then 
     4282set dummy grep ggrep; ac_prog_name=$2 
     4283if test "${ac_cv_path_GREP+set}" = set; then 
     4284  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4285else 
    40984286  ac_path_GREP_found=false 
    4099   # Loop through the user's path and test for each of PROGNAME-LIST 
    4100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4287# Loop through the user's path and test for each of PROGNAME-LIST 
     4288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    41014289for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    41024290do 
    41034291  IFS=$as_save_IFS 
    41044292  test -z "$as_dir" && as_dir=. 
    4105     for ac_prog in grep ggrep; do 
    4106     for ac_exec_ext in '' $ac_executable_extensions; do 
    4107       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4108       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4109 # Check for GNU ac_path_GREP and select it if it is found. 
     4293  for ac_prog in grep ggrep; do 
     4294  for ac_exec_ext in '' $ac_executable_extensions; do 
     4295    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4296    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4297    # Check for GNU ac_path_GREP and select it if it is found. 
    41104298  # Check for GNU $ac_path_GREP 
    41114299case `"$ac_path_GREP" --version 2>&1` in 
     
    41144302*) 
    41154303  ac_count=0 
    4116   $as_echo_n 0123456789 >"conftest.in" 
     4304  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
    41174305  while : 
    41184306  do 
     
    41204308    mv "conftest.tmp" "conftest.in" 
    41214309    cp "conftest.in" "conftest.nl" 
    4122     $as_echo 'GREP' >> "conftest.nl" 
     4310    echo 'GREP' >> "conftest.nl" 
    41234311    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    41244312    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4125     as_fn_arith $ac_count + 1 && ac_count=$as_val 
     4313    ac_count=`expr $ac_count + 1` 
    41264314    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    41274315      # Best one so far, save it but keep looking for a better one 
     
    41354323esac 
    41364324 
    4137       $ac_path_GREP_found && break 3 
    4138     done 
     4325 
     4326    $ac_path_GREP_found && break 3 
    41394327  done 
    4140   done 
     4328done 
     4329 
     4330done 
    41414331IFS=$as_save_IFS 
    4142   if test -z "$ac_cv_path_GREP"; then 
    4143     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    4144   fi 
     4332 
     4333 
     4334fi 
     4335 
     4336GREP="$ac_cv_path_GREP" 
     4337if test -z "$GREP"; then 
     4338  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
     4339echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
     4340   { (exit 1); exit 1; }; } 
     4341fi 
     4342 
    41454343else 
    41464344  ac_cv_path_GREP=$GREP 
    41474345fi 
    41484346 
    4149 fi 
    4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
    4151 $as_echo "$ac_cv_path_GREP" >&6; } 
     4347 
     4348fi 
     4349{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
     4350echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
    41524351 GREP="$ac_cv_path_GREP" 
    41534352 
    41544353 
    4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    4156 $as_echo_n "checking for egrep... " >&6; } 
    4157 if test "${ac_cv_path_EGREP+set}" = set; then : 
    4158   $as_echo_n "(cached) " >&6 
     4354{ echo "$as_me:$LINENO: checking for egrep" >&5 
     4355echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
     4356if test "${ac_cv_path_EGREP+set}" = set; then 
     4357  echo $ECHO_N "(cached) $ECHO_C" >&6 
    41594358else 
    41604359  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    41614360   then ac_cv_path_EGREP="$GREP -E" 
    41624361   else 
    4163      if test -z "$EGREP"; then 
     4362     # Extract the first word of "egrep" to use in msg output 
     4363if test -z "$EGREP"; then 
     4364set dummy egrep; ac_prog_name=$2 
     4365if test "${ac_cv_path_EGREP+set}" = set; then 
     4366  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4367else 
    41644368  ac_path_EGREP_found=false 
    4165   # Loop through the user's path and test for each of PROGNAME-LIST 
    4166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4369# Loop through the user's path and test for each of PROGNAME-LIST 
     4370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    41674371for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    41684372do 
    41694373  IFS=$as_save_IFS 
    41704374  test -z "$as_dir" && as_dir=. 
    4171     for ac_prog in egrep; do 
    4172     for ac_exec_ext in '' $ac_executable_extensions; do 
    4173       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4174       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4175 # Check for GNU ac_path_EGREP and select it if it is found. 
     4375  for ac_prog in egrep; do 
     4376  for ac_exec_ext in '' $ac_executable_extensions; do 
     4377    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4378    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4379    # Check for GNU ac_path_EGREP and select it if it is found. 
    41764380  # Check for GNU $ac_path_EGREP 
    41774381case `"$ac_path_EGREP" --version 2>&1` in 
     
    41804384*) 
    41814385  ac_count=0 
    4182   $as_echo_n 0123456789 >"conftest.in" 
     4386  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
    41834387  while : 
    41844388  do 
     
    41864390    mv "conftest.tmp" "conftest.in" 
    41874391    cp "conftest.in" "conftest.nl" 
    4188     $as_echo 'EGREP' >> "conftest.nl" 
     4392    echo 'EGREP' >> "conftest.nl" 
    41894393    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    41904394    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4191     as_fn_arith $ac_count + 1 && ac_count=$as_val 
     4395    ac_count=`expr $ac_count + 1` 
    41924396    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    41934397      # Best one so far, save it but keep looking for a better one 
     
    42014405esac 
    42024406 
    4203       $ac_path_EGREP_found && break 3 
    4204     done 
     4407 
     4408    $ac_path_EGREP_found && break 3 
    42054409  done 
    4206   done 
     4410done 
     4411 
     4412done 
    42074413IFS=$as_save_IFS 
    4208   if test -z "$ac_cv_path_EGREP"; then 
    4209     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    4210   fi 
     4414 
     4415 
     4416fi 
     4417 
     4418EGREP="$ac_cv_path_EGREP" 
     4419if test -z "$EGREP"; then 
     4420  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
     4421echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
     4422   { (exit 1); exit 1; }; } 
     4423fi 
     4424 
    42114425else 
    42124426  ac_cv_path_EGREP=$EGREP 
    42134427fi 
    42144428 
     4429 
    42154430   fi 
    42164431fi 
    4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
    4218 $as_echo "$ac_cv_path_EGREP" >&6; } 
     4432{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
     4433echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
    42194434 EGREP="$ac_cv_path_EGREP" 
    42204435 
    42214436 
    4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    4223 $as_echo_n "checking for ANSI C header files... " >&6; } 
    4224 if test "${ac_cv_header_stdc+set}" = set; then : 
    4225   $as_echo_n "(cached) " >&6 
    4226 else 
    4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4437{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     4438echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
     4439if test "${ac_cv_header_stdc+set}" = set; then 
     4440  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4441else 
     4442  cat >conftest.$ac_ext <<_ACEOF 
     4443/* confdefs.h.  */ 
     4444_ACEOF 
     4445cat confdefs.h >>conftest.$ac_ext 
     4446cat >>conftest.$ac_ext <<_ACEOF 
    42284447/* end confdefs.h.  */ 
    42294448#include <stdlib.h> 
     
    42404459} 
    42414460_ACEOF 
    4242 if ac_fn_c_try_compile "$LINENO"; then : 
     4461rm -f conftest.$ac_objext 
     4462if { (ac_try="$ac_compile" 
     4463case "(($ac_try" in 
     4464  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4465  *) ac_try_echo=$ac_try;; 
     4466esac 
     4467eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4468  (eval "$ac_compile") 2>conftest.er1 
     4469  ac_status=$? 
     4470  grep -v '^ *+' conftest.er1 >conftest.err 
     4471  rm -f conftest.er1 
     4472  cat conftest.err >&5 
     4473  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4474  (exit $ac_status); } && { 
     4475         test -z "$ac_c_werror_flag" || 
     4476         test ! -s conftest.err 
     4477       } && test -s conftest.$ac_objext; then 
    42434478  ac_cv_header_stdc=yes 
    42444479else 
    4245   ac_cv_header_stdc=no 
    4246 fi 
     4480  echo "$as_me: failed program was:" >&5 
     4481sed 's/^/| /' conftest.$ac_ext >&5 
     4482 
     4483        ac_cv_header_stdc=no 
     4484fi 
     4485 
    42474486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    42484487 
    42494488if test $ac_cv_header_stdc = yes; then 
    42504489  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4490  cat >conftest.$ac_ext <<_ACEOF 
     4491/* confdefs.h.  */ 
     4492_ACEOF 
     4493cat confdefs.h >>conftest.$ac_ext 
     4494cat >>conftest.$ac_ext <<_ACEOF 
    42524495/* end confdefs.h.  */ 
    42534496#include <string.h> 
     
    42554498_ACEOF 
    42564499if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4257   $EGREP "memchr" >/dev/null 2>&1; then : 
    4258  
     4500  $EGREP "memchr" >/dev/null 2>&1; then 
     4501  : 
    42594502else 
    42604503  ac_cv_header_stdc=no 
    42614504fi 
    4262 rm -f conftest* 
     4505rm -f -r conftest* 
    42634506 
    42644507fi 
     
    42664509if test $ac_cv_header_stdc = yes; then 
    42674510  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4511  cat >conftest.$ac_ext <<_ACEOF 
     4512/* confdefs.h.  */ 
     4513_ACEOF 
     4514cat confdefs.h >>conftest.$ac_ext 
     4515cat >>conftest.$ac_ext <<_ACEOF 
    42694516/* end confdefs.h.  */ 
    42704517#include <stdlib.h> 
     
    42724519_ACEOF 
    42734520if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4274   $EGREP "free" >/dev/null 2>&1; then : 
    4275  
     4521  $EGREP "free" >/dev/null 2>&1; then 
     4522  : 
    42764523else 
    42774524  ac_cv_header_stdc=no 
    42784525fi 
    4279 rm -f conftest* 
     4526rm -f -r conftest* 
    42804527 
    42814528fi 
     
    42834530if test $ac_cv_header_stdc = yes; then 
    42844531  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4285   if test "$cross_compiling" = yes; then : 
     4532  if test "$cross_compiling" = yes; then 
    42864533  : 
    42874534else 
    4288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4535  cat >conftest.$ac_ext <<_ACEOF 
     4536/* confdefs.h.  */ 
     4537_ACEOF 
     4538cat confdefs.h >>conftest.$ac_ext 
     4539cat >>conftest.$ac_ext <<_ACEOF 
    42894540/* end confdefs.h.  */ 
    42904541#include <ctype.h> 
     
    43134564} 
    43144565_ACEOF 
    4315 if ac_fn_c_try_run "$LINENO"; then : 
    4316  
    4317 else 
    4318   ac_cv_header_stdc=no 
    4319 fi 
    4320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
    4321   conftest.$ac_objext conftest.beam conftest.$ac_ext 
    4322 fi 
    4323  
    4324 fi 
    4325 fi 
    4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
    4327 $as_echo "$ac_cv_header_stdc" >&6; } 
     4566rm -f conftest$ac_exeext 
     4567if { (ac_try="$ac_link" 
     4568case "(($ac_try" in 
     4569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4570  *) ac_try_echo=$ac_try;; 
     4571esac 
     4572eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4573  (eval "$ac_link") 2>&5 
     4574  ac_status=$? 
     4575  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4576  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4577  { (case "(($ac_try" in 
     4578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4579  *) ac_try_echo=$ac_try;; 
     4580esac 
     4581eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4582  (eval "$ac_try") 2>&5 
     4583  ac_status=$? 
     4584  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4585  (exit $ac_status); }; }; then 
     4586  : 
     4587else 
     4588  echo "$as_me: program exited with status $ac_status" >&5 
     4589echo "$as_me: failed program was:" >&5 
     4590sed 's/^/| /' conftest.$ac_ext >&5 
     4591 
     4592( exit $ac_status ) 
     4593ac_cv_header_stdc=no 
     4594fi 
     4595rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4596fi 
     4597 
     4598 
     4599fi 
     4600fi 
     4601{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     4602echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
    43284603if test $ac_cv_header_stdc = yes; then 
    43294604 
    4330 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 
     4605cat >>confdefs.h <<\_ACEOF 
     4606#define STDC_HEADERS 1 
     4607_ACEOF 
    43314608 
    43324609fi 
    43334610 
    43344611# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     4612 
     4613 
     4614 
     4615 
     4616 
     4617 
     4618 
     4619 
     4620 
    43354621for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    43364622                  inttypes.h stdint.h unistd.h 
    4337 do : 
    4338   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4339 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
    4340 " 
    4341 eval as_val=\$$as_ac_Header 
    4342    if test "x$as_val" = x""yes; then : 
     4623do 
     4624as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4625{ echo "$as_me:$LINENO: checking for $ac_header" >&5 
     4626echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
     4627if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
     4628  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4629else 
     4630  cat >conftest.$ac_ext <<_ACEOF 
     4631/* confdefs.h.  */ 
     4632_ACEOF 
     4633cat confdefs.h >>conftest.$ac_ext 
     4634cat >>conftest.$ac_ext <<_ACEOF 
     4635/* end confdefs.h.  */ 
     4636$ac_includes_default 
     4637 
     4638#include <$ac_header> 
     4639_ACEOF 
     4640rm -f conftest.$ac_objext 
     4641if { (ac_try="$ac_compile" 
     4642case "(($ac_try" in 
     4643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4644  *) ac_try_echo=$ac_try;; 
     4645esac 
     4646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4647  (eval "$ac_compile") 2>conftest.er1 
     4648  ac_status=$? 
     4649  grep -v '^ *+' conftest.er1 >conftest.err 
     4650  rm -f conftest.er1 
     4651  cat conftest.err >&5 
     4652  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4653  (exit $ac_status); } && { 
     4654         test -z "$ac_c_werror_flag" || 
     4655         test ! -s conftest.err 
     4656       } && test -s conftest.$ac_objext; then 
     4657  eval "$as_ac_Header=yes" 
     4658else 
     4659  echo "$as_me: failed program was:" >&5 
     4660sed 's/^/| /' conftest.$ac_ext >&5 
     4661 
     4662        eval "$as_ac_Header=no" 
     4663fi 
     4664 
     4665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4666fi 
     4667ac_res=`eval echo '${'$as_ac_Header'}'` 
     4668               { echo "$as_me:$LINENO: result: $ac_res" >&5 
     4669echo "${ECHO_T}$ac_res" >&6; } 
     4670if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    43434671  cat >>confdefs.h <<_ACEOF 
    4344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4672#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    43454673_ACEOF 
    43464674 
     
    43504678 
    43514679 
    4352  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    4353 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    4354 if test "${ac_cv_c_bigendian+set}" = set; then : 
    4355   $as_echo_n "(cached) " >&6 
    4356 else 
    4357   ac_cv_c_bigendian=unknown 
    4358     # See if we're dealing with a universal compiler. 
    4359     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4360 /* end confdefs.h.  */ 
    4361 #ifndef __APPLE_CC__ 
    4362                not a universal capable compiler 
    4363              #endif 
    4364              typedef int dummy; 
    4365  
    4366 _ACEOF 
    4367 if ac_fn_c_try_compile "$LINENO"; then : 
    4368  
    4369         # Check for potential -arch flags.  It is not universal unless 
    4370         # there are at least two -arch flags with different values. 
    4371         ac_arch= 
    4372         ac_prev= 
    4373         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
    4374          if test -n "$ac_prev"; then 
    4375            case $ac_word in 
    4376              i?86 | x86_64 | ppc | ppc64) 
    4377                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
    4378                  ac_arch=$ac_word 
    4379                else 
    4380                  ac_cv_c_bigendian=universal 
    4381                  break 
    4382                fi 
    4383                ;; 
    4384            esac 
    4385            ac_prev= 
    4386          elif test "x$ac_word" = "x-arch"; then 
    4387            ac_prev=arch 
    4388          fi 
    4389        done 
    4390 fi 
    4391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4392     if test $ac_cv_c_bigendian = unknown; then 
    4393       # See if sys/param.h defines the BYTE_ORDER macro. 
    4394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4680{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
     4681echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
     4682if test "${ac_cv_c_bigendian+set}" = set; then 
     4683  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4684else 
     4685  # See if sys/param.h defines the BYTE_ORDER macro. 
     4686cat >conftest.$ac_ext <<_ACEOF 
     4687/* confdefs.h.  */ 
     4688_ACEOF 
     4689cat confdefs.h >>conftest.$ac_ext 
     4690cat >>conftest.$ac_ext <<_ACEOF 
    43954691/* end confdefs.h.  */ 
    43964692#include <sys/types.h> 
    4397              #include <sys/param.h> 
     4693#include <sys/param.h> 
    43984694 
    43994695int 
    44004696main () 
    44014697{ 
    4402 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
    4403                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
    4404                      && LITTLE_ENDIAN) 
    4405               bogus endian macros 
    4406              #endif 
     4698#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
     4699        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
     4700 bogus endian macros 
     4701#endif 
    44074702 
    44084703  ; 
     
    44104705} 
    44114706_ACEOF 
    4412 if ac_fn_c_try_compile "$LINENO"; then : 
     4707rm -f conftest.$ac_objext 
     4708if { (ac_try="$ac_compile" 
     4709case "(($ac_try" in 
     4710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4711  *) ac_try_echo=$ac_try;; 
     4712esac 
     4713eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4714  (eval "$ac_compile") 2>conftest.er1 
     4715  ac_status=$? 
     4716  grep -v '^ *+' conftest.er1 >conftest.err 
     4717  rm -f conftest.er1 
     4718  cat conftest.err >&5 
     4719  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4720  (exit $ac_status); } && { 
     4721         test -z "$ac_c_werror_flag" || 
     4722         test ! -s conftest.err 
     4723       } && test -s conftest.$ac_objext; then 
    44134724  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4414          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4725cat >conftest.$ac_ext <<_ACEOF 
     4726/* confdefs.h.  */ 
     4727_ACEOF 
     4728cat confdefs.h >>conftest.$ac_ext 
     4729cat >>conftest.$ac_ext <<_ACEOF 
    44154730/* end confdefs.h.  */ 
    44164731#include <sys/types.h> 
    4417                 #include <sys/param.h> 
     4732#include <sys/param.h> 
    44184733 
    44194734int 
     
    44214736{ 
    44224737#if BYTE_ORDER != BIG_ENDIAN 
    4423                 not big endian 
    4424                 #endif 
     4738 not big endian 
     4739#endif 
    44254740 
    44264741  ; 
     
    44284743} 
    44294744_ACEOF 
    4430 if ac_fn_c_try_compile "$LINENO"; then : 
     4745rm -f conftest.$ac_objext 
     4746if { (ac_try="$ac_compile" 
     4747case "(($ac_try" in 
     4748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4749  *) ac_try_echo=$ac_try;; 
     4750esac 
     4751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4752  (eval "$ac_compile") 2>conftest.er1 
     4753  ac_status=$? 
     4754  grep -v '^ *+' conftest.er1 >conftest.err 
     4755  rm -f conftest.er1 
     4756  cat conftest.err >&5 
     4757  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4758  (exit $ac_status); } && { 
     4759         test -z "$ac_c_werror_flag" || 
     4760         test ! -s conftest.err 
     4761       } && test -s conftest.$ac_objext; then 
    44314762  ac_cv_c_bigendian=yes 
    44324763else 
    4433   ac_cv_c_bigendian=no 
    4434 fi 
     4764  echo "$as_me: failed program was:" >&5 
     4765sed 's/^/| /' conftest.$ac_ext >&5 
     4766 
     4767        ac_cv_c_bigendian=no 
     4768fi 
     4769 
    44354770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4436 fi 
    4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4438     fi 
    4439     if test $ac_cv_c_bigendian = unknown; then 
    4440       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
    4441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4771else 
     4772  echo "$as_me: failed program was:" >&5 
     4773sed 's/^/| /' conftest.$ac_ext >&5 
     4774 
     4775        # It does not; compile a test program. 
     4776if test "$cross_compiling" = yes; then 
     4777  # try to guess the endianness by grepping values into an object file 
     4778  ac_cv_c_bigendian=unknown 
     4779  cat >conftest.$ac_ext <<_ACEOF 
     4780/* confdefs.h.  */ 
     4781_ACEOF 
     4782cat confdefs.h >>conftest.$ac_ext 
     4783cat >>conftest.$ac_ext <<_ACEOF 
    44424784/* end confdefs.h.  */ 
    4443 #include <limits.h> 
    4444  
     4785short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4786short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4787void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
     4788short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4789short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4790void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
    44454791int 
    44464792main () 
    44474793{ 
    4448 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
    4449               bogus endian macros 
    4450              #endif 
    4451  
     4794 _ascii (); _ebcdic (); 
    44524795  ; 
    44534796  return 0; 
    44544797} 
    44554798_ACEOF 
    4456 if ac_fn_c_try_compile "$LINENO"; then : 
    4457   # It does; now see whether it defined to _BIG_ENDIAN or not. 
    4458          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4459 /* end confdefs.h.  */ 
    4460 #include <limits.h> 
    4461  
    4462 int 
    4463 main () 
    4464 { 
    4465 #ifndef _BIG_ENDIAN 
    4466                  not big endian 
    4467                 #endif 
    4468  
    4469   ; 
    4470   return 0; 
    4471 } 
    4472 _ACEOF 
    4473 if ac_fn_c_try_compile "$LINENO"; then : 
     4799rm -f conftest.$ac_objext 
     4800if { (ac_try="$ac_compile" 
     4801case "(($ac_try" in 
     4802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4803  *) ac_try_echo=$ac_try;; 
     4804esac 
     4805eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4806  (eval "$ac_compile") 2>conftest.er1 
     4807  ac_status=$? 
     4808  grep -v '^ *+' conftest.er1 >conftest.err 
     4809  rm -f conftest.er1 
     4810  cat conftest.err >&5 
     4811  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4812  (exit $ac_status); } && { 
     4813         test -z "$ac_c_werror_flag" || 
     4814         test ! -s conftest.err 
     4815       } && test -s conftest.$ac_objext; then 
     4816  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
    44744817  ac_cv_c_bigendian=yes 
    4475 else 
    4476   ac_cv_c_bigendian=no 
    4477 fi 
     4818fi 
     4819if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4820  if test "$ac_cv_c_bigendian" = unknown; then 
     4821    ac_cv_c_bigendian=no 
     4822  else 
     4823    # finding both strings is unlikely to happen, but who knows? 
     4824    ac_cv_c_bigendian=unknown 
     4825  fi 
     4826fi 
     4827else 
     4828  echo "$as_me: failed program was:" >&5 
     4829sed 's/^/| /' conftest.$ac_ext >&5 
     4830 
     4831 
     4832fi 
     4833 
    44784834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4479 fi 
    4480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4481     fi 
    4482     if test $ac_cv_c_bigendian = unknown; then 
    4483       # Compile a test program. 
    4484       if test "$cross_compiling" = yes; then : 
    4485   # Try to guess by grepping values from an object file. 
    4486          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4487 /* end confdefs.h.  */ 
    4488 short int ascii_mm[] = 
    4489                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4490                 short int ascii_ii[] = 
    4491                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4492                 int use_ascii (int i) { 
    4493                   return ascii_mm[i] + ascii_ii[i]; 
    4494                 } 
    4495                 short int ebcdic_ii[] = 
    4496                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4497                 short int ebcdic_mm[] = 
    4498                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4499                 int use_ebcdic (int i) { 
    4500                   return ebcdic_mm[i] + ebcdic_ii[i]; 
    4501                 } 
    4502                 extern int foo; 
    4503  
    4504 int 
    4505 main () 
    4506 { 
    4507 return use_ascii (foo) == use_ebcdic (foo); 
    4508   ; 
    4509   return 0; 
    4510 } 
    4511 _ACEOF 
    4512 if ac_fn_c_try_compile "$LINENO"; then : 
    4513   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
    4514               ac_cv_c_bigendian=yes 
    4515             fi 
    4516             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4517               if test "$ac_cv_c_bigendian" = unknown; then 
    4518                 ac_cv_c_bigendian=no 
    4519               else 
    4520                 # finding both strings is unlikely to happen, but who knows? 
    4521                 ac_cv_c_bigendian=unknown 
    4522               fi 
    4523             fi 
    4524 fi 
    4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4526 else 
    4527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4835else 
     4836  cat >conftest.$ac_ext <<_ACEOF 
     4837/* confdefs.h.  */ 
     4838_ACEOF 
     4839cat confdefs.h >>conftest.$ac_ext 
     4840cat >>conftest.$ac_ext <<_ACEOF 
    45284841/* end confdefs.h.  */ 
    45294842$ac_includes_default 
     
    45324845{ 
    45334846 
    4534              /* Are we little or big endian?  From Harbison&Steele.  */ 
    4535              union 
    4536              { 
    4537                long int l; 
    4538                char c[sizeof (long int)]; 
    4539              } u; 
    4540              u.l = 1; 
    4541              return u.c[sizeof (long int) - 1] == 1; 
     4847  /* Are we little or big endian?  From Harbison&Steele.  */ 
     4848  union 
     4849  { 
     4850    long int l; 
     4851    char c[sizeof (long int)]; 
     4852  } u; 
     4853  u.l = 1; 
     4854  return u.c[sizeof (long int) - 1] == 1; 
    45424855 
    45434856  ; 
     
    45454858} 
    45464859_ACEOF 
    4547 if ac_fn_c_try_run "$LINENO"; then : 
     4860rm -f conftest$ac_exeext 
     4861if { (ac_try="$ac_link" 
     4862case "(($ac_try" in 
     4863  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4864  *) ac_try_echo=$ac_try;; 
     4865esac 
     4866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4867  (eval "$ac_link") 2>&5 
     4868  ac_status=$? 
     4869  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4870  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4871  { (case "(($ac_try" in 
     4872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4873  *) ac_try_echo=$ac_try;; 
     4874esac 
     4875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4876  (eval "$ac_try") 2>&5 
     4877  ac_status=$? 
     4878  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4879  (exit $ac_status); }; }; then 
    45484880  ac_cv_c_bigendian=no 
    45494881else 
    4550   ac_cv_c_bigendian=yes 
    4551 fi 
    4552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
    4553   conftest.$ac_objext conftest.beam conftest.$ac_ext 
    4554 fi 
    4555  
    4556     fi 
    4557 fi 
    4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
    4559 $as_echo "$ac_cv_c_bigendian" >&6; } 
    4560  case $ac_cv_c_bigendian in #( 
    4561    yes) 
    4562      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
    4563 ;; #( 
    4564    no) 
    4565       ;; #( 
    4566    universal) 
    4567  
    4568 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
    4569  
    4570      ;; #( 
    4571    *) 
    4572      as_fn_error "unknown endianness 
    4573  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    4574  esac 
     4882  echo "$as_me: program exited with status $ac_status" >&5 
     4883echo "$as_me: failed program was:" >&5 
     4884sed 's/^/| /' conftest.$ac_ext >&5 
     4885 
     4886( exit $ac_status ) 
     4887ac_cv_c_bigendian=yes 
     4888fi 
     4889rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4890fi 
     4891 
     4892 
     4893fi 
     4894 
     4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4896fi 
     4897{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
     4898echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
     4899case $ac_cv_c_bigendian in 
     4900  yes) 
     4901 
     4902cat >>confdefs.h <<\_ACEOF 
     4903#define WORDS_BIGENDIAN 1 
     4904_ACEOF 
     4905 ;; 
     4906  no) 
     4907     ;; 
     4908  *) 
     4909    { { echo "$as_me:$LINENO: error: unknown endianness 
     4910presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
     4911echo "$as_me: error: unknown endianness 
     4912presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
     4913   { (exit 1); exit 1; }; } ;; 
     4914esac 
    45754915 
    45764916 
    45774917case $target in 
    45784918    *mingw* | *cygw* | *win32* | *w32* ) 
    4579         $as_echo "#define PJ_WIN32 1" >>confdefs.h 
    4580  
    4581         $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
    4582  
    4583         $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
     4919        cat >>confdefs.h <<\_ACEOF 
     4920#define PJ_WIN32 1 
     4921_ACEOF 
     4922 
     4923        cat >>confdefs.h <<\_ACEOF 
     4924#define PJ_WIN32_WINNT 0x0400 
     4925_ACEOF 
     4926 
     4927        cat >>confdefs.h <<\_ACEOF 
     4928#define WIN32_LEAN_AND_MEAN 1 
     4929_ACEOF 
    45844930 
    45854931        ;; 
    45864932    *darwin*) 
    4587         $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
     4933        cat >>confdefs.h <<\_ACEOF 
     4934#define PJ_DARWINOS 1 
     4935_ACEOF 
    45884936 
    45894937        ;; 
    45904938    *linux*) 
    4591         $as_echo "#define PJ_LINUX 1" >>confdefs.h 
     4939        cat >>confdefs.h <<\_ACEOF 
     4940#define PJ_LINUX 1 
     4941_ACEOF 
    45924942 
    45934943        ;; 
    45944944    *rtems*) 
    4595         $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
     4945        cat >>confdefs.h <<\_ACEOF 
     4946#define PJ_RTEMS 1 
     4947_ACEOF 
    45964948 
    45974949        ;; 
    45984950    *sunos* | *solaris* ) 
    4599         $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
     4951        cat >>confdefs.h <<\_ACEOF 
     4952#define PJ_SUNOS 1 
     4953_ACEOF 
    46004954 
    46014955        ;; 
     
    46084962 
    46094963# Check whether --enable-floating-point was given. 
    4610 if test "${enable_floating_point+set}" = set; then : 
     4964if test "${enable_floating_point+set}" = set; then 
    46114965  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4612                 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
    4613  
    4614                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
    4615 $as_echo "Checking if floating point is disabled... yes" >&6; } 
     4966                cat >>confdefs.h <<\_ACEOF 
     4967#define PJ_HAS_FLOATING_POINT 0 
     4968_ACEOF 
     4969 
     4970                { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
     4971echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
    46164972               fi 
    46174973else 
    46184974 
    4619                 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
    4620  
    4621                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
    4622 $as_echo "Checking if floating point is disabled... no" >&6; } 
    4623                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
    4624 $as_echo_n "checking for fmod in -lm... " >&6; } 
    4625 if test "${ac_cv_lib_m_fmod+set}" = set; then : 
    4626   $as_echo_n "(cached) " >&6 
     4975                cat >>confdefs.h <<\_ACEOF 
     4976#define PJ_HAS_FLOATING_POINT 1 
     4977_ACEOF 
     4978 
     4979                { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
     4980echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
     4981 
     4982{ echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
     4983echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
     4984if test "${ac_cv_lib_m_fmod+set}" = set; then 
     4985  echo $ECHO_N "(cached) $ECHO_C" >&6 
    46274986else 
    46284987  ac_check_lib_save_LIBS=$LIBS 
    46294988LIBS="-lm  $LIBS" 
    4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4989cat >conftest.$ac_ext <<_ACEOF 
     4990/* confdefs.h.  */ 
     4991_ACEOF 
     4992cat confdefs.h >>conftest.$ac_ext 
     4993cat >>conftest.$ac_ext <<_ACEOF 
    46314994/* end confdefs.h.  */ 
    46324995 
     
    46465009} 
    46475010_ACEOF 
    4648 if ac_fn_c_try_link "$LINENO"; then : 
     5011rm -f conftest.$ac_objext conftest$ac_exeext 
     5012if { (ac_try="$ac_link" 
     5013case "(($ac_try" in 
     5014  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5015  *) ac_try_echo=$ac_try;; 
     5016esac 
     5017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5018  (eval "$ac_link") 2>conftest.er1 
     5019  ac_status=$? 
     5020  grep -v '^ *+' conftest.er1 >conftest.err 
     5021  rm -f conftest.er1 
     5022  cat conftest.err >&5 
     5023  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5024  (exit $ac_status); } && { 
     5025         test -z "$ac_c_werror_flag" || 
     5026         test ! -s conftest.err 
     5027       } && test -s conftest$ac_exeext && 
     5028       $as_test_x conftest$ac_exeext; then 
    46495029  ac_cv_lib_m_fmod=yes 
    46505030else 
    4651   ac_cv_lib_m_fmod=no 
    4652 fi 
    4653 rm -f core conftest.err conftest.$ac_objext \ 
    4654     conftest$ac_exeext conftest.$ac_ext 
     5031  echo "$as_me: failed program was:" >&5 
     5032sed 's/^/| /' conftest.$ac_ext >&5 
     5033 
     5034        ac_cv_lib_m_fmod=no 
     5035fi 
     5036 
     5037rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     5038      conftest$ac_exeext conftest.$ac_ext 
    46555039LIBS=$ac_check_lib_save_LIBS 
    46565040fi 
    4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
    4658 $as_echo "$ac_cv_lib_m_fmod" >&6; } 
    4659 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
     5041{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
     5042echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
     5043if test $ac_cv_lib_m_fmod = yes; then 
    46605044  cat >>confdefs.h <<_ACEOF 
    46615045#define HAVE_LIBM 1 
     
    46715055 
    46725056 
    4673 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
    4674 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
    4675   $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
    4676  
    4677 fi 
    4678  
    4679  
    4680 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
    4681 if test "x$ac_cv_header_assert_h" = x""yes; then : 
    4682   $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
    4683  
    4684 fi 
    4685  
    4686  
    4687 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
    4688 if test "x$ac_cv_header_ctype_h" = x""yes; then : 
    4689   $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
     5057if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5058  { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     5059echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
     5060if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5061  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5062fi 
     5063{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     5064echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
     5065else 
     5066  # Is the header compilable? 
     5067{ echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
     5068echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
     5069cat >conftest.$ac_ext <<_ACEOF 
     5070/* confdefs.h.  */ 
     5071_ACEOF 
     5072cat confdefs.h >>conftest.$ac_ext 
     5073cat >>conftest.$ac_ext <<_ACEOF 
     5074/* end confdefs.h.  */ 
     5075$ac_includes_default 
     5076#include <arpa/inet.h> 
     5077_ACEOF 
     5078rm -f conftest.$ac_objext 
     5079if { (ac_try="$ac_compile" 
     5080case "(($ac_try" in 
     5081  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5082  *) ac_try_echo=$ac_try;; 
     5083esac 
     5084eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5085  (eval "$ac_compile") 2>conftest.er1 
     5086  ac_status=$? 
     5087  grep -v '^ *+' conftest.er1 >conftest.err 
     5088  rm -f conftest.er1 
     5089  cat conftest.err >&5 
     5090  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5091  (exit $ac_status); } && { 
     5092         test -z "$ac_c_werror_flag" || 
     5093         test ! -s conftest.err 
     5094       } && test -s conftest.$ac_objext; then 
     5095  ac_header_compiler=yes 
     5096else 
     5097  echo "$as_me: failed program was:" >&5 
     5098sed 's/^/| /' conftest.$ac_ext >&5 
     5099 
     5100        ac_header_compiler=no 
     5101fi 
     5102 
     5103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5104{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5105echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5106 
     5107# Is the header present? 
     5108{ echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
     5109echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
     5110cat >conftest.$ac_ext <<_ACEOF 
     5111/* confdefs.h.  */ 
     5112_ACEOF 
     5113cat confdefs.h >>conftest.$ac_ext 
     5114cat >>conftest.$ac_ext <<_ACEOF 
     5115/* end confdefs.h.  */ 
     5116#include <arpa/inet.h> 
     5117_ACEOF 
     5118if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5119case "(($ac_try" in 
     5120  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5121  *) ac_try_echo=$ac_try;; 
     5122esac 
     5123eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5124  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5125  ac_status=$? 
     5126  grep -v '^ *+' conftest.er1 >conftest.err 
     5127  rm -f conftest.er1 
     5128  cat conftest.err >&5 
     5129  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5130  (exit $ac_status); } >/dev/null && { 
     5131         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5132         test ! -s conftest.err 
     5133       }; then 
     5134  ac_header_preproc=yes 
     5135else 
     5136  echo "$as_me: failed program was:" >&5 
     5137sed 's/^/| /' conftest.$ac_ext >&5 
     5138 
     5139  ac_header_preproc=no 
     5140fi 
     5141 
     5142rm -f conftest.err conftest.$ac_ext 
     5143{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5144echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5145 
     5146# So?  What about this header? 
     5147case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5148  yes:no: ) 
     5149    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5150echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5151    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
     5152echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
     5153    ac_header_preproc=yes 
     5154    ;; 
     5155  no:yes:* ) 
     5156    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
     5157echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
     5158    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
     5159echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
     5160    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
     5161echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
     5162    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5163echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5164    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
     5165echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
     5166    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
     5167echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
     5168 
     5169    ;; 
     5170esac 
     5171{ echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     5172echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
     5173if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5174  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5175else 
     5176  ac_cv_header_arpa_inet_h=$ac_header_preproc 
     5177fi 
     5178{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     5179echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
     5180 
     5181fi 
     5182if test $ac_cv_header_arpa_inet_h = yes; then 
     5183  cat >>confdefs.h <<\_ACEOF 
     5184#define PJ_HAS_ARPA_INET_H 1 
     5185_ACEOF 
     5186 
     5187fi 
     5188 
     5189 
     5190if test "${ac_cv_header_assert_h+set}" = set; then 
     5191  { echo "$as_me:$LINENO: checking for assert.h" >&5 
     5192echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
     5193if test "${ac_cv_header_assert_h+set}" = set; then 
     5194  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5195fi 
     5196{ echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     5197echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
     5198else 
     5199  # Is the header compilable? 
     5200{ echo "$as_me:$LINENO: checking assert.h usability" >&5 
     5201echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
     5202cat >conftest.$ac_ext <<_ACEOF 
     5203/* confdefs.h.  */ 
     5204_ACEOF 
     5205cat confdefs.h >>conftest.$ac_ext 
     5206cat >>conftest.$ac_ext <<_ACEOF 
     5207/* end confdefs.h.  */ 
     5208$ac_includes_default 
     5209#include <assert.h> 
     5210_ACEOF 
     5211rm -f conftest.$ac_objext 
     5212if { (ac_try="$ac_compile" 
     5213case "(($ac_try" in 
     5214  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5215  *) ac_try_echo=$ac_try;; 
     5216esac 
     5217eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5218  (eval "$ac_compile") 2>conftest.er1 
     5219  ac_status=$? 
     5220  grep -v '^ *+' conftest.er1 >conftest.err 
     5221  rm -f conftest.er1 
     5222  cat conftest.err >&5 
     5223  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5224  (exit $ac_status); } && { 
     5225         test -z "$ac_c_werror_flag" || 
     5226         test ! -s conftest.err 
     5227       } && test -s conftest.$ac_objext; then 
     5228  ac_header_compiler=yes 
     5229else 
     5230  echo "$as_me: failed program was:" >&5 
     5231sed 's/^/| /' conftest.$ac_ext >&5 
     5232 
     5233        ac_header_compiler=no 
     5234fi 
     5235 
     5236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5237{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5238echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5239 
     5240# Is the header present? 
     5241{ echo "$as_me:$LINENO: checking assert.h presence" >&5 
     5242echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
     5243cat >conftest.$ac_ext <<_ACEOF 
     5244/* confdefs.h.  */ 
     5245_ACEOF 
     5246cat confdefs.h >>conftest.$ac_ext 
     5247cat >>conftest.$ac_ext <<_ACEOF 
     5248/* end confdefs.h.  */ 
     5249#include <assert.h> 
     5250_ACEOF 
     5251if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5252case "(($ac_try" in 
     5253  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5254  *) ac_try_echo=$ac_try;; 
     5255esac 
     5256eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5257  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5258  ac_status=$? 
     5259  grep -v '^ *+' conftest.er1 >conftest.err 
     5260  rm -f conftest.er1 
     5261  cat conftest.err >&5 
     5262  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5263  (exit $ac_status); } >/dev/null && { 
     5264         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5265         test ! -s conftest.err 
     5266       }; then 
     5267  ac_header_preproc=yes 
     5268else 
     5269  echo "$as_me: failed program was:" >&5 
     5270sed 's/^/| /' conftest.$ac_ext >&5 
     5271 
     5272  ac_header_preproc=no 
     5273fi 
     5274 
     5275rm -f conftest.err conftest.$ac_ext 
     5276{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5277echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5278 
     5279# So?  What about this header? 
     5280case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5281  yes:no: ) 
     5282    { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5283echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5284    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
     5285echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
     5286    ac_header_preproc=yes 
     5287    ;; 
     5288  no:yes:* ) 
     5289    { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
     5290echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
     5291    { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
     5292echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
     5293    { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
     5294echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
     5295    { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5296echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5297    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
     5298echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
     5299    { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
     5300echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
     5301 
     5302    ;; 
     5303esac 
     5304{ echo "$as_me:$LINENO: checking for assert.h" >&5 
     5305echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
     5306if test "${ac_cv_header_assert_h+set}" = set; then 
     5307  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5308else 
     5309  ac_cv_header_assert_h=$ac_header_preproc 
     5310fi 
     5311{ echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     5312echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
     5313 
     5314fi 
     5315if test $ac_cv_header_assert_h = yes; then 
     5316  cat >>confdefs.h <<\_ACEOF 
     5317#define PJ_HAS_ASSERT_H 1 
     5318_ACEOF 
     5319 
     5320fi 
     5321 
     5322 
     5323if test "${ac_cv_header_ctype_h+set}" = set; then 
     5324  { echo "$as_me:$LINENO: checking for ctype.h" >&5 
     5325echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
     5326if test "${ac_cv_header_ctype_h+set}" = set; then 
     5327  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5328fi 
     5329{ echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     5330echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
     5331else 
     5332  # Is the header compilable? 
     5333{ echo "$as_me:$LINENO: checking ctype.h usability" >&5 
     5334echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
     5335cat >conftest.$ac_ext <<_ACEOF 
     5336/* confdefs.h.  */ 
     5337_ACEOF 
     5338cat confdefs.h >>conftest.$ac_ext 
     5339cat >>conftest.$ac_ext <<_ACEOF 
     5340/* end confdefs.h.  */ 
     5341$ac_includes_default 
     5342#include <ctype.h> 
     5343_ACEOF 
     5344rm -f conftest.$ac_objext 
     5345if { (ac_try="$ac_compile" 
     5346case "(($ac_try" in 
     5347  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5348  *) ac_try_echo=$ac_try;; 
     5349esac 
     5350eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5351  (eval "$ac_compile") 2>conftest.er1 
     5352  ac_status=$? 
     5353  grep -v '^ *+' conftest.er1 >conftest.err 
     5354  rm -f conftest.er1 
     5355  cat conftest.err >&5 
     5356  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5357  (exit $ac_status); } && { 
     5358         test -z "$ac_c_werror_flag" || 
     5359         test ! -s conftest.err 
     5360       } && test -s conftest.$ac_objext; then 
     5361  ac_header_compiler=yes 
     5362else 
     5363  echo "$as_me: failed program was:" >&5 
     5364sed 's/^/| /' conftest.$ac_ext >&5 
     5365 
     5366        ac_header_compiler=no 
     5367fi 
     5368 
     5369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5370{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5371echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5372 
     5373# Is the header present? 
     5374{ echo "$as_me:$LINENO: checking ctype.h presence" >&5 
     5375echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
     5376cat >conftest.$ac_ext <<_ACEOF 
     5377/* confdefs.h.  */ 
     5378_ACEOF 
     5379cat confdefs.h >>conftest.$ac_ext 
     5380cat >>conftest.$ac_ext <<_ACEOF 
     5381/* end confdefs.h.  */ 
     5382#include <ctype.h> 
     5383_ACEOF 
     5384if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5385case "(($ac_try" in 
     5386  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5387  *) ac_try_echo=$ac_try;; 
     5388esac 
     5389eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5390  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5391  ac_status=$? 
     5392  grep -v '^ *+' conftest.er1 >conftest.err 
     5393  rm -f conftest.er1 
     5394  cat conftest.err >&5 
     5395  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5396  (exit $ac_status); } >/dev/null && { 
     5397         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5398         test ! -s conftest.err 
     5399       }; then 
     5400  ac_header_preproc=yes 
     5401else 
     5402  echo "$as_me: failed program was:" >&5 
     5403sed 's/^/| /' conftest.$ac_ext >&5 
     5404 
     5405  ac_header_preproc=no 
     5406fi 
     5407 
     5408rm -f conftest.err conftest.$ac_ext 
     5409{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5410echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5411 
     5412# So?  What about this header? 
     5413case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5414  yes:no: ) 
     5415    { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5416echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5417    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
     5418echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
     5419    ac_header_preproc=yes 
     5420    ;; 
     5421  no:yes:* ) 
     5422    { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
     5423echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
     5424    { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
     5425echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
     5426    { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
     5427echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
     5428    { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5429echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5430    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
     5431echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
     5432    { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
     5433echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
     5434 
     5435    ;; 
     5436esac 
     5437{ echo "$as_me:$LINENO: checking for ctype.h" >&5 
     5438echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
     5439if test "${ac_cv_header_ctype_h+set}" = set; then 
     5440  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5441else 
     5442  ac_cv_header_ctype_h=$ac_header_preproc 
     5443fi 
     5444{ echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     5445echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
     5446 
     5447fi 
     5448if test $ac_cv_header_ctype_h = yes; then 
     5449  cat >>confdefs.h <<\_ACEOF 
     5450#define PJ_HAS_CTYPE_H 1 
     5451_ACEOF 
    46905452 
    46915453fi 
     
    46955457case $target in 
    46965458    *mingw* | *cygw* | *win32* | *w32* ) 
    4697         $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
     5459        cat >>confdefs.h <<\_ACEOF 
     5460#define PJ_HAS_ERRNO_H 0 
     5461_ACEOF 
    46985462 
    46995463        ;; 
    47005464    *) 
    4701         ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
    4702 if test "x$ac_cv_header_errno_h" = x""yes; then : 
    4703   $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
     5465        if test "${ac_cv_header_errno_h+set}" = set; then 
     5466  { echo "$as_me:$LINENO: checking for errno.h" >&5 
     5467echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
     5468if test "${ac_cv_header_errno_h+set}" = set; then 
     5469  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5470fi 
     5471{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     5472echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
     5473else 
     5474  # Is the header compilable? 
     5475{ echo "$as_me:$LINENO: checking errno.h usability" >&5 
     5476echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
     5477cat >conftest.$ac_ext <<_ACEOF 
     5478/* confdefs.h.  */ 
     5479_ACEOF 
     5480cat confdefs.h >>conftest.$ac_ext 
     5481cat >>conftest.$ac_ext <<_ACEOF 
     5482/* end confdefs.h.  */ 
     5483$ac_includes_default 
     5484#include <errno.h> 
     5485_ACEOF 
     5486rm -f conftest.$ac_objext 
     5487if { (ac_try="$ac_compile" 
     5488case "(($ac_try" in 
     5489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5490  *) ac_try_echo=$ac_try;; 
     5491esac 
     5492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5493  (eval "$ac_compile") 2>conftest.er1 
     5494  ac_status=$? 
     5495  grep -v '^ *+' conftest.er1 >conftest.err 
     5496  rm -f conftest.er1 
     5497  cat conftest.err >&5 
     5498  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5499  (exit $ac_status); } && { 
     5500         test -z "$ac_c_werror_flag" || 
     5501         test ! -s conftest.err 
     5502       } && test -s conftest.$ac_objext; then 
     5503  ac_header_compiler=yes 
     5504else 
     5505  echo "$as_me: failed program was:" >&5 
     5506sed 's/^/| /' conftest.$ac_ext >&5 
     5507 
     5508        ac_header_compiler=no 
     5509fi 
     5510 
     5511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5512{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5513echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5514 
     5515# Is the header present? 
     5516{ echo "$as_me:$LINENO: checking errno.h presence" >&5 
     5517echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
     5518cat >conftest.$ac_ext <<_ACEOF 
     5519/* confdefs.h.  */ 
     5520_ACEOF 
     5521cat confdefs.h >>conftest.$ac_ext 
     5522cat >>conftest.$ac_ext <<_ACEOF 
     5523/* end confdefs.h.  */ 
     5524#include <errno.h> 
     5525_ACEOF 
     5526if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5527case "(($ac_try" in 
     5528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5529  *) ac_try_echo=$ac_try;; 
     5530esac 
     5531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5532  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5533  ac_status=$? 
     5534  grep -v '^ *+' conftest.er1 >conftest.err 
     5535  rm -f conftest.er1 
     5536  cat conftest.err >&5 
     5537  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5538  (exit $ac_status); } >/dev/null && { 
     5539         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5540         test ! -s conftest.err 
     5541       }; then 
     5542  ac_header_preproc=yes 
     5543else 
     5544  echo "$as_me: failed program was:" >&5 
     5545sed 's/^/| /' conftest.$ac_ext >&5 
     5546 
     5547  ac_header_preproc=no 
     5548fi 
     5549 
     5550rm -f conftest.err conftest.$ac_ext 
     5551{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5552echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5553 
     5554# So?  What about this header? 
     5555case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5556  yes:no: ) 
     5557    { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5558echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5559    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
     5560echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
     5561    ac_header_preproc=yes 
     5562    ;; 
     5563  no:yes:* ) 
     5564    { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
     5565echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
     5566    { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
     5567echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
     5568    { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
     5569echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
     5570    { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5571echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5572    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
     5573echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
     5574    { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
     5575echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
     5576 
     5577    ;; 
     5578esac 
     5579{ echo "$as_me:$LINENO: checking for errno.h" >&5 
     5580echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
     5581if test "${ac_cv_header_errno_h+set}" = set; then 
     5582  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5583else 
     5584  ac_cv_header_errno_h=$ac_header_preproc 
     5585fi 
     5586{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     5587echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
     5588 
     5589fi 
     5590if test $ac_cv_header_errno_h = yes; then 
     5591  cat >>confdefs.h <<\_ACEOF 
     5592#define PJ_HAS_ERRNO_H 1 
     5593_ACEOF 
    47045594 
    47055595fi 
     
    47095599esac 
    47105600 
    4711 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
    4712 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
    4713   $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
    4714  
    4715 fi 
    4716  
    4717  
    4718 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
    4719 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
    4720   $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
    4721  
    4722 fi 
    4723  
    4724  
    4725 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
    4726 if test "x$ac_cv_header_malloc_h" = x""yes; then : 
    4727   $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
    4728  
    4729 fi 
    4730  
    4731  
    4732 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
    4733 if test "x$ac_cv_header_netdb_h" = x""yes; then : 
    4734   $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
    4735  
    4736 fi 
    4737  
    4738  
    4739 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
    4740 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
    4741   $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
    4742  
    4743 fi 
    4744  
    4745  
    4746 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
    4747 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
    4748   $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
    4749  
    4750 fi 
    4751  
    4752  
    4753 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
     5601if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5602  { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
     5603echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
     5604if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5605  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5606fi 
     5607{ echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
     5608echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
     5609else 
     5610  # Is the header compilable? 
     5611{ echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
     5612echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
     5613cat >conftest.$ac_ext <<_ACEOF 
     5614/* confdefs.h.  */ 
     5615_ACEOF 
     5616cat confdefs.h >>conftest.$ac_ext 
     5617cat >>conftest.$ac_ext <<_ACEOF 
     5618/* end confdefs.h.  */ 
     5619$ac_includes_default 
     5620#include <fcntl.h> 
     5621_ACEOF 
     5622rm -f conftest.$ac_objext 
     5623if { (ac_try="$ac_compile" 
     5624case "(($ac_try" in 
     5625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5626  *) ac_try_echo=$ac_try;; 
     5627esac 
     5628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5629  (eval "$ac_compile") 2>conftest.er1 
     5630  ac_status=$? 
     5631  grep -v '^ *+' conftest.er1 >conftest.err 
     5632  rm -f conftest.er1 
     5633  cat conftest.err >&5 
     5634  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5635  (exit $ac_status); } && { 
     5636         test -z "$ac_c_werror_flag" || 
     5637         test ! -s conftest.err 
     5638       } && test -s conftest.$ac_objext; then 
     5639  ac_header_compiler=yes 
     5640else 
     5641  echo "$as_me: failed program was:" >&5 
     5642sed 's/^/| /' conftest.$ac_ext >&5 
     5643 
     5644        ac_header_compiler=no 
     5645fi 
     5646 
     5647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5648{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5649echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5650 
     5651# Is the header present? 
     5652{ echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
     5653echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
     5654cat >conftest.$ac_ext <<_ACEOF 
     5655/* confdefs.h.  */ 
     5656_ACEOF 
     5657cat confdefs.h >>conftest.$ac_ext 
     5658cat >>conftest.$ac_ext <<_ACEOF 
     5659/* end confdefs.h.  */ 
     5660#include <fcntl.h> 
     5661_ACEOF 
     5662if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5663case "(($ac_try" in 
     5664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5665  *) ac_try_echo=$ac_try;; 
     5666esac 
     5667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5668  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5669  ac_status=$? 
     5670  grep -v '^ *+' conftest.er1 >conftest.err 
     5671  rm -f conftest.er1 
     5672  cat conftest.err >&5 
     5673  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5674  (exit $ac_status); } >/dev/null && { 
     5675         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5676         test ! -s conftest.err 
     5677       }; then 
     5678  ac_header_preproc=yes 
     5679else 
     5680  echo "$as_me: failed program was:" >&5 
     5681sed 's/^/| /' conftest.$ac_ext >&5 
     5682 
     5683  ac_header_preproc=no 
     5684fi 
     5685 
     5686rm -f conftest.err conftest.$ac_ext 
     5687{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5688echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5689 
     5690# So?  What about this header? 
     5691case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5692  yes:no: ) 
     5693    { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5694echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5695    { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
     5696echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
     5697    ac_header_preproc=yes 
     5698    ;; 
     5699  no:yes:* ) 
     5700    { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
     5701echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
     5702    { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
     5703echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
     5704    { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
     5705echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
     5706    { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5707echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5708    { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
     5709echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
     5710    { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
     5711echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
     5712 
     5713    ;; 
     5714esac 
     5715{ echo "$as_me:$LINENO: checking for fcntl.h" >&5 
     5716echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
     5717if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5718  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5719else 
     5720  ac_cv_header_fcntl_h=$ac_header_preproc 
     5721fi 
     5722{ echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
     5723echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
     5724 
     5725fi 
     5726if test $ac_cv_header_fcntl_h = yes; then 
     5727  cat >>confdefs.h <<\_ACEOF 
     5728#define PJ_HAS_FCNTL_H 1 
     5729_ACEOF 
     5730 
     5731fi 
     5732 
     5733 
     5734if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5735  { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     5736echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
     5737if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5738  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5739fi 
     5740{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     5741echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
     5742else 
     5743  # Is the header compilable? 
     5744{ echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
     5745echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
     5746cat >conftest.$ac_ext <<_ACEOF 
     5747/* confdefs.h.  */ 
     5748_ACEOF 
     5749cat confdefs.h >>conftest.$ac_ext 
     5750cat >>conftest.$ac_ext <<_ACEOF 
     5751/* end confdefs.h.  */ 
     5752$ac_includes_default 
     5753#include <linux/socket.h> 
     5754_ACEOF 
     5755rm -f conftest.$ac_objext 
     5756if { (ac_try="$ac_compile" 
     5757case "(($ac_try" in 
     5758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5759  *) ac_try_echo=$ac_try;; 
     5760esac 
     5761eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5762  (eval "$ac_compile") 2>conftest.er1 
     5763  ac_status=$? 
     5764  grep -v '^ *+' conftest.er1 >conftest.err 
     5765  rm -f conftest.er1 
     5766  cat conftest.err >&5 
     5767  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5768  (exit $ac_status); } && { 
     5769         test -z "$ac_c_werror_flag" || 
     5770         test ! -s conftest.err 
     5771       } && test -s conftest.$ac_objext; then 
     5772  ac_header_compiler=yes 
     5773else 
     5774  echo "$as_me: failed program was:" >&5 
     5775sed 's/^/| /' conftest.$ac_ext >&5 
     5776 
     5777        ac_header_compiler=no 
     5778fi 
     5779 
     5780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5781{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5782echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5783 
     5784# Is the header present? 
     5785{ echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
     5786echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
     5787cat >conftest.$ac_ext <<_ACEOF 
     5788/* confdefs.h.  */ 
     5789_ACEOF 
     5790cat confdefs.h >>conftest.$ac_ext 
     5791cat >>conftest.$ac_ext <<_ACEOF 
     5792/* end confdefs.h.  */ 
     5793#include <linux/socket.h> 
     5794_ACEOF 
     5795if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5796case "(($ac_try" in 
     5797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5798  *) ac_try_echo=$ac_try;; 
     5799esac 
     5800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5801  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5802  ac_status=$? 
     5803  grep -v '^ *+' conftest.er1 >conftest.err 
     5804  rm -f conftest.er1 
     5805  cat conftest.err >&5 
     5806  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5807  (exit $ac_status); } >/dev/null && { 
     5808         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5809         test ! -s conftest.err 
     5810       }; then 
     5811  ac_header_preproc=yes 
     5812else 
     5813  echo "$as_me: failed program was:" >&5 
     5814sed 's/^/| /' conftest.$ac_ext >&5 
     5815 
     5816  ac_header_preproc=no 
     5817fi 
     5818 
     5819rm -f conftest.err conftest.$ac_ext 
     5820{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5821echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5822 
     5823# So?  What about this header? 
     5824case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5825  yes:no: ) 
     5826    { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5827echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5828    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
     5829echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
     5830    ac_header_preproc=yes 
     5831    ;; 
     5832  no:yes:* ) 
     5833    { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
     5834echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
     5835    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
     5836echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
     5837    { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
     5838echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
     5839    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5840echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5841    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
     5842echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
     5843    { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
     5844echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
     5845 
     5846    ;; 
     5847esac 
     5848{ echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     5849echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
     5850if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5851  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5852else 
     5853  ac_cv_header_linux_socket_h=$ac_header_preproc 
     5854fi 
     5855{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     5856echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
     5857 
     5858fi 
     5859if test $ac_cv_header_linux_socket_h = yes; then 
     5860  cat >>confdefs.h <<\_ACEOF 
     5861#define PJ_HAS_LINUX_SOCKET_H 1 
     5862_ACEOF 
     5863 
     5864fi 
     5865 
     5866 
     5867if test "${ac_cv_header_malloc_h+set}" = set; then 
     5868  { echo "$as_me:$LINENO: checking for malloc.h" >&5 
     5869echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
     5870if test "${ac_cv_header_malloc_h+set}" = set; then 
     5871  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5872fi 
     5873{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     5874echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
     5875else 
     5876  # Is the header compilable? 
     5877{ echo "$as_me:$LINENO: checking malloc.h usability" >&5 
     5878echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
     5879cat >conftest.$ac_ext <<_ACEOF 
     5880/* confdefs.h.  */ 
     5881_ACEOF 
     5882cat confdefs.h >>conftest.$ac_ext 
     5883cat >>conftest.$ac_ext <<_ACEOF 
     5884/* end confdefs.h.  */ 
     5885$ac_includes_default 
     5886#include <malloc.h> 
     5887_ACEOF 
     5888rm -f conftest.$ac_objext 
     5889if { (ac_try="$ac_compile" 
     5890case "(($ac_try" in 
     5891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5892  *) ac_try_echo=$ac_try;; 
     5893esac 
     5894eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5895  (eval "$ac_compile") 2>conftest.er1 
     5896  ac_status=$? 
     5897  grep -v '^ *+' conftest.er1 >conftest.err 
     5898  rm -f conftest.er1 
     5899  cat conftest.err >&5 
     5900  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5901  (exit $ac_status); } && { 
     5902         test -z "$ac_c_werror_flag" || 
     5903         test ! -s conftest.err 
     5904       } && test -s conftest.$ac_objext; then 
     5905  ac_header_compiler=yes 
     5906else 
     5907  echo "$as_me: failed program was:" >&5 
     5908sed 's/^/| /' conftest.$ac_ext >&5 
     5909 
     5910        ac_header_compiler=no 
     5911fi 
     5912 
     5913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5914{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5915echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5916 
     5917# Is the header present? 
     5918{ echo "$as_me:$LINENO: checking malloc.h presence" >&5 
     5919echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
     5920cat >conftest.$ac_ext <<_ACEOF 
     5921/* confdefs.h.  */ 
     5922_ACEOF 
     5923cat confdefs.h >>conftest.$ac_ext 
     5924cat >>conftest.$ac_ext <<_ACEOF 
     5925/* end confdefs.h.  */ 
     5926#include <malloc.h> 
     5927_ACEOF 
     5928if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5929case "(($ac_try" in 
     5930  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5931  *) ac_try_echo=$ac_try;; 
     5932esac 
     5933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5934  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5935  ac_status=$? 
     5936  grep -v '^ *+' conftest.er1 >conftest.err 
     5937  rm -f conftest.er1 
     5938  cat conftest.err >&5 
     5939  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5940  (exit $ac_status); } >/dev/null && { 
     5941         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5942         test ! -s conftest.err 
     5943       }; then 
     5944  ac_header_preproc=yes 
     5945else 
     5946  echo "$as_me: failed program was:" >&5 
     5947sed 's/^/| /' conftest.$ac_ext >&5 
     5948 
     5949  ac_header_preproc=no 
     5950fi 
     5951 
     5952rm -f conftest.err conftest.$ac_ext 
     5953{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5954echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5955 
     5956# So?  What about this header? 
     5957case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5958  yes:no: ) 
     5959    { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5960echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5961    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
     5962echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
     5963    ac_header_preproc=yes 
     5964    ;; 
     5965  no:yes:* ) 
     5966    { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
     5967echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
     5968    { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
     5969echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
     5970    { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
     5971echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
     5972    { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5973echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5974    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
     5975echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
     5976    { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
     5977echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
     5978 
     5979    ;; 
     5980esac 
     5981{ echo "$as_me:$LINENO: checking for malloc.h" >&5 
     5982echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
     5983if test "${ac_cv_header_malloc_h+set}" = set; then 
     5984  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5985else 
     5986  ac_cv_header_malloc_h=$ac_header_preproc 
     5987fi 
     5988{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     5989echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
     5990 
     5991fi 
     5992if test $ac_cv_header_malloc_h = yes; then 
     5993  cat >>confdefs.h <<\_ACEOF 
     5994#define PJ_HAS_MALLOC_H 1 
     5995_ACEOF 
     5996 
     5997fi 
     5998 
     5999 
     6000if test "${ac_cv_header_netdb_h+set}" = set; then 
     6001  { echo "$as_me:$LINENO: checking for netdb.h" >&5 
     6002echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
     6003if test "${ac_cv_header_netdb_h+set}" = set; then 
     6004  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6005fi 
     6006{ echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     6007echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
     6008else 
     6009  # Is the header compilable? 
     6010{ echo "$as_me:$LINENO: checking netdb.h usability" >&5 
     6011echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
     6012cat >conftest.$ac_ext <<_ACEOF 
     6013/* confdefs.h.  */ 
     6014_ACEOF 
     6015cat confdefs.h >>conftest.$ac_ext 
     6016cat >>conftest.$ac_ext <<_ACEOF 
     6017/* end confdefs.h.  */ 
     6018$ac_includes_default 
     6019#include <netdb.h> 
     6020_ACEOF 
     6021rm -f conftest.$ac_objext 
     6022if { (ac_try="$ac_compile" 
     6023case "(($ac_try" in 
     6024  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6025  *) ac_try_echo=$ac_try;; 
     6026esac 
     6027eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6028  (eval "$ac_compile") 2>conftest.er1 
     6029  ac_status=$? 
     6030  grep -v '^ *+' conftest.er1 >conftest.err 
     6031  rm -f conftest.er1 
     6032  cat conftest.err >&5 
     6033  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6034  (exit $ac_status); } && { 
     6035         test -z "$ac_c_werror_flag" || 
     6036         test ! -s conftest.err 
     6037       } && test -s conftest.$ac_objext; then 
     6038  ac_header_compiler=yes 
     6039else 
     6040  echo "$as_me: failed program was:" >&5 
     6041sed 's/^/| /' conftest.$ac_ext >&5 
     6042 
     6043        ac_header_compiler=no 
     6044fi 
     6045 
     6046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6047{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6048echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6049 
     6050# Is the header present? 
     6051{ echo "$as_me:$LINENO: checking netdb.h presence" >&5 
     6052echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
     6053cat >conftest.$ac_ext <<_ACEOF 
     6054/* confdefs.h.  */ 
     6055_ACEOF 
     6056cat confdefs.h >>conftest.$ac_ext 
     6057cat >>conftest.$ac_ext <<_ACEOF 
     6058/* end confdefs.h.  */ 
     6059#include <netdb.h> 
     6060_ACEOF 
     6061if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6062case "(($ac_try" in 
     6063  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6064  *) ac_try_echo=$ac_try;; 
     6065esac 
     6066eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6067  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6068  ac_status=$? 
     6069  grep -v '^ *+' conftest.er1 >conftest.err 
     6070  rm -f conftest.er1 
     6071  cat conftest.err >&5 
     6072  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6073  (exit $ac_status); } >/dev/null && { 
     6074         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6075         test ! -s conftest.err 
     6076       }; then 
     6077  ac_header_preproc=yes 
     6078else 
     6079  echo "$as_me: failed program was:" >&5 
     6080sed 's/^/| /' conftest.$ac_ext >&5 
     6081 
     6082  ac_header_preproc=no 
     6083fi 
     6084 
     6085rm -f conftest.err conftest.$ac_ext 
     6086{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6087echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6088 
     6089# So?  What about this header? 
     6090case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6091  yes:no: ) 
     6092    { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6093echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6094    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
     6095echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
     6096    ac_header_preproc=yes 
     6097    ;; 
     6098  no:yes:* ) 
     6099    { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
     6100echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
     6101    { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
     6102echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
     6103    { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
     6104echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
     6105    { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6106echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6107    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
     6108echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
     6109    { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
     6110echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
     6111 
     6112    ;; 
     6113esac 
     6114{ echo "$as_me:$LINENO: checking for netdb.h" >&5 
     6115echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
     6116if test "${ac_cv_header_netdb_h+set}" = set; then 
     6117  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6118else 
     6119  ac_cv_header_netdb_h=$ac_header_preproc 
     6120fi 
     6121{ echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     6122echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
     6123 
     6124fi 
     6125if test $ac_cv_header_netdb_h = yes; then 
     6126  cat >>confdefs.h <<\_ACEOF 
     6127#define PJ_HAS_NETDB_H 1 
     6128_ACEOF 
     6129 
     6130fi 
     6131 
     6132 
     6133if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6134  { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
     6135echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
     6136if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6137  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6138fi 
     6139{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
     6140echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
     6141else 
     6142  # Is the header compilable? 
     6143{ echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
     6144echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
     6145cat >conftest.$ac_ext <<_ACEOF 
     6146/* confdefs.h.  */ 
     6147_ACEOF 
     6148cat confdefs.h >>conftest.$ac_ext 
     6149cat >>conftest.$ac_ext <<_ACEOF 
     6150/* end confdefs.h.  */ 
     6151$ac_includes_default 
     6152#include <netinet/in_systm.h> 
     6153_ACEOF 
     6154rm -f conftest.$ac_objext 
     6155if { (ac_try="$ac_compile" 
     6156case "(($ac_try" in 
     6157  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6158  *) ac_try_echo=$ac_try;; 
     6159esac 
     6160eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6161  (eval "$ac_compile") 2>conftest.er1 
     6162  ac_status=$? 
     6163  grep -v '^ *+' conftest.er1 >conftest.err 
     6164  rm -f conftest.er1 
     6165  cat conftest.err >&5 
     6166  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6167  (exit $ac_status); } && { 
     6168         test -z "$ac_c_werror_flag" || 
     6169         test ! -s conftest.err 
     6170       } && test -s conftest.$ac_objext; then 
     6171  ac_header_compiler=yes 
     6172else 
     6173  echo "$as_me: failed program was:" >&5 
     6174sed 's/^/| /' conftest.$ac_ext >&5 
     6175 
     6176        ac_header_compiler=no 
     6177fi 
     6178 
     6179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6180{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6181echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6182 
     6183# Is the header present? 
     6184{ echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
     6185echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
     6186cat >conftest.$ac_ext <<_ACEOF 
     6187/* confdefs.h.  */ 
     6188_ACEOF 
     6189cat confdefs.h >>conftest.$ac_ext 
     6190cat >>conftest.$ac_ext <<_ACEOF 
     6191/* end confdefs.h.  */ 
     6192#include <netinet/in_systm.h> 
     6193_ACEOF 
     6194if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6195case "(($ac_try" in 
     6196  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6197  *) ac_try_echo=$ac_try;; 
     6198esac 
     6199eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6200  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6201  ac_status=$? 
     6202  grep -v '^ *+' conftest.er1 >conftest.err 
     6203  rm -f conftest.er1 
     6204  cat conftest.err >&5 
     6205  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6206  (exit $ac_status); } >/dev/null && { 
     6207         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6208         test ! -s conftest.err 
     6209       }; then 
     6210  ac_header_preproc=yes 
     6211else 
     6212  echo "$as_me: failed program was:" >&5 
     6213sed 's/^/| /' conftest.$ac_ext >&5 
     6214 
     6215  ac_header_preproc=no 
     6216fi 
     6217 
     6218rm -f conftest.err conftest.$ac_ext 
     6219{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6220echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6221 
     6222# So?  What about this header? 
     6223case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6224  yes:no: ) 
     6225    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6226echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6227    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
     6228echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
     6229    ac_header_preproc=yes 
     6230    ;; 
     6231  no:yes:* ) 
     6232    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
     6233echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
     6234    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
     6235echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
     6236    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
     6237echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
     6238    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6239echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6240    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
     6241echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
     6242    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
     6243echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
     6244 
     6245    ;; 
     6246esac 
     6247{ echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
     6248echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
     6249if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6250  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6251else 
     6252  ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
     6253fi 
     6254{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
     6255echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
     6256 
     6257fi 
     6258if test $ac_cv_header_netinet_in_systm_h = yes; then 
     6259  cat >>confdefs.h <<\_ACEOF 
     6260#define PJ_HAS_NETINET_IN_SYSTM_H 1 
     6261_ACEOF 
     6262 
     6263fi 
     6264 
     6265 
     6266if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6267  { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     6268echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
     6269if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6270  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6271fi 
     6272{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     6273echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
     6274else 
     6275  # Is the header compilable? 
     6276{ echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
     6277echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
     6278cat >conftest.$ac_ext <<_ACEOF 
     6279/* confdefs.h.  */ 
     6280_ACEOF 
     6281cat confdefs.h >>conftest.$ac_ext 
     6282cat >>conftest.$ac_ext <<_ACEOF 
     6283/* end confdefs.h.  */ 
     6284$ac_includes_default 
     6285#include <netinet/in.h> 
     6286_ACEOF 
     6287rm -f conftest.$ac_objext 
     6288if { (ac_try="$ac_compile" 
     6289case "(($ac_try" in 
     6290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6291  *) ac_try_echo=$ac_try;; 
     6292esac 
     6293eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6294  (eval "$ac_compile") 2>conftest.er1 
     6295  ac_status=$? 
     6296  grep -v '^ *+' conftest.er1 >conftest.err 
     6297  rm -f conftest.er1 
     6298  cat conftest.err >&5 
     6299  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6300  (exit $ac_status); } && { 
     6301         test -z "$ac_c_werror_flag" || 
     6302         test ! -s conftest.err 
     6303       } && test -s conftest.$ac_objext; then 
     6304  ac_header_compiler=yes 
     6305else 
     6306  echo "$as_me: failed program was:" >&5 
     6307sed 's/^/| /' conftest.$ac_ext >&5 
     6308 
     6309        ac_header_compiler=no 
     6310fi 
     6311 
     6312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6313{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6314echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6315 
     6316# Is the header present? 
     6317{ echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
     6318echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
     6319cat >conftest.$ac_ext <<_ACEOF 
     6320/* confdefs.h.  */ 
     6321_ACEOF 
     6322cat confdefs.h >>conftest.$ac_ext 
     6323cat >>conftest.$ac_ext <<_ACEOF 
     6324/* end confdefs.h.  */ 
     6325#include <netinet/in.h> 
     6326_ACEOF 
     6327if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6328case "(($ac_try" in 
     6329  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6330  *) ac_try_echo=$ac_try;; 
     6331esac 
     6332eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6333  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6334  ac_status=$? 
     6335  grep -v '^ *+' conftest.er1 >conftest.err 
     6336  rm -f conftest.er1 
     6337  cat conftest.err >&5 
     6338  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6339  (exit $ac_status); } >/dev/null && { 
     6340         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6341         test ! -s conftest.err 
     6342       }; then 
     6343  ac_header_preproc=yes 
     6344else 
     6345  echo "$as_me: failed program was:" >&5 
     6346sed 's/^/| /' conftest.$ac_ext >&5 
     6347 
     6348  ac_header_preproc=no 
     6349fi 
     6350 
     6351rm -f conftest.err conftest.$ac_ext 
     6352{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6353echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6354 
     6355# So?  What about this header? 
     6356case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6357  yes:no: ) 
     6358    { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6359echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6360    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
     6361echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
     6362    ac_header_preproc=yes 
     6363    ;; 
     6364  no:yes:* ) 
     6365    { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
     6366echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
     6367    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
     6368echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
     6369    { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
     6370echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
     6371    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6372echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6373    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
     6374echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
     6375    { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
     6376echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
     6377 
     6378    ;; 
     6379esac 
     6380{ echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     6381echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
     6382if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6383  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6384else 
     6385  ac_cv_header_netinet_in_h=$ac_header_preproc 
     6386fi 
     6387{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     6388echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
     6389 
     6390fi 
     6391if test $ac_cv_header_netinet_in_h = yes; then 
     6392  cat >>confdefs.h <<\_ACEOF 
     6393#define PJ_HAS_NETINET_IN_H 1 
     6394_ACEOF 
     6395 
     6396fi 
     6397 
     6398 
     6399{ echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
     6400echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
     6401if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
     6402  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6403else 
     6404  cat >conftest.$ac_ext <<_ACEOF 
     6405/* confdefs.h.  */ 
     6406_ACEOF 
     6407cat confdefs.h >>conftest.$ac_ext 
     6408cat >>conftest.$ac_ext <<_ACEOF 
     6409/* end confdefs.h.  */ 
     6410#if PJ_HAS_SYS_TYPES_H 
    47546411                  #     include <sys/types.h> 
    47556412                  #endif 
     
    47616418                  #endif 
    47626419 
    4763 " 
    4764 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
    4765   $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
    4766  
    4767 fi 
    4768  
    4769  
    4770 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
    4771 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
    4772   $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
    4773  
    4774 fi 
    4775  
    4776  
    4777 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
    4778 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
    4779   ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
    4780 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
    4781   $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
    4782  
    4783 fi 
    4784  
    4785 fi 
    4786  
    4787  
    4788 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
    4789 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
    4790   $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
    4791  
    4792 fi 
    4793  
    4794  
    4795 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
    4796 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
    4797   $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
    4798  
    4799 fi 
    4800  
    4801  
    4802 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
    4803 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
    4804   $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
    4805  
    4806 fi 
    4807  
    4808  
    4809 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
    4810 if test "x$ac_cv_header_stddef_h" = x""yes; then : 
    4811   $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
    4812  
    4813 fi 
    4814  
    4815  
    4816 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
    4817 if test "x$ac_cv_header_stdio_h" = x""yes; then : 
    4818   $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
    4819  
    4820 fi 
    4821  
    4822  
    4823 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
    4824 if test "x$ac_cv_header_stdint_h" = x""yes; then : 
    4825   $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
    4826  
    4827 fi 
    4828  
    4829  
    4830 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
    4831 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
    4832   $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
    4833  
    4834 fi 
    4835  
    4836  
    4837 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
    4838 if test "x$ac_cv_header_string_h" = x""yes; then : 
    4839   $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
    4840  
    4841 fi 
    4842  
    4843  
    4844 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
    4845 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
    4846   $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
    4847  
    4848 fi 
    4849  
    4850  
    4851 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
    4852 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
    4853   $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
    4854  
    4855 fi 
    4856  
    4857  
    4858 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
    4859 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
    4860   $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
    4861  
    4862 fi 
    4863  
    4864  
    4865 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
    4866 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
    4867   $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
    4868  
    4869 fi 
    4870  
    4871  
    4872 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
    4873 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
    4874   $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
    4875  
    4876 fi 
    4877  
    4878  
    4879 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
    4880 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
    4881   $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
    4882  
    4883 fi 
    4884  
    4885  
    4886 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
    4887 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
    4888   $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
    4889  
    4890 fi 
    4891  
    4892  
    4893 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
    4894 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
    4895   $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
    4896  
    4897 fi 
    4898  
    4899  
    4900 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
    4901 if test "x$ac_cv_header_time_h" = x""yes; then : 
    4902   $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
    4903  
    4904 fi 
    4905  
    4906  
    4907 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
    4908 if test "x$ac_cv_header_unistd_h" = x""yes; then : 
    4909   $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
    4910  
    4911 fi 
    4912  
    4913  
    4914 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
    4915 if test "x$ac_cv_header_winsock_h" = x""yes; then : 
    4916   $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
    4917  
    4918 fi 
    4919  
    4920  
    4921 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
    4922 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
    4923   $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
    4924  
    4925 fi 
    4926  
    4927  
    4928 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
     6420 
     6421#include <netinet/ip.h> 
     6422_ACEOF 
     6423rm -f conftest.$ac_objext 
     6424if { (ac_try="$ac_compile" 
     6425case "(($ac_try" in 
     6426  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6427  *) ac_try_echo=$ac_try;; 
     6428esac 
     6429eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6430  (eval "$ac_compile") 2>conftest.er1 
     6431  ac_status=$? 
     6432  grep -v '^ *+' conftest.er1 >conftest.err 
     6433  rm -f conftest.er1 
     6434  cat conftest.err >&5 
     6435  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6436  (exit $ac_status); } && { 
     6437         test -z "$ac_c_werror_flag" || 
     6438         test ! -s conftest.err 
     6439       } && test -s conftest.$ac_objext; then 
     6440  ac_cv_header_netinet_ip_h=yes 
     6441else 
     6442  echo "$as_me: failed program was:" >&5 
     6443sed 's/^/| /' conftest.$ac_ext >&5 
     6444 
     6445        ac_cv_header_netinet_ip_h=no 
     6446fi 
     6447 
     6448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6449fi 
     6450{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
     6451echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
     6452if test $ac_cv_header_netinet_ip_h = yes; then 
     6453  cat >>confdefs.h <<\_ACEOF 
     6454#define PJ_HAS_NETINET_IP_H 1 
     6455_ACEOF 
     6456 
     6457fi 
     6458 
     6459 
     6460if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6461  { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
     6462echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
     6463if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6464  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6465fi 
     6466{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
     6467echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
     6468else 
     6469  # Is the header compilable? 
     6470{ echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
     6471echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
     6472cat >conftest.$ac_ext <<_ACEOF 
     6473/* confdefs.h.  */ 
     6474_ACEOF 
     6475cat confdefs.h >>conftest.$ac_ext 
     6476cat >>conftest.$ac_ext <<_ACEOF 
     6477/* end confdefs.h.  */ 
     6478$ac_includes_default 
     6479#include <netinet/tcp.h> 
     6480_ACEOF 
     6481rm -f conftest.$ac_objext 
     6482if { (ac_try="$ac_compile" 
     6483case "(($ac_try" in 
     6484  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6485  *) ac_try_echo=$ac_try;; 
     6486esac 
     6487eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6488  (eval "$ac_compile") 2>conftest.er1 
     6489  ac_status=$? 
     6490  grep -v '^ *+' conftest.er1 >conftest.err 
     6491  rm -f conftest.er1 
     6492  cat conftest.err >&5 
     6493  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6494  (exit $ac_status); } && { 
     6495         test -z "$ac_c_werror_flag" || 
     6496         test ! -s conftest.err 
     6497       } && test -s conftest.$ac_objext; then 
     6498  ac_header_compiler=yes 
     6499else 
     6500  echo "$as_me: failed program was:" >&5 
     6501sed 's/^/| /' conftest.$ac_ext >&5 
     6502 
     6503        ac_header_compiler=no 
     6504fi 
     6505 
     6506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6507{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6508echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6509 
     6510# Is the header present? 
     6511{ echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
     6512echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
     6513cat >conftest.$ac_ext <<_ACEOF 
     6514/* confdefs.h.  */ 
     6515_ACEOF 
     6516cat confdefs.h >>conftest.$ac_ext 
     6517cat >>conftest.$ac_ext <<_ACEOF 
     6518/* end confdefs.h.  */ 
     6519#include <netinet/tcp.h> 
     6520_ACEOF 
     6521if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6522case "(($ac_try" in 
     6523  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6524  *) ac_try_echo=$ac_try;; 
     6525esac 
     6526eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6527  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6528  ac_status=$? 
     6529  grep -v '^ *+' conftest.er1 >conftest.err 
     6530  rm -f conftest.er1 
     6531  cat conftest.err >&5 
     6532  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6533  (exit $ac_status); } >/dev/null && { 
     6534         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6535         test ! -s conftest.err 
     6536       }; then 
     6537  ac_header_preproc=yes 
     6538else 
     6539  echo "$as_me: failed program was:" >&5 
     6540sed 's/^/| /' conftest.$ac_ext >&5 
     6541 
     6542  ac_header_preproc=no 
     6543fi 
     6544 
     6545rm -f conftest.err conftest.$ac_ext 
     6546{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6547echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6548 
     6549# So?  What about this header? 
     6550case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6551  yes:no: ) 
     6552    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6553echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6554    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
     6555echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
     6556    ac_header_preproc=yes 
     6557    ;; 
     6558  no:yes:* ) 
     6559    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
     6560echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
     6561    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
     6562echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
     6563    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
     6564echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
     6565    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6566echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6567    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
     6568echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
     6569    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
     6570echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
     6571 
     6572    ;; 
     6573esac 
     6574{ echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
     6575echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
     6576if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6577  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6578else 
     6579  ac_cv_header_netinet_tcp_h=$ac_header_preproc 
     6580fi 
     6581{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
     6582echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
     6583 
     6584fi 
     6585if test $ac_cv_header_netinet_tcp_h = yes; then 
     6586  cat >>confdefs.h <<\_ACEOF 
     6587#define PJ_HAS_NETINET_TCP_H 1 
     6588_ACEOF 
     6589 
     6590fi 
     6591 
     6592 
     6593if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6594  { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
     6595echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
     6596if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6597  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6598fi 
     6599{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
     6600echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
     6601else 
     6602  # Is the header compilable? 
     6603{ echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
     6604echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
     6605cat >conftest.$ac_ext <<_ACEOF 
     6606/* confdefs.h.  */ 
     6607_ACEOF 
     6608cat confdefs.h >>conftest.$ac_ext 
     6609cat >>conftest.$ac_ext <<_ACEOF 
     6610/* end confdefs.h.  */ 
     6611$ac_includes_default 
     6612#include <ifaddrs.h> 
     6613_ACEOF 
     6614rm -f conftest.$ac_objext 
     6615if { (ac_try="$ac_compile" 
     6616case "(($ac_try" in 
     6617  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6618  *) ac_try_echo=$ac_try;; 
     6619esac 
     6620eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6621  (eval "$ac_compile") 2>conftest.er1 
     6622  ac_status=$? 
     6623  grep -v '^ *+' conftest.er1 >conftest.err 
     6624  rm -f conftest.er1 
     6625  cat conftest.err >&5 
     6626  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6627  (exit $ac_status); } && { 
     6628         test -z "$ac_c_werror_flag" || 
     6629         test ! -s conftest.err 
     6630       } && test -s conftest.$ac_objext; then 
     6631  ac_header_compiler=yes 
     6632else 
     6633  echo "$as_me: failed program was:" >&5 
     6634sed 's/^/| /' conftest.$ac_ext >&5 
     6635 
     6636        ac_header_compiler=no 
     6637fi 
     6638 
     6639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6640{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6641echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6642 
     6643# Is the header present? 
     6644{ echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
     6645echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
     6646cat >conftest.$ac_ext <<_ACEOF 
     6647/* confdefs.h.  */ 
     6648_ACEOF 
     6649cat confdefs.h >>conftest.$ac_ext 
     6650cat >>conftest.$ac_ext <<_ACEOF 
     6651/* end confdefs.h.  */ 
     6652#include <ifaddrs.h> 
     6653_ACEOF 
     6654if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6655case "(($ac_try" in 
     6656  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6657  *) ac_try_echo=$ac_try;; 
     6658esac 
     6659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6660  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6661  ac_status=$? 
     6662  grep -v '^ *+' conftest.er1 >conftest.err 
     6663  rm -f conftest.er1 
     6664  cat conftest.err >&5 
     6665  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6666  (exit $ac_status); } >/dev/null && { 
     6667         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6668         test ! -s conftest.err 
     6669       }; then 
     6670  ac_header_preproc=yes 
     6671else 
     6672  echo "$as_me: failed program was:" >&5 
     6673sed 's/^/| /' conftest.$ac_ext >&5 
     6674 
     6675  ac_header_preproc=no 
     6676fi 
     6677 
     6678rm -f conftest.err conftest.$ac_ext 
     6679{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6680echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6681 
     6682# So?  What about this header? 
     6683case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6684  yes:no: ) 
     6685    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6686echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6687    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
     6688echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
     6689    ac_header_preproc=yes 
     6690    ;; 
     6691  no:yes:* ) 
     6692    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
     6693echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
     6694    { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
     6695echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
     6696    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
     6697echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
     6698    { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6699echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6700    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
     6701echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
     6702    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
     6703echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
     6704 
     6705    ;; 
     6706esac 
     6707{ echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
     6708echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
     6709if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6710  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6711else 
     6712  ac_cv_header_ifaddrs_h=$ac_header_preproc 
     6713fi 
     6714{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
     6715echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
     6716 
     6717fi 
     6718if test $ac_cv_header_ifaddrs_h = yes; then 
     6719  { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
     6720echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
     6721if test "${ac_cv_func_getifaddrs+set}" = set; then 
     6722  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6723else 
     6724  cat >conftest.$ac_ext <<_ACEOF 
     6725/* confdefs.h.  */ 
     6726_ACEOF 
     6727cat confdefs.h >>conftest.$ac_ext 
     6728cat >>conftest.$ac_ext <<_ACEOF 
     6729/* end confdefs.h.  */ 
     6730/* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
     6731   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     6732#define getifaddrs innocuous_getifaddrs 
     6733 
     6734/* System header to define __stub macros and hopefully few prototypes, 
     6735    which can conflict with char getifaddrs (); below. 
     6736    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     6737    <limits.h> exists even on freestanding compilers.  */ 
     6738 
     6739#ifdef __STDC__ 
     6740# include <limits.h> 
     6741#else 
     6742# include <assert.h> 
     6743#endif 
     6744 
     6745#undef getifaddrs 
     6746 
     6747/* Override any GCC internal prototype to avoid an error. 
     6748   Use char because int might match the return type of a GCC 
     6749   builtin and then its argument prototype would still apply.  */ 
     6750#ifdef __cplusplus 
     6751extern "C" 
     6752#endif 
     6753char getifaddrs (); 
     6754/* The GNU C library defines this for functions which it implements 
     6755    to always fail with ENOSYS.  Some functions are actually named 
     6756    something starting with __ and the normal name is an alias.  */ 
     6757#if defined __stub_getifaddrs || defined __stub___getifaddrs 
     6758choke me 
     6759#endif 
     6760 
     6761int 
     6762main () 
     6763{ 
     6764return getifaddrs (); 
     6765  ; 
     6766  return 0; 
     6767} 
     6768_ACEOF 
     6769rm -f conftest.$ac_objext conftest$ac_exeext 
     6770if { (ac_try="$ac_link" 
     6771case "(($ac_try" in 
     6772  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6773  *) ac_try_echo=$ac_try;; 
     6774esac 
     6775eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6776  (eval "$ac_link") 2>conftest.er1 
     6777  ac_status=$? 
     6778  grep -v '^ *+' conftest.er1 >conftest.err 
     6779  rm -f conftest.er1 
     6780  cat conftest.err >&5 
     6781  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6782  (exit $ac_status); } && { 
     6783         test -z "$ac_c_werror_flag" || 
     6784         test ! -s conftest.err 
     6785       } && test -s conftest$ac_exeext && 
     6786       $as_test_x conftest$ac_exeext; then 
     6787  ac_cv_func_getifaddrs=yes 
     6788else 
     6789  echo "$as_me: failed program was:" >&5 
     6790sed 's/^/| /' conftest.$ac_ext >&5 
     6791 
     6792        ac_cv_func_getifaddrs=no 
     6793fi 
     6794 
     6795rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     6796      conftest$ac_exeext conftest.$ac_ext 
     6797fi 
     6798{ echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
     6799echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
     6800if test $ac_cv_func_getifaddrs = yes; then 
     6801  cat >>confdefs.h <<\_ACEOF 
     6802#define PJ_HAS_IFADDRS_H 1 
     6803_ACEOF 
     6804 
     6805fi 
     6806 
     6807fi 
     6808 
     6809 
     6810if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6811  { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
     6812echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
     6813if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6814  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6815fi 
     6816{ echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
     6817echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
     6818else 
     6819  # Is the header compilable? 
     6820{ echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
     6821echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
     6822cat >conftest.$ac_ext <<_ACEOF 
     6823/* confdefs.h.  */ 
     6824_ACEOF 
     6825cat confdefs.h >>conftest.$ac_ext 
     6826cat >>conftest.$ac_ext <<_ACEOF 
     6827/* end confdefs.h.  */ 
     6828$ac_includes_default 
     6829#include <semaphore.h> 
     6830_ACEOF 
     6831rm -f conftest.$ac_objext 
     6832if { (ac_try="$ac_compile" 
     6833case "(($ac_try" in 
     6834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6835  *) ac_try_echo=$ac_try;; 
     6836esac 
     6837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6838  (eval "$ac_compile") 2>conftest.er1 
     6839  ac_status=$? 
     6840  grep -v '^ *+' conftest.er1 >conftest.err 
     6841  rm -f conftest.er1 
     6842  cat conftest.err >&5 
     6843  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6844  (exit $ac_status); } && { 
     6845         test -z "$ac_c_werror_flag" || 
     6846         test ! -s conftest.err 
     6847       } && test -s conftest.$ac_objext; then 
     6848  ac_header_compiler=yes 
     6849else 
     6850  echo "$as_me: failed program was:" >&5 
     6851sed 's/^/| /' conftest.$ac_ext >&5 
     6852 
     6853        ac_header_compiler=no 
     6854fi 
     6855 
     6856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6857{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6858echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6859 
     6860# Is the header present? 
     6861{ echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
     6862echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
     6863cat >conftest.$ac_ext <<_ACEOF 
     6864/* confdefs.h.  */ 
     6865_ACEOF 
     6866cat confdefs.h >>conftest.$ac_ext 
     6867cat >>conftest.$ac_ext <<_ACEOF 
     6868/* end confdefs.h.  */ 
     6869#include <semaphore.h> 
     6870_ACEOF 
     6871if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6872case "(($ac_try" in 
     6873  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6874  *) ac_try_echo=$ac_try;; 
     6875esac 
     6876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6877  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6878  ac_status=$? 
     6879  grep -v '^ *+' conftest.er1 >conftest.err 
     6880  rm -f conftest.er1 
     6881  cat conftest.err >&5 
     6882  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6883  (exit $ac_status); } >/dev/null && { 
     6884         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6885         test ! -s conftest.err 
     6886       }; then 
     6887  ac_header_preproc=yes 
     6888else 
     6889  echo "$as_me: failed program was:" >&5 
     6890sed 's/^/| /' conftest.$ac_ext >&5 
     6891 
     6892  ac_header_preproc=no 
     6893fi 
     6894 
     6895rm -f conftest.err conftest.$ac_ext 
     6896{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6897echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6898 
     6899# So?  What about this header? 
     6900case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6901  yes:no: ) 
     6902    { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6903echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6904    { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
     6905echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
     6906    ac_header_preproc=yes 
     6907    ;; 
     6908  no:yes:* ) 
     6909    { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
     6910echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
     6911    { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
     6912echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
     6913    { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
     6914echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
     6915    { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6916echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6917    { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
     6918echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
     6919    { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
     6920echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
     6921 
     6922    ;; 
     6923esac 
     6924{ echo "$as_me:$LINENO: checking for semaphore.h" >&5 
     6925echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
     6926if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6927  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6928else 
     6929  ac_cv_header_semaphore_h=$ac_header_preproc 
     6930fi 
     6931{ echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
     6932echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
     6933 
     6934fi 
     6935if test $ac_cv_header_semaphore_h = yes; then 
     6936  cat >>confdefs.h <<\_ACEOF 
     6937#define PJ_HAS_SEMAPHORE_H 1 
     6938_ACEOF 
     6939 
     6940fi 
     6941 
     6942 
     6943if test "${ac_cv_header_setjmp_h+set}" = set; then 
     6944  { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     6945echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
     6946if test "${ac_cv_header_setjmp_h+set}" = set; then 
     6947  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6948fi 
     6949{ echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     6950echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
     6951else 
     6952  # Is the header compilable? 
     6953{ echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
     6954echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
     6955cat >conftest.$ac_ext <<_ACEOF 
     6956/* confdefs.h.  */ 
     6957_ACEOF 
     6958cat confdefs.h >>conftest.$ac_ext 
     6959cat >>conftest.$ac_ext <<_ACEOF 
     6960/* end confdefs.h.  */ 
     6961$ac_includes_default 
     6962#include <setjmp.h> 
     6963_ACEOF 
     6964rm -f conftest.$ac_objext 
     6965if { (ac_try="$ac_compile" 
     6966case "(($ac_try" in 
     6967  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6968  *) ac_try_echo=$ac_try;; 
     6969esac 
     6970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6971  (eval "$ac_compile") 2>conftest.er1 
     6972  ac_status=$? 
     6973  grep -v '^ *+' conftest.er1 >conftest.err 
     6974  rm -f conftest.er1 
     6975  cat conftest.err >&5 
     6976  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6977  (exit $ac_status); } && { 
     6978         test -z "$ac_c_werror_flag" || 
     6979         test ! -s conftest.err 
     6980       } && test -s conftest.$ac_objext; then 
     6981  ac_header_compiler=yes 
     6982else 
     6983  echo "$as_me: failed program was:" >&5 
     6984sed 's/^/| /' conftest.$ac_ext >&5 
     6985 
     6986        ac_header_compiler=no 
     6987fi 
     6988 
     6989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6990{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6991echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6992 
     6993# Is the header present? 
     6994{ echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
     6995echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
     6996cat >conftest.$ac_ext <<_ACEOF 
     6997/* confdefs.h.  */ 
     6998_ACEOF 
     6999cat confdefs.h >>conftest.$ac_ext 
     7000cat >>conftest.$ac_ext <<_ACEOF 
     7001/* end confdefs.h.  */ 
     7002#include <setjmp.h> 
     7003_ACEOF 
     7004if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7005case "(($ac_try" in 
     7006  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7007  *) ac_try_echo=$ac_try;; 
     7008esac 
     7009eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7010  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7011  ac_status=$? 
     7012  grep -v '^ *+' conftest.er1 >conftest.err 
     7013  rm -f conftest.er1 
     7014  cat conftest.err >&5 
     7015  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7016  (exit $ac_status); } >/dev/null && { 
     7017         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7018         test ! -s conftest.err 
     7019       }; then 
     7020  ac_header_preproc=yes 
     7021else 
     7022  echo "$as_me: failed program was:" >&5 
     7023sed 's/^/| /' conftest.$ac_ext >&5 
     7024 
     7025  ac_header_preproc=no 
     7026fi 
     7027 
     7028rm -f conftest.err conftest.$ac_ext 
     7029{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7030echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7031 
     7032# So?  What about this header? 
     7033case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7034  yes:no: ) 
     7035    { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7036echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7037    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
     7038echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
     7039    ac_header_preproc=yes 
     7040    ;; 
     7041  no:yes:* ) 
     7042    { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
     7043echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
     7044    { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
     7045echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
     7046    { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
     7047echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
     7048    { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7049echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7050    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
     7051echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
     7052    { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
     7053echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
     7054 
     7055    ;; 
     7056esac 
     7057{ echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     7058echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
     7059if test "${ac_cv_header_setjmp_h+set}" = set; then 
     7060  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7061else 
     7062  ac_cv_header_setjmp_h=$ac_header_preproc 
     7063fi 
     7064{ echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     7065echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
     7066 
     7067fi 
     7068if test $ac_cv_header_setjmp_h = yes; then 
     7069  cat >>confdefs.h <<\_ACEOF 
     7070#define PJ_HAS_SETJMP_H 1 
     7071_ACEOF 
     7072 
     7073fi 
     7074 
     7075 
     7076if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7077  { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     7078echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
     7079if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7080  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7081fi 
     7082{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     7083echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
     7084else 
     7085  # Is the header compilable? 
     7086{ echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
     7087echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
     7088cat >conftest.$ac_ext <<_ACEOF 
     7089/* confdefs.h.  */ 
     7090_ACEOF 
     7091cat confdefs.h >>conftest.$ac_ext 
     7092cat >>conftest.$ac_ext <<_ACEOF 
     7093/* end confdefs.h.  */ 
     7094$ac_includes_default 
     7095#include <stdarg.h> 
     7096_ACEOF 
     7097rm -f conftest.$ac_objext 
     7098if { (ac_try="$ac_compile" 
     7099case "(($ac_try" in 
     7100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7101  *) ac_try_echo=$ac_try;; 
     7102esac 
     7103eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7104  (eval "$ac_compile") 2>conftest.er1 
     7105  ac_status=$? 
     7106  grep -v '^ *+' conftest.er1 >conftest.err 
     7107  rm -f conftest.er1 
     7108  cat conftest.err >&5 
     7109  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7110  (exit $ac_status); } && { 
     7111         test -z "$ac_c_werror_flag" || 
     7112         test ! -s conftest.err 
     7113       } && test -s conftest.$ac_objext; then 
     7114  ac_header_compiler=yes 
     7115else 
     7116  echo "$as_me: failed program was:" >&5 
     7117sed 's/^/| /' conftest.$ac_ext >&5 
     7118 
     7119        ac_header_compiler=no 
     7120fi 
     7121 
     7122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7123{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7124echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7125 
     7126# Is the header present? 
     7127{ echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
     7128echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
     7129cat >conftest.$ac_ext <<_ACEOF 
     7130/* confdefs.h.  */ 
     7131_ACEOF 
     7132cat confdefs.h >>conftest.$ac_ext 
     7133cat >>conftest.$ac_ext <<_ACEOF 
     7134/* end confdefs.h.  */ 
     7135#include <stdarg.h> 
     7136_ACEOF 
     7137if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7138case "(($ac_try" in 
     7139  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7140  *) ac_try_echo=$ac_try;; 
     7141esac 
     7142eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7143  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7144  ac_status=$? 
     7145  grep -v '^ *+' conftest.er1 >conftest.err 
     7146  rm -f conftest.er1 
     7147  cat conftest.err >&5 
     7148  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7149  (exit $ac_status); } >/dev/null && { 
     7150         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7151         test ! -s conftest.err 
     7152       }; then 
     7153  ac_header_preproc=yes 
     7154else 
     7155  echo "$as_me: failed program was:" >&5 
     7156sed 's/^/| /' conftest.$ac_ext >&5 
     7157 
     7158  ac_header_preproc=no 
     7159fi 
     7160 
     7161rm -f conftest.err conftest.$ac_ext 
     7162{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7163echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7164 
     7165# So?  What about this header? 
     7166case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7167  yes:no: ) 
     7168    { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7169echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7170    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
     7171echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
     7172    ac_header_preproc=yes 
     7173    ;; 
     7174  no:yes:* ) 
     7175    { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
     7176echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
     7177    { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
     7178echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
     7179    { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
     7180echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
     7181    { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7182echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7183    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
     7184echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
     7185    { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
     7186echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
     7187 
     7188    ;; 
     7189esac 
     7190{ echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     7191echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
     7192if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7193  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7194else 
     7195  ac_cv_header_stdarg_h=$ac_header_preproc 
     7196fi 
     7197{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     7198echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
     7199 
     7200fi 
     7201if test $ac_cv_header_stdarg_h = yes; then 
     7202  cat >>confdefs.h <<\_ACEOF 
     7203#define PJ_HAS_STDARG_H 1 
     7204_ACEOF 
     7205 
     7206fi 
     7207 
     7208 
     7209if test "${ac_cv_header_stddef_h+set}" = set; then 
     7210  { echo "$as_me:$LINENO: checking for stddef.h" >&5 
     7211echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
     7212if test "${ac_cv_header_stddef_h+set}" = set; then 
     7213  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7214fi 
     7215{ echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     7216echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
     7217else 
     7218  # Is the header compilable? 
     7219{ echo "$as_me:$LINENO: checking stddef.h usability" >&5 
     7220echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
     7221cat >conftest.$ac_ext <<_ACEOF 
     7222/* confdefs.h.  */ 
     7223_ACEOF 
     7224cat confdefs.h >>conftest.$ac_ext 
     7225cat >>conftest.$ac_ext <<_ACEOF 
     7226/* end confdefs.h.  */ 
     7227$ac_includes_default 
     7228#include <stddef.h> 
     7229_ACEOF 
     7230rm -f conftest.$ac_objext 
     7231if { (ac_try="$ac_compile" 
     7232case "(($ac_try" in 
     7233  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7234  *) ac_try_echo=$ac_try;; 
     7235esac 
     7236eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7237  (eval "$ac_compile") 2>conftest.er1 
     7238  ac_status=$? 
     7239  grep -v '^ *+' conftest.er1 >conftest.err 
     7240  rm -f conftest.er1 
     7241  cat conftest.err >&5 
     7242  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7243  (exit $ac_status); } && { 
     7244         test -z "$ac_c_werror_flag" || 
     7245         test ! -s conftest.err 
     7246       } && test -s conftest.$ac_objext; then 
     7247  ac_header_compiler=yes 
     7248else 
     7249  echo "$as_me: failed program was:" >&5 
     7250sed 's/^/| /' conftest.$ac_ext >&5 
     7251 
     7252        ac_header_compiler=no 
     7253fi 
     7254 
     7255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7256{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7257echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7258 
     7259# Is the header present? 
     7260{ echo "$as_me:$LINENO: checking stddef.h presence" >&5 
     7261echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
     7262cat >conftest.$ac_ext <<_ACEOF 
     7263/* confdefs.h.  */ 
     7264_ACEOF 
     7265cat confdefs.h >>conftest.$ac_ext 
     7266cat >>conftest.$ac_ext <<_ACEOF 
     7267/* end confdefs.h.  */ 
     7268#include <stddef.h> 
     7269_ACEOF 
     7270if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7271case "(($ac_try" in 
     7272  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7273  *) ac_try_echo=$ac_try;; 
     7274esac 
     7275eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7276  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7277  ac_status=$? 
     7278  grep -v '^ *+' conftest.er1 >conftest.err 
     7279  rm -f conftest.er1 
     7280  cat conftest.err >&5 
     7281  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7282  (exit $ac_status); } >/dev/null && { 
     7283         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7284         test ! -s conftest.err 
     7285       }; then 
     7286  ac_header_preproc=yes 
     7287else 
     7288  echo "$as_me: failed program was:" >&5 
     7289sed 's/^/| /' conftest.$ac_ext >&5 
     7290 
     7291  ac_header_preproc=no 
     7292fi 
     7293 
     7294rm -f conftest.err conftest.$ac_ext 
     7295{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7296echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7297 
     7298# So?  What about this header? 
     7299case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7300  yes:no: ) 
     7301    { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7302echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7303    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
     7304echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
     7305    ac_header_preproc=yes 
     7306    ;; 
     7307  no:yes:* ) 
     7308    { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
     7309echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
     7310    { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
     7311echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
     7312    { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
     7313echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
     7314    { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7315echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7316    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
     7317echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
     7318    { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
     7319echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
     7320 
     7321    ;; 
     7322esac 
     7323{ echo "$as_me:$LINENO: checking for stddef.h" >&5 
     7324echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
     7325if test "${ac_cv_header_stddef_h+set}" = set; then 
     7326  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7327else 
     7328  ac_cv_header_stddef_h=$ac_header_preproc 
     7329fi 
     7330{ echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     7331echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
     7332 
     7333fi 
     7334if test $ac_cv_header_stddef_h = yes; then 
     7335  cat >>confdefs.h <<\_ACEOF 
     7336#define PJ_HAS_STDDEF_H 1 
     7337_ACEOF 
     7338 
     7339fi 
     7340 
     7341 
     7342if test "${ac_cv_header_stdio_h+set}" = set; then 
     7343  { echo "$as_me:$LINENO: checking for stdio.h" >&5 
     7344echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
     7345if test "${ac_cv_header_stdio_h+set}" = set; then 
     7346  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7347fi 
     7348{ echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     7349echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
     7350else 
     7351  # Is the header compilable? 
     7352{ echo "$as_me:$LINENO: checking stdio.h usability" >&5 
     7353echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
     7354cat >conftest.$ac_ext <<_ACEOF 
     7355/* confdefs.h.  */ 
     7356_ACEOF 
     7357cat confdefs.h >>conftest.$ac_ext 
     7358cat >>conftest.$ac_ext <<_ACEOF 
     7359/* end confdefs.h.  */ 
     7360$ac_includes_default 
     7361#include <stdio.h> 
     7362_ACEOF 
     7363rm -f conftest.$ac_objext 
     7364if { (ac_try="$ac_compile" 
     7365case "(($ac_try" in 
     7366  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7367  *) ac_try_echo=$ac_try;; 
     7368esac 
     7369eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7370  (eval "$ac_compile") 2>conftest.er1 
     7371  ac_status=$? 
     7372  grep -v '^ *+' conftest.er1 >conftest.err 
     7373  rm -f conftest.er1 
     7374  cat conftest.err >&5 
     7375  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7376  (exit $ac_status); } && { 
     7377         test -z "$ac_c_werror_flag" || 
     7378         test ! -s conftest.err 
     7379       } && test -s conftest.$ac_objext; then 
     7380  ac_header_compiler=yes 
     7381else 
     7382  echo "$as_me: failed program was:" >&5 
     7383sed 's/^/| /' conftest.$ac_ext >&5 
     7384 
     7385        ac_header_compiler=no 
     7386fi 
     7387 
     7388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7389{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7390echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7391 
     7392# Is the header present? 
     7393{ echo "$as_me:$LINENO: checking stdio.h presence" >&5 
     7394echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
     7395cat >conftest.$ac_ext <<_ACEOF 
     7396/* confdefs.h.  */ 
     7397_ACEOF 
     7398cat confdefs.h >>conftest.$ac_ext 
     7399cat >>conftest.$ac_ext <<_ACEOF 
     7400/* end confdefs.h.  */ 
     7401#include <stdio.h> 
     7402_ACEOF 
     7403if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7404case "(($ac_try" in 
     7405  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7406  *) ac_try_echo=$ac_try;; 
     7407esac 
     7408eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7409  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7410  ac_status=$? 
     7411  grep -v '^ *+' conftest.er1 >conftest.err 
     7412  rm -f conftest.er1 
     7413  cat conftest.err >&5 
     7414  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7415  (exit $ac_status); } >/dev/null && { 
     7416         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7417         test ! -s conftest.err 
     7418       }; then 
     7419  ac_header_preproc=yes 
     7420else 
     7421  echo "$as_me: failed program was:" >&5 
     7422sed 's/^/| /' conftest.$ac_ext >&5 
     7423 
     7424  ac_header_preproc=no 
     7425fi 
     7426 
     7427rm -f conftest.err conftest.$ac_ext 
     7428{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7429echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7430 
     7431# So?  What about this header? 
     7432case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7433  yes:no: ) 
     7434    { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7435echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7436    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
     7437echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
     7438    ac_header_preproc=yes 
     7439    ;; 
     7440  no:yes:* ) 
     7441    { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
     7442echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
     7443    { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
     7444echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
     7445    { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
     7446echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
     7447    { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7448echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7449    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
     7450echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
     7451    { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
     7452echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
     7453 
     7454    ;; 
     7455esac 
     7456{ echo "$as_me:$LINENO: checking for stdio.h" >&5 
     7457echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
     7458if test "${ac_cv_header_stdio_h+set}" = set; then 
     7459  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7460else 
     7461  ac_cv_header_stdio_h=$ac_header_preproc 
     7462fi 
     7463{ echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     7464echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
     7465 
     7466fi 
     7467if test $ac_cv_header_stdio_h = yes; then 
     7468  cat >>confdefs.h <<\_ACEOF 
     7469#define PJ_HAS_STDIO_H 1 
     7470_ACEOF 
     7471 
     7472fi 
     7473 
     7474 
     7475if test "${ac_cv_header_stdint_h+set}" = set; then 
     7476  { echo "$as_me:$LINENO: checking for stdint.h" >&5 
     7477echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
     7478if test "${ac_cv_header_stdint_h+set}" = set; then 
     7479  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7480fi 
     7481{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
     7482echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
     7483else 
     7484  # Is the header compilable? 
     7485{ echo "$as_me:$LINENO: checking stdint.h usability" >&5 
     7486echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
     7487cat >conftest.$ac_ext <<_ACEOF 
     7488/* confdefs.h.  */ 
     7489_ACEOF 
     7490cat confdefs.h >>conftest.$ac_ext 
     7491cat >>conftest.$ac_ext <<_ACEOF 
     7492/* end confdefs.h.  */ 
     7493$ac_includes_default 
     7494#include <stdint.h> 
     7495_ACEOF 
     7496rm -f conftest.$ac_objext 
     7497if { (ac_try="$ac_compile" 
     7498case "(($ac_try" in 
     7499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7500  *) ac_try_echo=$ac_try;; 
     7501esac 
     7502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7503  (eval "$ac_compile") 2>conftest.er1 
     7504  ac_status=$? 
     7505  grep -v '^ *+' conftest.er1 >conftest.err 
     7506  rm -f conftest.er1 
     7507  cat conftest.err >&5 
     7508  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7509  (exit $ac_status); } && { 
     7510         test -z "$ac_c_werror_flag" || 
     7511         test ! -s conftest.err 
     7512       } && test -s conftest.$ac_objext; then 
     7513  ac_header_compiler=yes 
     7514else 
     7515  echo "$as_me: failed program was:" >&5 
     7516sed 's/^/| /' conftest.$ac_ext >&5 
     7517 
     7518        ac_header_compiler=no 
     7519fi 
     7520 
     7521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7522{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7523echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7524 
     7525# Is the header present? 
     7526{ echo "$as_me:$LINENO: checking stdint.h presence" >&5 
     7527echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
     7528cat >conftest.$ac_ext <<_ACEOF 
     7529/* confdefs.h.  */ 
     7530_ACEOF 
     7531cat confdefs.h >>conftest.$ac_ext 
     7532cat >>conftest.$ac_ext <<_ACEOF 
     7533/* end confdefs.h.  */ 
     7534#include <stdint.h> 
     7535_ACEOF 
     7536if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7537case "(($ac_try" in 
     7538  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7539  *) ac_try_echo=$ac_try;; 
     7540esac 
     7541eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7542  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7543  ac_status=$? 
     7544  grep -v '^ *+' conftest.er1 >conftest.err 
     7545  rm -f conftest.er1 
     7546  cat conftest.err >&5 
     7547  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7548  (exit $ac_status); } >/dev/null && { 
     7549         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7550         test ! -s conftest.err 
     7551       }; then 
     7552  ac_header_preproc=yes 
     7553else 
     7554  echo "$as_me: failed program was:" >&5 
     7555sed 's/^/| /' conftest.$ac_ext >&5 
     7556 
     7557  ac_header_preproc=no 
     7558fi 
     7559 
     7560rm -f conftest.err conftest.$ac_ext 
     7561{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7562echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7563 
     7564# So?  What about this header? 
     7565case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7566  yes:no: ) 
     7567    { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7568echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7569    { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
     7570echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
     7571    ac_header_preproc=yes 
     7572    ;; 
     7573  no:yes:* ) 
     7574    { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
     7575echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
     7576    { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
     7577echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
     7578    { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
     7579echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
     7580    { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7581echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7582    { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
     7583echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
     7584    { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
     7585echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
     7586 
     7587    ;; 
     7588esac 
     7589{ echo "$as_me:$LINENO: checking for stdint.h" >&5 
     7590echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
     7591if test "${ac_cv_header_stdint_h+set}" = set; then 
     7592  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7593else 
     7594  ac_cv_header_stdint_h=$ac_header_preproc 
     7595fi 
     7596{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
     7597echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
     7598 
     7599fi 
     7600if test $ac_cv_header_stdint_h = yes; then 
     7601  cat >>confdefs.h <<\_ACEOF 
     7602#define PJ_HAS_STDINT_H 1 
     7603_ACEOF 
     7604 
     7605fi 
     7606 
     7607 
     7608if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7609  { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     7610echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
     7611if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7612  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7613fi 
     7614{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     7615echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
     7616else 
     7617  # Is the header compilable? 
     7618{ echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
     7619echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
     7620cat >conftest.$ac_ext <<_ACEOF 
     7621/* confdefs.h.  */ 
     7622_ACEOF 
     7623cat confdefs.h >>conftest.$ac_ext 
     7624cat >>conftest.$ac_ext <<_ACEOF 
     7625/* end confdefs.h.  */ 
     7626$ac_includes_default 
     7627#include <stdlib.h> 
     7628_ACEOF 
     7629rm -f conftest.$ac_objext 
     7630if { (ac_try="$ac_compile" 
     7631case "(($ac_try" in 
     7632  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7633  *) ac_try_echo=$ac_try;; 
     7634esac 
     7635eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7636  (eval "$ac_compile") 2>conftest.er1 
     7637  ac_status=$? 
     7638  grep -v '^ *+' conftest.er1 >conftest.err 
     7639  rm -f conftest.er1 
     7640  cat conftest.err >&5 
     7641  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7642  (exit $ac_status); } && { 
     7643         test -z "$ac_c_werror_flag" || 
     7644         test ! -s conftest.err 
     7645       } && test -s conftest.$ac_objext; then 
     7646  ac_header_compiler=yes 
     7647else 
     7648  echo "$as_me: failed program was:" >&5 
     7649sed 's/^/| /' conftest.$ac_ext >&5 
     7650 
     7651        ac_header_compiler=no 
     7652fi 
     7653 
     7654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7655{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7656echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7657 
     7658# Is the header present? 
     7659{ echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
     7660echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
     7661cat >conftest.$ac_ext <<_ACEOF 
     7662/* confdefs.h.  */ 
     7663_ACEOF 
     7664cat confdefs.h >>conftest.$ac_ext 
     7665cat >>conftest.$ac_ext <<_ACEOF 
     7666/* end confdefs.h.  */ 
     7667#include <stdlib.h> 
     7668_ACEOF 
     7669if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7670case "(($ac_try" in 
     7671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7672  *) ac_try_echo=$ac_try;; 
     7673esac 
     7674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7675  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7676  ac_status=$? 
     7677  grep -v '^ *+' conftest.er1 >conftest.err 
     7678  rm -f conftest.er1 
     7679  cat conftest.err >&5 
     7680  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7681  (exit $ac_status); } >/dev/null && { 
     7682         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7683         test ! -s conftest.err 
     7684       }; then 
     7685  ac_header_preproc=yes 
     7686else 
     7687  echo "$as_me: failed program was:" >&5 
     7688sed 's/^/| /' conftest.$ac_ext >&5 
     7689 
     7690  ac_header_preproc=no 
     7691fi 
     7692 
     7693rm -f conftest.err conftest.$ac_ext 
     7694{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7695echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7696 
     7697# So?  What about this header? 
     7698case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7699  yes:no: ) 
     7700    { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7701echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7702    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
     7703echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
     7704    ac_header_preproc=yes 
     7705    ;; 
     7706  no:yes:* ) 
     7707    { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
     7708echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
     7709    { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
     7710echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
     7711    { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
     7712echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
     7713    { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7714echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7715    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
     7716echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
     7717    { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
     7718echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
     7719 
     7720    ;; 
     7721esac 
     7722{ echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     7723echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
     7724if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7725  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7726else 
     7727  ac_cv_header_stdlib_h=$ac_header_preproc 
     7728fi 
     7729{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     7730echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
     7731 
     7732fi 
     7733if test $ac_cv_header_stdlib_h = yes; then 
     7734  cat >>confdefs.h <<\_ACEOF 
     7735#define PJ_HAS_STDLIB_H 1 
     7736_ACEOF 
     7737 
     7738fi 
     7739 
     7740 
     7741if test "${ac_cv_header_string_h+set}" = set; then 
     7742  { echo "$as_me:$LINENO: checking for string.h" >&5 
     7743echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
     7744if test "${ac_cv_header_string_h+set}" = set; then 
     7745  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7746fi 
     7747{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     7748echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
     7749else 
     7750  # Is the header compilable? 
     7751{ echo "$as_me:$LINENO: checking string.h usability" >&5 
     7752echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
     7753cat >conftest.$ac_ext <<_ACEOF 
     7754/* confdefs.h.  */ 
     7755_ACEOF 
     7756cat confdefs.h >>conftest.$ac_ext 
     7757cat >>conftest.$ac_ext <<_ACEOF 
     7758/* end confdefs.h.  */ 
     7759$ac_includes_default 
     7760#include <string.h> 
     7761_ACEOF 
     7762rm -f conftest.$ac_objext 
     7763if { (ac_try="$ac_compile" 
     7764case "(($ac_try" in 
     7765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7766  *) ac_try_echo=$ac_try;; 
     7767esac 
     7768eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7769  (eval "$ac_compile") 2>conftest.er1 
     7770  ac_status=$? 
     7771  grep -v '^ *+' conftest.er1 >conftest.err 
     7772  rm -f conftest.er1 
     7773  cat conftest.err >&5 
     7774  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7775  (exit $ac_status); } && { 
     7776         test -z "$ac_c_werror_flag" || 
     7777         test ! -s conftest.err 
     7778       } && test -s conftest.$ac_objext; then 
     7779  ac_header_compiler=yes 
     7780else 
     7781  echo "$as_me: failed program was:" >&5 
     7782sed 's/^/| /' conftest.$ac_ext >&5 
     7783 
     7784        ac_header_compiler=no 
     7785fi 
     7786 
     7787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7788{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7789echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7790 
     7791# Is the header present? 
     7792{ echo "$as_me:$LINENO: checking string.h presence" >&5 
     7793echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
     7794cat >conftest.$ac_ext <<_ACEOF 
     7795/* confdefs.h.  */ 
     7796_ACEOF 
     7797cat confdefs.h >>conftest.$ac_ext 
     7798cat >>conftest.$ac_ext <<_ACEOF 
     7799/* end confdefs.h.  */ 
     7800#include <string.h> 
     7801_ACEOF 
     7802if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7803case "(($ac_try" in 
     7804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7805  *) ac_try_echo=$ac_try;; 
     7806esac 
     7807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7808  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7809  ac_status=$? 
     7810  grep -v '^ *+' conftest.er1 >conftest.err 
     7811  rm -f conftest.er1 
     7812  cat conftest.err >&5 
     7813  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7814  (exit $ac_status); } >/dev/null && { 
     7815         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7816         test ! -s conftest.err 
     7817       }; then 
     7818  ac_header_preproc=yes 
     7819else 
     7820  echo "$as_me: failed program was:" >&5 
     7821sed 's/^/| /' conftest.$ac_ext >&5 
     7822 
     7823  ac_header_preproc=no 
     7824fi 
     7825 
     7826rm -f conftest.err conftest.$ac_ext 
     7827{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7828echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7829 
     7830# So?  What about this header? 
     7831case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7832  yes:no: ) 
     7833    { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7834echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7835    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
     7836echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
     7837    ac_header_preproc=yes 
     7838    ;; 
     7839  no:yes:* ) 
     7840    { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
     7841echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
     7842    { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
     7843echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
     7844    { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
     7845echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
     7846    { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7847echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7848    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
     7849echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
     7850    { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
     7851echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
     7852 
     7853    ;; 
     7854esac 
     7855{ echo "$as_me:$LINENO: checking for string.h" >&5 
     7856echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
     7857if test "${ac_cv_header_string_h+set}" = set; then 
     7858  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7859else 
     7860  ac_cv_header_string_h=$ac_header_preproc 
     7861fi 
     7862{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     7863echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
     7864 
     7865fi 
     7866if test $ac_cv_header_string_h = yes; then 
     7867  cat >>confdefs.h <<\_ACEOF 
     7868#define PJ_HAS_STRING_H 1 
     7869_ACEOF 
     7870 
     7871fi 
     7872 
     7873 
     7874if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     7875  { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     7876echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
     7877if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     7878  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7879fi 
     7880{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     7881echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
     7882else 
     7883  # Is the header compilable? 
     7884{ echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
     7885echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
     7886cat >conftest.$ac_ext <<_ACEOF 
     7887/* confdefs.h.  */ 
     7888_ACEOF 
     7889cat confdefs.h >>conftest.$ac_ext 
     7890cat >>conftest.$ac_ext <<_ACEOF 
     7891/* end confdefs.h.  */ 
     7892$ac_includes_default 
     7893#include <sys/ioctl.h> 
     7894_ACEOF 
     7895rm -f conftest.$ac_objext 
     7896if { (ac_try="$ac_compile" 
     7897case "(($ac_try" in 
     7898  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7899  *) ac_try_echo=$ac_try;; 
     7900esac 
     7901eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7902  (eval "$ac_compile") 2>conftest.er1 
     7903  ac_status=$? 
     7904  grep -v '^ *+' conftest.er1 >conftest.err 
     7905  rm -f conftest.er1 
     7906  cat conftest.err >&5 
     7907  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7908  (exit $ac_status); } && { 
     7909         test -z "$ac_c_werror_flag" || 
     7910         test ! -s conftest.err 
     7911       } && test -s conftest.$ac_objext; then 
     7912  ac_header_compiler=yes 
     7913else 
     7914  echo "$as_me: failed program was:" >&5 
     7915sed 's/^/| /' conftest.$ac_ext >&5 
     7916 
     7917        ac_header_compiler=no 
     7918fi 
     7919 
     7920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7921{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7922echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7923 
     7924# Is the header present? 
     7925{ echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
     7926echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
     7927cat >conftest.$ac_ext <<_ACEOF 
     7928/* confdefs.h.  */ 
     7929_ACEOF 
     7930cat confdefs.h >>conftest.$ac_ext 
     7931cat >>conftest.$ac_ext <<_ACEOF 
     7932/* end confdefs.h.  */ 
     7933#include <sys/ioctl.h> 
     7934_ACEOF 
     7935if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7936case "(($ac_try" in 
     7937  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7938  *) ac_try_echo=$ac_try;; 
     7939esac 
     7940eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7941  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7942  ac_status=$? 
     7943  grep -v '^ *+' conftest.er1 >conftest.err 
     7944  rm -f conftest.er1 
     7945  cat conftest.err >&5 
     7946  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7947  (exit $ac_status); } >/dev/null && { 
     7948         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7949         test ! -s conftest.err 
     7950       }; then 
     7951  ac_header_preproc=yes 
     7952else 
     7953  echo "$as_me: failed program was:" >&5 
     7954sed 's/^/| /' conftest.$ac_ext >&5 
     7955 
     7956  ac_header_preproc=no 
     7957fi 
     7958 
     7959rm -f conftest.err conftest.$ac_ext 
     7960{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7961echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7962 
     7963# So?  What about this header? 
     7964case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7965  yes:no: ) 
     7966    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7967echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7968    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
     7969echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
     7970    ac_header_preproc=yes 
     7971    ;; 
     7972  no:yes:* ) 
     7973    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
     7974echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
     7975    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
     7976echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
     7977    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
     7978echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
     7979    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7980echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7981    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
     7982echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
     7983    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
     7984echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
     7985 
     7986    ;; 
     7987esac 
     7988{ echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     7989echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
     7990if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     7991  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7992else 
     7993  ac_cv_header_sys_ioctl_h=$ac_header_preproc 
     7994fi 
     7995{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     7996echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
     7997 
     7998fi 
     7999if test $ac_cv_header_sys_ioctl_h = yes; then 
     8000  cat >>confdefs.h <<\_ACEOF 
     8001#define PJ_HAS_SYS_IOCTL_H 1 
     8002_ACEOF 
     8003 
     8004fi 
     8005 
     8006 
     8007if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8008  { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     8009echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
     8010if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8011  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8012fi 
     8013{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     8014echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
     8015else 
     8016  # Is the header compilable? 
     8017{ echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
     8018echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
     8019cat >conftest.$ac_ext <<_ACEOF 
     8020/* confdefs.h.  */ 
     8021_ACEOF 
     8022cat confdefs.h >>conftest.$ac_ext 
     8023cat >>conftest.$ac_ext <<_ACEOF 
     8024/* end confdefs.h.  */ 
     8025$ac_includes_default 
     8026#include <sys/select.h> 
     8027_ACEOF 
     8028rm -f conftest.$ac_objext 
     8029if { (ac_try="$ac_compile" 
     8030case "(($ac_try" in 
     8031  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8032  *) ac_try_echo=$ac_try;; 
     8033esac 
     8034eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8035  (eval "$ac_compile") 2>conftest.er1 
     8036  ac_status=$? 
     8037  grep -v '^ *+' conftest.er1 >conftest.err 
     8038  rm -f conftest.er1 
     8039  cat conftest.err >&5 
     8040  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8041  (exit $ac_status); } && { 
     8042         test -z "$ac_c_werror_flag" || 
     8043         test ! -s conftest.err 
     8044       } && test -s conftest.$ac_objext; then 
     8045  ac_header_compiler=yes 
     8046else 
     8047  echo "$as_me: failed program was:" >&5 
     8048sed 's/^/| /' conftest.$ac_ext >&5 
     8049 
     8050        ac_header_compiler=no 
     8051fi 
     8052 
     8053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8054{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8055echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8056 
     8057# Is the header present? 
     8058{ echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
     8059echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
     8060cat >conftest.$ac_ext <<_ACEOF 
     8061/* confdefs.h.  */ 
     8062_ACEOF 
     8063cat confdefs.h >>conftest.$ac_ext 
     8064cat >>conftest.$ac_ext <<_ACEOF 
     8065/* end confdefs.h.  */ 
     8066#include <sys/select.h> 
     8067_ACEOF 
     8068if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8069case "(($ac_try" in 
     8070  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8071  *) ac_try_echo=$ac_try;; 
     8072esac 
     8073eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8074  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8075  ac_status=$? 
     8076  grep -v '^ *+' conftest.er1 >conftest.err 
     8077  rm -f conftest.er1 
     8078  cat conftest.err >&5 
     8079  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8080  (exit $ac_status); } >/dev/null && { 
     8081         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8082         test ! -s conftest.err 
     8083       }; then 
     8084  ac_header_preproc=yes 
     8085else 
     8086  echo "$as_me: failed program was:" >&5 
     8087sed 's/^/| /' conftest.$ac_ext >&5 
     8088 
     8089  ac_header_preproc=no 
     8090fi 
     8091 
     8092rm -f conftest.err conftest.$ac_ext 
     8093{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8094echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8095 
     8096# So?  What about this header? 
     8097case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8098  yes:no: ) 
     8099    { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8100echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8101    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
     8102echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
     8103    ac_header_preproc=yes 
     8104    ;; 
     8105  no:yes:* ) 
     8106    { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
     8107echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
     8108    { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
     8109echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
     8110    { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
     8111echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
     8112    { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8113echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8114    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
     8115echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
     8116    { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
     8117echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
     8118 
     8119    ;; 
     8120esac 
     8121{ echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     8122echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
     8123if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8124  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8125else 
     8126  ac_cv_header_sys_select_h=$ac_header_preproc 
     8127fi 
     8128{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     8129echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
     8130 
     8131fi 
     8132if test $ac_cv_header_sys_select_h = yes; then 
     8133  cat >>confdefs.h <<\_ACEOF 
     8134#define PJ_HAS_SYS_SELECT_H 1 
     8135_ACEOF 
     8136 
     8137fi 
     8138 
     8139 
     8140if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8141  { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     8142echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
     8143if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8144  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8145fi 
     8146{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     8147echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
     8148else 
     8149  # Is the header compilable? 
     8150{ echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
     8151echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
     8152cat >conftest.$ac_ext <<_ACEOF 
     8153/* confdefs.h.  */ 
     8154_ACEOF 
     8155cat confdefs.h >>conftest.$ac_ext 
     8156cat >>conftest.$ac_ext <<_ACEOF 
     8157/* end confdefs.h.  */ 
     8158$ac_includes_default 
     8159#include <sys/socket.h> 
     8160_ACEOF 
     8161rm -f conftest.$ac_objext 
     8162if { (ac_try="$ac_compile" 
     8163case "(($ac_try" in 
     8164  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8165  *) ac_try_echo=$ac_try;; 
     8166esac 
     8167eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8168  (eval "$ac_compile") 2>conftest.er1 
     8169  ac_status=$? 
     8170  grep -v '^ *+' conftest.er1 >conftest.err 
     8171  rm -f conftest.er1 
     8172  cat conftest.err >&5 
     8173  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8174  (exit $ac_status); } && { 
     8175         test -z "$ac_c_werror_flag" || 
     8176         test ! -s conftest.err 
     8177       } && test -s conftest.$ac_objext; then 
     8178  ac_header_compiler=yes 
     8179else 
     8180  echo "$as_me: failed program was:" >&5 
     8181sed 's/^/| /' conftest.$ac_ext >&5 
     8182 
     8183        ac_header_compiler=no 
     8184fi 
     8185 
     8186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8187{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8188echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8189 
     8190# Is the header present? 
     8191{ echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
     8192echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
     8193cat >conftest.$ac_ext <<_ACEOF 
     8194/* confdefs.h.  */ 
     8195_ACEOF 
     8196cat confdefs.h >>conftest.$ac_ext 
     8197cat >>conftest.$ac_ext <<_ACEOF 
     8198/* end confdefs.h.  */ 
     8199#include <sys/socket.h> 
     8200_ACEOF 
     8201if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8202case "(($ac_try" in 
     8203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8204  *) ac_try_echo=$ac_try;; 
     8205esac 
     8206eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8207  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8208  ac_status=$? 
     8209  grep -v '^ *+' conftest.er1 >conftest.err 
     8210  rm -f conftest.er1 
     8211  cat conftest.err >&5 
     8212  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8213  (exit $ac_status); } >/dev/null && { 
     8214         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8215         test ! -s conftest.err 
     8216       }; then 
     8217  ac_header_preproc=yes 
     8218else 
     8219  echo "$as_me: failed program was:" >&5 
     8220sed 's/^/| /' conftest.$ac_ext >&5 
     8221 
     8222  ac_header_preproc=no 
     8223fi 
     8224 
     8225rm -f conftest.err conftest.$ac_ext 
     8226{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8227echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8228 
     8229# So?  What about this header? 
     8230case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8231  yes:no: ) 
     8232    { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8233echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8234    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
     8235echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
     8236    ac_header_preproc=yes 
     8237    ;; 
     8238  no:yes:* ) 
     8239    { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
     8240echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
     8241    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
     8242echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
     8243    { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
     8244echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
     8245    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8246echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8247    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
     8248echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
     8249    { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
     8250echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
     8251 
     8252    ;; 
     8253esac 
     8254{ echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     8255echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
     8256if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8257  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8258else 
     8259  ac_cv_header_sys_socket_h=$ac_header_preproc 
     8260fi 
     8261{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     8262echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
     8263 
     8264fi 
     8265if test $ac_cv_header_sys_socket_h = yes; then 
     8266  cat >>confdefs.h <<\_ACEOF 
     8267#define PJ_HAS_SYS_SOCKET_H 1 
     8268_ACEOF 
     8269 
     8270fi 
     8271 
     8272 
     8273if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8274  { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     8275echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
     8276if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8277  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8278fi 
     8279{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     8280echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
     8281else 
     8282  # Is the header compilable? 
     8283{ echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
     8284echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
     8285cat >conftest.$ac_ext <<_ACEOF 
     8286/* confdefs.h.  */ 
     8287_ACEOF 
     8288cat confdefs.h >>conftest.$ac_ext 
     8289cat >>conftest.$ac_ext <<_ACEOF 
     8290/* end confdefs.h.  */ 
     8291$ac_includes_default 
     8292#include <sys/time.h> 
     8293_ACEOF 
     8294rm -f conftest.$ac_objext 
     8295if { (ac_try="$ac_compile" 
     8296case "(($ac_try" in 
     8297  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8298  *) ac_try_echo=$ac_try;; 
     8299esac 
     8300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8301  (eval "$ac_compile") 2>conftest.er1 
     8302  ac_status=$? 
     8303  grep -v '^ *+' conftest.er1 >conftest.err 
     8304  rm -f conftest.er1 
     8305  cat conftest.err >&5 
     8306  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8307  (exit $ac_status); } && { 
     8308         test -z "$ac_c_werror_flag" || 
     8309         test ! -s conftest.err 
     8310       } && test -s conftest.$ac_objext; then 
     8311  ac_header_compiler=yes 
     8312else 
     8313  echo "$as_me: failed program was:" >&5 
     8314sed 's/^/| /' conftest.$ac_ext >&5 
     8315 
     8316        ac_header_compiler=no 
     8317fi 
     8318 
     8319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8320{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8321echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8322 
     8323# Is the header present? 
     8324{ echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
     8325echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
     8326cat >conftest.$ac_ext <<_ACEOF 
     8327/* confdefs.h.  */ 
     8328_ACEOF 
     8329cat confdefs.h >>conftest.$ac_ext 
     8330cat >>conftest.$ac_ext <<_ACEOF 
     8331/* end confdefs.h.  */ 
     8332#include <sys/time.h> 
     8333_ACEOF 
     8334if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8335case "(($ac_try" in 
     8336  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8337  *) ac_try_echo=$ac_try;; 
     8338esac 
     8339eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8340  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8341  ac_status=$? 
     8342  grep -v '^ *+' conftest.er1 >conftest.err 
     8343  rm -f conftest.er1 
     8344  cat conftest.err >&5 
     8345  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8346  (exit $ac_status); } >/dev/null && { 
     8347         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8348         test ! -s conftest.err 
     8349       }; then 
     8350  ac_header_preproc=yes 
     8351else 
     8352  echo "$as_me: failed program was:" >&5 
     8353sed 's/^/| /' conftest.$ac_ext >&5 
     8354 
     8355  ac_header_preproc=no 
     8356fi 
     8357 
     8358rm -f conftest.err conftest.$ac_ext 
     8359{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8360echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8361 
     8362# So?  What about this header? 
     8363case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8364  yes:no: ) 
     8365    { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8366echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8367    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
     8368echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
     8369    ac_header_preproc=yes 
     8370    ;; 
     8371  no:yes:* ) 
     8372    { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
     8373echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
     8374    { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
     8375echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
     8376    { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
     8377echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
     8378    { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8379echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8380    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
     8381echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
     8382    { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
     8383echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
     8384 
     8385    ;; 
     8386esac 
     8387{ echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     8388echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
     8389if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8390  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8391else 
     8392  ac_cv_header_sys_time_h=$ac_header_preproc 
     8393fi 
     8394{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     8395echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
     8396 
     8397fi 
     8398if test $ac_cv_header_sys_time_h = yes; then 
     8399  cat >>confdefs.h <<\_ACEOF 
     8400#define PJ_HAS_SYS_TIME_H 1 
     8401_ACEOF 
     8402 
     8403fi 
     8404 
     8405 
     8406if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8407  { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     8408echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
     8409if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8410  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8411fi 
     8412{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     8413echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
     8414else 
     8415  # Is the header compilable? 
     8416{ echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
     8417echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
     8418cat >conftest.$ac_ext <<_ACEOF 
     8419/* confdefs.h.  */ 
     8420_ACEOF 
     8421cat confdefs.h >>conftest.$ac_ext 
     8422cat >>conftest.$ac_ext <<_ACEOF 
     8423/* end confdefs.h.  */ 
     8424$ac_includes_default 
     8425#include <sys/timeb.h> 
     8426_ACEOF 
     8427rm -f conftest.$ac_objext 
     8428if { (ac_try="$ac_compile" 
     8429case "(($ac_try" in 
     8430  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8431  *) ac_try_echo=$ac_try;; 
     8432esac 
     8433eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8434  (eval "$ac_compile") 2>conftest.er1 
     8435  ac_status=$? 
     8436  grep -v '^ *+' conftest.er1 >conftest.err 
     8437  rm -f conftest.er1 
     8438  cat conftest.err >&5 
     8439  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8440  (exit $ac_status); } && { 
     8441         test -z "$ac_c_werror_flag" || 
     8442         test ! -s conftest.err 
     8443       } && test -s conftest.$ac_objext; then 
     8444  ac_header_compiler=yes 
     8445else 
     8446  echo "$as_me: failed program was:" >&5 
     8447sed 's/^/| /' conftest.$ac_ext >&5 
     8448 
     8449        ac_header_compiler=no 
     8450fi 
     8451 
     8452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8453{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8454echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8455 
     8456# Is the header present? 
     8457{ echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
     8458echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
     8459cat >conftest.$ac_ext <<_ACEOF 
     8460/* confdefs.h.  */ 
     8461_ACEOF 
     8462cat confdefs.h >>conftest.$ac_ext 
     8463cat >>conftest.$ac_ext <<_ACEOF 
     8464/* end confdefs.h.  */ 
     8465#include <sys/timeb.h> 
     8466_ACEOF 
     8467if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8468case "(($ac_try" in 
     8469  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8470  *) ac_try_echo=$ac_try;; 
     8471esac 
     8472eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8473  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8474  ac_status=$? 
     8475  grep -v '^ *+' conftest.er1 >conftest.err 
     8476  rm -f conftest.er1 
     8477  cat conftest.err >&5 
     8478  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8479  (exit $ac_status); } >/dev/null && { 
     8480         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8481         test ! -s conftest.err 
     8482       }; then 
     8483  ac_header_preproc=yes 
     8484else 
     8485  echo "$as_me: failed program was:" >&5 
     8486sed 's/^/| /' conftest.$ac_ext >&5 
     8487 
     8488  ac_header_preproc=no 
     8489fi 
     8490 
     8491rm -f conftest.err conftest.$ac_ext 
     8492{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8493echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8494 
     8495# So?  What about this header? 
     8496case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8497  yes:no: ) 
     8498    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8499echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8500    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
     8501echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
     8502    ac_header_preproc=yes 
     8503    ;; 
     8504  no:yes:* ) 
     8505    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
     8506echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
     8507    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
     8508echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
     8509    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
     8510echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
     8511    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8512echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8513    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
     8514echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
     8515    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
     8516echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
     8517 
     8518    ;; 
     8519esac 
     8520{ echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     8521echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
     8522if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8523  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8524else 
     8525  ac_cv_header_sys_timeb_h=$ac_header_preproc 
     8526fi 
     8527{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     8528echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
     8529 
     8530fi 
     8531if test $ac_cv_header_sys_timeb_h = yes; then 
     8532  cat >>confdefs.h <<\_ACEOF 
     8533#define PJ_HAS_SYS_TIMEB_H 1 
     8534_ACEOF 
     8535 
     8536fi 
     8537 
     8538 
     8539if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8540  { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     8541echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
     8542if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8543  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8544fi 
     8545{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     8546echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
     8547else 
     8548  # Is the header compilable? 
     8549{ echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
     8550echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
     8551cat >conftest.$ac_ext <<_ACEOF 
     8552/* confdefs.h.  */ 
     8553_ACEOF 
     8554cat confdefs.h >>conftest.$ac_ext 
     8555cat >>conftest.$ac_ext <<_ACEOF 
     8556/* end confdefs.h.  */ 
     8557$ac_includes_default 
     8558#include <sys/types.h> 
     8559_ACEOF 
     8560rm -f conftest.$ac_objext 
     8561if { (ac_try="$ac_compile" 
     8562case "(($ac_try" in 
     8563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8564  *) ac_try_echo=$ac_try;; 
     8565esac 
     8566eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8567  (eval "$ac_compile") 2>conftest.er1 
     8568  ac_status=$? 
     8569  grep -v '^ *+' conftest.er1 >conftest.err 
     8570  rm -f conftest.er1 
     8571  cat conftest.err >&5 
     8572  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8573  (exit $ac_status); } && { 
     8574         test -z "$ac_c_werror_flag" || 
     8575         test ! -s conftest.err 
     8576       } && test -s conftest.$ac_objext; then 
     8577  ac_header_compiler=yes 
     8578else 
     8579  echo "$as_me: failed program was:" >&5 
     8580sed 's/^/| /' conftest.$ac_ext >&5 
     8581 
     8582        ac_header_compiler=no 
     8583fi 
     8584 
     8585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8586{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8587echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8588 
     8589# Is the header present? 
     8590{ echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
     8591echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
     8592cat >conftest.$ac_ext <<_ACEOF 
     8593/* confdefs.h.  */ 
     8594_ACEOF 
     8595cat confdefs.h >>conftest.$ac_ext 
     8596cat >>conftest.$ac_ext <<_ACEOF 
     8597/* end confdefs.h.  */ 
     8598#include <sys/types.h> 
     8599_ACEOF 
     8600if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8601case "(($ac_try" in 
     8602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8603  *) ac_try_echo=$ac_try;; 
     8604esac 
     8605eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8606  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8607  ac_status=$? 
     8608  grep -v '^ *+' conftest.er1 >conftest.err 
     8609  rm -f conftest.er1 
     8610  cat conftest.err >&5 
     8611  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8612  (exit $ac_status); } >/dev/null && { 
     8613         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8614         test ! -s conftest.err 
     8615       }; then 
     8616  ac_header_preproc=yes 
     8617else 
     8618  echo "$as_me: failed program was:" >&5 
     8619sed 's/^/| /' conftest.$ac_ext >&5 
     8620 
     8621  ac_header_preproc=no 
     8622fi 
     8623 
     8624rm -f conftest.err conftest.$ac_ext 
     8625{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8626echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8627 
     8628# So?  What about this header? 
     8629case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8630  yes:no: ) 
     8631    { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8632echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8633    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
     8634echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
     8635    ac_header_preproc=yes 
     8636    ;; 
     8637  no:yes:* ) 
     8638    { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
     8639echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
     8640    { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
     8641echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
     8642    { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
     8643echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
     8644    { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8645echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8646    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
     8647echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
     8648    { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
     8649echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
     8650 
     8651    ;; 
     8652esac 
     8653{ echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     8654echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
     8655if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8656  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8657else 
     8658  ac_cv_header_sys_types_h=$ac_header_preproc 
     8659fi 
     8660{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     8661echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
     8662 
     8663fi 
     8664if test $ac_cv_header_sys_types_h = yes; then 
     8665  cat >>confdefs.h <<\_ACEOF 
     8666#define PJ_HAS_SYS_TYPES_H 1 
     8667_ACEOF 
     8668 
     8669fi 
     8670 
     8671 
     8672if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8673  { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
     8674echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
     8675if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8676  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8677fi 
     8678{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
     8679echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
     8680else 
     8681  # Is the header compilable? 
     8682{ echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
     8683echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
     8684cat >conftest.$ac_ext <<_ACEOF 
     8685/* confdefs.h.  */ 
     8686_ACEOF 
     8687cat confdefs.h >>conftest.$ac_ext 
     8688cat >>conftest.$ac_ext <<_ACEOF 
     8689/* end confdefs.h.  */ 
     8690$ac_includes_default 
     8691#include <sys/filio.h> 
     8692_ACEOF 
     8693rm -f conftest.$ac_objext 
     8694if { (ac_try="$ac_compile" 
     8695case "(($ac_try" in 
     8696  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8697  *) ac_try_echo=$ac_try;; 
     8698esac 
     8699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8700  (eval "$ac_compile") 2>conftest.er1 
     8701  ac_status=$? 
     8702  grep -v '^ *+' conftest.er1 >conftest.err 
     8703  rm -f conftest.er1 
     8704  cat conftest.err >&5 
     8705  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8706  (exit $ac_status); } && { 
     8707         test -z "$ac_c_werror_flag" || 
     8708         test ! -s conftest.err 
     8709       } && test -s conftest.$ac_objext; then 
     8710  ac_header_compiler=yes 
     8711else 
     8712  echo "$as_me: failed program was:" >&5 
     8713sed 's/^/| /' conftest.$ac_ext >&5 
     8714 
     8715        ac_header_compiler=no 
     8716fi 
     8717 
     8718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8719{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8720echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8721 
     8722# Is the header present? 
     8723{ echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
     8724echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
     8725cat >conftest.$ac_ext <<_ACEOF 
     8726/* confdefs.h.  */ 
     8727_ACEOF 
     8728cat confdefs.h >>conftest.$ac_ext 
     8729cat >>conftest.$ac_ext <<_ACEOF 
     8730/* end confdefs.h.  */ 
     8731#include <sys/filio.h> 
     8732_ACEOF 
     8733if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8734case "(($ac_try" in 
     8735  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8736  *) ac_try_echo=$ac_try;; 
     8737esac 
     8738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8739  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8740  ac_status=$? 
     8741  grep -v '^ *+' conftest.er1 >conftest.err 
     8742  rm -f conftest.er1 
     8743  cat conftest.err >&5 
     8744  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8745  (exit $ac_status); } >/dev/null && { 
     8746         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8747         test ! -s conftest.err 
     8748       }; then 
     8749  ac_header_preproc=yes 
     8750else 
     8751  echo "$as_me: failed program was:" >&5 
     8752sed 's/^/| /' conftest.$ac_ext >&5 
     8753 
     8754  ac_header_preproc=no 
     8755fi 
     8756 
     8757rm -f conftest.err conftest.$ac_ext 
     8758{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8759echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8760 
     8761# So?  What about this header? 
     8762case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8763  yes:no: ) 
     8764    { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8765echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8766    { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
     8767echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
     8768    ac_header_preproc=yes 
     8769    ;; 
     8770  no:yes:* ) 
     8771    { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
     8772echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
     8773    { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
     8774echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
     8775    { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
     8776echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
     8777    { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8778echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8779    { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
     8780echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
     8781    { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
     8782echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
     8783 
     8784    ;; 
     8785esac 
     8786{ echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
     8787echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
     8788if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8789  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8790else 
     8791  ac_cv_header_sys_filio_h=$ac_header_preproc 
     8792fi 
     8793{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
     8794echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
     8795 
     8796fi 
     8797if test $ac_cv_header_sys_filio_h = yes; then 
     8798  cat >>confdefs.h <<\_ACEOF 
     8799#define PJ_HAS_SYS_FILIO_H 1 
     8800_ACEOF 
     8801 
     8802fi 
     8803 
     8804 
     8805if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8806  { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
     8807echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
     8808if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8809  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8810fi 
     8811{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
     8812echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
     8813else 
     8814  # Is the header compilable? 
     8815{ echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
     8816echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
     8817cat >conftest.$ac_ext <<_ACEOF 
     8818/* confdefs.h.  */ 
     8819_ACEOF 
     8820cat confdefs.h >>conftest.$ac_ext 
     8821cat >>conftest.$ac_ext <<_ACEOF 
     8822/* end confdefs.h.  */ 
     8823$ac_includes_default 
     8824#include <sys/sockio.h> 
     8825_ACEOF 
     8826rm -f conftest.$ac_objext 
     8827if { (ac_try="$ac_compile" 
     8828case "(($ac_try" in 
     8829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8830  *) ac_try_echo=$ac_try;; 
     8831esac 
     8832eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8833  (eval "$ac_compile") 2>conftest.er1 
     8834  ac_status=$? 
     8835  grep -v '^ *+' conftest.er1 >conftest.err 
     8836  rm -f conftest.er1 
     8837  cat conftest.err >&5 
     8838  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8839  (exit $ac_status); } && { 
     8840         test -z "$ac_c_werror_flag" || 
     8841         test ! -s conftest.err 
     8842       } && test -s conftest.$ac_objext; then 
     8843  ac_header_compiler=yes 
     8844else 
     8845  echo "$as_me: failed program was:" >&5 
     8846sed 's/^/| /' conftest.$ac_ext >&5 
     8847 
     8848        ac_header_compiler=no 
     8849fi 
     8850 
     8851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8852{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8853echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8854 
     8855# Is the header present? 
     8856{ echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
     8857echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
     8858cat >conftest.$ac_ext <<_ACEOF 
     8859/* confdefs.h.  */ 
     8860_ACEOF 
     8861cat confdefs.h >>conftest.$ac_ext 
     8862cat >>conftest.$ac_ext <<_ACEOF 
     8863/* end confdefs.h.  */ 
     8864#include <sys/sockio.h> 
     8865_ACEOF 
     8866if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8867case "(($ac_try" in 
     8868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8869  *) ac_try_echo=$ac_try;; 
     8870esac 
     8871eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8872  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8873  ac_status=$? 
     8874  grep -v '^ *+' conftest.er1 >conftest.err 
     8875  rm -f conftest.er1 
     8876  cat conftest.err >&5 
     8877  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8878  (exit $ac_status); } >/dev/null && { 
     8879         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8880         test ! -s conftest.err 
     8881       }; then 
     8882  ac_header_preproc=yes 
     8883else 
     8884  echo "$as_me: failed program was:" >&5 
     8885sed 's/^/| /' conftest.$ac_ext >&5 
     8886 
     8887  ac_header_preproc=no 
     8888fi 
     8889 
     8890rm -f conftest.err conftest.$ac_ext 
     8891{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8892echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8893 
     8894# So?  What about this header? 
     8895case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8896  yes:no: ) 
     8897    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8898echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8899    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
     8900echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
     8901    ac_header_preproc=yes 
     8902    ;; 
     8903  no:yes:* ) 
     8904    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
     8905echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
     8906    { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
     8907echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
     8908    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
     8909echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
     8910    { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8911echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8912    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
     8913echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
     8914    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
     8915echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
     8916 
     8917    ;; 
     8918esac 
     8919{ echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
     8920echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
     8921if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8922  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8923else 
     8924  ac_cv_header_sys_sockio_h=$ac_header_preproc 
     8925fi 
     8926{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
     8927echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
     8928 
     8929fi 
     8930if test $ac_cv_header_sys_sockio_h = yes; then 
     8931  cat >>confdefs.h <<\_ACEOF 
     8932#define PJ_HAS_SYS_SOCKIO_H 1 
     8933_ACEOF 
     8934 
     8935fi 
     8936 
     8937 
     8938if test "${ac_cv_header_time_h+set}" = set; then 
     8939  { echo "$as_me:$LINENO: checking for time.h" >&5 
     8940echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
     8941if test "${ac_cv_header_time_h+set}" = set; then 
     8942  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8943fi 
     8944{ echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     8945echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
     8946else 
     8947  # Is the header compilable? 
     8948{ echo "$as_me:$LINENO: checking time.h usability" >&5 
     8949echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
     8950cat >conftest.$ac_ext <<_ACEOF 
     8951/* confdefs.h.  */ 
     8952_ACEOF 
     8953cat confdefs.h >>conftest.$ac_ext 
     8954cat >>conftest.$ac_ext <<_ACEOF 
     8955/* end confdefs.h.  */ 
     8956$ac_includes_default 
     8957#include <time.h> 
     8958_ACEOF 
     8959rm -f conftest.$ac_objext 
     8960if { (ac_try="$ac_compile" 
     8961case "(($ac_try" in 
     8962  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8963  *) ac_try_echo=$ac_try;; 
     8964esac 
     8965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8966  (eval "$ac_compile") 2>conftest.er1 
     8967  ac_status=$? 
     8968  grep -v '^ *+' conftest.er1 >conftest.err 
     8969  rm -f conftest.er1 
     8970  cat conftest.err >&5 
     8971  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8972  (exit $ac_status); } && { 
     8973         test -z "$ac_c_werror_flag" || 
     8974         test ! -s conftest.err 
     8975       } && test -s conftest.$ac_objext; then 
     8976  ac_header_compiler=yes 
     8977else 
     8978  echo "$as_me: failed program was:" >&5 
     8979sed 's/^/| /' conftest.$ac_ext >&5 
     8980 
     8981        ac_header_compiler=no 
     8982fi 
     8983 
     8984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8985{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8986echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8987 
     8988# Is the header present? 
     8989{ echo "$as_me:$LINENO: checking time.h presence" >&5 
     8990echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
     8991cat >conftest.$ac_ext <<_ACEOF 
     8992/* confdefs.h.  */ 
     8993_ACEOF 
     8994cat confdefs.h >>conftest.$ac_ext 
     8995cat >>conftest.$ac_ext <<_ACEOF 
     8996/* end confdefs.h.  */ 
     8997#include <time.h> 
     8998_ACEOF 
     8999if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9000case "(($ac_try" in 
     9001  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9002  *) ac_try_echo=$ac_try;; 
     9003esac 
     9004eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9005  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9006  ac_status=$? 
     9007  grep -v '^ *+' conftest.er1 >conftest.err 
     9008  rm -f conftest.er1 
     9009  cat conftest.err >&5 
     9010  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9011  (exit $ac_status); } >/dev/null && { 
     9012         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9013         test ! -s conftest.err 
     9014       }; then 
     9015  ac_header_preproc=yes 
     9016else 
     9017  echo "$as_me: failed program was:" >&5 
     9018sed 's/^/| /' conftest.$ac_ext >&5 
     9019 
     9020  ac_header_preproc=no 
     9021fi 
     9022 
     9023rm -f conftest.err conftest.$ac_ext 
     9024{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9025echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9026 
     9027# So?  What about this header? 
     9028case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9029  yes:no: ) 
     9030    { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9031echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9032    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
     9033echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
     9034    ac_header_preproc=yes 
     9035    ;; 
     9036  no:yes:* ) 
     9037    { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
     9038echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
     9039    { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
     9040echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
     9041    { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
     9042echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
     9043    { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9044echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9045    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
     9046echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
     9047    { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
     9048echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
     9049 
     9050    ;; 
     9051esac 
     9052{ echo "$as_me:$LINENO: checking for time.h" >&5 
     9053echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
     9054if test "${ac_cv_header_time_h+set}" = set; then 
     9055  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9056else 
     9057  ac_cv_header_time_h=$ac_header_preproc 
     9058fi 
     9059{ echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     9060echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
     9061 
     9062fi 
     9063if test $ac_cv_header_time_h = yes; then 
     9064  cat >>confdefs.h <<\_ACEOF 
     9065#define PJ_HAS_TIME_H 1 
     9066_ACEOF 
     9067 
     9068fi 
     9069 
     9070 
     9071if test "${ac_cv_header_unistd_h+set}" = set; then 
     9072  { echo "$as_me:$LINENO: checking for unistd.h" >&5 
     9073echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
     9074if test "${ac_cv_header_unistd_h+set}" = set; then 
     9075  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9076fi 
     9077{ echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     9078echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
     9079else 
     9080  # Is the header compilable? 
     9081{ echo "$as_me:$LINENO: checking unistd.h usability" >&5 
     9082echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
     9083cat >conftest.$ac_ext <<_ACEOF 
     9084/* confdefs.h.  */ 
     9085_ACEOF 
     9086cat confdefs.h >>conftest.$ac_ext 
     9087cat >>conftest.$ac_ext <<_ACEOF 
     9088/* end confdefs.h.  */ 
     9089$ac_includes_default 
     9090#include <unistd.h> 
     9091_ACEOF 
     9092rm -f conftest.$ac_objext 
     9093if { (ac_try="$ac_compile" 
     9094case "(($ac_try" in 
     9095  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9096  *) ac_try_echo=$ac_try;; 
     9097esac 
     9098eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9099  (eval "$ac_compile") 2>conftest.er1 
     9100  ac_status=$? 
     9101  grep -v '^ *+' conftest.er1 >conftest.err 
     9102  rm -f conftest.er1 
     9103  cat conftest.err >&5 
     9104  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9105  (exit $ac_status); } && { 
     9106         test -z "$ac_c_werror_flag" || 
     9107         test ! -s conftest.err 
     9108       } && test -s conftest.$ac_objext; then 
     9109  ac_header_compiler=yes 
     9110else 
     9111  echo "$as_me: failed program was:" >&5 
     9112sed 's/^/| /' conftest.$ac_ext >&5 
     9113 
     9114        ac_header_compiler=no 
     9115fi 
     9116 
     9117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9118{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9119echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9120 
     9121# Is the header present? 
     9122{ echo "$as_me:$LINENO: checking unistd.h presence" >&5 
     9123echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
     9124cat >conftest.$ac_ext <<_ACEOF 
     9125/* confdefs.h.  */ 
     9126_ACEOF 
     9127cat confdefs.h >>conftest.$ac_ext 
     9128cat >>conftest.$ac_ext <<_ACEOF 
     9129/* end confdefs.h.  */ 
     9130#include <unistd.h> 
     9131_ACEOF 
     9132if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9133case "(($ac_try" in 
     9134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9135  *) ac_try_echo=$ac_try;; 
     9136esac 
     9137eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9138  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9139  ac_status=$? 
     9140  grep -v '^ *+' conftest.er1 >conftest.err 
     9141  rm -f conftest.er1 
     9142  cat conftest.err >&5 
     9143  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9144  (exit $ac_status); } >/dev/null && { 
     9145         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9146         test ! -s conftest.err 
     9147       }; then 
     9148  ac_header_preproc=yes 
     9149else 
     9150  echo "$as_me: failed program was:" >&5 
     9151sed 's/^/| /' conftest.$ac_ext >&5 
     9152 
     9153  ac_header_preproc=no 
     9154fi 
     9155 
     9156rm -f conftest.err conftest.$ac_ext 
     9157{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9158echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9159 
     9160# So?  What about this header? 
     9161case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9162  yes:no: ) 
     9163    { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9164echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9165    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
     9166echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
     9167    ac_header_preproc=yes 
     9168    ;; 
     9169  no:yes:* ) 
     9170    { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
     9171echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
     9172    { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
     9173echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
     9174    { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
     9175echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
     9176    { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9177echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9178    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
     9179echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
     9180    { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
     9181echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
     9182 
     9183    ;; 
     9184esac 
     9185{ echo "$as_me:$LINENO: checking for unistd.h" >&5 
     9186echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
     9187if test "${ac_cv_header_unistd_h+set}" = set; then 
     9188  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9189else 
     9190  ac_cv_header_unistd_h=$ac_header_preproc 
     9191fi 
     9192{ echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     9193echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
     9194 
     9195fi 
     9196if test $ac_cv_header_unistd_h = yes; then 
     9197  cat >>confdefs.h <<\_ACEOF 
     9198#define PJ_HAS_UNISTD_H 1 
     9199_ACEOF 
     9200 
     9201fi 
     9202 
     9203 
     9204if test "${ac_cv_header_winsock_h+set}" = set; then 
     9205  { echo "$as_me:$LINENO: checking for winsock.h" >&5 
     9206echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
     9207if test "${ac_cv_header_winsock_h+set}" = set; then 
     9208  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9209fi 
     9210{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     9211echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
     9212else 
     9213  # Is the header compilable? 
     9214{ echo "$as_me:$LINENO: checking winsock.h usability" >&5 
     9215echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
     9216cat >conftest.$ac_ext <<_ACEOF 
     9217/* confdefs.h.  */ 
     9218_ACEOF 
     9219cat confdefs.h >>conftest.$ac_ext 
     9220cat >>conftest.$ac_ext <<_ACEOF 
     9221/* end confdefs.h.  */ 
     9222$ac_includes_default 
     9223#include <winsock.h> 
     9224_ACEOF 
     9225rm -f conftest.$ac_objext 
     9226if { (ac_try="$ac_compile" 
     9227case "(($ac_try" in 
     9228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9229  *) ac_try_echo=$ac_try;; 
     9230esac 
     9231eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9232  (eval "$ac_compile") 2>conftest.er1 
     9233  ac_status=$? 
     9234  grep -v '^ *+' conftest.er1 >conftest.err 
     9235  rm -f conftest.er1 
     9236  cat conftest.err >&5 
     9237  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9238  (exit $ac_status); } && { 
     9239         test -z "$ac_c_werror_flag" || 
     9240         test ! -s conftest.err 
     9241       } && test -s conftest.$ac_objext; then 
     9242  ac_header_compiler=yes 
     9243else 
     9244  echo "$as_me: failed program was:" >&5 
     9245sed 's/^/| /' conftest.$ac_ext >&5 
     9246 
     9247        ac_header_compiler=no 
     9248fi 
     9249 
     9250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9251{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9252echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9253 
     9254# Is the header present? 
     9255{ echo "$as_me:$LINENO: checking winsock.h presence" >&5 
     9256echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
     9257cat >conftest.$ac_ext <<_ACEOF 
     9258/* confdefs.h.  */ 
     9259_ACEOF 
     9260cat confdefs.h >>conftest.$ac_ext 
     9261cat >>conftest.$ac_ext <<_ACEOF 
     9262/* end confdefs.h.  */ 
     9263#include <winsock.h> 
     9264_ACEOF 
     9265if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9266case "(($ac_try" in 
     9267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9268  *) ac_try_echo=$ac_try;; 
     9269esac 
     9270eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9271  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9272  ac_status=$? 
     9273  grep -v '^ *+' conftest.er1 >conftest.err 
     9274  rm -f conftest.er1 
     9275  cat conftest.err >&5 
     9276  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9277  (exit $ac_status); } >/dev/null && { 
     9278         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9279         test ! -s conftest.err 
     9280       }; then 
     9281  ac_header_preproc=yes 
     9282else 
     9283  echo "$as_me: failed program was:" >&5 
     9284sed 's/^/| /' conftest.$ac_ext >&5 
     9285 
     9286  ac_header_preproc=no 
     9287fi 
     9288 
     9289rm -f conftest.err conftest.$ac_ext 
     9290{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9291echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9292 
     9293# So?  What about this header? 
     9294case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9295  yes:no: ) 
     9296    { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9297echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9298    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
     9299echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
     9300    ac_header_preproc=yes 
     9301    ;; 
     9302  no:yes:* ) 
     9303    { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
     9304echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
     9305    { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
     9306echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
     9307    { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
     9308echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
     9309    { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9310echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9311    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
     9312echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
     9313    { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
     9314echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
     9315 
     9316    ;; 
     9317esac 
     9318{ echo "$as_me:$LINENO: checking for winsock.h" >&5 
     9319echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
     9320if test "${ac_cv_header_winsock_h+set}" = set; then 
     9321  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9322else 
     9323  ac_cv_header_winsock_h=$ac_header_preproc 
     9324fi 
     9325{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     9326echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
     9327 
     9328fi 
     9329if test $ac_cv_header_winsock_h = yes; then 
     9330  cat >>confdefs.h <<\_ACEOF 
     9331#define PJ_HAS_WINSOCK_H 1 
     9332_ACEOF 
     9333 
     9334fi 
     9335 
     9336 
     9337if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9338  { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     9339echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
     9340if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9341  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9342fi 
     9343{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     9344echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
     9345else 
     9346  # Is the header compilable? 
     9347{ echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
     9348echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
     9349cat >conftest.$ac_ext <<_ACEOF 
     9350/* confdefs.h.  */ 
     9351_ACEOF 
     9352cat confdefs.h >>conftest.$ac_ext 
     9353cat >>conftest.$ac_ext <<_ACEOF 
     9354/* end confdefs.h.  */ 
     9355$ac_includes_default 
     9356#include <winsock2.h> 
     9357_ACEOF 
     9358rm -f conftest.$ac_objext 
     9359if { (ac_try="$ac_compile" 
     9360case "(($ac_try" in 
     9361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9362  *) ac_try_echo=$ac_try;; 
     9363esac 
     9364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9365  (eval "$ac_compile") 2>conftest.er1 
     9366  ac_status=$? 
     9367  grep -v '^ *+' conftest.er1 >conftest.err 
     9368  rm -f conftest.er1 
     9369  cat conftest.err >&5 
     9370  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9371  (exit $ac_status); } && { 
     9372         test -z "$ac_c_werror_flag" || 
     9373         test ! -s conftest.err 
     9374       } && test -s conftest.$ac_objext; then 
     9375  ac_header_compiler=yes 
     9376else 
     9377  echo "$as_me: failed program was:" >&5 
     9378sed 's/^/| /' conftest.$ac_ext >&5 
     9379 
     9380        ac_header_compiler=no 
     9381fi 
     9382 
     9383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9384{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9385echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9386 
     9387# Is the header present? 
     9388{ echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
     9389echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
     9390cat >conftest.$ac_ext <<_ACEOF 
     9391/* confdefs.h.  */ 
     9392_ACEOF 
     9393cat confdefs.h >>conftest.$ac_ext 
     9394cat >>conftest.$ac_ext <<_ACEOF 
     9395/* end confdefs.h.  */ 
     9396#include <winsock2.h> 
     9397_ACEOF 
     9398if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9399case "(($ac_try" in 
     9400  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9401  *) ac_try_echo=$ac_try;; 
     9402esac 
     9403eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9404  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9405  ac_status=$? 
     9406  grep -v '^ *+' conftest.er1 >conftest.err 
     9407  rm -f conftest.er1 
     9408  cat conftest.err >&5 
     9409  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9410  (exit $ac_status); } >/dev/null && { 
     9411         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9412         test ! -s conftest.err 
     9413       }; then 
     9414  ac_header_preproc=yes 
     9415else 
     9416  echo "$as_me: failed program was:" >&5 
     9417sed 's/^/| /' conftest.$ac_ext >&5 
     9418 
     9419  ac_header_preproc=no 
     9420fi 
     9421 
     9422rm -f conftest.err conftest.$ac_ext 
     9423{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9424echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9425 
     9426# So?  What about this header? 
     9427case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9428  yes:no: ) 
     9429    { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9430echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9431    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
     9432echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
     9433    ac_header_preproc=yes 
     9434    ;; 
     9435  no:yes:* ) 
     9436    { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
     9437echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
     9438    { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
     9439echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
     9440    { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
     9441echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
     9442    { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9443echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9444    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
     9445echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
     9446    { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
     9447echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
     9448 
     9449    ;; 
     9450esac 
     9451{ echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     9452echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
     9453if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9454  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9455else 
     9456  ac_cv_header_winsock2_h=$ac_header_preproc 
     9457fi 
     9458{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     9459echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
     9460 
     9461fi 
     9462if test $ac_cv_header_winsock2_h = yes; then 
     9463  cat >>confdefs.h <<\_ACEOF 
     9464#define PJ_HAS_WINSOCK2_H 1 
     9465_ACEOF 
     9466 
     9467fi 
     9468 
     9469 
     9470{ echo "$as_me:$LINENO: checking for mswsock.h" >&5 
     9471echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
     9472if test "${ac_cv_header_mswsock_h+set}" = set; then 
     9473  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9474else 
     9475  cat >conftest.$ac_ext <<_ACEOF 
     9476/* confdefs.h.  */ 
     9477_ACEOF 
     9478cat confdefs.h >>conftest.$ac_ext 
     9479cat >>conftest.$ac_ext <<_ACEOF 
     9480/* end confdefs.h.  */ 
     9481#if PJ_HAS_WINSOCK2_H 
    49299482                  #     include <winsock2.h> 
    49309483                  #elif PJ_HAS_WINSOCK_H 
     
    49329485                  #endif 
    49339486 
    4934 " 
    4935 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
    4936   $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
    4937  
    4938 fi 
    4939  
    4940  
    4941 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
    4942 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
    4943   $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
    4944  
    4945 fi 
    4946  
    4947  
    4948 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
    4949 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
     9487 
     9488#include <mswsock.h> 
     9489_ACEOF 
     9490rm -f conftest.$ac_objext 
     9491if { (ac_try="$ac_compile" 
     9492case "(($ac_try" in 
     9493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9494  *) ac_try_echo=$ac_try;; 
     9495esac 
     9496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9497  (eval "$ac_compile") 2>conftest.er1 
     9498  ac_status=$? 
     9499  grep -v '^ *+' conftest.er1 >conftest.err 
     9500  rm -f conftest.er1 
     9501  cat conftest.err >&5 
     9502  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9503  (exit $ac_status); } && { 
     9504         test -z "$ac_c_werror_flag" || 
     9505         test ! -s conftest.err 
     9506       } && test -s conftest.$ac_objext; then 
     9507  ac_cv_header_mswsock_h=yes 
     9508else 
     9509  echo "$as_me: failed program was:" >&5 
     9510sed 's/^/| /' conftest.$ac_ext >&5 
     9511 
     9512        ac_cv_header_mswsock_h=no 
     9513fi 
     9514 
     9515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9516fi 
     9517{ echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
     9518echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
     9519if test $ac_cv_header_mswsock_h = yes; then 
     9520  cat >>confdefs.h <<\_ACEOF 
     9521#define PJ_HAS_MSWSOCK_H 1 
     9522_ACEOF 
     9523 
     9524fi 
     9525 
     9526 
     9527if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9528  { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
     9529echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
     9530if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9531  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9532fi 
     9533{ echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
     9534echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
     9535else 
     9536  # Is the header compilable? 
     9537{ echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
     9538echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
     9539cat >conftest.$ac_ext <<_ACEOF 
     9540/* confdefs.h.  */ 
     9541_ACEOF 
     9542cat confdefs.h >>conftest.$ac_ext 
     9543cat >>conftest.$ac_ext <<_ACEOF 
     9544/* end confdefs.h.  */ 
     9545$ac_includes_default 
     9546#include <ws2tcpip.h> 
     9547_ACEOF 
     9548rm -f conftest.$ac_objext 
     9549if { (ac_try="$ac_compile" 
     9550case "(($ac_try" in 
     9551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9552  *) ac_try_echo=$ac_try;; 
     9553esac 
     9554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9555  (eval "$ac_compile") 2>conftest.er1 
     9556  ac_status=$? 
     9557  grep -v '^ *+' conftest.er1 >conftest.err 
     9558  rm -f conftest.er1 
     9559  cat conftest.err >&5 
     9560  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9561  (exit $ac_status); } && { 
     9562         test -z "$ac_c_werror_flag" || 
     9563         test ! -s conftest.err 
     9564       } && test -s conftest.$ac_objext; then 
     9565  ac_header_compiler=yes 
     9566else 
     9567  echo "$as_me: failed program was:" >&5 
     9568sed 's/^/| /' conftest.$ac_ext >&5 
     9569 
     9570        ac_header_compiler=no 
     9571fi 
     9572 
     9573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9574{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9575echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9576 
     9577# Is the header present? 
     9578{ echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
     9579echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
     9580cat >conftest.$ac_ext <<_ACEOF 
     9581/* confdefs.h.  */ 
     9582_ACEOF 
     9583cat confdefs.h >>conftest.$ac_ext 
     9584cat >>conftest.$ac_ext <<_ACEOF 
     9585/* end confdefs.h.  */ 
     9586#include <ws2tcpip.h> 
     9587_ACEOF 
     9588if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9589case "(($ac_try" in 
     9590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9591  *) ac_try_echo=$ac_try;; 
     9592esac 
     9593eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9594  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9595  ac_status=$? 
     9596  grep -v '^ *+' conftest.er1 >conftest.err 
     9597  rm -f conftest.er1 
     9598  cat conftest.err >&5 
     9599  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9600  (exit $ac_status); } >/dev/null && { 
     9601         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9602         test ! -s conftest.err 
     9603       }; then 
     9604  ac_header_preproc=yes 
     9605else 
     9606  echo "$as_me: failed program was:" >&5 
     9607sed 's/^/| /' conftest.$ac_ext >&5 
     9608 
     9609  ac_header_preproc=no 
     9610fi 
     9611 
     9612rm -f conftest.err conftest.$ac_ext 
     9613{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9614echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9615 
     9616# So?  What about this header? 
     9617case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9618  yes:no: ) 
     9619    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9620echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9621    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
     9622echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
     9623    ac_header_preproc=yes 
     9624    ;; 
     9625  no:yes:* ) 
     9626    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
     9627echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
     9628    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
     9629echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
     9630    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
     9631echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
     9632    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9633echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9634    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
     9635echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
     9636    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
     9637echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
     9638 
     9639    ;; 
     9640esac 
     9641{ echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
     9642echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
     9643if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9644  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9645else 
     9646  ac_cv_header_ws2tcpip_h=$ac_header_preproc 
     9647fi 
     9648{ echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
     9649echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
     9650 
     9651fi 
     9652if test $ac_cv_header_ws2tcpip_h = yes; then 
     9653  cat >>confdefs.h <<\_ACEOF 
     9654#define PJ_HAS_WS2TCPIP_H 1 
     9655_ACEOF 
     9656 
     9657fi 
     9658 
     9659 
     9660if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9661  { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
     9662echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
     9663if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9664  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9665fi 
     9666{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
     9667echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
     9668else 
     9669  # Is the header compilable? 
     9670{ echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
     9671echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
     9672cat >conftest.$ac_ext <<_ACEOF 
     9673/* confdefs.h.  */ 
     9674_ACEOF 
     9675cat confdefs.h >>conftest.$ac_ext 
     9676cat >>conftest.$ac_ext <<_ACEOF 
     9677/* end confdefs.h.  */ 
     9678$ac_includes_default 
     9679#include <uuid/uuid.h> 
     9680_ACEOF 
     9681rm -f conftest.$ac_objext 
     9682if { (ac_try="$ac_compile" 
     9683case "(($ac_try" in 
     9684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9685  *) ac_try_echo=$ac_try;; 
     9686esac 
     9687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9688  (eval "$ac_compile") 2>conftest.er1 
     9689  ac_status=$? 
     9690  grep -v '^ *+' conftest.er1 >conftest.err 
     9691  rm -f conftest.er1 
     9692  cat conftest.err >&5 
     9693  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9694  (exit $ac_status); } && { 
     9695         test -z "$ac_c_werror_flag" || 
     9696         test ! -s conftest.err 
     9697       } && test -s conftest.$ac_objext; then 
     9698  ac_header_compiler=yes 
     9699else 
     9700  echo "$as_me: failed program was:" >&5 
     9701sed 's/^/| /' conftest.$ac_ext >&5 
     9702 
     9703        ac_header_compiler=no 
     9704fi 
     9705 
     9706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9707{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9708echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9709 
     9710# Is the header present? 
     9711{ echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
     9712echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
     9713cat >conftest.$ac_ext <<_ACEOF 
     9714/* confdefs.h.  */ 
     9715_ACEOF 
     9716cat confdefs.h >>conftest.$ac_ext 
     9717cat >>conftest.$ac_ext <<_ACEOF 
     9718/* end confdefs.h.  */ 
     9719#include <uuid/uuid.h> 
     9720_ACEOF 
     9721if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9722case "(($ac_try" in 
     9723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9724  *) ac_try_echo=$ac_try;; 
     9725esac 
     9726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9727  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9728  ac_status=$? 
     9729  grep -v '^ *+' conftest.er1 >conftest.err 
     9730  rm -f conftest.er1 
     9731  cat conftest.err >&5 
     9732  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9733  (exit $ac_status); } >/dev/null && { 
     9734         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9735         test ! -s conftest.err 
     9736       }; then 
     9737  ac_header_preproc=yes 
     9738else 
     9739  echo "$as_me: failed program was:" >&5 
     9740sed 's/^/| /' conftest.$ac_ext >&5 
     9741 
     9742  ac_header_preproc=no 
     9743fi 
     9744 
     9745rm -f conftest.err conftest.$ac_ext 
     9746{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9747echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9748 
     9749# So?  What about this header? 
     9750case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9751  yes:no: ) 
     9752    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9753echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9754    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
     9755echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
     9756    ac_header_preproc=yes 
     9757    ;; 
     9758  no:yes:* ) 
     9759    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
     9760echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
     9761    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
     9762echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
     9763    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
     9764echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
     9765    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9766echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9767    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
     9768echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
     9769    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
     9770echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
     9771 
     9772    ;; 
     9773esac 
     9774{ echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
     9775echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
     9776if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9777  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9778else 
     9779  ac_cv_header_uuid_uuid_h=$ac_header_preproc 
     9780fi 
     9781{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
     9782echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
     9783 
     9784fi 
     9785if test $ac_cv_header_uuid_uuid_h = yes; then 
    49509786  ac_has_uuid_h=1 
    49519787fi 
    49529788 
    49539789 
    4954 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
     9790{ echo "$as_me:$LINENO: checking for net/if.h" >&5 
     9791echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
     9792if test "${ac_cv_header_net_if_h+set}" = set; then 
     9793  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9794else 
     9795  cat >conftest.$ac_ext <<_ACEOF 
     9796/* confdefs.h.  */ 
     9797_ACEOF 
     9798cat confdefs.h >>conftest.$ac_ext 
     9799cat >>conftest.$ac_ext <<_ACEOF 
     9800/* end confdefs.h.  */ 
     9801#if PJ_HAS_SYS_TYPES_H 
    49559802                  #     include <sys/types.h> 
    49569803                  #endif 
     
    49609807                  #endif 
    49619808 
    4962 " 
    4963 if test "x$ac_cv_header_net_if_h" = x""yes; then : 
    4964   $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
    4965  
    4966 fi 
    4967  
    4968  
    4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
    4970 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 
     9809 
     9810#include <net/if.h> 
     9811_ACEOF 
     9812rm -f conftest.$ac_objext 
     9813if { (ac_try="$ac_compile" 
     9814case "(($ac_try" in 
     9815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9816  *) ac_try_echo=$ac_try;; 
     9817esac 
     9818eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9819  (eval "$ac_compile") 2>conftest.er1 
     9820  ac_status=$? 
     9821  grep -v '^ *+' conftest.er1 >conftest.err 
     9822  rm -f conftest.er1 
     9823  cat conftest.err >&5 
     9824  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9825  (exit $ac_status); } && { 
     9826         test -z "$ac_c_werror_flag" || 
     9827         test ! -s conftest.err 
     9828       } && test -s conftest.$ac_objext; then 
     9829  ac_cv_header_net_if_h=yes 
     9830else 
     9831  echo "$as_me: failed program was:" >&5 
     9832sed 's/^/| /' conftest.$ac_ext >&5 
     9833 
     9834        ac_cv_header_net_if_h=no 
     9835fi 
     9836 
     9837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9838fi 
     9839{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
     9840echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
     9841if test $ac_cv_header_net_if_h = yes; then 
     9842  cat >>confdefs.h <<\_ACEOF 
     9843#define PJ_HAS_NET_IF_H 1 
     9844_ACEOF 
     9845 
     9846fi 
     9847 
     9848 
     9849{ echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
     9850echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
    49719851cat >>confdefs.h <<_ACEOF 
    49729852#define PJ_OS_NAME "$target" 
     
    49749854 
    49759855 
    4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    4977 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    4978 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
    4979  
    4980  
    4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    4982 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    4983 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
    4984  
    4985  
    4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
    4987 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
    4988 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
    4989  
    4990  
    4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    4992 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    4993 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
    4994  
    4995  
    4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    4997 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    4998 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
    4999  
    5000  
    5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
    5002 $as_echo_n "checking if inet_aton() is available... " >&6; } 
    5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9856{ echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     9857echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     9858cat >>confdefs.h <<\_ACEOF 
     9859#define PJ_HAS_ERRNO_VAR 1 
     9860_ACEOF 
     9861 
     9862 
     9863{ echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     9864echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     9865cat >>confdefs.h <<\_ACEOF 
     9866#define PJ_HAS_HIGH_RES_TIMER 1 
     9867_ACEOF 
     9868 
     9869 
     9870{ echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
     9871echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
     9872cat >>confdefs.h <<\_ACEOF 
     9873#define PJ_HAS_MALLOC 1 
     9874_ACEOF 
     9875 
     9876 
     9877{ echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     9878echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     9879cat >>confdefs.h <<\_ACEOF 
     9880#define PJ_NATIVE_STRING_IS_UNICODE 0 
     9881_ACEOF 
     9882 
     9883 
     9884{ echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     9885echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     9886cat >>confdefs.h <<\_ACEOF 
     9887#define PJ_ATOMIC_VALUE_TYPE long 
     9888_ACEOF 
     9889 
     9890 
     9891{ echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
     9892echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
     9893cat >conftest.$ac_ext <<_ACEOF 
     9894/* confdefs.h.  */ 
     9895_ACEOF 
     9896cat confdefs.h >>conftest.$ac_ext 
     9897cat >>conftest.$ac_ext <<_ACEOF 
    50049898/* end confdefs.h.  */ 
    50059899#include <sys/types.h> 
     
    50149908} 
    50159909_ACEOF 
    5016 if ac_fn_c_try_compile "$LINENO"; then : 
    5017   $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
    5018  
    5019                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5020 $as_echo "yes" >&6; } 
    5021 else 
    5022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5023 $as_echo "no" >&6; } 
    5024 fi 
     9910rm -f conftest.$ac_objext 
     9911if { (ac_try="$ac_compile" 
     9912case "(($ac_try" in 
     9913  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9914  *) ac_try_echo=$ac_try;; 
     9915esac 
     9916eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9917  (eval "$ac_compile") 2>conftest.er1 
     9918  ac_status=$? 
     9919  grep -v '^ *+' conftest.er1 >conftest.err 
     9920  rm -f conftest.er1 
     9921  cat conftest.err >&5 
     9922  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9923  (exit $ac_status); } && { 
     9924         test -z "$ac_c_werror_flag" || 
     9925         test ! -s conftest.err 
     9926       } && test -s conftest.$ac_objext; then 
     9927  cat >>confdefs.h <<\_ACEOF 
     9928#define PJ_SOCK_HAS_INET_ATON 1 
     9929_ACEOF 
     9930 
     9931                   { echo "$as_me:$LINENO: result: yes" >&5 
     9932echo "${ECHO_T}yes" >&6; } 
     9933else 
     9934  echo "$as_me: failed program was:" >&5 
     9935sed 's/^/| /' conftest.$ac_ext >&5 
     9936 
     9937        { echo "$as_me:$LINENO: result: no" >&5 
     9938echo "${ECHO_T}no" >&6; } 
     9939fi 
     9940 
    50259941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50269942 
    5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
    5028 $as_echo_n "checking if inet_pton() is available... " >&6; } 
    5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9943{ echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
     9944echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
     9945cat >conftest.$ac_ext <<_ACEOF 
     9946/* confdefs.h.  */ 
     9947_ACEOF 
     9948cat confdefs.h >>conftest.$ac_ext 
     9949cat >>conftest.$ac_ext <<_ACEOF 
    50309950/* end confdefs.h.  */ 
    50319951#include <sys/types.h> 
     
    50409960} 
    50419961_ACEOF 
    5042 if ac_fn_c_try_compile "$LINENO"; then : 
    5043   $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
    5044  
    5045                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5046 $as_echo "yes" >&6; } 
    5047 else 
    5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5049 $as_echo "no" >&6; } 
    5050 fi 
     9962rm -f conftest.$ac_objext 
     9963if { (ac_try="$ac_compile" 
     9964case "(($ac_try" in 
     9965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9966  *) ac_try_echo=$ac_try;; 
     9967esac 
     9968eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9969  (eval "$ac_compile") 2>conftest.er1 
     9970  ac_status=$? 
     9971  grep -v '^ *+' conftest.er1 >conftest.err 
     9972  rm -f conftest.er1 
     9973  cat conftest.err >&5 
     9974  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9975  (exit $ac_status); } && { 
     9976         test -z "$ac_c_werror_flag" || 
     9977         test ! -s conftest.err 
     9978       } && test -s conftest.$ac_objext; then 
     9979  cat >>confdefs.h <<\_ACEOF 
     9980#define PJ_SOCK_HAS_INET_PTON 1 
     9981_ACEOF 
     9982 
     9983                   { echo "$as_me:$LINENO: result: yes" >&5 
     9984echo "${ECHO_T}yes" >&6; } 
     9985else 
     9986  echo "$as_me: failed program was:" >&5 
     9987sed 's/^/| /' conftest.$ac_ext >&5 
     9988 
     9989        { echo "$as_me:$LINENO: result: no" >&5 
     9990echo "${ECHO_T}no" >&6; } 
     9991fi 
     9992 
    50519993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50529994 
    5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
    5054 $as_echo_n "checking if inet_ntop() is available... " >&6; } 
    5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9995{ echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
     9996echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
     9997cat >conftest.$ac_ext <<_ACEOF 
     9998/* confdefs.h.  */ 
     9999_ACEOF 
     10000cat confdefs.h >>conftest.$ac_ext 
     10001cat >>conftest.$ac_ext <<_ACEOF 
    505610002/* end confdefs.h.  */ 
    505710003#include <sys/types.h> 
     
    506610012} 
    506710013_ACEOF 
    5068 if ac_fn_c_try_compile "$LINENO"; then : 
    5069   $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
    5070  
    5071                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5072 $as_echo "yes" >&6; } 
    5073 else 
    5074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5075 $as_echo "no" >&6; } 
    5076 fi 
     10014rm -f conftest.$ac_objext 
     10015if { (ac_try="$ac_compile" 
     10016case "(($ac_try" in 
     10017  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10018  *) ac_try_echo=$ac_try;; 
     10019esac 
     10020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10021  (eval "$ac_compile") 2>conftest.er1 
     10022  ac_status=$? 
     10023  grep -v '^ *+' conftest.er1 >conftest.err 
     10024  rm -f conftest.er1 
     10025  cat conftest.err >&5 
     10026  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10027  (exit $ac_status); } && { 
     10028         test -z "$ac_c_werror_flag" || 
     10029         test ! -s conftest.err 
     10030       } && test -s conftest.$ac_objext; then 
     10031  cat >>confdefs.h <<\_ACEOF 
     10032#define PJ_SOCK_HAS_INET_NTOP 1 
     10033_ACEOF 
     10034 
     10035                   { echo "$as_me:$LINENO: result: yes" >&5 
     10036echo "${ECHO_T}yes" >&6; } 
     10037else 
     10038  echo "$as_me: failed program was:" >&5 
     10039sed 's/^/| /' conftest.$ac_ext >&5 
     10040 
     10041        { echo "$as_me:$LINENO: result: no" >&5 
     10042echo "${ECHO_T}no" >&6; } 
     10043fi 
     10044 
    507710045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    507810046 
    5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
    5080 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 
    5081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10047{ echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
     10048echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
     10049cat >conftest.$ac_ext <<_ACEOF 
     10050/* confdefs.h.  */ 
     10051_ACEOF 
     10052cat confdefs.h >>conftest.$ac_ext 
     10053cat >>conftest.$ac_ext <<_ACEOF 
    508210054/* end confdefs.h.  */ 
    508310055#include <sys/types.h> 
     
    509210064} 
    509310065_ACEOF 
    5094 if ac_fn_c_try_compile "$LINENO"; then : 
    5095   $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
    5096  
    5097                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5098 $as_echo "yes" >&6; } 
    5099 else 
    5100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5101 $as_echo "no" >&6; } 
    5102 fi 
     10066rm -f conftest.$ac_objext 
     10067if { (ac_try="$ac_compile" 
     10068case "(($ac_try" in 
     10069  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10070  *) ac_try_echo=$ac_try;; 
     10071esac 
     10072eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10073  (eval "$ac_compile") 2>conftest.er1 
     10074  ac_status=$? 
     10075  grep -v '^ *+' conftest.er1 >conftest.err 
     10076  rm -f conftest.er1 
     10077  cat conftest.err >&5 
     10078  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10079  (exit $ac_status); } && { 
     10080         test -z "$ac_c_werror_flag" || 
     10081         test ! -s conftest.err 
     10082       } && test -s conftest.$ac_objext; then 
     10083  cat >>confdefs.h <<\_ACEOF 
     10084#define PJ_SOCK_HAS_GETADDRINFO 1 
     10085_ACEOF 
     10086 
     10087                   { echo "$as_me:$LINENO: result: yes" >&5 
     10088echo "${ECHO_T}yes" >&6; } 
     10089else 
     10090  echo "$as_me: failed program was:" >&5 
     10091sed 's/^/| /' conftest.$ac_ext >&5 
     10092 
     10093        { echo "$as_me:$LINENO: result: no" >&5 
     10094echo "${ECHO_T}no" >&6; } 
     10095fi 
     10096 
    510310097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    510410098 
    5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
    5106 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
    5107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10099{ echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
     10100echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
     10101cat >conftest.$ac_ext <<_ACEOF 
     10102/* confdefs.h.  */ 
     10103_ACEOF 
     10104cat confdefs.h >>conftest.$ac_ext 
     10105cat >>conftest.$ac_ext <<_ACEOF 
    510810106/* end confdefs.h.  */ 
    510910107#include <sys/types.h> 
     
    511910117} 
    512010118_ACEOF 
    5121 if ac_fn_c_try_compile "$LINENO"; then : 
    5122   $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
    5123  
    5124                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5125 $as_echo "yes" >&6; } 
    5126 else 
    5127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5128 $as_echo "no" >&6; } 
    5129 fi 
     10119rm -f conftest.$ac_objext 
     10120if { (ac_try="$ac_compile" 
     10121case "(($ac_try" in 
     10122  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10123  *) ac_try_echo=$ac_try;; 
     10124esac 
     10125eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10126  (eval "$ac_compile") 2>conftest.er1 
     10127  ac_status=$? 
     10128  grep -v '^ *+' conftest.er1 >conftest.err 
     10129  rm -f conftest.er1 
     10130  cat conftest.err >&5 
     10131  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10132  (exit $ac_status); } && { 
     10133         test -z "$ac_c_werror_flag" || 
     10134         test ! -s conftest.err 
     10135       } && test -s conftest.$ac_objext; then 
     10136  cat >>confdefs.h <<\_ACEOF 
     10137#define PJ_SOCKADDR_HAS_LEN 1 
     10138_ACEOF 
     10139 
     10140                   { echo "$as_me:$LINENO: result: yes" >&5 
     10141echo "${ECHO_T}yes" >&6; } 
     10142else 
     10143  echo "$as_me: failed program was:" >&5 
     10144sed 's/^/| /' conftest.$ac_ext >&5 
     10145 
     10146        { echo "$as_me:$LINENO: result: no" >&5 
     10147echo "${ECHO_T}no" >&6; } 
     10148fi 
     10149 
    513010150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    513110151 
    5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
    5133 $as_echo_n "checking if socklen_t is available... " >&6; } 
    5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10152{ echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
     10153echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
     10154cat >conftest.$ac_ext <<_ACEOF 
     10155/* confdefs.h.  */ 
     10156_ACEOF 
     10157cat confdefs.h >>conftest.$ac_ext 
     10158cat >>conftest.$ac_ext <<_ACEOF 
    513510159/* end confdefs.h.  */ 
    513610160#include <sys/types.h> 
     
    514410168} 
    514510169_ACEOF 
    5146 if ac_fn_c_try_compile "$LINENO"; then : 
    5147   $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
    5148  
    5149                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5150 $as_echo "yes" >&6; } 
    5151 else 
    5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5153 $as_echo "no" >&6; } 
    5154 fi 
     10170rm -f conftest.$ac_objext 
     10171if { (ac_try="$ac_compile" 
     10172case "(($ac_try" in 
     10173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10174  *) ac_try_echo=$ac_try;; 
     10175esac 
     10176eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10177  (eval "$ac_compile") 2>conftest.er1 
     10178  ac_status=$? 
     10179  grep -v '^ *+' conftest.er1 >conftest.err 
     10180  rm -f conftest.er1 
     10181  cat conftest.err >&5 
     10182  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10183  (exit $ac_status); } && { 
     10184         test -z "$ac_c_werror_flag" || 
     10185         test ! -s conftest.err 
     10186       } && test -s conftest.$ac_objext; then 
     10187  cat >>confdefs.h <<\_ACEOF 
     10188#define PJ_HAS_SOCKLEN_T 1 
     10189_ACEOF 
     10190 
     10191                   { echo "$as_me:$LINENO: result: yes" >&5 
     10192echo "${ECHO_T}yes" >&6; } 
     10193else 
     10194  echo "$as_me: failed program was:" >&5 
     10195sed 's/^/| /' conftest.$ac_ext >&5 
     10196 
     10197        { echo "$as_me:$LINENO: result: no" >&5 
     10198echo "${ECHO_T}no" >&6; } 
     10199fi 
     10200 
    515510201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    515610202 
    5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
    5158 $as_echo_n "checking if SO_ERROR is available... " >&6; } 
     10203{ echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
     10204echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
    515910205case $target in 
    516010206    *mingw* | *cygw* | *win32* | *w32* ) 
    5161         $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
    5162  
    5163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5164 $as_echo "yes" >&6; } 
     10207        cat >>confdefs.h <<\_ACEOF 
     10208#define PJ_HAS_SO_ERROR 1 
     10209_ACEOF 
     10210 
     10211        { echo "$as_me:$LINENO: result: yes" >&5 
     10212echo "${ECHO_T}yes" >&6; } 
    516510213        ;; 
    516610214    *) 
    5167         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10215        cat >conftest.$ac_ext <<_ACEOF 
     10216/* confdefs.h.  */ 
     10217_ACEOF 
     10218cat confdefs.h >>conftest.$ac_ext 
     10219cat >>conftest.$ac_ext <<_ACEOF 
    516810220/* end confdefs.h.  */ 
    516910221#include <sys/types.h> 
     
    517910231} 
    518010232_ACEOF 
    5181 if ac_fn_c_try_compile "$LINENO"; then : 
    5182   $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
    5183  
    5184                            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5185 $as_echo "yes" >&6; } 
    5186 else 
    5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5188 $as_echo "no" >&6; } 
    5189 fi 
     10233rm -f conftest.$ac_objext 
     10234if { (ac_try="$ac_compile" 
     10235case "(($ac_try" in 
     10236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10237  *) ac_try_echo=$ac_try;; 
     10238esac 
     10239eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10240  (eval "$ac_compile") 2>conftest.er1 
     10241  ac_status=$? 
     10242  grep -v '^ *+' conftest.er1 >conftest.err 
     10243  rm -f conftest.er1 
     10244  cat conftest.err >&5 
     10245  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10246  (exit $ac_status); } && { 
     10247         test -z "$ac_c_werror_flag" || 
     10248         test ! -s conftest.err 
     10249       } && test -s conftest.$ac_objext; then 
     10250  cat >>confdefs.h <<\_ACEOF 
     10251#define PJ_HAS_SO_ERROR 1 
     10252_ACEOF 
     10253 
     10254                           { echo "$as_me:$LINENO: result: yes" >&5 
     10255echo "${ECHO_T}yes" >&6; } 
     10256else 
     10257  echo "$as_me: failed program was:" >&5 
     10258sed 's/^/| /' conftest.$ac_ext >&5 
     10259 
     10260        { echo "$as_me:$LINENO: result: no" >&5 
     10261echo "${ECHO_T}no" >&6; } 
     10262fi 
     10263 
    519010264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    519110265        ;; 
     
    519310267 
    519410268 
    5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
    5196 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
    5197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10269{ echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
     10270echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
     10271cat >conftest.$ac_ext <<_ACEOF 
     10272/* confdefs.h.  */ 
     10273_ACEOF 
     10274cat confdefs.h >>conftest.$ac_ext 
     10275cat >>conftest.$ac_ext <<_ACEOF 
    519810276/* end confdefs.h.  */ 
    519910277#include <pthread.h> 
     
    520610284} 
    520710285_ACEOF 
    5208 if ac_fn_c_try_compile "$LINENO"; then : 
    5209   $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
     10286rm -f conftest.$ac_objext 
     10287if { (ac_try="$ac_compile" 
     10288case "(($ac_try" in 
     10289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10290  *) ac_try_echo=$ac_try;; 
     10291esac 
     10292eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10293  (eval "$ac_compile") 2>conftest.er1 
     10294  ac_status=$? 
     10295  grep -v '^ *+' conftest.er1 >conftest.err 
     10296  rm -f conftest.er1 
     10297  cat conftest.err >&5 
     10298  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10299  (exit $ac_status); } && { 
     10300         test -z "$ac_c_werror_flag" || 
     10301         test ! -s conftest.err 
     10302       } && test -s conftest.$ac_objext; then 
     10303  cat >>confdefs.h <<\_ACEOF 
     10304#define PJ_EMULATE_RWMUTEX 0 
     10305_ACEOF 
    521010306 
    521110307                   ac_rwmutex="yes" 
    5212                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5213 $as_echo "yes" >&6; } 
    5214 else 
    5215   $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     10308                   { echo "$as_me:$LINENO: result: yes" >&5 
     10309echo "${ECHO_T}yes" >&6; } 
     10310else 
     10311  echo "$as_me: failed program was:" >&5 
     10312sed 's/^/| /' conftest.$ac_ext >&5 
     10313 
     10314        cat >>confdefs.h <<\_ACEOF 
     10315#define PJ_EMULATE_RWMUTEX 1 
     10316_ACEOF 
    521610317 
    521710318                   ac_rwmutex="no" 
    5218                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5219 $as_echo "no" >&6; } 
    5220 fi 
     10319                   { echo "$as_me:$LINENO: result: no" >&5 
     10320echo "${ECHO_T}no" >&6; } 
     10321fi 
     10322 
    522110323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    522210324 
    522310325if test "$ac_rwmutex" = "no"; then 
    5224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    5225 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
    5226     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10326    { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     10327echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
     10328    cat >conftest.$ac_ext <<_ACEOF 
     10329/* confdefs.h.  */ 
     10330_ACEOF 
     10331cat confdefs.h >>conftest.$ac_ext 
     10332cat >>conftest.$ac_ext <<_ACEOF 
    522710333/* end confdefs.h.  */ 
    522810334#define _POSIX_READER_WRITER_LOCKS 
     
    523610342} 
    523710343_ACEOF 
    5238 if ac_fn_c_try_compile "$LINENO"; then : 
    5239   $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
     10344rm -f conftest.$ac_objext 
     10345if { (ac_try="$ac_compile" 
     10346case "(($ac_try" in 
     10347  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10348  *) ac_try_echo=$ac_try;; 
     10349esac 
     10350eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10351  (eval "$ac_compile") 2>conftest.er1 
     10352  ac_status=$? 
     10353  grep -v '^ *+' conftest.er1 >conftest.err 
     10354  rm -f conftest.er1 
     10355  cat conftest.err >&5 
     10356  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10357  (exit $ac_status); } && { 
     10358         test -z "$ac_c_werror_flag" || 
     10359         test ! -s conftest.err 
     10360       } && test -s conftest.$ac_objext; then 
     10361  cat >>confdefs.h <<\_ACEOF 
     10362#define PJ_EMULATE_RWMUTEX 0 
     10363_ACEOF 
    524010364 
    524110365                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    5242                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5243 $as_echo "yes" >&6; } 
    5244 else 
    5245   $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    5246  
    5247                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5248 $as_echo "no" >&6; } 
    5249 fi 
     10366                       { echo "$as_me:$LINENO: result: yes" >&5 
     10367echo "${ECHO_T}yes" >&6; } 
     10368else 
     10369  echo "$as_me: failed program was:" >&5 
     10370sed 's/^/| /' conftest.$ac_ext >&5 
     10371 
     10372        cat >>confdefs.h <<\_ACEOF 
     10373#define PJ_EMULATE_RWMUTEX 1 
     10374_ACEOF 
     10375 
     10376                       { echo "$as_me:$LINENO: result: no" >&5 
     10377echo "${ECHO_T}no" >&6; } 
     10378fi 
     10379 
    525010380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    525110381fi 
    525210382 
    5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
    5254 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
    5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10383{ echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
     10384echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
     10385cat >conftest.$ac_ext <<_ACEOF 
     10386/* confdefs.h.  */ 
     10387_ACEOF 
     10388cat confdefs.h >>conftest.$ac_ext 
     10389cat >>conftest.$ac_ext <<_ACEOF 
    525610390/* end confdefs.h.  */ 
    525710391#include <pthread.h> 
     
    526410398} 
    526510399_ACEOF 
    5266 if ac_fn_c_try_compile "$LINENO"; then : 
    5267   $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
    5268  
    5269                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5270 $as_echo "yes" >&6; } 
    5271 else 
    5272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5273 $as_echo "no" >&6; } 
    5274 fi 
     10400rm -f conftest.$ac_objext 
     10401if { (ac_try="$ac_compile" 
     10402case "(($ac_try" in 
     10403  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10404  *) ac_try_echo=$ac_try;; 
     10405esac 
     10406eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10407  (eval "$ac_compile") 2>conftest.er1 
     10408  ac_status=$? 
     10409  grep -v '^ *+' conftest.er1 >conftest.err 
     10410  rm -f conftest.er1 
     10411  cat conftest.err >&5 
     10412  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10413  (exit $ac_status); } && { 
     10414         test -z "$ac_c_werror_flag" || 
     10415         test ! -s conftest.err 
     10416       } && test -s conftest.$ac_objext; then 
     10417  cat >>confdefs.h <<\_ACEOF 
     10418#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
     10419_ACEOF 
     10420 
     10421                   { echo "$as_me:$LINENO: result: yes" >&5 
     10422echo "${ECHO_T}yes" >&6; } 
     10423else 
     10424  echo "$as_me: failed program was:" >&5 
     10425sed 's/^/| /' conftest.$ac_ext >&5 
     10426 
     10427        { echo "$as_me:$LINENO: result: no" >&5 
     10428echo "${ECHO_T}no" >&6; } 
     10429fi 
     10430 
    527510431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    527610432 
    5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
    5278 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
    5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10433{ echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
     10434echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
     10435cat >conftest.$ac_ext <<_ACEOF 
     10436/* confdefs.h.  */ 
     10437_ACEOF 
     10438cat confdefs.h >>conftest.$ac_ext 
     10439cat >>conftest.$ac_ext <<_ACEOF 
    528010440/* end confdefs.h.  */ 
    528110441#include <pthread.h> 
     
    528910449} 
    529010450_ACEOF 
    5291 if ac_fn_c_try_compile "$LINENO"; then : 
    5292   $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
    5293  
    5294                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5295 $as_echo "yes" >&6; } 
    5296 else 
    5297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5298 $as_echo "no" >&6; } 
    5299 fi 
     10451rm -f conftest.$ac_objext 
     10452if { (ac_try="$ac_compile" 
     10453case "(($ac_try" in 
     10454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10455  *) ac_try_echo=$ac_try;; 
     10456esac 
     10457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10458  (eval "$ac_compile") 2>conftest.er1 
     10459  ac_status=$? 
     10460  grep -v '^ *+' conftest.er1 >conftest.err 
     10461  rm -f conftest.er1 
     10462  cat conftest.err >&5 
     10463  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10464  (exit $ac_status); } && { 
     10465         test -z "$ac_c_werror_flag" || 
     10466         test ! -s conftest.err 
     10467       } && test -s conftest.$ac_objext; then 
     10468  cat >>confdefs.h <<\_ACEOF 
     10469#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
     10470_ACEOF 
     10471 
     10472                   { echo "$as_me:$LINENO: result: yes" >&5 
     10473echo "${ECHO_T}yes" >&6; } 
     10474else 
     10475  echo "$as_me: failed program was:" >&5 
     10476sed 's/^/| /' conftest.$ac_ext >&5 
     10477 
     10478        { echo "$as_me:$LINENO: result: no" >&5 
     10479echo "${ECHO_T}no" >&6; } 
     10480fi 
     10481 
    530010482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    530110483 
    530210484 
    5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
    5304 $as_echo_n "checking ioqueue backend... " >&6; } 
     10485{ echo "$as_me:$LINENO: checking ioqueue backend" >&5 
     10486echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
    530510487# Check whether --enable-epoll was given. 
    5306 if test "${enable_epoll+set}" = set; then : 
     10488if test "${enable_epoll+set}" = set; then 
    530710489  enableval=$enable_epoll; 
    530810490                ac_os_objs=ioqueue_epoll.o 
    5309                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
    5310 $as_echo "/dev/epoll" >&6; } 
     10491                { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
     10492echo "${ECHO_T}/dev/epoll" >&6; } 
    531110493 
    531210494else 
    531310495 
    531410496                ac_os_objs=ioqueue_select.o 
    5315                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
    5316 $as_echo "select()" >&6; } 
     10497                { echo "$as_me:$LINENO: result: select()" >&5 
     10498echo "${ECHO_T}select()" >&6; } 
    531710499 
    531810500fi 
     
    534210524 
    534310525# Check whether --with-external-speex was given. 
    5344 if test "${with_external_speex+set}" = set; then : 
     10526if test "${with_external_speex+set}" = set; then 
    534510527  withval=$with_external_speex; 
    534610528        if test "x$with_external_speex" != "xno"; then 
    534710529                # Test Speex installation 
    5348                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
    5349 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 
    5350                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10530                { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
     10531echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
     10532                cat >conftest.$ac_ext <<_ACEOF 
     10533/* confdefs.h.  */ 
     10534_ACEOF 
     10535cat confdefs.h >>conftest.$ac_ext 
     10536cat >>conftest.$ac_ext <<_ACEOF 
    535110537/* end confdefs.h.  */ 
    535210538#include <speex/speex.h> 
     
    536110547} 
    536210548_ACEOF 
    5363 if ac_fn_c_try_compile "$LINENO"; then : 
    5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5365 $as_echo "yes!!" >&6; } 
    5366                                    $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
     10549rm -f conftest.$ac_objext 
     10550if { (ac_try="$ac_compile" 
     10551case "(($ac_try" in 
     10552  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10553  *) ac_try_echo=$ac_try;; 
     10554esac 
     10555eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10556  (eval "$ac_compile") 2>conftest.er1 
     10557  ac_status=$? 
     10558  grep -v '^ *+' conftest.er1 >conftest.err 
     10559  rm -f conftest.er1 
     10560  cat conftest.err >&5 
     10561  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10562  (exit $ac_status); } && { 
     10563         test -z "$ac_c_werror_flag" || 
     10564         test ! -s conftest.err 
     10565       } && test -s conftest.$ac_objext; then 
     10566  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10567echo "${ECHO_T}yes!!" >&6; } 
     10568                                   cat >>confdefs.h <<\_ACEOF 
     10569#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
     10570_ACEOF 
    536710571 
    536810572                                   ac_external_speex="1" 
    536910573 
    537010574else 
    5371   as_fn_error "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
    5372 fi 
     10575  echo "$as_me: failed program was:" >&5 
     10576sed 's/^/| /' conftest.$ac_ext >&5 
     10577 
     10578        { { echo "$as_me:$LINENO: error: Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 
     10579echo "$as_me: error: Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 
     10580   { (exit 1); exit 1; }; } 
     10581fi 
     10582 
    537310583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    537410584        fi 
     
    538210592 
    538310593# Check whether --with-external-gsm was given. 
    5384 if test "${with_external_gsm+set}" = set; then : 
     10594if test "${with_external_gsm+set}" = set; then 
    538510595  withval=$with_external_gsm; 
    538610596        if test "x$with_external_gsm" != "xno"; then 
    538710597                # Test GSM library installation 
    5388                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    5389 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
    5390                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10598                { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     10599echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
     10600                cat >conftest.$ac_ext <<_ACEOF 
     10601/* confdefs.h.  */ 
     10602_ACEOF 
     10603cat confdefs.h >>conftest.$ac_ext 
     10604cat >>conftest.$ac_ext <<_ACEOF 
    539110605/* end confdefs.h.  */ 
    539210606#include <gsm/gsm.h> 
     
    539910613} 
    540010614_ACEOF 
    5401 if ac_fn_c_try_compile "$LINENO"; then : 
    5402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5403 $as_echo "yes!!" >&6; } 
    5404                      $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
    5405  
    5406                      $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
     10615rm -f conftest.$ac_objext 
     10616if { (ac_try="$ac_compile" 
     10617case "(($ac_try" in 
     10618  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10619  *) ac_try_echo=$ac_try;; 
     10620esac 
     10621eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10622  (eval "$ac_compile") 2>conftest.er1 
     10623  ac_status=$? 
     10624  grep -v '^ *+' conftest.er1 >conftest.err 
     10625  rm -f conftest.er1 
     10626  cat conftest.err >&5 
     10627  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10628  (exit $ac_status); } && { 
     10629         test -z "$ac_c_werror_flag" || 
     10630         test ! -s conftest.err 
     10631       } && test -s conftest.$ac_objext; then 
     10632  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10633echo "${ECHO_T}yes!!" >&6; } 
     10634                     cat >>confdefs.h <<\_ACEOF 
     10635#define PJMEDIA_EXTERNAL_GSM_CODEC 1 
     10636_ACEOF 
     10637 
     10638                     cat >>confdefs.h <<\_ACEOF 
     10639#define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
     10640_ACEOF 
    540710641 
    540810642                     ac_external_gsm="1" 
    540910643 
    541010644else 
    5411  
    5412                      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5413 $as_echo "no" >&6; } 
    5414                      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
    5415 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
    5416                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10645  echo "$as_me: failed program was:" >&5 
     10646sed 's/^/| /' conftest.$ac_ext >&5 
     10647 
     10648 
     10649                     { echo "$as_me:$LINENO: result: no" >&5 
     10650echo "${ECHO_T}no" >&6; } 
     10651                     { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
     10652echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
     10653                     cat >conftest.$ac_ext <<_ACEOF 
     10654/* confdefs.h.  */ 
     10655_ACEOF 
     10656cat confdefs.h >>conftest.$ac_ext 
     10657cat >>conftest.$ac_ext <<_ACEOF 
    541710658/* end confdefs.h.  */ 
    541810659#include <gsm.h> 
     
    542510666} 
    542610667_ACEOF 
    5427 if ac_fn_c_try_compile "$LINENO"; then : 
    5428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5429 $as_echo "yes!!" >&6; } 
    5430                          $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
    5431  
    5432                          $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
     10668rm -f conftest.$ac_objext 
     10669if { (ac_try="$ac_compile" 
     10670case "(($ac_try" in 
     10671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10672  *) ac_try_echo=$ac_try;; 
     10673esac 
     10674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10675  (eval "$ac_compile") 2>conftest.er1 
     10676  ac_status=$? 
     10677  grep -v '^ *+' conftest.er1 >conftest.err 
     10678  rm -f conftest.er1 
     10679  cat conftest.err >&5 
     10680  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10681  (exit $ac_status); } && { 
     10682         test -z "$ac_c_werror_flag" || 
     10683         test ! -s conftest.err 
     10684       } && test -s conftest.$ac_objext; then 
     10685  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10686echo "${ECHO_T}yes!!" >&6; } 
     10687                         cat >>confdefs.h <<\_ACEOF 
     10688#define PJMEDIA_EXTERNAL_GSM_CODEC 1 
     10689_ACEOF 
     10690 
     10691                         cat >>confdefs.h <<\_ACEOF 
     10692#define PJMEDIA_EXTERNAL_GSM_H 1 
     10693_ACEOF 
    543310694 
    543410695                         ac_external_gsm="1" 
    543510696 
    543610697else 
    5437   as_fn_error "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
    5438  
    5439  
    5440 fi 
     10698  echo "$as_me: failed program was:" >&5 
     10699sed 's/^/| /' conftest.$ac_ext >&5 
     10700 
     10701        { { echo "$as_me:$LINENO: error: Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 
     10702echo "$as_me: error: Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 
     10703   { (exit 1); exit 1; }; } 
     10704 
     10705 
     10706fi 
     10707 
    544110708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    544210709 
    544310710 
    544410711fi 
     10712 
    544510713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    544610714        fi 
     
    545410722 
    545510723# Check whether --enable-sound was given. 
    5456 if test "${enable_sound+set}" = set; then : 
     10724if test "${enable_sound+set}" = set; then 
    545710725  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    545810726                ac_pjmedia_snd=null 
    5459                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
    5460 $as_echo "Checking if sound is disabled... yes" >&6; } 
     10727                { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
     10728echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
    546110729               fi 
    546210730 
     
    546810736 
    546910737# Check whether --with-external-pa was given. 
    5470 if test "${with_external_pa+set}" = set; then : 
     10738if test "${with_external_pa+set}" = set; then 
    547110739  withval=$with_external_pa; 
    547210740        if test "x$with_external_pa" != "xno"; then 
    547310741                # Test PortAudio installation 
    5474                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
    5475 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
    5476                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10742                { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
     10743echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
     10744                cat >conftest.$ac_ext <<_ACEOF 
     10745/* confdefs.h.  */ 
     10746_ACEOF 
     10747cat confdefs.h >>conftest.$ac_ext 
     10748cat >>conftest.$ac_ext <<_ACEOF 
    547710749/* end confdefs.h.  */ 
    547810750#include <portaudio.h> 
     
    548610758} 
    548710759_ACEOF 
    5488 if ac_fn_c_try_compile "$LINENO"; then : 
    5489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5490 $as_echo "yes!!" >&6; } 
     10760rm -f conftest.$ac_objext 
     10761if { (ac_try="$ac_compile" 
     10762case "(($ac_try" in 
     10763  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10764  *) ac_try_echo=$ac_try;; 
     10765esac 
     10766eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10767  (eval "$ac_compile") 2>conftest.er1 
     10768  ac_status=$? 
     10769  grep -v '^ *+' conftest.er1 >conftest.err 
     10770  rm -f conftest.er1 
     10771  cat conftest.err >&5 
     10772  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10773  (exit $ac_status); } && { 
     10774         test -z "$ac_c_werror_flag" || 
     10775         test ! -s conftest.err 
     10776       } && test -s conftest.$ac_objext; then 
     10777  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10778echo "${ECHO_T}yes!!" >&6; } 
    549110779                                   ac_external_pa="1" 
    549210780 
    549310781else 
    5494   as_fn_error "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
    5495 fi 
     10782  echo "$as_me: failed program was:" >&5 
     10783sed 's/^/| /' conftest.$ac_ext >&5 
     10784 
     10785        { { echo "$as_me:$LINENO: error: Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 
     10786echo "$as_me: error: Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 
     10787   { (exit 1); exit 1; }; } 
     10788fi 
     10789 
    549610790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    549710791        fi 
     
    550210796 
    550310797 
    5504 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
    5505 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
     10798if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10799  { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
     10800echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
     10801if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10802  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10803fi 
     10804{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
     10805echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
     10806else 
     10807  # Is the header compilable? 
     10808{ echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
     10809echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
     10810cat >conftest.$ac_ext <<_ACEOF 
     10811/* confdefs.h.  */ 
     10812_ACEOF 
     10813cat confdefs.h >>conftest.$ac_ext 
     10814cat >>conftest.$ac_ext <<_ACEOF 
     10815/* end confdefs.h.  */ 
     10816$ac_includes_default 
     10817#include <sys/soundcard.h> 
     10818_ACEOF 
     10819rm -f conftest.$ac_objext 
     10820if { (ac_try="$ac_compile" 
     10821case "(($ac_try" in 
     10822  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10823  *) ac_try_echo=$ac_try;; 
     10824esac 
     10825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10826  (eval "$ac_compile") 2>conftest.er1 
     10827  ac_status=$? 
     10828  grep -v '^ *+' conftest.er1 >conftest.err 
     10829  rm -f conftest.er1 
     10830  cat conftest.err >&5 
     10831  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10832  (exit $ac_status); } && { 
     10833         test -z "$ac_c_werror_flag" || 
     10834         test ! -s conftest.err 
     10835       } && test -s conftest.$ac_objext; then 
     10836  ac_header_compiler=yes 
     10837else 
     10838  echo "$as_me: failed program was:" >&5 
     10839sed 's/^/| /' conftest.$ac_ext >&5 
     10840 
     10841        ac_header_compiler=no 
     10842fi 
     10843 
     10844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     10845{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     10846echo "${ECHO_T}$ac_header_compiler" >&6; } 
     10847 
     10848# Is the header present? 
     10849{ echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
     10850echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
     10851cat >conftest.$ac_ext <<_ACEOF 
     10852/* confdefs.h.  */ 
     10853_ACEOF 
     10854cat confdefs.h >>conftest.$ac_ext 
     10855cat >>conftest.$ac_ext <<_ACEOF 
     10856/* end confdefs.h.  */ 
     10857#include <sys/soundcard.h> 
     10858_ACEOF 
     10859if { (ac_try="$ac_cpp conftest.$ac_ext" 
     10860case "(($ac_try" in 
     10861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10862  *) ac_try_echo=$ac_try;; 
     10863esac 
     10864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10865  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     10866  ac_status=$? 
     10867  grep -v '^ *+' conftest.er1 >conftest.err 
     10868  rm -f conftest.er1 
     10869  cat conftest.err >&5 
     10870  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10871  (exit $ac_status); } >/dev/null && { 
     10872         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     10873         test ! -s conftest.err 
     10874       }; then 
     10875  ac_header_preproc=yes 
     10876else 
     10877  echo "$as_me: failed program was:" >&5 
     10878sed 's/^/| /' conftest.$ac_ext >&5 
     10879 
     10880  ac_header_preproc=no 
     10881fi 
     10882 
     10883rm -f conftest.err conftest.$ac_ext 
     10884{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     10885echo "${ECHO_T}$ac_header_preproc" >&6; } 
     10886 
     10887# So?  What about this header? 
     10888case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     10889  yes:no: ) 
     10890    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     10891echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     10892    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
     10893echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
     10894    ac_header_preproc=yes 
     10895    ;; 
     10896  no:yes:* ) 
     10897    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
     10898echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
     10899    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
     10900echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     10901    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
     10902echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
     10903    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     10904echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     10905    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
     10906echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     10907    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
     10908echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     10909 
     10910    ;; 
     10911esac 
     10912{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
     10913echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
     10914if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10915  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10916else 
     10917  ac_cv_header_sys_soundcard_h=$ac_header_preproc 
     10918fi 
     10919{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
     10920echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
     10921 
     10922fi 
     10923if test $ac_cv_header_sys_soundcard_h = yes; then 
    550610924  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    550710925fi 
    550810926 
    550910927 
    5510 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
    5511 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
     10928if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     10929  { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
     10930echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
     10931if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     10932  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10933fi 
     10934{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
     10935echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
     10936else 
     10937  # Is the header compilable? 
     10938{ echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
     10939echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
     10940cat >conftest.$ac_ext <<_ACEOF 
     10941/* confdefs.h.  */ 
     10942_ACEOF 
     10943cat confdefs.h >>conftest.$ac_ext 
     10944cat >>conftest.$ac_ext <<_ACEOF 
     10945/* end confdefs.h.  */ 
     10946$ac_includes_default 
     10947#include <linux/soundcard.h> 
     10948_ACEOF 
     10949rm -f conftest.$ac_objext 
     10950if { (ac_try="$ac_compile" 
     10951case "(($ac_try" in 
     10952  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10953  *) ac_try_echo=$ac_try;; 
     10954esac 
     10955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10956  (eval "$ac_compile") 2>conftest.er1 
     10957  ac_status=$? 
     10958  grep -v '^ *+' conftest.er1 >conftest.err 
     10959  rm -f conftest.er1 
     10960  cat conftest.err >&5 
     10961  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10962  (exit $ac_status); } && { 
     10963         test -z "$ac_c_werror_flag" || 
     10964         test ! -s conftest.err 
     10965       } && test -s conftest.$ac_objext; then 
     10966  ac_header_compiler=yes 
     10967else 
     10968  echo "$as_me: failed program was:" >&5 
     10969sed 's/^/| /' conftest.$ac_ext >&5 
     10970 
     10971        ac_header_compiler=no 
     10972fi 
     10973 
     10974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     10975{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     10976echo "${ECHO_T}$ac_header_compiler" >&6; } 
     10977 
     10978# Is the header present? 
     10979{ echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
     10980echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
     10981cat >conftest.$ac_ext <<_ACEOF 
     10982/* confdefs.h.  */ 
     10983_ACEOF 
     10984cat confdefs.h >>conftest.$ac_ext 
     10985cat >>conftest.$ac_ext <<_ACEOF 
     10986/* end confdefs.h.  */ 
     10987#include <linux/soundcard.h> 
     10988_ACEOF 
     10989if { (ac_try="$ac_cpp conftest.$ac_ext" 
     10990case "(($ac_try" in 
     10991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10992  *) ac_try_echo=$ac_try;; 
     10993esac 
     10994eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10995  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     10996  ac_status=$? 
     10997  grep -v '^ *+' conftest.er1 >conftest.err 
     10998  rm -f conftest.er1 
     10999  cat conftest.err >&5 
     11000  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11001  (exit $ac_status); } >/dev/null && { 
     11002         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11003         test ! -s conftest.err 
     11004       }; then 
     11005  ac_header_preproc=yes 
     11006else 
     11007  echo "$as_me: failed program was:" >&5 
     11008sed 's/^/| /' conftest.$ac_ext >&5 
     11009 
     11010  ac_header_preproc=no 
     11011fi 
     11012 
     11013rm -f conftest.err conftest.$ac_ext 
     11014{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11015echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11016 
     11017# So?  What about this header? 
     11018case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11019  yes:no: ) 
     11020    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11021echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11022    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
     11023echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
     11024    ac_header_preproc=yes 
     11025    ;; 
     11026  no:yes:* ) 
     11027    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
     11028echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
     11029    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
     11030echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     11031    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
     11032echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
     11033    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11034echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11035    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
     11036echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     11037    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
     11038echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     11039 
     11040    ;; 
     11041esac 
     11042{ echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
     11043echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
     11044if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     11045  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11046else 
     11047  ac_cv_header_linux_soundcard_h=$ac_header_preproc 
     11048fi 
     11049{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
     11050echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
     11051 
     11052fi 
     11053if test $ac_cv_header_linux_soundcard_h = yes; then 
    551211054  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    551311055fi 
    551411056 
    551511057 
    5516 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
    5517 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
     11058if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11059  { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
     11060echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
     11061if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11062  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11063fi 
     11064{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
     11065echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
     11066else 
     11067  # Is the header compilable? 
     11068{ echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
     11069echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
     11070cat >conftest.$ac_ext <<_ACEOF 
     11071/* confdefs.h.  */ 
     11072_ACEOF 
     11073cat confdefs.h >>conftest.$ac_ext 
     11074cat >>conftest.$ac_ext <<_ACEOF 
     11075/* end confdefs.h.  */ 
     11076$ac_includes_default 
     11077#include <machine/soundcard.h> 
     11078_ACEOF 
     11079rm -f conftest.$ac_objext 
     11080if { (ac_try="$ac_compile" 
     11081case "(($ac_try" in 
     11082  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11083  *) ac_try_echo=$ac_try;; 
     11084esac 
     11085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11086  (eval "$ac_compile") 2>conftest.er1 
     11087  ac_status=$? 
     11088  grep -v '^ *+' conftest.er1 >conftest.err 
     11089  rm -f conftest.er1 
     11090  cat conftest.err >&5 
     11091  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11092  (exit $ac_status); } && { 
     11093         test -z "$ac_c_werror_flag" || 
     11094         test ! -s conftest.err 
     11095       } && test -s conftest.$ac_objext; then 
     11096  ac_header_compiler=yes 
     11097else 
     11098  echo "$as_me: failed program was:" >&5 
     11099sed 's/^/| /' conftest.$ac_ext >&5 
     11100 
     11101        ac_header_compiler=no 
     11102fi 
     11103 
     11104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     11105{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     11106echo "${ECHO_T}$ac_header_compiler" >&6; } 
     11107 
     11108# Is the header present? 
     11109{ echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
     11110echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
     11111cat >conftest.$ac_ext <<_ACEOF 
     11112/* confdefs.h.  */ 
     11113_ACEOF 
     11114cat confdefs.h >>conftest.$ac_ext 
     11115cat >>conftest.$ac_ext <<_ACEOF 
     11116/* end confdefs.h.  */ 
     11117#include <machine/soundcard.h> 
     11118_ACEOF 
     11119if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11120case "(($ac_try" in 
     11121  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11122  *) ac_try_echo=$ac_try;; 
     11123esac 
     11124eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11125  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11126  ac_status=$? 
     11127  grep -v '^ *+' conftest.er1 >conftest.err 
     11128  rm -f conftest.er1 
     11129  cat conftest.err >&5 
     11130  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11131  (exit $ac_status); } >/dev/null && { 
     11132         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11133         test ! -s conftest.err 
     11134       }; then 
     11135  ac_header_preproc=yes 
     11136else 
     11137  echo "$as_me: failed program was:" >&5 
     11138sed 's/^/| /' conftest.$ac_ext >&5 
     11139 
     11140  ac_header_preproc=no 
     11141fi 
     11142 
     11143rm -f conftest.err conftest.$ac_ext 
     11144{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11145echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11146 
     11147# So?  What about this header? 
     11148case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11149  yes:no: ) 
     11150    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11151echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11152    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
     11153echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
     11154    ac_header_preproc=yes 
     11155    ;; 
     11156  no:yes:* ) 
     11157    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
     11158echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
     11159    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
     11160echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     11161    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
     11162echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
     11163    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11164echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11165    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
     11166echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     11167    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
     11168echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     11169 
     11170    ;; 
     11171esac 
     11172{ echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
     11173echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
     11174if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11175  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11176else 
     11177  ac_cv_header_machine_soundcard_h=$ac_header_preproc 
     11178fi 
     11179{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
     11180echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
     11181 
     11182fi 
     11183if test $ac_cv_header_machine_soundcard_h = yes; then 
    551811184  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    551911185fi 
     
    553211198 case $target in 
    553311199  arm-apple-darwin*) 
    5534         LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox" 
    5535         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
    5536 $as_echo "Checking sound device backend... AudioUnit" >&6; } 
     11200        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" 
     11201        { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
     11202echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
    553711203        ;; 
    553811204  *darwin*) 
     
    554211208                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    554311209                ac_pjmedia_snd=pa_old_darwinos 
    5544                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
    5545 $as_echo "Checking sound device backend... old coreaudio" >&6; } 
     11210                { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
     11211echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
    554611212        else 
    554711213                ac_pjmedia_snd=pa_darwinos 
    5548                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
    5549 $as_echo "Checking sound device backend... coreaudio" >&6; } 
     11214                { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
     11215echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
    555011216        fi 
    555111217        ;; 
    555211218  *cygwin* | *mingw*) 
    555311219        ac_pjmedia_snd=pa_win32 
    5554         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
    5555 $as_echo "Checking sound device backend... win32 sound" >&6; } 
     11220        { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
     11221echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
    555611222        ;; 
    555711223  *rtems*) 
    555811224        ac_pjmedia_snd=null 
    5559         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
    5560 $as_echo "Checking sound device backend... null sound" >&6; } 
     11225        { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
     11226echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
    556111227        ;; 
    556211228  *) 
    556311229                ac_pjmedia_snd=pa_unix 
    5564         ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
    5565 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
     11230        if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11231  { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     11232echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
     11233if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11234  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11235fi 
     11236{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     11237echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
     11238else 
     11239  # Is the header compilable? 
     11240{ echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
     11241echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
     11242cat >conftest.$ac_ext <<_ACEOF 
     11243/* confdefs.h.  */ 
     11244_ACEOF 
     11245cat confdefs.h >>conftest.$ac_ext 
     11246cat >>conftest.$ac_ext <<_ACEOF 
     11247/* end confdefs.h.  */ 
     11248$ac_includes_default 
     11249#include <alsa/version.h> 
     11250_ACEOF 
     11251rm -f conftest.$ac_objext 
     11252if { (ac_try="$ac_compile" 
     11253case "(($ac_try" in 
     11254  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11255  *) ac_try_echo=$ac_try;; 
     11256esac 
     11257eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11258  (eval "$ac_compile") 2>conftest.er1 
     11259  ac_status=$? 
     11260  grep -v '^ *+' conftest.er1 >conftest.err 
     11261  rm -f conftest.er1 
     11262  cat conftest.err >&5 
     11263  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11264  (exit $ac_status); } && { 
     11265         test -z "$ac_c_werror_flag" || 
     11266         test ! -s conftest.err 
     11267       } && test -s conftest.$ac_objext; then 
     11268  ac_header_compiler=yes 
     11269else 
     11270  echo "$as_me: failed program was:" >&5 
     11271sed 's/^/| /' conftest.$ac_ext >&5 
     11272 
     11273        ac_header_compiler=no 
     11274fi 
     11275 
     11276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     11277{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     11278echo "${ECHO_T}$ac_header_compiler" >&6; } 
     11279 
     11280# Is the header present? 
     11281{ echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
     11282echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
     11283cat >conftest.$ac_ext <<_ACEOF 
     11284/* confdefs.h.  */ 
     11285_ACEOF 
     11286cat confdefs.h >>conftest.$ac_ext 
     11287cat >>conftest.$ac_ext <<_ACEOF 
     11288/* end confdefs.h.  */ 
     11289#include <alsa/version.h> 
     11290_ACEOF 
     11291if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11292case "(($ac_try" in 
     11293  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11294  *) ac_try_echo=$ac_try;; 
     11295esac 
     11296eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11297  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11298  ac_status=$? 
     11299  grep -v '^ *+' conftest.er1 >conftest.err 
     11300  rm -f conftest.er1 
     11301  cat conftest.err >&5 
     11302  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11303  (exit $ac_status); } >/dev/null && { 
     11304         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11305         test ! -s conftest.err 
     11306       }; then 
     11307  ac_header_preproc=yes 
     11308else 
     11309  echo "$as_me: failed program was:" >&5 
     11310sed 's/^/| /' conftest.$ac_ext >&5 
     11311 
     11312  ac_header_preproc=no 
     11313fi 
     11314 
     11315rm -f conftest.err conftest.$ac_ext 
     11316{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11317echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11318 
     11319# So?  What about this header? 
     11320case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11321  yes:no: ) 
     11322    { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11323echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11324    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
     11325echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
     11326    ac_header_preproc=yes 
     11327    ;; 
     11328  no:yes:* ) 
     11329    { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
     11330echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
     11331    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
     11332echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
     11333    { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
     11334echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
     11335    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11336echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11337    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
     11338echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
     11339    { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
     11340echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
     11341 
     11342    ;; 
     11343esac 
     11344{ echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     11345echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
     11346if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11347  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11348else 
     11349  ac_cv_header_alsa_version_h=$ac_header_preproc 
     11350fi 
     11351{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     11352echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
     11353 
     11354fi 
     11355if test $ac_cv_header_alsa_version_h = yes; then 
    556611356  ac_pa_use_alsa=1 
    556711357 
     
    557411364 
    557511365 
    5576         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
    5577 $as_echo "Checking sound device backend... unix" >&6; } 
     11366        { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
     11367echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
    557811368 
    557911369                ac_pa_use_oss=1 
    558011370 
    558111371        # Check whether --enable-oss was given. 
    5582 if test "${enable_oss+set}" = set; then : 
     11372if test "${enable_oss+set}" = set; then 
    558311373  enableval=$enable_oss; 
    558411374                        if test "$enable_oss" = "no"; then 
    558511375                         ac_pa_use_oss=0 
    5586                          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
    5587 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 
     11376                         { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
     11377echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
    558811378                        fi 
    558911379 
     
    559511385 
    559611386# Check whether --enable-ext_sound was given. 
    5597 if test "${enable_ext_sound+set}" = set; then : 
     11387if test "${enable_ext_sound+set}" = set; then 
    559811388  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    559911389                ac_pjmedia_snd=external 
    5600                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
    5601 $as_echo "Checking if external sound is set... yes" >&6; } 
     11390                { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
     11391echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
    560211392               fi 
    560311393 
     
    560711397 
    560811398# Check whether --enable-small-filter was given. 
    5609 if test "${enable_small_filter+set}" = set; then : 
     11399if test "${enable_small_filter+set}" = set; then 
    561011400  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    561111401                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    5612                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
    5613 $as_echo "Checking if small filter is disabled... yes" >&6; } 
     11402                { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
     11403echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
    561411404               fi 
    561511405else 
    5616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
    5617 $as_echo "Checking if small filter is disabled... no" >&6; } 
     11406  { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
     11407echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
    561811408fi 
    561911409 
     
    562111411 
    562211412# Check whether --enable-large-filter was given. 
    5623 if test "${enable_large_filter+set}" = set; then : 
     11413if test "${enable_large_filter+set}" = set; then 
    562411414  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    562511415                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    5626                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
    5627 $as_echo "Checking if large filter is disabled... yes" >&6; } 
     11416                { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
     11417echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
    562811418               fi 
    562911419else 
    5630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
    5631 $as_echo "Checking if large filter is disabled... no" >&6; } 
     11420  { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
     11421echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
    563211422fi 
    563311423 
     
    563511425 
    563611426# Check whether --enable-speex-aec was given. 
    5637 if test "${enable_speex_aec+set}" = set; then : 
     11427if test "${enable_speex_aec+set}" = set; then 
    563811428  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    563911429                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    5640                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
    5641 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
     11430                { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
     11431echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
    564211432               fi 
    564311433else 
    5644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
    5645 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 
     11434  { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
     11435echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
    564611436fi 
    564711437 
     
    564911439 
    565011440# Check whether --enable-g711-codec was given. 
    5651 if test "${enable_g711_codec+set}" = set; then : 
     11441if test "${enable_g711_codec+set}" = set; then 
    565211442  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    565311443                ac_no_g711_codec=1 
    5654                 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
    5655  
    5656                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
    5657 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
     11444                cat >>confdefs.h <<\_ACEOF 
     11445#define PJMEDIA_HAS_G711_CODEC 0 
     11446_ACEOF 
     11447 
     11448                { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
     11449echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
    565811450               fi 
    565911451else 
    5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
    5661 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 
     11452  { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     11453echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
    566211454fi 
    566311455 
     
    566611458 
    566711459# Check whether --enable-l16-codec was given. 
    5668 if test "${enable_l16_codec+set}" = set; then : 
     11460if test "${enable_l16_codec+set}" = set; then 
    566911461  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    567011462                ac_no_l16_codec=1 
    5671                 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
    5672  
    5673                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
    5674 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
     11463                cat >>confdefs.h <<\_ACEOF 
     11464#define PJMEDIA_HAS_L16_CODEC 0 
     11465_ACEOF 
     11466 
     11467                { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
     11468echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
    567511469               fi 
    567611470else 
    5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
    5678 $as_echo "Checking if L16 codec is disabled...no" >&6; } 
     11471  { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
     11472echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
    567911473fi 
    568011474 
     
    568311477 
    568411478# Check whether --enable-gsm-codec was given. 
    5685 if test "${enable_gsm_codec+set}" = set; then : 
     11479if test "${enable_gsm_codec+set}" = set; then 
    568611480  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    568711481                ac_no_gsm_codec=1 
    5688                 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
    5689  
    5690                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
    5691 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 
     11482                cat >>confdefs.h <<\_ACEOF 
     11483#define PJMEDIA_HAS_GSM_CODEC 0 
     11484_ACEOF 
     11485 
     11486                { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
     11487echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
    569211488               fi 
    569311489else 
    5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
    5695 $as_echo "Checking if GSM codec is disabled...no" >&6; } 
     11490  { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
     11491echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
    569611492fi 
    569711493 
     
    569911495 
    570011496# Check whether --enable-g722-codec was given. 
    5701 if test "${enable_g722_codec+set}" = set; then : 
     11497if test "${enable_g722_codec+set}" = set; then 
    570211498  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    570311499                ac_no_g722_codec=1 
    5704                 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
    5705  
    5706                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
    5707 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
     11500                cat >>confdefs.h <<\_ACEOF 
     11501#define PJMEDIA_HAS_G722_CODEC 0 
     11502_ACEOF 
     11503 
     11504                { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
     11505echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
    570811506               fi 
    570911507else 
    5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
    5711 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 
     11508  { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
     11509echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
    571211510fi 
    571311511 
     
    571511513 
    571611514# Check whether --enable-g7221-codec was given. 
    5717 if test "${enable_g7221_codec+set}" = set; then : 
     11515if test "${enable_g7221_codec+set}" = set; then 
    571811516  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    571911517                ac_no_g7221_codec=1 
    5720                 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
    5721  
    5722                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
    5723 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
     11518                cat >>confdefs.h <<\_ACEOF 
     11519#define PJMEDIA_HAS_G7221_CODEC 0 
     11520_ACEOF 
     11521 
     11522                { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
     11523echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
    572411524               fi 
    572511525else 
    5726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
    5727 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
     11526  { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
     11527echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
    572811528fi 
    572911529 
     
    573111531 
    573211532# Check whether --enable-speex-codec was given. 
    5733 if test "${enable_speex_codec+set}" = set; then : 
     11533if test "${enable_speex_codec+set}" = set; then 
    573411534  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    573511535                ac_no_speex_codec=1 
    5736                 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
    5737  
    5738                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
    5739 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 
     11536                cat >>confdefs.h <<\_ACEOF 
     11537#define PJMEDIA_HAS_SPEEX_CODEC 0 
     11538_ACEOF 
     11539 
     11540                { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
     11541echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
    574011542               fi 
    574111543else 
    5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
    5743 $as_echo "Checking if Speex codec is disabled...no" >&6; } 
     11544  { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
     11545echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
    574411546fi 
    574511547 
     
    574711549 
    574811550# Check whether --enable-ilbc-codec was given. 
    5749 if test "${enable_ilbc_codec+set}" = set; then : 
     11551if test "${enable_ilbc_codec+set}" = set; then 
    575011552  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    575111553                ac_no_ilbc_codec=1 
    5752                 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
    5753  
    5754                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
    5755 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
     11554                cat >>confdefs.h <<\_ACEOF 
     11555#define PJMEDIA_HAS_ILBC_CODEC 0 
     11556_ACEOF 
     11557 
     11558                { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
     11559echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
    575611560               fi 
    575711561else 
    5758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
    5759 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 
     11562  { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
     11563echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
    576011564fi 
    576111565 
    576211566 
    576311567# Check whether --enable-libsamplerate was given. 
    5764 if test "${enable_libsamplerate+set}" = set; then : 
    5765   enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
    5766 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
    5767 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
    5768   $as_echo_n "(cached) " >&6 
     11568if test "${enable_libsamplerate+set}" = set; then 
     11569  enableval=$enable_libsamplerate; 
     11570{ echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
     11571echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
     11572if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
     11573  echo $ECHO_N "(cached) $ECHO_C" >&6 
    576911574else 
    577011575  ac_check_lib_save_LIBS=$LIBS 
    577111576LIBS="-lsamplerate  $LIBS" 
    5772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11577cat >conftest.$ac_ext <<_ACEOF 
     11578/* confdefs.h.  */ 
     11579_ACEOF 
     11580cat confdefs.h >>conftest.$ac_ext 
     11581cat >>conftest.$ac_ext <<_ACEOF 
    577311582/* end confdefs.h.  */ 
    577411583 
     
    578811597} 
    578911598_ACEOF 
    5790 if ac_fn_c_try_link "$LINENO"; then : 
     11599rm -f conftest.$ac_objext conftest$ac_exeext 
     11600if { (ac_try="$ac_link" 
     11601case "(($ac_try" in 
     11602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11603  *) ac_try_echo=$ac_try;; 
     11604esac 
     11605eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11606  (eval "$ac_link") 2>conftest.er1 
     11607  ac_status=$? 
     11608  grep -v '^ *+' conftest.er1 >conftest.err 
     11609  rm -f conftest.er1 
     11610  cat conftest.err >&5 
     11611  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11612  (exit $ac_status); } && { 
     11613         test -z "$ac_c_werror_flag" || 
     11614         test ! -s conftest.err 
     11615       } && test -s conftest$ac_exeext && 
     11616       $as_test_x conftest$ac_exeext; then 
    579111617  ac_cv_lib_samplerate_src_new=yes 
    579211618else 
    5793   ac_cv_lib_samplerate_src_new=no 
    5794 fi 
    5795 rm -f core conftest.err conftest.$ac_objext \ 
    5796     conftest$ac_exeext conftest.$ac_ext 
     11619  echo "$as_me: failed program was:" >&5 
     11620sed 's/^/| /' conftest.$ac_ext >&5 
     11621 
     11622        ac_cv_lib_samplerate_src_new=no 
     11623fi 
     11624 
     11625rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11626      conftest$ac_exeext conftest.$ac_ext 
    579711627LIBS=$ac_check_lib_save_LIBS 
    579811628fi 
    5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
    5800 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
    5801 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
     11629{ echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
     11630echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
     11631if test $ac_cv_lib_samplerate_src_new = yes; then 
    580211632  cat >>confdefs.h <<_ACEOF 
    580311633#define HAVE_LIBSAMPLERATE 1 
     
    580911639 
    581011640else 
    5811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
    5812 $as_echo "Skipping libsamplerate detection" >&6; } 
     11641  { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
     11642echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
    581311643 
    581411644fi 
     
    581711647 
    581811648# Check whether --enable-ipp was given. 
    5819 if test "${enable_ipp+set}" = set; then : 
     11649if test "${enable_ipp+set}" = set; then 
    582011650  enableval=$enable_ipp; 
    582111651else 
     
    582711657 
    582811658# Check whether --with-ipp was given. 
    5829 if test "${with_ipp+set}" = set; then : 
     11659if test "${with_ipp+set}" = set; then 
    583011660  withval=$with_ipp; 
    583111661else 
     
    583711667 
    583811668# Check whether --with-ipp-samples was given. 
    5839 if test "${with_ipp_samples+set}" = set; then : 
     11669if test "${with_ipp_samples+set}" = set; then 
    584011670  withval=$with_ipp_samples; 
    584111671else 
     
    584711677 
    584811678# Check whether --with-ipp-arch was given. 
    5849 if test "${with_ipp_arch+set}" = set; then : 
     11679if test "${with_ipp_arch+set}" = set; then 
    585011680  withval=$with_ipp_arch; 
    585111681else 
     
    585611686 
    585711687if test "x$enable_ipp" != "xno"; then 
    5858                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
    5859 $as_echo_n "checking Intel IPP location... " >&6; } 
     11688                { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
     11689echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
    586011690 
    586111691    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    5862         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
    5863 $as_echo "$with_ipp" >&6; } 
     11692        { echo "$as_me:$LINENO: result: $with_ipp" >&5 
     11693echo "${ECHO_T}$with_ipp" >&6; } 
    586411694        IPPROOT=$with_ipp 
    586511695    elif test "x$IPPROOT" = "x"; then 
    586611696        if test -d /opt/intel/ipp; then 
    586711697            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    5868             { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
    5869 $as_echo "autodetected in $IPPROOT" >&6; } 
     11698            { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
     11699echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
    587011700        fi 
    587111701    else 
    5872         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
    5873 $as_echo "$IPPROOT" >&6; } 
     11702        { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
     11703echo "${ECHO_T}$IPPROOT" >&6; } 
    587411704    fi 
    587511705 
    587611706    if test "x$with_ipp_arch" != "xno"; then 
    587711707        IPP_SUFFIX=$with_ipp_arch 
    5878         { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    5879 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     11708        { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     11709echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    588011710    else 
    588111711        IPP_SUFFIX="" 
    5882         { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
    5883 $as_echo "IPP arch suffix is set to empty" >&6; } 
     11712        { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
     11713echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
    588411714    fi 
    588511715 
    588611716    if test x$IPPROOT = x; then 
    5887         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 
     11717        { { 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 
     11718echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&2;} 
     11719   { (exit 1); exit 1; }; } 
    588811720    elif test ! -d $IPPROOT; then 
    5889         as_fn_error "not found" "$LINENO" 5 
     11721        { { echo "$as_me:$LINENO: error: not found" >&5 
     11722echo "$as_me: error: not found" >&2;} 
     11723   { (exit 1); exit 1; }; } 
    589011724    elif test ! -d $IPPROOT/include; then 
    5891         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     11725        { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
     11726echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
     11727   { (exit 1); exit 1; }; } 
    589211728    else 
    589311729        # IPP directory looks okay. 
     
    592211758 
    592311759 
    5924         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
    5925 $as_echo_n "checking Intel IPP usability... " >&6; } 
    5926         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11760        { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
     11761echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
     11762        cat >conftest.$ac_ext <<_ACEOF 
     11763/* confdefs.h.  */ 
     11764_ACEOF 
     11765cat confdefs.h >>conftest.$ac_ext 
     11766cat >>conftest.$ac_ext <<_ACEOF 
    592711767/* end confdefs.h.  */ 
    592811768#include <ippcore.h> 
     
    593611776} 
    593711777_ACEOF 
    5938 if ac_fn_c_try_link "$LINENO"; then : 
    5939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    5940 $as_echo "ok" >&6; } 
    5941 else 
    5942   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    5943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    5944 { as_fn_set_status run with --help for more info 
    5945 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    5946 See \`config.log' for more details." "$LINENO" 5; }; } 
    5947 fi 
    5948 rm -f core conftest.err conftest.$ac_objext \ 
    5949     conftest$ac_exeext conftest.$ac_ext 
     11778rm -f conftest.$ac_objext conftest$ac_exeext 
     11779if { (ac_try="$ac_link" 
     11780case "(($ac_try" in 
     11781  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11782  *) ac_try_echo=$ac_try;; 
     11783esac 
     11784eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11785  (eval "$ac_link") 2>conftest.er1 
     11786  ac_status=$? 
     11787  grep -v '^ *+' conftest.er1 >conftest.err 
     11788  rm -f conftest.er1 
     11789  cat conftest.err >&5 
     11790  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11791  (exit $ac_status); } && { 
     11792         test -z "$ac_c_werror_flag" || 
     11793         test ! -s conftest.err 
     11794       } && test -s conftest$ac_exeext && 
     11795       $as_test_x conftest$ac_exeext; then 
     11796  { echo "$as_me:$LINENO: result: ok" >&5 
     11797echo "${ECHO_T}ok" >&6; } 
     11798else 
     11799  echo "$as_me: failed program was:" >&5 
     11800sed 's/^/| /' conftest.$ac_ext >&5 
     11801 
     11802        { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     11803See \`config.log' for more details." >&5 
     11804echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     11805See \`config.log' for more details." >&2;} 
     11806   { (exit run with --help for more info); exit run with --help for more info; }; } 
     11807fi 
     11808 
     11809rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11810      conftest$ac_exeext conftest.$ac_ext 
    595011811 
    595111812        CFLAGS="$SAVED_CFLAGS" 
     
    595411815    fi 
    595511816 
    5956                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
    5957 $as_echo_n "checking Intel IPP samples location... " >&6; } 
     11817                { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
     11818echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
    595811819 
    595911820    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    5960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
    5961 $as_echo "$with_ipp_samples" >&6; } 
     11821        { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
     11822echo "${ECHO_T}$with_ipp_samples" >&6; } 
    596211823        IPPSAMPLES=$with_ipp_samples 
    596311824    elif test "x$IPPSAMPLES" = "x"; then 
    596411825        if test -d /opt/intel/ipp-samples; then 
    596511826            IPPSAMPLES=/opt/intel/ipp-samples 
    5966             { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
    5967 $as_echo "autodetected in $IPPSAMPLES" >&6; } 
     11827            { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
     11828echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
    596811829        fi 
    596911830    else 
    5970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
    5971 $as_echo "$IPPSAMPLES" >&6; } 
     11831        { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
     11832echo "${ECHO_T}$IPPSAMPLES" >&6; } 
    597211833    fi 
    597311834 
    597411835    if test x$IPPSAMPLES = x; then 
    5975         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 
     11836        { { 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 
     11837echo "$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;} 
     11838   { (exit 1); exit 1; }; } 
    597611839    elif test ! -d $IPPSAMPLES; then 
    5977         as_fn_error "not found" "$LINENO" 5 
     11840        { { echo "$as_me:$LINENO: error: not found" >&5 
     11841echo "$as_me: error: not found" >&2;} 
     11842   { (exit 1); exit 1; }; } 
    597811843    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    5979         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     11844        { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
     11845echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
     11846   { (exit 1); exit 1; }; } 
    598011847    else 
    598111848        # Remove trailing backslash 
     
    598311850 
    598411851        # Guess the libusc.a/libspeech.a build location 
    5985         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
    5986 $as_echo_n "checking Intel IPP USC build location... " >&6; } 
     11852        { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
     11853echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
    598711854        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    598811855            IPPVER=5 
     
    599711864                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    599811865            else 
    5999                 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6001 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    6002 See \`config.log' for more details." "$LINENO" 5; } 
     11866                { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     11867See \`config.log' for more details." >&5 
     11868echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     11869See \`config.log' for more details." >&2;} 
     11870   { (exit 1); exit 1; }; } 
    600311871            fi 
    600411872        else 
    6005             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6007 as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
    6008 See \`config.log' for more details." "$LINENO" 5; } 
     11873            { { echo "$as_me:$LINENO: error: unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     11874See \`config.log' for more details." >&5 
     11875echo "$as_me: error: unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     11876See \`config.log' for more details." >&2;} 
     11877   { (exit 1); exit 1; }; } 
    600911878        fi 
    601011879 
    601111880        # Test the directory 
    601211881        if test ! -d $IPPSAMP_DIR; then 
    6013             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6015 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    6016 See \`config.log' for more details." "$LINENO" 5; } 
     11882            { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     11883See \`config.log' for more details." >&5 
     11884echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     11885See \`config.log' for more details." >&2;} 
     11886   { (exit 1); exit 1; }; } 
    601711887            exit 1; 
    601811888        fi 
     
    602511895            IPPSAMP_LDLIBS="-lspeech" 
    602611896        else 
    6027             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6029 as_fn_error "bug in this script: unsupported IPP version 
    6030 See \`config.log' for more details." "$LINENO" 5; } 
     11897            { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
     11898See \`config.log' for more details." >&5 
     11899echo "$as_me: error: bug in this script: unsupported IPP version 
     11900See \`config.log' for more details." >&2;} 
     11901   { (exit 1); exit 1; }; } 
    603111902        fi 
    603211903 
    603311904        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    6034             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6036 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    6037 See \`config.log' for more details." "$LINENO" 5; } 
     11905            { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     11906See \`config.log' for more details." >&5 
     11907echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     11908See \`config.log' for more details." >&2;} 
     11909   { (exit 1); exit 1; }; } 
    603811910        fi 
    603911911 
    6040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
    6041 $as_echo "$IPPSAMP_DIR" >&6; } 
     11912        { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
     11913echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
    604211914 
    604311915        SAVED_CFLAGS="$CFLAGS" 
     
    605011922        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    605111923 
    6052         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
    6053 $as_echo_n "checking Intel IPP USC usability... " >&6; } 
    6054         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11924        { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
     11925echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
     11926        cat >conftest.$ac_ext <<_ACEOF 
     11927/* confdefs.h.  */ 
     11928_ACEOF 
     11929cat confdefs.h >>conftest.$ac_ext 
     11930cat >>conftest.$ac_ext <<_ACEOF 
    605511931/* end confdefs.h.  */ 
    605611932#include <usc.h> 
     
    606411940} 
    606511941_ACEOF 
    6066 if ac_fn_c_try_link "$LINENO"; then : 
    6067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    6068 $as_echo "ok" >&6; } 
    6069 else 
    6070   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6072 as_fn_error "failed 
    6073 See \`config.log' for more details." "$LINENO" 5; } 
    6074 fi 
    6075 rm -f core conftest.err conftest.$ac_objext \ 
    6076     conftest$ac_exeext conftest.$ac_ext 
     11942rm -f conftest.$ac_objext conftest$ac_exeext 
     11943if { (ac_try="$ac_link" 
     11944case "(($ac_try" in 
     11945  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11946  *) ac_try_echo=$ac_try;; 
     11947esac 
     11948eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11949  (eval "$ac_link") 2>conftest.er1 
     11950  ac_status=$? 
     11951  grep -v '^ *+' conftest.er1 >conftest.err 
     11952  rm -f conftest.er1 
     11953  cat conftest.err >&5 
     11954  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11955  (exit $ac_status); } && { 
     11956         test -z "$ac_c_werror_flag" || 
     11957         test ! -s conftest.err 
     11958       } && test -s conftest$ac_exeext && 
     11959       $as_test_x conftest$ac_exeext; then 
     11960  { echo "$as_me:$LINENO: result: ok" >&5 
     11961echo "${ECHO_T}ok" >&6; } 
     11962else 
     11963  echo "$as_me: failed program was:" >&5 
     11964sed 's/^/| /' conftest.$ac_ext >&5 
     11965 
     11966        { { echo "$as_me:$LINENO: error: failed 
     11967See \`config.log' for more details." >&5 
     11968echo "$as_me: error: failed 
     11969See \`config.log' for more details." >&2;} 
     11970   { (exit 1); exit 1; }; } 
     11971fi 
     11972 
     11973rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11974      conftest$ac_exeext conftest.$ac_ext 
    607711975 
    607811976        CFLAGS="$SAVED_CFLAGS" 
     
    609411992export IPP_LIBS=$IPP_LIBS" 
    609511993else 
    6096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
    6097 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
     11994    { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
     11995echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
    609811996fi 
    609911997 
     
    610212000 
    610312001# Check whether --enable-ssl was given. 
    6104 if test "${enable_ssl+set}" = set; then : 
     12002if test "${enable_ssl+set}" = set; then 
    610512003  enableval=$enable_ssl; 
    610612004                if test "$enable_ssl" = "no"; then 
    610712005                 ac_no_ssl=1 
    6108                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
    6109 $as_echo "Checking if SSL support is disabled... yes" >&6; } 
     12006                 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
     12007echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
    611012008                fi 
    611112009 
    611212010else 
    611312011 
    6114                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
    6115 $as_echo "checking for OpenSSL installations.." >&6; } 
    6116  
    6117  
    6118  
    6119                 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
    6120 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
     12012                { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
     12013echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
     12014 
     12015 
     12016 
     12017                if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12018  { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     12019echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
     12020if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12021  echo $ECHO_N "(cached) $ECHO_C" >&6 
     12022fi 
     12023{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     12024echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
     12025else 
     12026  # Is the header compilable? 
     12027{ echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
     12028echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
     12029cat >conftest.$ac_ext <<_ACEOF 
     12030/* confdefs.h.  */ 
     12031_ACEOF 
     12032cat confdefs.h >>conftest.$ac_ext 
     12033cat >>conftest.$ac_ext <<_ACEOF 
     12034/* end confdefs.h.  */ 
     12035$ac_includes_default 
     12036#include <openssl/ssl.h> 
     12037_ACEOF 
     12038rm -f conftest.$ac_objext 
     12039if { (ac_try="$ac_compile" 
     12040case "(($ac_try" in 
     12041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12042  *) ac_try_echo=$ac_try;; 
     12043esac 
     12044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12045  (eval "$ac_compile") 2>conftest.er1 
     12046  ac_status=$? 
     12047  grep -v '^ *+' conftest.er1 >conftest.err 
     12048  rm -f conftest.er1 
     12049  cat conftest.err >&5 
     12050  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12051  (exit $ac_status); } && { 
     12052         test -z "$ac_c_werror_flag" || 
     12053         test ! -s conftest.err 
     12054       } && test -s conftest.$ac_objext; then 
     12055  ac_header_compiler=yes 
     12056else 
     12057  echo "$as_me: failed program was:" >&5 
     12058sed 's/^/| /' conftest.$ac_ext >&5 
     12059 
     12060        ac_header_compiler=no 
     12061fi 
     12062 
     12063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     12064{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     12065echo "${ECHO_T}$ac_header_compiler" >&6; } 
     12066 
     12067# Is the header present? 
     12068{ echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
     12069echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
     12070cat >conftest.$ac_ext <<_ACEOF 
     12071/* confdefs.h.  */ 
     12072_ACEOF 
     12073cat confdefs.h >>conftest.$ac_ext 
     12074cat >>conftest.$ac_ext <<_ACEOF 
     12075/* end confdefs.h.  */ 
     12076#include <openssl/ssl.h> 
     12077_ACEOF 
     12078if { (ac_try="$ac_cpp conftest.$ac_ext" 
     12079case "(($ac_try" in 
     12080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12081  *) ac_try_echo=$ac_try;; 
     12082esac 
     12083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12084  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     12085  ac_status=$? 
     12086  grep -v '^ *+' conftest.er1 >conftest.err 
     12087  rm -f conftest.er1 
     12088  cat conftest.err >&5 
     12089  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12090  (exit $ac_status); } >/dev/null && { 
     12091         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     12092         test ! -s conftest.err 
     12093       }; then 
     12094  ac_header_preproc=yes 
     12095else 
     12096  echo "$as_me: failed program was:" >&5 
     12097sed 's/^/| /' conftest.$ac_ext >&5 
     12098 
     12099  ac_header_preproc=no 
     12100fi 
     12101 
     12102rm -f conftest.err conftest.$ac_ext 
     12103{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     12104echo "${ECHO_T}$ac_header_preproc" >&6; } 
     12105 
     12106# So?  What about this header? 
     12107case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     12108  yes:no: ) 
     12109    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     12110echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     12111    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
     12112echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
     12113    ac_header_preproc=yes 
     12114    ;; 
     12115  no:yes:* ) 
     12116    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
     12117echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
     12118    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
     12119echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
     12120    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
     12121echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
     12122    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     12123echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     12124    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
     12125echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
     12126    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
     12127echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
     12128 
     12129    ;; 
     12130esac 
     12131{ echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     12132echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
     12133if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12134  echo $ECHO_N "(cached) $ECHO_C" >&6 
     12135else 
     12136  ac_cv_header_openssl_ssl_h=$ac_header_preproc 
     12137fi 
     12138{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     12139echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
     12140 
     12141fi 
     12142if test $ac_cv_header_openssl_ssl_h = yes; then 
    612112143  openssl_h_present=1 
    612212144fi 
    612312145 
    612412146 
    6125                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    6126 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
    6127 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
    6128   $as_echo_n "(cached) " >&6 
     12147                { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     12148echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
     12149if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
     12150  echo $ECHO_N "(cached) $ECHO_C" >&6 
    612912151else 
    613012152  ac_check_lib_save_LIBS=$LIBS 
    613112153LIBS="-lcrypto  $LIBS" 
    6132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12154cat >conftest.$ac_ext <<_ACEOF 
     12155/* confdefs.h.  */ 
     12156_ACEOF 
     12157cat confdefs.h >>conftest.$ac_ext 
     12158cat >>conftest.$ac_ext <<_ACEOF 
    613312159/* end confdefs.h.  */ 
    613412160 
     
    614812174} 
    614912175_ACEOF 
    6150 if ac_fn_c_try_link "$LINENO"; then : 
     12176rm -f conftest.$ac_objext conftest$ac_exeext 
     12177if { (ac_try="$ac_link" 
     12178case "(($ac_try" in 
     12179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12180  *) ac_try_echo=$ac_try;; 
     12181esac 
     12182eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12183  (eval "$ac_link") 2>conftest.er1 
     12184  ac_status=$? 
     12185  grep -v '^ *+' conftest.er1 >conftest.err 
     12186  rm -f conftest.er1 
     12187  cat conftest.err >&5 
     12188  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12189  (exit $ac_status); } && { 
     12190         test -z "$ac_c_werror_flag" || 
     12191         test ! -s conftest.err 
     12192       } && test -s conftest$ac_exeext && 
     12193       $as_test_x conftest$ac_exeext; then 
    615112194  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    615212195else 
    6153   ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    6154 fi 
    6155 rm -f core conftest.err conftest.$ac_objext \ 
    6156     conftest$ac_exeext conftest.$ac_ext 
     12196  echo "$as_me: failed program was:" >&5 
     12197sed 's/^/| /' conftest.$ac_ext >&5 
     12198 
     12199        ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     12200fi 
     12201 
     12202rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12203      conftest$ac_exeext conftest.$ac_ext 
    615712204LIBS=$ac_check_lib_save_LIBS 
    615812205fi 
    6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    6160 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    6161 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
     12206{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     12207echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     12208if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
    616212209  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    616312210fi 
    616412211 
    6165                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
    6166 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
    6167 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
    6168   $as_echo_n "(cached) " >&6 
     12212                { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
     12213echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
     12214if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
     12215  echo $ECHO_N "(cached) $ECHO_C" >&6 
    616912216else 
    617012217  ac_check_lib_save_LIBS=$LIBS 
    617112218LIBS="-lssl  $LIBS" 
    6172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12219cat >conftest.$ac_ext <<_ACEOF 
     12220/* confdefs.h.  */ 
     12221_ACEOF 
     12222cat confdefs.h >>conftest.$ac_ext 
     12223cat >>conftest.$ac_ext <<_ACEOF 
    617312224/* end confdefs.h.  */ 
    617412225 
     
    618812239} 
    618912240_ACEOF 
    6190 if ac_fn_c_try_link "$LINENO"; then : 
     12241rm -f conftest.$ac_objext conftest$ac_exeext 
     12242if { (ac_try="$ac_link" 
     12243case "(($ac_try" in 
     12244  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12245  *) ac_try_echo=$ac_try;; 
     12246esac 
     12247eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12248  (eval "$ac_link") 2>conftest.er1 
     12249  ac_status=$? 
     12250  grep -v '^ *+' conftest.er1 >conftest.err 
     12251  rm -f conftest.er1 
     12252  cat conftest.err >&5 
     12253  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12254  (exit $ac_status); } && { 
     12255         test -z "$ac_c_werror_flag" || 
     12256         test ! -s conftest.err 
     12257       } && test -s conftest$ac_exeext && 
     12258       $as_test_x conftest$ac_exeext; then 
    619112259  ac_cv_lib_ssl_SSL_library_init=yes 
    619212260else 
    6193   ac_cv_lib_ssl_SSL_library_init=no 
    6194 fi 
    6195 rm -f core conftest.err conftest.$ac_objext \ 
    6196     conftest$ac_exeext conftest.$ac_ext 
     12261  echo "$as_me: failed program was:" >&5 
     12262sed 's/^/| /' conftest.$ac_ext >&5 
     12263 
     12264        ac_cv_lib_ssl_SSL_library_init=no 
     12265fi 
     12266 
     12267rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12268      conftest$ac_exeext conftest.$ac_ext 
    619712269LIBS=$ac_check_lib_save_LIBS 
    619812270fi 
    6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    6200 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    6201 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
     12271{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     12272echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     12273if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
    620212274  libssl_present=1 && LIBS="$LIBS -lssl" 
    620312275fi 
    620412276 
    620512277                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    6206                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
    6207 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 
     12278                        { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
     12279echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
    620812280                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    620912281                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    6210                         $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
     12282                        cat >>confdefs.h <<\_ACEOF 
     12283#define PJ_HAS_SSL_SOCK 1 
     12284_ACEOF 
    621112285 
    621212286                else 
    6213                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    6214 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     12287                        { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     12288echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    621512289                fi 
    621612290 
     
    622112295 
    622212296 
    6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
    6224 $as_echo_n "checking if select() needs correct nfds... " >&6; } 
     12297{ echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
     12298echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
    622512299case $target in 
    6226   *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
    6227  
    6228            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6229 $as_echo "yes" >&6; } 
     12300  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12301#define PJ_SELECT_NEEDS_NFDS 1 
     12302_ACEOF 
     12303 
     12304           { echo "$as_me:$LINENO: result: yes" >&5 
     12305echo "${ECHO_T}yes" >&6; } 
    623012306        ;; 
    6231   *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
    6232  
    6233      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6234 $as_echo "no (default)" >&6; } 
    6235      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    6236 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     12307  *) cat >>confdefs.h <<\_ACEOF 
     12308#define PJ_SELECT_NEEDS_NFDS 0 
     12309_ACEOF 
     12310 
     12311     { echo "$as_me:$LINENO: result: no (default)" >&5 
     12312echo "${ECHO_T}no (default)" >&6; } 
     12313     { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     12314echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    623712315        ;; 
    623812316esac 
    623912317 
    6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
    6241 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
     12318{ echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
     12319echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
    624212320case $target in 
    6243   *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
    6244  
    6245            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6246 $as_echo "yes" >&6; } 
     12321  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12322#define PJ_THREAD_SET_STACK_SIZE 1 
     12323_ACEOF 
     12324 
     12325           { echo "$as_me:$LINENO: result: yes" >&5 
     12326echo "${ECHO_T}yes" >&6; } 
    624712327        ;; 
    6248   *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
    6249  
    6250      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6251 $as_echo "no (default)" >&6; } 
     12328  *) cat >>confdefs.h <<\_ACEOF 
     12329#define PJ_THREAD_SET_STACK_SIZE 0 
     12330_ACEOF 
     12331 
     12332     { echo "$as_me:$LINENO: result: no (default)" >&5 
     12333echo "${ECHO_T}no (default)" >&6; } 
    625212334        ;; 
    625312335esac 
    625412336 
    6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
    6256 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
     12337{ echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
     12338echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
    625712339case $target in 
    6258   *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
    6259  
    6260            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6261 $as_echo "yes" >&6; } 
     12340  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12341#define PJ_THREAD_ALLOCATE_STACK 1 
     12342_ACEOF 
     12343 
     12344           { echo "$as_me:$LINENO: result: yes" >&5 
     12345echo "${ECHO_T}yes" >&6; } 
    626212346        ;; 
    6263   *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
    6264  
    6265      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6266 $as_echo "no (default)" >&6; } 
     12347  *) cat >>confdefs.h <<\_ACEOF 
     12348#define PJ_THREAD_ALLOCATE_STACK 0 
     12349_ACEOF 
     12350 
     12351     { echo "$as_me:$LINENO: result: no (default)" >&5 
     12352echo "${ECHO_T}no (default)" >&6; } 
    626712353        ;; 
    626812354esac 
     
    627012356case $target in 
    627112357  *mingw* | *cygw* | *win32* | *w32* ) 
    6272         $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
     12358        cat >>confdefs.h <<\_ACEOF 
     12359#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
     12360_ACEOF 
    627312361 
    627412362        ;; 
    6275   *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
    6276  
    6277      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    6278 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     12363  *) cat >>confdefs.h <<\_ACEOF 
     12364#define PJ_BLOCKING_ERROR_VAL EAGAIN 
     12365_ACEOF 
     12366 
     12367     { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     12368echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    627912369        ;; 
    628012370esac 
     
    628212372case $target in 
    628312373  *mingw* | *cygw* | *win32* | *w32* ) 
    6284         $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
     12374        cat >>confdefs.h <<\_ACEOF 
     12375#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
     12376_ACEOF 
    628512377 
    628612378        ;; 
    6287   *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
    6288  
    6289      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    6290 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     12379  *) cat >>confdefs.h <<\_ACEOF 
     12380#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
     12381_ACEOF 
     12382 
     12383     { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     12384echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    629112385        ;; 
    629212386esac 
     
    634312437    *${as_nl}*) 
    634412438      case $ac_var in #( 
    6345       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
    6346 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
     12439      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
     12440echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
    634712441      esac 
    634812442      case $ac_var in #( 
    634912443      _ | IFS | as_nl) ;; #( 
    6350       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    6351       *) { eval $ac_var=; unset $ac_var;} ;; 
     12444      *) $as_unset $ac_var ;; 
    635212445      esac ;; 
    635312446    esac 
     
    635712450    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    635812451    *${as_nl}ac_space=\ *) 
    6359       # `set' does not quote correctly, so add quotes: double-quote 
    6360       # substitution turns \\\\ into \\, and sed turns \\ into \. 
     12452      # `set' does not quote correctly, so add quotes (double-quote 
     12453      # substitution turns \\\\ into \\, and sed turns \\ into \). 
    636112454      sed -n \ 
    636212455        "s/'/'\\\\''/g; 
     
    638112474  if test -w "$cache_file"; then 
    638212475    test "x$cache_file" != "x/dev/null" && 
    6383       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
    6384 $as_echo "$as_me: updating cache $cache_file" >&6;} 
     12476      { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
     12477echo "$as_me: updating cache $cache_file" >&6;} 
    638512478    cat confcache >$cache_file 
    638612479  else 
    6387     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
    6388 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     12480    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
     12481echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    638912482  fi 
    639012483fi 
     
    640212495  # 1. Remove the extension, and $U if already installed. 
    640312496  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    6404   ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
     12497  ac_i=`echo "$ac_i" | sed "$ac_script"` 
    640512498  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    640612499  #    will be set to the directory where LIBOBJS objects are built. 
    6407   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    6408   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
     12500  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     12501  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
    640912502done 
    641012503LIBOBJS=$ac_libobjs 
     
    641412507 
    641512508 
    6416  
    641712509: ${CONFIG_STATUS=./config.status} 
    6418 ac_write_fail=0 
    641912510ac_clean_files_save=$ac_clean_files 
    642012511ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    6421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
    6422 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    6423 as_write_fail=0 
    6424 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
     12512{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
     12513echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     12514cat >$CONFIG_STATUS <<_ACEOF 
    642512515#! $SHELL 
    642612516# Generated by $as_me. 
     
    643212522ac_cs_recheck=false 
    643312523ac_cs_silent=false 
    6434  
    643512524SHELL=\${CONFIG_SHELL-$SHELL} 
    6436 export SHELL 
    6437 _ASEOF 
    6438 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
    6439 ## -------------------- ## 
    6440 ## M4sh Initialization. ## 
    6441 ## -------------------- ## 
     12525_ACEOF 
     12526 
     12527cat >>$CONFIG_STATUS <<\_ACEOF 
     12528## --------------------- ## 
     12529## M4sh Initialization.  ## 
     12530## --------------------- ## 
    644212531 
    644312532# Be more Bourne compatible 
    644412533DUALCASE=1; export DUALCASE # for MKS sh 
    6445 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
     12534if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    644612535  emulate sh 
    644712536  NULLCMD=: 
    6448   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
     12537  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    644912538  # is contrary to our usage.  Disable this feature. 
    645012539  alias -g '${1+"$@"}'='"$@"' 
    645112540  setopt NO_GLOB_SUBST 
    645212541else 
    6453   case `(set -o) 2>/dev/null` in #( 
    6454   *posix*) : 
    6455     set -o posix ;; #( 
    6456   *) : 
    6457      ;; 
    6458 esac 
    6459 fi 
    6460  
    6461  
    6462 as_nl=' 
    6463 ' 
    6464 export as_nl 
    6465 # Printing a long string crashes Solaris 7 /usr/bin/printf. 
    6466 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
    6467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
    6468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
    6469 # Prefer a ksh shell builtin over an external printf program on Solaris, 
    6470 # but without wasting forks for bash or zsh. 
    6471 if test -z "$BASH_VERSION$ZSH_VERSION" \ 
    6472     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
    6473   as_echo='print -r --' 
    6474   as_echo_n='print -rn --' 
    6475 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
    6476   as_echo='printf %s\n' 
    6477   as_echo_n='printf %s' 
    6478 else 
    6479   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
    6480     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
    6481     as_echo_n='/usr/ucb/echo -n' 
    6482   else 
    6483     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
    6484     as_echo_n_body='eval 
    6485       arg=$1; 
    6486       case $arg in #( 
    6487       *"$as_nl"*) 
    6488         expr "X$arg" : "X\\(.*\\)$as_nl"; 
    6489         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
    6490       esac; 
    6491       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
    6492     ' 
    6493     export as_echo_n_body 
    6494     as_echo_n='sh -c $as_echo_n_body as_echo' 
    6495   fi 
    6496   export as_echo_body 
    6497   as_echo='sh -c $as_echo_body as_echo' 
    6498 fi 
     12542  case `(set -o) 2>/dev/null` in 
     12543  *posix*) set -o posix ;; 
     12544esac 
     12545 
     12546fi 
     12547 
     12548 
     12549 
     12550 
     12551# PATH needs CR 
     12552# Avoid depending upon Character Ranges. 
     12553as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     12554as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     12555as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     12556as_cr_digits='0123456789' 
     12557as_cr_alnum=$as_cr_Letters$as_cr_digits 
    649912558 
    650012559# The user is always right. 
    650112560if test "${PATH_SEPARATOR+set}" != set; then 
    6502   PATH_SEPARATOR=: 
    6503   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
    6504     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
    6505       PATH_SEPARATOR=';' 
    6506   } 
     12561  echo "#! /bin/sh" >conf$$.sh 
     12562  echo  "exit 0"   >>conf$$.sh 
     12563  chmod +x conf$$.sh 
     12564  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     12565    PATH_SEPARATOR=';' 
     12566  else 
     12567    PATH_SEPARATOR=: 
     12568  fi 
     12569  rm -f conf$$.sh 
     12570fi 
     12571 
     12572# Support unset when possible. 
     12573if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     12574  as_unset=unset 
     12575else 
     12576  as_unset=false 
    650712577fi 
    650812578 
     
    651312583# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    651412584# splitting by setting IFS to empty value.) 
     12585as_nl=' 
     12586' 
    651512587IFS=" ""        $as_nl" 
    651612588 
    651712589# Find who we are.  Look in the path if we contain no directory separator. 
    6518 case $0 in #(( 
     12590case $0 in 
    651912591  *[\\/]* ) as_myself=$0 ;; 
    652012592  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    652312595  IFS=$as_save_IFS 
    652412596  test -z "$as_dir" && as_dir=. 
    6525     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    6526   done 
     12597  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     12598done 
    652712599IFS=$as_save_IFS 
    652812600 
     
    653512607fi 
    653612608if test ! -f "$as_myself"; then 
    6537   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    6538   exit 1 
    6539 fi 
    6540  
    6541 # Unset variables that we do not need and which cause bugs (e.g. in 
    6542 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
    6543 # suppresses any "Segmentation fault" message there.  '((' could 
    6544 # trigger a bug in pdksh 5.2.14. 
    6545 for as_var in BASH_ENV ENV MAIL MAILPATH 
    6546 do eval test x\${$as_var+set} = xset \ 
    6547   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
     12609  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     12610  { (exit 1); exit 1; } 
     12611fi 
     12612 
     12613# Work around bugs in pre-3.0 UWIN ksh. 
     12614for as_var in ENV MAIL MAILPATH 
     12615do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    654812616done 
    654912617PS1='$ ' 
     
    655212620 
    655312621# NLS nuisances. 
    6554 LC_ALL=C 
    6555 export LC_ALL 
    6556 LANGUAGE=C 
    6557 export LANGUAGE 
    6558  
    6559 # CDPATH. 
    6560 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    6561  
    6562  
    6563 # as_fn_error ERROR [LINENO LOG_FD] 
    6564 # --------------------------------- 
    6565 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    6566 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    6567 # script with status $?, using 1 if that was 0. 
    6568 as_fn_error () 
    6569 { 
    6570   as_status=$?; test $as_status -eq 0 && as_status=1 
    6571   if test "$3"; then 
    6572     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    6573     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     12622for as_var in \ 
     12623  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     12624  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     12625  LC_TELEPHONE LC_TIME 
     12626do 
     12627  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     12628    eval $as_var=C; export $as_var 
     12629  else 
     12630    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    657412631  fi 
    6575   $as_echo "$as_me: error: $1" >&2 
    6576   as_fn_exit $as_status 
    6577 } # as_fn_error 
    6578  
    6579  
    6580 # as_fn_set_status STATUS 
    6581 # ----------------------- 
    6582 # Set $? to STATUS, without forking. 
    6583 as_fn_set_status () 
    6584 { 
    6585   return $1 
    6586 } # as_fn_set_status 
    6587  
    6588 # as_fn_exit STATUS 
    6589 # ----------------- 
    6590 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
    6591 as_fn_exit () 
    6592 { 
    6593   set +e 
    6594   as_fn_set_status $1 
    6595   exit $1 
    6596 } # as_fn_exit 
    6597  
    6598 # as_fn_unset VAR 
    6599 # --------------- 
    6600 # Portably unset VAR. 
    6601 as_fn_unset () 
    6602 { 
    6603   { eval $1=; unset $1;} 
    6604 } 
    6605 as_unset=as_fn_unset 
    6606 # as_fn_append VAR VALUE 
    6607 # ---------------------- 
    6608 # Append the text in VALUE to the end of the definition contained in VAR. Take 
    6609 # advantage of any shell optimizations that allow amortized linear growth over 
    6610 # repeated appends, instead of the typical quadratic growth present in naive 
    6611 # implementations. 
    6612 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
    6613   eval 'as_fn_append () 
    6614   { 
    6615     eval $1+=\$2 
    6616   }' 
    6617 else 
    6618   as_fn_append () 
    6619   { 
    6620     eval $1=\$$1\$2 
    6621   } 
    6622 fi # as_fn_append 
    6623  
    6624 # as_fn_arith ARG... 
    6625 # ------------------ 
    6626 # Perform arithmetic evaluation on the ARGs, and store the result in the 
    6627 # global $as_val. Take advantage of shells that can avoid forks. The arguments 
    6628 # must be portable across $(()) and expr. 
    6629 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
    6630   eval 'as_fn_arith () 
    6631   { 
    6632     as_val=$(( $* )) 
    6633   }' 
    6634 else 
    6635   as_fn_arith () 
    6636   { 
    6637     as_val=`expr "$@" || test $? -eq 1` 
    6638   } 
    6639 fi # as_fn_arith 
    6640  
    6641  
     12632done 
     12633 
     12634# Required to use basename. 
    664212635if expr a : '\(a\)' >/dev/null 2>&1 && 
    664312636   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    665312646fi 
    665412647 
    6655 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    6656   as_dirname=dirname 
    6657 else 
    6658   as_dirname=false 
    6659 fi 
    6660  
     12648 
     12649# Name of the executable. 
    666112650as_me=`$as_basename -- "$0" || 
    666212651$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    666312652         X"$0" : 'X\(//\)$' \| \ 
    666412653         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    6665 $as_echo X/"$0" | 
     12654echo X/"$0" | 
    666612655    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    666712656            s//\1/ 
     
    667812667          s/.*/./; q'` 
    667912668 
    6680 # Avoid depending upon Character Ranges. 
    6681 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    6682 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    6683 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    6684 as_cr_digits='0123456789' 
    6685 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     12669# CDPATH. 
     12670$as_unset CDPATH 
     12671 
     12672 
     12673 
     12674  as_lineno_1=$LINENO 
     12675  as_lineno_2=$LINENO 
     12676  test "x$as_lineno_1" != "x$as_lineno_2" && 
     12677  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
     12678 
     12679  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     12680  # uniformly replaced by the line number.  The first 'sed' inserts a 
     12681  # line-number line after each line using $LINENO; the second 'sed' 
     12682  # does the real work.  The second script uses 'N' to pair each 
     12683  # line-number line with the line containing $LINENO, and appends 
     12684  # trailing '-' during substitution so that $LINENO is not a special 
     12685  # case at line end. 
     12686  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     12687  # scripts with optimization help from Paolo Bonzini.  Blame Lee 
     12688  # E. McMahon (1931-1989) for sed's syntax.  :-) 
     12689  sed -n ' 
     12690    p 
     12691    /[$]LINENO/= 
     12692  ' <$as_myself | 
     12693    sed ' 
     12694      s/[$]LINENO.*/&-/ 
     12695      t lineno 
     12696      b 
     12697      :lineno 
     12698      N 
     12699      :loop 
     12700      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
     12701      t loop 
     12702      s/-\n.*// 
     12703    ' >$as_me.lineno && 
     12704  chmod +x "$as_me.lineno" || 
     12705    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
     12706   { (exit 1); exit 1; }; } 
     12707 
     12708  # Don't try to exec as it changes $[0], causing all sort of problems 
     12709  # (the dirname of $[0] is not the place where we might find the 
     12710  # original and so on.  Autoconf is especially sensitive to this). 
     12711  . "./$as_me.lineno" 
     12712  # Exit status is that of the last command. 
     12713  exit 
     12714} 
     12715 
     12716 
     12717if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     12718  as_dirname=dirname 
     12719else 
     12720  as_dirname=false 
     12721fi 
    668612722 
    668712723ECHO_C= ECHO_N= ECHO_T= 
    6688 case `echo -n x` in #((((( 
     12724case `echo -n x` in 
    668912725-n*) 
    6690   case `echo 'xy\c'` in 
     12726  case `echo 'x\c'` in 
    669112727  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    6692   xy)  ECHO_C='\c';; 
    6693   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
    6694        ECHO_T=' ';; 
     12728  *)   ECHO_C='\c';; 
    669512729  esac;; 
    669612730*) 
     
    669812732esac 
    669912733 
     12734if expr a : '\(a\)' >/dev/null 2>&1 && 
     12735   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     12736  as_expr=expr 
     12737else 
     12738  as_expr=false 
     12739fi 
     12740 
    670012741rm -f conf$$ conf$$.exe conf$$.file 
    670112742if test -d conf$$.dir; then 
     
    670312744else 
    670412745  rm -f conf$$.dir 
    6705   mkdir conf$$.dir 2>/dev/null 
    6706 fi 
    6707 if (echo >conf$$.file) 2>/dev/null; then 
    6708   if ln -s conf$$.file conf$$ 2>/dev/null; then 
    6709     as_ln_s='ln -s' 
    6710     # ... but there are two gotchas: 
    6711     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    6712     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    6713     # In both cases, we have to default to `cp -p'. 
    6714     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    6715       as_ln_s='cp -p' 
    6716   elif ln conf$$.file conf$$ 2>/dev/null; then 
    6717     as_ln_s=ln 
    6718   else 
     12746  mkdir conf$$.dir 
     12747fi 
     12748echo >conf$$.file 
     12749if ln -s conf$$.file conf$$ 2>/dev/null; then 
     12750  as_ln_s='ln -s' 
     12751  # ... but there are two gotchas: 
     12752  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     12753  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     12754  # In both cases, we have to default to `cp -p'. 
     12755  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    671912756    as_ln_s='cp -p' 
    6720   fi 
     12757elif ln conf$$.file conf$$ 2>/dev/null; then 
     12758  as_ln_s=ln 
    672112759else 
    672212760  as_ln_s='cp -p' 
     
    672512763rmdir conf$$.dir 2>/dev/null 
    672612764 
    6727  
    6728 # as_fn_mkdir_p 
    6729 # ------------- 
    6730 # Create "$as_dir" as a directory, including parents if necessary. 
    6731 as_fn_mkdir_p () 
     12765if mkdir -p . 2>/dev/null; then 
     12766  as_mkdir_p=: 
     12767else 
     12768  test -d ./-p && rmdir ./-p 
     12769  as_mkdir_p=false 
     12770fi 
     12771 
     12772if test -x / >/dev/null 2>&1; then 
     12773  as_test_x='test -x' 
     12774else 
     12775  if ls -dL / >/dev/null 2>&1; then 
     12776    as_ls_L_option=L 
     12777  else 
     12778    as_ls_L_option= 
     12779  fi 
     12780  as_test_x=' 
     12781    eval sh -c '\'' 
     12782      if test -d "$1"; then 
     12783        test -d "$1/."; 
     12784      else 
     12785        case $1 in 
     12786        -*)set "./$1";; 
     12787        esac; 
     12788        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     12789        ???[sx]*):;;*)false;;esac;fi 
     12790    '\'' sh 
     12791  ' 
     12792fi 
     12793as_executable_p=$as_test_x 
     12794 
     12795# Sed expression to map a string onto a valid CPP name. 
     12796as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     12797 
     12798# Sed expression to map a string onto a valid variable name. 
     12799as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     12800 
     12801 
     12802exec 6>&1 
     12803 
     12804# Save the log message, to keep $[0] and so on meaningful, and to 
     12805# report actual input values of CONFIG_FILES etc. instead of their 
     12806# values after options handling. 
     12807ac_log=" 
     12808This file was extended by pjproject $as_me 1.x, which was 
     12809generated by GNU Autoconf 2.61.  Invocation command line was 
     12810 
     12811  CONFIG_FILES    = $CONFIG_FILES 
     12812  CONFIG_HEADERS  = $CONFIG_HEADERS 
     12813  CONFIG_LINKS    = $CONFIG_LINKS 
     12814  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     12815  $ $0 $@ 
     12816 
     12817on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     12818" 
     12819 
     12820_ACEOF 
     12821 
     12822cat >>$CONFIG_STATUS <<_ACEOF 
     12823# Files that config.status was made for. 
     12824config_files="$ac_config_files" 
     12825config_headers="$ac_config_headers" 
     12826 
     12827_ACEOF 
     12828 
     12829cat >>$CONFIG_STATUS <<\_ACEOF 
     12830ac_cs_usage="\ 
     12831\`$as_me' instantiates files from templates according to the 
     12832current configuration. 
     12833 
     12834Usage: $0 [OPTIONS] [FILE]... 
     12835 
     12836  -h, --help       print this help, then exit 
     12837  -V, --version    print version number and configuration settings, then exit 
     12838  -q, --quiet      do not print progress messages 
     12839  -d, --debug      don't remove temporary files 
     12840      --recheck    update $as_me by reconfiguring in the same conditions 
     12841  --file=FILE[:TEMPLATE] 
     12842                   instantiate the configuration file FILE 
     12843  --header=FILE[:TEMPLATE] 
     12844                   instantiate the configuration header FILE 
     12845 
     12846Configuration files: 
     12847$config_files 
     12848 
     12849Configuration headers: 
     12850$config_headers 
     12851 
     12852Report bugs to <bug-autoconf@gnu.org>." 
     12853 
     12854_ACEOF 
     12855cat >>$CONFIG_STATUS <<_ACEOF 
     12856ac_cs_version="\\ 
     12857pjproject config.status 1.x 
     12858configured by $0, generated by GNU Autoconf 2.61, 
     12859  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
     12860 
     12861Copyright (C) 2006 Free Software Foundation, Inc. 
     12862This config.status script is free software; the Free Software Foundation 
     12863gives unlimited permission to copy, distribute and modify it." 
     12864 
     12865ac_pwd='$ac_pwd' 
     12866srcdir='$srcdir' 
     12867_ACEOF 
     12868 
     12869cat >>$CONFIG_STATUS <<\_ACEOF 
     12870# If no file are specified by the user, then we need to provide default 
     12871# value.  By we need to know if files were specified by the user. 
     12872ac_need_defaults=: 
     12873while test $# != 0 
     12874do 
     12875  case $1 in 
     12876  --*=*) 
     12877    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     12878    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     12879    ac_shift=: 
     12880    ;; 
     12881  *) 
     12882    ac_option=$1 
     12883    ac_optarg=$2 
     12884    ac_shift=shift 
     12885    ;; 
     12886  esac 
     12887 
     12888  case $ac_option in 
     12889  # Handling of the options. 
     12890  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     12891    ac_cs_recheck=: ;; 
     12892  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     12893    echo "$ac_cs_version"; exit ;; 
     12894  --debug | --debu | --deb | --de | --d | -d ) 
     12895    debug=: ;; 
     12896  --file | --fil | --fi | --f ) 
     12897    $ac_shift 
     12898    CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
     12899    ac_need_defaults=false;; 
     12900  --header | --heade | --head | --hea ) 
     12901    $ac_shift 
     12902    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
     12903    ac_need_defaults=false;; 
     12904  --he | --h) 
     12905    # Conflict between --help and --header 
     12906    { echo "$as_me: error: ambiguous option: $1 
     12907Try \`$0 --help' for more information." >&2 
     12908   { (exit 1); exit 1; }; };; 
     12909  --help | --hel | -h ) 
     12910    echo "$ac_cs_usage"; exit ;; 
     12911  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     12912  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     12913    ac_cs_silent=: ;; 
     12914 
     12915  # This is an error. 
     12916  -*) { echo "$as_me: error: unrecognized option: $1 
     12917Try \`$0 --help' for more information." >&2 
     12918   { (exit 1); exit 1; }; } ;; 
     12919 
     12920  *) ac_config_targets="$ac_config_targets $1" 
     12921     ac_need_defaults=false ;; 
     12922 
     12923  esac 
     12924  shift 
     12925done 
     12926 
     12927ac_configure_extra_args= 
     12928 
     12929if $ac_cs_silent; then 
     12930  exec 6>/dev/null 
     12931  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     12932fi 
     12933 
     12934_ACEOF 
     12935cat >>$CONFIG_STATUS <<_ACEOF 
     12936if \$ac_cs_recheck; then 
     12937  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
     12938  CONFIG_SHELL=$SHELL 
     12939  export CONFIG_SHELL 
     12940  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     12941fi 
     12942 
     12943_ACEOF 
     12944cat >>$CONFIG_STATUS <<\_ACEOF 
     12945exec 5>>config.log 
    673212946{ 
    6733  
     12947  echo 
     12948  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     12949## Running $as_me. ## 
     12950_ASBOX 
     12951  echo "$ac_log" 
     12952} >&5 
     12953 
     12954_ACEOF 
     12955cat >>$CONFIG_STATUS <<_ACEOF 
     12956_ACEOF 
     12957 
     12958cat >>$CONFIG_STATUS <<\_ACEOF 
     12959 
     12960# Handling of arguments. 
     12961for ac_config_target in $ac_config_targets 
     12962do 
     12963  case $ac_config_target in 
     12964    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     12965    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     12966    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     12967    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     12968    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     12969    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     12970    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     12971    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     12972    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     12973    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     12974    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     12975    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     12976    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     12977    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     12978 
     12979  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
     12980echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
     12981   { (exit 1); exit 1; }; };; 
     12982  esac 
     12983done 
     12984 
     12985 
     12986# If the user did not use the arguments to specify the items to instantiate, 
     12987# then the envvar interface is used.  Set only those that are not. 
     12988# We use the long form for the default assignment because of an extremely 
     12989# bizarre bug on SunOS 4.1.3. 
     12990if $ac_need_defaults; then 
     12991  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     12992  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     12993fi 
     12994 
     12995# Have a temporary directory for convenience.  Make it in the build tree 
     12996# simply because there is no reason against having it here, and in addition, 
     12997# creating and moving files from /tmp can sometimes cause problems. 
     12998# Hook for its removal unless debugging. 
     12999# Note that there is a small window in which the directory will not be cleaned: 
     13000# after its creation but before its name has been assigned to `$tmp'. 
     13001$debug || 
     13002{ 
     13003  tmp= 
     13004  trap 'exit_status=$? 
     13005  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     13006' 0 
     13007  trap '{ (exit 1); exit 1; }' 1 2 13 15 
     13008} 
     13009# Create a (secure) tmp directory for tmp files. 
     13010 
     13011{ 
     13012  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     13013  test -n "$tmp" && test -d "$tmp" 
     13014}  || 
     13015{ 
     13016  tmp=./conf$$-$RANDOM 
     13017  (umask 077 && mkdir "$tmp") 
     13018} || 
     13019{ 
     13020   echo "$me: cannot create a temporary directory in ." >&2 
     13021   { (exit 1); exit 1; } 
     13022} 
     13023 
     13024# 
     13025# Set up the sed scripts for CONFIG_FILES section. 
     13026# 
     13027 
     13028# No need to generate the scripts if there are no CONFIG_FILES. 
     13029# This happens for instance when ./config.status config.h 
     13030if test -n "$CONFIG_FILES"; then 
     13031 
     13032_ACEOF 
     13033 
     13034 
     13035 
     13036ac_delim='%!_!# ' 
     13037for ac_last_try in false false false false false :; do 
     13038  cat >conf$$subs.sed <<_ACEOF 
     13039SHELL!$SHELL$ac_delim 
     13040PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
     13041PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
     13042PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
     13043PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
     13044PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
     13045PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
     13046exec_prefix!$exec_prefix$ac_delim 
     13047prefix!$prefix$ac_delim 
     13048program_transform_name!$program_transform_name$ac_delim 
     13049bindir!$bindir$ac_delim 
     13050sbindir!$sbindir$ac_delim 
     13051libexecdir!$libexecdir$ac_delim 
     13052datarootdir!$datarootdir$ac_delim 
     13053datadir!$datadir$ac_delim 
     13054sysconfdir!$sysconfdir$ac_delim 
     13055sharedstatedir!$sharedstatedir$ac_delim 
     13056localstatedir!$localstatedir$ac_delim 
     13057includedir!$includedir$ac_delim 
     13058oldincludedir!$oldincludedir$ac_delim 
     13059docdir!$docdir$ac_delim 
     13060infodir!$infodir$ac_delim 
     13061htmldir!$htmldir$ac_delim 
     13062dvidir!$dvidir$ac_delim 
     13063pdfdir!$pdfdir$ac_delim 
     13064psdir!$psdir$ac_delim 
     13065libdir!$libdir$ac_delim 
     13066localedir!$localedir$ac_delim 
     13067mandir!$mandir$ac_delim 
     13068DEFS!$DEFS$ac_delim 
     13069ECHO_C!$ECHO_C$ac_delim 
     13070ECHO_N!$ECHO_N$ac_delim 
     13071ECHO_T!$ECHO_T$ac_delim 
     13072LIBS!$LIBS$ac_delim 
     13073build_alias!$build_alias$ac_delim 
     13074host_alias!$host_alias$ac_delim 
     13075target_alias!$target_alias$ac_delim 
     13076build!$build$ac_delim 
     13077build_cpu!$build_cpu$ac_delim 
     13078build_vendor!$build_vendor$ac_delim 
     13079build_os!$build_os$ac_delim 
     13080host!$host$ac_delim 
     13081host_cpu!$host_cpu$ac_delim 
     13082host_vendor!$host_vendor$ac_delim 
     13083host_os!$host_os$ac_delim 
     13084target!$target$ac_delim 
     13085target_cpu!$target_cpu$ac_delim 
     13086target_vendor!$target_vendor$ac_delim 
     13087target_os!$target_os$ac_delim 
     13088CC!$CC$ac_delim 
     13089CFLAGS!$CFLAGS$ac_delim 
     13090LDFLAGS!$LDFLAGS$ac_delim 
     13091CPPFLAGS!$CPPFLAGS$ac_delim 
     13092ac_ct_CC!$ac_ct_CC$ac_delim 
     13093EXEEXT!$EXEEXT$ac_delim 
     13094OBJEXT!$OBJEXT$ac_delim 
     13095CXX!$CXX$ac_delim 
     13096CXXFLAGS!$CXXFLAGS$ac_delim 
     13097ac_ct_CXX!$ac_ct_CXX$ac_delim 
     13098AR!$AR$ac_delim 
     13099LD!$LD$ac_delim 
     13100LDOUT!$LDOUT$ac_delim 
     13101RANLIB!$RANLIB$ac_delim 
     13102LIBEXT!$LIBEXT$ac_delim 
     13103LIBEXT2!$LIBEXT2$ac_delim 
     13104CC_OUT!$CC_OUT$ac_delim 
     13105CC_INC!$CC_INC$ac_delim 
     13106CC_DEF!$CC_DEF$ac_delim 
     13107CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
     13108CC_CFLAGS!$CC_CFLAGS$ac_delim 
     13109ac_pjdir!$ac_pjdir$ac_delim 
     13110ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
     13111CPP!$CPP$ac_delim 
     13112GREP!$GREP$ac_delim 
     13113EGREP!$EGREP$ac_delim 
     13114ac_os_objs!$ac_os_objs$ac_delim 
     13115ac_external_speex!$ac_external_speex$ac_delim 
     13116ac_external_gsm!$ac_external_gsm$ac_delim 
     13117ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
     13118ac_external_pa!$ac_external_pa$ac_delim 
     13119ac_pa_cflags!$ac_pa_cflags$ac_delim 
     13120ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
     13121ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
     13122ac_no_small_filter!$ac_no_small_filter$ac_delim 
     13123ac_no_large_filter!$ac_no_large_filter$ac_delim 
     13124ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
     13125ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
     13126ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
     13127ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
     13128ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
     13129ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
     13130ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
     13131ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
     13132ac_no_ssl!$ac_no_ssl$ac_delim 
     13133openssl_h_present!$openssl_h_present$ac_delim 
     13134libssl_present!$libssl_present$ac_delim 
     13135libcrypto_present!$libcrypto_present$ac_delim 
     13136_ACEOF 
     13137 
     13138  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
     13139    break 
     13140  elif $ac_last_try; then 
     13141    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
     13142echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
     13143   { (exit 1); exit 1; }; } 
     13144  else 
     13145    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     13146  fi 
     13147done 
     13148 
     13149ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
     13150if test -n "$ac_eof"; then 
     13151  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
     13152  ac_eof=`expr $ac_eof + 1` 
     13153fi 
     13154 
     13155cat >>$CONFIG_STATUS <<_ACEOF 
     13156cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
     13157/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
     13158_ACEOF 
     13159sed ' 
     13160s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
     13161s/^/s,@/; s/!/@,|#_!!_#|/ 
     13162:n 
     13163t n 
     13164s/'"$ac_delim"'$/,g/; t 
     13165s/$/\\/; p 
     13166N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
     13167' >>$CONFIG_STATUS <conf$$subs.sed 
     13168rm -f conf$$subs.sed 
     13169cat >>$CONFIG_STATUS <<_ACEOF 
     13170CEOF$ac_eof 
     13171_ACEOF 
     13172 
     13173 
     13174ac_delim='%!_!# ' 
     13175for ac_last_try in false false false false false :; do 
     13176  cat >conf$$subs.sed <<_ACEOF 
     13177ac_cross_compile!$ac_cross_compile$ac_delim 
     13178ac_linux_poll!$ac_linux_poll$ac_delim 
     13179ac_host!$ac_host$ac_delim 
     13180ac_main_obj!$ac_main_obj$ac_delim 
     13181LIBOBJS!$LIBOBJS$ac_delim 
     13182LTLIBOBJS!$LTLIBOBJS$ac_delim 
     13183_ACEOF 
     13184 
     13185  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then 
     13186    break 
     13187  elif $ac_last_try; then 
     13188    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
     13189echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
     13190   { (exit 1); exit 1; }; } 
     13191  else 
     13192    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     13193  fi 
     13194done 
     13195 
     13196ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
     13197if test -n "$ac_eof"; then 
     13198  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
     13199  ac_eof=`expr $ac_eof + 1` 
     13200fi 
     13201 
     13202cat >>$CONFIG_STATUS <<_ACEOF 
     13203cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
     13204/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
     13205_ACEOF 
     13206sed ' 
     13207s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
     13208s/^/s,@/; s/!/@,|#_!!_#|/ 
     13209:n 
     13210t n 
     13211s/'"$ac_delim"'$/,g/; t 
     13212s/$/\\/; p 
     13213N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
     13214' >>$CONFIG_STATUS <conf$$subs.sed 
     13215rm -f conf$$subs.sed 
     13216cat >>$CONFIG_STATUS <<_ACEOF 
     13217:end 
     13218s/|#_!!_#|//g 
     13219CEOF$ac_eof 
     13220_ACEOF 
     13221 
     13222 
     13223# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     13224# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     13225# trailing colons and then remove the whole line if VPATH becomes empty 
     13226# (actually we leave an empty line to preserve line numbers). 
     13227if test "x$srcdir" = x.; then 
     13228  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     13229s/:*\$(srcdir):*/:/ 
     13230s/:*\${srcdir}:*/:/ 
     13231s/:*@srcdir@:*/:/ 
     13232s/^\([^=]*=[     ]*\):*/\1/ 
     13233s/:*$// 
     13234s/^[^=]*=[       ]*$// 
     13235}' 
     13236fi 
     13237 
     13238cat >>$CONFIG_STATUS <<\_ACEOF 
     13239fi # test -n "$CONFIG_FILES" 
     13240 
     13241 
     13242for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
     13243do 
     13244  case $ac_tag in 
     13245  :[FHLC]) ac_mode=$ac_tag; continue;; 
     13246  esac 
     13247  case $ac_mode$ac_tag in 
     13248  :[FHL]*:*);; 
     13249  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
     13250echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
     13251   { (exit 1); exit 1; }; };; 
     13252  :[FH]-) ac_tag=-:-;; 
     13253  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     13254  esac 
     13255  ac_save_IFS=$IFS 
     13256  IFS=: 
     13257  set x $ac_tag 
     13258  IFS=$ac_save_IFS 
     13259  shift 
     13260  ac_file=$1 
     13261  shift 
     13262 
     13263  case $ac_mode in 
     13264  :L) ac_source=$1;; 
     13265  :[FH]) 
     13266    ac_file_inputs= 
     13267    for ac_f 
     13268    do 
     13269      case $ac_f in 
     13270      -) ac_f="$tmp/stdin";; 
     13271      *) # Look for the file first in the build tree, then in the source tree 
     13272         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     13273         # because $ac_f cannot contain `:'. 
     13274         test -f "$ac_f" || 
     13275           case $ac_f in 
     13276           [\\/$]*) false;; 
     13277           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     13278           esac || 
     13279           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
     13280echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
     13281   { (exit 1); exit 1; }; };; 
     13282      esac 
     13283      ac_file_inputs="$ac_file_inputs $ac_f" 
     13284    done 
     13285 
     13286    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     13287    # use $as_me), people would be surprised to read: 
     13288    #    /* config.h.  Generated by config.status.  */ 
     13289    configure_input="Generated from "`IFS=: 
     13290          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
     13291    if test x"$ac_file" != x-; then 
     13292      configure_input="$ac_file.  $configure_input" 
     13293      { echo "$as_me:$LINENO: creating $ac_file" >&5 
     13294echo "$as_me: creating $ac_file" >&6;} 
     13295    fi 
     13296 
     13297    case $ac_tag in 
     13298    *:-:* | *:-) cat >"$tmp/stdin";; 
     13299    esac 
     13300    ;; 
     13301  esac 
     13302 
     13303  ac_dir=`$as_dirname -- "$ac_file" || 
     13304$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     13305         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     13306         X"$ac_file" : 'X\(//\)$' \| \ 
     13307         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     13308echo X"$ac_file" | 
     13309    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     13310            s//\1/ 
     13311            q 
     13312          } 
     13313          /^X\(\/\/\)[^/].*/{ 
     13314            s//\1/ 
     13315            q 
     13316          } 
     13317          /^X\(\/\/\)$/{ 
     13318            s//\1/ 
     13319            q 
     13320          } 
     13321          /^X\(\/\).*/{ 
     13322            s//\1/ 
     13323            q 
     13324          } 
     13325          s/.*/./; q'` 
     13326  { as_dir="$ac_dir" 
    673413327  case $as_dir in #( 
    673513328  -*) as_dir=./$as_dir;; 
    673613329  esac 
    6737   test -d "$as_dir" || eval $as_mkdir_p || { 
     13330  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
    673813331    as_dirs= 
    673913332    while :; do 
    674013333      case $as_dir in #( 
    6741       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     13334      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
    674213335      *) as_qdir=$as_dir;; 
    674313336      esac 
     
    674813341         X"$as_dir" : 'X\(//\)$' \| \ 
    674913342         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    6750 $as_echo X"$as_dir" | 
     13343echo X"$as_dir" | 
    675113344    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    675213345            s//\1/ 
     
    676913362    done 
    677013363    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    6771   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
    6772  
    6773  
    6774 } # as_fn_mkdir_p 
    6775 if mkdir -p . 2>/dev/null; then 
    6776   as_mkdir_p='mkdir -p "$as_dir"' 
    6777 else 
    6778   test -d ./-p && rmdir ./-p 
    6779   as_mkdir_p=false 
    6780 fi 
    6781  
    6782 if test -x / >/dev/null 2>&1; then 
    6783   as_test_x='test -x' 
    6784 else 
    6785   if ls -dL / >/dev/null 2>&1; then 
    6786     as_ls_L_option=L 
    6787   else 
    6788     as_ls_L_option= 
    6789   fi 
    6790   as_test_x=' 
    6791     eval sh -c '\'' 
    6792       if test -d "$1"; then 
    6793         test -d "$1/."; 
    6794       else 
    6795         case $1 in #( 
    6796         -*)set "./$1";; 
    6797         esac; 
    6798         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    6799         ???[sx]*):;;*)false;;esac;fi 
    6800     '\'' sh 
    6801   ' 
    6802 fi 
    6803 as_executable_p=$as_test_x 
    6804  
    6805 # Sed expression to map a string onto a valid CPP name. 
    6806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    6807  
    6808 # Sed expression to map a string onto a valid variable name. 
    6809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    6810  
    6811  
    6812 exec 6>&1 
    6813 ## ----------------------------------- ## 
    6814 ## Main body of $CONFIG_STATUS script. ## 
    6815 ## ----------------------------------- ## 
    6816 _ASEOF 
    6817 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
    6818  
    6819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    6820 # Save the log message, to keep $0 and so on meaningful, and to 
    6821 # report actual input values of CONFIG_FILES etc. instead of their 
    6822 # values after options handling. 
    6823 ac_log=" 
    6824 This file was extended by pjproject $as_me 1.x, which was 
    6825 generated by GNU Autoconf 2.65.  Invocation command line was 
    6826  
    6827   CONFIG_FILES    = $CONFIG_FILES 
    6828   CONFIG_HEADERS  = $CONFIG_HEADERS 
    6829   CONFIG_LINKS    = $CONFIG_LINKS 
    6830   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    6831   $ $0 $@ 
    6832  
    6833 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    6834 " 
    6835  
    6836 _ACEOF 
    6837  
    6838 case $ac_config_files in *" 
    6839 "*) set x $ac_config_files; shift; ac_config_files=$*;; 
    6840 esac 
    6841  
    6842 case $ac_config_headers in *" 
    6843 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
    6844 esac 
    6845  
    6846  
    6847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    6848 # Files that config.status was made for. 
    6849 config_files="$ac_config_files" 
    6850 config_headers="$ac_config_headers" 
    6851  
    6852 _ACEOF 
    6853  
    6854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    6855 ac_cs_usage="\ 
    6856 \`$as_me' instantiates files and other configuration actions 
    6857 from templates according to the current configuration.  Unless the files 
    6858 and actions are specified as TAGs, all are instantiated by default. 
    6859  
    6860 Usage: $0 [OPTION]... [TAG]... 
    6861  
    6862   -h, --help       print this help, then exit 
    6863   -V, --version    print version number and configuration settings, then exit 
    6864       --config     print configuration, then exit 
    6865   -q, --quiet, --silent 
    6866                    do not print progress messages 
    6867   -d, --debug      don't remove temporary files 
    6868       --recheck    update $as_me by reconfiguring in the same conditions 
    6869       --file=FILE[:TEMPLATE] 
    6870                    instantiate the configuration file FILE 
    6871       --header=FILE[:TEMPLATE] 
    6872                    instantiate the configuration header FILE 
    6873  
    6874 Configuration files: 
    6875 $config_files 
    6876  
    6877 Configuration headers: 
    6878 $config_headers 
    6879  
    6880 Report bugs to the package provider." 
    6881  
    6882 _ACEOF 
    6883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    6884 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
    6885 ac_cs_version="\\ 
    6886 pjproject config.status 1.x 
    6887 configured by $0, generated by GNU Autoconf 2.65, 
    6888   with options \\"\$ac_cs_config\\" 
    6889  
    6890 Copyright (C) 2009 Free Software Foundation, Inc. 
    6891 This config.status script is free software; the Free Software Foundation 
    6892 gives unlimited permission to copy, distribute and modify it." 
    6893  
    6894 ac_pwd='$ac_pwd' 
    6895 srcdir='$srcdir' 
    6896 test -n "\$AWK" || AWK=awk 
    6897 _ACEOF 
    6898  
    6899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    6900 # The default lists apply if the user does not specify any file. 
    6901 ac_need_defaults=: 
    6902 while test $# != 0 
    6903 do 
    6904   case $1 in 
    6905   --*=*) 
    6906     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    6907     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    6908     ac_shift=: 
    6909     ;; 
    6910   *) 
    6911     ac_option=$1 
    6912     ac_optarg=$2 
    6913     ac_shift=shift 
    6914     ;; 
    6915   esac 
    6916  
    6917   case $ac_option in 
    6918   # Handling of the options. 
    6919   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    6920     ac_cs_recheck=: ;; 
    6921   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    6922     $as_echo "$ac_cs_version"; exit ;; 
    6923   --config | --confi | --conf | --con | --co | --c ) 
    6924     $as_echo "$ac_cs_config"; exit ;; 
    6925   --debug | --debu | --deb | --de | --d | -d ) 
    6926     debug=: ;; 
    6927   --file | --fil | --fi | --f ) 
    6928     $ac_shift 
    6929     case $ac_optarg in 
    6930     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    6931     esac 
    6932     as_fn_append CONFIG_FILES " '$ac_optarg'" 
    6933     ac_need_defaults=false;; 
    6934   --header | --heade | --head | --hea ) 
    6935     $ac_shift 
    6936     case $ac_optarg in 
    6937     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    6938     esac 
    6939     as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
    6940     ac_need_defaults=false;; 
    6941   --he | --h) 
    6942     # Conflict between --help and --header 
    6943     as_fn_error "ambiguous option: \`$1' 
    6944 Try \`$0 --help' for more information.";; 
    6945   --help | --hel | -h ) 
    6946     $as_echo "$ac_cs_usage"; exit ;; 
    6947   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    6948   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    6949     ac_cs_silent=: ;; 
    6950  
    6951   # This is an error. 
    6952   -*) as_fn_error "unrecognized option: \`$1' 
    6953 Try \`$0 --help' for more information." ;; 
    6954  
    6955   *) as_fn_append ac_config_targets " $1" 
    6956      ac_need_defaults=false ;; 
    6957  
    6958   esac 
    6959   shift 
    6960 done 
    6961  
    6962 ac_configure_extra_args= 
    6963  
    6964 if $ac_cs_silent; then 
    6965   exec 6>/dev/null 
    6966   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    6967 fi 
    6968  
    6969 _ACEOF 
    6970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    6971 if \$ac_cs_recheck; then 
    6972   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    6973   shift 
    6974   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
    6975   CONFIG_SHELL='$SHELL' 
    6976   export CONFIG_SHELL 
    6977   exec "\$@" 
    6978 fi 
    6979  
    6980 _ACEOF 
    6981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    6982 exec 5>>config.log 
    6983 { 
    6984   echo 
    6985   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    6986 ## Running $as_me. ## 
    6987 _ASBOX 
    6988   $as_echo "$ac_log" 
    6989 } >&5 
    6990  
    6991 _ACEOF 
    6992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    6993 _ACEOF 
    6994  
    6995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    6996  
    6997 # Handling of arguments. 
    6998 for ac_config_target in $ac_config_targets 
    6999 do 
    7000   case $ac_config_target in 
    7001     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    7002     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    7003     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    7004     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    7005     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    7006     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    7007     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    7008     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    7009     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    7010     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    7011     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    7012     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    7013     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    7014     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    7015  
    7016   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
    7017   esac 
    7018 done 
    7019  
    7020  
    7021 # If the user did not use the arguments to specify the items to instantiate, 
    7022 # then the envvar interface is used.  Set only those that are not. 
    7023 # We use the long form for the default assignment because of an extremely 
    7024 # bizarre bug on SunOS 4.1.3. 
    7025 if $ac_need_defaults; then 
    7026   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    7027   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    7028 fi 
    7029  
    7030 # Have a temporary directory for convenience.  Make it in the build tree 
    7031 # simply because there is no reason against having it here, and in addition, 
    7032 # creating and moving files from /tmp can sometimes cause problems. 
    7033 # Hook for its removal unless debugging. 
    7034 # Note that there is a small window in which the directory will not be cleaned: 
    7035 # after its creation but before its name has been assigned to `$tmp'. 
    7036 $debug || 
    7037 { 
    7038   tmp= 
    7039   trap 'exit_status=$? 
    7040   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    7041 ' 0 
    7042   trap 'as_fn_exit 1' 1 2 13 15 
    7043 } 
    7044 # Create a (secure) tmp directory for tmp files. 
    7045  
    7046 { 
    7047   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    7048   test -n "$tmp" && test -d "$tmp" 
    7049 }  || 
    7050 { 
    7051   tmp=./conf$$-$RANDOM 
    7052   (umask 077 && mkdir "$tmp") 
    7053 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
    7054  
    7055 # Set up the scripts for CONFIG_FILES section. 
    7056 # No need to generate them if there are no CONFIG_FILES. 
    7057 # This happens for instance with `./config.status config.h'. 
    7058 if test -n "$CONFIG_FILES"; then 
    7059  
    7060  
    7061 ac_cr=`echo X | tr X '\015'` 
    7062 # On cygwin, bash can eat \r inside `` if the user requested igncr. 
    7063 # But we know of no other shell where ac_cr would be empty at this 
    7064 # point, so we can use a bashism as a fallback. 
    7065 if test "x$ac_cr" = x; then 
    7066   eval ac_cr=\$\'\\r\' 
    7067 fi 
    7068 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
    7069 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
    7070   ac_cs_awk_cr='\r' 
    7071 else 
    7072   ac_cs_awk_cr=$ac_cr 
    7073 fi 
    7074  
    7075 echo 'BEGIN {' >"$tmp/subs1.awk" && 
    7076 _ACEOF 
    7077  
    7078  
    7079 { 
    7080   echo "cat >conf$$subs.awk <<_ACEOF" && 
    7081   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
    7082   echo "_ACEOF" 
    7083 } >conf$$subs.sh || 
    7084   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7085 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
    7086 ac_delim='%!_!# ' 
    7087 for ac_last_try in false false false false false :; do 
    7088   . ./conf$$subs.sh || 
    7089     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7090  
    7091   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
    7092   if test $ac_delim_n = $ac_delim_num; then 
    7093     break 
    7094   elif $ac_last_try; then 
    7095     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7096   else 
    7097     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    7098   fi 
    7099 done 
    7100 rm -f conf$$subs.sh 
    7101  
    7102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7103 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
    7104 _ACEOF 
    7105 sed -n ' 
    7106 h 
    7107 s/^/S["/; s/!.*/"]=/ 
    7108 p 
    7109 g 
    7110 s/^[^!]*!// 
    7111 :repl 
    7112 t repl 
    7113 s/'"$ac_delim"'$// 
    7114 t delim 
    7115 :nl 
    7116 h 
    7117 s/\(.\{148\}\)..*/\1/ 
    7118 t more1 
    7119 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
    7120 p 
    7121 n 
    7122 b repl 
    7123 :more1 
    7124 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
    7125 p 
    7126 g 
    7127 s/.\{148\}// 
    7128 t nl 
    7129 :delim 
    7130 h 
    7131 s/\(.\{148\}\)..*/\1/ 
    7132 t more2 
    7133 s/["\\]/\\&/g; s/^/"/; s/$/"/ 
    7134 p 
    7135 b 
    7136 :more2 
    7137 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
    7138 p 
    7139 g 
    7140 s/.\{148\}// 
    7141 t delim 
    7142 ' <conf$$subs.awk | sed ' 
    7143 /^[^""]/{ 
    7144   N 
    7145   s/\n// 
    7146 } 
    7147 ' >>$CONFIG_STATUS || ac_write_fail=1 
    7148 rm -f conf$$subs.awk 
    7149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7150 _ACAWK 
    7151 cat >>"\$tmp/subs1.awk" <<_ACAWK && 
    7152   for (key in S) S_is_set[key] = 1 
    7153   FS = "" 
    7154  
    7155 } 
    7156 { 
    7157   line = $ 0 
    7158   nfields = split(line, field, "@") 
    7159   substed = 0 
    7160   len = length(field[1]) 
    7161   for (i = 2; i < nfields; i++) { 
    7162     key = field[i] 
    7163     keylen = length(key) 
    7164     if (S_is_set[key]) { 
    7165       value = S[key] 
    7166       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
    7167       len += length(value) + length(field[++i]) 
    7168       substed = 1 
    7169     } else 
    7170       len += 1 + keylen 
    7171   } 
    7172  
    7173   print line 
    7174 } 
    7175  
    7176 _ACAWK 
    7177 _ACEOF 
    7178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7179 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
    7180   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
    7181 else 
    7182   cat 
    7183 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
    7184   || as_fn_error "could not setup config files machinery" "$LINENO" 5 
    7185 _ACEOF 
    7186  
    7187 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    7188 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    7189 # trailing colons and then remove the whole line if VPATH becomes empty 
    7190 # (actually we leave an empty line to preserve line numbers). 
    7191 if test "x$srcdir" = x.; then 
    7192   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    7193 s/:*\$(srcdir):*/:/ 
    7194 s/:*\${srcdir}:*/:/ 
    7195 s/:*@srcdir@:*/:/ 
    7196 s/^\([^=]*=[     ]*\):*/\1/ 
    7197 s/:*$// 
    7198 s/^[^=]*=[       ]*$// 
    7199 }' 
    7200 fi 
    7201  
    7202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7203 fi # test -n "$CONFIG_FILES" 
    7204  
    7205 # Set up the scripts for CONFIG_HEADERS section. 
    7206 # No need to generate them if there are no CONFIG_HEADERS. 
    7207 # This happens for instance with `./config.status Makefile'. 
    7208 if test -n "$CONFIG_HEADERS"; then 
    7209 cat >"$tmp/defines.awk" <<\_ACAWK || 
    7210 BEGIN { 
    7211 _ACEOF 
    7212  
    7213 # Transform confdefs.h into an awk script `defines.awk', embedded as 
    7214 # here-document in config.status, that substitutes the proper values into 
    7215 # config.h.in to produce config.h. 
    7216  
    7217 # Create a delimiter string that does not exist in confdefs.h, to ease 
    7218 # handling of long lines. 
    7219 ac_delim='%!_!# ' 
    7220 for ac_last_try in false false :; do 
    7221   ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
    7222   if test -z "$ac_t"; then 
    7223     break 
    7224   elif $ac_last_try; then 
    7225     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
    7226   else 
    7227     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    7228   fi 
    7229 done 
    7230  
    7231 # For the awk script, D is an array of macro values keyed by name, 
    7232 # likewise P contains macro parameters if any.  Preserve backslash 
    7233 # newline sequences. 
    7234  
    7235 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    7236 sed -n ' 
    7237 s/.\{148\}/&'"$ac_delim"'/g 
    7238 t rset 
    7239 :rset 
    7240 s/^[     ]*#[    ]*define[       ][      ]*/ / 
    7241 t def 
    7242 d 
    7243 :def 
    7244 s/\\$// 
    7245 t bsnl 
    7246 s/["\\]/\\&/g 
    7247 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
    7248 D["\1"]=" \3"/p 
    7249 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
    7250 d 
    7251 :bsnl 
    7252 s/["\\]/\\&/g 
    7253 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
    7254 D["\1"]=" \3\\\\\\n"\\/p 
    7255 t cont 
    7256 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
    7257 t cont 
    7258 d 
    7259 :cont 
    7260 n 
    7261 s/.\{148\}/&'"$ac_delim"'/g 
    7262 t clear 
    7263 :clear 
    7264 s/\\$// 
    7265 t bsnlc 
    7266 s/["\\]/\\&/g; s/^/"/; s/$/"/p 
    7267 d 
    7268 :bsnlc 
    7269 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
    7270 b cont 
    7271 ' <confdefs.h | sed ' 
    7272 s/'"$ac_delim"'/"\\\ 
    7273 "/g' >>$CONFIG_STATUS || ac_write_fail=1 
    7274  
    7275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7276   for (key in D) D_is_set[key] = 1 
    7277   FS = "" 
    7278 } 
    7279 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
    7280   line = \$ 0 
    7281   split(line, arg, " ") 
    7282   if (arg[1] == "#") { 
    7283     defundef = arg[2] 
    7284     mac1 = arg[3] 
    7285   } else { 
    7286     defundef = substr(arg[1], 2) 
    7287     mac1 = arg[2] 
    7288   } 
    7289   split(mac1, mac2, "(") #) 
    7290   macro = mac2[1] 
    7291   prefix = substr(line, 1, index(line, defundef) - 1) 
    7292   if (D_is_set[macro]) { 
    7293     # Preserve the white space surrounding the "#". 
    7294     print prefix "define", macro P[macro] D[macro] 
    7295     next 
    7296   } else { 
    7297     # Replace #undef with comments.  This is necessary, for example, 
    7298     # in the case of _POSIX_SOURCE, which is predefined and required 
    7299     # on some systems where configure will not decide to define it. 
    7300     if (defundef == "undef") { 
    7301       print "/*", prefix defundef, macro, "*/" 
    7302       next 
    7303     } 
    7304   } 
    7305 } 
    7306 { print } 
    7307 _ACAWK 
    7308 _ACEOF 
    7309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7310   as_fn_error "could not setup config headers machinery" "$LINENO" 5 
    7311 fi # test -n "$CONFIG_HEADERS" 
    7312  
    7313  
    7314 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
    7315 shift 
    7316 for ac_tag 
    7317 do 
    7318   case $ac_tag in 
    7319   :[FHLC]) ac_mode=$ac_tag; continue;; 
    7320   esac 
    7321   case $ac_mode$ac_tag in 
    7322   :[FHL]*:*);; 
    7323   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
    7324   :[FH]-) ac_tag=-:-;; 
    7325   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    7326   esac 
    7327   ac_save_IFS=$IFS 
    7328   IFS=: 
    7329   set x $ac_tag 
    7330   IFS=$ac_save_IFS 
    7331   shift 
    7332   ac_file=$1 
    7333   shift 
    7334  
    7335   case $ac_mode in 
    7336   :L) ac_source=$1;; 
    7337   :[FH]) 
    7338     ac_file_inputs= 
    7339     for ac_f 
    7340     do 
    7341       case $ac_f in 
    7342       -) ac_f="$tmp/stdin";; 
    7343       *) # Look for the file first in the build tree, then in the source tree 
    7344          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    7345          # because $ac_f cannot contain `:'. 
    7346          test -f "$ac_f" || 
    7347            case $ac_f in 
    7348            [\\/$]*) false;; 
    7349            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    7350            esac || 
    7351            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
    7352       esac 
    7353       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
    7354       as_fn_append ac_file_inputs " '$ac_f'" 
    7355     done 
    7356  
    7357     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    7358     # use $as_me), people would be surprised to read: 
    7359     #    /* config.h.  Generated by config.status.  */ 
    7360     configure_input='Generated from '` 
    7361           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
    7362         `' by configure.' 
    7363     if test x"$ac_file" != x-; then 
    7364       configure_input="$ac_file.  $configure_input" 
    7365       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
    7366 $as_echo "$as_me: creating $ac_file" >&6;} 
    7367     fi 
    7368     # Neutralize special characters interpreted by sed in replacement strings. 
    7369     case $configure_input in #( 
    7370     *\&* | *\|* | *\\* ) 
    7371        ac_sed_conf_input=`$as_echo "$configure_input" | 
    7372        sed 's/[\\\\&|]/\\\\&/g'`;; #( 
    7373     *) ac_sed_conf_input=$configure_input;; 
    7374     esac 
    7375  
    7376     case $ac_tag in 
    7377     *:-:* | *:-) cat >"$tmp/stdin" \ 
    7378       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
    7379     esac 
    7380     ;; 
    7381   esac 
    7382  
    7383   ac_dir=`$as_dirname -- "$ac_file" || 
    7384 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    7385          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    7386          X"$ac_file" : 'X\(//\)$' \| \ 
    7387          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    7388 $as_echo X"$ac_file" | 
    7389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    7390             s//\1/ 
    7391             q 
    7392           } 
    7393           /^X\(\/\/\)[^/].*/{ 
    7394             s//\1/ 
    7395             q 
    7396           } 
    7397           /^X\(\/\/\)$/{ 
    7398             s//\1/ 
    7399             q 
    7400           } 
    7401           /^X\(\/\).*/{ 
    7402             s//\1/ 
    7403             q 
    7404           } 
    7405           s/.*/./; q'` 
    7406   as_dir="$ac_dir"; as_fn_mkdir_p 
     13364  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
     13365echo "$as_me: error: cannot create directory $as_dir" >&2;} 
     13366   { (exit 1); exit 1; }; }; } 
    740713367  ac_builddir=. 
    740813368 
     
    741013370.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    741113371*) 
    7412   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
     13372  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    741313373  # A ".." for each directory in $ac_dir_suffix. 
    7414   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
     13374  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
    741513375  case $ac_top_builddir_sub in 
    741613376  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    744813408_ACEOF 
    744913409 
    7450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     13410cat >>$CONFIG_STATUS <<\_ACEOF 
    745113411# If the template does not know about datarootdir, expand it. 
    745213412# FIXME: This hack should be removed a few years after 2.60. 
    745313413ac_datarootdir_hack=; ac_datarootdir_seen= 
    7454 ac_sed_dataroot=' 
    7455 /datarootdir/ { 
     13414 
     13415case `sed -n '/datarootdir/ { 
    745613416  p 
    745713417  q 
     
    746113421/@infodir@/p 
    746213422/@localedir@/p 
    7463 /@mandir@/p' 
    7464 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
     13423/@mandir@/p 
     13424' $ac_file_inputs` in 
    746513425*datarootdir*) ac_datarootdir_seen=yes;; 
    746613426*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    7467   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    7468 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    7469 _ACEOF 
    7470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     13427  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     13428echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     13429_ACEOF 
     13430cat >>$CONFIG_STATUS <<_ACEOF 
    747113431  ac_datarootdir_hack=' 
    747213432  s&@datadir@&$datadir&g 
     
    747513435  s&@localedir@&$localedir&g 
    747613436  s&@mandir@&$mandir&g 
    7477   s&\\\${datarootdir}&$datarootdir&g' ;; 
     13437    s&\\\${datarootdir}&$datarootdir&g' ;; 
    747813438esac 
    747913439_ACEOF 
     
    748213442# Shell code in configure.ac might set extrasub. 
    748313443# FIXME: do we really want to maintain this feature? 
    7484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7485 ac_sed_extra="$ac_vpsub 
     13444cat >>$CONFIG_STATUS <<_ACEOF 
     13445  sed "$ac_vpsub 
    748613446$extrasub 
    748713447_ACEOF 
    7488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     13448cat >>$CONFIG_STATUS <<\_ACEOF 
    748913449:t 
    749013450/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    7491 s|@configure_input@|$ac_sed_conf_input|;t t 
     13451s&@configure_input@&$configure_input&;t t 
    749213452s&@top_builddir@&$ac_top_builddir_sub&;t t 
    7493 s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    749413453s&@srcdir@&$ac_srcdir&;t t 
    749513454s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    750013459s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    750113460$ac_datarootdir_hack 
    7502 " 
    7503 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    7504   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     13461" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
    750513462 
    750613463test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    750713464  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    750813465  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    7509   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     13466  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    751013467which seems to be undefined.  Please make sure it is defined." >&5 
    7511 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     13468echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    751213469which seems to be undefined.  Please make sure it is defined." >&2;} 
    751313470 
    751413471  rm -f "$tmp/stdin" 
    751513472  case $ac_file in 
    7516   -) cat "$tmp/out" && rm -f "$tmp/out";; 
    7517   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
    7518   esac \ 
    7519   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     13473  -) cat "$tmp/out"; rm -f "$tmp/out";; 
     13474  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
     13475  esac 
    752013476 ;; 
    752113477  :H) 
     
    752313479  # CONFIG_HEADER 
    752413480  # 
     13481_ACEOF 
     13482 
     13483# Transform confdefs.h into a sed script `conftest.defines', that 
     13484# substitutes the proper values into config.h.in to produce config.h. 
     13485rm -f conftest.defines conftest.tail 
     13486# First, append a space to every undef/define line, to ease matching. 
     13487echo 's/$/ /' >conftest.defines 
     13488# Then, protect against being on the right side of a sed subst, or in 
     13489# an unquoted here document, in config.status.  If some macros were 
     13490# called several times there might be several #defines for the same 
     13491# symbol, which is useless.  But do not sort them, since the last 
     13492# AC_DEFINE must be honored. 
     13493ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     13494# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
     13495# NAME is the cpp macro being defined, VALUE is the value it is being given. 
     13496# PARAMS is the parameter list in the macro definition--in most cases, it's 
     13497# just an empty string. 
     13498ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
     13499ac_dB='\\)[      (].*,\\1define\\2' 
     13500ac_dC=' ' 
     13501ac_dD=' ,' 
     13502 
     13503uniq confdefs.h | 
     13504  sed -n ' 
     13505        t rset 
     13506        :rset 
     13507        s/^[     ]*#[    ]*define[       ][      ]*// 
     13508        t ok 
     13509        d 
     13510        :ok 
     13511        s/[\\&,]/\\&/g 
     13512        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
     13513        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
     13514  ' >>conftest.defines 
     13515 
     13516# Remove the space that was appended to ease matching. 
     13517# Then replace #undef with comments.  This is necessary, for 
     13518# example, in the case of _POSIX_SOURCE, which is predefined and required 
     13519# on some systems where configure will not decide to define it. 
     13520# (The regexp can be short, since the line contains either #define or #undef.) 
     13521echo 's/ $// 
     13522s,^[     #]*u.*,/* & */,' >>conftest.defines 
     13523 
     13524# Break up conftest.defines: 
     13525ac_max_sed_lines=50 
     13526 
     13527# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
     13528# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
     13529# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
     13530# et cetera. 
     13531ac_in='$ac_file_inputs' 
     13532ac_out='"$tmp/out1"' 
     13533ac_nxt='"$tmp/out2"' 
     13534 
     13535while : 
     13536do 
     13537  # Write a here document: 
     13538    cat >>$CONFIG_STATUS <<_ACEOF 
     13539    # First, check the format of the line: 
     13540    cat >"\$tmp/defines.sed" <<\\CEOF 
     13541/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
     13542/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
     13543b 
     13544:def 
     13545_ACEOF 
     13546  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
     13547  echo 'CEOF 
     13548    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
     13549  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
     13550  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
     13551  grep . conftest.tail >/dev/null || break 
     13552  rm -f conftest.defines 
     13553  mv conftest.tail conftest.defines 
     13554done 
     13555rm -f conftest.defines conftest.tail 
     13556 
     13557echo "ac_result=$ac_in" >>$CONFIG_STATUS 
     13558cat >>$CONFIG_STATUS <<\_ACEOF 
    752513559  if test x"$ac_file" != x-; then 
    7526     { 
    7527       $as_echo "/* $configure_input  */" \ 
    7528       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    7529     } >"$tmp/config.h" \ 
    7530       || as_fn_error "could not create $ac_file" "$LINENO" 5 
    7531     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
    7532       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
    7533 $as_echo "$as_me: $ac_file is unchanged" >&6;} 
     13560    echo "/* $configure_input  */" >"$tmp/config.h" 
     13561    cat "$ac_result" >>"$tmp/config.h" 
     13562    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
     13563      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
     13564echo "$as_me: $ac_file is unchanged" >&6;} 
    753413565    else 
    7535       rm -f "$ac_file" 
    7536       mv "$tmp/config.h" "$ac_file" \ 
    7537         || as_fn_error "could not create $ac_file" "$LINENO" 5 
     13566      rm -f $ac_file 
     13567      mv "$tmp/config.h" $ac_file 
    753813568    fi 
    753913569  else 
    7540     $as_echo "/* $configure_input  */" \ 
    7541       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
    7542       || as_fn_error "could not create -" "$LINENO" 5 
     13570    echo "/* $configure_input  */" 
     13571    cat "$ac_result" 
    754313572  fi 
     13573  rm -f "$tmp/out12" 
    754413574 ;; 
    754513575 
     
    755013580 
    755113581 
    7552 as_fn_exit 0 
    7553 _ACEOF 
     13582{ (exit 0); exit 0; } 
     13583_ACEOF 
     13584chmod +x $CONFIG_STATUS 
    755413585ac_clean_files=$ac_clean_files_save 
    7555  
    7556 test $ac_write_fail = 0 || 
    7557   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    755813586 
    755913587 
     
    757613604  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    757713605  # would make configure fail if this is the last instruction. 
    7578   $ac_cs_success || as_fn_exit $? 
    7579 fi 
    7580 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
    7581   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
    7582 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
    7583 fi 
    7584  
    7585  
    7586  
    7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 
     13606  $ac_cs_success || { (exit 1); exit 1; } 
     13607fi 
     13608 
     13609 
     13610 
     13611{ echo "$as_me:$LINENO: result: 
    758813612 
    758913613Configurations 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. 
     
    759513619The next step now is to run 'make dep' and 'make'. 
    759613620" >&5 
    7597 $as_echo " 
     13621echo "${ECHO_T} 
    759813622 
    759913623Configurations 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

    r3275 r3299  
    534534 case $target in 
    535535  arm-apple-darwin*) 
    536         LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox" 
     536        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" 
    537537        AC_MSG_RESULT([Checking sound device backend... AudioUnit]) 
    538538        ;; 
  • pjproject/trunk/pjlib/include/pj/activesock.h

    r2394 r3299  
    303303PJ_DECL(pj_status_t) pj_activesock_close(pj_activesock_t *asock); 
    304304 
     305#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     306    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     307/** 
     308 * Set iPhone OS background mode setting. Setting to 1 will enable TCP 
     309 * active socket to receive incoming data when application is in the 
     310 * background. Setting to 0 will disable it. Default value of this 
     311 * setting is PJ_ACTIVESOCK_TCP_IPHONE_OS_BG. 
     312 * 
     313 * @param asock     The active socket. 
     314 * @param val       The value of background mode setting. 
     315 * 
     316 */ 
     317PJ_DECL(void) pj_activesock_set_iphone_os_bg(pj_activesock_t *asock, 
     318                                             int val); 
     319#endif 
    305320 
    306321/** 
  • pjproject/trunk/pjlib/include/pj/compat/os_auto.h.in

    r3295 r3299  
    170170#undef PJ_ATOMIC_VALUE_TYPE 
    171171 
    172 /* Append ".local" suffix to the system's hostname? */ 
    173172#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
    174173#    include "TargetConditionals.h" 
     
    176175#       include "Availability.h" 
    177176#       ifdef __IPHONE_4_0 
    178 #           define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1 
     177            /* Append ".local" suffix to the system's hostname? (see ticket #1104) */ 
     178#           define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX           1 
     179            /* Is multitasking support available?  (see ticket #1107) */ 
     180#           define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT        1 
     181            /* Enable activesock TCP background mode support */ 
     182#           define PJ_ACTIVESOCK_TCP_IPHONE_OS_BG               1 
    179183#       endif 
    180184#    endif 
  • pjproject/trunk/pjlib/src/pj/activesock.c

    r2980 r3299  
    2222#include <pj/assert.h> 
    2323#include <pj/errno.h> 
     24#include <pj/log.h> 
    2425#include <pj/pool.h> 
    2526#include <pj/sock.h> 
    2627#include <pj/string.h> 
     28 
     29#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     30    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     31#   include <CFNetwork/CFNetwork.h> 
     32#endif 
    2733 
    2834#define PJ_ACTIVESOCK_MAX_LOOP      50 
     
    7278    unsigned             max_loop; 
    7379    pj_activesock_cb     cb; 
    74  
     80#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     81    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     82    int                  bg_setting; 
     83    pj_sock_t            sock; 
     84    CFReadStreamRef      readStream; 
     85#endif 
     86     
    7587    struct send_data     send_data; 
    7688 
     
    106118} 
    107119 
     120#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     121    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     122static void activesock_destroy_iphone_os_stream(pj_activesock_t *asock) 
     123{ 
     124    if (asock->readStream) { 
     125        CFReadStreamClose(asock->readStream); 
     126        CFRelease(asock->readStream); 
     127        asock->readStream = NULL; 
     128    } 
     129} 
     130 
     131static void activesock_create_iphone_os_stream(pj_activesock_t *asock) 
     132{ 
     133    if (asock->bg_setting && asock->stream_oriented) { 
     134        activesock_destroy_iphone_os_stream(asock); 
     135 
     136        CFStreamCreatePairWithSocket(kCFAllocatorDefault, asock->sock, 
     137                                     &asock->readStream, NULL); 
     138 
     139        if (!asock->readStream || 
     140            CFReadStreamSetProperty(asock->readStream, 
     141                                    kCFStreamNetworkServiceType, 
     142                                    kCFStreamNetworkServiceTypeVoIP) 
     143            != TRUE || 
     144            CFReadStreamOpen(asock->readStream) != TRUE) 
     145        { 
     146            PJ_LOG(2,("", "Failed to configure TCP transport for VoIP " 
     147                      "usage. Background mode will not be supported.")); 
     148             
     149            activesock_destroy_iphone_os_stream(asock); 
     150        } 
     151    } 
     152} 
     153 
     154 
     155PJ_DEF(void) pj_activesock_set_iphone_os_bg(pj_activesock_t *asock, 
     156                                            int val) 
     157{ 
     158    asock->bg_setting = val; 
     159    if (asock->bg_setting) 
     160        activesock_create_iphone_os_stream(asock); 
     161    else 
     162        activesock_destroy_iphone_os_stream(asock); 
     163} 
     164#endif 
    108165 
    109166PJ_DEF(pj_status_t) pj_activesock_create( pj_pool_t *pool, 
     
    157214    } 
    158215 
     216#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     217    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     218    asock->sock = sock; 
     219    pj_activesock_set_iphone_os_bg(asock, 
     220                                   PJ_ACTIVESOCK_TCP_IPHONE_OS_BG); 
     221#endif 
     222 
    159223    *p_asock = asock; 
    160224    return PJ_SUCCESS; 
     
    216280    PJ_ASSERT_RETURN(asock, PJ_EINVAL); 
    217281    if (asock->key) { 
     282#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     283    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     284        activesock_destroy_iphone_os_stream(asock); 
     285#endif   
     286         
    218287        pj_ioqueue_unregister(asock->key); 
    219288        asock->key = NULL; 
     
    734803                return; 
    735804 
     805#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     806    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     807            activesock_create_iphone_os_stream(asock); 
     808#endif 
    736809        } else if (status==PJ_SUCCESS) { 
    737810            /* Application doesn't handle the new socket, we need to  
     
    776849            return; 
    777850        } 
     851         
     852#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     853    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     854        activesock_create_iphone_os_stream(asock); 
     855#endif 
     856         
    778857    } 
    779858} 
  • pjproject/trunk/pjlib/src/pj/ioqueue_common_abs.c

    r3088 r3299  
    530530            /* In any case we would report this to caller. */ 
    531531            bytes_read = -rc; 
     532 
     533#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     534    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     535            /* Special treatment for dead UDP sockets here, see ticket #1107 */ 
     536            if (rc == PJ_STATUS_FROM_OS(ENOTCONN) && !IS_CLOSING(h) && 
     537                h->fd_type==pj_SOCK_DGRAM()) 
     538            { 
     539                replace_udp_sock(h); 
     540            } 
     541#endif 
    532542        } 
    533543 
  • pjproject/trunk/pjlib/src/pj/ioqueue_select.c

    r2554 r3299  
    3838#include <pj/compat/socket.h> 
    3939#include <pj/sock_select.h> 
     40#include <pj/sock_qos.h> 
    4041#include <pj/errno.h> 
    4142 
     
    123124#endif 
    124125}; 
     126 
     127/* Proto */ 
     128static pj_status_t replace_udp_sock(pj_ioqueue_key_t *h); 
    125129 
    126130/* Include implementation for common abstraction after we declare 
     
    621625#endif 
    622626 
     627#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     628    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     629static pj_status_t replace_udp_sock(pj_ioqueue_key_t *h) 
     630{ 
     631    enum flags { 
     632        HAS_PEER_ADDR = 1, 
     633        HAS_QOS = 2 
     634    }; 
     635    pj_sock_t old_sock, new_sock = PJ_INVALID_SOCKET; 
     636    pj_sockaddr local_addr, rem_addr; 
     637    int val, addr_len; 
     638    pj_fd_set_t *fds[3]; 
     639    unsigned i, fds_cnt, flags=0; 
     640    pj_qos_params qos_params; 
     641    unsigned msec; 
     642    pj_status_t status; 
     643 
     644    pj_lock_acquire(h->ioqueue->lock); 
     645 
     646    old_sock = h->fd; 
     647 
     648    /* Can only replace UDP socket */ 
     649    pj_assert(h->fd_type == pj_SOCK_DGRAM()); 
     650 
     651    PJ_LOG(4,(THIS_FILE, "Attempting to replace UDP socket %d", old_sock)); 
     652 
     653    /* Investigate the old socket */ 
     654    addr_len = sizeof(local_addr); 
     655    status = pj_sock_getsockname(old_sock, &local_addr, &addr_len); 
     656    if (status != PJ_SUCCESS) 
     657        goto on_error; 
     658     
     659    addr_len = sizeof(rem_addr); 
     660    status = pj_sock_getpeername(old_sock, &rem_addr, &addr_len); 
     661    if (status == PJ_SUCCESS) 
     662        flags |= HAS_PEER_ADDR; 
     663 
     664    status = pj_sock_get_qos_params(old_sock, &qos_params); 
     665    if (status == PJ_SUCCESS) 
     666        flags |= HAS_QOS; 
     667 
     668    /* We're done with the old socket, close it otherwise we'll get 
     669     * error in bind() 
     670     */ 
     671    pj_sock_close(old_sock); 
     672 
     673    /* Prepare the new socket */ 
     674    status = pj_sock_socket(local_addr.addr.sa_family, PJ_SOCK_DGRAM, 0, 
     675                            &new_sock); 
     676    if (status != PJ_SUCCESS) 
     677        goto on_error; 
     678 
     679    /* Even after the socket is closed, we'll still get "Address in use" 
     680     * errors, so force it with SO_REUSEADDR 
     681     */ 
     682    val = 1; 
     683    status = pj_sock_setsockopt(new_sock, SOL_SOCKET, SO_REUSEADDR, 
     684                                &val, sizeof(val)); 
     685    if (status != PJ_SUCCESS) 
     686        goto on_error; 
     687 
     688    /* The loop is silly, but what else can we do? */ 
     689    addr_len = pj_sockaddr_get_len(&local_addr); 
     690    for (msec=20; ; msec<1000? msec=msec*2 : 1000) { 
     691        status = pj_sock_bind(new_sock, &local_addr, addr_len); 
     692        if (status != PJ_STATUS_FROM_OS(EADDRINUSE)) 
     693            break; 
     694        PJ_LOG(4,(THIS_FILE, "Address is still in use, retrying..")); 
     695        pj_thread_sleep(msec); 
     696    } 
     697 
     698    if (status != PJ_SUCCESS) 
     699        goto on_error; 
     700 
     701    if (flags & HAS_QOS) { 
     702        status = pj_sock_set_qos_params(new_sock, &qos_params); 
     703        if (status != PJ_SUCCESS) 
     704            goto on_error; 
     705    } 
     706 
     707    if (flags & HAS_PEER_ADDR) { 
     708        status = pj_sock_connect(new_sock, &rem_addr, addr_len); 
     709        if (status != PJ_SUCCESS) 
     710            goto on_error; 
     711    } 
     712 
     713    /* Set socket to nonblocking. */ 
     714    val = 1; 
     715#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ 
     716    defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 
     717    if (ioctlsocket(new_sock, FIONBIO, &val)) { 
     718#else 
     719    if (ioctl(new_sock, FIONBIO, &val)) { 
     720#endif 
     721        status = pj_get_netos_error(); 
     722        goto on_error; 
     723    } 
     724 
     725    /* Replace the occurrence of old socket with new socket in the 
     726     * fd sets. 
     727     */ 
     728    fds_cnt = 0; 
     729    fds[fds_cnt++] = &h->ioqueue->rfdset; 
     730    fds[fds_cnt++] = &h->ioqueue->wfdset; 
     731#if PJ_HAS_TCP 
     732    fds[fds_cnt++] = &h->ioqueue->xfdset; 
     733#endif 
     734 
     735    for (i=0; i<fds_cnt; ++i) { 
     736        if (PJ_FD_ISSET(old_sock, fds[i])) { 
     737            PJ_FD_CLR(old_sock, fds[i]); 
     738            PJ_FD_SET(new_sock, fds[i]); 
     739        } 
     740    } 
     741 
     742    /* And finally replace the fd in the key */ 
     743    h->fd = new_sock; 
     744 
     745    PJ_LOG(4,(THIS_FILE, "UDP has been replaced successfully!")); 
     746 
     747    pj_lock_release(h->ioqueue->lock); 
     748 
     749    return PJ_SUCCESS; 
     750 
     751on_error: 
     752    if (new_sock != PJ_INVALID_SOCKET) 
     753        pj_sock_close(new_sock); 
     754    PJ_PERROR(1,(THIS_FILE, status, "Error replacing socket")); 
     755    pj_lock_release(h->ioqueue->lock); 
     756    return status; 
     757} 
     758#endif 
     759 
    623760 
    624761/* 
  • pjproject/trunk/pjlib/src/pj/sock_bsd.c

    r3238 r3299  
    514514    PJ_ASSERT_RETURN(PJ_INVALID_SOCKET==-1,  
    515515                     (*sock=PJ_INVALID_SOCKET, PJ_EINVAL)); 
    516  
     516     
    517517    *sock = socket(af, type, proto); 
    518518    if (*sock == PJ_INVALID_SOCKET) 
    519519        return PJ_RETURN_OS_ERROR(pj_get_native_netos_error()); 
    520     else  
    521         return PJ_SUCCESS; 
     520    else { 
     521#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     522    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 
     523        pj_int32_t val = 1; 
     524        if (type == pj_SOCK_DGRAM()) { 
     525            pj_sock_setsockopt(*sock, pj_SOL_SOCKET(), SO_NOSIGPIPE,  
     526                               &val, sizeof(val)); 
     527        } 
     528#endif 
     529        return PJ_SUCCESS; 
     530    } 
    522531} 
    523532#endif 
  • pjproject/trunk/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m

    r3258 r3299  
    88 
    99#import <pjlib.h> 
     10#import <pjsua.h> 
    1011#import "ipjsuaAppDelegate.h" 
    1112 
     
    1920 
    2021/* Sleep interval duration */ 
    21 #define SLEEP_INTERVAL  0.5 
     22#define SLEEP_INTERVAL      0.5 
    2223/* Determine whether we should print the messages in the debugger 
    2324 * console as well 
    2425 */ 
    25 #define DEBUGGER_PRINT  1 
     26#define DEBUGGER_PRINT      1 
    2627/* Whether we should show pj log messages in the text area */ 
    27 #define SHOW_LOG        1 
    28 #define PATH_LENGTH     PJ_MAXPATH 
     28#define SHOW_LOG            1 
     29#define PATH_LENGTH         PJ_MAXPATH 
     30#define KEEP_ALIVE_INTERVAL 600 
    2931 
    3032extern pj_bool_t app_restart; 
     
    3537ipjsuaAppDelegate       *app; 
    3638 
    37 bool                    app_running; 
    38 bool                    thread_quit; 
     39bool                     app_running; 
     40bool                     thread_quit; 
    3941NSMutableString         *mstr; 
     42pj_thread_desc           a_thread_desc; 
     43pj_thread_t             *a_thread; 
     44pjsua_call_id            ccall_id; 
    4045 
    4146pj_status_t app_init(int argc, char *argv[]); 
    4247pj_status_t app_main(void); 
    4348pj_status_t app_destroy(void); 
     49void keepAliveFunction(int timeout); 
    4450 
    4551void showMsg(const char *format, ...) 
     
    5157    NSString *str = [[NSString alloc] initWithFormat:[NSString stringWithFormat:@"%s", format] arguments: arg]; 
    5258#if DEBUGGER_PRINT 
    53     NSLog(str); 
     59    NSLog(@"%@", str); 
    5460#endif 
    5561    va_end(arg); 
     
    9298    showMsg("%s", data); 
    9399} 
     100 
     101pj_bool_t showNotification(pjsua_call_id call_id) 
     102{ 
     103#ifdef __IPHONE_4_0 
     104    ccall_id = call_id; 
     105 
     106    // Create a new notification 
     107    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 
     108    UILocalNotification* alert = [[[UILocalNotification alloc] init] autorelease]; 
     109    if (alert) 
     110    { 
     111        alert.repeatInterval = 0; 
     112        alert.alertBody = @"Incoming call received..."; 
     113        alert.alertAction = @"Answer"; 
     114         
     115        [[UIApplication sharedApplication] presentLocalNotificationNow:alert]; 
     116    } 
     117     
     118    [pool release]; 
     119     
     120    return PJ_FALSE; 
     121#else 
     122    return PJ_TRUE; 
     123#endif 
     124} 
     125 
     126- (void)answer_call { 
     127    if (!pj_thread_is_registered()) 
     128    { 
     129        pj_thread_register("ipjsua", a_thread_desc, &a_thread); 
     130    } 
     131    pjsua_call_answer(ccall_id, 200, NULL, NULL); 
     132} 
     133 
     134#ifdef __IPHONE_4_0 
     135- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification { 
     136    [app performSelectorOnMainThread:@selector(answer_call) withObject:nil waitUntilDone:YES]; 
     137} 
     138 
     139- (void)keepAlive { 
     140    if (!pj_thread_is_registered()) 
     141    { 
     142        pj_thread_register("ipjsua", a_thread_desc, &a_thread); 
     143    }     
     144    keepAliveFunction(KEEP_ALIVE_INTERVAL); 
     145} 
     146 
     147- (void)applicationDidEnterBackground:(UIApplication *)application 
     148{ 
     149    [app performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; 
     150    [application setKeepAliveTimeout:KEEP_ALIVE_INTERVAL handler: ^{ 
     151        [app performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; 
     152    }]; 
     153} 
     154 
     155#endif 
    94156 
    95157- (void)start_app { 
  • pjproject/trunk/pjsip-apps/src/ipjsua/ipjsua-Info.plist

    r3175 r3299  
    2929        <key>UIInterfaceOrientation</key> 
    3030        <string>UIInterfaceOrientationLandscapeRight</string> 
     31        <key>UIBackgroundModes</key> 
     32        <array> 
     33                <string>audio</string> 
     34                <string>voip</string> 
     35        </array> 
    3136</dict> 
    3237</plist> 
  • pjproject/trunk/pjsip-apps/src/ipjsua/ipjsua.xcodeproj/project.pbxproj

    r3179 r3299  
    1616                288765080DF74369002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765070DF74369002DB57D /* CoreGraphics.framework */; }; 
    1717                28AD73880D9D96C1002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD73870D9D96C1002E5188 /* MainWindow.xib */; }; 
     18                3A0D789F121E324E009D5030 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0D789E121E324E009D5030 /* CFNetwork.framework */; }; 
    1819                3AE9099D11587BB900FAEAA5 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */; }; 
    1920                3AE90A2D1158B52500FAEAA5 /* pjsua_app.c in Sources */ = {isa = PBXBuildFile; fileRef = 3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */; }; 
     
    5455                28AD73870D9D96C1002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = "<group>"; }; 
    5556                29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 
     57                3A0D789E121E324E009D5030 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; 
    5658                3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 
    5759                3AE90A2C1158B52500FAEAA5 /* pjsua_app.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pjsua_app.c; path = ../pjsua/pjsua_app.c; sourceTree = SOURCE_ROOT; }; 
     
    110112                                3AE90EBB115F7BCE00FAEAA5 /* libspeex-arm-apple-darwin9.a in Frameworks */, 
    111113                                3AE90EBC115F7BCE00FAEAA5 /* libsrtp-arm-apple-darwin9.a in Frameworks */, 
     114                                3A0D789F121E324E009D5030 /* CFNetwork.framework in Frameworks */, 
    112115                        ); 
    113116                        runOnlyForDeploymentPostprocessing = 0; 
     
    181184                                288765070DF74369002DB57D /* CoreGraphics.framework */, 
    182185                                3AE9099C11587BB900FAEAA5 /* AudioToolbox.framework */, 
     186                                3A0D789E121E324E009D5030 /* CFNetwork.framework */, 
    183187                        ); 
    184188                        name = Frameworks; 
     
    348352                                        ../../../third_party/lib, 
    349353                                ); 
     354                                OTHER_CFLAGS = ""; 
    350355                                PREBINDING = NO; 
    351                                 SDKROOT = iphoneos3.1.2; 
     356                                SDKROOT = iphoneos4.0; 
    352357                        }; 
    353358                        name = Debug; 
     
    377382                                        ../../../third_party/lib, 
    378383                                ); 
     384                                OTHER_CFLAGS = ""; 
    379385                                PREBINDING = NO; 
    380                                 SDKROOT = iphoneos3.1.2; 
     386                                SDKROOT = iphoneos4.0; 
    381387                        }; 
    382388                        name = Release; 
  • pjproject/trunk/pjsip-apps/src/ipjsystest/ipjsystest-Info.plist

    r3175 r3299  
    2727        <key>NSMainNibFile</key> 
    2828        <string>MainWindow</string> 
     29        <key>UIBackgroundModes</key> 
     30        <array> 
     31                <string>audio</string> 
     32        </array> 
    2933</dict> 
    3034</plist> 
  • pjproject/trunk/pjsip-apps/src/ipjsystest/ipjsystest.xcodeproj/project.pbxproj

    r3178 r3299  
    367367                                ); 
    368368                                PREBINDING = NO; 
    369                                 SDKROOT = iphoneos3.1.2; 
     369                                SDKROOT = iphoneos4.0; 
    370370                        }; 
    371371                        name = Debug; 
     
    395395                                ); 
    396396                                PREBINDING = NO; 
    397                                 SDKROOT = iphoneos3.1.2; 
     397                                SDKROOT = iphoneos4.0; 
    398398                        }; 
    399399                        name = Release; 
  • pjproject/trunk/pjsip-apps/src/pjsua/gui.h

    r3175 r3299  
    3030void showMsg(const char *format, ...); 
    3131char * getInput(char *s, int n, FILE *stream); 
     32pj_bool_t showNotification(pjsua_call_id call_id); 
    3233 
    3334#endif 
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r3243 r3299  
    158158 * Configuration manipulation 
    159159 */ 
     160 
     161#if (defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 
     162    PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0) || \ 
     163    defined(__IPHONE_4_0) 
     164void keepAliveFunction(int timeout) 
     165{ 
     166    int i; 
     167    for (i=0; i<(int)pjsua_acc_get_count(); ++i) { 
     168        if (!pjsua_acc_is_valid(i)) 
     169            continue; 
     170 
     171        if (app_config.acc_cfg[i].reg_timeout < timeout) 
     172            app_config.acc_cfg[i].reg_timeout = timeout; 
     173        pjsua_acc_set_registration(i, PJ_TRUE); 
     174    } 
     175} 
     176#endif 
    160177 
    161178/* Show usage */ 
     
    24572474    pjsua_call_get_info(call_id, &call_info); 
    24582475 
     2476    if (current_call==PJSUA_INVALID_ID) 
     2477        current_call = call_id; 
     2478 
     2479#ifdef USE_GUI 
     2480    if (!showNotification(call_id)) 
     2481        return; 
     2482#endif 
     2483 
    24592484    /* Start ringback */ 
    24602485    ring_start(call_id); 
    2461  
    2462     if (current_call==PJSUA_INVALID_ID) 
    2463         current_call = call_id; 
    2464  
     2486     
    24652487    if (app_config.auto_answer > 0) { 
    24662488        pjsua_call_answer(call_id, app_config.auto_answer, NULL, NULL); 
Note: See TracChangeset for help on using the changeset viewer.