Ignore:
Timestamp:
Jul 14, 2011 8:46:19 AM (13 years ago)
Author:
ming
Message:

Re #1278: NSApplication and NSAutoreleasePool management for Mac OS X

Application now needs to call pj_run_app() from its main() function and pass a pointer to the application's main function. For some examples, please refer to aviplay, pjmedia_test, and pjsua.

Location:
pjproject/branches/projects/2.0-dev
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/aconfigure

    r3533 r3643  
    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_pjmedia_video 
     699ac_ios_cflags 
     700ac_pjmedia_video_has_qt 
     701ac_qt_cflags 
     702ac_no_small_filter 
     703ac_no_large_filter 
     704ac_no_speex_aec 
     705ac_no_g711_codec 
     706ac_no_l16_codec 
     707ac_no_gsm_codec 
     708ac_no_g722_codec 
     709ac_no_g7221_codec 
     710ac_no_speex_codec 
     711ac_no_ilbc_codec 
     712ac_sdl_cflags 
     713ac_sdl_ldflags 
     714ac_has_ffmpeg 
     715ac_ffmpeg_cflags 
     716ac_ffmpeg_ldflags 
     717ac_v4l2_cflags 
     718ac_v4l2_ldflags 
     719ac_no_ssl 
     720openssl_h_present 
     721libssl_present 
     722libcrypto_present 
     723ac_cross_compile 
     724ac_linux_poll 
     725ac_host 
     726ac_main_obj 
    594727LIBOBJS 
    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_v4l2_ldflags 
    604 ac_v4l2_cflags 
    605 ac_ffmpeg_ldflags 
    606 ac_ffmpeg_cflags 
    607 ac_has_ffmpeg 
    608 ac_sdl_ldflags 
    609 ac_sdl_cflags 
    610 ac_no_ilbc_codec 
    611 ac_no_speex_codec 
    612 ac_no_g7221_codec 
    613 ac_no_g722_codec 
    614 ac_no_gsm_codec 
    615 ac_no_l16_codec 
    616 ac_no_g711_codec 
    617 ac_no_speex_aec 
    618 ac_no_large_filter 
    619 ac_no_small_filter 
    620 ac_qt_cflags 
    621 ac_pjmedia_video_has_qt 
    622 ac_ios_cflags 
    623 ac_pjmedia_video 
    624 ac_pa_use_oss 
    625 ac_pa_use_alsa 
    626 ac_pa_cflags 
    627 ac_external_pa 
    628 ac_pjmedia_snd 
    629 ac_external_gsm 
    630 ac_external_speex 
    631 ac_os_objs 
    632 EGREP 
    633 GREP 
    634 CPP 
    635 ac_build_mak_vars 
    636 ac_pjdir 
    637 CC_CFLAGS 
    638 CC_OPTIMIZE 
    639 CC_DEF 
    640 CC_INC 
    641 CC_OUT 
    642 LIBEXT2 
    643 LIBEXT 
    644 RANLIB 
    645 LDOUT 
    646 LD 
    647 AR 
    648 ac_ct_CXX 
    649 CXXFLAGS 
    650 CXX 
    651 OBJEXT 
    652 EXEEXT 
    653 ac_ct_CC 
    654 CPPFLAGS 
    655 LDFLAGS 
    656 CFLAGS 
    657 CC 
    658 target_os 
    659 target_vendor 
    660 target_cpu 
    661 target 
    662 host_os 
    663 host_vendor 
    664 host_cpu 
    665 host 
    666 build_os 
    667 build_vendor 
    668 build_cpu 
    669 build 
    670 target_alias 
    671 host_alias 
    672 build_alias 
    673 LIBS 
    674 ECHO_T 
    675 ECHO_N 
    676 ECHO_C 
    677 DEFS 
    678 mandir 
    679 localedir 
    680 libdir 
    681 psdir 
    682 pdfdir 
    683 dvidir 
    684 htmldir 
    685 infodir 
    686 docdir 
    687 oldincludedir 
    688 includedir 
    689 localstatedir 
    690 sharedstatedir 
    691 sysconfdir 
    692 datadir 
    693 datarootdir 
    694 libexecdir 
    695 sbindir 
    696 bindir 
    697 program_transform_name 
    698 prefix 
    699 exec_prefix 
    700 PACKAGE_URL 
    701 PACKAGE_BUGREPORT 
    702 PACKAGE_STRING 
    703 PACKAGE_VERSION 
    704 PACKAGE_TARNAME 
    705 PACKAGE_NAME 
    706 PATH_SEPARATOR 
    707 SHELL' 
     728LTLIBOBJS' 
    708729ac_subst_files='' 
    709 ac_user_opts=' 
    710 enable_option_checking 
    711 enable_floating_point 
    712 enable_epoll 
    713 with_external_speex 
    714 with_external_gsm 
    715 enable_sound 
    716 with_external_pa 
    717 enable_oss 
    718 enable_ext_sound 
    719 enable_small_filter 
    720 enable_large_filter 
    721 enable_speex_aec 
    722 enable_g711_codec 
    723 enable_l16_codec 
    724 enable_gsm_codec 
    725 enable_g722_codec 
    726 enable_g7221_codec 
    727 enable_speex_codec 
    728 enable_ilbc_codec 
    729 enable_libsamplerate 
    730 enable_sdl 
    731 enable_ffmpeg 
    732 with_ffmpeg 
    733 enable_v4l2 
    734 enable_ipp 
    735 with_ipp 
    736 with_ipp_samples 
    737 with_ipp_arch 
    738 enable_ssl 
    739 ' 
    740730      ac_precious_vars='build_alias 
    741731host_alias 
     
    755745ac_init_help= 
    756746ac_init_version=false 
    757 ac_unrecognized_opts= 
    758 ac_unrecognized_sep= 
    759747# The variables have the same names as the options, with 
    760748# dashes changed to underlines. 
     
    855843 
    856844  -disable-* | --disable-*) 
    857     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     845    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    858846    # Reject names that are not valid shell variable names. 
    859     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    860       as_fn_error "invalid feature name: $ac_useropt" 
    861     ac_useropt_orig=$ac_useropt 
    862     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    863     case $ac_user_opts in 
    864       *" 
    865 "enable_$ac_useropt" 
    866 "*) ;; 
    867       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
    868          ac_unrecognized_sep=', ';; 
    869     esac 
    870     eval enable_$ac_useropt=no ;; 
     847    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     848      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     849   { (exit 1); exit 1; }; } 
     850    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
     851    eval enable_$ac_feature=no ;; 
    871852 
    872853  -docdir | --docdir | --docdi | --doc | --do) 
     
    881862 
    882863  -enable-* | --enable-*) 
    883     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     864    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    884865    # Reject names that are not valid shell variable names. 
    885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    886       as_fn_error "invalid feature name: $ac_useropt" 
    887     ac_useropt_orig=$ac_useropt 
    888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    889     case $ac_user_opts in 
    890       *" 
    891 "enable_$ac_useropt" 
    892 "*) ;; 
    893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
    894          ac_unrecognized_sep=', ';; 
    895     esac 
    896     eval enable_$ac_useropt=\$ac_optarg ;; 
     866    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     867      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     868   { (exit 1); exit 1; }; } 
     869    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
     870    eval enable_$ac_feature=\$ac_optarg ;; 
    897871 
    898872  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10851059 
    10861060  -with-* | --with-*) 
    1087     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1061    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10881062    # Reject names that are not valid shell variable names. 
    1089     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1090       as_fn_error "invalid package name: $ac_useropt" 
    1091     ac_useropt_orig=$ac_useropt 
    1092     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    1093     case $ac_user_opts in 
    1094       *" 
    1095 "with_$ac_useropt" 
    1096 "*) ;; 
    1097       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
    1098          ac_unrecognized_sep=', ';; 
    1099     esac 
    1100     eval with_$ac_useropt=\$ac_optarg ;; 
     1063    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     1064      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     1065   { (exit 1); exit 1; }; } 
     1066    ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
     1067    eval with_$ac_package=\$ac_optarg ;; 
    11011068 
    11021069  -without-* | --without-*) 
    1103     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1070    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    11041071    # Reject names that are not valid shell variable names. 
    1105     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1106       as_fn_error "invalid package name: $ac_useropt" 
    1107     ac_useropt_orig=$ac_useropt 
    1108     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    1109     case $ac_user_opts in 
    1110       *" 
    1111 "with_$ac_useropt" 
    1112 "*) ;; 
    1113       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
    1114          ac_unrecognized_sep=', ';; 
    1115     esac 
    1116     eval with_$ac_useropt=no ;; 
     1072    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     1073      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     1074   { (exit 1); exit 1; }; } 
     1075    ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
     1076    eval with_$ac_package=no ;; 
    11171077 
    11181078  --x) 
     
    11341094    x_libraries=$ac_optarg ;; 
    11351095 
    1136   -*) as_fn_error "unrecognized option: \`$ac_option' 
    1137 Try \`$0 --help' for more information." 
     1096  -*) { echo "$as_me: error: unrecognized option: $ac_option 
     1097Try \`$0 --help' for more information." >&2 
     1098   { (exit 1); exit 1; }; } 
    11381099    ;; 
    11391100 
     
    11411102    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11421103    # Reject names that are not valid shell variable names. 
    1143     case $ac_envvar in #( 
    1144       '' | [0-9]* | *[!_$as_cr_alnum]* ) 
    1145       as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
    1146     esac 
     1104    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
     1105      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
     1106   { (exit 1); exit 1; }; } 
    11471107    eval $ac_envvar=\$ac_optarg 
    11481108    export $ac_envvar ;; 
     
    11501110  *) 
    11511111    # FIXME: should be removed in autoconf 3.0. 
    1152     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1112    echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11531113    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1154       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1114      echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11551115    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11561116    ;; 
     
    11611121if test -n "$ac_prev"; then 
    11621122  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1163   as_fn_error "missing argument to $ac_option" 
    1164 fi 
    1165  
    1166 if test -n "$ac_unrecognized_opts"; then 
    1167   case $enable_option_checking in 
    1168     no) ;; 
    1169     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
    1170     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    1171   esac 
    1172 fi 
    1173  
    1174 # Check all directory arguments for consistency. 
     1123  { echo "$as_me: error: missing argument to $ac_option" >&2 
     1124   { (exit 1); exit 1; }; } 
     1125fi 
     1126 
     1127# Be sure to have absolute directory names. 
    11751128for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11761129                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11791132do 
    11801133  eval ac_val=\$$ac_var 
    1181   # Remove trailing slashes. 
    1182   case $ac_val in 
    1183     */ ) 
    1184       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
    1185       eval $ac_var=\$ac_val;; 
    1186   esac 
    1187   # Be sure to have absolute directory names. 
    11881134  case $ac_val in 
    11891135    [\\/$]* | ?:[\\/]* )  continue;; 
    11901136    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11911137  esac 
    1192   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
     1138  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     1139   { (exit 1); exit 1; }; } 
    11931140done 
    11941141 
     
    12041151  if test "x$build_alias" = x; then 
    12051152    cross_compiling=maybe 
    1206     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1153    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    12071154    If a cross compiler is detected then cross compile mode will be used." >&2 
    12081155  elif test "x$build_alias" != "x$host_alias"; then 
     
    12201167ac_ls_di=`ls -di .` && 
    12211168ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1222   as_fn_error "working directory cannot be determined" 
     1169  { echo "$as_me: error: Working directory cannot be determined" >&2 
     1170   { (exit 1); exit 1; }; } 
    12231171test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1224   as_fn_error "pwd does not report name of working directory" 
     1172  { echo "$as_me: error: pwd does not report name of working directory" >&2 
     1173   { (exit 1); exit 1; }; } 
    12251174 
    12261175 
     
    12291178  ac_srcdir_defaulted=yes 
    12301179  # Try the directory containing this script, then the parent directory. 
    1231   ac_confdir=`$as_dirname -- "$as_myself" || 
    1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1233          X"$as_myself" : 'X\(//\)[^/]' \| \ 
    1234          X"$as_myself" : 'X\(//\)$' \| \ 
    1235          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
    1236 $as_echo X"$as_myself" | 
     1180  ac_confdir=`$as_dirname -- "$0" || 
     1181$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1182         X"$0" : 'X\(//\)[^/]' \| \ 
     1183         X"$0" : 'X\(//\)$' \| \ 
     1184         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
     1185echo X"$0" | 
    12371186    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    12381187            s//\1/ 
     
    12611210if test ! -r "$srcdir/$ac_unique_file"; then 
    12621211  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1263   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
     1212  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
     1213   { (exit 1); exit 1; }; } 
    12641214fi 
    12651215ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12661216ac_abs_confdir=`( 
    1267         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
     1217        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
     1218   { (exit 1); exit 1; }; } 
    12681219        pwd)` 
    12691220# When building in place, set srcdir=. 
     
    13131264Installation directories: 
    13141265  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1315                           [$ac_default_prefix] 
     1266                          [$ac_default_prefix] 
    13161267  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1317                           [PREFIX] 
     1268                          [PREFIX] 
    13181269 
    13191270By default, \`make install' will install all the files in 
     
    13251276 
    13261277Fine tuning of the installation directories: 
    1327   --bindir=DIR            user executables [EPREFIX/bin] 
    1328   --sbindir=DIR           system admin executables [EPREFIX/sbin] 
    1329   --libexecdir=DIR        program executables [EPREFIX/libexec] 
    1330   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
    1331   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
    1332   --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
    1333   --libdir=DIR            object code libraries [EPREFIX/lib] 
    1334   --includedir=DIR        C header files [PREFIX/include] 
    1335   --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
    1336   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
    1337   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
    1338   --infodir=DIR           info documentation [DATAROOTDIR/info] 
    1339   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
    1340   --mandir=DIR            man documentation [DATAROOTDIR/man] 
    1341   --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
    1342   --htmldir=DIR           html documentation [DOCDIR] 
    1343   --dvidir=DIR            dvi documentation [DOCDIR] 
    1344   --pdfdir=DIR            pdf documentation [DOCDIR] 
    1345   --psdir=DIR             ps documentation [DOCDIR] 
     1278  --bindir=DIR           user executables [EPREFIX/bin] 
     1279  --sbindir=DIR          system admin executables [EPREFIX/sbin] 
     1280  --libexecdir=DIR       program executables [EPREFIX/libexec] 
     1281  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
     1282  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
     1283  --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
     1284  --libdir=DIR           object code libraries [EPREFIX/lib] 
     1285  --includedir=DIR       C header files [PREFIX/include] 
     1286  --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
     1287  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
     1288  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
     1289  --infodir=DIR          info documentation [DATAROOTDIR/info] 
     1290  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
     1291  --mandir=DIR           man documentation [DATAROOTDIR/man] 
     1292  --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
     1293  --htmldir=DIR          html documentation [DOCDIR] 
     1294  --dvidir=DIR           dvi documentation [DOCDIR] 
     1295  --pdfdir=DIR           pdf documentation [DOCDIR] 
     1296  --psdir=DIR            ps documentation [DOCDIR] 
    13461297_ACEOF 
    13471298 
     
    13621313 
    13631314Optional Features: 
    1364   --disable-option-checking  ignore unrecognized --enable/--with options 
    13651315  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13661316  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    14231373              nonstandard directory <lib dir> 
    14241374  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1425   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
     1375  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
    14261376              you have headers in a nonstandard directory <include dir> 
    14271377  CXX         C++ compiler command 
     
    14321382it to find libraries and programs with nonstandard names/locations. 
    14331383 
    1434 Report bugs to the package provider. 
    14351384_ACEOF 
    14361385ac_status=$? 
     
    14401389  # If there are subdirs, report their specific --help. 
    14411390  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1442     test -d "$ac_dir" || 
    1443       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
    1444       continue 
     1391    test -d "$ac_dir" || continue 
    14451392    ac_builddir=. 
    14461393 
     
    14481395.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    14491396*) 
    1450   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
     1397  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    14511398  # A ".." for each directory in $ac_dir_suffix. 
    1452   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
     1399  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
    14531400  case $ac_top_builddir_sub in 
    14541401  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14861433      $SHELL "$ac_srcdir/configure" --help=recursive 
    14871434    else 
    1488       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1435      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14891436    fi || ac_status=$? 
    14901437    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14961443  cat <<\_ACEOF 
    14971444pjproject configure 1.x 
    1498 generated by GNU Autoconf 2.65 
    1499  
    1500 Copyright (C) 2009 Free Software Foundation, Inc. 
     1445generated by GNU Autoconf 2.61 
     1446 
     1447Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
     14482002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
    15011449This configure script is free software; the Free Software Foundation 
    15021450gives unlimited permission to copy, distribute and modify it. 
     
    15041452  exit 
    15051453fi 
    1506  
    1507 ## ------------------------ ## 
    1508 ## Autoconf initialization. ## 
    1509 ## ------------------------ ## 
    1510  
    1511 # ac_fn_c_try_compile LINENO 
    1512 # -------------------------- 
    1513 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
    1514 ac_fn_c_try_compile () 
    1515 { 
    1516   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1517   rm -f conftest.$ac_objext 
    1518   if { { ac_try="$ac_compile" 
    1519 case "(($ac_try" in 
    1520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1521   *) ac_try_echo=$ac_try;; 
    1522 esac 
    1523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1524 $as_echo "$ac_try_echo"; } >&5 
    1525   (eval "$ac_compile") 2>conftest.err 
    1526   ac_status=$? 
    1527   if test -s conftest.err; then 
    1528     grep -v '^ *+' conftest.err >conftest.er1 
    1529     cat conftest.er1 >&5 
    1530     mv -f conftest.er1 conftest.err 
    1531   fi 
    1532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1533   test $ac_status = 0; } && { 
    1534          test -z "$ac_c_werror_flag" || 
    1535          test ! -s conftest.err 
    1536        } && test -s conftest.$ac_objext; then : 
    1537   ac_retval=0 
    1538 else 
    1539   $as_echo "$as_me: failed program was:" >&5 
    1540 sed 's/^/| /' conftest.$ac_ext >&5 
    1541  
    1542         ac_retval=1 
    1543 fi 
    1544   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1545   as_fn_set_status $ac_retval 
    1546  
    1547 } # ac_fn_c_try_compile 
    1548  
    1549 # ac_fn_cxx_try_compile LINENO 
    1550 # ---------------------------- 
    1551 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
    1552 ac_fn_cxx_try_compile () 
    1553 { 
    1554   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1555   rm -f conftest.$ac_objext 
    1556   if { { ac_try="$ac_compile" 
    1557 case "(($ac_try" in 
    1558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1559   *) ac_try_echo=$ac_try;; 
    1560 esac 
    1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1562 $as_echo "$ac_try_echo"; } >&5 
    1563   (eval "$ac_compile") 2>conftest.err 
    1564   ac_status=$? 
    1565   if test -s conftest.err; then 
    1566     grep -v '^ *+' conftest.err >conftest.er1 
    1567     cat conftest.er1 >&5 
    1568     mv -f conftest.er1 conftest.err 
    1569   fi 
    1570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1571   test $ac_status = 0; } && { 
    1572          test -z "$ac_cxx_werror_flag" || 
    1573          test ! -s conftest.err 
    1574        } && test -s conftest.$ac_objext; then : 
    1575   ac_retval=0 
    1576 else 
    1577   $as_echo "$as_me: failed program was:" >&5 
    1578 sed 's/^/| /' conftest.$ac_ext >&5 
    1579  
    1580         ac_retval=1 
    1581 fi 
    1582   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1583   as_fn_set_status $ac_retval 
    1584  
    1585 } # ac_fn_cxx_try_compile 
    1586  
    1587 # ac_fn_c_try_link LINENO 
    1588 # ----------------------- 
    1589 # Try to link conftest.$ac_ext, and return whether this succeeded. 
    1590 ac_fn_c_try_link () 
    1591 { 
    1592   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1593   rm -f conftest.$ac_objext conftest$ac_exeext 
    1594   if { { ac_try="$ac_link" 
    1595 case "(($ac_try" in 
    1596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1597   *) ac_try_echo=$ac_try;; 
    1598 esac 
    1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1600 $as_echo "$ac_try_echo"; } >&5 
    1601   (eval "$ac_link") 2>conftest.err 
    1602   ac_status=$? 
    1603   if test -s conftest.err; then 
    1604     grep -v '^ *+' conftest.err >conftest.er1 
    1605     cat conftest.er1 >&5 
    1606     mv -f conftest.er1 conftest.err 
    1607   fi 
    1608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1609   test $ac_status = 0; } && { 
    1610          test -z "$ac_c_werror_flag" || 
    1611          test ! -s conftest.err 
    1612        } && test -s conftest$ac_exeext && { 
    1613          test "$cross_compiling" = yes || 
    1614          $as_test_x conftest$ac_exeext 
    1615        }; then : 
    1616   ac_retval=0 
    1617 else 
    1618   $as_echo "$as_me: failed program was:" >&5 
    1619 sed 's/^/| /' conftest.$ac_ext >&5 
    1620  
    1621         ac_retval=1 
    1622 fi 
    1623   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
    1624   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
    1625   # interfere with the next link command; also delete a directory that is 
    1626   # left behind by Apple's compiler.  We do this before executing the actions. 
    1627   rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1628   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1629   as_fn_set_status $ac_retval 
    1630  
    1631 } # ac_fn_c_try_link 
    1632  
    1633 # ac_fn_c_try_run LINENO 
    1634 # ---------------------- 
    1635 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
    1636 # that executables *can* be run. 
    1637 ac_fn_c_try_run () 
    1638 { 
    1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1640   if { { ac_try="$ac_link" 
    1641 case "(($ac_try" in 
    1642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1643   *) ac_try_echo=$ac_try;; 
    1644 esac 
    1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1646 $as_echo "$ac_try_echo"; } >&5 
    1647   (eval "$ac_link") 2>&5 
    1648   ac_status=$? 
    1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1650   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
    1651   { { case "(($ac_try" in 
    1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1653   *) ac_try_echo=$ac_try;; 
    1654 esac 
    1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1656 $as_echo "$ac_try_echo"; } >&5 
    1657   (eval "$ac_try") 2>&5 
    1658   ac_status=$? 
    1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1660   test $ac_status = 0; }; }; then : 
    1661   ac_retval=0 
    1662 else 
    1663   $as_echo "$as_me: program exited with status $ac_status" >&5 
    1664        $as_echo "$as_me: failed program was:" >&5 
    1665 sed 's/^/| /' conftest.$ac_ext >&5 
    1666  
    1667        ac_retval=$ac_status 
    1668 fi 
    1669   rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1670   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1671   as_fn_set_status $ac_retval 
    1672  
    1673 } # ac_fn_c_try_run 
    1674  
    1675 # ac_fn_c_try_cpp LINENO 
    1676 # ---------------------- 
    1677 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
    1678 ac_fn_c_try_cpp () 
    1679 { 
    1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1681   if { { ac_try="$ac_cpp conftest.$ac_ext" 
    1682 case "(($ac_try" in 
    1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1684   *) ac_try_echo=$ac_try;; 
    1685 esac 
    1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1687 $as_echo "$ac_try_echo"; } >&5 
    1688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
    1689   ac_status=$? 
    1690   if test -s conftest.err; then 
    1691     grep -v '^ *+' conftest.err >conftest.er1 
    1692     cat conftest.er1 >&5 
    1693     mv -f conftest.er1 conftest.err 
    1694   fi 
    1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1696   test $ac_status = 0; } >/dev/null && { 
    1697          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    1698          test ! -s conftest.err 
    1699        }; then : 
    1700   ac_retval=0 
    1701 else 
    1702   $as_echo "$as_me: failed program was:" >&5 
    1703 sed 's/^/| /' conftest.$ac_ext >&5 
    1704  
    1705     ac_retval=1 
    1706 fi 
    1707   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1708   as_fn_set_status $ac_retval 
    1709  
    1710 } # ac_fn_c_try_cpp 
    1711  
    1712 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
    1713 # ------------------------------------------------------- 
    1714 # Tests whether HEADER exists and can be compiled using the include files in 
    1715 # INCLUDES, setting the cache variable VAR accordingly. 
    1716 ac_fn_c_check_header_compile () 
    1717 { 
    1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1720 $as_echo_n "checking for $2... " >&6; } 
    1721 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1722   $as_echo_n "(cached) " >&6 
    1723 else 
    1724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1725 /* end confdefs.h.  */ 
    1726 $4 
    1727 #include <$2> 
    1728 _ACEOF 
    1729 if ac_fn_c_try_compile "$LINENO"; then : 
    1730   eval "$3=yes" 
    1731 else 
    1732   eval "$3=no" 
    1733 fi 
    1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    1735 fi 
    1736 eval ac_res=\$$3 
    1737                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1738 $as_echo "$ac_res" >&6; } 
    1739   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1740  
    1741 } # ac_fn_c_check_header_compile 
    1742  
    1743 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
    1744 # ------------------------------------------------------- 
    1745 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 
    1746 # the include files in INCLUDES and setting the cache variable VAR 
    1747 # accordingly. 
    1748 ac_fn_c_check_header_mongrel () 
    1749 { 
    1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1751   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1753 $as_echo_n "checking for $2... " >&6; } 
    1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1755   $as_echo_n "(cached) " >&6 
    1756 fi 
    1757 eval ac_res=\$$3 
    1758                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1759 $as_echo "$ac_res" >&6; } 
    1760 else 
    1761   # Is the header compilable? 
    1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
    1763 $as_echo_n "checking $2 usability... " >&6; } 
    1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1765 /* end confdefs.h.  */ 
    1766 $4 
    1767 #include <$2> 
    1768 _ACEOF 
    1769 if ac_fn_c_try_compile "$LINENO"; then : 
    1770   ac_header_compiler=yes 
    1771 else 
    1772   ac_header_compiler=no 
    1773 fi 
    1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
    1776 $as_echo "$ac_header_compiler" >&6; } 
    1777  
    1778 # Is the header present? 
    1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
    1780 $as_echo_n "checking $2 presence... " >&6; } 
    1781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1782 /* end confdefs.h.  */ 
    1783 #include <$2> 
    1784 _ACEOF 
    1785 if ac_fn_c_try_cpp "$LINENO"; then : 
    1786   ac_header_preproc=yes 
    1787 else 
    1788   ac_header_preproc=no 
    1789 fi 
    1790 rm -f conftest.err conftest.$ac_ext 
    1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
    1792 $as_echo "$ac_header_preproc" >&6; } 
    1793  
    1794 # So?  What about this header? 
    1795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
    1796   yes:no: ) 
    1797     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
    1798 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    1799     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
    1800 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
    1801     ;; 
    1802   no:yes:* ) 
    1803     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
    1804 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
    1805     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
    1806 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
    1807     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
    1808 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
    1809     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
    1810 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
    1811     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
    1812 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
    1813     ;; 
    1814 esac 
    1815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1816 $as_echo_n "checking for $2... " >&6; } 
    1817 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1818   $as_echo_n "(cached) " >&6 
    1819 else 
    1820   eval "$3=\$ac_header_compiler" 
    1821 fi 
    1822 eval ac_res=\$$3 
    1823                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1824 $as_echo "$ac_res" >&6; } 
    1825 fi 
    1826   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1827  
    1828 } # ac_fn_c_check_header_mongrel 
    1829  
    1830 # ac_fn_c_check_func LINENO FUNC VAR 
    1831 # ---------------------------------- 
    1832 # Tests whether FUNC exists, setting the cache variable VAR accordingly 
    1833 ac_fn_c_check_func () 
    1834 { 
    1835   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1837 $as_echo_n "checking for $2... " >&6; } 
    1838 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1839   $as_echo_n "(cached) " >&6 
    1840 else 
    1841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1842 /* end confdefs.h.  */ 
    1843 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
    1844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    1845 #define $2 innocuous_$2 
    1846  
    1847 /* System header to define __stub macros and hopefully few prototypes, 
    1848     which can conflict with char $2 (); below. 
    1849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    1850     <limits.h> exists even on freestanding compilers.  */ 
    1851  
    1852 #ifdef __STDC__ 
    1853 # include <limits.h> 
    1854 #else 
    1855 # include <assert.h> 
    1856 #endif 
    1857  
    1858 #undef $2 
    1859  
    1860 /* Override any GCC internal prototype to avoid an error. 
    1861    Use char because int might match the return type of a GCC 
    1862    builtin and then its argument prototype would still apply.  */ 
    1863 #ifdef __cplusplus 
    1864 extern "C" 
    1865 #endif 
    1866 char $2 (); 
    1867 /* The GNU C library defines this for functions which it implements 
    1868     to always fail with ENOSYS.  Some functions are actually named 
    1869     something starting with __ and the normal name is an alias.  */ 
    1870 #if defined __stub_$2 || defined __stub___$2 
    1871 choke me 
    1872 #endif 
    1873  
    1874 int 
    1875 main () 
    1876 { 
    1877 return $2 (); 
    1878   ; 
    1879   return 0; 
    1880 } 
    1881 _ACEOF 
    1882 if ac_fn_c_try_link "$LINENO"; then : 
    1883   eval "$3=yes" 
    1884 else 
    1885   eval "$3=no" 
    1886 fi 
    1887 rm -f core conftest.err conftest.$ac_objext \ 
    1888     conftest$ac_exeext conftest.$ac_ext 
    1889 fi 
    1890 eval ac_res=\$$3 
    1891                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1892 $as_echo "$ac_res" >&6; } 
    1893   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1894  
    1895 } # ac_fn_c_check_func 
    18961454cat >config.log <<_ACEOF 
    18971455This file contains any messages produced by compilers while 
     
    18991457 
    19001458It was created by pjproject $as_me 1.x, which was 
    1901 generated by GNU Autoconf 2.65.  Invocation command line was 
     1459generated by GNU Autoconf 2.61.  Invocation command line was 
    19021460 
    19031461  $ $0 $@ 
     
    19351493  IFS=$as_save_IFS 
    19361494  test -z "$as_dir" && as_dir=. 
    1937     $as_echo "PATH: $as_dir" 
    1938   done 
     1495  echo "PATH: $as_dir" 
     1496done 
    19391497IFS=$as_save_IFS 
    19401498 
     
    19701528      continue ;; 
    19711529    *\'*) 
    1972       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1530      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    19731531    esac 
    19741532    case $ac_pass in 
    1975     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
     1533    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
    19761534    2) 
    1977       as_fn_append ac_configure_args1 " '$ac_arg'" 
     1535      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
    19781536      if test $ac_must_keep_next = true; then 
    19791537        ac_must_keep_next=false # Got value, back to normal. 
     
    19911549        esac 
    19921550      fi 
    1993       as_fn_append ac_configure_args " '$ac_arg'" 
     1551      ac_configure_args="$ac_configure_args '$ac_arg'" 
    19941552      ;; 
    19951553    esac 
    19961554  done 
    19971555done 
    1998 { ac_configure_args0=; unset ac_configure_args0;} 
    1999 { ac_configure_args1=; unset ac_configure_args1;} 
     1556$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1557$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
    20001558 
    20011559# When interrupted or exit'd, cleanup temporary files, and complete 
     
    20221580    *${as_nl}*) 
    20231581      case $ac_var in #( 
    2024       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
    2025 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
     1582      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
     1583echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
    20261584      esac 
    20271585      case $ac_var in #( 
    20281586      _ | IFS | as_nl) ;; #( 
    2029       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    2030       *) { eval $ac_var=; unset $ac_var;} ;; 
     1587      *) $as_unset $ac_var ;; 
    20311588      esac ;; 
    20321589    esac 
     
    20571614      eval ac_val=\$$ac_var 
    20581615      case $ac_val in 
    2059       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     1616      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    20601617      esac 
    2061       $as_echo "$ac_var='\''$ac_val'\''" 
     1618      echo "$ac_var='\''$ac_val'\''" 
    20621619    done | sort 
    20631620    echo 
     
    20741631        eval ac_val=\$$ac_var 
    20751632        case $ac_val in 
    2076         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     1633        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    20771634        esac 
    2078         $as_echo "$ac_var='\''$ac_val'\''" 
     1635        echo "$ac_var='\''$ac_val'\''" 
    20791636      done | sort 
    20801637      echo 
     
    20921649    fi 
    20931650    test "$ac_signal" != 0 && 
    2094       $as_echo "$as_me: caught signal $ac_signal" 
    2095     $as_echo "$as_me: exit $exit_status" 
     1651      echo "$as_me: caught signal $ac_signal" 
     1652    echo "$as_me: exit $exit_status" 
    20961653  } >&5 
    20971654  rm -f core *.core core.conftest.* && 
     
    21001657' 0 
    21011658for ac_signal in 1 2 13 15; do 
    2102   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
     1659  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
    21031660done 
    21041661ac_signal=0 
     
    21071664rm -f -r conftest* confdefs.h 
    21081665 
    2109 $as_echo "/* confdefs.h */" > confdefs.h 
    2110  
    21111666# Predefined preprocessor variables. 
    21121667 
     
    21151670_ACEOF 
    21161671 
     1672 
    21171673cat >>confdefs.h <<_ACEOF 
    21181674#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    21191675_ACEOF 
    21201676 
     1677 
    21211678cat >>confdefs.h <<_ACEOF 
    21221679#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    21231680_ACEOF 
    21241681 
     1682 
    21251683cat >>confdefs.h <<_ACEOF 
    21261684#define PACKAGE_STRING "$PACKAGE_STRING" 
    21271685_ACEOF 
    21281686 
     1687 
    21291688cat >>confdefs.h <<_ACEOF 
    21301689#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    21311690_ACEOF 
    21321691 
    2133 cat >>confdefs.h <<_ACEOF 
    2134 #define PACKAGE_URL "$PACKAGE_URL" 
    2135 _ACEOF 
    2136  
    21371692 
    21381693# Let the site file select an alternate cache file if it wants to. 
    2139 # Prefer an explicitly selected file to automatically selected ones. 
    2140 ac_site_file1=NONE 
    2141 ac_site_file2=NONE 
     1694# Prefer explicitly selected file to automatically selected ones. 
    21421695if test -n "$CONFIG_SITE"; then 
    2143   ac_site_file1=$CONFIG_SITE 
     1696  set x "$CONFIG_SITE" 
    21441697elif test "x$prefix" != xNONE; then 
    2145   ac_site_file1=$prefix/share/config.site 
    2146   ac_site_file2=$prefix/etc/config.site 
    2147 else 
    2148   ac_site_file1=$ac_default_prefix/share/config.site 
    2149   ac_site_file2=$ac_default_prefix/etc/config.site 
    2150 fi 
    2151 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
     1698  set x "$prefix/share/config.site" "$prefix/etc/config.site" 
     1699else 
     1700  set x "$ac_default_prefix/share/config.site" \ 
     1701        "$ac_default_prefix/etc/config.site" 
     1702fi 
     1703shift 
     1704for ac_site_file 
    21521705do 
    2153   test "x$ac_site_file" = xNONE && continue 
    2154   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
    2155     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
    2156 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 
     1706  if test -r "$ac_site_file"; then 
     1707    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     1708echo "$as_me: loading site script $ac_site_file" >&6;} 
    21571709    sed 's/^/| /' "$ac_site_file" >&5 
    21581710    . "$ac_site_file" 
     
    21611713 
    21621714if test -r "$cache_file"; then 
    2163   # Some versions of bash will fail to source /dev/null (special files 
    2164   # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
    2165   if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
    2166     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
    2167 $as_echo "$as_me: loading cache $cache_file" >&6;} 
     1715  # Some versions of bash will fail to source /dev/null (special 
     1716  # files actually), so we avoid doing that. 
     1717  if test -f "$cache_file"; then 
     1718    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     1719echo "$as_me: loading cache $cache_file" >&6;} 
    21681720    case $cache_file in 
    21691721      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    21721724  fi 
    21731725else 
    2174   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
    2175 $as_echo "$as_me: creating cache $cache_file" >&6;} 
     1726  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     1727echo "$as_me: creating cache $cache_file" >&6;} 
    21761728  >$cache_file 
    21771729fi 
     
    21871739  case $ac_old_set,$ac_new_set in 
    21881740    set,) 
    2189       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    2190 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     1741      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1742echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    21911743      ac_cache_corrupted=: ;; 
    21921744    ,set) 
    2193       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
    2194 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     1745      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     1746echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    21951747      ac_cache_corrupted=: ;; 
    21961748    ,);; 
    21971749    *) 
    21981750      if test "x$ac_old_val" != "x$ac_new_val"; then 
    2199         # differences in whitespace do not lead to failure. 
    2200         ac_old_val_w=`echo x $ac_old_val` 
    2201         ac_new_val_w=`echo x $ac_new_val` 
    2202         if test "$ac_old_val_w" != "$ac_new_val_w"; then 
    2203           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
    2204 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    2205           ac_cache_corrupted=: 
    2206         else 
    2207           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
    2208 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
    2209           eval $ac_var=\$ac_old_val 
    2210         fi 
    2211         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
    2212 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
    2213         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
    2214 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
     1751        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     1752echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     1753        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
     1754echo "$as_me:   former value:  $ac_old_val" >&2;} 
     1755        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
     1756echo "$as_me:   current value: $ac_new_val" >&2;} 
     1757        ac_cache_corrupted=: 
    22151758      fi;; 
    22161759  esac 
     
    22181761  if test "$ac_new_set" = set; then 
    22191762    case $ac_new_val in 
    2220     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1763    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    22211764    *) ac_arg=$ac_var=$ac_new_val ;; 
    22221765    esac 
    22231766    case " $ac_configure_args " in 
    22241767      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    2225       *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
     1768      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    22261769    esac 
    22271770  fi 
    22281771done 
    22291772if $ac_cache_corrupted; then 
    2230   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2232   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    2233 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    2234   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
    2235 fi 
    2236 ## -------------------- ## 
    2237 ## Main body of script. ## 
    2238 ## -------------------- ## 
     1773  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     1774echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     1775  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1776echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
     1777   { (exit 1); exit 1; }; } 
     1778fi 
     1779 
     1780 
     1781 
     1782 
     1783 
     1784 
     1785 
     1786 
     1787 
     1788 
     1789 
     1790 
     1791 
     1792 
     1793 
     1794 
     1795 
     1796 
     1797 
     1798 
     1799 
     1800 
     1801 
     1802 
    22391803 
    22401804ac_ext=c 
     
    22501814ac_aux_dir= 
    22511815for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    2252   for ac_t in install-sh install.sh shtool; do 
    2253     if test -f "$ac_dir/$ac_t"; then 
    2254       ac_aux_dir=$ac_dir 
    2255       ac_install_sh="$ac_aux_dir/$ac_t -c" 
    2256       break 2 
    2257     fi 
    2258   done 
     1816  if test -f "$ac_dir/install-sh"; then 
     1817    ac_aux_dir=$ac_dir 
     1818    ac_install_sh="$ac_aux_dir/install-sh -c" 
     1819    break 
     1820  elif test -f "$ac_dir/install.sh"; then 
     1821    ac_aux_dir=$ac_dir 
     1822    ac_install_sh="$ac_aux_dir/install.sh -c" 
     1823    break 
     1824  elif test -f "$ac_dir/shtool"; then 
     1825    ac_aux_dir=$ac_dir 
     1826    ac_install_sh="$ac_aux_dir/shtool install -c" 
     1827    break 
     1828  fi 
    22591829done 
    22601830if test -z "$ac_aux_dir"; then 
    2261   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
     1831  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
     1832echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
     1833   { (exit 1); exit 1; }; } 
    22621834fi 
    22631835 
     
    22731845# Make sure we can run config.sub. 
    22741846$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    2275   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
    2276  
    2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    2278 $as_echo_n "checking build system type... " >&6; } 
    2279 if test "${ac_cv_build+set}" = set; then : 
    2280   $as_echo_n "(cached) " >&6 
     1847  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
     1848echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
     1849   { (exit 1); exit 1; }; } 
     1850 
     1851{ echo "$as_me:$LINENO: checking build system type" >&5 
     1852echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
     1853if test "${ac_cv_build+set}" = set; then 
     1854  echo $ECHO_N "(cached) $ECHO_C" >&6 
    22811855else 
    22821856  ac_build_alias=$build_alias 
     
    22841858  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    22851859test "x$ac_build_alias" = x && 
    2286   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
     1860  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
     1861echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
     1862   { (exit 1); exit 1; }; } 
    22871863ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    2288   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
    2289  
    2290 fi 
    2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
    2292 $as_echo "$ac_cv_build" >&6; } 
     1864  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
     1865echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
     1866   { (exit 1); exit 1; }; } 
     1867 
     1868fi 
     1869{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     1870echo "${ECHO_T}$ac_cv_build" >&6; } 
    22931871case $ac_cv_build in 
    22941872*-*-*) ;; 
    2295 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
     1873*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
     1874echo "$as_me: error: invalid value of canonical build" >&2;} 
     1875   { (exit 1); exit 1; }; };; 
    22961876esac 
    22971877build=$ac_cv_build 
     
    23091889 
    23101890 
    2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    2312 $as_echo_n "checking host system type... " >&6; } 
    2313 if test "${ac_cv_host+set}" = set; then : 
    2314   $as_echo_n "(cached) " >&6 
     1891{ echo "$as_me:$LINENO: checking host system type" >&5 
     1892echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
     1893if test "${ac_cv_host+set}" = set; then 
     1894  echo $ECHO_N "(cached) $ECHO_C" >&6 
    23151895else 
    23161896  if test "x$host_alias" = x; then 
     
    23181898else 
    23191899  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    2320     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
    2321 fi 
    2322  
    2323 fi 
    2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
    2325 $as_echo "$ac_cv_host" >&6; } 
     1900    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
     1901echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
     1902   { (exit 1); exit 1; }; } 
     1903fi 
     1904 
     1905fi 
     1906{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     1907echo "${ECHO_T}$ac_cv_host" >&6; } 
    23261908case $ac_cv_host in 
    23271909*-*-*) ;; 
    2328 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
     1910*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
     1911echo "$as_me: error: invalid value of canonical host" >&2;} 
     1912   { (exit 1); exit 1; }; };; 
    23291913esac 
    23301914host=$ac_cv_host 
     
    23421926 
    23431927 
    2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
    2345 $as_echo_n "checking target system type... " >&6; } 
    2346 if test "${ac_cv_target+set}" = set; then : 
    2347   $as_echo_n "(cached) " >&6 
     1928{ echo "$as_me:$LINENO: checking target system type" >&5 
     1929echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
     1930if test "${ac_cv_target+set}" = set; then 
     1931  echo $ECHO_N "(cached) $ECHO_C" >&6 
    23481932else 
    23491933  if test "x$target_alias" = x; then 
     
    23511935else 
    23521936  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    2353     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
    2354 fi 
    2355  
    2356 fi 
    2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
    2358 $as_echo "$ac_cv_target" >&6; } 
     1937    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
     1938echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
     1939   { (exit 1); exit 1; }; } 
     1940fi 
     1941 
     1942fi 
     1943{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     1944echo "${ECHO_T}$ac_cv_target" >&6; } 
    23591945case $ac_cv_target in 
    23601946*-*-*) ;; 
    2361 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
     1947*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
     1948echo "$as_me: error: invalid value of canonical target" >&2;} 
     1949   { (exit 1); exit 1; }; };; 
    23621950esac 
    23631951target=$ac_cv_target 
     
    24031991  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    24041992set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2406 $as_echo_n "checking for $ac_word... " >&6; } 
    2407 if test "${ac_cv_prog_CC+set}" = set; then : 
    2408   $as_echo_n "(cached) " >&6 
     1993{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     1995if test "${ac_cv_prog_CC+set}" = set; then 
     1996  echo $ECHO_N "(cached) $ECHO_C" >&6 
    24091997else 
    24101998  if test -n "$CC"; then 
     
    24162004  IFS=$as_save_IFS 
    24172005  test -z "$as_dir" && as_dir=. 
    2418     for ac_exec_ext in '' $ac_executable_extensions; do 
     2006  for ac_exec_ext in '' $ac_executable_extensions; do 
    24192007  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    24202008    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2009    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    24222010    break 2 
    24232011  fi 
    24242012done 
    2425   done 
     2013done 
    24262014IFS=$as_save_IFS 
    24272015 
     
    24302018CC=$ac_cv_prog_CC 
    24312019if test -n "$CC"; then 
    2432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2433 $as_echo "$CC" >&6; } 
    2434 else 
    2435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2436 $as_echo "no" >&6; } 
     2020  { echo "$as_me:$LINENO: result: $CC" >&5 
     2021echo "${ECHO_T}$CC" >&6; } 
     2022else 
     2023  { echo "$as_me:$LINENO: result: no" >&5 
     2024echo "${ECHO_T}no" >&6; } 
    24372025fi 
    24382026 
     
    24432031  # Extract the first word of "gcc", so it can be a program name with args. 
    24442032set dummy gcc; ac_word=$2 
    2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2446 $as_echo_n "checking for $ac_word... " >&6; } 
    2447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    2448   $as_echo_n "(cached) " >&6 
     2033{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2034echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2035if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2036  echo $ECHO_N "(cached) $ECHO_C" >&6 
    24492037else 
    24502038  if test -n "$ac_ct_CC"; then 
     
    24562044  IFS=$as_save_IFS 
    24572045  test -z "$as_dir" && as_dir=. 
    2458     for ac_exec_ext in '' $ac_executable_extensions; do 
     2046  for ac_exec_ext in '' $ac_executable_extensions; do 
    24592047  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    24602048    ac_cv_prog_ac_ct_CC="gcc" 
    2461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2049    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    24622050    break 2 
    24632051  fi 
    24642052done 
    2465   done 
     2053done 
    24662054IFS=$as_save_IFS 
    24672055 
     
    24702058ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    24712059if test -n "$ac_ct_CC"; then 
    2472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    2473 $as_echo "$ac_ct_CC" >&6; } 
    2474 else 
    2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2476 $as_echo "no" >&6; } 
     2060  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2061echo "${ECHO_T}$ac_ct_CC" >&6; } 
     2062else 
     2063  { echo "$as_me:$LINENO: result: no" >&5 
     2064echo "${ECHO_T}no" >&6; } 
    24772065fi 
    24782066 
     
    24822070    case $cross_compiling:$ac_tool_warned in 
    24832071yes:) 
    2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    2485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     2072{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     2073whose name does not start with the host triplet.  If you think this 
     2074configuration is useful to you, please write to autoconf@gnu.org." >&5 
     2075echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     2076whose name does not start with the host triplet.  If you think this 
     2077configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    24862078ac_tool_warned=yes ;; 
    24872079esac 
     
    24962088    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    24972089set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2499 $as_echo_n "checking for $ac_word... " >&6; } 
    2500 if test "${ac_cv_prog_CC+set}" = set; then : 
    2501   $as_echo_n "(cached) " >&6 
     2090{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2091echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2092if test "${ac_cv_prog_CC+set}" = set; then 
     2093  echo $ECHO_N "(cached) $ECHO_C" >&6 
    25022094else 
    25032095  if test -n "$CC"; then 
     
    25092101  IFS=$as_save_IFS 
    25102102  test -z "$as_dir" && as_dir=. 
    2511     for ac_exec_ext in '' $ac_executable_extensions; do 
     2103  for ac_exec_ext in '' $ac_executable_extensions; do 
    25122104  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    25132105    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2106    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    25152107    break 2 
    25162108  fi 
    25172109done 
    2518   done 
     2110done 
    25192111IFS=$as_save_IFS 
    25202112 
     
    25232115CC=$ac_cv_prog_CC 
    25242116if test -n "$CC"; then 
    2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2526 $as_echo "$CC" >&6; } 
    2527 else 
    2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2529 $as_echo "no" >&6; } 
     2117  { echo "$as_me:$LINENO: result: $CC" >&5 
     2118echo "${ECHO_T}$CC" >&6; } 
     2119else 
     2120  { echo "$as_me:$LINENO: result: no" >&5 
     2121echo "${ECHO_T}no" >&6; } 
    25302122fi 
    25312123 
     
    25362128  # Extract the first word of "cc", so it can be a program name with args. 
    25372129set dummy cc; ac_word=$2 
    2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2539 $as_echo_n "checking for $ac_word... " >&6; } 
    2540 if test "${ac_cv_prog_CC+set}" = set; then : 
    2541   $as_echo_n "(cached) " >&6 
     2130{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2131echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2132if test "${ac_cv_prog_CC+set}" = set; then 
     2133  echo $ECHO_N "(cached) $ECHO_C" >&6 
    25422134else 
    25432135  if test -n "$CC"; then 
     
    25502142  IFS=$as_save_IFS 
    25512143  test -z "$as_dir" && as_dir=. 
    2552     for ac_exec_ext in '' $ac_executable_extensions; do 
     2144  for ac_exec_ext in '' $ac_executable_extensions; do 
    25532145  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    25542146    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    25572149     fi 
    25582150    ac_cv_prog_CC="cc" 
    2559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2151    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    25602152    break 2 
    25612153  fi 
    25622154done 
    2563   done 
     2155done 
    25642156IFS=$as_save_IFS 
    25652157 
     
    25802172CC=$ac_cv_prog_CC 
    25812173if test -n "$CC"; then 
    2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2583 $as_echo "$CC" >&6; } 
    2584 else 
    2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2586 $as_echo "no" >&6; } 
     2174  { echo "$as_me:$LINENO: result: $CC" >&5 
     2175echo "${ECHO_T}$CC" >&6; } 
     2176else 
     2177  { echo "$as_me:$LINENO: result: no" >&5 
     2178echo "${ECHO_T}no" >&6; } 
    25872179fi 
    25882180 
     
    25952187    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    25962188set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2598 $as_echo_n "checking for $ac_word... " >&6; } 
    2599 if test "${ac_cv_prog_CC+set}" = set; then : 
    2600   $as_echo_n "(cached) " >&6 
     2189{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2190echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2191if test "${ac_cv_prog_CC+set}" = set; then 
     2192  echo $ECHO_N "(cached) $ECHO_C" >&6 
    26012193else 
    26022194  if test -n "$CC"; then 
     
    26082200  IFS=$as_save_IFS 
    26092201  test -z "$as_dir" && as_dir=. 
    2610     for ac_exec_ext in '' $ac_executable_extensions; do 
     2202  for ac_exec_ext in '' $ac_executable_extensions; do 
    26112203  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    26122204    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2205    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    26142206    break 2 
    26152207  fi 
    26162208done 
    2617   done 
     2209done 
    26182210IFS=$as_save_IFS 
    26192211 
     
    26222214CC=$ac_cv_prog_CC 
    26232215if test -n "$CC"; then 
    2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2625 $as_echo "$CC" >&6; } 
    2626 else 
    2627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2628 $as_echo "no" >&6; } 
     2216  { echo "$as_me:$LINENO: result: $CC" >&5 
     2217echo "${ECHO_T}$CC" >&6; } 
     2218else 
     2219  { echo "$as_me:$LINENO: result: no" >&5 
     2220echo "${ECHO_T}no" >&6; } 
    26292221fi 
    26302222 
     
    26392231  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    26402232set dummy $ac_prog; ac_word=$2 
    2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2642 $as_echo_n "checking for $ac_word... " >&6; } 
    2643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    2644   $as_echo_n "(cached) " >&6 
     2233{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2234echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2235if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2236  echo $ECHO_N "(cached) $ECHO_C" >&6 
    26452237else 
    26462238  if test -n "$ac_ct_CC"; then 
     
    26522244  IFS=$as_save_IFS 
    26532245  test -z "$as_dir" && as_dir=. 
    2654     for ac_exec_ext in '' $ac_executable_extensions; do 
     2246  for ac_exec_ext in '' $ac_executable_extensions; do 
    26552247  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    26562248    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2249    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    26582250    break 2 
    26592251  fi 
    26602252done 
    2661   done 
     2253done 
    26622254IFS=$as_save_IFS 
    26632255 
     
    26662258ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    26672259if test -n "$ac_ct_CC"; then 
    2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    2669 $as_echo "$ac_ct_CC" >&6; } 
    2670 else 
    2671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2672 $as_echo "no" >&6; } 
     2260  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2261echo "${ECHO_T}$ac_ct_CC" >&6; } 
     2262else 
     2263  { echo "$as_me:$LINENO: result: no" >&5 
     2264echo "${ECHO_T}no" >&6; } 
    26732265fi 
    26742266 
     
    26822274    case $cross_compiling:$ac_tool_warned in 
    26832275yes:) 
    2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    2685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     2276{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     2277whose name does not start with the host triplet.  If you think this 
     2278configuration is useful to you, please write to autoconf@gnu.org." >&5 
     2279echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     2280whose name does not start with the host triplet.  If you think this 
     2281configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    26862282ac_tool_warned=yes ;; 
    26872283esac 
     
    26932289 
    26942290 
    2695 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2697 as_fn_error "no acceptable C compiler found in \$PATH 
    2698 See \`config.log' for more details." "$LINENO" 5; } 
     2291test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     2292See \`config.log' for more details." >&5 
     2293echo "$as_me: error: no acceptable C compiler found in \$PATH 
     2294See \`config.log' for more details." >&2;} 
     2295   { (exit 1); exit 1; }; } 
    26992296 
    27002297# Provide some information about the compiler. 
    2701 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
    2702 set X $ac_compile 
    2703 ac_compiler=$2 
    2704 for ac_option in --version -v -V -qversion; do 
    2705   { { ac_try="$ac_compiler $ac_option >&5" 
    2706 case "(($ac_try" in 
    2707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2708   *) ac_try_echo=$ac_try;; 
    2709 esac 
    2710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2711 $as_echo "$ac_try_echo"; } >&5 
    2712   (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    2713   ac_status=$? 
    2714   if test -s conftest.err; then 
    2715     sed '10a\ 
    2716 ... rest of stderr output deleted ... 
    2717          10q' conftest.err >conftest.er1 
    2718     cat conftest.er1 >&5 
    2719   fi 
    2720   rm -f conftest.er1 conftest.err 
    2721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2722   test $ac_status = 0; } 
    2723 done 
    2724  
    2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2298echo "$as_me:$LINENO: checking for C compiler version" >&5 
     2299ac_compiler=`set X $ac_compile; echo $2` 
     2300{ (ac_try="$ac_compiler --version >&5" 
     2301case "(($ac_try" in 
     2302  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2303  *) ac_try_echo=$ac_try;; 
     2304esac 
     2305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2306  (eval "$ac_compiler --version >&5") 2>&5 
     2307  ac_status=$? 
     2308  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2309  (exit $ac_status); } 
     2310{ (ac_try="$ac_compiler -v >&5" 
     2311case "(($ac_try" in 
     2312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2313  *) ac_try_echo=$ac_try;; 
     2314esac 
     2315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2316  (eval "$ac_compiler -v >&5") 2>&5 
     2317  ac_status=$? 
     2318  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2319  (exit $ac_status); } 
     2320{ (ac_try="$ac_compiler -V >&5" 
     2321case "(($ac_try" in 
     2322  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2323  *) ac_try_echo=$ac_try;; 
     2324esac 
     2325eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2326  (eval "$ac_compiler -V >&5") 2>&5 
     2327  ac_status=$? 
     2328  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2329  (exit $ac_status); } 
     2330 
     2331cat >conftest.$ac_ext <<_ACEOF 
     2332/* confdefs.h.  */ 
     2333_ACEOF 
     2334cat confdefs.h >>conftest.$ac_ext 
     2335cat >>conftest.$ac_ext <<_ACEOF 
    27262336/* end confdefs.h.  */ 
    27272337 
     
    27352345_ACEOF 
    27362346ac_clean_files_save=$ac_clean_files 
    2737 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2347ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    27382348# Try to create an executable without -o first, disregard a.out. 
    27392349# It will help us diagnose broken compilers, and finding out an intuition 
    27402350# of exeext. 
    2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
    2742 $as_echo_n "checking whether the C compiler works... " >&6; } 
    2743 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2744  
    2745 # The possible output files: 
    2746 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
    2747  
     2351{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
     2352echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
     2353ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2354# 
     2355# List of possible output files, starting from the most likely. 
     2356# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
     2357# only as a last resort.  b.out is created by i960 compilers. 
     2358ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
     2359# 
     2360# The IRIX 6 linker writes into existing files which may not be 
     2361# executable, retaining their permissions.  Remove them first so a 
     2362# subsequent execution test works. 
    27482363ac_rmfiles= 
    27492364for ac_file in $ac_files 
    27502365do 
    27512366  case $ac_file in 
    2752     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2367    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    27532368    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    27542369  esac 
     
    27562371rm -f $ac_rmfiles 
    27572372 
    2758 if { { ac_try="$ac_link_default" 
    2759 case "(($ac_try" in 
    2760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2761   *) ac_try_echo=$ac_try;; 
    2762 esac 
    2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2764 $as_echo "$ac_try_echo"; } >&5 
     2373if { (ac_try="$ac_link_default" 
     2374case "(($ac_try" in 
     2375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2376  *) ac_try_echo=$ac_try;; 
     2377esac 
     2378eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    27652379  (eval "$ac_link_default") 2>&5 
    27662380  ac_status=$? 
    2767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2768   test $ac_status = 0; }; then : 
     2381  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2382  (exit $ac_status); }; then 
    27692383  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    27702384# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    27762390  test -f "$ac_file" || continue 
    27772391  case $ac_file in 
    2778     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
     2392    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
    27792393        ;; 
    27802394    [ab].out ) 
     
    27832397        break;; 
    27842398    *.* ) 
    2785         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2399        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    27862400        then :; else 
    27872401           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    28022416  ac_file='' 
    28032417fi 
    2804 if test -z "$ac_file"; then : 
    2805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2806 $as_echo "no" >&6; } 
    2807 $as_echo "$as_me: failed program was:" >&5 
     2418 
     2419{ echo "$as_me:$LINENO: result: $ac_file" >&5 
     2420echo "${ECHO_T}$ac_file" >&6; } 
     2421if test -z "$ac_file"; then 
     2422  echo "$as_me: failed program was:" >&5 
    28082423sed 's/^/| /' conftest.$ac_ext >&5 
    28092424 
    2810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2812 { as_fn_set_status 77 
    2813 as_fn_error "C compiler cannot create executables 
    2814 See \`config.log' for more details." "$LINENO" 5; }; } 
    2815 else 
    2816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    2817 $as_echo "yes" >&6; } 
    2818 fi 
    2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
    2820 $as_echo_n "checking for C compiler default output file name... " >&6; } 
    2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
    2822 $as_echo "$ac_file" >&6; } 
     2425{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 
     2426See \`config.log' for more details." >&5 
     2427echo "$as_me: error: C compiler cannot create executables 
     2428See \`config.log' for more details." >&2;} 
     2429   { (exit 77); exit 77; }; } 
     2430fi 
     2431 
    28232432ac_exeext=$ac_cv_exeext 
    28242433 
    2825 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
     2434# Check that the compiler produces executables we can run.  If not, either 
     2435# the compiler is broken, or we cross compile. 
     2436{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
     2437echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
     2438# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     2439# If not cross compiling, check that we can run a simple program. 
     2440if test "$cross_compiling" != yes; then 
     2441  if { ac_try='./$ac_file' 
     2442  { (case "(($ac_try" in 
     2443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2444  *) ac_try_echo=$ac_try;; 
     2445esac 
     2446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2447  (eval "$ac_try") 2>&5 
     2448  ac_status=$? 
     2449  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2450  (exit $ac_status); }; }; then 
     2451    cross_compiling=no 
     2452  else 
     2453    if test "$cross_compiling" = maybe; then 
     2454        cross_compiling=yes 
     2455    else 
     2456        { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     2457If you meant to cross compile, use \`--host'. 
     2458See \`config.log' for more details." >&5 
     2459echo "$as_me: error: cannot run C compiled programs. 
     2460If you meant to cross compile, use \`--host'. 
     2461See \`config.log' for more details." >&2;} 
     2462   { (exit 1); exit 1; }; } 
     2463    fi 
     2464  fi 
     2465fi 
     2466{ echo "$as_me:$LINENO: result: yes" >&5 
     2467echo "${ECHO_T}yes" >&6; } 
     2468 
     2469rm -f a.out a.exe conftest$ac_cv_exeext b.out 
    28262470ac_clean_files=$ac_clean_files_save 
    2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
    2828 $as_echo_n "checking for suffix of executables... " >&6; } 
    2829 if { { ac_try="$ac_link" 
    2830 case "(($ac_try" in 
    2831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2832   *) ac_try_echo=$ac_try;; 
    2833 esac 
    2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2835 $as_echo "$ac_try_echo"; } >&5 
     2471# Check that the compiler produces executables we can run.  If not, either 
     2472# the compiler is broken, or we cross compile. 
     2473{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     2474echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
     2475{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     2476echo "${ECHO_T}$cross_compiling" >&6; } 
     2477 
     2478{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     2479echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
     2480if { (ac_try="$ac_link" 
     2481case "(($ac_try" in 
     2482  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2483  *) ac_try_echo=$ac_try;; 
     2484esac 
     2485eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    28362486  (eval "$ac_link") 2>&5 
    28372487  ac_status=$? 
    2838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2839   test $ac_status = 0; }; then : 
     2488  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2489  (exit $ac_status); }; then 
    28402490  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    28412491# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    28452495  test -f "$ac_file" || continue 
    28462496  case $ac_file in 
    2847     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2497    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    28482498    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    28492499          break;; 
     
    28522502done 
    28532503else 
    2854   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2856 as_fn_error "cannot compute suffix of executables: cannot compile and link 
    2857 See \`config.log' for more details." "$LINENO" 5; } 
    2858 fi 
    2859 rm -f conftest conftest$ac_cv_exeext 
    2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
    2861 $as_echo "$ac_cv_exeext" >&6; } 
     2504  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     2505See \`config.log' for more details." >&5 
     2506echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     2507See \`config.log' for more details." >&2;} 
     2508   { (exit 1); exit 1; }; } 
     2509fi 
     2510 
     2511rm -f conftest$ac_cv_exeext 
     2512{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     2513echo "${ECHO_T}$ac_cv_exeext" >&6; } 
    28622514 
    28632515rm -f conftest.$ac_ext 
    28642516EXEEXT=$ac_cv_exeext 
    28652517ac_exeext=$EXEEXT 
    2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    2867 /* end confdefs.h.  */ 
    2868 #include <stdio.h> 
     2518{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     2519echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
     2520if test "${ac_cv_objext+set}" = set; then 
     2521  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2522else 
     2523  cat >conftest.$ac_ext <<_ACEOF 
     2524/* confdefs.h.  */ 
     2525_ACEOF 
     2526cat confdefs.h >>conftest.$ac_ext 
     2527cat >>conftest.$ac_ext <<_ACEOF 
     2528/* end confdefs.h.  */ 
     2529 
    28692530int 
    28702531main () 
    28712532{ 
    2872 FILE *f = fopen ("conftest.out", "w"); 
    2873  return ferror (f) || fclose (f) != 0; 
    28742533 
    28752534  ; 
     
    28772536} 
    28782537_ACEOF 
    2879 ac_clean_files="$ac_clean_files conftest.out" 
    2880 # Check that the compiler produces executables we can run.  If not, either 
    2881 # the compiler is broken, or we cross compile. 
    2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
    2883 $as_echo_n "checking whether we are cross compiling... " >&6; } 
    2884 if test "$cross_compiling" != yes; then 
    2885   { { ac_try="$ac_link" 
    2886 case "(($ac_try" in 
    2887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2888   *) ac_try_echo=$ac_try;; 
    2889 esac 
    2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2891 $as_echo "$ac_try_echo"; } >&5 
    2892   (eval "$ac_link") 2>&5 
    2893   ac_status=$? 
    2894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2895   test $ac_status = 0; } 
    2896   if { ac_try='./conftest$ac_cv_exeext' 
    2897   { { case "(($ac_try" in 
    2898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2899   *) ac_try_echo=$ac_try;; 
    2900 esac 
    2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2902 $as_echo "$ac_try_echo"; } >&5 
    2903   (eval "$ac_try") 2>&5 
    2904   ac_status=$? 
    2905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2906   test $ac_status = 0; }; }; then 
    2907     cross_compiling=no 
    2908   else 
    2909     if test "$cross_compiling" = maybe; then 
    2910         cross_compiling=yes 
    2911     else 
    2912         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2914 as_fn_error "cannot run C compiled programs. 
    2915 If you meant to cross compile, use \`--host'. 
    2916 See \`config.log' for more details." "$LINENO" 5; } 
    2917     fi 
    2918   fi 
    2919 fi 
    2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
    2921 $as_echo "$cross_compiling" >&6; } 
    2922  
    2923 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
    2924 ac_clean_files=$ac_clean_files_save 
    2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    2926 $as_echo_n "checking for suffix of object files... " >&6; } 
    2927 if test "${ac_cv_objext+set}" = set; then : 
    2928   $as_echo_n "(cached) " >&6 
    2929 else 
    2930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    2931 /* end confdefs.h.  */ 
    2932  
    2933 int 
    2934 main () 
    2935 { 
    2936  
    2937   ; 
    2938   return 0; 
    2939 } 
    2940 _ACEOF 
    29412538rm -f conftest.o conftest.obj 
    2942 if { { ac_try="$ac_compile" 
    2943 case "(($ac_try" in 
    2944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2945   *) ac_try_echo=$ac_try;; 
    2946 esac 
    2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2948 $as_echo "$ac_try_echo"; } >&5 
     2539if { (ac_try="$ac_compile" 
     2540case "(($ac_try" in 
     2541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2542  *) ac_try_echo=$ac_try;; 
     2543esac 
     2544eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    29492545  (eval "$ac_compile") 2>&5 
    29502546  ac_status=$? 
    2951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2952   test $ac_status = 0; }; then : 
     2547  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2548  (exit $ac_status); }; then 
    29532549  for ac_file in conftest.o conftest.obj conftest.*; do 
    29542550  test -f "$ac_file" || continue; 
    29552551  case $ac_file in 
    2956     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
     2552    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
    29572553    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    29582554       break;; 
     
    29602556done 
    29612557else 
    2962   $as_echo "$as_me: failed program was:" >&5 
     2558  echo "$as_me: failed program was:" >&5 
    29632559sed 's/^/| /' conftest.$ac_ext >&5 
    29642560 
    2965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2967 as_fn_error "cannot compute suffix of object files: cannot compile 
    2968 See \`config.log' for more details." "$LINENO" 5; } 
    2969 fi 
     2561{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     2562See \`config.log' for more details." >&5 
     2563echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     2564See \`config.log' for more details." >&2;} 
     2565   { (exit 1); exit 1; }; } 
     2566fi 
     2567 
    29702568rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    29712569fi 
    2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
    2973 $as_echo "$ac_cv_objext" >&6; } 
     2570{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     2571echo "${ECHO_T}$ac_cv_objext" >&6; } 
    29742572OBJEXT=$ac_cv_objext 
    29752573ac_objext=$OBJEXT 
    2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    2977 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    2978 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
    2979   $as_echo_n "(cached) " >&6 
    2980 else 
    2981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2574{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     2575echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
     2576if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     2577  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2578else 
     2579  cat >conftest.$ac_ext <<_ACEOF 
     2580/* confdefs.h.  */ 
     2581_ACEOF 
     2582cat confdefs.h >>conftest.$ac_ext 
     2583cat >>conftest.$ac_ext <<_ACEOF 
    29822584/* end confdefs.h.  */ 
    29832585 
     
    29932595} 
    29942596_ACEOF 
    2995 if ac_fn_c_try_compile "$LINENO"; then : 
     2597rm -f conftest.$ac_objext 
     2598if { (ac_try="$ac_compile" 
     2599case "(($ac_try" in 
     2600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2601  *) ac_try_echo=$ac_try;; 
     2602esac 
     2603eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2604  (eval "$ac_compile") 2>conftest.er1 
     2605  ac_status=$? 
     2606  grep -v '^ *+' conftest.er1 >conftest.err 
     2607  rm -f conftest.er1 
     2608  cat conftest.err >&5 
     2609  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2610  (exit $ac_status); } && { 
     2611         test -z "$ac_c_werror_flag" || 
     2612         test ! -s conftest.err 
     2613       } && test -s conftest.$ac_objext; then 
    29962614  ac_compiler_gnu=yes 
    29972615else 
    2998   ac_compiler_gnu=no 
    2999 fi 
     2616  echo "$as_me: failed program was:" >&5 
     2617sed 's/^/| /' conftest.$ac_ext >&5 
     2618 
     2619        ac_compiler_gnu=no 
     2620fi 
     2621 
    30002622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30012623ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    30022624 
    30032625fi 
    3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
    3005 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 
    3006 if test $ac_compiler_gnu = yes; then 
    3007   GCC=yes 
    3008 else 
    3009   GCC= 
    3010 fi 
     2626{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     2627echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
     2628GCC=`test $ac_compiler_gnu = yes && echo yes` 
    30112629ac_test_CFLAGS=${CFLAGS+set} 
    30122630ac_save_CFLAGS=$CFLAGS 
    3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    3014 $as_echo_n "checking whether $CC accepts -g... " >&6; } 
    3015 if test "${ac_cv_prog_cc_g+set}" = set; then : 
    3016   $as_echo_n "(cached) " >&6 
     2631{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     2632echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
     2633if test "${ac_cv_prog_cc_g+set}" = set; then 
     2634  echo $ECHO_N "(cached) $ECHO_C" >&6 
    30172635else 
    30182636  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    30202638   ac_cv_prog_cc_g=no 
    30212639   CFLAGS="-g" 
    3022    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2640   cat >conftest.$ac_ext <<_ACEOF 
     2641/* confdefs.h.  */ 
     2642_ACEOF 
     2643cat confdefs.h >>conftest.$ac_ext 
     2644cat >>conftest.$ac_ext <<_ACEOF 
    30232645/* end confdefs.h.  */ 
    30242646 
     
    30312653} 
    30322654_ACEOF 
    3033 if ac_fn_c_try_compile "$LINENO"; then : 
     2655rm -f conftest.$ac_objext 
     2656if { (ac_try="$ac_compile" 
     2657case "(($ac_try" in 
     2658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2659  *) ac_try_echo=$ac_try;; 
     2660esac 
     2661eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2662  (eval "$ac_compile") 2>conftest.er1 
     2663  ac_status=$? 
     2664  grep -v '^ *+' conftest.er1 >conftest.err 
     2665  rm -f conftest.er1 
     2666  cat conftest.err >&5 
     2667  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2668  (exit $ac_status); } && { 
     2669         test -z "$ac_c_werror_flag" || 
     2670         test ! -s conftest.err 
     2671       } && test -s conftest.$ac_objext; then 
    30342672  ac_cv_prog_cc_g=yes 
    30352673else 
    3036   CFLAGS="" 
    3037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2674  echo "$as_me: failed program was:" >&5 
     2675sed 's/^/| /' conftest.$ac_ext >&5 
     2676 
     2677        CFLAGS="" 
     2678      cat >conftest.$ac_ext <<_ACEOF 
     2679/* confdefs.h.  */ 
     2680_ACEOF 
     2681cat confdefs.h >>conftest.$ac_ext 
     2682cat >>conftest.$ac_ext <<_ACEOF 
    30382683/* end confdefs.h.  */ 
    30392684 
     
    30462691} 
    30472692_ACEOF 
    3048 if ac_fn_c_try_compile "$LINENO"; then : 
    3049  
    3050 else 
    3051   ac_c_werror_flag=$ac_save_c_werror_flag 
     2693rm -f conftest.$ac_objext 
     2694if { (ac_try="$ac_compile" 
     2695case "(($ac_try" in 
     2696  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2697  *) ac_try_echo=$ac_try;; 
     2698esac 
     2699eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2700  (eval "$ac_compile") 2>conftest.er1 
     2701  ac_status=$? 
     2702  grep -v '^ *+' conftest.er1 >conftest.err 
     2703  rm -f conftest.er1 
     2704  cat conftest.err >&5 
     2705  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2706  (exit $ac_status); } && { 
     2707         test -z "$ac_c_werror_flag" || 
     2708         test ! -s conftest.err 
     2709       } && test -s conftest.$ac_objext; then 
     2710  : 
     2711else 
     2712  echo "$as_me: failed program was:" >&5 
     2713sed 's/^/| /' conftest.$ac_ext >&5 
     2714 
     2715        ac_c_werror_flag=$ac_save_c_werror_flag 
    30522716         CFLAGS="-g" 
    3053          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2717         cat >conftest.$ac_ext <<_ACEOF 
     2718/* confdefs.h.  */ 
     2719_ACEOF 
     2720cat confdefs.h >>conftest.$ac_ext 
     2721cat >>conftest.$ac_ext <<_ACEOF 
    30542722/* end confdefs.h.  */ 
    30552723 
     
    30622730} 
    30632731_ACEOF 
    3064 if ac_fn_c_try_compile "$LINENO"; then : 
     2732rm -f conftest.$ac_objext 
     2733if { (ac_try="$ac_compile" 
     2734case "(($ac_try" in 
     2735  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2736  *) ac_try_echo=$ac_try;; 
     2737esac 
     2738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2739  (eval "$ac_compile") 2>conftest.er1 
     2740  ac_status=$? 
     2741  grep -v '^ *+' conftest.er1 >conftest.err 
     2742  rm -f conftest.er1 
     2743  cat conftest.err >&5 
     2744  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2745  (exit $ac_status); } && { 
     2746         test -z "$ac_c_werror_flag" || 
     2747         test ! -s conftest.err 
     2748       } && test -s conftest.$ac_objext; then 
    30652749  ac_cv_prog_cc_g=yes 
    3066 fi 
     2750else 
     2751  echo "$as_me: failed program was:" >&5 
     2752sed 's/^/| /' conftest.$ac_ext >&5 
     2753 
     2754 
     2755fi 
     2756 
    30672757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30682758fi 
     2759 
    30692760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30702761fi 
     2762 
    30712763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30722764   ac_c_werror_flag=$ac_save_c_werror_flag 
    30732765fi 
    3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
    3075 $as_echo "$ac_cv_prog_cc_g" >&6; } 
     2766{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     2767echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
    30762768if test "$ac_test_CFLAGS" = set; then 
    30772769  CFLAGS=$ac_save_CFLAGS 
     
    30892781  fi 
    30902782fi 
    3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    3092 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    3093 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
    3094   $as_echo_n "(cached) " >&6 
     2783{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
     2784echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
     2785if test "${ac_cv_prog_cc_c89+set}" = set; then 
     2786  echo $ECHO_N "(cached) $ECHO_C" >&6 
    30952787else 
    30962788  ac_cv_prog_cc_c89=no 
    30972789ac_save_CC=$CC 
    3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2790cat >conftest.$ac_ext <<_ACEOF 
     2791/* confdefs.h.  */ 
     2792_ACEOF 
     2793cat confdefs.h >>conftest.$ac_ext 
     2794cat >>conftest.$ac_ext <<_ACEOF 
    30992795/* end confdefs.h.  */ 
    31002796#include <stdarg.h> 
     
    31532849do 
    31542850  CC="$ac_save_CC $ac_arg" 
    3155   if ac_fn_c_try_compile "$LINENO"; then : 
     2851  rm -f conftest.$ac_objext 
     2852if { (ac_try="$ac_compile" 
     2853case "(($ac_try" in 
     2854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2855  *) ac_try_echo=$ac_try;; 
     2856esac 
     2857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2858  (eval "$ac_compile") 2>conftest.er1 
     2859  ac_status=$? 
     2860  grep -v '^ *+' conftest.er1 >conftest.err 
     2861  rm -f conftest.er1 
     2862  cat conftest.err >&5 
     2863  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2864  (exit $ac_status); } && { 
     2865         test -z "$ac_c_werror_flag" || 
     2866         test ! -s conftest.err 
     2867       } && test -s conftest.$ac_objext; then 
    31562868  ac_cv_prog_cc_c89=$ac_arg 
    3157 fi 
     2869else 
     2870  echo "$as_me: failed program was:" >&5 
     2871sed 's/^/| /' conftest.$ac_ext >&5 
     2872 
     2873 
     2874fi 
     2875 
    31582876rm -f core conftest.err conftest.$ac_objext 
    31592877  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    31662884case "x$ac_cv_prog_cc_c89" in 
    31672885  x) 
    3168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
    3169 $as_echo "none needed" >&6; } ;; 
     2886    { echo "$as_me:$LINENO: result: none needed" >&5 
     2887echo "${ECHO_T}none needed" >&6; } ;; 
    31702888  xno) 
    3171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
    3172 $as_echo "unsupported" >&6; } ;; 
     2889    { echo "$as_me:$LINENO: result: unsupported" >&5 
     2890echo "${ECHO_T}unsupported" >&6; } ;; 
    31732891  *) 
    31742892    CC="$CC $ac_cv_prog_cc_c89" 
    3175     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
    3176 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    3177 esac 
    3178 if test "x$ac_cv_prog_cc_c89" != xno; then : 
    3179  
    3180 fi 
     2893    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
     2894echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     2895esac 
     2896 
    31812897 
    31822898ac_ext=c 
     
    32002916    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    32012917set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    3203 $as_echo_n "checking for $ac_word... " >&6; } 
    3204 if test "${ac_cv_prog_CXX+set}" = set; then : 
    3205   $as_echo_n "(cached) " >&6 
     2918{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2919echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2920if test "${ac_cv_prog_CXX+set}" = set; then 
     2921  echo $ECHO_N "(cached) $ECHO_C" >&6 
    32062922else 
    32072923  if test -n "$CXX"; then 
     
    32132929  IFS=$as_save_IFS 
    32142930  test -z "$as_dir" && as_dir=. 
    3215     for ac_exec_ext in '' $ac_executable_extensions; do 
     2931  for ac_exec_ext in '' $ac_executable_extensions; do 
    32162932  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    32172933    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    3218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2934    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    32192935    break 2 
    32202936  fi 
    32212937done 
    3222   done 
     2938done 
    32232939IFS=$as_save_IFS 
    32242940 
     
    32272943CXX=$ac_cv_prog_CXX 
    32282944if test -n "$CXX"; then 
    3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
    3230 $as_echo "$CXX" >&6; } 
    3231 else 
    3232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    3233 $as_echo "no" >&6; } 
     2945  { echo "$as_me:$LINENO: result: $CXX" >&5 
     2946echo "${ECHO_T}$CXX" >&6; } 
     2947else 
     2948  { echo "$as_me:$LINENO: result: no" >&5 
     2949echo "${ECHO_T}no" >&6; } 
    32342950fi 
    32352951 
     
    32442960  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    32452961set dummy $ac_prog; ac_word=$2 
    3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    3247 $as_echo_n "checking for $ac_word... " >&6; } 
    3248 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
    3249   $as_echo_n "(cached) " >&6 
     2962{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2963echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2964if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     2965  echo $ECHO_N "(cached) $ECHO_C" >&6 
    32502966else 
    32512967  if test -n "$ac_ct_CXX"; then 
     
    32572973  IFS=$as_save_IFS 
    32582974  test -z "$as_dir" && as_dir=. 
    3259     for ac_exec_ext in '' $ac_executable_extensions; do 
     2975  for ac_exec_ext in '' $ac_executable_extensions; do 
    32602976  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    32612977    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    3262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2978    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    32632979    break 2 
    32642980  fi 
    32652981done 
    3266   done 
     2982done 
    32672983IFS=$as_save_IFS 
    32682984 
     
    32712987ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    32722988if test -n "$ac_ct_CXX"; then 
    3273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
    3274 $as_echo "$ac_ct_CXX" >&6; } 
    3275 else 
    3276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    3277 $as_echo "no" >&6; } 
     2989  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     2990echo "${ECHO_T}$ac_ct_CXX" >&6; } 
     2991else 
     2992  { echo "$as_me:$LINENO: result: no" >&5 
     2993echo "${ECHO_T}no" >&6; } 
    32782994fi 
    32792995 
     
    32873003    case $cross_compiling:$ac_tool_warned in 
    32883004yes:) 
    3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     3005{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     3006whose name does not start with the host triplet.  If you think this 
     3007configuration is useful to you, please write to autoconf@gnu.org." >&5 
     3008echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     3009whose name does not start with the host triplet.  If you think this 
     3010configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    32913011ac_tool_warned=yes ;; 
    32923012esac 
     
    32983018fi 
    32993019# Provide some information about the compiler. 
    3300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
    3301 set X $ac_compile 
    3302 ac_compiler=$2 
    3303 for ac_option in --version -v -V -qversion; do 
    3304   { { ac_try="$ac_compiler $ac_option >&5" 
    3305 case "(($ac_try" in 
    3306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3307   *) ac_try_echo=$ac_try;; 
    3308 esac 
    3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    3310 $as_echo "$ac_try_echo"; } >&5 
    3311   (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    3312   ac_status=$? 
    3313   if test -s conftest.err; then 
    3314     sed '10a\ 
    3315 ... rest of stderr output deleted ... 
    3316          10q' conftest.err >conftest.er1 
    3317     cat conftest.er1 >&5 
    3318   fi 
    3319   rm -f conftest.er1 conftest.err 
    3320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    3321   test $ac_status = 0; } 
    3322 done 
    3323  
    3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
    3325 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
    3326 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
    3327   $as_echo_n "(cached) " >&6 
    3328 else 
    3329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3020echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
     3021ac_compiler=`set X $ac_compile; echo $2` 
     3022{ (ac_try="$ac_compiler --version >&5" 
     3023case "(($ac_try" in 
     3024  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3025  *) ac_try_echo=$ac_try;; 
     3026esac 
     3027eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3028  (eval "$ac_compiler --version >&5") 2>&5 
     3029  ac_status=$? 
     3030  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3031  (exit $ac_status); } 
     3032{ (ac_try="$ac_compiler -v >&5" 
     3033case "(($ac_try" in 
     3034  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3035  *) ac_try_echo=$ac_try;; 
     3036esac 
     3037eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3038  (eval "$ac_compiler -v >&5") 2>&5 
     3039  ac_status=$? 
     3040  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3041  (exit $ac_status); } 
     3042{ (ac_try="$ac_compiler -V >&5" 
     3043case "(($ac_try" in 
     3044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3045  *) ac_try_echo=$ac_try;; 
     3046esac 
     3047eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3048  (eval "$ac_compiler -V >&5") 2>&5 
     3049  ac_status=$? 
     3050  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3051  (exit $ac_status); } 
     3052 
     3053{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     3054echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
     3055if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     3056  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3057else 
     3058  cat >conftest.$ac_ext <<_ACEOF 
     3059/* confdefs.h.  */ 
     3060_ACEOF 
     3061cat confdefs.h >>conftest.$ac_ext 
     3062cat >>conftest.$ac_ext <<_ACEOF 
    33303063/* end confdefs.h.  */ 
    33313064 
     
    33413074} 
    33423075_ACEOF 
    3343 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3076rm -f conftest.$ac_objext 
     3077if { (ac_try="$ac_compile" 
     3078case "(($ac_try" in 
     3079  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3080  *) ac_try_echo=$ac_try;; 
     3081esac 
     3082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3083  (eval "$ac_compile") 2>conftest.er1 
     3084  ac_status=$? 
     3085  grep -v '^ *+' conftest.er1 >conftest.err 
     3086  rm -f conftest.er1 
     3087  cat conftest.err >&5 
     3088  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3089  (exit $ac_status); } && { 
     3090         test -z "$ac_cxx_werror_flag" || 
     3091         test ! -s conftest.err 
     3092       } && test -s conftest.$ac_objext; then 
    33443093  ac_compiler_gnu=yes 
    33453094else 
    3346   ac_compiler_gnu=no 
    3347 fi 
     3095  echo "$as_me: failed program was:" >&5 
     3096sed 's/^/| /' conftest.$ac_ext >&5 
     3097 
     3098        ac_compiler_gnu=no 
     3099fi 
     3100 
    33483101rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33493102ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    33503103 
    33513104fi 
    3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
    3353 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
    3354 if test $ac_compiler_gnu = yes; then 
    3355   GXX=yes 
    3356 else 
    3357   GXX= 
    3358 fi 
     3105{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     3106echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
     3107GXX=`test $ac_compiler_gnu = yes && echo yes` 
    33593108ac_test_CXXFLAGS=${CXXFLAGS+set} 
    33603109ac_save_CXXFLAGS=$CXXFLAGS 
    3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
    3362 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 
    3363 if test "${ac_cv_prog_cxx_g+set}" = set; then : 
    3364   $as_echo_n "(cached) " >&6 
     3110{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     3111echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
     3112if test "${ac_cv_prog_cxx_g+set}" = set; then 
     3113  echo $ECHO_N "(cached) $ECHO_C" >&6 
    33653114else 
    33663115  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    33683117   ac_cv_prog_cxx_g=no 
    33693118   CXXFLAGS="-g" 
    3370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3119   cat >conftest.$ac_ext <<_ACEOF 
     3120/* confdefs.h.  */ 
     3121_ACEOF 
     3122cat confdefs.h >>conftest.$ac_ext 
     3123cat >>conftest.$ac_ext <<_ACEOF 
    33713124/* end confdefs.h.  */ 
    33723125 
     
    33793132} 
    33803133_ACEOF 
    3381 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3134rm -f conftest.$ac_objext 
     3135if { (ac_try="$ac_compile" 
     3136case "(($ac_try" in 
     3137  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3138  *) ac_try_echo=$ac_try;; 
     3139esac 
     3140eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3141  (eval "$ac_compile") 2>conftest.er1 
     3142  ac_status=$? 
     3143  grep -v '^ *+' conftest.er1 >conftest.err 
     3144  rm -f conftest.er1 
     3145  cat conftest.err >&5 
     3146  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3147  (exit $ac_status); } && { 
     3148         test -z "$ac_cxx_werror_flag" || 
     3149         test ! -s conftest.err 
     3150       } && test -s conftest.$ac_objext; then 
    33823151  ac_cv_prog_cxx_g=yes 
    33833152else 
    3384   CXXFLAGS="" 
    3385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3153  echo "$as_me: failed program was:" >&5 
     3154sed 's/^/| /' conftest.$ac_ext >&5 
     3155 
     3156        CXXFLAGS="" 
     3157      cat >conftest.$ac_ext <<_ACEOF 
     3158/* confdefs.h.  */ 
     3159_ACEOF 
     3160cat confdefs.h >>conftest.$ac_ext 
     3161cat >>conftest.$ac_ext <<_ACEOF 
    33863162/* end confdefs.h.  */ 
    33873163 
     
    33943170} 
    33953171_ACEOF 
    3396 if ac_fn_cxx_try_compile "$LINENO"; then : 
    3397  
    3398 else 
    3399   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3172rm -f conftest.$ac_objext 
     3173if { (ac_try="$ac_compile" 
     3174case "(($ac_try" in 
     3175  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3176  *) ac_try_echo=$ac_try;; 
     3177esac 
     3178eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3179  (eval "$ac_compile") 2>conftest.er1 
     3180  ac_status=$? 
     3181  grep -v '^ *+' conftest.er1 >conftest.err 
     3182  rm -f conftest.er1 
     3183  cat conftest.err >&5 
     3184  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3185  (exit $ac_status); } && { 
     3186         test -z "$ac_cxx_werror_flag" || 
     3187         test ! -s conftest.err 
     3188       } && test -s conftest.$ac_objext; then 
     3189  : 
     3190else 
     3191  echo "$as_me: failed program was:" >&5 
     3192sed 's/^/| /' conftest.$ac_ext >&5 
     3193 
     3194        ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    34003195         CXXFLAGS="-g" 
    3401          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3196         cat >conftest.$ac_ext <<_ACEOF 
     3197/* confdefs.h.  */ 
     3198_ACEOF 
     3199cat confdefs.h >>conftest.$ac_ext 
     3200cat >>conftest.$ac_ext <<_ACEOF 
    34023201/* end confdefs.h.  */ 
    34033202 
     
    34103209} 
    34113210_ACEOF 
    3412 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3211rm -f conftest.$ac_objext 
     3212if { (ac_try="$ac_compile" 
     3213case "(($ac_try" in 
     3214  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3215  *) ac_try_echo=$ac_try;; 
     3216esac 
     3217eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3218  (eval "$ac_compile") 2>conftest.er1 
     3219  ac_status=$? 
     3220  grep -v '^ *+' conftest.er1 >conftest.err 
     3221  rm -f conftest.er1 
     3222  cat conftest.err >&5 
     3223  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3224  (exit $ac_status); } && { 
     3225         test -z "$ac_cxx_werror_flag" || 
     3226         test ! -s conftest.err 
     3227       } && test -s conftest.$ac_objext; then 
    34133228  ac_cv_prog_cxx_g=yes 
    3414 fi 
     3229else 
     3230  echo "$as_me: failed program was:" >&5 
     3231sed 's/^/| /' conftest.$ac_ext >&5 
     3232 
     3233 
     3234fi 
     3235 
    34153236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34163237fi 
     3238 
    34173239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34183240fi 
     3241 
    34193242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34203243   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    34213244fi 
    3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
    3423 $as_echo "$ac_cv_prog_cxx_g" >&6; } 
     3245{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     3246echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
    34243247if test "$ac_test_CXXFLAGS" = set; then 
    34253248  CXXFLAGS=$ac_save_CXXFLAGS 
     
    34993322 
    35003323 
    3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
    3502 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
    3503 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
    3504   $as_echo_n "(cached) " >&6 
     3324 
     3325{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
     3326echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
     3327if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     3328  echo $ECHO_N "(cached) $ECHO_C" >&6 
    35053329else 
    35063330  ac_check_lib_save_LIBS=$LIBS 
    35073331LIBS="-lpthread  $LIBS" 
    3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3332cat >conftest.$ac_ext <<_ACEOF 
     3333/* confdefs.h.  */ 
     3334_ACEOF 
     3335cat confdefs.h >>conftest.$ac_ext 
     3336cat >>conftest.$ac_ext <<_ACEOF 
    35093337/* end confdefs.h.  */ 
    35103338 
     
    35243352} 
    35253353_ACEOF 
    3526 if ac_fn_c_try_link "$LINENO"; then : 
     3354rm -f conftest.$ac_objext conftest$ac_exeext 
     3355if { (ac_try="$ac_link" 
     3356case "(($ac_try" in 
     3357  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3358  *) ac_try_echo=$ac_try;; 
     3359esac 
     3360eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3361  (eval "$ac_link") 2>conftest.er1 
     3362  ac_status=$? 
     3363  grep -v '^ *+' conftest.er1 >conftest.err 
     3364  rm -f conftest.er1 
     3365  cat conftest.err >&5 
     3366  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3367  (exit $ac_status); } && { 
     3368         test -z "$ac_c_werror_flag" || 
     3369         test ! -s conftest.err 
     3370       } && test -s conftest$ac_exeext && 
     3371       $as_test_x conftest$ac_exeext; then 
    35273372  ac_cv_lib_pthread_pthread_create=yes 
    35283373else 
    3529   ac_cv_lib_pthread_pthread_create=no 
    3530 fi 
    3531 rm -f core conftest.err conftest.$ac_objext \ 
    3532     conftest$ac_exeext conftest.$ac_ext 
     3374  echo "$as_me: failed program was:" >&5 
     3375sed 's/^/| /' conftest.$ac_ext >&5 
     3376 
     3377        ac_cv_lib_pthread_pthread_create=no 
     3378fi 
     3379 
     3380rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3381      conftest$ac_exeext conftest.$ac_ext 
    35333382LIBS=$ac_check_lib_save_LIBS 
    35343383fi 
    3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3536 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
    3537 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
     3384{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3385echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
     3386if test $ac_cv_lib_pthread_pthread_create = yes; then 
    35383387  cat >>confdefs.h <<_ACEOF 
    35393388#define HAVE_LIBPTHREAD 1 
     
    35443393fi 
    35453394 
    3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
    3547 $as_echo_n "checking for puts in -lwsock32... " >&6; } 
    3548 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
    3549   $as_echo_n "(cached) " >&6 
     3395 
     3396{ echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
     3397echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
     3398if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
     3399  echo $ECHO_N "(cached) $ECHO_C" >&6 
    35503400else 
    35513401  ac_check_lib_save_LIBS=$LIBS 
    35523402LIBS="-lwsock32  $LIBS" 
    3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3403cat >conftest.$ac_ext <<_ACEOF 
     3404/* confdefs.h.  */ 
     3405_ACEOF 
     3406cat confdefs.h >>conftest.$ac_ext 
     3407cat >>conftest.$ac_ext <<_ACEOF 
    35543408/* end confdefs.h.  */ 
    35553409 
     
    35693423} 
    35703424_ACEOF 
    3571 if ac_fn_c_try_link "$LINENO"; then : 
     3425rm -f conftest.$ac_objext conftest$ac_exeext 
     3426if { (ac_try="$ac_link" 
     3427case "(($ac_try" in 
     3428  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3429  *) ac_try_echo=$ac_try;; 
     3430esac 
     3431eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3432  (eval "$ac_link") 2>conftest.er1 
     3433  ac_status=$? 
     3434  grep -v '^ *+' conftest.er1 >conftest.err 
     3435  rm -f conftest.er1 
     3436  cat conftest.err >&5 
     3437  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3438  (exit $ac_status); } && { 
     3439         test -z "$ac_c_werror_flag" || 
     3440         test ! -s conftest.err 
     3441       } && test -s conftest$ac_exeext && 
     3442       $as_test_x conftest$ac_exeext; then 
    35723443  ac_cv_lib_wsock32_puts=yes 
    35733444else 
    3574   ac_cv_lib_wsock32_puts=no 
    3575 fi 
    3576 rm -f core conftest.err conftest.$ac_objext \ 
    3577     conftest$ac_exeext conftest.$ac_ext 
     3445  echo "$as_me: failed program was:" >&5 
     3446sed 's/^/| /' conftest.$ac_ext >&5 
     3447 
     3448        ac_cv_lib_wsock32_puts=no 
     3449fi 
     3450 
     3451rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3452      conftest$ac_exeext conftest.$ac_ext 
    35783453LIBS=$ac_check_lib_save_LIBS 
    35793454fi 
    3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
    3581 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
    3582 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
     3455{ echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
     3456echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
     3457if test $ac_cv_lib_wsock32_puts = yes; then 
    35833458  cat >>confdefs.h <<_ACEOF 
    35843459#define HAVE_LIBWSOCK32 1 
     
    35893464fi 
    35903465 
    3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
    3592 $as_echo_n "checking for puts in -lws2_32... " >&6; } 
    3593 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
    3594   $as_echo_n "(cached) " >&6 
     3466 
     3467{ echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
     3468echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
     3469if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
     3470  echo $ECHO_N "(cached) $ECHO_C" >&6 
    35953471else 
    35963472  ac_check_lib_save_LIBS=$LIBS 
    35973473LIBS="-lws2_32  $LIBS" 
    3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3474cat >conftest.$ac_ext <<_ACEOF 
     3475/* confdefs.h.  */ 
     3476_ACEOF 
     3477cat confdefs.h >>conftest.$ac_ext 
     3478cat >>conftest.$ac_ext <<_ACEOF 
    35993479/* end confdefs.h.  */ 
    36003480 
     
    36143494} 
    36153495_ACEOF 
    3616 if ac_fn_c_try_link "$LINENO"; then : 
     3496rm -f conftest.$ac_objext conftest$ac_exeext 
     3497if { (ac_try="$ac_link" 
     3498case "(($ac_try" in 
     3499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3500  *) ac_try_echo=$ac_try;; 
     3501esac 
     3502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3503  (eval "$ac_link") 2>conftest.er1 
     3504  ac_status=$? 
     3505  grep -v '^ *+' conftest.er1 >conftest.err 
     3506  rm -f conftest.er1 
     3507  cat conftest.err >&5 
     3508  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3509  (exit $ac_status); } && { 
     3510         test -z "$ac_c_werror_flag" || 
     3511         test ! -s conftest.err 
     3512       } && test -s conftest$ac_exeext && 
     3513       $as_test_x conftest$ac_exeext; then 
    36173514  ac_cv_lib_ws2_32_puts=yes 
    36183515else 
    3619   ac_cv_lib_ws2_32_puts=no 
    3620 fi 
    3621 rm -f core conftest.err conftest.$ac_objext \ 
    3622     conftest$ac_exeext conftest.$ac_ext 
     3516  echo "$as_me: failed program was:" >&5 
     3517sed 's/^/| /' conftest.$ac_ext >&5 
     3518 
     3519        ac_cv_lib_ws2_32_puts=no 
     3520fi 
     3521 
     3522rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3523      conftest$ac_exeext conftest.$ac_ext 
    36233524LIBS=$ac_check_lib_save_LIBS 
    36243525fi 
    3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
    3626 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
    3627 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
     3526{ echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
     3527echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
     3528if test $ac_cv_lib_ws2_32_puts = yes; then 
    36283529  cat >>confdefs.h <<_ACEOF 
    36293530#define HAVE_LIBWS2_32 1 
     
    36343535fi 
    36353536 
    3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
    3637 $as_echo_n "checking for puts in -lole32... " >&6; } 
    3638 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
    3639   $as_echo_n "(cached) " >&6 
     3537 
     3538{ echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
     3539echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
     3540if test "${ac_cv_lib_ole32_puts+set}" = set; then 
     3541  echo $ECHO_N "(cached) $ECHO_C" >&6 
    36403542else 
    36413543  ac_check_lib_save_LIBS=$LIBS 
    36423544LIBS="-lole32  $LIBS" 
    3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3545cat >conftest.$ac_ext <<_ACEOF 
     3546/* confdefs.h.  */ 
     3547_ACEOF 
     3548cat confdefs.h >>conftest.$ac_ext 
     3549cat >>conftest.$ac_ext <<_ACEOF 
    36443550/* end confdefs.h.  */ 
    36453551 
     
    36593565} 
    36603566_ACEOF 
    3661 if ac_fn_c_try_link "$LINENO"; then : 
     3567rm -f conftest.$ac_objext conftest$ac_exeext 
     3568if { (ac_try="$ac_link" 
     3569case "(($ac_try" in 
     3570  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3571  *) ac_try_echo=$ac_try;; 
     3572esac 
     3573eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3574  (eval "$ac_link") 2>conftest.er1 
     3575  ac_status=$? 
     3576  grep -v '^ *+' conftest.er1 >conftest.err 
     3577  rm -f conftest.er1 
     3578  cat conftest.err >&5 
     3579  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3580  (exit $ac_status); } && { 
     3581         test -z "$ac_c_werror_flag" || 
     3582         test ! -s conftest.err 
     3583       } && test -s conftest$ac_exeext && 
     3584       $as_test_x conftest$ac_exeext; then 
    36623585  ac_cv_lib_ole32_puts=yes 
    36633586else 
    3664   ac_cv_lib_ole32_puts=no 
    3665 fi 
    3666 rm -f core conftest.err conftest.$ac_objext \ 
    3667     conftest$ac_exeext conftest.$ac_ext 
     3587  echo "$as_me: failed program was:" >&5 
     3588sed 's/^/| /' conftest.$ac_ext >&5 
     3589 
     3590        ac_cv_lib_ole32_puts=no 
     3591fi 
     3592 
     3593rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3594      conftest$ac_exeext conftest.$ac_ext 
    36683595LIBS=$ac_check_lib_save_LIBS 
    36693596fi 
    3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
    3671 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 
    3672 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
     3597{ echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
     3598echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
     3599if test $ac_cv_lib_ole32_puts = yes; then 
    36733600  cat >>confdefs.h <<_ACEOF 
    36743601#define HAVE_LIBOLE32 1 
     
    36793606fi 
    36803607 
    3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
    3682 $as_echo_n "checking for puts in -lwinmm... " >&6; } 
    3683 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
    3684   $as_echo_n "(cached) " >&6 
     3608 
     3609{ echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
     3610echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
     3611if test "${ac_cv_lib_winmm_puts+set}" = set; then 
     3612  echo $ECHO_N "(cached) $ECHO_C" >&6 
    36853613else 
    36863614  ac_check_lib_save_LIBS=$LIBS 
    36873615LIBS="-lwinmm  $LIBS" 
    3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3616cat >conftest.$ac_ext <<_ACEOF 
     3617/* confdefs.h.  */ 
     3618_ACEOF 
     3619cat confdefs.h >>conftest.$ac_ext 
     3620cat >>conftest.$ac_ext <<_ACEOF 
    36893621/* end confdefs.h.  */ 
    36903622 
     
    37043636} 
    37053637_ACEOF 
    3706 if ac_fn_c_try_link "$LINENO"; then : 
     3638rm -f conftest.$ac_objext conftest$ac_exeext 
     3639if { (ac_try="$ac_link" 
     3640case "(($ac_try" in 
     3641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3642  *) ac_try_echo=$ac_try;; 
     3643esac 
     3644eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3645  (eval "$ac_link") 2>conftest.er1 
     3646  ac_status=$? 
     3647  grep -v '^ *+' conftest.er1 >conftest.err 
     3648  rm -f conftest.er1 
     3649  cat conftest.err >&5 
     3650  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3651  (exit $ac_status); } && { 
     3652         test -z "$ac_c_werror_flag" || 
     3653         test ! -s conftest.err 
     3654       } && test -s conftest$ac_exeext && 
     3655       $as_test_x conftest$ac_exeext; then 
    37073656  ac_cv_lib_winmm_puts=yes 
    37083657else 
    3709   ac_cv_lib_winmm_puts=no 
    3710 fi 
    3711 rm -f core conftest.err conftest.$ac_objext \ 
    3712     conftest$ac_exeext conftest.$ac_ext 
     3658  echo "$as_me: failed program was:" >&5 
     3659sed 's/^/| /' conftest.$ac_ext >&5 
     3660 
     3661        ac_cv_lib_winmm_puts=no 
     3662fi 
     3663 
     3664rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3665      conftest$ac_exeext conftest.$ac_ext 
    37133666LIBS=$ac_check_lib_save_LIBS 
    37143667fi 
    3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
    3716 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 
    3717 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
     3668{ echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
     3669echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
     3670if test $ac_cv_lib_winmm_puts = yes; then 
    37183671  cat >>confdefs.h <<_ACEOF 
    37193672#define HAVE_LIBWINMM 1 
     
    37243677fi 
    37253678 
    3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
    3727 $as_echo_n "checking for puts in -lsocket... " >&6; } 
    3728 if test "${ac_cv_lib_socket_puts+set}" = set; then : 
    3729   $as_echo_n "(cached) " >&6 
     3679 
     3680{ echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
     3681echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
     3682if test "${ac_cv_lib_socket_puts+set}" = set; then 
     3683  echo $ECHO_N "(cached) $ECHO_C" >&6 
    37303684else 
    37313685  ac_check_lib_save_LIBS=$LIBS 
    37323686LIBS="-lsocket  $LIBS" 
    3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3687cat >conftest.$ac_ext <<_ACEOF 
     3688/* confdefs.h.  */ 
     3689_ACEOF 
     3690cat confdefs.h >>conftest.$ac_ext 
     3691cat >>conftest.$ac_ext <<_ACEOF 
    37343692/* end confdefs.h.  */ 
    37353693 
     
    37493707} 
    37503708_ACEOF 
    3751 if ac_fn_c_try_link "$LINENO"; then : 
     3709rm -f conftest.$ac_objext conftest$ac_exeext 
     3710if { (ac_try="$ac_link" 
     3711case "(($ac_try" in 
     3712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3713  *) ac_try_echo=$ac_try;; 
     3714esac 
     3715eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3716  (eval "$ac_link") 2>conftest.er1 
     3717  ac_status=$? 
     3718  grep -v '^ *+' conftest.er1 >conftest.err 
     3719  rm -f conftest.er1 
     3720  cat conftest.err >&5 
     3721  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3722  (exit $ac_status); } && { 
     3723         test -z "$ac_c_werror_flag" || 
     3724         test ! -s conftest.err 
     3725       } && test -s conftest$ac_exeext && 
     3726       $as_test_x conftest$ac_exeext; then 
    37523727  ac_cv_lib_socket_puts=yes 
    37533728else 
    3754   ac_cv_lib_socket_puts=no 
    3755 fi 
    3756 rm -f core conftest.err conftest.$ac_objext \ 
    3757     conftest$ac_exeext conftest.$ac_ext 
     3729  echo "$as_me: failed program was:" >&5 
     3730sed 's/^/| /' conftest.$ac_ext >&5 
     3731 
     3732        ac_cv_lib_socket_puts=no 
     3733fi 
     3734 
     3735rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3736      conftest$ac_exeext conftest.$ac_ext 
    37583737LIBS=$ac_check_lib_save_LIBS 
    37593738fi 
    3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
    3761 $as_echo "$ac_cv_lib_socket_puts" >&6; } 
    3762 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
     3739{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
     3740echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
     3741if test $ac_cv_lib_socket_puts = yes; then 
    37633742  cat >>confdefs.h <<_ACEOF 
    37643743#define HAVE_LIBSOCKET 1 
     
    37693748fi 
    37703749 
    3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
    3772 $as_echo_n "checking for puts in -lrt... " >&6; } 
    3773 if test "${ac_cv_lib_rt_puts+set}" = set; then : 
    3774   $as_echo_n "(cached) " >&6 
     3750 
     3751{ echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
     3752echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
     3753if test "${ac_cv_lib_rt_puts+set}" = set; then 
     3754  echo $ECHO_N "(cached) $ECHO_C" >&6 
    37753755else 
    37763756  ac_check_lib_save_LIBS=$LIBS 
    37773757LIBS="-lrt  $LIBS" 
    3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3758cat >conftest.$ac_ext <<_ACEOF 
     3759/* confdefs.h.  */ 
     3760_ACEOF 
     3761cat confdefs.h >>conftest.$ac_ext 
     3762cat >>conftest.$ac_ext <<_ACEOF 
    37793763/* end confdefs.h.  */ 
    37803764 
     
    37943778} 
    37953779_ACEOF 
    3796 if ac_fn_c_try_link "$LINENO"; then : 
     3780rm -f conftest.$ac_objext conftest$ac_exeext 
     3781if { (ac_try="$ac_link" 
     3782case "(($ac_try" in 
     3783  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3784  *) ac_try_echo=$ac_try;; 
     3785esac 
     3786eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3787  (eval "$ac_link") 2>conftest.er1 
     3788  ac_status=$? 
     3789  grep -v '^ *+' conftest.er1 >conftest.err 
     3790  rm -f conftest.er1 
     3791  cat conftest.err >&5 
     3792  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3793  (exit $ac_status); } && { 
     3794         test -z "$ac_c_werror_flag" || 
     3795         test ! -s conftest.err 
     3796       } && test -s conftest$ac_exeext && 
     3797       $as_test_x conftest$ac_exeext; then 
    37973798  ac_cv_lib_rt_puts=yes 
    37983799else 
    3799   ac_cv_lib_rt_puts=no 
    3800 fi 
    3801 rm -f core conftest.err conftest.$ac_objext \ 
    3802     conftest$ac_exeext conftest.$ac_ext 
     3800  echo "$as_me: failed program was:" >&5 
     3801sed 's/^/| /' conftest.$ac_ext >&5 
     3802 
     3803        ac_cv_lib_rt_puts=no 
     3804fi 
     3805 
     3806rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3807      conftest$ac_exeext conftest.$ac_ext 
    38033808LIBS=$ac_check_lib_save_LIBS 
    38043809fi 
    3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
    3806 $as_echo "$ac_cv_lib_rt_puts" >&6; } 
    3807 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
     3810{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
     3811echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
     3812if test $ac_cv_lib_rt_puts = yes; then 
    38083813  cat >>confdefs.h <<_ACEOF 
    38093814#define HAVE_LIBRT 1 
     
    38143819fi 
    38153820 
    3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
    3817 $as_echo_n "checking for puts in -lnsl... " >&6; } 
    3818 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
    3819   $as_echo_n "(cached) " >&6 
     3821 
     3822{ echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
     3823echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
     3824if test "${ac_cv_lib_nsl_puts+set}" = set; then 
     3825  echo $ECHO_N "(cached) $ECHO_C" >&6 
    38203826else 
    38213827  ac_check_lib_save_LIBS=$LIBS 
    38223828LIBS="-lnsl  $LIBS" 
    3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3829cat >conftest.$ac_ext <<_ACEOF 
     3830/* confdefs.h.  */ 
     3831_ACEOF 
     3832cat confdefs.h >>conftest.$ac_ext 
     3833cat >>conftest.$ac_ext <<_ACEOF 
    38243834/* end confdefs.h.  */ 
    38253835 
     
    38393849} 
    38403850_ACEOF 
    3841 if ac_fn_c_try_link "$LINENO"; then : 
     3851rm -f conftest.$ac_objext conftest$ac_exeext 
     3852if { (ac_try="$ac_link" 
     3853case "(($ac_try" in 
     3854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3855  *) ac_try_echo=$ac_try;; 
     3856esac 
     3857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3858  (eval "$ac_link") 2>conftest.er1 
     3859  ac_status=$? 
     3860  grep -v '^ *+' conftest.er1 >conftest.err 
     3861  rm -f conftest.er1 
     3862  cat conftest.err >&5 
     3863  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3864  (exit $ac_status); } && { 
     3865         test -z "$ac_c_werror_flag" || 
     3866         test ! -s conftest.err 
     3867       } && test -s conftest$ac_exeext && 
     3868       $as_test_x conftest$ac_exeext; then 
    38423869  ac_cv_lib_nsl_puts=yes 
    38433870else 
    3844   ac_cv_lib_nsl_puts=no 
    3845 fi 
    3846 rm -f core conftest.err conftest.$ac_objext \ 
    3847     conftest$ac_exeext conftest.$ac_ext 
     3871  echo "$as_me: failed program was:" >&5 
     3872sed 's/^/| /' conftest.$ac_ext >&5 
     3873 
     3874        ac_cv_lib_nsl_puts=no 
     3875fi 
     3876 
     3877rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3878      conftest$ac_exeext conftest.$ac_ext 
    38483879LIBS=$ac_check_lib_save_LIBS 
    38493880fi 
    3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
    3851 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 
    3852 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
     3881{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
     3882echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
     3883if test $ac_cv_lib_nsl_puts = yes; then 
    38533884  cat >>confdefs.h <<_ACEOF 
    38543885#define HAVE_LIBNSL 1 
     
    38593890fi 
    38603891 
    3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    3862 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3863 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    3864   $as_echo_n "(cached) " >&6 
     3892 
     3893{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3894echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
     3895if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3896  echo $ECHO_N "(cached) $ECHO_C" >&6 
    38653897else 
    38663898  ac_check_lib_save_LIBS=$LIBS 
    38673899LIBS="-luuid  $LIBS" 
    3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3900cat >conftest.$ac_ext <<_ACEOF 
     3901/* confdefs.h.  */ 
     3902_ACEOF 
     3903cat confdefs.h >>conftest.$ac_ext 
     3904cat >>conftest.$ac_ext <<_ACEOF 
    38693905/* end confdefs.h.  */ 
    38703906 
     
    38843920} 
    38853921_ACEOF 
    3886 if ac_fn_c_try_link "$LINENO"; then : 
     3922rm -f conftest.$ac_objext conftest$ac_exeext 
     3923if { (ac_try="$ac_link" 
     3924case "(($ac_try" in 
     3925  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3926  *) ac_try_echo=$ac_try;; 
     3927esac 
     3928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3929  (eval "$ac_link") 2>conftest.er1 
     3930  ac_status=$? 
     3931  grep -v '^ *+' conftest.er1 >conftest.err 
     3932  rm -f conftest.er1 
     3933  cat conftest.err >&5 
     3934  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3935  (exit $ac_status); } && { 
     3936         test -z "$ac_c_werror_flag" || 
     3937         test ! -s conftest.err 
     3938       } && test -s conftest$ac_exeext && 
     3939       $as_test_x conftest$ac_exeext; then 
    38873940  ac_cv_lib_uuid_uuid_generate=yes 
    38883941else 
    3889   ac_cv_lib_uuid_uuid_generate=no 
    3890 fi 
    3891 rm -f core conftest.err conftest.$ac_objext \ 
    3892     conftest$ac_exeext conftest.$ac_ext 
     3942  echo "$as_me: failed program was:" >&5 
     3943sed 's/^/| /' conftest.$ac_ext >&5 
     3944 
     3945        ac_cv_lib_uuid_uuid_generate=no 
     3946fi 
     3947 
     3948rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3949      conftest$ac_exeext conftest.$ac_ext 
    38933950LIBS=$ac_check_lib_save_LIBS 
    38943951fi 
    3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3896 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3897 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     3952{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3953echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3954if test $ac_cv_lib_uuid_uuid_generate = yes; then 
    38983955  cat >>confdefs.h <<_ACEOF 
    38993956#define HAVE_LIBUUID 1 
     
    39043961fi 
    39053962 
    3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    3907 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3908 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    3909   $as_echo_n "(cached) " >&6 
     3963{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3964echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
     3965if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3966  echo $ECHO_N "(cached) $ECHO_C" >&6 
    39103967else 
    39113968  ac_check_lib_save_LIBS=$LIBS 
    39123969LIBS="-luuid  $LIBS" 
    3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3970cat >conftest.$ac_ext <<_ACEOF 
     3971/* confdefs.h.  */ 
     3972_ACEOF 
     3973cat confdefs.h >>conftest.$ac_ext 
     3974cat >>conftest.$ac_ext <<_ACEOF 
    39143975/* end confdefs.h.  */ 
    39153976 
     
    39293990} 
    39303991_ACEOF 
    3931 if ac_fn_c_try_link "$LINENO"; then : 
     3992rm -f conftest.$ac_objext conftest$ac_exeext 
     3993if { (ac_try="$ac_link" 
     3994case "(($ac_try" in 
     3995  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3996  *) ac_try_echo=$ac_try;; 
     3997esac 
     3998eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3999  (eval "$ac_link") 2>conftest.er1 
     4000  ac_status=$? 
     4001  grep -v '^ *+' conftest.er1 >conftest.err 
     4002  rm -f conftest.er1 
     4003  cat conftest.err >&5 
     4004  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4005  (exit $ac_status); } && { 
     4006         test -z "$ac_c_werror_flag" || 
     4007         test ! -s conftest.err 
     4008       } && test -s conftest$ac_exeext && 
     4009       $as_test_x conftest$ac_exeext; then 
    39324010  ac_cv_lib_uuid_uuid_generate=yes 
    39334011else 
    3934   ac_cv_lib_uuid_uuid_generate=no 
    3935 fi 
    3936 rm -f core conftest.err conftest.$ac_objext \ 
    3937     conftest$ac_exeext conftest.$ac_ext 
     4012  echo "$as_me: failed program was:" >&5 
     4013sed 's/^/| /' conftest.$ac_ext >&5 
     4014 
     4015        ac_cv_lib_uuid_uuid_generate=no 
     4016fi 
     4017 
     4018rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     4019      conftest$ac_exeext conftest.$ac_ext 
    39384020LIBS=$ac_check_lib_save_LIBS 
    39394021fi 
    3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3941 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3942 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     4022{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     4023echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
     4024if test $ac_cv_lib_uuid_uuid_generate = yes; then 
    39434025  ac_has_uuid_lib=1 
    39444026fi 
    39454027 
    39464028 
    3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
    3948 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
     4029{ echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
     4030echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
    39494031cat >>confdefs.h <<_ACEOF 
    39504032#define PJ_M_NAME "$target_cpu" 
     
    39524034 
    39534035 
    3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
    3955 $as_echo_n "checking memory alignment... " >&6; } 
     4036{ echo "$as_me:$LINENO: checking memory alignment" >&5 
     4037echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
    39564038case $target in 
    39574039    sparc64-* | ia64-* | x86_64-* ) 
    3958         $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
    3959  
    3960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
    3961 $as_echo "8 bytes" >&6; } 
     4040        cat >>confdefs.h <<\_ACEOF 
     4041#define PJ_POOL_ALIGNMENT 8 
     4042_ACEOF 
     4043 
     4044        { echo "$as_me:$LINENO: result: 8 bytes" >&5 
     4045echo "${ECHO_T}8 bytes" >&6; } 
    39624046        ;; 
    39634047    * ) 
    3964         $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
    3965  
    3966         { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
    3967 $as_echo "4 bytes (default)" >&6; } 
     4048        cat >>confdefs.h <<\_ACEOF 
     4049#define PJ_POOL_ALIGNMENT 4 
     4050_ACEOF 
     4051 
     4052        { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
     4053echo "${ECHO_T}4 bytes (default)" >&6; } 
    39684054        ;; 
    39694055esac 
     
    39754061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    39764062ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
    3978 $as_echo_n "checking how to run the C preprocessor... " >&6; } 
     4063{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     4064echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
    39794065# On Suns, sometimes $CPP names a directory. 
    39804066if test -n "$CPP" && test -d "$CPP"; then 
     
    39824068fi 
    39834069if test -z "$CPP"; then 
    3984   if test "${ac_cv_prog_CPP+set}" = set; then : 
    3985   $as_echo_n "(cached) " >&6 
     4070  if test "${ac_cv_prog_CPP+set}" = set; then 
     4071  echo $ECHO_N "(cached) $ECHO_C" >&6 
    39864072else 
    39874073      # Double quotes because CPP needs to be expanded 
     
    39974083  # On the NeXT, cc -E runs the code through the compiler's parser, 
    39984084  # not just through cpp. "Syntax error" is here to catch this case. 
    3999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4085  cat >conftest.$ac_ext <<_ACEOF 
     4086/* confdefs.h.  */ 
     4087_ACEOF 
     4088cat confdefs.h >>conftest.$ac_ext 
     4089cat >>conftest.$ac_ext <<_ACEOF 
    40004090/* end confdefs.h.  */ 
    40014091#ifdef __STDC__ 
     
    40064096                     Syntax error 
    40074097_ACEOF 
    4008 if ac_fn_c_try_cpp "$LINENO"; then : 
    4009  
    4010 else 
     4098if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4099case "(($ac_try" in 
     4100  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4101  *) ac_try_echo=$ac_try;; 
     4102esac 
     4103eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4104  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4105  ac_status=$? 
     4106  grep -v '^ *+' conftest.er1 >conftest.err 
     4107  rm -f conftest.er1 
     4108  cat conftest.err >&5 
     4109  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4110  (exit $ac_status); } >/dev/null && { 
     4111         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4112         test ! -s conftest.err 
     4113       }; then 
     4114  : 
     4115else 
     4116  echo "$as_me: failed program was:" >&5 
     4117sed 's/^/| /' conftest.$ac_ext >&5 
     4118 
    40114119  # Broken: fails on valid input. 
    40124120continue 
    40134121fi 
     4122 
    40144123rm -f conftest.err conftest.$ac_ext 
    40154124 
    40164125  # OK, works on sane cases.  Now check whether nonexistent headers 
    40174126  # can be detected and how. 
    4018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4127  cat >conftest.$ac_ext <<_ACEOF 
     4128/* confdefs.h.  */ 
     4129_ACEOF 
     4130cat confdefs.h >>conftest.$ac_ext 
     4131cat >>conftest.$ac_ext <<_ACEOF 
    40194132/* end confdefs.h.  */ 
    40204133#include <ac_nonexistent.h> 
    40214134_ACEOF 
    4022 if ac_fn_c_try_cpp "$LINENO"; then : 
     4135if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4136case "(($ac_try" in 
     4137  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4138  *) ac_try_echo=$ac_try;; 
     4139esac 
     4140eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4141  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4142  ac_status=$? 
     4143  grep -v '^ *+' conftest.er1 >conftest.err 
     4144  rm -f conftest.er1 
     4145  cat conftest.err >&5 
     4146  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4147  (exit $ac_status); } >/dev/null && { 
     4148         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4149         test ! -s conftest.err 
     4150       }; then 
    40234151  # Broken: success on invalid input. 
    40244152continue 
    40254153else 
     4154  echo "$as_me: failed program was:" >&5 
     4155sed 's/^/| /' conftest.$ac_ext >&5 
     4156 
    40264157  # Passes both tests. 
    40274158ac_preproc_ok=: 
    40284159break 
    40294160fi 
     4161 
    40304162rm -f conftest.err conftest.$ac_ext 
    40314163 
     
    40334165# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    40344166rm -f conftest.err conftest.$ac_ext 
    4035 if $ac_preproc_ok; then : 
     4167if $ac_preproc_ok; then 
    40364168  break 
    40374169fi 
     
    40454177  ac_cv_prog_CPP=$CPP 
    40464178fi 
    4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
    4048 $as_echo "$CPP" >&6; } 
     4179{ echo "$as_me:$LINENO: result: $CPP" >&5 
     4180echo "${ECHO_T}$CPP" >&6; } 
    40494181ac_preproc_ok=false 
    40504182for ac_c_preproc_warn_flag in '' yes 
     
    40564188  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40574189  # not just through cpp. "Syntax error" is here to catch this case. 
    4058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4190  cat >conftest.$ac_ext <<_ACEOF 
     4191/* confdefs.h.  */ 
     4192_ACEOF 
     4193cat confdefs.h >>conftest.$ac_ext 
     4194cat >>conftest.$ac_ext <<_ACEOF 
    40594195/* end confdefs.h.  */ 
    40604196#ifdef __STDC__ 
     
    40654201                     Syntax error 
    40664202_ACEOF 
    4067 if ac_fn_c_try_cpp "$LINENO"; then : 
    4068  
    4069 else 
     4203if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4204case "(($ac_try" in 
     4205  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4206  *) ac_try_echo=$ac_try;; 
     4207esac 
     4208eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4209  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4210  ac_status=$? 
     4211  grep -v '^ *+' conftest.er1 >conftest.err 
     4212  rm -f conftest.er1 
     4213  cat conftest.err >&5 
     4214  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4215  (exit $ac_status); } >/dev/null && { 
     4216         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4217         test ! -s conftest.err 
     4218       }; then 
     4219  : 
     4220else 
     4221  echo "$as_me: failed program was:" >&5 
     4222sed 's/^/| /' conftest.$ac_ext >&5 
     4223 
    40704224  # Broken: fails on valid input. 
    40714225continue 
    40724226fi 
     4227 
    40734228rm -f conftest.err conftest.$ac_ext 
    40744229 
    40754230  # OK, works on sane cases.  Now check whether nonexistent headers 
    40764231  # can be detected and how. 
    4077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4232  cat >conftest.$ac_ext <<_ACEOF 
     4233/* confdefs.h.  */ 
     4234_ACEOF 
     4235cat confdefs.h >>conftest.$ac_ext 
     4236cat >>conftest.$ac_ext <<_ACEOF 
    40784237/* end confdefs.h.  */ 
    40794238#include <ac_nonexistent.h> 
    40804239_ACEOF 
    4081 if ac_fn_c_try_cpp "$LINENO"; then : 
     4240if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4241case "(($ac_try" in 
     4242  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4243  *) ac_try_echo=$ac_try;; 
     4244esac 
     4245eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4246  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4247  ac_status=$? 
     4248  grep -v '^ *+' conftest.er1 >conftest.err 
     4249  rm -f conftest.er1 
     4250  cat conftest.err >&5 
     4251  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4252  (exit $ac_status); } >/dev/null && { 
     4253         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4254         test ! -s conftest.err 
     4255       }; then 
    40824256  # Broken: success on invalid input. 
    40834257continue 
    40844258else 
     4259  echo "$as_me: failed program was:" >&5 
     4260sed 's/^/| /' conftest.$ac_ext >&5 
     4261 
    40854262  # Passes both tests. 
    40864263ac_preproc_ok=: 
    40874264break 
    40884265fi 
     4266 
    40894267rm -f conftest.err conftest.$ac_ext 
    40904268 
     
    40924270# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    40934271rm -f conftest.err conftest.$ac_ext 
    4094 if $ac_preproc_ok; then : 
    4095  
    4096 else 
    4097   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    4099 as_fn_error "C preprocessor \"$CPP\" fails sanity check 
    4100 See \`config.log' for more details." "$LINENO" 5; } 
     4272if $ac_preproc_ok; then 
     4273  : 
     4274else 
     4275  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     4276See \`config.log' for more details." >&5 
     4277echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     4278See \`config.log' for more details." >&2;} 
     4279   { (exit 1); exit 1; }; } 
    41014280fi 
    41024281 
     
    41084287 
    41094288 
    4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    4111 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    4112 if test "${ac_cv_path_GREP+set}" = set; then : 
    4113   $as_echo_n "(cached) " >&6 
    4114 else 
    4115   if test -z "$GREP"; then 
     4289{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
     4290echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
     4291if test "${ac_cv_path_GREP+set}" = set; then 
     4292  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4293else 
     4294  # Extract the first word of "grep ggrep" to use in msg output 
     4295if test -z "$GREP"; then 
     4296set dummy grep ggrep; ac_prog_name=$2 
     4297if test "${ac_cv_path_GREP+set}" = set; then 
     4298  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4299else 
    41164300  ac_path_GREP_found=false 
    4117   # Loop through the user's path and test for each of PROGNAME-LIST 
    4118   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4301# Loop through the user's path and test for each of PROGNAME-LIST 
     4302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    41194303for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    41204304do 
    41214305  IFS=$as_save_IFS 
    41224306  test -z "$as_dir" && as_dir=. 
    4123     for ac_prog in grep ggrep; do 
    4124     for ac_exec_ext in '' $ac_executable_extensions; do 
    4125       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4126       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4127 # Check for GNU ac_path_GREP and select it if it is found. 
     4307  for ac_prog in grep ggrep; do 
     4308  for ac_exec_ext in '' $ac_executable_extensions; do 
     4309    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4310    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4311    # Check for GNU ac_path_GREP and select it if it is found. 
    41284312  # Check for GNU $ac_path_GREP 
    41294313case `"$ac_path_GREP" --version 2>&1` in 
     
    41324316*) 
    41334317  ac_count=0 
    4134   $as_echo_n 0123456789 >"conftest.in" 
     4318  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
    41354319  while : 
    41364320  do 
     
    41384322    mv "conftest.tmp" "conftest.in" 
    41394323    cp "conftest.in" "conftest.nl" 
    4140     $as_echo 'GREP' >> "conftest.nl" 
     4324    echo 'GREP' >> "conftest.nl" 
    41414325    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    41424326    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4143     as_fn_arith $ac_count + 1 && ac_count=$as_val 
     4327    ac_count=`expr $ac_count + 1` 
    41444328    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    41454329      # Best one so far, save it but keep looking for a better one 
     
    41534337esac 
    41544338 
    4155       $ac_path_GREP_found && break 3 
    4156     done 
     4339 
     4340    $ac_path_GREP_found && break 3 
    41574341  done 
    4158   done 
     4342done 
     4343 
     4344done 
    41594345IFS=$as_save_IFS 
    4160   if test -z "$ac_cv_path_GREP"; then 
    4161     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    4162   fi 
     4346 
     4347 
     4348fi 
     4349 
     4350GREP="$ac_cv_path_GREP" 
     4351if test -z "$GREP"; then 
     4352  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
     4353echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
     4354   { (exit 1); exit 1; }; } 
     4355fi 
     4356 
    41634357else 
    41644358  ac_cv_path_GREP=$GREP 
    41654359fi 
    41664360 
    4167 fi 
    4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
    4169 $as_echo "$ac_cv_path_GREP" >&6; } 
     4361 
     4362fi 
     4363{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
     4364echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
    41704365 GREP="$ac_cv_path_GREP" 
    41714366 
    41724367 
    4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    4174 $as_echo_n "checking for egrep... " >&6; } 
    4175 if test "${ac_cv_path_EGREP+set}" = set; then : 
    4176   $as_echo_n "(cached) " >&6 
     4368{ echo "$as_me:$LINENO: checking for egrep" >&5 
     4369echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
     4370if test "${ac_cv_path_EGREP+set}" = set; then 
     4371  echo $ECHO_N "(cached) $ECHO_C" >&6 
    41774372else 
    41784373  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    41794374   then ac_cv_path_EGREP="$GREP -E" 
    41804375   else 
    4181      if test -z "$EGREP"; then 
     4376     # Extract the first word of "egrep" to use in msg output 
     4377if test -z "$EGREP"; then 
     4378set dummy egrep; ac_prog_name=$2 
     4379if test "${ac_cv_path_EGREP+set}" = set; then 
     4380  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4381else 
    41824382  ac_path_EGREP_found=false 
    4183   # Loop through the user's path and test for each of PROGNAME-LIST 
    4184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4383# Loop through the user's path and test for each of PROGNAME-LIST 
     4384as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    41854385for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    41864386do 
    41874387  IFS=$as_save_IFS 
    41884388  test -z "$as_dir" && as_dir=. 
    4189     for ac_prog in egrep; do 
    4190     for ac_exec_ext in '' $ac_executable_extensions; do 
    4191       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4192       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4193 # Check for GNU ac_path_EGREP and select it if it is found. 
     4389  for ac_prog in egrep; do 
     4390  for ac_exec_ext in '' $ac_executable_extensions; do 
     4391    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4392    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4393    # Check for GNU ac_path_EGREP and select it if it is found. 
    41944394  # Check for GNU $ac_path_EGREP 
    41954395case `"$ac_path_EGREP" --version 2>&1` in 
     
    41984398*) 
    41994399  ac_count=0 
    4200   $as_echo_n 0123456789 >"conftest.in" 
     4400  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
    42014401  while : 
    42024402  do 
     
    42044404    mv "conftest.tmp" "conftest.in" 
    42054405    cp "conftest.in" "conftest.nl" 
    4206     $as_echo 'EGREP' >> "conftest.nl" 
     4406    echo 'EGREP' >> "conftest.nl" 
    42074407    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    42084408    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4209     as_fn_arith $ac_count + 1 && ac_count=$as_val 
     4409    ac_count=`expr $ac_count + 1` 
    42104410    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    42114411      # Best one so far, save it but keep looking for a better one 
     
    42194419esac 
    42204420 
    4221       $ac_path_EGREP_found && break 3 
    4222     done 
     4421 
     4422    $ac_path_EGREP_found && break 3 
    42234423  done 
    4224   done 
     4424done 
     4425 
     4426done 
    42254427IFS=$as_save_IFS 
    4226   if test -z "$ac_cv_path_EGREP"; then 
    4227     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    4228   fi 
     4428 
     4429 
     4430fi 
     4431 
     4432EGREP="$ac_cv_path_EGREP" 
     4433if test -z "$EGREP"; then 
     4434  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
     4435echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
     4436   { (exit 1); exit 1; }; } 
     4437fi 
     4438 
    42294439else 
    42304440  ac_cv_path_EGREP=$EGREP 
    42314441fi 
    42324442 
     4443 
    42334444   fi 
    42344445fi 
    4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
    4236 $as_echo "$ac_cv_path_EGREP" >&6; } 
     4446{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
     4447echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
    42374448 EGREP="$ac_cv_path_EGREP" 
    42384449 
    42394450 
    4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    4241 $as_echo_n "checking for ANSI C header files... " >&6; } 
    4242 if test "${ac_cv_header_stdc+set}" = set; then : 
    4243   $as_echo_n "(cached) " >&6 
    4244 else 
    4245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4451{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     4452echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
     4453if test "${ac_cv_header_stdc+set}" = set; then 
     4454  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4455else 
     4456  cat >conftest.$ac_ext <<_ACEOF 
     4457/* confdefs.h.  */ 
     4458_ACEOF 
     4459cat confdefs.h >>conftest.$ac_ext 
     4460cat >>conftest.$ac_ext <<_ACEOF 
    42464461/* end confdefs.h.  */ 
    42474462#include <stdlib.h> 
     
    42584473} 
    42594474_ACEOF 
    4260 if ac_fn_c_try_compile "$LINENO"; then : 
     4475rm -f conftest.$ac_objext 
     4476if { (ac_try="$ac_compile" 
     4477case "(($ac_try" in 
     4478  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4479  *) ac_try_echo=$ac_try;; 
     4480esac 
     4481eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4482  (eval "$ac_compile") 2>conftest.er1 
     4483  ac_status=$? 
     4484  grep -v '^ *+' conftest.er1 >conftest.err 
     4485  rm -f conftest.er1 
     4486  cat conftest.err >&5 
     4487  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4488  (exit $ac_status); } && { 
     4489         test -z "$ac_c_werror_flag" || 
     4490         test ! -s conftest.err 
     4491       } && test -s conftest.$ac_objext; then 
    42614492  ac_cv_header_stdc=yes 
    42624493else 
    4263   ac_cv_header_stdc=no 
    4264 fi 
     4494  echo "$as_me: failed program was:" >&5 
     4495sed 's/^/| /' conftest.$ac_ext >&5 
     4496 
     4497        ac_cv_header_stdc=no 
     4498fi 
     4499 
    42654500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    42664501 
    42674502if test $ac_cv_header_stdc = yes; then 
    42684503  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4504  cat >conftest.$ac_ext <<_ACEOF 
     4505/* confdefs.h.  */ 
     4506_ACEOF 
     4507cat confdefs.h >>conftest.$ac_ext 
     4508cat >>conftest.$ac_ext <<_ACEOF 
    42704509/* end confdefs.h.  */ 
    42714510#include <string.h> 
     
    42734512_ACEOF 
    42744513if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4275   $EGREP "memchr" >/dev/null 2>&1; then : 
    4276  
     4514  $EGREP "memchr" >/dev/null 2>&1; then 
     4515  : 
    42774516else 
    42784517  ac_cv_header_stdc=no 
    42794518fi 
    4280 rm -f conftest* 
     4519rm -f -r conftest* 
    42814520 
    42824521fi 
     
    42844523if test $ac_cv_header_stdc = yes; then 
    42854524  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4525  cat >conftest.$ac_ext <<_ACEOF 
     4526/* confdefs.h.  */ 
     4527_ACEOF 
     4528cat confdefs.h >>conftest.$ac_ext 
     4529cat >>conftest.$ac_ext <<_ACEOF 
    42874530/* end confdefs.h.  */ 
    42884531#include <stdlib.h> 
     
    42904533_ACEOF 
    42914534if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4292   $EGREP "free" >/dev/null 2>&1; then : 
    4293  
     4535  $EGREP "free" >/dev/null 2>&1; then 
     4536  : 
    42944537else 
    42954538  ac_cv_header_stdc=no 
    42964539fi 
    4297 rm -f conftest* 
     4540rm -f -r conftest* 
    42984541 
    42994542fi 
     
    43014544if test $ac_cv_header_stdc = yes; then 
    43024545  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4303   if test "$cross_compiling" = yes; then : 
     4546  if test "$cross_compiling" = yes; then 
    43044547  : 
    43054548else 
    4306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4549  cat >conftest.$ac_ext <<_ACEOF 
     4550/* confdefs.h.  */ 
     4551_ACEOF 
     4552cat confdefs.h >>conftest.$ac_ext 
     4553cat >>conftest.$ac_ext <<_ACEOF 
    43074554/* end confdefs.h.  */ 
    43084555#include <ctype.h> 
     
    43314578} 
    43324579_ACEOF 
    4333 if ac_fn_c_try_run "$LINENO"; then : 
    4334  
    4335 else 
    4336   ac_cv_header_stdc=no 
    4337 fi 
    4338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
    4339   conftest.$ac_objext conftest.beam conftest.$ac_ext 
    4340 fi 
    4341  
    4342 fi 
    4343 fi 
    4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
    4345 $as_echo "$ac_cv_header_stdc" >&6; } 
     4580rm -f conftest$ac_exeext 
     4581if { (ac_try="$ac_link" 
     4582case "(($ac_try" in 
     4583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4584  *) ac_try_echo=$ac_try;; 
     4585esac 
     4586eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4587  (eval "$ac_link") 2>&5 
     4588  ac_status=$? 
     4589  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4590  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4591  { (case "(($ac_try" in 
     4592  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4593  *) ac_try_echo=$ac_try;; 
     4594esac 
     4595eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4596  (eval "$ac_try") 2>&5 
     4597  ac_status=$? 
     4598  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4599  (exit $ac_status); }; }; then 
     4600  : 
     4601else 
     4602  echo "$as_me: program exited with status $ac_status" >&5 
     4603echo "$as_me: failed program was:" >&5 
     4604sed 's/^/| /' conftest.$ac_ext >&5 
     4605 
     4606( exit $ac_status ) 
     4607ac_cv_header_stdc=no 
     4608fi 
     4609rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4610fi 
     4611 
     4612 
     4613fi 
     4614fi 
     4615{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     4616echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
    43464617if test $ac_cv_header_stdc = yes; then 
    43474618 
    4348 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 
     4619cat >>confdefs.h <<\_ACEOF 
     4620#define STDC_HEADERS 1 
     4621_ACEOF 
    43494622 
    43504623fi 
    43514624 
    43524625# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     4626 
     4627 
     4628 
     4629 
     4630 
     4631 
     4632 
     4633 
     4634 
    43534635for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    43544636                  inttypes.h stdint.h unistd.h 
    4355 do : 
    4356   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4357 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
    4358 " 
    4359 eval as_val=\$$as_ac_Header 
    4360    if test "x$as_val" = x""yes; then : 
     4637do 
     4638as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4639{ echo "$as_me:$LINENO: checking for $ac_header" >&5 
     4640echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
     4641if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
     4642  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4643else 
     4644  cat >conftest.$ac_ext <<_ACEOF 
     4645/* confdefs.h.  */ 
     4646_ACEOF 
     4647cat confdefs.h >>conftest.$ac_ext 
     4648cat >>conftest.$ac_ext <<_ACEOF 
     4649/* end confdefs.h.  */ 
     4650$ac_includes_default 
     4651 
     4652#include <$ac_header> 
     4653_ACEOF 
     4654rm -f conftest.$ac_objext 
     4655if { (ac_try="$ac_compile" 
     4656case "(($ac_try" in 
     4657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4658  *) ac_try_echo=$ac_try;; 
     4659esac 
     4660eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4661  (eval "$ac_compile") 2>conftest.er1 
     4662  ac_status=$? 
     4663  grep -v '^ *+' conftest.er1 >conftest.err 
     4664  rm -f conftest.er1 
     4665  cat conftest.err >&5 
     4666  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4667  (exit $ac_status); } && { 
     4668         test -z "$ac_c_werror_flag" || 
     4669         test ! -s conftest.err 
     4670       } && test -s conftest.$ac_objext; then 
     4671  eval "$as_ac_Header=yes" 
     4672else 
     4673  echo "$as_me: failed program was:" >&5 
     4674sed 's/^/| /' conftest.$ac_ext >&5 
     4675 
     4676        eval "$as_ac_Header=no" 
     4677fi 
     4678 
     4679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4680fi 
     4681ac_res=`eval echo '${'$as_ac_Header'}'` 
     4682               { echo "$as_me:$LINENO: result: $ac_res" >&5 
     4683echo "${ECHO_T}$ac_res" >&6; } 
     4684if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    43614685  cat >>confdefs.h <<_ACEOF 
    4362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4686#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    43634687_ACEOF 
    43644688 
     
    43684692 
    43694693 
    4370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    4371 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    4372 if test "${ac_cv_c_bigendian+set}" = set; then : 
    4373   $as_echo_n "(cached) " >&6 
    4374 else 
    4375   ac_cv_c_bigendian=unknown 
    4376     # See if we're dealing with a universal compiler. 
    4377     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4378 /* end confdefs.h.  */ 
    4379 #ifndef __APPLE_CC__ 
    4380                not a universal capable compiler 
    4381              #endif 
    4382              typedef int dummy; 
    4383  
    4384 _ACEOF 
    4385 if ac_fn_c_try_compile "$LINENO"; then : 
    4386  
    4387         # Check for potential -arch flags.  It is not universal unless 
    4388         # there are at least two -arch flags with different values. 
    4389         ac_arch= 
    4390         ac_prev= 
    4391         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
    4392          if test -n "$ac_prev"; then 
    4393            case $ac_word in 
    4394              i?86 | x86_64 | ppc | ppc64) 
    4395                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
    4396                  ac_arch=$ac_word 
    4397                else 
    4398                  ac_cv_c_bigendian=universal 
    4399                  break 
    4400                fi 
    4401                ;; 
    4402            esac 
    4403            ac_prev= 
    4404          elif test "x$ac_word" = "x-arch"; then 
    4405            ac_prev=arch 
    4406          fi 
    4407        done 
    4408 fi 
    4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4410     if test $ac_cv_c_bigendian = unknown; then 
    4411       # See if sys/param.h defines the BYTE_ORDER macro. 
    4412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4694{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
     4695echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
     4696if test "${ac_cv_c_bigendian+set}" = set; then 
     4697  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4698else 
     4699  # See if sys/param.h defines the BYTE_ORDER macro. 
     4700cat >conftest.$ac_ext <<_ACEOF 
     4701/* confdefs.h.  */ 
     4702_ACEOF 
     4703cat confdefs.h >>conftest.$ac_ext 
     4704cat >>conftest.$ac_ext <<_ACEOF 
    44134705/* end confdefs.h.  */ 
    44144706#include <sys/types.h> 
    4415              #include <sys/param.h> 
     4707#include <sys/param.h> 
    44164708 
    44174709int 
    44184710main () 
    44194711{ 
    4420 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
    4421                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
    4422                      && LITTLE_ENDIAN) 
    4423               bogus endian macros 
    4424              #endif 
     4712#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
     4713        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
     4714 bogus endian macros 
     4715#endif 
    44254716 
    44264717  ; 
     
    44284719} 
    44294720_ACEOF 
    4430 if ac_fn_c_try_compile "$LINENO"; then : 
     4721rm -f conftest.$ac_objext 
     4722if { (ac_try="$ac_compile" 
     4723case "(($ac_try" in 
     4724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4725  *) ac_try_echo=$ac_try;; 
     4726esac 
     4727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4728  (eval "$ac_compile") 2>conftest.er1 
     4729  ac_status=$? 
     4730  grep -v '^ *+' conftest.er1 >conftest.err 
     4731  rm -f conftest.er1 
     4732  cat conftest.err >&5 
     4733  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4734  (exit $ac_status); } && { 
     4735         test -z "$ac_c_werror_flag" || 
     4736         test ! -s conftest.err 
     4737       } && test -s conftest.$ac_objext; then 
    44314738  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4432          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4739cat >conftest.$ac_ext <<_ACEOF 
     4740/* confdefs.h.  */ 
     4741_ACEOF 
     4742cat confdefs.h >>conftest.$ac_ext 
     4743cat >>conftest.$ac_ext <<_ACEOF 
    44334744/* end confdefs.h.  */ 
    44344745#include <sys/types.h> 
    4435                 #include <sys/param.h> 
     4746#include <sys/param.h> 
    44364747 
    44374748int 
     
    44394750{ 
    44404751#if BYTE_ORDER != BIG_ENDIAN 
    4441                 not big endian 
    4442                 #endif 
     4752 not big endian 
     4753#endif 
    44434754 
    44444755  ; 
     
    44464757} 
    44474758_ACEOF 
    4448 if ac_fn_c_try_compile "$LINENO"; then : 
     4759rm -f conftest.$ac_objext 
     4760if { (ac_try="$ac_compile" 
     4761case "(($ac_try" in 
     4762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4763  *) ac_try_echo=$ac_try;; 
     4764esac 
     4765eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4766  (eval "$ac_compile") 2>conftest.er1 
     4767  ac_status=$? 
     4768  grep -v '^ *+' conftest.er1 >conftest.err 
     4769  rm -f conftest.er1 
     4770  cat conftest.err >&5 
     4771  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4772  (exit $ac_status); } && { 
     4773         test -z "$ac_c_werror_flag" || 
     4774         test ! -s conftest.err 
     4775       } && test -s conftest.$ac_objext; then 
    44494776  ac_cv_c_bigendian=yes 
    44504777else 
    4451   ac_cv_c_bigendian=no 
    4452 fi 
     4778  echo "$as_me: failed program was:" >&5 
     4779sed 's/^/| /' conftest.$ac_ext >&5 
     4780 
     4781        ac_cv_c_bigendian=no 
     4782fi 
     4783 
    44534784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4454 fi 
    4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4456     fi 
    4457     if test $ac_cv_c_bigendian = unknown; then 
    4458       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
    4459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4460 /* end confdefs.h.  */ 
    4461 #include <limits.h> 
    4462  
     4785else 
     4786  echo "$as_me: failed program was:" >&5 
     4787sed 's/^/| /' conftest.$ac_ext >&5 
     4788 
     4789        # It does not; compile a test program. 
     4790if test "$cross_compiling" = yes; then 
     4791  # try to guess the endianness by grepping values into an object file 
     4792  ac_cv_c_bigendian=unknown 
     4793  cat >conftest.$ac_ext <<_ACEOF 
     4794/* confdefs.h.  */ 
     4795_ACEOF 
     4796cat confdefs.h >>conftest.$ac_ext 
     4797cat >>conftest.$ac_ext <<_ACEOF 
     4798/* end confdefs.h.  */ 
     4799short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4800short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4801void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
     4802short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4803short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4804void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
    44634805int 
    44644806main () 
    44654807{ 
    4466 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
    4467               bogus endian macros 
    4468              #endif 
    4469  
     4808 _ascii (); _ebcdic (); 
    44704809  ; 
    44714810  return 0; 
    44724811} 
    44734812_ACEOF 
    4474 if ac_fn_c_try_compile "$LINENO"; then : 
    4475   # It does; now see whether it defined to _BIG_ENDIAN or not. 
    4476          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4477 /* end confdefs.h.  */ 
    4478 #include <limits.h> 
    4479  
    4480 int 
    4481 main () 
    4482 { 
    4483 #ifndef _BIG_ENDIAN 
    4484                  not big endian 
    4485                 #endif 
    4486  
    4487   ; 
    4488   return 0; 
    4489 } 
    4490 _ACEOF 
    4491 if ac_fn_c_try_compile "$LINENO"; then : 
     4813rm -f conftest.$ac_objext 
     4814if { (ac_try="$ac_compile" 
     4815case "(($ac_try" in 
     4816  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4817  *) ac_try_echo=$ac_try;; 
     4818esac 
     4819eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4820  (eval "$ac_compile") 2>conftest.er1 
     4821  ac_status=$? 
     4822  grep -v '^ *+' conftest.er1 >conftest.err 
     4823  rm -f conftest.er1 
     4824  cat conftest.err >&5 
     4825  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4826  (exit $ac_status); } && { 
     4827         test -z "$ac_c_werror_flag" || 
     4828         test ! -s conftest.err 
     4829       } && test -s conftest.$ac_objext; then 
     4830  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
    44924831  ac_cv_c_bigendian=yes 
    4493 else 
    4494   ac_cv_c_bigendian=no 
    4495 fi 
     4832fi 
     4833if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4834  if test "$ac_cv_c_bigendian" = unknown; then 
     4835    ac_cv_c_bigendian=no 
     4836  else 
     4837    # finding both strings is unlikely to happen, but who knows? 
     4838    ac_cv_c_bigendian=unknown 
     4839  fi 
     4840fi 
     4841else 
     4842  echo "$as_me: failed program was:" >&5 
     4843sed 's/^/| /' conftest.$ac_ext >&5 
     4844 
     4845 
     4846fi 
     4847 
    44964848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4497 fi 
    4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4499     fi 
    4500     if test $ac_cv_c_bigendian = unknown; then 
    4501       # Compile a test program. 
    4502       if test "$cross_compiling" = yes; then : 
    4503   # Try to guess by grepping values from an object file. 
    4504          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4505 /* end confdefs.h.  */ 
    4506 short int ascii_mm[] = 
    4507                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4508                 short int ascii_ii[] = 
    4509                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4510                 int use_ascii (int i) { 
    4511                   return ascii_mm[i] + ascii_ii[i]; 
    4512                 } 
    4513                 short int ebcdic_ii[] = 
    4514                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4515                 short int ebcdic_mm[] = 
    4516                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4517                 int use_ebcdic (int i) { 
    4518                   return ebcdic_mm[i] + ebcdic_ii[i]; 
    4519                 } 
    4520                 extern int foo; 
    4521  
    4522 int 
    4523 main () 
    4524 { 
    4525 return use_ascii (foo) == use_ebcdic (foo); 
    4526   ; 
    4527   return 0; 
    4528 } 
    4529 _ACEOF 
    4530 if ac_fn_c_try_compile "$LINENO"; then : 
    4531   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
    4532               ac_cv_c_bigendian=yes 
    4533             fi 
    4534             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4535               if test "$ac_cv_c_bigendian" = unknown; then 
    4536                 ac_cv_c_bigendian=no 
    4537               else 
    4538                 # finding both strings is unlikely to happen, but who knows? 
    4539                 ac_cv_c_bigendian=unknown 
    4540               fi 
    4541             fi 
    4542 fi 
    4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4544 else 
    4545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4849else 
     4850  cat >conftest.$ac_ext <<_ACEOF 
     4851/* confdefs.h.  */ 
     4852_ACEOF 
     4853cat confdefs.h >>conftest.$ac_ext 
     4854cat >>conftest.$ac_ext <<_ACEOF 
    45464855/* end confdefs.h.  */ 
    45474856$ac_includes_default 
     
    45504859{ 
    45514860 
    4552              /* Are we little or big endian?  From Harbison&Steele.  */ 
    4553              union 
    4554              { 
    4555                long int l; 
    4556                char c[sizeof (long int)]; 
    4557              } u; 
    4558              u.l = 1; 
    4559              return u.c[sizeof (long int) - 1] == 1; 
     4861  /* Are we little or big endian?  From Harbison&Steele.  */ 
     4862  union 
     4863  { 
     4864    long int l; 
     4865    char c[sizeof (long int)]; 
     4866  } u; 
     4867  u.l = 1; 
     4868  return u.c[sizeof (long int) - 1] == 1; 
    45604869 
    45614870  ; 
     
    45634872} 
    45644873_ACEOF 
    4565 if ac_fn_c_try_run "$LINENO"; then : 
     4874rm -f conftest$ac_exeext 
     4875if { (ac_try="$ac_link" 
     4876case "(($ac_try" in 
     4877  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4878  *) ac_try_echo=$ac_try;; 
     4879esac 
     4880eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4881  (eval "$ac_link") 2>&5 
     4882  ac_status=$? 
     4883  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4884  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4885  { (case "(($ac_try" in 
     4886  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4887  *) ac_try_echo=$ac_try;; 
     4888esac 
     4889eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4890  (eval "$ac_try") 2>&5 
     4891  ac_status=$? 
     4892  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4893  (exit $ac_status); }; }; then 
    45664894  ac_cv_c_bigendian=no 
    45674895else 
    4568   ac_cv_c_bigendian=yes 
    4569 fi 
    4570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
    4571   conftest.$ac_objext conftest.beam conftest.$ac_ext 
    4572 fi 
    4573  
    4574     fi 
    4575 fi 
    4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
    4577 $as_echo "$ac_cv_c_bigendian" >&6; } 
    4578  case $ac_cv_c_bigendian in #( 
    4579    yes) 
    4580      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
    4581 ;; #( 
    4582    no) 
    4583       ;; #( 
    4584    universal) 
    4585  
    4586 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
    4587  
    4588      ;; #( 
    4589    *) 
    4590      as_fn_error "unknown endianness 
    4591  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    4592  esac 
     4896  echo "$as_me: program exited with status $ac_status" >&5 
     4897echo "$as_me: failed program was:" >&5 
     4898sed 's/^/| /' conftest.$ac_ext >&5 
     4899 
     4900( exit $ac_status ) 
     4901ac_cv_c_bigendian=yes 
     4902fi 
     4903rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4904fi 
     4905 
     4906 
     4907fi 
     4908 
     4909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4910fi 
     4911{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
     4912echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
     4913case $ac_cv_c_bigendian in 
     4914  yes) 
     4915 
     4916cat >>confdefs.h <<\_ACEOF 
     4917#define WORDS_BIGENDIAN 1 
     4918_ACEOF 
     4919 ;; 
     4920  no) 
     4921     ;; 
     4922  *) 
     4923    { { echo "$as_me:$LINENO: error: unknown endianness 
     4924presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
     4925echo "$as_me: error: unknown endianness 
     4926presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
     4927   { (exit 1); exit 1; }; } ;; 
     4928esac 
    45934929 
    45944930 
    45954931case $target in 
    45964932    *mingw* | *cygw* | *win32* | *w32* ) 
    4597         $as_echo "#define PJ_WIN32 1" >>confdefs.h 
    4598  
    4599         $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
    4600  
    4601         $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
     4933        cat >>confdefs.h <<\_ACEOF 
     4934#define PJ_WIN32 1 
     4935_ACEOF 
     4936 
     4937        cat >>confdefs.h <<\_ACEOF 
     4938#define PJ_WIN32_WINNT 0x0400 
     4939_ACEOF 
     4940 
     4941        cat >>confdefs.h <<\_ACEOF 
     4942#define WIN32_LEAN_AND_MEAN 1 
     4943_ACEOF 
    46024944 
    46034945        ;; 
    46044946    *darwin*) 
    4605         $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
     4947        cat >>confdefs.h <<\_ACEOF 
     4948#define PJ_DARWINOS 1 
     4949_ACEOF 
    46064950 
    46074951        ;; 
    46084952    *linux*) 
    4609         $as_echo "#define PJ_LINUX 1" >>confdefs.h 
     4953        cat >>confdefs.h <<\_ACEOF 
     4954#define PJ_LINUX 1 
     4955_ACEOF 
    46104956 
    46114957        ;; 
    46124958    *rtems*) 
    4613         $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
     4959        cat >>confdefs.h <<\_ACEOF 
     4960#define PJ_RTEMS 1 
     4961_ACEOF 
    46144962 
    46154963        ;; 
    46164964    *sunos* | *solaris* ) 
    4617         $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
     4965        cat >>confdefs.h <<\_ACEOF 
     4966#define PJ_SUNOS 1 
     4967_ACEOF 
    46184968 
    46194969        ;; 
     
    46264976 
    46274977# Check whether --enable-floating-point was given. 
    4628 if test "${enable_floating_point+set}" = set; then : 
     4978if test "${enable_floating_point+set}" = set; then 
    46294979  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4630                 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
    4631  
    4632                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
    4633 $as_echo "Checking if floating point is disabled... yes" >&6; } 
     4980                cat >>confdefs.h <<\_ACEOF 
     4981#define PJ_HAS_FLOATING_POINT 0 
     4982_ACEOF 
     4983 
     4984                { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
     4985echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
    46344986               fi 
    46354987else 
    46364988 
    4637                 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
    4638  
    4639                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
    4640 $as_echo "Checking if floating point is disabled... no" >&6; } 
    4641                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
    4642 $as_echo_n "checking for fmod in -lm... " >&6; } 
    4643 if test "${ac_cv_lib_m_fmod+set}" = set; then : 
    4644   $as_echo_n "(cached) " >&6 
     4989                cat >>confdefs.h <<\_ACEOF 
     4990#define PJ_HAS_FLOATING_POINT 1 
     4991_ACEOF 
     4992 
     4993                { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
     4994echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
     4995 
     4996{ echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
     4997echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
     4998if test "${ac_cv_lib_m_fmod+set}" = set; then 
     4999  echo $ECHO_N "(cached) $ECHO_C" >&6 
    46455000else 
    46465001  ac_check_lib_save_LIBS=$LIBS 
    46475002LIBS="-lm  $LIBS" 
    4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     5003cat >conftest.$ac_ext <<_ACEOF 
     5004/* confdefs.h.  */ 
     5005_ACEOF 
     5006cat confdefs.h >>conftest.$ac_ext 
     5007cat >>conftest.$ac_ext <<_ACEOF 
    46495008/* end confdefs.h.  */ 
    46505009 
     
    46645023} 
    46655024_ACEOF 
    4666 if ac_fn_c_try_link "$LINENO"; then : 
     5025rm -f conftest.$ac_objext conftest$ac_exeext 
     5026if { (ac_try="$ac_link" 
     5027case "(($ac_try" in 
     5028  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5029  *) ac_try_echo=$ac_try;; 
     5030esac 
     5031eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5032  (eval "$ac_link") 2>conftest.er1 
     5033  ac_status=$? 
     5034  grep -v '^ *+' conftest.er1 >conftest.err 
     5035  rm -f conftest.er1 
     5036  cat conftest.err >&5 
     5037  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5038  (exit $ac_status); } && { 
     5039         test -z "$ac_c_werror_flag" || 
     5040         test ! -s conftest.err 
     5041       } && test -s conftest$ac_exeext && 
     5042       $as_test_x conftest$ac_exeext; then 
    46675043  ac_cv_lib_m_fmod=yes 
    46685044else 
    4669   ac_cv_lib_m_fmod=no 
    4670 fi 
    4671 rm -f core conftest.err conftest.$ac_objext \ 
    4672     conftest$ac_exeext conftest.$ac_ext 
     5045  echo "$as_me: failed program was:" >&5 
     5046sed 's/^/| /' conftest.$ac_ext >&5 
     5047 
     5048        ac_cv_lib_m_fmod=no 
     5049fi 
     5050 
     5051rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     5052      conftest$ac_exeext conftest.$ac_ext 
    46735053LIBS=$ac_check_lib_save_LIBS 
    46745054fi 
    4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
    4676 $as_echo "$ac_cv_lib_m_fmod" >&6; } 
    4677 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
     5055{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
     5056echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
     5057if test $ac_cv_lib_m_fmod = yes; then 
    46785058  cat >>confdefs.h <<_ACEOF 
    46795059#define HAVE_LIBM 1 
     
    46895069 
    46905070 
    4691 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
    4692 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
    4693   $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
    4694  
    4695 fi 
    4696  
    4697  
    4698 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
    4699 if test "x$ac_cv_header_assert_h" = x""yes; then : 
    4700   $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
    4701  
    4702 fi 
    4703  
    4704  
    4705 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
    4706 if test "x$ac_cv_header_ctype_h" = x""yes; then : 
    4707   $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
     5071if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5072  { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     5073echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
     5074if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5075  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5076fi 
     5077{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     5078echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
     5079else 
     5080  # Is the header compilable? 
     5081{ echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
     5082echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
     5083cat >conftest.$ac_ext <<_ACEOF 
     5084/* confdefs.h.  */ 
     5085_ACEOF 
     5086cat confdefs.h >>conftest.$ac_ext 
     5087cat >>conftest.$ac_ext <<_ACEOF 
     5088/* end confdefs.h.  */ 
     5089$ac_includes_default 
     5090#include <arpa/inet.h> 
     5091_ACEOF 
     5092rm -f conftest.$ac_objext 
     5093if { (ac_try="$ac_compile" 
     5094case "(($ac_try" in 
     5095  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5096  *) ac_try_echo=$ac_try;; 
     5097esac 
     5098eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5099  (eval "$ac_compile") 2>conftest.er1 
     5100  ac_status=$? 
     5101  grep -v '^ *+' conftest.er1 >conftest.err 
     5102  rm -f conftest.er1 
     5103  cat conftest.err >&5 
     5104  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5105  (exit $ac_status); } && { 
     5106         test -z "$ac_c_werror_flag" || 
     5107         test ! -s conftest.err 
     5108       } && test -s conftest.$ac_objext; then 
     5109  ac_header_compiler=yes 
     5110else 
     5111  echo "$as_me: failed program was:" >&5 
     5112sed 's/^/| /' conftest.$ac_ext >&5 
     5113 
     5114        ac_header_compiler=no 
     5115fi 
     5116 
     5117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5118{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5119echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5120 
     5121# Is the header present? 
     5122{ echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
     5123echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
     5124cat >conftest.$ac_ext <<_ACEOF 
     5125/* confdefs.h.  */ 
     5126_ACEOF 
     5127cat confdefs.h >>conftest.$ac_ext 
     5128cat >>conftest.$ac_ext <<_ACEOF 
     5129/* end confdefs.h.  */ 
     5130#include <arpa/inet.h> 
     5131_ACEOF 
     5132if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5133case "(($ac_try" in 
     5134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5135  *) ac_try_echo=$ac_try;; 
     5136esac 
     5137eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5138  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5139  ac_status=$? 
     5140  grep -v '^ *+' conftest.er1 >conftest.err 
     5141  rm -f conftest.er1 
     5142  cat conftest.err >&5 
     5143  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5144  (exit $ac_status); } >/dev/null && { 
     5145         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5146         test ! -s conftest.err 
     5147       }; then 
     5148  ac_header_preproc=yes 
     5149else 
     5150  echo "$as_me: failed program was:" >&5 
     5151sed 's/^/| /' conftest.$ac_ext >&5 
     5152 
     5153  ac_header_preproc=no 
     5154fi 
     5155 
     5156rm -f conftest.err conftest.$ac_ext 
     5157{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5158echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5159 
     5160# So?  What about this header? 
     5161case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5162  yes:no: ) 
     5163    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5164echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5165    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
     5166echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
     5167    ac_header_preproc=yes 
     5168    ;; 
     5169  no:yes:* ) 
     5170    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
     5171echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
     5172    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
     5173echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
     5174    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
     5175echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
     5176    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5177echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5178    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
     5179echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
     5180    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
     5181echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
     5182 
     5183    ;; 
     5184esac 
     5185{ echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     5186echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
     5187if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5188  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5189else 
     5190  ac_cv_header_arpa_inet_h=$ac_header_preproc 
     5191fi 
     5192{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     5193echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
     5194 
     5195fi 
     5196if test $ac_cv_header_arpa_inet_h = yes; then 
     5197  cat >>confdefs.h <<\_ACEOF 
     5198#define PJ_HAS_ARPA_INET_H 1 
     5199_ACEOF 
     5200 
     5201fi 
     5202 
     5203 
     5204if test "${ac_cv_header_assert_h+set}" = set; then 
     5205  { echo "$as_me:$LINENO: checking for assert.h" >&5 
     5206echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
     5207if test "${ac_cv_header_assert_h+set}" = set; then 
     5208  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5209fi 
     5210{ echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     5211echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
     5212else 
     5213  # Is the header compilable? 
     5214{ echo "$as_me:$LINENO: checking assert.h usability" >&5 
     5215echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
     5216cat >conftest.$ac_ext <<_ACEOF 
     5217/* confdefs.h.  */ 
     5218_ACEOF 
     5219cat confdefs.h >>conftest.$ac_ext 
     5220cat >>conftest.$ac_ext <<_ACEOF 
     5221/* end confdefs.h.  */ 
     5222$ac_includes_default 
     5223#include <assert.h> 
     5224_ACEOF 
     5225rm -f conftest.$ac_objext 
     5226if { (ac_try="$ac_compile" 
     5227case "(($ac_try" in 
     5228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5229  *) ac_try_echo=$ac_try;; 
     5230esac 
     5231eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5232  (eval "$ac_compile") 2>conftest.er1 
     5233  ac_status=$? 
     5234  grep -v '^ *+' conftest.er1 >conftest.err 
     5235  rm -f conftest.er1 
     5236  cat conftest.err >&5 
     5237  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5238  (exit $ac_status); } && { 
     5239         test -z "$ac_c_werror_flag" || 
     5240         test ! -s conftest.err 
     5241       } && test -s conftest.$ac_objext; then 
     5242  ac_header_compiler=yes 
     5243else 
     5244  echo "$as_me: failed program was:" >&5 
     5245sed 's/^/| /' conftest.$ac_ext >&5 
     5246 
     5247        ac_header_compiler=no 
     5248fi 
     5249 
     5250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5251{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5252echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5253 
     5254# Is the header present? 
     5255{ echo "$as_me:$LINENO: checking assert.h presence" >&5 
     5256echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
     5257cat >conftest.$ac_ext <<_ACEOF 
     5258/* confdefs.h.  */ 
     5259_ACEOF 
     5260cat confdefs.h >>conftest.$ac_ext 
     5261cat >>conftest.$ac_ext <<_ACEOF 
     5262/* end confdefs.h.  */ 
     5263#include <assert.h> 
     5264_ACEOF 
     5265if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5266case "(($ac_try" in 
     5267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5268  *) ac_try_echo=$ac_try;; 
     5269esac 
     5270eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5271  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5272  ac_status=$? 
     5273  grep -v '^ *+' conftest.er1 >conftest.err 
     5274  rm -f conftest.er1 
     5275  cat conftest.err >&5 
     5276  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5277  (exit $ac_status); } >/dev/null && { 
     5278         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5279         test ! -s conftest.err 
     5280       }; then 
     5281  ac_header_preproc=yes 
     5282else 
     5283  echo "$as_me: failed program was:" >&5 
     5284sed 's/^/| /' conftest.$ac_ext >&5 
     5285 
     5286  ac_header_preproc=no 
     5287fi 
     5288 
     5289rm -f conftest.err conftest.$ac_ext 
     5290{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5291echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5292 
     5293# So?  What about this header? 
     5294case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5295  yes:no: ) 
     5296    { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5297echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5298    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
     5299echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
     5300    ac_header_preproc=yes 
     5301    ;; 
     5302  no:yes:* ) 
     5303    { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
     5304echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
     5305    { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
     5306echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
     5307    { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
     5308echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
     5309    { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5310echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5311    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
     5312echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
     5313    { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
     5314echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
     5315 
     5316    ;; 
     5317esac 
     5318{ echo "$as_me:$LINENO: checking for assert.h" >&5 
     5319echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
     5320if test "${ac_cv_header_assert_h+set}" = set; then 
     5321  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5322else 
     5323  ac_cv_header_assert_h=$ac_header_preproc 
     5324fi 
     5325{ echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     5326echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
     5327 
     5328fi 
     5329if test $ac_cv_header_assert_h = yes; then 
     5330  cat >>confdefs.h <<\_ACEOF 
     5331#define PJ_HAS_ASSERT_H 1 
     5332_ACEOF 
     5333 
     5334fi 
     5335 
     5336 
     5337if test "${ac_cv_header_ctype_h+set}" = set; then 
     5338  { echo "$as_me:$LINENO: checking for ctype.h" >&5 
     5339echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
     5340if test "${ac_cv_header_ctype_h+set}" = set; then 
     5341  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5342fi 
     5343{ echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     5344echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
     5345else 
     5346  # Is the header compilable? 
     5347{ echo "$as_me:$LINENO: checking ctype.h usability" >&5 
     5348echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
     5349cat >conftest.$ac_ext <<_ACEOF 
     5350/* confdefs.h.  */ 
     5351_ACEOF 
     5352cat confdefs.h >>conftest.$ac_ext 
     5353cat >>conftest.$ac_ext <<_ACEOF 
     5354/* end confdefs.h.  */ 
     5355$ac_includes_default 
     5356#include <ctype.h> 
     5357_ACEOF 
     5358rm -f conftest.$ac_objext 
     5359if { (ac_try="$ac_compile" 
     5360case "(($ac_try" in 
     5361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5362  *) ac_try_echo=$ac_try;; 
     5363esac 
     5364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5365  (eval "$ac_compile") 2>conftest.er1 
     5366  ac_status=$? 
     5367  grep -v '^ *+' conftest.er1 >conftest.err 
     5368  rm -f conftest.er1 
     5369  cat conftest.err >&5 
     5370  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5371  (exit $ac_status); } && { 
     5372         test -z "$ac_c_werror_flag" || 
     5373         test ! -s conftest.err 
     5374       } && test -s conftest.$ac_objext; then 
     5375  ac_header_compiler=yes 
     5376else 
     5377  echo "$as_me: failed program was:" >&5 
     5378sed 's/^/| /' conftest.$ac_ext >&5 
     5379 
     5380        ac_header_compiler=no 
     5381fi 
     5382 
     5383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5384{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5385echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5386 
     5387# Is the header present? 
     5388{ echo "$as_me:$LINENO: checking ctype.h presence" >&5 
     5389echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
     5390cat >conftest.$ac_ext <<_ACEOF 
     5391/* confdefs.h.  */ 
     5392_ACEOF 
     5393cat confdefs.h >>conftest.$ac_ext 
     5394cat >>conftest.$ac_ext <<_ACEOF 
     5395/* end confdefs.h.  */ 
     5396#include <ctype.h> 
     5397_ACEOF 
     5398if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5399case "(($ac_try" in 
     5400  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5401  *) ac_try_echo=$ac_try;; 
     5402esac 
     5403eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5404  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5405  ac_status=$? 
     5406  grep -v '^ *+' conftest.er1 >conftest.err 
     5407  rm -f conftest.er1 
     5408  cat conftest.err >&5 
     5409  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5410  (exit $ac_status); } >/dev/null && { 
     5411         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5412         test ! -s conftest.err 
     5413       }; then 
     5414  ac_header_preproc=yes 
     5415else 
     5416  echo "$as_me: failed program was:" >&5 
     5417sed 's/^/| /' conftest.$ac_ext >&5 
     5418 
     5419  ac_header_preproc=no 
     5420fi 
     5421 
     5422rm -f conftest.err conftest.$ac_ext 
     5423{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5424echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5425 
     5426# So?  What about this header? 
     5427case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5428  yes:no: ) 
     5429    { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5430echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5431    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
     5432echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
     5433    ac_header_preproc=yes 
     5434    ;; 
     5435  no:yes:* ) 
     5436    { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
     5437echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
     5438    { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
     5439echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
     5440    { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
     5441echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
     5442    { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5443echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5444    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
     5445echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
     5446    { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
     5447echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
     5448 
     5449    ;; 
     5450esac 
     5451{ echo "$as_me:$LINENO: checking for ctype.h" >&5 
     5452echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
     5453if test "${ac_cv_header_ctype_h+set}" = set; then 
     5454  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5455else 
     5456  ac_cv_header_ctype_h=$ac_header_preproc 
     5457fi 
     5458{ echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     5459echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
     5460 
     5461fi 
     5462if test $ac_cv_header_ctype_h = yes; then 
     5463  cat >>confdefs.h <<\_ACEOF 
     5464#define PJ_HAS_CTYPE_H 1 
     5465_ACEOF 
    47085466 
    47095467fi 
     
    47135471case $target in 
    47145472    *mingw* | *cygw* | *win32* | *w32* ) 
    4715         $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
     5473        cat >>confdefs.h <<\_ACEOF 
     5474#define PJ_HAS_ERRNO_H 0 
     5475_ACEOF 
    47165476 
    47175477        ;; 
    47185478    *) 
    4719         ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
    4720 if test "x$ac_cv_header_errno_h" = x""yes; then : 
    4721   $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
     5479        if test "${ac_cv_header_errno_h+set}" = set; then 
     5480  { echo "$as_me:$LINENO: checking for errno.h" >&5 
     5481echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
     5482if test "${ac_cv_header_errno_h+set}" = set; then 
     5483  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5484fi 
     5485{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     5486echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
     5487else 
     5488  # Is the header compilable? 
     5489{ echo "$as_me:$LINENO: checking errno.h usability" >&5 
     5490echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
     5491cat >conftest.$ac_ext <<_ACEOF 
     5492/* confdefs.h.  */ 
     5493_ACEOF 
     5494cat confdefs.h >>conftest.$ac_ext 
     5495cat >>conftest.$ac_ext <<_ACEOF 
     5496/* end confdefs.h.  */ 
     5497$ac_includes_default 
     5498#include <errno.h> 
     5499_ACEOF 
     5500rm -f conftest.$ac_objext 
     5501if { (ac_try="$ac_compile" 
     5502case "(($ac_try" in 
     5503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5504  *) ac_try_echo=$ac_try;; 
     5505esac 
     5506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5507  (eval "$ac_compile") 2>conftest.er1 
     5508  ac_status=$? 
     5509  grep -v '^ *+' conftest.er1 >conftest.err 
     5510  rm -f conftest.er1 
     5511  cat conftest.err >&5 
     5512  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5513  (exit $ac_status); } && { 
     5514         test -z "$ac_c_werror_flag" || 
     5515         test ! -s conftest.err 
     5516       } && test -s conftest.$ac_objext; then 
     5517  ac_header_compiler=yes 
     5518else 
     5519  echo "$as_me: failed program was:" >&5 
     5520sed 's/^/| /' conftest.$ac_ext >&5 
     5521 
     5522        ac_header_compiler=no 
     5523fi 
     5524 
     5525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5526{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5527echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5528 
     5529# Is the header present? 
     5530{ echo "$as_me:$LINENO: checking errno.h presence" >&5 
     5531echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
     5532cat >conftest.$ac_ext <<_ACEOF 
     5533/* confdefs.h.  */ 
     5534_ACEOF 
     5535cat confdefs.h >>conftest.$ac_ext 
     5536cat >>conftest.$ac_ext <<_ACEOF 
     5537/* end confdefs.h.  */ 
     5538#include <errno.h> 
     5539_ACEOF 
     5540if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5541case "(($ac_try" in 
     5542  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5543  *) ac_try_echo=$ac_try;; 
     5544esac 
     5545eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5546  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5547  ac_status=$? 
     5548  grep -v '^ *+' conftest.er1 >conftest.err 
     5549  rm -f conftest.er1 
     5550  cat conftest.err >&5 
     5551  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5552  (exit $ac_status); } >/dev/null && { 
     5553         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5554         test ! -s conftest.err 
     5555       }; then 
     5556  ac_header_preproc=yes 
     5557else 
     5558  echo "$as_me: failed program was:" >&5 
     5559sed 's/^/| /' conftest.$ac_ext >&5 
     5560 
     5561  ac_header_preproc=no 
     5562fi 
     5563 
     5564rm -f conftest.err conftest.$ac_ext 
     5565{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5566echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5567 
     5568# So?  What about this header? 
     5569case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5570  yes:no: ) 
     5571    { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5572echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5573    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
     5574echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
     5575    ac_header_preproc=yes 
     5576    ;; 
     5577  no:yes:* ) 
     5578    { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
     5579echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
     5580    { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
     5581echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
     5582    { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
     5583echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
     5584    { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5585echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5586    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
     5587echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
     5588    { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
     5589echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
     5590 
     5591    ;; 
     5592esac 
     5593{ echo "$as_me:$LINENO: checking for errno.h" >&5 
     5594echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
     5595if test "${ac_cv_header_errno_h+set}" = set; then 
     5596  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5597else 
     5598  ac_cv_header_errno_h=$ac_header_preproc 
     5599fi 
     5600{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     5601echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
     5602 
     5603fi 
     5604if test $ac_cv_header_errno_h = yes; then 
     5605  cat >>confdefs.h <<\_ACEOF 
     5606#define PJ_HAS_ERRNO_H 1 
     5607_ACEOF 
    47225608 
    47235609fi 
     
    47275613esac 
    47285614 
    4729 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
    4730 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
    4731   $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
    4732  
    4733 fi 
    4734  
    4735  
    4736 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
    4737 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
    4738   $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
    4739  
    4740 fi 
    4741  
    4742  
    4743 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
    4744 if test "x$ac_cv_header_malloc_h" = x""yes; then : 
    4745   $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
    4746  
    4747 fi 
    4748  
    4749  
    4750 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
    4751 if test "x$ac_cv_header_netdb_h" = x""yes; then : 
    4752   $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
    4753  
    4754 fi 
    4755  
    4756  
    4757 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
    4758 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
    4759   $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
    4760  
    4761 fi 
    4762  
    4763  
    4764 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
    4765 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
    4766   $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
    4767  
    4768 fi 
    4769  
    4770  
    4771 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
     5615if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5616  { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
     5617echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
     5618if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5619  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5620fi 
     5621{ echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
     5622echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
     5623else 
     5624  # Is the header compilable? 
     5625{ echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
     5626echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
     5627cat >conftest.$ac_ext <<_ACEOF 
     5628/* confdefs.h.  */ 
     5629_ACEOF 
     5630cat confdefs.h >>conftest.$ac_ext 
     5631cat >>conftest.$ac_ext <<_ACEOF 
     5632/* end confdefs.h.  */ 
     5633$ac_includes_default 
     5634#include <fcntl.h> 
     5635_ACEOF 
     5636rm -f conftest.$ac_objext 
     5637if { (ac_try="$ac_compile" 
     5638case "(($ac_try" in 
     5639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5640  *) ac_try_echo=$ac_try;; 
     5641esac 
     5642eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5643  (eval "$ac_compile") 2>conftest.er1 
     5644  ac_status=$? 
     5645  grep -v '^ *+' conftest.er1 >conftest.err 
     5646  rm -f conftest.er1 
     5647  cat conftest.err >&5 
     5648  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5649  (exit $ac_status); } && { 
     5650         test -z "$ac_c_werror_flag" || 
     5651         test ! -s conftest.err 
     5652       } && test -s conftest.$ac_objext; then 
     5653  ac_header_compiler=yes 
     5654else 
     5655  echo "$as_me: failed program was:" >&5 
     5656sed 's/^/| /' conftest.$ac_ext >&5 
     5657 
     5658        ac_header_compiler=no 
     5659fi 
     5660 
     5661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5662{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5663echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5664 
     5665# Is the header present? 
     5666{ echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
     5667echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
     5668cat >conftest.$ac_ext <<_ACEOF 
     5669/* confdefs.h.  */ 
     5670_ACEOF 
     5671cat confdefs.h >>conftest.$ac_ext 
     5672cat >>conftest.$ac_ext <<_ACEOF 
     5673/* end confdefs.h.  */ 
     5674#include <fcntl.h> 
     5675_ACEOF 
     5676if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5677case "(($ac_try" in 
     5678  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5679  *) ac_try_echo=$ac_try;; 
     5680esac 
     5681eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5682  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5683  ac_status=$? 
     5684  grep -v '^ *+' conftest.er1 >conftest.err 
     5685  rm -f conftest.er1 
     5686  cat conftest.err >&5 
     5687  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5688  (exit $ac_status); } >/dev/null && { 
     5689         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5690         test ! -s conftest.err 
     5691       }; then 
     5692  ac_header_preproc=yes 
     5693else 
     5694  echo "$as_me: failed program was:" >&5 
     5695sed 's/^/| /' conftest.$ac_ext >&5 
     5696 
     5697  ac_header_preproc=no 
     5698fi 
     5699 
     5700rm -f conftest.err conftest.$ac_ext 
     5701{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5702echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5703 
     5704# So?  What about this header? 
     5705case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5706  yes:no: ) 
     5707    { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5708echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5709    { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
     5710echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
     5711    ac_header_preproc=yes 
     5712    ;; 
     5713  no:yes:* ) 
     5714    { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
     5715echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
     5716    { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
     5717echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
     5718    { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
     5719echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
     5720    { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5721echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5722    { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
     5723echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
     5724    { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
     5725echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
     5726 
     5727    ;; 
     5728esac 
     5729{ echo "$as_me:$LINENO: checking for fcntl.h" >&5 
     5730echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
     5731if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5732  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5733else 
     5734  ac_cv_header_fcntl_h=$ac_header_preproc 
     5735fi 
     5736{ echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
     5737echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
     5738 
     5739fi 
     5740if test $ac_cv_header_fcntl_h = yes; then 
     5741  cat >>confdefs.h <<\_ACEOF 
     5742#define PJ_HAS_FCNTL_H 1 
     5743_ACEOF 
     5744 
     5745fi 
     5746 
     5747 
     5748if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5749  { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     5750echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
     5751if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5752  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5753fi 
     5754{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     5755echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
     5756else 
     5757  # Is the header compilable? 
     5758{ echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
     5759echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
     5760cat >conftest.$ac_ext <<_ACEOF 
     5761/* confdefs.h.  */ 
     5762_ACEOF 
     5763cat confdefs.h >>conftest.$ac_ext 
     5764cat >>conftest.$ac_ext <<_ACEOF 
     5765/* end confdefs.h.  */ 
     5766$ac_includes_default 
     5767#include <linux/socket.h> 
     5768_ACEOF 
     5769rm -f conftest.$ac_objext 
     5770if { (ac_try="$ac_compile" 
     5771case "(($ac_try" in 
     5772  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5773  *) ac_try_echo=$ac_try;; 
     5774esac 
     5775eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5776  (eval "$ac_compile") 2>conftest.er1 
     5777  ac_status=$? 
     5778  grep -v '^ *+' conftest.er1 >conftest.err 
     5779  rm -f conftest.er1 
     5780  cat conftest.err >&5 
     5781  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5782  (exit $ac_status); } && { 
     5783         test -z "$ac_c_werror_flag" || 
     5784         test ! -s conftest.err 
     5785       } && test -s conftest.$ac_objext; then 
     5786  ac_header_compiler=yes 
     5787else 
     5788  echo "$as_me: failed program was:" >&5 
     5789sed 's/^/| /' conftest.$ac_ext >&5 
     5790 
     5791        ac_header_compiler=no 
     5792fi 
     5793 
     5794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5795{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5796echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5797 
     5798# Is the header present? 
     5799{ echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
     5800echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
     5801cat >conftest.$ac_ext <<_ACEOF 
     5802/* confdefs.h.  */ 
     5803_ACEOF 
     5804cat confdefs.h >>conftest.$ac_ext 
     5805cat >>conftest.$ac_ext <<_ACEOF 
     5806/* end confdefs.h.  */ 
     5807#include <linux/socket.h> 
     5808_ACEOF 
     5809if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5810case "(($ac_try" in 
     5811  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5812  *) ac_try_echo=$ac_try;; 
     5813esac 
     5814eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5815  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5816  ac_status=$? 
     5817  grep -v '^ *+' conftest.er1 >conftest.err 
     5818  rm -f conftest.er1 
     5819  cat conftest.err >&5 
     5820  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5821  (exit $ac_status); } >/dev/null && { 
     5822         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5823         test ! -s conftest.err 
     5824       }; then 
     5825  ac_header_preproc=yes 
     5826else 
     5827  echo "$as_me: failed program was:" >&5 
     5828sed 's/^/| /' conftest.$ac_ext >&5 
     5829 
     5830  ac_header_preproc=no 
     5831fi 
     5832 
     5833rm -f conftest.err conftest.$ac_ext 
     5834{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5835echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5836 
     5837# So?  What about this header? 
     5838case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5839  yes:no: ) 
     5840    { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5841echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5842    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
     5843echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
     5844    ac_header_preproc=yes 
     5845    ;; 
     5846  no:yes:* ) 
     5847    { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
     5848echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
     5849    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
     5850echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
     5851    { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
     5852echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
     5853    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5854echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5855    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
     5856echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
     5857    { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
     5858echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
     5859 
     5860    ;; 
     5861esac 
     5862{ echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     5863echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
     5864if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5865  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5866else 
     5867  ac_cv_header_linux_socket_h=$ac_header_preproc 
     5868fi 
     5869{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     5870echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
     5871 
     5872fi 
     5873if test $ac_cv_header_linux_socket_h = yes; then 
     5874  cat >>confdefs.h <<\_ACEOF 
     5875#define PJ_HAS_LINUX_SOCKET_H 1 
     5876_ACEOF 
     5877 
     5878fi 
     5879 
     5880 
     5881if test "${ac_cv_header_malloc_h+set}" = set; then 
     5882  { echo "$as_me:$LINENO: checking for malloc.h" >&5 
     5883echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
     5884if test "${ac_cv_header_malloc_h+set}" = set; then 
     5885  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5886fi 
     5887{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     5888echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
     5889else 
     5890  # Is the header compilable? 
     5891{ echo "$as_me:$LINENO: checking malloc.h usability" >&5 
     5892echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
     5893cat >conftest.$ac_ext <<_ACEOF 
     5894/* confdefs.h.  */ 
     5895_ACEOF 
     5896cat confdefs.h >>conftest.$ac_ext 
     5897cat >>conftest.$ac_ext <<_ACEOF 
     5898/* end confdefs.h.  */ 
     5899$ac_includes_default 
     5900#include <malloc.h> 
     5901_ACEOF 
     5902rm -f conftest.$ac_objext 
     5903if { (ac_try="$ac_compile" 
     5904case "(($ac_try" in 
     5905  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5906  *) ac_try_echo=$ac_try;; 
     5907esac 
     5908eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5909  (eval "$ac_compile") 2>conftest.er1 
     5910  ac_status=$? 
     5911  grep -v '^ *+' conftest.er1 >conftest.err 
     5912  rm -f conftest.er1 
     5913  cat conftest.err >&5 
     5914  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5915  (exit $ac_status); } && { 
     5916         test -z "$ac_c_werror_flag" || 
     5917         test ! -s conftest.err 
     5918       } && test -s conftest.$ac_objext; then 
     5919  ac_header_compiler=yes 
     5920else 
     5921  echo "$as_me: failed program was:" >&5 
     5922sed 's/^/| /' conftest.$ac_ext >&5 
     5923 
     5924        ac_header_compiler=no 
     5925fi 
     5926 
     5927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5928{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5929echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5930 
     5931# Is the header present? 
     5932{ echo "$as_me:$LINENO: checking malloc.h presence" >&5 
     5933echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
     5934cat >conftest.$ac_ext <<_ACEOF 
     5935/* confdefs.h.  */ 
     5936_ACEOF 
     5937cat confdefs.h >>conftest.$ac_ext 
     5938cat >>conftest.$ac_ext <<_ACEOF 
     5939/* end confdefs.h.  */ 
     5940#include <malloc.h> 
     5941_ACEOF 
     5942if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5943case "(($ac_try" in 
     5944  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5945  *) ac_try_echo=$ac_try;; 
     5946esac 
     5947eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5948  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5949  ac_status=$? 
     5950  grep -v '^ *+' conftest.er1 >conftest.err 
     5951  rm -f conftest.er1 
     5952  cat conftest.err >&5 
     5953  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5954  (exit $ac_status); } >/dev/null && { 
     5955         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5956         test ! -s conftest.err 
     5957       }; then 
     5958  ac_header_preproc=yes 
     5959else 
     5960  echo "$as_me: failed program was:" >&5 
     5961sed 's/^/| /' conftest.$ac_ext >&5 
     5962 
     5963  ac_header_preproc=no 
     5964fi 
     5965 
     5966rm -f conftest.err conftest.$ac_ext 
     5967{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5968echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5969 
     5970# So?  What about this header? 
     5971case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5972  yes:no: ) 
     5973    { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5974echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5975    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
     5976echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
     5977    ac_header_preproc=yes 
     5978    ;; 
     5979  no:yes:* ) 
     5980    { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
     5981echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
     5982    { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
     5983echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
     5984    { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
     5985echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
     5986    { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5987echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5988    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
     5989echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
     5990    { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
     5991echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
     5992 
     5993    ;; 
     5994esac 
     5995{ echo "$as_me:$LINENO: checking for malloc.h" >&5 
     5996echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
     5997if test "${ac_cv_header_malloc_h+set}" = set; then 
     5998  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5999else 
     6000  ac_cv_header_malloc_h=$ac_header_preproc 
     6001fi 
     6002{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     6003echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
     6004 
     6005fi 
     6006if test $ac_cv_header_malloc_h = yes; then 
     6007  cat >>confdefs.h <<\_ACEOF 
     6008#define PJ_HAS_MALLOC_H 1 
     6009_ACEOF 
     6010 
     6011fi 
     6012 
     6013 
     6014if test "${ac_cv_header_netdb_h+set}" = set; then 
     6015  { echo "$as_me:$LINENO: checking for netdb.h" >&5 
     6016echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
     6017if test "${ac_cv_header_netdb_h+set}" = set; then 
     6018  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6019fi 
     6020{ echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     6021echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
     6022else 
     6023  # Is the header compilable? 
     6024{ echo "$as_me:$LINENO: checking netdb.h usability" >&5 
     6025echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
     6026cat >conftest.$ac_ext <<_ACEOF 
     6027/* confdefs.h.  */ 
     6028_ACEOF 
     6029cat confdefs.h >>conftest.$ac_ext 
     6030cat >>conftest.$ac_ext <<_ACEOF 
     6031/* end confdefs.h.  */ 
     6032$ac_includes_default 
     6033#include <netdb.h> 
     6034_ACEOF 
     6035rm -f conftest.$ac_objext 
     6036if { (ac_try="$ac_compile" 
     6037case "(($ac_try" in 
     6038  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6039  *) ac_try_echo=$ac_try;; 
     6040esac 
     6041eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6042  (eval "$ac_compile") 2>conftest.er1 
     6043  ac_status=$? 
     6044  grep -v '^ *+' conftest.er1 >conftest.err 
     6045  rm -f conftest.er1 
     6046  cat conftest.err >&5 
     6047  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6048  (exit $ac_status); } && { 
     6049         test -z "$ac_c_werror_flag" || 
     6050         test ! -s conftest.err 
     6051       } && test -s conftest.$ac_objext; then 
     6052  ac_header_compiler=yes 
     6053else 
     6054  echo "$as_me: failed program was:" >&5 
     6055sed 's/^/| /' conftest.$ac_ext >&5 
     6056 
     6057        ac_header_compiler=no 
     6058fi 
     6059 
     6060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6061{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6062echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6063 
     6064# Is the header present? 
     6065{ echo "$as_me:$LINENO: checking netdb.h presence" >&5 
     6066echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
     6067cat >conftest.$ac_ext <<_ACEOF 
     6068/* confdefs.h.  */ 
     6069_ACEOF 
     6070cat confdefs.h >>conftest.$ac_ext 
     6071cat >>conftest.$ac_ext <<_ACEOF 
     6072/* end confdefs.h.  */ 
     6073#include <netdb.h> 
     6074_ACEOF 
     6075if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6076case "(($ac_try" in 
     6077  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6078  *) ac_try_echo=$ac_try;; 
     6079esac 
     6080eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6081  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6082  ac_status=$? 
     6083  grep -v '^ *+' conftest.er1 >conftest.err 
     6084  rm -f conftest.er1 
     6085  cat conftest.err >&5 
     6086  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6087  (exit $ac_status); } >/dev/null && { 
     6088         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6089         test ! -s conftest.err 
     6090       }; then 
     6091  ac_header_preproc=yes 
     6092else 
     6093  echo "$as_me: failed program was:" >&5 
     6094sed 's/^/| /' conftest.$ac_ext >&5 
     6095 
     6096  ac_header_preproc=no 
     6097fi 
     6098 
     6099rm -f conftest.err conftest.$ac_ext 
     6100{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6101echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6102 
     6103# So?  What about this header? 
     6104case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6105  yes:no: ) 
     6106    { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6107echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6108    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
     6109echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
     6110    ac_header_preproc=yes 
     6111    ;; 
     6112  no:yes:* ) 
     6113    { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
     6114echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
     6115    { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
     6116echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
     6117    { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
     6118echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
     6119    { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6120echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6121    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
     6122echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
     6123    { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
     6124echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
     6125 
     6126    ;; 
     6127esac 
     6128{ echo "$as_me:$LINENO: checking for netdb.h" >&5 
     6129echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
     6130if test "${ac_cv_header_netdb_h+set}" = set; then 
     6131  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6132else 
     6133  ac_cv_header_netdb_h=$ac_header_preproc 
     6134fi 
     6135{ echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     6136echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
     6137 
     6138fi 
     6139if test $ac_cv_header_netdb_h = yes; then 
     6140  cat >>confdefs.h <<\_ACEOF 
     6141#define PJ_HAS_NETDB_H 1 
     6142_ACEOF 
     6143 
     6144fi 
     6145 
     6146 
     6147if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6148  { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
     6149echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
     6150if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6151  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6152fi 
     6153{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
     6154echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
     6155else 
     6156  # Is the header compilable? 
     6157{ echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
     6158echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
     6159cat >conftest.$ac_ext <<_ACEOF 
     6160/* confdefs.h.  */ 
     6161_ACEOF 
     6162cat confdefs.h >>conftest.$ac_ext 
     6163cat >>conftest.$ac_ext <<_ACEOF 
     6164/* end confdefs.h.  */ 
     6165$ac_includes_default 
     6166#include <netinet/in_systm.h> 
     6167_ACEOF 
     6168rm -f conftest.$ac_objext 
     6169if { (ac_try="$ac_compile" 
     6170case "(($ac_try" in 
     6171  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6172  *) ac_try_echo=$ac_try;; 
     6173esac 
     6174eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6175  (eval "$ac_compile") 2>conftest.er1 
     6176  ac_status=$? 
     6177  grep -v '^ *+' conftest.er1 >conftest.err 
     6178  rm -f conftest.er1 
     6179  cat conftest.err >&5 
     6180  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6181  (exit $ac_status); } && { 
     6182         test -z "$ac_c_werror_flag" || 
     6183         test ! -s conftest.err 
     6184       } && test -s conftest.$ac_objext; then 
     6185  ac_header_compiler=yes 
     6186else 
     6187  echo "$as_me: failed program was:" >&5 
     6188sed 's/^/| /' conftest.$ac_ext >&5 
     6189 
     6190        ac_header_compiler=no 
     6191fi 
     6192 
     6193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6194{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6195echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6196 
     6197# Is the header present? 
     6198{ echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
     6199echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
     6200cat >conftest.$ac_ext <<_ACEOF 
     6201/* confdefs.h.  */ 
     6202_ACEOF 
     6203cat confdefs.h >>conftest.$ac_ext 
     6204cat >>conftest.$ac_ext <<_ACEOF 
     6205/* end confdefs.h.  */ 
     6206#include <netinet/in_systm.h> 
     6207_ACEOF 
     6208if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6209case "(($ac_try" in 
     6210  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6211  *) ac_try_echo=$ac_try;; 
     6212esac 
     6213eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6214  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6215  ac_status=$? 
     6216  grep -v '^ *+' conftest.er1 >conftest.err 
     6217  rm -f conftest.er1 
     6218  cat conftest.err >&5 
     6219  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6220  (exit $ac_status); } >/dev/null && { 
     6221         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6222         test ! -s conftest.err 
     6223       }; then 
     6224  ac_header_preproc=yes 
     6225else 
     6226  echo "$as_me: failed program was:" >&5 
     6227sed 's/^/| /' conftest.$ac_ext >&5 
     6228 
     6229  ac_header_preproc=no 
     6230fi 
     6231 
     6232rm -f conftest.err conftest.$ac_ext 
     6233{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6234echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6235 
     6236# So?  What about this header? 
     6237case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6238  yes:no: ) 
     6239    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6240echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6241    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
     6242echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
     6243    ac_header_preproc=yes 
     6244    ;; 
     6245  no:yes:* ) 
     6246    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
     6247echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
     6248    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
     6249echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
     6250    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
     6251echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
     6252    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6253echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6254    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
     6255echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
     6256    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
     6257echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
     6258 
     6259    ;; 
     6260esac 
     6261{ echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
     6262echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
     6263if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6264  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6265else 
     6266  ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
     6267fi 
     6268{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
     6269echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
     6270 
     6271fi 
     6272if test $ac_cv_header_netinet_in_systm_h = yes; then 
     6273  cat >>confdefs.h <<\_ACEOF 
     6274#define PJ_HAS_NETINET_IN_SYSTM_H 1 
     6275_ACEOF 
     6276 
     6277fi 
     6278 
     6279 
     6280if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6281  { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     6282echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
     6283if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6284  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6285fi 
     6286{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     6287echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
     6288else 
     6289  # Is the header compilable? 
     6290{ echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
     6291echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
     6292cat >conftest.$ac_ext <<_ACEOF 
     6293/* confdefs.h.  */ 
     6294_ACEOF 
     6295cat confdefs.h >>conftest.$ac_ext 
     6296cat >>conftest.$ac_ext <<_ACEOF 
     6297/* end confdefs.h.  */ 
     6298$ac_includes_default 
     6299#include <netinet/in.h> 
     6300_ACEOF 
     6301rm -f conftest.$ac_objext 
     6302if { (ac_try="$ac_compile" 
     6303case "(($ac_try" in 
     6304  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6305  *) ac_try_echo=$ac_try;; 
     6306esac 
     6307eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6308  (eval "$ac_compile") 2>conftest.er1 
     6309  ac_status=$? 
     6310  grep -v '^ *+' conftest.er1 >conftest.err 
     6311  rm -f conftest.er1 
     6312  cat conftest.err >&5 
     6313  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6314  (exit $ac_status); } && { 
     6315         test -z "$ac_c_werror_flag" || 
     6316         test ! -s conftest.err 
     6317       } && test -s conftest.$ac_objext; then 
     6318  ac_header_compiler=yes 
     6319else 
     6320  echo "$as_me: failed program was:" >&5 
     6321sed 's/^/| /' conftest.$ac_ext >&5 
     6322 
     6323        ac_header_compiler=no 
     6324fi 
     6325 
     6326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6327{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6328echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6329 
     6330# Is the header present? 
     6331{ echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
     6332echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
     6333cat >conftest.$ac_ext <<_ACEOF 
     6334/* confdefs.h.  */ 
     6335_ACEOF 
     6336cat confdefs.h >>conftest.$ac_ext 
     6337cat >>conftest.$ac_ext <<_ACEOF 
     6338/* end confdefs.h.  */ 
     6339#include <netinet/in.h> 
     6340_ACEOF 
     6341if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6342case "(($ac_try" in 
     6343  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6344  *) ac_try_echo=$ac_try;; 
     6345esac 
     6346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6347  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6348  ac_status=$? 
     6349  grep -v '^ *+' conftest.er1 >conftest.err 
     6350  rm -f conftest.er1 
     6351  cat conftest.err >&5 
     6352  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6353  (exit $ac_status); } >/dev/null && { 
     6354         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6355         test ! -s conftest.err 
     6356       }; then 
     6357  ac_header_preproc=yes 
     6358else 
     6359  echo "$as_me: failed program was:" >&5 
     6360sed 's/^/| /' conftest.$ac_ext >&5 
     6361 
     6362  ac_header_preproc=no 
     6363fi 
     6364 
     6365rm -f conftest.err conftest.$ac_ext 
     6366{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6367echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6368 
     6369# So?  What about this header? 
     6370case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6371  yes:no: ) 
     6372    { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6373echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6374    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
     6375echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
     6376    ac_header_preproc=yes 
     6377    ;; 
     6378  no:yes:* ) 
     6379    { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
     6380echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
     6381    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
     6382echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
     6383    { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
     6384echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
     6385    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6386echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6387    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
     6388echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
     6389    { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
     6390echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
     6391 
     6392    ;; 
     6393esac 
     6394{ echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     6395echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
     6396if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6397  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6398else 
     6399  ac_cv_header_netinet_in_h=$ac_header_preproc 
     6400fi 
     6401{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     6402echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
     6403 
     6404fi 
     6405if test $ac_cv_header_netinet_in_h = yes; then 
     6406  cat >>confdefs.h <<\_ACEOF 
     6407#define PJ_HAS_NETINET_IN_H 1 
     6408_ACEOF 
     6409 
     6410fi 
     6411 
     6412 
     6413{ echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
     6414echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
     6415if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
     6416  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6417else 
     6418  cat >conftest.$ac_ext <<_ACEOF 
     6419/* confdefs.h.  */ 
     6420_ACEOF 
     6421cat confdefs.h >>conftest.$ac_ext 
     6422cat >>conftest.$ac_ext <<_ACEOF 
     6423/* end confdefs.h.  */ 
     6424#if PJ_HAS_SYS_TYPES_H 
    47726425                  #     include <sys/types.h> 
    47736426                  #endif 
     
    47796432                  #endif 
    47806433 
    4781 " 
    4782 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
    4783   $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
    4784  
    4785 fi 
    4786  
    4787  
    4788 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
    4789 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
    4790   $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
    4791  
    4792 fi 
    4793  
    4794  
    4795 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
    4796 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
    4797   ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
    4798 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
    4799   $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
    4800  
    4801 fi 
    4802  
    4803 fi 
    4804  
    4805  
    4806 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
    4807 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
    4808   $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
    4809  
    4810 fi 
    4811  
    4812  
    4813 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
    4814 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
    4815   $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
    4816  
    4817 fi 
    4818  
    4819  
    4820 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
    4821 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
    4822   $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
    4823  
    4824 fi 
    4825  
    4826  
    4827 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
    4828 if test "x$ac_cv_header_stddef_h" = x""yes; then : 
    4829   $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
    4830  
    4831 fi 
    4832  
    4833  
    4834 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
    4835 if test "x$ac_cv_header_stdio_h" = x""yes; then : 
    4836   $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
    4837  
    4838 fi 
    4839  
    4840  
    4841 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
    4842 if test "x$ac_cv_header_stdint_h" = x""yes; then : 
    4843   $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
    4844  
    4845 fi 
    4846  
    4847  
    4848 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
    4849 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
    4850   $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
    4851  
    4852 fi 
    4853  
    4854  
    4855 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
    4856 if test "x$ac_cv_header_string_h" = x""yes; then : 
    4857   $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
    4858  
    4859 fi 
    4860  
    4861  
    4862 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
    4863 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
    4864   $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
    4865  
    4866 fi 
    4867  
    4868  
    4869 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
    4870 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
    4871   $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
    4872  
    4873 fi 
    4874  
    4875  
    4876 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
    4877 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
    4878   $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
    4879  
    4880 fi 
    4881  
    4882  
    4883 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
    4884 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
    4885   $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
    4886  
    4887 fi 
    4888  
    4889  
    4890 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
    4891 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
    4892   $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
    4893  
    4894 fi 
    4895  
    4896  
    4897 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
    4898 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
    4899   $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
    4900  
    4901 fi 
    4902  
    4903  
    4904 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
    4905 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
    4906   $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
    4907  
    4908 fi 
    4909  
    4910  
    4911 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
    4912 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
    4913   $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
    4914  
    4915 fi 
    4916  
    4917  
    4918 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
    4919 if test "x$ac_cv_header_time_h" = x""yes; then : 
    4920   $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
    4921  
    4922 fi 
    4923  
    4924  
    4925 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
    4926 if test "x$ac_cv_header_unistd_h" = x""yes; then : 
    4927   $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
    4928  
    4929 fi 
    4930  
    4931  
    4932 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
    4933 if test "x$ac_cv_header_winsock_h" = x""yes; then : 
    4934   $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
    4935  
    4936 fi 
    4937  
    4938  
    4939 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
    4940 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
    4941   $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
    4942  
    4943 fi 
    4944  
    4945  
    4946 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
     6434 
     6435#include <netinet/ip.h> 
     6436_ACEOF 
     6437rm -f conftest.$ac_objext 
     6438if { (ac_try="$ac_compile" 
     6439case "(($ac_try" in 
     6440  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6441  *) ac_try_echo=$ac_try;; 
     6442esac 
     6443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6444  (eval "$ac_compile") 2>conftest.er1 
     6445  ac_status=$? 
     6446  grep -v '^ *+' conftest.er1 >conftest.err 
     6447  rm -f conftest.er1 
     6448  cat conftest.err >&5 
     6449  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6450  (exit $ac_status); } && { 
     6451         test -z "$ac_c_werror_flag" || 
     6452         test ! -s conftest.err 
     6453       } && test -s conftest.$ac_objext; then 
     6454  ac_cv_header_netinet_ip_h=yes 
     6455else 
     6456  echo "$as_me: failed program was:" >&5 
     6457sed 's/^/| /' conftest.$ac_ext >&5 
     6458 
     6459        ac_cv_header_netinet_ip_h=no 
     6460fi 
     6461 
     6462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6463fi 
     6464{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
     6465echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
     6466if test $ac_cv_header_netinet_ip_h = yes; then 
     6467  cat >>confdefs.h <<\_ACEOF 
     6468#define PJ_HAS_NETINET_IP_H 1 
     6469_ACEOF 
     6470 
     6471fi 
     6472 
     6473 
     6474if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6475  { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
     6476echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
     6477if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6478  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6479fi 
     6480{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
     6481echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
     6482else 
     6483  # Is the header compilable? 
     6484{ echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
     6485echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
     6486cat >conftest.$ac_ext <<_ACEOF 
     6487/* confdefs.h.  */ 
     6488_ACEOF 
     6489cat confdefs.h >>conftest.$ac_ext 
     6490cat >>conftest.$ac_ext <<_ACEOF 
     6491/* end confdefs.h.  */ 
     6492$ac_includes_default 
     6493#include <netinet/tcp.h> 
     6494_ACEOF 
     6495rm -f conftest.$ac_objext 
     6496if { (ac_try="$ac_compile" 
     6497case "(($ac_try" in 
     6498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6499  *) ac_try_echo=$ac_try;; 
     6500esac 
     6501eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6502  (eval "$ac_compile") 2>conftest.er1 
     6503  ac_status=$? 
     6504  grep -v '^ *+' conftest.er1 >conftest.err 
     6505  rm -f conftest.er1 
     6506  cat conftest.err >&5 
     6507  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6508  (exit $ac_status); } && { 
     6509         test -z "$ac_c_werror_flag" || 
     6510         test ! -s conftest.err 
     6511       } && test -s conftest.$ac_objext; then 
     6512  ac_header_compiler=yes 
     6513else 
     6514  echo "$as_me: failed program was:" >&5 
     6515sed 's/^/| /' conftest.$ac_ext >&5 
     6516 
     6517        ac_header_compiler=no 
     6518fi 
     6519 
     6520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6521{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6522echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6523 
     6524# Is the header present? 
     6525{ echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
     6526echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
     6527cat >conftest.$ac_ext <<_ACEOF 
     6528/* confdefs.h.  */ 
     6529_ACEOF 
     6530cat confdefs.h >>conftest.$ac_ext 
     6531cat >>conftest.$ac_ext <<_ACEOF 
     6532/* end confdefs.h.  */ 
     6533#include <netinet/tcp.h> 
     6534_ACEOF 
     6535if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6536case "(($ac_try" in 
     6537  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6538  *) ac_try_echo=$ac_try;; 
     6539esac 
     6540eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6541  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6542  ac_status=$? 
     6543  grep -v '^ *+' conftest.er1 >conftest.err 
     6544  rm -f conftest.er1 
     6545  cat conftest.err >&5 
     6546  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6547  (exit $ac_status); } >/dev/null && { 
     6548         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6549         test ! -s conftest.err 
     6550       }; then 
     6551  ac_header_preproc=yes 
     6552else 
     6553  echo "$as_me: failed program was:" >&5 
     6554sed 's/^/| /' conftest.$ac_ext >&5 
     6555 
     6556  ac_header_preproc=no 
     6557fi 
     6558 
     6559rm -f conftest.err conftest.$ac_ext 
     6560{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6561echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6562 
     6563# So?  What about this header? 
     6564case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6565  yes:no: ) 
     6566    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6567echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6568    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
     6569echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
     6570    ac_header_preproc=yes 
     6571    ;; 
     6572  no:yes:* ) 
     6573    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
     6574echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
     6575    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
     6576echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
     6577    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
     6578echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
     6579    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6580echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6581    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
     6582echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
     6583    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
     6584echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
     6585 
     6586    ;; 
     6587esac 
     6588{ echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
     6589echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
     6590if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6591  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6592else 
     6593  ac_cv_header_netinet_tcp_h=$ac_header_preproc 
     6594fi 
     6595{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
     6596echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
     6597 
     6598fi 
     6599if test $ac_cv_header_netinet_tcp_h = yes; then 
     6600  cat >>confdefs.h <<\_ACEOF 
     6601#define PJ_HAS_NETINET_TCP_H 1 
     6602_ACEOF 
     6603 
     6604fi 
     6605 
     6606 
     6607if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6608  { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
     6609echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
     6610if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6611  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6612fi 
     6613{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
     6614echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
     6615else 
     6616  # Is the header compilable? 
     6617{ echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
     6618echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
     6619cat >conftest.$ac_ext <<_ACEOF 
     6620/* confdefs.h.  */ 
     6621_ACEOF 
     6622cat confdefs.h >>conftest.$ac_ext 
     6623cat >>conftest.$ac_ext <<_ACEOF 
     6624/* end confdefs.h.  */ 
     6625$ac_includes_default 
     6626#include <ifaddrs.h> 
     6627_ACEOF 
     6628rm -f conftest.$ac_objext 
     6629if { (ac_try="$ac_compile" 
     6630case "(($ac_try" in 
     6631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6632  *) ac_try_echo=$ac_try;; 
     6633esac 
     6634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6635  (eval "$ac_compile") 2>conftest.er1 
     6636  ac_status=$? 
     6637  grep -v '^ *+' conftest.er1 >conftest.err 
     6638  rm -f conftest.er1 
     6639  cat conftest.err >&5 
     6640  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6641  (exit $ac_status); } && { 
     6642         test -z "$ac_c_werror_flag" || 
     6643         test ! -s conftest.err 
     6644       } && test -s conftest.$ac_objext; then 
     6645  ac_header_compiler=yes 
     6646else 
     6647  echo "$as_me: failed program was:" >&5 
     6648sed 's/^/| /' conftest.$ac_ext >&5 
     6649 
     6650        ac_header_compiler=no 
     6651fi 
     6652 
     6653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6654{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6655echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6656 
     6657# Is the header present? 
     6658{ echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
     6659echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
     6660cat >conftest.$ac_ext <<_ACEOF 
     6661/* confdefs.h.  */ 
     6662_ACEOF 
     6663cat confdefs.h >>conftest.$ac_ext 
     6664cat >>conftest.$ac_ext <<_ACEOF 
     6665/* end confdefs.h.  */ 
     6666#include <ifaddrs.h> 
     6667_ACEOF 
     6668if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6669case "(($ac_try" in 
     6670  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6671  *) ac_try_echo=$ac_try;; 
     6672esac 
     6673eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6674  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6675  ac_status=$? 
     6676  grep -v '^ *+' conftest.er1 >conftest.err 
     6677  rm -f conftest.er1 
     6678  cat conftest.err >&5 
     6679  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6680  (exit $ac_status); } >/dev/null && { 
     6681         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6682         test ! -s conftest.err 
     6683       }; then 
     6684  ac_header_preproc=yes 
     6685else 
     6686  echo "$as_me: failed program was:" >&5 
     6687sed 's/^/| /' conftest.$ac_ext >&5 
     6688 
     6689  ac_header_preproc=no 
     6690fi 
     6691 
     6692rm -f conftest.err conftest.$ac_ext 
     6693{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6694echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6695 
     6696# So?  What about this header? 
     6697case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6698  yes:no: ) 
     6699    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6700echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6701    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
     6702echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
     6703    ac_header_preproc=yes 
     6704    ;; 
     6705  no:yes:* ) 
     6706    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
     6707echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
     6708    { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
     6709echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
     6710    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
     6711echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
     6712    { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6713echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6714    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
     6715echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
     6716    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
     6717echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
     6718 
     6719    ;; 
     6720esac 
     6721{ echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
     6722echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
     6723if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6724  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6725else 
     6726  ac_cv_header_ifaddrs_h=$ac_header_preproc 
     6727fi 
     6728{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
     6729echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
     6730 
     6731fi 
     6732if test $ac_cv_header_ifaddrs_h = yes; then 
     6733  { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
     6734echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
     6735if test "${ac_cv_func_getifaddrs+set}" = set; then 
     6736  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6737else 
     6738  cat >conftest.$ac_ext <<_ACEOF 
     6739/* confdefs.h.  */ 
     6740_ACEOF 
     6741cat confdefs.h >>conftest.$ac_ext 
     6742cat >>conftest.$ac_ext <<_ACEOF 
     6743/* end confdefs.h.  */ 
     6744/* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
     6745   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     6746#define getifaddrs innocuous_getifaddrs 
     6747 
     6748/* System header to define __stub macros and hopefully few prototypes, 
     6749    which can conflict with char getifaddrs (); below. 
     6750    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     6751    <limits.h> exists even on freestanding compilers.  */ 
     6752 
     6753#ifdef __STDC__ 
     6754# include <limits.h> 
     6755#else 
     6756# include <assert.h> 
     6757#endif 
     6758 
     6759#undef getifaddrs 
     6760 
     6761/* Override any GCC internal prototype to avoid an error. 
     6762   Use char because int might match the return type of a GCC 
     6763   builtin and then its argument prototype would still apply.  */ 
     6764#ifdef __cplusplus 
     6765extern "C" 
     6766#endif 
     6767char getifaddrs (); 
     6768/* The GNU C library defines this for functions which it implements 
     6769    to always fail with ENOSYS.  Some functions are actually named 
     6770    something starting with __ and the normal name is an alias.  */ 
     6771#if defined __stub_getifaddrs || defined __stub___getifaddrs 
     6772choke me 
     6773#endif 
     6774 
     6775int 
     6776main () 
     6777{ 
     6778return getifaddrs (); 
     6779  ; 
     6780  return 0; 
     6781} 
     6782_ACEOF 
     6783rm -f conftest.$ac_objext conftest$ac_exeext 
     6784if { (ac_try="$ac_link" 
     6785case "(($ac_try" in 
     6786  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6787  *) ac_try_echo=$ac_try;; 
     6788esac 
     6789eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6790  (eval "$ac_link") 2>conftest.er1 
     6791  ac_status=$? 
     6792  grep -v '^ *+' conftest.er1 >conftest.err 
     6793  rm -f conftest.er1 
     6794  cat conftest.err >&5 
     6795  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6796  (exit $ac_status); } && { 
     6797         test -z "$ac_c_werror_flag" || 
     6798         test ! -s conftest.err 
     6799       } && test -s conftest$ac_exeext && 
     6800       $as_test_x conftest$ac_exeext; then 
     6801  ac_cv_func_getifaddrs=yes 
     6802else 
     6803  echo "$as_me: failed program was:" >&5 
     6804sed 's/^/| /' conftest.$ac_ext >&5 
     6805 
     6806        ac_cv_func_getifaddrs=no 
     6807fi 
     6808 
     6809rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     6810      conftest$ac_exeext conftest.$ac_ext 
     6811fi 
     6812{ echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
     6813echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
     6814if test $ac_cv_func_getifaddrs = yes; then 
     6815  cat >>confdefs.h <<\_ACEOF 
     6816#define PJ_HAS_IFADDRS_H 1 
     6817_ACEOF 
     6818 
     6819fi 
     6820 
     6821fi 
     6822 
     6823 
     6824if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6825  { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
     6826echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
     6827if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6828  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6829fi 
     6830{ echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
     6831echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
     6832else 
     6833  # Is the header compilable? 
     6834{ echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
     6835echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
     6836cat >conftest.$ac_ext <<_ACEOF 
     6837/* confdefs.h.  */ 
     6838_ACEOF 
     6839cat confdefs.h >>conftest.$ac_ext 
     6840cat >>conftest.$ac_ext <<_ACEOF 
     6841/* end confdefs.h.  */ 
     6842$ac_includes_default 
     6843#include <semaphore.h> 
     6844_ACEOF 
     6845rm -f conftest.$ac_objext 
     6846if { (ac_try="$ac_compile" 
     6847case "(($ac_try" in 
     6848  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6849  *) ac_try_echo=$ac_try;; 
     6850esac 
     6851eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6852  (eval "$ac_compile") 2>conftest.er1 
     6853  ac_status=$? 
     6854  grep -v '^ *+' conftest.er1 >conftest.err 
     6855  rm -f conftest.er1 
     6856  cat conftest.err >&5 
     6857  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6858  (exit $ac_status); } && { 
     6859         test -z "$ac_c_werror_flag" || 
     6860         test ! -s conftest.err 
     6861       } && test -s conftest.$ac_objext; then 
     6862  ac_header_compiler=yes 
     6863else 
     6864  echo "$as_me: failed program was:" >&5 
     6865sed 's/^/| /' conftest.$ac_ext >&5 
     6866 
     6867        ac_header_compiler=no 
     6868fi 
     6869 
     6870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6871{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6872echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6873 
     6874# Is the header present? 
     6875{ echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
     6876echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
     6877cat >conftest.$ac_ext <<_ACEOF 
     6878/* confdefs.h.  */ 
     6879_ACEOF 
     6880cat confdefs.h >>conftest.$ac_ext 
     6881cat >>conftest.$ac_ext <<_ACEOF 
     6882/* end confdefs.h.  */ 
     6883#include <semaphore.h> 
     6884_ACEOF 
     6885if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6886case "(($ac_try" in 
     6887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6888  *) ac_try_echo=$ac_try;; 
     6889esac 
     6890eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6891  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6892  ac_status=$? 
     6893  grep -v '^ *+' conftest.er1 >conftest.err 
     6894  rm -f conftest.er1 
     6895  cat conftest.err >&5 
     6896  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6897  (exit $ac_status); } >/dev/null && { 
     6898         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6899         test ! -s conftest.err 
     6900       }; then 
     6901  ac_header_preproc=yes 
     6902else 
     6903  echo "$as_me: failed program was:" >&5 
     6904sed 's/^/| /' conftest.$ac_ext >&5 
     6905 
     6906  ac_header_preproc=no 
     6907fi 
     6908 
     6909rm -f conftest.err conftest.$ac_ext 
     6910{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6911echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6912 
     6913# So?  What about this header? 
     6914case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6915  yes:no: ) 
     6916    { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6917echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6918    { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
     6919echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
     6920    ac_header_preproc=yes 
     6921    ;; 
     6922  no:yes:* ) 
     6923    { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
     6924echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
     6925    { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
     6926echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
     6927    { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
     6928echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
     6929    { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6930echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6931    { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
     6932echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
     6933    { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
     6934echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
     6935 
     6936    ;; 
     6937esac 
     6938{ echo "$as_me:$LINENO: checking for semaphore.h" >&5 
     6939echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
     6940if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6941  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6942else 
     6943  ac_cv_header_semaphore_h=$ac_header_preproc 
     6944fi 
     6945{ echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
     6946echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
     6947 
     6948fi 
     6949if test $ac_cv_header_semaphore_h = yes; then 
     6950  cat >>confdefs.h <<\_ACEOF 
     6951#define PJ_HAS_SEMAPHORE_H 1 
     6952_ACEOF 
     6953 
     6954fi 
     6955 
     6956 
     6957if test "${ac_cv_header_setjmp_h+set}" = set; then 
     6958  { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     6959echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
     6960if test "${ac_cv_header_setjmp_h+set}" = set; then 
     6961  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6962fi 
     6963{ echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     6964echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
     6965else 
     6966  # Is the header compilable? 
     6967{ echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
     6968echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
     6969cat >conftest.$ac_ext <<_ACEOF 
     6970/* confdefs.h.  */ 
     6971_ACEOF 
     6972cat confdefs.h >>conftest.$ac_ext 
     6973cat >>conftest.$ac_ext <<_ACEOF 
     6974/* end confdefs.h.  */ 
     6975$ac_includes_default 
     6976#include <setjmp.h> 
     6977_ACEOF 
     6978rm -f conftest.$ac_objext 
     6979if { (ac_try="$ac_compile" 
     6980case "(($ac_try" in 
     6981  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6982  *) ac_try_echo=$ac_try;; 
     6983esac 
     6984eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6985  (eval "$ac_compile") 2>conftest.er1 
     6986  ac_status=$? 
     6987  grep -v '^ *+' conftest.er1 >conftest.err 
     6988  rm -f conftest.er1 
     6989  cat conftest.err >&5 
     6990  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6991  (exit $ac_status); } && { 
     6992         test -z "$ac_c_werror_flag" || 
     6993         test ! -s conftest.err 
     6994       } && test -s conftest.$ac_objext; then 
     6995  ac_header_compiler=yes 
     6996else 
     6997  echo "$as_me: failed program was:" >&5 
     6998sed 's/^/| /' conftest.$ac_ext >&5 
     6999 
     7000        ac_header_compiler=no 
     7001fi 
     7002 
     7003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7004{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7005echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7006 
     7007# Is the header present? 
     7008{ echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
     7009echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
     7010cat >conftest.$ac_ext <<_ACEOF 
     7011/* confdefs.h.  */ 
     7012_ACEOF 
     7013cat confdefs.h >>conftest.$ac_ext 
     7014cat >>conftest.$ac_ext <<_ACEOF 
     7015/* end confdefs.h.  */ 
     7016#include <setjmp.h> 
     7017_ACEOF 
     7018if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7019case "(($ac_try" in 
     7020  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7021  *) ac_try_echo=$ac_try;; 
     7022esac 
     7023eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7024  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7025  ac_status=$? 
     7026  grep -v '^ *+' conftest.er1 >conftest.err 
     7027  rm -f conftest.er1 
     7028  cat conftest.err >&5 
     7029  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7030  (exit $ac_status); } >/dev/null && { 
     7031         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7032         test ! -s conftest.err 
     7033       }; then 
     7034  ac_header_preproc=yes 
     7035else 
     7036  echo "$as_me: failed program was:" >&5 
     7037sed 's/^/| /' conftest.$ac_ext >&5 
     7038 
     7039  ac_header_preproc=no 
     7040fi 
     7041 
     7042rm -f conftest.err conftest.$ac_ext 
     7043{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7044echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7045 
     7046# So?  What about this header? 
     7047case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7048  yes:no: ) 
     7049    { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7050echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7051    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
     7052echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
     7053    ac_header_preproc=yes 
     7054    ;; 
     7055  no:yes:* ) 
     7056    { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
     7057echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
     7058    { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
     7059echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
     7060    { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
     7061echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
     7062    { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7063echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7064    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
     7065echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
     7066    { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
     7067echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
     7068 
     7069    ;; 
     7070esac 
     7071{ echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     7072echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
     7073if test "${ac_cv_header_setjmp_h+set}" = set; then 
     7074  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7075else 
     7076  ac_cv_header_setjmp_h=$ac_header_preproc 
     7077fi 
     7078{ echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     7079echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
     7080 
     7081fi 
     7082if test $ac_cv_header_setjmp_h = yes; then 
     7083  cat >>confdefs.h <<\_ACEOF 
     7084#define PJ_HAS_SETJMP_H 1 
     7085_ACEOF 
     7086 
     7087fi 
     7088 
     7089 
     7090if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7091  { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     7092echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
     7093if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7094  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7095fi 
     7096{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     7097echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
     7098else 
     7099  # Is the header compilable? 
     7100{ echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
     7101echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
     7102cat >conftest.$ac_ext <<_ACEOF 
     7103/* confdefs.h.  */ 
     7104_ACEOF 
     7105cat confdefs.h >>conftest.$ac_ext 
     7106cat >>conftest.$ac_ext <<_ACEOF 
     7107/* end confdefs.h.  */ 
     7108$ac_includes_default 
     7109#include <stdarg.h> 
     7110_ACEOF 
     7111rm -f conftest.$ac_objext 
     7112if { (ac_try="$ac_compile" 
     7113case "(($ac_try" in 
     7114  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7115  *) ac_try_echo=$ac_try;; 
     7116esac 
     7117eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7118  (eval "$ac_compile") 2>conftest.er1 
     7119  ac_status=$? 
     7120  grep -v '^ *+' conftest.er1 >conftest.err 
     7121  rm -f conftest.er1 
     7122  cat conftest.err >&5 
     7123  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7124  (exit $ac_status); } && { 
     7125         test -z "$ac_c_werror_flag" || 
     7126         test ! -s conftest.err 
     7127       } && test -s conftest.$ac_objext; then 
     7128  ac_header_compiler=yes 
     7129else 
     7130  echo "$as_me: failed program was:" >&5 
     7131sed 's/^/| /' conftest.$ac_ext >&5 
     7132 
     7133        ac_header_compiler=no 
     7134fi 
     7135 
     7136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7137{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7138echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7139 
     7140# Is the header present? 
     7141{ echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
     7142echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
     7143cat >conftest.$ac_ext <<_ACEOF 
     7144/* confdefs.h.  */ 
     7145_ACEOF 
     7146cat confdefs.h >>conftest.$ac_ext 
     7147cat >>conftest.$ac_ext <<_ACEOF 
     7148/* end confdefs.h.  */ 
     7149#include <stdarg.h> 
     7150_ACEOF 
     7151if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7152case "(($ac_try" in 
     7153  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7154  *) ac_try_echo=$ac_try;; 
     7155esac 
     7156eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7157  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7158  ac_status=$? 
     7159  grep -v '^ *+' conftest.er1 >conftest.err 
     7160  rm -f conftest.er1 
     7161  cat conftest.err >&5 
     7162  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7163  (exit $ac_status); } >/dev/null && { 
     7164         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7165         test ! -s conftest.err 
     7166       }; then 
     7167  ac_header_preproc=yes 
     7168else 
     7169  echo "$as_me: failed program was:" >&5 
     7170sed 's/^/| /' conftest.$ac_ext >&5 
     7171 
     7172  ac_header_preproc=no 
     7173fi 
     7174 
     7175rm -f conftest.err conftest.$ac_ext 
     7176{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7177echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7178 
     7179# So?  What about this header? 
     7180case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7181  yes:no: ) 
     7182    { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7183echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7184    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
     7185echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
     7186    ac_header_preproc=yes 
     7187    ;; 
     7188  no:yes:* ) 
     7189    { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
     7190echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
     7191    { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
     7192echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
     7193    { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
     7194echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
     7195    { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7196echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7197    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
     7198echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
     7199    { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
     7200echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
     7201 
     7202    ;; 
     7203esac 
     7204{ echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     7205echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
     7206if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7207  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7208else 
     7209  ac_cv_header_stdarg_h=$ac_header_preproc 
     7210fi 
     7211{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     7212echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
     7213 
     7214fi 
     7215if test $ac_cv_header_stdarg_h = yes; then 
     7216  cat >>confdefs.h <<\_ACEOF 
     7217#define PJ_HAS_STDARG_H 1 
     7218_ACEOF 
     7219 
     7220fi 
     7221 
     7222 
     7223if test "${ac_cv_header_stddef_h+set}" = set; then 
     7224  { echo "$as_me:$LINENO: checking for stddef.h" >&5 
     7225echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
     7226if test "${ac_cv_header_stddef_h+set}" = set; then 
     7227  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7228fi 
     7229{ echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     7230echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
     7231else 
     7232  # Is the header compilable? 
     7233{ echo "$as_me:$LINENO: checking stddef.h usability" >&5 
     7234echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
     7235cat >conftest.$ac_ext <<_ACEOF 
     7236/* confdefs.h.  */ 
     7237_ACEOF 
     7238cat confdefs.h >>conftest.$ac_ext 
     7239cat >>conftest.$ac_ext <<_ACEOF 
     7240/* end confdefs.h.  */ 
     7241$ac_includes_default 
     7242#include <stddef.h> 
     7243_ACEOF 
     7244rm -f conftest.$ac_objext 
     7245if { (ac_try="$ac_compile" 
     7246case "(($ac_try" in 
     7247  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7248  *) ac_try_echo=$ac_try;; 
     7249esac 
     7250eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7251  (eval "$ac_compile") 2>conftest.er1 
     7252  ac_status=$? 
     7253  grep -v '^ *+' conftest.er1 >conftest.err 
     7254  rm -f conftest.er1 
     7255  cat conftest.err >&5 
     7256  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7257  (exit $ac_status); } && { 
     7258         test -z "$ac_c_werror_flag" || 
     7259         test ! -s conftest.err 
     7260       } && test -s conftest.$ac_objext; then 
     7261  ac_header_compiler=yes 
     7262else 
     7263  echo "$as_me: failed program was:" >&5 
     7264sed 's/^/| /' conftest.$ac_ext >&5 
     7265 
     7266        ac_header_compiler=no 
     7267fi 
     7268 
     7269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7270{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7271echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7272 
     7273# Is the header present? 
     7274{ echo "$as_me:$LINENO: checking stddef.h presence" >&5 
     7275echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
     7276cat >conftest.$ac_ext <<_ACEOF 
     7277/* confdefs.h.  */ 
     7278_ACEOF 
     7279cat confdefs.h >>conftest.$ac_ext 
     7280cat >>conftest.$ac_ext <<_ACEOF 
     7281/* end confdefs.h.  */ 
     7282#include <stddef.h> 
     7283_ACEOF 
     7284if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7285case "(($ac_try" in 
     7286  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7287  *) ac_try_echo=$ac_try;; 
     7288esac 
     7289eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7290  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7291  ac_status=$? 
     7292  grep -v '^ *+' conftest.er1 >conftest.err 
     7293  rm -f conftest.er1 
     7294  cat conftest.err >&5 
     7295  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7296  (exit $ac_status); } >/dev/null && { 
     7297         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7298         test ! -s conftest.err 
     7299       }; then 
     7300  ac_header_preproc=yes 
     7301else 
     7302  echo "$as_me: failed program was:" >&5 
     7303sed 's/^/| /' conftest.$ac_ext >&5 
     7304 
     7305  ac_header_preproc=no 
     7306fi 
     7307 
     7308rm -f conftest.err conftest.$ac_ext 
     7309{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7310echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7311 
     7312# So?  What about this header? 
     7313case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7314  yes:no: ) 
     7315    { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7316echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7317    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
     7318echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
     7319    ac_header_preproc=yes 
     7320    ;; 
     7321  no:yes:* ) 
     7322    { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
     7323echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
     7324    { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
     7325echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
     7326    { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
     7327echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
     7328    { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7329echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7330    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
     7331echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
     7332    { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
     7333echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
     7334 
     7335    ;; 
     7336esac 
     7337{ echo "$as_me:$LINENO: checking for stddef.h" >&5 
     7338echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
     7339if test "${ac_cv_header_stddef_h+set}" = set; then 
     7340  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7341else 
     7342  ac_cv_header_stddef_h=$ac_header_preproc 
     7343fi 
     7344{ echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     7345echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
     7346 
     7347fi 
     7348if test $ac_cv_header_stddef_h = yes; then 
     7349  cat >>confdefs.h <<\_ACEOF 
     7350#define PJ_HAS_STDDEF_H 1 
     7351_ACEOF 
     7352 
     7353fi 
     7354 
     7355 
     7356if test "${ac_cv_header_stdio_h+set}" = set; then 
     7357  { echo "$as_me:$LINENO: checking for stdio.h" >&5 
     7358echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
     7359if test "${ac_cv_header_stdio_h+set}" = set; then 
     7360  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7361fi 
     7362{ echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     7363echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
     7364else 
     7365  # Is the header compilable? 
     7366{ echo "$as_me:$LINENO: checking stdio.h usability" >&5 
     7367echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
     7368cat >conftest.$ac_ext <<_ACEOF 
     7369/* confdefs.h.  */ 
     7370_ACEOF 
     7371cat confdefs.h >>conftest.$ac_ext 
     7372cat >>conftest.$ac_ext <<_ACEOF 
     7373/* end confdefs.h.  */ 
     7374$ac_includes_default 
     7375#include <stdio.h> 
     7376_ACEOF 
     7377rm -f conftest.$ac_objext 
     7378if { (ac_try="$ac_compile" 
     7379case "(($ac_try" in 
     7380  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7381  *) ac_try_echo=$ac_try;; 
     7382esac 
     7383eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7384  (eval "$ac_compile") 2>conftest.er1 
     7385  ac_status=$? 
     7386  grep -v '^ *+' conftest.er1 >conftest.err 
     7387  rm -f conftest.er1 
     7388  cat conftest.err >&5 
     7389  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7390  (exit $ac_status); } && { 
     7391         test -z "$ac_c_werror_flag" || 
     7392         test ! -s conftest.err 
     7393       } && test -s conftest.$ac_objext; then 
     7394  ac_header_compiler=yes 
     7395else 
     7396  echo "$as_me: failed program was:" >&5 
     7397sed 's/^/| /' conftest.$ac_ext >&5 
     7398 
     7399        ac_header_compiler=no 
     7400fi 
     7401 
     7402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7403{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7404echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7405 
     7406# Is the header present? 
     7407{ echo "$as_me:$LINENO: checking stdio.h presence" >&5 
     7408echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
     7409cat >conftest.$ac_ext <<_ACEOF 
     7410/* confdefs.h.  */ 
     7411_ACEOF 
     7412cat confdefs.h >>conftest.$ac_ext 
     7413cat >>conftest.$ac_ext <<_ACEOF 
     7414/* end confdefs.h.  */ 
     7415#include <stdio.h> 
     7416_ACEOF 
     7417if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7418case "(($ac_try" in 
     7419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7420  *) ac_try_echo=$ac_try;; 
     7421esac 
     7422eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7423  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7424  ac_status=$? 
     7425  grep -v '^ *+' conftest.er1 >conftest.err 
     7426  rm -f conftest.er1 
     7427  cat conftest.err >&5 
     7428  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7429  (exit $ac_status); } >/dev/null && { 
     7430         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7431         test ! -s conftest.err 
     7432       }; then 
     7433  ac_header_preproc=yes 
     7434else 
     7435  echo "$as_me: failed program was:" >&5 
     7436sed 's/^/| /' conftest.$ac_ext >&5 
     7437 
     7438  ac_header_preproc=no 
     7439fi 
     7440 
     7441rm -f conftest.err conftest.$ac_ext 
     7442{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7443echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7444 
     7445# So?  What about this header? 
     7446case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7447  yes:no: ) 
     7448    { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7449echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7450    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
     7451echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
     7452    ac_header_preproc=yes 
     7453    ;; 
     7454  no:yes:* ) 
     7455    { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
     7456echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
     7457    { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
     7458echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
     7459    { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
     7460echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
     7461    { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7462echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7463    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
     7464echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
     7465    { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
     7466echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
     7467 
     7468    ;; 
     7469esac 
     7470{ echo "$as_me:$LINENO: checking for stdio.h" >&5 
     7471echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
     7472if test "${ac_cv_header_stdio_h+set}" = set; then 
     7473  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7474else 
     7475  ac_cv_header_stdio_h=$ac_header_preproc 
     7476fi 
     7477{ echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     7478echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
     7479 
     7480fi 
     7481if test $ac_cv_header_stdio_h = yes; then 
     7482  cat >>confdefs.h <<\_ACEOF 
     7483#define PJ_HAS_STDIO_H 1 
     7484_ACEOF 
     7485 
     7486fi 
     7487 
     7488 
     7489if test "${ac_cv_header_stdint_h+set}" = set; then 
     7490  { echo "$as_me:$LINENO: checking for stdint.h" >&5 
     7491echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
     7492if test "${ac_cv_header_stdint_h+set}" = set; then 
     7493  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7494fi 
     7495{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
     7496echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
     7497else 
     7498  # Is the header compilable? 
     7499{ echo "$as_me:$LINENO: checking stdint.h usability" >&5 
     7500echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
     7501cat >conftest.$ac_ext <<_ACEOF 
     7502/* confdefs.h.  */ 
     7503_ACEOF 
     7504cat confdefs.h >>conftest.$ac_ext 
     7505cat >>conftest.$ac_ext <<_ACEOF 
     7506/* end confdefs.h.  */ 
     7507$ac_includes_default 
     7508#include <stdint.h> 
     7509_ACEOF 
     7510rm -f conftest.$ac_objext 
     7511if { (ac_try="$ac_compile" 
     7512case "(($ac_try" in 
     7513  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7514  *) ac_try_echo=$ac_try;; 
     7515esac 
     7516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7517  (eval "$ac_compile") 2>conftest.er1 
     7518  ac_status=$? 
     7519  grep -v '^ *+' conftest.er1 >conftest.err 
     7520  rm -f conftest.er1 
     7521  cat conftest.err >&5 
     7522  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7523  (exit $ac_status); } && { 
     7524         test -z "$ac_c_werror_flag" || 
     7525         test ! -s conftest.err 
     7526       } && test -s conftest.$ac_objext; then 
     7527  ac_header_compiler=yes 
     7528else 
     7529  echo "$as_me: failed program was:" >&5 
     7530sed 's/^/| /' conftest.$ac_ext >&5 
     7531 
     7532        ac_header_compiler=no 
     7533fi 
     7534 
     7535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7536{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7537echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7538 
     7539# Is the header present? 
     7540{ echo "$as_me:$LINENO: checking stdint.h presence" >&5 
     7541echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
     7542cat >conftest.$ac_ext <<_ACEOF 
     7543/* confdefs.h.  */ 
     7544_ACEOF 
     7545cat confdefs.h >>conftest.$ac_ext 
     7546cat >>conftest.$ac_ext <<_ACEOF 
     7547/* end confdefs.h.  */ 
     7548#include <stdint.h> 
     7549_ACEOF 
     7550if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7551case "(($ac_try" in 
     7552  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7553  *) ac_try_echo=$ac_try;; 
     7554esac 
     7555eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7556  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7557  ac_status=$? 
     7558  grep -v '^ *+' conftest.er1 >conftest.err 
     7559  rm -f conftest.er1 
     7560  cat conftest.err >&5 
     7561  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7562  (exit $ac_status); } >/dev/null && { 
     7563         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7564         test ! -s conftest.err 
     7565       }; then 
     7566  ac_header_preproc=yes 
     7567else 
     7568  echo "$as_me: failed program was:" >&5 
     7569sed 's/^/| /' conftest.$ac_ext >&5 
     7570 
     7571  ac_header_preproc=no 
     7572fi 
     7573 
     7574rm -f conftest.err conftest.$ac_ext 
     7575{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7576echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7577 
     7578# So?  What about this header? 
     7579case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7580  yes:no: ) 
     7581    { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7582echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7583    { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
     7584echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
     7585    ac_header_preproc=yes 
     7586    ;; 
     7587  no:yes:* ) 
     7588    { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
     7589echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
     7590    { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
     7591echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
     7592    { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
     7593echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
     7594    { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7595echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7596    { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
     7597echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
     7598    { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
     7599echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
     7600 
     7601    ;; 
     7602esac 
     7603{ echo "$as_me:$LINENO: checking for stdint.h" >&5 
     7604echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
     7605if test "${ac_cv_header_stdint_h+set}" = set; then 
     7606  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7607else 
     7608  ac_cv_header_stdint_h=$ac_header_preproc 
     7609fi 
     7610{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
     7611echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
     7612 
     7613fi 
     7614if test $ac_cv_header_stdint_h = yes; then 
     7615  cat >>confdefs.h <<\_ACEOF 
     7616#define PJ_HAS_STDINT_H 1 
     7617_ACEOF 
     7618 
     7619fi 
     7620 
     7621 
     7622if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7623  { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     7624echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
     7625if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7626  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7627fi 
     7628{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     7629echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
     7630else 
     7631  # Is the header compilable? 
     7632{ echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
     7633echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
     7634cat >conftest.$ac_ext <<_ACEOF 
     7635/* confdefs.h.  */ 
     7636_ACEOF 
     7637cat confdefs.h >>conftest.$ac_ext 
     7638cat >>conftest.$ac_ext <<_ACEOF 
     7639/* end confdefs.h.  */ 
     7640$ac_includes_default 
     7641#include <stdlib.h> 
     7642_ACEOF 
     7643rm -f conftest.$ac_objext 
     7644if { (ac_try="$ac_compile" 
     7645case "(($ac_try" in 
     7646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7647  *) ac_try_echo=$ac_try;; 
     7648esac 
     7649eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7650  (eval "$ac_compile") 2>conftest.er1 
     7651  ac_status=$? 
     7652  grep -v '^ *+' conftest.er1 >conftest.err 
     7653  rm -f conftest.er1 
     7654  cat conftest.err >&5 
     7655  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7656  (exit $ac_status); } && { 
     7657         test -z "$ac_c_werror_flag" || 
     7658         test ! -s conftest.err 
     7659       } && test -s conftest.$ac_objext; then 
     7660  ac_header_compiler=yes 
     7661else 
     7662  echo "$as_me: failed program was:" >&5 
     7663sed 's/^/| /' conftest.$ac_ext >&5 
     7664 
     7665        ac_header_compiler=no 
     7666fi 
     7667 
     7668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7669{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7670echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7671 
     7672# Is the header present? 
     7673{ echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
     7674echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
     7675cat >conftest.$ac_ext <<_ACEOF 
     7676/* confdefs.h.  */ 
     7677_ACEOF 
     7678cat confdefs.h >>conftest.$ac_ext 
     7679cat >>conftest.$ac_ext <<_ACEOF 
     7680/* end confdefs.h.  */ 
     7681#include <stdlib.h> 
     7682_ACEOF 
     7683if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7684case "(($ac_try" in 
     7685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7686  *) ac_try_echo=$ac_try;; 
     7687esac 
     7688eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7689  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7690  ac_status=$? 
     7691  grep -v '^ *+' conftest.er1 >conftest.err 
     7692  rm -f conftest.er1 
     7693  cat conftest.err >&5 
     7694  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7695  (exit $ac_status); } >/dev/null && { 
     7696         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7697         test ! -s conftest.err 
     7698       }; then 
     7699  ac_header_preproc=yes 
     7700else 
     7701  echo "$as_me: failed program was:" >&5 
     7702sed 's/^/| /' conftest.$ac_ext >&5 
     7703 
     7704  ac_header_preproc=no 
     7705fi 
     7706 
     7707rm -f conftest.err conftest.$ac_ext 
     7708{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7709echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7710 
     7711# So?  What about this header? 
     7712case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7713  yes:no: ) 
     7714    { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7715echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7716    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
     7717echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
     7718    ac_header_preproc=yes 
     7719    ;; 
     7720  no:yes:* ) 
     7721    { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
     7722echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
     7723    { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
     7724echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
     7725    { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
     7726echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
     7727    { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7728echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7729    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
     7730echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
     7731    { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
     7732echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
     7733 
     7734    ;; 
     7735esac 
     7736{ echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     7737echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
     7738if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7739  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7740else 
     7741  ac_cv_header_stdlib_h=$ac_header_preproc 
     7742fi 
     7743{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     7744echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
     7745 
     7746fi 
     7747if test $ac_cv_header_stdlib_h = yes; then 
     7748  cat >>confdefs.h <<\_ACEOF 
     7749#define PJ_HAS_STDLIB_H 1 
     7750_ACEOF 
     7751 
     7752fi 
     7753 
     7754 
     7755if test "${ac_cv_header_string_h+set}" = set; then 
     7756  { echo "$as_me:$LINENO: checking for string.h" >&5 
     7757echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
     7758if test "${ac_cv_header_string_h+set}" = set; then 
     7759  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7760fi 
     7761{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     7762echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
     7763else 
     7764  # Is the header compilable? 
     7765{ echo "$as_me:$LINENO: checking string.h usability" >&5 
     7766echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
     7767cat >conftest.$ac_ext <<_ACEOF 
     7768/* confdefs.h.  */ 
     7769_ACEOF 
     7770cat confdefs.h >>conftest.$ac_ext 
     7771cat >>conftest.$ac_ext <<_ACEOF 
     7772/* end confdefs.h.  */ 
     7773$ac_includes_default 
     7774#include <string.h> 
     7775_ACEOF 
     7776rm -f conftest.$ac_objext 
     7777if { (ac_try="$ac_compile" 
     7778case "(($ac_try" in 
     7779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7780  *) ac_try_echo=$ac_try;; 
     7781esac 
     7782eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7783  (eval "$ac_compile") 2>conftest.er1 
     7784  ac_status=$? 
     7785  grep -v '^ *+' conftest.er1 >conftest.err 
     7786  rm -f conftest.er1 
     7787  cat conftest.err >&5 
     7788  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7789  (exit $ac_status); } && { 
     7790         test -z "$ac_c_werror_flag" || 
     7791         test ! -s conftest.err 
     7792       } && test -s conftest.$ac_objext; then 
     7793  ac_header_compiler=yes 
     7794else 
     7795  echo "$as_me: failed program was:" >&5 
     7796sed 's/^/| /' conftest.$ac_ext >&5 
     7797 
     7798        ac_header_compiler=no 
     7799fi 
     7800 
     7801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7802{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7803echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7804 
     7805# Is the header present? 
     7806{ echo "$as_me:$LINENO: checking string.h presence" >&5 
     7807echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
     7808cat >conftest.$ac_ext <<_ACEOF 
     7809/* confdefs.h.  */ 
     7810_ACEOF 
     7811cat confdefs.h >>conftest.$ac_ext 
     7812cat >>conftest.$ac_ext <<_ACEOF 
     7813/* end confdefs.h.  */ 
     7814#include <string.h> 
     7815_ACEOF 
     7816if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7817case "(($ac_try" in 
     7818  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7819  *) ac_try_echo=$ac_try;; 
     7820esac 
     7821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7822  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7823  ac_status=$? 
     7824  grep -v '^ *+' conftest.er1 >conftest.err 
     7825  rm -f conftest.er1 
     7826  cat conftest.err >&5 
     7827  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7828  (exit $ac_status); } >/dev/null && { 
     7829         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7830         test ! -s conftest.err 
     7831       }; then 
     7832  ac_header_preproc=yes 
     7833else 
     7834  echo "$as_me: failed program was:" >&5 
     7835sed 's/^/| /' conftest.$ac_ext >&5 
     7836 
     7837  ac_header_preproc=no 
     7838fi 
     7839 
     7840rm -f conftest.err conftest.$ac_ext 
     7841{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7842echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7843 
     7844# So?  What about this header? 
     7845case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7846  yes:no: ) 
     7847    { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7848echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7849    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
     7850echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
     7851    ac_header_preproc=yes 
     7852    ;; 
     7853  no:yes:* ) 
     7854    { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
     7855echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
     7856    { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
     7857echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
     7858    { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
     7859echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
     7860    { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7861echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7862    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
     7863echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
     7864    { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
     7865echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
     7866 
     7867    ;; 
     7868esac 
     7869{ echo "$as_me:$LINENO: checking for string.h" >&5 
     7870echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
     7871if test "${ac_cv_header_string_h+set}" = set; then 
     7872  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7873else 
     7874  ac_cv_header_string_h=$ac_header_preproc 
     7875fi 
     7876{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     7877echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
     7878 
     7879fi 
     7880if test $ac_cv_header_string_h = yes; then 
     7881  cat >>confdefs.h <<\_ACEOF 
     7882#define PJ_HAS_STRING_H 1 
     7883_ACEOF 
     7884 
     7885fi 
     7886 
     7887 
     7888if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     7889  { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     7890echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
     7891if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     7892  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7893fi 
     7894{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     7895echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
     7896else 
     7897  # Is the header compilable? 
     7898{ echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
     7899echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
     7900cat >conftest.$ac_ext <<_ACEOF 
     7901/* confdefs.h.  */ 
     7902_ACEOF 
     7903cat confdefs.h >>conftest.$ac_ext 
     7904cat >>conftest.$ac_ext <<_ACEOF 
     7905/* end confdefs.h.  */ 
     7906$ac_includes_default 
     7907#include <sys/ioctl.h> 
     7908_ACEOF 
     7909rm -f conftest.$ac_objext 
     7910if { (ac_try="$ac_compile" 
     7911case "(($ac_try" in 
     7912  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7913  *) ac_try_echo=$ac_try;; 
     7914esac 
     7915eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7916  (eval "$ac_compile") 2>conftest.er1 
     7917  ac_status=$? 
     7918  grep -v '^ *+' conftest.er1 >conftest.err 
     7919  rm -f conftest.er1 
     7920  cat conftest.err >&5 
     7921  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7922  (exit $ac_status); } && { 
     7923         test -z "$ac_c_werror_flag" || 
     7924         test ! -s conftest.err 
     7925       } && test -s conftest.$ac_objext; then 
     7926  ac_header_compiler=yes 
     7927else 
     7928  echo "$as_me: failed program was:" >&5 
     7929sed 's/^/| /' conftest.$ac_ext >&5 
     7930 
     7931        ac_header_compiler=no 
     7932fi 
     7933 
     7934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7935{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7936echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7937 
     7938# Is the header present? 
     7939{ echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
     7940echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
     7941cat >conftest.$ac_ext <<_ACEOF 
     7942/* confdefs.h.  */ 
     7943_ACEOF 
     7944cat confdefs.h >>conftest.$ac_ext 
     7945cat >>conftest.$ac_ext <<_ACEOF 
     7946/* end confdefs.h.  */ 
     7947#include <sys/ioctl.h> 
     7948_ACEOF 
     7949if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7950case "(($ac_try" in 
     7951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7952  *) ac_try_echo=$ac_try;; 
     7953esac 
     7954eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7955  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7956  ac_status=$? 
     7957  grep -v '^ *+' conftest.er1 >conftest.err 
     7958  rm -f conftest.er1 
     7959  cat conftest.err >&5 
     7960  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7961  (exit $ac_status); } >/dev/null && { 
     7962         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7963         test ! -s conftest.err 
     7964       }; then 
     7965  ac_header_preproc=yes 
     7966else 
     7967  echo "$as_me: failed program was:" >&5 
     7968sed 's/^/| /' conftest.$ac_ext >&5 
     7969 
     7970  ac_header_preproc=no 
     7971fi 
     7972 
     7973rm -f conftest.err conftest.$ac_ext 
     7974{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7975echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7976 
     7977# So?  What about this header? 
     7978case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7979  yes:no: ) 
     7980    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7981echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7982    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
     7983echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
     7984    ac_header_preproc=yes 
     7985    ;; 
     7986  no:yes:* ) 
     7987    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
     7988echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
     7989    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
     7990echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
     7991    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
     7992echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
     7993    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7994echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7995    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
     7996echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
     7997    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
     7998echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
     7999 
     8000    ;; 
     8001esac 
     8002{ echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     8003echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
     8004if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     8005  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8006else 
     8007  ac_cv_header_sys_ioctl_h=$ac_header_preproc 
     8008fi 
     8009{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     8010echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
     8011 
     8012fi 
     8013if test $ac_cv_header_sys_ioctl_h = yes; then 
     8014  cat >>confdefs.h <<\_ACEOF 
     8015#define PJ_HAS_SYS_IOCTL_H 1 
     8016_ACEOF 
     8017 
     8018fi 
     8019 
     8020 
     8021if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8022  { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     8023echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
     8024if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8025  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8026fi 
     8027{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     8028echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
     8029else 
     8030  # Is the header compilable? 
     8031{ echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
     8032echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
     8033cat >conftest.$ac_ext <<_ACEOF 
     8034/* confdefs.h.  */ 
     8035_ACEOF 
     8036cat confdefs.h >>conftest.$ac_ext 
     8037cat >>conftest.$ac_ext <<_ACEOF 
     8038/* end confdefs.h.  */ 
     8039$ac_includes_default 
     8040#include <sys/select.h> 
     8041_ACEOF 
     8042rm -f conftest.$ac_objext 
     8043if { (ac_try="$ac_compile" 
     8044case "(($ac_try" in 
     8045  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8046  *) ac_try_echo=$ac_try;; 
     8047esac 
     8048eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8049  (eval "$ac_compile") 2>conftest.er1 
     8050  ac_status=$? 
     8051  grep -v '^ *+' conftest.er1 >conftest.err 
     8052  rm -f conftest.er1 
     8053  cat conftest.err >&5 
     8054  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8055  (exit $ac_status); } && { 
     8056         test -z "$ac_c_werror_flag" || 
     8057         test ! -s conftest.err 
     8058       } && test -s conftest.$ac_objext; then 
     8059  ac_header_compiler=yes 
     8060else 
     8061  echo "$as_me: failed program was:" >&5 
     8062sed 's/^/| /' conftest.$ac_ext >&5 
     8063 
     8064        ac_header_compiler=no 
     8065fi 
     8066 
     8067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8068{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8069echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8070 
     8071# Is the header present? 
     8072{ echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
     8073echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
     8074cat >conftest.$ac_ext <<_ACEOF 
     8075/* confdefs.h.  */ 
     8076_ACEOF 
     8077cat confdefs.h >>conftest.$ac_ext 
     8078cat >>conftest.$ac_ext <<_ACEOF 
     8079/* end confdefs.h.  */ 
     8080#include <sys/select.h> 
     8081_ACEOF 
     8082if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8083case "(($ac_try" in 
     8084  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8085  *) ac_try_echo=$ac_try;; 
     8086esac 
     8087eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8088  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8089  ac_status=$? 
     8090  grep -v '^ *+' conftest.er1 >conftest.err 
     8091  rm -f conftest.er1 
     8092  cat conftest.err >&5 
     8093  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8094  (exit $ac_status); } >/dev/null && { 
     8095         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8096         test ! -s conftest.err 
     8097       }; then 
     8098  ac_header_preproc=yes 
     8099else 
     8100  echo "$as_me: failed program was:" >&5 
     8101sed 's/^/| /' conftest.$ac_ext >&5 
     8102 
     8103  ac_header_preproc=no 
     8104fi 
     8105 
     8106rm -f conftest.err conftest.$ac_ext 
     8107{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8108echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8109 
     8110# So?  What about this header? 
     8111case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8112  yes:no: ) 
     8113    { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8114echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8115    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
     8116echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
     8117    ac_header_preproc=yes 
     8118    ;; 
     8119  no:yes:* ) 
     8120    { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
     8121echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
     8122    { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
     8123echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
     8124    { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
     8125echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
     8126    { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8127echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8128    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
     8129echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
     8130    { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
     8131echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
     8132 
     8133    ;; 
     8134esac 
     8135{ echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     8136echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
     8137if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8138  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8139else 
     8140  ac_cv_header_sys_select_h=$ac_header_preproc 
     8141fi 
     8142{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     8143echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
     8144 
     8145fi 
     8146if test $ac_cv_header_sys_select_h = yes; then 
     8147  cat >>confdefs.h <<\_ACEOF 
     8148#define PJ_HAS_SYS_SELECT_H 1 
     8149_ACEOF 
     8150 
     8151fi 
     8152 
     8153 
     8154if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8155  { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     8156echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
     8157if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8158  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8159fi 
     8160{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     8161echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
     8162else 
     8163  # Is the header compilable? 
     8164{ echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
     8165echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
     8166cat >conftest.$ac_ext <<_ACEOF 
     8167/* confdefs.h.  */ 
     8168_ACEOF 
     8169cat confdefs.h >>conftest.$ac_ext 
     8170cat >>conftest.$ac_ext <<_ACEOF 
     8171/* end confdefs.h.  */ 
     8172$ac_includes_default 
     8173#include <sys/socket.h> 
     8174_ACEOF 
     8175rm -f conftest.$ac_objext 
     8176if { (ac_try="$ac_compile" 
     8177case "(($ac_try" in 
     8178  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8179  *) ac_try_echo=$ac_try;; 
     8180esac 
     8181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8182  (eval "$ac_compile") 2>conftest.er1 
     8183  ac_status=$? 
     8184  grep -v '^ *+' conftest.er1 >conftest.err 
     8185  rm -f conftest.er1 
     8186  cat conftest.err >&5 
     8187  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8188  (exit $ac_status); } && { 
     8189         test -z "$ac_c_werror_flag" || 
     8190         test ! -s conftest.err 
     8191       } && test -s conftest.$ac_objext; then 
     8192  ac_header_compiler=yes 
     8193else 
     8194  echo "$as_me: failed program was:" >&5 
     8195sed 's/^/| /' conftest.$ac_ext >&5 
     8196 
     8197        ac_header_compiler=no 
     8198fi 
     8199 
     8200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8201{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8202echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8203 
     8204# Is the header present? 
     8205{ echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
     8206echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
     8207cat >conftest.$ac_ext <<_ACEOF 
     8208/* confdefs.h.  */ 
     8209_ACEOF 
     8210cat confdefs.h >>conftest.$ac_ext 
     8211cat >>conftest.$ac_ext <<_ACEOF 
     8212/* end confdefs.h.  */ 
     8213#include <sys/socket.h> 
     8214_ACEOF 
     8215if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8216case "(($ac_try" in 
     8217  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8218  *) ac_try_echo=$ac_try;; 
     8219esac 
     8220eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8221  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8222  ac_status=$? 
     8223  grep -v '^ *+' conftest.er1 >conftest.err 
     8224  rm -f conftest.er1 
     8225  cat conftest.err >&5 
     8226  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8227  (exit $ac_status); } >/dev/null && { 
     8228         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8229         test ! -s conftest.err 
     8230       }; then 
     8231  ac_header_preproc=yes 
     8232else 
     8233  echo "$as_me: failed program was:" >&5 
     8234sed 's/^/| /' conftest.$ac_ext >&5 
     8235 
     8236  ac_header_preproc=no 
     8237fi 
     8238 
     8239rm -f conftest.err conftest.$ac_ext 
     8240{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8241echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8242 
     8243# So?  What about this header? 
     8244case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8245  yes:no: ) 
     8246    { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8247echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8248    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
     8249echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
     8250    ac_header_preproc=yes 
     8251    ;; 
     8252  no:yes:* ) 
     8253    { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
     8254echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
     8255    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
     8256echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
     8257    { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
     8258echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
     8259    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8260echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8261    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
     8262echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
     8263    { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
     8264echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
     8265 
     8266    ;; 
     8267esac 
     8268{ echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     8269echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
     8270if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8271  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8272else 
     8273  ac_cv_header_sys_socket_h=$ac_header_preproc 
     8274fi 
     8275{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     8276echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
     8277 
     8278fi 
     8279if test $ac_cv_header_sys_socket_h = yes; then 
     8280  cat >>confdefs.h <<\_ACEOF 
     8281#define PJ_HAS_SYS_SOCKET_H 1 
     8282_ACEOF 
     8283 
     8284fi 
     8285 
     8286 
     8287if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8288  { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     8289echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
     8290if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8291  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8292fi 
     8293{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     8294echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
     8295else 
     8296  # Is the header compilable? 
     8297{ echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
     8298echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
     8299cat >conftest.$ac_ext <<_ACEOF 
     8300/* confdefs.h.  */ 
     8301_ACEOF 
     8302cat confdefs.h >>conftest.$ac_ext 
     8303cat >>conftest.$ac_ext <<_ACEOF 
     8304/* end confdefs.h.  */ 
     8305$ac_includes_default 
     8306#include <sys/time.h> 
     8307_ACEOF 
     8308rm -f conftest.$ac_objext 
     8309if { (ac_try="$ac_compile" 
     8310case "(($ac_try" in 
     8311  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8312  *) ac_try_echo=$ac_try;; 
     8313esac 
     8314eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8315  (eval "$ac_compile") 2>conftest.er1 
     8316  ac_status=$? 
     8317  grep -v '^ *+' conftest.er1 >conftest.err 
     8318  rm -f conftest.er1 
     8319  cat conftest.err >&5 
     8320  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8321  (exit $ac_status); } && { 
     8322         test -z "$ac_c_werror_flag" || 
     8323         test ! -s conftest.err 
     8324       } && test -s conftest.$ac_objext; then 
     8325  ac_header_compiler=yes 
     8326else 
     8327  echo "$as_me: failed program was:" >&5 
     8328sed 's/^/| /' conftest.$ac_ext >&5 
     8329 
     8330        ac_header_compiler=no 
     8331fi 
     8332 
     8333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8334{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8335echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8336 
     8337# Is the header present? 
     8338{ echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
     8339echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
     8340cat >conftest.$ac_ext <<_ACEOF 
     8341/* confdefs.h.  */ 
     8342_ACEOF 
     8343cat confdefs.h >>conftest.$ac_ext 
     8344cat >>conftest.$ac_ext <<_ACEOF 
     8345/* end confdefs.h.  */ 
     8346#include <sys/time.h> 
     8347_ACEOF 
     8348if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8349case "(($ac_try" in 
     8350  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8351  *) ac_try_echo=$ac_try;; 
     8352esac 
     8353eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8354  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8355  ac_status=$? 
     8356  grep -v '^ *+' conftest.er1 >conftest.err 
     8357  rm -f conftest.er1 
     8358  cat conftest.err >&5 
     8359  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8360  (exit $ac_status); } >/dev/null && { 
     8361         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8362         test ! -s conftest.err 
     8363       }; then 
     8364  ac_header_preproc=yes 
     8365else 
     8366  echo "$as_me: failed program was:" >&5 
     8367sed 's/^/| /' conftest.$ac_ext >&5 
     8368 
     8369  ac_header_preproc=no 
     8370fi 
     8371 
     8372rm -f conftest.err conftest.$ac_ext 
     8373{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8374echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8375 
     8376# So?  What about this header? 
     8377case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8378  yes:no: ) 
     8379    { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8380echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8381    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
     8382echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
     8383    ac_header_preproc=yes 
     8384    ;; 
     8385  no:yes:* ) 
     8386    { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
     8387echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
     8388    { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
     8389echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
     8390    { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
     8391echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
     8392    { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8393echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8394    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
     8395echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
     8396    { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
     8397echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
     8398 
     8399    ;; 
     8400esac 
     8401{ echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     8402echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
     8403if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8404  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8405else 
     8406  ac_cv_header_sys_time_h=$ac_header_preproc 
     8407fi 
     8408{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     8409echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
     8410 
     8411fi 
     8412if test $ac_cv_header_sys_time_h = yes; then 
     8413  cat >>confdefs.h <<\_ACEOF 
     8414#define PJ_HAS_SYS_TIME_H 1 
     8415_ACEOF 
     8416 
     8417fi 
     8418 
     8419 
     8420if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8421  { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     8422echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
     8423if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8424  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8425fi 
     8426{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     8427echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
     8428else 
     8429  # Is the header compilable? 
     8430{ echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
     8431echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
     8432cat >conftest.$ac_ext <<_ACEOF 
     8433/* confdefs.h.  */ 
     8434_ACEOF 
     8435cat confdefs.h >>conftest.$ac_ext 
     8436cat >>conftest.$ac_ext <<_ACEOF 
     8437/* end confdefs.h.  */ 
     8438$ac_includes_default 
     8439#include <sys/timeb.h> 
     8440_ACEOF 
     8441rm -f conftest.$ac_objext 
     8442if { (ac_try="$ac_compile" 
     8443case "(($ac_try" in 
     8444  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8445  *) ac_try_echo=$ac_try;; 
     8446esac 
     8447eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8448  (eval "$ac_compile") 2>conftest.er1 
     8449  ac_status=$? 
     8450  grep -v '^ *+' conftest.er1 >conftest.err 
     8451  rm -f conftest.er1 
     8452  cat conftest.err >&5 
     8453  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8454  (exit $ac_status); } && { 
     8455         test -z "$ac_c_werror_flag" || 
     8456         test ! -s conftest.err 
     8457       } && test -s conftest.$ac_objext; then 
     8458  ac_header_compiler=yes 
     8459else 
     8460  echo "$as_me: failed program was:" >&5 
     8461sed 's/^/| /' conftest.$ac_ext >&5 
     8462 
     8463        ac_header_compiler=no 
     8464fi 
     8465 
     8466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8467{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8468echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8469 
     8470# Is the header present? 
     8471{ echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
     8472echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
     8473cat >conftest.$ac_ext <<_ACEOF 
     8474/* confdefs.h.  */ 
     8475_ACEOF 
     8476cat confdefs.h >>conftest.$ac_ext 
     8477cat >>conftest.$ac_ext <<_ACEOF 
     8478/* end confdefs.h.  */ 
     8479#include <sys/timeb.h> 
     8480_ACEOF 
     8481if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8482case "(($ac_try" in 
     8483  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8484  *) ac_try_echo=$ac_try;; 
     8485esac 
     8486eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8487  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8488  ac_status=$? 
     8489  grep -v '^ *+' conftest.er1 >conftest.err 
     8490  rm -f conftest.er1 
     8491  cat conftest.err >&5 
     8492  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8493  (exit $ac_status); } >/dev/null && { 
     8494         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8495         test ! -s conftest.err 
     8496       }; then 
     8497  ac_header_preproc=yes 
     8498else 
     8499  echo "$as_me: failed program was:" >&5 
     8500sed 's/^/| /' conftest.$ac_ext >&5 
     8501 
     8502  ac_header_preproc=no 
     8503fi 
     8504 
     8505rm -f conftest.err conftest.$ac_ext 
     8506{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8507echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8508 
     8509# So?  What about this header? 
     8510case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8511  yes:no: ) 
     8512    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8513echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8514    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
     8515echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
     8516    ac_header_preproc=yes 
     8517    ;; 
     8518  no:yes:* ) 
     8519    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
     8520echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
     8521    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
     8522echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
     8523    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
     8524echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
     8525    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8526echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8527    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
     8528echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
     8529    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
     8530echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
     8531 
     8532    ;; 
     8533esac 
     8534{ echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     8535echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
     8536if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8537  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8538else 
     8539  ac_cv_header_sys_timeb_h=$ac_header_preproc 
     8540fi 
     8541{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     8542echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
     8543 
     8544fi 
     8545if test $ac_cv_header_sys_timeb_h = yes; then 
     8546  cat >>confdefs.h <<\_ACEOF 
     8547#define PJ_HAS_SYS_TIMEB_H 1 
     8548_ACEOF 
     8549 
     8550fi 
     8551 
     8552 
     8553if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8554  { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     8555echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
     8556if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8557  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8558fi 
     8559{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     8560echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
     8561else 
     8562  # Is the header compilable? 
     8563{ echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
     8564echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
     8565cat >conftest.$ac_ext <<_ACEOF 
     8566/* confdefs.h.  */ 
     8567_ACEOF 
     8568cat confdefs.h >>conftest.$ac_ext 
     8569cat >>conftest.$ac_ext <<_ACEOF 
     8570/* end confdefs.h.  */ 
     8571$ac_includes_default 
     8572#include <sys/types.h> 
     8573_ACEOF 
     8574rm -f conftest.$ac_objext 
     8575if { (ac_try="$ac_compile" 
     8576case "(($ac_try" in 
     8577  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8578  *) ac_try_echo=$ac_try;; 
     8579esac 
     8580eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8581  (eval "$ac_compile") 2>conftest.er1 
     8582  ac_status=$? 
     8583  grep -v '^ *+' conftest.er1 >conftest.err 
     8584  rm -f conftest.er1 
     8585  cat conftest.err >&5 
     8586  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8587  (exit $ac_status); } && { 
     8588         test -z "$ac_c_werror_flag" || 
     8589         test ! -s conftest.err 
     8590       } && test -s conftest.$ac_objext; then 
     8591  ac_header_compiler=yes 
     8592else 
     8593  echo "$as_me: failed program was:" >&5 
     8594sed 's/^/| /' conftest.$ac_ext >&5 
     8595 
     8596        ac_header_compiler=no 
     8597fi 
     8598 
     8599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8600{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8601echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8602 
     8603# Is the header present? 
     8604{ echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
     8605echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
     8606cat >conftest.$ac_ext <<_ACEOF 
     8607/* confdefs.h.  */ 
     8608_ACEOF 
     8609cat confdefs.h >>conftest.$ac_ext 
     8610cat >>conftest.$ac_ext <<_ACEOF 
     8611/* end confdefs.h.  */ 
     8612#include <sys/types.h> 
     8613_ACEOF 
     8614if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8615case "(($ac_try" in 
     8616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8617  *) ac_try_echo=$ac_try;; 
     8618esac 
     8619eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8620  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8621  ac_status=$? 
     8622  grep -v '^ *+' conftest.er1 >conftest.err 
     8623  rm -f conftest.er1 
     8624  cat conftest.err >&5 
     8625  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8626  (exit $ac_status); } >/dev/null && { 
     8627         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8628         test ! -s conftest.err 
     8629       }; then 
     8630  ac_header_preproc=yes 
     8631else 
     8632  echo "$as_me: failed program was:" >&5 
     8633sed 's/^/| /' conftest.$ac_ext >&5 
     8634 
     8635  ac_header_preproc=no 
     8636fi 
     8637 
     8638rm -f conftest.err conftest.$ac_ext 
     8639{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8640echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8641 
     8642# So?  What about this header? 
     8643case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8644  yes:no: ) 
     8645    { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8646echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8647    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
     8648echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
     8649    ac_header_preproc=yes 
     8650    ;; 
     8651  no:yes:* ) 
     8652    { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
     8653echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
     8654    { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
     8655echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
     8656    { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
     8657echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
     8658    { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8659echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8660    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
     8661echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
     8662    { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
     8663echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
     8664 
     8665    ;; 
     8666esac 
     8667{ echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     8668echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
     8669if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8670  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8671else 
     8672  ac_cv_header_sys_types_h=$ac_header_preproc 
     8673fi 
     8674{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     8675echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
     8676 
     8677fi 
     8678if test $ac_cv_header_sys_types_h = yes; then 
     8679  cat >>confdefs.h <<\_ACEOF 
     8680#define PJ_HAS_SYS_TYPES_H 1 
     8681_ACEOF 
     8682 
     8683fi 
     8684 
     8685 
     8686if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8687  { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
     8688echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
     8689if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8690  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8691fi 
     8692{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
     8693echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
     8694else 
     8695  # Is the header compilable? 
     8696{ echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
     8697echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
     8698cat >conftest.$ac_ext <<_ACEOF 
     8699/* confdefs.h.  */ 
     8700_ACEOF 
     8701cat confdefs.h >>conftest.$ac_ext 
     8702cat >>conftest.$ac_ext <<_ACEOF 
     8703/* end confdefs.h.  */ 
     8704$ac_includes_default 
     8705#include <sys/filio.h> 
     8706_ACEOF 
     8707rm -f conftest.$ac_objext 
     8708if { (ac_try="$ac_compile" 
     8709case "(($ac_try" in 
     8710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8711  *) ac_try_echo=$ac_try;; 
     8712esac 
     8713eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8714  (eval "$ac_compile") 2>conftest.er1 
     8715  ac_status=$? 
     8716  grep -v '^ *+' conftest.er1 >conftest.err 
     8717  rm -f conftest.er1 
     8718  cat conftest.err >&5 
     8719  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8720  (exit $ac_status); } && { 
     8721         test -z "$ac_c_werror_flag" || 
     8722         test ! -s conftest.err 
     8723       } && test -s conftest.$ac_objext; then 
     8724  ac_header_compiler=yes 
     8725else 
     8726  echo "$as_me: failed program was:" >&5 
     8727sed 's/^/| /' conftest.$ac_ext >&5 
     8728 
     8729        ac_header_compiler=no 
     8730fi 
     8731 
     8732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8733{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8734echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8735 
     8736# Is the header present? 
     8737{ echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
     8738echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
     8739cat >conftest.$ac_ext <<_ACEOF 
     8740/* confdefs.h.  */ 
     8741_ACEOF 
     8742cat confdefs.h >>conftest.$ac_ext 
     8743cat >>conftest.$ac_ext <<_ACEOF 
     8744/* end confdefs.h.  */ 
     8745#include <sys/filio.h> 
     8746_ACEOF 
     8747if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8748case "(($ac_try" in 
     8749  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8750  *) ac_try_echo=$ac_try;; 
     8751esac 
     8752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8753  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8754  ac_status=$? 
     8755  grep -v '^ *+' conftest.er1 >conftest.err 
     8756  rm -f conftest.er1 
     8757  cat conftest.err >&5 
     8758  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8759  (exit $ac_status); } >/dev/null && { 
     8760         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8761         test ! -s conftest.err 
     8762       }; then 
     8763  ac_header_preproc=yes 
     8764else 
     8765  echo "$as_me: failed program was:" >&5 
     8766sed 's/^/| /' conftest.$ac_ext >&5 
     8767 
     8768  ac_header_preproc=no 
     8769fi 
     8770 
     8771rm -f conftest.err conftest.$ac_ext 
     8772{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8773echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8774 
     8775# So?  What about this header? 
     8776case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8777  yes:no: ) 
     8778    { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8779echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8780    { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
     8781echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
     8782    ac_header_preproc=yes 
     8783    ;; 
     8784  no:yes:* ) 
     8785    { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
     8786echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
     8787    { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
     8788echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
     8789    { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
     8790echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
     8791    { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8792echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8793    { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
     8794echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
     8795    { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
     8796echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
     8797 
     8798    ;; 
     8799esac 
     8800{ echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
     8801echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
     8802if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8803  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8804else 
     8805  ac_cv_header_sys_filio_h=$ac_header_preproc 
     8806fi 
     8807{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
     8808echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
     8809 
     8810fi 
     8811if test $ac_cv_header_sys_filio_h = yes; then 
     8812  cat >>confdefs.h <<\_ACEOF 
     8813#define PJ_HAS_SYS_FILIO_H 1 
     8814_ACEOF 
     8815 
     8816fi 
     8817 
     8818 
     8819if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8820  { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
     8821echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
     8822if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8823  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8824fi 
     8825{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
     8826echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
     8827else 
     8828  # Is the header compilable? 
     8829{ echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
     8830echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
     8831cat >conftest.$ac_ext <<_ACEOF 
     8832/* confdefs.h.  */ 
     8833_ACEOF 
     8834cat confdefs.h >>conftest.$ac_ext 
     8835cat >>conftest.$ac_ext <<_ACEOF 
     8836/* end confdefs.h.  */ 
     8837$ac_includes_default 
     8838#include <sys/sockio.h> 
     8839_ACEOF 
     8840rm -f conftest.$ac_objext 
     8841if { (ac_try="$ac_compile" 
     8842case "(($ac_try" in 
     8843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8844  *) ac_try_echo=$ac_try;; 
     8845esac 
     8846eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8847  (eval "$ac_compile") 2>conftest.er1 
     8848  ac_status=$? 
     8849  grep -v '^ *+' conftest.er1 >conftest.err 
     8850  rm -f conftest.er1 
     8851  cat conftest.err >&5 
     8852  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8853  (exit $ac_status); } && { 
     8854         test -z "$ac_c_werror_flag" || 
     8855         test ! -s conftest.err 
     8856       } && test -s conftest.$ac_objext; then 
     8857  ac_header_compiler=yes 
     8858else 
     8859  echo "$as_me: failed program was:" >&5 
     8860sed 's/^/| /' conftest.$ac_ext >&5 
     8861 
     8862        ac_header_compiler=no 
     8863fi 
     8864 
     8865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8866{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8867echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8868 
     8869# Is the header present? 
     8870{ echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
     8871echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
     8872cat >conftest.$ac_ext <<_ACEOF 
     8873/* confdefs.h.  */ 
     8874_ACEOF 
     8875cat confdefs.h >>conftest.$ac_ext 
     8876cat >>conftest.$ac_ext <<_ACEOF 
     8877/* end confdefs.h.  */ 
     8878#include <sys/sockio.h> 
     8879_ACEOF 
     8880if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8881case "(($ac_try" in 
     8882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8883  *) ac_try_echo=$ac_try;; 
     8884esac 
     8885eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8886  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8887  ac_status=$? 
     8888  grep -v '^ *+' conftest.er1 >conftest.err 
     8889  rm -f conftest.er1 
     8890  cat conftest.err >&5 
     8891  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8892  (exit $ac_status); } >/dev/null && { 
     8893         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8894         test ! -s conftest.err 
     8895       }; then 
     8896  ac_header_preproc=yes 
     8897else 
     8898  echo "$as_me: failed program was:" >&5 
     8899sed 's/^/| /' conftest.$ac_ext >&5 
     8900 
     8901  ac_header_preproc=no 
     8902fi 
     8903 
     8904rm -f conftest.err conftest.$ac_ext 
     8905{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8906echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8907 
     8908# So?  What about this header? 
     8909case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8910  yes:no: ) 
     8911    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8912echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8913    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
     8914echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
     8915    ac_header_preproc=yes 
     8916    ;; 
     8917  no:yes:* ) 
     8918    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
     8919echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
     8920    { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
     8921echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
     8922    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
     8923echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
     8924    { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8925echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8926    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
     8927echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
     8928    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
     8929echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
     8930 
     8931    ;; 
     8932esac 
     8933{ echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
     8934echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
     8935if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8936  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8937else 
     8938  ac_cv_header_sys_sockio_h=$ac_header_preproc 
     8939fi 
     8940{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
     8941echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
     8942 
     8943fi 
     8944if test $ac_cv_header_sys_sockio_h = yes; then 
     8945  cat >>confdefs.h <<\_ACEOF 
     8946#define PJ_HAS_SYS_SOCKIO_H 1 
     8947_ACEOF 
     8948 
     8949fi 
     8950 
     8951 
     8952if test "${ac_cv_header_time_h+set}" = set; then 
     8953  { echo "$as_me:$LINENO: checking for time.h" >&5 
     8954echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
     8955if test "${ac_cv_header_time_h+set}" = set; then 
     8956  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8957fi 
     8958{ echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     8959echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
     8960else 
     8961  # Is the header compilable? 
     8962{ echo "$as_me:$LINENO: checking time.h usability" >&5 
     8963echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
     8964cat >conftest.$ac_ext <<_ACEOF 
     8965/* confdefs.h.  */ 
     8966_ACEOF 
     8967cat confdefs.h >>conftest.$ac_ext 
     8968cat >>conftest.$ac_ext <<_ACEOF 
     8969/* end confdefs.h.  */ 
     8970$ac_includes_default 
     8971#include <time.h> 
     8972_ACEOF 
     8973rm -f conftest.$ac_objext 
     8974if { (ac_try="$ac_compile" 
     8975case "(($ac_try" in 
     8976  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8977  *) ac_try_echo=$ac_try;; 
     8978esac 
     8979eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8980  (eval "$ac_compile") 2>conftest.er1 
     8981  ac_status=$? 
     8982  grep -v '^ *+' conftest.er1 >conftest.err 
     8983  rm -f conftest.er1 
     8984  cat conftest.err >&5 
     8985  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8986  (exit $ac_status); } && { 
     8987         test -z "$ac_c_werror_flag" || 
     8988         test ! -s conftest.err 
     8989       } && test -s conftest.$ac_objext; then 
     8990  ac_header_compiler=yes 
     8991else 
     8992  echo "$as_me: failed program was:" >&5 
     8993sed 's/^/| /' conftest.$ac_ext >&5 
     8994 
     8995        ac_header_compiler=no 
     8996fi 
     8997 
     8998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8999{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9000echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9001 
     9002# Is the header present? 
     9003{ echo "$as_me:$LINENO: checking time.h presence" >&5 
     9004echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
     9005cat >conftest.$ac_ext <<_ACEOF 
     9006/* confdefs.h.  */ 
     9007_ACEOF 
     9008cat confdefs.h >>conftest.$ac_ext 
     9009cat >>conftest.$ac_ext <<_ACEOF 
     9010/* end confdefs.h.  */ 
     9011#include <time.h> 
     9012_ACEOF 
     9013if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9014case "(($ac_try" in 
     9015  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9016  *) ac_try_echo=$ac_try;; 
     9017esac 
     9018eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9019  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9020  ac_status=$? 
     9021  grep -v '^ *+' conftest.er1 >conftest.err 
     9022  rm -f conftest.er1 
     9023  cat conftest.err >&5 
     9024  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9025  (exit $ac_status); } >/dev/null && { 
     9026         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9027         test ! -s conftest.err 
     9028       }; then 
     9029  ac_header_preproc=yes 
     9030else 
     9031  echo "$as_me: failed program was:" >&5 
     9032sed 's/^/| /' conftest.$ac_ext >&5 
     9033 
     9034  ac_header_preproc=no 
     9035fi 
     9036 
     9037rm -f conftest.err conftest.$ac_ext 
     9038{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9039echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9040 
     9041# So?  What about this header? 
     9042case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9043  yes:no: ) 
     9044    { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9045echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9046    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
     9047echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
     9048    ac_header_preproc=yes 
     9049    ;; 
     9050  no:yes:* ) 
     9051    { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
     9052echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
     9053    { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
     9054echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
     9055    { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
     9056echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
     9057    { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9058echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9059    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
     9060echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
     9061    { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
     9062echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
     9063 
     9064    ;; 
     9065esac 
     9066{ echo "$as_me:$LINENO: checking for time.h" >&5 
     9067echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
     9068if test "${ac_cv_header_time_h+set}" = set; then 
     9069  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9070else 
     9071  ac_cv_header_time_h=$ac_header_preproc 
     9072fi 
     9073{ echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     9074echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
     9075 
     9076fi 
     9077if test $ac_cv_header_time_h = yes; then 
     9078  cat >>confdefs.h <<\_ACEOF 
     9079#define PJ_HAS_TIME_H 1 
     9080_ACEOF 
     9081 
     9082fi 
     9083 
     9084 
     9085if test "${ac_cv_header_unistd_h+set}" = set; then 
     9086  { echo "$as_me:$LINENO: checking for unistd.h" >&5 
     9087echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
     9088if test "${ac_cv_header_unistd_h+set}" = set; then 
     9089  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9090fi 
     9091{ echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     9092echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
     9093else 
     9094  # Is the header compilable? 
     9095{ echo "$as_me:$LINENO: checking unistd.h usability" >&5 
     9096echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
     9097cat >conftest.$ac_ext <<_ACEOF 
     9098/* confdefs.h.  */ 
     9099_ACEOF 
     9100cat confdefs.h >>conftest.$ac_ext 
     9101cat >>conftest.$ac_ext <<_ACEOF 
     9102/* end confdefs.h.  */ 
     9103$ac_includes_default 
     9104#include <unistd.h> 
     9105_ACEOF 
     9106rm -f conftest.$ac_objext 
     9107if { (ac_try="$ac_compile" 
     9108case "(($ac_try" in 
     9109  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9110  *) ac_try_echo=$ac_try;; 
     9111esac 
     9112eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9113  (eval "$ac_compile") 2>conftest.er1 
     9114  ac_status=$? 
     9115  grep -v '^ *+' conftest.er1 >conftest.err 
     9116  rm -f conftest.er1 
     9117  cat conftest.err >&5 
     9118  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9119  (exit $ac_status); } && { 
     9120         test -z "$ac_c_werror_flag" || 
     9121         test ! -s conftest.err 
     9122       } && test -s conftest.$ac_objext; then 
     9123  ac_header_compiler=yes 
     9124else 
     9125  echo "$as_me: failed program was:" >&5 
     9126sed 's/^/| /' conftest.$ac_ext >&5 
     9127 
     9128        ac_header_compiler=no 
     9129fi 
     9130 
     9131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9132{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9133echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9134 
     9135# Is the header present? 
     9136{ echo "$as_me:$LINENO: checking unistd.h presence" >&5 
     9137echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
     9138cat >conftest.$ac_ext <<_ACEOF 
     9139/* confdefs.h.  */ 
     9140_ACEOF 
     9141cat confdefs.h >>conftest.$ac_ext 
     9142cat >>conftest.$ac_ext <<_ACEOF 
     9143/* end confdefs.h.  */ 
     9144#include <unistd.h> 
     9145_ACEOF 
     9146if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9147case "(($ac_try" in 
     9148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9149  *) ac_try_echo=$ac_try;; 
     9150esac 
     9151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9152  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9153  ac_status=$? 
     9154  grep -v '^ *+' conftest.er1 >conftest.err 
     9155  rm -f conftest.er1 
     9156  cat conftest.err >&5 
     9157  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9158  (exit $ac_status); } >/dev/null && { 
     9159         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9160         test ! -s conftest.err 
     9161       }; then 
     9162  ac_header_preproc=yes 
     9163else 
     9164  echo "$as_me: failed program was:" >&5 
     9165sed 's/^/| /' conftest.$ac_ext >&5 
     9166 
     9167  ac_header_preproc=no 
     9168fi 
     9169 
     9170rm -f conftest.err conftest.$ac_ext 
     9171{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9172echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9173 
     9174# So?  What about this header? 
     9175case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9176  yes:no: ) 
     9177    { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9178echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9179    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
     9180echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
     9181    ac_header_preproc=yes 
     9182    ;; 
     9183  no:yes:* ) 
     9184    { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
     9185echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
     9186    { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
     9187echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
     9188    { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
     9189echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
     9190    { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9191echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9192    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
     9193echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
     9194    { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
     9195echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
     9196 
     9197    ;; 
     9198esac 
     9199{ echo "$as_me:$LINENO: checking for unistd.h" >&5 
     9200echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
     9201if test "${ac_cv_header_unistd_h+set}" = set; then 
     9202  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9203else 
     9204  ac_cv_header_unistd_h=$ac_header_preproc 
     9205fi 
     9206{ echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     9207echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
     9208 
     9209fi 
     9210if test $ac_cv_header_unistd_h = yes; then 
     9211  cat >>confdefs.h <<\_ACEOF 
     9212#define PJ_HAS_UNISTD_H 1 
     9213_ACEOF 
     9214 
     9215fi 
     9216 
     9217 
     9218if test "${ac_cv_header_winsock_h+set}" = set; then 
     9219  { echo "$as_me:$LINENO: checking for winsock.h" >&5 
     9220echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
     9221if test "${ac_cv_header_winsock_h+set}" = set; then 
     9222  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9223fi 
     9224{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     9225echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
     9226else 
     9227  # Is the header compilable? 
     9228{ echo "$as_me:$LINENO: checking winsock.h usability" >&5 
     9229echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
     9230cat >conftest.$ac_ext <<_ACEOF 
     9231/* confdefs.h.  */ 
     9232_ACEOF 
     9233cat confdefs.h >>conftest.$ac_ext 
     9234cat >>conftest.$ac_ext <<_ACEOF 
     9235/* end confdefs.h.  */ 
     9236$ac_includes_default 
     9237#include <winsock.h> 
     9238_ACEOF 
     9239rm -f conftest.$ac_objext 
     9240if { (ac_try="$ac_compile" 
     9241case "(($ac_try" in 
     9242  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9243  *) ac_try_echo=$ac_try;; 
     9244esac 
     9245eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9246  (eval "$ac_compile") 2>conftest.er1 
     9247  ac_status=$? 
     9248  grep -v '^ *+' conftest.er1 >conftest.err 
     9249  rm -f conftest.er1 
     9250  cat conftest.err >&5 
     9251  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9252  (exit $ac_status); } && { 
     9253         test -z "$ac_c_werror_flag" || 
     9254         test ! -s conftest.err 
     9255       } && test -s conftest.$ac_objext; then 
     9256  ac_header_compiler=yes 
     9257else 
     9258  echo "$as_me: failed program was:" >&5 
     9259sed 's/^/| /' conftest.$ac_ext >&5 
     9260 
     9261        ac_header_compiler=no 
     9262fi 
     9263 
     9264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9265{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9266echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9267 
     9268# Is the header present? 
     9269{ echo "$as_me:$LINENO: checking winsock.h presence" >&5 
     9270echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
     9271cat >conftest.$ac_ext <<_ACEOF 
     9272/* confdefs.h.  */ 
     9273_ACEOF 
     9274cat confdefs.h >>conftest.$ac_ext 
     9275cat >>conftest.$ac_ext <<_ACEOF 
     9276/* end confdefs.h.  */ 
     9277#include <winsock.h> 
     9278_ACEOF 
     9279if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9280case "(($ac_try" in 
     9281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9282  *) ac_try_echo=$ac_try;; 
     9283esac 
     9284eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9285  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9286  ac_status=$? 
     9287  grep -v '^ *+' conftest.er1 >conftest.err 
     9288  rm -f conftest.er1 
     9289  cat conftest.err >&5 
     9290  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9291  (exit $ac_status); } >/dev/null && { 
     9292         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9293         test ! -s conftest.err 
     9294       }; then 
     9295  ac_header_preproc=yes 
     9296else 
     9297  echo "$as_me: failed program was:" >&5 
     9298sed 's/^/| /' conftest.$ac_ext >&5 
     9299 
     9300  ac_header_preproc=no 
     9301fi 
     9302 
     9303rm -f conftest.err conftest.$ac_ext 
     9304{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9305echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9306 
     9307# So?  What about this header? 
     9308case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9309  yes:no: ) 
     9310    { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9311echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9312    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
     9313echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
     9314    ac_header_preproc=yes 
     9315    ;; 
     9316  no:yes:* ) 
     9317    { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
     9318echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
     9319    { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
     9320echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
     9321    { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
     9322echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
     9323    { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9324echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9325    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
     9326echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
     9327    { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
     9328echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
     9329 
     9330    ;; 
     9331esac 
     9332{ echo "$as_me:$LINENO: checking for winsock.h" >&5 
     9333echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
     9334if test "${ac_cv_header_winsock_h+set}" = set; then 
     9335  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9336else 
     9337  ac_cv_header_winsock_h=$ac_header_preproc 
     9338fi 
     9339{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     9340echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
     9341 
     9342fi 
     9343if test $ac_cv_header_winsock_h = yes; then 
     9344  cat >>confdefs.h <<\_ACEOF 
     9345#define PJ_HAS_WINSOCK_H 1 
     9346_ACEOF 
     9347 
     9348fi 
     9349 
     9350 
     9351if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9352  { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     9353echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
     9354if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9355  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9356fi 
     9357{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     9358echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
     9359else 
     9360  # Is the header compilable? 
     9361{ echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
     9362echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
     9363cat >conftest.$ac_ext <<_ACEOF 
     9364/* confdefs.h.  */ 
     9365_ACEOF 
     9366cat confdefs.h >>conftest.$ac_ext 
     9367cat >>conftest.$ac_ext <<_ACEOF 
     9368/* end confdefs.h.  */ 
     9369$ac_includes_default 
     9370#include <winsock2.h> 
     9371_ACEOF 
     9372rm -f conftest.$ac_objext 
     9373if { (ac_try="$ac_compile" 
     9374case "(($ac_try" in 
     9375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9376  *) ac_try_echo=$ac_try;; 
     9377esac 
     9378eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9379  (eval "$ac_compile") 2>conftest.er1 
     9380  ac_status=$? 
     9381  grep -v '^ *+' conftest.er1 >conftest.err 
     9382  rm -f conftest.er1 
     9383  cat conftest.err >&5 
     9384  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9385  (exit $ac_status); } && { 
     9386         test -z "$ac_c_werror_flag" || 
     9387         test ! -s conftest.err 
     9388       } && test -s conftest.$ac_objext; then 
     9389  ac_header_compiler=yes 
     9390else 
     9391  echo "$as_me: failed program was:" >&5 
     9392sed 's/^/| /' conftest.$ac_ext >&5 
     9393 
     9394        ac_header_compiler=no 
     9395fi 
     9396 
     9397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9398{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9399echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9400 
     9401# Is the header present? 
     9402{ echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
     9403echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
     9404cat >conftest.$ac_ext <<_ACEOF 
     9405/* confdefs.h.  */ 
     9406_ACEOF 
     9407cat confdefs.h >>conftest.$ac_ext 
     9408cat >>conftest.$ac_ext <<_ACEOF 
     9409/* end confdefs.h.  */ 
     9410#include <winsock2.h> 
     9411_ACEOF 
     9412if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9413case "(($ac_try" in 
     9414  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9415  *) ac_try_echo=$ac_try;; 
     9416esac 
     9417eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9418  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9419  ac_status=$? 
     9420  grep -v '^ *+' conftest.er1 >conftest.err 
     9421  rm -f conftest.er1 
     9422  cat conftest.err >&5 
     9423  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9424  (exit $ac_status); } >/dev/null && { 
     9425         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9426         test ! -s conftest.err 
     9427       }; then 
     9428  ac_header_preproc=yes 
     9429else 
     9430  echo "$as_me: failed program was:" >&5 
     9431sed 's/^/| /' conftest.$ac_ext >&5 
     9432 
     9433  ac_header_preproc=no 
     9434fi 
     9435 
     9436rm -f conftest.err conftest.$ac_ext 
     9437{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9438echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9439 
     9440# So?  What about this header? 
     9441case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9442  yes:no: ) 
     9443    { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9444echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9445    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
     9446echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
     9447    ac_header_preproc=yes 
     9448    ;; 
     9449  no:yes:* ) 
     9450    { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
     9451echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
     9452    { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
     9453echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
     9454    { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
     9455echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
     9456    { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9457echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9458    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
     9459echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
     9460    { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
     9461echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
     9462 
     9463    ;; 
     9464esac 
     9465{ echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     9466echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
     9467if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9468  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9469else 
     9470  ac_cv_header_winsock2_h=$ac_header_preproc 
     9471fi 
     9472{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     9473echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
     9474 
     9475fi 
     9476if test $ac_cv_header_winsock2_h = yes; then 
     9477  cat >>confdefs.h <<\_ACEOF 
     9478#define PJ_HAS_WINSOCK2_H 1 
     9479_ACEOF 
     9480 
     9481fi 
     9482 
     9483 
     9484{ echo "$as_me:$LINENO: checking for mswsock.h" >&5 
     9485echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
     9486if test "${ac_cv_header_mswsock_h+set}" = set; then 
     9487  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9488else 
     9489  cat >conftest.$ac_ext <<_ACEOF 
     9490/* confdefs.h.  */ 
     9491_ACEOF 
     9492cat confdefs.h >>conftest.$ac_ext 
     9493cat >>conftest.$ac_ext <<_ACEOF 
     9494/* end confdefs.h.  */ 
     9495#if PJ_HAS_WINSOCK2_H 
    49479496                  #     include <winsock2.h> 
    49489497                  #elif PJ_HAS_WINSOCK_H 
     
    49509499                  #endif 
    49519500 
    4952 " 
    4953 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
    4954   $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
    4955  
    4956 fi 
    4957  
    4958  
    4959 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
    4960 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
    4961   $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
    4962  
    4963 fi 
    4964  
    4965  
    4966 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
    4967 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
     9501 
     9502#include <mswsock.h> 
     9503_ACEOF 
     9504rm -f conftest.$ac_objext 
     9505if { (ac_try="$ac_compile" 
     9506case "(($ac_try" in 
     9507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9508  *) ac_try_echo=$ac_try;; 
     9509esac 
     9510eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9511  (eval "$ac_compile") 2>conftest.er1 
     9512  ac_status=$? 
     9513  grep -v '^ *+' conftest.er1 >conftest.err 
     9514  rm -f conftest.er1 
     9515  cat conftest.err >&5 
     9516  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9517  (exit $ac_status); } && { 
     9518         test -z "$ac_c_werror_flag" || 
     9519         test ! -s conftest.err 
     9520       } && test -s conftest.$ac_objext; then 
     9521  ac_cv_header_mswsock_h=yes 
     9522else 
     9523  echo "$as_me: failed program was:" >&5 
     9524sed 's/^/| /' conftest.$ac_ext >&5 
     9525 
     9526        ac_cv_header_mswsock_h=no 
     9527fi 
     9528 
     9529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9530fi 
     9531{ echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
     9532echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
     9533if test $ac_cv_header_mswsock_h = yes; then 
     9534  cat >>confdefs.h <<\_ACEOF 
     9535#define PJ_HAS_MSWSOCK_H 1 
     9536_ACEOF 
     9537 
     9538fi 
     9539 
     9540 
     9541if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9542  { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
     9543echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
     9544if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9545  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9546fi 
     9547{ echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
     9548echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
     9549else 
     9550  # Is the header compilable? 
     9551{ echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
     9552echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
     9553cat >conftest.$ac_ext <<_ACEOF 
     9554/* confdefs.h.  */ 
     9555_ACEOF 
     9556cat confdefs.h >>conftest.$ac_ext 
     9557cat >>conftest.$ac_ext <<_ACEOF 
     9558/* end confdefs.h.  */ 
     9559$ac_includes_default 
     9560#include <ws2tcpip.h> 
     9561_ACEOF 
     9562rm -f conftest.$ac_objext 
     9563if { (ac_try="$ac_compile" 
     9564case "(($ac_try" in 
     9565  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9566  *) ac_try_echo=$ac_try;; 
     9567esac 
     9568eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9569  (eval "$ac_compile") 2>conftest.er1 
     9570  ac_status=$? 
     9571  grep -v '^ *+' conftest.er1 >conftest.err 
     9572  rm -f conftest.er1 
     9573  cat conftest.err >&5 
     9574  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9575  (exit $ac_status); } && { 
     9576         test -z "$ac_c_werror_flag" || 
     9577         test ! -s conftest.err 
     9578       } && test -s conftest.$ac_objext; then 
     9579  ac_header_compiler=yes 
     9580else 
     9581  echo "$as_me: failed program was:" >&5 
     9582sed 's/^/| /' conftest.$ac_ext >&5 
     9583 
     9584        ac_header_compiler=no 
     9585fi 
     9586 
     9587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9588{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9589echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9590 
     9591# Is the header present? 
     9592{ echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
     9593echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
     9594cat >conftest.$ac_ext <<_ACEOF 
     9595/* confdefs.h.  */ 
     9596_ACEOF 
     9597cat confdefs.h >>conftest.$ac_ext 
     9598cat >>conftest.$ac_ext <<_ACEOF 
     9599/* end confdefs.h.  */ 
     9600#include <ws2tcpip.h> 
     9601_ACEOF 
     9602if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9603case "(($ac_try" in 
     9604  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9605  *) ac_try_echo=$ac_try;; 
     9606esac 
     9607eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9608  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9609  ac_status=$? 
     9610  grep -v '^ *+' conftest.er1 >conftest.err 
     9611  rm -f conftest.er1 
     9612  cat conftest.err >&5 
     9613  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9614  (exit $ac_status); } >/dev/null && { 
     9615         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9616         test ! -s conftest.err 
     9617       }; then 
     9618  ac_header_preproc=yes 
     9619else 
     9620  echo "$as_me: failed program was:" >&5 
     9621sed 's/^/| /' conftest.$ac_ext >&5 
     9622 
     9623  ac_header_preproc=no 
     9624fi 
     9625 
     9626rm -f conftest.err conftest.$ac_ext 
     9627{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9628echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9629 
     9630# So?  What about this header? 
     9631case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9632  yes:no: ) 
     9633    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9634echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9635    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
     9636echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
     9637    ac_header_preproc=yes 
     9638    ;; 
     9639  no:yes:* ) 
     9640    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
     9641echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
     9642    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
     9643echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
     9644    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
     9645echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
     9646    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9647echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9648    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
     9649echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
     9650    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
     9651echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
     9652 
     9653    ;; 
     9654esac 
     9655{ echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
     9656echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
     9657if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9658  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9659else 
     9660  ac_cv_header_ws2tcpip_h=$ac_header_preproc 
     9661fi 
     9662{ echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
     9663echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
     9664 
     9665fi 
     9666if test $ac_cv_header_ws2tcpip_h = yes; then 
     9667  cat >>confdefs.h <<\_ACEOF 
     9668#define PJ_HAS_WS2TCPIP_H 1 
     9669_ACEOF 
     9670 
     9671fi 
     9672 
     9673 
     9674if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9675  { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
     9676echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
     9677if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9678  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9679fi 
     9680{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
     9681echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
     9682else 
     9683  # Is the header compilable? 
     9684{ echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
     9685echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
     9686cat >conftest.$ac_ext <<_ACEOF 
     9687/* confdefs.h.  */ 
     9688_ACEOF 
     9689cat confdefs.h >>conftest.$ac_ext 
     9690cat >>conftest.$ac_ext <<_ACEOF 
     9691/* end confdefs.h.  */ 
     9692$ac_includes_default 
     9693#include <uuid/uuid.h> 
     9694_ACEOF 
     9695rm -f conftest.$ac_objext 
     9696if { (ac_try="$ac_compile" 
     9697case "(($ac_try" in 
     9698  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9699  *) ac_try_echo=$ac_try;; 
     9700esac 
     9701eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9702  (eval "$ac_compile") 2>conftest.er1 
     9703  ac_status=$? 
     9704  grep -v '^ *+' conftest.er1 >conftest.err 
     9705  rm -f conftest.er1 
     9706  cat conftest.err >&5 
     9707  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9708  (exit $ac_status); } && { 
     9709         test -z "$ac_c_werror_flag" || 
     9710         test ! -s conftest.err 
     9711       } && test -s conftest.$ac_objext; then 
     9712  ac_header_compiler=yes 
     9713else 
     9714  echo "$as_me: failed program was:" >&5 
     9715sed 's/^/| /' conftest.$ac_ext >&5 
     9716 
     9717        ac_header_compiler=no 
     9718fi 
     9719 
     9720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9721{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9722echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9723 
     9724# Is the header present? 
     9725{ echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
     9726echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
     9727cat >conftest.$ac_ext <<_ACEOF 
     9728/* confdefs.h.  */ 
     9729_ACEOF 
     9730cat confdefs.h >>conftest.$ac_ext 
     9731cat >>conftest.$ac_ext <<_ACEOF 
     9732/* end confdefs.h.  */ 
     9733#include <uuid/uuid.h> 
     9734_ACEOF 
     9735if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9736case "(($ac_try" in 
     9737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9738  *) ac_try_echo=$ac_try;; 
     9739esac 
     9740eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9741  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9742  ac_status=$? 
     9743  grep -v '^ *+' conftest.er1 >conftest.err 
     9744  rm -f conftest.er1 
     9745  cat conftest.err >&5 
     9746  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9747  (exit $ac_status); } >/dev/null && { 
     9748         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9749         test ! -s conftest.err 
     9750       }; then 
     9751  ac_header_preproc=yes 
     9752else 
     9753  echo "$as_me: failed program was:" >&5 
     9754sed 's/^/| /' conftest.$ac_ext >&5 
     9755 
     9756  ac_header_preproc=no 
     9757fi 
     9758 
     9759rm -f conftest.err conftest.$ac_ext 
     9760{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9761echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9762 
     9763# So?  What about this header? 
     9764case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9765  yes:no: ) 
     9766    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9767echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9768    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
     9769echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
     9770    ac_header_preproc=yes 
     9771    ;; 
     9772  no:yes:* ) 
     9773    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
     9774echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
     9775    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
     9776echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
     9777    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
     9778echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
     9779    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9780echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9781    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
     9782echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
     9783    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
     9784echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
     9785 
     9786    ;; 
     9787esac 
     9788{ echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
     9789echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
     9790if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9791  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9792else 
     9793  ac_cv_header_uuid_uuid_h=$ac_header_preproc 
     9794fi 
     9795{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
     9796echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
     9797 
     9798fi 
     9799if test $ac_cv_header_uuid_uuid_h = yes; then 
    49689800  ac_has_uuid_h=1 
    49699801fi 
    49709802 
    49719803 
    4972 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
     9804{ echo "$as_me:$LINENO: checking for net/if.h" >&5 
     9805echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
     9806if test "${ac_cv_header_net_if_h+set}" = set; then 
     9807  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9808else 
     9809  cat >conftest.$ac_ext <<_ACEOF 
     9810/* confdefs.h.  */ 
     9811_ACEOF 
     9812cat confdefs.h >>conftest.$ac_ext 
     9813cat >>conftest.$ac_ext <<_ACEOF 
     9814/* end confdefs.h.  */ 
     9815#if PJ_HAS_SYS_TYPES_H 
    49739816                  #     include <sys/types.h> 
    49749817                  #endif 
     
    49789821                  #endif 
    49799822 
    4980 " 
    4981 if test "x$ac_cv_header_net_if_h" = x""yes; then : 
    4982   $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
    4983  
    4984 fi 
    4985  
    4986  
    4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
    4988 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 
     9823 
     9824#include <net/if.h> 
     9825_ACEOF 
     9826rm -f conftest.$ac_objext 
     9827if { (ac_try="$ac_compile" 
     9828case "(($ac_try" in 
     9829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9830  *) ac_try_echo=$ac_try;; 
     9831esac 
     9832eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9833  (eval "$ac_compile") 2>conftest.er1 
     9834  ac_status=$? 
     9835  grep -v '^ *+' conftest.er1 >conftest.err 
     9836  rm -f conftest.er1 
     9837  cat conftest.err >&5 
     9838  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9839  (exit $ac_status); } && { 
     9840         test -z "$ac_c_werror_flag" || 
     9841         test ! -s conftest.err 
     9842       } && test -s conftest.$ac_objext; then 
     9843  ac_cv_header_net_if_h=yes 
     9844else 
     9845  echo "$as_me: failed program was:" >&5 
     9846sed 's/^/| /' conftest.$ac_ext >&5 
     9847 
     9848        ac_cv_header_net_if_h=no 
     9849fi 
     9850 
     9851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9852fi 
     9853{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
     9854echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
     9855if test $ac_cv_header_net_if_h = yes; then 
     9856  cat >>confdefs.h <<\_ACEOF 
     9857#define PJ_HAS_NET_IF_H 1 
     9858_ACEOF 
     9859 
     9860fi 
     9861 
     9862 
     9863{ echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
     9864echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
    49899865cat >>confdefs.h <<_ACEOF 
    49909866#define PJ_OS_NAME "$target" 
     
    49929868 
    49939869 
    4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    4995 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    4996 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
    4997  
    4998  
    4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    5000 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    5001 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
    5002  
    5003  
    5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
    5005 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
    5006 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
    5007  
    5008  
    5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    5010 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    5011 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
    5012  
    5013  
    5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    5015 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    5016 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
    5017  
    5018  
    5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
    5020 $as_echo_n "checking if inet_aton() is available... " >&6; } 
    5021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9870{ echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     9871echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     9872cat >>confdefs.h <<\_ACEOF 
     9873#define PJ_HAS_ERRNO_VAR 1 
     9874_ACEOF 
     9875 
     9876 
     9877{ echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     9878echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     9879cat >>confdefs.h <<\_ACEOF 
     9880#define PJ_HAS_HIGH_RES_TIMER 1 
     9881_ACEOF 
     9882 
     9883 
     9884{ echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
     9885echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
     9886cat >>confdefs.h <<\_ACEOF 
     9887#define PJ_HAS_MALLOC 1 
     9888_ACEOF 
     9889 
     9890 
     9891{ echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     9892echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     9893cat >>confdefs.h <<\_ACEOF 
     9894#define PJ_NATIVE_STRING_IS_UNICODE 0 
     9895_ACEOF 
     9896 
     9897 
     9898{ echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     9899echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     9900cat >>confdefs.h <<\_ACEOF 
     9901#define PJ_ATOMIC_VALUE_TYPE long 
     9902_ACEOF 
     9903 
     9904 
     9905{ echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
     9906echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
     9907cat >conftest.$ac_ext <<_ACEOF 
     9908/* confdefs.h.  */ 
     9909_ACEOF 
     9910cat confdefs.h >>conftest.$ac_ext 
     9911cat >>conftest.$ac_ext <<_ACEOF 
    50229912/* end confdefs.h.  */ 
    50239913#include <sys/types.h> 
     
    50329922} 
    50339923_ACEOF 
    5034 if ac_fn_c_try_compile "$LINENO"; then : 
    5035   $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
    5036  
    5037                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5038 $as_echo "yes" >&6; } 
    5039 else 
    5040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5041 $as_echo "no" >&6; } 
    5042 fi 
     9924rm -f conftest.$ac_objext 
     9925if { (ac_try="$ac_compile" 
     9926case "(($ac_try" in 
     9927  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9928  *) ac_try_echo=$ac_try;; 
     9929esac 
     9930eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9931  (eval "$ac_compile") 2>conftest.er1 
     9932  ac_status=$? 
     9933  grep -v '^ *+' conftest.er1 >conftest.err 
     9934  rm -f conftest.er1 
     9935  cat conftest.err >&5 
     9936  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9937  (exit $ac_status); } && { 
     9938         test -z "$ac_c_werror_flag" || 
     9939         test ! -s conftest.err 
     9940       } && test -s conftest.$ac_objext; then 
     9941  cat >>confdefs.h <<\_ACEOF 
     9942#define PJ_SOCK_HAS_INET_ATON 1 
     9943_ACEOF 
     9944 
     9945                   { echo "$as_me:$LINENO: result: yes" >&5 
     9946echo "${ECHO_T}yes" >&6; } 
     9947else 
     9948  echo "$as_me: failed program was:" >&5 
     9949sed 's/^/| /' conftest.$ac_ext >&5 
     9950 
     9951        { echo "$as_me:$LINENO: result: no" >&5 
     9952echo "${ECHO_T}no" >&6; } 
     9953fi 
     9954 
    50439955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50449956 
    5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
    5046 $as_echo_n "checking if inet_pton() is available... " >&6; } 
    5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9957{ echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
     9958echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
     9959cat >conftest.$ac_ext <<_ACEOF 
     9960/* confdefs.h.  */ 
     9961_ACEOF 
     9962cat confdefs.h >>conftest.$ac_ext 
     9963cat >>conftest.$ac_ext <<_ACEOF 
    50489964/* end confdefs.h.  */ 
    50499965#include <sys/types.h> 
     
    50589974} 
    50599975_ACEOF 
    5060 if ac_fn_c_try_compile "$LINENO"; then : 
    5061   $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
    5062  
    5063                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5064 $as_echo "yes" >&6; } 
    5065 else 
    5066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5067 $as_echo "no" >&6; } 
    5068 fi 
     9976rm -f conftest.$ac_objext 
     9977if { (ac_try="$ac_compile" 
     9978case "(($ac_try" in 
     9979  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9980  *) ac_try_echo=$ac_try;; 
     9981esac 
     9982eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9983  (eval "$ac_compile") 2>conftest.er1 
     9984  ac_status=$? 
     9985  grep -v '^ *+' conftest.er1 >conftest.err 
     9986  rm -f conftest.er1 
     9987  cat conftest.err >&5 
     9988  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9989  (exit $ac_status); } && { 
     9990         test -z "$ac_c_werror_flag" || 
     9991         test ! -s conftest.err 
     9992       } && test -s conftest.$ac_objext; then 
     9993  cat >>confdefs.h <<\_ACEOF 
     9994#define PJ_SOCK_HAS_INET_PTON 1 
     9995_ACEOF 
     9996 
     9997                   { echo "$as_me:$LINENO: result: yes" >&5 
     9998echo "${ECHO_T}yes" >&6; } 
     9999else 
     10000  echo "$as_me: failed program was:" >&5 
     10001sed 's/^/| /' conftest.$ac_ext >&5 
     10002 
     10003        { echo "$as_me:$LINENO: result: no" >&5 
     10004echo "${ECHO_T}no" >&6; } 
     10005fi 
     10006 
    506910007rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    507010008 
    5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
    5072 $as_echo_n "checking if inet_ntop() is available... " >&6; } 
    5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10009{ echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
     10010echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
     10011cat >conftest.$ac_ext <<_ACEOF 
     10012/* confdefs.h.  */ 
     10013_ACEOF 
     10014cat confdefs.h >>conftest.$ac_ext 
     10015cat >>conftest.$ac_ext <<_ACEOF 
    507410016/* end confdefs.h.  */ 
    507510017#include <sys/types.h> 
     
    508410026} 
    508510027_ACEOF 
    5086 if ac_fn_c_try_compile "$LINENO"; then : 
    5087   $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
    5088  
    5089                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5090 $as_echo "yes" >&6; } 
    5091 else 
    5092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5093 $as_echo "no" >&6; } 
    5094 fi 
     10028rm -f conftest.$ac_objext 
     10029if { (ac_try="$ac_compile" 
     10030case "(($ac_try" in 
     10031  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10032  *) ac_try_echo=$ac_try;; 
     10033esac 
     10034eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10035  (eval "$ac_compile") 2>conftest.er1 
     10036  ac_status=$? 
     10037  grep -v '^ *+' conftest.er1 >conftest.err 
     10038  rm -f conftest.er1 
     10039  cat conftest.err >&5 
     10040  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10041  (exit $ac_status); } && { 
     10042         test -z "$ac_c_werror_flag" || 
     10043         test ! -s conftest.err 
     10044       } && test -s conftest.$ac_objext; then 
     10045  cat >>confdefs.h <<\_ACEOF 
     10046#define PJ_SOCK_HAS_INET_NTOP 1 
     10047_ACEOF 
     10048 
     10049                   { echo "$as_me:$LINENO: result: yes" >&5 
     10050echo "${ECHO_T}yes" >&6; } 
     10051else 
     10052  echo "$as_me: failed program was:" >&5 
     10053sed 's/^/| /' conftest.$ac_ext >&5 
     10054 
     10055        { echo "$as_me:$LINENO: result: no" >&5 
     10056echo "${ECHO_T}no" >&6; } 
     10057fi 
     10058 
    509510059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    509610060 
    5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
    5098 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 
    5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10061{ echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
     10062echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
     10063cat >conftest.$ac_ext <<_ACEOF 
     10064/* confdefs.h.  */ 
     10065_ACEOF 
     10066cat confdefs.h >>conftest.$ac_ext 
     10067cat >>conftest.$ac_ext <<_ACEOF 
    510010068/* end confdefs.h.  */ 
    510110069#include <sys/types.h> 
     
    511010078} 
    511110079_ACEOF 
    5112 if ac_fn_c_try_compile "$LINENO"; then : 
    5113   $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
    5114  
    5115                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5116 $as_echo "yes" >&6; } 
    5117 else 
    5118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5119 $as_echo "no" >&6; } 
    5120 fi 
     10080rm -f conftest.$ac_objext 
     10081if { (ac_try="$ac_compile" 
     10082case "(($ac_try" in 
     10083  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10084  *) ac_try_echo=$ac_try;; 
     10085esac 
     10086eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10087  (eval "$ac_compile") 2>conftest.er1 
     10088  ac_status=$? 
     10089  grep -v '^ *+' conftest.er1 >conftest.err 
     10090  rm -f conftest.er1 
     10091  cat conftest.err >&5 
     10092  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10093  (exit $ac_status); } && { 
     10094         test -z "$ac_c_werror_flag" || 
     10095         test ! -s conftest.err 
     10096       } && test -s conftest.$ac_objext; then 
     10097  cat >>confdefs.h <<\_ACEOF 
     10098#define PJ_SOCK_HAS_GETADDRINFO 1 
     10099_ACEOF 
     10100 
     10101                   { echo "$as_me:$LINENO: result: yes" >&5 
     10102echo "${ECHO_T}yes" >&6; } 
     10103else 
     10104  echo "$as_me: failed program was:" >&5 
     10105sed 's/^/| /' conftest.$ac_ext >&5 
     10106 
     10107        { echo "$as_me:$LINENO: result: no" >&5 
     10108echo "${ECHO_T}no" >&6; } 
     10109fi 
     10110 
    512110111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    512210112 
    5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
    5124 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
    5125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10113{ echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
     10114echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
     10115cat >conftest.$ac_ext <<_ACEOF 
     10116/* confdefs.h.  */ 
     10117_ACEOF 
     10118cat confdefs.h >>conftest.$ac_ext 
     10119cat >>conftest.$ac_ext <<_ACEOF 
    512610120/* end confdefs.h.  */ 
    512710121#include <sys/types.h> 
     
    513710131} 
    513810132_ACEOF 
    5139 if ac_fn_c_try_compile "$LINENO"; then : 
    5140   $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
    5141  
    5142                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5143 $as_echo "yes" >&6; } 
    5144 else 
    5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5146 $as_echo "no" >&6; } 
    5147 fi 
     10133rm -f conftest.$ac_objext 
     10134if { (ac_try="$ac_compile" 
     10135case "(($ac_try" in 
     10136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10137  *) ac_try_echo=$ac_try;; 
     10138esac 
     10139eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10140  (eval "$ac_compile") 2>conftest.er1 
     10141  ac_status=$? 
     10142  grep -v '^ *+' conftest.er1 >conftest.err 
     10143  rm -f conftest.er1 
     10144  cat conftest.err >&5 
     10145  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10146  (exit $ac_status); } && { 
     10147         test -z "$ac_c_werror_flag" || 
     10148         test ! -s conftest.err 
     10149       } && test -s conftest.$ac_objext; then 
     10150  cat >>confdefs.h <<\_ACEOF 
     10151#define PJ_SOCKADDR_HAS_LEN 1 
     10152_ACEOF 
     10153 
     10154                   { echo "$as_me:$LINENO: result: yes" >&5 
     10155echo "${ECHO_T}yes" >&6; } 
     10156else 
     10157  echo "$as_me: failed program was:" >&5 
     10158sed 's/^/| /' conftest.$ac_ext >&5 
     10159 
     10160        { echo "$as_me:$LINENO: result: no" >&5 
     10161echo "${ECHO_T}no" >&6; } 
     10162fi 
     10163 
    514810164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    514910165 
    5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
    5151 $as_echo_n "checking if socklen_t is available... " >&6; } 
    5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10166{ echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
     10167echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
     10168cat >conftest.$ac_ext <<_ACEOF 
     10169/* confdefs.h.  */ 
     10170_ACEOF 
     10171cat confdefs.h >>conftest.$ac_ext 
     10172cat >>conftest.$ac_ext <<_ACEOF 
    515310173/* end confdefs.h.  */ 
    515410174#include <sys/types.h> 
     
    516210182} 
    516310183_ACEOF 
    5164 if ac_fn_c_try_compile "$LINENO"; then : 
    5165   $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
    5166  
    5167                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5168 $as_echo "yes" >&6; } 
    5169 else 
    5170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5171 $as_echo "no" >&6; } 
    5172 fi 
     10184rm -f conftest.$ac_objext 
     10185if { (ac_try="$ac_compile" 
     10186case "(($ac_try" in 
     10187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10188  *) ac_try_echo=$ac_try;; 
     10189esac 
     10190eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10191  (eval "$ac_compile") 2>conftest.er1 
     10192  ac_status=$? 
     10193  grep -v '^ *+' conftest.er1 >conftest.err 
     10194  rm -f conftest.er1 
     10195  cat conftest.err >&5 
     10196  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10197  (exit $ac_status); } && { 
     10198         test -z "$ac_c_werror_flag" || 
     10199         test ! -s conftest.err 
     10200       } && test -s conftest.$ac_objext; then 
     10201  cat >>confdefs.h <<\_ACEOF 
     10202#define PJ_HAS_SOCKLEN_T 1 
     10203_ACEOF 
     10204 
     10205                   { echo "$as_me:$LINENO: result: yes" >&5 
     10206echo "${ECHO_T}yes" >&6; } 
     10207else 
     10208  echo "$as_me: failed program was:" >&5 
     10209sed 's/^/| /' conftest.$ac_ext >&5 
     10210 
     10211        { echo "$as_me:$LINENO: result: no" >&5 
     10212echo "${ECHO_T}no" >&6; } 
     10213fi 
     10214 
    517310215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    517410216 
    5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
    5176 $as_echo_n "checking if SO_ERROR is available... " >&6; } 
     10217{ echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
     10218echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
    517710219case $target in 
    517810220    *mingw* | *cygw* | *win32* | *w32* ) 
    5179         $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
    5180  
    5181         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5182 $as_echo "yes" >&6; } 
     10221        cat >>confdefs.h <<\_ACEOF 
     10222#define PJ_HAS_SO_ERROR 1 
     10223_ACEOF 
     10224 
     10225        { echo "$as_me:$LINENO: result: yes" >&5 
     10226echo "${ECHO_T}yes" >&6; } 
    518310227        ;; 
    518410228    *) 
    5185         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10229        cat >conftest.$ac_ext <<_ACEOF 
     10230/* confdefs.h.  */ 
     10231_ACEOF 
     10232cat confdefs.h >>conftest.$ac_ext 
     10233cat >>conftest.$ac_ext <<_ACEOF 
    518610234/* end confdefs.h.  */ 
    518710235#include <sys/types.h> 
     
    519710245} 
    519810246_ACEOF 
    5199 if ac_fn_c_try_compile "$LINENO"; then : 
    5200   $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
    5201  
    5202                            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5203 $as_echo "yes" >&6; } 
    5204 else 
    5205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5206 $as_echo "no" >&6; } 
    5207 fi 
     10247rm -f conftest.$ac_objext 
     10248if { (ac_try="$ac_compile" 
     10249case "(($ac_try" in 
     10250  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10251  *) ac_try_echo=$ac_try;; 
     10252esac 
     10253eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10254  (eval "$ac_compile") 2>conftest.er1 
     10255  ac_status=$? 
     10256  grep -v '^ *+' conftest.er1 >conftest.err 
     10257  rm -f conftest.er1 
     10258  cat conftest.err >&5 
     10259  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10260  (exit $ac_status); } && { 
     10261         test -z "$ac_c_werror_flag" || 
     10262         test ! -s conftest.err 
     10263       } && test -s conftest.$ac_objext; then 
     10264  cat >>confdefs.h <<\_ACEOF 
     10265#define PJ_HAS_SO_ERROR 1 
     10266_ACEOF 
     10267 
     10268                           { echo "$as_me:$LINENO: result: yes" >&5 
     10269echo "${ECHO_T}yes" >&6; } 
     10270else 
     10271  echo "$as_me: failed program was:" >&5 
     10272sed 's/^/| /' conftest.$ac_ext >&5 
     10273 
     10274        { echo "$as_me:$LINENO: result: no" >&5 
     10275echo "${ECHO_T}no" >&6; } 
     10276fi 
     10277 
    520810278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    520910279        ;; 
     
    521110281 
    521210282 
    5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
    5214 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
    5215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10283{ echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
     10284echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
     10285cat >conftest.$ac_ext <<_ACEOF 
     10286/* confdefs.h.  */ 
     10287_ACEOF 
     10288cat confdefs.h >>conftest.$ac_ext 
     10289cat >>conftest.$ac_ext <<_ACEOF 
    521610290/* end confdefs.h.  */ 
    521710291#include <pthread.h> 
     
    522410298} 
    522510299_ACEOF 
    5226 if ac_fn_c_try_compile "$LINENO"; then : 
    5227   $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
     10300rm -f conftest.$ac_objext 
     10301if { (ac_try="$ac_compile" 
     10302case "(($ac_try" in 
     10303  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10304  *) ac_try_echo=$ac_try;; 
     10305esac 
     10306eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10307  (eval "$ac_compile") 2>conftest.er1 
     10308  ac_status=$? 
     10309  grep -v '^ *+' conftest.er1 >conftest.err 
     10310  rm -f conftest.er1 
     10311  cat conftest.err >&5 
     10312  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10313  (exit $ac_status); } && { 
     10314         test -z "$ac_c_werror_flag" || 
     10315         test ! -s conftest.err 
     10316       } && test -s conftest.$ac_objext; then 
     10317  cat >>confdefs.h <<\_ACEOF 
     10318#define PJ_EMULATE_RWMUTEX 0 
     10319_ACEOF 
    522810320 
    522910321                   ac_rwmutex="yes" 
    5230                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5231 $as_echo "yes" >&6; } 
    5232 else 
    5233   $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     10322                   { echo "$as_me:$LINENO: result: yes" >&5 
     10323echo "${ECHO_T}yes" >&6; } 
     10324else 
     10325  echo "$as_me: failed program was:" >&5 
     10326sed 's/^/| /' conftest.$ac_ext >&5 
     10327 
     10328        cat >>confdefs.h <<\_ACEOF 
     10329#define PJ_EMULATE_RWMUTEX 1 
     10330_ACEOF 
    523410331 
    523510332                   ac_rwmutex="no" 
    5236                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5237 $as_echo "no" >&6; } 
    5238 fi 
     10333                   { echo "$as_me:$LINENO: result: no" >&5 
     10334echo "${ECHO_T}no" >&6; } 
     10335fi 
     10336 
    523910337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    524010338 
    524110339if test "$ac_rwmutex" = "no"; then 
    5242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    5243 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
    5244     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10340    { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     10341echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
     10342    cat >conftest.$ac_ext <<_ACEOF 
     10343/* confdefs.h.  */ 
     10344_ACEOF 
     10345cat confdefs.h >>conftest.$ac_ext 
     10346cat >>conftest.$ac_ext <<_ACEOF 
    524510347/* end confdefs.h.  */ 
    524610348#define _POSIX_READER_WRITER_LOCKS 
     
    525410356} 
    525510357_ACEOF 
    5256 if ac_fn_c_try_compile "$LINENO"; then : 
    5257   $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
     10358rm -f conftest.$ac_objext 
     10359if { (ac_try="$ac_compile" 
     10360case "(($ac_try" in 
     10361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10362  *) ac_try_echo=$ac_try;; 
     10363esac 
     10364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10365  (eval "$ac_compile") 2>conftest.er1 
     10366  ac_status=$? 
     10367  grep -v '^ *+' conftest.er1 >conftest.err 
     10368  rm -f conftest.er1 
     10369  cat conftest.err >&5 
     10370  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10371  (exit $ac_status); } && { 
     10372         test -z "$ac_c_werror_flag" || 
     10373         test ! -s conftest.err 
     10374       } && test -s conftest.$ac_objext; then 
     10375  cat >>confdefs.h <<\_ACEOF 
     10376#define PJ_EMULATE_RWMUTEX 0 
     10377_ACEOF 
    525810378 
    525910379                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    5260                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5261 $as_echo "yes" >&6; } 
    5262 else 
    5263   $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    5264  
    5265                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5266 $as_echo "no" >&6; } 
    5267 fi 
     10380                       { echo "$as_me:$LINENO: result: yes" >&5 
     10381echo "${ECHO_T}yes" >&6; } 
     10382else 
     10383  echo "$as_me: failed program was:" >&5 
     10384sed 's/^/| /' conftest.$ac_ext >&5 
     10385 
     10386        cat >>confdefs.h <<\_ACEOF 
     10387#define PJ_EMULATE_RWMUTEX 1 
     10388_ACEOF 
     10389 
     10390                       { echo "$as_me:$LINENO: result: no" >&5 
     10391echo "${ECHO_T}no" >&6; } 
     10392fi 
     10393 
    526810394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    526910395fi 
    527010396 
    5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
    5272 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
    5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10397{ echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
     10398echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
     10399cat >conftest.$ac_ext <<_ACEOF 
     10400/* confdefs.h.  */ 
     10401_ACEOF 
     10402cat confdefs.h >>conftest.$ac_ext 
     10403cat >>conftest.$ac_ext <<_ACEOF 
    527410404/* end confdefs.h.  */ 
    527510405#include <pthread.h> 
     
    528210412} 
    528310413_ACEOF 
    5284 if ac_fn_c_try_compile "$LINENO"; then : 
    5285   $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
    5286  
    5287                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5288 $as_echo "yes" >&6; } 
    5289 else 
    5290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5291 $as_echo "no" >&6; } 
    5292 fi 
     10414rm -f conftest.$ac_objext 
     10415if { (ac_try="$ac_compile" 
     10416case "(($ac_try" in 
     10417  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10418  *) ac_try_echo=$ac_try;; 
     10419esac 
     10420eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10421  (eval "$ac_compile") 2>conftest.er1 
     10422  ac_status=$? 
     10423  grep -v '^ *+' conftest.er1 >conftest.err 
     10424  rm -f conftest.er1 
     10425  cat conftest.err >&5 
     10426  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10427  (exit $ac_status); } && { 
     10428         test -z "$ac_c_werror_flag" || 
     10429         test ! -s conftest.err 
     10430       } && test -s conftest.$ac_objext; then 
     10431  cat >>confdefs.h <<\_ACEOF 
     10432#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
     10433_ACEOF 
     10434 
     10435                   { echo "$as_me:$LINENO: result: yes" >&5 
     10436echo "${ECHO_T}yes" >&6; } 
     10437else 
     10438  echo "$as_me: failed program was:" >&5 
     10439sed 's/^/| /' conftest.$ac_ext >&5 
     10440 
     10441        { echo "$as_me:$LINENO: result: no" >&5 
     10442echo "${ECHO_T}no" >&6; } 
     10443fi 
     10444 
    529310445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    529410446 
    5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
    5296 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
    5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10447{ echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
     10448echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
     10449cat >conftest.$ac_ext <<_ACEOF 
     10450/* confdefs.h.  */ 
     10451_ACEOF 
     10452cat confdefs.h >>conftest.$ac_ext 
     10453cat >>conftest.$ac_ext <<_ACEOF 
    529810454/* end confdefs.h.  */ 
    529910455#include <pthread.h> 
     
    530710463} 
    530810464_ACEOF 
    5309 if ac_fn_c_try_compile "$LINENO"; then : 
    5310   $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
    5311  
    5312                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5313 $as_echo "yes" >&6; } 
    5314 else 
    5315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5316 $as_echo "no" >&6; } 
    5317 fi 
     10465rm -f conftest.$ac_objext 
     10466if { (ac_try="$ac_compile" 
     10467case "(($ac_try" in 
     10468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10469  *) ac_try_echo=$ac_try;; 
     10470esac 
     10471eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10472  (eval "$ac_compile") 2>conftest.er1 
     10473  ac_status=$? 
     10474  grep -v '^ *+' conftest.er1 >conftest.err 
     10475  rm -f conftest.er1 
     10476  cat conftest.err >&5 
     10477  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10478  (exit $ac_status); } && { 
     10479         test -z "$ac_c_werror_flag" || 
     10480         test ! -s conftest.err 
     10481       } && test -s conftest.$ac_objext; then 
     10482  cat >>confdefs.h <<\_ACEOF 
     10483#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
     10484_ACEOF 
     10485 
     10486                   { echo "$as_me:$LINENO: result: yes" >&5 
     10487echo "${ECHO_T}yes" >&6; } 
     10488else 
     10489  echo "$as_me: failed program was:" >&5 
     10490sed 's/^/| /' conftest.$ac_ext >&5 
     10491 
     10492        { echo "$as_me:$LINENO: result: no" >&5 
     10493echo "${ECHO_T}no" >&6; } 
     10494fi 
     10495 
    531810496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    531910497 
    532010498 
    5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
    5322 $as_echo_n "checking ioqueue backend... " >&6; } 
     10499{ echo "$as_me:$LINENO: checking ioqueue backend" >&5 
     10500echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
    532310501# Check whether --enable-epoll was given. 
    5324 if test "${enable_epoll+set}" = set; then : 
     10502if test "${enable_epoll+set}" = set; then 
    532510503  enableval=$enable_epoll; 
    532610504                ac_os_objs=ioqueue_epoll.o 
    5327                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
    5328 $as_echo "/dev/epoll" >&6; } 
     10505                { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
     10506echo "${ECHO_T}/dev/epoll" >&6; } 
    532910507 
    533010508else 
    533110509 
    533210510                ac_os_objs=ioqueue_select.o 
    5333                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
    5334 $as_echo "select()" >&6; } 
     10511                { echo "$as_me:$LINENO: result: select()" >&5 
     10512echo "${ECHO_T}select()" >&6; } 
    533510513 
    533610514fi 
     
    534110519  *mingw* | *cygw* | *win32* | *w32* ) 
    534210520        ac_os_objs="$ac_os_objs file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o" 
     10521        ;; 
     10522  *darwin*) 
     10523        ac_os_objs="$ac_os_objs os_core_darwin.o" 
    534310524        ;; 
    534410525  *) 
     
    536010541 
    536110542# Check whether --with-external-speex was given. 
    5362 if test "${with_external_speex+set}" = set; then : 
     10543if test "${with_external_speex+set}" = set; then 
    536310544  withval=$with_external_speex; 
    536410545        if test "x$with_external_speex" != "xno"; then 
    536510546                # Test Speex installation 
    5366                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
    5367 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 
    5368                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10547                { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
     10548echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
     10549                cat >conftest.$ac_ext <<_ACEOF 
     10550/* confdefs.h.  */ 
     10551_ACEOF 
     10552cat confdefs.h >>conftest.$ac_ext 
     10553cat >>conftest.$ac_ext <<_ACEOF 
    536910554/* end confdefs.h.  */ 
    537010555#include <speex/speex.h> 
     
    537910564} 
    538010565_ACEOF 
    5381 if ac_fn_c_try_compile "$LINENO"; then : 
    5382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5383 $as_echo "yes!!" >&6; } 
    5384                                    $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
     10566rm -f conftest.$ac_objext 
     10567if { (ac_try="$ac_compile" 
     10568case "(($ac_try" in 
     10569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10570  *) ac_try_echo=$ac_try;; 
     10571esac 
     10572eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10573  (eval "$ac_compile") 2>conftest.er1 
     10574  ac_status=$? 
     10575  grep -v '^ *+' conftest.er1 >conftest.err 
     10576  rm -f conftest.er1 
     10577  cat conftest.err >&5 
     10578  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10579  (exit $ac_status); } && { 
     10580         test -z "$ac_c_werror_flag" || 
     10581         test ! -s conftest.err 
     10582       } && test -s conftest.$ac_objext; then 
     10583  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10584echo "${ECHO_T}yes!!" >&6; } 
     10585                                   cat >>confdefs.h <<\_ACEOF 
     10586#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
     10587_ACEOF 
    538510588 
    538610589                                   ac_external_speex="1" 
    538710590 
    538810591else 
    5389   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 
    5390 fi 
     10592  echo "$as_me: failed program was:" >&5 
     10593sed 's/^/| /' conftest.$ac_ext >&5 
     10594 
     10595        { { 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 
     10596echo "$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;} 
     10597   { (exit 1); exit 1; }; } 
     10598fi 
     10599 
    539110600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    539210601        fi 
     
    540010609 
    540110610# Check whether --with-external-gsm was given. 
    5402 if test "${with_external_gsm+set}" = set; then : 
     10611if test "${with_external_gsm+set}" = set; then 
    540310612  withval=$with_external_gsm; 
    540410613        if test "x$with_external_gsm" != "xno"; then 
    540510614                # Test GSM library installation 
    5406                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    5407 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
    5408                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10615                { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     10616echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
     10617                cat >conftest.$ac_ext <<_ACEOF 
     10618/* confdefs.h.  */ 
     10619_ACEOF 
     10620cat confdefs.h >>conftest.$ac_ext 
     10621cat >>conftest.$ac_ext <<_ACEOF 
    540910622/* end confdefs.h.  */ 
    541010623#include <gsm/gsm.h> 
     
    541710630} 
    541810631_ACEOF 
    5419 if ac_fn_c_try_compile "$LINENO"; then : 
    5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5421 $as_echo "yes!!" >&6; } 
    5422                      $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
    5423  
    5424                      $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
     10632rm -f conftest.$ac_objext 
     10633if { (ac_try="$ac_compile" 
     10634case "(($ac_try" in 
     10635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10636  *) ac_try_echo=$ac_try;; 
     10637esac 
     10638eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10639  (eval "$ac_compile") 2>conftest.er1 
     10640  ac_status=$? 
     10641  grep -v '^ *+' conftest.er1 >conftest.err 
     10642  rm -f conftest.er1 
     10643  cat conftest.err >&5 
     10644  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10645  (exit $ac_status); } && { 
     10646         test -z "$ac_c_werror_flag" || 
     10647         test ! -s conftest.err 
     10648       } && test -s conftest.$ac_objext; then 
     10649  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10650echo "${ECHO_T}yes!!" >&6; } 
     10651                     cat >>confdefs.h <<\_ACEOF 
     10652#define PJMEDIA_EXTERNAL_GSM_CODEC 1 
     10653_ACEOF 
     10654 
     10655                     cat >>confdefs.h <<\_ACEOF 
     10656#define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
     10657_ACEOF 
    542510658 
    542610659                     ac_external_gsm="1" 
    542710660 
    542810661else 
    5429  
    5430                      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5431 $as_echo "no" >&6; } 
    5432                      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
    5433 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
    5434                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10662  echo "$as_me: failed program was:" >&5 
     10663sed 's/^/| /' conftest.$ac_ext >&5 
     10664 
     10665 
     10666                     { echo "$as_me:$LINENO: result: no" >&5 
     10667echo "${ECHO_T}no" >&6; } 
     10668                     { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
     10669echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
     10670                     cat >conftest.$ac_ext <<_ACEOF 
     10671/* confdefs.h.  */ 
     10672_ACEOF 
     10673cat confdefs.h >>conftest.$ac_ext 
     10674cat >>conftest.$ac_ext <<_ACEOF 
    543510675/* end confdefs.h.  */ 
    543610676#include <gsm.h> 
     
    544310683} 
    544410684_ACEOF 
    5445 if ac_fn_c_try_compile "$LINENO"; then : 
    5446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5447 $as_echo "yes!!" >&6; } 
    5448                          $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
    5449  
    5450                          $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
     10685rm -f conftest.$ac_objext 
     10686if { (ac_try="$ac_compile" 
     10687case "(($ac_try" in 
     10688  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10689  *) ac_try_echo=$ac_try;; 
     10690esac 
     10691eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10692  (eval "$ac_compile") 2>conftest.er1 
     10693  ac_status=$? 
     10694  grep -v '^ *+' conftest.er1 >conftest.err 
     10695  rm -f conftest.er1 
     10696  cat conftest.err >&5 
     10697  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10698  (exit $ac_status); } && { 
     10699         test -z "$ac_c_werror_flag" || 
     10700         test ! -s conftest.err 
     10701       } && test -s conftest.$ac_objext; then 
     10702  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10703echo "${ECHO_T}yes!!" >&6; } 
     10704                         cat >>confdefs.h <<\_ACEOF 
     10705#define PJMEDIA_EXTERNAL_GSM_CODEC 1 
     10706_ACEOF 
     10707 
     10708                         cat >>confdefs.h <<\_ACEOF 
     10709#define PJMEDIA_EXTERNAL_GSM_H 1 
     10710_ACEOF 
    545110711 
    545210712                         ac_external_gsm="1" 
    545310713 
    545410714else 
    5455   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 
    5456  
    5457  
    5458 fi 
     10715  echo "$as_me: failed program was:" >&5 
     10716sed 's/^/| /' conftest.$ac_ext >&5 
     10717 
     10718        { { 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 
     10719echo "$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;} 
     10720   { (exit 1); exit 1; }; } 
     10721 
     10722 
     10723fi 
     10724 
    545910725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    546010726 
    546110727 
    546210728fi 
     10729 
    546310730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    546410731        fi 
     
    547210739 
    547310740# Check whether --enable-sound was given. 
    5474 if test "${enable_sound+set}" = set; then : 
     10741if test "${enable_sound+set}" = set; then 
    547510742  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    547610743                ac_pjmedia_snd=null 
    5477                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
    5478 $as_echo "Checking if sound is disabled... yes" >&6; } 
     10744                { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
     10745echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
    547910746               fi 
    548010747 
     
    548610753 
    548710754# Check whether --with-external-pa was given. 
    5488 if test "${with_external_pa+set}" = set; then : 
     10755if test "${with_external_pa+set}" = set; then 
    548910756  withval=$with_external_pa; 
    549010757        if test "x$with_external_pa" != "xno"; then 
    549110758                # Test PortAudio installation 
    5492                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
    5493 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
    5494                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10759                { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
     10760echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
     10761                cat >conftest.$ac_ext <<_ACEOF 
     10762/* confdefs.h.  */ 
     10763_ACEOF 
     10764cat confdefs.h >>conftest.$ac_ext 
     10765cat >>conftest.$ac_ext <<_ACEOF 
    549510766/* end confdefs.h.  */ 
    549610767#include <portaudio.h> 
     
    550410775} 
    550510776_ACEOF 
    5506 if ac_fn_c_try_compile "$LINENO"; then : 
    5507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5508 $as_echo "yes!!" >&6; } 
     10777rm -f conftest.$ac_objext 
     10778if { (ac_try="$ac_compile" 
     10779case "(($ac_try" in 
     10780  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10781  *) ac_try_echo=$ac_try;; 
     10782esac 
     10783eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10784  (eval "$ac_compile") 2>conftest.er1 
     10785  ac_status=$? 
     10786  grep -v '^ *+' conftest.er1 >conftest.err 
     10787  rm -f conftest.er1 
     10788  cat conftest.err >&5 
     10789  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10790  (exit $ac_status); } && { 
     10791         test -z "$ac_c_werror_flag" || 
     10792         test ! -s conftest.err 
     10793       } && test -s conftest.$ac_objext; then 
     10794  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10795echo "${ECHO_T}yes!!" >&6; } 
    550910796                                   ac_external_pa="1" 
    551010797 
    551110798else 
    5512   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 
    5513 fi 
     10799  echo "$as_me: failed program was:" >&5 
     10800sed 's/^/| /' conftest.$ac_ext >&5 
     10801 
     10802        { { 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 
     10803echo "$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;} 
     10804   { (exit 1); exit 1; }; } 
     10805fi 
     10806 
    551410807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    551510808        fi 
     
    552010813 
    552110814 
    5522 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
    5523 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
     10815if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10816  { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
     10817echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
     10818if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10819  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10820fi 
     10821{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
     10822echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
     10823else 
     10824  # Is the header compilable? 
     10825{ echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
     10826echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
     10827cat >conftest.$ac_ext <<_ACEOF 
     10828/* confdefs.h.  */ 
     10829_ACEOF 
     10830cat confdefs.h >>conftest.$ac_ext 
     10831cat >>conftest.$ac_ext <<_ACEOF 
     10832/* end confdefs.h.  */ 
     10833$ac_includes_default 
     10834#include <sys/soundcard.h> 
     10835_ACEOF 
     10836rm -f conftest.$ac_objext 
     10837if { (ac_try="$ac_compile" 
     10838case "(($ac_try" in 
     10839  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10840  *) ac_try_echo=$ac_try;; 
     10841esac 
     10842eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10843  (eval "$ac_compile") 2>conftest.er1 
     10844  ac_status=$? 
     10845  grep -v '^ *+' conftest.er1 >conftest.err 
     10846  rm -f conftest.er1 
     10847  cat conftest.err >&5 
     10848  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10849  (exit $ac_status); } && { 
     10850         test -z "$ac_c_werror_flag" || 
     10851         test ! -s conftest.err 
     10852       } && test -s conftest.$ac_objext; then 
     10853  ac_header_compiler=yes 
     10854else 
     10855  echo "$as_me: failed program was:" >&5 
     10856sed 's/^/| /' conftest.$ac_ext >&5 
     10857 
     10858        ac_header_compiler=no 
     10859fi 
     10860 
     10861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     10862{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     10863echo "${ECHO_T}$ac_header_compiler" >&6; } 
     10864 
     10865# Is the header present? 
     10866{ echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
     10867echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
     10868cat >conftest.$ac_ext <<_ACEOF 
     10869/* confdefs.h.  */ 
     10870_ACEOF 
     10871cat confdefs.h >>conftest.$ac_ext 
     10872cat >>conftest.$ac_ext <<_ACEOF 
     10873/* end confdefs.h.  */ 
     10874#include <sys/soundcard.h> 
     10875_ACEOF 
     10876if { (ac_try="$ac_cpp conftest.$ac_ext" 
     10877case "(($ac_try" in 
     10878  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10879  *) ac_try_echo=$ac_try;; 
     10880esac 
     10881eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10882  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     10883  ac_status=$? 
     10884  grep -v '^ *+' conftest.er1 >conftest.err 
     10885  rm -f conftest.er1 
     10886  cat conftest.err >&5 
     10887  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10888  (exit $ac_status); } >/dev/null && { 
     10889         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     10890         test ! -s conftest.err 
     10891       }; then 
     10892  ac_header_preproc=yes 
     10893else 
     10894  echo "$as_me: failed program was:" >&5 
     10895sed 's/^/| /' conftest.$ac_ext >&5 
     10896 
     10897  ac_header_preproc=no 
     10898fi 
     10899 
     10900rm -f conftest.err conftest.$ac_ext 
     10901{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     10902echo "${ECHO_T}$ac_header_preproc" >&6; } 
     10903 
     10904# So?  What about this header? 
     10905case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     10906  yes:no: ) 
     10907    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     10908echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     10909    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
     10910echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
     10911    ac_header_preproc=yes 
     10912    ;; 
     10913  no:yes:* ) 
     10914    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
     10915echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
     10916    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
     10917echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     10918    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
     10919echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
     10920    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     10921echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     10922    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
     10923echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     10924    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
     10925echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     10926 
     10927    ;; 
     10928esac 
     10929{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
     10930echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
     10931if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10932  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10933else 
     10934  ac_cv_header_sys_soundcard_h=$ac_header_preproc 
     10935fi 
     10936{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
     10937echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
     10938 
     10939fi 
     10940if test $ac_cv_header_sys_soundcard_h = yes; then 
    552410941  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    552510942fi 
    552610943 
    552710944 
    5528 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
    5529 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
     10945if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     10946  { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
     10947echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
     10948if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     10949  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10950fi 
     10951{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
     10952echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
     10953else 
     10954  # Is the header compilable? 
     10955{ echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
     10956echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
     10957cat >conftest.$ac_ext <<_ACEOF 
     10958/* confdefs.h.  */ 
     10959_ACEOF 
     10960cat confdefs.h >>conftest.$ac_ext 
     10961cat >>conftest.$ac_ext <<_ACEOF 
     10962/* end confdefs.h.  */ 
     10963$ac_includes_default 
     10964#include <linux/soundcard.h> 
     10965_ACEOF 
     10966rm -f conftest.$ac_objext 
     10967if { (ac_try="$ac_compile" 
     10968case "(($ac_try" in 
     10969  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10970  *) ac_try_echo=$ac_try;; 
     10971esac 
     10972eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10973  (eval "$ac_compile") 2>conftest.er1 
     10974  ac_status=$? 
     10975  grep -v '^ *+' conftest.er1 >conftest.err 
     10976  rm -f conftest.er1 
     10977  cat conftest.err >&5 
     10978  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10979  (exit $ac_status); } && { 
     10980         test -z "$ac_c_werror_flag" || 
     10981         test ! -s conftest.err 
     10982       } && test -s conftest.$ac_objext; then 
     10983  ac_header_compiler=yes 
     10984else 
     10985  echo "$as_me: failed program was:" >&5 
     10986sed 's/^/| /' conftest.$ac_ext >&5 
     10987 
     10988        ac_header_compiler=no 
     10989fi 
     10990 
     10991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     10992{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     10993echo "${ECHO_T}$ac_header_compiler" >&6; } 
     10994 
     10995# Is the header present? 
     10996{ echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
     10997echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
     10998cat >conftest.$ac_ext <<_ACEOF 
     10999/* confdefs.h.  */ 
     11000_ACEOF 
     11001cat confdefs.h >>conftest.$ac_ext 
     11002cat >>conftest.$ac_ext <<_ACEOF 
     11003/* end confdefs.h.  */ 
     11004#include <linux/soundcard.h> 
     11005_ACEOF 
     11006if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11007case "(($ac_try" in 
     11008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11009  *) ac_try_echo=$ac_try;; 
     11010esac 
     11011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11012  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11013  ac_status=$? 
     11014  grep -v '^ *+' conftest.er1 >conftest.err 
     11015  rm -f conftest.er1 
     11016  cat conftest.err >&5 
     11017  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11018  (exit $ac_status); } >/dev/null && { 
     11019         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11020         test ! -s conftest.err 
     11021       }; then 
     11022  ac_header_preproc=yes 
     11023else 
     11024  echo "$as_me: failed program was:" >&5 
     11025sed 's/^/| /' conftest.$ac_ext >&5 
     11026 
     11027  ac_header_preproc=no 
     11028fi 
     11029 
     11030rm -f conftest.err conftest.$ac_ext 
     11031{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11032echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11033 
     11034# So?  What about this header? 
     11035case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11036  yes:no: ) 
     11037    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11038echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11039    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
     11040echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
     11041    ac_header_preproc=yes 
     11042    ;; 
     11043  no:yes:* ) 
     11044    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
     11045echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
     11046    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
     11047echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     11048    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
     11049echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
     11050    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11051echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11052    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
     11053echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     11054    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
     11055echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     11056 
     11057    ;; 
     11058esac 
     11059{ echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
     11060echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
     11061if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     11062  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11063else 
     11064  ac_cv_header_linux_soundcard_h=$ac_header_preproc 
     11065fi 
     11066{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
     11067echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
     11068 
     11069fi 
     11070if test $ac_cv_header_linux_soundcard_h = yes; then 
    553011071  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    553111072fi 
    553211073 
    553311074 
    5534 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
    5535 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
     11075if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11076  { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
     11077echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
     11078if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11079  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11080fi 
     11081{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
     11082echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
     11083else 
     11084  # Is the header compilable? 
     11085{ echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
     11086echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
     11087cat >conftest.$ac_ext <<_ACEOF 
     11088/* confdefs.h.  */ 
     11089_ACEOF 
     11090cat confdefs.h >>conftest.$ac_ext 
     11091cat >>conftest.$ac_ext <<_ACEOF 
     11092/* end confdefs.h.  */ 
     11093$ac_includes_default 
     11094#include <machine/soundcard.h> 
     11095_ACEOF 
     11096rm -f conftest.$ac_objext 
     11097if { (ac_try="$ac_compile" 
     11098case "(($ac_try" in 
     11099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11100  *) ac_try_echo=$ac_try;; 
     11101esac 
     11102eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11103  (eval "$ac_compile") 2>conftest.er1 
     11104  ac_status=$? 
     11105  grep -v '^ *+' conftest.er1 >conftest.err 
     11106  rm -f conftest.er1 
     11107  cat conftest.err >&5 
     11108  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11109  (exit $ac_status); } && { 
     11110         test -z "$ac_c_werror_flag" || 
     11111         test ! -s conftest.err 
     11112       } && test -s conftest.$ac_objext; then 
     11113  ac_header_compiler=yes 
     11114else 
     11115  echo "$as_me: failed program was:" >&5 
     11116sed 's/^/| /' conftest.$ac_ext >&5 
     11117 
     11118        ac_header_compiler=no 
     11119fi 
     11120 
     11121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     11122{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     11123echo "${ECHO_T}$ac_header_compiler" >&6; } 
     11124 
     11125# Is the header present? 
     11126{ echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
     11127echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
     11128cat >conftest.$ac_ext <<_ACEOF 
     11129/* confdefs.h.  */ 
     11130_ACEOF 
     11131cat confdefs.h >>conftest.$ac_ext 
     11132cat >>conftest.$ac_ext <<_ACEOF 
     11133/* end confdefs.h.  */ 
     11134#include <machine/soundcard.h> 
     11135_ACEOF 
     11136if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11137case "(($ac_try" in 
     11138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11139  *) ac_try_echo=$ac_try;; 
     11140esac 
     11141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11142  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11143  ac_status=$? 
     11144  grep -v '^ *+' conftest.er1 >conftest.err 
     11145  rm -f conftest.er1 
     11146  cat conftest.err >&5 
     11147  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11148  (exit $ac_status); } >/dev/null && { 
     11149         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11150         test ! -s conftest.err 
     11151       }; then 
     11152  ac_header_preproc=yes 
     11153else 
     11154  echo "$as_me: failed program was:" >&5 
     11155sed 's/^/| /' conftest.$ac_ext >&5 
     11156 
     11157  ac_header_preproc=no 
     11158fi 
     11159 
     11160rm -f conftest.err conftest.$ac_ext 
     11161{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11162echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11163 
     11164# So?  What about this header? 
     11165case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11166  yes:no: ) 
     11167    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11168echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11169    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
     11170echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
     11171    ac_header_preproc=yes 
     11172    ;; 
     11173  no:yes:* ) 
     11174    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
     11175echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
     11176    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
     11177echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     11178    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
     11179echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
     11180    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11181echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11182    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
     11183echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     11184    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
     11185echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     11186 
     11187    ;; 
     11188esac 
     11189{ echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
     11190echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
     11191if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11192  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11193else 
     11194  ac_cv_header_machine_soundcard_h=$ac_header_preproc 
     11195fi 
     11196{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
     11197echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
     11198 
     11199fi 
     11200if test $ac_cv_header_machine_soundcard_h = yes; then 
    553611201  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    553711202fi 
     
    555111216  arm-apple-darwin*) 
    555211217        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" 
    5553         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
    5554 $as_echo "Checking sound device backend... AudioUnit" >&6; } 
     11218        { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
     11219echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
    555511220        ;; 
    555611221  *darwin*) 
     
    556011225                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    556111226                ac_pjmedia_snd=pa_old_darwinos 
    5562                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
    5563 $as_echo "Checking sound device backend... old coreaudio" >&6; } 
     11227                { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
     11228echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
    556411229        else 
    556511230                ac_pjmedia_snd=pa_darwinos 
    5566                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
    5567 $as_echo "Checking sound device backend... coreaudio" >&6; } 
     11231                { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
     11232echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
    556811233        fi 
    556911234        ;; 
    557011235  *cygwin* | *mingw*) 
    557111236        ac_pjmedia_snd=pa_win32 
    5572         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
    5573 $as_echo "Checking sound device backend... win32 sound" >&6; } 
     11237        { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
     11238echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
    557411239        ;; 
    557511240  *rtems*) 
    557611241        ac_pjmedia_snd=null 
    5577         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
    5578 $as_echo "Checking sound device backend... null sound" >&6; } 
     11242        { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
     11243echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
    557911244        ;; 
    558011245  *) 
    558111246                ac_pjmedia_snd=pa_unix 
    5582         ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
    5583 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
     11247        if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11248  { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     11249echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
     11250if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11251  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11252fi 
     11253{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     11254echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
     11255else 
     11256  # Is the header compilable? 
     11257{ echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
     11258echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
     11259cat >conftest.$ac_ext <<_ACEOF 
     11260/* confdefs.h.  */ 
     11261_ACEOF 
     11262cat confdefs.h >>conftest.$ac_ext 
     11263cat >>conftest.$ac_ext <<_ACEOF 
     11264/* end confdefs.h.  */ 
     11265$ac_includes_default 
     11266#include <alsa/version.h> 
     11267_ACEOF 
     11268rm -f conftest.$ac_objext 
     11269if { (ac_try="$ac_compile" 
     11270case "(($ac_try" in 
     11271  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11272  *) ac_try_echo=$ac_try;; 
     11273esac 
     11274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11275  (eval "$ac_compile") 2>conftest.er1 
     11276  ac_status=$? 
     11277  grep -v '^ *+' conftest.er1 >conftest.err 
     11278  rm -f conftest.er1 
     11279  cat conftest.err >&5 
     11280  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11281  (exit $ac_status); } && { 
     11282         test -z "$ac_c_werror_flag" || 
     11283         test ! -s conftest.err 
     11284       } && test -s conftest.$ac_objext; then 
     11285  ac_header_compiler=yes 
     11286else 
     11287  echo "$as_me: failed program was:" >&5 
     11288sed 's/^/| /' conftest.$ac_ext >&5 
     11289 
     11290        ac_header_compiler=no 
     11291fi 
     11292 
     11293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     11294{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     11295echo "${ECHO_T}$ac_header_compiler" >&6; } 
     11296 
     11297# Is the header present? 
     11298{ echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
     11299echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
     11300cat >conftest.$ac_ext <<_ACEOF 
     11301/* confdefs.h.  */ 
     11302_ACEOF 
     11303cat confdefs.h >>conftest.$ac_ext 
     11304cat >>conftest.$ac_ext <<_ACEOF 
     11305/* end confdefs.h.  */ 
     11306#include <alsa/version.h> 
     11307_ACEOF 
     11308if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11309case "(($ac_try" in 
     11310  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11311  *) ac_try_echo=$ac_try;; 
     11312esac 
     11313eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11314  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11315  ac_status=$? 
     11316  grep -v '^ *+' conftest.er1 >conftest.err 
     11317  rm -f conftest.er1 
     11318  cat conftest.err >&5 
     11319  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11320  (exit $ac_status); } >/dev/null && { 
     11321         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11322         test ! -s conftest.err 
     11323       }; then 
     11324  ac_header_preproc=yes 
     11325else 
     11326  echo "$as_me: failed program was:" >&5 
     11327sed 's/^/| /' conftest.$ac_ext >&5 
     11328 
     11329  ac_header_preproc=no 
     11330fi 
     11331 
     11332rm -f conftest.err conftest.$ac_ext 
     11333{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11334echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11335 
     11336# So?  What about this header? 
     11337case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11338  yes:no: ) 
     11339    { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11340echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11341    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
     11342echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
     11343    ac_header_preproc=yes 
     11344    ;; 
     11345  no:yes:* ) 
     11346    { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
     11347echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
     11348    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
     11349echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
     11350    { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
     11351echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
     11352    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11353echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11354    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
     11355echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
     11356    { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
     11357echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
     11358 
     11359    ;; 
     11360esac 
     11361{ echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     11362echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
     11363if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11364  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11365else 
     11366  ac_cv_header_alsa_version_h=$ac_header_preproc 
     11367fi 
     11368{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     11369echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
     11370 
     11371fi 
     11372if test $ac_cv_header_alsa_version_h = yes; then 
    558411373  ac_pa_use_alsa=1 
    558511374 
     
    559211381 
    559311382 
    5594         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
    5595 $as_echo "Checking sound device backend... unix" >&6; } 
     11383        { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
     11384echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
    559611385 
    559711386                ac_pa_use_oss=1 
    559811387 
    559911388        # Check whether --enable-oss was given. 
    5600 if test "${enable_oss+set}" = set; then : 
     11389if test "${enable_oss+set}" = set; then 
    560111390  enableval=$enable_oss; 
    560211391                        if test "$enable_oss" = "no"; then 
    560311392                         ac_pa_use_oss=0 
    5604                          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
    5605 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 
     11393                         { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
     11394echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
    560611395                        fi 
    560711396 
     
    562211411        ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 
    562311412        LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
    5624         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking video device backend... AVFoundation" >&5 
    5625 $as_echo "Checking video device backend... AVFoundation" >&6; } 
     11413        { echo "$as_me:$LINENO: result: Checking video device backend... AVFoundation" >&5 
     11414echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; } 
    562611415        ;; 
    562711416  *darwin*) 
     
    563111420        SAVED_LIBS="$LIBS" 
    563211421        LIBS="-framework QTKit" 
    5633         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11422        cat >conftest.$ac_ext <<_ACEOF 
     11423/* confdefs.h.  */ 
     11424_ACEOF 
     11425cat confdefs.h >>conftest.$ac_ext 
     11426cat >>conftest.$ac_ext <<_ACEOF 
    563411427/* end confdefs.h.  */ 
    563511428 
     
    564211435} 
    564311436_ACEOF 
    5644 if ac_fn_c_try_link "$LINENO"; then : 
     11437rm -f conftest.$ac_objext conftest$ac_exeext 
     11438if { (ac_try="$ac_link" 
     11439case "(($ac_try" in 
     11440  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11441  *) ac_try_echo=$ac_try;; 
     11442esac 
     11443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11444  (eval "$ac_link") 2>conftest.er1 
     11445  ac_status=$? 
     11446  grep -v '^ *+' conftest.er1 >conftest.err 
     11447  rm -f conftest.er1 
     11448  cat conftest.err >&5 
     11449  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11450  (exit $ac_status); } && { 
     11451         test -z "$ac_c_werror_flag" || 
     11452         test ! -s conftest.err 
     11453       } && test -s conftest$ac_exeext && 
     11454       $as_test_x conftest$ac_exeext; then 
    564511455  ac_pjmedia_video_has_qt=yes 
    564611456else 
    5647   ac_pjmedia_video_has_qt=no 
    5648 fi 
    5649 rm -f core conftest.err conftest.$ac_objext \ 
    5650     conftest$ac_exeext conftest.$ac_ext 
     11457  echo "$as_me: failed program was:" >&5 
     11458sed 's/^/| /' conftest.$ac_ext >&5 
     11459 
     11460        ac_pjmedia_video_has_qt=no 
     11461fi 
     11462 
     11463rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11464      conftest$ac_exeext conftest.$ac_ext 
    565111465        LIBS="$SAVED_LIBS" 
    565211466        if test "$ac_pjmedia_video_has_qt" = "yes"; then 
    565311467          ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 
    565411468          LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 
    5655           { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 
    5656 $as_echo "Checking if QTKit framework is available... yes" >&6; } 
     11469          { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 
     11470echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 
    565711471        else 
    5658           { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 
    5659 $as_echo "Checking if QTKit framework is available... no" >&6; } 
     11472          { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 
     11473echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 
    566011474        fi 
    566111475        ;; 
     
    566411478 
    566511479# Check whether --enable-ext_sound was given. 
    5666 if test "${enable_ext_sound+set}" = set; then : 
     11480if test "${enable_ext_sound+set}" = set; then 
    566711481  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    566811482                ac_pjmedia_snd=external 
    5669                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
    5670 $as_echo "Checking if external sound is set... yes" >&6; } 
     11483                { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
     11484echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
    567111485               fi 
    567211486 
     
    567611490 
    567711491# Check whether --enable-small-filter was given. 
    5678 if test "${enable_small_filter+set}" = set; then : 
     11492if test "${enable_small_filter+set}" = set; then 
    567911493  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    568011494                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    5681                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
    5682 $as_echo "Checking if small filter is disabled... yes" >&6; } 
     11495                { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
     11496echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
    568311497               fi 
    568411498else 
    5685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
    5686 $as_echo "Checking if small filter is disabled... no" >&6; } 
     11499  { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
     11500echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
    568711501fi 
    568811502 
     
    569011504 
    569111505# Check whether --enable-large-filter was given. 
    5692 if test "${enable_large_filter+set}" = set; then : 
     11506if test "${enable_large_filter+set}" = set; then 
    569311507  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    569411508                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    5695                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
    5696 $as_echo "Checking if large filter is disabled... yes" >&6; } 
     11509                { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
     11510echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
    569711511               fi 
    569811512else 
    5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
    5700 $as_echo "Checking if large filter is disabled... no" >&6; } 
     11513  { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
     11514echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
    570111515fi 
    570211516 
     
    570411518 
    570511519# Check whether --enable-speex-aec was given. 
    5706 if test "${enable_speex_aec+set}" = set; then : 
     11520if test "${enable_speex_aec+set}" = set; then 
    570711521  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    570811522                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    5709                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
    5710 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
     11523                { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
     11524echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
    571111525               fi 
    571211526else 
    5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
    5714 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 
     11527  { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
     11528echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
    571511529fi 
    571611530 
     
    571811532 
    571911533# Check whether --enable-g711-codec was given. 
    5720 if test "${enable_g711_codec+set}" = set; then : 
     11534if test "${enable_g711_codec+set}" = set; then 
    572111535  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    572211536                ac_no_g711_codec=1 
    5723                 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
    5724  
    5725                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
    5726 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
     11537                cat >>confdefs.h <<\_ACEOF 
     11538#define PJMEDIA_HAS_G711_CODEC 0 
     11539_ACEOF 
     11540 
     11541                { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
     11542echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
    572711543               fi 
    572811544else 
    5729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
    5730 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 
     11545  { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     11546echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
    573111547fi 
    573211548 
     
    573511551 
    573611552# Check whether --enable-l16-codec was given. 
    5737 if test "${enable_l16_codec+set}" = set; then : 
     11553if test "${enable_l16_codec+set}" = set; then 
    573811554  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    573911555                ac_no_l16_codec=1 
    5740                 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
    5741  
    5742                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
    5743 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
     11556                cat >>confdefs.h <<\_ACEOF 
     11557#define PJMEDIA_HAS_L16_CODEC 0 
     11558_ACEOF 
     11559 
     11560                { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
     11561echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
    574411562               fi 
    574511563else 
    5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
    5747 $as_echo "Checking if L16 codec is disabled...no" >&6; } 
     11564  { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
     11565echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
    574811566fi 
    574911567 
     
    575211570 
    575311571# Check whether --enable-gsm-codec was given. 
    5754 if test "${enable_gsm_codec+set}" = set; then : 
     11572if test "${enable_gsm_codec+set}" = set; then 
    575511573  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    575611574                ac_no_gsm_codec=1 
    5757                 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
    5758  
    5759                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
    5760 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 
     11575                cat >>confdefs.h <<\_ACEOF 
     11576#define PJMEDIA_HAS_GSM_CODEC 0 
     11577_ACEOF 
     11578 
     11579                { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
     11580echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
    576111581               fi 
    576211582else 
    5763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
    5764 $as_echo "Checking if GSM codec is disabled...no" >&6; } 
     11583  { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
     11584echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
    576511585fi 
    576611586 
     
    576811588 
    576911589# Check whether --enable-g722-codec was given. 
    5770 if test "${enable_g722_codec+set}" = set; then : 
     11590if test "${enable_g722_codec+set}" = set; then 
    577111591  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    577211592                ac_no_g722_codec=1 
    5773                 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
    5774  
    5775                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
    5776 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
     11593                cat >>confdefs.h <<\_ACEOF 
     11594#define PJMEDIA_HAS_G722_CODEC 0 
     11595_ACEOF 
     11596 
     11597                { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
     11598echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
    577711599               fi 
    577811600else 
    5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
    5780 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 
     11601  { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
     11602echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
    578111603fi 
    578211604 
     
    578411606 
    578511607# Check whether --enable-g7221-codec was given. 
    5786 if test "${enable_g7221_codec+set}" = set; then : 
     11608if test "${enable_g7221_codec+set}" = set; then 
    578711609  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    578811610                ac_no_g7221_codec=1 
    5789                 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
    5790  
    5791                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
    5792 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
     11611                cat >>confdefs.h <<\_ACEOF 
     11612#define PJMEDIA_HAS_G7221_CODEC 0 
     11613_ACEOF 
     11614 
     11615                { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
     11616echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
    579311617               fi 
    579411618else 
    5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
    5796 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
     11619  { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
     11620echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
    579711621fi 
    579811622 
     
    580011624 
    580111625# Check whether --enable-speex-codec was given. 
    5802 if test "${enable_speex_codec+set}" = set; then : 
     11626if test "${enable_speex_codec+set}" = set; then 
    580311627  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    580411628                ac_no_speex_codec=1 
    5805                 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
    5806  
    5807                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
    5808 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 
     11629                cat >>confdefs.h <<\_ACEOF 
     11630#define PJMEDIA_HAS_SPEEX_CODEC 0 
     11631_ACEOF 
     11632 
     11633                { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
     11634echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
    580911635               fi 
    581011636else 
    5811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
    5812 $as_echo "Checking if Speex codec is disabled...no" >&6; } 
     11637  { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
     11638echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
    581311639fi 
    581411640 
     
    581611642 
    581711643# Check whether --enable-ilbc-codec was given. 
    5818 if test "${enable_ilbc_codec+set}" = set; then : 
     11644if test "${enable_ilbc_codec+set}" = set; then 
    581911645  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    582011646                ac_no_ilbc_codec=1 
    5821                 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
    5822  
    5823                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
    5824 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
     11647                cat >>confdefs.h <<\_ACEOF 
     11648#define PJMEDIA_HAS_ILBC_CODEC 0 
     11649_ACEOF 
     11650 
     11651                { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
     11652echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
    582511653               fi 
    582611654else 
    5827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
    5828 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 
     11655  { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
     11656echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
    582911657fi 
    583011658 
    583111659 
    583211660# Check whether --enable-libsamplerate was given. 
    5833 if test "${enable_libsamplerate+set}" = set; then : 
    5834   enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
    5835 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
    5836 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
    5837   $as_echo_n "(cached) " >&6 
     11661if test "${enable_libsamplerate+set}" = set; then 
     11662  enableval=$enable_libsamplerate; 
     11663{ echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
     11664echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
     11665if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
     11666  echo $ECHO_N "(cached) $ECHO_C" >&6 
    583811667else 
    583911668  ac_check_lib_save_LIBS=$LIBS 
    584011669LIBS="-lsamplerate  $LIBS" 
    5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11670cat >conftest.$ac_ext <<_ACEOF 
     11671/* confdefs.h.  */ 
     11672_ACEOF 
     11673cat confdefs.h >>conftest.$ac_ext 
     11674cat >>conftest.$ac_ext <<_ACEOF 
    584211675/* end confdefs.h.  */ 
    584311676 
     
    585711690} 
    585811691_ACEOF 
    5859 if ac_fn_c_try_link "$LINENO"; then : 
     11692rm -f conftest.$ac_objext conftest$ac_exeext 
     11693if { (ac_try="$ac_link" 
     11694case "(($ac_try" in 
     11695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11696  *) ac_try_echo=$ac_try;; 
     11697esac 
     11698eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11699  (eval "$ac_link") 2>conftest.er1 
     11700  ac_status=$? 
     11701  grep -v '^ *+' conftest.er1 >conftest.err 
     11702  rm -f conftest.er1 
     11703  cat conftest.err >&5 
     11704  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11705  (exit $ac_status); } && { 
     11706         test -z "$ac_c_werror_flag" || 
     11707         test ! -s conftest.err 
     11708       } && test -s conftest$ac_exeext && 
     11709       $as_test_x conftest$ac_exeext; then 
    586011710  ac_cv_lib_samplerate_src_new=yes 
    586111711else 
    5862   ac_cv_lib_samplerate_src_new=no 
    5863 fi 
    5864 rm -f core conftest.err conftest.$ac_objext \ 
    5865     conftest$ac_exeext conftest.$ac_ext 
     11712  echo "$as_me: failed program was:" >&5 
     11713sed 's/^/| /' conftest.$ac_ext >&5 
     11714 
     11715        ac_cv_lib_samplerate_src_new=no 
     11716fi 
     11717 
     11718rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11719      conftest$ac_exeext conftest.$ac_ext 
    586611720LIBS=$ac_check_lib_save_LIBS 
    586711721fi 
    5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
    5869 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
    5870 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
     11722{ echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
     11723echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
     11724if test $ac_cv_lib_samplerate_src_new = yes; then 
    587111725  cat >>confdefs.h <<_ACEOF 
    587211726#define HAVE_LIBSAMPLERATE 1 
     
    587811732 
    587911733else 
    5880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
    5881 $as_echo "Skipping libsamplerate detection" >&6; } 
     11734  { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
     11735echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
    588211736 
    588311737fi 
     
    588511739 
    588611740# Check whether --enable-sdl was given. 
    5887 if test "${enable_sdl+set}" = set; then : 
     11741if test "${enable_sdl+set}" = set; then 
    588811742  enableval=$enable_sdl; 
    588911743                if test "$enable_sdl" = "no"; then 
    5890                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 
    5891 $as_echo "Checking if SDL is disabled... yes" >&6; } 
     11744                  { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 
     11745echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 
    589211746                fi 
    589311747 
    589411748else 
    589511749 
    5896                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 
    5897 $as_echo_n "checking SDL availability..... " >&6; } 
     11750                  { echo "$as_me:$LINENO: checking SDL availability.." >&5 
     11751echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 
    589811752                  if sdl-config --version; then 
    589911753 
     
    591011764 
    591111765# Check whether --enable-ffmpeg was given. 
    5912 if test "${enable_ffmpeg+set}" = set; then : 
     11766if test "${enable_ffmpeg+set}" = set; then 
    591311767  enableval=$enable_ffmpeg; 
    591411768                ac_has_ffmpeg=0 
    591511769 
    591611770                if test "$enable_ffmpeg" = "no"; then 
    5917                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 
    5918 $as_echo "Checking if ffmpeg is disabled... yes" >&6; } 
     11771                        { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 
     11772echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 
    591911773                fi 
    592011774 
     
    592711781                if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then 
    592811782                        FFMPEG_PREFIX=$with_ffmpeg 
    5929                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
    5930 $as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
     11783                        { echo "$as_me:$LINENO: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
     11784echo "${ECHO_T}Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
    593111785                        LIBS="-L$FFMPEG_PREFIX/lib $LIBS" 
     11786                        LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" 
    593211787                        CFLAGS="-I$FFMPEG_PREFIX/include $CFLAGS" 
    593311788                fi 
    593411789 
    5935                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
    5936 $as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
    5937 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
    5938   $as_echo_n "(cached) " >&6 
     11790                { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 
     11791echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 
     11792if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 
     11793  echo $ECHO_N "(cached) $ECHO_C" >&6 
    593911794else 
    594011795  ac_check_lib_save_LIBS=$LIBS 
    594111796LIBS="-lavdevice  $LIBS" 
    5942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11797cat >conftest.$ac_ext <<_ACEOF 
     11798/* confdefs.h.  */ 
     11799_ACEOF 
     11800cat confdefs.h >>conftest.$ac_ext 
     11801cat >>conftest.$ac_ext <<_ACEOF 
    594311802/* end confdefs.h.  */ 
    594411803 
     
    595811817} 
    595911818_ACEOF 
    5960 if ac_fn_c_try_link "$LINENO"; then : 
     11819rm -f conftest.$ac_objext conftest$ac_exeext 
     11820if { (ac_try="$ac_link" 
     11821case "(($ac_try" in 
     11822  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11823  *) ac_try_echo=$ac_try;; 
     11824esac 
     11825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11826  (eval "$ac_link") 2>conftest.er1 
     11827  ac_status=$? 
     11828  grep -v '^ *+' conftest.er1 >conftest.err 
     11829  rm -f conftest.er1 
     11830  cat conftest.err >&5 
     11831  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11832  (exit $ac_status); } && { 
     11833         test -z "$ac_c_werror_flag" || 
     11834         test ! -s conftest.err 
     11835       } && test -s conftest$ac_exeext && 
     11836       $as_test_x conftest$ac_exeext; then 
    596111837  ac_cv_lib_avdevice_avdevice_version=yes 
    596211838else 
    5963   ac_cv_lib_avdevice_avdevice_version=no 
    5964 fi 
    5965 rm -f core conftest.err conftest.$ac_objext \ 
    5966     conftest$ac_exeext conftest.$ac_ext 
     11839  echo "$as_me: failed program was:" >&5 
     11840sed 's/^/| /' conftest.$ac_ext >&5 
     11841 
     11842        ac_cv_lib_avdevice_avdevice_version=no 
     11843fi 
     11844 
     11845rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11846      conftest$ac_exeext conftest.$ac_ext 
    596711847LIBS=$ac_check_lib_save_LIBS 
    596811848fi 
    5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    5970 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    5971 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
     11849{ echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
     11850echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 
     11851if test $ac_cv_lib_avdevice_avdevice_version = yes; then 
    597211852  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    597311853                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    597611856fi 
    597711857 
    5978                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
    5979 $as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
    5980 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
    5981   $as_echo_n "(cached) " >&6 
     11858                { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 
     11859echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 
     11860if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 
     11861  echo $ECHO_N "(cached) $ECHO_C" >&6 
    598211862else 
    598311863  ac_check_lib_save_LIBS=$LIBS 
    598411864LIBS="-lavformat  $LIBS" 
    5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11865cat >conftest.$ac_ext <<_ACEOF 
     11866/* confdefs.h.  */ 
     11867_ACEOF 
     11868cat confdefs.h >>conftest.$ac_ext 
     11869cat >>conftest.$ac_ext <<_ACEOF 
    598611870/* end confdefs.h.  */ 
    598711871 
     
    600111885} 
    600211886_ACEOF 
    6003 if ac_fn_c_try_link "$LINENO"; then : 
     11887rm -f conftest.$ac_objext conftest$ac_exeext 
     11888if { (ac_try="$ac_link" 
     11889case "(($ac_try" in 
     11890  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11891  *) ac_try_echo=$ac_try;; 
     11892esac 
     11893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11894  (eval "$ac_link") 2>conftest.er1 
     11895  ac_status=$? 
     11896  grep -v '^ *+' conftest.er1 >conftest.err 
     11897  rm -f conftest.er1 
     11898  cat conftest.err >&5 
     11899  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11900  (exit $ac_status); } && { 
     11901         test -z "$ac_c_werror_flag" || 
     11902         test ! -s conftest.err 
     11903       } && test -s conftest$ac_exeext && 
     11904       $as_test_x conftest$ac_exeext; then 
    600411905  ac_cv_lib_avformat_av_register_all=yes 
    600511906else 
    6006   ac_cv_lib_avformat_av_register_all=no 
    6007 fi 
    6008 rm -f core conftest.err conftest.$ac_objext \ 
    6009     conftest$ac_exeext conftest.$ac_ext 
     11907  echo "$as_me: failed program was:" >&5 
     11908sed 's/^/| /' conftest.$ac_ext >&5 
     11909 
     11910        ac_cv_lib_avformat_av_register_all=no 
     11911fi 
     11912 
     11913rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11914      conftest$ac_exeext conftest.$ac_ext 
    601011915LIBS=$ac_check_lib_save_LIBS 
    601111916fi 
    6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
    6013 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
    6014 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
     11917{ echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 
     11918echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 
     11919if test $ac_cv_lib_avformat_av_register_all = yes; then 
    601511920  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    601611921                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    601911924fi 
    602011925 
    6021                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
    6022 $as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
    6023 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
    6024   $as_echo_n "(cached) " >&6 
     11926                { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 
     11927echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 
     11928if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 
     11929  echo $ECHO_N "(cached) $ECHO_C" >&6 
    602511930else 
    602611931  ac_check_lib_save_LIBS=$LIBS 
    602711932LIBS="-lavcodec  $LIBS" 
    6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11933cat >conftest.$ac_ext <<_ACEOF 
     11934/* confdefs.h.  */ 
     11935_ACEOF 
     11936cat confdefs.h >>conftest.$ac_ext 
     11937cat >>conftest.$ac_ext <<_ACEOF 
    602911938/* end confdefs.h.  */ 
    603011939 
     
    604411953} 
    604511954_ACEOF 
    6046 if ac_fn_c_try_link "$LINENO"; then : 
     11955rm -f conftest.$ac_objext conftest$ac_exeext 
     11956if { (ac_try="$ac_link" 
     11957case "(($ac_try" in 
     11958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11959  *) ac_try_echo=$ac_try;; 
     11960esac 
     11961eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11962  (eval "$ac_link") 2>conftest.er1 
     11963  ac_status=$? 
     11964  grep -v '^ *+' conftest.er1 >conftest.err 
     11965  rm -f conftest.er1 
     11966  cat conftest.err >&5 
     11967  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11968  (exit $ac_status); } && { 
     11969         test -z "$ac_c_werror_flag" || 
     11970         test ! -s conftest.err 
     11971       } && test -s conftest$ac_exeext && 
     11972       $as_test_x conftest$ac_exeext; then 
    604711973  ac_cv_lib_avcodec_avcodec_init=yes 
    604811974else 
    6049   ac_cv_lib_avcodec_avcodec_init=no 
    6050 fi 
    6051 rm -f core conftest.err conftest.$ac_objext \ 
    6052     conftest$ac_exeext conftest.$ac_ext 
     11975  echo "$as_me: failed program was:" >&5 
     11976sed 's/^/| /' conftest.$ac_ext >&5 
     11977 
     11978        ac_cv_lib_avcodec_avcodec_init=no 
     11979fi 
     11980 
     11981rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11982      conftest$ac_exeext conftest.$ac_ext 
    605311983LIBS=$ac_check_lib_save_LIBS 
    605411984fi 
    6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    6056 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    6057 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
     11985{ echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
     11986echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 
     11987if test $ac_cv_lib_avcodec_avcodec_init = yes; then 
    605811988  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    605911989                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    606211992fi 
    606311993 
    6064                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
    6065 $as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
    6066 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
    6067   $as_echo_n "(cached) " >&6 
     11994                { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 
     11995echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 
     11996if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 
     11997  echo $ECHO_N "(cached) $ECHO_C" >&6 
    606811998else 
    606911999  ac_check_lib_save_LIBS=$LIBS 
    607012000LIBS="-lswscale  $LIBS" 
    6071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12001cat >conftest.$ac_ext <<_ACEOF 
     12002/* confdefs.h.  */ 
     12003_ACEOF 
     12004cat confdefs.h >>conftest.$ac_ext 
     12005cat >>conftest.$ac_ext <<_ACEOF 
    607212006/* end confdefs.h.  */ 
    607312007 
     
    608712021} 
    608812022_ACEOF 
    6089 if ac_fn_c_try_link "$LINENO"; then : 
     12023rm -f conftest.$ac_objext conftest$ac_exeext 
     12024if { (ac_try="$ac_link" 
     12025case "(($ac_try" in 
     12026  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12027  *) ac_try_echo=$ac_try;; 
     12028esac 
     12029eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12030  (eval "$ac_link") 2>conftest.er1 
     12031  ac_status=$? 
     12032  grep -v '^ *+' conftest.er1 >conftest.err 
     12033  rm -f conftest.er1 
     12034  cat conftest.err >&5 
     12035  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12036  (exit $ac_status); } && { 
     12037         test -z "$ac_c_werror_flag" || 
     12038         test ! -s conftest.err 
     12039       } && test -s conftest$ac_exeext && 
     12040       $as_test_x conftest$ac_exeext; then 
    609012041  ac_cv_lib_swscale_sws_scale=yes 
    609112042else 
    6092   ac_cv_lib_swscale_sws_scale=no 
    6093 fi 
    6094 rm -f core conftest.err conftest.$ac_objext \ 
    6095     conftest$ac_exeext conftest.$ac_ext 
     12043  echo "$as_me: failed program was:" >&5 
     12044sed 's/^/| /' conftest.$ac_ext >&5 
     12045 
     12046        ac_cv_lib_swscale_sws_scale=no 
     12047fi 
     12048 
     12049rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12050      conftest$ac_exeext conftest.$ac_ext 
    609612051LIBS=$ac_check_lib_save_LIBS 
    609712052fi 
    6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
    6099 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
    6100 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
     12053{ echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 
     12054echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 
     12055if test $ac_cv_lib_swscale_sws_scale = yes; then 
    610112056  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    610212057                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    610512060fi 
    610612061 
    6107                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
    6108 $as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
    6109 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
    6110   $as_echo_n "(cached) " >&6 
     12062                { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 
     12063echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 
     12064if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 
     12065  echo $ECHO_N "(cached) $ECHO_C" >&6 
    611112066else 
    611212067  ac_check_lib_save_LIBS=$LIBS 
    611312068LIBS="-lavutil  $LIBS" 
    6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12069cat >conftest.$ac_ext <<_ACEOF 
     12070/* confdefs.h.  */ 
     12071_ACEOF 
     12072cat confdefs.h >>conftest.$ac_ext 
     12073cat >>conftest.$ac_ext <<_ACEOF 
    611512074/* end confdefs.h.  */ 
    611612075 
     
    613012089} 
    613112090_ACEOF 
    6132 if ac_fn_c_try_link "$LINENO"; then : 
     12091rm -f conftest.$ac_objext conftest$ac_exeext 
     12092if { (ac_try="$ac_link" 
     12093case "(($ac_try" in 
     12094  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12095  *) ac_try_echo=$ac_try;; 
     12096esac 
     12097eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12098  (eval "$ac_link") 2>conftest.er1 
     12099  ac_status=$? 
     12100  grep -v '^ *+' conftest.er1 >conftest.err 
     12101  rm -f conftest.er1 
     12102  cat conftest.err >&5 
     12103  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12104  (exit $ac_status); } && { 
     12105         test -z "$ac_c_werror_flag" || 
     12106         test ! -s conftest.err 
     12107       } && test -s conftest$ac_exeext && 
     12108       $as_test_x conftest$ac_exeext; then 
    613312109  ac_cv_lib_avutil_av_malloc=yes 
    613412110else 
    6135   ac_cv_lib_avutil_av_malloc=no 
    6136 fi 
    6137 rm -f core conftest.err conftest.$ac_objext \ 
    6138     conftest$ac_exeext conftest.$ac_ext 
     12111  echo "$as_me: failed program was:" >&5 
     12112sed 's/^/| /' conftest.$ac_ext >&5 
     12113 
     12114        ac_cv_lib_avutil_av_malloc=no 
     12115fi 
     12116 
     12117rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12118      conftest$ac_exeext conftest.$ac_ext 
    613912119LIBS=$ac_check_lib_save_LIBS 
    614012120fi 
    6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
    6142 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
    6143 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
     12121{ echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 
     12122echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 
     12123if test $ac_cv_lib_avutil_av_malloc = yes; then 
    614412124  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    614512125                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    614812128fi 
    614912129 
    6150                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
    6151 $as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
    6152 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
    6153   $as_echo_n "(cached) " >&6 
     12130                { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 
     12131echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 
     12132if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 
     12133  echo $ECHO_N "(cached) $ECHO_C" >&6 
    615412134else 
    615512135  ac_check_lib_save_LIBS=$LIBS 
    615612136LIBS="-lavcore  $LIBS" 
    6157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12137cat >conftest.$ac_ext <<_ACEOF 
     12138/* confdefs.h.  */ 
     12139_ACEOF 
     12140cat confdefs.h >>conftest.$ac_ext 
     12141cat >>conftest.$ac_ext <<_ACEOF 
    615812142/* end confdefs.h.  */ 
    615912143 
     
    617312157} 
    617412158_ACEOF 
    6175 if ac_fn_c_try_link "$LINENO"; then : 
     12159rm -f conftest.$ac_objext conftest$ac_exeext 
     12160if { (ac_try="$ac_link" 
     12161case "(($ac_try" in 
     12162  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12163  *) ac_try_echo=$ac_try;; 
     12164esac 
     12165eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12166  (eval "$ac_link") 2>conftest.er1 
     12167  ac_status=$? 
     12168  grep -v '^ *+' conftest.er1 >conftest.err 
     12169  rm -f conftest.er1 
     12170  cat conftest.err >&5 
     12171  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12172  (exit $ac_status); } && { 
     12173         test -z "$ac_c_werror_flag" || 
     12174         test ! -s conftest.err 
     12175       } && test -s conftest$ac_exeext && 
     12176       $as_test_x conftest$ac_exeext; then 
    617612177  ac_cv_lib_avcore_avcore_version=yes 
    617712178else 
    6178   ac_cv_lib_avcore_avcore_version=no 
    6179 fi 
    6180 rm -f core conftest.err conftest.$ac_objext \ 
    6181     conftest$ac_exeext conftest.$ac_ext 
     12179  echo "$as_me: failed program was:" >&5 
     12180sed 's/^/| /' conftest.$ac_ext >&5 
     12181 
     12182        ac_cv_lib_avcore_avcore_version=no 
     12183fi 
     12184 
     12185rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12186      conftest$ac_exeext conftest.$ac_ext 
    618212187LIBS=$ac_check_lib_save_LIBS 
    618312188fi 
    6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
    6185 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
    6186 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
     12189{ echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 
     12190echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 
     12191if test $ac_cv_lib_avcore_avcore_version = yes; then 
    618712192  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    618812193                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    619912204 
    620012205# Check whether --with-ffmpeg was given. 
    6201 if test "${with_ffmpeg+set}" = set; then : 
     12206if test "${with_ffmpeg+set}" = set; then 
    620212207  withval=$with_ffmpeg; 
    620312208else 
     
    620912214 
    621012215# Check whether --enable-v4l2 was given. 
    6211 if test "${enable_v4l2+set}" = set; then : 
     12216if test "${enable_v4l2+set}" = set; then 
    621212217  enableval=$enable_v4l2; 
    621312218                if test "$enable_v4l2" = "no"; then 
    6214                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 
    6215 $as_echo "Checking if V4L2 is disabled... yes" >&6; } 
     12219                  { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 
     12220echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 
    621612221                fi 
    621712222 
     
    622012225 
    622112226 
    6222                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
    6223 $as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
    6224 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
    6225   $as_echo_n "(cached) " >&6 
     12227                { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 
     12228echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 
     12229if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 
     12230  echo $ECHO_N "(cached) $ECHO_C" >&6 
    622612231else 
    622712232  ac_check_lib_save_LIBS=$LIBS 
    622812233LIBS="-lv4l2  $LIBS" 
    6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12234cat >conftest.$ac_ext <<_ACEOF 
     12235/* confdefs.h.  */ 
     12236_ACEOF 
     12237cat confdefs.h >>conftest.$ac_ext 
     12238cat >>conftest.$ac_ext <<_ACEOF 
    623012239/* end confdefs.h.  */ 
    623112240 
     
    624512254} 
    624612255_ACEOF 
    6247 if ac_fn_c_try_link "$LINENO"; then : 
     12256rm -f conftest.$ac_objext conftest$ac_exeext 
     12257if { (ac_try="$ac_link" 
     12258case "(($ac_try" in 
     12259  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12260  *) ac_try_echo=$ac_try;; 
     12261esac 
     12262eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12263  (eval "$ac_link") 2>conftest.er1 
     12264  ac_status=$? 
     12265  grep -v '^ *+' conftest.er1 >conftest.err 
     12266  rm -f conftest.er1 
     12267  cat conftest.err >&5 
     12268  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12269  (exit $ac_status); } && { 
     12270         test -z "$ac_c_werror_flag" || 
     12271         test ! -s conftest.err 
     12272       } && test -s conftest$ac_exeext && 
     12273       $as_test_x conftest$ac_exeext; then 
    624812274  ac_cv_lib_v4l2_v4l2_open=yes 
    624912275else 
    6250   ac_cv_lib_v4l2_v4l2_open=no 
    6251 fi 
    6252 rm -f core conftest.err conftest.$ac_objext \ 
    6253     conftest$ac_exeext conftest.$ac_ext 
     12276  echo "$as_me: failed program was:" >&5 
     12277sed 's/^/| /' conftest.$ac_ext >&5 
     12278 
     12279        ac_cv_lib_v4l2_v4l2_open=no 
     12280fi 
     12281 
     12282rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12283      conftest$ac_exeext conftest.$ac_ext 
    625412284LIBS=$ac_check_lib_save_LIBS 
    625512285fi 
    6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    6257 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    6258 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
     12286{ echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
     12287echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 
     12288if test $ac_cv_lib_v4l2_v4l2_open = yes; then 
    625912289  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    626012290                              ac_v4l2_ldflags="-lv4l2" 
     
    626912299 
    627012300# Check whether --enable-ipp was given. 
    6271 if test "${enable_ipp+set}" = set; then : 
     12301if test "${enable_ipp+set}" = set; then 
    627212302  enableval=$enable_ipp; 
    627312303else 
     
    627912309 
    628012310# Check whether --with-ipp was given. 
    6281 if test "${with_ipp+set}" = set; then : 
     12311if test "${with_ipp+set}" = set; then 
    628212312  withval=$with_ipp; 
    628312313else 
     
    628912319 
    629012320# Check whether --with-ipp-samples was given. 
    6291 if test "${with_ipp_samples+set}" = set; then : 
     12321if test "${with_ipp_samples+set}" = set; then 
    629212322  withval=$with_ipp_samples; 
    629312323else 
     
    629912329 
    630012330# Check whether --with-ipp-arch was given. 
    6301 if test "${with_ipp_arch+set}" = set; then : 
     12331if test "${with_ipp_arch+set}" = set; then 
    630212332  withval=$with_ipp_arch; 
    630312333else 
     
    630812338 
    630912339if test "x$enable_ipp" != "xno"; then 
    6310                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
    6311 $as_echo_n "checking Intel IPP location... " >&6; } 
     12340                { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
     12341echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
    631212342 
    631312343    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    6314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
    6315 $as_echo "$with_ipp" >&6; } 
     12344        { echo "$as_me:$LINENO: result: $with_ipp" >&5 
     12345echo "${ECHO_T}$with_ipp" >&6; } 
    631612346        IPPROOT=$with_ipp 
    631712347    elif test "x$IPPROOT" = "x"; then 
    631812348        if test -d /opt/intel/ipp; then 
    631912349            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    6320             { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
    6321 $as_echo "autodetected in $IPPROOT" >&6; } 
     12350            { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
     12351echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
    632212352        fi 
    632312353    else 
    6324         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
    6325 $as_echo "$IPPROOT" >&6; } 
     12354        { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
     12355echo "${ECHO_T}$IPPROOT" >&6; } 
    632612356    fi 
    632712357 
    632812358    if test "x$with_ipp_arch" != "xno"; then 
    632912359        IPP_SUFFIX=$with_ipp_arch 
    6330         { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    6331 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     12360        { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     12361echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    633212362    else 
    633312363        IPP_SUFFIX="" 
    6334         { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
    6335 $as_echo "IPP arch suffix is set to empty" >&6; } 
     12364        { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
     12365echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
    633612366    fi 
    633712367 
    633812368    if test x$IPPROOT = x; then 
    6339         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 
     12369        { { 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 
     12370echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&2;} 
     12371   { (exit 1); exit 1; }; } 
    634012372    elif test ! -d $IPPROOT; then 
    6341         as_fn_error "not found" "$LINENO" 5 
     12373        { { echo "$as_me:$LINENO: error: not found" >&5 
     12374echo "$as_me: error: not found" >&2;} 
     12375   { (exit 1); exit 1; }; } 
    634212376    elif test ! -d $IPPROOT/include; then 
    6343         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     12377        { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
     12378echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
     12379   { (exit 1); exit 1; }; } 
    634412380    else 
    634512381        # IPP directory looks okay. 
     
    637812414                   # IPP7 
    637912415                   if ! test -d $IPPROOT/../compiler; then 
    6380                         as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
     12416                        { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 
     12417echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 
     12418   { (exit 1); exit 1; }; } 
    638112419                   fi 
    638212420                   IPP_CFLAGS="$IPP_CFLAGS" 
     
    639612434 
    639712435 
    6398         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
    6399 $as_echo_n "checking Intel IPP usability... " >&6; } 
    6400         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12436        { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
     12437echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
     12438        cat >conftest.$ac_ext <<_ACEOF 
     12439/* confdefs.h.  */ 
     12440_ACEOF 
     12441cat confdefs.h >>conftest.$ac_ext 
     12442cat >>conftest.$ac_ext <<_ACEOF 
    640112443/* end confdefs.h.  */ 
    640212444#include <ippcore.h> 
     
    641012452} 
    641112453_ACEOF 
    6412 if ac_fn_c_try_link "$LINENO"; then : 
    6413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    6414 $as_echo "ok" >&6; } 
    6415 else 
    6416   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6418 { as_fn_set_status run with --help for more info 
    6419 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    6420 See \`config.log' for more details." "$LINENO" 5; }; } 
    6421 fi 
    6422 rm -f core conftest.err conftest.$ac_objext \ 
    6423     conftest$ac_exeext conftest.$ac_ext 
     12454rm -f conftest.$ac_objext conftest$ac_exeext 
     12455if { (ac_try="$ac_link" 
     12456case "(($ac_try" in 
     12457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12458  *) ac_try_echo=$ac_try;; 
     12459esac 
     12460eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12461  (eval "$ac_link") 2>conftest.er1 
     12462  ac_status=$? 
     12463  grep -v '^ *+' conftest.er1 >conftest.err 
     12464  rm -f conftest.er1 
     12465  cat conftest.err >&5 
     12466  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12467  (exit $ac_status); } && { 
     12468         test -z "$ac_c_werror_flag" || 
     12469         test ! -s conftest.err 
     12470       } && test -s conftest$ac_exeext && 
     12471       $as_test_x conftest$ac_exeext; then 
     12472  { echo "$as_me:$LINENO: result: ok" >&5 
     12473echo "${ECHO_T}ok" >&6; } 
     12474else 
     12475  echo "$as_me: failed program was:" >&5 
     12476sed 's/^/| /' conftest.$ac_ext >&5 
     12477 
     12478        { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     12479See \`config.log' for more details." >&5 
     12480echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     12481See \`config.log' for more details." >&2;} 
     12482   { (exit run with --help for more info); exit run with --help for more info; }; } 
     12483fi 
     12484 
     12485rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12486      conftest$ac_exeext conftest.$ac_ext 
    642412487 
    642512488        CFLAGS="$SAVED_CFLAGS" 
     
    642812491    fi 
    642912492 
    6430                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
    6431 $as_echo_n "checking Intel IPP samples location... " >&6; } 
     12493                { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
     12494echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
    643212495 
    643312496    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    6434         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
    6435 $as_echo "$with_ipp_samples" >&6; } 
     12497        { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
     12498echo "${ECHO_T}$with_ipp_samples" >&6; } 
    643612499        IPPSAMPLES=$with_ipp_samples 
    643712500    elif test "x$IPPSAMPLES" = "x"; then 
    643812501        if test -d /opt/intel/ipp-samples; then 
    643912502            IPPSAMPLES=/opt/intel/ipp-samples 
    6440             { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
    6441 $as_echo "autodetected in $IPPSAMPLES" >&6; } 
     12503            { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
     12504echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
    644212505        fi 
    644312506    else 
    6444         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
    6445 $as_echo "$IPPSAMPLES" >&6; } 
     12507        { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
     12508echo "${ECHO_T}$IPPSAMPLES" >&6; } 
    644612509    fi 
    644712510 
    644812511    if test x$IPPSAMPLES = x; then 
    6449         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 
     12512        { { 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 
     12513echo "$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;} 
     12514   { (exit 1); exit 1; }; } 
    645012515    elif test ! -d $IPPSAMPLES; then 
    6451         as_fn_error "not found" "$LINENO" 5 
     12516        { { echo "$as_me:$LINENO: error: not found" >&5 
     12517echo "$as_me: error: not found" >&2;} 
     12518   { (exit 1); exit 1; }; } 
    645212519    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    6453         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     12520        { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
     12521echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
     12522   { (exit 1); exit 1; }; } 
    645412523    else 
    645512524        # Remove trailing backslash 
     
    645712526 
    645812527        # Guess the libusc.a/libspeech.a build location 
    6459         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
    6460 $as_echo_n "checking Intel IPP USC build location... " >&6; } 
     12528        { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
     12529echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
    646112530        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    646212531            IPPVER=5 
     
    647112540                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    647212541            else 
    6473                 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6475 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    6476 See \`config.log' for more details." "$LINENO" 5; } 
     12542                { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     12543See \`config.log' for more details." >&5 
     12544echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     12545See \`config.log' for more details." >&2;} 
     12546   { (exit 1); exit 1; }; } 
    647712547            fi 
    647812548        else 
    6479             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6481 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? 
    6482 See \`config.log' for more details." "$LINENO" 5; } 
     12549            { { 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? 
     12550See \`config.log' for more details." >&5 
     12551echo "$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? 
     12552See \`config.log' for more details." >&2;} 
     12553   { (exit 1); exit 1; }; } 
    648312554        fi 
    648412555 
    648512556        # Test the directory 
    648612557        if test ! -d $IPPSAMP_DIR; then 
    6487             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6489 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    6490 See \`config.log' for more details." "$LINENO" 5; } 
     12558            { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     12559See \`config.log' for more details." >&5 
     12560echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     12561See \`config.log' for more details." >&2;} 
     12562   { (exit 1); exit 1; }; } 
    649112563            exit 1; 
    649212564        fi 
     
    649912571            IPPSAMP_LDLIBS="-lspeech" 
    650012572        else 
    6501             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6503 as_fn_error "bug in this script: unsupported IPP version 
    6504 See \`config.log' for more details." "$LINENO" 5; } 
     12573            { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
     12574See \`config.log' for more details." >&5 
     12575echo "$as_me: error: bug in this script: unsupported IPP version 
     12576See \`config.log' for more details." >&2;} 
     12577   { (exit 1); exit 1; }; } 
    650512578        fi 
    650612579 
    650712580        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    6508             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6510 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    6511 See \`config.log' for more details." "$LINENO" 5; } 
     12581            { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     12582See \`config.log' for more details." >&5 
     12583echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     12584See \`config.log' for more details." >&2;} 
     12585   { (exit 1); exit 1; }; } 
    651212586        fi 
    651312587 
    6514         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
    6515 $as_echo "$IPPSAMP_DIR" >&6; } 
     12588        { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
     12589echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
    651612590 
    651712591        SAVED_CFLAGS="$CFLAGS" 
     
    652412598        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    652512599 
    6526         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
    6527 $as_echo_n "checking Intel IPP USC usability... " >&6; } 
    6528         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12600        { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
     12601echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
     12602        cat >conftest.$ac_ext <<_ACEOF 
     12603/* confdefs.h.  */ 
     12604_ACEOF 
     12605cat confdefs.h >>conftest.$ac_ext 
     12606cat >>conftest.$ac_ext <<_ACEOF 
    652912607/* end confdefs.h.  */ 
    653012608#include <usc.h> 
     
    653812616} 
    653912617_ACEOF 
    6540 if ac_fn_c_try_link "$LINENO"; then : 
    6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    6542 $as_echo "ok" >&6; } 
    6543 else 
    6544   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6546 as_fn_error "failed 
    6547 See \`config.log' for more details." "$LINENO" 5; } 
    6548 fi 
    6549 rm -f core conftest.err conftest.$ac_objext \ 
    6550     conftest$ac_exeext conftest.$ac_ext 
     12618rm -f conftest.$ac_objext conftest$ac_exeext 
     12619if { (ac_try="$ac_link" 
     12620case "(($ac_try" in 
     12621  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12622  *) ac_try_echo=$ac_try;; 
     12623esac 
     12624eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12625  (eval "$ac_link") 2>conftest.er1 
     12626  ac_status=$? 
     12627  grep -v '^ *+' conftest.er1 >conftest.err 
     12628  rm -f conftest.er1 
     12629  cat conftest.err >&5 
     12630  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12631  (exit $ac_status); } && { 
     12632         test -z "$ac_c_werror_flag" || 
     12633         test ! -s conftest.err 
     12634       } && test -s conftest$ac_exeext && 
     12635       $as_test_x conftest$ac_exeext; then 
     12636  { echo "$as_me:$LINENO: result: ok" >&5 
     12637echo "${ECHO_T}ok" >&6; } 
     12638else 
     12639  echo "$as_me: failed program was:" >&5 
     12640sed 's/^/| /' conftest.$ac_ext >&5 
     12641 
     12642        { { echo "$as_me:$LINENO: error: failed 
     12643See \`config.log' for more details." >&5 
     12644echo "$as_me: error: failed 
     12645See \`config.log' for more details." >&2;} 
     12646   { (exit 1); exit 1; }; } 
     12647fi 
     12648 
     12649rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12650      conftest$ac_exeext conftest.$ac_ext 
    655112651 
    655212652        CFLAGS="$SAVED_CFLAGS" 
     
    656812668export IPP_LIBS=$IPP_LIBS" 
    656912669else 
    6570     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
    6571 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
     12670    { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
     12671echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
    657212672fi 
    657312673 
     
    657612676 
    657712677# Check whether --enable-ssl was given. 
    6578 if test "${enable_ssl+set}" = set; then : 
     12678if test "${enable_ssl+set}" = set; then 
    657912679  enableval=$enable_ssl; 
    658012680                if test "$enable_ssl" = "no"; then 
    658112681                 ac_no_ssl=1 
    6582                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
    6583 $as_echo "Checking if SSL support is disabled... yes" >&6; } 
     12682                 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
     12683echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
    658412684                fi 
    658512685 
    658612686else 
    658712687 
    6588                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
    6589 $as_echo "checking for OpenSSL installations.." >&6; } 
    6590  
    6591  
    6592  
    6593                 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
    6594 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
     12688                { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
     12689echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
     12690 
     12691 
     12692 
     12693                if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12694  { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     12695echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
     12696if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12697  echo $ECHO_N "(cached) $ECHO_C" >&6 
     12698fi 
     12699{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     12700echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
     12701else 
     12702  # Is the header compilable? 
     12703{ echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
     12704echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
     12705cat >conftest.$ac_ext <<_ACEOF 
     12706/* confdefs.h.  */ 
     12707_ACEOF 
     12708cat confdefs.h >>conftest.$ac_ext 
     12709cat >>conftest.$ac_ext <<_ACEOF 
     12710/* end confdefs.h.  */ 
     12711$ac_includes_default 
     12712#include <openssl/ssl.h> 
     12713_ACEOF 
     12714rm -f conftest.$ac_objext 
     12715if { (ac_try="$ac_compile" 
     12716case "(($ac_try" in 
     12717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12718  *) ac_try_echo=$ac_try;; 
     12719esac 
     12720eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12721  (eval "$ac_compile") 2>conftest.er1 
     12722  ac_status=$? 
     12723  grep -v '^ *+' conftest.er1 >conftest.err 
     12724  rm -f conftest.er1 
     12725  cat conftest.err >&5 
     12726  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12727  (exit $ac_status); } && { 
     12728         test -z "$ac_c_werror_flag" || 
     12729         test ! -s conftest.err 
     12730       } && test -s conftest.$ac_objext; then 
     12731  ac_header_compiler=yes 
     12732else 
     12733  echo "$as_me: failed program was:" >&5 
     12734sed 's/^/| /' conftest.$ac_ext >&5 
     12735 
     12736        ac_header_compiler=no 
     12737fi 
     12738 
     12739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     12740{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     12741echo "${ECHO_T}$ac_header_compiler" >&6; } 
     12742 
     12743# Is the header present? 
     12744{ echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
     12745echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
     12746cat >conftest.$ac_ext <<_ACEOF 
     12747/* confdefs.h.  */ 
     12748_ACEOF 
     12749cat confdefs.h >>conftest.$ac_ext 
     12750cat >>conftest.$ac_ext <<_ACEOF 
     12751/* end confdefs.h.  */ 
     12752#include <openssl/ssl.h> 
     12753_ACEOF 
     12754if { (ac_try="$ac_cpp conftest.$ac_ext" 
     12755case "(($ac_try" in 
     12756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12757  *) ac_try_echo=$ac_try;; 
     12758esac 
     12759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12760  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     12761  ac_status=$? 
     12762  grep -v '^ *+' conftest.er1 >conftest.err 
     12763  rm -f conftest.er1 
     12764  cat conftest.err >&5 
     12765  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12766  (exit $ac_status); } >/dev/null && { 
     12767         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     12768         test ! -s conftest.err 
     12769       }; then 
     12770  ac_header_preproc=yes 
     12771else 
     12772  echo "$as_me: failed program was:" >&5 
     12773sed 's/^/| /' conftest.$ac_ext >&5 
     12774 
     12775  ac_header_preproc=no 
     12776fi 
     12777 
     12778rm -f conftest.err conftest.$ac_ext 
     12779{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     12780echo "${ECHO_T}$ac_header_preproc" >&6; } 
     12781 
     12782# So?  What about this header? 
     12783case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     12784  yes:no: ) 
     12785    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     12786echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     12787    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
     12788echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
     12789    ac_header_preproc=yes 
     12790    ;; 
     12791  no:yes:* ) 
     12792    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
     12793echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
     12794    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
     12795echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
     12796    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
     12797echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
     12798    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     12799echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     12800    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
     12801echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
     12802    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
     12803echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
     12804 
     12805    ;; 
     12806esac 
     12807{ echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     12808echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
     12809if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12810  echo $ECHO_N "(cached) $ECHO_C" >&6 
     12811else 
     12812  ac_cv_header_openssl_ssl_h=$ac_header_preproc 
     12813fi 
     12814{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     12815echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
     12816 
     12817fi 
     12818if test $ac_cv_header_openssl_ssl_h = yes; then 
    659512819  openssl_h_present=1 
    659612820fi 
    659712821 
    659812822 
    6599                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    6600 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
    6601 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
    6602   $as_echo_n "(cached) " >&6 
     12823                { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     12824echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
     12825if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
     12826  echo $ECHO_N "(cached) $ECHO_C" >&6 
    660312827else 
    660412828  ac_check_lib_save_LIBS=$LIBS 
    660512829LIBS="-lcrypto  $LIBS" 
    6606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12830cat >conftest.$ac_ext <<_ACEOF 
     12831/* confdefs.h.  */ 
     12832_ACEOF 
     12833cat confdefs.h >>conftest.$ac_ext 
     12834cat >>conftest.$ac_ext <<_ACEOF 
    660712835/* end confdefs.h.  */ 
    660812836 
     
    662212850} 
    662312851_ACEOF 
    6624 if ac_fn_c_try_link "$LINENO"; then : 
     12852rm -f conftest.$ac_objext conftest$ac_exeext 
     12853if { (ac_try="$ac_link" 
     12854case "(($ac_try" in 
     12855  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12856  *) ac_try_echo=$ac_try;; 
     12857esac 
     12858eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12859  (eval "$ac_link") 2>conftest.er1 
     12860  ac_status=$? 
     12861  grep -v '^ *+' conftest.er1 >conftest.err 
     12862  rm -f conftest.er1 
     12863  cat conftest.err >&5 
     12864  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12865  (exit $ac_status); } && { 
     12866         test -z "$ac_c_werror_flag" || 
     12867         test ! -s conftest.err 
     12868       } && test -s conftest$ac_exeext && 
     12869       $as_test_x conftest$ac_exeext; then 
    662512870  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    662612871else 
    6627   ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    6628 fi 
    6629 rm -f core conftest.err conftest.$ac_objext \ 
    6630     conftest$ac_exeext conftest.$ac_ext 
     12872  echo "$as_me: failed program was:" >&5 
     12873sed 's/^/| /' conftest.$ac_ext >&5 
     12874 
     12875        ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     12876fi 
     12877 
     12878rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12879      conftest$ac_exeext conftest.$ac_ext 
    663112880LIBS=$ac_check_lib_save_LIBS 
    663212881fi 
    6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    6634 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    6635 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
     12882{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     12883echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     12884if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
    663612885  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    663712886fi 
    663812887 
    6639                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
    6640 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
    6641 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
    6642   $as_echo_n "(cached) " >&6 
     12888                { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
     12889echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
     12890if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
     12891  echo $ECHO_N "(cached) $ECHO_C" >&6 
    664312892else 
    664412893  ac_check_lib_save_LIBS=$LIBS 
    664512894LIBS="-lssl  $LIBS" 
    6646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12895cat >conftest.$ac_ext <<_ACEOF 
     12896/* confdefs.h.  */ 
     12897_ACEOF 
     12898cat confdefs.h >>conftest.$ac_ext 
     12899cat >>conftest.$ac_ext <<_ACEOF 
    664712900/* end confdefs.h.  */ 
    664812901 
     
    666212915} 
    666312916_ACEOF 
    6664 if ac_fn_c_try_link "$LINENO"; then : 
     12917rm -f conftest.$ac_objext conftest$ac_exeext 
     12918if { (ac_try="$ac_link" 
     12919case "(($ac_try" in 
     12920  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12921  *) ac_try_echo=$ac_try;; 
     12922esac 
     12923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12924  (eval "$ac_link") 2>conftest.er1 
     12925  ac_status=$? 
     12926  grep -v '^ *+' conftest.er1 >conftest.err 
     12927  rm -f conftest.er1 
     12928  cat conftest.err >&5 
     12929  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12930  (exit $ac_status); } && { 
     12931         test -z "$ac_c_werror_flag" || 
     12932         test ! -s conftest.err 
     12933       } && test -s conftest$ac_exeext && 
     12934       $as_test_x conftest$ac_exeext; then 
    666512935  ac_cv_lib_ssl_SSL_library_init=yes 
    666612936else 
    6667   ac_cv_lib_ssl_SSL_library_init=no 
    6668 fi 
    6669 rm -f core conftest.err conftest.$ac_objext \ 
    6670     conftest$ac_exeext conftest.$ac_ext 
     12937  echo "$as_me: failed program was:" >&5 
     12938sed 's/^/| /' conftest.$ac_ext >&5 
     12939 
     12940        ac_cv_lib_ssl_SSL_library_init=no 
     12941fi 
     12942 
     12943rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12944      conftest$ac_exeext conftest.$ac_ext 
    667112945LIBS=$ac_check_lib_save_LIBS 
    667212946fi 
    6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    6674 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    6675 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
     12947{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     12948echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     12949if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
    667612950  libssl_present=1 && LIBS="$LIBS -lssl" 
    667712951fi 
    667812952 
    667912953                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    6680                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
    6681 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 
     12954                        { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
     12955echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
    668212956                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    668312957                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    6684                         $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
     12958                        cat >>confdefs.h <<\_ACEOF 
     12959#define PJ_HAS_SSL_SOCK 1 
     12960_ACEOF 
    668512961 
    668612962                else 
    6687                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    6688 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     12963                        { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     12964echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    668912965                fi 
    669012966 
     
    669512971 
    669612972 
    6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
    6698 $as_echo_n "checking if select() needs correct nfds... " >&6; } 
     12973{ echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
     12974echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
    669912975case $target in 
    6700   *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
    6701  
    6702            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6703 $as_echo "yes" >&6; } 
     12976  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12977#define PJ_SELECT_NEEDS_NFDS 1 
     12978_ACEOF 
     12979 
     12980           { echo "$as_me:$LINENO: result: yes" >&5 
     12981echo "${ECHO_T}yes" >&6; } 
    670412982        ;; 
    6705   *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
    6706  
    6707      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6708 $as_echo "no (default)" >&6; } 
    6709      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    6710 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     12983  *) cat >>confdefs.h <<\_ACEOF 
     12984#define PJ_SELECT_NEEDS_NFDS 0 
     12985_ACEOF 
     12986 
     12987     { echo "$as_me:$LINENO: result: no (default)" >&5 
     12988echo "${ECHO_T}no (default)" >&6; } 
     12989     { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     12990echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    671112991        ;; 
    671212992esac 
    671312993 
    6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
    6715 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
     12994{ echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
     12995echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
    671612996case $target in 
    6717   *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
    6718  
    6719            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6720 $as_echo "yes" >&6; } 
     12997  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12998#define PJ_THREAD_SET_STACK_SIZE 1 
     12999_ACEOF 
     13000 
     13001           { echo "$as_me:$LINENO: result: yes" >&5 
     13002echo "${ECHO_T}yes" >&6; } 
    672113003        ;; 
    6722   *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
    6723  
    6724      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6725 $as_echo "no (default)" >&6; } 
     13004  *) cat >>confdefs.h <<\_ACEOF 
     13005#define PJ_THREAD_SET_STACK_SIZE 0 
     13006_ACEOF 
     13007 
     13008     { echo "$as_me:$LINENO: result: no (default)" >&5 
     13009echo "${ECHO_T}no (default)" >&6; } 
    672613010        ;; 
    672713011esac 
    672813012 
    6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
    6730 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
     13013{ echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
     13014echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
    673113015case $target in 
    6732   *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
    6733  
    6734            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6735 $as_echo "yes" >&6; } 
     13016  *rtems*) cat >>confdefs.h <<\_ACEOF 
     13017#define PJ_THREAD_ALLOCATE_STACK 1 
     13018_ACEOF 
     13019 
     13020           { echo "$as_me:$LINENO: result: yes" >&5 
     13021echo "${ECHO_T}yes" >&6; } 
    673613022        ;; 
    6737   *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
    6738  
    6739      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6740 $as_echo "no (default)" >&6; } 
     13023  *) cat >>confdefs.h <<\_ACEOF 
     13024#define PJ_THREAD_ALLOCATE_STACK 0 
     13025_ACEOF 
     13026 
     13027     { echo "$as_me:$LINENO: result: no (default)" >&5 
     13028echo "${ECHO_T}no (default)" >&6; } 
    674113029        ;; 
    674213030esac 
     
    674413032case $target in 
    674513033  *mingw* | *cygw* | *win32* | *w32* ) 
    6746         $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
     13034        cat >>confdefs.h <<\_ACEOF 
     13035#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
     13036_ACEOF 
    674713037 
    674813038        ;; 
    6749   *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
    6750  
    6751      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    6752 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     13039  *) cat >>confdefs.h <<\_ACEOF 
     13040#define PJ_BLOCKING_ERROR_VAL EAGAIN 
     13041_ACEOF 
     13042 
     13043     { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     13044echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    675313045        ;; 
    675413046esac 
     
    675613048case $target in 
    675713049  *mingw* | *cygw* | *win32* | *w32* ) 
    6758         $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
     13050        cat >>confdefs.h <<\_ACEOF 
     13051#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
     13052_ACEOF 
    675913053 
    676013054        ;; 
    6761   *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
    6762  
    6763      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    6764 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     13055  *) cat >>confdefs.h <<\_ACEOF 
     13056#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
     13057_ACEOF 
     13058 
     13059     { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     13060echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    676513061        ;; 
    676613062esac 
     
    681713113    *${as_nl}*) 
    681813114      case $ac_var in #( 
    6819       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
    6820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
     13115      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
     13116echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
    682113117      esac 
    682213118      case $ac_var in #( 
    682313119      _ | IFS | as_nl) ;; #( 
    6824       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    6825       *) { eval $ac_var=; unset $ac_var;} ;; 
     13120      *) $as_unset $ac_var ;; 
    682613121      esac ;; 
    682713122    esac 
     
    683113126    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    683213127    *${as_nl}ac_space=\ *) 
    6833       # `set' does not quote correctly, so add quotes: double-quote 
    6834       # substitution turns \\\\ into \\, and sed turns \\ into \. 
     13128      # `set' does not quote correctly, so add quotes (double-quote 
     13129      # substitution turns \\\\ into \\, and sed turns \\ into \). 
    683513130      sed -n \ 
    683613131        "s/'/'\\\\''/g; 
     
    685513150  if test -w "$cache_file"; then 
    685613151    test "x$cache_file" != "x/dev/null" && 
    6857       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
    6858 $as_echo "$as_me: updating cache $cache_file" >&6;} 
     13152      { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
     13153echo "$as_me: updating cache $cache_file" >&6;} 
    685913154    cat confcache >$cache_file 
    686013155  else 
    6861     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
    6862 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     13156    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
     13157echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    686313158  fi 
    686413159fi 
     
    687613171  # 1. Remove the extension, and $U if already installed. 
    687713172  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    6878   ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
     13173  ac_i=`echo "$ac_i" | sed "$ac_script"` 
    687913174  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    688013175  #    will be set to the directory where LIBOBJS objects are built. 
    6881   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    6882   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
     13176  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     13177  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
    688313178done 
    688413179LIBOBJS=$ac_libobjs 
     
    688813183 
    688913184 
    6890  
    689113185: ${CONFIG_STATUS=./config.status} 
    6892 ac_write_fail=0 
    689313186ac_clean_files_save=$ac_clean_files 
    689413187ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    6895 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
    6896 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    6897 as_write_fail=0 
    6898 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
     13188{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
     13189echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     13190cat >$CONFIG_STATUS <<_ACEOF 
    689913191#! $SHELL 
    690013192# Generated by $as_me. 
     
    690613198ac_cs_recheck=false 
    690713199ac_cs_silent=false 
    6908  
    690913200SHELL=\${CONFIG_SHELL-$SHELL} 
    6910 export SHELL 
    6911 _ASEOF 
    6912 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
    6913 ## -------------------- ## 
    6914 ## M4sh Initialization. ## 
    6915 ## -------------------- ## 
     13201_ACEOF 
     13202 
     13203cat >>$CONFIG_STATUS <<\_ACEOF 
     13204## --------------------- ## 
     13205## M4sh Initialization.  ## 
     13206## --------------------- ## 
    691613207 
    691713208# Be more Bourne compatible 
    691813209DUALCASE=1; export DUALCASE # for MKS sh 
    6919 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
     13210if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    692013211  emulate sh 
    692113212  NULLCMD=: 
    6922   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
     13213  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    692313214  # is contrary to our usage.  Disable this feature. 
    692413215  alias -g '${1+"$@"}'='"$@"' 
    692513216  setopt NO_GLOB_SUBST 
    692613217else 
    6927   case `(set -o) 2>/dev/null` in #( 
    6928   *posix*) : 
    6929     set -o posix ;; #( 
    6930   *) : 
    6931      ;; 
    6932 esac 
    6933 fi 
    6934  
    6935  
    6936 as_nl=' 
    6937 ' 
    6938 export as_nl 
    6939 # Printing a long string crashes Solaris 7 /usr/bin/printf. 
    6940 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
    6941 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
    6942 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
    6943 # Prefer a ksh shell builtin over an external printf program on Solaris, 
    6944 # but without wasting forks for bash or zsh. 
    6945 if test -z "$BASH_VERSION$ZSH_VERSION" \ 
    6946     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
    6947   as_echo='print -r --' 
    6948   as_echo_n='print -rn --' 
    6949 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
    6950   as_echo='printf %s\n' 
    6951   as_echo_n='printf %s' 
    6952 else 
    6953   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
    6954     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
    6955     as_echo_n='/usr/ucb/echo -n' 
    6956   else 
    6957     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
    6958     as_echo_n_body='eval 
    6959       arg=$1; 
    6960       case $arg in #( 
    6961       *"$as_nl"*) 
    6962         expr "X$arg" : "X\\(.*\\)$as_nl"; 
    6963         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
    6964       esac; 
    6965       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
    6966     ' 
    6967     export as_echo_n_body 
    6968     as_echo_n='sh -c $as_echo_n_body as_echo' 
    6969   fi 
    6970   export as_echo_body 
    6971   as_echo='sh -c $as_echo_body as_echo' 
    6972 fi 
     13218  case `(set -o) 2>/dev/null` in 
     13219  *posix*) set -o posix ;; 
     13220esac 
     13221 
     13222fi 
     13223 
     13224 
     13225 
     13226 
     13227# PATH needs CR 
     13228# Avoid depending upon Character Ranges. 
     13229as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     13230as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     13231as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     13232as_cr_digits='0123456789' 
     13233as_cr_alnum=$as_cr_Letters$as_cr_digits 
    697313234 
    697413235# The user is always right. 
    697513236if test "${PATH_SEPARATOR+set}" != set; then 
    6976   PATH_SEPARATOR=: 
    6977   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
    6978     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
    6979       PATH_SEPARATOR=';' 
    6980   } 
     13237  echo "#! /bin/sh" >conf$$.sh 
     13238  echo  "exit 0"   >>conf$$.sh 
     13239  chmod +x conf$$.sh 
     13240  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     13241    PATH_SEPARATOR=';' 
     13242  else 
     13243    PATH_SEPARATOR=: 
     13244  fi 
     13245  rm -f conf$$.sh 
     13246fi 
     13247 
     13248# Support unset when possible. 
     13249if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     13250  as_unset=unset 
     13251else 
     13252  as_unset=false 
    698113253fi 
    698213254 
     
    698713259# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    698813260# splitting by setting IFS to empty value.) 
     13261as_nl=' 
     13262' 
    698913263IFS=" ""        $as_nl" 
    699013264 
    699113265# Find who we are.  Look in the path if we contain no directory separator. 
    6992 case $0 in #(( 
     13266case $0 in 
    699313267  *[\\/]* ) as_myself=$0 ;; 
    699413268  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    699713271  IFS=$as_save_IFS 
    699813272  test -z "$as_dir" && as_dir=. 
    6999     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    7000   done 
     13273  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     13274done 
    700113275IFS=$as_save_IFS 
    700213276 
     
    700913283fi 
    701013284if test ! -f "$as_myself"; then 
    7011   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    7012   exit 1 
    7013 fi 
    7014  
    7015 # Unset variables that we do not need and which cause bugs (e.g. in 
    7016 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
    7017 # suppresses any "Segmentation fault" message there.  '((' could 
    7018 # trigger a bug in pdksh 5.2.14. 
    7019 for as_var in BASH_ENV ENV MAIL MAILPATH 
    7020 do eval test x\${$as_var+set} = xset \ 
    7021   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
     13285  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     13286  { (exit 1); exit 1; } 
     13287fi 
     13288 
     13289# Work around bugs in pre-3.0 UWIN ksh. 
     13290for as_var in ENV MAIL MAILPATH 
     13291do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    702213292done 
    702313293PS1='$ ' 
     
    702613296 
    702713297# NLS nuisances. 
    7028 LC_ALL=C 
    7029 export LC_ALL 
    7030 LANGUAGE=C 
    7031 export LANGUAGE 
    7032  
    7033 # CDPATH. 
    7034 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    7035  
    7036  
    7037 # as_fn_error ERROR [LINENO LOG_FD] 
    7038 # --------------------------------- 
    7039 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    7040 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    7041 # script with status $?, using 1 if that was 0. 
    7042 as_fn_error () 
    7043 { 
    7044   as_status=$?; test $as_status -eq 0 && as_status=1 
    7045   if test "$3"; then 
    7046     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    7047     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     13298for as_var in \ 
     13299  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     13300  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     13301  LC_TELEPHONE LC_TIME 
     13302do 
     13303  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     13304    eval $as_var=C; export $as_var 
     13305  else 
     13306    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    704813307  fi 
    7049   $as_echo "$as_me: error: $1" >&2 
    7050   as_fn_exit $as_status 
    7051 } # as_fn_error 
    7052  
    7053  
    7054 # as_fn_set_status STATUS 
    7055 # ----------------------- 
    7056 # Set $? to STATUS, without forking. 
    7057 as_fn_set_status () 
    7058 { 
    7059   return $1 
    7060 } # as_fn_set_status 
    7061  
    7062 # as_fn_exit STATUS 
    7063 # ----------------- 
    7064 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
    7065 as_fn_exit () 
    7066 { 
    7067   set +e 
    7068   as_fn_set_status $1 
    7069   exit $1 
    7070 } # as_fn_exit 
    7071  
    7072 # as_fn_unset VAR 
    7073 # --------------- 
    7074 # Portably unset VAR. 
    7075 as_fn_unset () 
    7076 { 
    7077   { eval $1=; unset $1;} 
    7078 } 
    7079 as_unset=as_fn_unset 
    7080 # as_fn_append VAR VALUE 
    7081 # ---------------------- 
    7082 # Append the text in VALUE to the end of the definition contained in VAR. Take 
    7083 # advantage of any shell optimizations that allow amortized linear growth over 
    7084 # repeated appends, instead of the typical quadratic growth present in naive 
    7085 # implementations. 
    7086 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
    7087   eval 'as_fn_append () 
    7088   { 
    7089     eval $1+=\$2 
    7090   }' 
    7091 else 
    7092   as_fn_append () 
    7093   { 
    7094     eval $1=\$$1\$2 
    7095   } 
    7096 fi # as_fn_append 
    7097  
    7098 # as_fn_arith ARG... 
    7099 # ------------------ 
    7100 # Perform arithmetic evaluation on the ARGs, and store the result in the 
    7101 # global $as_val. Take advantage of shells that can avoid forks. The arguments 
    7102 # must be portable across $(()) and expr. 
    7103 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
    7104   eval 'as_fn_arith () 
    7105   { 
    7106     as_val=$(( $* )) 
    7107   }' 
    7108 else 
    7109   as_fn_arith () 
    7110   { 
    7111     as_val=`expr "$@" || test $? -eq 1` 
    7112   } 
    7113 fi # as_fn_arith 
    7114  
    7115  
     13308done 
     13309 
     13310# Required to use basename. 
    711613311if expr a : '\(a\)' >/dev/null 2>&1 && 
    711713312   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    712713322fi 
    712813323 
    7129 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    7130   as_dirname=dirname 
    7131 else 
    7132   as_dirname=false 
    7133 fi 
    7134  
     13324 
     13325# Name of the executable. 
    713513326as_me=`$as_basename -- "$0" || 
    713613327$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    713713328         X"$0" : 'X\(//\)$' \| \ 
    713813329         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    7139 $as_echo X/"$0" | 
     13330echo X/"$0" | 
    714013331    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    714113332            s//\1/ 
     
    715213343          s/.*/./; q'` 
    715313344 
    7154 # Avoid depending upon Character Ranges. 
    7155 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    7156 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    7157 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    7158 as_cr_digits='0123456789' 
    7159 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     13345# CDPATH. 
     13346$as_unset CDPATH 
     13347 
     13348 
     13349 
     13350  as_lineno_1=$LINENO 
     13351  as_lineno_2=$LINENO 
     13352  test "x$as_lineno_1" != "x$as_lineno_2" && 
     13353  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
     13354 
     13355  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     13356  # uniformly replaced by the line number.  The first 'sed' inserts a 
     13357  # line-number line after each line using $LINENO; the second 'sed' 
     13358  # does the real work.  The second script uses 'N' to pair each 
     13359  # line-number line with the line containing $LINENO, and appends 
     13360  # trailing '-' during substitution so that $LINENO is not a special 
     13361  # case at line end. 
     13362  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     13363  # scripts with optimization help from Paolo Bonzini.  Blame Lee 
     13364  # E. McMahon (1931-1989) for sed's syntax.  :-) 
     13365  sed -n ' 
     13366    p 
     13367    /[$]LINENO/= 
     13368  ' <$as_myself | 
     13369    sed ' 
     13370      s/[$]LINENO.*/&-/ 
     13371      t lineno 
     13372      b 
     13373      :lineno 
     13374      N 
     13375      :loop 
     13376      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
     13377      t loop 
     13378      s/-\n.*// 
     13379    ' >$as_me.lineno && 
     13380  chmod +x "$as_me.lineno" || 
     13381    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
     13382   { (exit 1); exit 1; }; } 
     13383 
     13384  # Don't try to exec as it changes $[0], causing all sort of problems 
     13385  # (the dirname of $[0] is not the place where we might find the 
     13386  # original and so on.  Autoconf is especially sensitive to this). 
     13387  . "./$as_me.lineno" 
     13388  # Exit status is that of the last command. 
     13389  exit 
     13390} 
     13391 
     13392 
     13393if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     13394  as_dirname=dirname 
     13395else 
     13396  as_dirname=false 
     13397fi 
    716013398 
    716113399ECHO_C= ECHO_N= ECHO_T= 
    7162 case `echo -n x` in #((((( 
     13400case `echo -n x` in 
    716313401-n*) 
    7164   case `echo 'xy\c'` in 
     13402  case `echo 'x\c'` in 
    716513403  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    7166   xy)  ECHO_C='\c';; 
    7167   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
    7168        ECHO_T=' ';; 
     13404  *)   ECHO_C='\c';; 
    716913405  esac;; 
    717013406*) 
     
    717213408esac 
    717313409 
     13410if expr a : '\(a\)' >/dev/null 2>&1 && 
     13411   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     13412  as_expr=expr 
     13413else 
     13414  as_expr=false 
     13415fi 
     13416 
    717413417rm -f conf$$ conf$$.exe conf$$.file 
    717513418if test -d conf$$.dir; then 
     
    717713420else 
    717813421  rm -f conf$$.dir 
    7179   mkdir conf$$.dir 2>/dev/null 
    7180 fi 
    7181 if (echo >conf$$.file) 2>/dev/null; then 
    7182   if ln -s conf$$.file conf$$ 2>/dev/null; then 
    7183     as_ln_s='ln -s' 
    7184     # ... but there are two gotchas: 
    7185     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    7186     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    7187     # In both cases, we have to default to `cp -p'. 
    7188     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    7189       as_ln_s='cp -p' 
    7190   elif ln conf$$.file conf$$ 2>/dev/null; then 
    7191     as_ln_s=ln 
    7192   else 
     13422  mkdir conf$$.dir 
     13423fi 
     13424echo >conf$$.file 
     13425if ln -s conf$$.file conf$$ 2>/dev/null; then 
     13426  as_ln_s='ln -s' 
     13427  # ... but there are two gotchas: 
     13428  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     13429  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     13430  # In both cases, we have to default to `cp -p'. 
     13431  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    719313432    as_ln_s='cp -p' 
    7194   fi 
     13433elif ln conf$$.file conf$$ 2>/dev/null; then 
     13434  as_ln_s=ln 
    719513435else 
    719613436  as_ln_s='cp -p' 
     
    719913439rmdir conf$$.dir 2>/dev/null 
    720013440 
    7201  
    7202 # as_fn_mkdir_p 
    7203 # ------------- 
    7204 # Create "$as_dir" as a directory, including parents if necessary. 
    7205 as_fn_mkdir_p () 
     13441if mkdir -p . 2>/dev/null; then 
     13442  as_mkdir_p=: 
     13443else 
     13444  test -d ./-p && rmdir ./-p 
     13445  as_mkdir_p=false 
     13446fi 
     13447 
     13448if test -x / >/dev/null 2>&1; then 
     13449  as_test_x='test -x' 
     13450else 
     13451  if ls -dL / >/dev/null 2>&1; then 
     13452    as_ls_L_option=L 
     13453  else 
     13454    as_ls_L_option= 
     13455  fi 
     13456  as_test_x=' 
     13457    eval sh -c '\'' 
     13458      if test -d "$1"; then 
     13459        test -d "$1/."; 
     13460      else 
     13461        case $1 in 
     13462        -*)set "./$1";; 
     13463        esac; 
     13464        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     13465        ???[sx]*):;;*)false;;esac;fi 
     13466    '\'' sh 
     13467  ' 
     13468fi 
     13469as_executable_p=$as_test_x 
     13470 
     13471# Sed expression to map a string onto a valid CPP name. 
     13472as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     13473 
     13474# Sed expression to map a string onto a valid variable name. 
     13475as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     13476 
     13477 
     13478exec 6>&1 
     13479 
     13480# Save the log message, to keep $[0] and so on meaningful, and to 
     13481# report actual input values of CONFIG_FILES etc. instead of their 
     13482# values after options handling. 
     13483ac_log=" 
     13484This file was extended by pjproject $as_me 1.x, which was 
     13485generated by GNU Autoconf 2.61.  Invocation command line was 
     13486 
     13487  CONFIG_FILES    = $CONFIG_FILES 
     13488  CONFIG_HEADERS  = $CONFIG_HEADERS 
     13489  CONFIG_LINKS    = $CONFIG_LINKS 
     13490  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     13491  $ $0 $@ 
     13492 
     13493on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     13494" 
     13495 
     13496_ACEOF 
     13497 
     13498cat >>$CONFIG_STATUS <<_ACEOF 
     13499# Files that config.status was made for. 
     13500config_files="$ac_config_files" 
     13501config_headers="$ac_config_headers" 
     13502 
     13503_ACEOF 
     13504 
     13505cat >>$CONFIG_STATUS <<\_ACEOF 
     13506ac_cs_usage="\ 
     13507\`$as_me' instantiates files from templates according to the 
     13508current configuration. 
     13509 
     13510Usage: $0 [OPTIONS] [FILE]... 
     13511 
     13512  -h, --help       print this help, then exit 
     13513  -V, --version    print version number and configuration settings, then exit 
     13514  -q, --quiet      do not print progress messages 
     13515  -d, --debug      don't remove temporary files 
     13516      --recheck    update $as_me by reconfiguring in the same conditions 
     13517  --file=FILE[:TEMPLATE] 
     13518                   instantiate the configuration file FILE 
     13519  --header=FILE[:TEMPLATE] 
     13520                   instantiate the configuration header FILE 
     13521 
     13522Configuration files: 
     13523$config_files 
     13524 
     13525Configuration headers: 
     13526$config_headers 
     13527 
     13528Report bugs to <bug-autoconf@gnu.org>." 
     13529 
     13530_ACEOF 
     13531cat >>$CONFIG_STATUS <<_ACEOF 
     13532ac_cs_version="\\ 
     13533pjproject config.status 1.x 
     13534configured by $0, generated by GNU Autoconf 2.61, 
     13535  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
     13536 
     13537Copyright (C) 2006 Free Software Foundation, Inc. 
     13538This config.status script is free software; the Free Software Foundation 
     13539gives unlimited permission to copy, distribute and modify it." 
     13540 
     13541ac_pwd='$ac_pwd' 
     13542srcdir='$srcdir' 
     13543_ACEOF 
     13544 
     13545cat >>$CONFIG_STATUS <<\_ACEOF 
     13546# If no file are specified by the user, then we need to provide default 
     13547# value.  By we need to know if files were specified by the user. 
     13548ac_need_defaults=: 
     13549while test $# != 0 
     13550do 
     13551  case $1 in 
     13552  --*=*) 
     13553    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     13554    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     13555    ac_shift=: 
     13556    ;; 
     13557  *) 
     13558    ac_option=$1 
     13559    ac_optarg=$2 
     13560    ac_shift=shift 
     13561    ;; 
     13562  esac 
     13563 
     13564  case $ac_option in 
     13565  # Handling of the options. 
     13566  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     13567    ac_cs_recheck=: ;; 
     13568  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     13569    echo "$ac_cs_version"; exit ;; 
     13570  --debug | --debu | --deb | --de | --d | -d ) 
     13571    debug=: ;; 
     13572  --file | --fil | --fi | --f ) 
     13573    $ac_shift 
     13574    CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
     13575    ac_need_defaults=false;; 
     13576  --header | --heade | --head | --hea ) 
     13577    $ac_shift 
     13578    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
     13579    ac_need_defaults=false;; 
     13580  --he | --h) 
     13581    # Conflict between --help and --header 
     13582    { echo "$as_me: error: ambiguous option: $1 
     13583Try \`$0 --help' for more information." >&2 
     13584   { (exit 1); exit 1; }; };; 
     13585  --help | --hel | -h ) 
     13586    echo "$ac_cs_usage"; exit ;; 
     13587  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     13588  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     13589    ac_cs_silent=: ;; 
     13590 
     13591  # This is an error. 
     13592  -*) { echo "$as_me: error: unrecognized option: $1 
     13593Try \`$0 --help' for more information." >&2 
     13594   { (exit 1); exit 1; }; } ;; 
     13595 
     13596  *) ac_config_targets="$ac_config_targets $1" 
     13597     ac_need_defaults=false ;; 
     13598 
     13599  esac 
     13600  shift 
     13601done 
     13602 
     13603ac_configure_extra_args= 
     13604 
     13605if $ac_cs_silent; then 
     13606  exec 6>/dev/null 
     13607  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     13608fi 
     13609 
     13610_ACEOF 
     13611cat >>$CONFIG_STATUS <<_ACEOF 
     13612if \$ac_cs_recheck; then 
     13613  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
     13614  CONFIG_SHELL=$SHELL 
     13615  export CONFIG_SHELL 
     13616  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     13617fi 
     13618 
     13619_ACEOF 
     13620cat >>$CONFIG_STATUS <<\_ACEOF 
     13621exec 5>>config.log 
    720613622{ 
    7207  
     13623  echo 
     13624  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     13625## Running $as_me. ## 
     13626_ASBOX 
     13627  echo "$ac_log" 
     13628} >&5 
     13629 
     13630_ACEOF 
     13631cat >>$CONFIG_STATUS <<_ACEOF 
     13632_ACEOF 
     13633 
     13634cat >>$CONFIG_STATUS <<\_ACEOF 
     13635 
     13636# Handling of arguments. 
     13637for ac_config_target in $ac_config_targets 
     13638do 
     13639  case $ac_config_target in 
     13640    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     13641    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     13642    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     13643    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     13644    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     13645    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     13646    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     13647    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     13648    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     13649    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     13650    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     13651    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     13652    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     13653    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     13654 
     13655  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
     13656echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
     13657   { (exit 1); exit 1; }; };; 
     13658  esac 
     13659done 
     13660 
     13661 
     13662# If the user did not use the arguments to specify the items to instantiate, 
     13663# then the envvar interface is used.  Set only those that are not. 
     13664# We use the long form for the default assignment because of an extremely 
     13665# bizarre bug on SunOS 4.1.3. 
     13666if $ac_need_defaults; then 
     13667  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     13668  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     13669fi 
     13670 
     13671# Have a temporary directory for convenience.  Make it in the build tree 
     13672# simply because there is no reason against having it here, and in addition, 
     13673# creating and moving files from /tmp can sometimes cause problems. 
     13674# Hook for its removal unless debugging. 
     13675# Note that there is a small window in which the directory will not be cleaned: 
     13676# after its creation but before its name has been assigned to `$tmp'. 
     13677$debug || 
     13678{ 
     13679  tmp= 
     13680  trap 'exit_status=$? 
     13681  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     13682' 0 
     13683  trap '{ (exit 1); exit 1; }' 1 2 13 15 
     13684} 
     13685# Create a (secure) tmp directory for tmp files. 
     13686 
     13687{ 
     13688  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     13689  test -n "$tmp" && test -d "$tmp" 
     13690}  || 
     13691{ 
     13692  tmp=./conf$$-$RANDOM 
     13693  (umask 077 && mkdir "$tmp") 
     13694} || 
     13695{ 
     13696   echo "$me: cannot create a temporary directory in ." >&2 
     13697   { (exit 1); exit 1; } 
     13698} 
     13699 
     13700# 
     13701# Set up the sed scripts for CONFIG_FILES section. 
     13702# 
     13703 
     13704# No need to generate the scripts if there are no CONFIG_FILES. 
     13705# This happens for instance when ./config.status config.h 
     13706if test -n "$CONFIG_FILES"; then 
     13707 
     13708_ACEOF 
     13709 
     13710 
     13711 
     13712ac_delim='%!_!# ' 
     13713for ac_last_try in false false false false false :; do 
     13714  cat >conf$$subs.sed <<_ACEOF 
     13715SHELL!$SHELL$ac_delim 
     13716PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
     13717PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
     13718PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
     13719PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
     13720PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
     13721PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
     13722exec_prefix!$exec_prefix$ac_delim 
     13723prefix!$prefix$ac_delim 
     13724program_transform_name!$program_transform_name$ac_delim 
     13725bindir!$bindir$ac_delim 
     13726sbindir!$sbindir$ac_delim 
     13727libexecdir!$libexecdir$ac_delim 
     13728datarootdir!$datarootdir$ac_delim 
     13729datadir!$datadir$ac_delim 
     13730sysconfdir!$sysconfdir$ac_delim 
     13731sharedstatedir!$sharedstatedir$ac_delim 
     13732localstatedir!$localstatedir$ac_delim 
     13733includedir!$includedir$ac_delim 
     13734oldincludedir!$oldincludedir$ac_delim 
     13735docdir!$docdir$ac_delim 
     13736infodir!$infodir$ac_delim 
     13737htmldir!$htmldir$ac_delim 
     13738dvidir!$dvidir$ac_delim 
     13739pdfdir!$pdfdir$ac_delim 
     13740psdir!$psdir$ac_delim 
     13741libdir!$libdir$ac_delim 
     13742localedir!$localedir$ac_delim 
     13743mandir!$mandir$ac_delim 
     13744DEFS!$DEFS$ac_delim 
     13745ECHO_C!$ECHO_C$ac_delim 
     13746ECHO_N!$ECHO_N$ac_delim 
     13747ECHO_T!$ECHO_T$ac_delim 
     13748LIBS!$LIBS$ac_delim 
     13749build_alias!$build_alias$ac_delim 
     13750host_alias!$host_alias$ac_delim 
     13751target_alias!$target_alias$ac_delim 
     13752build!$build$ac_delim 
     13753build_cpu!$build_cpu$ac_delim 
     13754build_vendor!$build_vendor$ac_delim 
     13755build_os!$build_os$ac_delim 
     13756host!$host$ac_delim 
     13757host_cpu!$host_cpu$ac_delim 
     13758host_vendor!$host_vendor$ac_delim 
     13759host_os!$host_os$ac_delim 
     13760target!$target$ac_delim 
     13761target_cpu!$target_cpu$ac_delim 
     13762target_vendor!$target_vendor$ac_delim 
     13763target_os!$target_os$ac_delim 
     13764CC!$CC$ac_delim 
     13765CFLAGS!$CFLAGS$ac_delim 
     13766LDFLAGS!$LDFLAGS$ac_delim 
     13767CPPFLAGS!$CPPFLAGS$ac_delim 
     13768ac_ct_CC!$ac_ct_CC$ac_delim 
     13769EXEEXT!$EXEEXT$ac_delim 
     13770OBJEXT!$OBJEXT$ac_delim 
     13771CXX!$CXX$ac_delim 
     13772CXXFLAGS!$CXXFLAGS$ac_delim 
     13773ac_ct_CXX!$ac_ct_CXX$ac_delim 
     13774AR!$AR$ac_delim 
     13775LD!$LD$ac_delim 
     13776LDOUT!$LDOUT$ac_delim 
     13777RANLIB!$RANLIB$ac_delim 
     13778LIBEXT!$LIBEXT$ac_delim 
     13779LIBEXT2!$LIBEXT2$ac_delim 
     13780CC_OUT!$CC_OUT$ac_delim 
     13781CC_INC!$CC_INC$ac_delim 
     13782CC_DEF!$CC_DEF$ac_delim 
     13783CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
     13784CC_CFLAGS!$CC_CFLAGS$ac_delim 
     13785ac_pjdir!$ac_pjdir$ac_delim 
     13786ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
     13787CPP!$CPP$ac_delim 
     13788GREP!$GREP$ac_delim 
     13789EGREP!$EGREP$ac_delim 
     13790ac_os_objs!$ac_os_objs$ac_delim 
     13791ac_external_speex!$ac_external_speex$ac_delim 
     13792ac_external_gsm!$ac_external_gsm$ac_delim 
     13793ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
     13794ac_external_pa!$ac_external_pa$ac_delim 
     13795ac_pa_cflags!$ac_pa_cflags$ac_delim 
     13796ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
     13797ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
     13798ac_pjmedia_video!$ac_pjmedia_video$ac_delim 
     13799ac_ios_cflags!$ac_ios_cflags$ac_delim 
     13800ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 
     13801ac_qt_cflags!$ac_qt_cflags$ac_delim 
     13802ac_no_small_filter!$ac_no_small_filter$ac_delim 
     13803ac_no_large_filter!$ac_no_large_filter$ac_delim 
     13804ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
     13805ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
     13806ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
     13807ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
     13808ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
     13809ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
     13810ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
     13811ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
     13812_ACEOF 
     13813 
     13814  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
     13815    break 
     13816  elif $ac_last_try; then 
     13817    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
     13818echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
     13819   { (exit 1); exit 1; }; } 
     13820  else 
     13821    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     13822  fi 
     13823done 
     13824 
     13825ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
     13826if test -n "$ac_eof"; then 
     13827  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
     13828  ac_eof=`expr $ac_eof + 1` 
     13829fi 
     13830 
     13831cat >>$CONFIG_STATUS <<_ACEOF 
     13832cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
     13833/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
     13834_ACEOF 
     13835sed ' 
     13836s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
     13837s/^/s,@/; s/!/@,|#_!!_#|/ 
     13838:n 
     13839t n 
     13840s/'"$ac_delim"'$/,g/; t 
     13841s/$/\\/; p 
     13842N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
     13843' >>$CONFIG_STATUS <conf$$subs.sed 
     13844rm -f conf$$subs.sed 
     13845cat >>$CONFIG_STATUS <<_ACEOF 
     13846CEOF$ac_eof 
     13847_ACEOF 
     13848 
     13849 
     13850ac_delim='%!_!# ' 
     13851for ac_last_try in false false false false false :; do 
     13852  cat >conf$$subs.sed <<_ACEOF 
     13853ac_sdl_cflags!$ac_sdl_cflags$ac_delim 
     13854ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 
     13855ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 
     13856ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 
     13857ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 
     13858ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 
     13859ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 
     13860ac_no_ssl!$ac_no_ssl$ac_delim 
     13861openssl_h_present!$openssl_h_present$ac_delim 
     13862libssl_present!$libssl_present$ac_delim 
     13863libcrypto_present!$libcrypto_present$ac_delim 
     13864ac_cross_compile!$ac_cross_compile$ac_delim 
     13865ac_linux_poll!$ac_linux_poll$ac_delim 
     13866ac_host!$ac_host$ac_delim 
     13867ac_main_obj!$ac_main_obj$ac_delim 
     13868LIBOBJS!$LIBOBJS$ac_delim 
     13869LTLIBOBJS!$LTLIBOBJS$ac_delim 
     13870_ACEOF 
     13871 
     13872  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then 
     13873    break 
     13874  elif $ac_last_try; then 
     13875    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
     13876echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
     13877   { (exit 1); exit 1; }; } 
     13878  else 
     13879    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     13880  fi 
     13881done 
     13882 
     13883ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
     13884if test -n "$ac_eof"; then 
     13885  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
     13886  ac_eof=`expr $ac_eof + 1` 
     13887fi 
     13888 
     13889cat >>$CONFIG_STATUS <<_ACEOF 
     13890cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
     13891/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
     13892_ACEOF 
     13893sed ' 
     13894s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
     13895s/^/s,@/; s/!/@,|#_!!_#|/ 
     13896:n 
     13897t n 
     13898s/'"$ac_delim"'$/,g/; t 
     13899s/$/\\/; p 
     13900N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
     13901' >>$CONFIG_STATUS <conf$$subs.sed 
     13902rm -f conf$$subs.sed 
     13903cat >>$CONFIG_STATUS <<_ACEOF 
     13904:end 
     13905s/|#_!!_#|//g 
     13906CEOF$ac_eof 
     13907_ACEOF 
     13908 
     13909 
     13910# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     13911# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     13912# trailing colons and then remove the whole line if VPATH becomes empty 
     13913# (actually we leave an empty line to preserve line numbers). 
     13914if test "x$srcdir" = x.; then 
     13915  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     13916s/:*\$(srcdir):*/:/ 
     13917s/:*\${srcdir}:*/:/ 
     13918s/:*@srcdir@:*/:/ 
     13919s/^\([^=]*=[     ]*\):*/\1/ 
     13920s/:*$// 
     13921s/^[^=]*=[       ]*$// 
     13922}' 
     13923fi 
     13924 
     13925cat >>$CONFIG_STATUS <<\_ACEOF 
     13926fi # test -n "$CONFIG_FILES" 
     13927 
     13928 
     13929for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
     13930do 
     13931  case $ac_tag in 
     13932  :[FHLC]) ac_mode=$ac_tag; continue;; 
     13933  esac 
     13934  case $ac_mode$ac_tag in 
     13935  :[FHL]*:*);; 
     13936  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
     13937echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
     13938   { (exit 1); exit 1; }; };; 
     13939  :[FH]-) ac_tag=-:-;; 
     13940  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     13941  esac 
     13942  ac_save_IFS=$IFS 
     13943  IFS=: 
     13944  set x $ac_tag 
     13945  IFS=$ac_save_IFS 
     13946  shift 
     13947  ac_file=$1 
     13948  shift 
     13949 
     13950  case $ac_mode in 
     13951  :L) ac_source=$1;; 
     13952  :[FH]) 
     13953    ac_file_inputs= 
     13954    for ac_f 
     13955    do 
     13956      case $ac_f in 
     13957      -) ac_f="$tmp/stdin";; 
     13958      *) # Look for the file first in the build tree, then in the source tree 
     13959         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     13960         # because $ac_f cannot contain `:'. 
     13961         test -f "$ac_f" || 
     13962           case $ac_f in 
     13963           [\\/$]*) false;; 
     13964           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     13965           esac || 
     13966           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
     13967echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
     13968   { (exit 1); exit 1; }; };; 
     13969      esac 
     13970      ac_file_inputs="$ac_file_inputs $ac_f" 
     13971    done 
     13972 
     13973    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     13974    # use $as_me), people would be surprised to read: 
     13975    #    /* config.h.  Generated by config.status.  */ 
     13976    configure_input="Generated from "`IFS=: 
     13977          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
     13978    if test x"$ac_file" != x-; then 
     13979      configure_input="$ac_file.  $configure_input" 
     13980      { echo "$as_me:$LINENO: creating $ac_file" >&5 
     13981echo "$as_me: creating $ac_file" >&6;} 
     13982    fi 
     13983 
     13984    case $ac_tag in 
     13985    *:-:* | *:-) cat >"$tmp/stdin";; 
     13986    esac 
     13987    ;; 
     13988  esac 
     13989 
     13990  ac_dir=`$as_dirname -- "$ac_file" || 
     13991$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     13992         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     13993         X"$ac_file" : 'X\(//\)$' \| \ 
     13994         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     13995echo X"$ac_file" | 
     13996    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     13997            s//\1/ 
     13998            q 
     13999          } 
     14000          /^X\(\/\/\)[^/].*/{ 
     14001            s//\1/ 
     14002            q 
     14003          } 
     14004          /^X\(\/\/\)$/{ 
     14005            s//\1/ 
     14006            q 
     14007          } 
     14008          /^X\(\/\).*/{ 
     14009            s//\1/ 
     14010            q 
     14011          } 
     14012          s/.*/./; q'` 
     14013  { as_dir="$ac_dir" 
    720814014  case $as_dir in #( 
    720914015  -*) as_dir=./$as_dir;; 
    721014016  esac 
    7211   test -d "$as_dir" || eval $as_mkdir_p || { 
     14017  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
    721214018    as_dirs= 
    721314019    while :; do 
    721414020      case $as_dir in #( 
    7215       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     14021      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
    721614022      *) as_qdir=$as_dir;; 
    721714023      esac 
     
    722214028         X"$as_dir" : 'X\(//\)$' \| \ 
    722314029         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    7224 $as_echo X"$as_dir" | 
     14030echo X"$as_dir" | 
    722514031    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    722614032            s//\1/ 
     
    724314049    done 
    724414050    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    7245   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
    7246  
    7247  
    7248 } # as_fn_mkdir_p 
    7249 if mkdir -p . 2>/dev/null; then 
    7250   as_mkdir_p='mkdir -p "$as_dir"' 
    7251 else 
    7252   test -d ./-p && rmdir ./-p 
    7253   as_mkdir_p=false 
    7254 fi 
    7255  
    7256 if test -x / >/dev/null 2>&1; then 
    7257   as_test_x='test -x' 
    7258 else 
    7259   if ls -dL / >/dev/null 2>&1; then 
    7260     as_ls_L_option=L 
    7261   else 
    7262     as_ls_L_option= 
    7263   fi 
    7264   as_test_x=' 
    7265     eval sh -c '\'' 
    7266       if test -d "$1"; then 
    7267         test -d "$1/."; 
    7268       else 
    7269         case $1 in #( 
    7270         -*)set "./$1";; 
    7271         esac; 
    7272         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    7273         ???[sx]*):;;*)false;;esac;fi 
    7274     '\'' sh 
    7275   ' 
    7276 fi 
    7277 as_executable_p=$as_test_x 
    7278  
    7279 # Sed expression to map a string onto a valid CPP name. 
    7280 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    7281  
    7282 # Sed expression to map a string onto a valid variable name. 
    7283 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    7284  
    7285  
    7286 exec 6>&1 
    7287 ## ----------------------------------- ## 
    7288 ## Main body of $CONFIG_STATUS script. ## 
    7289 ## ----------------------------------- ## 
    7290 _ASEOF 
    7291 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
    7292  
    7293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7294 # Save the log message, to keep $0 and so on meaningful, and to 
    7295 # report actual input values of CONFIG_FILES etc. instead of their 
    7296 # values after options handling. 
    7297 ac_log=" 
    7298 This file was extended by pjproject $as_me 1.x, which was 
    7299 generated by GNU Autoconf 2.65.  Invocation command line was 
    7300  
    7301   CONFIG_FILES    = $CONFIG_FILES 
    7302   CONFIG_HEADERS  = $CONFIG_HEADERS 
    7303   CONFIG_LINKS    = $CONFIG_LINKS 
    7304   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    7305   $ $0 $@ 
    7306  
    7307 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    7308 " 
    7309  
    7310 _ACEOF 
    7311  
    7312 case $ac_config_files in *" 
    7313 "*) set x $ac_config_files; shift; ac_config_files=$*;; 
    7314 esac 
    7315  
    7316 case $ac_config_headers in *" 
    7317 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
    7318 esac 
    7319  
    7320  
    7321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7322 # Files that config.status was made for. 
    7323 config_files="$ac_config_files" 
    7324 config_headers="$ac_config_headers" 
    7325  
    7326 _ACEOF 
    7327  
    7328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7329 ac_cs_usage="\ 
    7330 \`$as_me' instantiates files and other configuration actions 
    7331 from templates according to the current configuration.  Unless the files 
    7332 and actions are specified as TAGs, all are instantiated by default. 
    7333  
    7334 Usage: $0 [OPTION]... [TAG]... 
    7335  
    7336   -h, --help       print this help, then exit 
    7337   -V, --version    print version number and configuration settings, then exit 
    7338       --config     print configuration, then exit 
    7339   -q, --quiet, --silent 
    7340                    do not print progress messages 
    7341   -d, --debug      don't remove temporary files 
    7342       --recheck    update $as_me by reconfiguring in the same conditions 
    7343       --file=FILE[:TEMPLATE] 
    7344                    instantiate the configuration file FILE 
    7345       --header=FILE[:TEMPLATE] 
    7346                    instantiate the configuration header FILE 
    7347  
    7348 Configuration files: 
    7349 $config_files 
    7350  
    7351 Configuration headers: 
    7352 $config_headers 
    7353  
    7354 Report bugs to the package provider." 
    7355  
    7356 _ACEOF 
    7357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7358 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
    7359 ac_cs_version="\\ 
    7360 pjproject config.status 1.x 
    7361 configured by $0, generated by GNU Autoconf 2.65, 
    7362   with options \\"\$ac_cs_config\\" 
    7363  
    7364 Copyright (C) 2009 Free Software Foundation, Inc. 
    7365 This config.status script is free software; the Free Software Foundation 
    7366 gives unlimited permission to copy, distribute and modify it." 
    7367  
    7368 ac_pwd='$ac_pwd' 
    7369 srcdir='$srcdir' 
    7370 test -n "\$AWK" || AWK=awk 
    7371 _ACEOF 
    7372  
    7373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7374 # The default lists apply if the user does not specify any file. 
    7375 ac_need_defaults=: 
    7376 while test $# != 0 
    7377 do 
    7378   case $1 in 
    7379   --*=*) 
    7380     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    7381     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    7382     ac_shift=: 
    7383     ;; 
    7384   *) 
    7385     ac_option=$1 
    7386     ac_optarg=$2 
    7387     ac_shift=shift 
    7388     ;; 
    7389   esac 
    7390  
    7391   case $ac_option in 
    7392   # Handling of the options. 
    7393   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    7394     ac_cs_recheck=: ;; 
    7395   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    7396     $as_echo "$ac_cs_version"; exit ;; 
    7397   --config | --confi | --conf | --con | --co | --c ) 
    7398     $as_echo "$ac_cs_config"; exit ;; 
    7399   --debug | --debu | --deb | --de | --d | -d ) 
    7400     debug=: ;; 
    7401   --file | --fil | --fi | --f ) 
    7402     $ac_shift 
    7403     case $ac_optarg in 
    7404     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    7405     esac 
    7406     as_fn_append CONFIG_FILES " '$ac_optarg'" 
    7407     ac_need_defaults=false;; 
    7408   --header | --heade | --head | --hea ) 
    7409     $ac_shift 
    7410     case $ac_optarg in 
    7411     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    7412     esac 
    7413     as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
    7414     ac_need_defaults=false;; 
    7415   --he | --h) 
    7416     # Conflict between --help and --header 
    7417     as_fn_error "ambiguous option: \`$1' 
    7418 Try \`$0 --help' for more information.";; 
    7419   --help | --hel | -h ) 
    7420     $as_echo "$ac_cs_usage"; exit ;; 
    7421   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    7422   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    7423     ac_cs_silent=: ;; 
    7424  
    7425   # This is an error. 
    7426   -*) as_fn_error "unrecognized option: \`$1' 
    7427 Try \`$0 --help' for more information." ;; 
    7428  
    7429   *) as_fn_append ac_config_targets " $1" 
    7430      ac_need_defaults=false ;; 
    7431  
    7432   esac 
    7433   shift 
    7434 done 
    7435  
    7436 ac_configure_extra_args= 
    7437  
    7438 if $ac_cs_silent; then 
    7439   exec 6>/dev/null 
    7440   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    7441 fi 
    7442  
    7443 _ACEOF 
    7444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7445 if \$ac_cs_recheck; then 
    7446   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    7447   shift 
    7448   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
    7449   CONFIG_SHELL='$SHELL' 
    7450   export CONFIG_SHELL 
    7451   exec "\$@" 
    7452 fi 
    7453  
    7454 _ACEOF 
    7455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7456 exec 5>>config.log 
    7457 { 
    7458   echo 
    7459   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    7460 ## Running $as_me. ## 
    7461 _ASBOX 
    7462   $as_echo "$ac_log" 
    7463 } >&5 
    7464  
    7465 _ACEOF 
    7466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7467 _ACEOF 
    7468  
    7469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7470  
    7471 # Handling of arguments. 
    7472 for ac_config_target in $ac_config_targets 
    7473 do 
    7474   case $ac_config_target in 
    7475     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    7476     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    7477     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    7478     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    7479     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    7480     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    7481     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    7482     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    7483     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    7484     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    7485     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    7486     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    7487     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    7488     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    7489  
    7490   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
    7491   esac 
    7492 done 
    7493  
    7494  
    7495 # If the user did not use the arguments to specify the items to instantiate, 
    7496 # then the envvar interface is used.  Set only those that are not. 
    7497 # We use the long form for the default assignment because of an extremely 
    7498 # bizarre bug on SunOS 4.1.3. 
    7499 if $ac_need_defaults; then 
    7500   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    7501   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    7502 fi 
    7503  
    7504 # Have a temporary directory for convenience.  Make it in the build tree 
    7505 # simply because there is no reason against having it here, and in addition, 
    7506 # creating and moving files from /tmp can sometimes cause problems. 
    7507 # Hook for its removal unless debugging. 
    7508 # Note that there is a small window in which the directory will not be cleaned: 
    7509 # after its creation but before its name has been assigned to `$tmp'. 
    7510 $debug || 
    7511 { 
    7512   tmp= 
    7513   trap 'exit_status=$? 
    7514   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    7515 ' 0 
    7516   trap 'as_fn_exit 1' 1 2 13 15 
    7517 } 
    7518 # Create a (secure) tmp directory for tmp files. 
    7519  
    7520 { 
    7521   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    7522   test -n "$tmp" && test -d "$tmp" 
    7523 }  || 
    7524 { 
    7525   tmp=./conf$$-$RANDOM 
    7526   (umask 077 && mkdir "$tmp") 
    7527 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
    7528  
    7529 # Set up the scripts for CONFIG_FILES section. 
    7530 # No need to generate them if there are no CONFIG_FILES. 
    7531 # This happens for instance with `./config.status config.h'. 
    7532 if test -n "$CONFIG_FILES"; then 
    7533  
    7534  
    7535 ac_cr=`echo X | tr X '\015'` 
    7536 # On cygwin, bash can eat \r inside `` if the user requested igncr. 
    7537 # But we know of no other shell where ac_cr would be empty at this 
    7538 # point, so we can use a bashism as a fallback. 
    7539 if test "x$ac_cr" = x; then 
    7540   eval ac_cr=\$\'\\r\' 
    7541 fi 
    7542 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
    7543 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
    7544   ac_cs_awk_cr='\r' 
    7545 else 
    7546   ac_cs_awk_cr=$ac_cr 
    7547 fi 
    7548  
    7549 echo 'BEGIN {' >"$tmp/subs1.awk" && 
    7550 _ACEOF 
    7551  
    7552  
    7553 { 
    7554   echo "cat >conf$$subs.awk <<_ACEOF" && 
    7555   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
    7556   echo "_ACEOF" 
    7557 } >conf$$subs.sh || 
    7558   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7559 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
    7560 ac_delim='%!_!# ' 
    7561 for ac_last_try in false false false false false :; do 
    7562   . ./conf$$subs.sh || 
    7563     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7564  
    7565   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
    7566   if test $ac_delim_n = $ac_delim_num; then 
    7567     break 
    7568   elif $ac_last_try; then 
    7569     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7570   else 
    7571     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    7572   fi 
    7573 done 
    7574 rm -f conf$$subs.sh 
    7575  
    7576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7577 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
    7578 _ACEOF 
    7579 sed -n ' 
    7580 h 
    7581 s/^/S["/; s/!.*/"]=/ 
    7582 p 
    7583 g 
    7584 s/^[^!]*!// 
    7585 :repl 
    7586 t repl 
    7587 s/'"$ac_delim"'$// 
    7588 t delim 
    7589 :nl 
    7590 h 
    7591 s/\(.\{148\}\)..*/\1/ 
    7592 t more1 
    7593 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
    7594 p 
    7595 n 
    7596 b repl 
    7597 :more1 
    7598 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
    7599 p 
    7600 g 
    7601 s/.\{148\}// 
    7602 t nl 
    7603 :delim 
    7604 h 
    7605 s/\(.\{148\}\)..*/\1/ 
    7606 t more2 
    7607 s/["\\]/\\&/g; s/^/"/; s/$/"/ 
    7608 p 
    7609 b 
    7610 :more2 
    7611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
    7612 p 
    7613 g 
    7614 s/.\{148\}// 
    7615 t delim 
    7616 ' <conf$$subs.awk | sed ' 
    7617 /^[^""]/{ 
    7618   N 
    7619   s/\n// 
    7620 } 
    7621 ' >>$CONFIG_STATUS || ac_write_fail=1 
    7622 rm -f conf$$subs.awk 
    7623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7624 _ACAWK 
    7625 cat >>"\$tmp/subs1.awk" <<_ACAWK && 
    7626   for (key in S) S_is_set[key] = 1 
    7627   FS = "" 
    7628  
    7629 } 
    7630 { 
    7631   line = $ 0 
    7632   nfields = split(line, field, "@") 
    7633   substed = 0 
    7634   len = length(field[1]) 
    7635   for (i = 2; i < nfields; i++) { 
    7636     key = field[i] 
    7637     keylen = length(key) 
    7638     if (S_is_set[key]) { 
    7639       value = S[key] 
    7640       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
    7641       len += length(value) + length(field[++i]) 
    7642       substed = 1 
    7643     } else 
    7644       len += 1 + keylen 
    7645   } 
    7646  
    7647   print line 
    7648 } 
    7649  
    7650 _ACAWK 
    7651 _ACEOF 
    7652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7653 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
    7654   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
    7655 else 
    7656   cat 
    7657 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
    7658   || as_fn_error "could not setup config files machinery" "$LINENO" 5 
    7659 _ACEOF 
    7660  
    7661 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    7662 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    7663 # trailing colons and then remove the whole line if VPATH becomes empty 
    7664 # (actually we leave an empty line to preserve line numbers). 
    7665 if test "x$srcdir" = x.; then 
    7666   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    7667 s/:*\$(srcdir):*/:/ 
    7668 s/:*\${srcdir}:*/:/ 
    7669 s/:*@srcdir@:*/:/ 
    7670 s/^\([^=]*=[     ]*\):*/\1/ 
    7671 s/:*$// 
    7672 s/^[^=]*=[       ]*$// 
    7673 }' 
    7674 fi 
    7675  
    7676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7677 fi # test -n "$CONFIG_FILES" 
    7678  
    7679 # Set up the scripts for CONFIG_HEADERS section. 
    7680 # No need to generate them if there are no CONFIG_HEADERS. 
    7681 # This happens for instance with `./config.status Makefile'. 
    7682 if test -n "$CONFIG_HEADERS"; then 
    7683 cat >"$tmp/defines.awk" <<\_ACAWK || 
    7684 BEGIN { 
    7685 _ACEOF 
    7686  
    7687 # Transform confdefs.h into an awk script `defines.awk', embedded as 
    7688 # here-document in config.status, that substitutes the proper values into 
    7689 # config.h.in to produce config.h. 
    7690  
    7691 # Create a delimiter string that does not exist in confdefs.h, to ease 
    7692 # handling of long lines. 
    7693 ac_delim='%!_!# ' 
    7694 for ac_last_try in false false :; do 
    7695   ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
    7696   if test -z "$ac_t"; then 
    7697     break 
    7698   elif $ac_last_try; then 
    7699     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
    7700   else 
    7701     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    7702   fi 
    7703 done 
    7704  
    7705 # For the awk script, D is an array of macro values keyed by name, 
    7706 # likewise P contains macro parameters if any.  Preserve backslash 
    7707 # newline sequences. 
    7708  
    7709 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    7710 sed -n ' 
    7711 s/.\{148\}/&'"$ac_delim"'/g 
    7712 t rset 
    7713 :rset 
    7714 s/^[     ]*#[    ]*define[       ][      ]*/ / 
    7715 t def 
    7716 d 
    7717 :def 
    7718 s/\\$// 
    7719 t bsnl 
    7720 s/["\\]/\\&/g 
    7721 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
    7722 D["\1"]=" \3"/p 
    7723 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
    7724 d 
    7725 :bsnl 
    7726 s/["\\]/\\&/g 
    7727 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
    7728 D["\1"]=" \3\\\\\\n"\\/p 
    7729 t cont 
    7730 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
    7731 t cont 
    7732 d 
    7733 :cont 
    7734 n 
    7735 s/.\{148\}/&'"$ac_delim"'/g 
    7736 t clear 
    7737 :clear 
    7738 s/\\$// 
    7739 t bsnlc 
    7740 s/["\\]/\\&/g; s/^/"/; s/$/"/p 
    7741 d 
    7742 :bsnlc 
    7743 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
    7744 b cont 
    7745 ' <confdefs.h | sed ' 
    7746 s/'"$ac_delim"'/"\\\ 
    7747 "/g' >>$CONFIG_STATUS || ac_write_fail=1 
    7748  
    7749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7750   for (key in D) D_is_set[key] = 1 
    7751   FS = "" 
    7752 } 
    7753 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
    7754   line = \$ 0 
    7755   split(line, arg, " ") 
    7756   if (arg[1] == "#") { 
    7757     defundef = arg[2] 
    7758     mac1 = arg[3] 
    7759   } else { 
    7760     defundef = substr(arg[1], 2) 
    7761     mac1 = arg[2] 
    7762   } 
    7763   split(mac1, mac2, "(") #) 
    7764   macro = mac2[1] 
    7765   prefix = substr(line, 1, index(line, defundef) - 1) 
    7766   if (D_is_set[macro]) { 
    7767     # Preserve the white space surrounding the "#". 
    7768     print prefix "define", macro P[macro] D[macro] 
    7769     next 
    7770   } else { 
    7771     # Replace #undef with comments.  This is necessary, for example, 
    7772     # in the case of _POSIX_SOURCE, which is predefined and required 
    7773     # on some systems where configure will not decide to define it. 
    7774     if (defundef == "undef") { 
    7775       print "/*", prefix defundef, macro, "*/" 
    7776       next 
    7777     } 
    7778   } 
    7779 } 
    7780 { print } 
    7781 _ACAWK 
    7782 _ACEOF 
    7783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7784   as_fn_error "could not setup config headers machinery" "$LINENO" 5 
    7785 fi # test -n "$CONFIG_HEADERS" 
    7786  
    7787  
    7788 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
    7789 shift 
    7790 for ac_tag 
    7791 do 
    7792   case $ac_tag in 
    7793   :[FHLC]) ac_mode=$ac_tag; continue;; 
    7794   esac 
    7795   case $ac_mode$ac_tag in 
    7796   :[FHL]*:*);; 
    7797   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
    7798   :[FH]-) ac_tag=-:-;; 
    7799   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    7800   esac 
    7801   ac_save_IFS=$IFS 
    7802   IFS=: 
    7803   set x $ac_tag 
    7804   IFS=$ac_save_IFS 
    7805   shift 
    7806   ac_file=$1 
    7807   shift 
    7808  
    7809   case $ac_mode in 
    7810   :L) ac_source=$1;; 
    7811   :[FH]) 
    7812     ac_file_inputs= 
    7813     for ac_f 
    7814     do 
    7815       case $ac_f in 
    7816       -) ac_f="$tmp/stdin";; 
    7817       *) # Look for the file first in the build tree, then in the source tree 
    7818          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    7819          # because $ac_f cannot contain `:'. 
    7820          test -f "$ac_f" || 
    7821            case $ac_f in 
    7822            [\\/$]*) false;; 
    7823            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    7824            esac || 
    7825            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
    7826       esac 
    7827       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
    7828       as_fn_append ac_file_inputs " '$ac_f'" 
    7829     done 
    7830  
    7831     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    7832     # use $as_me), people would be surprised to read: 
    7833     #    /* config.h.  Generated by config.status.  */ 
    7834     configure_input='Generated from '` 
    7835           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
    7836         `' by configure.' 
    7837     if test x"$ac_file" != x-; then 
    7838       configure_input="$ac_file.  $configure_input" 
    7839       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
    7840 $as_echo "$as_me: creating $ac_file" >&6;} 
    7841     fi 
    7842     # Neutralize special characters interpreted by sed in replacement strings. 
    7843     case $configure_input in #( 
    7844     *\&* | *\|* | *\\* ) 
    7845        ac_sed_conf_input=`$as_echo "$configure_input" | 
    7846        sed 's/[\\\\&|]/\\\\&/g'`;; #( 
    7847     *) ac_sed_conf_input=$configure_input;; 
    7848     esac 
    7849  
    7850     case $ac_tag in 
    7851     *:-:* | *:-) cat >"$tmp/stdin" \ 
    7852       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
    7853     esac 
    7854     ;; 
    7855   esac 
    7856  
    7857   ac_dir=`$as_dirname -- "$ac_file" || 
    7858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    7859          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    7860          X"$ac_file" : 'X\(//\)$' \| \ 
    7861          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    7862 $as_echo X"$ac_file" | 
    7863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    7864             s//\1/ 
    7865             q 
    7866           } 
    7867           /^X\(\/\/\)[^/].*/{ 
    7868             s//\1/ 
    7869             q 
    7870           } 
    7871           /^X\(\/\/\)$/{ 
    7872             s//\1/ 
    7873             q 
    7874           } 
    7875           /^X\(\/\).*/{ 
    7876             s//\1/ 
    7877             q 
    7878           } 
    7879           s/.*/./; q'` 
    7880   as_dir="$ac_dir"; as_fn_mkdir_p 
     14051  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
     14052echo "$as_me: error: cannot create directory $as_dir" >&2;} 
     14053   { (exit 1); exit 1; }; }; } 
    788114054  ac_builddir=. 
    788214055 
     
    788414057.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    788514058*) 
    7886   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
     14059  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    788714060  # A ".." for each directory in $ac_dir_suffix. 
    7888   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
     14061  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
    788914062  case $ac_top_builddir_sub in 
    789014063  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    792214095_ACEOF 
    792314096 
    7924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     14097cat >>$CONFIG_STATUS <<\_ACEOF 
    792514098# If the template does not know about datarootdir, expand it. 
    792614099# FIXME: This hack should be removed a few years after 2.60. 
    792714100ac_datarootdir_hack=; ac_datarootdir_seen= 
    7928 ac_sed_dataroot=' 
    7929 /datarootdir/ { 
     14101 
     14102case `sed -n '/datarootdir/ { 
    793014103  p 
    793114104  q 
     
    793514108/@infodir@/p 
    793614109/@localedir@/p 
    7937 /@mandir@/p' 
    7938 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
     14110/@mandir@/p 
     14111' $ac_file_inputs` in 
    793914112*datarootdir*) ac_datarootdir_seen=yes;; 
    794014113*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    7941   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    7942 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    7943 _ACEOF 
    7944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     14114  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     14115echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     14116_ACEOF 
     14117cat >>$CONFIG_STATUS <<_ACEOF 
    794514118  ac_datarootdir_hack=' 
    794614119  s&@datadir@&$datadir&g 
     
    794914122  s&@localedir@&$localedir&g 
    795014123  s&@mandir@&$mandir&g 
    7951   s&\\\${datarootdir}&$datarootdir&g' ;; 
     14124    s&\\\${datarootdir}&$datarootdir&g' ;; 
    795214125esac 
    795314126_ACEOF 
     
    795614129# Shell code in configure.ac might set extrasub. 
    795714130# FIXME: do we really want to maintain this feature? 
    7958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7959 ac_sed_extra="$ac_vpsub 
     14131cat >>$CONFIG_STATUS <<_ACEOF 
     14132  sed "$ac_vpsub 
    796014133$extrasub 
    796114134_ACEOF 
    7962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     14135cat >>$CONFIG_STATUS <<\_ACEOF 
    796314136:t 
    796414137/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    7965 s|@configure_input@|$ac_sed_conf_input|;t t 
     14138s&@configure_input@&$configure_input&;t t 
    796614139s&@top_builddir@&$ac_top_builddir_sub&;t t 
    7967 s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    796814140s&@srcdir@&$ac_srcdir&;t t 
    796914141s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    797414146s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    797514147$ac_datarootdir_hack 
    7976 " 
    7977 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    7978   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     14148" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
    797914149 
    798014150test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    798114151  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    798214152  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    7983   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     14153  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    798414154which seems to be undefined.  Please make sure it is defined." >&5 
    7985 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     14155echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    798614156which seems to be undefined.  Please make sure it is defined." >&2;} 
    798714157 
    798814158  rm -f "$tmp/stdin" 
    798914159  case $ac_file in 
    7990   -) cat "$tmp/out" && rm -f "$tmp/out";; 
    7991   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
    7992   esac \ 
    7993   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     14160  -) cat "$tmp/out"; rm -f "$tmp/out";; 
     14161  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
     14162  esac 
    799414163 ;; 
    799514164  :H) 
     
    799714166  # CONFIG_HEADER 
    799814167  # 
     14168_ACEOF 
     14169 
     14170# Transform confdefs.h into a sed script `conftest.defines', that 
     14171# substitutes the proper values into config.h.in to produce config.h. 
     14172rm -f conftest.defines conftest.tail 
     14173# First, append a space to every undef/define line, to ease matching. 
     14174echo 's/$/ /' >conftest.defines 
     14175# Then, protect against being on the right side of a sed subst, or in 
     14176# an unquoted here document, in config.status.  If some macros were 
     14177# called several times there might be several #defines for the same 
     14178# symbol, which is useless.  But do not sort them, since the last 
     14179# AC_DEFINE must be honored. 
     14180ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     14181# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
     14182# NAME is the cpp macro being defined, VALUE is the value it is being given. 
     14183# PARAMS is the parameter list in the macro definition--in most cases, it's 
     14184# just an empty string. 
     14185ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
     14186ac_dB='\\)[      (].*,\\1define\\2' 
     14187ac_dC=' ' 
     14188ac_dD=' ,' 
     14189 
     14190uniq confdefs.h | 
     14191  sed -n ' 
     14192        t rset 
     14193        :rset 
     14194        s/^[     ]*#[    ]*define[       ][      ]*// 
     14195        t ok 
     14196        d 
     14197        :ok 
     14198        s/[\\&,]/\\&/g 
     14199        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
     14200        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
     14201  ' >>conftest.defines 
     14202 
     14203# Remove the space that was appended to ease matching. 
     14204# Then replace #undef with comments.  This is necessary, for 
     14205# example, in the case of _POSIX_SOURCE, which is predefined and required 
     14206# on some systems where configure will not decide to define it. 
     14207# (The regexp can be short, since the line contains either #define or #undef.) 
     14208echo 's/ $// 
     14209s,^[     #]*u.*,/* & */,' >>conftest.defines 
     14210 
     14211# Break up conftest.defines: 
     14212ac_max_sed_lines=50 
     14213 
     14214# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
     14215# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
     14216# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
     14217# et cetera. 
     14218ac_in='$ac_file_inputs' 
     14219ac_out='"$tmp/out1"' 
     14220ac_nxt='"$tmp/out2"' 
     14221 
     14222while : 
     14223do 
     14224  # Write a here document: 
     14225    cat >>$CONFIG_STATUS <<_ACEOF 
     14226    # First, check the format of the line: 
     14227    cat >"\$tmp/defines.sed" <<\\CEOF 
     14228/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
     14229/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
     14230b 
     14231:def 
     14232_ACEOF 
     14233  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
     14234  echo 'CEOF 
     14235    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
     14236  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
     14237  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
     14238  grep . conftest.tail >/dev/null || break 
     14239  rm -f conftest.defines 
     14240  mv conftest.tail conftest.defines 
     14241done 
     14242rm -f conftest.defines conftest.tail 
     14243 
     14244echo "ac_result=$ac_in" >>$CONFIG_STATUS 
     14245cat >>$CONFIG_STATUS <<\_ACEOF 
    799914246  if test x"$ac_file" != x-; then 
    8000     { 
    8001       $as_echo "/* $configure_input  */" \ 
    8002       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    8003     } >"$tmp/config.h" \ 
    8004       || as_fn_error "could not create $ac_file" "$LINENO" 5 
    8005     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
    8006       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
    8007 $as_echo "$as_me: $ac_file is unchanged" >&6;} 
     14247    echo "/* $configure_input  */" >"$tmp/config.h" 
     14248    cat "$ac_result" >>"$tmp/config.h" 
     14249    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
     14250      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
     14251echo "$as_me: $ac_file is unchanged" >&6;} 
    800814252    else 
    8009       rm -f "$ac_file" 
    8010       mv "$tmp/config.h" "$ac_file" \ 
    8011         || as_fn_error "could not create $ac_file" "$LINENO" 5 
     14253      rm -f $ac_file 
     14254      mv "$tmp/config.h" $ac_file 
    801214255    fi 
    801314256  else 
    8014     $as_echo "/* $configure_input  */" \ 
    8015       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
    8016       || as_fn_error "could not create -" "$LINENO" 5 
     14257    echo "/* $configure_input  */" 
     14258    cat "$ac_result" 
    801714259  fi 
     14260  rm -f "$tmp/out12" 
    801814261 ;; 
    801914262 
     
    802414267 
    802514268 
    8026 as_fn_exit 0 
    8027 _ACEOF 
     14269{ (exit 0); exit 0; } 
     14270_ACEOF 
     14271chmod +x $CONFIG_STATUS 
    802814272ac_clean_files=$ac_clean_files_save 
    8029  
    8030 test $ac_write_fail = 0 || 
    8031   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    803214273 
    803314274 
     
    805014291  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    805114292  # would make configure fail if this is the last instruction. 
    8052   $ac_cs_success || as_fn_exit $? 
    8053 fi 
    8054 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
    8055   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
    8056 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
    8057 fi 
    8058  
    8059  
    8060  
    8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 
     14293  $ac_cs_success || { (exit 1); exit 1; } 
     14294fi 
     14295 
     14296 
     14297 
     14298{ echo "$as_me:$LINENO: result: 
    806214299 
    806314300Configurations 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. 
     
    806914306The next step now is to run 'make dep' and 'make'. 
    807014307" >&5 
    8071 $as_echo " 
     14308echo "${ECHO_T} 
    807214309 
    807314310Configurations 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/branches/projects/2.0-dev/aconfigure.ac

    r3533 r3643  
    407407        ac_os_objs="$ac_os_objs file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o" 
    408408        ;; 
     409  *darwin*) 
     410        ac_os_objs="$ac_os_objs os_core_darwin.o" 
     411        ;; 
    409412  *) 
    410413        ac_os_objs="$ac_os_objs file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o" 
  • pjproject/branches/projects/2.0-dev/pjlib/include/pj/os.h

    r2843 r3643  
    13321332/* **************************************************************************/ 
    13331333/** 
     1334 * @defgroup PJ_APP_OS Application execution 
     1335 * @ingroup PJ_OS 
     1336 * @{ 
     1337 */ 
     1338 
     1339/* Type for main function. */ 
     1340typedef int (*pj_main_func_ptr)(int argc, char *argv[]); 
     1341 
     1342/** 
     1343 * Run the application. This function has to be called in the main thread 
     1344 * and after doing the necessary initialization according to the flags 
     1345 * provided, it will call main_func() function. 
     1346 * 
     1347 * @param main_func Application's main function. 
     1348 * @param argc      Number of arguments from the main() function, which 
     1349 *                  will be passed to main_func() function. 
     1350 * @param argv      The arguments from the main() function, which will 
     1351 *                  be passed to main_func() function. 
     1352 * @param flags     Flags for application execution, currently must be 0. 
     1353 * 
     1354 * @return          main_func()'s return value. 
     1355 */ 
     1356int pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], 
     1357               unsigned flags); 
     1358 
     1359/** @} */ 
     1360 
     1361 
     1362/* **************************************************************************/ 
     1363/** 
    13341364 * Internal PJLIB function to initialize the threading subsystem. 
    13351365 * @return          PJ_SUCCESS or the appropriate error code. 
  • pjproject/branches/projects/2.0-dev/pjlib/src/pj/os_core_symbian.cpp

    r3189 r3643  
    10371037 
    10381038#endif  /* PJ_OS_HAS_CHECK_STACK */ 
     1039 
     1040/* 
     1041 * pj_run_app() 
     1042 */ 
     1043PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], 
     1044                       unsigned flags) 
     1045{ 
     1046    return (*main_func)(argc, argv); 
     1047} 
  • pjproject/branches/projects/2.0-dev/pjlib/src/pj/os_core_unix.c

    r3373 r3643  
    18231823#endif  /* PJ_TERM_HAS_COLOR */ 
    18241824 
     1825/* 
     1826 * pj_run_app() 
     1827 */ 
     1828PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], 
     1829                       unsigned flags) 
     1830{ 
     1831    return (*main_func)(argc, argv); 
     1832} 
  • pjproject/branches/projects/2.0-dev/pjlib/src/pj/os_core_win32.c

    r3314 r3643  
    14221422 
    14231423#endif  /* PJ_TERM_HAS_COLOR */ 
     1424 
     1425/* 
     1426 * pj_run_app() 
     1427 */ 
     1428PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], 
     1429                       unsigned flags) 
     1430{ 
     1431    return (*main_func)(argc, argv); 
     1432} 
  • pjproject/branches/projects/2.0-dev/pjmedia/build/Makefile

    r3617 r3643  
    123123export PJMEDIA_TEST_SRCDIR = ../src/test 
    124124export PJMEDIA_TEST_OBJS += codec_vectors.o jbuf_test.o main.o mips_test.o \ 
    125                             vid_codec_test.o vid_dev_test.o rtp_test.o test.o 
     125                            vid_codec_test.o vid_dev_test.o vid_port_test.o \ 
     126                            rtp_test.o test.o 
    126127export PJMEDIA_TEST_OBJS += sdp_neg_test.o  
    127128export PJMEDIA_TEST_CFLAGS += $(_CFLAGS) 
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia_videodev.h

    r3484 r3643  
    2828#include <pjmedia-videodev/videodev_imp.h> 
    2929 
    30 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
    31 #   if PJMEDIA_VIDEO_DEV_HAS_SDL 
    32 #       include <SDL.h> 
    33 #endif 
    34 #endif 
    35  
    3630#endif  /* __PJMEDIA_VIDEODEV_H__ */ 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/test/main.c

    r3484 r3643  
    1818 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
    1919 */ 
     20#include <pj/os.h> 
     21 
    2022#include "test.h" 
    21 #include <pjmedia_videodev.h> 
    2223 
    2324  
     
    3132#endif 
    3233 
    33  
    34 int main(int argc, char *argv[]) 
     34static int main_func(int argc, char *argv[]) 
    3535{ 
    3636    int rc; 
     
    4848} 
    4949 
    50  
     50int main(int argc, char *argv[]) 
     51{ 
     52    return pj_run_app(&main_func, argc, argv, 0); 
     53} 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/test/test.c

    r3633 r3643  
    2020#include "test.h" 
    2121 
    22 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
    23 #   include <CoreFoundation/CFRunLoop.h> 
    24 #endif 
    25  
    2622#define THIS_FILE   "test.c" 
    2723 
     
    3733 
    3834pj_pool_factory *mem; 
    39 pj_bool_t is_quit = PJ_FALSE; 
    40 pj_thread_t *thread; 
    41 pj_caching_pool caching_pool; 
    42 pj_pool_t *pool; 
     35 
    4336 
    4437void app_perror(pj_status_t status, const char *msg) 
     
    5144} 
    5245 
    53 static int test_func(void *data) 
     46int test_main(void) 
    5447{ 
    5548    int rc = 0; 
     49    pj_caching_pool caching_pool; 
     50    pj_pool_t *pool; 
     51 
     52    pj_init(); 
     53    pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); 
     54    pool = pj_pool_create(&caching_pool.factory, "test", 1000, 512, NULL); 
     55 
     56    pj_log_set_decor(PJ_LOG_HAS_NEWLINE); 
     57    pj_log_set_level(3); 
     58 
     59    mem = &caching_pool.factory; 
     60 
     61    pjmedia_video_format_mgr_create(pool, 64, 0, NULL); 
     62    pjmedia_converter_mgr_create(pool, NULL); 
     63    pjmedia_vid_codec_mgr_create(pool, NULL); 
    5664 
    5765#if HAS_VID_PORT_TEST 
     
    6270    DO_TEST(vid_dev_test()); 
    6371#endif 
    64      
     72 
    6573#if HAS_VID_CODEC_TEST 
    6674    DO_TEST(vid_codec_test()); 
    6775#endif 
    68      
     76 
    6977#if HAS_SDP_NEG_TEST 
    7078    DO_TEST(sdp_neg_test()); 
     
    8290    DO_TEST(codec_test_vectors()); 
    8391#endif 
    84      
     92 
    8593    PJ_LOG(3,(THIS_FILE," ")); 
    86      
     94 
    8795on_return: 
    8896    if (rc != 0) { 
     
    9199        PJ_LOG(3,(THIS_FILE,"Looks like everything is okay!")); 
    92100    } 
    93      
    94     is_quit = PJ_TRUE; 
    95     return rc; 
    96 } 
    97  
    98 int test_main(void) 
    99 { 
    100     int rc = 0; 
    101  
    102     pj_init(); 
    103     pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); 
    104     pool = pj_pool_create(&caching_pool.factory, "test", 1000, 512, NULL); 
    105      
    106     pj_log_set_decor(PJ_LOG_HAS_NEWLINE); 
    107     pj_log_set_level(3); 
    108  
    109     mem = &caching_pool.factory; 
    110  
    111     pjmedia_video_format_mgr_create(pool, 64, 0, NULL); 
    112     pjmedia_converter_mgr_create(pool, NULL); 
    113     pjmedia_vid_codec_mgr_create(pool, NULL); 
    114  
    115 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
    116     { 
    117         if (pj_thread_create(pool, "test_func", test_func, NULL, 0, 0, 
    118                              &thread) == PJ_SUCCESS) { 
    119             while (!is_quit) { 
    120                 CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); 
    121             } 
    122         } 
    123         return 0; 
    124     } 
    125 #else 
    126     rc = test_func(NULL); 
    127 #endif 
    128101 
    129102    pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr_instance()); 
  • pjproject/branches/projects/2.0-dev/pjsip-apps/src/pjsua/main.c

    r3510 r3643  
    1818 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
    1919 */ 
    20 #include <pjmedia_videodev.h> 
    2120#include <pjsua-lib/pjsua.h> 
    2221 
    23 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
    24 #   include <CoreFoundation/CFRunLoop.h> 
    25 #endif 
    2622 
    2723#define THIS_FILE       "main.c" 
     
    3228 */ 
    3329extern pj_bool_t app_restart; 
    34 pj_bool_t is_quit = PJ_FALSE; 
    3530pj_status_t app_init(int argc, char *argv[]); 
    3631pj_status_t app_main(void); 
     
    8176#endif 
    8277 
    83 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
    84 static int main_func(void *data); 
    85 int argc; 
    86 char **argv; 
    87  
    88 int main(int argcm, char *argvm[]) 
    89 {  
    90     pthread_t thread; 
    91  
    92     argc = argcm; 
    93     argv = (char **)argvm; 
    94     if (pthread_create(&thread, NULL, &main_func, NULL) == 0) { 
    95         while (!is_quit) { 
    96             CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); 
    97         } 
    98     } 
    99  
    100     return 0; 
    101 } 
    102 static int main_func(void *data) 
    103 #else 
    104 int main(int argc, char *argv[]) 
    105 #endif 
     78static int main_func(int argc, char *argv[]) 
    10679{ 
    10780    do { 
     
    12093    } while (app_restart); 
    12194 
    122     is_quit = PJ_TRUE; 
    12395    return 0; 
    12496} 
    12597 
     98int main(int argc, char *argv[]) 
     99{ 
     100    return pj_run_app(&main_func, argc, argv, 0); 
     101} 
  • pjproject/branches/projects/2.0-dev/pjsip-apps/src/samples/aviplay.c

    r3631 r3643  
    2121#include <pjmedia/converter.h> 
    2222#include <pjmedia-codec.h> 
    23 #include <pjmedia_videodev.h> 
    2423#include <pjlib-util.h> 
    2524#include <pjlib.h> 
     
    448447 
    449448 
    450 /* 
    451  * main() 
    452  */ 
    453 int main(int argc, char *argv[]) 
     449static int main_func(int argc, char *argv[]) 
    454450{ 
    455451    pj_caching_pool cp; 
     
    529525    return 0; 
    530526} 
     527 
     528int main(int argc, char *argv[]) 
     529{ 
     530    return pj_run_app(&main_func, argc, argv, 0); 
     531} 
Note: See TracChangeset for help on using the changeset viewer.