Changeset 3395


Ignore:
Timestamp:
Dec 14, 2010 1:03:10 PM (14 years ago)
Author:
ming
Message:

Fixed #1183

  • QT capture device for Mac
  • iOS device for iOS (capture device only works for iOS 4.0 or above)
  • Add NSAutoReleasePool for sdl_dev (Mac)
  • Add NSAutoReleasePool for vid_dev_test (Mac)
  • build system for compilation of Obj-C files (.m)
Location:
pjproject/branches/projects/2.0-dev
Files:
4 added
11 edited

Legend:

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

    r3393 r3395  
    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_pa_use_oss 
    621 ac_pa_use_alsa 
    622 ac_pa_cflags 
    623 ac_external_pa 
    624 ac_pjmedia_snd 
    625 ac_external_gsm 
    626 ac_external_speex 
    627 ac_os_objs 
    628 EGREP 
    629 GREP 
    630 CPP 
    631 ac_build_mak_vars 
    632 ac_pjdir 
    633 CC_CFLAGS 
    634 CC_OPTIMIZE 
    635 CC_DEF 
    636 CC_INC 
    637 CC_OUT 
    638 LIBEXT2 
    639 LIBEXT 
    640 RANLIB 
    641 LDOUT 
    642 LD 
    643 AR 
    644 ac_ct_CXX 
    645 CXXFLAGS 
    646 CXX 
    647 OBJEXT 
    648 EXEEXT 
    649 ac_ct_CC 
    650 CPPFLAGS 
    651 LDFLAGS 
    652 CFLAGS 
    653 CC 
    654 target_os 
    655 target_vendor 
    656 target_cpu 
    657 target 
    658 host_os 
    659 host_vendor 
    660 host_cpu 
    661 host 
    662 build_os 
    663 build_vendor 
    664 build_cpu 
    665 build 
    666 target_alias 
    667 host_alias 
    668 build_alias 
    669 LIBS 
    670 ECHO_T 
    671 ECHO_N 
    672 ECHO_C 
    673 DEFS 
    674 mandir 
    675 localedir 
    676 libdir 
    677 psdir 
    678 pdfdir 
    679 dvidir 
    680 htmldir 
    681 infodir 
    682 docdir 
    683 oldincludedir 
    684 includedir 
    685 localstatedir 
    686 sharedstatedir 
    687 sysconfdir 
    688 datadir 
    689 datarootdir 
    690 libexecdir 
    691 sbindir 
    692 bindir 
    693 program_transform_name 
    694 prefix 
    695 exec_prefix 
    696 PACKAGE_URL 
    697 PACKAGE_BUGREPORT 
    698 PACKAGE_STRING 
    699 PACKAGE_VERSION 
    700 PACKAGE_TARNAME 
    701 PACKAGE_NAME 
    702 PATH_SEPARATOR 
    703 SHELL' 
     728LTLIBOBJS' 
    704729ac_subst_files='' 
    705 ac_user_opts=' 
    706 enable_option_checking 
    707 enable_floating_point 
    708 enable_epoll 
    709 with_external_speex 
    710 with_external_gsm 
    711 enable_sound 
    712 with_external_pa 
    713 enable_oss 
    714 enable_ext_sound 
    715 enable_small_filter 
    716 enable_large_filter 
    717 enable_speex_aec 
    718 enable_g711_codec 
    719 enable_l16_codec 
    720 enable_gsm_codec 
    721 enable_g722_codec 
    722 enable_g7221_codec 
    723 enable_speex_codec 
    724 enable_ilbc_codec 
    725 enable_libsamplerate 
    726 enable_sdl 
    727 enable_ffmpeg 
    728 enable_v4l2 
    729 enable_ipp 
    730 with_ipp 
    731 with_ipp_samples 
    732 with_ipp_arch 
    733 enable_ssl 
    734 ' 
    735730      ac_precious_vars='build_alias 
    736731host_alias 
     
    750745ac_init_help= 
    751746ac_init_version=false 
    752 ac_unrecognized_opts= 
    753 ac_unrecognized_sep= 
    754747# The variables have the same names as the options, with 
    755748# dashes changed to underlines. 
     
    850843 
    851844  -disable-* | --disable-*) 
    852     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     845    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    853846    # Reject names that are not valid shell variable names. 
    854     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    855       as_fn_error "invalid feature name: $ac_useropt" 
    856     ac_useropt_orig=$ac_useropt 
    857     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    858     case $ac_user_opts in 
    859       *" 
    860 "enable_$ac_useropt" 
    861 "*) ;; 
    862       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
    863          ac_unrecognized_sep=', ';; 
    864     esac 
    865     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 ;; 
    866852 
    867853  -docdir | --docdir | --docdi | --doc | --do) 
     
    876862 
    877863  -enable-* | --enable-*) 
    878     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     864    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    879865    # Reject names that are not valid shell variable names. 
    880     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    881       as_fn_error "invalid feature name: $ac_useropt" 
    882     ac_useropt_orig=$ac_useropt 
    883     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    884     case $ac_user_opts in 
    885       *" 
    886 "enable_$ac_useropt" 
    887 "*) ;; 
    888       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
    889          ac_unrecognized_sep=', ';; 
    890     esac 
    891     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 ;; 
    892871 
    893872  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10801059 
    10811060  -with-* | --with-*) 
    1082     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1061    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10831062    # Reject names that are not valid shell variable names. 
    1084     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1085       as_fn_error "invalid package name: $ac_useropt" 
    1086     ac_useropt_orig=$ac_useropt 
    1087     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    1088     case $ac_user_opts in 
    1089       *" 
    1090 "with_$ac_useropt" 
    1091 "*) ;; 
    1092       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
    1093          ac_unrecognized_sep=', ';; 
    1094     esac 
    1095     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 ;; 
    10961068 
    10971069  -without-* | --without-*) 
    1098     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1070    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10991071    # Reject names that are not valid shell variable names. 
    1100     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1101       as_fn_error "invalid package name: $ac_useropt" 
    1102     ac_useropt_orig=$ac_useropt 
    1103     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
    1104     case $ac_user_opts in 
    1105       *" 
    1106 "with_$ac_useropt" 
    1107 "*) ;; 
    1108       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
    1109          ac_unrecognized_sep=', ';; 
    1110     esac 
    1111     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 ;; 
    11121077 
    11131078  --x) 
     
    11291094    x_libraries=$ac_optarg ;; 
    11301095 
    1131   -*) as_fn_error "unrecognized option: \`$ac_option' 
    1132 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; }; } 
    11331099    ;; 
    11341100 
     
    11361102    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11371103    # Reject names that are not valid shell variable names. 
    1138     case $ac_envvar in #( 
    1139       '' | [0-9]* | *[!_$as_cr_alnum]* ) 
    1140       as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
    1141     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; }; } 
    11421107    eval $ac_envvar=\$ac_optarg 
    11431108    export $ac_envvar ;; 
     
    11451110  *) 
    11461111    # FIXME: should be removed in autoconf 3.0. 
    1147     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1112    echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11481113    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1149       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1114      echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11501115    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11511116    ;; 
     
    11561121if test -n "$ac_prev"; then 
    11571122  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1158   as_fn_error "missing argument to $ac_option" 
    1159 fi 
    1160  
    1161 if test -n "$ac_unrecognized_opts"; then 
    1162   case $enable_option_checking in 
    1163     no) ;; 
    1164     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
    1165     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    1166   esac 
    1167 fi 
    1168  
    1169 # 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. 
    11701128for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11711129                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11741132do 
    11751133  eval ac_val=\$$ac_var 
    1176   # Remove trailing slashes. 
    1177   case $ac_val in 
    1178     */ ) 
    1179       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
    1180       eval $ac_var=\$ac_val;; 
    1181   esac 
    1182   # Be sure to have absolute directory names. 
    11831134  case $ac_val in 
    11841135    [\\/$]* | ?:[\\/]* )  continue;; 
    11851136    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11861137  esac 
    1187   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; }; } 
    11881140done 
    11891141 
     
    11991151  if test "x$build_alias" = x; then 
    12001152    cross_compiling=maybe 
    1201     $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. 
    12021154    If a cross compiler is detected then cross compile mode will be used." >&2 
    12031155  elif test "x$build_alias" != "x$host_alias"; then 
     
    12151167ac_ls_di=`ls -di .` && 
    12161168ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1217   as_fn_error "working directory cannot be determined" 
     1169  { echo "$as_me: error: Working directory cannot be determined" >&2 
     1170   { (exit 1); exit 1; }; } 
    12181171test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1219   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; }; } 
    12201174 
    12211175 
     
    12241178  ac_srcdir_defaulted=yes 
    12251179  # Try the directory containing this script, then the parent directory. 
    1226   ac_confdir=`$as_dirname -- "$as_myself" || 
    1227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1228          X"$as_myself" : 'X\(//\)[^/]' \| \ 
    1229          X"$as_myself" : 'X\(//\)$' \| \ 
    1230          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
    1231 $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" | 
    12321186    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    12331187            s//\1/ 
     
    12561210if test ! -r "$srcdir/$ac_unique_file"; then 
    12571211  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1258   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; }; } 
    12591214fi 
    12601215ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12611216ac_abs_confdir=`( 
    1262         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; }; } 
    12631219        pwd)` 
    12641220# When building in place, set srcdir=. 
     
    13081264Installation directories: 
    13091265  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1310                           [$ac_default_prefix] 
     1266                          [$ac_default_prefix] 
    13111267  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1312                           [PREFIX] 
     1268                          [PREFIX] 
    13131269 
    13141270By default, \`make install' will install all the files in 
     
    13201276 
    13211277Fine tuning of the installation directories: 
    1322   --bindir=DIR            user executables [EPREFIX/bin] 
    1323   --sbindir=DIR           system admin executables [EPREFIX/sbin] 
    1324   --libexecdir=DIR        program executables [EPREFIX/libexec] 
    1325   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
    1326   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
    1327   --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
    1328   --libdir=DIR            object code libraries [EPREFIX/lib] 
    1329   --includedir=DIR        C header files [PREFIX/include] 
    1330   --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
    1331   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
    1332   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
    1333   --infodir=DIR           info documentation [DATAROOTDIR/info] 
    1334   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
    1335   --mandir=DIR            man documentation [DATAROOTDIR/man] 
    1336   --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
    1337   --htmldir=DIR           html documentation [DOCDIR] 
    1338   --dvidir=DIR            dvi documentation [DOCDIR] 
    1339   --pdfdir=DIR            pdf documentation [DOCDIR] 
    1340   --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] 
    13411297_ACEOF 
    13421298 
     
    13571313 
    13581314Optional Features: 
    1359   --disable-option-checking  ignore unrecognized --enable/--with options 
    13601315  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13611316  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    14171372              nonstandard directory <lib dir> 
    14181373  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1419   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
     1374  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
    14201375              you have headers in a nonstandard directory <include dir> 
    14211376  CXX         C++ compiler command 
     
    14261381it to find libraries and programs with nonstandard names/locations. 
    14271382 
    1428 Report bugs to the package provider. 
    14291383_ACEOF 
    14301384ac_status=$? 
     
    14341388  # If there are subdirs, report their specific --help. 
    14351389  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1436     test -d "$ac_dir" || 
    1437       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
    1438       continue 
     1390    test -d "$ac_dir" || continue 
    14391391    ac_builddir=. 
    14401392 
     
    14421394.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    14431395*) 
    1444   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
     1396  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    14451397  # A ".." for each directory in $ac_dir_suffix. 
    1446   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
     1398  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
    14471399  case $ac_top_builddir_sub in 
    14481400  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14801432      $SHELL "$ac_srcdir/configure" --help=recursive 
    14811433    else 
    1482       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1434      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14831435    fi || ac_status=$? 
    14841436    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14901442  cat <<\_ACEOF 
    14911443pjproject configure 1.x 
    1492 generated by GNU Autoconf 2.65 
    1493  
    1494 Copyright (C) 2009 Free Software Foundation, Inc. 
     1444generated by GNU Autoconf 2.61 
     1445 
     1446Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
     14472002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
    14951448This configure script is free software; the Free Software Foundation 
    14961449gives unlimited permission to copy, distribute and modify it. 
     
    14981451  exit 
    14991452fi 
    1500  
    1501 ## ------------------------ ## 
    1502 ## Autoconf initialization. ## 
    1503 ## ------------------------ ## 
    1504  
    1505 # ac_fn_c_try_compile LINENO 
    1506 # -------------------------- 
    1507 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
    1508 ac_fn_c_try_compile () 
    1509 { 
    1510   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1511   rm -f conftest.$ac_objext 
    1512   if { { ac_try="$ac_compile" 
    1513 case "(($ac_try" in 
    1514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1515   *) ac_try_echo=$ac_try;; 
    1516 esac 
    1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1518 $as_echo "$ac_try_echo"; } >&5 
    1519   (eval "$ac_compile") 2>conftest.err 
    1520   ac_status=$? 
    1521   if test -s conftest.err; then 
    1522     grep -v '^ *+' conftest.err >conftest.er1 
    1523     cat conftest.er1 >&5 
    1524     mv -f conftest.er1 conftest.err 
    1525   fi 
    1526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1527   test $ac_status = 0; } && { 
    1528          test -z "$ac_c_werror_flag" || 
    1529          test ! -s conftest.err 
    1530        } && test -s conftest.$ac_objext; then : 
    1531   ac_retval=0 
    1532 else 
    1533   $as_echo "$as_me: failed program was:" >&5 
    1534 sed 's/^/| /' conftest.$ac_ext >&5 
    1535  
    1536         ac_retval=1 
    1537 fi 
    1538   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1539   as_fn_set_status $ac_retval 
    1540  
    1541 } # ac_fn_c_try_compile 
    1542  
    1543 # ac_fn_cxx_try_compile LINENO 
    1544 # ---------------------------- 
    1545 # Try to compile conftest.$ac_ext, and return whether this succeeded. 
    1546 ac_fn_cxx_try_compile () 
    1547 { 
    1548   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1549   rm -f conftest.$ac_objext 
    1550   if { { ac_try="$ac_compile" 
    1551 case "(($ac_try" in 
    1552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1553   *) ac_try_echo=$ac_try;; 
    1554 esac 
    1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1556 $as_echo "$ac_try_echo"; } >&5 
    1557   (eval "$ac_compile") 2>conftest.err 
    1558   ac_status=$? 
    1559   if test -s conftest.err; then 
    1560     grep -v '^ *+' conftest.err >conftest.er1 
    1561     cat conftest.er1 >&5 
    1562     mv -f conftest.er1 conftest.err 
    1563   fi 
    1564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1565   test $ac_status = 0; } && { 
    1566          test -z "$ac_cxx_werror_flag" || 
    1567          test ! -s conftest.err 
    1568        } && test -s conftest.$ac_objext; then : 
    1569   ac_retval=0 
    1570 else 
    1571   $as_echo "$as_me: failed program was:" >&5 
    1572 sed 's/^/| /' conftest.$ac_ext >&5 
    1573  
    1574         ac_retval=1 
    1575 fi 
    1576   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1577   as_fn_set_status $ac_retval 
    1578  
    1579 } # ac_fn_cxx_try_compile 
    1580  
    1581 # ac_fn_c_try_link LINENO 
    1582 # ----------------------- 
    1583 # Try to link conftest.$ac_ext, and return whether this succeeded. 
    1584 ac_fn_c_try_link () 
    1585 { 
    1586   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1587   rm -f conftest.$ac_objext conftest$ac_exeext 
    1588   if { { ac_try="$ac_link" 
    1589 case "(($ac_try" in 
    1590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1591   *) ac_try_echo=$ac_try;; 
    1592 esac 
    1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1594 $as_echo "$ac_try_echo"; } >&5 
    1595   (eval "$ac_link") 2>conftest.err 
    1596   ac_status=$? 
    1597   if test -s conftest.err; then 
    1598     grep -v '^ *+' conftest.err >conftest.er1 
    1599     cat conftest.er1 >&5 
    1600     mv -f conftest.er1 conftest.err 
    1601   fi 
    1602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1603   test $ac_status = 0; } && { 
    1604          test -z "$ac_c_werror_flag" || 
    1605          test ! -s conftest.err 
    1606        } && test -s conftest$ac_exeext && { 
    1607          test "$cross_compiling" = yes || 
    1608          $as_test_x conftest$ac_exeext 
    1609        }; then : 
    1610   ac_retval=0 
    1611 else 
    1612   $as_echo "$as_me: failed program was:" >&5 
    1613 sed 's/^/| /' conftest.$ac_ext >&5 
    1614  
    1615         ac_retval=1 
    1616 fi 
    1617   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
    1618   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
    1619   # interfere with the next link command; also delete a directory that is 
    1620   # left behind by Apple's compiler.  We do this before executing the actions. 
    1621   rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1622   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1623   as_fn_set_status $ac_retval 
    1624  
    1625 } # ac_fn_c_try_link 
    1626  
    1627 # ac_fn_c_try_run LINENO 
    1628 # ---------------------- 
    1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
    1630 # that executables *can* be run. 
    1631 ac_fn_c_try_run () 
    1632 { 
    1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1634   if { { ac_try="$ac_link" 
    1635 case "(($ac_try" in 
    1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1637   *) ac_try_echo=$ac_try;; 
    1638 esac 
    1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1640 $as_echo "$ac_try_echo"; } >&5 
    1641   (eval "$ac_link") 2>&5 
    1642   ac_status=$? 
    1643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1644   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
    1645   { { case "(($ac_try" in 
    1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1647   *) ac_try_echo=$ac_try;; 
    1648 esac 
    1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1650 $as_echo "$ac_try_echo"; } >&5 
    1651   (eval "$ac_try") 2>&5 
    1652   ac_status=$? 
    1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1654   test $ac_status = 0; }; }; then : 
    1655   ac_retval=0 
    1656 else 
    1657   $as_echo "$as_me: program exited with status $ac_status" >&5 
    1658        $as_echo "$as_me: failed program was:" >&5 
    1659 sed 's/^/| /' conftest.$ac_ext >&5 
    1660  
    1661        ac_retval=$ac_status 
    1662 fi 
    1663   rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
    1664   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1665   as_fn_set_status $ac_retval 
    1666  
    1667 } # ac_fn_c_try_run 
    1668  
    1669 # ac_fn_c_try_cpp LINENO 
    1670 # ---------------------- 
    1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
    1672 ac_fn_c_try_cpp () 
    1673 { 
    1674   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1675   if { { ac_try="$ac_cpp conftest.$ac_ext" 
    1676 case "(($ac_try" in 
    1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    1678   *) ac_try_echo=$ac_try;; 
    1679 esac 
    1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    1681 $as_echo "$ac_try_echo"; } >&5 
    1682   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
    1683   ac_status=$? 
    1684   if test -s conftest.err; then 
    1685     grep -v '^ *+' conftest.err >conftest.er1 
    1686     cat conftest.er1 >&5 
    1687     mv -f conftest.er1 conftest.err 
    1688   fi 
    1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    1690   test $ac_status = 0; } >/dev/null && { 
    1691          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    1692          test ! -s conftest.err 
    1693        }; then : 
    1694   ac_retval=0 
    1695 else 
    1696   $as_echo "$as_me: failed program was:" >&5 
    1697 sed 's/^/| /' conftest.$ac_ext >&5 
    1698  
    1699     ac_retval=1 
    1700 fi 
    1701   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1702   as_fn_set_status $ac_retval 
    1703  
    1704 } # ac_fn_c_try_cpp 
    1705  
    1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
    1707 # ------------------------------------------------------- 
    1708 # Tests whether HEADER exists and can be compiled using the include files in 
    1709 # INCLUDES, setting the cache variable VAR accordingly. 
    1710 ac_fn_c_check_header_compile () 
    1711 { 
    1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1714 $as_echo_n "checking for $2... " >&6; } 
    1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1716   $as_echo_n "(cached) " >&6 
    1717 else 
    1718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1719 /* end confdefs.h.  */ 
    1720 $4 
    1721 #include <$2> 
    1722 _ACEOF 
    1723 if ac_fn_c_try_compile "$LINENO"; then : 
    1724   eval "$3=yes" 
    1725 else 
    1726   eval "$3=no" 
    1727 fi 
    1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    1729 fi 
    1730 eval ac_res=\$$3 
    1731                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1732 $as_echo "$ac_res" >&6; } 
    1733   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1734  
    1735 } # ac_fn_c_check_header_compile 
    1736  
    1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
    1738 # ------------------------------------------------------- 
    1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 
    1740 # the include files in INCLUDES and setting the cache variable VAR 
    1741 # accordingly. 
    1742 ac_fn_c_check_header_mongrel () 
    1743 { 
    1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1745   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1747 $as_echo_n "checking for $2... " >&6; } 
    1748 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1749   $as_echo_n "(cached) " >&6 
    1750 fi 
    1751 eval ac_res=\$$3 
    1752                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1753 $as_echo "$ac_res" >&6; } 
    1754 else 
    1755   # Is the header compilable? 
    1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
    1757 $as_echo_n "checking $2 usability... " >&6; } 
    1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1759 /* end confdefs.h.  */ 
    1760 $4 
    1761 #include <$2> 
    1762 _ACEOF 
    1763 if ac_fn_c_try_compile "$LINENO"; then : 
    1764   ac_header_compiler=yes 
    1765 else 
    1766   ac_header_compiler=no 
    1767 fi 
    1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
    1770 $as_echo "$ac_header_compiler" >&6; } 
    1771  
    1772 # Is the header present? 
    1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
    1774 $as_echo_n "checking $2 presence... " >&6; } 
    1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1776 /* end confdefs.h.  */ 
    1777 #include <$2> 
    1778 _ACEOF 
    1779 if ac_fn_c_try_cpp "$LINENO"; then : 
    1780   ac_header_preproc=yes 
    1781 else 
    1782   ac_header_preproc=no 
    1783 fi 
    1784 rm -f conftest.err conftest.$ac_ext 
    1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
    1786 $as_echo "$ac_header_preproc" >&6; } 
    1787  
    1788 # So?  What about this header? 
    1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
    1790   yes:no: ) 
    1791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
    1792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    1793     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
    1794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
    1795     ;; 
    1796   no:yes:* ) 
    1797     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
    1798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
    1799     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
    1800 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
    1801     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
    1802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
    1803     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
    1804 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
    1805     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
    1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
    1807     ;; 
    1808 esac 
    1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1810 $as_echo_n "checking for $2... " >&6; } 
    1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1812   $as_echo_n "(cached) " >&6 
    1813 else 
    1814   eval "$3=\$ac_header_compiler" 
    1815 fi 
    1816 eval ac_res=\$$3 
    1817                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1818 $as_echo "$ac_res" >&6; } 
    1819 fi 
    1820   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1821  
    1822 } # ac_fn_c_check_header_mongrel 
    1823  
    1824 # ac_fn_c_check_func LINENO FUNC VAR 
    1825 # ---------------------------------- 
    1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly 
    1827 ac_fn_c_check_func () 
    1828 { 
    1829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    1830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
    1831 $as_echo_n "checking for $2... " >&6; } 
    1832 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
    1833   $as_echo_n "(cached) " >&6 
    1834 else 
    1835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1836 /* end confdefs.h.  */ 
    1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
    1838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    1839 #define $2 innocuous_$2 
    1840  
    1841 /* System header to define __stub macros and hopefully few prototypes, 
    1842     which can conflict with char $2 (); below. 
    1843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    1844     <limits.h> exists even on freestanding compilers.  */ 
    1845  
    1846 #ifdef __STDC__ 
    1847 # include <limits.h> 
    1848 #else 
    1849 # include <assert.h> 
    1850 #endif 
    1851  
    1852 #undef $2 
    1853  
    1854 /* Override any GCC internal prototype to avoid an error. 
    1855    Use char because int might match the return type of a GCC 
    1856    builtin and then its argument prototype would still apply.  */ 
    1857 #ifdef __cplusplus 
    1858 extern "C" 
    1859 #endif 
    1860 char $2 (); 
    1861 /* The GNU C library defines this for functions which it implements 
    1862     to always fail with ENOSYS.  Some functions are actually named 
    1863     something starting with __ and the normal name is an alias.  */ 
    1864 #if defined __stub_$2 || defined __stub___$2 
    1865 choke me 
    1866 #endif 
    1867  
    1868 int 
    1869 main () 
    1870 { 
    1871 return $2 (); 
    1872   ; 
    1873   return 0; 
    1874 } 
    1875 _ACEOF 
    1876 if ac_fn_c_try_link "$LINENO"; then : 
    1877   eval "$3=yes" 
    1878 else 
    1879   eval "$3=no" 
    1880 fi 
    1881 rm -f core conftest.err conftest.$ac_objext \ 
    1882     conftest$ac_exeext conftest.$ac_ext 
    1883 fi 
    1884 eval ac_res=\$$3 
    1885                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
    1886 $as_echo "$ac_res" >&6; } 
    1887   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
    1888  
    1889 } # ac_fn_c_check_func 
    18901453cat >config.log <<_ACEOF 
    18911454This file contains any messages produced by compilers while 
     
    18931456 
    18941457It was created by pjproject $as_me 1.x, which was 
    1895 generated by GNU Autoconf 2.65.  Invocation command line was 
     1458generated by GNU Autoconf 2.61.  Invocation command line was 
    18961459 
    18971460  $ $0 $@ 
     
    19291492  IFS=$as_save_IFS 
    19301493  test -z "$as_dir" && as_dir=. 
    1931     $as_echo "PATH: $as_dir" 
    1932   done 
     1494  echo "PATH: $as_dir" 
     1495done 
    19331496IFS=$as_save_IFS 
    19341497 
     
    19641527      continue ;; 
    19651528    *\'*) 
    1966       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1529      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    19671530    esac 
    19681531    case $ac_pass in 
    1969     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
     1532    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
    19701533    2) 
    1971       as_fn_append ac_configure_args1 " '$ac_arg'" 
     1534      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
    19721535      if test $ac_must_keep_next = true; then 
    19731536        ac_must_keep_next=false # Got value, back to normal. 
     
    19851548        esac 
    19861549      fi 
    1987       as_fn_append ac_configure_args " '$ac_arg'" 
     1550      ac_configure_args="$ac_configure_args '$ac_arg'" 
    19881551      ;; 
    19891552    esac 
    19901553  done 
    19911554done 
    1992 { ac_configure_args0=; unset ac_configure_args0;} 
    1993 { ac_configure_args1=; unset ac_configure_args1;} 
     1555$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1556$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
    19941557 
    19951558# When interrupted or exit'd, cleanup temporary files, and complete 
     
    20161579    *${as_nl}*) 
    20171580      case $ac_var in #( 
    2018       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
    2019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
     1581      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
     1582echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
    20201583      esac 
    20211584      case $ac_var in #( 
    20221585      _ | IFS | as_nl) ;; #( 
    2023       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    2024       *) { eval $ac_var=; unset $ac_var;} ;; 
     1586      *) $as_unset $ac_var ;; 
    20251587      esac ;; 
    20261588    esac 
     
    20511613      eval ac_val=\$$ac_var 
    20521614      case $ac_val in 
    2053       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     1615      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    20541616      esac 
    2055       $as_echo "$ac_var='\''$ac_val'\''" 
     1617      echo "$ac_var='\''$ac_val'\''" 
    20561618    done | sort 
    20571619    echo 
     
    20681630        eval ac_val=\$$ac_var 
    20691631        case $ac_val in 
    2070         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     1632        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    20711633        esac 
    2072         $as_echo "$ac_var='\''$ac_val'\''" 
     1634        echo "$ac_var='\''$ac_val'\''" 
    20731635      done | sort 
    20741636      echo 
     
    20861648    fi 
    20871649    test "$ac_signal" != 0 && 
    2088       $as_echo "$as_me: caught signal $ac_signal" 
    2089     $as_echo "$as_me: exit $exit_status" 
     1650      echo "$as_me: caught signal $ac_signal" 
     1651    echo "$as_me: exit $exit_status" 
    20901652  } >&5 
    20911653  rm -f core *.core core.conftest.* && 
     
    20941656' 0 
    20951657for ac_signal in 1 2 13 15; do 
    2096   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
     1658  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
    20971659done 
    20981660ac_signal=0 
     
    21011663rm -f -r conftest* confdefs.h 
    21021664 
    2103 $as_echo "/* confdefs.h */" > confdefs.h 
    2104  
    21051665# Predefined preprocessor variables. 
    21061666 
     
    21091669_ACEOF 
    21101670 
     1671 
    21111672cat >>confdefs.h <<_ACEOF 
    21121673#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    21131674_ACEOF 
    21141675 
     1676 
    21151677cat >>confdefs.h <<_ACEOF 
    21161678#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    21171679_ACEOF 
    21181680 
     1681 
    21191682cat >>confdefs.h <<_ACEOF 
    21201683#define PACKAGE_STRING "$PACKAGE_STRING" 
    21211684_ACEOF 
    21221685 
     1686 
    21231687cat >>confdefs.h <<_ACEOF 
    21241688#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    21251689_ACEOF 
    21261690 
    2127 cat >>confdefs.h <<_ACEOF 
    2128 #define PACKAGE_URL "$PACKAGE_URL" 
    2129 _ACEOF 
    2130  
    21311691 
    21321692# Let the site file select an alternate cache file if it wants to. 
    2133 # Prefer an explicitly selected file to automatically selected ones. 
    2134 ac_site_file1=NONE 
    2135 ac_site_file2=NONE 
     1693# Prefer explicitly selected file to automatically selected ones. 
    21361694if test -n "$CONFIG_SITE"; then 
    2137   ac_site_file1=$CONFIG_SITE 
     1695  set x "$CONFIG_SITE" 
    21381696elif test "x$prefix" != xNONE; then 
    2139   ac_site_file1=$prefix/share/config.site 
    2140   ac_site_file2=$prefix/etc/config.site 
    2141 else 
    2142   ac_site_file1=$ac_default_prefix/share/config.site 
    2143   ac_site_file2=$ac_default_prefix/etc/config.site 
    2144 fi 
    2145 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
     1697  set x "$prefix/share/config.site" "$prefix/etc/config.site" 
     1698else 
     1699  set x "$ac_default_prefix/share/config.site" \ 
     1700        "$ac_default_prefix/etc/config.site" 
     1701fi 
     1702shift 
     1703for ac_site_file 
    21461704do 
    2147   test "x$ac_site_file" = xNONE && continue 
    2148   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
    2149     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
    2150 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 
     1705  if test -r "$ac_site_file"; then 
     1706    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     1707echo "$as_me: loading site script $ac_site_file" >&6;} 
    21511708    sed 's/^/| /' "$ac_site_file" >&5 
    21521709    . "$ac_site_file" 
     
    21551712 
    21561713if test -r "$cache_file"; then 
    2157   # Some versions of bash will fail to source /dev/null (special files 
    2158   # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
    2159   if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
    2160     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
    2161 $as_echo "$as_me: loading cache $cache_file" >&6;} 
     1714  # Some versions of bash will fail to source /dev/null (special 
     1715  # files actually), so we avoid doing that. 
     1716  if test -f "$cache_file"; then 
     1717    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     1718echo "$as_me: loading cache $cache_file" >&6;} 
    21621719    case $cache_file in 
    21631720      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    21661723  fi 
    21671724else 
    2168   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
    2169 $as_echo "$as_me: creating cache $cache_file" >&6;} 
     1725  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     1726echo "$as_me: creating cache $cache_file" >&6;} 
    21701727  >$cache_file 
    21711728fi 
     
    21811738  case $ac_old_set,$ac_new_set in 
    21821739    set,) 
    2183       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    2184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     1740      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1741echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    21851742      ac_cache_corrupted=: ;; 
    21861743    ,set) 
    2187       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
    2188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     1744      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     1745echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    21891746      ac_cache_corrupted=: ;; 
    21901747    ,);; 
    21911748    *) 
    21921749      if test "x$ac_old_val" != "x$ac_new_val"; then 
    2193         # differences in whitespace do not lead to failure. 
    2194         ac_old_val_w=`echo x $ac_old_val` 
    2195         ac_new_val_w=`echo x $ac_new_val` 
    2196         if test "$ac_old_val_w" != "$ac_new_val_w"; then 
    2197           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
    2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    2199           ac_cache_corrupted=: 
    2200         else 
    2201           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
    2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
    2203           eval $ac_var=\$ac_old_val 
    2204         fi 
    2205         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
    2206 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
    2207         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
    2208 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
     1750        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     1751echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     1752        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
     1753echo "$as_me:   former value:  $ac_old_val" >&2;} 
     1754        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
     1755echo "$as_me:   current value: $ac_new_val" >&2;} 
     1756        ac_cache_corrupted=: 
    22091757      fi;; 
    22101758  esac 
     
    22121760  if test "$ac_new_set" = set; then 
    22131761    case $ac_new_val in 
    2214     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1762    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    22151763    *) ac_arg=$ac_var=$ac_new_val ;; 
    22161764    esac 
    22171765    case " $ac_configure_args " in 
    22181766      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    2219       *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
     1767      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    22201768    esac 
    22211769  fi 
    22221770done 
    22231771if $ac_cache_corrupted; then 
    2224   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2226   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    2228   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
    2229 fi 
    2230 ## -------------------- ## 
    2231 ## Main body of script. ## 
    2232 ## -------------------- ## 
     1772  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     1773echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     1774  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1775echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
     1776   { (exit 1); exit 1; }; } 
     1777fi 
     1778 
     1779 
     1780 
     1781 
     1782 
     1783 
     1784 
     1785 
     1786 
     1787 
     1788 
     1789 
     1790 
     1791 
     1792 
     1793 
     1794 
     1795 
     1796 
     1797 
     1798 
     1799 
     1800 
     1801 
    22331802 
    22341803ac_ext=c 
     
    22441813ac_aux_dir= 
    22451814for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    2246   for ac_t in install-sh install.sh shtool; do 
    2247     if test -f "$ac_dir/$ac_t"; then 
    2248       ac_aux_dir=$ac_dir 
    2249       ac_install_sh="$ac_aux_dir/$ac_t -c" 
    2250       break 2 
    2251     fi 
    2252   done 
     1815  if test -f "$ac_dir/install-sh"; then 
     1816    ac_aux_dir=$ac_dir 
     1817    ac_install_sh="$ac_aux_dir/install-sh -c" 
     1818    break 
     1819  elif test -f "$ac_dir/install.sh"; then 
     1820    ac_aux_dir=$ac_dir 
     1821    ac_install_sh="$ac_aux_dir/install.sh -c" 
     1822    break 
     1823  elif test -f "$ac_dir/shtool"; then 
     1824    ac_aux_dir=$ac_dir 
     1825    ac_install_sh="$ac_aux_dir/shtool install -c" 
     1826    break 
     1827  fi 
    22531828done 
    22541829if test -z "$ac_aux_dir"; then 
    2255   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
     1830  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
     1831echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
     1832   { (exit 1); exit 1; }; } 
    22561833fi 
    22571834 
     
    22671844# Make sure we can run config.sub. 
    22681845$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    2269   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
    2270  
    2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    2272 $as_echo_n "checking build system type... " >&6; } 
    2273 if test "${ac_cv_build+set}" = set; then : 
    2274   $as_echo_n "(cached) " >&6 
     1846  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
     1847echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
     1848   { (exit 1); exit 1; }; } 
     1849 
     1850{ echo "$as_me:$LINENO: checking build system type" >&5 
     1851echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
     1852if test "${ac_cv_build+set}" = set; then 
     1853  echo $ECHO_N "(cached) $ECHO_C" >&6 
    22751854else 
    22761855  ac_build_alias=$build_alias 
     
    22781857  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    22791858test "x$ac_build_alias" = x && 
    2280   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
     1859  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
     1860echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
     1861   { (exit 1); exit 1; }; } 
    22811862ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    2282   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
    2283  
    2284 fi 
    2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
    2286 $as_echo "$ac_cv_build" >&6; } 
     1863  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
     1864echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
     1865   { (exit 1); exit 1; }; } 
     1866 
     1867fi 
     1868{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     1869echo "${ECHO_T}$ac_cv_build" >&6; } 
    22871870case $ac_cv_build in 
    22881871*-*-*) ;; 
    2289 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
     1872*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
     1873echo "$as_me: error: invalid value of canonical build" >&2;} 
     1874   { (exit 1); exit 1; }; };; 
    22901875esac 
    22911876build=$ac_cv_build 
     
    23031888 
    23041889 
    2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    2306 $as_echo_n "checking host system type... " >&6; } 
    2307 if test "${ac_cv_host+set}" = set; then : 
    2308   $as_echo_n "(cached) " >&6 
     1890{ echo "$as_me:$LINENO: checking host system type" >&5 
     1891echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
     1892if test "${ac_cv_host+set}" = set; then 
     1893  echo $ECHO_N "(cached) $ECHO_C" >&6 
    23091894else 
    23101895  if test "x$host_alias" = x; then 
     
    23121897else 
    23131898  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    2314     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
    2315 fi 
    2316  
    2317 fi 
    2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
    2319 $as_echo "$ac_cv_host" >&6; } 
     1899    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
     1900echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
     1901   { (exit 1); exit 1; }; } 
     1902fi 
     1903 
     1904fi 
     1905{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     1906echo "${ECHO_T}$ac_cv_host" >&6; } 
    23201907case $ac_cv_host in 
    23211908*-*-*) ;; 
    2322 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
     1909*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
     1910echo "$as_me: error: invalid value of canonical host" >&2;} 
     1911   { (exit 1); exit 1; }; };; 
    23231912esac 
    23241913host=$ac_cv_host 
     
    23361925 
    23371926 
    2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
    2339 $as_echo_n "checking target system type... " >&6; } 
    2340 if test "${ac_cv_target+set}" = set; then : 
    2341   $as_echo_n "(cached) " >&6 
     1927{ echo "$as_me:$LINENO: checking target system type" >&5 
     1928echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
     1929if test "${ac_cv_target+set}" = set; then 
     1930  echo $ECHO_N "(cached) $ECHO_C" >&6 
    23421931else 
    23431932  if test "x$target_alias" = x; then 
     
    23451934else 
    23461935  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    2347     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
    2348 fi 
    2349  
    2350 fi 
    2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
    2352 $as_echo "$ac_cv_target" >&6; } 
     1936    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
     1937echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
     1938   { (exit 1); exit 1; }; } 
     1939fi 
     1940 
     1941fi 
     1942{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     1943echo "${ECHO_T}$ac_cv_target" >&6; } 
    23531944case $ac_cv_target in 
    23541945*-*-*) ;; 
    2355 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
     1946*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
     1947echo "$as_me: error: invalid value of canonical target" >&2;} 
     1948   { (exit 1); exit 1; }; };; 
    23561949esac 
    23571950target=$ac_cv_target 
     
    23971990  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    23981991set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2400 $as_echo_n "checking for $ac_word... " >&6; } 
    2401 if test "${ac_cv_prog_CC+set}" = set; then : 
    2402   $as_echo_n "(cached) " >&6 
     1992{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     1994if test "${ac_cv_prog_CC+set}" = set; then 
     1995  echo $ECHO_N "(cached) $ECHO_C" >&6 
    24031996else 
    24041997  if test -n "$CC"; then 
     
    24102003  IFS=$as_save_IFS 
    24112004  test -z "$as_dir" && as_dir=. 
    2412     for ac_exec_ext in '' $ac_executable_extensions; do 
     2005  for ac_exec_ext in '' $ac_executable_extensions; do 
    24132006  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    24142007    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2008    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    24162009    break 2 
    24172010  fi 
    24182011done 
    2419   done 
     2012done 
    24202013IFS=$as_save_IFS 
    24212014 
     
    24242017CC=$ac_cv_prog_CC 
    24252018if test -n "$CC"; then 
    2426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2427 $as_echo "$CC" >&6; } 
    2428 else 
    2429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2430 $as_echo "no" >&6; } 
     2019  { echo "$as_me:$LINENO: result: $CC" >&5 
     2020echo "${ECHO_T}$CC" >&6; } 
     2021else 
     2022  { echo "$as_me:$LINENO: result: no" >&5 
     2023echo "${ECHO_T}no" >&6; } 
    24312024fi 
    24322025 
     
    24372030  # Extract the first word of "gcc", so it can be a program name with args. 
    24382031set dummy gcc; ac_word=$2 
    2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2440 $as_echo_n "checking for $ac_word... " >&6; } 
    2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    2442   $as_echo_n "(cached) " >&6 
     2032{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2033echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2034if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2035  echo $ECHO_N "(cached) $ECHO_C" >&6 
    24432036else 
    24442037  if test -n "$ac_ct_CC"; then 
     
    24502043  IFS=$as_save_IFS 
    24512044  test -z "$as_dir" && as_dir=. 
    2452     for ac_exec_ext in '' $ac_executable_extensions; do 
     2045  for ac_exec_ext in '' $ac_executable_extensions; do 
    24532046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    24542047    ac_cv_prog_ac_ct_CC="gcc" 
    2455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2048    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    24562049    break 2 
    24572050  fi 
    24582051done 
    2459   done 
     2052done 
    24602053IFS=$as_save_IFS 
    24612054 
     
    24642057ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    24652058if test -n "$ac_ct_CC"; then 
    2466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    2467 $as_echo "$ac_ct_CC" >&6; } 
    2468 else 
    2469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2470 $as_echo "no" >&6; } 
     2059  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2060echo "${ECHO_T}$ac_ct_CC" >&6; } 
     2061else 
     2062  { echo "$as_me:$LINENO: result: no" >&5 
     2063echo "${ECHO_T}no" >&6; } 
    24712064fi 
    24722065 
     
    24762069    case $cross_compiling:$ac_tool_warned in 
    24772070yes:) 
    2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    2479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     2071{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     2072whose name does not start with the host triplet.  If you think this 
     2073configuration is useful to you, please write to autoconf@gnu.org." >&5 
     2074echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     2075whose name does not start with the host triplet.  If you think this 
     2076configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    24802077ac_tool_warned=yes ;; 
    24812078esac 
     
    24902087    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    24912088set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2493 $as_echo_n "checking for $ac_word... " >&6; } 
    2494 if test "${ac_cv_prog_CC+set}" = set; then : 
    2495   $as_echo_n "(cached) " >&6 
     2089{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2090echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2091if test "${ac_cv_prog_CC+set}" = set; then 
     2092  echo $ECHO_N "(cached) $ECHO_C" >&6 
    24962093else 
    24972094  if test -n "$CC"; then 
     
    25032100  IFS=$as_save_IFS 
    25042101  test -z "$as_dir" && as_dir=. 
    2505     for ac_exec_ext in '' $ac_executable_extensions; do 
     2102  for ac_exec_ext in '' $ac_executable_extensions; do 
    25062103  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    25072104    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2105    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    25092106    break 2 
    25102107  fi 
    25112108done 
    2512   done 
     2109done 
    25132110IFS=$as_save_IFS 
    25142111 
     
    25172114CC=$ac_cv_prog_CC 
    25182115if test -n "$CC"; then 
    2519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2520 $as_echo "$CC" >&6; } 
    2521 else 
    2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2523 $as_echo "no" >&6; } 
     2116  { echo "$as_me:$LINENO: result: $CC" >&5 
     2117echo "${ECHO_T}$CC" >&6; } 
     2118else 
     2119  { echo "$as_me:$LINENO: result: no" >&5 
     2120echo "${ECHO_T}no" >&6; } 
    25242121fi 
    25252122 
     
    25302127  # Extract the first word of "cc", so it can be a program name with args. 
    25312128set dummy cc; ac_word=$2 
    2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2533 $as_echo_n "checking for $ac_word... " >&6; } 
    2534 if test "${ac_cv_prog_CC+set}" = set; then : 
    2535   $as_echo_n "(cached) " >&6 
     2129{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2130echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2131if test "${ac_cv_prog_CC+set}" = set; then 
     2132  echo $ECHO_N "(cached) $ECHO_C" >&6 
    25362133else 
    25372134  if test -n "$CC"; then 
     
    25442141  IFS=$as_save_IFS 
    25452142  test -z "$as_dir" && as_dir=. 
    2546     for ac_exec_ext in '' $ac_executable_extensions; do 
     2143  for ac_exec_ext in '' $ac_executable_extensions; do 
    25472144  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    25482145    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    25512148     fi 
    25522149    ac_cv_prog_CC="cc" 
    2553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2150    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    25542151    break 2 
    25552152  fi 
    25562153done 
    2557   done 
     2154done 
    25582155IFS=$as_save_IFS 
    25592156 
     
    25742171CC=$ac_cv_prog_CC 
    25752172if test -n "$CC"; then 
    2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2577 $as_echo "$CC" >&6; } 
    2578 else 
    2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2580 $as_echo "no" >&6; } 
     2173  { echo "$as_me:$LINENO: result: $CC" >&5 
     2174echo "${ECHO_T}$CC" >&6; } 
     2175else 
     2176  { echo "$as_me:$LINENO: result: no" >&5 
     2177echo "${ECHO_T}no" >&6; } 
    25812178fi 
    25822179 
     
    25892186    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    25902187set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2592 $as_echo_n "checking for $ac_word... " >&6; } 
    2593 if test "${ac_cv_prog_CC+set}" = set; then : 
    2594   $as_echo_n "(cached) " >&6 
     2188{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2189echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2190if test "${ac_cv_prog_CC+set}" = set; then 
     2191  echo $ECHO_N "(cached) $ECHO_C" >&6 
    25952192else 
    25962193  if test -n "$CC"; then 
     
    26022199  IFS=$as_save_IFS 
    26032200  test -z "$as_dir" && as_dir=. 
    2604     for ac_exec_ext in '' $ac_executable_extensions; do 
     2201  for ac_exec_ext in '' $ac_executable_extensions; do 
    26052202  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    26062203    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2204    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    26082205    break 2 
    26092206  fi 
    26102207done 
    2611   done 
     2208done 
    26122209IFS=$as_save_IFS 
    26132210 
     
    26162213CC=$ac_cv_prog_CC 
    26172214if test -n "$CC"; then 
    2618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    2619 $as_echo "$CC" >&6; } 
    2620 else 
    2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2622 $as_echo "no" >&6; } 
     2215  { echo "$as_me:$LINENO: result: $CC" >&5 
     2216echo "${ECHO_T}$CC" >&6; } 
     2217else 
     2218  { echo "$as_me:$LINENO: result: no" >&5 
     2219echo "${ECHO_T}no" >&6; } 
    26232220fi 
    26242221 
     
    26332230  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    26342231set dummy $ac_prog; ac_word=$2 
    2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    2636 $as_echo_n "checking for $ac_word... " >&6; } 
    2637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    2638   $as_echo_n "(cached) " >&6 
     2232{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2233echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2234if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2235  echo $ECHO_N "(cached) $ECHO_C" >&6 
    26392236else 
    26402237  if test -n "$ac_ct_CC"; then 
     
    26462243  IFS=$as_save_IFS 
    26472244  test -z "$as_dir" && as_dir=. 
    2648     for ac_exec_ext in '' $ac_executable_extensions; do 
     2245  for ac_exec_ext in '' $ac_executable_extensions; do 
    26492246  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    26502247    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2248    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    26522249    break 2 
    26532250  fi 
    26542251done 
    2655   done 
     2252done 
    26562253IFS=$as_save_IFS 
    26572254 
     
    26602257ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    26612258if test -n "$ac_ct_CC"; then 
    2662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    2663 $as_echo "$ac_ct_CC" >&6; } 
    2664 else 
    2665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2666 $as_echo "no" >&6; } 
     2259  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2260echo "${ECHO_T}$ac_ct_CC" >&6; } 
     2261else 
     2262  { echo "$as_me:$LINENO: result: no" >&5 
     2263echo "${ECHO_T}no" >&6; } 
    26672264fi 
    26682265 
     
    26762273    case $cross_compiling:$ac_tool_warned in 
    26772274yes:) 
    2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    2679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     2275{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     2276whose name does not start with the host triplet.  If you think this 
     2277configuration is useful to you, please write to autoconf@gnu.org." >&5 
     2278echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     2279whose name does not start with the host triplet.  If you think this 
     2280configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    26802281ac_tool_warned=yes ;; 
    26812282esac 
     
    26872288 
    26882289 
    2689 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2691 as_fn_error "no acceptable C compiler found in \$PATH 
    2692 See \`config.log' for more details." "$LINENO" 5; } 
     2290test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     2291See \`config.log' for more details." >&5 
     2292echo "$as_me: error: no acceptable C compiler found in \$PATH 
     2293See \`config.log' for more details." >&2;} 
     2294   { (exit 1); exit 1; }; } 
    26932295 
    26942296# Provide some information about the compiler. 
    2695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
    2696 set X $ac_compile 
    2697 ac_compiler=$2 
    2698 for ac_option in --version -v -V -qversion; do 
    2699   { { ac_try="$ac_compiler $ac_option >&5" 
    2700 case "(($ac_try" in 
    2701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2702   *) ac_try_echo=$ac_try;; 
    2703 esac 
    2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2705 $as_echo "$ac_try_echo"; } >&5 
    2706   (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    2707   ac_status=$? 
    2708   if test -s conftest.err; then 
    2709     sed '10a\ 
    2710 ... rest of stderr output deleted ... 
    2711          10q' conftest.err >conftest.er1 
    2712     cat conftest.er1 >&5 
    2713   fi 
    2714   rm -f conftest.er1 conftest.err 
    2715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2716   test $ac_status = 0; } 
    2717 done 
    2718  
    2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2297echo "$as_me:$LINENO: checking for C compiler version" >&5 
     2298ac_compiler=`set X $ac_compile; echo $2` 
     2299{ (ac_try="$ac_compiler --version >&5" 
     2300case "(($ac_try" in 
     2301  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2302  *) ac_try_echo=$ac_try;; 
     2303esac 
     2304eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2305  (eval "$ac_compiler --version >&5") 2>&5 
     2306  ac_status=$? 
     2307  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2308  (exit $ac_status); } 
     2309{ (ac_try="$ac_compiler -v >&5" 
     2310case "(($ac_try" in 
     2311  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2312  *) ac_try_echo=$ac_try;; 
     2313esac 
     2314eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2315  (eval "$ac_compiler -v >&5") 2>&5 
     2316  ac_status=$? 
     2317  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2318  (exit $ac_status); } 
     2319{ (ac_try="$ac_compiler -V >&5" 
     2320case "(($ac_try" in 
     2321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2322  *) ac_try_echo=$ac_try;; 
     2323esac 
     2324eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2325  (eval "$ac_compiler -V >&5") 2>&5 
     2326  ac_status=$? 
     2327  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2328  (exit $ac_status); } 
     2329 
     2330cat >conftest.$ac_ext <<_ACEOF 
     2331/* confdefs.h.  */ 
     2332_ACEOF 
     2333cat confdefs.h >>conftest.$ac_ext 
     2334cat >>conftest.$ac_ext <<_ACEOF 
    27202335/* end confdefs.h.  */ 
    27212336 
     
    27292344_ACEOF 
    27302345ac_clean_files_save=$ac_clean_files 
    2731 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2346ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    27322347# Try to create an executable without -o first, disregard a.out. 
    27332348# It will help us diagnose broken compilers, and finding out an intuition 
    27342349# of exeext. 
    2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
    2736 $as_echo_n "checking whether the C compiler works... " >&6; } 
    2737 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2738  
    2739 # The possible output files: 
    2740 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
    2741  
     2350{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
     2351echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
     2352ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2353# 
     2354# List of possible output files, starting from the most likely. 
     2355# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
     2356# only as a last resort.  b.out is created by i960 compilers. 
     2357ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
     2358# 
     2359# The IRIX 6 linker writes into existing files which may not be 
     2360# executable, retaining their permissions.  Remove them first so a 
     2361# subsequent execution test works. 
    27422362ac_rmfiles= 
    27432363for ac_file in $ac_files 
    27442364do 
    27452365  case $ac_file in 
    2746     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2366    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    27472367    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    27482368  esac 
     
    27502370rm -f $ac_rmfiles 
    27512371 
    2752 if { { ac_try="$ac_link_default" 
    2753 case "(($ac_try" in 
    2754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2755   *) ac_try_echo=$ac_try;; 
    2756 esac 
    2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2758 $as_echo "$ac_try_echo"; } >&5 
     2372if { (ac_try="$ac_link_default" 
     2373case "(($ac_try" in 
     2374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2375  *) ac_try_echo=$ac_try;; 
     2376esac 
     2377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    27592378  (eval "$ac_link_default") 2>&5 
    27602379  ac_status=$? 
    2761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2762   test $ac_status = 0; }; then : 
     2380  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2381  (exit $ac_status); }; then 
    27632382  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    27642383# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    27702389  test -f "$ac_file" || continue 
    27712390  case $ac_file in 
    2772     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
     2391    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
    27732392        ;; 
    27742393    [ab].out ) 
     
    27772396        break;; 
    27782397    *.* ) 
    2779         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2398        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    27802399        then :; else 
    27812400           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    27962415  ac_file='' 
    27972416fi 
    2798 if test -z "$ac_file"; then : 
    2799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    2800 $as_echo "no" >&6; } 
    2801 $as_echo "$as_me: failed program was:" >&5 
     2417 
     2418{ echo "$as_me:$LINENO: result: $ac_file" >&5 
     2419echo "${ECHO_T}$ac_file" >&6; } 
     2420if test -z "$ac_file"; then 
     2421  echo "$as_me: failed program was:" >&5 
    28022422sed 's/^/| /' conftest.$ac_ext >&5 
    28032423 
    2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2806 { as_fn_set_status 77 
    2807 as_fn_error "C compiler cannot create executables 
    2808 See \`config.log' for more details." "$LINENO" 5; }; } 
    2809 else 
    2810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    2811 $as_echo "yes" >&6; } 
    2812 fi 
    2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
    2814 $as_echo_n "checking for C compiler default output file name... " >&6; } 
    2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
    2816 $as_echo "$ac_file" >&6; } 
     2424{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 
     2425See \`config.log' for more details." >&5 
     2426echo "$as_me: error: C compiler cannot create executables 
     2427See \`config.log' for more details." >&2;} 
     2428   { (exit 77); exit 77; }; } 
     2429fi 
     2430 
    28172431ac_exeext=$ac_cv_exeext 
    28182432 
    2819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
     2433# Check that the compiler produces executables we can run.  If not, either 
     2434# the compiler is broken, or we cross compile. 
     2435{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
     2436echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
     2437# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     2438# If not cross compiling, check that we can run a simple program. 
     2439if test "$cross_compiling" != yes; then 
     2440  if { ac_try='./$ac_file' 
     2441  { (case "(($ac_try" in 
     2442  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2443  *) ac_try_echo=$ac_try;; 
     2444esac 
     2445eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2446  (eval "$ac_try") 2>&5 
     2447  ac_status=$? 
     2448  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2449  (exit $ac_status); }; }; then 
     2450    cross_compiling=no 
     2451  else 
     2452    if test "$cross_compiling" = maybe; then 
     2453        cross_compiling=yes 
     2454    else 
     2455        { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     2456If you meant to cross compile, use \`--host'. 
     2457See \`config.log' for more details." >&5 
     2458echo "$as_me: error: cannot run C compiled programs. 
     2459If you meant to cross compile, use \`--host'. 
     2460See \`config.log' for more details." >&2;} 
     2461   { (exit 1); exit 1; }; } 
     2462    fi 
     2463  fi 
     2464fi 
     2465{ echo "$as_me:$LINENO: result: yes" >&5 
     2466echo "${ECHO_T}yes" >&6; } 
     2467 
     2468rm -f a.out a.exe conftest$ac_cv_exeext b.out 
    28202469ac_clean_files=$ac_clean_files_save 
    2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
    2822 $as_echo_n "checking for suffix of executables... " >&6; } 
    2823 if { { ac_try="$ac_link" 
    2824 case "(($ac_try" in 
    2825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2826   *) ac_try_echo=$ac_try;; 
    2827 esac 
    2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2829 $as_echo "$ac_try_echo"; } >&5 
     2470# Check that the compiler produces executables we can run.  If not, either 
     2471# the compiler is broken, or we cross compile. 
     2472{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     2473echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
     2474{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     2475echo "${ECHO_T}$cross_compiling" >&6; } 
     2476 
     2477{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     2478echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
     2479if { (ac_try="$ac_link" 
     2480case "(($ac_try" in 
     2481  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2482  *) ac_try_echo=$ac_try;; 
     2483esac 
     2484eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    28302485  (eval "$ac_link") 2>&5 
    28312486  ac_status=$? 
    2832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2833   test $ac_status = 0; }; then : 
     2487  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2488  (exit $ac_status); }; then 
    28342489  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    28352490# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    28392494  test -f "$ac_file" || continue 
    28402495  case $ac_file in 
    2841     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2496    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    28422497    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    28432498          break;; 
     
    28462501done 
    28472502else 
    2848   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2850 as_fn_error "cannot compute suffix of executables: cannot compile and link 
    2851 See \`config.log' for more details." "$LINENO" 5; } 
    2852 fi 
    2853 rm -f conftest conftest$ac_cv_exeext 
    2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
    2855 $as_echo "$ac_cv_exeext" >&6; } 
     2503  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     2504See \`config.log' for more details." >&5 
     2505echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     2506See \`config.log' for more details." >&2;} 
     2507   { (exit 1); exit 1; }; } 
     2508fi 
     2509 
     2510rm -f conftest$ac_cv_exeext 
     2511{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     2512echo "${ECHO_T}$ac_cv_exeext" >&6; } 
    28562513 
    28572514rm -f conftest.$ac_ext 
    28582515EXEEXT=$ac_cv_exeext 
    28592516ac_exeext=$EXEEXT 
    2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    2861 /* end confdefs.h.  */ 
    2862 #include <stdio.h> 
     2517{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     2518echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
     2519if test "${ac_cv_objext+set}" = set; then 
     2520  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2521else 
     2522  cat >conftest.$ac_ext <<_ACEOF 
     2523/* confdefs.h.  */ 
     2524_ACEOF 
     2525cat confdefs.h >>conftest.$ac_ext 
     2526cat >>conftest.$ac_ext <<_ACEOF 
     2527/* end confdefs.h.  */ 
     2528 
    28632529int 
    28642530main () 
    28652531{ 
    2866 FILE *f = fopen ("conftest.out", "w"); 
    2867  return ferror (f) || fclose (f) != 0; 
    28682532 
    28692533  ; 
     
    28712535} 
    28722536_ACEOF 
    2873 ac_clean_files="$ac_clean_files conftest.out" 
    2874 # Check that the compiler produces executables we can run.  If not, either 
    2875 # the compiler is broken, or we cross compile. 
    2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
    2877 $as_echo_n "checking whether we are cross compiling... " >&6; } 
    2878 if test "$cross_compiling" != yes; then 
    2879   { { ac_try="$ac_link" 
    2880 case "(($ac_try" in 
    2881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2882   *) ac_try_echo=$ac_try;; 
    2883 esac 
    2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2885 $as_echo "$ac_try_echo"; } >&5 
    2886   (eval "$ac_link") 2>&5 
    2887   ac_status=$? 
    2888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2889   test $ac_status = 0; } 
    2890   if { ac_try='./conftest$ac_cv_exeext' 
    2891   { { case "(($ac_try" in 
    2892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2893   *) ac_try_echo=$ac_try;; 
    2894 esac 
    2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2896 $as_echo "$ac_try_echo"; } >&5 
    2897   (eval "$ac_try") 2>&5 
    2898   ac_status=$? 
    2899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2900   test $ac_status = 0; }; }; then 
    2901     cross_compiling=no 
    2902   else 
    2903     if test "$cross_compiling" = maybe; then 
    2904         cross_compiling=yes 
    2905     else 
    2906         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2908 as_fn_error "cannot run C compiled programs. 
    2909 If you meant to cross compile, use \`--host'. 
    2910 See \`config.log' for more details." "$LINENO" 5; } 
    2911     fi 
    2912   fi 
    2913 fi 
    2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
    2915 $as_echo "$cross_compiling" >&6; } 
    2916  
    2917 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
    2918 ac_clean_files=$ac_clean_files_save 
    2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    2920 $as_echo_n "checking for suffix of object files... " >&6; } 
    2921 if test "${ac_cv_objext+set}" = set; then : 
    2922   $as_echo_n "(cached) " >&6 
    2923 else 
    2924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    2925 /* end confdefs.h.  */ 
    2926  
    2927 int 
    2928 main () 
    2929 { 
    2930  
    2931   ; 
    2932   return 0; 
    2933 } 
    2934 _ACEOF 
    29352537rm -f conftest.o conftest.obj 
    2936 if { { ac_try="$ac_compile" 
    2937 case "(($ac_try" in 
    2938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2939   *) ac_try_echo=$ac_try;; 
    2940 esac 
    2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    2942 $as_echo "$ac_try_echo"; } >&5 
     2538if { (ac_try="$ac_compile" 
     2539case "(($ac_try" in 
     2540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2541  *) ac_try_echo=$ac_try;; 
     2542esac 
     2543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    29432544  (eval "$ac_compile") 2>&5 
    29442545  ac_status=$? 
    2945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    2946   test $ac_status = 0; }; then : 
     2546  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2547  (exit $ac_status); }; then 
    29472548  for ac_file in conftest.o conftest.obj conftest.*; do 
    29482549  test -f "$ac_file" || continue; 
    29492550  case $ac_file in 
    2950     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
     2551    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
    29512552    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    29522553       break;; 
     
    29542555done 
    29552556else 
    2956   $as_echo "$as_me: failed program was:" >&5 
     2557  echo "$as_me: failed program was:" >&5 
    29572558sed 's/^/| /' conftest.$ac_ext >&5 
    29582559 
    2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    2961 as_fn_error "cannot compute suffix of object files: cannot compile 
    2962 See \`config.log' for more details." "$LINENO" 5; } 
    2963 fi 
     2560{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     2561See \`config.log' for more details." >&5 
     2562echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     2563See \`config.log' for more details." >&2;} 
     2564   { (exit 1); exit 1; }; } 
     2565fi 
     2566 
    29642567rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    29652568fi 
    2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
    2967 $as_echo "$ac_cv_objext" >&6; } 
     2569{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     2570echo "${ECHO_T}$ac_cv_objext" >&6; } 
    29682571OBJEXT=$ac_cv_objext 
    29692572ac_objext=$OBJEXT 
    2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    2971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    2972 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
    2973   $as_echo_n "(cached) " >&6 
    2974 else 
    2975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2573{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     2574echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
     2575if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     2576  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2577else 
     2578  cat >conftest.$ac_ext <<_ACEOF 
     2579/* confdefs.h.  */ 
     2580_ACEOF 
     2581cat confdefs.h >>conftest.$ac_ext 
     2582cat >>conftest.$ac_ext <<_ACEOF 
    29762583/* end confdefs.h.  */ 
    29772584 
     
    29872594} 
    29882595_ACEOF 
    2989 if ac_fn_c_try_compile "$LINENO"; then : 
     2596rm -f conftest.$ac_objext 
     2597if { (ac_try="$ac_compile" 
     2598case "(($ac_try" in 
     2599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2600  *) ac_try_echo=$ac_try;; 
     2601esac 
     2602eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2603  (eval "$ac_compile") 2>conftest.er1 
     2604  ac_status=$? 
     2605  grep -v '^ *+' conftest.er1 >conftest.err 
     2606  rm -f conftest.er1 
     2607  cat conftest.err >&5 
     2608  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2609  (exit $ac_status); } && { 
     2610         test -z "$ac_c_werror_flag" || 
     2611         test ! -s conftest.err 
     2612       } && test -s conftest.$ac_objext; then 
    29902613  ac_compiler_gnu=yes 
    29912614else 
    2992   ac_compiler_gnu=no 
    2993 fi 
     2615  echo "$as_me: failed program was:" >&5 
     2616sed 's/^/| /' conftest.$ac_ext >&5 
     2617 
     2618        ac_compiler_gnu=no 
     2619fi 
     2620 
    29942621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    29952622ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    29962623 
    29972624fi 
    2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
    2999 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 
    3000 if test $ac_compiler_gnu = yes; then 
    3001   GCC=yes 
    3002 else 
    3003   GCC= 
    3004 fi 
     2625{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     2626echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
     2627GCC=`test $ac_compiler_gnu = yes && echo yes` 
    30052628ac_test_CFLAGS=${CFLAGS+set} 
    30062629ac_save_CFLAGS=$CFLAGS 
    3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    3008 $as_echo_n "checking whether $CC accepts -g... " >&6; } 
    3009 if test "${ac_cv_prog_cc_g+set}" = set; then : 
    3010   $as_echo_n "(cached) " >&6 
     2630{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     2631echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
     2632if test "${ac_cv_prog_cc_g+set}" = set; then 
     2633  echo $ECHO_N "(cached) $ECHO_C" >&6 
    30112634else 
    30122635  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    30142637   ac_cv_prog_cc_g=no 
    30152638   CFLAGS="-g" 
    3016    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2639   cat >conftest.$ac_ext <<_ACEOF 
     2640/* confdefs.h.  */ 
     2641_ACEOF 
     2642cat confdefs.h >>conftest.$ac_ext 
     2643cat >>conftest.$ac_ext <<_ACEOF 
    30172644/* end confdefs.h.  */ 
    30182645 
     
    30252652} 
    30262653_ACEOF 
    3027 if ac_fn_c_try_compile "$LINENO"; then : 
     2654rm -f conftest.$ac_objext 
     2655if { (ac_try="$ac_compile" 
     2656case "(($ac_try" in 
     2657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2658  *) ac_try_echo=$ac_try;; 
     2659esac 
     2660eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2661  (eval "$ac_compile") 2>conftest.er1 
     2662  ac_status=$? 
     2663  grep -v '^ *+' conftest.er1 >conftest.err 
     2664  rm -f conftest.er1 
     2665  cat conftest.err >&5 
     2666  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2667  (exit $ac_status); } && { 
     2668         test -z "$ac_c_werror_flag" || 
     2669         test ! -s conftest.err 
     2670       } && test -s conftest.$ac_objext; then 
    30282671  ac_cv_prog_cc_g=yes 
    30292672else 
    3030   CFLAGS="" 
    3031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2673  echo "$as_me: failed program was:" >&5 
     2674sed 's/^/| /' conftest.$ac_ext >&5 
     2675 
     2676        CFLAGS="" 
     2677      cat >conftest.$ac_ext <<_ACEOF 
     2678/* confdefs.h.  */ 
     2679_ACEOF 
     2680cat confdefs.h >>conftest.$ac_ext 
     2681cat >>conftest.$ac_ext <<_ACEOF 
    30322682/* end confdefs.h.  */ 
    30332683 
     
    30402690} 
    30412691_ACEOF 
    3042 if ac_fn_c_try_compile "$LINENO"; then : 
    3043  
    3044 else 
    3045   ac_c_werror_flag=$ac_save_c_werror_flag 
     2692rm -f conftest.$ac_objext 
     2693if { (ac_try="$ac_compile" 
     2694case "(($ac_try" in 
     2695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2696  *) ac_try_echo=$ac_try;; 
     2697esac 
     2698eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2699  (eval "$ac_compile") 2>conftest.er1 
     2700  ac_status=$? 
     2701  grep -v '^ *+' conftest.er1 >conftest.err 
     2702  rm -f conftest.er1 
     2703  cat conftest.err >&5 
     2704  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2705  (exit $ac_status); } && { 
     2706         test -z "$ac_c_werror_flag" || 
     2707         test ! -s conftest.err 
     2708       } && test -s conftest.$ac_objext; then 
     2709  : 
     2710else 
     2711  echo "$as_me: failed program was:" >&5 
     2712sed 's/^/| /' conftest.$ac_ext >&5 
     2713 
     2714        ac_c_werror_flag=$ac_save_c_werror_flag 
    30462715         CFLAGS="-g" 
    3047          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2716         cat >conftest.$ac_ext <<_ACEOF 
     2717/* confdefs.h.  */ 
     2718_ACEOF 
     2719cat confdefs.h >>conftest.$ac_ext 
     2720cat >>conftest.$ac_ext <<_ACEOF 
    30482721/* end confdefs.h.  */ 
    30492722 
     
    30562729} 
    30572730_ACEOF 
    3058 if ac_fn_c_try_compile "$LINENO"; then : 
     2731rm -f conftest.$ac_objext 
     2732if { (ac_try="$ac_compile" 
     2733case "(($ac_try" in 
     2734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2735  *) ac_try_echo=$ac_try;; 
     2736esac 
     2737eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2738  (eval "$ac_compile") 2>conftest.er1 
     2739  ac_status=$? 
     2740  grep -v '^ *+' conftest.er1 >conftest.err 
     2741  rm -f conftest.er1 
     2742  cat conftest.err >&5 
     2743  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2744  (exit $ac_status); } && { 
     2745         test -z "$ac_c_werror_flag" || 
     2746         test ! -s conftest.err 
     2747       } && test -s conftest.$ac_objext; then 
    30592748  ac_cv_prog_cc_g=yes 
    3060 fi 
     2749else 
     2750  echo "$as_me: failed program was:" >&5 
     2751sed 's/^/| /' conftest.$ac_ext >&5 
     2752 
     2753 
     2754fi 
     2755 
    30612756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30622757fi 
     2758 
    30632759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30642760fi 
     2761 
    30652762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30662763   ac_c_werror_flag=$ac_save_c_werror_flag 
    30672764fi 
    3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
    3069 $as_echo "$ac_cv_prog_cc_g" >&6; } 
     2765{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     2766echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
    30702767if test "$ac_test_CFLAGS" = set; then 
    30712768  CFLAGS=$ac_save_CFLAGS 
     
    30832780  fi 
    30842781fi 
    3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    3086 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    3087 if test "${ac_cv_prog_cc_c89+set}" = set; then : 
    3088   $as_echo_n "(cached) " >&6 
     2782{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
     2783echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
     2784if test "${ac_cv_prog_cc_c89+set}" = set; then 
     2785  echo $ECHO_N "(cached) $ECHO_C" >&6 
    30892786else 
    30902787  ac_cv_prog_cc_c89=no 
    30912788ac_save_CC=$CC 
    3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2789cat >conftest.$ac_ext <<_ACEOF 
     2790/* confdefs.h.  */ 
     2791_ACEOF 
     2792cat confdefs.h >>conftest.$ac_ext 
     2793cat >>conftest.$ac_ext <<_ACEOF 
    30932794/* end confdefs.h.  */ 
    30942795#include <stdarg.h> 
     
    31472848do 
    31482849  CC="$ac_save_CC $ac_arg" 
    3149   if ac_fn_c_try_compile "$LINENO"; then : 
     2850  rm -f conftest.$ac_objext 
     2851if { (ac_try="$ac_compile" 
     2852case "(($ac_try" in 
     2853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2854  *) ac_try_echo=$ac_try;; 
     2855esac 
     2856eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2857  (eval "$ac_compile") 2>conftest.er1 
     2858  ac_status=$? 
     2859  grep -v '^ *+' conftest.er1 >conftest.err 
     2860  rm -f conftest.er1 
     2861  cat conftest.err >&5 
     2862  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2863  (exit $ac_status); } && { 
     2864         test -z "$ac_c_werror_flag" || 
     2865         test ! -s conftest.err 
     2866       } && test -s conftest.$ac_objext; then 
    31502867  ac_cv_prog_cc_c89=$ac_arg 
    3151 fi 
     2868else 
     2869  echo "$as_me: failed program was:" >&5 
     2870sed 's/^/| /' conftest.$ac_ext >&5 
     2871 
     2872 
     2873fi 
     2874 
    31522875rm -f core conftest.err conftest.$ac_objext 
    31532876  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    31602883case "x$ac_cv_prog_cc_c89" in 
    31612884  x) 
    3162     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
    3163 $as_echo "none needed" >&6; } ;; 
     2885    { echo "$as_me:$LINENO: result: none needed" >&5 
     2886echo "${ECHO_T}none needed" >&6; } ;; 
    31642887  xno) 
    3165     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
    3166 $as_echo "unsupported" >&6; } ;; 
     2888    { echo "$as_me:$LINENO: result: unsupported" >&5 
     2889echo "${ECHO_T}unsupported" >&6; } ;; 
    31672890  *) 
    31682891    CC="$CC $ac_cv_prog_cc_c89" 
    3169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
    3170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    3171 esac 
    3172 if test "x$ac_cv_prog_cc_c89" != xno; then : 
    3173  
    3174 fi 
     2892    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
     2893echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     2894esac 
     2895 
    31752896 
    31762897ac_ext=c 
     
    31942915    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    31952916set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    3197 $as_echo_n "checking for $ac_word... " >&6; } 
    3198 if test "${ac_cv_prog_CXX+set}" = set; then : 
    3199   $as_echo_n "(cached) " >&6 
     2917{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2918echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2919if test "${ac_cv_prog_CXX+set}" = set; then 
     2920  echo $ECHO_N "(cached) $ECHO_C" >&6 
    32002921else 
    32012922  if test -n "$CXX"; then 
     
    32072928  IFS=$as_save_IFS 
    32082929  test -z "$as_dir" && as_dir=. 
    3209     for ac_exec_ext in '' $ac_executable_extensions; do 
     2930  for ac_exec_ext in '' $ac_executable_extensions; do 
    32102931  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    32112932    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    3212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2933    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    32132934    break 2 
    32142935  fi 
    32152936done 
    3216   done 
     2937done 
    32172938IFS=$as_save_IFS 
    32182939 
     
    32212942CXX=$ac_cv_prog_CXX 
    32222943if test -n "$CXX"; then 
    3223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
    3224 $as_echo "$CXX" >&6; } 
    3225 else 
    3226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    3227 $as_echo "no" >&6; } 
     2944  { echo "$as_me:$LINENO: result: $CXX" >&5 
     2945echo "${ECHO_T}$CXX" >&6; } 
     2946else 
     2947  { echo "$as_me:$LINENO: result: no" >&5 
     2948echo "${ECHO_T}no" >&6; } 
    32282949fi 
    32292950 
     
    32382959  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    32392960set dummy $ac_prog; ac_word=$2 
    3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    3241 $as_echo_n "checking for $ac_word... " >&6; } 
    3242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
    3243   $as_echo_n "(cached) " >&6 
     2961{ echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2962echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
     2963if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     2964  echo $ECHO_N "(cached) $ECHO_C" >&6 
    32442965else 
    32452966  if test -n "$ac_ct_CXX"; then 
     
    32512972  IFS=$as_save_IFS 
    32522973  test -z "$as_dir" && as_dir=. 
    3253     for ac_exec_ext in '' $ac_executable_extensions; do 
     2974  for ac_exec_ext in '' $ac_executable_extensions; do 
    32542975  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    32552976    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    3256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2977    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    32572978    break 2 
    32582979  fi 
    32592980done 
    3260   done 
     2981done 
    32612982IFS=$as_save_IFS 
    32622983 
     
    32652986ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    32662987if test -n "$ac_ct_CXX"; then 
    3267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
    3268 $as_echo "$ac_ct_CXX" >&6; } 
    3269 else 
    3270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    3271 $as_echo "no" >&6; } 
     2988  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     2989echo "${ECHO_T}$ac_ct_CXX" >&6; } 
     2990else 
     2991  { echo "$as_me:$LINENO: result: no" >&5 
     2992echo "${ECHO_T}no" >&6; } 
    32722993fi 
    32732994 
     
    32813002    case $cross_compiling:$ac_tool_warned in 
    32823003yes:) 
    3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
    3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     3004{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
     3005whose name does not start with the host triplet.  If you think this 
     3006configuration is useful to you, please write to autoconf@gnu.org." >&5 
     3007echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
     3008whose name does not start with the host triplet.  If you think this 
     3009configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
    32853010ac_tool_warned=yes ;; 
    32863011esac 
     
    32923017fi 
    32933018# Provide some information about the compiler. 
    3294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
    3295 set X $ac_compile 
    3296 ac_compiler=$2 
    3297 for ac_option in --version -v -V -qversion; do 
    3298   { { ac_try="$ac_compiler $ac_option >&5" 
    3299 case "(($ac_try" in 
    3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3301   *) ac_try_echo=$ac_try;; 
    3302 esac 
    3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
    3304 $as_echo "$ac_try_echo"; } >&5 
    3305   (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    3306   ac_status=$? 
    3307   if test -s conftest.err; then 
    3308     sed '10a\ 
    3309 ... rest of stderr output deleted ... 
    3310          10q' conftest.err >conftest.er1 
    3311     cat conftest.er1 >&5 
    3312   fi 
    3313   rm -f conftest.er1 conftest.err 
    3314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
    3315   test $ac_status = 0; } 
    3316 done 
    3317  
    3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
    3319 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
    3320 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
    3321   $as_echo_n "(cached) " >&6 
    3322 else 
    3323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3019echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
     3020ac_compiler=`set X $ac_compile; echo $2` 
     3021{ (ac_try="$ac_compiler --version >&5" 
     3022case "(($ac_try" in 
     3023  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3024  *) ac_try_echo=$ac_try;; 
     3025esac 
     3026eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3027  (eval "$ac_compiler --version >&5") 2>&5 
     3028  ac_status=$? 
     3029  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3030  (exit $ac_status); } 
     3031{ (ac_try="$ac_compiler -v >&5" 
     3032case "(($ac_try" in 
     3033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3034  *) ac_try_echo=$ac_try;; 
     3035esac 
     3036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3037  (eval "$ac_compiler -v >&5") 2>&5 
     3038  ac_status=$? 
     3039  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3040  (exit $ac_status); } 
     3041{ (ac_try="$ac_compiler -V >&5" 
     3042case "(($ac_try" in 
     3043  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3044  *) ac_try_echo=$ac_try;; 
     3045esac 
     3046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3047  (eval "$ac_compiler -V >&5") 2>&5 
     3048  ac_status=$? 
     3049  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3050  (exit $ac_status); } 
     3051 
     3052{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     3053echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
     3054if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     3055  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3056else 
     3057  cat >conftest.$ac_ext <<_ACEOF 
     3058/* confdefs.h.  */ 
     3059_ACEOF 
     3060cat confdefs.h >>conftest.$ac_ext 
     3061cat >>conftest.$ac_ext <<_ACEOF 
    33243062/* end confdefs.h.  */ 
    33253063 
     
    33353073} 
    33363074_ACEOF 
    3337 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3075rm -f conftest.$ac_objext 
     3076if { (ac_try="$ac_compile" 
     3077case "(($ac_try" in 
     3078  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3079  *) ac_try_echo=$ac_try;; 
     3080esac 
     3081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3082  (eval "$ac_compile") 2>conftest.er1 
     3083  ac_status=$? 
     3084  grep -v '^ *+' conftest.er1 >conftest.err 
     3085  rm -f conftest.er1 
     3086  cat conftest.err >&5 
     3087  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3088  (exit $ac_status); } && { 
     3089         test -z "$ac_cxx_werror_flag" || 
     3090         test ! -s conftest.err 
     3091       } && test -s conftest.$ac_objext; then 
    33383092  ac_compiler_gnu=yes 
    33393093else 
    3340   ac_compiler_gnu=no 
    3341 fi 
     3094  echo "$as_me: failed program was:" >&5 
     3095sed 's/^/| /' conftest.$ac_ext >&5 
     3096 
     3097        ac_compiler_gnu=no 
     3098fi 
     3099 
    33423100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33433101ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    33443102 
    33453103fi 
    3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
    3347 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
    3348 if test $ac_compiler_gnu = yes; then 
    3349   GXX=yes 
    3350 else 
    3351   GXX= 
    3352 fi 
     3104{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     3105echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
     3106GXX=`test $ac_compiler_gnu = yes && echo yes` 
    33533107ac_test_CXXFLAGS=${CXXFLAGS+set} 
    33543108ac_save_CXXFLAGS=$CXXFLAGS 
    3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
    3356 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 
    3357 if test "${ac_cv_prog_cxx_g+set}" = set; then : 
    3358   $as_echo_n "(cached) " >&6 
     3109{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     3110echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
     3111if test "${ac_cv_prog_cxx_g+set}" = set; then 
     3112  echo $ECHO_N "(cached) $ECHO_C" >&6 
    33593113else 
    33603114  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    33623116   ac_cv_prog_cxx_g=no 
    33633117   CXXFLAGS="-g" 
    3364    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3118   cat >conftest.$ac_ext <<_ACEOF 
     3119/* confdefs.h.  */ 
     3120_ACEOF 
     3121cat confdefs.h >>conftest.$ac_ext 
     3122cat >>conftest.$ac_ext <<_ACEOF 
    33653123/* end confdefs.h.  */ 
    33663124 
     
    33733131} 
    33743132_ACEOF 
    3375 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3133rm -f conftest.$ac_objext 
     3134if { (ac_try="$ac_compile" 
     3135case "(($ac_try" in 
     3136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3137  *) ac_try_echo=$ac_try;; 
     3138esac 
     3139eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3140  (eval "$ac_compile") 2>conftest.er1 
     3141  ac_status=$? 
     3142  grep -v '^ *+' conftest.er1 >conftest.err 
     3143  rm -f conftest.er1 
     3144  cat conftest.err >&5 
     3145  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3146  (exit $ac_status); } && { 
     3147         test -z "$ac_cxx_werror_flag" || 
     3148         test ! -s conftest.err 
     3149       } && test -s conftest.$ac_objext; then 
    33763150  ac_cv_prog_cxx_g=yes 
    33773151else 
    3378   CXXFLAGS="" 
    3379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3152  echo "$as_me: failed program was:" >&5 
     3153sed 's/^/| /' conftest.$ac_ext >&5 
     3154 
     3155        CXXFLAGS="" 
     3156      cat >conftest.$ac_ext <<_ACEOF 
     3157/* confdefs.h.  */ 
     3158_ACEOF 
     3159cat confdefs.h >>conftest.$ac_ext 
     3160cat >>conftest.$ac_ext <<_ACEOF 
    33803161/* end confdefs.h.  */ 
    33813162 
     
    33883169} 
    33893170_ACEOF 
    3390 if ac_fn_cxx_try_compile "$LINENO"; then : 
    3391  
    3392 else 
    3393   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3171rm -f conftest.$ac_objext 
     3172if { (ac_try="$ac_compile" 
     3173case "(($ac_try" in 
     3174  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3175  *) ac_try_echo=$ac_try;; 
     3176esac 
     3177eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3178  (eval "$ac_compile") 2>conftest.er1 
     3179  ac_status=$? 
     3180  grep -v '^ *+' conftest.er1 >conftest.err 
     3181  rm -f conftest.er1 
     3182  cat conftest.err >&5 
     3183  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3184  (exit $ac_status); } && { 
     3185         test -z "$ac_cxx_werror_flag" || 
     3186         test ! -s conftest.err 
     3187       } && test -s conftest.$ac_objext; then 
     3188  : 
     3189else 
     3190  echo "$as_me: failed program was:" >&5 
     3191sed 's/^/| /' conftest.$ac_ext >&5 
     3192 
     3193        ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    33943194         CXXFLAGS="-g" 
    3395          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3195         cat >conftest.$ac_ext <<_ACEOF 
     3196/* confdefs.h.  */ 
     3197_ACEOF 
     3198cat confdefs.h >>conftest.$ac_ext 
     3199cat >>conftest.$ac_ext <<_ACEOF 
    33963200/* end confdefs.h.  */ 
    33973201 
     
    34043208} 
    34053209_ACEOF 
    3406 if ac_fn_cxx_try_compile "$LINENO"; then : 
     3210rm -f conftest.$ac_objext 
     3211if { (ac_try="$ac_compile" 
     3212case "(($ac_try" in 
     3213  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3214  *) ac_try_echo=$ac_try;; 
     3215esac 
     3216eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3217  (eval "$ac_compile") 2>conftest.er1 
     3218  ac_status=$? 
     3219  grep -v '^ *+' conftest.er1 >conftest.err 
     3220  rm -f conftest.er1 
     3221  cat conftest.err >&5 
     3222  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3223  (exit $ac_status); } && { 
     3224         test -z "$ac_cxx_werror_flag" || 
     3225         test ! -s conftest.err 
     3226       } && test -s conftest.$ac_objext; then 
    34073227  ac_cv_prog_cxx_g=yes 
    3408 fi 
     3228else 
     3229  echo "$as_me: failed program was:" >&5 
     3230sed 's/^/| /' conftest.$ac_ext >&5 
     3231 
     3232 
     3233fi 
     3234 
    34093235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34103236fi 
     3237 
    34113238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34123239fi 
     3240 
    34133241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    34143242   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    34153243fi 
    3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
    3417 $as_echo "$ac_cv_prog_cxx_g" >&6; } 
     3244{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     3245echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
    34183246if test "$ac_test_CXXFLAGS" = set; then 
    34193247  CXXFLAGS=$ac_save_CXXFLAGS 
     
    34933321 
    34943322 
    3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
    3496 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
    3497 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
    3498   $as_echo_n "(cached) " >&6 
     3323 
     3324{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
     3325echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
     3326if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     3327  echo $ECHO_N "(cached) $ECHO_C" >&6 
    34993328else 
    35003329  ac_check_lib_save_LIBS=$LIBS 
    35013330LIBS="-lpthread  $LIBS" 
    3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3331cat >conftest.$ac_ext <<_ACEOF 
     3332/* confdefs.h.  */ 
     3333_ACEOF 
     3334cat confdefs.h >>conftest.$ac_ext 
     3335cat >>conftest.$ac_ext <<_ACEOF 
    35033336/* end confdefs.h.  */ 
    35043337 
     
    35183351} 
    35193352_ACEOF 
    3520 if ac_fn_c_try_link "$LINENO"; then : 
     3353rm -f conftest.$ac_objext conftest$ac_exeext 
     3354if { (ac_try="$ac_link" 
     3355case "(($ac_try" in 
     3356  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3357  *) ac_try_echo=$ac_try;; 
     3358esac 
     3359eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3360  (eval "$ac_link") 2>conftest.er1 
     3361  ac_status=$? 
     3362  grep -v '^ *+' conftest.er1 >conftest.err 
     3363  rm -f conftest.er1 
     3364  cat conftest.err >&5 
     3365  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3366  (exit $ac_status); } && { 
     3367         test -z "$ac_c_werror_flag" || 
     3368         test ! -s conftest.err 
     3369       } && test -s conftest$ac_exeext && 
     3370       $as_test_x conftest$ac_exeext; then 
    35213371  ac_cv_lib_pthread_pthread_create=yes 
    35223372else 
    3523   ac_cv_lib_pthread_pthread_create=no 
    3524 fi 
    3525 rm -f core conftest.err conftest.$ac_objext \ 
    3526     conftest$ac_exeext conftest.$ac_ext 
     3373  echo "$as_me: failed program was:" >&5 
     3374sed 's/^/| /' conftest.$ac_ext >&5 
     3375 
     3376        ac_cv_lib_pthread_pthread_create=no 
     3377fi 
     3378 
     3379rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3380      conftest$ac_exeext conftest.$ac_ext 
    35273381LIBS=$ac_check_lib_save_LIBS 
    35283382fi 
    3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3530 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
    3531 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
     3383{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3384echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
     3385if test $ac_cv_lib_pthread_pthread_create = yes; then 
    35323386  cat >>confdefs.h <<_ACEOF 
    35333387#define HAVE_LIBPTHREAD 1 
     
    35383392fi 
    35393393 
    3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
    3541 $as_echo_n "checking for puts in -lwsock32... " >&6; } 
    3542 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
    3543   $as_echo_n "(cached) " >&6 
     3394 
     3395{ echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
     3396echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
     3397if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
     3398  echo $ECHO_N "(cached) $ECHO_C" >&6 
    35443399else 
    35453400  ac_check_lib_save_LIBS=$LIBS 
    35463401LIBS="-lwsock32  $LIBS" 
    3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3402cat >conftest.$ac_ext <<_ACEOF 
     3403/* confdefs.h.  */ 
     3404_ACEOF 
     3405cat confdefs.h >>conftest.$ac_ext 
     3406cat >>conftest.$ac_ext <<_ACEOF 
    35483407/* end confdefs.h.  */ 
    35493408 
     
    35633422} 
    35643423_ACEOF 
    3565 if ac_fn_c_try_link "$LINENO"; then : 
     3424rm -f conftest.$ac_objext conftest$ac_exeext 
     3425if { (ac_try="$ac_link" 
     3426case "(($ac_try" in 
     3427  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3428  *) ac_try_echo=$ac_try;; 
     3429esac 
     3430eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3431  (eval "$ac_link") 2>conftest.er1 
     3432  ac_status=$? 
     3433  grep -v '^ *+' conftest.er1 >conftest.err 
     3434  rm -f conftest.er1 
     3435  cat conftest.err >&5 
     3436  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3437  (exit $ac_status); } && { 
     3438         test -z "$ac_c_werror_flag" || 
     3439         test ! -s conftest.err 
     3440       } && test -s conftest$ac_exeext && 
     3441       $as_test_x conftest$ac_exeext; then 
    35663442  ac_cv_lib_wsock32_puts=yes 
    35673443else 
    3568   ac_cv_lib_wsock32_puts=no 
    3569 fi 
    3570 rm -f core conftest.err conftest.$ac_objext \ 
    3571     conftest$ac_exeext conftest.$ac_ext 
     3444  echo "$as_me: failed program was:" >&5 
     3445sed 's/^/| /' conftest.$ac_ext >&5 
     3446 
     3447        ac_cv_lib_wsock32_puts=no 
     3448fi 
     3449 
     3450rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3451      conftest$ac_exeext conftest.$ac_ext 
    35723452LIBS=$ac_check_lib_save_LIBS 
    35733453fi 
    3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
    3575 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
    3576 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
     3454{ echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
     3455echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
     3456if test $ac_cv_lib_wsock32_puts = yes; then 
    35773457  cat >>confdefs.h <<_ACEOF 
    35783458#define HAVE_LIBWSOCK32 1 
     
    35833463fi 
    35843464 
    3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
    3586 $as_echo_n "checking for puts in -lws2_32... " >&6; } 
    3587 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
    3588   $as_echo_n "(cached) " >&6 
     3465 
     3466{ echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
     3467echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
     3468if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
     3469  echo $ECHO_N "(cached) $ECHO_C" >&6 
    35893470else 
    35903471  ac_check_lib_save_LIBS=$LIBS 
    35913472LIBS="-lws2_32  $LIBS" 
    3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3473cat >conftest.$ac_ext <<_ACEOF 
     3474/* confdefs.h.  */ 
     3475_ACEOF 
     3476cat confdefs.h >>conftest.$ac_ext 
     3477cat >>conftest.$ac_ext <<_ACEOF 
    35933478/* end confdefs.h.  */ 
    35943479 
     
    36083493} 
    36093494_ACEOF 
    3610 if ac_fn_c_try_link "$LINENO"; then : 
     3495rm -f conftest.$ac_objext conftest$ac_exeext 
     3496if { (ac_try="$ac_link" 
     3497case "(($ac_try" in 
     3498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3499  *) ac_try_echo=$ac_try;; 
     3500esac 
     3501eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3502  (eval "$ac_link") 2>conftest.er1 
     3503  ac_status=$? 
     3504  grep -v '^ *+' conftest.er1 >conftest.err 
     3505  rm -f conftest.er1 
     3506  cat conftest.err >&5 
     3507  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3508  (exit $ac_status); } && { 
     3509         test -z "$ac_c_werror_flag" || 
     3510         test ! -s conftest.err 
     3511       } && test -s conftest$ac_exeext && 
     3512       $as_test_x conftest$ac_exeext; then 
    36113513  ac_cv_lib_ws2_32_puts=yes 
    36123514else 
    3613   ac_cv_lib_ws2_32_puts=no 
    3614 fi 
    3615 rm -f core conftest.err conftest.$ac_objext \ 
    3616     conftest$ac_exeext conftest.$ac_ext 
     3515  echo "$as_me: failed program was:" >&5 
     3516sed 's/^/| /' conftest.$ac_ext >&5 
     3517 
     3518        ac_cv_lib_ws2_32_puts=no 
     3519fi 
     3520 
     3521rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3522      conftest$ac_exeext conftest.$ac_ext 
    36173523LIBS=$ac_check_lib_save_LIBS 
    36183524fi 
    3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
    3620 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
    3621 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
     3525{ echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
     3526echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
     3527if test $ac_cv_lib_ws2_32_puts = yes; then 
    36223528  cat >>confdefs.h <<_ACEOF 
    36233529#define HAVE_LIBWS2_32 1 
     
    36283534fi 
    36293535 
    3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
    3631 $as_echo_n "checking for puts in -lole32... " >&6; } 
    3632 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
    3633   $as_echo_n "(cached) " >&6 
     3536 
     3537{ echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
     3538echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
     3539if test "${ac_cv_lib_ole32_puts+set}" = set; then 
     3540  echo $ECHO_N "(cached) $ECHO_C" >&6 
    36343541else 
    36353542  ac_check_lib_save_LIBS=$LIBS 
    36363543LIBS="-lole32  $LIBS" 
    3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3544cat >conftest.$ac_ext <<_ACEOF 
     3545/* confdefs.h.  */ 
     3546_ACEOF 
     3547cat confdefs.h >>conftest.$ac_ext 
     3548cat >>conftest.$ac_ext <<_ACEOF 
    36383549/* end confdefs.h.  */ 
    36393550 
     
    36533564} 
    36543565_ACEOF 
    3655 if ac_fn_c_try_link "$LINENO"; then : 
     3566rm -f conftest.$ac_objext conftest$ac_exeext 
     3567if { (ac_try="$ac_link" 
     3568case "(($ac_try" in 
     3569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3570  *) ac_try_echo=$ac_try;; 
     3571esac 
     3572eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3573  (eval "$ac_link") 2>conftest.er1 
     3574  ac_status=$? 
     3575  grep -v '^ *+' conftest.er1 >conftest.err 
     3576  rm -f conftest.er1 
     3577  cat conftest.err >&5 
     3578  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3579  (exit $ac_status); } && { 
     3580         test -z "$ac_c_werror_flag" || 
     3581         test ! -s conftest.err 
     3582       } && test -s conftest$ac_exeext && 
     3583       $as_test_x conftest$ac_exeext; then 
    36563584  ac_cv_lib_ole32_puts=yes 
    36573585else 
    3658   ac_cv_lib_ole32_puts=no 
    3659 fi 
    3660 rm -f core conftest.err conftest.$ac_objext \ 
    3661     conftest$ac_exeext conftest.$ac_ext 
     3586  echo "$as_me: failed program was:" >&5 
     3587sed 's/^/| /' conftest.$ac_ext >&5 
     3588 
     3589        ac_cv_lib_ole32_puts=no 
     3590fi 
     3591 
     3592rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3593      conftest$ac_exeext conftest.$ac_ext 
    36623594LIBS=$ac_check_lib_save_LIBS 
    36633595fi 
    3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
    3665 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 
    3666 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
     3596{ echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
     3597echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
     3598if test $ac_cv_lib_ole32_puts = yes; then 
    36673599  cat >>confdefs.h <<_ACEOF 
    36683600#define HAVE_LIBOLE32 1 
     
    36733605fi 
    36743606 
    3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
    3676 $as_echo_n "checking for puts in -lwinmm... " >&6; } 
    3677 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
    3678   $as_echo_n "(cached) " >&6 
     3607 
     3608{ echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
     3609echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
     3610if test "${ac_cv_lib_winmm_puts+set}" = set; then 
     3611  echo $ECHO_N "(cached) $ECHO_C" >&6 
    36793612else 
    36803613  ac_check_lib_save_LIBS=$LIBS 
    36813614LIBS="-lwinmm  $LIBS" 
    3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3615cat >conftest.$ac_ext <<_ACEOF 
     3616/* confdefs.h.  */ 
     3617_ACEOF 
     3618cat confdefs.h >>conftest.$ac_ext 
     3619cat >>conftest.$ac_ext <<_ACEOF 
    36833620/* end confdefs.h.  */ 
    36843621 
     
    36983635} 
    36993636_ACEOF 
    3700 if ac_fn_c_try_link "$LINENO"; then : 
     3637rm -f conftest.$ac_objext conftest$ac_exeext 
     3638if { (ac_try="$ac_link" 
     3639case "(($ac_try" in 
     3640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3641  *) ac_try_echo=$ac_try;; 
     3642esac 
     3643eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3644  (eval "$ac_link") 2>conftest.er1 
     3645  ac_status=$? 
     3646  grep -v '^ *+' conftest.er1 >conftest.err 
     3647  rm -f conftest.er1 
     3648  cat conftest.err >&5 
     3649  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3650  (exit $ac_status); } && { 
     3651         test -z "$ac_c_werror_flag" || 
     3652         test ! -s conftest.err 
     3653       } && test -s conftest$ac_exeext && 
     3654       $as_test_x conftest$ac_exeext; then 
    37013655  ac_cv_lib_winmm_puts=yes 
    37023656else 
    3703   ac_cv_lib_winmm_puts=no 
    3704 fi 
    3705 rm -f core conftest.err conftest.$ac_objext \ 
    3706     conftest$ac_exeext conftest.$ac_ext 
     3657  echo "$as_me: failed program was:" >&5 
     3658sed 's/^/| /' conftest.$ac_ext >&5 
     3659 
     3660        ac_cv_lib_winmm_puts=no 
     3661fi 
     3662 
     3663rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3664      conftest$ac_exeext conftest.$ac_ext 
    37073665LIBS=$ac_check_lib_save_LIBS 
    37083666fi 
    3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
    3710 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 
    3711 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
     3667{ echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
     3668echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
     3669if test $ac_cv_lib_winmm_puts = yes; then 
    37123670  cat >>confdefs.h <<_ACEOF 
    37133671#define HAVE_LIBWINMM 1 
     
    37183676fi 
    37193677 
    3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
    3721 $as_echo_n "checking for puts in -lsocket... " >&6; } 
    3722 if test "${ac_cv_lib_socket_puts+set}" = set; then : 
    3723   $as_echo_n "(cached) " >&6 
     3678 
     3679{ echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
     3680echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
     3681if test "${ac_cv_lib_socket_puts+set}" = set; then 
     3682  echo $ECHO_N "(cached) $ECHO_C" >&6 
    37243683else 
    37253684  ac_check_lib_save_LIBS=$LIBS 
    37263685LIBS="-lsocket  $LIBS" 
    3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3686cat >conftest.$ac_ext <<_ACEOF 
     3687/* confdefs.h.  */ 
     3688_ACEOF 
     3689cat confdefs.h >>conftest.$ac_ext 
     3690cat >>conftest.$ac_ext <<_ACEOF 
    37283691/* end confdefs.h.  */ 
    37293692 
     
    37433706} 
    37443707_ACEOF 
    3745 if ac_fn_c_try_link "$LINENO"; then : 
     3708rm -f conftest.$ac_objext conftest$ac_exeext 
     3709if { (ac_try="$ac_link" 
     3710case "(($ac_try" in 
     3711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3712  *) ac_try_echo=$ac_try;; 
     3713esac 
     3714eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3715  (eval "$ac_link") 2>conftest.er1 
     3716  ac_status=$? 
     3717  grep -v '^ *+' conftest.er1 >conftest.err 
     3718  rm -f conftest.er1 
     3719  cat conftest.err >&5 
     3720  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3721  (exit $ac_status); } && { 
     3722         test -z "$ac_c_werror_flag" || 
     3723         test ! -s conftest.err 
     3724       } && test -s conftest$ac_exeext && 
     3725       $as_test_x conftest$ac_exeext; then 
    37463726  ac_cv_lib_socket_puts=yes 
    37473727else 
    3748   ac_cv_lib_socket_puts=no 
    3749 fi 
    3750 rm -f core conftest.err conftest.$ac_objext \ 
    3751     conftest$ac_exeext conftest.$ac_ext 
     3728  echo "$as_me: failed program was:" >&5 
     3729sed 's/^/| /' conftest.$ac_ext >&5 
     3730 
     3731        ac_cv_lib_socket_puts=no 
     3732fi 
     3733 
     3734rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3735      conftest$ac_exeext conftest.$ac_ext 
    37523736LIBS=$ac_check_lib_save_LIBS 
    37533737fi 
    3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
    3755 $as_echo "$ac_cv_lib_socket_puts" >&6; } 
    3756 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
     3738{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
     3739echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
     3740if test $ac_cv_lib_socket_puts = yes; then 
    37573741  cat >>confdefs.h <<_ACEOF 
    37583742#define HAVE_LIBSOCKET 1 
     
    37633747fi 
    37643748 
    3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
    3766 $as_echo_n "checking for puts in -lrt... " >&6; } 
    3767 if test "${ac_cv_lib_rt_puts+set}" = set; then : 
    3768   $as_echo_n "(cached) " >&6 
     3749 
     3750{ echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
     3751echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
     3752if test "${ac_cv_lib_rt_puts+set}" = set; then 
     3753  echo $ECHO_N "(cached) $ECHO_C" >&6 
    37693754else 
    37703755  ac_check_lib_save_LIBS=$LIBS 
    37713756LIBS="-lrt  $LIBS" 
    3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3757cat >conftest.$ac_ext <<_ACEOF 
     3758/* confdefs.h.  */ 
     3759_ACEOF 
     3760cat confdefs.h >>conftest.$ac_ext 
     3761cat >>conftest.$ac_ext <<_ACEOF 
    37733762/* end confdefs.h.  */ 
    37743763 
     
    37883777} 
    37893778_ACEOF 
    3790 if ac_fn_c_try_link "$LINENO"; then : 
     3779rm -f conftest.$ac_objext conftest$ac_exeext 
     3780if { (ac_try="$ac_link" 
     3781case "(($ac_try" in 
     3782  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3783  *) ac_try_echo=$ac_try;; 
     3784esac 
     3785eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3786  (eval "$ac_link") 2>conftest.er1 
     3787  ac_status=$? 
     3788  grep -v '^ *+' conftest.er1 >conftest.err 
     3789  rm -f conftest.er1 
     3790  cat conftest.err >&5 
     3791  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3792  (exit $ac_status); } && { 
     3793         test -z "$ac_c_werror_flag" || 
     3794         test ! -s conftest.err 
     3795       } && test -s conftest$ac_exeext && 
     3796       $as_test_x conftest$ac_exeext; then 
    37913797  ac_cv_lib_rt_puts=yes 
    37923798else 
    3793   ac_cv_lib_rt_puts=no 
    3794 fi 
    3795 rm -f core conftest.err conftest.$ac_objext \ 
    3796     conftest$ac_exeext conftest.$ac_ext 
     3799  echo "$as_me: failed program was:" >&5 
     3800sed 's/^/| /' conftest.$ac_ext >&5 
     3801 
     3802        ac_cv_lib_rt_puts=no 
     3803fi 
     3804 
     3805rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3806      conftest$ac_exeext conftest.$ac_ext 
    37973807LIBS=$ac_check_lib_save_LIBS 
    37983808fi 
    3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
    3800 $as_echo "$ac_cv_lib_rt_puts" >&6; } 
    3801 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
     3809{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
     3810echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
     3811if test $ac_cv_lib_rt_puts = yes; then 
    38023812  cat >>confdefs.h <<_ACEOF 
    38033813#define HAVE_LIBRT 1 
     
    38083818fi 
    38093819 
    3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
    3811 $as_echo_n "checking for puts in -lnsl... " >&6; } 
    3812 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
    3813   $as_echo_n "(cached) " >&6 
     3820 
     3821{ echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
     3822echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
     3823if test "${ac_cv_lib_nsl_puts+set}" = set; then 
     3824  echo $ECHO_N "(cached) $ECHO_C" >&6 
    38143825else 
    38153826  ac_check_lib_save_LIBS=$LIBS 
    38163827LIBS="-lnsl  $LIBS" 
    3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3828cat >conftest.$ac_ext <<_ACEOF 
     3829/* confdefs.h.  */ 
     3830_ACEOF 
     3831cat confdefs.h >>conftest.$ac_ext 
     3832cat >>conftest.$ac_ext <<_ACEOF 
    38183833/* end confdefs.h.  */ 
    38193834 
     
    38333848} 
    38343849_ACEOF 
    3835 if ac_fn_c_try_link "$LINENO"; then : 
     3850rm -f conftest.$ac_objext conftest$ac_exeext 
     3851if { (ac_try="$ac_link" 
     3852case "(($ac_try" in 
     3853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3854  *) ac_try_echo=$ac_try;; 
     3855esac 
     3856eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3857  (eval "$ac_link") 2>conftest.er1 
     3858  ac_status=$? 
     3859  grep -v '^ *+' conftest.er1 >conftest.err 
     3860  rm -f conftest.er1 
     3861  cat conftest.err >&5 
     3862  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3863  (exit $ac_status); } && { 
     3864         test -z "$ac_c_werror_flag" || 
     3865         test ! -s conftest.err 
     3866       } && test -s conftest$ac_exeext && 
     3867       $as_test_x conftest$ac_exeext; then 
    38363868  ac_cv_lib_nsl_puts=yes 
    38373869else 
    3838   ac_cv_lib_nsl_puts=no 
    3839 fi 
    3840 rm -f core conftest.err conftest.$ac_objext \ 
    3841     conftest$ac_exeext conftest.$ac_ext 
     3870  echo "$as_me: failed program was:" >&5 
     3871sed 's/^/| /' conftest.$ac_ext >&5 
     3872 
     3873        ac_cv_lib_nsl_puts=no 
     3874fi 
     3875 
     3876rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3877      conftest$ac_exeext conftest.$ac_ext 
    38423878LIBS=$ac_check_lib_save_LIBS 
    38433879fi 
    3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
    3845 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 
    3846 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
     3880{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
     3881echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
     3882if test $ac_cv_lib_nsl_puts = yes; then 
    38473883  cat >>confdefs.h <<_ACEOF 
    38483884#define HAVE_LIBNSL 1 
     
    38533889fi 
    38543890 
    3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    3856 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3857 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    3858   $as_echo_n "(cached) " >&6 
     3891 
     3892{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3893echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
     3894if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3895  echo $ECHO_N "(cached) $ECHO_C" >&6 
    38593896else 
    38603897  ac_check_lib_save_LIBS=$LIBS 
    38613898LIBS="-luuid  $LIBS" 
    3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3899cat >conftest.$ac_ext <<_ACEOF 
     3900/* confdefs.h.  */ 
     3901_ACEOF 
     3902cat confdefs.h >>conftest.$ac_ext 
     3903cat >>conftest.$ac_ext <<_ACEOF 
    38633904/* end confdefs.h.  */ 
    38643905 
     
    38783919} 
    38793920_ACEOF 
    3880 if ac_fn_c_try_link "$LINENO"; then : 
     3921rm -f conftest.$ac_objext conftest$ac_exeext 
     3922if { (ac_try="$ac_link" 
     3923case "(($ac_try" in 
     3924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3925  *) ac_try_echo=$ac_try;; 
     3926esac 
     3927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3928  (eval "$ac_link") 2>conftest.er1 
     3929  ac_status=$? 
     3930  grep -v '^ *+' conftest.er1 >conftest.err 
     3931  rm -f conftest.er1 
     3932  cat conftest.err >&5 
     3933  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3934  (exit $ac_status); } && { 
     3935         test -z "$ac_c_werror_flag" || 
     3936         test ! -s conftest.err 
     3937       } && test -s conftest$ac_exeext && 
     3938       $as_test_x conftest$ac_exeext; then 
    38813939  ac_cv_lib_uuid_uuid_generate=yes 
    38823940else 
    3883   ac_cv_lib_uuid_uuid_generate=no 
    3884 fi 
    3885 rm -f core conftest.err conftest.$ac_objext \ 
    3886     conftest$ac_exeext conftest.$ac_ext 
     3941  echo "$as_me: failed program was:" >&5 
     3942sed 's/^/| /' conftest.$ac_ext >&5 
     3943 
     3944        ac_cv_lib_uuid_uuid_generate=no 
     3945fi 
     3946 
     3947rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     3948      conftest$ac_exeext conftest.$ac_ext 
    38873949LIBS=$ac_check_lib_save_LIBS 
    38883950fi 
    3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3890 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3891 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     3951{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3952echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3953if test $ac_cv_lib_uuid_uuid_generate = yes; then 
    38923954  cat >>confdefs.h <<_ACEOF 
    38933955#define HAVE_LIBUUID 1 
     
    38983960fi 
    38993961 
    3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    3901 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3902 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    3903   $as_echo_n "(cached) " >&6 
     3962{ echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3963echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
     3964if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3965  echo $ECHO_N "(cached) $ECHO_C" >&6 
    39043966else 
    39053967  ac_check_lib_save_LIBS=$LIBS 
    39063968LIBS="-luuid  $LIBS" 
    3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     3969cat >conftest.$ac_ext <<_ACEOF 
     3970/* confdefs.h.  */ 
     3971_ACEOF 
     3972cat confdefs.h >>conftest.$ac_ext 
     3973cat >>conftest.$ac_ext <<_ACEOF 
    39083974/* end confdefs.h.  */ 
    39093975 
     
    39233989} 
    39243990_ACEOF 
    3925 if ac_fn_c_try_link "$LINENO"; then : 
     3991rm -f conftest.$ac_objext conftest$ac_exeext 
     3992if { (ac_try="$ac_link" 
     3993case "(($ac_try" in 
     3994  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     3995  *) ac_try_echo=$ac_try;; 
     3996esac 
     3997eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     3998  (eval "$ac_link") 2>conftest.er1 
     3999  ac_status=$? 
     4000  grep -v '^ *+' conftest.er1 >conftest.err 
     4001  rm -f conftest.er1 
     4002  cat conftest.err >&5 
     4003  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4004  (exit $ac_status); } && { 
     4005         test -z "$ac_c_werror_flag" || 
     4006         test ! -s conftest.err 
     4007       } && test -s conftest$ac_exeext && 
     4008       $as_test_x conftest$ac_exeext; then 
    39264009  ac_cv_lib_uuid_uuid_generate=yes 
    39274010else 
    3928   ac_cv_lib_uuid_uuid_generate=no 
    3929 fi 
    3930 rm -f core conftest.err conftest.$ac_objext \ 
    3931     conftest$ac_exeext conftest.$ac_ext 
     4011  echo "$as_me: failed program was:" >&5 
     4012sed 's/^/| /' conftest.$ac_ext >&5 
     4013 
     4014        ac_cv_lib_uuid_uuid_generate=no 
     4015fi 
     4016 
     4017rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     4018      conftest$ac_exeext conftest.$ac_ext 
    39324019LIBS=$ac_check_lib_save_LIBS 
    39334020fi 
    3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3935 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3936 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
     4021{ echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     4022echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
     4023if test $ac_cv_lib_uuid_uuid_generate = yes; then 
    39374024  ac_has_uuid_lib=1 
    39384025fi 
    39394026 
    39404027 
    3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
    3942 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
     4028{ echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
     4029echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
    39434030cat >>confdefs.h <<_ACEOF 
    39444031#define PJ_M_NAME "$target_cpu" 
     
    39464033 
    39474034 
    3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
    3949 $as_echo_n "checking memory alignment... " >&6; } 
     4035{ echo "$as_me:$LINENO: checking memory alignment" >&5 
     4036echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
    39504037case $target in 
    39514038    sparc64-* | ia64-* | x86_64-* ) 
    3952         $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
    3953  
    3954         { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
    3955 $as_echo "8 bytes" >&6; } 
     4039        cat >>confdefs.h <<\_ACEOF 
     4040#define PJ_POOL_ALIGNMENT 8 
     4041_ACEOF 
     4042 
     4043        { echo "$as_me:$LINENO: result: 8 bytes" >&5 
     4044echo "${ECHO_T}8 bytes" >&6; } 
    39564045        ;; 
    39574046    * ) 
    3958         $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
    3959  
    3960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
    3961 $as_echo "4 bytes (default)" >&6; } 
     4047        cat >>confdefs.h <<\_ACEOF 
     4048#define PJ_POOL_ALIGNMENT 4 
     4049_ACEOF 
     4050 
     4051        { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
     4052echo "${ECHO_T}4 bytes (default)" >&6; } 
    39624053        ;; 
    39634054esac 
     
    39694060ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    39704061ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
    3972 $as_echo_n "checking how to run the C preprocessor... " >&6; } 
     4062{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     4063echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
    39734064# On Suns, sometimes $CPP names a directory. 
    39744065if test -n "$CPP" && test -d "$CPP"; then 
     
    39764067fi 
    39774068if test -z "$CPP"; then 
    3978   if test "${ac_cv_prog_CPP+set}" = set; then : 
    3979   $as_echo_n "(cached) " >&6 
     4069  if test "${ac_cv_prog_CPP+set}" = set; then 
     4070  echo $ECHO_N "(cached) $ECHO_C" >&6 
    39804071else 
    39814072      # Double quotes because CPP needs to be expanded 
     
    39914082  # On the NeXT, cc -E runs the code through the compiler's parser, 
    39924083  # not just through cpp. "Syntax error" is here to catch this case. 
    3993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4084  cat >conftest.$ac_ext <<_ACEOF 
     4085/* confdefs.h.  */ 
     4086_ACEOF 
     4087cat confdefs.h >>conftest.$ac_ext 
     4088cat >>conftest.$ac_ext <<_ACEOF 
    39944089/* end confdefs.h.  */ 
    39954090#ifdef __STDC__ 
     
    40004095                     Syntax error 
    40014096_ACEOF 
    4002 if ac_fn_c_try_cpp "$LINENO"; then : 
    4003  
    4004 else 
     4097if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4098case "(($ac_try" in 
     4099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4100  *) ac_try_echo=$ac_try;; 
     4101esac 
     4102eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4103  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4104  ac_status=$? 
     4105  grep -v '^ *+' conftest.er1 >conftest.err 
     4106  rm -f conftest.er1 
     4107  cat conftest.err >&5 
     4108  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4109  (exit $ac_status); } >/dev/null && { 
     4110         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4111         test ! -s conftest.err 
     4112       }; then 
     4113  : 
     4114else 
     4115  echo "$as_me: failed program was:" >&5 
     4116sed 's/^/| /' conftest.$ac_ext >&5 
     4117 
    40054118  # Broken: fails on valid input. 
    40064119continue 
    40074120fi 
     4121 
    40084122rm -f conftest.err conftest.$ac_ext 
    40094123 
    40104124  # OK, works on sane cases.  Now check whether nonexistent headers 
    40114125  # can be detected and how. 
    4012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4126  cat >conftest.$ac_ext <<_ACEOF 
     4127/* confdefs.h.  */ 
     4128_ACEOF 
     4129cat confdefs.h >>conftest.$ac_ext 
     4130cat >>conftest.$ac_ext <<_ACEOF 
    40134131/* end confdefs.h.  */ 
    40144132#include <ac_nonexistent.h> 
    40154133_ACEOF 
    4016 if ac_fn_c_try_cpp "$LINENO"; then : 
     4134if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4135case "(($ac_try" in 
     4136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4137  *) ac_try_echo=$ac_try;; 
     4138esac 
     4139eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4140  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4141  ac_status=$? 
     4142  grep -v '^ *+' conftest.er1 >conftest.err 
     4143  rm -f conftest.er1 
     4144  cat conftest.err >&5 
     4145  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4146  (exit $ac_status); } >/dev/null && { 
     4147         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4148         test ! -s conftest.err 
     4149       }; then 
    40174150  # Broken: success on invalid input. 
    40184151continue 
    40194152else 
     4153  echo "$as_me: failed program was:" >&5 
     4154sed 's/^/| /' conftest.$ac_ext >&5 
     4155 
    40204156  # Passes both tests. 
    40214157ac_preproc_ok=: 
    40224158break 
    40234159fi 
     4160 
    40244161rm -f conftest.err conftest.$ac_ext 
    40254162 
     
    40274164# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    40284165rm -f conftest.err conftest.$ac_ext 
    4029 if $ac_preproc_ok; then : 
     4166if $ac_preproc_ok; then 
    40304167  break 
    40314168fi 
     
    40394176  ac_cv_prog_CPP=$CPP 
    40404177fi 
    4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
    4042 $as_echo "$CPP" >&6; } 
     4178{ echo "$as_me:$LINENO: result: $CPP" >&5 
     4179echo "${ECHO_T}$CPP" >&6; } 
    40434180ac_preproc_ok=false 
    40444181for ac_c_preproc_warn_flag in '' yes 
     
    40504187  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40514188  # not just through cpp. "Syntax error" is here to catch this case. 
    4052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4189  cat >conftest.$ac_ext <<_ACEOF 
     4190/* confdefs.h.  */ 
     4191_ACEOF 
     4192cat confdefs.h >>conftest.$ac_ext 
     4193cat >>conftest.$ac_ext <<_ACEOF 
    40534194/* end confdefs.h.  */ 
    40544195#ifdef __STDC__ 
     
    40594200                     Syntax error 
    40604201_ACEOF 
    4061 if ac_fn_c_try_cpp "$LINENO"; then : 
    4062  
    4063 else 
     4202if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4203case "(($ac_try" in 
     4204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4205  *) ac_try_echo=$ac_try;; 
     4206esac 
     4207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4208  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4209  ac_status=$? 
     4210  grep -v '^ *+' conftest.er1 >conftest.err 
     4211  rm -f conftest.er1 
     4212  cat conftest.err >&5 
     4213  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4214  (exit $ac_status); } >/dev/null && { 
     4215         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4216         test ! -s conftest.err 
     4217       }; then 
     4218  : 
     4219else 
     4220  echo "$as_me: failed program was:" >&5 
     4221sed 's/^/| /' conftest.$ac_ext >&5 
     4222 
    40644223  # Broken: fails on valid input. 
    40654224continue 
    40664225fi 
     4226 
    40674227rm -f conftest.err conftest.$ac_ext 
    40684228 
    40694229  # OK, works on sane cases.  Now check whether nonexistent headers 
    40704230  # can be detected and how. 
    4071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4231  cat >conftest.$ac_ext <<_ACEOF 
     4232/* confdefs.h.  */ 
     4233_ACEOF 
     4234cat confdefs.h >>conftest.$ac_ext 
     4235cat >>conftest.$ac_ext <<_ACEOF 
    40724236/* end confdefs.h.  */ 
    40734237#include <ac_nonexistent.h> 
    40744238_ACEOF 
    4075 if ac_fn_c_try_cpp "$LINENO"; then : 
     4239if { (ac_try="$ac_cpp conftest.$ac_ext" 
     4240case "(($ac_try" in 
     4241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4242  *) ac_try_echo=$ac_try;; 
     4243esac 
     4244eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4245  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     4246  ac_status=$? 
     4247  grep -v '^ *+' conftest.er1 >conftest.err 
     4248  rm -f conftest.er1 
     4249  cat conftest.err >&5 
     4250  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4251  (exit $ac_status); } >/dev/null && { 
     4252         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     4253         test ! -s conftest.err 
     4254       }; then 
    40764255  # Broken: success on invalid input. 
    40774256continue 
    40784257else 
     4258  echo "$as_me: failed program was:" >&5 
     4259sed 's/^/| /' conftest.$ac_ext >&5 
     4260 
    40794261  # Passes both tests. 
    40804262ac_preproc_ok=: 
    40814263break 
    40824264fi 
     4265 
    40834266rm -f conftest.err conftest.$ac_ext 
    40844267 
     
    40864269# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    40874270rm -f conftest.err conftest.$ac_ext 
    4088 if $ac_preproc_ok; then : 
    4089  
    4090 else 
    4091   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    4093 as_fn_error "C preprocessor \"$CPP\" fails sanity check 
    4094 See \`config.log' for more details." "$LINENO" 5; } 
     4271if $ac_preproc_ok; then 
     4272  : 
     4273else 
     4274  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     4275See \`config.log' for more details." >&5 
     4276echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     4277See \`config.log' for more details." >&2;} 
     4278   { (exit 1); exit 1; }; } 
    40954279fi 
    40964280 
     
    41024286 
    41034287 
    4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    4105 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    4106 if test "${ac_cv_path_GREP+set}" = set; then : 
    4107   $as_echo_n "(cached) " >&6 
    4108 else 
    4109   if test -z "$GREP"; then 
     4288{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
     4289echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
     4290if test "${ac_cv_path_GREP+set}" = set; then 
     4291  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4292else 
     4293  # Extract the first word of "grep ggrep" to use in msg output 
     4294if test -z "$GREP"; then 
     4295set dummy grep ggrep; ac_prog_name=$2 
     4296if test "${ac_cv_path_GREP+set}" = set; then 
     4297  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4298else 
    41104299  ac_path_GREP_found=false 
    4111   # Loop through the user's path and test for each of PROGNAME-LIST 
    4112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4300# Loop through the user's path and test for each of PROGNAME-LIST 
     4301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    41134302for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    41144303do 
    41154304  IFS=$as_save_IFS 
    41164305  test -z "$as_dir" && as_dir=. 
    4117     for ac_prog in grep ggrep; do 
    4118     for ac_exec_ext in '' $ac_executable_extensions; do 
    4119       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4120       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4121 # Check for GNU ac_path_GREP and select it if it is found. 
     4306  for ac_prog in grep ggrep; do 
     4307  for ac_exec_ext in '' $ac_executable_extensions; do 
     4308    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4309    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4310    # Check for GNU ac_path_GREP and select it if it is found. 
    41224311  # Check for GNU $ac_path_GREP 
    41234312case `"$ac_path_GREP" --version 2>&1` in 
     
    41264315*) 
    41274316  ac_count=0 
    4128   $as_echo_n 0123456789 >"conftest.in" 
     4317  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
    41294318  while : 
    41304319  do 
     
    41324321    mv "conftest.tmp" "conftest.in" 
    41334322    cp "conftest.in" "conftest.nl" 
    4134     $as_echo 'GREP' >> "conftest.nl" 
     4323    echo 'GREP' >> "conftest.nl" 
    41354324    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    41364325    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4137     as_fn_arith $ac_count + 1 && ac_count=$as_val 
     4326    ac_count=`expr $ac_count + 1` 
    41384327    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    41394328      # Best one so far, save it but keep looking for a better one 
     
    41474336esac 
    41484337 
    4149       $ac_path_GREP_found && break 3 
    4150     done 
     4338 
     4339    $ac_path_GREP_found && break 3 
    41514340  done 
    4152   done 
     4341done 
     4342 
     4343done 
    41534344IFS=$as_save_IFS 
    4154   if test -z "$ac_cv_path_GREP"; then 
    4155     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    4156   fi 
     4345 
     4346 
     4347fi 
     4348 
     4349GREP="$ac_cv_path_GREP" 
     4350if test -z "$GREP"; then 
     4351  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
     4352echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
     4353   { (exit 1); exit 1; }; } 
     4354fi 
     4355 
    41574356else 
    41584357  ac_cv_path_GREP=$GREP 
    41594358fi 
    41604359 
    4161 fi 
    4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
    4163 $as_echo "$ac_cv_path_GREP" >&6; } 
     4360 
     4361fi 
     4362{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
     4363echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
    41644364 GREP="$ac_cv_path_GREP" 
    41654365 
    41664366 
    4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    4168 $as_echo_n "checking for egrep... " >&6; } 
    4169 if test "${ac_cv_path_EGREP+set}" = set; then : 
    4170   $as_echo_n "(cached) " >&6 
     4367{ echo "$as_me:$LINENO: checking for egrep" >&5 
     4368echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
     4369if test "${ac_cv_path_EGREP+set}" = set; then 
     4370  echo $ECHO_N "(cached) $ECHO_C" >&6 
    41714371else 
    41724372  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    41734373   then ac_cv_path_EGREP="$GREP -E" 
    41744374   else 
    4175      if test -z "$EGREP"; then 
     4375     # Extract the first word of "egrep" to use in msg output 
     4376if test -z "$EGREP"; then 
     4377set dummy egrep; ac_prog_name=$2 
     4378if test "${ac_cv_path_EGREP+set}" = set; then 
     4379  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4380else 
    41764381  ac_path_EGREP_found=false 
    4177   # Loop through the user's path and test for each of PROGNAME-LIST 
    4178   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4382# Loop through the user's path and test for each of PROGNAME-LIST 
     4383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    41794384for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    41804385do 
    41814386  IFS=$as_save_IFS 
    41824387  test -z "$as_dir" && as_dir=. 
    4183     for ac_prog in egrep; do 
    4184     for ac_exec_ext in '' $ac_executable_extensions; do 
    4185       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4186       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4187 # Check for GNU ac_path_EGREP and select it if it is found. 
     4388  for ac_prog in egrep; do 
     4389  for ac_exec_ext in '' $ac_executable_extensions; do 
     4390    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4391    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4392    # Check for GNU ac_path_EGREP and select it if it is found. 
    41884393  # Check for GNU $ac_path_EGREP 
    41894394case `"$ac_path_EGREP" --version 2>&1` in 
     
    41924397*) 
    41934398  ac_count=0 
    4194   $as_echo_n 0123456789 >"conftest.in" 
     4399  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
    41954400  while : 
    41964401  do 
     
    41984403    mv "conftest.tmp" "conftest.in" 
    41994404    cp "conftest.in" "conftest.nl" 
    4200     $as_echo 'EGREP' >> "conftest.nl" 
     4405    echo 'EGREP' >> "conftest.nl" 
    42014406    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    42024407    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4203     as_fn_arith $ac_count + 1 && ac_count=$as_val 
     4408    ac_count=`expr $ac_count + 1` 
    42044409    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    42054410      # Best one so far, save it but keep looking for a better one 
     
    42134418esac 
    42144419 
    4215       $ac_path_EGREP_found && break 3 
    4216     done 
     4420 
     4421    $ac_path_EGREP_found && break 3 
    42174422  done 
    4218   done 
     4423done 
     4424 
     4425done 
    42194426IFS=$as_save_IFS 
    4220   if test -z "$ac_cv_path_EGREP"; then 
    4221     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    4222   fi 
     4427 
     4428 
     4429fi 
     4430 
     4431EGREP="$ac_cv_path_EGREP" 
     4432if test -z "$EGREP"; then 
     4433  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
     4434echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
     4435   { (exit 1); exit 1; }; } 
     4436fi 
     4437 
    42234438else 
    42244439  ac_cv_path_EGREP=$EGREP 
    42254440fi 
    42264441 
     4442 
    42274443   fi 
    42284444fi 
    4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
    4230 $as_echo "$ac_cv_path_EGREP" >&6; } 
     4445{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
     4446echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
    42314447 EGREP="$ac_cv_path_EGREP" 
    42324448 
    42334449 
    4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    4235 $as_echo_n "checking for ANSI C header files... " >&6; } 
    4236 if test "${ac_cv_header_stdc+set}" = set; then : 
    4237   $as_echo_n "(cached) " >&6 
    4238 else 
    4239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4450{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     4451echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
     4452if test "${ac_cv_header_stdc+set}" = set; then 
     4453  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4454else 
     4455  cat >conftest.$ac_ext <<_ACEOF 
     4456/* confdefs.h.  */ 
     4457_ACEOF 
     4458cat confdefs.h >>conftest.$ac_ext 
     4459cat >>conftest.$ac_ext <<_ACEOF 
    42404460/* end confdefs.h.  */ 
    42414461#include <stdlib.h> 
     
    42524472} 
    42534473_ACEOF 
    4254 if ac_fn_c_try_compile "$LINENO"; then : 
     4474rm -f conftest.$ac_objext 
     4475if { (ac_try="$ac_compile" 
     4476case "(($ac_try" in 
     4477  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4478  *) ac_try_echo=$ac_try;; 
     4479esac 
     4480eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4481  (eval "$ac_compile") 2>conftest.er1 
     4482  ac_status=$? 
     4483  grep -v '^ *+' conftest.er1 >conftest.err 
     4484  rm -f conftest.er1 
     4485  cat conftest.err >&5 
     4486  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4487  (exit $ac_status); } && { 
     4488         test -z "$ac_c_werror_flag" || 
     4489         test ! -s conftest.err 
     4490       } && test -s conftest.$ac_objext; then 
    42554491  ac_cv_header_stdc=yes 
    42564492else 
    4257   ac_cv_header_stdc=no 
    4258 fi 
     4493  echo "$as_me: failed program was:" >&5 
     4494sed 's/^/| /' conftest.$ac_ext >&5 
     4495 
     4496        ac_cv_header_stdc=no 
     4497fi 
     4498 
    42594499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    42604500 
    42614501if test $ac_cv_header_stdc = yes; then 
    42624502  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4503  cat >conftest.$ac_ext <<_ACEOF 
     4504/* confdefs.h.  */ 
     4505_ACEOF 
     4506cat confdefs.h >>conftest.$ac_ext 
     4507cat >>conftest.$ac_ext <<_ACEOF 
    42644508/* end confdefs.h.  */ 
    42654509#include <string.h> 
     
    42674511_ACEOF 
    42684512if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4269   $EGREP "memchr" >/dev/null 2>&1; then : 
    4270  
     4513  $EGREP "memchr" >/dev/null 2>&1; then 
     4514  : 
    42714515else 
    42724516  ac_cv_header_stdc=no 
    42734517fi 
    4274 rm -f conftest* 
     4518rm -f -r conftest* 
    42754519 
    42764520fi 
     
    42784522if test $ac_cv_header_stdc = yes; then 
    42794523  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4524  cat >conftest.$ac_ext <<_ACEOF 
     4525/* confdefs.h.  */ 
     4526_ACEOF 
     4527cat confdefs.h >>conftest.$ac_ext 
     4528cat >>conftest.$ac_ext <<_ACEOF 
    42814529/* end confdefs.h.  */ 
    42824530#include <stdlib.h> 
     
    42844532_ACEOF 
    42854533if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4286   $EGREP "free" >/dev/null 2>&1; then : 
    4287  
     4534  $EGREP "free" >/dev/null 2>&1; then 
     4535  : 
    42884536else 
    42894537  ac_cv_header_stdc=no 
    42904538fi 
    4291 rm -f conftest* 
     4539rm -f -r conftest* 
    42924540 
    42934541fi 
     
    42954543if test $ac_cv_header_stdc = yes; then 
    42964544  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4297   if test "$cross_compiling" = yes; then : 
     4545  if test "$cross_compiling" = yes; then 
    42984546  : 
    42994547else 
    4300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4548  cat >conftest.$ac_ext <<_ACEOF 
     4549/* confdefs.h.  */ 
     4550_ACEOF 
     4551cat confdefs.h >>conftest.$ac_ext 
     4552cat >>conftest.$ac_ext <<_ACEOF 
    43014553/* end confdefs.h.  */ 
    43024554#include <ctype.h> 
     
    43254577} 
    43264578_ACEOF 
    4327 if ac_fn_c_try_run "$LINENO"; then : 
    4328  
    4329 else 
    4330   ac_cv_header_stdc=no 
    4331 fi 
    4332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
    4333   conftest.$ac_objext conftest.beam conftest.$ac_ext 
    4334 fi 
    4335  
    4336 fi 
    4337 fi 
    4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
    4339 $as_echo "$ac_cv_header_stdc" >&6; } 
     4579rm -f conftest$ac_exeext 
     4580if { (ac_try="$ac_link" 
     4581case "(($ac_try" in 
     4582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4583  *) ac_try_echo=$ac_try;; 
     4584esac 
     4585eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4586  (eval "$ac_link") 2>&5 
     4587  ac_status=$? 
     4588  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4589  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4590  { (case "(($ac_try" in 
     4591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4592  *) ac_try_echo=$ac_try;; 
     4593esac 
     4594eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4595  (eval "$ac_try") 2>&5 
     4596  ac_status=$? 
     4597  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4598  (exit $ac_status); }; }; then 
     4599  : 
     4600else 
     4601  echo "$as_me: program exited with status $ac_status" >&5 
     4602echo "$as_me: failed program was:" >&5 
     4603sed 's/^/| /' conftest.$ac_ext >&5 
     4604 
     4605( exit $ac_status ) 
     4606ac_cv_header_stdc=no 
     4607fi 
     4608rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4609fi 
     4610 
     4611 
     4612fi 
     4613fi 
     4614{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     4615echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
    43404616if test $ac_cv_header_stdc = yes; then 
    43414617 
    4342 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 
     4618cat >>confdefs.h <<\_ACEOF 
     4619#define STDC_HEADERS 1 
     4620_ACEOF 
    43434621 
    43444622fi 
    43454623 
    43464624# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     4625 
     4626 
     4627 
     4628 
     4629 
     4630 
     4631 
     4632 
     4633 
    43474634for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    43484635                  inttypes.h stdint.h unistd.h 
    4349 do : 
    4350   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
    4352 " 
    4353 eval as_val=\$$as_ac_Header 
    4354    if test "x$as_val" = x""yes; then : 
     4636do 
     4637as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4638{ echo "$as_me:$LINENO: checking for $ac_header" >&5 
     4639echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
     4640if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
     4641  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4642else 
     4643  cat >conftest.$ac_ext <<_ACEOF 
     4644/* confdefs.h.  */ 
     4645_ACEOF 
     4646cat confdefs.h >>conftest.$ac_ext 
     4647cat >>conftest.$ac_ext <<_ACEOF 
     4648/* end confdefs.h.  */ 
     4649$ac_includes_default 
     4650 
     4651#include <$ac_header> 
     4652_ACEOF 
     4653rm -f conftest.$ac_objext 
     4654if { (ac_try="$ac_compile" 
     4655case "(($ac_try" in 
     4656  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4657  *) ac_try_echo=$ac_try;; 
     4658esac 
     4659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4660  (eval "$ac_compile") 2>conftest.er1 
     4661  ac_status=$? 
     4662  grep -v '^ *+' conftest.er1 >conftest.err 
     4663  rm -f conftest.er1 
     4664  cat conftest.err >&5 
     4665  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4666  (exit $ac_status); } && { 
     4667         test -z "$ac_c_werror_flag" || 
     4668         test ! -s conftest.err 
     4669       } && test -s conftest.$ac_objext; then 
     4670  eval "$as_ac_Header=yes" 
     4671else 
     4672  echo "$as_me: failed program was:" >&5 
     4673sed 's/^/| /' conftest.$ac_ext >&5 
     4674 
     4675        eval "$as_ac_Header=no" 
     4676fi 
     4677 
     4678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4679fi 
     4680ac_res=`eval echo '${'$as_ac_Header'}'` 
     4681               { echo "$as_me:$LINENO: result: $ac_res" >&5 
     4682echo "${ECHO_T}$ac_res" >&6; } 
     4683if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    43554684  cat >>confdefs.h <<_ACEOF 
    4356 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4685#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    43574686_ACEOF 
    43584687 
     
    43624691 
    43634692 
    4364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    4365 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    4366 if test "${ac_cv_c_bigendian+set}" = set; then : 
    4367   $as_echo_n "(cached) " >&6 
    4368 else 
    4369   ac_cv_c_bigendian=unknown 
    4370     # See if we're dealing with a universal compiler. 
    4371     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4372 /* end confdefs.h.  */ 
    4373 #ifndef __APPLE_CC__ 
    4374                not a universal capable compiler 
    4375              #endif 
    4376              typedef int dummy; 
    4377  
    4378 _ACEOF 
    4379 if ac_fn_c_try_compile "$LINENO"; then : 
    4380  
    4381         # Check for potential -arch flags.  It is not universal unless 
    4382         # there are at least two -arch flags with different values. 
    4383         ac_arch= 
    4384         ac_prev= 
    4385         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
    4386          if test -n "$ac_prev"; then 
    4387            case $ac_word in 
    4388              i?86 | x86_64 | ppc | ppc64) 
    4389                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
    4390                  ac_arch=$ac_word 
    4391                else 
    4392                  ac_cv_c_bigendian=universal 
    4393                  break 
    4394                fi 
    4395                ;; 
    4396            esac 
    4397            ac_prev= 
    4398          elif test "x$ac_word" = "x-arch"; then 
    4399            ac_prev=arch 
    4400          fi 
    4401        done 
    4402 fi 
    4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4404     if test $ac_cv_c_bigendian = unknown; then 
    4405       # See if sys/param.h defines the BYTE_ORDER macro. 
    4406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4693{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
     4694echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
     4695if test "${ac_cv_c_bigendian+set}" = set; then 
     4696  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4697else 
     4698  # See if sys/param.h defines the BYTE_ORDER macro. 
     4699cat >conftest.$ac_ext <<_ACEOF 
     4700/* confdefs.h.  */ 
     4701_ACEOF 
     4702cat confdefs.h >>conftest.$ac_ext 
     4703cat >>conftest.$ac_ext <<_ACEOF 
    44074704/* end confdefs.h.  */ 
    44084705#include <sys/types.h> 
    4409              #include <sys/param.h> 
     4706#include <sys/param.h> 
    44104707 
    44114708int 
    44124709main () 
    44134710{ 
    4414 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
    4415                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
    4416                      && LITTLE_ENDIAN) 
    4417               bogus endian macros 
    4418              #endif 
     4711#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
     4712        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
     4713 bogus endian macros 
     4714#endif 
    44194715 
    44204716  ; 
     
    44224718} 
    44234719_ACEOF 
    4424 if ac_fn_c_try_compile "$LINENO"; then : 
     4720rm -f conftest.$ac_objext 
     4721if { (ac_try="$ac_compile" 
     4722case "(($ac_try" in 
     4723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4724  *) ac_try_echo=$ac_try;; 
     4725esac 
     4726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4727  (eval "$ac_compile") 2>conftest.er1 
     4728  ac_status=$? 
     4729  grep -v '^ *+' conftest.er1 >conftest.err 
     4730  rm -f conftest.er1 
     4731  cat conftest.err >&5 
     4732  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4733  (exit $ac_status); } && { 
     4734         test -z "$ac_c_werror_flag" || 
     4735         test ! -s conftest.err 
     4736       } && test -s conftest.$ac_objext; then 
    44254737  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4426          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4738cat >conftest.$ac_ext <<_ACEOF 
     4739/* confdefs.h.  */ 
     4740_ACEOF 
     4741cat confdefs.h >>conftest.$ac_ext 
     4742cat >>conftest.$ac_ext <<_ACEOF 
    44274743/* end confdefs.h.  */ 
    44284744#include <sys/types.h> 
    4429                 #include <sys/param.h> 
     4745#include <sys/param.h> 
    44304746 
    44314747int 
     
    44334749{ 
    44344750#if BYTE_ORDER != BIG_ENDIAN 
    4435                 not big endian 
    4436                 #endif 
     4751 not big endian 
     4752#endif 
    44374753 
    44384754  ; 
     
    44404756} 
    44414757_ACEOF 
    4442 if ac_fn_c_try_compile "$LINENO"; then : 
     4758rm -f conftest.$ac_objext 
     4759if { (ac_try="$ac_compile" 
     4760case "(($ac_try" in 
     4761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4762  *) ac_try_echo=$ac_try;; 
     4763esac 
     4764eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4765  (eval "$ac_compile") 2>conftest.er1 
     4766  ac_status=$? 
     4767  grep -v '^ *+' conftest.er1 >conftest.err 
     4768  rm -f conftest.er1 
     4769  cat conftest.err >&5 
     4770  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4771  (exit $ac_status); } && { 
     4772         test -z "$ac_c_werror_flag" || 
     4773         test ! -s conftest.err 
     4774       } && test -s conftest.$ac_objext; then 
    44434775  ac_cv_c_bigendian=yes 
    44444776else 
    4445   ac_cv_c_bigendian=no 
    4446 fi 
     4777  echo "$as_me: failed program was:" >&5 
     4778sed 's/^/| /' conftest.$ac_ext >&5 
     4779 
     4780        ac_cv_c_bigendian=no 
     4781fi 
     4782 
    44474783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4448 fi 
    4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4450     fi 
    4451     if test $ac_cv_c_bigendian = unknown; then 
    4452       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
    4453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4454 /* end confdefs.h.  */ 
    4455 #include <limits.h> 
    4456  
     4784else 
     4785  echo "$as_me: failed program was:" >&5 
     4786sed 's/^/| /' conftest.$ac_ext >&5 
     4787 
     4788        # It does not; compile a test program. 
     4789if test "$cross_compiling" = yes; then 
     4790  # try to guess the endianness by grepping values into an object file 
     4791  ac_cv_c_bigendian=unknown 
     4792  cat >conftest.$ac_ext <<_ACEOF 
     4793/* confdefs.h.  */ 
     4794_ACEOF 
     4795cat confdefs.h >>conftest.$ac_ext 
     4796cat >>conftest.$ac_ext <<_ACEOF 
     4797/* end confdefs.h.  */ 
     4798short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4799short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4800void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
     4801short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4802short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4803void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
    44574804int 
    44584805main () 
    44594806{ 
    4460 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
    4461               bogus endian macros 
    4462              #endif 
    4463  
     4807 _ascii (); _ebcdic (); 
    44644808  ; 
    44654809  return 0; 
    44664810} 
    44674811_ACEOF 
    4468 if ac_fn_c_try_compile "$LINENO"; then : 
    4469   # It does; now see whether it defined to _BIG_ENDIAN or not. 
    4470          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4471 /* end confdefs.h.  */ 
    4472 #include <limits.h> 
    4473  
    4474 int 
    4475 main () 
    4476 { 
    4477 #ifndef _BIG_ENDIAN 
    4478                  not big endian 
    4479                 #endif 
    4480  
    4481   ; 
    4482   return 0; 
    4483 } 
    4484 _ACEOF 
    4485 if ac_fn_c_try_compile "$LINENO"; then : 
     4812rm -f conftest.$ac_objext 
     4813if { (ac_try="$ac_compile" 
     4814case "(($ac_try" in 
     4815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4816  *) ac_try_echo=$ac_try;; 
     4817esac 
     4818eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4819  (eval "$ac_compile") 2>conftest.er1 
     4820  ac_status=$? 
     4821  grep -v '^ *+' conftest.er1 >conftest.err 
     4822  rm -f conftest.er1 
     4823  cat conftest.err >&5 
     4824  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4825  (exit $ac_status); } && { 
     4826         test -z "$ac_c_werror_flag" || 
     4827         test ! -s conftest.err 
     4828       } && test -s conftest.$ac_objext; then 
     4829  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
    44864830  ac_cv_c_bigendian=yes 
    4487 else 
    4488   ac_cv_c_bigendian=no 
    4489 fi 
     4831fi 
     4832if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4833  if test "$ac_cv_c_bigendian" = unknown; then 
     4834    ac_cv_c_bigendian=no 
     4835  else 
     4836    # finding both strings is unlikely to happen, but who knows? 
     4837    ac_cv_c_bigendian=unknown 
     4838  fi 
     4839fi 
     4840else 
     4841  echo "$as_me: failed program was:" >&5 
     4842sed 's/^/| /' conftest.$ac_ext >&5 
     4843 
     4844 
     4845fi 
     4846 
    44904847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4491 fi 
    4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4493     fi 
    4494     if test $ac_cv_c_bigendian = unknown; then 
    4495       # Compile a test program. 
    4496       if test "$cross_compiling" = yes; then : 
    4497   # Try to guess by grepping values from an object file. 
    4498          cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    4499 /* end confdefs.h.  */ 
    4500 short int ascii_mm[] = 
    4501                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4502                 short int ascii_ii[] = 
    4503                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4504                 int use_ascii (int i) { 
    4505                   return ascii_mm[i] + ascii_ii[i]; 
    4506                 } 
    4507                 short int ebcdic_ii[] = 
    4508                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4509                 short int ebcdic_mm[] = 
    4510                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4511                 int use_ebcdic (int i) { 
    4512                   return ebcdic_mm[i] + ebcdic_ii[i]; 
    4513                 } 
    4514                 extern int foo; 
    4515  
    4516 int 
    4517 main () 
    4518 { 
    4519 return use_ascii (foo) == use_ebcdic (foo); 
    4520   ; 
    4521   return 0; 
    4522 } 
    4523 _ACEOF 
    4524 if ac_fn_c_try_compile "$LINENO"; then : 
    4525   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
    4526               ac_cv_c_bigendian=yes 
    4527             fi 
    4528             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4529               if test "$ac_cv_c_bigendian" = unknown; then 
    4530                 ac_cv_c_bigendian=no 
    4531               else 
    4532                 # finding both strings is unlikely to happen, but who knows? 
    4533                 ac_cv_c_bigendian=unknown 
    4534               fi 
    4535             fi 
    4536 fi 
    4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4538 else 
    4539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4848else 
     4849  cat >conftest.$ac_ext <<_ACEOF 
     4850/* confdefs.h.  */ 
     4851_ACEOF 
     4852cat confdefs.h >>conftest.$ac_ext 
     4853cat >>conftest.$ac_ext <<_ACEOF 
    45404854/* end confdefs.h.  */ 
    45414855$ac_includes_default 
     
    45444858{ 
    45454859 
    4546              /* Are we little or big endian?  From Harbison&Steele.  */ 
    4547              union 
    4548              { 
    4549                long int l; 
    4550                char c[sizeof (long int)]; 
    4551              } u; 
    4552              u.l = 1; 
    4553              return u.c[sizeof (long int) - 1] == 1; 
     4860  /* Are we little or big endian?  From Harbison&Steele.  */ 
     4861  union 
     4862  { 
     4863    long int l; 
     4864    char c[sizeof (long int)]; 
     4865  } u; 
     4866  u.l = 1; 
     4867  return u.c[sizeof (long int) - 1] == 1; 
    45544868 
    45554869  ; 
     
    45574871} 
    45584872_ACEOF 
    4559 if ac_fn_c_try_run "$LINENO"; then : 
     4873rm -f conftest$ac_exeext 
     4874if { (ac_try="$ac_link" 
     4875case "(($ac_try" in 
     4876  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4877  *) ac_try_echo=$ac_try;; 
     4878esac 
     4879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4880  (eval "$ac_link") 2>&5 
     4881  ac_status=$? 
     4882  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4883  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4884  { (case "(($ac_try" in 
     4885  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     4886  *) ac_try_echo=$ac_try;; 
     4887esac 
     4888eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     4889  (eval "$ac_try") 2>&5 
     4890  ac_status=$? 
     4891  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4892  (exit $ac_status); }; }; then 
    45604893  ac_cv_c_bigendian=no 
    45614894else 
    4562   ac_cv_c_bigendian=yes 
    4563 fi 
    4564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
    4565   conftest.$ac_objext conftest.beam conftest.$ac_ext 
    4566 fi 
    4567  
    4568     fi 
    4569 fi 
    4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
    4571 $as_echo "$ac_cv_c_bigendian" >&6; } 
    4572  case $ac_cv_c_bigendian in #( 
    4573    yes) 
    4574      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
    4575 ;; #( 
    4576    no) 
    4577       ;; #( 
    4578    universal) 
    4579  
    4580 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
    4581  
    4582      ;; #( 
    4583    *) 
    4584      as_fn_error "unknown endianness 
    4585  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    4586  esac 
     4895  echo "$as_me: program exited with status $ac_status" >&5 
     4896echo "$as_me: failed program was:" >&5 
     4897sed 's/^/| /' conftest.$ac_ext >&5 
     4898 
     4899( exit $ac_status ) 
     4900ac_cv_c_bigendian=yes 
     4901fi 
     4902rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4903fi 
     4904 
     4905 
     4906fi 
     4907 
     4908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4909fi 
     4910{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
     4911echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
     4912case $ac_cv_c_bigendian in 
     4913  yes) 
     4914 
     4915cat >>confdefs.h <<\_ACEOF 
     4916#define WORDS_BIGENDIAN 1 
     4917_ACEOF 
     4918 ;; 
     4919  no) 
     4920     ;; 
     4921  *) 
     4922    { { echo "$as_me:$LINENO: error: unknown endianness 
     4923presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
     4924echo "$as_me: error: unknown endianness 
     4925presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
     4926   { (exit 1); exit 1; }; } ;; 
     4927esac 
    45874928 
    45884929 
    45894930case $target in 
    45904931    *mingw* | *cygw* | *win32* | *w32* ) 
    4591         $as_echo "#define PJ_WIN32 1" >>confdefs.h 
    4592  
    4593         $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
    4594  
    4595         $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
     4932        cat >>confdefs.h <<\_ACEOF 
     4933#define PJ_WIN32 1 
     4934_ACEOF 
     4935 
     4936        cat >>confdefs.h <<\_ACEOF 
     4937#define PJ_WIN32_WINNT 0x0400 
     4938_ACEOF 
     4939 
     4940        cat >>confdefs.h <<\_ACEOF 
     4941#define WIN32_LEAN_AND_MEAN 1 
     4942_ACEOF 
    45964943 
    45974944        ;; 
    45984945    *darwin*) 
    4599         $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
     4946        cat >>confdefs.h <<\_ACEOF 
     4947#define PJ_DARWINOS 1 
     4948_ACEOF 
    46004949 
    46014950        ;; 
    46024951    *linux*) 
    4603         $as_echo "#define PJ_LINUX 1" >>confdefs.h 
     4952        cat >>confdefs.h <<\_ACEOF 
     4953#define PJ_LINUX 1 
     4954_ACEOF 
    46044955 
    46054956        ;; 
    46064957    *rtems*) 
    4607         $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
     4958        cat >>confdefs.h <<\_ACEOF 
     4959#define PJ_RTEMS 1 
     4960_ACEOF 
    46084961 
    46094962        ;; 
    46104963    *sunos* | *solaris* ) 
    4611         $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
     4964        cat >>confdefs.h <<\_ACEOF 
     4965#define PJ_SUNOS 1 
     4966_ACEOF 
    46124967 
    46134968        ;; 
     
    46204975 
    46214976# Check whether --enable-floating-point was given. 
    4622 if test "${enable_floating_point+set}" = set; then : 
     4977if test "${enable_floating_point+set}" = set; then 
    46234978  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4624                 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
    4625  
    4626                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
    4627 $as_echo "Checking if floating point is disabled... yes" >&6; } 
     4979                cat >>confdefs.h <<\_ACEOF 
     4980#define PJ_HAS_FLOATING_POINT 0 
     4981_ACEOF 
     4982 
     4983                { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
     4984echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
    46284985               fi 
    46294986else 
    46304987 
    4631                 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
    4632  
    4633                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
    4634 $as_echo "Checking if floating point is disabled... no" >&6; } 
    4635                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
    4636 $as_echo_n "checking for fmod in -lm... " >&6; } 
    4637 if test "${ac_cv_lib_m_fmod+set}" = set; then : 
    4638   $as_echo_n "(cached) " >&6 
     4988                cat >>confdefs.h <<\_ACEOF 
     4989#define PJ_HAS_FLOATING_POINT 1 
     4990_ACEOF 
     4991 
     4992                { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
     4993echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
     4994 
     4995{ echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
     4996echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
     4997if test "${ac_cv_lib_m_fmod+set}" = set; then 
     4998  echo $ECHO_N "(cached) $ECHO_C" >&6 
    46394999else 
    46405000  ac_check_lib_save_LIBS=$LIBS 
    46415001LIBS="-lm  $LIBS" 
    4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     5002cat >conftest.$ac_ext <<_ACEOF 
     5003/* confdefs.h.  */ 
     5004_ACEOF 
     5005cat confdefs.h >>conftest.$ac_ext 
     5006cat >>conftest.$ac_ext <<_ACEOF 
    46435007/* end confdefs.h.  */ 
    46445008 
     
    46585022} 
    46595023_ACEOF 
    4660 if ac_fn_c_try_link "$LINENO"; then : 
     5024rm -f conftest.$ac_objext conftest$ac_exeext 
     5025if { (ac_try="$ac_link" 
     5026case "(($ac_try" in 
     5027  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5028  *) ac_try_echo=$ac_try;; 
     5029esac 
     5030eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5031  (eval "$ac_link") 2>conftest.er1 
     5032  ac_status=$? 
     5033  grep -v '^ *+' conftest.er1 >conftest.err 
     5034  rm -f conftest.er1 
     5035  cat conftest.err >&5 
     5036  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5037  (exit $ac_status); } && { 
     5038         test -z "$ac_c_werror_flag" || 
     5039         test ! -s conftest.err 
     5040       } && test -s conftest$ac_exeext && 
     5041       $as_test_x conftest$ac_exeext; then 
    46615042  ac_cv_lib_m_fmod=yes 
    46625043else 
    4663   ac_cv_lib_m_fmod=no 
    4664 fi 
    4665 rm -f core conftest.err conftest.$ac_objext \ 
    4666     conftest$ac_exeext conftest.$ac_ext 
     5044  echo "$as_me: failed program was:" >&5 
     5045sed 's/^/| /' conftest.$ac_ext >&5 
     5046 
     5047        ac_cv_lib_m_fmod=no 
     5048fi 
     5049 
     5050rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     5051      conftest$ac_exeext conftest.$ac_ext 
    46675052LIBS=$ac_check_lib_save_LIBS 
    46685053fi 
    4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
    4670 $as_echo "$ac_cv_lib_m_fmod" >&6; } 
    4671 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
     5054{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
     5055echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
     5056if test $ac_cv_lib_m_fmod = yes; then 
    46725057  cat >>confdefs.h <<_ACEOF 
    46735058#define HAVE_LIBM 1 
     
    46835068 
    46845069 
    4685 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
    4686 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
    4687   $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
    4688  
    4689 fi 
    4690  
    4691  
    4692 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
    4693 if test "x$ac_cv_header_assert_h" = x""yes; then : 
    4694   $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
    4695  
    4696 fi 
    4697  
    4698  
    4699 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
    4700 if test "x$ac_cv_header_ctype_h" = x""yes; then : 
    4701   $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
     5070if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5071  { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     5072echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
     5073if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5074  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5075fi 
     5076{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     5077echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
     5078else 
     5079  # Is the header compilable? 
     5080{ echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
     5081echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
     5082cat >conftest.$ac_ext <<_ACEOF 
     5083/* confdefs.h.  */ 
     5084_ACEOF 
     5085cat confdefs.h >>conftest.$ac_ext 
     5086cat >>conftest.$ac_ext <<_ACEOF 
     5087/* end confdefs.h.  */ 
     5088$ac_includes_default 
     5089#include <arpa/inet.h> 
     5090_ACEOF 
     5091rm -f conftest.$ac_objext 
     5092if { (ac_try="$ac_compile" 
     5093case "(($ac_try" in 
     5094  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5095  *) ac_try_echo=$ac_try;; 
     5096esac 
     5097eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5098  (eval "$ac_compile") 2>conftest.er1 
     5099  ac_status=$? 
     5100  grep -v '^ *+' conftest.er1 >conftest.err 
     5101  rm -f conftest.er1 
     5102  cat conftest.err >&5 
     5103  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5104  (exit $ac_status); } && { 
     5105         test -z "$ac_c_werror_flag" || 
     5106         test ! -s conftest.err 
     5107       } && test -s conftest.$ac_objext; then 
     5108  ac_header_compiler=yes 
     5109else 
     5110  echo "$as_me: failed program was:" >&5 
     5111sed 's/^/| /' conftest.$ac_ext >&5 
     5112 
     5113        ac_header_compiler=no 
     5114fi 
     5115 
     5116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5117{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5118echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5119 
     5120# Is the header present? 
     5121{ echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
     5122echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
     5123cat >conftest.$ac_ext <<_ACEOF 
     5124/* confdefs.h.  */ 
     5125_ACEOF 
     5126cat confdefs.h >>conftest.$ac_ext 
     5127cat >>conftest.$ac_ext <<_ACEOF 
     5128/* end confdefs.h.  */ 
     5129#include <arpa/inet.h> 
     5130_ACEOF 
     5131if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5132case "(($ac_try" in 
     5133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5134  *) ac_try_echo=$ac_try;; 
     5135esac 
     5136eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5137  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5138  ac_status=$? 
     5139  grep -v '^ *+' conftest.er1 >conftest.err 
     5140  rm -f conftest.er1 
     5141  cat conftest.err >&5 
     5142  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5143  (exit $ac_status); } >/dev/null && { 
     5144         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5145         test ! -s conftest.err 
     5146       }; then 
     5147  ac_header_preproc=yes 
     5148else 
     5149  echo "$as_me: failed program was:" >&5 
     5150sed 's/^/| /' conftest.$ac_ext >&5 
     5151 
     5152  ac_header_preproc=no 
     5153fi 
     5154 
     5155rm -f conftest.err conftest.$ac_ext 
     5156{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5157echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5158 
     5159# So?  What about this header? 
     5160case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5161  yes:no: ) 
     5162    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5163echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5164    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
     5165echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
     5166    ac_header_preproc=yes 
     5167    ;; 
     5168  no:yes:* ) 
     5169    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
     5170echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
     5171    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
     5172echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
     5173    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
     5174echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
     5175    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5176echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5177    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
     5178echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
     5179    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
     5180echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
     5181 
     5182    ;; 
     5183esac 
     5184{ echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     5185echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
     5186if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     5187  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5188else 
     5189  ac_cv_header_arpa_inet_h=$ac_header_preproc 
     5190fi 
     5191{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     5192echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
     5193 
     5194fi 
     5195if test $ac_cv_header_arpa_inet_h = yes; then 
     5196  cat >>confdefs.h <<\_ACEOF 
     5197#define PJ_HAS_ARPA_INET_H 1 
     5198_ACEOF 
     5199 
     5200fi 
     5201 
     5202 
     5203if test "${ac_cv_header_assert_h+set}" = set; then 
     5204  { echo "$as_me:$LINENO: checking for assert.h" >&5 
     5205echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
     5206if test "${ac_cv_header_assert_h+set}" = set; then 
     5207  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5208fi 
     5209{ echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     5210echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
     5211else 
     5212  # Is the header compilable? 
     5213{ echo "$as_me:$LINENO: checking assert.h usability" >&5 
     5214echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
     5215cat >conftest.$ac_ext <<_ACEOF 
     5216/* confdefs.h.  */ 
     5217_ACEOF 
     5218cat confdefs.h >>conftest.$ac_ext 
     5219cat >>conftest.$ac_ext <<_ACEOF 
     5220/* end confdefs.h.  */ 
     5221$ac_includes_default 
     5222#include <assert.h> 
     5223_ACEOF 
     5224rm -f conftest.$ac_objext 
     5225if { (ac_try="$ac_compile" 
     5226case "(($ac_try" in 
     5227  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5228  *) ac_try_echo=$ac_try;; 
     5229esac 
     5230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5231  (eval "$ac_compile") 2>conftest.er1 
     5232  ac_status=$? 
     5233  grep -v '^ *+' conftest.er1 >conftest.err 
     5234  rm -f conftest.er1 
     5235  cat conftest.err >&5 
     5236  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5237  (exit $ac_status); } && { 
     5238         test -z "$ac_c_werror_flag" || 
     5239         test ! -s conftest.err 
     5240       } && test -s conftest.$ac_objext; then 
     5241  ac_header_compiler=yes 
     5242else 
     5243  echo "$as_me: failed program was:" >&5 
     5244sed 's/^/| /' conftest.$ac_ext >&5 
     5245 
     5246        ac_header_compiler=no 
     5247fi 
     5248 
     5249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5250{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5251echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5252 
     5253# Is the header present? 
     5254{ echo "$as_me:$LINENO: checking assert.h presence" >&5 
     5255echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
     5256cat >conftest.$ac_ext <<_ACEOF 
     5257/* confdefs.h.  */ 
     5258_ACEOF 
     5259cat confdefs.h >>conftest.$ac_ext 
     5260cat >>conftest.$ac_ext <<_ACEOF 
     5261/* end confdefs.h.  */ 
     5262#include <assert.h> 
     5263_ACEOF 
     5264if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5265case "(($ac_try" in 
     5266  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5267  *) ac_try_echo=$ac_try;; 
     5268esac 
     5269eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5270  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5271  ac_status=$? 
     5272  grep -v '^ *+' conftest.er1 >conftest.err 
     5273  rm -f conftest.er1 
     5274  cat conftest.err >&5 
     5275  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5276  (exit $ac_status); } >/dev/null && { 
     5277         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5278         test ! -s conftest.err 
     5279       }; then 
     5280  ac_header_preproc=yes 
     5281else 
     5282  echo "$as_me: failed program was:" >&5 
     5283sed 's/^/| /' conftest.$ac_ext >&5 
     5284 
     5285  ac_header_preproc=no 
     5286fi 
     5287 
     5288rm -f conftest.err conftest.$ac_ext 
     5289{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5290echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5291 
     5292# So?  What about this header? 
     5293case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5294  yes:no: ) 
     5295    { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5296echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5297    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
     5298echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
     5299    ac_header_preproc=yes 
     5300    ;; 
     5301  no:yes:* ) 
     5302    { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
     5303echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
     5304    { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
     5305echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
     5306    { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
     5307echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
     5308    { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5309echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5310    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
     5311echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
     5312    { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
     5313echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
     5314 
     5315    ;; 
     5316esac 
     5317{ echo "$as_me:$LINENO: checking for assert.h" >&5 
     5318echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
     5319if test "${ac_cv_header_assert_h+set}" = set; then 
     5320  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5321else 
     5322  ac_cv_header_assert_h=$ac_header_preproc 
     5323fi 
     5324{ echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     5325echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
     5326 
     5327fi 
     5328if test $ac_cv_header_assert_h = yes; then 
     5329  cat >>confdefs.h <<\_ACEOF 
     5330#define PJ_HAS_ASSERT_H 1 
     5331_ACEOF 
     5332 
     5333fi 
     5334 
     5335 
     5336if test "${ac_cv_header_ctype_h+set}" = set; then 
     5337  { echo "$as_me:$LINENO: checking for ctype.h" >&5 
     5338echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
     5339if test "${ac_cv_header_ctype_h+set}" = set; then 
     5340  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5341fi 
     5342{ echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     5343echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
     5344else 
     5345  # Is the header compilable? 
     5346{ echo "$as_me:$LINENO: checking ctype.h usability" >&5 
     5347echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
     5348cat >conftest.$ac_ext <<_ACEOF 
     5349/* confdefs.h.  */ 
     5350_ACEOF 
     5351cat confdefs.h >>conftest.$ac_ext 
     5352cat >>conftest.$ac_ext <<_ACEOF 
     5353/* end confdefs.h.  */ 
     5354$ac_includes_default 
     5355#include <ctype.h> 
     5356_ACEOF 
     5357rm -f conftest.$ac_objext 
     5358if { (ac_try="$ac_compile" 
     5359case "(($ac_try" in 
     5360  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5361  *) ac_try_echo=$ac_try;; 
     5362esac 
     5363eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5364  (eval "$ac_compile") 2>conftest.er1 
     5365  ac_status=$? 
     5366  grep -v '^ *+' conftest.er1 >conftest.err 
     5367  rm -f conftest.er1 
     5368  cat conftest.err >&5 
     5369  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5370  (exit $ac_status); } && { 
     5371         test -z "$ac_c_werror_flag" || 
     5372         test ! -s conftest.err 
     5373       } && test -s conftest.$ac_objext; then 
     5374  ac_header_compiler=yes 
     5375else 
     5376  echo "$as_me: failed program was:" >&5 
     5377sed 's/^/| /' conftest.$ac_ext >&5 
     5378 
     5379        ac_header_compiler=no 
     5380fi 
     5381 
     5382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5383{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5384echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5385 
     5386# Is the header present? 
     5387{ echo "$as_me:$LINENO: checking ctype.h presence" >&5 
     5388echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
     5389cat >conftest.$ac_ext <<_ACEOF 
     5390/* confdefs.h.  */ 
     5391_ACEOF 
     5392cat confdefs.h >>conftest.$ac_ext 
     5393cat >>conftest.$ac_ext <<_ACEOF 
     5394/* end confdefs.h.  */ 
     5395#include <ctype.h> 
     5396_ACEOF 
     5397if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5398case "(($ac_try" in 
     5399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5400  *) ac_try_echo=$ac_try;; 
     5401esac 
     5402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5403  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5404  ac_status=$? 
     5405  grep -v '^ *+' conftest.er1 >conftest.err 
     5406  rm -f conftest.er1 
     5407  cat conftest.err >&5 
     5408  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5409  (exit $ac_status); } >/dev/null && { 
     5410         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5411         test ! -s conftest.err 
     5412       }; then 
     5413  ac_header_preproc=yes 
     5414else 
     5415  echo "$as_me: failed program was:" >&5 
     5416sed 's/^/| /' conftest.$ac_ext >&5 
     5417 
     5418  ac_header_preproc=no 
     5419fi 
     5420 
     5421rm -f conftest.err conftest.$ac_ext 
     5422{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5423echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5424 
     5425# So?  What about this header? 
     5426case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5427  yes:no: ) 
     5428    { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5429echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5430    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
     5431echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
     5432    ac_header_preproc=yes 
     5433    ;; 
     5434  no:yes:* ) 
     5435    { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
     5436echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
     5437    { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
     5438echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
     5439    { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
     5440echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
     5441    { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5442echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5443    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
     5444echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
     5445    { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
     5446echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
     5447 
     5448    ;; 
     5449esac 
     5450{ echo "$as_me:$LINENO: checking for ctype.h" >&5 
     5451echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
     5452if test "${ac_cv_header_ctype_h+set}" = set; then 
     5453  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5454else 
     5455  ac_cv_header_ctype_h=$ac_header_preproc 
     5456fi 
     5457{ echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     5458echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
     5459 
     5460fi 
     5461if test $ac_cv_header_ctype_h = yes; then 
     5462  cat >>confdefs.h <<\_ACEOF 
     5463#define PJ_HAS_CTYPE_H 1 
     5464_ACEOF 
    47025465 
    47035466fi 
     
    47075470case $target in 
    47085471    *mingw* | *cygw* | *win32* | *w32* ) 
    4709         $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
     5472        cat >>confdefs.h <<\_ACEOF 
     5473#define PJ_HAS_ERRNO_H 0 
     5474_ACEOF 
    47105475 
    47115476        ;; 
    47125477    *) 
    4713         ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
    4714 if test "x$ac_cv_header_errno_h" = x""yes; then : 
    4715   $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
     5478        if test "${ac_cv_header_errno_h+set}" = set; then 
     5479  { echo "$as_me:$LINENO: checking for errno.h" >&5 
     5480echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
     5481if test "${ac_cv_header_errno_h+set}" = set; then 
     5482  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5483fi 
     5484{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     5485echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
     5486else 
     5487  # Is the header compilable? 
     5488{ echo "$as_me:$LINENO: checking errno.h usability" >&5 
     5489echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
     5490cat >conftest.$ac_ext <<_ACEOF 
     5491/* confdefs.h.  */ 
     5492_ACEOF 
     5493cat confdefs.h >>conftest.$ac_ext 
     5494cat >>conftest.$ac_ext <<_ACEOF 
     5495/* end confdefs.h.  */ 
     5496$ac_includes_default 
     5497#include <errno.h> 
     5498_ACEOF 
     5499rm -f conftest.$ac_objext 
     5500if { (ac_try="$ac_compile" 
     5501case "(($ac_try" in 
     5502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5503  *) ac_try_echo=$ac_try;; 
     5504esac 
     5505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5506  (eval "$ac_compile") 2>conftest.er1 
     5507  ac_status=$? 
     5508  grep -v '^ *+' conftest.er1 >conftest.err 
     5509  rm -f conftest.er1 
     5510  cat conftest.err >&5 
     5511  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5512  (exit $ac_status); } && { 
     5513         test -z "$ac_c_werror_flag" || 
     5514         test ! -s conftest.err 
     5515       } && test -s conftest.$ac_objext; then 
     5516  ac_header_compiler=yes 
     5517else 
     5518  echo "$as_me: failed program was:" >&5 
     5519sed 's/^/| /' conftest.$ac_ext >&5 
     5520 
     5521        ac_header_compiler=no 
     5522fi 
     5523 
     5524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5525{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5526echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5527 
     5528# Is the header present? 
     5529{ echo "$as_me:$LINENO: checking errno.h presence" >&5 
     5530echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
     5531cat >conftest.$ac_ext <<_ACEOF 
     5532/* confdefs.h.  */ 
     5533_ACEOF 
     5534cat confdefs.h >>conftest.$ac_ext 
     5535cat >>conftest.$ac_ext <<_ACEOF 
     5536/* end confdefs.h.  */ 
     5537#include <errno.h> 
     5538_ACEOF 
     5539if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5540case "(($ac_try" in 
     5541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5542  *) ac_try_echo=$ac_try;; 
     5543esac 
     5544eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5545  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5546  ac_status=$? 
     5547  grep -v '^ *+' conftest.er1 >conftest.err 
     5548  rm -f conftest.er1 
     5549  cat conftest.err >&5 
     5550  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5551  (exit $ac_status); } >/dev/null && { 
     5552         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5553         test ! -s conftest.err 
     5554       }; then 
     5555  ac_header_preproc=yes 
     5556else 
     5557  echo "$as_me: failed program was:" >&5 
     5558sed 's/^/| /' conftest.$ac_ext >&5 
     5559 
     5560  ac_header_preproc=no 
     5561fi 
     5562 
     5563rm -f conftest.err conftest.$ac_ext 
     5564{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5565echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5566 
     5567# So?  What about this header? 
     5568case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5569  yes:no: ) 
     5570    { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5571echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5572    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
     5573echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
     5574    ac_header_preproc=yes 
     5575    ;; 
     5576  no:yes:* ) 
     5577    { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
     5578echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
     5579    { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
     5580echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
     5581    { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
     5582echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
     5583    { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5584echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5585    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
     5586echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
     5587    { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
     5588echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
     5589 
     5590    ;; 
     5591esac 
     5592{ echo "$as_me:$LINENO: checking for errno.h" >&5 
     5593echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
     5594if test "${ac_cv_header_errno_h+set}" = set; then 
     5595  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5596else 
     5597  ac_cv_header_errno_h=$ac_header_preproc 
     5598fi 
     5599{ echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     5600echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
     5601 
     5602fi 
     5603if test $ac_cv_header_errno_h = yes; then 
     5604  cat >>confdefs.h <<\_ACEOF 
     5605#define PJ_HAS_ERRNO_H 1 
     5606_ACEOF 
    47165607 
    47175608fi 
     
    47215612esac 
    47225613 
    4723 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
    4724 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
    4725   $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
    4726  
    4727 fi 
    4728  
    4729  
    4730 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
    4731 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
    4732   $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
    4733  
    4734 fi 
    4735  
    4736  
    4737 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
    4738 if test "x$ac_cv_header_malloc_h" = x""yes; then : 
    4739   $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
    4740  
    4741 fi 
    4742  
    4743  
    4744 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
    4745 if test "x$ac_cv_header_netdb_h" = x""yes; then : 
    4746   $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
    4747  
    4748 fi 
    4749  
    4750  
    4751 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
    4752 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
    4753   $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
    4754  
    4755 fi 
    4756  
    4757  
    4758 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
    4759 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
    4760   $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
    4761  
    4762 fi 
    4763  
    4764  
    4765 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
     5614if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5615  { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
     5616echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
     5617if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5618  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5619fi 
     5620{ echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
     5621echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
     5622else 
     5623  # Is the header compilable? 
     5624{ echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
     5625echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
     5626cat >conftest.$ac_ext <<_ACEOF 
     5627/* confdefs.h.  */ 
     5628_ACEOF 
     5629cat confdefs.h >>conftest.$ac_ext 
     5630cat >>conftest.$ac_ext <<_ACEOF 
     5631/* end confdefs.h.  */ 
     5632$ac_includes_default 
     5633#include <fcntl.h> 
     5634_ACEOF 
     5635rm -f conftest.$ac_objext 
     5636if { (ac_try="$ac_compile" 
     5637case "(($ac_try" in 
     5638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5639  *) ac_try_echo=$ac_try;; 
     5640esac 
     5641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5642  (eval "$ac_compile") 2>conftest.er1 
     5643  ac_status=$? 
     5644  grep -v '^ *+' conftest.er1 >conftest.err 
     5645  rm -f conftest.er1 
     5646  cat conftest.err >&5 
     5647  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5648  (exit $ac_status); } && { 
     5649         test -z "$ac_c_werror_flag" || 
     5650         test ! -s conftest.err 
     5651       } && test -s conftest.$ac_objext; then 
     5652  ac_header_compiler=yes 
     5653else 
     5654  echo "$as_me: failed program was:" >&5 
     5655sed 's/^/| /' conftest.$ac_ext >&5 
     5656 
     5657        ac_header_compiler=no 
     5658fi 
     5659 
     5660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5661{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5662echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5663 
     5664# Is the header present? 
     5665{ echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
     5666echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
     5667cat >conftest.$ac_ext <<_ACEOF 
     5668/* confdefs.h.  */ 
     5669_ACEOF 
     5670cat confdefs.h >>conftest.$ac_ext 
     5671cat >>conftest.$ac_ext <<_ACEOF 
     5672/* end confdefs.h.  */ 
     5673#include <fcntl.h> 
     5674_ACEOF 
     5675if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5676case "(($ac_try" in 
     5677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5678  *) ac_try_echo=$ac_try;; 
     5679esac 
     5680eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5681  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5682  ac_status=$? 
     5683  grep -v '^ *+' conftest.er1 >conftest.err 
     5684  rm -f conftest.er1 
     5685  cat conftest.err >&5 
     5686  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5687  (exit $ac_status); } >/dev/null && { 
     5688         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5689         test ! -s conftest.err 
     5690       }; then 
     5691  ac_header_preproc=yes 
     5692else 
     5693  echo "$as_me: failed program was:" >&5 
     5694sed 's/^/| /' conftest.$ac_ext >&5 
     5695 
     5696  ac_header_preproc=no 
     5697fi 
     5698 
     5699rm -f conftest.err conftest.$ac_ext 
     5700{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5701echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5702 
     5703# So?  What about this header? 
     5704case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5705  yes:no: ) 
     5706    { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5707echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5708    { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
     5709echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
     5710    ac_header_preproc=yes 
     5711    ;; 
     5712  no:yes:* ) 
     5713    { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
     5714echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
     5715    { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
     5716echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
     5717    { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
     5718echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
     5719    { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5720echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5721    { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
     5722echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
     5723    { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
     5724echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
     5725 
     5726    ;; 
     5727esac 
     5728{ echo "$as_me:$LINENO: checking for fcntl.h" >&5 
     5729echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
     5730if test "${ac_cv_header_fcntl_h+set}" = set; then 
     5731  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5732else 
     5733  ac_cv_header_fcntl_h=$ac_header_preproc 
     5734fi 
     5735{ echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
     5736echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
     5737 
     5738fi 
     5739if test $ac_cv_header_fcntl_h = yes; then 
     5740  cat >>confdefs.h <<\_ACEOF 
     5741#define PJ_HAS_FCNTL_H 1 
     5742_ACEOF 
     5743 
     5744fi 
     5745 
     5746 
     5747if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5748  { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     5749echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
     5750if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5751  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5752fi 
     5753{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     5754echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
     5755else 
     5756  # Is the header compilable? 
     5757{ echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
     5758echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
     5759cat >conftest.$ac_ext <<_ACEOF 
     5760/* confdefs.h.  */ 
     5761_ACEOF 
     5762cat confdefs.h >>conftest.$ac_ext 
     5763cat >>conftest.$ac_ext <<_ACEOF 
     5764/* end confdefs.h.  */ 
     5765$ac_includes_default 
     5766#include <linux/socket.h> 
     5767_ACEOF 
     5768rm -f conftest.$ac_objext 
     5769if { (ac_try="$ac_compile" 
     5770case "(($ac_try" in 
     5771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5772  *) ac_try_echo=$ac_try;; 
     5773esac 
     5774eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5775  (eval "$ac_compile") 2>conftest.er1 
     5776  ac_status=$? 
     5777  grep -v '^ *+' conftest.er1 >conftest.err 
     5778  rm -f conftest.er1 
     5779  cat conftest.err >&5 
     5780  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5781  (exit $ac_status); } && { 
     5782         test -z "$ac_c_werror_flag" || 
     5783         test ! -s conftest.err 
     5784       } && test -s conftest.$ac_objext; then 
     5785  ac_header_compiler=yes 
     5786else 
     5787  echo "$as_me: failed program was:" >&5 
     5788sed 's/^/| /' conftest.$ac_ext >&5 
     5789 
     5790        ac_header_compiler=no 
     5791fi 
     5792 
     5793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5794{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5795echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5796 
     5797# Is the header present? 
     5798{ echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
     5799echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
     5800cat >conftest.$ac_ext <<_ACEOF 
     5801/* confdefs.h.  */ 
     5802_ACEOF 
     5803cat confdefs.h >>conftest.$ac_ext 
     5804cat >>conftest.$ac_ext <<_ACEOF 
     5805/* end confdefs.h.  */ 
     5806#include <linux/socket.h> 
     5807_ACEOF 
     5808if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5809case "(($ac_try" in 
     5810  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5811  *) ac_try_echo=$ac_try;; 
     5812esac 
     5813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5814  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5815  ac_status=$? 
     5816  grep -v '^ *+' conftest.er1 >conftest.err 
     5817  rm -f conftest.er1 
     5818  cat conftest.err >&5 
     5819  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5820  (exit $ac_status); } >/dev/null && { 
     5821         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5822         test ! -s conftest.err 
     5823       }; then 
     5824  ac_header_preproc=yes 
     5825else 
     5826  echo "$as_me: failed program was:" >&5 
     5827sed 's/^/| /' conftest.$ac_ext >&5 
     5828 
     5829  ac_header_preproc=no 
     5830fi 
     5831 
     5832rm -f conftest.err conftest.$ac_ext 
     5833{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5834echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5835 
     5836# So?  What about this header? 
     5837case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5838  yes:no: ) 
     5839    { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5840echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5841    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
     5842echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
     5843    ac_header_preproc=yes 
     5844    ;; 
     5845  no:yes:* ) 
     5846    { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
     5847echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
     5848    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
     5849echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
     5850    { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
     5851echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
     5852    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5853echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5854    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
     5855echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
     5856    { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
     5857echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
     5858 
     5859    ;; 
     5860esac 
     5861{ echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     5862echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
     5863if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     5864  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5865else 
     5866  ac_cv_header_linux_socket_h=$ac_header_preproc 
     5867fi 
     5868{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     5869echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
     5870 
     5871fi 
     5872if test $ac_cv_header_linux_socket_h = yes; then 
     5873  cat >>confdefs.h <<\_ACEOF 
     5874#define PJ_HAS_LINUX_SOCKET_H 1 
     5875_ACEOF 
     5876 
     5877fi 
     5878 
     5879 
     5880if test "${ac_cv_header_malloc_h+set}" = set; then 
     5881  { echo "$as_me:$LINENO: checking for malloc.h" >&5 
     5882echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
     5883if test "${ac_cv_header_malloc_h+set}" = set; then 
     5884  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5885fi 
     5886{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     5887echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
     5888else 
     5889  # Is the header compilable? 
     5890{ echo "$as_me:$LINENO: checking malloc.h usability" >&5 
     5891echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
     5892cat >conftest.$ac_ext <<_ACEOF 
     5893/* confdefs.h.  */ 
     5894_ACEOF 
     5895cat confdefs.h >>conftest.$ac_ext 
     5896cat >>conftest.$ac_ext <<_ACEOF 
     5897/* end confdefs.h.  */ 
     5898$ac_includes_default 
     5899#include <malloc.h> 
     5900_ACEOF 
     5901rm -f conftest.$ac_objext 
     5902if { (ac_try="$ac_compile" 
     5903case "(($ac_try" in 
     5904  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5905  *) ac_try_echo=$ac_try;; 
     5906esac 
     5907eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5908  (eval "$ac_compile") 2>conftest.er1 
     5909  ac_status=$? 
     5910  grep -v '^ *+' conftest.er1 >conftest.err 
     5911  rm -f conftest.er1 
     5912  cat conftest.err >&5 
     5913  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5914  (exit $ac_status); } && { 
     5915         test -z "$ac_c_werror_flag" || 
     5916         test ! -s conftest.err 
     5917       } && test -s conftest.$ac_objext; then 
     5918  ac_header_compiler=yes 
     5919else 
     5920  echo "$as_me: failed program was:" >&5 
     5921sed 's/^/| /' conftest.$ac_ext >&5 
     5922 
     5923        ac_header_compiler=no 
     5924fi 
     5925 
     5926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     5927{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5928echo "${ECHO_T}$ac_header_compiler" >&6; } 
     5929 
     5930# Is the header present? 
     5931{ echo "$as_me:$LINENO: checking malloc.h presence" >&5 
     5932echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
     5933cat >conftest.$ac_ext <<_ACEOF 
     5934/* confdefs.h.  */ 
     5935_ACEOF 
     5936cat confdefs.h >>conftest.$ac_ext 
     5937cat >>conftest.$ac_ext <<_ACEOF 
     5938/* end confdefs.h.  */ 
     5939#include <malloc.h> 
     5940_ACEOF 
     5941if { (ac_try="$ac_cpp conftest.$ac_ext" 
     5942case "(($ac_try" in 
     5943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     5944  *) ac_try_echo=$ac_try;; 
     5945esac 
     5946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     5947  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     5948  ac_status=$? 
     5949  grep -v '^ *+' conftest.er1 >conftest.err 
     5950  rm -f conftest.er1 
     5951  cat conftest.err >&5 
     5952  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5953  (exit $ac_status); } >/dev/null && { 
     5954         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     5955         test ! -s conftest.err 
     5956       }; then 
     5957  ac_header_preproc=yes 
     5958else 
     5959  echo "$as_me: failed program was:" >&5 
     5960sed 's/^/| /' conftest.$ac_ext >&5 
     5961 
     5962  ac_header_preproc=no 
     5963fi 
     5964 
     5965rm -f conftest.err conftest.$ac_ext 
     5966{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5967echo "${ECHO_T}$ac_header_preproc" >&6; } 
     5968 
     5969# So?  What about this header? 
     5970case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5971  yes:no: ) 
     5972    { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5973echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5974    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
     5975echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
     5976    ac_header_preproc=yes 
     5977    ;; 
     5978  no:yes:* ) 
     5979    { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
     5980echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
     5981    { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
     5982echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
     5983    { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
     5984echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
     5985    { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5986echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5987    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
     5988echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
     5989    { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
     5990echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
     5991 
     5992    ;; 
     5993esac 
     5994{ echo "$as_me:$LINENO: checking for malloc.h" >&5 
     5995echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
     5996if test "${ac_cv_header_malloc_h+set}" = set; then 
     5997  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5998else 
     5999  ac_cv_header_malloc_h=$ac_header_preproc 
     6000fi 
     6001{ echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     6002echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
     6003 
     6004fi 
     6005if test $ac_cv_header_malloc_h = yes; then 
     6006  cat >>confdefs.h <<\_ACEOF 
     6007#define PJ_HAS_MALLOC_H 1 
     6008_ACEOF 
     6009 
     6010fi 
     6011 
     6012 
     6013if test "${ac_cv_header_netdb_h+set}" = set; then 
     6014  { echo "$as_me:$LINENO: checking for netdb.h" >&5 
     6015echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
     6016if test "${ac_cv_header_netdb_h+set}" = set; then 
     6017  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6018fi 
     6019{ echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     6020echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
     6021else 
     6022  # Is the header compilable? 
     6023{ echo "$as_me:$LINENO: checking netdb.h usability" >&5 
     6024echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
     6025cat >conftest.$ac_ext <<_ACEOF 
     6026/* confdefs.h.  */ 
     6027_ACEOF 
     6028cat confdefs.h >>conftest.$ac_ext 
     6029cat >>conftest.$ac_ext <<_ACEOF 
     6030/* end confdefs.h.  */ 
     6031$ac_includes_default 
     6032#include <netdb.h> 
     6033_ACEOF 
     6034rm -f conftest.$ac_objext 
     6035if { (ac_try="$ac_compile" 
     6036case "(($ac_try" in 
     6037  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6038  *) ac_try_echo=$ac_try;; 
     6039esac 
     6040eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6041  (eval "$ac_compile") 2>conftest.er1 
     6042  ac_status=$? 
     6043  grep -v '^ *+' conftest.er1 >conftest.err 
     6044  rm -f conftest.er1 
     6045  cat conftest.err >&5 
     6046  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6047  (exit $ac_status); } && { 
     6048         test -z "$ac_c_werror_flag" || 
     6049         test ! -s conftest.err 
     6050       } && test -s conftest.$ac_objext; then 
     6051  ac_header_compiler=yes 
     6052else 
     6053  echo "$as_me: failed program was:" >&5 
     6054sed 's/^/| /' conftest.$ac_ext >&5 
     6055 
     6056        ac_header_compiler=no 
     6057fi 
     6058 
     6059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6060{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6061echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6062 
     6063# Is the header present? 
     6064{ echo "$as_me:$LINENO: checking netdb.h presence" >&5 
     6065echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
     6066cat >conftest.$ac_ext <<_ACEOF 
     6067/* confdefs.h.  */ 
     6068_ACEOF 
     6069cat confdefs.h >>conftest.$ac_ext 
     6070cat >>conftest.$ac_ext <<_ACEOF 
     6071/* end confdefs.h.  */ 
     6072#include <netdb.h> 
     6073_ACEOF 
     6074if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6075case "(($ac_try" in 
     6076  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6077  *) ac_try_echo=$ac_try;; 
     6078esac 
     6079eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6080  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6081  ac_status=$? 
     6082  grep -v '^ *+' conftest.er1 >conftest.err 
     6083  rm -f conftest.er1 
     6084  cat conftest.err >&5 
     6085  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6086  (exit $ac_status); } >/dev/null && { 
     6087         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6088         test ! -s conftest.err 
     6089       }; then 
     6090  ac_header_preproc=yes 
     6091else 
     6092  echo "$as_me: failed program was:" >&5 
     6093sed 's/^/| /' conftest.$ac_ext >&5 
     6094 
     6095  ac_header_preproc=no 
     6096fi 
     6097 
     6098rm -f conftest.err conftest.$ac_ext 
     6099{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6100echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6101 
     6102# So?  What about this header? 
     6103case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6104  yes:no: ) 
     6105    { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6106echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6107    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
     6108echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
     6109    ac_header_preproc=yes 
     6110    ;; 
     6111  no:yes:* ) 
     6112    { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
     6113echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
     6114    { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
     6115echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
     6116    { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
     6117echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
     6118    { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6119echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6120    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
     6121echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
     6122    { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
     6123echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
     6124 
     6125    ;; 
     6126esac 
     6127{ echo "$as_me:$LINENO: checking for netdb.h" >&5 
     6128echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
     6129if test "${ac_cv_header_netdb_h+set}" = set; then 
     6130  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6131else 
     6132  ac_cv_header_netdb_h=$ac_header_preproc 
     6133fi 
     6134{ echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     6135echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
     6136 
     6137fi 
     6138if test $ac_cv_header_netdb_h = yes; then 
     6139  cat >>confdefs.h <<\_ACEOF 
     6140#define PJ_HAS_NETDB_H 1 
     6141_ACEOF 
     6142 
     6143fi 
     6144 
     6145 
     6146if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6147  { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
     6148echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
     6149if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6150  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6151fi 
     6152{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
     6153echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
     6154else 
     6155  # Is the header compilable? 
     6156{ echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
     6157echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
     6158cat >conftest.$ac_ext <<_ACEOF 
     6159/* confdefs.h.  */ 
     6160_ACEOF 
     6161cat confdefs.h >>conftest.$ac_ext 
     6162cat >>conftest.$ac_ext <<_ACEOF 
     6163/* end confdefs.h.  */ 
     6164$ac_includes_default 
     6165#include <netinet/in_systm.h> 
     6166_ACEOF 
     6167rm -f conftest.$ac_objext 
     6168if { (ac_try="$ac_compile" 
     6169case "(($ac_try" in 
     6170  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6171  *) ac_try_echo=$ac_try;; 
     6172esac 
     6173eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6174  (eval "$ac_compile") 2>conftest.er1 
     6175  ac_status=$? 
     6176  grep -v '^ *+' conftest.er1 >conftest.err 
     6177  rm -f conftest.er1 
     6178  cat conftest.err >&5 
     6179  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6180  (exit $ac_status); } && { 
     6181         test -z "$ac_c_werror_flag" || 
     6182         test ! -s conftest.err 
     6183       } && test -s conftest.$ac_objext; then 
     6184  ac_header_compiler=yes 
     6185else 
     6186  echo "$as_me: failed program was:" >&5 
     6187sed 's/^/| /' conftest.$ac_ext >&5 
     6188 
     6189        ac_header_compiler=no 
     6190fi 
     6191 
     6192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6193{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6194echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6195 
     6196# Is the header present? 
     6197{ echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
     6198echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
     6199cat >conftest.$ac_ext <<_ACEOF 
     6200/* confdefs.h.  */ 
     6201_ACEOF 
     6202cat confdefs.h >>conftest.$ac_ext 
     6203cat >>conftest.$ac_ext <<_ACEOF 
     6204/* end confdefs.h.  */ 
     6205#include <netinet/in_systm.h> 
     6206_ACEOF 
     6207if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6208case "(($ac_try" in 
     6209  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6210  *) ac_try_echo=$ac_try;; 
     6211esac 
     6212eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6213  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6214  ac_status=$? 
     6215  grep -v '^ *+' conftest.er1 >conftest.err 
     6216  rm -f conftest.er1 
     6217  cat conftest.err >&5 
     6218  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6219  (exit $ac_status); } >/dev/null && { 
     6220         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6221         test ! -s conftest.err 
     6222       }; then 
     6223  ac_header_preproc=yes 
     6224else 
     6225  echo "$as_me: failed program was:" >&5 
     6226sed 's/^/| /' conftest.$ac_ext >&5 
     6227 
     6228  ac_header_preproc=no 
     6229fi 
     6230 
     6231rm -f conftest.err conftest.$ac_ext 
     6232{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6233echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6234 
     6235# So?  What about this header? 
     6236case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6237  yes:no: ) 
     6238    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6239echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6240    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
     6241echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
     6242    ac_header_preproc=yes 
     6243    ;; 
     6244  no:yes:* ) 
     6245    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
     6246echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
     6247    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
     6248echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
     6249    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
     6250echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
     6251    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6252echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6253    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
     6254echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
     6255    { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
     6256echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
     6257 
     6258    ;; 
     6259esac 
     6260{ echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
     6261echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
     6262if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
     6263  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6264else 
     6265  ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
     6266fi 
     6267{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
     6268echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
     6269 
     6270fi 
     6271if test $ac_cv_header_netinet_in_systm_h = yes; then 
     6272  cat >>confdefs.h <<\_ACEOF 
     6273#define PJ_HAS_NETINET_IN_SYSTM_H 1 
     6274_ACEOF 
     6275 
     6276fi 
     6277 
     6278 
     6279if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6280  { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     6281echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
     6282if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6283  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6284fi 
     6285{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     6286echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
     6287else 
     6288  # Is the header compilable? 
     6289{ echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
     6290echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
     6291cat >conftest.$ac_ext <<_ACEOF 
     6292/* confdefs.h.  */ 
     6293_ACEOF 
     6294cat confdefs.h >>conftest.$ac_ext 
     6295cat >>conftest.$ac_ext <<_ACEOF 
     6296/* end confdefs.h.  */ 
     6297$ac_includes_default 
     6298#include <netinet/in.h> 
     6299_ACEOF 
     6300rm -f conftest.$ac_objext 
     6301if { (ac_try="$ac_compile" 
     6302case "(($ac_try" in 
     6303  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6304  *) ac_try_echo=$ac_try;; 
     6305esac 
     6306eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6307  (eval "$ac_compile") 2>conftest.er1 
     6308  ac_status=$? 
     6309  grep -v '^ *+' conftest.er1 >conftest.err 
     6310  rm -f conftest.er1 
     6311  cat conftest.err >&5 
     6312  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6313  (exit $ac_status); } && { 
     6314         test -z "$ac_c_werror_flag" || 
     6315         test ! -s conftest.err 
     6316       } && test -s conftest.$ac_objext; then 
     6317  ac_header_compiler=yes 
     6318else 
     6319  echo "$as_me: failed program was:" >&5 
     6320sed 's/^/| /' conftest.$ac_ext >&5 
     6321 
     6322        ac_header_compiler=no 
     6323fi 
     6324 
     6325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6326{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6327echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6328 
     6329# Is the header present? 
     6330{ echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
     6331echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
     6332cat >conftest.$ac_ext <<_ACEOF 
     6333/* confdefs.h.  */ 
     6334_ACEOF 
     6335cat confdefs.h >>conftest.$ac_ext 
     6336cat >>conftest.$ac_ext <<_ACEOF 
     6337/* end confdefs.h.  */ 
     6338#include <netinet/in.h> 
     6339_ACEOF 
     6340if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6341case "(($ac_try" in 
     6342  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6343  *) ac_try_echo=$ac_try;; 
     6344esac 
     6345eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6346  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6347  ac_status=$? 
     6348  grep -v '^ *+' conftest.er1 >conftest.err 
     6349  rm -f conftest.er1 
     6350  cat conftest.err >&5 
     6351  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6352  (exit $ac_status); } >/dev/null && { 
     6353         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6354         test ! -s conftest.err 
     6355       }; then 
     6356  ac_header_preproc=yes 
     6357else 
     6358  echo "$as_me: failed program was:" >&5 
     6359sed 's/^/| /' conftest.$ac_ext >&5 
     6360 
     6361  ac_header_preproc=no 
     6362fi 
     6363 
     6364rm -f conftest.err conftest.$ac_ext 
     6365{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6366echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6367 
     6368# So?  What about this header? 
     6369case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6370  yes:no: ) 
     6371    { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6372echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6373    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
     6374echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
     6375    ac_header_preproc=yes 
     6376    ;; 
     6377  no:yes:* ) 
     6378    { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
     6379echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
     6380    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
     6381echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
     6382    { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
     6383echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
     6384    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6385echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6386    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
     6387echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
     6388    { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
     6389echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
     6390 
     6391    ;; 
     6392esac 
     6393{ echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     6394echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
     6395if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     6396  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6397else 
     6398  ac_cv_header_netinet_in_h=$ac_header_preproc 
     6399fi 
     6400{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     6401echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
     6402 
     6403fi 
     6404if test $ac_cv_header_netinet_in_h = yes; then 
     6405  cat >>confdefs.h <<\_ACEOF 
     6406#define PJ_HAS_NETINET_IN_H 1 
     6407_ACEOF 
     6408 
     6409fi 
     6410 
     6411 
     6412{ echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
     6413echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
     6414if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
     6415  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6416else 
     6417  cat >conftest.$ac_ext <<_ACEOF 
     6418/* confdefs.h.  */ 
     6419_ACEOF 
     6420cat confdefs.h >>conftest.$ac_ext 
     6421cat >>conftest.$ac_ext <<_ACEOF 
     6422/* end confdefs.h.  */ 
     6423#if PJ_HAS_SYS_TYPES_H 
    47666424                  #     include <sys/types.h> 
    47676425                  #endif 
     
    47736431                  #endif 
    47746432 
    4775 " 
    4776 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
    4777   $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
    4778  
    4779 fi 
    4780  
    4781  
    4782 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
    4783 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
    4784   $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
    4785  
    4786 fi 
    4787  
    4788  
    4789 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
    4790 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
    4791   ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
    4792 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
    4793   $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
    4794  
    4795 fi 
    4796  
    4797 fi 
    4798  
    4799  
    4800 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
    4801 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
    4802   $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
    4803  
    4804 fi 
    4805  
    4806  
    4807 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
    4808 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
    4809   $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
    4810  
    4811 fi 
    4812  
    4813  
    4814 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
    4815 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
    4816   $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
    4817  
    4818 fi 
    4819  
    4820  
    4821 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
    4822 if test "x$ac_cv_header_stddef_h" = x""yes; then : 
    4823   $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
    4824  
    4825 fi 
    4826  
    4827  
    4828 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
    4829 if test "x$ac_cv_header_stdio_h" = x""yes; then : 
    4830   $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
    4831  
    4832 fi 
    4833  
    4834  
    4835 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
    4836 if test "x$ac_cv_header_stdint_h" = x""yes; then : 
    4837   $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
    4838  
    4839 fi 
    4840  
    4841  
    4842 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
    4843 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
    4844   $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
    4845  
    4846 fi 
    4847  
    4848  
    4849 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
    4850 if test "x$ac_cv_header_string_h" = x""yes; then : 
    4851   $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
    4852  
    4853 fi 
    4854  
    4855  
    4856 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
    4857 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
    4858   $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
    4859  
    4860 fi 
    4861  
    4862  
    4863 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
    4864 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
    4865   $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
    4866  
    4867 fi 
    4868  
    4869  
    4870 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
    4871 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
    4872   $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
    4873  
    4874 fi 
    4875  
    4876  
    4877 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
    4878 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
    4879   $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
    4880  
    4881 fi 
    4882  
    4883  
    4884 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
    4885 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
    4886   $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
    4887  
    4888 fi 
    4889  
    4890  
    4891 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
    4892 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
    4893   $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
    4894  
    4895 fi 
    4896  
    4897  
    4898 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
    4899 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
    4900   $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
    4901  
    4902 fi 
    4903  
    4904  
    4905 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
    4906 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
    4907   $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
    4908  
    4909 fi 
    4910  
    4911  
    4912 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
    4913 if test "x$ac_cv_header_time_h" = x""yes; then : 
    4914   $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
    4915  
    4916 fi 
    4917  
    4918  
    4919 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
    4920 if test "x$ac_cv_header_unistd_h" = x""yes; then : 
    4921   $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
    4922  
    4923 fi 
    4924  
    4925  
    4926 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
    4927 if test "x$ac_cv_header_winsock_h" = x""yes; then : 
    4928   $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
    4929  
    4930 fi 
    4931  
    4932  
    4933 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
    4934 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
    4935   $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
    4936  
    4937 fi 
    4938  
    4939  
    4940 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
     6433 
     6434#include <netinet/ip.h> 
     6435_ACEOF 
     6436rm -f conftest.$ac_objext 
     6437if { (ac_try="$ac_compile" 
     6438case "(($ac_try" in 
     6439  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6440  *) ac_try_echo=$ac_try;; 
     6441esac 
     6442eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6443  (eval "$ac_compile") 2>conftest.er1 
     6444  ac_status=$? 
     6445  grep -v '^ *+' conftest.er1 >conftest.err 
     6446  rm -f conftest.er1 
     6447  cat conftest.err >&5 
     6448  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6449  (exit $ac_status); } && { 
     6450         test -z "$ac_c_werror_flag" || 
     6451         test ! -s conftest.err 
     6452       } && test -s conftest.$ac_objext; then 
     6453  ac_cv_header_netinet_ip_h=yes 
     6454else 
     6455  echo "$as_me: failed program was:" >&5 
     6456sed 's/^/| /' conftest.$ac_ext >&5 
     6457 
     6458        ac_cv_header_netinet_ip_h=no 
     6459fi 
     6460 
     6461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6462fi 
     6463{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
     6464echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
     6465if test $ac_cv_header_netinet_ip_h = yes; then 
     6466  cat >>confdefs.h <<\_ACEOF 
     6467#define PJ_HAS_NETINET_IP_H 1 
     6468_ACEOF 
     6469 
     6470fi 
     6471 
     6472 
     6473if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6474  { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
     6475echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
     6476if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6477  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6478fi 
     6479{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
     6480echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
     6481else 
     6482  # Is the header compilable? 
     6483{ echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
     6484echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
     6485cat >conftest.$ac_ext <<_ACEOF 
     6486/* confdefs.h.  */ 
     6487_ACEOF 
     6488cat confdefs.h >>conftest.$ac_ext 
     6489cat >>conftest.$ac_ext <<_ACEOF 
     6490/* end confdefs.h.  */ 
     6491$ac_includes_default 
     6492#include <netinet/tcp.h> 
     6493_ACEOF 
     6494rm -f conftest.$ac_objext 
     6495if { (ac_try="$ac_compile" 
     6496case "(($ac_try" in 
     6497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6498  *) ac_try_echo=$ac_try;; 
     6499esac 
     6500eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6501  (eval "$ac_compile") 2>conftest.er1 
     6502  ac_status=$? 
     6503  grep -v '^ *+' conftest.er1 >conftest.err 
     6504  rm -f conftest.er1 
     6505  cat conftest.err >&5 
     6506  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6507  (exit $ac_status); } && { 
     6508         test -z "$ac_c_werror_flag" || 
     6509         test ! -s conftest.err 
     6510       } && test -s conftest.$ac_objext; then 
     6511  ac_header_compiler=yes 
     6512else 
     6513  echo "$as_me: failed program was:" >&5 
     6514sed 's/^/| /' conftest.$ac_ext >&5 
     6515 
     6516        ac_header_compiler=no 
     6517fi 
     6518 
     6519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6520{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6521echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6522 
     6523# Is the header present? 
     6524{ echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
     6525echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
     6526cat >conftest.$ac_ext <<_ACEOF 
     6527/* confdefs.h.  */ 
     6528_ACEOF 
     6529cat confdefs.h >>conftest.$ac_ext 
     6530cat >>conftest.$ac_ext <<_ACEOF 
     6531/* end confdefs.h.  */ 
     6532#include <netinet/tcp.h> 
     6533_ACEOF 
     6534if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6535case "(($ac_try" in 
     6536  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6537  *) ac_try_echo=$ac_try;; 
     6538esac 
     6539eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6540  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6541  ac_status=$? 
     6542  grep -v '^ *+' conftest.er1 >conftest.err 
     6543  rm -f conftest.er1 
     6544  cat conftest.err >&5 
     6545  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6546  (exit $ac_status); } >/dev/null && { 
     6547         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6548         test ! -s conftest.err 
     6549       }; then 
     6550  ac_header_preproc=yes 
     6551else 
     6552  echo "$as_me: failed program was:" >&5 
     6553sed 's/^/| /' conftest.$ac_ext >&5 
     6554 
     6555  ac_header_preproc=no 
     6556fi 
     6557 
     6558rm -f conftest.err conftest.$ac_ext 
     6559{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6560echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6561 
     6562# So?  What about this header? 
     6563case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6564  yes:no: ) 
     6565    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6566echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6567    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
     6568echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
     6569    ac_header_preproc=yes 
     6570    ;; 
     6571  no:yes:* ) 
     6572    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
     6573echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
     6574    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
     6575echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
     6576    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
     6577echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
     6578    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6579echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6580    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
     6581echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
     6582    { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
     6583echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
     6584 
     6585    ;; 
     6586esac 
     6587{ echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
     6588echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
     6589if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
     6590  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6591else 
     6592  ac_cv_header_netinet_tcp_h=$ac_header_preproc 
     6593fi 
     6594{ echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
     6595echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
     6596 
     6597fi 
     6598if test $ac_cv_header_netinet_tcp_h = yes; then 
     6599  cat >>confdefs.h <<\_ACEOF 
     6600#define PJ_HAS_NETINET_TCP_H 1 
     6601_ACEOF 
     6602 
     6603fi 
     6604 
     6605 
     6606if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6607  { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
     6608echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
     6609if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6610  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6611fi 
     6612{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
     6613echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
     6614else 
     6615  # Is the header compilable? 
     6616{ echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
     6617echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
     6618cat >conftest.$ac_ext <<_ACEOF 
     6619/* confdefs.h.  */ 
     6620_ACEOF 
     6621cat confdefs.h >>conftest.$ac_ext 
     6622cat >>conftest.$ac_ext <<_ACEOF 
     6623/* end confdefs.h.  */ 
     6624$ac_includes_default 
     6625#include <ifaddrs.h> 
     6626_ACEOF 
     6627rm -f conftest.$ac_objext 
     6628if { (ac_try="$ac_compile" 
     6629case "(($ac_try" in 
     6630  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6631  *) ac_try_echo=$ac_try;; 
     6632esac 
     6633eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6634  (eval "$ac_compile") 2>conftest.er1 
     6635  ac_status=$? 
     6636  grep -v '^ *+' conftest.er1 >conftest.err 
     6637  rm -f conftest.er1 
     6638  cat conftest.err >&5 
     6639  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6640  (exit $ac_status); } && { 
     6641         test -z "$ac_c_werror_flag" || 
     6642         test ! -s conftest.err 
     6643       } && test -s conftest.$ac_objext; then 
     6644  ac_header_compiler=yes 
     6645else 
     6646  echo "$as_me: failed program was:" >&5 
     6647sed 's/^/| /' conftest.$ac_ext >&5 
     6648 
     6649        ac_header_compiler=no 
     6650fi 
     6651 
     6652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6653{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6654echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6655 
     6656# Is the header present? 
     6657{ echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
     6658echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
     6659cat >conftest.$ac_ext <<_ACEOF 
     6660/* confdefs.h.  */ 
     6661_ACEOF 
     6662cat confdefs.h >>conftest.$ac_ext 
     6663cat >>conftest.$ac_ext <<_ACEOF 
     6664/* end confdefs.h.  */ 
     6665#include <ifaddrs.h> 
     6666_ACEOF 
     6667if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6668case "(($ac_try" in 
     6669  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6670  *) ac_try_echo=$ac_try;; 
     6671esac 
     6672eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6673  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6674  ac_status=$? 
     6675  grep -v '^ *+' conftest.er1 >conftest.err 
     6676  rm -f conftest.er1 
     6677  cat conftest.err >&5 
     6678  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6679  (exit $ac_status); } >/dev/null && { 
     6680         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6681         test ! -s conftest.err 
     6682       }; then 
     6683  ac_header_preproc=yes 
     6684else 
     6685  echo "$as_me: failed program was:" >&5 
     6686sed 's/^/| /' conftest.$ac_ext >&5 
     6687 
     6688  ac_header_preproc=no 
     6689fi 
     6690 
     6691rm -f conftest.err conftest.$ac_ext 
     6692{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6693echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6694 
     6695# So?  What about this header? 
     6696case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6697  yes:no: ) 
     6698    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6699echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6700    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
     6701echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
     6702    ac_header_preproc=yes 
     6703    ;; 
     6704  no:yes:* ) 
     6705    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
     6706echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
     6707    { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
     6708echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
     6709    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
     6710echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
     6711    { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6712echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6713    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
     6714echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
     6715    { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
     6716echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
     6717 
     6718    ;; 
     6719esac 
     6720{ echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
     6721echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
     6722if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
     6723  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6724else 
     6725  ac_cv_header_ifaddrs_h=$ac_header_preproc 
     6726fi 
     6727{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
     6728echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
     6729 
     6730fi 
     6731if test $ac_cv_header_ifaddrs_h = yes; then 
     6732  { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
     6733echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
     6734if test "${ac_cv_func_getifaddrs+set}" = set; then 
     6735  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6736else 
     6737  cat >conftest.$ac_ext <<_ACEOF 
     6738/* confdefs.h.  */ 
     6739_ACEOF 
     6740cat confdefs.h >>conftest.$ac_ext 
     6741cat >>conftest.$ac_ext <<_ACEOF 
     6742/* end confdefs.h.  */ 
     6743/* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
     6744   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     6745#define getifaddrs innocuous_getifaddrs 
     6746 
     6747/* System header to define __stub macros and hopefully few prototypes, 
     6748    which can conflict with char getifaddrs (); below. 
     6749    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     6750    <limits.h> exists even on freestanding compilers.  */ 
     6751 
     6752#ifdef __STDC__ 
     6753# include <limits.h> 
     6754#else 
     6755# include <assert.h> 
     6756#endif 
     6757 
     6758#undef getifaddrs 
     6759 
     6760/* Override any GCC internal prototype to avoid an error. 
     6761   Use char because int might match the return type of a GCC 
     6762   builtin and then its argument prototype would still apply.  */ 
     6763#ifdef __cplusplus 
     6764extern "C" 
     6765#endif 
     6766char getifaddrs (); 
     6767/* The GNU C library defines this for functions which it implements 
     6768    to always fail with ENOSYS.  Some functions are actually named 
     6769    something starting with __ and the normal name is an alias.  */ 
     6770#if defined __stub_getifaddrs || defined __stub___getifaddrs 
     6771choke me 
     6772#endif 
     6773 
     6774int 
     6775main () 
     6776{ 
     6777return getifaddrs (); 
     6778  ; 
     6779  return 0; 
     6780} 
     6781_ACEOF 
     6782rm -f conftest.$ac_objext conftest$ac_exeext 
     6783if { (ac_try="$ac_link" 
     6784case "(($ac_try" in 
     6785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6786  *) ac_try_echo=$ac_try;; 
     6787esac 
     6788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6789  (eval "$ac_link") 2>conftest.er1 
     6790  ac_status=$? 
     6791  grep -v '^ *+' conftest.er1 >conftest.err 
     6792  rm -f conftest.er1 
     6793  cat conftest.err >&5 
     6794  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6795  (exit $ac_status); } && { 
     6796         test -z "$ac_c_werror_flag" || 
     6797         test ! -s conftest.err 
     6798       } && test -s conftest$ac_exeext && 
     6799       $as_test_x conftest$ac_exeext; then 
     6800  ac_cv_func_getifaddrs=yes 
     6801else 
     6802  echo "$as_me: failed program was:" >&5 
     6803sed 's/^/| /' conftest.$ac_ext >&5 
     6804 
     6805        ac_cv_func_getifaddrs=no 
     6806fi 
     6807 
     6808rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     6809      conftest$ac_exeext conftest.$ac_ext 
     6810fi 
     6811{ echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
     6812echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
     6813if test $ac_cv_func_getifaddrs = yes; then 
     6814  cat >>confdefs.h <<\_ACEOF 
     6815#define PJ_HAS_IFADDRS_H 1 
     6816_ACEOF 
     6817 
     6818fi 
     6819 
     6820fi 
     6821 
     6822 
     6823if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6824  { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
     6825echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
     6826if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6827  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6828fi 
     6829{ echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
     6830echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
     6831else 
     6832  # Is the header compilable? 
     6833{ echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
     6834echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
     6835cat >conftest.$ac_ext <<_ACEOF 
     6836/* confdefs.h.  */ 
     6837_ACEOF 
     6838cat confdefs.h >>conftest.$ac_ext 
     6839cat >>conftest.$ac_ext <<_ACEOF 
     6840/* end confdefs.h.  */ 
     6841$ac_includes_default 
     6842#include <semaphore.h> 
     6843_ACEOF 
     6844rm -f conftest.$ac_objext 
     6845if { (ac_try="$ac_compile" 
     6846case "(($ac_try" in 
     6847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6848  *) ac_try_echo=$ac_try;; 
     6849esac 
     6850eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6851  (eval "$ac_compile") 2>conftest.er1 
     6852  ac_status=$? 
     6853  grep -v '^ *+' conftest.er1 >conftest.err 
     6854  rm -f conftest.er1 
     6855  cat conftest.err >&5 
     6856  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6857  (exit $ac_status); } && { 
     6858         test -z "$ac_c_werror_flag" || 
     6859         test ! -s conftest.err 
     6860       } && test -s conftest.$ac_objext; then 
     6861  ac_header_compiler=yes 
     6862else 
     6863  echo "$as_me: failed program was:" >&5 
     6864sed 's/^/| /' conftest.$ac_ext >&5 
     6865 
     6866        ac_header_compiler=no 
     6867fi 
     6868 
     6869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     6870{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6871echo "${ECHO_T}$ac_header_compiler" >&6; } 
     6872 
     6873# Is the header present? 
     6874{ echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
     6875echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
     6876cat >conftest.$ac_ext <<_ACEOF 
     6877/* confdefs.h.  */ 
     6878_ACEOF 
     6879cat confdefs.h >>conftest.$ac_ext 
     6880cat >>conftest.$ac_ext <<_ACEOF 
     6881/* end confdefs.h.  */ 
     6882#include <semaphore.h> 
     6883_ACEOF 
     6884if { (ac_try="$ac_cpp conftest.$ac_ext" 
     6885case "(($ac_try" in 
     6886  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6887  *) ac_try_echo=$ac_try;; 
     6888esac 
     6889eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6890  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     6891  ac_status=$? 
     6892  grep -v '^ *+' conftest.er1 >conftest.err 
     6893  rm -f conftest.er1 
     6894  cat conftest.err >&5 
     6895  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6896  (exit $ac_status); } >/dev/null && { 
     6897         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     6898         test ! -s conftest.err 
     6899       }; then 
     6900  ac_header_preproc=yes 
     6901else 
     6902  echo "$as_me: failed program was:" >&5 
     6903sed 's/^/| /' conftest.$ac_ext >&5 
     6904 
     6905  ac_header_preproc=no 
     6906fi 
     6907 
     6908rm -f conftest.err conftest.$ac_ext 
     6909{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6910echo "${ECHO_T}$ac_header_preproc" >&6; } 
     6911 
     6912# So?  What about this header? 
     6913case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6914  yes:no: ) 
     6915    { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6916echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6917    { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
     6918echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
     6919    ac_header_preproc=yes 
     6920    ;; 
     6921  no:yes:* ) 
     6922    { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
     6923echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
     6924    { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
     6925echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
     6926    { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
     6927echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
     6928    { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6929echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6930    { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
     6931echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
     6932    { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
     6933echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
     6934 
     6935    ;; 
     6936esac 
     6937{ echo "$as_me:$LINENO: checking for semaphore.h" >&5 
     6938echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
     6939if test "${ac_cv_header_semaphore_h+set}" = set; then 
     6940  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6941else 
     6942  ac_cv_header_semaphore_h=$ac_header_preproc 
     6943fi 
     6944{ echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
     6945echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
     6946 
     6947fi 
     6948if test $ac_cv_header_semaphore_h = yes; then 
     6949  cat >>confdefs.h <<\_ACEOF 
     6950#define PJ_HAS_SEMAPHORE_H 1 
     6951_ACEOF 
     6952 
     6953fi 
     6954 
     6955 
     6956if test "${ac_cv_header_setjmp_h+set}" = set; then 
     6957  { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     6958echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
     6959if test "${ac_cv_header_setjmp_h+set}" = set; then 
     6960  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6961fi 
     6962{ echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     6963echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
     6964else 
     6965  # Is the header compilable? 
     6966{ echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
     6967echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
     6968cat >conftest.$ac_ext <<_ACEOF 
     6969/* confdefs.h.  */ 
     6970_ACEOF 
     6971cat confdefs.h >>conftest.$ac_ext 
     6972cat >>conftest.$ac_ext <<_ACEOF 
     6973/* end confdefs.h.  */ 
     6974$ac_includes_default 
     6975#include <setjmp.h> 
     6976_ACEOF 
     6977rm -f conftest.$ac_objext 
     6978if { (ac_try="$ac_compile" 
     6979case "(($ac_try" in 
     6980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     6981  *) ac_try_echo=$ac_try;; 
     6982esac 
     6983eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     6984  (eval "$ac_compile") 2>conftest.er1 
     6985  ac_status=$? 
     6986  grep -v '^ *+' conftest.er1 >conftest.err 
     6987  rm -f conftest.er1 
     6988  cat conftest.err >&5 
     6989  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6990  (exit $ac_status); } && { 
     6991         test -z "$ac_c_werror_flag" || 
     6992         test ! -s conftest.err 
     6993       } && test -s conftest.$ac_objext; then 
     6994  ac_header_compiler=yes 
     6995else 
     6996  echo "$as_me: failed program was:" >&5 
     6997sed 's/^/| /' conftest.$ac_ext >&5 
     6998 
     6999        ac_header_compiler=no 
     7000fi 
     7001 
     7002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7003{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7004echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7005 
     7006# Is the header present? 
     7007{ echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
     7008echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
     7009cat >conftest.$ac_ext <<_ACEOF 
     7010/* confdefs.h.  */ 
     7011_ACEOF 
     7012cat confdefs.h >>conftest.$ac_ext 
     7013cat >>conftest.$ac_ext <<_ACEOF 
     7014/* end confdefs.h.  */ 
     7015#include <setjmp.h> 
     7016_ACEOF 
     7017if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7018case "(($ac_try" in 
     7019  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7020  *) ac_try_echo=$ac_try;; 
     7021esac 
     7022eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7023  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7024  ac_status=$? 
     7025  grep -v '^ *+' conftest.er1 >conftest.err 
     7026  rm -f conftest.er1 
     7027  cat conftest.err >&5 
     7028  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7029  (exit $ac_status); } >/dev/null && { 
     7030         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7031         test ! -s conftest.err 
     7032       }; then 
     7033  ac_header_preproc=yes 
     7034else 
     7035  echo "$as_me: failed program was:" >&5 
     7036sed 's/^/| /' conftest.$ac_ext >&5 
     7037 
     7038  ac_header_preproc=no 
     7039fi 
     7040 
     7041rm -f conftest.err conftest.$ac_ext 
     7042{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7043echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7044 
     7045# So?  What about this header? 
     7046case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7047  yes:no: ) 
     7048    { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7049echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7050    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
     7051echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
     7052    ac_header_preproc=yes 
     7053    ;; 
     7054  no:yes:* ) 
     7055    { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
     7056echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
     7057    { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
     7058echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
     7059    { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
     7060echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
     7061    { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7062echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7063    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
     7064echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
     7065    { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
     7066echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
     7067 
     7068    ;; 
     7069esac 
     7070{ echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     7071echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
     7072if test "${ac_cv_header_setjmp_h+set}" = set; then 
     7073  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7074else 
     7075  ac_cv_header_setjmp_h=$ac_header_preproc 
     7076fi 
     7077{ echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     7078echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
     7079 
     7080fi 
     7081if test $ac_cv_header_setjmp_h = yes; then 
     7082  cat >>confdefs.h <<\_ACEOF 
     7083#define PJ_HAS_SETJMP_H 1 
     7084_ACEOF 
     7085 
     7086fi 
     7087 
     7088 
     7089if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7090  { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     7091echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
     7092if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7093  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7094fi 
     7095{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     7096echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
     7097else 
     7098  # Is the header compilable? 
     7099{ echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
     7100echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
     7101cat >conftest.$ac_ext <<_ACEOF 
     7102/* confdefs.h.  */ 
     7103_ACEOF 
     7104cat confdefs.h >>conftest.$ac_ext 
     7105cat >>conftest.$ac_ext <<_ACEOF 
     7106/* end confdefs.h.  */ 
     7107$ac_includes_default 
     7108#include <stdarg.h> 
     7109_ACEOF 
     7110rm -f conftest.$ac_objext 
     7111if { (ac_try="$ac_compile" 
     7112case "(($ac_try" in 
     7113  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7114  *) ac_try_echo=$ac_try;; 
     7115esac 
     7116eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7117  (eval "$ac_compile") 2>conftest.er1 
     7118  ac_status=$? 
     7119  grep -v '^ *+' conftest.er1 >conftest.err 
     7120  rm -f conftest.er1 
     7121  cat conftest.err >&5 
     7122  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7123  (exit $ac_status); } && { 
     7124         test -z "$ac_c_werror_flag" || 
     7125         test ! -s conftest.err 
     7126       } && test -s conftest.$ac_objext; then 
     7127  ac_header_compiler=yes 
     7128else 
     7129  echo "$as_me: failed program was:" >&5 
     7130sed 's/^/| /' conftest.$ac_ext >&5 
     7131 
     7132        ac_header_compiler=no 
     7133fi 
     7134 
     7135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7136{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7137echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7138 
     7139# Is the header present? 
     7140{ echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
     7141echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
     7142cat >conftest.$ac_ext <<_ACEOF 
     7143/* confdefs.h.  */ 
     7144_ACEOF 
     7145cat confdefs.h >>conftest.$ac_ext 
     7146cat >>conftest.$ac_ext <<_ACEOF 
     7147/* end confdefs.h.  */ 
     7148#include <stdarg.h> 
     7149_ACEOF 
     7150if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7151case "(($ac_try" in 
     7152  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7153  *) ac_try_echo=$ac_try;; 
     7154esac 
     7155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7156  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7157  ac_status=$? 
     7158  grep -v '^ *+' conftest.er1 >conftest.err 
     7159  rm -f conftest.er1 
     7160  cat conftest.err >&5 
     7161  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7162  (exit $ac_status); } >/dev/null && { 
     7163         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7164         test ! -s conftest.err 
     7165       }; then 
     7166  ac_header_preproc=yes 
     7167else 
     7168  echo "$as_me: failed program was:" >&5 
     7169sed 's/^/| /' conftest.$ac_ext >&5 
     7170 
     7171  ac_header_preproc=no 
     7172fi 
     7173 
     7174rm -f conftest.err conftest.$ac_ext 
     7175{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7176echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7177 
     7178# So?  What about this header? 
     7179case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7180  yes:no: ) 
     7181    { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7182echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7183    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
     7184echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
     7185    ac_header_preproc=yes 
     7186    ;; 
     7187  no:yes:* ) 
     7188    { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
     7189echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
     7190    { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
     7191echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
     7192    { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
     7193echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
     7194    { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7195echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7196    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
     7197echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
     7198    { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
     7199echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
     7200 
     7201    ;; 
     7202esac 
     7203{ echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     7204echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
     7205if test "${ac_cv_header_stdarg_h+set}" = set; then 
     7206  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7207else 
     7208  ac_cv_header_stdarg_h=$ac_header_preproc 
     7209fi 
     7210{ echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     7211echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
     7212 
     7213fi 
     7214if test $ac_cv_header_stdarg_h = yes; then 
     7215  cat >>confdefs.h <<\_ACEOF 
     7216#define PJ_HAS_STDARG_H 1 
     7217_ACEOF 
     7218 
     7219fi 
     7220 
     7221 
     7222if test "${ac_cv_header_stddef_h+set}" = set; then 
     7223  { echo "$as_me:$LINENO: checking for stddef.h" >&5 
     7224echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
     7225if test "${ac_cv_header_stddef_h+set}" = set; then 
     7226  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7227fi 
     7228{ echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     7229echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
     7230else 
     7231  # Is the header compilable? 
     7232{ echo "$as_me:$LINENO: checking stddef.h usability" >&5 
     7233echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
     7234cat >conftest.$ac_ext <<_ACEOF 
     7235/* confdefs.h.  */ 
     7236_ACEOF 
     7237cat confdefs.h >>conftest.$ac_ext 
     7238cat >>conftest.$ac_ext <<_ACEOF 
     7239/* end confdefs.h.  */ 
     7240$ac_includes_default 
     7241#include <stddef.h> 
     7242_ACEOF 
     7243rm -f conftest.$ac_objext 
     7244if { (ac_try="$ac_compile" 
     7245case "(($ac_try" in 
     7246  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7247  *) ac_try_echo=$ac_try;; 
     7248esac 
     7249eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7250  (eval "$ac_compile") 2>conftest.er1 
     7251  ac_status=$? 
     7252  grep -v '^ *+' conftest.er1 >conftest.err 
     7253  rm -f conftest.er1 
     7254  cat conftest.err >&5 
     7255  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7256  (exit $ac_status); } && { 
     7257         test -z "$ac_c_werror_flag" || 
     7258         test ! -s conftest.err 
     7259       } && test -s conftest.$ac_objext; then 
     7260  ac_header_compiler=yes 
     7261else 
     7262  echo "$as_me: failed program was:" >&5 
     7263sed 's/^/| /' conftest.$ac_ext >&5 
     7264 
     7265        ac_header_compiler=no 
     7266fi 
     7267 
     7268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7269{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7270echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7271 
     7272# Is the header present? 
     7273{ echo "$as_me:$LINENO: checking stddef.h presence" >&5 
     7274echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
     7275cat >conftest.$ac_ext <<_ACEOF 
     7276/* confdefs.h.  */ 
     7277_ACEOF 
     7278cat confdefs.h >>conftest.$ac_ext 
     7279cat >>conftest.$ac_ext <<_ACEOF 
     7280/* end confdefs.h.  */ 
     7281#include <stddef.h> 
     7282_ACEOF 
     7283if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7284case "(($ac_try" in 
     7285  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7286  *) ac_try_echo=$ac_try;; 
     7287esac 
     7288eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7289  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7290  ac_status=$? 
     7291  grep -v '^ *+' conftest.er1 >conftest.err 
     7292  rm -f conftest.er1 
     7293  cat conftest.err >&5 
     7294  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7295  (exit $ac_status); } >/dev/null && { 
     7296         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7297         test ! -s conftest.err 
     7298       }; then 
     7299  ac_header_preproc=yes 
     7300else 
     7301  echo "$as_me: failed program was:" >&5 
     7302sed 's/^/| /' conftest.$ac_ext >&5 
     7303 
     7304  ac_header_preproc=no 
     7305fi 
     7306 
     7307rm -f conftest.err conftest.$ac_ext 
     7308{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7309echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7310 
     7311# So?  What about this header? 
     7312case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7313  yes:no: ) 
     7314    { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7315echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7316    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
     7317echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
     7318    ac_header_preproc=yes 
     7319    ;; 
     7320  no:yes:* ) 
     7321    { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
     7322echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
     7323    { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
     7324echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
     7325    { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
     7326echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
     7327    { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7328echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7329    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
     7330echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
     7331    { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
     7332echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
     7333 
     7334    ;; 
     7335esac 
     7336{ echo "$as_me:$LINENO: checking for stddef.h" >&5 
     7337echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
     7338if test "${ac_cv_header_stddef_h+set}" = set; then 
     7339  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7340else 
     7341  ac_cv_header_stddef_h=$ac_header_preproc 
     7342fi 
     7343{ echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     7344echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
     7345 
     7346fi 
     7347if test $ac_cv_header_stddef_h = yes; then 
     7348  cat >>confdefs.h <<\_ACEOF 
     7349#define PJ_HAS_STDDEF_H 1 
     7350_ACEOF 
     7351 
     7352fi 
     7353 
     7354 
     7355if test "${ac_cv_header_stdio_h+set}" = set; then 
     7356  { echo "$as_me:$LINENO: checking for stdio.h" >&5 
     7357echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
     7358if test "${ac_cv_header_stdio_h+set}" = set; then 
     7359  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7360fi 
     7361{ echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     7362echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
     7363else 
     7364  # Is the header compilable? 
     7365{ echo "$as_me:$LINENO: checking stdio.h usability" >&5 
     7366echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
     7367cat >conftest.$ac_ext <<_ACEOF 
     7368/* confdefs.h.  */ 
     7369_ACEOF 
     7370cat confdefs.h >>conftest.$ac_ext 
     7371cat >>conftest.$ac_ext <<_ACEOF 
     7372/* end confdefs.h.  */ 
     7373$ac_includes_default 
     7374#include <stdio.h> 
     7375_ACEOF 
     7376rm -f conftest.$ac_objext 
     7377if { (ac_try="$ac_compile" 
     7378case "(($ac_try" in 
     7379  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7380  *) ac_try_echo=$ac_try;; 
     7381esac 
     7382eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7383  (eval "$ac_compile") 2>conftest.er1 
     7384  ac_status=$? 
     7385  grep -v '^ *+' conftest.er1 >conftest.err 
     7386  rm -f conftest.er1 
     7387  cat conftest.err >&5 
     7388  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7389  (exit $ac_status); } && { 
     7390         test -z "$ac_c_werror_flag" || 
     7391         test ! -s conftest.err 
     7392       } && test -s conftest.$ac_objext; then 
     7393  ac_header_compiler=yes 
     7394else 
     7395  echo "$as_me: failed program was:" >&5 
     7396sed 's/^/| /' conftest.$ac_ext >&5 
     7397 
     7398        ac_header_compiler=no 
     7399fi 
     7400 
     7401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7402{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7403echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7404 
     7405# Is the header present? 
     7406{ echo "$as_me:$LINENO: checking stdio.h presence" >&5 
     7407echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
     7408cat >conftest.$ac_ext <<_ACEOF 
     7409/* confdefs.h.  */ 
     7410_ACEOF 
     7411cat confdefs.h >>conftest.$ac_ext 
     7412cat >>conftest.$ac_ext <<_ACEOF 
     7413/* end confdefs.h.  */ 
     7414#include <stdio.h> 
     7415_ACEOF 
     7416if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7417case "(($ac_try" in 
     7418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7419  *) ac_try_echo=$ac_try;; 
     7420esac 
     7421eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7422  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7423  ac_status=$? 
     7424  grep -v '^ *+' conftest.er1 >conftest.err 
     7425  rm -f conftest.er1 
     7426  cat conftest.err >&5 
     7427  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7428  (exit $ac_status); } >/dev/null && { 
     7429         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7430         test ! -s conftest.err 
     7431       }; then 
     7432  ac_header_preproc=yes 
     7433else 
     7434  echo "$as_me: failed program was:" >&5 
     7435sed 's/^/| /' conftest.$ac_ext >&5 
     7436 
     7437  ac_header_preproc=no 
     7438fi 
     7439 
     7440rm -f conftest.err conftest.$ac_ext 
     7441{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7442echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7443 
     7444# So?  What about this header? 
     7445case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7446  yes:no: ) 
     7447    { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7448echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7449    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
     7450echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
     7451    ac_header_preproc=yes 
     7452    ;; 
     7453  no:yes:* ) 
     7454    { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
     7455echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
     7456    { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
     7457echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
     7458    { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
     7459echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
     7460    { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7461echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7462    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
     7463echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
     7464    { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
     7465echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
     7466 
     7467    ;; 
     7468esac 
     7469{ echo "$as_me:$LINENO: checking for stdio.h" >&5 
     7470echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
     7471if test "${ac_cv_header_stdio_h+set}" = set; then 
     7472  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7473else 
     7474  ac_cv_header_stdio_h=$ac_header_preproc 
     7475fi 
     7476{ echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     7477echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
     7478 
     7479fi 
     7480if test $ac_cv_header_stdio_h = yes; then 
     7481  cat >>confdefs.h <<\_ACEOF 
     7482#define PJ_HAS_STDIO_H 1 
     7483_ACEOF 
     7484 
     7485fi 
     7486 
     7487 
     7488if test "${ac_cv_header_stdint_h+set}" = set; then 
     7489  { echo "$as_me:$LINENO: checking for stdint.h" >&5 
     7490echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
     7491if test "${ac_cv_header_stdint_h+set}" = set; then 
     7492  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7493fi 
     7494{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
     7495echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
     7496else 
     7497  # Is the header compilable? 
     7498{ echo "$as_me:$LINENO: checking stdint.h usability" >&5 
     7499echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
     7500cat >conftest.$ac_ext <<_ACEOF 
     7501/* confdefs.h.  */ 
     7502_ACEOF 
     7503cat confdefs.h >>conftest.$ac_ext 
     7504cat >>conftest.$ac_ext <<_ACEOF 
     7505/* end confdefs.h.  */ 
     7506$ac_includes_default 
     7507#include <stdint.h> 
     7508_ACEOF 
     7509rm -f conftest.$ac_objext 
     7510if { (ac_try="$ac_compile" 
     7511case "(($ac_try" in 
     7512  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7513  *) ac_try_echo=$ac_try;; 
     7514esac 
     7515eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7516  (eval "$ac_compile") 2>conftest.er1 
     7517  ac_status=$? 
     7518  grep -v '^ *+' conftest.er1 >conftest.err 
     7519  rm -f conftest.er1 
     7520  cat conftest.err >&5 
     7521  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7522  (exit $ac_status); } && { 
     7523         test -z "$ac_c_werror_flag" || 
     7524         test ! -s conftest.err 
     7525       } && test -s conftest.$ac_objext; then 
     7526  ac_header_compiler=yes 
     7527else 
     7528  echo "$as_me: failed program was:" >&5 
     7529sed 's/^/| /' conftest.$ac_ext >&5 
     7530 
     7531        ac_header_compiler=no 
     7532fi 
     7533 
     7534rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7535{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7536echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7537 
     7538# Is the header present? 
     7539{ echo "$as_me:$LINENO: checking stdint.h presence" >&5 
     7540echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
     7541cat >conftest.$ac_ext <<_ACEOF 
     7542/* confdefs.h.  */ 
     7543_ACEOF 
     7544cat confdefs.h >>conftest.$ac_ext 
     7545cat >>conftest.$ac_ext <<_ACEOF 
     7546/* end confdefs.h.  */ 
     7547#include <stdint.h> 
     7548_ACEOF 
     7549if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7550case "(($ac_try" in 
     7551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7552  *) ac_try_echo=$ac_try;; 
     7553esac 
     7554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7555  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7556  ac_status=$? 
     7557  grep -v '^ *+' conftest.er1 >conftest.err 
     7558  rm -f conftest.er1 
     7559  cat conftest.err >&5 
     7560  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7561  (exit $ac_status); } >/dev/null && { 
     7562         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7563         test ! -s conftest.err 
     7564       }; then 
     7565  ac_header_preproc=yes 
     7566else 
     7567  echo "$as_me: failed program was:" >&5 
     7568sed 's/^/| /' conftest.$ac_ext >&5 
     7569 
     7570  ac_header_preproc=no 
     7571fi 
     7572 
     7573rm -f conftest.err conftest.$ac_ext 
     7574{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7575echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7576 
     7577# So?  What about this header? 
     7578case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7579  yes:no: ) 
     7580    { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7581echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7582    { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
     7583echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
     7584    ac_header_preproc=yes 
     7585    ;; 
     7586  no:yes:* ) 
     7587    { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
     7588echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
     7589    { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
     7590echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
     7591    { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
     7592echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
     7593    { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7594echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7595    { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
     7596echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
     7597    { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
     7598echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
     7599 
     7600    ;; 
     7601esac 
     7602{ echo "$as_me:$LINENO: checking for stdint.h" >&5 
     7603echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
     7604if test "${ac_cv_header_stdint_h+set}" = set; then 
     7605  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7606else 
     7607  ac_cv_header_stdint_h=$ac_header_preproc 
     7608fi 
     7609{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
     7610echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
     7611 
     7612fi 
     7613if test $ac_cv_header_stdint_h = yes; then 
     7614  cat >>confdefs.h <<\_ACEOF 
     7615#define PJ_HAS_STDINT_H 1 
     7616_ACEOF 
     7617 
     7618fi 
     7619 
     7620 
     7621if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7622  { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     7623echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
     7624if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7625  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7626fi 
     7627{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     7628echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
     7629else 
     7630  # Is the header compilable? 
     7631{ echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
     7632echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
     7633cat >conftest.$ac_ext <<_ACEOF 
     7634/* confdefs.h.  */ 
     7635_ACEOF 
     7636cat confdefs.h >>conftest.$ac_ext 
     7637cat >>conftest.$ac_ext <<_ACEOF 
     7638/* end confdefs.h.  */ 
     7639$ac_includes_default 
     7640#include <stdlib.h> 
     7641_ACEOF 
     7642rm -f conftest.$ac_objext 
     7643if { (ac_try="$ac_compile" 
     7644case "(($ac_try" in 
     7645  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7646  *) ac_try_echo=$ac_try;; 
     7647esac 
     7648eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7649  (eval "$ac_compile") 2>conftest.er1 
     7650  ac_status=$? 
     7651  grep -v '^ *+' conftest.er1 >conftest.err 
     7652  rm -f conftest.er1 
     7653  cat conftest.err >&5 
     7654  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7655  (exit $ac_status); } && { 
     7656         test -z "$ac_c_werror_flag" || 
     7657         test ! -s conftest.err 
     7658       } && test -s conftest.$ac_objext; then 
     7659  ac_header_compiler=yes 
     7660else 
     7661  echo "$as_me: failed program was:" >&5 
     7662sed 's/^/| /' conftest.$ac_ext >&5 
     7663 
     7664        ac_header_compiler=no 
     7665fi 
     7666 
     7667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7668{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7669echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7670 
     7671# Is the header present? 
     7672{ echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
     7673echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
     7674cat >conftest.$ac_ext <<_ACEOF 
     7675/* confdefs.h.  */ 
     7676_ACEOF 
     7677cat confdefs.h >>conftest.$ac_ext 
     7678cat >>conftest.$ac_ext <<_ACEOF 
     7679/* end confdefs.h.  */ 
     7680#include <stdlib.h> 
     7681_ACEOF 
     7682if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7683case "(($ac_try" in 
     7684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7685  *) ac_try_echo=$ac_try;; 
     7686esac 
     7687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7688  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7689  ac_status=$? 
     7690  grep -v '^ *+' conftest.er1 >conftest.err 
     7691  rm -f conftest.er1 
     7692  cat conftest.err >&5 
     7693  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7694  (exit $ac_status); } >/dev/null && { 
     7695         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7696         test ! -s conftest.err 
     7697       }; then 
     7698  ac_header_preproc=yes 
     7699else 
     7700  echo "$as_me: failed program was:" >&5 
     7701sed 's/^/| /' conftest.$ac_ext >&5 
     7702 
     7703  ac_header_preproc=no 
     7704fi 
     7705 
     7706rm -f conftest.err conftest.$ac_ext 
     7707{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7708echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7709 
     7710# So?  What about this header? 
     7711case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7712  yes:no: ) 
     7713    { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7714echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7715    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
     7716echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
     7717    ac_header_preproc=yes 
     7718    ;; 
     7719  no:yes:* ) 
     7720    { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
     7721echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
     7722    { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
     7723echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
     7724    { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
     7725echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
     7726    { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7727echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7728    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
     7729echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
     7730    { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
     7731echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
     7732 
     7733    ;; 
     7734esac 
     7735{ echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     7736echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
     7737if test "${ac_cv_header_stdlib_h+set}" = set; then 
     7738  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7739else 
     7740  ac_cv_header_stdlib_h=$ac_header_preproc 
     7741fi 
     7742{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     7743echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
     7744 
     7745fi 
     7746if test $ac_cv_header_stdlib_h = yes; then 
     7747  cat >>confdefs.h <<\_ACEOF 
     7748#define PJ_HAS_STDLIB_H 1 
     7749_ACEOF 
     7750 
     7751fi 
     7752 
     7753 
     7754if test "${ac_cv_header_string_h+set}" = set; then 
     7755  { echo "$as_me:$LINENO: checking for string.h" >&5 
     7756echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
     7757if test "${ac_cv_header_string_h+set}" = set; then 
     7758  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7759fi 
     7760{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     7761echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
     7762else 
     7763  # Is the header compilable? 
     7764{ echo "$as_me:$LINENO: checking string.h usability" >&5 
     7765echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
     7766cat >conftest.$ac_ext <<_ACEOF 
     7767/* confdefs.h.  */ 
     7768_ACEOF 
     7769cat confdefs.h >>conftest.$ac_ext 
     7770cat >>conftest.$ac_ext <<_ACEOF 
     7771/* end confdefs.h.  */ 
     7772$ac_includes_default 
     7773#include <string.h> 
     7774_ACEOF 
     7775rm -f conftest.$ac_objext 
     7776if { (ac_try="$ac_compile" 
     7777case "(($ac_try" in 
     7778  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7779  *) ac_try_echo=$ac_try;; 
     7780esac 
     7781eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7782  (eval "$ac_compile") 2>conftest.er1 
     7783  ac_status=$? 
     7784  grep -v '^ *+' conftest.er1 >conftest.err 
     7785  rm -f conftest.er1 
     7786  cat conftest.err >&5 
     7787  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7788  (exit $ac_status); } && { 
     7789         test -z "$ac_c_werror_flag" || 
     7790         test ! -s conftest.err 
     7791       } && test -s conftest.$ac_objext; then 
     7792  ac_header_compiler=yes 
     7793else 
     7794  echo "$as_me: failed program was:" >&5 
     7795sed 's/^/| /' conftest.$ac_ext >&5 
     7796 
     7797        ac_header_compiler=no 
     7798fi 
     7799 
     7800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7801{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7802echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7803 
     7804# Is the header present? 
     7805{ echo "$as_me:$LINENO: checking string.h presence" >&5 
     7806echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
     7807cat >conftest.$ac_ext <<_ACEOF 
     7808/* confdefs.h.  */ 
     7809_ACEOF 
     7810cat confdefs.h >>conftest.$ac_ext 
     7811cat >>conftest.$ac_ext <<_ACEOF 
     7812/* end confdefs.h.  */ 
     7813#include <string.h> 
     7814_ACEOF 
     7815if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7816case "(($ac_try" in 
     7817  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7818  *) ac_try_echo=$ac_try;; 
     7819esac 
     7820eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7821  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7822  ac_status=$? 
     7823  grep -v '^ *+' conftest.er1 >conftest.err 
     7824  rm -f conftest.er1 
     7825  cat conftest.err >&5 
     7826  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7827  (exit $ac_status); } >/dev/null && { 
     7828         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7829         test ! -s conftest.err 
     7830       }; then 
     7831  ac_header_preproc=yes 
     7832else 
     7833  echo "$as_me: failed program was:" >&5 
     7834sed 's/^/| /' conftest.$ac_ext >&5 
     7835 
     7836  ac_header_preproc=no 
     7837fi 
     7838 
     7839rm -f conftest.err conftest.$ac_ext 
     7840{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7841echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7842 
     7843# So?  What about this header? 
     7844case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7845  yes:no: ) 
     7846    { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7847echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7848    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
     7849echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
     7850    ac_header_preproc=yes 
     7851    ;; 
     7852  no:yes:* ) 
     7853    { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
     7854echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
     7855    { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
     7856echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
     7857    { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
     7858echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
     7859    { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7860echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7861    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
     7862echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
     7863    { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
     7864echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
     7865 
     7866    ;; 
     7867esac 
     7868{ echo "$as_me:$LINENO: checking for string.h" >&5 
     7869echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
     7870if test "${ac_cv_header_string_h+set}" = set; then 
     7871  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7872else 
     7873  ac_cv_header_string_h=$ac_header_preproc 
     7874fi 
     7875{ echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     7876echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
     7877 
     7878fi 
     7879if test $ac_cv_header_string_h = yes; then 
     7880  cat >>confdefs.h <<\_ACEOF 
     7881#define PJ_HAS_STRING_H 1 
     7882_ACEOF 
     7883 
     7884fi 
     7885 
     7886 
     7887if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     7888  { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     7889echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
     7890if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     7891  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7892fi 
     7893{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     7894echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
     7895else 
     7896  # Is the header compilable? 
     7897{ echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
     7898echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
     7899cat >conftest.$ac_ext <<_ACEOF 
     7900/* confdefs.h.  */ 
     7901_ACEOF 
     7902cat confdefs.h >>conftest.$ac_ext 
     7903cat >>conftest.$ac_ext <<_ACEOF 
     7904/* end confdefs.h.  */ 
     7905$ac_includes_default 
     7906#include <sys/ioctl.h> 
     7907_ACEOF 
     7908rm -f conftest.$ac_objext 
     7909if { (ac_try="$ac_compile" 
     7910case "(($ac_try" in 
     7911  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7912  *) ac_try_echo=$ac_try;; 
     7913esac 
     7914eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7915  (eval "$ac_compile") 2>conftest.er1 
     7916  ac_status=$? 
     7917  grep -v '^ *+' conftest.er1 >conftest.err 
     7918  rm -f conftest.er1 
     7919  cat conftest.err >&5 
     7920  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7921  (exit $ac_status); } && { 
     7922         test -z "$ac_c_werror_flag" || 
     7923         test ! -s conftest.err 
     7924       } && test -s conftest.$ac_objext; then 
     7925  ac_header_compiler=yes 
     7926else 
     7927  echo "$as_me: failed program was:" >&5 
     7928sed 's/^/| /' conftest.$ac_ext >&5 
     7929 
     7930        ac_header_compiler=no 
     7931fi 
     7932 
     7933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     7934{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7935echo "${ECHO_T}$ac_header_compiler" >&6; } 
     7936 
     7937# Is the header present? 
     7938{ echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
     7939echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
     7940cat >conftest.$ac_ext <<_ACEOF 
     7941/* confdefs.h.  */ 
     7942_ACEOF 
     7943cat confdefs.h >>conftest.$ac_ext 
     7944cat >>conftest.$ac_ext <<_ACEOF 
     7945/* end confdefs.h.  */ 
     7946#include <sys/ioctl.h> 
     7947_ACEOF 
     7948if { (ac_try="$ac_cpp conftest.$ac_ext" 
     7949case "(($ac_try" in 
     7950  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     7951  *) ac_try_echo=$ac_try;; 
     7952esac 
     7953eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     7954  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     7955  ac_status=$? 
     7956  grep -v '^ *+' conftest.er1 >conftest.err 
     7957  rm -f conftest.er1 
     7958  cat conftest.err >&5 
     7959  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7960  (exit $ac_status); } >/dev/null && { 
     7961         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     7962         test ! -s conftest.err 
     7963       }; then 
     7964  ac_header_preproc=yes 
     7965else 
     7966  echo "$as_me: failed program was:" >&5 
     7967sed 's/^/| /' conftest.$ac_ext >&5 
     7968 
     7969  ac_header_preproc=no 
     7970fi 
     7971 
     7972rm -f conftest.err conftest.$ac_ext 
     7973{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7974echo "${ECHO_T}$ac_header_preproc" >&6; } 
     7975 
     7976# So?  What about this header? 
     7977case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7978  yes:no: ) 
     7979    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7980echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7981    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
     7982echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
     7983    ac_header_preproc=yes 
     7984    ;; 
     7985  no:yes:* ) 
     7986    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
     7987echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
     7988    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
     7989echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
     7990    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
     7991echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
     7992    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7993echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7994    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
     7995echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
     7996    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
     7997echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
     7998 
     7999    ;; 
     8000esac 
     8001{ echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     8002echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
     8003if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     8004  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8005else 
     8006  ac_cv_header_sys_ioctl_h=$ac_header_preproc 
     8007fi 
     8008{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     8009echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
     8010 
     8011fi 
     8012if test $ac_cv_header_sys_ioctl_h = yes; then 
     8013  cat >>confdefs.h <<\_ACEOF 
     8014#define PJ_HAS_SYS_IOCTL_H 1 
     8015_ACEOF 
     8016 
     8017fi 
     8018 
     8019 
     8020if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8021  { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     8022echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
     8023if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8024  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8025fi 
     8026{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     8027echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
     8028else 
     8029  # Is the header compilable? 
     8030{ echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
     8031echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
     8032cat >conftest.$ac_ext <<_ACEOF 
     8033/* confdefs.h.  */ 
     8034_ACEOF 
     8035cat confdefs.h >>conftest.$ac_ext 
     8036cat >>conftest.$ac_ext <<_ACEOF 
     8037/* end confdefs.h.  */ 
     8038$ac_includes_default 
     8039#include <sys/select.h> 
     8040_ACEOF 
     8041rm -f conftest.$ac_objext 
     8042if { (ac_try="$ac_compile" 
     8043case "(($ac_try" in 
     8044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8045  *) ac_try_echo=$ac_try;; 
     8046esac 
     8047eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8048  (eval "$ac_compile") 2>conftest.er1 
     8049  ac_status=$? 
     8050  grep -v '^ *+' conftest.er1 >conftest.err 
     8051  rm -f conftest.er1 
     8052  cat conftest.err >&5 
     8053  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8054  (exit $ac_status); } && { 
     8055         test -z "$ac_c_werror_flag" || 
     8056         test ! -s conftest.err 
     8057       } && test -s conftest.$ac_objext; then 
     8058  ac_header_compiler=yes 
     8059else 
     8060  echo "$as_me: failed program was:" >&5 
     8061sed 's/^/| /' conftest.$ac_ext >&5 
     8062 
     8063        ac_header_compiler=no 
     8064fi 
     8065 
     8066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8067{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8068echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8069 
     8070# Is the header present? 
     8071{ echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
     8072echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
     8073cat >conftest.$ac_ext <<_ACEOF 
     8074/* confdefs.h.  */ 
     8075_ACEOF 
     8076cat confdefs.h >>conftest.$ac_ext 
     8077cat >>conftest.$ac_ext <<_ACEOF 
     8078/* end confdefs.h.  */ 
     8079#include <sys/select.h> 
     8080_ACEOF 
     8081if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8082case "(($ac_try" in 
     8083  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8084  *) ac_try_echo=$ac_try;; 
     8085esac 
     8086eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8087  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8088  ac_status=$? 
     8089  grep -v '^ *+' conftest.er1 >conftest.err 
     8090  rm -f conftest.er1 
     8091  cat conftest.err >&5 
     8092  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8093  (exit $ac_status); } >/dev/null && { 
     8094         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8095         test ! -s conftest.err 
     8096       }; then 
     8097  ac_header_preproc=yes 
     8098else 
     8099  echo "$as_me: failed program was:" >&5 
     8100sed 's/^/| /' conftest.$ac_ext >&5 
     8101 
     8102  ac_header_preproc=no 
     8103fi 
     8104 
     8105rm -f conftest.err conftest.$ac_ext 
     8106{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8107echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8108 
     8109# So?  What about this header? 
     8110case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8111  yes:no: ) 
     8112    { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8113echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8114    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
     8115echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
     8116    ac_header_preproc=yes 
     8117    ;; 
     8118  no:yes:* ) 
     8119    { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
     8120echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
     8121    { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
     8122echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
     8123    { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
     8124echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
     8125    { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8126echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8127    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
     8128echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
     8129    { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
     8130echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
     8131 
     8132    ;; 
     8133esac 
     8134{ echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     8135echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
     8136if test "${ac_cv_header_sys_select_h+set}" = set; then 
     8137  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8138else 
     8139  ac_cv_header_sys_select_h=$ac_header_preproc 
     8140fi 
     8141{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     8142echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
     8143 
     8144fi 
     8145if test $ac_cv_header_sys_select_h = yes; then 
     8146  cat >>confdefs.h <<\_ACEOF 
     8147#define PJ_HAS_SYS_SELECT_H 1 
     8148_ACEOF 
     8149 
     8150fi 
     8151 
     8152 
     8153if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8154  { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     8155echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
     8156if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8157  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8158fi 
     8159{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     8160echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
     8161else 
     8162  # Is the header compilable? 
     8163{ echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
     8164echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
     8165cat >conftest.$ac_ext <<_ACEOF 
     8166/* confdefs.h.  */ 
     8167_ACEOF 
     8168cat confdefs.h >>conftest.$ac_ext 
     8169cat >>conftest.$ac_ext <<_ACEOF 
     8170/* end confdefs.h.  */ 
     8171$ac_includes_default 
     8172#include <sys/socket.h> 
     8173_ACEOF 
     8174rm -f conftest.$ac_objext 
     8175if { (ac_try="$ac_compile" 
     8176case "(($ac_try" in 
     8177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8178  *) ac_try_echo=$ac_try;; 
     8179esac 
     8180eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8181  (eval "$ac_compile") 2>conftest.er1 
     8182  ac_status=$? 
     8183  grep -v '^ *+' conftest.er1 >conftest.err 
     8184  rm -f conftest.er1 
     8185  cat conftest.err >&5 
     8186  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8187  (exit $ac_status); } && { 
     8188         test -z "$ac_c_werror_flag" || 
     8189         test ! -s conftest.err 
     8190       } && test -s conftest.$ac_objext; then 
     8191  ac_header_compiler=yes 
     8192else 
     8193  echo "$as_me: failed program was:" >&5 
     8194sed 's/^/| /' conftest.$ac_ext >&5 
     8195 
     8196        ac_header_compiler=no 
     8197fi 
     8198 
     8199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8200{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8201echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8202 
     8203# Is the header present? 
     8204{ echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
     8205echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
     8206cat >conftest.$ac_ext <<_ACEOF 
     8207/* confdefs.h.  */ 
     8208_ACEOF 
     8209cat confdefs.h >>conftest.$ac_ext 
     8210cat >>conftest.$ac_ext <<_ACEOF 
     8211/* end confdefs.h.  */ 
     8212#include <sys/socket.h> 
     8213_ACEOF 
     8214if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8215case "(($ac_try" in 
     8216  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8217  *) ac_try_echo=$ac_try;; 
     8218esac 
     8219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8220  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8221  ac_status=$? 
     8222  grep -v '^ *+' conftest.er1 >conftest.err 
     8223  rm -f conftest.er1 
     8224  cat conftest.err >&5 
     8225  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8226  (exit $ac_status); } >/dev/null && { 
     8227         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8228         test ! -s conftest.err 
     8229       }; then 
     8230  ac_header_preproc=yes 
     8231else 
     8232  echo "$as_me: failed program was:" >&5 
     8233sed 's/^/| /' conftest.$ac_ext >&5 
     8234 
     8235  ac_header_preproc=no 
     8236fi 
     8237 
     8238rm -f conftest.err conftest.$ac_ext 
     8239{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8240echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8241 
     8242# So?  What about this header? 
     8243case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8244  yes:no: ) 
     8245    { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8246echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8247    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
     8248echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
     8249    ac_header_preproc=yes 
     8250    ;; 
     8251  no:yes:* ) 
     8252    { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
     8253echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
     8254    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
     8255echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
     8256    { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
     8257echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
     8258    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8259echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8260    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
     8261echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
     8262    { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
     8263echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
     8264 
     8265    ;; 
     8266esac 
     8267{ echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     8268echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
     8269if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     8270  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8271else 
     8272  ac_cv_header_sys_socket_h=$ac_header_preproc 
     8273fi 
     8274{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     8275echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
     8276 
     8277fi 
     8278if test $ac_cv_header_sys_socket_h = yes; then 
     8279  cat >>confdefs.h <<\_ACEOF 
     8280#define PJ_HAS_SYS_SOCKET_H 1 
     8281_ACEOF 
     8282 
     8283fi 
     8284 
     8285 
     8286if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8287  { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     8288echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
     8289if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8290  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8291fi 
     8292{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     8293echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
     8294else 
     8295  # Is the header compilable? 
     8296{ echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
     8297echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
     8298cat >conftest.$ac_ext <<_ACEOF 
     8299/* confdefs.h.  */ 
     8300_ACEOF 
     8301cat confdefs.h >>conftest.$ac_ext 
     8302cat >>conftest.$ac_ext <<_ACEOF 
     8303/* end confdefs.h.  */ 
     8304$ac_includes_default 
     8305#include <sys/time.h> 
     8306_ACEOF 
     8307rm -f conftest.$ac_objext 
     8308if { (ac_try="$ac_compile" 
     8309case "(($ac_try" in 
     8310  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8311  *) ac_try_echo=$ac_try;; 
     8312esac 
     8313eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8314  (eval "$ac_compile") 2>conftest.er1 
     8315  ac_status=$? 
     8316  grep -v '^ *+' conftest.er1 >conftest.err 
     8317  rm -f conftest.er1 
     8318  cat conftest.err >&5 
     8319  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8320  (exit $ac_status); } && { 
     8321         test -z "$ac_c_werror_flag" || 
     8322         test ! -s conftest.err 
     8323       } && test -s conftest.$ac_objext; then 
     8324  ac_header_compiler=yes 
     8325else 
     8326  echo "$as_me: failed program was:" >&5 
     8327sed 's/^/| /' conftest.$ac_ext >&5 
     8328 
     8329        ac_header_compiler=no 
     8330fi 
     8331 
     8332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8333{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8334echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8335 
     8336# Is the header present? 
     8337{ echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
     8338echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
     8339cat >conftest.$ac_ext <<_ACEOF 
     8340/* confdefs.h.  */ 
     8341_ACEOF 
     8342cat confdefs.h >>conftest.$ac_ext 
     8343cat >>conftest.$ac_ext <<_ACEOF 
     8344/* end confdefs.h.  */ 
     8345#include <sys/time.h> 
     8346_ACEOF 
     8347if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8348case "(($ac_try" in 
     8349  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8350  *) ac_try_echo=$ac_try;; 
     8351esac 
     8352eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8353  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8354  ac_status=$? 
     8355  grep -v '^ *+' conftest.er1 >conftest.err 
     8356  rm -f conftest.er1 
     8357  cat conftest.err >&5 
     8358  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8359  (exit $ac_status); } >/dev/null && { 
     8360         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8361         test ! -s conftest.err 
     8362       }; then 
     8363  ac_header_preproc=yes 
     8364else 
     8365  echo "$as_me: failed program was:" >&5 
     8366sed 's/^/| /' conftest.$ac_ext >&5 
     8367 
     8368  ac_header_preproc=no 
     8369fi 
     8370 
     8371rm -f conftest.err conftest.$ac_ext 
     8372{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8373echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8374 
     8375# So?  What about this header? 
     8376case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8377  yes:no: ) 
     8378    { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8379echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8380    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
     8381echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
     8382    ac_header_preproc=yes 
     8383    ;; 
     8384  no:yes:* ) 
     8385    { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
     8386echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
     8387    { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
     8388echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
     8389    { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
     8390echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
     8391    { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8392echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8393    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
     8394echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
     8395    { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
     8396echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
     8397 
     8398    ;; 
     8399esac 
     8400{ echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     8401echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
     8402if test "${ac_cv_header_sys_time_h+set}" = set; then 
     8403  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8404else 
     8405  ac_cv_header_sys_time_h=$ac_header_preproc 
     8406fi 
     8407{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     8408echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
     8409 
     8410fi 
     8411if test $ac_cv_header_sys_time_h = yes; then 
     8412  cat >>confdefs.h <<\_ACEOF 
     8413#define PJ_HAS_SYS_TIME_H 1 
     8414_ACEOF 
     8415 
     8416fi 
     8417 
     8418 
     8419if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8420  { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     8421echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
     8422if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8423  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8424fi 
     8425{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     8426echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
     8427else 
     8428  # Is the header compilable? 
     8429{ echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
     8430echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
     8431cat >conftest.$ac_ext <<_ACEOF 
     8432/* confdefs.h.  */ 
     8433_ACEOF 
     8434cat confdefs.h >>conftest.$ac_ext 
     8435cat >>conftest.$ac_ext <<_ACEOF 
     8436/* end confdefs.h.  */ 
     8437$ac_includes_default 
     8438#include <sys/timeb.h> 
     8439_ACEOF 
     8440rm -f conftest.$ac_objext 
     8441if { (ac_try="$ac_compile" 
     8442case "(($ac_try" in 
     8443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8444  *) ac_try_echo=$ac_try;; 
     8445esac 
     8446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8447  (eval "$ac_compile") 2>conftest.er1 
     8448  ac_status=$? 
     8449  grep -v '^ *+' conftest.er1 >conftest.err 
     8450  rm -f conftest.er1 
     8451  cat conftest.err >&5 
     8452  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8453  (exit $ac_status); } && { 
     8454         test -z "$ac_c_werror_flag" || 
     8455         test ! -s conftest.err 
     8456       } && test -s conftest.$ac_objext; then 
     8457  ac_header_compiler=yes 
     8458else 
     8459  echo "$as_me: failed program was:" >&5 
     8460sed 's/^/| /' conftest.$ac_ext >&5 
     8461 
     8462        ac_header_compiler=no 
     8463fi 
     8464 
     8465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8466{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8467echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8468 
     8469# Is the header present? 
     8470{ echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
     8471echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
     8472cat >conftest.$ac_ext <<_ACEOF 
     8473/* confdefs.h.  */ 
     8474_ACEOF 
     8475cat confdefs.h >>conftest.$ac_ext 
     8476cat >>conftest.$ac_ext <<_ACEOF 
     8477/* end confdefs.h.  */ 
     8478#include <sys/timeb.h> 
     8479_ACEOF 
     8480if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8481case "(($ac_try" in 
     8482  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8483  *) ac_try_echo=$ac_try;; 
     8484esac 
     8485eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8486  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8487  ac_status=$? 
     8488  grep -v '^ *+' conftest.er1 >conftest.err 
     8489  rm -f conftest.er1 
     8490  cat conftest.err >&5 
     8491  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8492  (exit $ac_status); } >/dev/null && { 
     8493         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8494         test ! -s conftest.err 
     8495       }; then 
     8496  ac_header_preproc=yes 
     8497else 
     8498  echo "$as_me: failed program was:" >&5 
     8499sed 's/^/| /' conftest.$ac_ext >&5 
     8500 
     8501  ac_header_preproc=no 
     8502fi 
     8503 
     8504rm -f conftest.err conftest.$ac_ext 
     8505{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8506echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8507 
     8508# So?  What about this header? 
     8509case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8510  yes:no: ) 
     8511    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8512echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8513    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
     8514echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
     8515    ac_header_preproc=yes 
     8516    ;; 
     8517  no:yes:* ) 
     8518    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
     8519echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
     8520    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
     8521echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
     8522    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
     8523echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
     8524    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8525echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8526    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
     8527echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
     8528    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
     8529echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
     8530 
     8531    ;; 
     8532esac 
     8533{ echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     8534echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
     8535if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     8536  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8537else 
     8538  ac_cv_header_sys_timeb_h=$ac_header_preproc 
     8539fi 
     8540{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     8541echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
     8542 
     8543fi 
     8544if test $ac_cv_header_sys_timeb_h = yes; then 
     8545  cat >>confdefs.h <<\_ACEOF 
     8546#define PJ_HAS_SYS_TIMEB_H 1 
     8547_ACEOF 
     8548 
     8549fi 
     8550 
     8551 
     8552if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8553  { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     8554echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
     8555if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8556  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8557fi 
     8558{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     8559echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
     8560else 
     8561  # Is the header compilable? 
     8562{ echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
     8563echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
     8564cat >conftest.$ac_ext <<_ACEOF 
     8565/* confdefs.h.  */ 
     8566_ACEOF 
     8567cat confdefs.h >>conftest.$ac_ext 
     8568cat >>conftest.$ac_ext <<_ACEOF 
     8569/* end confdefs.h.  */ 
     8570$ac_includes_default 
     8571#include <sys/types.h> 
     8572_ACEOF 
     8573rm -f conftest.$ac_objext 
     8574if { (ac_try="$ac_compile" 
     8575case "(($ac_try" in 
     8576  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8577  *) ac_try_echo=$ac_try;; 
     8578esac 
     8579eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8580  (eval "$ac_compile") 2>conftest.er1 
     8581  ac_status=$? 
     8582  grep -v '^ *+' conftest.er1 >conftest.err 
     8583  rm -f conftest.er1 
     8584  cat conftest.err >&5 
     8585  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8586  (exit $ac_status); } && { 
     8587         test -z "$ac_c_werror_flag" || 
     8588         test ! -s conftest.err 
     8589       } && test -s conftest.$ac_objext; then 
     8590  ac_header_compiler=yes 
     8591else 
     8592  echo "$as_me: failed program was:" >&5 
     8593sed 's/^/| /' conftest.$ac_ext >&5 
     8594 
     8595        ac_header_compiler=no 
     8596fi 
     8597 
     8598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8599{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8600echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8601 
     8602# Is the header present? 
     8603{ echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
     8604echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
     8605cat >conftest.$ac_ext <<_ACEOF 
     8606/* confdefs.h.  */ 
     8607_ACEOF 
     8608cat confdefs.h >>conftest.$ac_ext 
     8609cat >>conftest.$ac_ext <<_ACEOF 
     8610/* end confdefs.h.  */ 
     8611#include <sys/types.h> 
     8612_ACEOF 
     8613if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8614case "(($ac_try" in 
     8615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8616  *) ac_try_echo=$ac_try;; 
     8617esac 
     8618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8619  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8620  ac_status=$? 
     8621  grep -v '^ *+' conftest.er1 >conftest.err 
     8622  rm -f conftest.er1 
     8623  cat conftest.err >&5 
     8624  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8625  (exit $ac_status); } >/dev/null && { 
     8626         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8627         test ! -s conftest.err 
     8628       }; then 
     8629  ac_header_preproc=yes 
     8630else 
     8631  echo "$as_me: failed program was:" >&5 
     8632sed 's/^/| /' conftest.$ac_ext >&5 
     8633 
     8634  ac_header_preproc=no 
     8635fi 
     8636 
     8637rm -f conftest.err conftest.$ac_ext 
     8638{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8639echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8640 
     8641# So?  What about this header? 
     8642case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8643  yes:no: ) 
     8644    { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8645echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8646    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
     8647echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
     8648    ac_header_preproc=yes 
     8649    ;; 
     8650  no:yes:* ) 
     8651    { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
     8652echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
     8653    { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
     8654echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
     8655    { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
     8656echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
     8657    { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8658echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8659    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
     8660echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
     8661    { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
     8662echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
     8663 
     8664    ;; 
     8665esac 
     8666{ echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     8667echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
     8668if test "${ac_cv_header_sys_types_h+set}" = set; then 
     8669  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8670else 
     8671  ac_cv_header_sys_types_h=$ac_header_preproc 
     8672fi 
     8673{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     8674echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
     8675 
     8676fi 
     8677if test $ac_cv_header_sys_types_h = yes; then 
     8678  cat >>confdefs.h <<\_ACEOF 
     8679#define PJ_HAS_SYS_TYPES_H 1 
     8680_ACEOF 
     8681 
     8682fi 
     8683 
     8684 
     8685if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8686  { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
     8687echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
     8688if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8689  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8690fi 
     8691{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
     8692echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
     8693else 
     8694  # Is the header compilable? 
     8695{ echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
     8696echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
     8697cat >conftest.$ac_ext <<_ACEOF 
     8698/* confdefs.h.  */ 
     8699_ACEOF 
     8700cat confdefs.h >>conftest.$ac_ext 
     8701cat >>conftest.$ac_ext <<_ACEOF 
     8702/* end confdefs.h.  */ 
     8703$ac_includes_default 
     8704#include <sys/filio.h> 
     8705_ACEOF 
     8706rm -f conftest.$ac_objext 
     8707if { (ac_try="$ac_compile" 
     8708case "(($ac_try" in 
     8709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8710  *) ac_try_echo=$ac_try;; 
     8711esac 
     8712eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8713  (eval "$ac_compile") 2>conftest.er1 
     8714  ac_status=$? 
     8715  grep -v '^ *+' conftest.er1 >conftest.err 
     8716  rm -f conftest.er1 
     8717  cat conftest.err >&5 
     8718  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8719  (exit $ac_status); } && { 
     8720         test -z "$ac_c_werror_flag" || 
     8721         test ! -s conftest.err 
     8722       } && test -s conftest.$ac_objext; then 
     8723  ac_header_compiler=yes 
     8724else 
     8725  echo "$as_me: failed program was:" >&5 
     8726sed 's/^/| /' conftest.$ac_ext >&5 
     8727 
     8728        ac_header_compiler=no 
     8729fi 
     8730 
     8731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8732{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8733echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8734 
     8735# Is the header present? 
     8736{ echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
     8737echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
     8738cat >conftest.$ac_ext <<_ACEOF 
     8739/* confdefs.h.  */ 
     8740_ACEOF 
     8741cat confdefs.h >>conftest.$ac_ext 
     8742cat >>conftest.$ac_ext <<_ACEOF 
     8743/* end confdefs.h.  */ 
     8744#include <sys/filio.h> 
     8745_ACEOF 
     8746if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8747case "(($ac_try" in 
     8748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8749  *) ac_try_echo=$ac_try;; 
     8750esac 
     8751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8752  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8753  ac_status=$? 
     8754  grep -v '^ *+' conftest.er1 >conftest.err 
     8755  rm -f conftest.er1 
     8756  cat conftest.err >&5 
     8757  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8758  (exit $ac_status); } >/dev/null && { 
     8759         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8760         test ! -s conftest.err 
     8761       }; then 
     8762  ac_header_preproc=yes 
     8763else 
     8764  echo "$as_me: failed program was:" >&5 
     8765sed 's/^/| /' conftest.$ac_ext >&5 
     8766 
     8767  ac_header_preproc=no 
     8768fi 
     8769 
     8770rm -f conftest.err conftest.$ac_ext 
     8771{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8772echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8773 
     8774# So?  What about this header? 
     8775case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8776  yes:no: ) 
     8777    { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8778echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8779    { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
     8780echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
     8781    ac_header_preproc=yes 
     8782    ;; 
     8783  no:yes:* ) 
     8784    { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
     8785echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
     8786    { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
     8787echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
     8788    { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
     8789echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
     8790    { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8791echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8792    { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
     8793echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
     8794    { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
     8795echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
     8796 
     8797    ;; 
     8798esac 
     8799{ echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
     8800echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
     8801if test "${ac_cv_header_sys_filio_h+set}" = set; then 
     8802  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8803else 
     8804  ac_cv_header_sys_filio_h=$ac_header_preproc 
     8805fi 
     8806{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
     8807echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
     8808 
     8809fi 
     8810if test $ac_cv_header_sys_filio_h = yes; then 
     8811  cat >>confdefs.h <<\_ACEOF 
     8812#define PJ_HAS_SYS_FILIO_H 1 
     8813_ACEOF 
     8814 
     8815fi 
     8816 
     8817 
     8818if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8819  { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
     8820echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
     8821if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8822  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8823fi 
     8824{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
     8825echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
     8826else 
     8827  # Is the header compilable? 
     8828{ echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
     8829echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
     8830cat >conftest.$ac_ext <<_ACEOF 
     8831/* confdefs.h.  */ 
     8832_ACEOF 
     8833cat confdefs.h >>conftest.$ac_ext 
     8834cat >>conftest.$ac_ext <<_ACEOF 
     8835/* end confdefs.h.  */ 
     8836$ac_includes_default 
     8837#include <sys/sockio.h> 
     8838_ACEOF 
     8839rm -f conftest.$ac_objext 
     8840if { (ac_try="$ac_compile" 
     8841case "(($ac_try" in 
     8842  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8843  *) ac_try_echo=$ac_try;; 
     8844esac 
     8845eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8846  (eval "$ac_compile") 2>conftest.er1 
     8847  ac_status=$? 
     8848  grep -v '^ *+' conftest.er1 >conftest.err 
     8849  rm -f conftest.er1 
     8850  cat conftest.err >&5 
     8851  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8852  (exit $ac_status); } && { 
     8853         test -z "$ac_c_werror_flag" || 
     8854         test ! -s conftest.err 
     8855       } && test -s conftest.$ac_objext; then 
     8856  ac_header_compiler=yes 
     8857else 
     8858  echo "$as_me: failed program was:" >&5 
     8859sed 's/^/| /' conftest.$ac_ext >&5 
     8860 
     8861        ac_header_compiler=no 
     8862fi 
     8863 
     8864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8865{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8866echo "${ECHO_T}$ac_header_compiler" >&6; } 
     8867 
     8868# Is the header present? 
     8869{ echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
     8870echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
     8871cat >conftest.$ac_ext <<_ACEOF 
     8872/* confdefs.h.  */ 
     8873_ACEOF 
     8874cat confdefs.h >>conftest.$ac_ext 
     8875cat >>conftest.$ac_ext <<_ACEOF 
     8876/* end confdefs.h.  */ 
     8877#include <sys/sockio.h> 
     8878_ACEOF 
     8879if { (ac_try="$ac_cpp conftest.$ac_ext" 
     8880case "(($ac_try" in 
     8881  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8882  *) ac_try_echo=$ac_try;; 
     8883esac 
     8884eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8885  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     8886  ac_status=$? 
     8887  grep -v '^ *+' conftest.er1 >conftest.err 
     8888  rm -f conftest.er1 
     8889  cat conftest.err >&5 
     8890  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8891  (exit $ac_status); } >/dev/null && { 
     8892         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     8893         test ! -s conftest.err 
     8894       }; then 
     8895  ac_header_preproc=yes 
     8896else 
     8897  echo "$as_me: failed program was:" >&5 
     8898sed 's/^/| /' conftest.$ac_ext >&5 
     8899 
     8900  ac_header_preproc=no 
     8901fi 
     8902 
     8903rm -f conftest.err conftest.$ac_ext 
     8904{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8905echo "${ECHO_T}$ac_header_preproc" >&6; } 
     8906 
     8907# So?  What about this header? 
     8908case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8909  yes:no: ) 
     8910    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8911echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8912    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
     8913echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
     8914    ac_header_preproc=yes 
     8915    ;; 
     8916  no:yes:* ) 
     8917    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
     8918echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
     8919    { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
     8920echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
     8921    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
     8922echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
     8923    { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8924echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8925    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
     8926echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
     8927    { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
     8928echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
     8929 
     8930    ;; 
     8931esac 
     8932{ echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
     8933echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
     8934if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
     8935  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8936else 
     8937  ac_cv_header_sys_sockio_h=$ac_header_preproc 
     8938fi 
     8939{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
     8940echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
     8941 
     8942fi 
     8943if test $ac_cv_header_sys_sockio_h = yes; then 
     8944  cat >>confdefs.h <<\_ACEOF 
     8945#define PJ_HAS_SYS_SOCKIO_H 1 
     8946_ACEOF 
     8947 
     8948fi 
     8949 
     8950 
     8951if test "${ac_cv_header_time_h+set}" = set; then 
     8952  { echo "$as_me:$LINENO: checking for time.h" >&5 
     8953echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
     8954if test "${ac_cv_header_time_h+set}" = set; then 
     8955  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8956fi 
     8957{ echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     8958echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
     8959else 
     8960  # Is the header compilable? 
     8961{ echo "$as_me:$LINENO: checking time.h usability" >&5 
     8962echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
     8963cat >conftest.$ac_ext <<_ACEOF 
     8964/* confdefs.h.  */ 
     8965_ACEOF 
     8966cat confdefs.h >>conftest.$ac_ext 
     8967cat >>conftest.$ac_ext <<_ACEOF 
     8968/* end confdefs.h.  */ 
     8969$ac_includes_default 
     8970#include <time.h> 
     8971_ACEOF 
     8972rm -f conftest.$ac_objext 
     8973if { (ac_try="$ac_compile" 
     8974case "(($ac_try" in 
     8975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8976  *) ac_try_echo=$ac_try;; 
     8977esac 
     8978eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8979  (eval "$ac_compile") 2>conftest.er1 
     8980  ac_status=$? 
     8981  grep -v '^ *+' conftest.er1 >conftest.err 
     8982  rm -f conftest.er1 
     8983  cat conftest.err >&5 
     8984  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8985  (exit $ac_status); } && { 
     8986         test -z "$ac_c_werror_flag" || 
     8987         test ! -s conftest.err 
     8988       } && test -s conftest.$ac_objext; then 
     8989  ac_header_compiler=yes 
     8990else 
     8991  echo "$as_me: failed program was:" >&5 
     8992sed 's/^/| /' conftest.$ac_ext >&5 
     8993 
     8994        ac_header_compiler=no 
     8995fi 
     8996 
     8997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8998{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8999echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9000 
     9001# Is the header present? 
     9002{ echo "$as_me:$LINENO: checking time.h presence" >&5 
     9003echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
     9004cat >conftest.$ac_ext <<_ACEOF 
     9005/* confdefs.h.  */ 
     9006_ACEOF 
     9007cat confdefs.h >>conftest.$ac_ext 
     9008cat >>conftest.$ac_ext <<_ACEOF 
     9009/* end confdefs.h.  */ 
     9010#include <time.h> 
     9011_ACEOF 
     9012if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9013case "(($ac_try" in 
     9014  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9015  *) ac_try_echo=$ac_try;; 
     9016esac 
     9017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9018  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9019  ac_status=$? 
     9020  grep -v '^ *+' conftest.er1 >conftest.err 
     9021  rm -f conftest.er1 
     9022  cat conftest.err >&5 
     9023  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9024  (exit $ac_status); } >/dev/null && { 
     9025         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9026         test ! -s conftest.err 
     9027       }; then 
     9028  ac_header_preproc=yes 
     9029else 
     9030  echo "$as_me: failed program was:" >&5 
     9031sed 's/^/| /' conftest.$ac_ext >&5 
     9032 
     9033  ac_header_preproc=no 
     9034fi 
     9035 
     9036rm -f conftest.err conftest.$ac_ext 
     9037{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9038echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9039 
     9040# So?  What about this header? 
     9041case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9042  yes:no: ) 
     9043    { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9044echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9045    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
     9046echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
     9047    ac_header_preproc=yes 
     9048    ;; 
     9049  no:yes:* ) 
     9050    { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
     9051echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
     9052    { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
     9053echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
     9054    { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
     9055echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
     9056    { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9057echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9058    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
     9059echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
     9060    { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
     9061echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
     9062 
     9063    ;; 
     9064esac 
     9065{ echo "$as_me:$LINENO: checking for time.h" >&5 
     9066echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
     9067if test "${ac_cv_header_time_h+set}" = set; then 
     9068  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9069else 
     9070  ac_cv_header_time_h=$ac_header_preproc 
     9071fi 
     9072{ echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     9073echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
     9074 
     9075fi 
     9076if test $ac_cv_header_time_h = yes; then 
     9077  cat >>confdefs.h <<\_ACEOF 
     9078#define PJ_HAS_TIME_H 1 
     9079_ACEOF 
     9080 
     9081fi 
     9082 
     9083 
     9084if test "${ac_cv_header_unistd_h+set}" = set; then 
     9085  { echo "$as_me:$LINENO: checking for unistd.h" >&5 
     9086echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
     9087if test "${ac_cv_header_unistd_h+set}" = set; then 
     9088  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9089fi 
     9090{ echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     9091echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
     9092else 
     9093  # Is the header compilable? 
     9094{ echo "$as_me:$LINENO: checking unistd.h usability" >&5 
     9095echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
     9096cat >conftest.$ac_ext <<_ACEOF 
     9097/* confdefs.h.  */ 
     9098_ACEOF 
     9099cat confdefs.h >>conftest.$ac_ext 
     9100cat >>conftest.$ac_ext <<_ACEOF 
     9101/* end confdefs.h.  */ 
     9102$ac_includes_default 
     9103#include <unistd.h> 
     9104_ACEOF 
     9105rm -f conftest.$ac_objext 
     9106if { (ac_try="$ac_compile" 
     9107case "(($ac_try" in 
     9108  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9109  *) ac_try_echo=$ac_try;; 
     9110esac 
     9111eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9112  (eval "$ac_compile") 2>conftest.er1 
     9113  ac_status=$? 
     9114  grep -v '^ *+' conftest.er1 >conftest.err 
     9115  rm -f conftest.er1 
     9116  cat conftest.err >&5 
     9117  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9118  (exit $ac_status); } && { 
     9119         test -z "$ac_c_werror_flag" || 
     9120         test ! -s conftest.err 
     9121       } && test -s conftest.$ac_objext; then 
     9122  ac_header_compiler=yes 
     9123else 
     9124  echo "$as_me: failed program was:" >&5 
     9125sed 's/^/| /' conftest.$ac_ext >&5 
     9126 
     9127        ac_header_compiler=no 
     9128fi 
     9129 
     9130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9131{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9132echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9133 
     9134# Is the header present? 
     9135{ echo "$as_me:$LINENO: checking unistd.h presence" >&5 
     9136echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
     9137cat >conftest.$ac_ext <<_ACEOF 
     9138/* confdefs.h.  */ 
     9139_ACEOF 
     9140cat confdefs.h >>conftest.$ac_ext 
     9141cat >>conftest.$ac_ext <<_ACEOF 
     9142/* end confdefs.h.  */ 
     9143#include <unistd.h> 
     9144_ACEOF 
     9145if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9146case "(($ac_try" in 
     9147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9148  *) ac_try_echo=$ac_try;; 
     9149esac 
     9150eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9151  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9152  ac_status=$? 
     9153  grep -v '^ *+' conftest.er1 >conftest.err 
     9154  rm -f conftest.er1 
     9155  cat conftest.err >&5 
     9156  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9157  (exit $ac_status); } >/dev/null && { 
     9158         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9159         test ! -s conftest.err 
     9160       }; then 
     9161  ac_header_preproc=yes 
     9162else 
     9163  echo "$as_me: failed program was:" >&5 
     9164sed 's/^/| /' conftest.$ac_ext >&5 
     9165 
     9166  ac_header_preproc=no 
     9167fi 
     9168 
     9169rm -f conftest.err conftest.$ac_ext 
     9170{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9171echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9172 
     9173# So?  What about this header? 
     9174case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9175  yes:no: ) 
     9176    { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9177echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9178    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
     9179echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
     9180    ac_header_preproc=yes 
     9181    ;; 
     9182  no:yes:* ) 
     9183    { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
     9184echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
     9185    { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
     9186echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
     9187    { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
     9188echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
     9189    { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9190echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9191    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
     9192echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
     9193    { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
     9194echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
     9195 
     9196    ;; 
     9197esac 
     9198{ echo "$as_me:$LINENO: checking for unistd.h" >&5 
     9199echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
     9200if test "${ac_cv_header_unistd_h+set}" = set; then 
     9201  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9202else 
     9203  ac_cv_header_unistd_h=$ac_header_preproc 
     9204fi 
     9205{ echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     9206echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
     9207 
     9208fi 
     9209if test $ac_cv_header_unistd_h = yes; then 
     9210  cat >>confdefs.h <<\_ACEOF 
     9211#define PJ_HAS_UNISTD_H 1 
     9212_ACEOF 
     9213 
     9214fi 
     9215 
     9216 
     9217if test "${ac_cv_header_winsock_h+set}" = set; then 
     9218  { echo "$as_me:$LINENO: checking for winsock.h" >&5 
     9219echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
     9220if test "${ac_cv_header_winsock_h+set}" = set; then 
     9221  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9222fi 
     9223{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     9224echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
     9225else 
     9226  # Is the header compilable? 
     9227{ echo "$as_me:$LINENO: checking winsock.h usability" >&5 
     9228echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
     9229cat >conftest.$ac_ext <<_ACEOF 
     9230/* confdefs.h.  */ 
     9231_ACEOF 
     9232cat confdefs.h >>conftest.$ac_ext 
     9233cat >>conftest.$ac_ext <<_ACEOF 
     9234/* end confdefs.h.  */ 
     9235$ac_includes_default 
     9236#include <winsock.h> 
     9237_ACEOF 
     9238rm -f conftest.$ac_objext 
     9239if { (ac_try="$ac_compile" 
     9240case "(($ac_try" in 
     9241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9242  *) ac_try_echo=$ac_try;; 
     9243esac 
     9244eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9245  (eval "$ac_compile") 2>conftest.er1 
     9246  ac_status=$? 
     9247  grep -v '^ *+' conftest.er1 >conftest.err 
     9248  rm -f conftest.er1 
     9249  cat conftest.err >&5 
     9250  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9251  (exit $ac_status); } && { 
     9252         test -z "$ac_c_werror_flag" || 
     9253         test ! -s conftest.err 
     9254       } && test -s conftest.$ac_objext; then 
     9255  ac_header_compiler=yes 
     9256else 
     9257  echo "$as_me: failed program was:" >&5 
     9258sed 's/^/| /' conftest.$ac_ext >&5 
     9259 
     9260        ac_header_compiler=no 
     9261fi 
     9262 
     9263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9264{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9265echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9266 
     9267# Is the header present? 
     9268{ echo "$as_me:$LINENO: checking winsock.h presence" >&5 
     9269echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
     9270cat >conftest.$ac_ext <<_ACEOF 
     9271/* confdefs.h.  */ 
     9272_ACEOF 
     9273cat confdefs.h >>conftest.$ac_ext 
     9274cat >>conftest.$ac_ext <<_ACEOF 
     9275/* end confdefs.h.  */ 
     9276#include <winsock.h> 
     9277_ACEOF 
     9278if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9279case "(($ac_try" in 
     9280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9281  *) ac_try_echo=$ac_try;; 
     9282esac 
     9283eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9284  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9285  ac_status=$? 
     9286  grep -v '^ *+' conftest.er1 >conftest.err 
     9287  rm -f conftest.er1 
     9288  cat conftest.err >&5 
     9289  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9290  (exit $ac_status); } >/dev/null && { 
     9291         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9292         test ! -s conftest.err 
     9293       }; then 
     9294  ac_header_preproc=yes 
     9295else 
     9296  echo "$as_me: failed program was:" >&5 
     9297sed 's/^/| /' conftest.$ac_ext >&5 
     9298 
     9299  ac_header_preproc=no 
     9300fi 
     9301 
     9302rm -f conftest.err conftest.$ac_ext 
     9303{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9304echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9305 
     9306# So?  What about this header? 
     9307case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9308  yes:no: ) 
     9309    { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9310echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9311    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
     9312echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
     9313    ac_header_preproc=yes 
     9314    ;; 
     9315  no:yes:* ) 
     9316    { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
     9317echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
     9318    { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
     9319echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
     9320    { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
     9321echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
     9322    { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9323echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9324    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
     9325echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
     9326    { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
     9327echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
     9328 
     9329    ;; 
     9330esac 
     9331{ echo "$as_me:$LINENO: checking for winsock.h" >&5 
     9332echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
     9333if test "${ac_cv_header_winsock_h+set}" = set; then 
     9334  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9335else 
     9336  ac_cv_header_winsock_h=$ac_header_preproc 
     9337fi 
     9338{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     9339echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
     9340 
     9341fi 
     9342if test $ac_cv_header_winsock_h = yes; then 
     9343  cat >>confdefs.h <<\_ACEOF 
     9344#define PJ_HAS_WINSOCK_H 1 
     9345_ACEOF 
     9346 
     9347fi 
     9348 
     9349 
     9350if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9351  { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     9352echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
     9353if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9354  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9355fi 
     9356{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     9357echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
     9358else 
     9359  # Is the header compilable? 
     9360{ echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
     9361echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
     9362cat >conftest.$ac_ext <<_ACEOF 
     9363/* confdefs.h.  */ 
     9364_ACEOF 
     9365cat confdefs.h >>conftest.$ac_ext 
     9366cat >>conftest.$ac_ext <<_ACEOF 
     9367/* end confdefs.h.  */ 
     9368$ac_includes_default 
     9369#include <winsock2.h> 
     9370_ACEOF 
     9371rm -f conftest.$ac_objext 
     9372if { (ac_try="$ac_compile" 
     9373case "(($ac_try" in 
     9374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9375  *) ac_try_echo=$ac_try;; 
     9376esac 
     9377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9378  (eval "$ac_compile") 2>conftest.er1 
     9379  ac_status=$? 
     9380  grep -v '^ *+' conftest.er1 >conftest.err 
     9381  rm -f conftest.er1 
     9382  cat conftest.err >&5 
     9383  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9384  (exit $ac_status); } && { 
     9385         test -z "$ac_c_werror_flag" || 
     9386         test ! -s conftest.err 
     9387       } && test -s conftest.$ac_objext; then 
     9388  ac_header_compiler=yes 
     9389else 
     9390  echo "$as_me: failed program was:" >&5 
     9391sed 's/^/| /' conftest.$ac_ext >&5 
     9392 
     9393        ac_header_compiler=no 
     9394fi 
     9395 
     9396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9397{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9398echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9399 
     9400# Is the header present? 
     9401{ echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
     9402echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
     9403cat >conftest.$ac_ext <<_ACEOF 
     9404/* confdefs.h.  */ 
     9405_ACEOF 
     9406cat confdefs.h >>conftest.$ac_ext 
     9407cat >>conftest.$ac_ext <<_ACEOF 
     9408/* end confdefs.h.  */ 
     9409#include <winsock2.h> 
     9410_ACEOF 
     9411if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9412case "(($ac_try" in 
     9413  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9414  *) ac_try_echo=$ac_try;; 
     9415esac 
     9416eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9417  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9418  ac_status=$? 
     9419  grep -v '^ *+' conftest.er1 >conftest.err 
     9420  rm -f conftest.er1 
     9421  cat conftest.err >&5 
     9422  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9423  (exit $ac_status); } >/dev/null && { 
     9424         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9425         test ! -s conftest.err 
     9426       }; then 
     9427  ac_header_preproc=yes 
     9428else 
     9429  echo "$as_me: failed program was:" >&5 
     9430sed 's/^/| /' conftest.$ac_ext >&5 
     9431 
     9432  ac_header_preproc=no 
     9433fi 
     9434 
     9435rm -f conftest.err conftest.$ac_ext 
     9436{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9437echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9438 
     9439# So?  What about this header? 
     9440case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9441  yes:no: ) 
     9442    { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9443echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9444    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
     9445echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
     9446    ac_header_preproc=yes 
     9447    ;; 
     9448  no:yes:* ) 
     9449    { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
     9450echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
     9451    { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
     9452echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
     9453    { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
     9454echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
     9455    { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9456echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9457    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
     9458echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
     9459    { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
     9460echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
     9461 
     9462    ;; 
     9463esac 
     9464{ echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     9465echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
     9466if test "${ac_cv_header_winsock2_h+set}" = set; then 
     9467  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9468else 
     9469  ac_cv_header_winsock2_h=$ac_header_preproc 
     9470fi 
     9471{ echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     9472echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
     9473 
     9474fi 
     9475if test $ac_cv_header_winsock2_h = yes; then 
     9476  cat >>confdefs.h <<\_ACEOF 
     9477#define PJ_HAS_WINSOCK2_H 1 
     9478_ACEOF 
     9479 
     9480fi 
     9481 
     9482 
     9483{ echo "$as_me:$LINENO: checking for mswsock.h" >&5 
     9484echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
     9485if test "${ac_cv_header_mswsock_h+set}" = set; then 
     9486  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9487else 
     9488  cat >conftest.$ac_ext <<_ACEOF 
     9489/* confdefs.h.  */ 
     9490_ACEOF 
     9491cat confdefs.h >>conftest.$ac_ext 
     9492cat >>conftest.$ac_ext <<_ACEOF 
     9493/* end confdefs.h.  */ 
     9494#if PJ_HAS_WINSOCK2_H 
    49419495                  #     include <winsock2.h> 
    49429496                  #elif PJ_HAS_WINSOCK_H 
     
    49449498                  #endif 
    49459499 
    4946 " 
    4947 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
    4948   $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
    4949  
    4950 fi 
    4951  
    4952  
    4953 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
    4954 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
    4955   $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
    4956  
    4957 fi 
    4958  
    4959  
    4960 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
    4961 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
     9500 
     9501#include <mswsock.h> 
     9502_ACEOF 
     9503rm -f conftest.$ac_objext 
     9504if { (ac_try="$ac_compile" 
     9505case "(($ac_try" in 
     9506  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9507  *) ac_try_echo=$ac_try;; 
     9508esac 
     9509eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9510  (eval "$ac_compile") 2>conftest.er1 
     9511  ac_status=$? 
     9512  grep -v '^ *+' conftest.er1 >conftest.err 
     9513  rm -f conftest.er1 
     9514  cat conftest.err >&5 
     9515  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9516  (exit $ac_status); } && { 
     9517         test -z "$ac_c_werror_flag" || 
     9518         test ! -s conftest.err 
     9519       } && test -s conftest.$ac_objext; then 
     9520  ac_cv_header_mswsock_h=yes 
     9521else 
     9522  echo "$as_me: failed program was:" >&5 
     9523sed 's/^/| /' conftest.$ac_ext >&5 
     9524 
     9525        ac_cv_header_mswsock_h=no 
     9526fi 
     9527 
     9528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9529fi 
     9530{ echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
     9531echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
     9532if test $ac_cv_header_mswsock_h = yes; then 
     9533  cat >>confdefs.h <<\_ACEOF 
     9534#define PJ_HAS_MSWSOCK_H 1 
     9535_ACEOF 
     9536 
     9537fi 
     9538 
     9539 
     9540if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9541  { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
     9542echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
     9543if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9544  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9545fi 
     9546{ echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
     9547echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
     9548else 
     9549  # Is the header compilable? 
     9550{ echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
     9551echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
     9552cat >conftest.$ac_ext <<_ACEOF 
     9553/* confdefs.h.  */ 
     9554_ACEOF 
     9555cat confdefs.h >>conftest.$ac_ext 
     9556cat >>conftest.$ac_ext <<_ACEOF 
     9557/* end confdefs.h.  */ 
     9558$ac_includes_default 
     9559#include <ws2tcpip.h> 
     9560_ACEOF 
     9561rm -f conftest.$ac_objext 
     9562if { (ac_try="$ac_compile" 
     9563case "(($ac_try" in 
     9564  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9565  *) ac_try_echo=$ac_try;; 
     9566esac 
     9567eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9568  (eval "$ac_compile") 2>conftest.er1 
     9569  ac_status=$? 
     9570  grep -v '^ *+' conftest.er1 >conftest.err 
     9571  rm -f conftest.er1 
     9572  cat conftest.err >&5 
     9573  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9574  (exit $ac_status); } && { 
     9575         test -z "$ac_c_werror_flag" || 
     9576         test ! -s conftest.err 
     9577       } && test -s conftest.$ac_objext; then 
     9578  ac_header_compiler=yes 
     9579else 
     9580  echo "$as_me: failed program was:" >&5 
     9581sed 's/^/| /' conftest.$ac_ext >&5 
     9582 
     9583        ac_header_compiler=no 
     9584fi 
     9585 
     9586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9587{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9588echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9589 
     9590# Is the header present? 
     9591{ echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
     9592echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
     9593cat >conftest.$ac_ext <<_ACEOF 
     9594/* confdefs.h.  */ 
     9595_ACEOF 
     9596cat confdefs.h >>conftest.$ac_ext 
     9597cat >>conftest.$ac_ext <<_ACEOF 
     9598/* end confdefs.h.  */ 
     9599#include <ws2tcpip.h> 
     9600_ACEOF 
     9601if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9602case "(($ac_try" in 
     9603  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9604  *) ac_try_echo=$ac_try;; 
     9605esac 
     9606eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9607  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9608  ac_status=$? 
     9609  grep -v '^ *+' conftest.er1 >conftest.err 
     9610  rm -f conftest.er1 
     9611  cat conftest.err >&5 
     9612  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9613  (exit $ac_status); } >/dev/null && { 
     9614         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9615         test ! -s conftest.err 
     9616       }; then 
     9617  ac_header_preproc=yes 
     9618else 
     9619  echo "$as_me: failed program was:" >&5 
     9620sed 's/^/| /' conftest.$ac_ext >&5 
     9621 
     9622  ac_header_preproc=no 
     9623fi 
     9624 
     9625rm -f conftest.err conftest.$ac_ext 
     9626{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9627echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9628 
     9629# So?  What about this header? 
     9630case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9631  yes:no: ) 
     9632    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9633echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9634    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
     9635echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
     9636    ac_header_preproc=yes 
     9637    ;; 
     9638  no:yes:* ) 
     9639    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
     9640echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
     9641    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
     9642echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
     9643    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
     9644echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
     9645    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9646echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9647    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
     9648echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
     9649    { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
     9650echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
     9651 
     9652    ;; 
     9653esac 
     9654{ echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
     9655echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
     9656if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
     9657  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9658else 
     9659  ac_cv_header_ws2tcpip_h=$ac_header_preproc 
     9660fi 
     9661{ echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
     9662echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
     9663 
     9664fi 
     9665if test $ac_cv_header_ws2tcpip_h = yes; then 
     9666  cat >>confdefs.h <<\_ACEOF 
     9667#define PJ_HAS_WS2TCPIP_H 1 
     9668_ACEOF 
     9669 
     9670fi 
     9671 
     9672 
     9673if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9674  { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
     9675echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
     9676if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9677  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9678fi 
     9679{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
     9680echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
     9681else 
     9682  # Is the header compilable? 
     9683{ echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
     9684echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
     9685cat >conftest.$ac_ext <<_ACEOF 
     9686/* confdefs.h.  */ 
     9687_ACEOF 
     9688cat confdefs.h >>conftest.$ac_ext 
     9689cat >>conftest.$ac_ext <<_ACEOF 
     9690/* end confdefs.h.  */ 
     9691$ac_includes_default 
     9692#include <uuid/uuid.h> 
     9693_ACEOF 
     9694rm -f conftest.$ac_objext 
     9695if { (ac_try="$ac_compile" 
     9696case "(($ac_try" in 
     9697  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9698  *) ac_try_echo=$ac_try;; 
     9699esac 
     9700eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9701  (eval "$ac_compile") 2>conftest.er1 
     9702  ac_status=$? 
     9703  grep -v '^ *+' conftest.er1 >conftest.err 
     9704  rm -f conftest.er1 
     9705  cat conftest.err >&5 
     9706  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9707  (exit $ac_status); } && { 
     9708         test -z "$ac_c_werror_flag" || 
     9709         test ! -s conftest.err 
     9710       } && test -s conftest.$ac_objext; then 
     9711  ac_header_compiler=yes 
     9712else 
     9713  echo "$as_me: failed program was:" >&5 
     9714sed 's/^/| /' conftest.$ac_ext >&5 
     9715 
     9716        ac_header_compiler=no 
     9717fi 
     9718 
     9719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9720{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     9721echo "${ECHO_T}$ac_header_compiler" >&6; } 
     9722 
     9723# Is the header present? 
     9724{ echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
     9725echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
     9726cat >conftest.$ac_ext <<_ACEOF 
     9727/* confdefs.h.  */ 
     9728_ACEOF 
     9729cat confdefs.h >>conftest.$ac_ext 
     9730cat >>conftest.$ac_ext <<_ACEOF 
     9731/* end confdefs.h.  */ 
     9732#include <uuid/uuid.h> 
     9733_ACEOF 
     9734if { (ac_try="$ac_cpp conftest.$ac_ext" 
     9735case "(($ac_try" in 
     9736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9737  *) ac_try_echo=$ac_try;; 
     9738esac 
     9739eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9740  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     9741  ac_status=$? 
     9742  grep -v '^ *+' conftest.er1 >conftest.err 
     9743  rm -f conftest.er1 
     9744  cat conftest.err >&5 
     9745  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9746  (exit $ac_status); } >/dev/null && { 
     9747         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     9748         test ! -s conftest.err 
     9749       }; then 
     9750  ac_header_preproc=yes 
     9751else 
     9752  echo "$as_me: failed program was:" >&5 
     9753sed 's/^/| /' conftest.$ac_ext >&5 
     9754 
     9755  ac_header_preproc=no 
     9756fi 
     9757 
     9758rm -f conftest.err conftest.$ac_ext 
     9759{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     9760echo "${ECHO_T}$ac_header_preproc" >&6; } 
     9761 
     9762# So?  What about this header? 
     9763case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     9764  yes:no: ) 
     9765    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     9766echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     9767    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
     9768echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
     9769    ac_header_preproc=yes 
     9770    ;; 
     9771  no:yes:* ) 
     9772    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
     9773echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
     9774    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
     9775echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
     9776    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
     9777echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
     9778    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
     9779echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     9780    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
     9781echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
     9782    { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
     9783echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
     9784 
     9785    ;; 
     9786esac 
     9787{ echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
     9788echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
     9789if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
     9790  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9791else 
     9792  ac_cv_header_uuid_uuid_h=$ac_header_preproc 
     9793fi 
     9794{ echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
     9795echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
     9796 
     9797fi 
     9798if test $ac_cv_header_uuid_uuid_h = yes; then 
    49629799  ac_has_uuid_h=1 
    49639800fi 
    49649801 
    49659802 
    4966 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
     9803{ echo "$as_me:$LINENO: checking for net/if.h" >&5 
     9804echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
     9805if test "${ac_cv_header_net_if_h+set}" = set; then 
     9806  echo $ECHO_N "(cached) $ECHO_C" >&6 
     9807else 
     9808  cat >conftest.$ac_ext <<_ACEOF 
     9809/* confdefs.h.  */ 
     9810_ACEOF 
     9811cat confdefs.h >>conftest.$ac_ext 
     9812cat >>conftest.$ac_ext <<_ACEOF 
     9813/* end confdefs.h.  */ 
     9814#if PJ_HAS_SYS_TYPES_H 
    49679815                  #     include <sys/types.h> 
    49689816                  #endif 
     
    49729820                  #endif 
    49739821 
    4974 " 
    4975 if test "x$ac_cv_header_net_if_h" = x""yes; then : 
    4976   $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
    4977  
    4978 fi 
    4979  
    4980  
    4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
    4982 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 
     9822 
     9823#include <net/if.h> 
     9824_ACEOF 
     9825rm -f conftest.$ac_objext 
     9826if { (ac_try="$ac_compile" 
     9827case "(($ac_try" in 
     9828  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9829  *) ac_try_echo=$ac_try;; 
     9830esac 
     9831eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9832  (eval "$ac_compile") 2>conftest.er1 
     9833  ac_status=$? 
     9834  grep -v '^ *+' conftest.er1 >conftest.err 
     9835  rm -f conftest.er1 
     9836  cat conftest.err >&5 
     9837  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9838  (exit $ac_status); } && { 
     9839         test -z "$ac_c_werror_flag" || 
     9840         test ! -s conftest.err 
     9841       } && test -s conftest.$ac_objext; then 
     9842  ac_cv_header_net_if_h=yes 
     9843else 
     9844  echo "$as_me: failed program was:" >&5 
     9845sed 's/^/| /' conftest.$ac_ext >&5 
     9846 
     9847        ac_cv_header_net_if_h=no 
     9848fi 
     9849 
     9850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     9851fi 
     9852{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
     9853echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
     9854if test $ac_cv_header_net_if_h = yes; then 
     9855  cat >>confdefs.h <<\_ACEOF 
     9856#define PJ_HAS_NET_IF_H 1 
     9857_ACEOF 
     9858 
     9859fi 
     9860 
     9861 
     9862{ echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
     9863echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
    49839864cat >>confdefs.h <<_ACEOF 
    49849865#define PJ_OS_NAME "$target" 
     
    49869867 
    49879868 
    4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    4989 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    4990 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
    4991  
    4992  
    4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    4994 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    4995 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
    4996  
    4997  
    4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
    4999 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
    5000 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
    5001  
    5002  
    5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    5004 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    5005 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
    5006  
    5007  
    5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    5009 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    5010 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
    5011  
    5012  
    5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
    5014 $as_echo_n "checking if inet_aton() is available... " >&6; } 
    5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9869{ echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     9870echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     9871cat >>confdefs.h <<\_ACEOF 
     9872#define PJ_HAS_ERRNO_VAR 1 
     9873_ACEOF 
     9874 
     9875 
     9876{ echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     9877echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     9878cat >>confdefs.h <<\_ACEOF 
     9879#define PJ_HAS_HIGH_RES_TIMER 1 
     9880_ACEOF 
     9881 
     9882 
     9883{ echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
     9884echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
     9885cat >>confdefs.h <<\_ACEOF 
     9886#define PJ_HAS_MALLOC 1 
     9887_ACEOF 
     9888 
     9889 
     9890{ echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     9891echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     9892cat >>confdefs.h <<\_ACEOF 
     9893#define PJ_NATIVE_STRING_IS_UNICODE 0 
     9894_ACEOF 
     9895 
     9896 
     9897{ echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     9898echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     9899cat >>confdefs.h <<\_ACEOF 
     9900#define PJ_ATOMIC_VALUE_TYPE long 
     9901_ACEOF 
     9902 
     9903 
     9904{ echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
     9905echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
     9906cat >conftest.$ac_ext <<_ACEOF 
     9907/* confdefs.h.  */ 
     9908_ACEOF 
     9909cat confdefs.h >>conftest.$ac_ext 
     9910cat >>conftest.$ac_ext <<_ACEOF 
    50169911/* end confdefs.h.  */ 
    50179912#include <sys/types.h> 
     
    50269921} 
    50279922_ACEOF 
    5028 if ac_fn_c_try_compile "$LINENO"; then : 
    5029   $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
    5030  
    5031                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5032 $as_echo "yes" >&6; } 
    5033 else 
    5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5035 $as_echo "no" >&6; } 
    5036 fi 
     9923rm -f conftest.$ac_objext 
     9924if { (ac_try="$ac_compile" 
     9925case "(($ac_try" in 
     9926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9927  *) ac_try_echo=$ac_try;; 
     9928esac 
     9929eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9930  (eval "$ac_compile") 2>conftest.er1 
     9931  ac_status=$? 
     9932  grep -v '^ *+' conftest.er1 >conftest.err 
     9933  rm -f conftest.er1 
     9934  cat conftest.err >&5 
     9935  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9936  (exit $ac_status); } && { 
     9937         test -z "$ac_c_werror_flag" || 
     9938         test ! -s conftest.err 
     9939       } && test -s conftest.$ac_objext; then 
     9940  cat >>confdefs.h <<\_ACEOF 
     9941#define PJ_SOCK_HAS_INET_ATON 1 
     9942_ACEOF 
     9943 
     9944                   { echo "$as_me:$LINENO: result: yes" >&5 
     9945echo "${ECHO_T}yes" >&6; } 
     9946else 
     9947  echo "$as_me: failed program was:" >&5 
     9948sed 's/^/| /' conftest.$ac_ext >&5 
     9949 
     9950        { echo "$as_me:$LINENO: result: no" >&5 
     9951echo "${ECHO_T}no" >&6; } 
     9952fi 
     9953 
    50379954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50389955 
    5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
    5040 $as_echo_n "checking if inet_pton() is available... " >&6; } 
    5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     9956{ echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
     9957echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
     9958cat >conftest.$ac_ext <<_ACEOF 
     9959/* confdefs.h.  */ 
     9960_ACEOF 
     9961cat confdefs.h >>conftest.$ac_ext 
     9962cat >>conftest.$ac_ext <<_ACEOF 
    50429963/* end confdefs.h.  */ 
    50439964#include <sys/types.h> 
     
    50529973} 
    50539974_ACEOF 
    5054 if ac_fn_c_try_compile "$LINENO"; then : 
    5055   $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
    5056  
    5057                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5058 $as_echo "yes" >&6; } 
    5059 else 
    5060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5061 $as_echo "no" >&6; } 
    5062 fi 
     9975rm -f conftest.$ac_objext 
     9976if { (ac_try="$ac_compile" 
     9977case "(($ac_try" in 
     9978  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     9979  *) ac_try_echo=$ac_try;; 
     9980esac 
     9981eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     9982  (eval "$ac_compile") 2>conftest.er1 
     9983  ac_status=$? 
     9984  grep -v '^ *+' conftest.er1 >conftest.err 
     9985  rm -f conftest.er1 
     9986  cat conftest.err >&5 
     9987  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     9988  (exit $ac_status); } && { 
     9989         test -z "$ac_c_werror_flag" || 
     9990         test ! -s conftest.err 
     9991       } && test -s conftest.$ac_objext; then 
     9992  cat >>confdefs.h <<\_ACEOF 
     9993#define PJ_SOCK_HAS_INET_PTON 1 
     9994_ACEOF 
     9995 
     9996                   { echo "$as_me:$LINENO: result: yes" >&5 
     9997echo "${ECHO_T}yes" >&6; } 
     9998else 
     9999  echo "$as_me: failed program was:" >&5 
     10000sed 's/^/| /' conftest.$ac_ext >&5 
     10001 
     10002        { echo "$as_me:$LINENO: result: no" >&5 
     10003echo "${ECHO_T}no" >&6; } 
     10004fi 
     10005 
    506310006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    506410007 
    5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
    5066 $as_echo_n "checking if inet_ntop() is available... " >&6; } 
    5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10008{ echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
     10009echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
     10010cat >conftest.$ac_ext <<_ACEOF 
     10011/* confdefs.h.  */ 
     10012_ACEOF 
     10013cat confdefs.h >>conftest.$ac_ext 
     10014cat >>conftest.$ac_ext <<_ACEOF 
    506810015/* end confdefs.h.  */ 
    506910016#include <sys/types.h> 
     
    507810025} 
    507910026_ACEOF 
    5080 if ac_fn_c_try_compile "$LINENO"; then : 
    5081   $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
    5082  
    5083                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5084 $as_echo "yes" >&6; } 
    5085 else 
    5086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5087 $as_echo "no" >&6; } 
    5088 fi 
     10027rm -f conftest.$ac_objext 
     10028if { (ac_try="$ac_compile" 
     10029case "(($ac_try" in 
     10030  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10031  *) ac_try_echo=$ac_try;; 
     10032esac 
     10033eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10034  (eval "$ac_compile") 2>conftest.er1 
     10035  ac_status=$? 
     10036  grep -v '^ *+' conftest.er1 >conftest.err 
     10037  rm -f conftest.er1 
     10038  cat conftest.err >&5 
     10039  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10040  (exit $ac_status); } && { 
     10041         test -z "$ac_c_werror_flag" || 
     10042         test ! -s conftest.err 
     10043       } && test -s conftest.$ac_objext; then 
     10044  cat >>confdefs.h <<\_ACEOF 
     10045#define PJ_SOCK_HAS_INET_NTOP 1 
     10046_ACEOF 
     10047 
     10048                   { echo "$as_me:$LINENO: result: yes" >&5 
     10049echo "${ECHO_T}yes" >&6; } 
     10050else 
     10051  echo "$as_me: failed program was:" >&5 
     10052sed 's/^/| /' conftest.$ac_ext >&5 
     10053 
     10054        { echo "$as_me:$LINENO: result: no" >&5 
     10055echo "${ECHO_T}no" >&6; } 
     10056fi 
     10057 
    508910058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    509010059 
    5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
    5092 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 
    5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10060{ echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
     10061echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
     10062cat >conftest.$ac_ext <<_ACEOF 
     10063/* confdefs.h.  */ 
     10064_ACEOF 
     10065cat confdefs.h >>conftest.$ac_ext 
     10066cat >>conftest.$ac_ext <<_ACEOF 
    509410067/* end confdefs.h.  */ 
    509510068#include <sys/types.h> 
     
    510410077} 
    510510078_ACEOF 
    5106 if ac_fn_c_try_compile "$LINENO"; then : 
    5107   $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
    5108  
    5109                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5110 $as_echo "yes" >&6; } 
    5111 else 
    5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5113 $as_echo "no" >&6; } 
    5114 fi 
     10079rm -f conftest.$ac_objext 
     10080if { (ac_try="$ac_compile" 
     10081case "(($ac_try" in 
     10082  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10083  *) ac_try_echo=$ac_try;; 
     10084esac 
     10085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10086  (eval "$ac_compile") 2>conftest.er1 
     10087  ac_status=$? 
     10088  grep -v '^ *+' conftest.er1 >conftest.err 
     10089  rm -f conftest.er1 
     10090  cat conftest.err >&5 
     10091  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10092  (exit $ac_status); } && { 
     10093         test -z "$ac_c_werror_flag" || 
     10094         test ! -s conftest.err 
     10095       } && test -s conftest.$ac_objext; then 
     10096  cat >>confdefs.h <<\_ACEOF 
     10097#define PJ_SOCK_HAS_GETADDRINFO 1 
     10098_ACEOF 
     10099 
     10100                   { echo "$as_me:$LINENO: result: yes" >&5 
     10101echo "${ECHO_T}yes" >&6; } 
     10102else 
     10103  echo "$as_me: failed program was:" >&5 
     10104sed 's/^/| /' conftest.$ac_ext >&5 
     10105 
     10106        { echo "$as_me:$LINENO: result: no" >&5 
     10107echo "${ECHO_T}no" >&6; } 
     10108fi 
     10109 
    511510110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    511610111 
    5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
    5118 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
    5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10112{ echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
     10113echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
     10114cat >conftest.$ac_ext <<_ACEOF 
     10115/* confdefs.h.  */ 
     10116_ACEOF 
     10117cat confdefs.h >>conftest.$ac_ext 
     10118cat >>conftest.$ac_ext <<_ACEOF 
    512010119/* end confdefs.h.  */ 
    512110120#include <sys/types.h> 
     
    513110130} 
    513210131_ACEOF 
    5133 if ac_fn_c_try_compile "$LINENO"; then : 
    5134   $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
    5135  
    5136                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5137 $as_echo "yes" >&6; } 
    5138 else 
    5139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5140 $as_echo "no" >&6; } 
    5141 fi 
     10132rm -f conftest.$ac_objext 
     10133if { (ac_try="$ac_compile" 
     10134case "(($ac_try" in 
     10135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10136  *) ac_try_echo=$ac_try;; 
     10137esac 
     10138eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10139  (eval "$ac_compile") 2>conftest.er1 
     10140  ac_status=$? 
     10141  grep -v '^ *+' conftest.er1 >conftest.err 
     10142  rm -f conftest.er1 
     10143  cat conftest.err >&5 
     10144  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10145  (exit $ac_status); } && { 
     10146         test -z "$ac_c_werror_flag" || 
     10147         test ! -s conftest.err 
     10148       } && test -s conftest.$ac_objext; then 
     10149  cat >>confdefs.h <<\_ACEOF 
     10150#define PJ_SOCKADDR_HAS_LEN 1 
     10151_ACEOF 
     10152 
     10153                   { echo "$as_me:$LINENO: result: yes" >&5 
     10154echo "${ECHO_T}yes" >&6; } 
     10155else 
     10156  echo "$as_me: failed program was:" >&5 
     10157sed 's/^/| /' conftest.$ac_ext >&5 
     10158 
     10159        { echo "$as_me:$LINENO: result: no" >&5 
     10160echo "${ECHO_T}no" >&6; } 
     10161fi 
     10162 
    514210163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    514310164 
    5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
    5145 $as_echo_n "checking if socklen_t is available... " >&6; } 
    5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10165{ echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
     10166echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
     10167cat >conftest.$ac_ext <<_ACEOF 
     10168/* confdefs.h.  */ 
     10169_ACEOF 
     10170cat confdefs.h >>conftest.$ac_ext 
     10171cat >>conftest.$ac_ext <<_ACEOF 
    514710172/* end confdefs.h.  */ 
    514810173#include <sys/types.h> 
     
    515610181} 
    515710182_ACEOF 
    5158 if ac_fn_c_try_compile "$LINENO"; then : 
    5159   $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
    5160  
    5161                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5162 $as_echo "yes" >&6; } 
    5163 else 
    5164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5165 $as_echo "no" >&6; } 
    5166 fi 
     10183rm -f conftest.$ac_objext 
     10184if { (ac_try="$ac_compile" 
     10185case "(($ac_try" in 
     10186  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10187  *) ac_try_echo=$ac_try;; 
     10188esac 
     10189eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10190  (eval "$ac_compile") 2>conftest.er1 
     10191  ac_status=$? 
     10192  grep -v '^ *+' conftest.er1 >conftest.err 
     10193  rm -f conftest.er1 
     10194  cat conftest.err >&5 
     10195  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10196  (exit $ac_status); } && { 
     10197         test -z "$ac_c_werror_flag" || 
     10198         test ! -s conftest.err 
     10199       } && test -s conftest.$ac_objext; then 
     10200  cat >>confdefs.h <<\_ACEOF 
     10201#define PJ_HAS_SOCKLEN_T 1 
     10202_ACEOF 
     10203 
     10204                   { echo "$as_me:$LINENO: result: yes" >&5 
     10205echo "${ECHO_T}yes" >&6; } 
     10206else 
     10207  echo "$as_me: failed program was:" >&5 
     10208sed 's/^/| /' conftest.$ac_ext >&5 
     10209 
     10210        { echo "$as_me:$LINENO: result: no" >&5 
     10211echo "${ECHO_T}no" >&6; } 
     10212fi 
     10213 
    516710214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    516810215 
    5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
    5170 $as_echo_n "checking if SO_ERROR is available... " >&6; } 
     10216{ echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
     10217echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
    517110218case $target in 
    517210219    *mingw* | *cygw* | *win32* | *w32* ) 
    5173         $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
    5174  
    5175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5176 $as_echo "yes" >&6; } 
     10220        cat >>confdefs.h <<\_ACEOF 
     10221#define PJ_HAS_SO_ERROR 1 
     10222_ACEOF 
     10223 
     10224        { echo "$as_me:$LINENO: result: yes" >&5 
     10225echo "${ECHO_T}yes" >&6; } 
    517710226        ;; 
    517810227    *) 
    5179         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10228        cat >conftest.$ac_ext <<_ACEOF 
     10229/* confdefs.h.  */ 
     10230_ACEOF 
     10231cat confdefs.h >>conftest.$ac_ext 
     10232cat >>conftest.$ac_ext <<_ACEOF 
    518010233/* end confdefs.h.  */ 
    518110234#include <sys/types.h> 
     
    519110244} 
    519210245_ACEOF 
    5193 if ac_fn_c_try_compile "$LINENO"; then : 
    5194   $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
    5195  
    5196                            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5197 $as_echo "yes" >&6; } 
    5198 else 
    5199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5200 $as_echo "no" >&6; } 
    5201 fi 
     10246rm -f conftest.$ac_objext 
     10247if { (ac_try="$ac_compile" 
     10248case "(($ac_try" in 
     10249  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10250  *) ac_try_echo=$ac_try;; 
     10251esac 
     10252eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10253  (eval "$ac_compile") 2>conftest.er1 
     10254  ac_status=$? 
     10255  grep -v '^ *+' conftest.er1 >conftest.err 
     10256  rm -f conftest.er1 
     10257  cat conftest.err >&5 
     10258  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10259  (exit $ac_status); } && { 
     10260         test -z "$ac_c_werror_flag" || 
     10261         test ! -s conftest.err 
     10262       } && test -s conftest.$ac_objext; then 
     10263  cat >>confdefs.h <<\_ACEOF 
     10264#define PJ_HAS_SO_ERROR 1 
     10265_ACEOF 
     10266 
     10267                           { echo "$as_me:$LINENO: result: yes" >&5 
     10268echo "${ECHO_T}yes" >&6; } 
     10269else 
     10270  echo "$as_me: failed program was:" >&5 
     10271sed 's/^/| /' conftest.$ac_ext >&5 
     10272 
     10273        { echo "$as_me:$LINENO: result: no" >&5 
     10274echo "${ECHO_T}no" >&6; } 
     10275fi 
     10276 
    520210277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    520310278        ;; 
     
    520510280 
    520610281 
    5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
    5208 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
    5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10282{ echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
     10283echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
     10284cat >conftest.$ac_ext <<_ACEOF 
     10285/* confdefs.h.  */ 
     10286_ACEOF 
     10287cat confdefs.h >>conftest.$ac_ext 
     10288cat >>conftest.$ac_ext <<_ACEOF 
    521010289/* end confdefs.h.  */ 
    521110290#include <pthread.h> 
     
    521810297} 
    521910298_ACEOF 
    5220 if ac_fn_c_try_compile "$LINENO"; then : 
    5221   $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
     10299rm -f conftest.$ac_objext 
     10300if { (ac_try="$ac_compile" 
     10301case "(($ac_try" in 
     10302  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10303  *) ac_try_echo=$ac_try;; 
     10304esac 
     10305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10306  (eval "$ac_compile") 2>conftest.er1 
     10307  ac_status=$? 
     10308  grep -v '^ *+' conftest.er1 >conftest.err 
     10309  rm -f conftest.er1 
     10310  cat conftest.err >&5 
     10311  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10312  (exit $ac_status); } && { 
     10313         test -z "$ac_c_werror_flag" || 
     10314         test ! -s conftest.err 
     10315       } && test -s conftest.$ac_objext; then 
     10316  cat >>confdefs.h <<\_ACEOF 
     10317#define PJ_EMULATE_RWMUTEX 0 
     10318_ACEOF 
    522210319 
    522310320                   ac_rwmutex="yes" 
    5224                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5225 $as_echo "yes" >&6; } 
    5226 else 
    5227   $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     10321                   { echo "$as_me:$LINENO: result: yes" >&5 
     10322echo "${ECHO_T}yes" >&6; } 
     10323else 
     10324  echo "$as_me: failed program was:" >&5 
     10325sed 's/^/| /' conftest.$ac_ext >&5 
     10326 
     10327        cat >>confdefs.h <<\_ACEOF 
     10328#define PJ_EMULATE_RWMUTEX 1 
     10329_ACEOF 
    522810330 
    522910331                   ac_rwmutex="no" 
    5230                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5231 $as_echo "no" >&6; } 
    5232 fi 
     10332                   { echo "$as_me:$LINENO: result: no" >&5 
     10333echo "${ECHO_T}no" >&6; } 
     10334fi 
     10335 
    523310336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    523410337 
    523510338if test "$ac_rwmutex" = "no"; then 
    5236     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    5237 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
    5238     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10339    { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     10340echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
     10341    cat >conftest.$ac_ext <<_ACEOF 
     10342/* confdefs.h.  */ 
     10343_ACEOF 
     10344cat confdefs.h >>conftest.$ac_ext 
     10345cat >>conftest.$ac_ext <<_ACEOF 
    523910346/* end confdefs.h.  */ 
    524010347#define _POSIX_READER_WRITER_LOCKS 
     
    524810355} 
    524910356_ACEOF 
    5250 if ac_fn_c_try_compile "$LINENO"; then : 
    5251   $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
     10357rm -f conftest.$ac_objext 
     10358if { (ac_try="$ac_compile" 
     10359case "(($ac_try" in 
     10360  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10361  *) ac_try_echo=$ac_try;; 
     10362esac 
     10363eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10364  (eval "$ac_compile") 2>conftest.er1 
     10365  ac_status=$? 
     10366  grep -v '^ *+' conftest.er1 >conftest.err 
     10367  rm -f conftest.er1 
     10368  cat conftest.err >&5 
     10369  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10370  (exit $ac_status); } && { 
     10371         test -z "$ac_c_werror_flag" || 
     10372         test ! -s conftest.err 
     10373       } && test -s conftest.$ac_objext; then 
     10374  cat >>confdefs.h <<\_ACEOF 
     10375#define PJ_EMULATE_RWMUTEX 0 
     10376_ACEOF 
    525210377 
    525310378                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    5254                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5255 $as_echo "yes" >&6; } 
    5256 else 
    5257   $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    5258  
    5259                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5260 $as_echo "no" >&6; } 
    5261 fi 
     10379                       { echo "$as_me:$LINENO: result: yes" >&5 
     10380echo "${ECHO_T}yes" >&6; } 
     10381else 
     10382  echo "$as_me: failed program was:" >&5 
     10383sed 's/^/| /' conftest.$ac_ext >&5 
     10384 
     10385        cat >>confdefs.h <<\_ACEOF 
     10386#define PJ_EMULATE_RWMUTEX 1 
     10387_ACEOF 
     10388 
     10389                       { echo "$as_me:$LINENO: result: no" >&5 
     10390echo "${ECHO_T}no" >&6; } 
     10391fi 
     10392 
    526210393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    526310394fi 
    526410395 
    5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
    5266 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
    5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10396{ echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
     10397echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
     10398cat >conftest.$ac_ext <<_ACEOF 
     10399/* confdefs.h.  */ 
     10400_ACEOF 
     10401cat confdefs.h >>conftest.$ac_ext 
     10402cat >>conftest.$ac_ext <<_ACEOF 
    526810403/* end confdefs.h.  */ 
    526910404#include <pthread.h> 
     
    527610411} 
    527710412_ACEOF 
    5278 if ac_fn_c_try_compile "$LINENO"; then : 
    5279   $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
    5280  
    5281                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5282 $as_echo "yes" >&6; } 
    5283 else 
    5284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5285 $as_echo "no" >&6; } 
    5286 fi 
     10413rm -f conftest.$ac_objext 
     10414if { (ac_try="$ac_compile" 
     10415case "(($ac_try" in 
     10416  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10417  *) ac_try_echo=$ac_try;; 
     10418esac 
     10419eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10420  (eval "$ac_compile") 2>conftest.er1 
     10421  ac_status=$? 
     10422  grep -v '^ *+' conftest.er1 >conftest.err 
     10423  rm -f conftest.er1 
     10424  cat conftest.err >&5 
     10425  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10426  (exit $ac_status); } && { 
     10427         test -z "$ac_c_werror_flag" || 
     10428         test ! -s conftest.err 
     10429       } && test -s conftest.$ac_objext; then 
     10430  cat >>confdefs.h <<\_ACEOF 
     10431#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
     10432_ACEOF 
     10433 
     10434                   { echo "$as_me:$LINENO: result: yes" >&5 
     10435echo "${ECHO_T}yes" >&6; } 
     10436else 
     10437  echo "$as_me: failed program was:" >&5 
     10438sed 's/^/| /' conftest.$ac_ext >&5 
     10439 
     10440        { echo "$as_me:$LINENO: result: no" >&5 
     10441echo "${ECHO_T}no" >&6; } 
     10442fi 
     10443 
    528710444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    528810445 
    5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
    5290 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
    5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10446{ echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
     10447echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
     10448cat >conftest.$ac_ext <<_ACEOF 
     10449/* confdefs.h.  */ 
     10450_ACEOF 
     10451cat confdefs.h >>conftest.$ac_ext 
     10452cat >>conftest.$ac_ext <<_ACEOF 
    529210453/* end confdefs.h.  */ 
    529310454#include <pthread.h> 
     
    530110462} 
    530210463_ACEOF 
    5303 if ac_fn_c_try_compile "$LINENO"; then : 
    5304   $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
    5305  
    5306                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    5307 $as_echo "yes" >&6; } 
    5308 else 
    5309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5310 $as_echo "no" >&6; } 
    5311 fi 
     10464rm -f conftest.$ac_objext 
     10465if { (ac_try="$ac_compile" 
     10466case "(($ac_try" in 
     10467  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10468  *) ac_try_echo=$ac_try;; 
     10469esac 
     10470eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10471  (eval "$ac_compile") 2>conftest.er1 
     10472  ac_status=$? 
     10473  grep -v '^ *+' conftest.er1 >conftest.err 
     10474  rm -f conftest.er1 
     10475  cat conftest.err >&5 
     10476  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10477  (exit $ac_status); } && { 
     10478         test -z "$ac_c_werror_flag" || 
     10479         test ! -s conftest.err 
     10480       } && test -s conftest.$ac_objext; then 
     10481  cat >>confdefs.h <<\_ACEOF 
     10482#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
     10483_ACEOF 
     10484 
     10485                   { echo "$as_me:$LINENO: result: yes" >&5 
     10486echo "${ECHO_T}yes" >&6; } 
     10487else 
     10488  echo "$as_me: failed program was:" >&5 
     10489sed 's/^/| /' conftest.$ac_ext >&5 
     10490 
     10491        { echo "$as_me:$LINENO: result: no" >&5 
     10492echo "${ECHO_T}no" >&6; } 
     10493fi 
     10494 
    531210495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    531310496 
    531410497 
    5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
    5316 $as_echo_n "checking ioqueue backend... " >&6; } 
     10498{ echo "$as_me:$LINENO: checking ioqueue backend" >&5 
     10499echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
    531710500# Check whether --enable-epoll was given. 
    5318 if test "${enable_epoll+set}" = set; then : 
     10501if test "${enable_epoll+set}" = set; then 
    531910502  enableval=$enable_epoll; 
    532010503                ac_os_objs=ioqueue_epoll.o 
    5321                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
    5322 $as_echo "/dev/epoll" >&6; } 
     10504                { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
     10505echo "${ECHO_T}/dev/epoll" >&6; } 
    532310506 
    532410507else 
    532510508 
    532610509                ac_os_objs=ioqueue_select.o 
    5327                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
    5328 $as_echo "select()" >&6; } 
     10510                { echo "$as_me:$LINENO: result: select()" >&5 
     10511echo "${ECHO_T}select()" >&6; } 
    532910512 
    533010513fi 
     
    535410537 
    535510538# Check whether --with-external-speex was given. 
    5356 if test "${with_external_speex+set}" = set; then : 
     10539if test "${with_external_speex+set}" = set; then 
    535710540  withval=$with_external_speex; 
    535810541        if test "x$with_external_speex" != "xno"; then 
    535910542                # Test Speex installation 
    5360                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
    5361 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 
    5362                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10543                { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
     10544echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
     10545                cat >conftest.$ac_ext <<_ACEOF 
     10546/* confdefs.h.  */ 
     10547_ACEOF 
     10548cat confdefs.h >>conftest.$ac_ext 
     10549cat >>conftest.$ac_ext <<_ACEOF 
    536310550/* end confdefs.h.  */ 
    536410551#include <speex/speex.h> 
     
    537310560} 
    537410561_ACEOF 
    5375 if ac_fn_c_try_compile "$LINENO"; then : 
    5376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5377 $as_echo "yes!!" >&6; } 
    5378                                    $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
     10562rm -f conftest.$ac_objext 
     10563if { (ac_try="$ac_compile" 
     10564case "(($ac_try" in 
     10565  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10566  *) ac_try_echo=$ac_try;; 
     10567esac 
     10568eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10569  (eval "$ac_compile") 2>conftest.er1 
     10570  ac_status=$? 
     10571  grep -v '^ *+' conftest.er1 >conftest.err 
     10572  rm -f conftest.er1 
     10573  cat conftest.err >&5 
     10574  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10575  (exit $ac_status); } && { 
     10576         test -z "$ac_c_werror_flag" || 
     10577         test ! -s conftest.err 
     10578       } && test -s conftest.$ac_objext; then 
     10579  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10580echo "${ECHO_T}yes!!" >&6; } 
     10581                                   cat >>confdefs.h <<\_ACEOF 
     10582#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
     10583_ACEOF 
    537910584 
    538010585                                   ac_external_speex="1" 
    538110586 
    538210587else 
    5383   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 
    5384 fi 
     10588  echo "$as_me: failed program was:" >&5 
     10589sed 's/^/| /' conftest.$ac_ext >&5 
     10590 
     10591        { { 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 
     10592echo "$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;} 
     10593   { (exit 1); exit 1; }; } 
     10594fi 
     10595 
    538510596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    538610597        fi 
     
    539410605 
    539510606# Check whether --with-external-gsm was given. 
    5396 if test "${with_external_gsm+set}" = set; then : 
     10607if test "${with_external_gsm+set}" = set; then 
    539710608  withval=$with_external_gsm; 
    539810609        if test "x$with_external_gsm" != "xno"; then 
    539910610                # Test GSM library installation 
    5400                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    5401 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
    5402                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10611                { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     10612echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
     10613                cat >conftest.$ac_ext <<_ACEOF 
     10614/* confdefs.h.  */ 
     10615_ACEOF 
     10616cat confdefs.h >>conftest.$ac_ext 
     10617cat >>conftest.$ac_ext <<_ACEOF 
    540310618/* end confdefs.h.  */ 
    540410619#include <gsm/gsm.h> 
     
    541110626} 
    541210627_ACEOF 
    5413 if ac_fn_c_try_compile "$LINENO"; then : 
    5414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5415 $as_echo "yes!!" >&6; } 
    5416                      $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
    5417  
    5418                      $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
     10628rm -f conftest.$ac_objext 
     10629if { (ac_try="$ac_compile" 
     10630case "(($ac_try" in 
     10631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10632  *) ac_try_echo=$ac_try;; 
     10633esac 
     10634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10635  (eval "$ac_compile") 2>conftest.er1 
     10636  ac_status=$? 
     10637  grep -v '^ *+' conftest.er1 >conftest.err 
     10638  rm -f conftest.er1 
     10639  cat conftest.err >&5 
     10640  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10641  (exit $ac_status); } && { 
     10642         test -z "$ac_c_werror_flag" || 
     10643         test ! -s conftest.err 
     10644       } && test -s conftest.$ac_objext; then 
     10645  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10646echo "${ECHO_T}yes!!" >&6; } 
     10647                     cat >>confdefs.h <<\_ACEOF 
     10648#define PJMEDIA_EXTERNAL_GSM_CODEC 1 
     10649_ACEOF 
     10650 
     10651                     cat >>confdefs.h <<\_ACEOF 
     10652#define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
     10653_ACEOF 
    541910654 
    542010655                     ac_external_gsm="1" 
    542110656 
    542210657else 
    5423  
    5424                      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    5425 $as_echo "no" >&6; } 
    5426                      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
    5427 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
    5428                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10658  echo "$as_me: failed program was:" >&5 
     10659sed 's/^/| /' conftest.$ac_ext >&5 
     10660 
     10661 
     10662                     { echo "$as_me:$LINENO: result: no" >&5 
     10663echo "${ECHO_T}no" >&6; } 
     10664                     { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
     10665echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
     10666                     cat >conftest.$ac_ext <<_ACEOF 
     10667/* confdefs.h.  */ 
     10668_ACEOF 
     10669cat confdefs.h >>conftest.$ac_ext 
     10670cat >>conftest.$ac_ext <<_ACEOF 
    542910671/* end confdefs.h.  */ 
    543010672#include <gsm.h> 
     
    543710679} 
    543810680_ACEOF 
    5439 if ac_fn_c_try_compile "$LINENO"; then : 
    5440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5441 $as_echo "yes!!" >&6; } 
    5442                          $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
    5443  
    5444                          $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
     10681rm -f conftest.$ac_objext 
     10682if { (ac_try="$ac_compile" 
     10683case "(($ac_try" in 
     10684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10685  *) ac_try_echo=$ac_try;; 
     10686esac 
     10687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10688  (eval "$ac_compile") 2>conftest.er1 
     10689  ac_status=$? 
     10690  grep -v '^ *+' conftest.er1 >conftest.err 
     10691  rm -f conftest.er1 
     10692  cat conftest.err >&5 
     10693  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10694  (exit $ac_status); } && { 
     10695         test -z "$ac_c_werror_flag" || 
     10696         test ! -s conftest.err 
     10697       } && test -s conftest.$ac_objext; then 
     10698  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10699echo "${ECHO_T}yes!!" >&6; } 
     10700                         cat >>confdefs.h <<\_ACEOF 
     10701#define PJMEDIA_EXTERNAL_GSM_CODEC 1 
     10702_ACEOF 
     10703 
     10704                         cat >>confdefs.h <<\_ACEOF 
     10705#define PJMEDIA_EXTERNAL_GSM_H 1 
     10706_ACEOF 
    544510707 
    544610708                         ac_external_gsm="1" 
    544710709 
    544810710else 
    5449   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 
    5450  
    5451  
    5452 fi 
     10711  echo "$as_me: failed program was:" >&5 
     10712sed 's/^/| /' conftest.$ac_ext >&5 
     10713 
     10714        { { 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 
     10715echo "$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;} 
     10716   { (exit 1); exit 1; }; } 
     10717 
     10718 
     10719fi 
     10720 
    545310721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    545410722 
    545510723 
    545610724fi 
     10725 
    545710726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    545810727        fi 
     
    546610735 
    546710736# Check whether --enable-sound was given. 
    5468 if test "${enable_sound+set}" = set; then : 
     10737if test "${enable_sound+set}" = set; then 
    546910738  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    547010739                ac_pjmedia_snd=null 
    5471                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
    5472 $as_echo "Checking if sound is disabled... yes" >&6; } 
     10740                { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
     10741echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
    547310742               fi 
    547410743 
     
    548010749 
    548110750# Check whether --with-external-pa was given. 
    5482 if test "${with_external_pa+set}" = set; then : 
     10751if test "${with_external_pa+set}" = set; then 
    548310752  withval=$with_external_pa; 
    548410753        if test "x$with_external_pa" != "xno"; then 
    548510754                # Test PortAudio installation 
    5486                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
    5487 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
    5488                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     10755                { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
     10756echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
     10757                cat >conftest.$ac_ext <<_ACEOF 
     10758/* confdefs.h.  */ 
     10759_ACEOF 
     10760cat confdefs.h >>conftest.$ac_ext 
     10761cat >>conftest.$ac_ext <<_ACEOF 
    548910762/* end confdefs.h.  */ 
    549010763#include <portaudio.h> 
     
    549810771} 
    549910772_ACEOF 
    5500 if ac_fn_c_try_compile "$LINENO"; then : 
    5501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
    5502 $as_echo "yes!!" >&6; } 
     10773rm -f conftest.$ac_objext 
     10774if { (ac_try="$ac_compile" 
     10775case "(($ac_try" in 
     10776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10777  *) ac_try_echo=$ac_try;; 
     10778esac 
     10779eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10780  (eval "$ac_compile") 2>conftest.er1 
     10781  ac_status=$? 
     10782  grep -v '^ *+' conftest.er1 >conftest.err 
     10783  rm -f conftest.er1 
     10784  cat conftest.err >&5 
     10785  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10786  (exit $ac_status); } && { 
     10787         test -z "$ac_c_werror_flag" || 
     10788         test ! -s conftest.err 
     10789       } && test -s conftest.$ac_objext; then 
     10790  { echo "$as_me:$LINENO: result: yes!!" >&5 
     10791echo "${ECHO_T}yes!!" >&6; } 
    550310792                                   ac_external_pa="1" 
    550410793 
    550510794else 
    5506   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 
    5507 fi 
     10795  echo "$as_me: failed program was:" >&5 
     10796sed 's/^/| /' conftest.$ac_ext >&5 
     10797 
     10798        { { 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 
     10799echo "$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;} 
     10800   { (exit 1); exit 1; }; } 
     10801fi 
     10802 
    550810803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    550910804        fi 
     
    551410809 
    551510810 
    5516 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
    5517 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
     10811if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10812  { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
     10813echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
     10814if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10815  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10816fi 
     10817{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
     10818echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
     10819else 
     10820  # Is the header compilable? 
     10821{ echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
     10822echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
     10823cat >conftest.$ac_ext <<_ACEOF 
     10824/* confdefs.h.  */ 
     10825_ACEOF 
     10826cat confdefs.h >>conftest.$ac_ext 
     10827cat >>conftest.$ac_ext <<_ACEOF 
     10828/* end confdefs.h.  */ 
     10829$ac_includes_default 
     10830#include <sys/soundcard.h> 
     10831_ACEOF 
     10832rm -f conftest.$ac_objext 
     10833if { (ac_try="$ac_compile" 
     10834case "(($ac_try" in 
     10835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10836  *) ac_try_echo=$ac_try;; 
     10837esac 
     10838eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10839  (eval "$ac_compile") 2>conftest.er1 
     10840  ac_status=$? 
     10841  grep -v '^ *+' conftest.er1 >conftest.err 
     10842  rm -f conftest.er1 
     10843  cat conftest.err >&5 
     10844  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10845  (exit $ac_status); } && { 
     10846         test -z "$ac_c_werror_flag" || 
     10847         test ! -s conftest.err 
     10848       } && test -s conftest.$ac_objext; then 
     10849  ac_header_compiler=yes 
     10850else 
     10851  echo "$as_me: failed program was:" >&5 
     10852sed 's/^/| /' conftest.$ac_ext >&5 
     10853 
     10854        ac_header_compiler=no 
     10855fi 
     10856 
     10857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     10858{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     10859echo "${ECHO_T}$ac_header_compiler" >&6; } 
     10860 
     10861# Is the header present? 
     10862{ echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
     10863echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
     10864cat >conftest.$ac_ext <<_ACEOF 
     10865/* confdefs.h.  */ 
     10866_ACEOF 
     10867cat confdefs.h >>conftest.$ac_ext 
     10868cat >>conftest.$ac_ext <<_ACEOF 
     10869/* end confdefs.h.  */ 
     10870#include <sys/soundcard.h> 
     10871_ACEOF 
     10872if { (ac_try="$ac_cpp conftest.$ac_ext" 
     10873case "(($ac_try" in 
     10874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10875  *) ac_try_echo=$ac_try;; 
     10876esac 
     10877eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10878  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     10879  ac_status=$? 
     10880  grep -v '^ *+' conftest.er1 >conftest.err 
     10881  rm -f conftest.er1 
     10882  cat conftest.err >&5 
     10883  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10884  (exit $ac_status); } >/dev/null && { 
     10885         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     10886         test ! -s conftest.err 
     10887       }; then 
     10888  ac_header_preproc=yes 
     10889else 
     10890  echo "$as_me: failed program was:" >&5 
     10891sed 's/^/| /' conftest.$ac_ext >&5 
     10892 
     10893  ac_header_preproc=no 
     10894fi 
     10895 
     10896rm -f conftest.err conftest.$ac_ext 
     10897{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     10898echo "${ECHO_T}$ac_header_preproc" >&6; } 
     10899 
     10900# So?  What about this header? 
     10901case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     10902  yes:no: ) 
     10903    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     10904echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     10905    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
     10906echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
     10907    ac_header_preproc=yes 
     10908    ;; 
     10909  no:yes:* ) 
     10910    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
     10911echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
     10912    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
     10913echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     10914    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
     10915echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
     10916    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     10917echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     10918    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
     10919echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     10920    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
     10921echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     10922 
     10923    ;; 
     10924esac 
     10925{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
     10926echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
     10927if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
     10928  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10929else 
     10930  ac_cv_header_sys_soundcard_h=$ac_header_preproc 
     10931fi 
     10932{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
     10933echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
     10934 
     10935fi 
     10936if test $ac_cv_header_sys_soundcard_h = yes; then 
    551810937  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    551910938fi 
    552010939 
    552110940 
    5522 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
    5523 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
     10941if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     10942  { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
     10943echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
     10944if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     10945  echo $ECHO_N "(cached) $ECHO_C" >&6 
     10946fi 
     10947{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
     10948echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
     10949else 
     10950  # Is the header compilable? 
     10951{ echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
     10952echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
     10953cat >conftest.$ac_ext <<_ACEOF 
     10954/* confdefs.h.  */ 
     10955_ACEOF 
     10956cat confdefs.h >>conftest.$ac_ext 
     10957cat >>conftest.$ac_ext <<_ACEOF 
     10958/* end confdefs.h.  */ 
     10959$ac_includes_default 
     10960#include <linux/soundcard.h> 
     10961_ACEOF 
     10962rm -f conftest.$ac_objext 
     10963if { (ac_try="$ac_compile" 
     10964case "(($ac_try" in 
     10965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     10966  *) ac_try_echo=$ac_try;; 
     10967esac 
     10968eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     10969  (eval "$ac_compile") 2>conftest.er1 
     10970  ac_status=$? 
     10971  grep -v '^ *+' conftest.er1 >conftest.err 
     10972  rm -f conftest.er1 
     10973  cat conftest.err >&5 
     10974  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     10975  (exit $ac_status); } && { 
     10976         test -z "$ac_c_werror_flag" || 
     10977         test ! -s conftest.err 
     10978       } && test -s conftest.$ac_objext; then 
     10979  ac_header_compiler=yes 
     10980else 
     10981  echo "$as_me: failed program was:" >&5 
     10982sed 's/^/| /' conftest.$ac_ext >&5 
     10983 
     10984        ac_header_compiler=no 
     10985fi 
     10986 
     10987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     10988{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     10989echo "${ECHO_T}$ac_header_compiler" >&6; } 
     10990 
     10991# Is the header present? 
     10992{ echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
     10993echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
     10994cat >conftest.$ac_ext <<_ACEOF 
     10995/* confdefs.h.  */ 
     10996_ACEOF 
     10997cat confdefs.h >>conftest.$ac_ext 
     10998cat >>conftest.$ac_ext <<_ACEOF 
     10999/* end confdefs.h.  */ 
     11000#include <linux/soundcard.h> 
     11001_ACEOF 
     11002if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11003case "(($ac_try" in 
     11004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11005  *) ac_try_echo=$ac_try;; 
     11006esac 
     11007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11008  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11009  ac_status=$? 
     11010  grep -v '^ *+' conftest.er1 >conftest.err 
     11011  rm -f conftest.er1 
     11012  cat conftest.err >&5 
     11013  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11014  (exit $ac_status); } >/dev/null && { 
     11015         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11016         test ! -s conftest.err 
     11017       }; then 
     11018  ac_header_preproc=yes 
     11019else 
     11020  echo "$as_me: failed program was:" >&5 
     11021sed 's/^/| /' conftest.$ac_ext >&5 
     11022 
     11023  ac_header_preproc=no 
     11024fi 
     11025 
     11026rm -f conftest.err conftest.$ac_ext 
     11027{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11028echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11029 
     11030# So?  What about this header? 
     11031case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11032  yes:no: ) 
     11033    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11034echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11035    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
     11036echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
     11037    ac_header_preproc=yes 
     11038    ;; 
     11039  no:yes:* ) 
     11040    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
     11041echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
     11042    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
     11043echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     11044    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
     11045echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
     11046    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11047echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11048    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
     11049echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     11050    { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
     11051echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     11052 
     11053    ;; 
     11054esac 
     11055{ echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
     11056echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
     11057if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
     11058  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11059else 
     11060  ac_cv_header_linux_soundcard_h=$ac_header_preproc 
     11061fi 
     11062{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
     11063echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
     11064 
     11065fi 
     11066if test $ac_cv_header_linux_soundcard_h = yes; then 
    552411067  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    552511068fi 
    552611069 
    552711070 
    5528 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
    5529 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
     11071if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11072  { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
     11073echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
     11074if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11075  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11076fi 
     11077{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
     11078echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
     11079else 
     11080  # Is the header compilable? 
     11081{ echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
     11082echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
     11083cat >conftest.$ac_ext <<_ACEOF 
     11084/* confdefs.h.  */ 
     11085_ACEOF 
     11086cat confdefs.h >>conftest.$ac_ext 
     11087cat >>conftest.$ac_ext <<_ACEOF 
     11088/* end confdefs.h.  */ 
     11089$ac_includes_default 
     11090#include <machine/soundcard.h> 
     11091_ACEOF 
     11092rm -f conftest.$ac_objext 
     11093if { (ac_try="$ac_compile" 
     11094case "(($ac_try" in 
     11095  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11096  *) ac_try_echo=$ac_try;; 
     11097esac 
     11098eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11099  (eval "$ac_compile") 2>conftest.er1 
     11100  ac_status=$? 
     11101  grep -v '^ *+' conftest.er1 >conftest.err 
     11102  rm -f conftest.er1 
     11103  cat conftest.err >&5 
     11104  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11105  (exit $ac_status); } && { 
     11106         test -z "$ac_c_werror_flag" || 
     11107         test ! -s conftest.err 
     11108       } && test -s conftest.$ac_objext; then 
     11109  ac_header_compiler=yes 
     11110else 
     11111  echo "$as_me: failed program was:" >&5 
     11112sed 's/^/| /' conftest.$ac_ext >&5 
     11113 
     11114        ac_header_compiler=no 
     11115fi 
     11116 
     11117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     11118{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     11119echo "${ECHO_T}$ac_header_compiler" >&6; } 
     11120 
     11121# Is the header present? 
     11122{ echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
     11123echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
     11124cat >conftest.$ac_ext <<_ACEOF 
     11125/* confdefs.h.  */ 
     11126_ACEOF 
     11127cat confdefs.h >>conftest.$ac_ext 
     11128cat >>conftest.$ac_ext <<_ACEOF 
     11129/* end confdefs.h.  */ 
     11130#include <machine/soundcard.h> 
     11131_ACEOF 
     11132if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11133case "(($ac_try" in 
     11134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11135  *) ac_try_echo=$ac_try;; 
     11136esac 
     11137eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11138  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11139  ac_status=$? 
     11140  grep -v '^ *+' conftest.er1 >conftest.err 
     11141  rm -f conftest.er1 
     11142  cat conftest.err >&5 
     11143  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11144  (exit $ac_status); } >/dev/null && { 
     11145         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11146         test ! -s conftest.err 
     11147       }; then 
     11148  ac_header_preproc=yes 
     11149else 
     11150  echo "$as_me: failed program was:" >&5 
     11151sed 's/^/| /' conftest.$ac_ext >&5 
     11152 
     11153  ac_header_preproc=no 
     11154fi 
     11155 
     11156rm -f conftest.err conftest.$ac_ext 
     11157{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11158echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11159 
     11160# So?  What about this header? 
     11161case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11162  yes:no: ) 
     11163    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11164echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11165    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
     11166echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
     11167    ac_header_preproc=yes 
     11168    ;; 
     11169  no:yes:* ) 
     11170    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
     11171echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
     11172    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
     11173echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
     11174    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
     11175echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
     11176    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11177echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11178    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
     11179echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
     11180    { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
     11181echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
     11182 
     11183    ;; 
     11184esac 
     11185{ echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
     11186echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
     11187if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
     11188  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11189else 
     11190  ac_cv_header_machine_soundcard_h=$ac_header_preproc 
     11191fi 
     11192{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
     11193echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
     11194 
     11195fi 
     11196if test $ac_cv_header_machine_soundcard_h = yes; then 
    553011197  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    553111198fi 
     
    554511212  arm-apple-darwin*) 
    554611213        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" 
    5547         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
    5548 $as_echo "Checking sound device backend... AudioUnit" >&6; } 
     11214        { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
     11215echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
    554911216        ;; 
    555011217  *darwin*) 
     
    555411221                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    555511222                ac_pjmedia_snd=pa_old_darwinos 
    5556                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
    5557 $as_echo "Checking sound device backend... old coreaudio" >&6; } 
     11223                { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
     11224echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
    555811225        else 
    555911226                ac_pjmedia_snd=pa_darwinos 
    5560                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
    5561 $as_echo "Checking sound device backend... coreaudio" >&6; } 
     11227                { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
     11228echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
    556211229        fi 
    556311230        ;; 
    556411231  *cygwin* | *mingw*) 
    556511232        ac_pjmedia_snd=pa_win32 
    5566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
    5567 $as_echo "Checking sound device backend... win32 sound" >&6; } 
     11233        { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
     11234echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
    556811235        ;; 
    556911236  *rtems*) 
    557011237        ac_pjmedia_snd=null 
    5571         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
    5572 $as_echo "Checking sound device backend... null sound" >&6; } 
     11238        { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
     11239echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
    557311240        ;; 
    557411241  *) 
    557511242                ac_pjmedia_snd=pa_unix 
    5576         ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
    5577 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
     11243        if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11244  { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     11245echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
     11246if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11247  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11248fi 
     11249{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     11250echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
     11251else 
     11252  # Is the header compilable? 
     11253{ echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
     11254echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
     11255cat >conftest.$ac_ext <<_ACEOF 
     11256/* confdefs.h.  */ 
     11257_ACEOF 
     11258cat confdefs.h >>conftest.$ac_ext 
     11259cat >>conftest.$ac_ext <<_ACEOF 
     11260/* end confdefs.h.  */ 
     11261$ac_includes_default 
     11262#include <alsa/version.h> 
     11263_ACEOF 
     11264rm -f conftest.$ac_objext 
     11265if { (ac_try="$ac_compile" 
     11266case "(($ac_try" in 
     11267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11268  *) ac_try_echo=$ac_try;; 
     11269esac 
     11270eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11271  (eval "$ac_compile") 2>conftest.er1 
     11272  ac_status=$? 
     11273  grep -v '^ *+' conftest.er1 >conftest.err 
     11274  rm -f conftest.er1 
     11275  cat conftest.err >&5 
     11276  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11277  (exit $ac_status); } && { 
     11278         test -z "$ac_c_werror_flag" || 
     11279         test ! -s conftest.err 
     11280       } && test -s conftest.$ac_objext; then 
     11281  ac_header_compiler=yes 
     11282else 
     11283  echo "$as_me: failed program was:" >&5 
     11284sed 's/^/| /' conftest.$ac_ext >&5 
     11285 
     11286        ac_header_compiler=no 
     11287fi 
     11288 
     11289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     11290{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     11291echo "${ECHO_T}$ac_header_compiler" >&6; } 
     11292 
     11293# Is the header present? 
     11294{ echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
     11295echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
     11296cat >conftest.$ac_ext <<_ACEOF 
     11297/* confdefs.h.  */ 
     11298_ACEOF 
     11299cat confdefs.h >>conftest.$ac_ext 
     11300cat >>conftest.$ac_ext <<_ACEOF 
     11301/* end confdefs.h.  */ 
     11302#include <alsa/version.h> 
     11303_ACEOF 
     11304if { (ac_try="$ac_cpp conftest.$ac_ext" 
     11305case "(($ac_try" in 
     11306  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11307  *) ac_try_echo=$ac_try;; 
     11308esac 
     11309eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11310  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     11311  ac_status=$? 
     11312  grep -v '^ *+' conftest.er1 >conftest.err 
     11313  rm -f conftest.er1 
     11314  cat conftest.err >&5 
     11315  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11316  (exit $ac_status); } >/dev/null && { 
     11317         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     11318         test ! -s conftest.err 
     11319       }; then 
     11320  ac_header_preproc=yes 
     11321else 
     11322  echo "$as_me: failed program was:" >&5 
     11323sed 's/^/| /' conftest.$ac_ext >&5 
     11324 
     11325  ac_header_preproc=no 
     11326fi 
     11327 
     11328rm -f conftest.err conftest.$ac_ext 
     11329{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     11330echo "${ECHO_T}$ac_header_preproc" >&6; } 
     11331 
     11332# So?  What about this header? 
     11333case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     11334  yes:no: ) 
     11335    { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     11336echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     11337    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
     11338echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
     11339    ac_header_preproc=yes 
     11340    ;; 
     11341  no:yes:* ) 
     11342    { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
     11343echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
     11344    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
     11345echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
     11346    { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
     11347echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
     11348    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
     11349echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     11350    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
     11351echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
     11352    { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
     11353echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
     11354 
     11355    ;; 
     11356esac 
     11357{ echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     11358echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
     11359if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     11360  echo $ECHO_N "(cached) $ECHO_C" >&6 
     11361else 
     11362  ac_cv_header_alsa_version_h=$ac_header_preproc 
     11363fi 
     11364{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     11365echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
     11366 
     11367fi 
     11368if test $ac_cv_header_alsa_version_h = yes; then 
    557811369  ac_pa_use_alsa=1 
    557911370 
     
    558611377 
    558711378 
    5588         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
    5589 $as_echo "Checking sound device backend... unix" >&6; } 
     11379        { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
     11380echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
    559011381 
    559111382                ac_pa_use_oss=1 
    559211383 
    559311384        # Check whether --enable-oss was given. 
    5594 if test "${enable_oss+set}" = set; then : 
     11385if test "${enable_oss+set}" = set; then 
    559511386  enableval=$enable_oss; 
    559611387                        if test "$enable_oss" = "no"; then 
    559711388                         ac_pa_use_oss=0 
    5598                          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
    5599 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 
     11389                         { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
     11390echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
    560011391                        fi 
    560111392 
     
    560611397fi 
    560711398 
     11399 
     11400if test "$enable_video" = "no"; then 
     11401  true; 
     11402else 
     11403 case $target in 
     11404  arm-apple-darwin*) 
     11405        ac_pjmedia_video=iphone_os 
     11406 
     11407        ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 
     11408        LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
     11409        { echo "$as_me:$LINENO: result: Checking video device backend... AVFoundation" >&5 
     11410echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; } 
     11411        ;; 
     11412  *darwin*) 
     11413        ac_pjmedia_video=mac_os 
     11414 
     11415 
     11416        SAVED_LIBS="$LIBS" 
     11417        LIBS="-framework QTKit" 
     11418        cat >conftest.$ac_ext <<_ACEOF 
     11419/* confdefs.h.  */ 
     11420_ACEOF 
     11421cat confdefs.h >>conftest.$ac_ext 
     11422cat >>conftest.$ac_ext <<_ACEOF 
     11423/* end confdefs.h.  */ 
     11424 
     11425int 
     11426main () 
     11427{ 
     11428 
     11429  ; 
     11430  return 0; 
     11431} 
     11432_ACEOF 
     11433rm -f conftest.$ac_objext conftest$ac_exeext 
     11434if { (ac_try="$ac_link" 
     11435case "(($ac_try" in 
     11436  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11437  *) ac_try_echo=$ac_try;; 
     11438esac 
     11439eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11440  (eval "$ac_link") 2>conftest.er1 
     11441  ac_status=$? 
     11442  grep -v '^ *+' conftest.er1 >conftest.err 
     11443  rm -f conftest.er1 
     11444  cat conftest.err >&5 
     11445  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11446  (exit $ac_status); } && { 
     11447         test -z "$ac_c_werror_flag" || 
     11448         test ! -s conftest.err 
     11449       } && test -s conftest$ac_exeext && 
     11450       $as_test_x conftest$ac_exeext; then 
     11451  ac_pjmedia_video_has_qt=yes 
     11452else 
     11453  echo "$as_me: failed program was:" >&5 
     11454sed 's/^/| /' conftest.$ac_ext >&5 
     11455 
     11456        ac_pjmedia_video_has_qt=no 
     11457fi 
     11458 
     11459rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11460      conftest$ac_exeext conftest.$ac_ext 
     11461        LIBS="$SAVED_LIBS" 
     11462        if test "$ac_pjmedia_video_has_qt" = "yes"; then 
     11463          ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 
     11464          LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore" 
     11465          { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 
     11466echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 
     11467        else 
     11468          { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 
     11469echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 
     11470        fi 
     11471        ;; 
     11472 esac 
     11473fi 
     11474 
    560811475# Check whether --enable-ext_sound was given. 
    5609 if test "${enable_ext_sound+set}" = set; then : 
     11476if test "${enable_ext_sound+set}" = set; then 
    561011477  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    561111478                ac_pjmedia_snd=external 
    5612                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
    5613 $as_echo "Checking if external sound is set... yes" >&6; } 
     11479                { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
     11480echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
    561411481               fi 
    561511482 
     
    561911486 
    562011487# Check whether --enable-small-filter was given. 
    5621 if test "${enable_small_filter+set}" = set; then : 
     11488if test "${enable_small_filter+set}" = set; then 
    562211489  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    562311490                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    5624                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
    5625 $as_echo "Checking if small filter is disabled... yes" >&6; } 
     11491                { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
     11492echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
    562611493               fi 
    562711494else 
    5628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
    5629 $as_echo "Checking if small filter is disabled... no" >&6; } 
     11495  { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
     11496echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
    563011497fi 
    563111498 
     
    563311500 
    563411501# Check whether --enable-large-filter was given. 
    5635 if test "${enable_large_filter+set}" = set; then : 
     11502if test "${enable_large_filter+set}" = set; then 
    563611503  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    563711504                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    5638                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
    5639 $as_echo "Checking if large filter is disabled... yes" >&6; } 
     11505                { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
     11506echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
    564011507               fi 
    564111508else 
    5642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
    5643 $as_echo "Checking if large filter is disabled... no" >&6; } 
     11509  { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
     11510echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
    564411511fi 
    564511512 
     
    564711514 
    564811515# Check whether --enable-speex-aec was given. 
    5649 if test "${enable_speex_aec+set}" = set; then : 
     11516if test "${enable_speex_aec+set}" = set; then 
    565011517  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    565111518                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    5652                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
    5653 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
     11519                { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
     11520echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
    565411521               fi 
    565511522else 
    5656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
    5657 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 
     11523  { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
     11524echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
    565811525fi 
    565911526 
     
    566111528 
    566211529# Check whether --enable-g711-codec was given. 
    5663 if test "${enable_g711_codec+set}" = set; then : 
     11530if test "${enable_g711_codec+set}" = set; then 
    566411531  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    566511532                ac_no_g711_codec=1 
    5666                 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
    5667  
    5668                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
    5669 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
     11533                cat >>confdefs.h <<\_ACEOF 
     11534#define PJMEDIA_HAS_G711_CODEC 0 
     11535_ACEOF 
     11536 
     11537                { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
     11538echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
    567011539               fi 
    567111540else 
    5672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
    5673 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 
     11541  { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     11542echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
    567411543fi 
    567511544 
     
    567811547 
    567911548# Check whether --enable-l16-codec was given. 
    5680 if test "${enable_l16_codec+set}" = set; then : 
     11549if test "${enable_l16_codec+set}" = set; then 
    568111550  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    568211551                ac_no_l16_codec=1 
    5683                 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
    5684  
    5685                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
    5686 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
     11552                cat >>confdefs.h <<\_ACEOF 
     11553#define PJMEDIA_HAS_L16_CODEC 0 
     11554_ACEOF 
     11555 
     11556                { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
     11557echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
    568711558               fi 
    568811559else 
    5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
    5690 $as_echo "Checking if L16 codec is disabled...no" >&6; } 
     11560  { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
     11561echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
    569111562fi 
    569211563 
     
    569511566 
    569611567# Check whether --enable-gsm-codec was given. 
    5697 if test "${enable_gsm_codec+set}" = set; then : 
     11568if test "${enable_gsm_codec+set}" = set; then 
    569811569  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    569911570                ac_no_gsm_codec=1 
    5700                 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
    5701  
    5702                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
    5703 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 
     11571                cat >>confdefs.h <<\_ACEOF 
     11572#define PJMEDIA_HAS_GSM_CODEC 0 
     11573_ACEOF 
     11574 
     11575                { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
     11576echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
    570411577               fi 
    570511578else 
    5706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
    5707 $as_echo "Checking if GSM codec is disabled...no" >&6; } 
     11579  { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
     11580echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
    570811581fi 
    570911582 
     
    571111584 
    571211585# Check whether --enable-g722-codec was given. 
    5713 if test "${enable_g722_codec+set}" = set; then : 
     11586if test "${enable_g722_codec+set}" = set; then 
    571411587  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    571511588                ac_no_g722_codec=1 
    5716                 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
    5717  
    5718                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
    5719 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
     11589                cat >>confdefs.h <<\_ACEOF 
     11590#define PJMEDIA_HAS_G722_CODEC 0 
     11591_ACEOF 
     11592 
     11593                { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
     11594echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
    572011595               fi 
    572111596else 
    5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
    5723 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 
     11597  { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
     11598echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
    572411599fi 
    572511600 
     
    572711602 
    572811603# Check whether --enable-g7221-codec was given. 
    5729 if test "${enable_g7221_codec+set}" = set; then : 
     11604if test "${enable_g7221_codec+set}" = set; then 
    573011605  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    573111606                ac_no_g7221_codec=1 
    5732                 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
    5733  
    5734                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
    5735 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
     11607                cat >>confdefs.h <<\_ACEOF 
     11608#define PJMEDIA_HAS_G7221_CODEC 0 
     11609_ACEOF 
     11610 
     11611                { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
     11612echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
    573611613               fi 
    573711614else 
    5738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
    5739 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
     11615  { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
     11616echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
    574011617fi 
    574111618 
     
    574311620 
    574411621# Check whether --enable-speex-codec was given. 
    5745 if test "${enable_speex_codec+set}" = set; then : 
     11622if test "${enable_speex_codec+set}" = set; then 
    574611623  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    574711624                ac_no_speex_codec=1 
    5748                 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
    5749  
    5750                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
    5751 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 
     11625                cat >>confdefs.h <<\_ACEOF 
     11626#define PJMEDIA_HAS_SPEEX_CODEC 0 
     11627_ACEOF 
     11628 
     11629                { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
     11630echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
    575211631               fi 
    575311632else 
    5754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
    5755 $as_echo "Checking if Speex codec is disabled...no" >&6; } 
     11633  { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
     11634echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
    575611635fi 
    575711636 
     
    575911638 
    576011639# Check whether --enable-ilbc-codec was given. 
    5761 if test "${enable_ilbc_codec+set}" = set; then : 
     11640if test "${enable_ilbc_codec+set}" = set; then 
    576211641  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    576311642                ac_no_ilbc_codec=1 
    5764                 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
    5765  
    5766                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
    5767 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
     11643                cat >>confdefs.h <<\_ACEOF 
     11644#define PJMEDIA_HAS_ILBC_CODEC 0 
     11645_ACEOF 
     11646 
     11647                { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
     11648echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
    576811649               fi 
    576911650else 
    5770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
    5771 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 
     11651  { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
     11652echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
    577211653fi 
    577311654 
    577411655 
    577511656# Check whether --enable-libsamplerate was given. 
    5776 if test "${enable_libsamplerate+set}" = set; then : 
    5777   enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
    5778 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
    5779 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
    5780   $as_echo_n "(cached) " >&6 
     11657if test "${enable_libsamplerate+set}" = set; then 
     11658  enableval=$enable_libsamplerate; 
     11659{ echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
     11660echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
     11661if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
     11662  echo $ECHO_N "(cached) $ECHO_C" >&6 
    578111663else 
    578211664  ac_check_lib_save_LIBS=$LIBS 
    578311665LIBS="-lsamplerate  $LIBS" 
    5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11666cat >conftest.$ac_ext <<_ACEOF 
     11667/* confdefs.h.  */ 
     11668_ACEOF 
     11669cat confdefs.h >>conftest.$ac_ext 
     11670cat >>conftest.$ac_ext <<_ACEOF 
    578511671/* end confdefs.h.  */ 
    578611672 
     
    580011686} 
    580111687_ACEOF 
    5802 if ac_fn_c_try_link "$LINENO"; then : 
     11688rm -f conftest.$ac_objext conftest$ac_exeext 
     11689if { (ac_try="$ac_link" 
     11690case "(($ac_try" in 
     11691  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11692  *) ac_try_echo=$ac_try;; 
     11693esac 
     11694eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11695  (eval "$ac_link") 2>conftest.er1 
     11696  ac_status=$? 
     11697  grep -v '^ *+' conftest.er1 >conftest.err 
     11698  rm -f conftest.er1 
     11699  cat conftest.err >&5 
     11700  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11701  (exit $ac_status); } && { 
     11702         test -z "$ac_c_werror_flag" || 
     11703         test ! -s conftest.err 
     11704       } && test -s conftest$ac_exeext && 
     11705       $as_test_x conftest$ac_exeext; then 
    580311706  ac_cv_lib_samplerate_src_new=yes 
    580411707else 
    5805   ac_cv_lib_samplerate_src_new=no 
    5806 fi 
    5807 rm -f core conftest.err conftest.$ac_objext \ 
    5808     conftest$ac_exeext conftest.$ac_ext 
     11708  echo "$as_me: failed program was:" >&5 
     11709sed 's/^/| /' conftest.$ac_ext >&5 
     11710 
     11711        ac_cv_lib_samplerate_src_new=no 
     11712fi 
     11713 
     11714rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11715      conftest$ac_exeext conftest.$ac_ext 
    580911716LIBS=$ac_check_lib_save_LIBS 
    581011717fi 
    5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
    5812 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
    5813 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
     11718{ echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
     11719echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
     11720if test $ac_cv_lib_samplerate_src_new = yes; then 
    581411721  cat >>confdefs.h <<_ACEOF 
    581511722#define HAVE_LIBSAMPLERATE 1 
     
    582111728 
    582211729else 
    5823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
    5824 $as_echo "Skipping libsamplerate detection" >&6; } 
     11730  { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
     11731echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
    582511732 
    582611733fi 
     
    582811735 
    582911736# Check whether --enable-sdl was given. 
    5830 if test "${enable_sdl+set}" = set; then : 
     11737if test "${enable_sdl+set}" = set; then 
    583111738  enableval=$enable_sdl; 
    583211739                if test "$enable_sdl" = "no"; then 
    5833                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 
    5834 $as_echo "Checking if SDL is disabled... yes" >&6; } 
     11740                  { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 
     11741echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 
    583511742                fi 
    583611743 
    583711744else 
    583811745 
    5839                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 
    5840 $as_echo_n "checking SDL availability..... " >&6; } 
     11746                  { echo "$as_me:$LINENO: checking SDL availability.." >&5 
     11747echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 
    584111748                  if sdl-config --version; then 
    584211749 
     
    585311760 
    585411761# Check whether --enable-ffmpeg was given. 
    5855 if test "${enable_ffmpeg+set}" = set; then : 
     11762if test "${enable_ffmpeg+set}" = set; then 
    585611763  enableval=$enable_ffmpeg; 
    585711764                ac_has_ffmpeg=0 
    585811765 
    585911766                if test "$enable_ffmpeg" = "no"; then 
    5860                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 
    5861 $as_echo "Checking if ffmpeg is disabled... yes" >&6; } 
     11767                        { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 
     11768echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 
    586211769                fi 
    586311770 
     
    586711774 
    586811775 
    5869                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
    5870 $as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
    5871 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
    5872   $as_echo_n "(cached) " >&6 
     11776                { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 
     11777echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 
     11778if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 
     11779  echo $ECHO_N "(cached) $ECHO_C" >&6 
    587311780else 
    587411781  ac_check_lib_save_LIBS=$LIBS 
    587511782LIBS="-lavdevice  $LIBS" 
    5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11783cat >conftest.$ac_ext <<_ACEOF 
     11784/* confdefs.h.  */ 
     11785_ACEOF 
     11786cat confdefs.h >>conftest.$ac_ext 
     11787cat >>conftest.$ac_ext <<_ACEOF 
    587711788/* end confdefs.h.  */ 
    587811789 
     
    589211803} 
    589311804_ACEOF 
    5894 if ac_fn_c_try_link "$LINENO"; then : 
     11805rm -f conftest.$ac_objext conftest$ac_exeext 
     11806if { (ac_try="$ac_link" 
     11807case "(($ac_try" in 
     11808  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11809  *) ac_try_echo=$ac_try;; 
     11810esac 
     11811eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11812  (eval "$ac_link") 2>conftest.er1 
     11813  ac_status=$? 
     11814  grep -v '^ *+' conftest.er1 >conftest.err 
     11815  rm -f conftest.er1 
     11816  cat conftest.err >&5 
     11817  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11818  (exit $ac_status); } && { 
     11819         test -z "$ac_c_werror_flag" || 
     11820         test ! -s conftest.err 
     11821       } && test -s conftest$ac_exeext && 
     11822       $as_test_x conftest$ac_exeext; then 
    589511823  ac_cv_lib_avdevice_avdevice_version=yes 
    589611824else 
    5897   ac_cv_lib_avdevice_avdevice_version=no 
    5898 fi 
    5899 rm -f core conftest.err conftest.$ac_objext \ 
    5900     conftest$ac_exeext conftest.$ac_ext 
     11825  echo "$as_me: failed program was:" >&5 
     11826sed 's/^/| /' conftest.$ac_ext >&5 
     11827 
     11828        ac_cv_lib_avdevice_avdevice_version=no 
     11829fi 
     11830 
     11831rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11832      conftest$ac_exeext conftest.$ac_ext 
    590111833LIBS=$ac_check_lib_save_LIBS 
    590211834fi 
    5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    5904 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    5905 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
     11835{ echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
     11836echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 
     11837if test $ac_cv_lib_avdevice_avdevice_version = yes; then 
    590611838  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    590711839                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    591011842fi 
    591111843 
    5912                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
    5913 $as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
    5914 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
    5915   $as_echo_n "(cached) " >&6 
     11844                { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 
     11845echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 
     11846if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 
     11847  echo $ECHO_N "(cached) $ECHO_C" >&6 
    591611848else 
    591711849  ac_check_lib_save_LIBS=$LIBS 
    591811850LIBS="-lavformat  $LIBS" 
    5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11851cat >conftest.$ac_ext <<_ACEOF 
     11852/* confdefs.h.  */ 
     11853_ACEOF 
     11854cat confdefs.h >>conftest.$ac_ext 
     11855cat >>conftest.$ac_ext <<_ACEOF 
    592011856/* end confdefs.h.  */ 
    592111857 
     
    593511871} 
    593611872_ACEOF 
    5937 if ac_fn_c_try_link "$LINENO"; then : 
     11873rm -f conftest.$ac_objext conftest$ac_exeext 
     11874if { (ac_try="$ac_link" 
     11875case "(($ac_try" in 
     11876  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11877  *) ac_try_echo=$ac_try;; 
     11878esac 
     11879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11880  (eval "$ac_link") 2>conftest.er1 
     11881  ac_status=$? 
     11882  grep -v '^ *+' conftest.er1 >conftest.err 
     11883  rm -f conftest.er1 
     11884  cat conftest.err >&5 
     11885  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11886  (exit $ac_status); } && { 
     11887         test -z "$ac_c_werror_flag" || 
     11888         test ! -s conftest.err 
     11889       } && test -s conftest$ac_exeext && 
     11890       $as_test_x conftest$ac_exeext; then 
    593811891  ac_cv_lib_avformat_av_register_all=yes 
    593911892else 
    5940   ac_cv_lib_avformat_av_register_all=no 
    5941 fi 
    5942 rm -f core conftest.err conftest.$ac_objext \ 
    5943     conftest$ac_exeext conftest.$ac_ext 
     11893  echo "$as_me: failed program was:" >&5 
     11894sed 's/^/| /' conftest.$ac_ext >&5 
     11895 
     11896        ac_cv_lib_avformat_av_register_all=no 
     11897fi 
     11898 
     11899rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11900      conftest$ac_exeext conftest.$ac_ext 
    594411901LIBS=$ac_check_lib_save_LIBS 
    594511902fi 
    5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
    5947 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
    5948 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
     11903{ echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 
     11904echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 
     11905if test $ac_cv_lib_avformat_av_register_all = yes; then 
    594911906  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    595011907                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    595311910fi 
    595411911 
    5955                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
    5956 $as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
    5957 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
    5958   $as_echo_n "(cached) " >&6 
     11912                { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 
     11913echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 
     11914if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 
     11915  echo $ECHO_N "(cached) $ECHO_C" >&6 
    595911916else 
    596011917  ac_check_lib_save_LIBS=$LIBS 
    596111918LIBS="-lavcodec  $LIBS" 
    5962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11919cat >conftest.$ac_ext <<_ACEOF 
     11920/* confdefs.h.  */ 
     11921_ACEOF 
     11922cat confdefs.h >>conftest.$ac_ext 
     11923cat >>conftest.$ac_ext <<_ACEOF 
    596311924/* end confdefs.h.  */ 
    596411925 
     
    597811939} 
    597911940_ACEOF 
    5980 if ac_fn_c_try_link "$LINENO"; then : 
     11941rm -f conftest.$ac_objext conftest$ac_exeext 
     11942if { (ac_try="$ac_link" 
     11943case "(($ac_try" in 
     11944  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     11945  *) ac_try_echo=$ac_try;; 
     11946esac 
     11947eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     11948  (eval "$ac_link") 2>conftest.er1 
     11949  ac_status=$? 
     11950  grep -v '^ *+' conftest.er1 >conftest.err 
     11951  rm -f conftest.er1 
     11952  cat conftest.err >&5 
     11953  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     11954  (exit $ac_status); } && { 
     11955         test -z "$ac_c_werror_flag" || 
     11956         test ! -s conftest.err 
     11957       } && test -s conftest$ac_exeext && 
     11958       $as_test_x conftest$ac_exeext; then 
    598111959  ac_cv_lib_avcodec_avcodec_init=yes 
    598211960else 
    5983   ac_cv_lib_avcodec_avcodec_init=no 
    5984 fi 
    5985 rm -f core conftest.err conftest.$ac_objext \ 
    5986     conftest$ac_exeext conftest.$ac_ext 
     11961  echo "$as_me: failed program was:" >&5 
     11962sed 's/^/| /' conftest.$ac_ext >&5 
     11963 
     11964        ac_cv_lib_avcodec_avcodec_init=no 
     11965fi 
     11966 
     11967rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     11968      conftest$ac_exeext conftest.$ac_ext 
    598711969LIBS=$ac_check_lib_save_LIBS 
    598811970fi 
    5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    5990 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    5991 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
     11971{ echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
     11972echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 
     11973if test $ac_cv_lib_avcodec_avcodec_init = yes; then 
    599211974  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    599311975                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    599611978fi 
    599711979 
    5998                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
    5999 $as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
    6000 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
    6001   $as_echo_n "(cached) " >&6 
     11980                { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 
     11981echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 
     11982if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 
     11983  echo $ECHO_N "(cached) $ECHO_C" >&6 
    600211984else 
    600311985  ac_check_lib_save_LIBS=$LIBS 
    600411986LIBS="-lswscale  $LIBS" 
    6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     11987cat >conftest.$ac_ext <<_ACEOF 
     11988/* confdefs.h.  */ 
     11989_ACEOF 
     11990cat confdefs.h >>conftest.$ac_ext 
     11991cat >>conftest.$ac_ext <<_ACEOF 
    600611992/* end confdefs.h.  */ 
    600711993 
     
    602112007} 
    602212008_ACEOF 
    6023 if ac_fn_c_try_link "$LINENO"; then : 
     12009rm -f conftest.$ac_objext conftest$ac_exeext 
     12010if { (ac_try="$ac_link" 
     12011case "(($ac_try" in 
     12012  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12013  *) ac_try_echo=$ac_try;; 
     12014esac 
     12015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12016  (eval "$ac_link") 2>conftest.er1 
     12017  ac_status=$? 
     12018  grep -v '^ *+' conftest.er1 >conftest.err 
     12019  rm -f conftest.er1 
     12020  cat conftest.err >&5 
     12021  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12022  (exit $ac_status); } && { 
     12023         test -z "$ac_c_werror_flag" || 
     12024         test ! -s conftest.err 
     12025       } && test -s conftest$ac_exeext && 
     12026       $as_test_x conftest$ac_exeext; then 
    602412027  ac_cv_lib_swscale_sws_scale=yes 
    602512028else 
    6026   ac_cv_lib_swscale_sws_scale=no 
    6027 fi 
    6028 rm -f core conftest.err conftest.$ac_objext \ 
    6029     conftest$ac_exeext conftest.$ac_ext 
     12029  echo "$as_me: failed program was:" >&5 
     12030sed 's/^/| /' conftest.$ac_ext >&5 
     12031 
     12032        ac_cv_lib_swscale_sws_scale=no 
     12033fi 
     12034 
     12035rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12036      conftest$ac_exeext conftest.$ac_ext 
    603012037LIBS=$ac_check_lib_save_LIBS 
    603112038fi 
    6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
    6033 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
    6034 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
     12039{ echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 
     12040echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 
     12041if test $ac_cv_lib_swscale_sws_scale = yes; then 
    603512042  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    603612043                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    603912046fi 
    604012047 
    6041                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
    6042 $as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
    6043 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
    6044   $as_echo_n "(cached) " >&6 
     12048                { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 
     12049echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 
     12050if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 
     12051  echo $ECHO_N "(cached) $ECHO_C" >&6 
    604512052else 
    604612053  ac_check_lib_save_LIBS=$LIBS 
    604712054LIBS="-lavutil  $LIBS" 
    6048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12055cat >conftest.$ac_ext <<_ACEOF 
     12056/* confdefs.h.  */ 
     12057_ACEOF 
     12058cat confdefs.h >>conftest.$ac_ext 
     12059cat >>conftest.$ac_ext <<_ACEOF 
    604912060/* end confdefs.h.  */ 
    605012061 
     
    606412075} 
    606512076_ACEOF 
    6066 if ac_fn_c_try_link "$LINENO"; then : 
     12077rm -f conftest.$ac_objext conftest$ac_exeext 
     12078if { (ac_try="$ac_link" 
     12079case "(($ac_try" in 
     12080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12081  *) ac_try_echo=$ac_try;; 
     12082esac 
     12083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12084  (eval "$ac_link") 2>conftest.er1 
     12085  ac_status=$? 
     12086  grep -v '^ *+' conftest.er1 >conftest.err 
     12087  rm -f conftest.er1 
     12088  cat conftest.err >&5 
     12089  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12090  (exit $ac_status); } && { 
     12091         test -z "$ac_c_werror_flag" || 
     12092         test ! -s conftest.err 
     12093       } && test -s conftest$ac_exeext && 
     12094       $as_test_x conftest$ac_exeext; then 
    606712095  ac_cv_lib_avutil_av_malloc=yes 
    606812096else 
    6069   ac_cv_lib_avutil_av_malloc=no 
    6070 fi 
    6071 rm -f core conftest.err conftest.$ac_objext \ 
    6072     conftest$ac_exeext conftest.$ac_ext 
     12097  echo "$as_me: failed program was:" >&5 
     12098sed 's/^/| /' conftest.$ac_ext >&5 
     12099 
     12100        ac_cv_lib_avutil_av_malloc=no 
     12101fi 
     12102 
     12103rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12104      conftest$ac_exeext conftest.$ac_ext 
    607312105LIBS=$ac_check_lib_save_LIBS 
    607412106fi 
    6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
    6076 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
    6077 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
     12107{ echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 
     12108echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 
     12109if test $ac_cv_lib_avutil_av_malloc = yes; then 
    607812110  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    607912111                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    608212114fi 
    608312115 
    6084                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
    6085 $as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
    6086 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
    6087   $as_echo_n "(cached) " >&6 
     12116                { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 
     12117echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 
     12118if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 
     12119  echo $ECHO_N "(cached) $ECHO_C" >&6 
    608812120else 
    608912121  ac_check_lib_save_LIBS=$LIBS 
    609012122LIBS="-lavcore  $LIBS" 
    6091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12123cat >conftest.$ac_ext <<_ACEOF 
     12124/* confdefs.h.  */ 
     12125_ACEOF 
     12126cat confdefs.h >>conftest.$ac_ext 
     12127cat >>conftest.$ac_ext <<_ACEOF 
    609212128/* end confdefs.h.  */ 
    609312129 
     
    610712143} 
    610812144_ACEOF 
    6109 if ac_fn_c_try_link "$LINENO"; then : 
     12145rm -f conftest.$ac_objext conftest$ac_exeext 
     12146if { (ac_try="$ac_link" 
     12147case "(($ac_try" in 
     12148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12149  *) ac_try_echo=$ac_try;; 
     12150esac 
     12151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12152  (eval "$ac_link") 2>conftest.er1 
     12153  ac_status=$? 
     12154  grep -v '^ *+' conftest.er1 >conftest.err 
     12155  rm -f conftest.er1 
     12156  cat conftest.err >&5 
     12157  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12158  (exit $ac_status); } && { 
     12159         test -z "$ac_c_werror_flag" || 
     12160         test ! -s conftest.err 
     12161       } && test -s conftest$ac_exeext && 
     12162       $as_test_x conftest$ac_exeext; then 
    611012163  ac_cv_lib_avcore_avcore_version=yes 
    611112164else 
    6112   ac_cv_lib_avcore_avcore_version=no 
    6113 fi 
    6114 rm -f core conftest.err conftest.$ac_objext \ 
    6115     conftest$ac_exeext conftest.$ac_ext 
     12165  echo "$as_me: failed program was:" >&5 
     12166sed 's/^/| /' conftest.$ac_ext >&5 
     12167 
     12168        ac_cv_lib_avcore_avcore_version=no 
     12169fi 
     12170 
     12171rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12172      conftest$ac_exeext conftest.$ac_ext 
    611612173LIBS=$ac_check_lib_save_LIBS 
    611712174fi 
    6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
    6119 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
    6120 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
     12175{ echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 
     12176echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 
     12177if test $ac_cv_lib_avcore_avcore_version = yes; then 
    612112178  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    612212179                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    613212189 
    613312190# Check whether --enable-v4l2 was given. 
    6134 if test "${enable_v4l2+set}" = set; then : 
     12191if test "${enable_v4l2+set}" = set; then 
    613512192  enableval=$enable_v4l2; 
    613612193                if test "$enable_v4l2" = "no"; then 
    6137                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 
    6138 $as_echo "Checking if V4L2 is disabled... yes" >&6; } 
     12194                  { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 
     12195echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 
    613912196                fi 
    614012197 
     
    614312200 
    614412201 
    6145                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
    6146 $as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
    6147 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
    6148   $as_echo_n "(cached) " >&6 
     12202                { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 
     12203echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 
     12204if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 
     12205  echo $ECHO_N "(cached) $ECHO_C" >&6 
    614912206else 
    615012207  ac_check_lib_save_LIBS=$LIBS 
    615112208LIBS="-lv4l2  $LIBS" 
    6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12209cat >conftest.$ac_ext <<_ACEOF 
     12210/* confdefs.h.  */ 
     12211_ACEOF 
     12212cat confdefs.h >>conftest.$ac_ext 
     12213cat >>conftest.$ac_ext <<_ACEOF 
    615312214/* end confdefs.h.  */ 
    615412215 
     
    616812229} 
    616912230_ACEOF 
    6170 if ac_fn_c_try_link "$LINENO"; then : 
     12231rm -f conftest.$ac_objext conftest$ac_exeext 
     12232if { (ac_try="$ac_link" 
     12233case "(($ac_try" in 
     12234  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12235  *) ac_try_echo=$ac_try;; 
     12236esac 
     12237eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12238  (eval "$ac_link") 2>conftest.er1 
     12239  ac_status=$? 
     12240  grep -v '^ *+' conftest.er1 >conftest.err 
     12241  rm -f conftest.er1 
     12242  cat conftest.err >&5 
     12243  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12244  (exit $ac_status); } && { 
     12245         test -z "$ac_c_werror_flag" || 
     12246         test ! -s conftest.err 
     12247       } && test -s conftest$ac_exeext && 
     12248       $as_test_x conftest$ac_exeext; then 
    617112249  ac_cv_lib_v4l2_v4l2_open=yes 
    617212250else 
    6173   ac_cv_lib_v4l2_v4l2_open=no 
    6174 fi 
    6175 rm -f core conftest.err conftest.$ac_objext \ 
    6176     conftest$ac_exeext conftest.$ac_ext 
     12251  echo "$as_me: failed program was:" >&5 
     12252sed 's/^/| /' conftest.$ac_ext >&5 
     12253 
     12254        ac_cv_lib_v4l2_v4l2_open=no 
     12255fi 
     12256 
     12257rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12258      conftest$ac_exeext conftest.$ac_ext 
    617712259LIBS=$ac_check_lib_save_LIBS 
    617812260fi 
    6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    6180 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    6181 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
     12261{ echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
     12262echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 
     12263if test $ac_cv_lib_v4l2_v4l2_open = yes; then 
    618212264  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    618312265                              ac_v4l2_ldflags="-lv4l2" 
     
    619212274 
    619312275# Check whether --enable-ipp was given. 
    6194 if test "${enable_ipp+set}" = set; then : 
     12276if test "${enable_ipp+set}" = set; then 
    619512277  enableval=$enable_ipp; 
    619612278else 
     
    620212284 
    620312285# Check whether --with-ipp was given. 
    6204 if test "${with_ipp+set}" = set; then : 
     12286if test "${with_ipp+set}" = set; then 
    620512287  withval=$with_ipp; 
    620612288else 
     
    621212294 
    621312295# Check whether --with-ipp-samples was given. 
    6214 if test "${with_ipp_samples+set}" = set; then : 
     12296if test "${with_ipp_samples+set}" = set; then 
    621512297  withval=$with_ipp_samples; 
    621612298else 
     
    622212304 
    622312305# Check whether --with-ipp-arch was given. 
    6224 if test "${with_ipp_arch+set}" = set; then : 
     12306if test "${with_ipp_arch+set}" = set; then 
    622512307  withval=$with_ipp_arch; 
    622612308else 
     
    623112313 
    623212314if test "x$enable_ipp" != "xno"; then 
    6233                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
    6234 $as_echo_n "checking Intel IPP location... " >&6; } 
     12315                { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
     12316echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
    623512317 
    623612318    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    6237         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
    6238 $as_echo "$with_ipp" >&6; } 
     12319        { echo "$as_me:$LINENO: result: $with_ipp" >&5 
     12320echo "${ECHO_T}$with_ipp" >&6; } 
    623912321        IPPROOT=$with_ipp 
    624012322    elif test "x$IPPROOT" = "x"; then 
    624112323        if test -d /opt/intel/ipp; then 
    624212324            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    6243             { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
    6244 $as_echo "autodetected in $IPPROOT" >&6; } 
     12325            { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
     12326echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
    624512327        fi 
    624612328    else 
    6247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
    6248 $as_echo "$IPPROOT" >&6; } 
     12329        { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
     12330echo "${ECHO_T}$IPPROOT" >&6; } 
    624912331    fi 
    625012332 
    625112333    if test "x$with_ipp_arch" != "xno"; then 
    625212334        IPP_SUFFIX=$with_ipp_arch 
    6253         { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    6254 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     12335        { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     12336echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    625512337    else 
    625612338        IPP_SUFFIX="" 
    6257         { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
    6258 $as_echo "IPP arch suffix is set to empty" >&6; } 
     12339        { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
     12340echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
    625912341    fi 
    626012342 
    626112343    if test x$IPPROOT = x; then 
    6262         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 
     12344        { { 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 
     12345echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&2;} 
     12346   { (exit 1); exit 1; }; } 
    626312347    elif test ! -d $IPPROOT; then 
    6264         as_fn_error "not found" "$LINENO" 5 
     12348        { { echo "$as_me:$LINENO: error: not found" >&5 
     12349echo "$as_me: error: not found" >&2;} 
     12350   { (exit 1); exit 1; }; } 
    626512351    elif test ! -d $IPPROOT/include; then 
    6266         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     12352        { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
     12353echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
     12354   { (exit 1); exit 1; }; } 
    626712355    else 
    626812356        # IPP directory looks okay. 
     
    629712385 
    629812386 
    6299         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
    6300 $as_echo_n "checking Intel IPP usability... " >&6; } 
    6301         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12387        { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
     12388echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
     12389        cat >conftest.$ac_ext <<_ACEOF 
     12390/* confdefs.h.  */ 
     12391_ACEOF 
     12392cat confdefs.h >>conftest.$ac_ext 
     12393cat >>conftest.$ac_ext <<_ACEOF 
    630212394/* end confdefs.h.  */ 
    630312395#include <ippcore.h> 
     
    631112403} 
    631212404_ACEOF 
    6313 if ac_fn_c_try_link "$LINENO"; then : 
    6314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    6315 $as_echo "ok" >&6; } 
    6316 else 
    6317   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6319 { as_fn_set_status run with --help for more info 
    6320 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    6321 See \`config.log' for more details." "$LINENO" 5; }; } 
    6322 fi 
    6323 rm -f core conftest.err conftest.$ac_objext \ 
    6324     conftest$ac_exeext conftest.$ac_ext 
     12405rm -f conftest.$ac_objext conftest$ac_exeext 
     12406if { (ac_try="$ac_link" 
     12407case "(($ac_try" in 
     12408  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12409  *) ac_try_echo=$ac_try;; 
     12410esac 
     12411eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12412  (eval "$ac_link") 2>conftest.er1 
     12413  ac_status=$? 
     12414  grep -v '^ *+' conftest.er1 >conftest.err 
     12415  rm -f conftest.er1 
     12416  cat conftest.err >&5 
     12417  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12418  (exit $ac_status); } && { 
     12419         test -z "$ac_c_werror_flag" || 
     12420         test ! -s conftest.err 
     12421       } && test -s conftest$ac_exeext && 
     12422       $as_test_x conftest$ac_exeext; then 
     12423  { echo "$as_me:$LINENO: result: ok" >&5 
     12424echo "${ECHO_T}ok" >&6; } 
     12425else 
     12426  echo "$as_me: failed program was:" >&5 
     12427sed 's/^/| /' conftest.$ac_ext >&5 
     12428 
     12429        { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     12430See \`config.log' for more details." >&5 
     12431echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     12432See \`config.log' for more details." >&2;} 
     12433   { (exit run with --help for more info); exit run with --help for more info; }; } 
     12434fi 
     12435 
     12436rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12437      conftest$ac_exeext conftest.$ac_ext 
    632512438 
    632612439        CFLAGS="$SAVED_CFLAGS" 
     
    632912442    fi 
    633012443 
    6331                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
    6332 $as_echo_n "checking Intel IPP samples location... " >&6; } 
     12444                { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
     12445echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
    633312446 
    633412447    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    6335         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
    6336 $as_echo "$with_ipp_samples" >&6; } 
     12448        { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
     12449echo "${ECHO_T}$with_ipp_samples" >&6; } 
    633712450        IPPSAMPLES=$with_ipp_samples 
    633812451    elif test "x$IPPSAMPLES" = "x"; then 
    633912452        if test -d /opt/intel/ipp-samples; then 
    634012453            IPPSAMPLES=/opt/intel/ipp-samples 
    6341             { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
    6342 $as_echo "autodetected in $IPPSAMPLES" >&6; } 
     12454            { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
     12455echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
    634312456        fi 
    634412457    else 
    6345         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
    6346 $as_echo "$IPPSAMPLES" >&6; } 
     12458        { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
     12459echo "${ECHO_T}$IPPSAMPLES" >&6; } 
    634712460    fi 
    634812461 
    634912462    if test x$IPPSAMPLES = x; then 
    6350         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 
     12463        { { 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 
     12464echo "$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;} 
     12465   { (exit 1); exit 1; }; } 
    635112466    elif test ! -d $IPPSAMPLES; then 
    6352         as_fn_error "not found" "$LINENO" 5 
     12467        { { echo "$as_me:$LINENO: error: not found" >&5 
     12468echo "$as_me: error: not found" >&2;} 
     12469   { (exit 1); exit 1; }; } 
    635312470    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    6354         as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
     12471        { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
     12472echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
     12473   { (exit 1); exit 1; }; } 
    635512474    else 
    635612475        # Remove trailing backslash 
     
    635812477 
    635912478        # Guess the libusc.a/libspeech.a build location 
    6360         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
    6361 $as_echo_n "checking Intel IPP USC build location... " >&6; } 
     12479        { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
     12480echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
    636212481        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    636312482            IPPVER=5 
     
    637212491                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    637312492            else 
    6374                 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6376 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    6377 See \`config.log' for more details." "$LINENO" 5; } 
     12493                { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     12494See \`config.log' for more details." >&5 
     12495echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     12496See \`config.log' for more details." >&2;} 
     12497   { (exit 1); exit 1; }; } 
    637812498            fi 
    637912499        else 
    6380             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6382 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? 
    6383 See \`config.log' for more details." "$LINENO" 5; } 
     12500            { { 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? 
     12501See \`config.log' for more details." >&5 
     12502echo "$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? 
     12503See \`config.log' for more details." >&2;} 
     12504   { (exit 1); exit 1; }; } 
    638412505        fi 
    638512506 
    638612507        # Test the directory 
    638712508        if test ! -d $IPPSAMP_DIR; then 
    6388             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6390 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    6391 See \`config.log' for more details." "$LINENO" 5; } 
     12509            { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     12510See \`config.log' for more details." >&5 
     12511echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     12512See \`config.log' for more details." >&2;} 
     12513   { (exit 1); exit 1; }; } 
    639212514            exit 1; 
    639312515        fi 
     
    640012522            IPPSAMP_LDLIBS="-lspeech" 
    640112523        else 
    6402             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6404 as_fn_error "bug in this script: unsupported IPP version 
    6405 See \`config.log' for more details." "$LINENO" 5; } 
     12524            { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
     12525See \`config.log' for more details." >&5 
     12526echo "$as_me: error: bug in this script: unsupported IPP version 
     12527See \`config.log' for more details." >&2;} 
     12528   { (exit 1); exit 1; }; } 
    640612529        fi 
    640712530 
    640812531        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    6409             { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6411 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    6412 See \`config.log' for more details." "$LINENO" 5; } 
     12532            { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     12533See \`config.log' for more details." >&5 
     12534echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     12535See \`config.log' for more details." >&2;} 
     12536   { (exit 1); exit 1; }; } 
    641312537        fi 
    641412538 
    6415         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
    6416 $as_echo "$IPPSAMP_DIR" >&6; } 
     12539        { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
     12540echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
    641712541 
    641812542        SAVED_CFLAGS="$CFLAGS" 
     
    642512549        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    642612550 
    6427         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
    6428 $as_echo_n "checking Intel IPP USC usability... " >&6; } 
    6429         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12551        { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
     12552echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
     12553        cat >conftest.$ac_ext <<_ACEOF 
     12554/* confdefs.h.  */ 
     12555_ACEOF 
     12556cat confdefs.h >>conftest.$ac_ext 
     12557cat >>conftest.$ac_ext <<_ACEOF 
    643012558/* end confdefs.h.  */ 
    643112559#include <usc.h> 
     
    643912567} 
    644012568_ACEOF 
    6441 if ac_fn_c_try_link "$LINENO"; then : 
    6442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
    6443 $as_echo "ok" >&6; } 
    6444 else 
    6445   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
    6446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    6447 as_fn_error "failed 
    6448 See \`config.log' for more details." "$LINENO" 5; } 
    6449 fi 
    6450 rm -f core conftest.err conftest.$ac_objext \ 
    6451     conftest$ac_exeext conftest.$ac_ext 
     12569rm -f conftest.$ac_objext conftest$ac_exeext 
     12570if { (ac_try="$ac_link" 
     12571case "(($ac_try" in 
     12572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12573  *) ac_try_echo=$ac_try;; 
     12574esac 
     12575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12576  (eval "$ac_link") 2>conftest.er1 
     12577  ac_status=$? 
     12578  grep -v '^ *+' conftest.er1 >conftest.err 
     12579  rm -f conftest.er1 
     12580  cat conftest.err >&5 
     12581  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12582  (exit $ac_status); } && { 
     12583         test -z "$ac_c_werror_flag" || 
     12584         test ! -s conftest.err 
     12585       } && test -s conftest$ac_exeext && 
     12586       $as_test_x conftest$ac_exeext; then 
     12587  { echo "$as_me:$LINENO: result: ok" >&5 
     12588echo "${ECHO_T}ok" >&6; } 
     12589else 
     12590  echo "$as_me: failed program was:" >&5 
     12591sed 's/^/| /' conftest.$ac_ext >&5 
     12592 
     12593        { { echo "$as_me:$LINENO: error: failed 
     12594See \`config.log' for more details." >&5 
     12595echo "$as_me: error: failed 
     12596See \`config.log' for more details." >&2;} 
     12597   { (exit 1); exit 1; }; } 
     12598fi 
     12599 
     12600rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12601      conftest$ac_exeext conftest.$ac_ext 
    645212602 
    645312603        CFLAGS="$SAVED_CFLAGS" 
     
    646912619export IPP_LIBS=$IPP_LIBS" 
    647012620else 
    6471     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
    6472 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
     12621    { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
     12622echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
    647312623fi 
    647412624 
     
    647712627 
    647812628# Check whether --enable-ssl was given. 
    6479 if test "${enable_ssl+set}" = set; then : 
     12629if test "${enable_ssl+set}" = set; then 
    648012630  enableval=$enable_ssl; 
    648112631                if test "$enable_ssl" = "no"; then 
    648212632                 ac_no_ssl=1 
    6483                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
    6484 $as_echo "Checking if SSL support is disabled... yes" >&6; } 
     12633                 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
     12634echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
    648512635                fi 
    648612636 
    648712637else 
    648812638 
    6489                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
    6490 $as_echo "checking for OpenSSL installations.." >&6; } 
    6491  
    6492  
    6493  
    6494                 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
    6495 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
     12639                { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
     12640echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
     12641 
     12642 
     12643 
     12644                if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12645  { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     12646echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
     12647if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12648  echo $ECHO_N "(cached) $ECHO_C" >&6 
     12649fi 
     12650{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     12651echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
     12652else 
     12653  # Is the header compilable? 
     12654{ echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
     12655echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
     12656cat >conftest.$ac_ext <<_ACEOF 
     12657/* confdefs.h.  */ 
     12658_ACEOF 
     12659cat confdefs.h >>conftest.$ac_ext 
     12660cat >>conftest.$ac_ext <<_ACEOF 
     12661/* end confdefs.h.  */ 
     12662$ac_includes_default 
     12663#include <openssl/ssl.h> 
     12664_ACEOF 
     12665rm -f conftest.$ac_objext 
     12666if { (ac_try="$ac_compile" 
     12667case "(($ac_try" in 
     12668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12669  *) ac_try_echo=$ac_try;; 
     12670esac 
     12671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12672  (eval "$ac_compile") 2>conftest.er1 
     12673  ac_status=$? 
     12674  grep -v '^ *+' conftest.er1 >conftest.err 
     12675  rm -f conftest.er1 
     12676  cat conftest.err >&5 
     12677  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12678  (exit $ac_status); } && { 
     12679         test -z "$ac_c_werror_flag" || 
     12680         test ! -s conftest.err 
     12681       } && test -s conftest.$ac_objext; then 
     12682  ac_header_compiler=yes 
     12683else 
     12684  echo "$as_me: failed program was:" >&5 
     12685sed 's/^/| /' conftest.$ac_ext >&5 
     12686 
     12687        ac_header_compiler=no 
     12688fi 
     12689 
     12690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     12691{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     12692echo "${ECHO_T}$ac_header_compiler" >&6; } 
     12693 
     12694# Is the header present? 
     12695{ echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
     12696echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
     12697cat >conftest.$ac_ext <<_ACEOF 
     12698/* confdefs.h.  */ 
     12699_ACEOF 
     12700cat confdefs.h >>conftest.$ac_ext 
     12701cat >>conftest.$ac_ext <<_ACEOF 
     12702/* end confdefs.h.  */ 
     12703#include <openssl/ssl.h> 
     12704_ACEOF 
     12705if { (ac_try="$ac_cpp conftest.$ac_ext" 
     12706case "(($ac_try" in 
     12707  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12708  *) ac_try_echo=$ac_try;; 
     12709esac 
     12710eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12711  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
     12712  ac_status=$? 
     12713  grep -v '^ *+' conftest.er1 >conftest.err 
     12714  rm -f conftest.er1 
     12715  cat conftest.err >&5 
     12716  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12717  (exit $ac_status); } >/dev/null && { 
     12718         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     12719         test ! -s conftest.err 
     12720       }; then 
     12721  ac_header_preproc=yes 
     12722else 
     12723  echo "$as_me: failed program was:" >&5 
     12724sed 's/^/| /' conftest.$ac_ext >&5 
     12725 
     12726  ac_header_preproc=no 
     12727fi 
     12728 
     12729rm -f conftest.err conftest.$ac_ext 
     12730{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     12731echo "${ECHO_T}$ac_header_preproc" >&6; } 
     12732 
     12733# So?  What about this header? 
     12734case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     12735  yes:no: ) 
     12736    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     12737echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     12738    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
     12739echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
     12740    ac_header_preproc=yes 
     12741    ;; 
     12742  no:yes:* ) 
     12743    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
     12744echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
     12745    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
     12746echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
     12747    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
     12748echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
     12749    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     12750echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     12751    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
     12752echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
     12753    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
     12754echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
     12755 
     12756    ;; 
     12757esac 
     12758{ echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     12759echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
     12760if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     12761  echo $ECHO_N "(cached) $ECHO_C" >&6 
     12762else 
     12763  ac_cv_header_openssl_ssl_h=$ac_header_preproc 
     12764fi 
     12765{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     12766echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
     12767 
     12768fi 
     12769if test $ac_cv_header_openssl_ssl_h = yes; then 
    649612770  openssl_h_present=1 
    649712771fi 
    649812772 
    649912773 
    6500                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    6501 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
    6502 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
    6503   $as_echo_n "(cached) " >&6 
     12774                { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     12775echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
     12776if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
     12777  echo $ECHO_N "(cached) $ECHO_C" >&6 
    650412778else 
    650512779  ac_check_lib_save_LIBS=$LIBS 
    650612780LIBS="-lcrypto  $LIBS" 
    6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12781cat >conftest.$ac_ext <<_ACEOF 
     12782/* confdefs.h.  */ 
     12783_ACEOF 
     12784cat confdefs.h >>conftest.$ac_ext 
     12785cat >>conftest.$ac_ext <<_ACEOF 
    650812786/* end confdefs.h.  */ 
    650912787 
     
    652312801} 
    652412802_ACEOF 
    6525 if ac_fn_c_try_link "$LINENO"; then : 
     12803rm -f conftest.$ac_objext conftest$ac_exeext 
     12804if { (ac_try="$ac_link" 
     12805case "(($ac_try" in 
     12806  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12807  *) ac_try_echo=$ac_try;; 
     12808esac 
     12809eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12810  (eval "$ac_link") 2>conftest.er1 
     12811  ac_status=$? 
     12812  grep -v '^ *+' conftest.er1 >conftest.err 
     12813  rm -f conftest.er1 
     12814  cat conftest.err >&5 
     12815  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12816  (exit $ac_status); } && { 
     12817         test -z "$ac_c_werror_flag" || 
     12818         test ! -s conftest.err 
     12819       } && test -s conftest$ac_exeext && 
     12820       $as_test_x conftest$ac_exeext; then 
    652612821  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    652712822else 
    6528   ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    6529 fi 
    6530 rm -f core conftest.err conftest.$ac_objext \ 
    6531     conftest$ac_exeext conftest.$ac_ext 
     12823  echo "$as_me: failed program was:" >&5 
     12824sed 's/^/| /' conftest.$ac_ext >&5 
     12825 
     12826        ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     12827fi 
     12828 
     12829rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12830      conftest$ac_exeext conftest.$ac_ext 
    653212831LIBS=$ac_check_lib_save_LIBS 
    653312832fi 
    6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    6535 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    6536 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
     12833{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     12834echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     12835if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
    653712836  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    653812837fi 
    653912838 
    6540                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
    6541 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
    6542 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
    6543   $as_echo_n "(cached) " >&6 
     12839                { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
     12840echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
     12841if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
     12842  echo $ECHO_N "(cached) $ECHO_C" >&6 
    654412843else 
    654512844  ac_check_lib_save_LIBS=$LIBS 
    654612845LIBS="-lssl  $LIBS" 
    6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     12846cat >conftest.$ac_ext <<_ACEOF 
     12847/* confdefs.h.  */ 
     12848_ACEOF 
     12849cat confdefs.h >>conftest.$ac_ext 
     12850cat >>conftest.$ac_ext <<_ACEOF 
    654812851/* end confdefs.h.  */ 
    654912852 
     
    656312866} 
    656412867_ACEOF 
    6565 if ac_fn_c_try_link "$LINENO"; then : 
     12868rm -f conftest.$ac_objext conftest$ac_exeext 
     12869if { (ac_try="$ac_link" 
     12870case "(($ac_try" in 
     12871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     12872  *) ac_try_echo=$ac_try;; 
     12873esac 
     12874eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     12875  (eval "$ac_link") 2>conftest.er1 
     12876  ac_status=$? 
     12877  grep -v '^ *+' conftest.er1 >conftest.err 
     12878  rm -f conftest.er1 
     12879  cat conftest.err >&5 
     12880  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     12881  (exit $ac_status); } && { 
     12882         test -z "$ac_c_werror_flag" || 
     12883         test ! -s conftest.err 
     12884       } && test -s conftest$ac_exeext && 
     12885       $as_test_x conftest$ac_exeext; then 
    656612886  ac_cv_lib_ssl_SSL_library_init=yes 
    656712887else 
    6568   ac_cv_lib_ssl_SSL_library_init=no 
    6569 fi 
    6570 rm -f core conftest.err conftest.$ac_objext \ 
    6571     conftest$ac_exeext conftest.$ac_ext 
     12888  echo "$as_me: failed program was:" >&5 
     12889sed 's/^/| /' conftest.$ac_ext >&5 
     12890 
     12891        ac_cv_lib_ssl_SSL_library_init=no 
     12892fi 
     12893 
     12894rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
     12895      conftest$ac_exeext conftest.$ac_ext 
    657212896LIBS=$ac_check_lib_save_LIBS 
    657312897fi 
    6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    6575 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    6576 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
     12898{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     12899echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     12900if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
    657712901  libssl_present=1 && LIBS="$LIBS -lssl" 
    657812902fi 
    657912903 
    658012904                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    6581                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
    6582 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 
     12905                        { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
     12906echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
    658312907                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    658412908                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    6585                         $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
     12909                        cat >>confdefs.h <<\_ACEOF 
     12910#define PJ_HAS_SSL_SOCK 1 
     12911_ACEOF 
    658612912 
    658712913                else 
    6588                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    6589 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     12914                        { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     12915echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    659012916                fi 
    659112917 
     
    659612922 
    659712923 
    6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
    6599 $as_echo_n "checking if select() needs correct nfds... " >&6; } 
     12924{ echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
     12925echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
    660012926case $target in 
    6601   *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
    6602  
    6603            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6604 $as_echo "yes" >&6; } 
     12927  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12928#define PJ_SELECT_NEEDS_NFDS 1 
     12929_ACEOF 
     12930 
     12931           { echo "$as_me:$LINENO: result: yes" >&5 
     12932echo "${ECHO_T}yes" >&6; } 
    660512933        ;; 
    6606   *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
    6607  
    6608      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6609 $as_echo "no (default)" >&6; } 
    6610      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    6611 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     12934  *) cat >>confdefs.h <<\_ACEOF 
     12935#define PJ_SELECT_NEEDS_NFDS 0 
     12936_ACEOF 
     12937 
     12938     { echo "$as_me:$LINENO: result: no (default)" >&5 
     12939echo "${ECHO_T}no (default)" >&6; } 
     12940     { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     12941echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    661212942        ;; 
    661312943esac 
    661412944 
    6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
    6616 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
     12945{ echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
     12946echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
    661712947case $target in 
    6618   *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
    6619  
    6620            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6621 $as_echo "yes" >&6; } 
     12948  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12949#define PJ_THREAD_SET_STACK_SIZE 1 
     12950_ACEOF 
     12951 
     12952           { echo "$as_me:$LINENO: result: yes" >&5 
     12953echo "${ECHO_T}yes" >&6; } 
    662212954        ;; 
    6623   *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
    6624  
    6625      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6626 $as_echo "no (default)" >&6; } 
     12955  *) cat >>confdefs.h <<\_ACEOF 
     12956#define PJ_THREAD_SET_STACK_SIZE 0 
     12957_ACEOF 
     12958 
     12959     { echo "$as_me:$LINENO: result: no (default)" >&5 
     12960echo "${ECHO_T}no (default)" >&6; } 
    662712961        ;; 
    662812962esac 
    662912963 
    6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
    6631 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
     12964{ echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
     12965echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
    663212966case $target in 
    6633   *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
    6634  
    6635            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    6636 $as_echo "yes" >&6; } 
     12967  *rtems*) cat >>confdefs.h <<\_ACEOF 
     12968#define PJ_THREAD_ALLOCATE_STACK 1 
     12969_ACEOF 
     12970 
     12971           { echo "$as_me:$LINENO: result: yes" >&5 
     12972echo "${ECHO_T}yes" >&6; } 
    663712973        ;; 
    6638   *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
    6639  
    6640      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
    6641 $as_echo "no (default)" >&6; } 
     12974  *) cat >>confdefs.h <<\_ACEOF 
     12975#define PJ_THREAD_ALLOCATE_STACK 0 
     12976_ACEOF 
     12977 
     12978     { echo "$as_me:$LINENO: result: no (default)" >&5 
     12979echo "${ECHO_T}no (default)" >&6; } 
    664212980        ;; 
    664312981esac 
     
    664512983case $target in 
    664612984  *mingw* | *cygw* | *win32* | *w32* ) 
    6647         $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
     12985        cat >>confdefs.h <<\_ACEOF 
     12986#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
     12987_ACEOF 
    664812988 
    664912989        ;; 
    6650   *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
    6651  
    6652      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    6653 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     12990  *) cat >>confdefs.h <<\_ACEOF 
     12991#define PJ_BLOCKING_ERROR_VAL EAGAIN 
     12992_ACEOF 
     12993 
     12994     { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     12995echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    665412996        ;; 
    665512997esac 
     
    665712999case $target in 
    665813000  *mingw* | *cygw* | *win32* | *w32* ) 
    6659         $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
     13001        cat >>confdefs.h <<\_ACEOF 
     13002#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
     13003_ACEOF 
    666013004 
    666113005        ;; 
    6662   *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
    6663  
    6664      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    6665 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     13006  *) cat >>confdefs.h <<\_ACEOF 
     13007#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
     13008_ACEOF 
     13009 
     13010     { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     13011echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    666613012        ;; 
    666713013esac 
     
    671813064    *${as_nl}*) 
    671913065      case $ac_var in #( 
    6720       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
    6721 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
     13066      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
     13067echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
    672213068      esac 
    672313069      case $ac_var in #( 
    672413070      _ | IFS | as_nl) ;; #( 
    6725       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    6726       *) { eval $ac_var=; unset $ac_var;} ;; 
     13071      *) $as_unset $ac_var ;; 
    672713072      esac ;; 
    672813073    esac 
     
    673213077    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    673313078    *${as_nl}ac_space=\ *) 
    6734       # `set' does not quote correctly, so add quotes: double-quote 
    6735       # substitution turns \\\\ into \\, and sed turns \\ into \. 
     13079      # `set' does not quote correctly, so add quotes (double-quote 
     13080      # substitution turns \\\\ into \\, and sed turns \\ into \). 
    673613081      sed -n \ 
    673713082        "s/'/'\\\\''/g; 
     
    675613101  if test -w "$cache_file"; then 
    675713102    test "x$cache_file" != "x/dev/null" && 
    6758       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
    6759 $as_echo "$as_me: updating cache $cache_file" >&6;} 
     13103      { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
     13104echo "$as_me: updating cache $cache_file" >&6;} 
    676013105    cat confcache >$cache_file 
    676113106  else 
    6762     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
    6763 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     13107    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
     13108echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    676413109  fi 
    676513110fi 
     
    677713122  # 1. Remove the extension, and $U if already installed. 
    677813123  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    6779   ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
     13124  ac_i=`echo "$ac_i" | sed "$ac_script"` 
    678013125  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    678113126  #    will be set to the directory where LIBOBJS objects are built. 
    6782   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    6783   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
     13127  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     13128  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
    678413129done 
    678513130LIBOBJS=$ac_libobjs 
     
    678913134 
    679013135 
    6791  
    679213136: ${CONFIG_STATUS=./config.status} 
    6793 ac_write_fail=0 
    679413137ac_clean_files_save=$ac_clean_files 
    679513138ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    6796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
    6797 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    6798 as_write_fail=0 
    6799 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
     13139{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
     13140echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     13141cat >$CONFIG_STATUS <<_ACEOF 
    680013142#! $SHELL 
    680113143# Generated by $as_me. 
     
    680713149ac_cs_recheck=false 
    680813150ac_cs_silent=false 
    6809  
    681013151SHELL=\${CONFIG_SHELL-$SHELL} 
    6811 export SHELL 
    6812 _ASEOF 
    6813 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
    6814 ## -------------------- ## 
    6815 ## M4sh Initialization. ## 
    6816 ## -------------------- ## 
     13152_ACEOF 
     13153 
     13154cat >>$CONFIG_STATUS <<\_ACEOF 
     13155## --------------------- ## 
     13156## M4sh Initialization.  ## 
     13157## --------------------- ## 
    681713158 
    681813159# Be more Bourne compatible 
    681913160DUALCASE=1; export DUALCASE # for MKS sh 
    6820 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
     13161if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    682113162  emulate sh 
    682213163  NULLCMD=: 
    6823   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
     13164  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    682413165  # is contrary to our usage.  Disable this feature. 
    682513166  alias -g '${1+"$@"}'='"$@"' 
    682613167  setopt NO_GLOB_SUBST 
    682713168else 
    6828   case `(set -o) 2>/dev/null` in #( 
    6829   *posix*) : 
    6830     set -o posix ;; #( 
    6831   *) : 
    6832      ;; 
    6833 esac 
    6834 fi 
    6835  
    6836  
    6837 as_nl=' 
    6838 ' 
    6839 export as_nl 
    6840 # Printing a long string crashes Solaris 7 /usr/bin/printf. 
    6841 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
    6842 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
    6843 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
    6844 # Prefer a ksh shell builtin over an external printf program on Solaris, 
    6845 # but without wasting forks for bash or zsh. 
    6846 if test -z "$BASH_VERSION$ZSH_VERSION" \ 
    6847     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
    6848   as_echo='print -r --' 
    6849   as_echo_n='print -rn --' 
    6850 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
    6851   as_echo='printf %s\n' 
    6852   as_echo_n='printf %s' 
    6853 else 
    6854   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
    6855     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
    6856     as_echo_n='/usr/ucb/echo -n' 
    6857   else 
    6858     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
    6859     as_echo_n_body='eval 
    6860       arg=$1; 
    6861       case $arg in #( 
    6862       *"$as_nl"*) 
    6863         expr "X$arg" : "X\\(.*\\)$as_nl"; 
    6864         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
    6865       esac; 
    6866       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
    6867     ' 
    6868     export as_echo_n_body 
    6869     as_echo_n='sh -c $as_echo_n_body as_echo' 
    6870   fi 
    6871   export as_echo_body 
    6872   as_echo='sh -c $as_echo_body as_echo' 
    6873 fi 
     13169  case `(set -o) 2>/dev/null` in 
     13170  *posix*) set -o posix ;; 
     13171esac 
     13172 
     13173fi 
     13174 
     13175 
     13176 
     13177 
     13178# PATH needs CR 
     13179# Avoid depending upon Character Ranges. 
     13180as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     13181as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     13182as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     13183as_cr_digits='0123456789' 
     13184as_cr_alnum=$as_cr_Letters$as_cr_digits 
    687413185 
    687513186# The user is always right. 
    687613187if test "${PATH_SEPARATOR+set}" != set; then 
    6877   PATH_SEPARATOR=: 
    6878   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
    6879     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
    6880       PATH_SEPARATOR=';' 
    6881   } 
     13188  echo "#! /bin/sh" >conf$$.sh 
     13189  echo  "exit 0"   >>conf$$.sh 
     13190  chmod +x conf$$.sh 
     13191  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     13192    PATH_SEPARATOR=';' 
     13193  else 
     13194    PATH_SEPARATOR=: 
     13195  fi 
     13196  rm -f conf$$.sh 
     13197fi 
     13198 
     13199# Support unset when possible. 
     13200if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     13201  as_unset=unset 
     13202else 
     13203  as_unset=false 
    688213204fi 
    688313205 
     
    688813210# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    688913211# splitting by setting IFS to empty value.) 
     13212as_nl=' 
     13213' 
    689013214IFS=" ""        $as_nl" 
    689113215 
    689213216# Find who we are.  Look in the path if we contain no directory separator. 
    6893 case $0 in #(( 
     13217case $0 in 
    689413218  *[\\/]* ) as_myself=$0 ;; 
    689513219  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    689813222  IFS=$as_save_IFS 
    689913223  test -z "$as_dir" && as_dir=. 
    6900     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    6901   done 
     13224  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     13225done 
    690213226IFS=$as_save_IFS 
    690313227 
     
    691013234fi 
    691113235if test ! -f "$as_myself"; then 
    6912   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    6913   exit 1 
    6914 fi 
    6915  
    6916 # Unset variables that we do not need and which cause bugs (e.g. in 
    6917 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
    6918 # suppresses any "Segmentation fault" message there.  '((' could 
    6919 # trigger a bug in pdksh 5.2.14. 
    6920 for as_var in BASH_ENV ENV MAIL MAILPATH 
    6921 do eval test x\${$as_var+set} = xset \ 
    6922   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
     13236  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     13237  { (exit 1); exit 1; } 
     13238fi 
     13239 
     13240# Work around bugs in pre-3.0 UWIN ksh. 
     13241for as_var in ENV MAIL MAILPATH 
     13242do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    692313243done 
    692413244PS1='$ ' 
     
    692713247 
    692813248# NLS nuisances. 
    6929 LC_ALL=C 
    6930 export LC_ALL 
    6931 LANGUAGE=C 
    6932 export LANGUAGE 
    6933  
    6934 # CDPATH. 
    6935 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    6936  
    6937  
    6938 # as_fn_error ERROR [LINENO LOG_FD] 
    6939 # --------------------------------- 
    6940 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
    6941 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
    6942 # script with status $?, using 1 if that was 0. 
    6943 as_fn_error () 
    6944 { 
    6945   as_status=$?; test $as_status -eq 0 && as_status=1 
    6946   if test "$3"; then 
    6947     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
    6948     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     13249for as_var in \ 
     13250  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     13251  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     13252  LC_TELEPHONE LC_TIME 
     13253do 
     13254  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     13255    eval $as_var=C; export $as_var 
     13256  else 
     13257    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    694913258  fi 
    6950   $as_echo "$as_me: error: $1" >&2 
    6951   as_fn_exit $as_status 
    6952 } # as_fn_error 
    6953  
    6954  
    6955 # as_fn_set_status STATUS 
    6956 # ----------------------- 
    6957 # Set $? to STATUS, without forking. 
    6958 as_fn_set_status () 
    6959 { 
    6960   return $1 
    6961 } # as_fn_set_status 
    6962  
    6963 # as_fn_exit STATUS 
    6964 # ----------------- 
    6965 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
    6966 as_fn_exit () 
    6967 { 
    6968   set +e 
    6969   as_fn_set_status $1 
    6970   exit $1 
    6971 } # as_fn_exit 
    6972  
    6973 # as_fn_unset VAR 
    6974 # --------------- 
    6975 # Portably unset VAR. 
    6976 as_fn_unset () 
    6977 { 
    6978   { eval $1=; unset $1;} 
    6979 } 
    6980 as_unset=as_fn_unset 
    6981 # as_fn_append VAR VALUE 
    6982 # ---------------------- 
    6983 # Append the text in VALUE to the end of the definition contained in VAR. Take 
    6984 # advantage of any shell optimizations that allow amortized linear growth over 
    6985 # repeated appends, instead of the typical quadratic growth present in naive 
    6986 # implementations. 
    6987 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
    6988   eval 'as_fn_append () 
    6989   { 
    6990     eval $1+=\$2 
    6991   }' 
    6992 else 
    6993   as_fn_append () 
    6994   { 
    6995     eval $1=\$$1\$2 
    6996   } 
    6997 fi # as_fn_append 
    6998  
    6999 # as_fn_arith ARG... 
    7000 # ------------------ 
    7001 # Perform arithmetic evaluation on the ARGs, and store the result in the 
    7002 # global $as_val. Take advantage of shells that can avoid forks. The arguments 
    7003 # must be portable across $(()) and expr. 
    7004 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
    7005   eval 'as_fn_arith () 
    7006   { 
    7007     as_val=$(( $* )) 
    7008   }' 
    7009 else 
    7010   as_fn_arith () 
    7011   { 
    7012     as_val=`expr "$@" || test $? -eq 1` 
    7013   } 
    7014 fi # as_fn_arith 
    7015  
    7016  
     13259done 
     13260 
     13261# Required to use basename. 
    701713262if expr a : '\(a\)' >/dev/null 2>&1 && 
    701813263   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    702813273fi 
    702913274 
    7030 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    7031   as_dirname=dirname 
    7032 else 
    7033   as_dirname=false 
    7034 fi 
    7035  
     13275 
     13276# Name of the executable. 
    703613277as_me=`$as_basename -- "$0" || 
    703713278$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    703813279         X"$0" : 'X\(//\)$' \| \ 
    703913280         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    7040 $as_echo X/"$0" | 
     13281echo X/"$0" | 
    704113282    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    704213283            s//\1/ 
     
    705313294          s/.*/./; q'` 
    705413295 
    7055 # Avoid depending upon Character Ranges. 
    7056 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    7057 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    7058 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    7059 as_cr_digits='0123456789' 
    7060 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     13296# CDPATH. 
     13297$as_unset CDPATH 
     13298 
     13299 
     13300 
     13301  as_lineno_1=$LINENO 
     13302  as_lineno_2=$LINENO 
     13303  test "x$as_lineno_1" != "x$as_lineno_2" && 
     13304  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
     13305 
     13306  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     13307  # uniformly replaced by the line number.  The first 'sed' inserts a 
     13308  # line-number line after each line using $LINENO; the second 'sed' 
     13309  # does the real work.  The second script uses 'N' to pair each 
     13310  # line-number line with the line containing $LINENO, and appends 
     13311  # trailing '-' during substitution so that $LINENO is not a special 
     13312  # case at line end. 
     13313  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     13314  # scripts with optimization help from Paolo Bonzini.  Blame Lee 
     13315  # E. McMahon (1931-1989) for sed's syntax.  :-) 
     13316  sed -n ' 
     13317    p 
     13318    /[$]LINENO/= 
     13319  ' <$as_myself | 
     13320    sed ' 
     13321      s/[$]LINENO.*/&-/ 
     13322      t lineno 
     13323      b 
     13324      :lineno 
     13325      N 
     13326      :loop 
     13327      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
     13328      t loop 
     13329      s/-\n.*// 
     13330    ' >$as_me.lineno && 
     13331  chmod +x "$as_me.lineno" || 
     13332    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
     13333   { (exit 1); exit 1; }; } 
     13334 
     13335  # Don't try to exec as it changes $[0], causing all sort of problems 
     13336  # (the dirname of $[0] is not the place where we might find the 
     13337  # original and so on.  Autoconf is especially sensitive to this). 
     13338  . "./$as_me.lineno" 
     13339  # Exit status is that of the last command. 
     13340  exit 
     13341} 
     13342 
     13343 
     13344if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     13345  as_dirname=dirname 
     13346else 
     13347  as_dirname=false 
     13348fi 
    706113349 
    706213350ECHO_C= ECHO_N= ECHO_T= 
    7063 case `echo -n x` in #((((( 
     13351case `echo -n x` in 
    706413352-n*) 
    7065   case `echo 'xy\c'` in 
     13353  case `echo 'x\c'` in 
    706613354  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    7067   xy)  ECHO_C='\c';; 
    7068   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
    7069        ECHO_T=' ';; 
     13355  *)   ECHO_C='\c';; 
    707013356  esac;; 
    707113357*) 
     
    707313359esac 
    707413360 
     13361if expr a : '\(a\)' >/dev/null 2>&1 && 
     13362   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     13363  as_expr=expr 
     13364else 
     13365  as_expr=false 
     13366fi 
     13367 
    707513368rm -f conf$$ conf$$.exe conf$$.file 
    707613369if test -d conf$$.dir; then 
     
    707813371else 
    707913372  rm -f conf$$.dir 
    7080   mkdir conf$$.dir 2>/dev/null 
    7081 fi 
    7082 if (echo >conf$$.file) 2>/dev/null; then 
    7083   if ln -s conf$$.file conf$$ 2>/dev/null; then 
    7084     as_ln_s='ln -s' 
    7085     # ... but there are two gotchas: 
    7086     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    7087     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    7088     # In both cases, we have to default to `cp -p'. 
    7089     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    7090       as_ln_s='cp -p' 
    7091   elif ln conf$$.file conf$$ 2>/dev/null; then 
    7092     as_ln_s=ln 
    7093   else 
     13373  mkdir conf$$.dir 
     13374fi 
     13375echo >conf$$.file 
     13376if ln -s conf$$.file conf$$ 2>/dev/null; then 
     13377  as_ln_s='ln -s' 
     13378  # ... but there are two gotchas: 
     13379  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     13380  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     13381  # In both cases, we have to default to `cp -p'. 
     13382  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    709413383    as_ln_s='cp -p' 
    7095   fi 
     13384elif ln conf$$.file conf$$ 2>/dev/null; then 
     13385  as_ln_s=ln 
    709613386else 
    709713387  as_ln_s='cp -p' 
     
    710013390rmdir conf$$.dir 2>/dev/null 
    710113391 
    7102  
    7103 # as_fn_mkdir_p 
    7104 # ------------- 
    7105 # Create "$as_dir" as a directory, including parents if necessary. 
    7106 as_fn_mkdir_p () 
     13392if mkdir -p . 2>/dev/null; then 
     13393  as_mkdir_p=: 
     13394else 
     13395  test -d ./-p && rmdir ./-p 
     13396  as_mkdir_p=false 
     13397fi 
     13398 
     13399if test -x / >/dev/null 2>&1; then 
     13400  as_test_x='test -x' 
     13401else 
     13402  if ls -dL / >/dev/null 2>&1; then 
     13403    as_ls_L_option=L 
     13404  else 
     13405    as_ls_L_option= 
     13406  fi 
     13407  as_test_x=' 
     13408    eval sh -c '\'' 
     13409      if test -d "$1"; then 
     13410        test -d "$1/."; 
     13411      else 
     13412        case $1 in 
     13413        -*)set "./$1";; 
     13414        esac; 
     13415        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     13416        ???[sx]*):;;*)false;;esac;fi 
     13417    '\'' sh 
     13418  ' 
     13419fi 
     13420as_executable_p=$as_test_x 
     13421 
     13422# Sed expression to map a string onto a valid CPP name. 
     13423as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     13424 
     13425# Sed expression to map a string onto a valid variable name. 
     13426as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     13427 
     13428 
     13429exec 6>&1 
     13430 
     13431# Save the log message, to keep $[0] and so on meaningful, and to 
     13432# report actual input values of CONFIG_FILES etc. instead of their 
     13433# values after options handling. 
     13434ac_log=" 
     13435This file was extended by pjproject $as_me 1.x, which was 
     13436generated by GNU Autoconf 2.61.  Invocation command line was 
     13437 
     13438  CONFIG_FILES    = $CONFIG_FILES 
     13439  CONFIG_HEADERS  = $CONFIG_HEADERS 
     13440  CONFIG_LINKS    = $CONFIG_LINKS 
     13441  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     13442  $ $0 $@ 
     13443 
     13444on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     13445" 
     13446 
     13447_ACEOF 
     13448 
     13449cat >>$CONFIG_STATUS <<_ACEOF 
     13450# Files that config.status was made for. 
     13451config_files="$ac_config_files" 
     13452config_headers="$ac_config_headers" 
     13453 
     13454_ACEOF 
     13455 
     13456cat >>$CONFIG_STATUS <<\_ACEOF 
     13457ac_cs_usage="\ 
     13458\`$as_me' instantiates files from templates according to the 
     13459current configuration. 
     13460 
     13461Usage: $0 [OPTIONS] [FILE]... 
     13462 
     13463  -h, --help       print this help, then exit 
     13464  -V, --version    print version number and configuration settings, then exit 
     13465  -q, --quiet      do not print progress messages 
     13466  -d, --debug      don't remove temporary files 
     13467      --recheck    update $as_me by reconfiguring in the same conditions 
     13468  --file=FILE[:TEMPLATE] 
     13469                   instantiate the configuration file FILE 
     13470  --header=FILE[:TEMPLATE] 
     13471                   instantiate the configuration header FILE 
     13472 
     13473Configuration files: 
     13474$config_files 
     13475 
     13476Configuration headers: 
     13477$config_headers 
     13478 
     13479Report bugs to <bug-autoconf@gnu.org>." 
     13480 
     13481_ACEOF 
     13482cat >>$CONFIG_STATUS <<_ACEOF 
     13483ac_cs_version="\\ 
     13484pjproject config.status 1.x 
     13485configured by $0, generated by GNU Autoconf 2.61, 
     13486  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
     13487 
     13488Copyright (C) 2006 Free Software Foundation, Inc. 
     13489This config.status script is free software; the Free Software Foundation 
     13490gives unlimited permission to copy, distribute and modify it." 
     13491 
     13492ac_pwd='$ac_pwd' 
     13493srcdir='$srcdir' 
     13494_ACEOF 
     13495 
     13496cat >>$CONFIG_STATUS <<\_ACEOF 
     13497# If no file are specified by the user, then we need to provide default 
     13498# value.  By we need to know if files were specified by the user. 
     13499ac_need_defaults=: 
     13500while test $# != 0 
     13501do 
     13502  case $1 in 
     13503  --*=*) 
     13504    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     13505    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     13506    ac_shift=: 
     13507    ;; 
     13508  *) 
     13509    ac_option=$1 
     13510    ac_optarg=$2 
     13511    ac_shift=shift 
     13512    ;; 
     13513  esac 
     13514 
     13515  case $ac_option in 
     13516  # Handling of the options. 
     13517  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     13518    ac_cs_recheck=: ;; 
     13519  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     13520    echo "$ac_cs_version"; exit ;; 
     13521  --debug | --debu | --deb | --de | --d | -d ) 
     13522    debug=: ;; 
     13523  --file | --fil | --fi | --f ) 
     13524    $ac_shift 
     13525    CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
     13526    ac_need_defaults=false;; 
     13527  --header | --heade | --head | --hea ) 
     13528    $ac_shift 
     13529    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
     13530    ac_need_defaults=false;; 
     13531  --he | --h) 
     13532    # Conflict between --help and --header 
     13533    { echo "$as_me: error: ambiguous option: $1 
     13534Try \`$0 --help' for more information." >&2 
     13535   { (exit 1); exit 1; }; };; 
     13536  --help | --hel | -h ) 
     13537    echo "$ac_cs_usage"; exit ;; 
     13538  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     13539  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     13540    ac_cs_silent=: ;; 
     13541 
     13542  # This is an error. 
     13543  -*) { echo "$as_me: error: unrecognized option: $1 
     13544Try \`$0 --help' for more information." >&2 
     13545   { (exit 1); exit 1; }; } ;; 
     13546 
     13547  *) ac_config_targets="$ac_config_targets $1" 
     13548     ac_need_defaults=false ;; 
     13549 
     13550  esac 
     13551  shift 
     13552done 
     13553 
     13554ac_configure_extra_args= 
     13555 
     13556if $ac_cs_silent; then 
     13557  exec 6>/dev/null 
     13558  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     13559fi 
     13560 
     13561_ACEOF 
     13562cat >>$CONFIG_STATUS <<_ACEOF 
     13563if \$ac_cs_recheck; then 
     13564  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
     13565  CONFIG_SHELL=$SHELL 
     13566  export CONFIG_SHELL 
     13567  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     13568fi 
     13569 
     13570_ACEOF 
     13571cat >>$CONFIG_STATUS <<\_ACEOF 
     13572exec 5>>config.log 
    710713573{ 
    7108  
     13574  echo 
     13575  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     13576## Running $as_me. ## 
     13577_ASBOX 
     13578  echo "$ac_log" 
     13579} >&5 
     13580 
     13581_ACEOF 
     13582cat >>$CONFIG_STATUS <<_ACEOF 
     13583_ACEOF 
     13584 
     13585cat >>$CONFIG_STATUS <<\_ACEOF 
     13586 
     13587# Handling of arguments. 
     13588for ac_config_target in $ac_config_targets 
     13589do 
     13590  case $ac_config_target in 
     13591    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     13592    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     13593    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     13594    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     13595    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     13596    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     13597    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     13598    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     13599    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     13600    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     13601    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     13602    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     13603    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     13604    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     13605 
     13606  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
     13607echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
     13608   { (exit 1); exit 1; }; };; 
     13609  esac 
     13610done 
     13611 
     13612 
     13613# If the user did not use the arguments to specify the items to instantiate, 
     13614# then the envvar interface is used.  Set only those that are not. 
     13615# We use the long form for the default assignment because of an extremely 
     13616# bizarre bug on SunOS 4.1.3. 
     13617if $ac_need_defaults; then 
     13618  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     13619  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     13620fi 
     13621 
     13622# Have a temporary directory for convenience.  Make it in the build tree 
     13623# simply because there is no reason against having it here, and in addition, 
     13624# creating and moving files from /tmp can sometimes cause problems. 
     13625# Hook for its removal unless debugging. 
     13626# Note that there is a small window in which the directory will not be cleaned: 
     13627# after its creation but before its name has been assigned to `$tmp'. 
     13628$debug || 
     13629{ 
     13630  tmp= 
     13631  trap 'exit_status=$? 
     13632  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     13633' 0 
     13634  trap '{ (exit 1); exit 1; }' 1 2 13 15 
     13635} 
     13636# Create a (secure) tmp directory for tmp files. 
     13637 
     13638{ 
     13639  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     13640  test -n "$tmp" && test -d "$tmp" 
     13641}  || 
     13642{ 
     13643  tmp=./conf$$-$RANDOM 
     13644  (umask 077 && mkdir "$tmp") 
     13645} || 
     13646{ 
     13647   echo "$me: cannot create a temporary directory in ." >&2 
     13648   { (exit 1); exit 1; } 
     13649} 
     13650 
     13651# 
     13652# Set up the sed scripts for CONFIG_FILES section. 
     13653# 
     13654 
     13655# No need to generate the scripts if there are no CONFIG_FILES. 
     13656# This happens for instance when ./config.status config.h 
     13657if test -n "$CONFIG_FILES"; then 
     13658 
     13659_ACEOF 
     13660 
     13661 
     13662 
     13663ac_delim='%!_!# ' 
     13664for ac_last_try in false false false false false :; do 
     13665  cat >conf$$subs.sed <<_ACEOF 
     13666SHELL!$SHELL$ac_delim 
     13667PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
     13668PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
     13669PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
     13670PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
     13671PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
     13672PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
     13673exec_prefix!$exec_prefix$ac_delim 
     13674prefix!$prefix$ac_delim 
     13675program_transform_name!$program_transform_name$ac_delim 
     13676bindir!$bindir$ac_delim 
     13677sbindir!$sbindir$ac_delim 
     13678libexecdir!$libexecdir$ac_delim 
     13679datarootdir!$datarootdir$ac_delim 
     13680datadir!$datadir$ac_delim 
     13681sysconfdir!$sysconfdir$ac_delim 
     13682sharedstatedir!$sharedstatedir$ac_delim 
     13683localstatedir!$localstatedir$ac_delim 
     13684includedir!$includedir$ac_delim 
     13685oldincludedir!$oldincludedir$ac_delim 
     13686docdir!$docdir$ac_delim 
     13687infodir!$infodir$ac_delim 
     13688htmldir!$htmldir$ac_delim 
     13689dvidir!$dvidir$ac_delim 
     13690pdfdir!$pdfdir$ac_delim 
     13691psdir!$psdir$ac_delim 
     13692libdir!$libdir$ac_delim 
     13693localedir!$localedir$ac_delim 
     13694mandir!$mandir$ac_delim 
     13695DEFS!$DEFS$ac_delim 
     13696ECHO_C!$ECHO_C$ac_delim 
     13697ECHO_N!$ECHO_N$ac_delim 
     13698ECHO_T!$ECHO_T$ac_delim 
     13699LIBS!$LIBS$ac_delim 
     13700build_alias!$build_alias$ac_delim 
     13701host_alias!$host_alias$ac_delim 
     13702target_alias!$target_alias$ac_delim 
     13703build!$build$ac_delim 
     13704build_cpu!$build_cpu$ac_delim 
     13705build_vendor!$build_vendor$ac_delim 
     13706build_os!$build_os$ac_delim 
     13707host!$host$ac_delim 
     13708host_cpu!$host_cpu$ac_delim 
     13709host_vendor!$host_vendor$ac_delim 
     13710host_os!$host_os$ac_delim 
     13711target!$target$ac_delim 
     13712target_cpu!$target_cpu$ac_delim 
     13713target_vendor!$target_vendor$ac_delim 
     13714target_os!$target_os$ac_delim 
     13715CC!$CC$ac_delim 
     13716CFLAGS!$CFLAGS$ac_delim 
     13717LDFLAGS!$LDFLAGS$ac_delim 
     13718CPPFLAGS!$CPPFLAGS$ac_delim 
     13719ac_ct_CC!$ac_ct_CC$ac_delim 
     13720EXEEXT!$EXEEXT$ac_delim 
     13721OBJEXT!$OBJEXT$ac_delim 
     13722CXX!$CXX$ac_delim 
     13723CXXFLAGS!$CXXFLAGS$ac_delim 
     13724ac_ct_CXX!$ac_ct_CXX$ac_delim 
     13725AR!$AR$ac_delim 
     13726LD!$LD$ac_delim 
     13727LDOUT!$LDOUT$ac_delim 
     13728RANLIB!$RANLIB$ac_delim 
     13729LIBEXT!$LIBEXT$ac_delim 
     13730LIBEXT2!$LIBEXT2$ac_delim 
     13731CC_OUT!$CC_OUT$ac_delim 
     13732CC_INC!$CC_INC$ac_delim 
     13733CC_DEF!$CC_DEF$ac_delim 
     13734CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
     13735CC_CFLAGS!$CC_CFLAGS$ac_delim 
     13736ac_pjdir!$ac_pjdir$ac_delim 
     13737ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
     13738CPP!$CPP$ac_delim 
     13739GREP!$GREP$ac_delim 
     13740EGREP!$EGREP$ac_delim 
     13741ac_os_objs!$ac_os_objs$ac_delim 
     13742ac_external_speex!$ac_external_speex$ac_delim 
     13743ac_external_gsm!$ac_external_gsm$ac_delim 
     13744ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
     13745ac_external_pa!$ac_external_pa$ac_delim 
     13746ac_pa_cflags!$ac_pa_cflags$ac_delim 
     13747ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
     13748ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
     13749ac_pjmedia_video!$ac_pjmedia_video$ac_delim 
     13750ac_ios_cflags!$ac_ios_cflags$ac_delim 
     13751ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 
     13752ac_qt_cflags!$ac_qt_cflags$ac_delim 
     13753ac_no_small_filter!$ac_no_small_filter$ac_delim 
     13754ac_no_large_filter!$ac_no_large_filter$ac_delim 
     13755ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
     13756ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
     13757ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
     13758ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
     13759ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
     13760ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
     13761ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
     13762ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
     13763_ACEOF 
     13764 
     13765  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
     13766    break 
     13767  elif $ac_last_try; then 
     13768    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
     13769echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
     13770   { (exit 1); exit 1; }; } 
     13771  else 
     13772    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     13773  fi 
     13774done 
     13775 
     13776ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
     13777if test -n "$ac_eof"; then 
     13778  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
     13779  ac_eof=`expr $ac_eof + 1` 
     13780fi 
     13781 
     13782cat >>$CONFIG_STATUS <<_ACEOF 
     13783cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
     13784/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
     13785_ACEOF 
     13786sed ' 
     13787s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
     13788s/^/s,@/; s/!/@,|#_!!_#|/ 
     13789:n 
     13790t n 
     13791s/'"$ac_delim"'$/,g/; t 
     13792s/$/\\/; p 
     13793N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
     13794' >>$CONFIG_STATUS <conf$$subs.sed 
     13795rm -f conf$$subs.sed 
     13796cat >>$CONFIG_STATUS <<_ACEOF 
     13797CEOF$ac_eof 
     13798_ACEOF 
     13799 
     13800 
     13801ac_delim='%!_!# ' 
     13802for ac_last_try in false false false false false :; do 
     13803  cat >conf$$subs.sed <<_ACEOF 
     13804ac_sdl_cflags!$ac_sdl_cflags$ac_delim 
     13805ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 
     13806ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 
     13807ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 
     13808ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 
     13809ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 
     13810ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 
     13811ac_no_ssl!$ac_no_ssl$ac_delim 
     13812openssl_h_present!$openssl_h_present$ac_delim 
     13813libssl_present!$libssl_present$ac_delim 
     13814libcrypto_present!$libcrypto_present$ac_delim 
     13815ac_cross_compile!$ac_cross_compile$ac_delim 
     13816ac_linux_poll!$ac_linux_poll$ac_delim 
     13817ac_host!$ac_host$ac_delim 
     13818ac_main_obj!$ac_main_obj$ac_delim 
     13819LIBOBJS!$LIBOBJS$ac_delim 
     13820LTLIBOBJS!$LTLIBOBJS$ac_delim 
     13821_ACEOF 
     13822 
     13823  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then 
     13824    break 
     13825  elif $ac_last_try; then 
     13826    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
     13827echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
     13828   { (exit 1); exit 1; }; } 
     13829  else 
     13830    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     13831  fi 
     13832done 
     13833 
     13834ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
     13835if test -n "$ac_eof"; then 
     13836  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
     13837  ac_eof=`expr $ac_eof + 1` 
     13838fi 
     13839 
     13840cat >>$CONFIG_STATUS <<_ACEOF 
     13841cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
     13842/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
     13843_ACEOF 
     13844sed ' 
     13845s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
     13846s/^/s,@/; s/!/@,|#_!!_#|/ 
     13847:n 
     13848t n 
     13849s/'"$ac_delim"'$/,g/; t 
     13850s/$/\\/; p 
     13851N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
     13852' >>$CONFIG_STATUS <conf$$subs.sed 
     13853rm -f conf$$subs.sed 
     13854cat >>$CONFIG_STATUS <<_ACEOF 
     13855:end 
     13856s/|#_!!_#|//g 
     13857CEOF$ac_eof 
     13858_ACEOF 
     13859 
     13860 
     13861# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     13862# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     13863# trailing colons and then remove the whole line if VPATH becomes empty 
     13864# (actually we leave an empty line to preserve line numbers). 
     13865if test "x$srcdir" = x.; then 
     13866  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     13867s/:*\$(srcdir):*/:/ 
     13868s/:*\${srcdir}:*/:/ 
     13869s/:*@srcdir@:*/:/ 
     13870s/^\([^=]*=[     ]*\):*/\1/ 
     13871s/:*$// 
     13872s/^[^=]*=[       ]*$// 
     13873}' 
     13874fi 
     13875 
     13876cat >>$CONFIG_STATUS <<\_ACEOF 
     13877fi # test -n "$CONFIG_FILES" 
     13878 
     13879 
     13880for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
     13881do 
     13882  case $ac_tag in 
     13883  :[FHLC]) ac_mode=$ac_tag; continue;; 
     13884  esac 
     13885  case $ac_mode$ac_tag in 
     13886  :[FHL]*:*);; 
     13887  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
     13888echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
     13889   { (exit 1); exit 1; }; };; 
     13890  :[FH]-) ac_tag=-:-;; 
     13891  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     13892  esac 
     13893  ac_save_IFS=$IFS 
     13894  IFS=: 
     13895  set x $ac_tag 
     13896  IFS=$ac_save_IFS 
     13897  shift 
     13898  ac_file=$1 
     13899  shift 
     13900 
     13901  case $ac_mode in 
     13902  :L) ac_source=$1;; 
     13903  :[FH]) 
     13904    ac_file_inputs= 
     13905    for ac_f 
     13906    do 
     13907      case $ac_f in 
     13908      -) ac_f="$tmp/stdin";; 
     13909      *) # Look for the file first in the build tree, then in the source tree 
     13910         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     13911         # because $ac_f cannot contain `:'. 
     13912         test -f "$ac_f" || 
     13913           case $ac_f in 
     13914           [\\/$]*) false;; 
     13915           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     13916           esac || 
     13917           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
     13918echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
     13919   { (exit 1); exit 1; }; };; 
     13920      esac 
     13921      ac_file_inputs="$ac_file_inputs $ac_f" 
     13922    done 
     13923 
     13924    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     13925    # use $as_me), people would be surprised to read: 
     13926    #    /* config.h.  Generated by config.status.  */ 
     13927    configure_input="Generated from "`IFS=: 
     13928          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
     13929    if test x"$ac_file" != x-; then 
     13930      configure_input="$ac_file.  $configure_input" 
     13931      { echo "$as_me:$LINENO: creating $ac_file" >&5 
     13932echo "$as_me: creating $ac_file" >&6;} 
     13933    fi 
     13934 
     13935    case $ac_tag in 
     13936    *:-:* | *:-) cat >"$tmp/stdin";; 
     13937    esac 
     13938    ;; 
     13939  esac 
     13940 
     13941  ac_dir=`$as_dirname -- "$ac_file" || 
     13942$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     13943         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     13944         X"$ac_file" : 'X\(//\)$' \| \ 
     13945         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     13946echo X"$ac_file" | 
     13947    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     13948            s//\1/ 
     13949            q 
     13950          } 
     13951          /^X\(\/\/\)[^/].*/{ 
     13952            s//\1/ 
     13953            q 
     13954          } 
     13955          /^X\(\/\/\)$/{ 
     13956            s//\1/ 
     13957            q 
     13958          } 
     13959          /^X\(\/\).*/{ 
     13960            s//\1/ 
     13961            q 
     13962          } 
     13963          s/.*/./; q'` 
     13964  { as_dir="$ac_dir" 
    710913965  case $as_dir in #( 
    711013966  -*) as_dir=./$as_dir;; 
    711113967  esac 
    7112   test -d "$as_dir" || eval $as_mkdir_p || { 
     13968  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
    711313969    as_dirs= 
    711413970    while :; do 
    711513971      case $as_dir in #( 
    7116       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     13972      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
    711713973      *) as_qdir=$as_dir;; 
    711813974      esac 
     
    712313979         X"$as_dir" : 'X\(//\)$' \| \ 
    712413980         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    7125 $as_echo X"$as_dir" | 
     13981echo X"$as_dir" | 
    712613982    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    712713983            s//\1/ 
     
    714414000    done 
    714514001    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    7146   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
    7147  
    7148  
    7149 } # as_fn_mkdir_p 
    7150 if mkdir -p . 2>/dev/null; then 
    7151   as_mkdir_p='mkdir -p "$as_dir"' 
    7152 else 
    7153   test -d ./-p && rmdir ./-p 
    7154   as_mkdir_p=false 
    7155 fi 
    7156  
    7157 if test -x / >/dev/null 2>&1; then 
    7158   as_test_x='test -x' 
    7159 else 
    7160   if ls -dL / >/dev/null 2>&1; then 
    7161     as_ls_L_option=L 
    7162   else 
    7163     as_ls_L_option= 
    7164   fi 
    7165   as_test_x=' 
    7166     eval sh -c '\'' 
    7167       if test -d "$1"; then 
    7168         test -d "$1/."; 
    7169       else 
    7170         case $1 in #( 
    7171         -*)set "./$1";; 
    7172         esac; 
    7173         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    7174         ???[sx]*):;;*)false;;esac;fi 
    7175     '\'' sh 
    7176   ' 
    7177 fi 
    7178 as_executable_p=$as_test_x 
    7179  
    7180 # Sed expression to map a string onto a valid CPP name. 
    7181 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    7182  
    7183 # Sed expression to map a string onto a valid variable name. 
    7184 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    7185  
    7186  
    7187 exec 6>&1 
    7188 ## ----------------------------------- ## 
    7189 ## Main body of $CONFIG_STATUS script. ## 
    7190 ## ----------------------------------- ## 
    7191 _ASEOF 
    7192 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
    7193  
    7194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7195 # Save the log message, to keep $0 and so on meaningful, and to 
    7196 # report actual input values of CONFIG_FILES etc. instead of their 
    7197 # values after options handling. 
    7198 ac_log=" 
    7199 This file was extended by pjproject $as_me 1.x, which was 
    7200 generated by GNU Autoconf 2.65.  Invocation command line was 
    7201  
    7202   CONFIG_FILES    = $CONFIG_FILES 
    7203   CONFIG_HEADERS  = $CONFIG_HEADERS 
    7204   CONFIG_LINKS    = $CONFIG_LINKS 
    7205   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    7206   $ $0 $@ 
    7207  
    7208 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    7209 " 
    7210  
    7211 _ACEOF 
    7212  
    7213 case $ac_config_files in *" 
    7214 "*) set x $ac_config_files; shift; ac_config_files=$*;; 
    7215 esac 
    7216  
    7217 case $ac_config_headers in *" 
    7218 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
    7219 esac 
    7220  
    7221  
    7222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7223 # Files that config.status was made for. 
    7224 config_files="$ac_config_files" 
    7225 config_headers="$ac_config_headers" 
    7226  
    7227 _ACEOF 
    7228  
    7229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7230 ac_cs_usage="\ 
    7231 \`$as_me' instantiates files and other configuration actions 
    7232 from templates according to the current configuration.  Unless the files 
    7233 and actions are specified as TAGs, all are instantiated by default. 
    7234  
    7235 Usage: $0 [OPTION]... [TAG]... 
    7236  
    7237   -h, --help       print this help, then exit 
    7238   -V, --version    print version number and configuration settings, then exit 
    7239       --config     print configuration, then exit 
    7240   -q, --quiet, --silent 
    7241                    do not print progress messages 
    7242   -d, --debug      don't remove temporary files 
    7243       --recheck    update $as_me by reconfiguring in the same conditions 
    7244       --file=FILE[:TEMPLATE] 
    7245                    instantiate the configuration file FILE 
    7246       --header=FILE[:TEMPLATE] 
    7247                    instantiate the configuration header FILE 
    7248  
    7249 Configuration files: 
    7250 $config_files 
    7251  
    7252 Configuration headers: 
    7253 $config_headers 
    7254  
    7255 Report bugs to the package provider." 
    7256  
    7257 _ACEOF 
    7258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7259 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
    7260 ac_cs_version="\\ 
    7261 pjproject config.status 1.x 
    7262 configured by $0, generated by GNU Autoconf 2.65, 
    7263   with options \\"\$ac_cs_config\\" 
    7264  
    7265 Copyright (C) 2009 Free Software Foundation, Inc. 
    7266 This config.status script is free software; the Free Software Foundation 
    7267 gives unlimited permission to copy, distribute and modify it." 
    7268  
    7269 ac_pwd='$ac_pwd' 
    7270 srcdir='$srcdir' 
    7271 test -n "\$AWK" || AWK=awk 
    7272 _ACEOF 
    7273  
    7274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7275 # The default lists apply if the user does not specify any file. 
    7276 ac_need_defaults=: 
    7277 while test $# != 0 
    7278 do 
    7279   case $1 in 
    7280   --*=*) 
    7281     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    7282     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    7283     ac_shift=: 
    7284     ;; 
    7285   *) 
    7286     ac_option=$1 
    7287     ac_optarg=$2 
    7288     ac_shift=shift 
    7289     ;; 
    7290   esac 
    7291  
    7292   case $ac_option in 
    7293   # Handling of the options. 
    7294   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    7295     ac_cs_recheck=: ;; 
    7296   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    7297     $as_echo "$ac_cs_version"; exit ;; 
    7298   --config | --confi | --conf | --con | --co | --c ) 
    7299     $as_echo "$ac_cs_config"; exit ;; 
    7300   --debug | --debu | --deb | --de | --d | -d ) 
    7301     debug=: ;; 
    7302   --file | --fil | --fi | --f ) 
    7303     $ac_shift 
    7304     case $ac_optarg in 
    7305     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    7306     esac 
    7307     as_fn_append CONFIG_FILES " '$ac_optarg'" 
    7308     ac_need_defaults=false;; 
    7309   --header | --heade | --head | --hea ) 
    7310     $ac_shift 
    7311     case $ac_optarg in 
    7312     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    7313     esac 
    7314     as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
    7315     ac_need_defaults=false;; 
    7316   --he | --h) 
    7317     # Conflict between --help and --header 
    7318     as_fn_error "ambiguous option: \`$1' 
    7319 Try \`$0 --help' for more information.";; 
    7320   --help | --hel | -h ) 
    7321     $as_echo "$ac_cs_usage"; exit ;; 
    7322   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    7323   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    7324     ac_cs_silent=: ;; 
    7325  
    7326   # This is an error. 
    7327   -*) as_fn_error "unrecognized option: \`$1' 
    7328 Try \`$0 --help' for more information." ;; 
    7329  
    7330   *) as_fn_append ac_config_targets " $1" 
    7331      ac_need_defaults=false ;; 
    7332  
    7333   esac 
    7334   shift 
    7335 done 
    7336  
    7337 ac_configure_extra_args= 
    7338  
    7339 if $ac_cs_silent; then 
    7340   exec 6>/dev/null 
    7341   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    7342 fi 
    7343  
    7344 _ACEOF 
    7345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7346 if \$ac_cs_recheck; then 
    7347   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    7348   shift 
    7349   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
    7350   CONFIG_SHELL='$SHELL' 
    7351   export CONFIG_SHELL 
    7352   exec "\$@" 
    7353 fi 
    7354  
    7355 _ACEOF 
    7356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7357 exec 5>>config.log 
    7358 { 
    7359   echo 
    7360   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    7361 ## Running $as_me. ## 
    7362 _ASBOX 
    7363   $as_echo "$ac_log" 
    7364 } >&5 
    7365  
    7366 _ACEOF 
    7367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7368 _ACEOF 
    7369  
    7370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7371  
    7372 # Handling of arguments. 
    7373 for ac_config_target in $ac_config_targets 
    7374 do 
    7375   case $ac_config_target in 
    7376     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    7377     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    7378     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    7379     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    7380     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    7381     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    7382     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    7383     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    7384     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    7385     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    7386     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    7387     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    7388     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    7389     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    7390  
    7391   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
    7392   esac 
    7393 done 
    7394  
    7395  
    7396 # If the user did not use the arguments to specify the items to instantiate, 
    7397 # then the envvar interface is used.  Set only those that are not. 
    7398 # We use the long form for the default assignment because of an extremely 
    7399 # bizarre bug on SunOS 4.1.3. 
    7400 if $ac_need_defaults; then 
    7401   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    7402   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    7403 fi 
    7404  
    7405 # Have a temporary directory for convenience.  Make it in the build tree 
    7406 # simply because there is no reason against having it here, and in addition, 
    7407 # creating and moving files from /tmp can sometimes cause problems. 
    7408 # Hook for its removal unless debugging. 
    7409 # Note that there is a small window in which the directory will not be cleaned: 
    7410 # after its creation but before its name has been assigned to `$tmp'. 
    7411 $debug || 
    7412 { 
    7413   tmp= 
    7414   trap 'exit_status=$? 
    7415   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    7416 ' 0 
    7417   trap 'as_fn_exit 1' 1 2 13 15 
    7418 } 
    7419 # Create a (secure) tmp directory for tmp files. 
    7420  
    7421 { 
    7422   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    7423   test -n "$tmp" && test -d "$tmp" 
    7424 }  || 
    7425 { 
    7426   tmp=./conf$$-$RANDOM 
    7427   (umask 077 && mkdir "$tmp") 
    7428 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
    7429  
    7430 # Set up the scripts for CONFIG_FILES section. 
    7431 # No need to generate them if there are no CONFIG_FILES. 
    7432 # This happens for instance with `./config.status config.h'. 
    7433 if test -n "$CONFIG_FILES"; then 
    7434  
    7435  
    7436 ac_cr=`echo X | tr X '\015'` 
    7437 # On cygwin, bash can eat \r inside `` if the user requested igncr. 
    7438 # But we know of no other shell where ac_cr would be empty at this 
    7439 # point, so we can use a bashism as a fallback. 
    7440 if test "x$ac_cr" = x; then 
    7441   eval ac_cr=\$\'\\r\' 
    7442 fi 
    7443 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
    7444 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
    7445   ac_cs_awk_cr='\r' 
    7446 else 
    7447   ac_cs_awk_cr=$ac_cr 
    7448 fi 
    7449  
    7450 echo 'BEGIN {' >"$tmp/subs1.awk" && 
    7451 _ACEOF 
    7452  
    7453  
    7454 { 
    7455   echo "cat >conf$$subs.awk <<_ACEOF" && 
    7456   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
    7457   echo "_ACEOF" 
    7458 } >conf$$subs.sh || 
    7459   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7460 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
    7461 ac_delim='%!_!# ' 
    7462 for ac_last_try in false false false false false :; do 
    7463   . ./conf$$subs.sh || 
    7464     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7465  
    7466   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
    7467   if test $ac_delim_n = $ac_delim_num; then 
    7468     break 
    7469   elif $ac_last_try; then 
    7470     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
    7471   else 
    7472     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    7473   fi 
    7474 done 
    7475 rm -f conf$$subs.sh 
    7476  
    7477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7478 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
    7479 _ACEOF 
    7480 sed -n ' 
    7481 h 
    7482 s/^/S["/; s/!.*/"]=/ 
    7483 p 
    7484 g 
    7485 s/^[^!]*!// 
    7486 :repl 
    7487 t repl 
    7488 s/'"$ac_delim"'$// 
    7489 t delim 
    7490 :nl 
    7491 h 
    7492 s/\(.\{148\}\)..*/\1/ 
    7493 t more1 
    7494 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
    7495 p 
    7496 n 
    7497 b repl 
    7498 :more1 
    7499 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
    7500 p 
    7501 g 
    7502 s/.\{148\}// 
    7503 t nl 
    7504 :delim 
    7505 h 
    7506 s/\(.\{148\}\)..*/\1/ 
    7507 t more2 
    7508 s/["\\]/\\&/g; s/^/"/; s/$/"/ 
    7509 p 
    7510 b 
    7511 :more2 
    7512 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
    7513 p 
    7514 g 
    7515 s/.\{148\}// 
    7516 t delim 
    7517 ' <conf$$subs.awk | sed ' 
    7518 /^[^""]/{ 
    7519   N 
    7520   s/\n// 
    7521 } 
    7522 ' >>$CONFIG_STATUS || ac_write_fail=1 
    7523 rm -f conf$$subs.awk 
    7524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7525 _ACAWK 
    7526 cat >>"\$tmp/subs1.awk" <<_ACAWK && 
    7527   for (key in S) S_is_set[key] = 1 
    7528   FS = "" 
    7529  
    7530 } 
    7531 { 
    7532   line = $ 0 
    7533   nfields = split(line, field, "@") 
    7534   substed = 0 
    7535   len = length(field[1]) 
    7536   for (i = 2; i < nfields; i++) { 
    7537     key = field[i] 
    7538     keylen = length(key) 
    7539     if (S_is_set[key]) { 
    7540       value = S[key] 
    7541       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
    7542       len += length(value) + length(field[++i]) 
    7543       substed = 1 
    7544     } else 
    7545       len += 1 + keylen 
    7546   } 
    7547  
    7548   print line 
    7549 } 
    7550  
    7551 _ACAWK 
    7552 _ACEOF 
    7553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7554 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
    7555   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
    7556 else 
    7557   cat 
    7558 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
    7559   || as_fn_error "could not setup config files machinery" "$LINENO" 5 
    7560 _ACEOF 
    7561  
    7562 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    7563 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    7564 # trailing colons and then remove the whole line if VPATH becomes empty 
    7565 # (actually we leave an empty line to preserve line numbers). 
    7566 if test "x$srcdir" = x.; then 
    7567   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    7568 s/:*\$(srcdir):*/:/ 
    7569 s/:*\${srcdir}:*/:/ 
    7570 s/:*@srcdir@:*/:/ 
    7571 s/^\([^=]*=[     ]*\):*/\1/ 
    7572 s/:*$// 
    7573 s/^[^=]*=[       ]*$// 
    7574 }' 
    7575 fi 
    7576  
    7577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7578 fi # test -n "$CONFIG_FILES" 
    7579  
    7580 # Set up the scripts for CONFIG_HEADERS section. 
    7581 # No need to generate them if there are no CONFIG_HEADERS. 
    7582 # This happens for instance with `./config.status Makefile'. 
    7583 if test -n "$CONFIG_HEADERS"; then 
    7584 cat >"$tmp/defines.awk" <<\_ACAWK || 
    7585 BEGIN { 
    7586 _ACEOF 
    7587  
    7588 # Transform confdefs.h into an awk script `defines.awk', embedded as 
    7589 # here-document in config.status, that substitutes the proper values into 
    7590 # config.h.in to produce config.h. 
    7591  
    7592 # Create a delimiter string that does not exist in confdefs.h, to ease 
    7593 # handling of long lines. 
    7594 ac_delim='%!_!# ' 
    7595 for ac_last_try in false false :; do 
    7596   ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
    7597   if test -z "$ac_t"; then 
    7598     break 
    7599   elif $ac_last_try; then 
    7600     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
    7601   else 
    7602     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    7603   fi 
    7604 done 
    7605  
    7606 # For the awk script, D is an array of macro values keyed by name, 
    7607 # likewise P contains macro parameters if any.  Preserve backslash 
    7608 # newline sequences. 
    7609  
    7610 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    7611 sed -n ' 
    7612 s/.\{148\}/&'"$ac_delim"'/g 
    7613 t rset 
    7614 :rset 
    7615 s/^[     ]*#[    ]*define[       ][      ]*/ / 
    7616 t def 
    7617 d 
    7618 :def 
    7619 s/\\$// 
    7620 t bsnl 
    7621 s/["\\]/\\&/g 
    7622 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
    7623 D["\1"]=" \3"/p 
    7624 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
    7625 d 
    7626 :bsnl 
    7627 s/["\\]/\\&/g 
    7628 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
    7629 D["\1"]=" \3\\\\\\n"\\/p 
    7630 t cont 
    7631 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
    7632 t cont 
    7633 d 
    7634 :cont 
    7635 n 
    7636 s/.\{148\}/&'"$ac_delim"'/g 
    7637 t clear 
    7638 :clear 
    7639 s/\\$// 
    7640 t bsnlc 
    7641 s/["\\]/\\&/g; s/^/"/; s/$/"/p 
    7642 d 
    7643 :bsnlc 
    7644 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
    7645 b cont 
    7646 ' <confdefs.h | sed ' 
    7647 s/'"$ac_delim"'/"\\\ 
    7648 "/g' >>$CONFIG_STATUS || ac_write_fail=1 
    7649  
    7650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7651   for (key in D) D_is_set[key] = 1 
    7652   FS = "" 
    7653 } 
    7654 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
    7655   line = \$ 0 
    7656   split(line, arg, " ") 
    7657   if (arg[1] == "#") { 
    7658     defundef = arg[2] 
    7659     mac1 = arg[3] 
    7660   } else { 
    7661     defundef = substr(arg[1], 2) 
    7662     mac1 = arg[2] 
    7663   } 
    7664   split(mac1, mac2, "(") #) 
    7665   macro = mac2[1] 
    7666   prefix = substr(line, 1, index(line, defundef) - 1) 
    7667   if (D_is_set[macro]) { 
    7668     # Preserve the white space surrounding the "#". 
    7669     print prefix "define", macro P[macro] D[macro] 
    7670     next 
    7671   } else { 
    7672     # Replace #undef with comments.  This is necessary, for example, 
    7673     # in the case of _POSIX_SOURCE, which is predefined and required 
    7674     # on some systems where configure will not decide to define it. 
    7675     if (defundef == "undef") { 
    7676       print "/*", prefix defundef, macro, "*/" 
    7677       next 
    7678     } 
    7679   } 
    7680 } 
    7681 { print } 
    7682 _ACAWK 
    7683 _ACEOF 
    7684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    7685   as_fn_error "could not setup config headers machinery" "$LINENO" 5 
    7686 fi # test -n "$CONFIG_HEADERS" 
    7687  
    7688  
    7689 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
    7690 shift 
    7691 for ac_tag 
    7692 do 
    7693   case $ac_tag in 
    7694   :[FHLC]) ac_mode=$ac_tag; continue;; 
    7695   esac 
    7696   case $ac_mode$ac_tag in 
    7697   :[FHL]*:*);; 
    7698   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
    7699   :[FH]-) ac_tag=-:-;; 
    7700   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    7701   esac 
    7702   ac_save_IFS=$IFS 
    7703   IFS=: 
    7704   set x $ac_tag 
    7705   IFS=$ac_save_IFS 
    7706   shift 
    7707   ac_file=$1 
    7708   shift 
    7709  
    7710   case $ac_mode in 
    7711   :L) ac_source=$1;; 
    7712   :[FH]) 
    7713     ac_file_inputs= 
    7714     for ac_f 
    7715     do 
    7716       case $ac_f in 
    7717       -) ac_f="$tmp/stdin";; 
    7718       *) # Look for the file first in the build tree, then in the source tree 
    7719          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    7720          # because $ac_f cannot contain `:'. 
    7721          test -f "$ac_f" || 
    7722            case $ac_f in 
    7723            [\\/$]*) false;; 
    7724            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    7725            esac || 
    7726            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
    7727       esac 
    7728       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
    7729       as_fn_append ac_file_inputs " '$ac_f'" 
    7730     done 
    7731  
    7732     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    7733     # use $as_me), people would be surprised to read: 
    7734     #    /* config.h.  Generated by config.status.  */ 
    7735     configure_input='Generated from '` 
    7736           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
    7737         `' by configure.' 
    7738     if test x"$ac_file" != x-; then 
    7739       configure_input="$ac_file.  $configure_input" 
    7740       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
    7741 $as_echo "$as_me: creating $ac_file" >&6;} 
    7742     fi 
    7743     # Neutralize special characters interpreted by sed in replacement strings. 
    7744     case $configure_input in #( 
    7745     *\&* | *\|* | *\\* ) 
    7746        ac_sed_conf_input=`$as_echo "$configure_input" | 
    7747        sed 's/[\\\\&|]/\\\\&/g'`;; #( 
    7748     *) ac_sed_conf_input=$configure_input;; 
    7749     esac 
    7750  
    7751     case $ac_tag in 
    7752     *:-:* | *:-) cat >"$tmp/stdin" \ 
    7753       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
    7754     esac 
    7755     ;; 
    7756   esac 
    7757  
    7758   ac_dir=`$as_dirname -- "$ac_file" || 
    7759 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    7760          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    7761          X"$ac_file" : 'X\(//\)$' \| \ 
    7762          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    7763 $as_echo X"$ac_file" | 
    7764     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    7765             s//\1/ 
    7766             q 
    7767           } 
    7768           /^X\(\/\/\)[^/].*/{ 
    7769             s//\1/ 
    7770             q 
    7771           } 
    7772           /^X\(\/\/\)$/{ 
    7773             s//\1/ 
    7774             q 
    7775           } 
    7776           /^X\(\/\).*/{ 
    7777             s//\1/ 
    7778             q 
    7779           } 
    7780           s/.*/./; q'` 
    7781   as_dir="$ac_dir"; as_fn_mkdir_p 
     14002  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
     14003echo "$as_me: error: cannot create directory $as_dir" >&2;} 
     14004   { (exit 1); exit 1; }; }; } 
    778214005  ac_builddir=. 
    778314006 
     
    778514008.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    778614009*) 
    7787   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
     14010  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    778814011  # A ".." for each directory in $ac_dir_suffix. 
    7789   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
     14012  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
    779014013  case $ac_top_builddir_sub in 
    779114014  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    782314046_ACEOF 
    782414047 
    7825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     14048cat >>$CONFIG_STATUS <<\_ACEOF 
    782614049# If the template does not know about datarootdir, expand it. 
    782714050# FIXME: This hack should be removed a few years after 2.60. 
    782814051ac_datarootdir_hack=; ac_datarootdir_seen= 
    7829 ac_sed_dataroot=' 
    7830 /datarootdir/ { 
     14052 
     14053case `sed -n '/datarootdir/ { 
    783114054  p 
    783214055  q 
     
    783614059/@infodir@/p 
    783714060/@localedir@/p 
    7838 /@mandir@/p' 
    7839 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
     14061/@mandir@/p 
     14062' $ac_file_inputs` in 
    784014063*datarootdir*) ac_datarootdir_seen=yes;; 
    784114064*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    7842   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    7843 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    7844 _ACEOF 
    7845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     14065  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     14066echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     14067_ACEOF 
     14068cat >>$CONFIG_STATUS <<_ACEOF 
    784614069  ac_datarootdir_hack=' 
    784714070  s&@datadir@&$datadir&g 
     
    785014073  s&@localedir@&$localedir&g 
    785114074  s&@mandir@&$mandir&g 
    7852   s&\\\${datarootdir}&$datarootdir&g' ;; 
     14075    s&\\\${datarootdir}&$datarootdir&g' ;; 
    785314076esac 
    785414077_ACEOF 
     
    785714080# Shell code in configure.ac might set extrasub. 
    785814081# FIXME: do we really want to maintain this feature? 
    7859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    7860 ac_sed_extra="$ac_vpsub 
     14082cat >>$CONFIG_STATUS <<_ACEOF 
     14083  sed "$ac_vpsub 
    786114084$extrasub 
    786214085_ACEOF 
    7863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     14086cat >>$CONFIG_STATUS <<\_ACEOF 
    786414087:t 
    786514088/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    7866 s|@configure_input@|$ac_sed_conf_input|;t t 
     14089s&@configure_input@&$configure_input&;t t 
    786714090s&@top_builddir@&$ac_top_builddir_sub&;t t 
    7868 s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    786914091s&@srcdir@&$ac_srcdir&;t t 
    787014092s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    787514097s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    787614098$ac_datarootdir_hack 
    7877 " 
    7878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
    7879   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     14099" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
    788014100 
    788114101test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    788214102  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    788314103  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    7884   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     14104  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    788514105which seems to be undefined.  Please make sure it is defined." >&5 
    7886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     14106echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    788714107which seems to be undefined.  Please make sure it is defined." >&2;} 
    788814108 
    788914109  rm -f "$tmp/stdin" 
    789014110  case $ac_file in 
    7891   -) cat "$tmp/out" && rm -f "$tmp/out";; 
    7892   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
    7893   esac \ 
    7894   || as_fn_error "could not create $ac_file" "$LINENO" 5 
     14111  -) cat "$tmp/out"; rm -f "$tmp/out";; 
     14112  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
     14113  esac 
    789514114 ;; 
    789614115  :H) 
     
    789814117  # CONFIG_HEADER 
    789914118  # 
     14119_ACEOF 
     14120 
     14121# Transform confdefs.h into a sed script `conftest.defines', that 
     14122# substitutes the proper values into config.h.in to produce config.h. 
     14123rm -f conftest.defines conftest.tail 
     14124# First, append a space to every undef/define line, to ease matching. 
     14125echo 's/$/ /' >conftest.defines 
     14126# Then, protect against being on the right side of a sed subst, or in 
     14127# an unquoted here document, in config.status.  If some macros were 
     14128# called several times there might be several #defines for the same 
     14129# symbol, which is useless.  But do not sort them, since the last 
     14130# AC_DEFINE must be honored. 
     14131ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     14132# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
     14133# NAME is the cpp macro being defined, VALUE is the value it is being given. 
     14134# PARAMS is the parameter list in the macro definition--in most cases, it's 
     14135# just an empty string. 
     14136ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
     14137ac_dB='\\)[      (].*,\\1define\\2' 
     14138ac_dC=' ' 
     14139ac_dD=' ,' 
     14140 
     14141uniq confdefs.h | 
     14142  sed -n ' 
     14143        t rset 
     14144        :rset 
     14145        s/^[     ]*#[    ]*define[       ][      ]*// 
     14146        t ok 
     14147        d 
     14148        :ok 
     14149        s/[\\&,]/\\&/g 
     14150        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
     14151        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
     14152  ' >>conftest.defines 
     14153 
     14154# Remove the space that was appended to ease matching. 
     14155# Then replace #undef with comments.  This is necessary, for 
     14156# example, in the case of _POSIX_SOURCE, which is predefined and required 
     14157# on some systems where configure will not decide to define it. 
     14158# (The regexp can be short, since the line contains either #define or #undef.) 
     14159echo 's/ $// 
     14160s,^[     #]*u.*,/* & */,' >>conftest.defines 
     14161 
     14162# Break up conftest.defines: 
     14163ac_max_sed_lines=50 
     14164 
     14165# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
     14166# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
     14167# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
     14168# et cetera. 
     14169ac_in='$ac_file_inputs' 
     14170ac_out='"$tmp/out1"' 
     14171ac_nxt='"$tmp/out2"' 
     14172 
     14173while : 
     14174do 
     14175  # Write a here document: 
     14176    cat >>$CONFIG_STATUS <<_ACEOF 
     14177    # First, check the format of the line: 
     14178    cat >"\$tmp/defines.sed" <<\\CEOF 
     14179/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
     14180/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
     14181b 
     14182:def 
     14183_ACEOF 
     14184  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
     14185  echo 'CEOF 
     14186    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
     14187  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
     14188  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
     14189  grep . conftest.tail >/dev/null || break 
     14190  rm -f conftest.defines 
     14191  mv conftest.tail conftest.defines 
     14192done 
     14193rm -f conftest.defines conftest.tail 
     14194 
     14195echo "ac_result=$ac_in" >>$CONFIG_STATUS 
     14196cat >>$CONFIG_STATUS <<\_ACEOF 
    790014197  if test x"$ac_file" != x-; then 
    7901     { 
    7902       $as_echo "/* $configure_input  */" \ 
    7903       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
    7904     } >"$tmp/config.h" \ 
    7905       || as_fn_error "could not create $ac_file" "$LINENO" 5 
    7906     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
    7907       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
    7908 $as_echo "$as_me: $ac_file is unchanged" >&6;} 
     14198    echo "/* $configure_input  */" >"$tmp/config.h" 
     14199    cat "$ac_result" >>"$tmp/config.h" 
     14200    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
     14201      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
     14202echo "$as_me: $ac_file is unchanged" >&6;} 
    790914203    else 
    7910       rm -f "$ac_file" 
    7911       mv "$tmp/config.h" "$ac_file" \ 
    7912         || as_fn_error "could not create $ac_file" "$LINENO" 5 
     14204      rm -f $ac_file 
     14205      mv "$tmp/config.h" $ac_file 
    791314206    fi 
    791414207  else 
    7915     $as_echo "/* $configure_input  */" \ 
    7916       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
    7917       || as_fn_error "could not create -" "$LINENO" 5 
     14208    echo "/* $configure_input  */" 
     14209    cat "$ac_result" 
    791814210  fi 
     14211  rm -f "$tmp/out12" 
    791914212 ;; 
    792014213 
     
    792514218 
    792614219 
    7927 as_fn_exit 0 
    7928 _ACEOF 
     14220{ (exit 0); exit 0; } 
     14221_ACEOF 
     14222chmod +x $CONFIG_STATUS 
    792914223ac_clean_files=$ac_clean_files_save 
    7930  
    7931 test $ac_write_fail = 0 || 
    7932   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    793314224 
    793414225 
     
    795114242  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    795214243  # would make configure fail if this is the last instruction. 
    7953   $ac_cs_success || as_fn_exit $? 
    7954 fi 
    7955 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
    7956   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
    7957 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
    7958 fi 
    7959  
    7960  
    7961  
    7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 
     14244  $ac_cs_success || { (exit 1); exit 1; } 
     14245fi 
     14246 
     14247 
     14248 
     14249{ echo "$as_me:$LINENO: result: 
    796314250 
    796414251Configurations 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. 
     
    797014257The next step now is to run 'make dep' and 'make'. 
    797114258" >&5 
    7972 $as_echo " 
     14259echo "${ECHO_T} 
    797314260 
    797414261Configurations 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

    r3393 r3395  
    582582fi 
    583583 
     584AC_SUBST(ac_pjmedia_video) 
     585if test "$enable_video" = "no"; then 
     586  true; 
     587else 
     588 case $target in 
     589  arm-apple-darwin*) 
     590        ac_pjmedia_video=iphone_os 
     591        AC_SUBST(ac_ios_cflags) 
     592        ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 
     593        LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
     594        AC_MSG_RESULT([Checking video device backend... AVFoundation]) 
     595        ;; 
     596  *darwin*) 
     597        ac_pjmedia_video=mac_os 
     598        AC_SUBST(ac_pjmedia_video_has_qt) 
     599        AC_SUBST(ac_qt_cflags) 
     600        SAVED_LIBS="$LIBS" 
     601        LIBS="-framework QTKit" 
     602        AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [])],[ac_pjmedia_video_has_qt=yes],[ac_pjmedia_video_has_qt=no]) 
     603        LIBS="$SAVED_LIBS" 
     604        if test "$ac_pjmedia_video_has_qt" = "yes"; then 
     605          ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 
     606          LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore" 
     607          AC_MSG_RESULT([Checking if QTKit framework is available... yes]) 
     608        else 
     609          AC_MSG_RESULT([Checking if QTKit framework is available... no]) 
     610        fi 
     611        ;; 
     612 esac 
     613fi 
     614 
    584615AC_ARG_ENABLE(ext_sound, 
    585616              AC_HELP_STRING([--enable-ext-sound], 
  • pjproject/branches/projects/2.0-dev/build/rules.mak

    r3175 r3395  
    4040# FULL_SRCS is ../src/app/file1.c ../src/app/file1.S 
    4141# 
    42 FULL_SRCS = $(foreach file, $($(APP)_OBJS), $(SRCDIR)/$(basename $(file)).c $(SRCDIR)/$(basename $(file)).cpp $(SRCDIR)/$(basename $(file)).S) 
     42FULL_SRCS = $(foreach file, $($(APP)_OBJS), $(SRCDIR)/$(basename $(file)).m $(SRCDIR)/$(basename $(file)).c $(SRCDIR)/$(basename $(file)).cpp $(SRCDIR)/$(basename $(file)).S) 
    4343 
    4444# 
     
    116116        cp $(OBJDIR)/$(app).ko ../lib 
    117117 
     118$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.m 
     119        $(CC) $($(APP)_CFLAGS) \ 
     120                $(CC_OUT)$(subst /,$(HOST_PSEP),$@) \ 
     121                $(subst /,$(HOST_PSEP),$<)  
     122 
    118123$(OBJDIR)/%$(OBJEXT): $(SRCDIR)/%.c 
    119124        $(CC) $($(APP)_CFLAGS) \ 
  • pjproject/branches/projects/2.0-dev/configure-iphone

    r3343 r3395  
    7878       if test -e ${gccpath}; then 
    7979          export CC="${gccpath}" 
    80           break 
     80#          break 
    8181       fi 
    8282    done 
  • pjproject/branches/projects/2.0-dev/pjmedia/build/Makefile

    r3392 r3395  
    8787# 
    8888export PJMEDIA_VIDEODEV_SRCDIR = ../src/pjmedia-videodev 
    89 export PJMEDIA_VIDEODEV_OBJS +=  videodev.o ffmpeg_dev.o sdl_dev.o colorbar_dev.o \ 
     89export PJMEDIA_VIDEODEV_OBJS +=  videodev.o ffmpeg_dev.o colorbar_dev.o \ 
    9090                                 v4l2_dev.o 
    9191export PJMEDIA_VIDEODEV_CFLAGS += $(_CFLAGS) 
     
    120120export PJMEDIA_TEST_SRCDIR = ../src/test 
    121121export PJMEDIA_TEST_OBJS += codec_vectors.o jbuf_test.o main.o mips_test.o \ 
    122                             vid_dev_test.o vid_codec_test.o rtp_test.o test.o 
     122                            vid_codec_test.o rtp_test.o test.o 
    123123export PJMEDIA_TEST_OBJS += sdp_neg_test.o  
    124124export PJMEDIA_TEST_CFLAGS += $(_CFLAGS) 
  • pjproject/branches/projects/2.0-dev/pjmedia/build/os-auto.mak.in

    r3392 r3395  
    11# @configure_input@ 
     2 
     3# Define the desired video device backend 
     4# Valid values are: 
     5#   - mac_os 
     6#   - iphone_os 
     7AC_PJMEDIA_VIDEO = @ac_pjmedia_video@ 
    28 
    39# SDL flags 
     
    1319V4L2_LDFLAGS = @ac_v4l2_ldflags@ 
    1420 
     21# QT 
     22AC_PJMEDIA_VIDEO_HAS_QT = @ac_pjmedia_video_has_qt@ 
     23QT_CFLAGS = @ac_qt_cflags@ 
     24 
     25# iOS 
     26IOS_CFLAGS = @ac_ios_cflags@ 
     27 
    1528# PJMEDIA features exclusion 
    1629export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_speex_aec@ \ 
    17                  $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) 
     30                 $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(QT_CFLAGS) \ 
     31                 $(IOS_CFLAGS) 
    1832export LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) 
    1933 
     
    133147endif 
    134148 
     149# 
     150# QT video device 
     151# 
     152ifeq ($(AC_PJMEDIA_VIDEO_HAS_QT),yes) 
     153export PJMEDIA_VIDEODEV_OBJS += qt_dev.o 
     154endif 
    135155 
     156# 
     157# iOS video device 
     158# 
     159ifeq ($(AC_PJMEDIA_VIDEO),iphone_os) 
     160export PJMEDIA_VIDEODEV_OBJS += ios_dev.o 
     161endif 
     162 
     163# 
     164# Determine whether we should compile the obj-c version of a particular source code 
     165# 
     166ifeq ($(AC_PJMEDIA_VIDEO),mac_os) 
     167# Mac OS specific, use obj-c 
     168export PJMEDIA_VIDEODEV_OBJS += sdl_dev_m.o 
     169export PJMEDIA_TEST_OBJS += vid_dev_test_m.o 
     170else 
     171# Other platforms, compile .c 
     172export PJMEDIA_VIDEODEV_OBJS += sdl_dev.o 
     173export PJMEDIA_TEST_OBJS += vid_dev_test.o 
     174endif 
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia-videodev/config.h

    r3392 r3395  
    4949#ifndef PJMEDIA_VIDEO_DEV_HAS_SDL 
    5050#   define PJMEDIA_VIDEO_DEV_HAS_SDL            0 
     51#endif 
     52 
     53 
     54/** 
     55 * This setting controls whether QT support should be included. 
     56 * 
     57 * Default: 0 (or detected by configure) 
     58 */ 
     59#ifndef PJMEDIA_VIDEO_DEV_HAS_QT 
     60#   define PJMEDIA_VIDEO_DEV_HAS_QT             0 
     61#endif 
     62 
     63 
     64/** 
     65 * This setting controls whether IOS support should be included. 
     66 * 
     67 * Default: 0 (or detected by configure) 
     68 */ 
     69#ifndef PJMEDIA_VIDEO_DEV_HAS_IOS 
     70#   define PJMEDIA_VIDEO_DEV_HAS_IOS            0 
    5171#endif 
    5272 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r3394 r3395  
    2525#if PJMEDIA_VIDEO_DEV_HAS_SDL 
    2626 
     27#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
     28#   include <Foundation/NSAutoreleasePool.h> 
     29#endif 
     30 
    2731#include <SDL.h> 
    2832 
     
    324328    pjmedia_video_format_detail *vfd; 
    325329 
     330#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
     331    NSAutoreleasePool *apool = [[NSAutoreleasePool alloc] init]; 
     332#endif 
     333  
    326334    vfi = pjmedia_get_video_format_info(pjmedia_video_format_mgr_instance(), 
    327335                                        strm->param.fmt.id); 
    328336    if (!vfi || !sdl_info) { 
    329337        strm->status = PJMEDIA_EVID_BADFORMAT; 
    330         return strm->status; 
     338        goto on_return; 
    331339    } 
    332340 
     
    335343    if (vfi->apply_fmt(vfi, &strm->vafp) != PJ_SUCCESS) { 
    336344        strm->status = PJMEDIA_EVID_BADFORMAT; 
    337         return strm->status; 
     345        goto on_return; 
    338346    } 
    339347 
     
    342350        PJ_LOG(4, (THIS_FILE, "Cannot initialize SDL")); 
    343351        strm->status = PJMEDIA_EVID_INIT; 
    344         return strm->status; 
     352        goto on_return; 
    345353    } 
    346354 
     
    355363    if (strm->screen == NULL) { 
    356364        strm->status = PJMEDIA_EVID_SYSERR; 
    357         return strm->status; 
     365        goto on_return; 
    358366    } 
    359367    SDL_WM_SetCaption("pjmedia-SDL video", NULL); 
     
    369377        if (strm->surf == NULL) { 
    370378            strm->status = PJMEDIA_EVID_SYSERR; 
    371             return strm->status; 
     379            goto on_return; 
    372380        } 
    373381    } else if (vfi->color_model == PJMEDIA_COLOR_MODEL_YUV) { 
     
    377385        if (strm->overlay == NULL) { 
    378386            strm->status = PJMEDIA_EVID_SYSERR; 
    379             return strm->status; 
     387            goto on_return; 
    380388        } 
    381389    } 
     
    390398            switch(sevent.type) { 
    391399                case SDL_USEREVENT: 
    392                     return 0; 
     400                    goto on_return; 
    393401                case SDL_MOUSEBUTTONDOWN: 
    394402                    pevent.event_type = PJMEDIA_EVENT_MOUSEBUTTONDOWN; 
     
    449457                        /* Destroy the stream */ 
    450458                        sdl_stream_destroy(&strm->base); 
    451                         return 0; 
     459                        goto on_return; 
    452460                    } 
    453461 
     
    461469                    SDL_Quit(); 
    462470                    strm->screen = NULL; 
    463                     return 0; 
     471                    goto on_return; 
    464472                default: 
    465473                    break; 
     
    469477    } 
    470478 
    471     return 0; 
     479on_return: 
     480#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
     481    [apool release]; 
     482#endif 
     483     
     484    return strm->status; 
    472485} 
    473486 
     
    599612{ 
    600613    struct sdl_stream *stream = (struct sdl_stream*)strm; 
    601  
     614    pj_status_t status = PJ_SUCCESS; 
     615#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
     616    NSAutoreleasePool *apool = [[NSAutoreleasePool alloc] init]; 
     617#endif 
     618   
    602619    if (!stream->is_running) { 
    603620        stream->render_exited = PJ_TRUE; 
    604         return PJ_SUCCESS; 
     621        goto on_return; 
    605622    } 
    606623 
     
    609626            if (SDL_LockSurface(stream->surf) < 0) { 
    610627                PJ_LOG(3, (THIS_FILE, "Unable to lock SDL surface")); 
    611                 return PJMEDIA_EVID_NOTREADY; 
     628                status = PJMEDIA_EVID_NOTREADY; 
     629                goto on_return; 
    612630            } 
    613631        } 
     
    625643        if (SDL_LockYUVOverlay(stream->overlay) < 0) { 
    626644            PJ_LOG(3, (THIS_FILE, "Unable to lock SDL overlay")); 
    627             return PJMEDIA_EVID_NOTREADY; 
     645            status = PJMEDIA_EVID_NOTREADY; 
     646            goto on_return; 
    628647        } 
    629648 
     
    639658    } 
    640659 
    641     return PJ_SUCCESS; 
     660on_return: 
     661#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
     662    [apool release]; 
     663#endif 
     664     
     665    return status; 
    642666} 
    643667 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/videodev.c

    r3392 r3395  
    7979#endif 
    8080 
     81#if PJMEDIA_VIDEO_DEV_HAS_QT 
     82pjmedia_vid_dev_factory* pjmedia_qt_factory(pj_pool_factory *pf); 
     83#endif 
     84 
     85#if PJMEDIA_VIDEO_DEV_HAS_IOS 
     86pjmedia_vid_dev_factory* pjmedia_ios_factory(pj_pool_factory *pf); 
     87#endif 
     88 
    8189#define MAX_DRIVERS     16 
    8290#define MAX_DEVS        64 
     
    327335#if PJMEDIA_VIDEO_DEV_HAS_V4L2 
    328336    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_v4l2_factory; 
     337#endif 
     338#if PJMEDIA_VIDEO_DEV_HAS_QT 
     339    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_qt_factory; 
     340#endif 
     341#if PJMEDIA_VIDEO_DEV_HAS_IOS 
     342    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_ios_factory; 
    329343#endif 
    330344#if PJMEDIA_VIDEO_DEV_HAS_DSHOW 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/test/test.c

    r3392 r3395  
    4848    int rc = 0; 
    4949    pj_caching_pool caching_pool; 
     50    pj_pool_t *pool; 
    5051 
    5152    pj_init(); 
    5253    pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); 
    53  
     54    pool = pj_pool_create(&caching_pool.factory, "test", 1000, 512, NULL); 
     55     
    5456    pj_log_set_decor(PJ_LOG_HAS_NEWLINE); 
    5557    pj_log_set_level(3); 
    5658 
    5759    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); 
    5864 
    5965#if HAS_VID_DEV_TEST 
     
    9096    } 
    9197 
     98    pjmedia_video_format_mgr_destroy(pjmedia_video_format_mgr_instance()); 
     99    pjmedia_converter_mgr_destroy(pjmedia_converter_mgr_instance()); 
     100    pjmedia_vid_codec_mgr_destroy(pjmedia_vid_codec_mgr_instance()); 
     101     
     102    pj_pool_release(pool); 
    92103    pj_caching_pool_destroy(&caching_pool); 
    93104 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/test/vid_dev_test.c

    r3392 r3395  
    2424#include <pjmedia_videodev.h> 
    2525 
     26#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
     27#    include "TargetConditionals.h" 
     28#    if !TARGET_OS_IPHONE 
     29#       define VID_DEV_TEST_MAC_OS 1 
     30#    endif 
     31#endif 
     32 
     33#if VID_DEV_TEST_MAC_OS 
     34#   include <Foundation/NSAutoreleasePool.h> 
     35#   include <AppKit/NSApplication.h> 
     36#endif 
     37 
    2638#define THIS_FILE "vid_dev_test.c" 
    2739 
     
    387399    } 
    388400 
     401#if VID_DEV_TEST_MAC_OS 
     402    CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); 
     403#endif 
     404     
    389405    pj_thread_sleep(150000); 
    390406 
     
    473489    } 
    474490 
     491#if VID_DEV_TEST_MAC_OS 
     492    CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); 
     493#endif 
     494     
    475495    /* Sleep while the webcam is being displayed... */ 
    476496    pj_thread_sleep(20000); 
     
    492512    pj_status_t status; 
    493513 
     514#if VID_DEV_TEST_MAC_OS 
     515    NSAutoreleasePool *apool = [[NSAutoreleasePool alloc] init]; 
     516     
     517    [NSApplication sharedApplication]; 
     518#endif 
     519     
    494520    PJ_LOG(3, (THIS_FILE, "Video device tests..")); 
    495521 
     
    524550    pj_pool_release(pool); 
    525551 
     552#if VID_DEV_TEST_MAC_OS 
     553    [apool release]; 
     554#endif 
     555     
    526556    return rc; 
    527557} 
Note: See TracChangeset for help on using the changeset viewer.