Changeset 3058


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

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

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

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3057 r3058  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.62 for pjproject 1.0. 
     3# Generated by GNU Autoconf 2.64 for pjproject 1.0. 
    44# 
    55# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
     6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 
     7# Foundation, Inc. 
     8# 
    79# This configure script is free software; the Free Software Foundation 
    810# gives unlimited permission to copy, distribute and modify it. 
    9 ## --------------------- ## 
    10 ## M4sh Initialization.  ## 
    11 ## --------------------- ## 
     11## -------------------- ## 
     12## M4sh Initialization. ## 
     13## -------------------- ## 
    1214 
    1315# Be more Bourne compatible 
    1416DUALCASE=1; export DUALCASE # for MKS sh 
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    1618  emulate sh 
    1719  NULLCMD=: 
     
    2123  setopt NO_GLOB_SUBST 
    2224else 
    23   case `(set -o) 2>/dev/null` in 
    24   *posix*) set -o posix ;; 
     25  case `(set -o) 2>/dev/null` in #( 
     26  *posix*) : 
     27    set -o posix ;; #( 
     28  *) : 
     29     ;; 
    2530esac 
    26  
    27 fi 
    28  
    29  
    30  
    31  
    32 # PATH needs CR 
    33 # Avoid depending upon Character Ranges. 
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    37 as_cr_digits='0123456789' 
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     31fi 
     32 
    3933 
    4034as_nl=' 
     
    4539as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
    4640as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     41# Prefer a ksh shell builtin over an external printf program on Solaris, 
     42# but without wasting forks for bash or zsh. 
     43if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     45  as_echo='print -r --' 
     46  as_echo_n='print -rn --' 
     47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
    4848  as_echo='printf %s\n' 
    4949  as_echo_n='printf %s' 
     
    5656    as_echo_n_body='eval 
    5757      arg=$1; 
    58       case $arg in 
     58      case $arg in #( 
    5959      *"$as_nl"*) 
    6060        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     
    7979fi 
    8080 
    81 # Support unset when possible. 
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    83   as_unset=unset 
    84 else 
    85   as_unset=false 
    86 fi 
    87  
    8881 
    8982# IFS 
     
    9588 
    9689# Find who we are.  Look in the path if we contain no directory separator. 
    97 case $0 in 
     90case $0 in #(( 
    9891  *[\\/]* ) as_myself=$0 ;; 
    9992  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    10295  IFS=$as_save_IFS 
    10396  test -z "$as_dir" && as_dir=. 
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    105 done 
     97    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     98  done 
    10699IFS=$as_save_IFS 
    107100 
     
    115108if test ! -f "$as_myself"; then 
    116109  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    117   { (exit 1); exit 1; } 
    118 fi 
    119  
    120 # Work around bugs in pre-3.0 UWIN ksh. 
    121 for as_var in ENV MAIL MAILPATH 
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     110  exit 1 
     111fi 
     112 
     113# Unset variables that we do not need and which cause bugs (e.g. in 
     114# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     115# suppresses any "Segmentation fault" message there.  '((' could 
     116# trigger a bug in pdksh 5.2.14. 
     117for as_var in BASH_ENV ENV MAIL MAILPATH 
     118do eval test x\${$as_var+set} = xset \ 
     119  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    123120done 
    124121PS1='$ ' 
     
    132129export LANGUAGE 
    133130 
    134 # Required to use basename. 
     131# CDPATH. 
     132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     133 
     134if test "x$CONFIG_SHELL" = x; then 
     135  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     136  emulate sh 
     137  NULLCMD=: 
     138  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
     139  # is contrary to our usage.  Disable this feature. 
     140  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     141  setopt NO_GLOB_SUBST 
     142else 
     143  case \`(set -o) 2>/dev/null\` in #( 
     144  *posix*) : 
     145    set -o posix ;; #( 
     146  *) : 
     147     ;; 
     148esac 
     149fi 
     150" 
     151  as_required="as_fn_return () { (exit \$1); } 
     152as_fn_success () { as_fn_return 0; } 
     153as_fn_failure () { as_fn_return 1; } 
     154as_fn_ret_success () { return 0; } 
     155as_fn_ret_failure () { return 1; } 
     156 
     157exitcode=0 
     158as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
     159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
     160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
     161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
     162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
     163 
     164else 
     165  exitcode=1; echo positional parameters were not saved. 
     166fi 
     167test x\$exitcode = x0 || exit 1" 
     168  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
     169  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     170  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
     171  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
     172test \$(( 1 + 1 )) = 2 || exit 1" 
     173  if (eval "$as_required") 2>/dev/null; then : 
     174  as_have_required=yes 
     175else 
     176  as_have_required=no 
     177fi 
     178  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
     179 
     180else 
     181  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     182as_found=false 
     183for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     184do 
     185  IFS=$as_save_IFS 
     186  test -z "$as_dir" && as_dir=. 
     187  as_found=: 
     188  case $as_dir in #( 
     189         /*) 
     190           for as_base in sh bash ksh sh5; do 
     191             # Try only shells that exist, to save several forks. 
     192             as_shell=$as_dir/$as_base 
     193             if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     194                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     195  CONFIG_SHELL=$as_shell as_have_required=yes 
     196                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     197  break 2 
     198fi 
     199fi 
     200           done;; 
     201       esac 
     202  as_found=false 
     203done 
     204$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
     205              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
     206  CONFIG_SHELL=$SHELL as_have_required=yes 
     207fi; } 
     208IFS=$as_save_IFS 
     209 
     210 
     211      if test "x$CONFIG_SHELL" != x; then : 
     212  # We cannot yet assume a decent shell, so we have to provide a 
     213        # neutralization value for shells without unset; and this also 
     214        # works around shells that cannot unset nonexistent variables. 
     215        BASH_ENV=/dev/null 
     216        ENV=/dev/null 
     217        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     218        export CONFIG_SHELL 
     219        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     220fi 
     221 
     222    if test x$as_have_required = xno; then : 
     223  $as_echo "$0: This script requires a shell more modern than all" 
     224  $as_echo "$0: the shells that I found on your system." 
     225  if test x${ZSH_VERSION+set} = xset ; then 
     226    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
     227    $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
     228  else 
     229    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
     230$0: including any error possibly output before this 
     231$0: message. Then install a modern shell, or manually run 
     232$0: the script under such a shell if you do have one." 
     233  fi 
     234  exit 1 
     235fi 
     236fi 
     237fi 
     238SHELL=${CONFIG_SHELL-/bin/sh} 
     239export SHELL 
     240# Unset more variables known to interfere with behavior of common tools. 
     241CLICOLOR_FORCE= GREP_OPTIONS= 
     242unset CLICOLOR_FORCE GREP_OPTIONS 
     243 
     244## --------------------- ## 
     245## M4sh Shell Functions. ## 
     246## --------------------- ## 
     247# as_fn_unset VAR 
     248# --------------- 
     249# Portably unset VAR. 
     250as_fn_unset () 
     251{ 
     252  { eval $1=; unset $1;} 
     253} 
     254as_unset=as_fn_unset 
     255 
     256# as_fn_set_status STATUS 
     257# ----------------------- 
     258# Set $? to STATUS, without forking. 
     259as_fn_set_status () 
     260{ 
     261  return $1 
     262} # as_fn_set_status 
     263 
     264# as_fn_exit STATUS 
     265# ----------------- 
     266# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     267as_fn_exit () 
     268{ 
     269  set +e 
     270  as_fn_set_status $1 
     271  exit $1 
     272} # as_fn_exit 
     273 
     274# as_fn_mkdir_p 
     275# ------------- 
     276# Create "$as_dir" as a directory, including parents if necessary. 
     277as_fn_mkdir_p () 
     278{ 
     279 
     280  case $as_dir in #( 
     281  -*) as_dir=./$as_dir;; 
     282  esac 
     283  test -d "$as_dir" || eval $as_mkdir_p || { 
     284    as_dirs= 
     285    while :; do 
     286      case $as_dir in #( 
     287      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     288      *) as_qdir=$as_dir;; 
     289      esac 
     290      as_dirs="'$as_qdir' $as_dirs" 
     291      as_dir=`$as_dirname -- "$as_dir" || 
     292$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     293         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     294         X"$as_dir" : 'X\(//\)$' \| \ 
     295         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     296$as_echo X"$as_dir" | 
     297    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     298            s//\1/ 
     299            q 
     300          } 
     301          /^X\(\/\/\)[^/].*/{ 
     302            s//\1/ 
     303            q 
     304          } 
     305          /^X\(\/\/\)$/{ 
     306            s//\1/ 
     307            q 
     308          } 
     309          /^X\(\/\).*/{ 
     310            s//\1/ 
     311            q 
     312          } 
     313          s/.*/./; q'` 
     314      test -d "$as_dir" && break 
     315    done 
     316    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     317  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     318 
     319 
     320} # as_fn_mkdir_p 
     321# as_fn_append VAR VALUE 
     322# ---------------------- 
     323# Append the text in VALUE to the end of the definition contained in VAR. Take 
     324# advantage of any shell optimizations that allow amortized linear growth over 
     325# repeated appends, instead of the typical quadratic growth present in naive 
     326# implementations. 
     327if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     328  eval 'as_fn_append () 
     329  { 
     330    eval $1+=\$2 
     331  }' 
     332else 
     333  as_fn_append () 
     334  { 
     335    eval $1=\$$1\$2 
     336  } 
     337fi # as_fn_append 
     338 
     339# as_fn_arith ARG... 
     340# ------------------ 
     341# Perform arithmetic evaluation on the ARGs, and store the result in the 
     342# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     343# must be portable across $(()) and expr. 
     344if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     345  eval 'as_fn_arith () 
     346  { 
     347    as_val=$(( $* )) 
     348  }' 
     349else 
     350  as_fn_arith () 
     351  { 
     352    as_val=`expr "$@" || test $? -eq 1` 
     353  } 
     354fi # as_fn_arith 
     355 
     356 
     357# as_fn_error ERROR [LINENO LOG_FD] 
     358# --------------------------------- 
     359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     361# script with status $?, using 1 if that was 0. 
     362as_fn_error () 
     363{ 
     364  as_status=$?; test $as_status -eq 0 && as_status=1 
     365  if test "$3"; then 
     366    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     367    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     368  fi 
     369  $as_echo "$as_me: error: $1" >&2 
     370  as_fn_exit $as_status 
     371} # as_fn_error 
     372 
    135373if expr a : '\(a\)' >/dev/null 2>&1 && 
    136374   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    146384fi 
    147385 
    148  
    149 # Name of the executable. 
     386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     387  as_dirname=dirname 
     388else 
     389  as_dirname=false 
     390fi 
     391 
    150392as_me=`$as_basename -- "$0" || 
    151393$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     
    167409          s/.*/./; q'` 
    168410 
    169 # CDPATH. 
    170 $as_unset CDPATH 
    171  
    172  
    173 if test "x$CONFIG_SHELL" = x; then 
    174   if (eval ":") 2>/dev/null; then 
    175   as_have_required=yes 
    176 else 
    177   as_have_required=no 
    178 fi 
    179  
    180   if test $as_have_required = yes &&     (eval ": 
    181 (as_func_return () { 
    182   (exit \$1) 
    183 } 
    184 as_func_success () { 
    185   as_func_return 0 
    186 } 
    187 as_func_failure () { 
    188   as_func_return 1 
    189 } 
    190 as_func_ret_success () { 
    191   return 0 
    192 } 
    193 as_func_ret_failure () { 
    194   return 1 
    195 } 
    196  
    197 exitcode=0 
    198 if as_func_success; then 
    199   : 
    200 else 
    201   exitcode=1 
    202   echo as_func_success failed. 
    203 fi 
    204  
    205 if as_func_failure; then 
    206   exitcode=1 
    207   echo as_func_failure succeeded. 
    208 fi 
    209  
    210 if as_func_ret_success; then 
    211   : 
    212 else 
    213   exitcode=1 
    214   echo as_func_ret_success failed. 
    215 fi 
    216  
    217 if as_func_ret_failure; then 
    218   exitcode=1 
    219   echo as_func_ret_failure succeeded. 
    220 fi 
    221  
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    223   : 
    224 else 
    225   exitcode=1 
    226   echo positional parameters were not saved. 
    227 fi 
    228  
    229 test \$exitcode = 0) || { (exit 1); exit 1; } 
    230  
    231 ( 
    232   as_lineno_1=\$LINENO 
    233   as_lineno_2=\$LINENO 
    234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    236 ") 2> /dev/null; then 
    237   : 
    238 else 
    239   as_candidate_shells= 
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    242 do 
    243   IFS=$as_save_IFS 
    244   test -z "$as_dir" && as_dir=. 
    245   case $as_dir in 
    246          /*) 
    247            for as_base in sh bash ksh sh5; do 
    248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    249            done;; 
    250        esac 
    251 done 
    252 IFS=$as_save_IFS 
    253  
    254  
    255       for as_shell in $as_candidate_shells $SHELL; do 
    256          # Try only shells that exist, to save several forks. 
    257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    258                 { ("$as_shell") 2> /dev/null <<\_ASEOF 
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    260   emulate sh 
    261   NULLCMD=: 
    262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    263   # is contrary to our usage.  Disable this feature. 
    264   alias -g '${1+"$@"}'='"$@"' 
    265   setopt NO_GLOB_SUBST 
    266 else 
    267   case `(set -o) 2>/dev/null` in 
    268   *posix*) set -o posix ;; 
    269 esac 
    270  
    271 fi 
    272  
    273  
    274 : 
    275 _ASEOF 
    276 }; then 
    277   CONFIG_SHELL=$as_shell 
    278                as_have_required=yes 
    279                if { "$as_shell" 2> /dev/null <<\_ASEOF 
    280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    281   emulate sh 
    282   NULLCMD=: 
    283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    284   # is contrary to our usage.  Disable this feature. 
    285   alias -g '${1+"$@"}'='"$@"' 
    286   setopt NO_GLOB_SUBST 
    287 else 
    288   case `(set -o) 2>/dev/null` in 
    289   *posix*) set -o posix ;; 
    290 esac 
    291  
    292 fi 
    293  
    294  
    295 : 
    296 (as_func_return () { 
    297   (exit $1) 
    298 } 
    299 as_func_success () { 
    300   as_func_return 0 
    301 } 
    302 as_func_failure () { 
    303   as_func_return 1 
    304 } 
    305 as_func_ret_success () { 
    306   return 0 
    307 } 
    308 as_func_ret_failure () { 
    309   return 1 
    310 } 
    311  
    312 exitcode=0 
    313 if as_func_success; then 
    314   : 
    315 else 
    316   exitcode=1 
    317   echo as_func_success failed. 
    318 fi 
    319  
    320 if as_func_failure; then 
    321   exitcode=1 
    322   echo as_func_failure succeeded. 
    323 fi 
    324  
    325 if as_func_ret_success; then 
    326   : 
    327 else 
    328   exitcode=1 
    329   echo as_func_ret_success failed. 
    330 fi 
    331  
    332 if as_func_ret_failure; then 
    333   exitcode=1 
    334   echo as_func_ret_failure succeeded. 
    335 fi 
    336  
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then 
    338   : 
    339 else 
    340   exitcode=1 
    341   echo positional parameters were not saved. 
    342 fi 
    343  
    344 test $exitcode = 0) || { (exit 1); exit 1; } 
    345  
    346 ( 
    347   as_lineno_1=$LINENO 
    348   as_lineno_2=$LINENO 
    349   test "x$as_lineno_1" != "x$as_lineno_2" && 
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    351  
    352 _ASEOF 
    353 }; then 
    354   break 
    355 fi 
    356  
    357 fi 
    358  
    359       done 
    360  
    361       if test "x$CONFIG_SHELL" != x; then 
    362   for as_var in BASH_ENV ENV 
    363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    364         done 
    365         export CONFIG_SHELL 
    366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    367 fi 
    368  
    369  
    370     if test $as_have_required = no; then 
    371   echo This script requires a shell more modern than all the 
    372       echo shells that I found on your system.  Please install a 
    373       echo modern shell, or manually run the script under such a 
    374       echo shell if you do have one. 
    375       { (exit 1); exit 1; } 
    376 fi 
    377  
    378  
    379 fi 
    380  
    381 fi 
    382  
    383  
    384  
    385 (eval "as_func_return () { 
    386   (exit \$1) 
    387 } 
    388 as_func_success () { 
    389   as_func_return 0 
    390 } 
    391 as_func_failure () { 
    392   as_func_return 1 
    393 } 
    394 as_func_ret_success () { 
    395   return 0 
    396 } 
    397 as_func_ret_failure () { 
    398   return 1 
    399 } 
    400  
    401 exitcode=0 
    402 if as_func_success; then 
    403   : 
    404 else 
    405   exitcode=1 
    406   echo as_func_success failed. 
    407 fi 
    408  
    409 if as_func_failure; then 
    410   exitcode=1 
    411   echo as_func_failure succeeded. 
    412 fi 
    413  
    414 if as_func_ret_success; then 
    415   : 
    416 else 
    417   exitcode=1 
    418   echo as_func_ret_success failed. 
    419 fi 
    420  
    421 if as_func_ret_failure; then 
    422   exitcode=1 
    423   echo as_func_ret_failure succeeded. 
    424 fi 
    425  
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    427   : 
    428 else 
    429   exitcode=1 
    430   echo positional parameters were not saved. 
    431 fi 
    432  
    433 test \$exitcode = 0") || { 
    434   echo No shell found that supports shell functions. 
    435   echo Please tell bug-autoconf@gnu.org about your system, 
    436   echo including any error possibly output before this message. 
    437   echo This can help us improve future autoconf versions. 
    438   echo Configuration will now proceed without shell functions. 
    439 } 
    440  
    441  
    442  
    443   as_lineno_1=$LINENO 
    444   as_lineno_2=$LINENO 
    445   test "x$as_lineno_1" != "x$as_lineno_2" && 
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    447  
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    449   # uniformly replaced by the line number.  The first 'sed' inserts a 
    450   # line-number line after each line using $LINENO; the second 'sed' 
    451   # does the real work.  The second script uses 'N' to pair each 
    452   # line-number line with the line containing $LINENO, and appends 
    453   # trailing '-' during substitution so that $LINENO is not a special 
    454   # case at line end. 
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    457   # E. McMahon (1931-1989) for sed's syntax.  :-) 
     411# Avoid depending upon Character Ranges. 
     412as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     414as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     415as_cr_digits='0123456789' 
     416as_cr_alnum=$as_cr_Letters$as_cr_digits 
     417 
     418 
     419  as_lineno_1=$LINENO as_lineno_1a=$LINENO 
     420  as_lineno_2=$LINENO as_lineno_2a=$LINENO 
     421  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
     422  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
     423  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
    458424  sed -n ' 
    459425    p 
     
    472438    ' >$as_me.lineno && 
    473439  chmod +x "$as_me.lineno" || 
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    475    { (exit 1); exit 1; }; } 
     440    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    476441 
    477442  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    483448} 
    484449 
    485  
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    487   as_dirname=dirname 
    488 else 
    489   as_dirname=false 
    490 fi 
    491  
    492450ECHO_C= ECHO_N= ECHO_T= 
    493 case `echo -n x` in 
     451case `echo -n x` in #((((( 
    494452-n*) 
    495   case `echo 'x\c'` in 
     453  case `echo 'xy\c'` in 
    496454  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    497   *)   ECHO_C='\c';; 
     455  xy)  ECHO_C='\c';; 
     456  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     457       ECHO_T=' ';; 
    498458  esac;; 
    499459*) 
    500460  ECHO_N='-n';; 
    501461esac 
    502 if expr a : '\(a\)' >/dev/null 2>&1 && 
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    504   as_expr=expr 
    505 else 
    506   as_expr=false 
    507 fi 
    508462 
    509463rm -f conf$$ conf$$.exe conf$$.file 
     
    535489 
    536490if mkdir -p . 2>/dev/null; then 
    537   as_mkdir_p=: 
     491  as_mkdir_p='mkdir -p "$as_dir"' 
    538492else 
    539493  test -d ./-p && rmdir ./-p 
     
    554508        test -d "$1/."; 
    555509      else 
    556         case $1 in 
     510        case $1 in #( 
    557511        -*)set "./$1";; 
    558512        esac; 
    559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     513        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    560514        ???[sx]*):;;*)false;;esac;fi 
    561515    '\'' sh 
     
    569523# Sed expression to map a string onto a valid variable name. 
    570524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    571  
    572525 
    573526 
     
    590543MFLAGS= 
    591544MAKEFLAGS= 
    592 SHELL=${CONFIG_SHELL-/bin/sh} 
    593545 
    594546# Identity of this package. 
     
    598550PACKAGE_STRING='pjproject 1.0' 
    599551PACKAGE_BUGREPORT='' 
     552PACKAGE_URL='' 
    600553 
    601554# Factoring default headers for most tests. 
     
    635588#endif" 
    636589 
    637 ac_subst_vars='SHELL 
     590ac_subst_vars='LTLIBOBJS 
     591LIBOBJS 
     592ac_main_obj 
     593ac_host 
     594ac_linux_poll 
     595ac_cross_compile 
     596libcrypto_present 
     597libssl_present 
     598openssl_h_present 
     599ac_no_ssl 
     600ac_no_ilbc_codec 
     601ac_no_speex_codec 
     602ac_no_g7221_codec 
     603ac_no_g722_codec 
     604ac_no_gsm_codec 
     605ac_no_l16_codec 
     606ac_no_g711_codec 
     607ac_no_speex_aec 
     608ac_no_large_filter 
     609ac_no_small_filter 
     610ac_pa_use_oss 
     611ac_pa_use_alsa 
     612ac_pa_cflags 
     613ac_pa_path 
     614ac_pjmedia_snd 
     615ac_os_objs 
     616EGREP 
     617GREP 
     618CPP 
     619ac_build_mak_vars 
     620ac_pjdir 
     621ac_ct_CXX 
     622CXXFLAGS 
     623CXX 
     624OBJEXT 
     625EXEEXT 
     626ac_ct_CC 
     627CPPFLAGS 
     628LDFLAGS 
     629CFLAGS 
     630CC 
     631target_os 
     632target_vendor 
     633target_cpu 
     634target 
     635host_os 
     636host_vendor 
     637host_cpu 
     638host 
     639build_os 
     640build_vendor 
     641build_cpu 
     642build 
     643target_alias 
     644host_alias 
     645build_alias 
     646LIBS 
     647ECHO_T 
     648ECHO_N 
     649ECHO_C 
     650DEFS 
     651mandir 
     652localedir 
     653libdir 
     654psdir 
     655pdfdir 
     656dvidir 
     657htmldir 
     658infodir 
     659docdir 
     660oldincludedir 
     661includedir 
     662localstatedir 
     663sharedstatedir 
     664sysconfdir 
     665datadir 
     666datarootdir 
     667libexecdir 
     668sbindir 
     669bindir 
     670program_transform_name 
     671prefix 
     672exec_prefix 
     673PACKAGE_URL 
     674PACKAGE_BUGREPORT 
     675PACKAGE_STRING 
     676PACKAGE_VERSION 
     677PACKAGE_TARNAME 
     678PACKAGE_NAME 
    638679PATH_SEPARATOR 
    639 PACKAGE_NAME 
    640 PACKAGE_TARNAME 
    641 PACKAGE_VERSION 
    642 PACKAGE_STRING 
    643 PACKAGE_BUGREPORT 
    644 exec_prefix 
    645 prefix 
    646 program_transform_name 
    647 bindir 
    648 sbindir 
    649 libexecdir 
    650 datarootdir 
    651 datadir 
    652 sysconfdir 
    653 sharedstatedir 
    654 localstatedir 
    655 includedir 
    656 oldincludedir 
    657 docdir 
    658 infodir 
    659 htmldir 
    660 dvidir 
    661 pdfdir 
    662 psdir 
    663 libdir 
    664 localedir 
    665 mandir 
    666 DEFS 
    667 ECHO_C 
    668 ECHO_N 
    669 ECHO_T 
    670 LIBS 
    671 build_alias 
    672 host_alias 
    673 target_alias 
    674 build 
    675 build_cpu 
    676 build_vendor 
    677 build_os 
    678 host 
    679 host_cpu 
    680 host_vendor 
    681 host_os 
    682 target 
    683 target_cpu 
    684 target_vendor 
    685 target_os 
    686 CC 
    687 CFLAGS 
    688 LDFLAGS 
    689 CPPFLAGS 
    690 ac_ct_CC 
    691 EXEEXT 
    692 OBJEXT 
    693 CXX 
    694 CXXFLAGS 
    695 ac_ct_CXX 
    696 ac_pjdir 
    697 ac_build_mak_vars 
    698 CPP 
    699 GREP 
    700 EGREP 
    701 ac_os_objs 
    702 ac_pjmedia_snd 
    703 ac_pa_cflags 
    704 ac_pa_use_alsa 
    705 ac_pa_use_oss 
    706 ac_no_small_filter 
    707 ac_no_large_filter 
    708 ac_no_speex_aec 
    709 ac_no_g711_codec 
    710 ac_no_l16_codec 
    711 ac_no_gsm_codec 
    712 ac_no_g722_codec 
    713 ac_no_g7221_codec 
    714 ac_no_speex_codec 
    715 ac_no_ilbc_codec 
    716 ac_no_ssl 
    717 openssl_h_present 
    718 libssl_present 
    719 libcrypto_present 
    720 ac_cross_compile 
    721 ac_linux_poll 
    722 ac_host 
    723 ac_main_obj 
    724 LIBOBJS 
    725 LTLIBOBJS' 
     680SHELL' 
    726681ac_subst_files='' 
    727682ac_user_opts=' 
     
    730685enable_epoll 
    731686enable_sound 
     687with_pa_path 
    732688enable_oss 
    733689enable_ext_sound 
     
    867823    # Reject names that are not valid shell variable names. 
    868824    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    869       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 
    870    { (exit 1); exit 1; }; } 
     825      as_fn_error "invalid feature name: $ac_useropt" 
    871826    ac_useropt_orig=$ac_useropt 
    872827    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    894849    # Reject names that are not valid shell variable names. 
    895850    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    896       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 
    897    { (exit 1); exit 1; }; } 
     851      as_fn_error "invalid feature name: $ac_useropt" 
    898852    ac_useropt_orig=$ac_useropt 
    899853    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    10991053    # Reject names that are not valid shell variable names. 
    11001054    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1101       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 
    1102    { (exit 1); exit 1; }; } 
     1055      as_fn_error "invalid package name: $ac_useropt" 
    11031056    ac_useropt_orig=$ac_useropt 
    11041057    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11161069    # Reject names that are not valid shell variable names. 
    11171070    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
    1118       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 
    1119    { (exit 1); exit 1; }; } 
     1071      as_fn_error "invalid package name: $ac_useropt" 
    11201072    ac_useropt_orig=$ac_useropt 
    11211073    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     
    11471099    x_libraries=$ac_optarg ;; 
    11481100 
    1149   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 
    1150 Try \`$0 --help' for more information." >&2 
    1151    { (exit 1); exit 1; }; } 
     1101  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1102Try \`$0 --help' for more information." 
    11521103    ;; 
    11531104 
     
    11551106    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11561107    # Reject names that are not valid shell variable names. 
    1157     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1158       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1159    { (exit 1); exit 1; }; } 
     1108    case $ac_envvar in #( 
     1109      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1110      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1111    esac 
    11601112    eval $ac_envvar=\$ac_optarg 
    11611113    export $ac_envvar ;; 
     
    11741126if test -n "$ac_prev"; then 
    11751127  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1176   { $as_echo "$as_me: error: missing argument to $ac_option" >&2 
    1177    { (exit 1); exit 1; }; } 
     1128  as_fn_error "missing argument to $ac_option" 
    11781129fi 
    11791130 
     
    11811132  case $enable_option_checking in 
    11821133    no) ;; 
    1183     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 
    1184    { (exit 1); exit 1; }; } ;; 
    1185     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1134    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1135    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
    11861136  esac 
    11871137fi 
     
    12051155    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    12061156  esac 
    1207   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1208    { (exit 1); exit 1; }; } 
     1157  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    12091158done 
    12101159 
     
    12361185ac_ls_di=`ls -di .` && 
    12371186ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1238   { $as_echo "$as_me: error: Working directory cannot be determined" >&2 
    1239    { (exit 1); exit 1; }; } 
     1187  as_fn_error "working directory cannot be determined" 
    12401188test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1241   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 
    1242    { (exit 1); exit 1; }; } 
     1189  as_fn_error "pwd does not report name of working directory" 
    12431190 
    12441191 
     
    12791226if test ! -r "$srcdir/$ac_unique_file"; then 
    12801227  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1281   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1282    { (exit 1); exit 1; }; } 
     1228  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12831229fi 
    12841230ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12851231ac_abs_confdir=`( 
    1286         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 
    1287    { (exit 1); exit 1; }; } 
     1232        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12881233        pwd)` 
    12891234# When building in place, set srcdir=. 
     
    14131358 
    14141359 
     1360Optional Packages: 
     1361  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
     1362  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
     1363  --with-pa-path=DIR      Specify PortAudio alternate location (e.g. /usr). 
     1364                          When this option is set, we will not use our copy of 
     1365                          PortAudio in third_party directory. 
     1366 
    14151367Some influential environment variables: 
    14161368  CC          C compiler command 
     
    14281380it to find libraries and programs with nonstandard names/locations. 
    14291381 
     1382Report bugs to the package provider. 
    14301383_ACEOF 
    14311384ac_status=$? 
     
    14911444  cat <<\_ACEOF 
    14921445pjproject configure 1.0 
    1493 generated by GNU Autoconf 2.62 
    1494  
    1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1496 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
     1446generated by GNU Autoconf 2.64 
     1447 
     1448Copyright (C) 2009 Free Software Foundation, Inc. 
    14971449This configure script is free software; the Free Software Foundation 
    14981450gives unlimited permission to copy, distribute and modify it. 
     
    15001452  exit 
    15011453fi 
     1454 
     1455## ------------------------ ## 
     1456## Autoconf initialization. ## 
     1457## ------------------------ ## 
     1458 
     1459# ac_fn_c_try_compile LINENO 
     1460# -------------------------- 
     1461# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1462ac_fn_c_try_compile () 
     1463{ 
     1464  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1465  rm -f conftest.$ac_objext 
     1466  if { { ac_try="$ac_compile" 
     1467case "(($ac_try" in 
     1468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1469  *) ac_try_echo=$ac_try;; 
     1470esac 
     1471eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1472$as_echo "$ac_try_echo"; } >&5 
     1473  (eval "$ac_compile") 2>conftest.err 
     1474  ac_status=$? 
     1475  if test -s conftest.err; then 
     1476    grep -v '^ *+' conftest.err >conftest.er1 
     1477    cat conftest.er1 >&5 
     1478    mv -f conftest.er1 conftest.err 
     1479  fi 
     1480  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1481  test $ac_status = 0; } && { 
     1482         test -z "$ac_c_werror_flag" || 
     1483         test ! -s conftest.err 
     1484       } && test -s conftest.$ac_objext; then : 
     1485  ac_retval=0 
     1486else 
     1487  $as_echo "$as_me: failed program was:" >&5 
     1488sed 's/^/| /' conftest.$ac_ext >&5 
     1489 
     1490        ac_retval=1 
     1491fi 
     1492  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1493  return $ac_retval 
     1494 
     1495} # ac_fn_c_try_compile 
     1496 
     1497# ac_fn_cxx_try_compile LINENO 
     1498# ---------------------------- 
     1499# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1500ac_fn_cxx_try_compile () 
     1501{ 
     1502  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1503  rm -f conftest.$ac_objext 
     1504  if { { ac_try="$ac_compile" 
     1505case "(($ac_try" in 
     1506  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1507  *) ac_try_echo=$ac_try;; 
     1508esac 
     1509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1510$as_echo "$ac_try_echo"; } >&5 
     1511  (eval "$ac_compile") 2>conftest.err 
     1512  ac_status=$? 
     1513  if test -s conftest.err; then 
     1514    grep -v '^ *+' conftest.err >conftest.er1 
     1515    cat conftest.er1 >&5 
     1516    mv -f conftest.er1 conftest.err 
     1517  fi 
     1518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1519  test $ac_status = 0; } && { 
     1520         test -z "$ac_cxx_werror_flag" || 
     1521         test ! -s conftest.err 
     1522       } && test -s conftest.$ac_objext; then : 
     1523  ac_retval=0 
     1524else 
     1525  $as_echo "$as_me: failed program was:" >&5 
     1526sed 's/^/| /' conftest.$ac_ext >&5 
     1527 
     1528        ac_retval=1 
     1529fi 
     1530  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1531  return $ac_retval 
     1532 
     1533} # ac_fn_cxx_try_compile 
     1534 
     1535# ac_fn_c_try_link LINENO 
     1536# ----------------------- 
     1537# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1538ac_fn_c_try_link () 
     1539{ 
     1540  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1541  rm -f conftest.$ac_objext conftest$ac_exeext 
     1542  if { { ac_try="$ac_link" 
     1543case "(($ac_try" in 
     1544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1545  *) ac_try_echo=$ac_try;; 
     1546esac 
     1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1548$as_echo "$ac_try_echo"; } >&5 
     1549  (eval "$ac_link") 2>conftest.err 
     1550  ac_status=$? 
     1551  if test -s conftest.err; then 
     1552    grep -v '^ *+' conftest.err >conftest.er1 
     1553    cat conftest.er1 >&5 
     1554    mv -f conftest.er1 conftest.err 
     1555  fi 
     1556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1557  test $ac_status = 0; } && { 
     1558         test -z "$ac_c_werror_flag" || 
     1559         test ! -s conftest.err 
     1560       } && test -s conftest$ac_exeext && { 
     1561         test "$cross_compiling" = yes || 
     1562         $as_test_x conftest$ac_exeext 
     1563       }; then : 
     1564  ac_retval=0 
     1565else 
     1566  $as_echo "$as_me: failed program was:" >&5 
     1567sed 's/^/| /' conftest.$ac_ext >&5 
     1568 
     1569        ac_retval=1 
     1570fi 
     1571  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1572  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1573  # interfere with the next link command; also delete a directory that is 
     1574  # left behind by Apple's compiler.  We do this before executing the actions. 
     1575  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1576  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1577  return $ac_retval 
     1578 
     1579} # ac_fn_c_try_link 
     1580 
     1581# ac_fn_c_try_run LINENO 
     1582# ---------------------- 
     1583# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1584# that executables *can* be run. 
     1585ac_fn_c_try_run () 
     1586{ 
     1587  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1588  if { { ac_try="$ac_link" 
     1589case "(($ac_try" in 
     1590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1591  *) ac_try_echo=$ac_try;; 
     1592esac 
     1593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1594$as_echo "$ac_try_echo"; } >&5 
     1595  (eval "$ac_link") 2>&5 
     1596  ac_status=$? 
     1597  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1598  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1599  { { case "(($ac_try" in 
     1600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1601  *) ac_try_echo=$ac_try;; 
     1602esac 
     1603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1604$as_echo "$ac_try_echo"; } >&5 
     1605  (eval "$ac_try") 2>&5 
     1606  ac_status=$? 
     1607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1608  test $ac_status = 0; }; }; then : 
     1609  ac_retval=0 
     1610else 
     1611  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1612       $as_echo "$as_me: failed program was:" >&5 
     1613sed 's/^/| /' conftest.$ac_ext >&5 
     1614 
     1615       ac_retval=$ac_status 
     1616fi 
     1617  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1618  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1619  return $ac_retval 
     1620 
     1621} # ac_fn_c_try_run 
     1622 
     1623# ac_fn_c_try_cpp LINENO 
     1624# ---------------------- 
     1625# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1626ac_fn_c_try_cpp () 
     1627{ 
     1628  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1629  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1630case "(($ac_try" in 
     1631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1632  *) ac_try_echo=$ac_try;; 
     1633esac 
     1634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1635$as_echo "$ac_try_echo"; } >&5 
     1636  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1637  ac_status=$? 
     1638  if test -s conftest.err; then 
     1639    grep -v '^ *+' conftest.err >conftest.er1 
     1640    cat conftest.er1 >&5 
     1641    mv -f conftest.er1 conftest.err 
     1642  fi 
     1643  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1644  test $ac_status = 0; } >/dev/null && { 
     1645         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1646         test ! -s conftest.err 
     1647       }; then : 
     1648  ac_retval=0 
     1649else 
     1650  $as_echo "$as_me: failed program was:" >&5 
     1651sed 's/^/| /' conftest.$ac_ext >&5 
     1652 
     1653    ac_retval=1 
     1654fi 
     1655  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1656  return $ac_retval 
     1657 
     1658} # ac_fn_c_try_cpp 
     1659 
     1660# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1661# ------------------------------------------------------- 
     1662# Tests whether HEADER exists and can be compiled using the include files in 
     1663# INCLUDES, setting the cache variable VAR accordingly. 
     1664ac_fn_c_check_header_compile () 
     1665{ 
     1666  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1668$as_echo_n "checking for $2... " >&6; } 
     1669if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1670  $as_echo_n "(cached) " >&6 
     1671else 
     1672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1673/* end confdefs.h.  */ 
     1674$4 
     1675#include <$2> 
     1676_ACEOF 
     1677if ac_fn_c_try_compile "$LINENO"; then : 
     1678  eval "$3=yes" 
     1679else 
     1680  eval "$3=no" 
     1681fi 
     1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1683fi 
     1684eval ac_res=\$$3 
     1685               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1686$as_echo "$ac_res" >&6; } 
     1687  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1688 
     1689} # ac_fn_c_check_header_compile 
     1690 
     1691# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1692# ------------------------------------------------------- 
     1693# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1694# the include files in INCLUDES and setting the cache variable VAR 
     1695# accordingly. 
     1696ac_fn_c_check_header_mongrel () 
     1697{ 
     1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1699  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1701$as_echo_n "checking for $2... " >&6; } 
     1702if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1703  $as_echo_n "(cached) " >&6 
     1704fi 
     1705eval ac_res=\$$3 
     1706               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1707$as_echo "$ac_res" >&6; } 
     1708else 
     1709  # Is the header compilable? 
     1710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1711$as_echo_n "checking $2 usability... " >&6; } 
     1712cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1713/* end confdefs.h.  */ 
     1714$4 
     1715#include <$2> 
     1716_ACEOF 
     1717if ac_fn_c_try_compile "$LINENO"; then : 
     1718  ac_header_compiler=yes 
     1719else 
     1720  ac_header_compiler=no 
     1721fi 
     1722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1724$as_echo "$ac_header_compiler" >&6; } 
     1725 
     1726# Is the header present? 
     1727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1728$as_echo_n "checking $2 presence... " >&6; } 
     1729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1730/* end confdefs.h.  */ 
     1731#include <$2> 
     1732_ACEOF 
     1733if ac_fn_c_try_cpp "$LINENO"; then : 
     1734  ac_header_preproc=yes 
     1735else 
     1736  ac_header_preproc=no 
     1737fi 
     1738rm -f conftest.err conftest.$ac_ext 
     1739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1740$as_echo "$ac_header_preproc" >&6; } 
     1741 
     1742# So?  What about this header? 
     1743case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1744  yes:no: ) 
     1745    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1746$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1747    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1748$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1749    ;; 
     1750  no:yes:* ) 
     1751    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1752$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1753    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1754$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1755    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1756$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1757    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1758$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1759    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1760$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1761    ;; 
     1762esac 
     1763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1764$as_echo_n "checking for $2... " >&6; } 
     1765if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1766  $as_echo_n "(cached) " >&6 
     1767else 
     1768  eval "$3=\$ac_header_compiler" 
     1769fi 
     1770eval ac_res=\$$3 
     1771               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1772$as_echo "$ac_res" >&6; } 
     1773fi 
     1774  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1775 
     1776} # ac_fn_c_check_header_mongrel 
    15021777cat >config.log <<_ACEOF 
    15031778This file contains any messages produced by compilers while 
     
    15051780 
    15061781It was created by pjproject $as_me 1.0, which was 
    1507 generated by GNU Autoconf 2.62.  Invocation command line was 
     1782generated by GNU Autoconf 2.64.  Invocation command line was 
    15081783 
    15091784  $ $0 $@ 
     
    15411816  IFS=$as_save_IFS 
    15421817  test -z "$as_dir" && as_dir=. 
    1543   $as_echo "PATH: $as_dir" 
    1544 done 
     1818    $as_echo "PATH: $as_dir" 
     1819  done 
    15451820IFS=$as_save_IFS 
    15461821 
     
    15791854    esac 
    15801855    case $ac_pass in 
    1581     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1856    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15821857    2) 
    1583       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1858      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15841859      if test $ac_must_keep_next = true; then 
    15851860        ac_must_keep_next=false # Got value, back to normal. 
     
    15971872        esac 
    15981873      fi 
    1599       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1874      as_fn_append ac_configure_args " '$ac_arg'" 
    16001875      ;; 
    16011876    esac 
    16021877  done 
    16031878done 
    1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1879{ ac_configure_args0=; unset ac_configure_args0;} 
     1880{ ac_configure_args1=; unset ac_configure_args1;} 
    16061881 
    16071882# When interrupted or exit'd, cleanup temporary files, and complete 
     
    16281903    *${as_nl}*) 
    16291904      case $ac_var in #( 
    1630       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1631 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     1905      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     1906$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    16321907      esac 
    16331908      case $ac_var in #( 
    16341909      _ | IFS | as_nl) ;; #( 
    16351910      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
    1636       *) $as_unset $ac_var ;; 
     1911      *) { eval $ac_var=; unset $ac_var;} ;; 
    16371912      esac ;; 
    16381913    esac 
     
    17061981' 0 
    17071982for ac_signal in 1 2 13 15; do 
    1708   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     1983  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    17091984done 
    17101985ac_signal=0 
     
    17131988rm -f -r conftest* confdefs.h 
    17141989 
     1990$as_echo "/* confdefs.h */" > confdefs.h 
     1991 
    17151992# Predefined preprocessor variables. 
    17161993 
     
    17191996_ACEOF 
    17201997 
    1721  
    17221998cat >>confdefs.h <<_ACEOF 
    17231999#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    17242000_ACEOF 
    17252001 
    1726  
    17272002cat >>confdefs.h <<_ACEOF 
    17282003#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    17292004_ACEOF 
    17302005 
    1731  
    17322006cat >>confdefs.h <<_ACEOF 
    17332007#define PACKAGE_STRING "$PACKAGE_STRING" 
    17342008_ACEOF 
    17352009 
    1736  
    17372010cat >>confdefs.h <<_ACEOF 
    17382011#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
     2012_ACEOF 
     2013 
     2014cat >>confdefs.h <<_ACEOF 
     2015#define PACKAGE_URL "$PACKAGE_URL" 
    17392016_ACEOF 
    17402017 
     
    17572034  test "x$ac_site_file" = xNONE && continue 
    17582035  if test -r "$ac_site_file"; then 
    1759     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     2036    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
    17602037$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17612038    sed 's/^/| /' "$ac_site_file" >&5 
     
    17682045  # files actually), so we avoid doing that. 
    17692046  if test -f "$cache_file"; then 
    1770     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     2047    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
    17712048$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17722049    case $cache_file in 
     
    17762053  fi 
    17772054else 
    1778   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     2055  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
    17792056$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17802057  >$cache_file 
     
    17912068  case $ac_old_set,$ac_new_set in 
    17922069    set,) 
    1793       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2070      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    17942071$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17952072      ac_cache_corrupted=: ;; 
    17962073    ,set) 
    1797       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     2074      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
    17982075$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17992076      ac_cache_corrupted=: ;; 
     
    18052082        ac_new_val_w=`echo x $ac_new_val` 
    18062083        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
    1807           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     2084          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
    18082085$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    18092086          ac_cache_corrupted=: 
    18102087        else 
    1811           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2088          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
    18122089$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
    18132090          eval $ac_var=\$ac_old_val 
    18142091        fi 
    1815         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5 
     2092        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
    18162093$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
    1817         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5 
     2094        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
    18182095$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    18192096      fi;; 
     
    18272104    case " $ac_configure_args " in 
    18282105      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1829       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2106      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    18302107    esac 
    18312108  fi 
    18322109done 
    18332110if $ac_cache_corrupted; then 
    1834   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     2111  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2113  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
    18352114$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1836   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1837 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1838    { (exit 1); exit 1; }; } 
    1839 fi 
    1840  
    1841  
    1842  
    1843  
    1844  
    1845  
    1846  
    1847  
    1848  
    1849  
    1850  
    1851  
    1852  
    1853  
    1854  
    1855  
    1856  
    1857  
    1858  
    1859  
    1860  
    1861  
    1862  
    1863  
     2115  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2116fi 
     2117## -------------------- ## 
     2118## Main body of script. ## 
     2119## -------------------- ## 
    18642120 
    18652121ac_ext=c 
     
    18752131ac_aux_dir= 
    18762132for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1877   if test -f "$ac_dir/install-sh"; then 
    1878     ac_aux_dir=$ac_dir 
    1879     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1880     break 
    1881   elif test -f "$ac_dir/install.sh"; then 
    1882     ac_aux_dir=$ac_dir 
    1883     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1884     break 
    1885   elif test -f "$ac_dir/shtool"; then 
    1886     ac_aux_dir=$ac_dir 
    1887     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1888     break 
    1889   fi 
     2133  for ac_t in install-sh install.sh shtool; do 
     2134    if test -f "$ac_dir/$ac_t"; then 
     2135      ac_aux_dir=$ac_dir 
     2136      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2137      break 2 
     2138    fi 
     2139  done 
    18902140done 
    18912141if test -z "$ac_aux_dir"; then 
    1892   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1893 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1894    { (exit 1); exit 1; }; } 
     2142  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18952143fi 
    18962144 
     
    19062154# Make sure we can run config.sub. 
    19072155$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1908   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1909 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1910    { (exit 1); exit 1; }; } 
    1911  
    1912 { $as_echo "$as_me:$LINENO: checking build system type" >&5 
     2156  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2157 
     2158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
    19132159$as_echo_n "checking build system type... " >&6; } 
    1914 if test "${ac_cv_build+set}" = set; then 
     2160if test "${ac_cv_build+set}" = set; then : 
    19152161  $as_echo_n "(cached) " >&6 
    19162162else 
     
    19192165  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    19202166test "x$ac_build_alias" = x && 
    1921   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1922 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1923    { (exit 1); exit 1; }; } 
     2167  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    19242168ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1925   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1926 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1927    { (exit 1); exit 1; }; } 
    1928  
    1929 fi 
    1930 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     2169  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2170 
     2171fi 
     2172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
    19312173$as_echo "$ac_cv_build" >&6; } 
    19322174case $ac_cv_build in 
    19332175*-*-*) ;; 
    1934 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1935 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 
    1936    { (exit 1); exit 1; }; };; 
     2176*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    19372177esac 
    19382178build=$ac_cv_build 
     
    19502190 
    19512191 
    1952 { $as_echo "$as_me:$LINENO: checking host system type" >&5 
     2192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
    19532193$as_echo_n "checking host system type... " >&6; } 
    1954 if test "${ac_cv_host+set}" = set; then 
     2194if test "${ac_cv_host+set}" = set; then : 
    19552195  $as_echo_n "(cached) " >&6 
    19562196else 
     
    19592199else 
    19602200  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1961     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1962 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1963    { (exit 1); exit 1; }; } 
    1964 fi 
    1965  
    1966 fi 
    1967 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     2201    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2202fi 
     2203 
     2204fi 
     2205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
    19682206$as_echo "$ac_cv_host" >&6; } 
    19692207case $ac_cv_host in 
    19702208*-*-*) ;; 
    1971 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1972 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 
    1973    { (exit 1); exit 1; }; };; 
     2209*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19742210esac 
    19752211host=$ac_cv_host 
     
    19872223 
    19882224 
    1989 { $as_echo "$as_me:$LINENO: checking target system type" >&5 
     2225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
    19902226$as_echo_n "checking target system type... " >&6; } 
    1991 if test "${ac_cv_target+set}" = set; then 
     2227if test "${ac_cv_target+set}" = set; then : 
    19922228  $as_echo_n "(cached) " >&6 
    19932229else 
     
    19962232else 
    19972233  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1998     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1999 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    2000    { (exit 1); exit 1; }; } 
    2001 fi 
    2002  
    2003 fi 
    2004 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     2234    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2235fi 
     2236 
     2237fi 
     2238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
    20052239$as_echo "$ac_cv_target" >&6; } 
    20062240case $ac_cv_target in 
    20072241*-*-*) ;; 
    2008 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    2009 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 
    2010    { (exit 1); exit 1; }; };; 
     2242*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    20112243esac 
    20122244target=$ac_cv_target 
     
    20522284  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    20532285set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    2054 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    20552287$as_echo_n "checking for $ac_word... " >&6; } 
    2056 if test "${ac_cv_prog_CC+set}" = set; then 
     2288if test "${ac_cv_prog_CC+set}" = set; then : 
    20572289  $as_echo_n "(cached) " >&6 
    20582290else 
     
    20652297  IFS=$as_save_IFS 
    20662298  test -z "$as_dir" && as_dir=. 
    2067   for ac_exec_ext in '' $ac_executable_extensions; do 
     2299    for ac_exec_ext in '' $ac_executable_extensions; do 
    20682300  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20692301    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2070     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2302    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20712303    break 2 
    20722304  fi 
    20732305done 
    2074 done 
     2306  done 
    20752307IFS=$as_save_IFS 
    20762308 
     
    20792311CC=$ac_cv_prog_CC 
    20802312if test -n "$CC"; then 
    2081   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    20822314$as_echo "$CC" >&6; } 
    20832315else 
    2084   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    20852317$as_echo "no" >&6; } 
    20862318fi 
     
    20922324  # Extract the first word of "gcc", so it can be a program name with args. 
    20932325set dummy gcc; ac_word=$2 
    2094 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    20952327$as_echo_n "checking for $ac_word... " >&6; } 
    2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2328if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    20972329  $as_echo_n "(cached) " >&6 
    20982330else 
     
    21052337  IFS=$as_save_IFS 
    21062338  test -z "$as_dir" && as_dir=. 
    2107   for ac_exec_ext in '' $ac_executable_extensions; do 
     2339    for ac_exec_ext in '' $ac_executable_extensions; do 
    21082340  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21092341    ac_cv_prog_ac_ct_CC="gcc" 
    2110     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2342    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21112343    break 2 
    21122344  fi 
    21132345done 
    2114 done 
     2346  done 
    21152347IFS=$as_save_IFS 
    21162348 
     
    21192351ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    21202352if test -n "$ac_ct_CC"; then 
    2121   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    21222354$as_echo "$ac_ct_CC" >&6; } 
    21232355else 
    2124   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    21252357$as_echo "no" >&6; } 
    21262358fi 
     
    21312363    case $cross_compiling:$ac_tool_warned in 
    21322364yes:) 
    2133 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2134 whose name does not start with the host triplet.  If you think this 
    2135 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2136 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2137 whose name does not start with the host triplet.  If you think this 
    2138 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    21392367ac_tool_warned=yes ;; 
    21402368esac 
     
    21492377    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    21502378set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    21522380$as_echo_n "checking for $ac_word... " >&6; } 
    2153 if test "${ac_cv_prog_CC+set}" = set; then 
     2381if test "${ac_cv_prog_CC+set}" = set; then : 
    21542382  $as_echo_n "(cached) " >&6 
    21552383else 
     
    21622390  IFS=$as_save_IFS 
    21632391  test -z "$as_dir" && as_dir=. 
    2164   for ac_exec_ext in '' $ac_executable_extensions; do 
     2392    for ac_exec_ext in '' $ac_executable_extensions; do 
    21652393  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21662394    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2167     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21682396    break 2 
    21692397  fi 
    21702398done 
    2171 done 
     2399  done 
    21722400IFS=$as_save_IFS 
    21732401 
     
    21762404CC=$ac_cv_prog_CC 
    21772405if test -n "$CC"; then 
    2178   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    21792407$as_echo "$CC" >&6; } 
    21802408else 
    2181   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    21822410$as_echo "no" >&6; } 
    21832411fi 
     
    21892417  # Extract the first word of "cc", so it can be a program name with args. 
    21902418set dummy cc; ac_word=$2 
    2191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    21922420$as_echo_n "checking for $ac_word... " >&6; } 
    2193 if test "${ac_cv_prog_CC+set}" = set; then 
     2421if test "${ac_cv_prog_CC+set}" = set; then : 
    21942422  $as_echo_n "(cached) " >&6 
    21952423else 
     
    22032431  IFS=$as_save_IFS 
    22042432  test -z "$as_dir" && as_dir=. 
    2205   for ac_exec_ext in '' $ac_executable_extensions; do 
     2433    for ac_exec_ext in '' $ac_executable_extensions; do 
    22062434  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22072435    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    22102438     fi 
    22112439    ac_cv_prog_CC="cc" 
    2212     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22132441    break 2 
    22142442  fi 
    22152443done 
    2216 done 
     2444  done 
    22172445IFS=$as_save_IFS 
    22182446 
     
    22332461CC=$ac_cv_prog_CC 
    22342462if test -n "$CC"; then 
    2235   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    22362464$as_echo "$CC" >&6; } 
    22372465else 
    2238   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    22392467$as_echo "no" >&6; } 
    22402468fi 
     
    22482476    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    22492477set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2250 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    22512479$as_echo_n "checking for $ac_word... " >&6; } 
    2252 if test "${ac_cv_prog_CC+set}" = set; then 
     2480if test "${ac_cv_prog_CC+set}" = set; then : 
    22532481  $as_echo_n "(cached) " >&6 
    22542482else 
     
    22612489  IFS=$as_save_IFS 
    22622490  test -z "$as_dir" && as_dir=. 
    2263   for ac_exec_ext in '' $ac_executable_extensions; do 
     2491    for ac_exec_ext in '' $ac_executable_extensions; do 
    22642492  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22652493    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2266     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2494    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22672495    break 2 
    22682496  fi 
    22692497done 
    2270 done 
     2498  done 
    22712499IFS=$as_save_IFS 
    22722500 
     
    22752503CC=$ac_cv_prog_CC 
    22762504if test -n "$CC"; then 
    2277   { $as_echo "$as_me:$LINENO: result: $CC" >&5 
     2505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
    22782506$as_echo "$CC" >&6; } 
    22792507else 
    2280   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    22812509$as_echo "no" >&6; } 
    22822510fi 
     
    22922520  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22932521set dummy $ac_prog; ac_word=$2 
    2294 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    22952523$as_echo_n "checking for $ac_word... " >&6; } 
    2296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2524if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
    22972525  $as_echo_n "(cached) " >&6 
    22982526else 
     
    23052533  IFS=$as_save_IFS 
    23062534  test -z "$as_dir" && as_dir=. 
    2307   for ac_exec_ext in '' $ac_executable_extensions; do 
     2535    for ac_exec_ext in '' $ac_executable_extensions; do 
    23082536  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    23092537    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2310     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    23112539    break 2 
    23122540  fi 
    23132541done 
    2314 done 
     2542  done 
    23152543IFS=$as_save_IFS 
    23162544 
     
    23192547ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    23202548if test -n "$ac_ct_CC"; then 
    2321   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
    23222550$as_echo "$ac_ct_CC" >&6; } 
    23232551else 
    2324   { $as_echo "$as_me:$LINENO: result: no" >&5 
     2552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    23252553$as_echo "no" >&6; } 
    23262554fi 
     
    23352563    case $cross_compiling:$ac_tool_warned in 
    23362564yes:) 
    2337 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2338 whose name does not start with the host triplet.  If you think this 
    2339 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2340 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2341 whose name does not start with the host triplet.  If you think this 
    2342 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    23432567ac_tool_warned=yes ;; 
    23442568esac 
     
    23502574 
    23512575 
    2352 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2353 See \`config.log' for more details." >&5 
    2354 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2355 See \`config.log' for more details." >&2;} 
    2356    { (exit 1); exit 1; }; } 
     2576test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2578as_fn_error "no acceptable C compiler found in \$PATH 
     2579See \`config.log' for more details." "$LINENO" 5; } 
    23572580 
    23582581# Provide some information about the compiler. 
    2359 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 
     2582$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
    23602583set X $ac_compile 
    23612584ac_compiler=$2 
    2362 { (ac_try="$ac_compiler --version >&5" 
     2585for ac_option in --version -v -V -qversion; do 
     2586  { { ac_try="$ac_compiler $ac_option >&5" 
    23632587case "(($ac_try" in 
    23642588  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23652589  *) ac_try_echo=$ac_try;; 
    23662590esac 
    2367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2368 $as_echo "$ac_try_echo") >&5 
    2369   (eval "$ac_compiler --version >&5") 2>&5 
     2591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2592$as_echo "$ac_try_echo"; } >&5 
     2593  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23702594  ac_status=$? 
    2371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2372   (exit $ac_status); } 
    2373 { (ac_try="$ac_compiler -v >&5" 
    2374 case "(($ac_try" in 
    2375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2376   *) ac_try_echo=$ac_try;; 
    2377 esac 
    2378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2379 $as_echo "$ac_try_echo") >&5 
    2380   (eval "$ac_compiler -v >&5") 2>&5 
    2381   ac_status=$? 
    2382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2383   (exit $ac_status); } 
    2384 { (ac_try="$ac_compiler -V >&5" 
    2385 case "(($ac_try" in 
    2386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2387   *) ac_try_echo=$ac_try;; 
    2388 esac 
    2389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2390 $as_echo "$ac_try_echo") >&5 
    2391   (eval "$ac_compiler -V >&5") 2>&5 
    2392   ac_status=$? 
    2393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2394   (exit $ac_status); } 
    2395  
    2396 cat >conftest.$ac_ext <<_ACEOF 
    2397 /* confdefs.h.  */ 
    2398 _ACEOF 
    2399 cat confdefs.h >>conftest.$ac_ext 
    2400 cat >>conftest.$ac_ext <<_ACEOF 
     2595  if test -s conftest.err; then 
     2596    sed '10a\ 
     2597... rest of stderr output deleted ... 
     2598         10q' conftest.err >conftest.er1 
     2599    cat conftest.er1 >&5 
     2600    rm -f conftest.er1 conftest.err 
     2601  fi 
     2602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2603  test $ac_status = 0; } 
     2604done 
     2605 
     2606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    24012607/* end confdefs.h.  */ 
    2402  
     2608#include <stdio.h> 
    24032609int 
    24042610main () 
    24052611{ 
     2612FILE *f = fopen ("conftest.out", "w"); 
     2613 return ferror (f) || fclose (f) != 0; 
    24062614 
    24072615  ; 
     
    24102618_ACEOF 
    24112619ac_clean_files_save=$ac_clean_files 
    2412 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2620ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 
    24132621# Try to create an executable without -o first, disregard a.out. 
    24142622# It will help us diagnose broken compilers, and finding out an intuition 
    24152623# of exeext. 
    2416 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
     2624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
    24172625$as_echo_n "checking for C compiler default output file name... " >&6; } 
    24182626ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     
    24312639rm -f $ac_rmfiles 
    24322640 
    2433 if { (ac_try="$ac_link_default" 
     2641if { { ac_try="$ac_link_default" 
    24342642case "(($ac_try" in 
    24352643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24362644  *) ac_try_echo=$ac_try;; 
    24372645esac 
    2438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2439 $as_echo "$ac_try_echo") >&5 
     2646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2647$as_echo "$ac_try_echo"; } >&5 
    24402648  (eval "$ac_link_default") 2>&5 
    24412649  ac_status=$? 
    2442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2443   (exit $ac_status); }; then 
     2650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2651  test $ac_status = 0; }; then : 
    24442652  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    24452653# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    24582666        break;; 
    24592667    *.* ) 
    2460         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2668        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    24612669        then :; else 
    24622670           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24772685  ac_file='' 
    24782686fi 
    2479  
    2480 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 
     2687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
    24812688$as_echo "$ac_file" >&6; } 
    2482 if test -z "$ac_file"; then 
     2689if test -z "$ac_file"; then : 
    24832690  $as_echo "$as_me: failed program was:" >&5 
    24842691sed 's/^/| /' conftest.$ac_ext >&5 
    24852692 
    2486 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2487 See \`config.log' for more details." >&5 
    2488 $as_echo "$as_me: error: C compiler cannot create executables 
    2489 See \`config.log' for more details." >&2;} 
    2490    { (exit 77); exit 77; }; } 
    2491 fi 
    2492  
     2693{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2695{ as_fn_set_status 77 
     2696as_fn_error "C compiler cannot create executables 
     2697See \`config.log' for more details." "$LINENO" 5; }; } 
     2698fi 
    24932699ac_exeext=$ac_cv_exeext 
    24942700 
    24952701# Check that the compiler produces executables we can run.  If not, either 
    24962702# the compiler is broken, or we cross compile. 
    2497 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
     2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
    24982704$as_echo_n "checking whether the C compiler works... " >&6; } 
    2499 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    25002705# If not cross compiling, check that we can run a simple program. 
    25012706if test "$cross_compiling" != yes; then 
    25022707  if { ac_try='./$ac_file' 
    2503   { (case "(($ac_try" in 
     2708  { { case "(($ac_try" in 
    25042709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25052710  *) ac_try_echo=$ac_try;; 
    25062711esac 
    2507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2508 $as_echo "$ac_try_echo") >&5 
     2712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2713$as_echo "$ac_try_echo"; } >&5 
    25092714  (eval "$ac_try") 2>&5 
    25102715  ac_status=$? 
    2511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2512   (exit $ac_status); }; }; then 
     2716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2717  test $ac_status = 0; }; }; then 
    25132718    cross_compiling=no 
    25142719  else 
     
    25162721        cross_compiling=yes 
    25172722    else 
    2518         { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     2723        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2725as_fn_error "cannot run C compiled programs. 
    25192726If you meant to cross compile, use \`--host'. 
    2520 See \`config.log' for more details." >&5 
    2521 $as_echo "$as_me: error: cannot run C compiled programs. 
    2522 If you meant to cross compile, use \`--host'. 
    2523 See \`config.log' for more details." >&2;} 
    2524    { (exit 1); exit 1; }; } 
     2727See \`config.log' for more details." "$LINENO" 5; } 
    25252728    fi 
    25262729  fi 
    25272730fi 
    2528 { $as_echo "$as_me:$LINENO: result: yes" >&5 
     2731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
    25292732$as_echo "yes" >&6; } 
    25302733 
    2531 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
     2734rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 
    25322735ac_clean_files=$ac_clean_files_save 
    25332736# Check that the compiler produces executables we can run.  If not, either 
    25342737# the compiler is broken, or we cross compile. 
    2535 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
    25362739$as_echo_n "checking whether we are cross compiling... " >&6; } 
    2537 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     2740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
    25382741$as_echo "$cross_compiling" >&6; } 
    25392742 
    2540 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
    25412744$as_echo_n "checking for suffix of executables... " >&6; } 
    2542 if { (ac_try="$ac_link" 
     2745if { { ac_try="$ac_link" 
    25432746case "(($ac_try" in 
    25442747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25452748  *) ac_try_echo=$ac_try;; 
    25462749esac 
    2547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2548 $as_echo "$ac_try_echo") >&5 
     2750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2751$as_echo "$ac_try_echo"; } >&5 
    25492752  (eval "$ac_link") 2>&5 
    25502753  ac_status=$? 
    2551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2552   (exit $ac_status); }; then 
     2754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2755  test $ac_status = 0; }; then : 
    25532756  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    25542757# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    25652768done 
    25662769else 
    2567   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2568 See \`config.log' for more details." >&5 
    2569 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2570 See \`config.log' for more details." >&2;} 
    2571    { (exit 1); exit 1; }; } 
    2572 fi 
    2573  
     2770  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2772as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2773See \`config.log' for more details." "$LINENO" 5; } 
     2774fi 
    25742775rm -f conftest$ac_cv_exeext 
    2575 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     2776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
    25762777$as_echo "$ac_cv_exeext" >&6; } 
    25772778 
     
    25792780EXEEXT=$ac_cv_exeext 
    25802781ac_exeext=$EXEEXT 
    2581 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
    25822783$as_echo_n "checking for suffix of object files... " >&6; } 
    2583 if test "${ac_cv_objext+set}" = set; then 
     2784if test "${ac_cv_objext+set}" = set; then : 
    25842785  $as_echo_n "(cached) " >&6 
    25852786else 
    2586   cat >conftest.$ac_ext <<_ACEOF 
    2587 /* confdefs.h.  */ 
    2588 _ACEOF 
    2589 cat confdefs.h >>conftest.$ac_ext 
    2590 cat >>conftest.$ac_ext <<_ACEOF 
     2787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25912788/* end confdefs.h.  */ 
    25922789 
     
    26002797_ACEOF 
    26012798rm -f conftest.o conftest.obj 
    2602 if { (ac_try="$ac_compile" 
     2799if { { ac_try="$ac_compile" 
    26032800case "(($ac_try" in 
    26042801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    26052802  *) ac_try_echo=$ac_try;; 
    26062803esac 
    2607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2608 $as_echo "$ac_try_echo") >&5 
     2804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2805$as_echo "$ac_try_echo"; } >&5 
    26092806  (eval "$ac_compile") 2>&5 
    26102807  ac_status=$? 
    2611   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2612   (exit $ac_status); }; then 
     2808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2809  test $ac_status = 0; }; then : 
    26132810  for ac_file in conftest.o conftest.obj conftest.*; do 
    26142811  test -f "$ac_file" || continue; 
     
    26232820sed 's/^/| /' conftest.$ac_ext >&5 
    26242821 
    2625 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2626 See \`config.log' for more details." >&5 
    2627 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2628 See \`config.log' for more details." >&2;} 
    2629    { (exit 1); exit 1; }; } 
    2630 fi 
    2631  
     2822{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2823$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2824as_fn_error "cannot compute suffix of object files: cannot compile 
     2825See \`config.log' for more details." "$LINENO" 5; } 
     2826fi 
    26322827rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    26332828fi 
    2634 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     2829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
    26352830$as_echo "$ac_cv_objext" >&6; } 
    26362831OBJEXT=$ac_cv_objext 
    26372832ac_objext=$OBJEXT 
    2638 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
    26392834$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
    2640 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     2835if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
    26412836  $as_echo_n "(cached) " >&6 
    26422837else 
    2643   cat >conftest.$ac_ext <<_ACEOF 
    2644 /* confdefs.h.  */ 
    2645 _ACEOF 
    2646 cat confdefs.h >>conftest.$ac_ext 
    2647 cat >>conftest.$ac_ext <<_ACEOF 
     2838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26482839/* end confdefs.h.  */ 
    26492840 
     
    26592850} 
    26602851_ACEOF 
    2661 rm -f conftest.$ac_objext 
    2662 if { (ac_try="$ac_compile" 
    2663 case "(($ac_try" in 
    2664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2665   *) ac_try_echo=$ac_try;; 
    2666 esac 
    2667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2668 $as_echo "$ac_try_echo") >&5 
    2669   (eval "$ac_compile") 2>conftest.er1 
    2670   ac_status=$? 
    2671   grep -v '^ *+' conftest.er1 >conftest.err 
    2672   rm -f conftest.er1 
    2673   cat conftest.err >&5 
    2674   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2675   (exit $ac_status); } && { 
    2676          test -z "$ac_c_werror_flag" || 
    2677          test ! -s conftest.err 
    2678        } && test -s conftest.$ac_objext; then 
     2852if ac_fn_c_try_compile "$LINENO"; then : 
    26792853  ac_compiler_gnu=yes 
    26802854else 
    2681   $as_echo "$as_me: failed program was:" >&5 
    2682 sed 's/^/| /' conftest.$ac_ext >&5 
    2683  
    2684         ac_compiler_gnu=no 
    2685 fi 
    2686  
     2855  ac_compiler_gnu=no 
     2856fi 
    26872857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26882858ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26892859 
    26902860fi 
    2691 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     2861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
    26922862$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
    26932863if test $ac_compiler_gnu = yes; then 
     
    26982868ac_test_CFLAGS=${CFLAGS+set} 
    26992869ac_save_CFLAGS=$CFLAGS 
    2700 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     2870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
    27012871$as_echo_n "checking whether $CC accepts -g... " >&6; } 
    2702 if test "${ac_cv_prog_cc_g+set}" = set; then 
     2872if test "${ac_cv_prog_cc_g+set}" = set; then : 
    27032873  $as_echo_n "(cached) " >&6 
    27042874else 
     
    27072877   ac_cv_prog_cc_g=no 
    27082878   CFLAGS="-g" 
    2709    cat >conftest.$ac_ext <<_ACEOF 
    2710 /* confdefs.h.  */ 
    2711 _ACEOF 
    2712 cat confdefs.h >>conftest.$ac_ext 
    2713 cat >>conftest.$ac_ext <<_ACEOF 
     2879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27142880/* end confdefs.h.  */ 
    27152881 
     
    27222888} 
    27232889_ACEOF 
    2724 rm -f conftest.$ac_objext 
    2725 if { (ac_try="$ac_compile" 
    2726 case "(($ac_try" in 
    2727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2728   *) ac_try_echo=$ac_try;; 
    2729 esac 
    2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2731 $as_echo "$ac_try_echo") >&5 
    2732   (eval "$ac_compile") 2>conftest.er1 
    2733   ac_status=$? 
    2734   grep -v '^ *+' conftest.er1 >conftest.err 
    2735   rm -f conftest.er1 
    2736   cat conftest.err >&5 
    2737   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2738   (exit $ac_status); } && { 
    2739          test -z "$ac_c_werror_flag" || 
    2740          test ! -s conftest.err 
    2741        } && test -s conftest.$ac_objext; then 
     2890if ac_fn_c_try_compile "$LINENO"; then : 
    27422891  ac_cv_prog_cc_g=yes 
    27432892else 
    2744   $as_echo "$as_me: failed program was:" >&5 
    2745 sed 's/^/| /' conftest.$ac_ext >&5 
    2746  
    2747         CFLAGS="" 
    2748       cat >conftest.$ac_ext <<_ACEOF 
    2749 /* confdefs.h.  */ 
    2750 _ACEOF 
    2751 cat confdefs.h >>conftest.$ac_ext 
    2752 cat >>conftest.$ac_ext <<_ACEOF 
     2893  CFLAGS="" 
     2894      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27532895/* end confdefs.h.  */ 
    27542896 
     
    27612903} 
    27622904_ACEOF 
    2763 rm -f conftest.$ac_objext 
    2764 if { (ac_try="$ac_compile" 
    2765 case "(($ac_try" in 
    2766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2767   *) ac_try_echo=$ac_try;; 
    2768 esac 
    2769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2770 $as_echo "$ac_try_echo") >&5 
    2771   (eval "$ac_compile") 2>conftest.er1 
    2772   ac_status=$? 
    2773   grep -v '^ *+' conftest.er1 >conftest.err 
    2774   rm -f conftest.er1 
    2775   cat conftest.err >&5 
    2776   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2777   (exit $ac_status); } && { 
    2778          test -z "$ac_c_werror_flag" || 
    2779          test ! -s conftest.err 
    2780        } && test -s conftest.$ac_objext; then 
    2781   : 
    2782 else 
    2783   $as_echo "$as_me: failed program was:" >&5 
    2784 sed 's/^/| /' conftest.$ac_ext >&5 
    2785  
    2786         ac_c_werror_flag=$ac_save_c_werror_flag 
     2905if ac_fn_c_try_compile "$LINENO"; then : 
     2906 
     2907else 
     2908  ac_c_werror_flag=$ac_save_c_werror_flag 
    27872909         CFLAGS="-g" 
    2788          cat >conftest.$ac_ext <<_ACEOF 
    2789 /* confdefs.h.  */ 
    2790 _ACEOF 
    2791 cat confdefs.h >>conftest.$ac_ext 
    2792 cat >>conftest.$ac_ext <<_ACEOF 
     2910         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27932911/* end confdefs.h.  */ 
    27942912 
     
    28012919} 
    28022920_ACEOF 
    2803 rm -f conftest.$ac_objext 
    2804 if { (ac_try="$ac_compile" 
    2805 case "(($ac_try" in 
    2806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2807   *) ac_try_echo=$ac_try;; 
    2808 esac 
    2809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2810 $as_echo "$ac_try_echo") >&5 
    2811   (eval "$ac_compile") 2>conftest.er1 
    2812   ac_status=$? 
    2813   grep -v '^ *+' conftest.er1 >conftest.err 
    2814   rm -f conftest.er1 
    2815   cat conftest.err >&5 
    2816   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2817   (exit $ac_status); } && { 
    2818          test -z "$ac_c_werror_flag" || 
    2819          test ! -s conftest.err 
    2820        } && test -s conftest.$ac_objext; then 
     2921if ac_fn_c_try_compile "$LINENO"; then : 
    28212922  ac_cv_prog_cc_g=yes 
    2822 else 
    2823   $as_echo "$as_me: failed program was:" >&5 
    2824 sed 's/^/| /' conftest.$ac_ext >&5 
    2825  
    2826  
    2827 fi 
    2828  
     2923fi 
    28292924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    28302925fi 
    2831  
    28322926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    28332927fi 
    2834  
    28352928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    28362929   ac_c_werror_flag=$ac_save_c_werror_flag 
    28372930fi 
    2838 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     2931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
    28392932$as_echo "$ac_cv_prog_cc_g" >&6; } 
    28402933if test "$ac_test_CFLAGS" = set; then 
     
    28532946  fi 
    28542947fi 
    2855 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
     2948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
    28562949$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
    2857 if test "${ac_cv_prog_cc_c89+set}" = set; then 
     2950if test "${ac_cv_prog_cc_c89+set}" = set; then : 
    28582951  $as_echo_n "(cached) " >&6 
    28592952else 
    28602953  ac_cv_prog_cc_c89=no 
    28612954ac_save_CC=$CC 
    2862 cat >conftest.$ac_ext <<_ACEOF 
    2863 /* confdefs.h.  */ 
    2864 _ACEOF 
    2865 cat confdefs.h >>conftest.$ac_ext 
    2866 cat >>conftest.$ac_ext <<_ACEOF 
     2955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    28672956/* end confdefs.h.  */ 
    28682957#include <stdarg.h> 
     
    29213010do 
    29223011  CC="$ac_save_CC $ac_arg" 
    2923   rm -f conftest.$ac_objext 
    2924 if { (ac_try="$ac_compile" 
    2925 case "(($ac_try" in 
    2926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2927   *) ac_try_echo=$ac_try;; 
    2928 esac 
    2929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    2930 $as_echo "$ac_try_echo") >&5 
    2931   (eval "$ac_compile") 2>conftest.er1 
    2932   ac_status=$? 
    2933   grep -v '^ *+' conftest.er1 >conftest.err 
    2934   rm -f conftest.er1 
    2935   cat conftest.err >&5 
    2936   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2937   (exit $ac_status); } && { 
    2938          test -z "$ac_c_werror_flag" || 
    2939          test ! -s conftest.err 
    2940        } && test -s conftest.$ac_objext; then 
     3012  if ac_fn_c_try_compile "$LINENO"; then : 
    29413013  ac_cv_prog_cc_c89=$ac_arg 
    2942 else 
    2943   $as_echo "$as_me: failed program was:" >&5 
    2944 sed 's/^/| /' conftest.$ac_ext >&5 
    2945  
    2946  
    2947 fi 
    2948  
     3014fi 
    29493015rm -f core conftest.err conftest.$ac_objext 
    29503016  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    29573023case "x$ac_cv_prog_cc_c89" in 
    29583024  x) 
    2959     { $as_echo "$as_me:$LINENO: result: none needed" >&5 
     3025    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
    29603026$as_echo "none needed" >&6; } ;; 
    29613027  xno) 
    2962     { $as_echo "$as_me:$LINENO: result: unsupported" >&5 
     3028    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
    29633029$as_echo "unsupported" >&6; } ;; 
    29643030  *) 
    29653031    CC="$CC $ac_cv_prog_cc_c89" 
    2966     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
     3032    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
    29673033$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    29683034esac 
    2969  
     3035if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3036 
     3037fi 
    29703038 
    29713039ac_ext=c 
     
    29893057    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29903058set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    29923060$as_echo_n "checking for $ac_word... " >&6; } 
    2993 if test "${ac_cv_prog_CXX+set}" = set; then 
     3061if test "${ac_cv_prog_CXX+set}" = set; then : 
    29943062  $as_echo_n "(cached) " >&6 
    29953063else 
     
    30023070  IFS=$as_save_IFS 
    30033071  test -z "$as_dir" && as_dir=. 
    3004   for ac_exec_ext in '' $ac_executable_extensions; do 
     3072    for ac_exec_ext in '' $ac_executable_extensions; do 
    30053073  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    30063074    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    3007     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    30083076    break 2 
    30093077  fi 
    30103078done 
    3011 done 
     3079  done 
    30123080IFS=$as_save_IFS 
    30133081 
     
    30163084CXX=$ac_cv_prog_CXX 
    30173085if test -n "$CXX"; then 
    3018   { $as_echo "$as_me:$LINENO: result: $CXX" >&5 
     3086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
    30193087$as_echo "$CXX" >&6; } 
    30203088else 
    3021   { $as_echo "$as_me:$LINENO: result: no" >&5 
     3089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    30223090$as_echo "no" >&6; } 
    30233091fi 
     
    30333101  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    30343102set dummy $ac_prog; ac_word=$2 
    3035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
     3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
    30363104$as_echo_n "checking for $ac_word... " >&6; } 
    3037 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     3105if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
    30383106  $as_echo_n "(cached) " >&6 
    30393107else 
     
    30463114  IFS=$as_save_IFS 
    30473115  test -z "$as_dir" && as_dir=. 
    3048   for ac_exec_ext in '' $ac_executable_extensions; do 
     3116    for ac_exec_ext in '' $ac_executable_extensions; do 
    30493117  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    30503118    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    3051     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    30523120    break 2 
    30533121  fi 
    30543122done 
    3055 done 
     3123  done 
    30563124IFS=$as_save_IFS 
    30573125 
     
    30603128ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    30613129if test -n "$ac_ct_CXX"; then 
    3062   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     3130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
    30633131$as_echo "$ac_ct_CXX" >&6; } 
    30643132else 
    3065   { $as_echo "$as_me:$LINENO: result: no" >&5 
     3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
    30663134$as_echo "no" >&6; } 
    30673135fi 
     
    30763144    case $cross_compiling:$ac_tool_warned in 
    30773145yes:) 
    3078 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    3079 whose name does not start with the host triplet.  If you think this 
    3080 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3081 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3082 whose name does not start with the host triplet.  If you think this 
    3083 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3146{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3147$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30843148ac_tool_warned=yes ;; 
    30853149esac 
     
    30913155fi 
    30923156# Provide some information about the compiler. 
    3093 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
     3157$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
    30943158set X $ac_compile 
    30953159ac_compiler=$2 
    3096 { (ac_try="$ac_compiler --version >&5" 
     3160for ac_option in --version -v -V -qversion; do 
     3161  { { ac_try="$ac_compiler $ac_option >&5" 
    30973162case "(($ac_try" in 
    30983163  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30993164  *) ac_try_echo=$ac_try;; 
    31003165esac 
    3101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3102 $as_echo "$ac_try_echo") >&5 
    3103   (eval "$ac_compiler --version >&5") 2>&5 
     3166eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3167$as_echo "$ac_try_echo"; } >&5 
     3168  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    31043169  ac_status=$? 
    3105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3106   (exit $ac_status); } 
    3107 { (ac_try="$ac_compiler -v >&5" 
    3108 case "(($ac_try" in 
    3109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3110   *) ac_try_echo=$ac_try;; 
    3111 esac 
    3112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3113 $as_echo "$ac_try_echo") >&5 
    3114   (eval "$ac_compiler -v >&5") 2>&5 
    3115   ac_status=$? 
    3116   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3117   (exit $ac_status); } 
    3118 { (ac_try="$ac_compiler -V >&5" 
    3119 case "(($ac_try" in 
    3120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3121   *) ac_try_echo=$ac_try;; 
    3122 esac 
    3123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3124 $as_echo "$ac_try_echo") >&5 
    3125   (eval "$ac_compiler -V >&5") 2>&5 
    3126   ac_status=$? 
    3127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3128   (exit $ac_status); } 
    3129  
    3130 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     3170  if test -s conftest.err; then 
     3171    sed '10a\ 
     3172... rest of stderr output deleted ... 
     3173         10q' conftest.err >conftest.er1 
     3174    cat conftest.er1 >&5 
     3175    rm -f conftest.er1 conftest.err 
     3176  fi 
     3177  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3178  test $ac_status = 0; } 
     3179done 
     3180 
     3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
    31313182$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
    3132 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     3183if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
    31333184  $as_echo_n "(cached) " >&6 
    31343185else 
    3135   cat >conftest.$ac_ext <<_ACEOF 
    3136 /* confdefs.h.  */ 
    3137 _ACEOF 
    3138 cat confdefs.h >>conftest.$ac_ext 
    3139 cat >>conftest.$ac_ext <<_ACEOF 
     3186  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31403187/* end confdefs.h.  */ 
    31413188 
     
    31513198} 
    31523199_ACEOF 
    3153 rm -f conftest.$ac_objext 
    3154 if { (ac_try="$ac_compile" 
    3155 case "(($ac_try" in 
    3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3157   *) ac_try_echo=$ac_try;; 
    3158 esac 
    3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3160 $as_echo "$ac_try_echo") >&5 
    3161   (eval "$ac_compile") 2>conftest.er1 
    3162   ac_status=$? 
    3163   grep -v '^ *+' conftest.er1 >conftest.err 
    3164   rm -f conftest.er1 
    3165   cat conftest.err >&5 
    3166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3167   (exit $ac_status); } && { 
    3168          test -z "$ac_cxx_werror_flag" || 
    3169          test ! -s conftest.err 
    3170        } && test -s conftest.$ac_objext; then 
     3200if ac_fn_cxx_try_compile "$LINENO"; then : 
    31713201  ac_compiler_gnu=yes 
    31723202else 
    3173   $as_echo "$as_me: failed program was:" >&5 
    3174 sed 's/^/| /' conftest.$ac_ext >&5 
    3175  
    3176         ac_compiler_gnu=no 
    3177 fi 
    3178  
     3203  ac_compiler_gnu=no 
     3204fi 
    31793205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    31803206ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    31813207 
    31823208fi 
    3183 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     3209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
    31843210$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
    31853211if test $ac_compiler_gnu = yes; then 
     
    31903216ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31913217ac_save_CXXFLAGS=$CXXFLAGS 
    3192 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     3218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
    31933219$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
    3194 if test "${ac_cv_prog_cxx_g+set}" = set; then 
     3220if test "${ac_cv_prog_cxx_g+set}" = set; then : 
    31953221  $as_echo_n "(cached) " >&6 
    31963222else 
     
    31993225   ac_cv_prog_cxx_g=no 
    32003226   CXXFLAGS="-g" 
    3201    cat >conftest.$ac_ext <<_ACEOF 
    3202 /* confdefs.h.  */ 
    3203 _ACEOF 
    3204 cat confdefs.h >>conftest.$ac_ext 
    3205 cat >>conftest.$ac_ext <<_ACEOF 
     3227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32063228/* end confdefs.h.  */ 
    32073229 
     
    32143236} 
    32153237_ACEOF 
    3216 rm -f conftest.$ac_objext 
    3217 if { (ac_try="$ac_compile" 
    3218 case "(($ac_try" in 
    3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3220   *) ac_try_echo=$ac_try;; 
    3221 esac 
    3222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3223 $as_echo "$ac_try_echo") >&5 
    3224   (eval "$ac_compile") 2>conftest.er1 
    3225   ac_status=$? 
    3226   grep -v '^ *+' conftest.er1 >conftest.err 
    3227   rm -f conftest.er1 
    3228   cat conftest.err >&5 
    3229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3230   (exit $ac_status); } && { 
    3231          test -z "$ac_cxx_werror_flag" || 
    3232          test ! -s conftest.err 
    3233        } && test -s conftest.$ac_objext; then 
     3238if ac_fn_cxx_try_compile "$LINENO"; then : 
    32343239  ac_cv_prog_cxx_g=yes 
    32353240else 
    3236   $as_echo "$as_me: failed program was:" >&5 
    3237 sed 's/^/| /' conftest.$ac_ext >&5 
    3238  
    3239         CXXFLAGS="" 
    3240       cat >conftest.$ac_ext <<_ACEOF 
    3241 /* confdefs.h.  */ 
    3242 _ACEOF 
    3243 cat confdefs.h >>conftest.$ac_ext 
    3244 cat >>conftest.$ac_ext <<_ACEOF 
     3241  CXXFLAGS="" 
     3242      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32453243/* end confdefs.h.  */ 
    32463244 
     
    32533251} 
    32543252_ACEOF 
    3255 rm -f conftest.$ac_objext 
    3256 if { (ac_try="$ac_compile" 
    3257 case "(($ac_try" in 
    3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3259   *) ac_try_echo=$ac_try;; 
    3260 esac 
    3261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3262 $as_echo "$ac_try_echo") >&5 
    3263   (eval "$ac_compile") 2>conftest.er1 
    3264   ac_status=$? 
    3265   grep -v '^ *+' conftest.er1 >conftest.err 
    3266   rm -f conftest.er1 
    3267   cat conftest.err >&5 
    3268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3269   (exit $ac_status); } && { 
    3270          test -z "$ac_cxx_werror_flag" || 
    3271          test ! -s conftest.err 
    3272        } && test -s conftest.$ac_objext; then 
    3273   : 
    3274 else 
    3275   $as_echo "$as_me: failed program was:" >&5 
    3276 sed 's/^/| /' conftest.$ac_ext >&5 
    3277  
    3278         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3253if ac_fn_cxx_try_compile "$LINENO"; then : 
     3254 
     3255else 
     3256  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32793257         CXXFLAGS="-g" 
    3280          cat >conftest.$ac_ext <<_ACEOF 
    3281 /* confdefs.h.  */ 
    3282 _ACEOF 
    3283 cat confdefs.h >>conftest.$ac_ext 
    3284 cat >>conftest.$ac_ext <<_ACEOF 
     3258         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32853259/* end confdefs.h.  */ 
    32863260 
     
    32933267} 
    32943268_ACEOF 
    3295 rm -f conftest.$ac_objext 
    3296 if { (ac_try="$ac_compile" 
    3297 case "(($ac_try" in 
    3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3299   *) ac_try_echo=$ac_try;; 
    3300 esac 
    3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3302 $as_echo "$ac_try_echo") >&5 
    3303   (eval "$ac_compile") 2>conftest.er1 
    3304   ac_status=$? 
    3305   grep -v '^ *+' conftest.er1 >conftest.err 
    3306   rm -f conftest.er1 
    3307   cat conftest.err >&5 
    3308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3309   (exit $ac_status); } && { 
    3310          test -z "$ac_cxx_werror_flag" || 
    3311          test ! -s conftest.err 
    3312        } && test -s conftest.$ac_objext; then 
     3269if ac_fn_cxx_try_compile "$LINENO"; then : 
    33133270  ac_cv_prog_cxx_g=yes 
    3314 else 
    3315   $as_echo "$as_me: failed program was:" >&5 
    3316 sed 's/^/| /' conftest.$ac_ext >&5 
    3317  
    3318  
    3319 fi 
    3320  
     3271fi 
    33213272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33223273fi 
    3323  
    33243274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33253275fi 
    3326  
    33273276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    33283277   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    33293278fi 
    3330 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     3279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
    33313280$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    33323281if test "$ac_test_CXXFLAGS" = set; then 
     
    33703319 
    33713320 
    3372  
    3373 { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
     3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
    33743322$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
    3375 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     3323if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
    33763324  $as_echo_n "(cached) " >&6 
    33773325else 
    33783326  ac_check_lib_save_LIBS=$LIBS 
    33793327LIBS="-lpthread  $LIBS" 
    3380 cat >conftest.$ac_ext <<_ACEOF 
    3381 /* confdefs.h.  */ 
    3382 _ACEOF 
    3383 cat confdefs.h >>conftest.$ac_ext 
    3384 cat >>conftest.$ac_ext <<_ACEOF 
     3328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33853329/* end confdefs.h.  */ 
    33863330 
     
    34003344} 
    34013345_ACEOF 
    3402 rm -f conftest.$ac_objext conftest$ac_exeext 
    3403 if { (ac_try="$ac_link" 
    3404 case "(($ac_try" in 
    3405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3406   *) ac_try_echo=$ac_try;; 
    3407 esac 
    3408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3409 $as_echo "$ac_try_echo") >&5 
    3410   (eval "$ac_link") 2>conftest.er1 
    3411   ac_status=$? 
    3412   grep -v '^ *+' conftest.er1 >conftest.err 
    3413   rm -f conftest.er1 
    3414   cat conftest.err >&5 
    3415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3416   (exit $ac_status); } && { 
    3417          test -z "$ac_c_werror_flag" || 
    3418          test ! -s conftest.err 
    3419        } && test -s conftest$ac_exeext && { 
    3420          test "$cross_compiling" = yes || 
    3421          $as_test_x conftest$ac_exeext 
    3422        }; then 
     3346if ac_fn_c_try_link "$LINENO"; then : 
    34233347  ac_cv_lib_pthread_pthread_create=yes 
    34243348else 
    3425   $as_echo "$as_me: failed program was:" >&5 
    3426 sed 's/^/| /' conftest.$ac_ext >&5 
    3427  
    3428         ac_cv_lib_pthread_pthread_create=no 
    3429 fi 
    3430  
    3431 rm -rf conftest.dSYM 
    3432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3433       conftest$ac_exeext conftest.$ac_ext 
     3349  ac_cv_lib_pthread_pthread_create=no 
     3350fi 
     3351rm -f core conftest.err conftest.$ac_objext \ 
     3352    conftest$ac_exeext conftest.$ac_ext 
    34343353LIBS=$ac_check_lib_save_LIBS 
    34353354fi 
    3436 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
    34373356$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
    3438 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3357if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    34393358  cat >>confdefs.h <<_ACEOF 
    34403359#define HAVE_LIBPTHREAD 1 
     
    34453364fi 
    34463365 
    3447  
    3448 { $as_echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
     3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
    34493367$as_echo_n "checking for puts in -lwsock32... " >&6; } 
    3450 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
     3368if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
    34513369  $as_echo_n "(cached) " >&6 
    34523370else 
    34533371  ac_check_lib_save_LIBS=$LIBS 
    34543372LIBS="-lwsock32  $LIBS" 
    3455 cat >conftest.$ac_ext <<_ACEOF 
    3456 /* confdefs.h.  */ 
    3457 _ACEOF 
    3458 cat confdefs.h >>conftest.$ac_ext 
    3459 cat >>conftest.$ac_ext <<_ACEOF 
     3373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34603374/* end confdefs.h.  */ 
    34613375 
     
    34753389} 
    34763390_ACEOF 
    3477 rm -f conftest.$ac_objext conftest$ac_exeext 
    3478 if { (ac_try="$ac_link" 
    3479 case "(($ac_try" in 
    3480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3481   *) ac_try_echo=$ac_try;; 
    3482 esac 
    3483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3484 $as_echo "$ac_try_echo") >&5 
    3485   (eval "$ac_link") 2>conftest.er1 
    3486   ac_status=$? 
    3487   grep -v '^ *+' conftest.er1 >conftest.err 
    3488   rm -f conftest.er1 
    3489   cat conftest.err >&5 
    3490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3491   (exit $ac_status); } && { 
    3492          test -z "$ac_c_werror_flag" || 
    3493          test ! -s conftest.err 
    3494        } && test -s conftest$ac_exeext && { 
    3495          test "$cross_compiling" = yes || 
    3496          $as_test_x conftest$ac_exeext 
    3497        }; then 
     3391if ac_fn_c_try_link "$LINENO"; then : 
    34983392  ac_cv_lib_wsock32_puts=yes 
    34993393else 
    3500   $as_echo "$as_me: failed program was:" >&5 
    3501 sed 's/^/| /' conftest.$ac_ext >&5 
    3502  
    3503         ac_cv_lib_wsock32_puts=no 
    3504 fi 
    3505  
    3506 rm -rf conftest.dSYM 
    3507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3508       conftest$ac_exeext conftest.$ac_ext 
     3394  ac_cv_lib_wsock32_puts=no 
     3395fi 
     3396rm -f core conftest.err conftest.$ac_objext \ 
     3397    conftest$ac_exeext conftest.$ac_ext 
    35093398LIBS=$ac_check_lib_save_LIBS 
    35103399fi 
    3511 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
     3400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
    35123401$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
    3513 if test $ac_cv_lib_wsock32_puts = yes; then 
     3402if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    35143403  cat >>confdefs.h <<_ACEOF 
    35153404#define HAVE_LIBWSOCK32 1 
     
    35203409fi 
    35213410 
    3522  
    3523 { $as_echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
     3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
    35243412$as_echo_n "checking for puts in -lws2_32... " >&6; } 
    3525 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
     3413if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
    35263414  $as_echo_n "(cached) " >&6 
    35273415else 
    35283416  ac_check_lib_save_LIBS=$LIBS 
    35293417LIBS="-lws2_32  $LIBS" 
    3530 cat >conftest.$ac_ext <<_ACEOF 
    3531 /* confdefs.h.  */ 
    3532 _ACEOF 
    3533 cat confdefs.h >>conftest.$ac_ext 
    3534 cat >>conftest.$ac_ext <<_ACEOF 
     3418cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35353419/* end confdefs.h.  */ 
    35363420 
     
    35503434} 
    35513435_ACEOF 
    3552 rm -f conftest.$ac_objext conftest$ac_exeext 
    3553 if { (ac_try="$ac_link" 
    3554 case "(($ac_try" in 
    3555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3556   *) ac_try_echo=$ac_try;; 
    3557 esac 
    3558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3559 $as_echo "$ac_try_echo") >&5 
    3560   (eval "$ac_link") 2>conftest.er1 
    3561   ac_status=$? 
    3562   grep -v '^ *+' conftest.er1 >conftest.err 
    3563   rm -f conftest.er1 
    3564   cat conftest.err >&5 
    3565   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3566   (exit $ac_status); } && { 
    3567          test -z "$ac_c_werror_flag" || 
    3568          test ! -s conftest.err 
    3569        } && test -s conftest$ac_exeext && { 
    3570          test "$cross_compiling" = yes || 
    3571          $as_test_x conftest$ac_exeext 
    3572        }; then 
     3436if ac_fn_c_try_link "$LINENO"; then : 
    35733437  ac_cv_lib_ws2_32_puts=yes 
    35743438else 
    3575   $as_echo "$as_me: failed program was:" >&5 
    3576 sed 's/^/| /' conftest.$ac_ext >&5 
    3577  
    3578         ac_cv_lib_ws2_32_puts=no 
    3579 fi 
    3580  
    3581 rm -rf conftest.dSYM 
    3582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3583       conftest$ac_exeext conftest.$ac_ext 
     3439  ac_cv_lib_ws2_32_puts=no 
     3440fi 
     3441rm -f core conftest.err conftest.$ac_objext \ 
     3442    conftest$ac_exeext conftest.$ac_ext 
    35843443LIBS=$ac_check_lib_save_LIBS 
    35853444fi 
    3586 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
     3445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
    35873446$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
    3588 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3447if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35893448  cat >>confdefs.h <<_ACEOF 
    35903449#define HAVE_LIBWS2_32 1 
     
    35953454fi 
    35963455 
    3597  
    3598 { $as_echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
     3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
    35993457$as_echo_n "checking for puts in -lole32... " >&6; } 
    3600 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
     3458if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
    36013459  $as_echo_n "(cached) " >&6 
    36023460else 
    36033461  ac_check_lib_save_LIBS=$LIBS 
    36043462LIBS="-lole32  $LIBS" 
    3605 cat >conftest.$ac_ext <<_ACEOF 
    3606 /* confdefs.h.  */ 
    3607 _ACEOF 
    3608 cat confdefs.h >>conftest.$ac_ext 
    3609 cat >>conftest.$ac_ext <<_ACEOF 
     3463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36103464/* end confdefs.h.  */ 
    36113465 
     
    36253479} 
    36263480_ACEOF 
    3627 rm -f conftest.$ac_objext conftest$ac_exeext 
    3628 if { (ac_try="$ac_link" 
    3629 case "(($ac_try" in 
    3630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3631   *) ac_try_echo=$ac_try;; 
    3632 esac 
    3633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3634 $as_echo "$ac_try_echo") >&5 
    3635   (eval "$ac_link") 2>conftest.er1 
    3636   ac_status=$? 
    3637   grep -v '^ *+' conftest.er1 >conftest.err 
    3638   rm -f conftest.er1 
    3639   cat conftest.err >&5 
    3640   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3641   (exit $ac_status); } && { 
    3642          test -z "$ac_c_werror_flag" || 
    3643          test ! -s conftest.err 
    3644        } && test -s conftest$ac_exeext && { 
    3645          test "$cross_compiling" = yes || 
    3646          $as_test_x conftest$ac_exeext 
    3647        }; then 
     3481if ac_fn_c_try_link "$LINENO"; then : 
    36483482  ac_cv_lib_ole32_puts=yes 
    36493483else 
    3650   $as_echo "$as_me: failed program was:" >&5 
    3651 sed 's/^/| /' conftest.$ac_ext >&5 
    3652  
    3653         ac_cv_lib_ole32_puts=no 
    3654 fi 
    3655  
    3656 rm -rf conftest.dSYM 
    3657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3658       conftest$ac_exeext conftest.$ac_ext 
     3484  ac_cv_lib_ole32_puts=no 
     3485fi 
     3486rm -f core conftest.err conftest.$ac_objext \ 
     3487    conftest$ac_exeext conftest.$ac_ext 
    36593488LIBS=$ac_check_lib_save_LIBS 
    36603489fi 
    3661 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
     3490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
    36623491$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
    3663 if test $ac_cv_lib_ole32_puts = yes; then 
     3492if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    36643493  cat >>confdefs.h <<_ACEOF 
    36653494#define HAVE_LIBOLE32 1 
     
    36703499fi 
    36713500 
    3672  
    3673 { $as_echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
     3501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
    36743502$as_echo_n "checking for puts in -lwinmm... " >&6; } 
    3675 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
     3503if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
    36763504  $as_echo_n "(cached) " >&6 
    36773505else 
    36783506  ac_check_lib_save_LIBS=$LIBS 
    36793507LIBS="-lwinmm  $LIBS" 
    3680 cat >conftest.$ac_ext <<_ACEOF 
    3681 /* confdefs.h.  */ 
    3682 _ACEOF 
    3683 cat confdefs.h >>conftest.$ac_ext 
    3684 cat >>conftest.$ac_ext <<_ACEOF 
     3508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36853509/* end confdefs.h.  */ 
    36863510 
     
    37003524} 
    37013525_ACEOF 
    3702 rm -f conftest.$ac_objext conftest$ac_exeext 
    3703 if { (ac_try="$ac_link" 
    3704 case "(($ac_try" in 
    3705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3706   *) ac_try_echo=$ac_try;; 
    3707 esac 
    3708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3709 $as_echo "$ac_try_echo") >&5 
    3710   (eval "$ac_link") 2>conftest.er1 
    3711   ac_status=$? 
    3712   grep -v '^ *+' conftest.er1 >conftest.err 
    3713   rm -f conftest.er1 
    3714   cat conftest.err >&5 
    3715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3716   (exit $ac_status); } && { 
    3717          test -z "$ac_c_werror_flag" || 
    3718          test ! -s conftest.err 
    3719        } && test -s conftest$ac_exeext && { 
    3720          test "$cross_compiling" = yes || 
    3721          $as_test_x conftest$ac_exeext 
    3722        }; then 
     3526if ac_fn_c_try_link "$LINENO"; then : 
    37233527  ac_cv_lib_winmm_puts=yes 
    37243528else 
    3725   $as_echo "$as_me: failed program was:" >&5 
    3726 sed 's/^/| /' conftest.$ac_ext >&5 
    3727  
    3728         ac_cv_lib_winmm_puts=no 
    3729 fi 
    3730  
    3731 rm -rf conftest.dSYM 
    3732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3733       conftest$ac_exeext conftest.$ac_ext 
     3529  ac_cv_lib_winmm_puts=no 
     3530fi 
     3531rm -f core conftest.err conftest.$ac_objext \ 
     3532    conftest$ac_exeext conftest.$ac_ext 
    37343533LIBS=$ac_check_lib_save_LIBS 
    37353534fi 
    3736 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
     3535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
    37373536$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
    3738 if test $ac_cv_lib_winmm_puts = yes; then 
     3537if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    37393538  cat >>confdefs.h <<_ACEOF 
    37403539#define HAVE_LIBWINMM 1 
     
    37453544fi 
    37463545 
    3747  
    3748 { $as_echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
     3546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
    37493547$as_echo_n "checking for puts in -lsocket... " >&6; } 
    3750 if test "${ac_cv_lib_socket_puts+set}" = set; then 
     3548if test "${ac_cv_lib_socket_puts+set}" = set; then : 
    37513549  $as_echo_n "(cached) " >&6 
    37523550else 
    37533551  ac_check_lib_save_LIBS=$LIBS 
    37543552LIBS="-lsocket  $LIBS" 
    3755 cat >conftest.$ac_ext <<_ACEOF 
    3756 /* confdefs.h.  */ 
    3757 _ACEOF 
    3758 cat confdefs.h >>conftest.$ac_ext 
    3759 cat >>conftest.$ac_ext <<_ACEOF 
     3553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37603554/* end confdefs.h.  */ 
    37613555 
     
    37753569} 
    37763570_ACEOF 
    3777 rm -f conftest.$ac_objext conftest$ac_exeext 
    3778 if { (ac_try="$ac_link" 
    3779 case "(($ac_try" in 
    3780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3781   *) ac_try_echo=$ac_try;; 
    3782 esac 
    3783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3784 $as_echo "$ac_try_echo") >&5 
    3785   (eval "$ac_link") 2>conftest.er1 
    3786   ac_status=$? 
    3787   grep -v '^ *+' conftest.er1 >conftest.err 
    3788   rm -f conftest.er1 
    3789   cat conftest.err >&5 
    3790   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3791   (exit $ac_status); } && { 
    3792          test -z "$ac_c_werror_flag" || 
    3793          test ! -s conftest.err 
    3794        } && test -s conftest$ac_exeext && { 
    3795          test "$cross_compiling" = yes || 
    3796          $as_test_x conftest$ac_exeext 
    3797        }; then 
     3571if ac_fn_c_try_link "$LINENO"; then : 
    37983572  ac_cv_lib_socket_puts=yes 
    37993573else 
    3800   $as_echo "$as_me: failed program was:" >&5 
    3801 sed 's/^/| /' conftest.$ac_ext >&5 
    3802  
    3803         ac_cv_lib_socket_puts=no 
    3804 fi 
    3805  
    3806 rm -rf conftest.dSYM 
    3807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3808       conftest$ac_exeext conftest.$ac_ext 
     3574  ac_cv_lib_socket_puts=no 
     3575fi 
     3576rm -f core conftest.err conftest.$ac_objext \ 
     3577    conftest$ac_exeext conftest.$ac_ext 
    38093578LIBS=$ac_check_lib_save_LIBS 
    38103579fi 
    3811 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
     3580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
    38123581$as_echo "$ac_cv_lib_socket_puts" >&6; } 
    3813 if test $ac_cv_lib_socket_puts = yes; then 
     3582if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    38143583  cat >>confdefs.h <<_ACEOF 
    38153584#define HAVE_LIBSOCKET 1 
     
    38203589fi 
    38213590 
    3822  
    3823 { $as_echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
     3591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
    38243592$as_echo_n "checking for puts in -lrt... " >&6; } 
    3825 if test "${ac_cv_lib_rt_puts+set}" = set; then 
     3593if test "${ac_cv_lib_rt_puts+set}" = set; then : 
    38263594  $as_echo_n "(cached) " >&6 
    38273595else 
    38283596  ac_check_lib_save_LIBS=$LIBS 
    38293597LIBS="-lrt  $LIBS" 
    3830 cat >conftest.$ac_ext <<_ACEOF 
    3831 /* confdefs.h.  */ 
    3832 _ACEOF 
    3833 cat confdefs.h >>conftest.$ac_ext 
    3834 cat >>conftest.$ac_ext <<_ACEOF 
     3598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38353599/* end confdefs.h.  */ 
    38363600 
     
    38503614} 
    38513615_ACEOF 
    3852 rm -f conftest.$ac_objext conftest$ac_exeext 
    3853 if { (ac_try="$ac_link" 
    3854 case "(($ac_try" in 
    3855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3856   *) ac_try_echo=$ac_try;; 
    3857 esac 
    3858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3859 $as_echo "$ac_try_echo") >&5 
    3860   (eval "$ac_link") 2>conftest.er1 
    3861   ac_status=$? 
    3862   grep -v '^ *+' conftest.er1 >conftest.err 
    3863   rm -f conftest.er1 
    3864   cat conftest.err >&5 
    3865   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3866   (exit $ac_status); } && { 
    3867          test -z "$ac_c_werror_flag" || 
    3868          test ! -s conftest.err 
    3869        } && test -s conftest$ac_exeext && { 
    3870          test "$cross_compiling" = yes || 
    3871          $as_test_x conftest$ac_exeext 
    3872        }; then 
     3616if ac_fn_c_try_link "$LINENO"; then : 
    38733617  ac_cv_lib_rt_puts=yes 
    38743618else 
    3875   $as_echo "$as_me: failed program was:" >&5 
    3876 sed 's/^/| /' conftest.$ac_ext >&5 
    3877  
    3878         ac_cv_lib_rt_puts=no 
    3879 fi 
    3880  
    3881 rm -rf conftest.dSYM 
    3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3883       conftest$ac_exeext conftest.$ac_ext 
     3619  ac_cv_lib_rt_puts=no 
     3620fi 
     3621rm -f core conftest.err conftest.$ac_objext \ 
     3622    conftest$ac_exeext conftest.$ac_ext 
    38843623LIBS=$ac_check_lib_save_LIBS 
    38853624fi 
    3886 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
     3625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
    38873626$as_echo "$ac_cv_lib_rt_puts" >&6; } 
    3888 if test $ac_cv_lib_rt_puts = yes; then 
     3627if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38893628  cat >>confdefs.h <<_ACEOF 
    38903629#define HAVE_LIBRT 1 
     
    38953634fi 
    38963635 
    3897  
    3898 { $as_echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
     3636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
    38993637$as_echo_n "checking for puts in -lnsl... " >&6; } 
    3900 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
     3638if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
    39013639  $as_echo_n "(cached) " >&6 
    39023640else 
    39033641  ac_check_lib_save_LIBS=$LIBS 
    39043642LIBS="-lnsl  $LIBS" 
    3905 cat >conftest.$ac_ext <<_ACEOF 
    3906 /* confdefs.h.  */ 
    3907 _ACEOF 
    3908 cat confdefs.h >>conftest.$ac_ext 
    3909 cat >>conftest.$ac_ext <<_ACEOF 
     3643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39103644/* end confdefs.h.  */ 
    39113645 
     
    39253659} 
    39263660_ACEOF 
    3927 rm -f conftest.$ac_objext conftest$ac_exeext 
    3928 if { (ac_try="$ac_link" 
    3929 case "(($ac_try" in 
    3930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3931   *) ac_try_echo=$ac_try;; 
    3932 esac 
    3933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    3934 $as_echo "$ac_try_echo") >&5 
    3935   (eval "$ac_link") 2>conftest.er1 
    3936   ac_status=$? 
    3937   grep -v '^ *+' conftest.er1 >conftest.err 
    3938   rm -f conftest.er1 
    3939   cat conftest.err >&5 
    3940   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3941   (exit $ac_status); } && { 
    3942          test -z "$ac_c_werror_flag" || 
    3943          test ! -s conftest.err 
    3944        } && test -s conftest$ac_exeext && { 
    3945          test "$cross_compiling" = yes || 
    3946          $as_test_x conftest$ac_exeext 
    3947        }; then 
     3661if ac_fn_c_try_link "$LINENO"; then : 
    39483662  ac_cv_lib_nsl_puts=yes 
    39493663else 
    3950   $as_echo "$as_me: failed program was:" >&5 
    3951 sed 's/^/| /' conftest.$ac_ext >&5 
    3952  
    3953         ac_cv_lib_nsl_puts=no 
    3954 fi 
    3955  
    3956 rm -rf conftest.dSYM 
    3957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3958       conftest$ac_exeext conftest.$ac_ext 
     3664  ac_cv_lib_nsl_puts=no 
     3665fi 
     3666rm -f core conftest.err conftest.$ac_objext \ 
     3667    conftest$ac_exeext conftest.$ac_ext 
    39593668LIBS=$ac_check_lib_save_LIBS 
    39603669fi 
    3961 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
     3670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
    39623671$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
    3963 if test $ac_cv_lib_nsl_puts = yes; then 
     3672if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    39643673  cat >>confdefs.h <<_ACEOF 
    39653674#define HAVE_LIBNSL 1 
     
    39703679fi 
    39713680 
    3972  
    3973 { $as_echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    39743682$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    3975 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3683if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    39763684  $as_echo_n "(cached) " >&6 
    39773685else 
    39783686  ac_check_lib_save_LIBS=$LIBS 
    39793687LIBS="-luuid  $LIBS" 
    3980 cat >conftest.$ac_ext <<_ACEOF 
    3981 /* confdefs.h.  */ 
    3982 _ACEOF 
    3983 cat confdefs.h >>conftest.$ac_ext 
    3984 cat >>conftest.$ac_ext <<_ACEOF 
     3688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39853689/* end confdefs.h.  */ 
    39863690 
     
    40003704} 
    40013705_ACEOF 
    4002 rm -f conftest.$ac_objext conftest$ac_exeext 
    4003 if { (ac_try="$ac_link" 
    4004 case "(($ac_try" in 
    4005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4006   *) ac_try_echo=$ac_try;; 
    4007 esac 
    4008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4009 $as_echo "$ac_try_echo") >&5 
    4010   (eval "$ac_link") 2>conftest.er1 
    4011   ac_status=$? 
    4012   grep -v '^ *+' conftest.er1 >conftest.err 
    4013   rm -f conftest.er1 
    4014   cat conftest.err >&5 
    4015   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4016   (exit $ac_status); } && { 
    4017          test -z "$ac_c_werror_flag" || 
    4018          test ! -s conftest.err 
    4019        } && test -s conftest$ac_exeext && { 
    4020          test "$cross_compiling" = yes || 
    4021          $as_test_x conftest$ac_exeext 
    4022        }; then 
     3706if ac_fn_c_try_link "$LINENO"; then : 
    40233707  ac_cv_lib_uuid_uuid_generate=yes 
    40243708else 
    4025   $as_echo "$as_me: failed program was:" >&5 
    4026 sed 's/^/| /' conftest.$ac_ext >&5 
    4027  
    4028         ac_cv_lib_uuid_uuid_generate=no 
    4029 fi 
    4030  
    4031 rm -rf conftest.dSYM 
    4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4033       conftest$ac_exeext conftest.$ac_ext 
     3709  ac_cv_lib_uuid_uuid_generate=no 
     3710fi 
     3711rm -f core conftest.err conftest.$ac_objext \ 
     3712    conftest$ac_exeext conftest.$ac_ext 
    40343713LIBS=$ac_check_lib_save_LIBS 
    40353714fi 
    4036 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    40373716$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4038 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3717if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40393718  cat >>confdefs.h <<_ACEOF 
    40403719#define HAVE_LIBUUID 1 
     
    40453724fi 
    40463725 
    4047 { $as_echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
     3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
    40483727$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
    4049 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
     3728if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
    40503729  $as_echo_n "(cached) " >&6 
    40513730else 
    40523731  ac_check_lib_save_LIBS=$LIBS 
    40533732LIBS="-luuid  $LIBS" 
    4054 cat >conftest.$ac_ext <<_ACEOF 
    4055 /* confdefs.h.  */ 
    4056 _ACEOF 
    4057 cat confdefs.h >>conftest.$ac_ext 
    4058 cat >>conftest.$ac_ext <<_ACEOF 
     3733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40593734/* end confdefs.h.  */ 
    40603735 
     
    40743749} 
    40753750_ACEOF 
    4076 rm -f conftest.$ac_objext conftest$ac_exeext 
    4077 if { (ac_try="$ac_link" 
    4078 case "(($ac_try" in 
    4079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4080   *) ac_try_echo=$ac_try;; 
    4081 esac 
    4082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4083 $as_echo "$ac_try_echo") >&5 
    4084   (eval "$ac_link") 2>conftest.er1 
    4085   ac_status=$? 
    4086   grep -v '^ *+' conftest.er1 >conftest.err 
    4087   rm -f conftest.er1 
    4088   cat conftest.err >&5 
    4089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4090   (exit $ac_status); } && { 
    4091          test -z "$ac_c_werror_flag" || 
    4092          test ! -s conftest.err 
    4093        } && test -s conftest$ac_exeext && { 
    4094          test "$cross_compiling" = yes || 
    4095          $as_test_x conftest$ac_exeext 
    4096        }; then 
     3751if ac_fn_c_try_link "$LINENO"; then : 
    40973752  ac_cv_lib_uuid_uuid_generate=yes 
    40983753else 
    4099   $as_echo "$as_me: failed program was:" >&5 
    4100 sed 's/^/| /' conftest.$ac_ext >&5 
    4101  
    4102         ac_cv_lib_uuid_uuid_generate=no 
    4103 fi 
    4104  
    4105 rm -rf conftest.dSYM 
    4106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4107       conftest$ac_exeext conftest.$ac_ext 
     3754  ac_cv_lib_uuid_uuid_generate=no 
     3755fi 
     3756rm -f core conftest.err conftest.$ac_objext \ 
     3757    conftest$ac_exeext conftest.$ac_ext 
    41083758LIBS=$ac_check_lib_save_LIBS 
    41093759fi 
    4110 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    41113761$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4112 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3762if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    41133763  ac_has_uuid_lib=1 
    41143764fi 
    41153765 
    41163766 
    4117 { $as_echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
    41183768$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    41193769cat >>confdefs.h <<_ACEOF 
     
    41223772 
    41233773 
    4124 { $as_echo "$as_me:$LINENO: checking memory alignment" >&5 
     3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
    41253775$as_echo_n "checking memory alignment... " >&6; } 
    41263776case $target in 
    41273777    ia64-* | x86_64-* ) 
    4128         cat >>confdefs.h <<\_ACEOF 
    4129 #define PJ_POOL_ALIGNMENT 8 
    4130 _ACEOF 
    4131  
    4132         { $as_echo "$as_me:$LINENO: result: 8 bytes" >&5 
     3778        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3779 
     3780        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
    41333781$as_echo "8 bytes" >&6; } 
    41343782        ;; 
    41353783    * ) 
    4136         cat >>confdefs.h <<\_ACEOF 
    4137 #define PJ_POOL_ALIGNMENT 4 
    4138 _ACEOF 
    4139  
    4140         { $as_echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
     3784        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3785 
     3786        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
    41413787$as_echo "4 bytes (default)" >&6; } 
    41423788        ;; 
     
    41493795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    41503796ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4151 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     3797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
    41523798$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    41533799# On Suns, sometimes $CPP names a directory. 
     
    41563802fi 
    41573803if test -z "$CPP"; then 
    4158   if test "${ac_cv_prog_CPP+set}" = set; then 
     3804  if test "${ac_cv_prog_CPP+set}" = set; then : 
    41593805  $as_echo_n "(cached) " >&6 
    41603806else 
     
    41713817  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41723818  # not just through cpp. "Syntax error" is here to catch this case. 
    4173   cat >conftest.$ac_ext <<_ACEOF 
    4174 /* confdefs.h.  */ 
    4175 _ACEOF 
    4176 cat confdefs.h >>conftest.$ac_ext 
    4177 cat >>conftest.$ac_ext <<_ACEOF 
     3819  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41783820/* end confdefs.h.  */ 
    41793821#ifdef __STDC__ 
     
    41843826                     Syntax error 
    41853827_ACEOF 
    4186 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4187 case "(($ac_try" in 
    4188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4189   *) ac_try_echo=$ac_try;; 
    4190 esac 
    4191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4192 $as_echo "$ac_try_echo") >&5 
    4193   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4194   ac_status=$? 
    4195   grep -v '^ *+' conftest.er1 >conftest.err 
    4196   rm -f conftest.er1 
    4197   cat conftest.err >&5 
    4198   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4199   (exit $ac_status); } >/dev/null && { 
    4200          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4201          test ! -s conftest.err 
    4202        }; then 
    4203   : 
    4204 else 
    4205   $as_echo "$as_me: failed program was:" >&5 
    4206 sed 's/^/| /' conftest.$ac_ext >&5 
    4207  
     3828if ac_fn_c_try_cpp "$LINENO"; then : 
     3829 
     3830else 
    42083831  # Broken: fails on valid input. 
    42093832continue 
    42103833fi 
    4211  
    42123834rm -f conftest.err conftest.$ac_ext 
    42133835 
    42143836  # OK, works on sane cases.  Now check whether nonexistent headers 
    42153837  # can be detected and how. 
    4216   cat >conftest.$ac_ext <<_ACEOF 
    4217 /* confdefs.h.  */ 
    4218 _ACEOF 
    4219 cat confdefs.h >>conftest.$ac_ext 
    4220 cat >>conftest.$ac_ext <<_ACEOF 
     3838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42213839/* end confdefs.h.  */ 
    42223840#include <ac_nonexistent.h> 
    42233841_ACEOF 
    4224 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4225 case "(($ac_try" in 
    4226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4227   *) ac_try_echo=$ac_try;; 
    4228 esac 
    4229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4230 $as_echo "$ac_try_echo") >&5 
    4231   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4232   ac_status=$? 
    4233   grep -v '^ *+' conftest.er1 >conftest.err 
    4234   rm -f conftest.er1 
    4235   cat conftest.err >&5 
    4236   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4237   (exit $ac_status); } >/dev/null && { 
    4238          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4239          test ! -s conftest.err 
    4240        }; then 
     3842if ac_fn_c_try_cpp "$LINENO"; then : 
    42413843  # Broken: success on invalid input. 
    42423844continue 
    42433845else 
    4244   $as_echo "$as_me: failed program was:" >&5 
    4245 sed 's/^/| /' conftest.$ac_ext >&5 
    4246  
    42473846  # Passes both tests. 
    42483847ac_preproc_ok=: 
    42493848break 
    42503849fi 
    4251  
    42523850rm -f conftest.err conftest.$ac_ext 
    42533851 
     
    42553853# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42563854rm -f conftest.err conftest.$ac_ext 
    4257 if $ac_preproc_ok; then 
     3855if $ac_preproc_ok; then : 
    42583856  break 
    42593857fi 
     
    42673865  ac_cv_prog_CPP=$CPP 
    42683866fi 
    4269 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 
     3867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
    42703868$as_echo "$CPP" >&6; } 
    42713869ac_preproc_ok=false 
     
    42783876  # On the NeXT, cc -E runs the code through the compiler's parser, 
    42793877  # not just through cpp. "Syntax error" is here to catch this case. 
    4280   cat >conftest.$ac_ext <<_ACEOF 
    4281 /* confdefs.h.  */ 
    4282 _ACEOF 
    4283 cat confdefs.h >>conftest.$ac_ext 
    4284 cat >>conftest.$ac_ext <<_ACEOF 
     3878  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42853879/* end confdefs.h.  */ 
    42863880#ifdef __STDC__ 
     
    42913885                     Syntax error 
    42923886_ACEOF 
    4293 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4294 case "(($ac_try" in 
    4295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4296   *) ac_try_echo=$ac_try;; 
    4297 esac 
    4298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4299 $as_echo "$ac_try_echo") >&5 
    4300   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4301   ac_status=$? 
    4302   grep -v '^ *+' conftest.er1 >conftest.err 
    4303   rm -f conftest.er1 
    4304   cat conftest.err >&5 
    4305   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4306   (exit $ac_status); } >/dev/null && { 
    4307          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4308          test ! -s conftest.err 
    4309        }; then 
    4310   : 
    4311 else 
    4312   $as_echo "$as_me: failed program was:" >&5 
    4313 sed 's/^/| /' conftest.$ac_ext >&5 
    4314  
     3887if ac_fn_c_try_cpp "$LINENO"; then : 
     3888 
     3889else 
    43153890  # Broken: fails on valid input. 
    43163891continue 
    43173892fi 
    4318  
    43193893rm -f conftest.err conftest.$ac_ext 
    43203894 
    43213895  # OK, works on sane cases.  Now check whether nonexistent headers 
    43223896  # can be detected and how. 
    4323   cat >conftest.$ac_ext <<_ACEOF 
    4324 /* confdefs.h.  */ 
    4325 _ACEOF 
    4326 cat confdefs.h >>conftest.$ac_ext 
    4327 cat >>conftest.$ac_ext <<_ACEOF 
     3897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    43283898/* end confdefs.h.  */ 
    43293899#include <ac_nonexistent.h> 
    43303900_ACEOF 
    4331 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4332 case "(($ac_try" in 
    4333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4334   *) ac_try_echo=$ac_try;; 
    4335 esac 
    4336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4337 $as_echo "$ac_try_echo") >&5 
    4338   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4339   ac_status=$? 
    4340   grep -v '^ *+' conftest.er1 >conftest.err 
    4341   rm -f conftest.er1 
    4342   cat conftest.err >&5 
    4343   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4344   (exit $ac_status); } >/dev/null && { 
    4345          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4346          test ! -s conftest.err 
    4347        }; then 
     3901if ac_fn_c_try_cpp "$LINENO"; then : 
    43483902  # Broken: success on invalid input. 
    43493903continue 
    43503904else 
    4351   $as_echo "$as_me: failed program was:" >&5 
    4352 sed 's/^/| /' conftest.$ac_ext >&5 
    4353  
    43543905  # Passes both tests. 
    43553906ac_preproc_ok=: 
    43563907break 
    43573908fi 
    4358  
    43593909rm -f conftest.err conftest.$ac_ext 
    43603910 
     
    43623912# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    43633913rm -f conftest.err conftest.$ac_ext 
    4364 if $ac_preproc_ok; then 
    4365   : 
    4366 else 
    4367   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4368 See \`config.log' for more details." >&5 
    4369 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4370 See \`config.log' for more details." >&2;} 
    4371    { (exit 1); exit 1; }; } 
     3914if $ac_preproc_ok; then : 
     3915 
     3916else 
     3917  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     3918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     3919as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     3920See \`config.log' for more details." "$LINENO" 5; } 
    43723921fi 
    43733922 
     
    43793928 
    43803929 
    4381 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
     3930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
    43823931$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
    4383 if test "${ac_cv_path_GREP+set}" = set; then 
     3932if test "${ac_cv_path_GREP+set}" = set; then : 
    43843933  $as_echo_n "(cached) " >&6 
    43853934else 
     
    43923941  IFS=$as_save_IFS 
    43933942  test -z "$as_dir" && as_dir=. 
    4394   for ac_prog in grep ggrep; do 
     3943    for ac_prog in grep ggrep; do 
    43953944    for ac_exec_ext in '' $ac_executable_extensions; do 
    43963945      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     
    44123961    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44133962    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4414     ac_count=`expr $ac_count + 1` 
     3963    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44153964    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    44163965      # Best one so far, save it but keep looking for a better one 
     
    44273976    done 
    44283977  done 
    4429 done 
     3978  done 
    44303979IFS=$as_save_IFS 
    44313980  if test -z "$ac_cv_path_GREP"; then 
    4432     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4433 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4434    { (exit 1); exit 1; }; } 
     3981    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    44353982  fi 
    44363983else 
     
    44393986 
    44403987fi 
    4441 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
     3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
    44423989$as_echo "$ac_cv_path_GREP" >&6; } 
    44433990 GREP="$ac_cv_path_GREP" 
    44443991 
    44453992 
    4446 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 
     3993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
    44473994$as_echo_n "checking for egrep... " >&6; } 
    4448 if test "${ac_cv_path_EGREP+set}" = set; then 
     3995if test "${ac_cv_path_EGREP+set}" = set; then : 
    44493996  $as_echo_n "(cached) " >&6 
    44503997else 
     
    44604007  IFS=$as_save_IFS 
    44614008  test -z "$as_dir" && as_dir=. 
    4462   for ac_prog in egrep; do 
     4009    for ac_prog in egrep; do 
    44634010    for ac_exec_ext in '' $ac_executable_extensions; do 
    44644011      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     
    44804027    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44814028    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4482     ac_count=`expr $ac_count + 1` 
     4029    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44834030    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44844031      # Best one so far, save it but keep looking for a better one 
     
    44954042    done 
    44964043  done 
    4497 done 
     4044  done 
    44984045IFS=$as_save_IFS 
    44994046  if test -z "$ac_cv_path_EGREP"; then 
    4500     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4501 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4502    { (exit 1); exit 1; }; } 
     4047    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
    45034048  fi 
    45044049else 
     
    45084053   fi 
    45094054fi 
    4510 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
     4055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
    45114056$as_echo "$ac_cv_path_EGREP" >&6; } 
    45124057 EGREP="$ac_cv_path_EGREP" 
    45134058 
    45144059 
    4515 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
    45164061$as_echo_n "checking for ANSI C header files... " >&6; } 
    4517 if test "${ac_cv_header_stdc+set}" = set; then 
     4062if test "${ac_cv_header_stdc+set}" = set; then : 
    45184063  $as_echo_n "(cached) " >&6 
    45194064else 
    4520   cat >conftest.$ac_ext <<_ACEOF 
    4521 /* confdefs.h.  */ 
    4522 _ACEOF 
    4523 cat confdefs.h >>conftest.$ac_ext 
    4524 cat >>conftest.$ac_ext <<_ACEOF 
     4065  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45254066/* end confdefs.h.  */ 
    45264067#include <stdlib.h> 
     
    45374078} 
    45384079_ACEOF 
    4539 rm -f conftest.$ac_objext 
    4540 if { (ac_try="$ac_compile" 
    4541 case "(($ac_try" in 
    4542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4543   *) ac_try_echo=$ac_try;; 
    4544 esac 
    4545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4546 $as_echo "$ac_try_echo") >&5 
    4547   (eval "$ac_compile") 2>conftest.er1 
    4548   ac_status=$? 
    4549   grep -v '^ *+' conftest.er1 >conftest.err 
    4550   rm -f conftest.er1 
    4551   cat conftest.err >&5 
    4552   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4553   (exit $ac_status); } && { 
    4554          test -z "$ac_c_werror_flag" || 
    4555          test ! -s conftest.err 
    4556        } && test -s conftest.$ac_objext; then 
     4080if ac_fn_c_try_compile "$LINENO"; then : 
    45574081  ac_cv_header_stdc=yes 
    45584082else 
    4559   $as_echo "$as_me: failed program was:" >&5 
    4560 sed 's/^/| /' conftest.$ac_ext >&5 
    4561  
    4562         ac_cv_header_stdc=no 
    4563 fi 
    4564  
     4083  ac_cv_header_stdc=no 
     4084fi 
    45654085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    45664086 
    45674087if test $ac_cv_header_stdc = yes; then 
    45684088  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4569   cat >conftest.$ac_ext <<_ACEOF 
    4570 /* confdefs.h.  */ 
    4571 _ACEOF 
    4572 cat confdefs.h >>conftest.$ac_ext 
    4573 cat >>conftest.$ac_ext <<_ACEOF 
     4089  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45744090/* end confdefs.h.  */ 
    45754091#include <string.h> 
     
    45774093_ACEOF 
    45784094if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4579   $EGREP "memchr" >/dev/null 2>&1; then 
    4580   : 
     4095  $EGREP "memchr" >/dev/null 2>&1; then : 
     4096 
    45814097else 
    45824098  ac_cv_header_stdc=no 
     
    45884104if test $ac_cv_header_stdc = yes; then 
    45894105  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4590   cat >conftest.$ac_ext <<_ACEOF 
    4591 /* confdefs.h.  */ 
    4592 _ACEOF 
    4593 cat confdefs.h >>conftest.$ac_ext 
    4594 cat >>conftest.$ac_ext <<_ACEOF 
     4106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45954107/* end confdefs.h.  */ 
    45964108#include <stdlib.h> 
     
    45984110_ACEOF 
    45994111if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4600   $EGREP "free" >/dev/null 2>&1; then 
    4601   : 
     4112  $EGREP "free" >/dev/null 2>&1; then : 
     4113 
    46024114else 
    46034115  ac_cv_header_stdc=no 
     
    46094121if test $ac_cv_header_stdc = yes; then 
    46104122  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4611   if test "$cross_compiling" = yes; then 
     4123  if test "$cross_compiling" = yes; then : 
    46124124  : 
    46134125else 
    4614   cat >conftest.$ac_ext <<_ACEOF 
    4615 /* confdefs.h.  */ 
    4616 _ACEOF 
    4617 cat confdefs.h >>conftest.$ac_ext 
    4618 cat >>conftest.$ac_ext <<_ACEOF 
     4126  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46194127/* end confdefs.h.  */ 
    46204128#include <ctype.h> 
     
    46434151} 
    46444152_ACEOF 
    4645 rm -f conftest$ac_exeext 
    4646 if { (ac_try="$ac_link" 
    4647 case "(($ac_try" in 
    4648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4649   *) ac_try_echo=$ac_try;; 
    4650 esac 
    4651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4652 $as_echo "$ac_try_echo") >&5 
    4653   (eval "$ac_link") 2>&5 
    4654   ac_status=$? 
    4655   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4656   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4657   { (case "(($ac_try" in 
    4658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4659   *) ac_try_echo=$ac_try;; 
    4660 esac 
    4661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4662 $as_echo "$ac_try_echo") >&5 
    4663   (eval "$ac_try") 2>&5 
    4664   ac_status=$? 
    4665   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4666   (exit $ac_status); }; }; then 
    4667   : 
    4668 else 
    4669   $as_echo "$as_me: program exited with status $ac_status" >&5 
    4670 $as_echo "$as_me: failed program was:" >&5 
    4671 sed 's/^/| /' conftest.$ac_ext >&5 
    4672  
    4673 ( exit $ac_status ) 
    4674 ac_cv_header_stdc=no 
    4675 fi 
    4676 rm -rf conftest.dSYM 
    4677 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4678 fi 
    4679  
    4680  
    4681 fi 
    4682 fi 
    4683 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     4153if ac_fn_c_try_run "$LINENO"; then : 
     4154 
     4155else 
     4156  ac_cv_header_stdc=no 
     4157fi 
     4158rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4159  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4160fi 
     4161 
     4162fi 
     4163fi 
     4164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
    46844165$as_echo "$ac_cv_header_stdc" >&6; } 
    46854166if test $ac_cv_header_stdc = yes; then 
    46864167 
    4687 cat >>confdefs.h <<\_ACEOF 
    4688 #define STDC_HEADERS 1 
    4689 _ACEOF 
     4168$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46904169 
    46914170fi 
    46924171 
    46934172# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4694  
    4695  
    4696  
    4697  
    4698  
    4699  
    4700  
    4701  
    4702  
    47034173for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    47044174                  inttypes.h stdint.h unistd.h 
    4705 do 
    4706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4707 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4708 $as_echo_n "checking for $ac_header... " >&6; } 
    4709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4710   $as_echo_n "(cached) " >&6 
    4711 else 
    4712   cat >conftest.$ac_ext <<_ACEOF 
    4713 /* confdefs.h.  */ 
    4714 _ACEOF 
    4715 cat confdefs.h >>conftest.$ac_ext 
    4716 cat >>conftest.$ac_ext <<_ACEOF 
    4717 /* end confdefs.h.  */ 
    4718 $ac_includes_default 
    4719  
    4720 #include <$ac_header> 
    4721 _ACEOF 
    4722 rm -f conftest.$ac_objext 
    4723 if { (ac_try="$ac_compile" 
    4724 case "(($ac_try" in 
    4725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4726   *) ac_try_echo=$ac_try;; 
    4727 esac 
    4728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4729 $as_echo "$ac_try_echo") >&5 
    4730   (eval "$ac_compile") 2>conftest.er1 
    4731   ac_status=$? 
    4732   grep -v '^ *+' conftest.er1 >conftest.err 
    4733   rm -f conftest.er1 
    4734   cat conftest.err >&5 
    4735   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4736   (exit $ac_status); } && { 
    4737          test -z "$ac_c_werror_flag" || 
    4738          test ! -s conftest.err 
    4739        } && test -s conftest.$ac_objext; then 
    4740   eval "$as_ac_Header=yes" 
    4741 else 
    4742   $as_echo "$as_me: failed program was:" >&5 
    4743 sed 's/^/| /' conftest.$ac_ext >&5 
    4744  
    4745         eval "$as_ac_Header=no" 
    4746 fi 
    4747  
    4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4749 fi 
    4750 ac_res=`eval 'as_val=${'$as_ac_Header'} 
    4751                  $as_echo "$as_val"'` 
    4752                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 
    4753 $as_echo "$ac_res" >&6; } 
    4754 if test `eval 'as_val=${'$as_ac_Header'} 
    4755                  $as_echo "$as_val"'` = yes; then 
     4175do : 
     4176  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4177ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4178" 
     4179eval as_val=\$$as_ac_Header 
     4180   if test "x$as_val" = x""yes; then : 
    47564181  cat >>confdefs.h <<_ACEOF 
    47574182#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     
    47634188 
    47644189 
    4765  
    4766  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
     4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
    47674191$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
    4768 if test "${ac_cv_c_bigendian+set}" = set; then 
     4192if test "${ac_cv_c_bigendian+set}" = set; then : 
    47694193  $as_echo_n "(cached) " >&6 
    47704194else 
    47714195  ac_cv_c_bigendian=unknown 
    47724196    # See if we're dealing with a universal compiler. 
    4773     cat >conftest.$ac_ext <<_ACEOF 
    4774 /* confdefs.h.  */ 
    4775 _ACEOF 
    4776 cat confdefs.h >>conftest.$ac_ext 
    4777 cat >>conftest.$ac_ext <<_ACEOF 
     4197    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47784198/* end confdefs.h.  */ 
    47794199#ifndef __APPLE_CC__ 
     
    47834203 
    47844204_ACEOF 
    4785 rm -f conftest.$ac_objext 
    4786 if { (ac_try="$ac_compile" 
    4787 case "(($ac_try" in 
    4788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4789   *) ac_try_echo=$ac_try;; 
    4790 esac 
    4791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4792 $as_echo "$ac_try_echo") >&5 
    4793   (eval "$ac_compile") 2>conftest.er1 
    4794   ac_status=$? 
    4795   grep -v '^ *+' conftest.er1 >conftest.err 
    4796   rm -f conftest.er1 
    4797   cat conftest.err >&5 
    4798   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4799   (exit $ac_status); } && { 
    4800          test -z "$ac_c_werror_flag" || 
    4801          test ! -s conftest.err 
    4802        } && test -s conftest.$ac_objext; then 
     4205if ac_fn_c_try_compile "$LINENO"; then : 
    48034206 
    48044207        # Check for potential -arch flags.  It is not universal unless 
    4805         # there are some -arch flags.  Note that *ppc* also matches 
    4806         # ppc64.  This check is also rather less than ideal. 
    4807         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #( 
    4808           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 
    4809         esac 
    4810 else 
    4811   $as_echo "$as_me: failed program was:" >&5 
    4812 sed 's/^/| /' conftest.$ac_ext >&5 
    4813  
    4814  
    4815 fi 
    4816  
     4208        # there are at least two -arch flags with different values. 
     4209        ac_arch= 
     4210        ac_prev= 
     4211        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4212         if test -n "$ac_prev"; then 
     4213           case $ac_word in 
     4214             i?86 | x86_64 | ppc | ppc64) 
     4215               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4216                 ac_arch=$ac_word 
     4217               else 
     4218                 ac_cv_c_bigendian=universal 
     4219                 break 
     4220               fi 
     4221               ;; 
     4222           esac 
     4223           ac_prev= 
     4224         elif test "x$ac_word" = "x-arch"; then 
     4225           ac_prev=arch 
     4226         fi 
     4227       done 
     4228fi 
    48174229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    48184230    if test $ac_cv_c_bigendian = unknown; then 
    48194231      # See if sys/param.h defines the BYTE_ORDER macro. 
    4820       cat >conftest.$ac_ext <<_ACEOF 
    4821 /* confdefs.h.  */ 
    4822 _ACEOF 
    4823 cat confdefs.h >>conftest.$ac_ext 
    4824 cat >>conftest.$ac_ext <<_ACEOF 
     4232      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48254233/* end confdefs.h.  */ 
    48264234#include <sys/types.h> 
     
    48404248} 
    48414249_ACEOF 
    4842 rm -f conftest.$ac_objext 
    4843 if { (ac_try="$ac_compile" 
    4844 case "(($ac_try" in 
    4845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4846   *) ac_try_echo=$ac_try;; 
    4847 esac 
    4848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4849 $as_echo "$ac_try_echo") >&5 
    4850   (eval "$ac_compile") 2>conftest.er1 
    4851   ac_status=$? 
    4852   grep -v '^ *+' conftest.er1 >conftest.err 
    4853   rm -f conftest.er1 
    4854   cat conftest.err >&5 
    4855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4856   (exit $ac_status); } && { 
    4857          test -z "$ac_c_werror_flag" || 
    4858          test ! -s conftest.err 
    4859        } && test -s conftest.$ac_objext; then 
     4250if ac_fn_c_try_compile "$LINENO"; then : 
    48604251  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4861          cat >conftest.$ac_ext <<_ACEOF 
    4862 /* confdefs.h.  */ 
    4863 _ACEOF 
    4864 cat confdefs.h >>conftest.$ac_ext 
    4865 cat >>conftest.$ac_ext <<_ACEOF 
     4252         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48664253/* end confdefs.h.  */ 
    48674254#include <sys/types.h> 
     
    48794266} 
    48804267_ACEOF 
    4881 rm -f conftest.$ac_objext 
    4882 if { (ac_try="$ac_compile" 
    4883 case "(($ac_try" in 
    4884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4885   *) ac_try_echo=$ac_try;; 
    4886 esac 
    4887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4888 $as_echo "$ac_try_echo") >&5 
    4889   (eval "$ac_compile") 2>conftest.er1 
    4890   ac_status=$? 
    4891   grep -v '^ *+' conftest.er1 >conftest.err 
    4892   rm -f conftest.er1 
    4893   cat conftest.err >&5 
    4894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4895   (exit $ac_status); } && { 
    4896          test -z "$ac_c_werror_flag" || 
    4897          test ! -s conftest.err 
    4898        } && test -s conftest.$ac_objext; then 
     4268if ac_fn_c_try_compile "$LINENO"; then : 
    48994269  ac_cv_c_bigendian=yes 
    49004270else 
    4901   $as_echo "$as_me: failed program was:" >&5 
    4902 sed 's/^/| /' conftest.$ac_ext >&5 
    4903  
    4904         ac_cv_c_bigendian=no 
    4905 fi 
    4906  
     4271  ac_cv_c_bigendian=no 
     4272fi 
    49074273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4908 else 
    4909   $as_echo "$as_me: failed program was:" >&5 
    4910 sed 's/^/| /' conftest.$ac_ext >&5 
    4911  
    4912  
    4913 fi 
    4914  
     4274fi 
    49154275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    49164276    fi 
    49174277    if test $ac_cv_c_bigendian = unknown; then 
    49184278      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
    4919       cat >conftest.$ac_ext <<_ACEOF 
    4920 /* confdefs.h.  */ 
    4921 _ACEOF 
    4922 cat confdefs.h >>conftest.$ac_ext 
    4923 cat >>conftest.$ac_ext <<_ACEOF 
     4279      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    49244280/* end confdefs.h.  */ 
    49254281#include <limits.h> 
     
    49364292} 
    49374293_ACEOF 
    4938 rm -f conftest.$ac_objext 
    4939 if { (ac_try="$ac_compile" 
    4940 case "(($ac_try" in 
    4941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4942   *) ac_try_echo=$ac_try;; 
    4943 esac 
    4944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4945 $as_echo "$ac_try_echo") >&5 
    4946   (eval "$ac_compile") 2>conftest.er1 
    4947   ac_status=$? 
    4948   grep -v '^ *+' conftest.er1 >conftest.err 
    4949   rm -f conftest.er1 
    4950   cat conftest.err >&5 
    4951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4952   (exit $ac_status); } && { 
    4953          test -z "$ac_c_werror_flag" || 
    4954          test ! -s conftest.err 
    4955        } && test -s conftest.$ac_objext; then 
     4294if ac_fn_c_try_compile "$LINENO"; then : 
    49564295  # It does; now see whether it defined to _BIG_ENDIAN or not. 
    4957          cat >conftest.$ac_ext <<_ACEOF 
    4958 /* confdefs.h.  */ 
    4959 _ACEOF 
    4960 cat confdefs.h >>conftest.$ac_ext 
    4961 cat >>conftest.$ac_ext <<_ACEOF 
     4296         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    49624297/* end confdefs.h.  */ 
    49634298#include <limits.h> 
     
    49744309} 
    49754310_ACEOF 
    4976 rm -f conftest.$ac_objext 
    4977 if { (ac_try="$ac_compile" 
    4978 case "(($ac_try" in 
    4979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4980   *) ac_try_echo=$ac_try;; 
    4981 esac 
    4982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    4983 $as_echo "$ac_try_echo") >&5 
    4984   (eval "$ac_compile") 2>conftest.er1 
    4985   ac_status=$? 
    4986   grep -v '^ *+' conftest.er1 >conftest.err 
    4987   rm -f conftest.er1 
    4988   cat conftest.err >&5 
    4989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4990   (exit $ac_status); } && { 
    4991          test -z "$ac_c_werror_flag" || 
    4992          test ! -s conftest.err 
    4993        } && test -s conftest.$ac_objext; then 
     4311if ac_fn_c_try_compile "$LINENO"; then : 
    49944312  ac_cv_c_bigendian=yes 
    49954313else 
    4996   $as_echo "$as_me: failed program was:" >&5 
    4997 sed 's/^/| /' conftest.$ac_ext >&5 
    4998  
    4999         ac_cv_c_bigendian=no 
    5000 fi 
    5001  
     4314  ac_cv_c_bigendian=no 
     4315fi 
    50024316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5003 else 
    5004   $as_echo "$as_me: failed program was:" >&5 
    5005 sed 's/^/| /' conftest.$ac_ext >&5 
    5006  
    5007  
    5008 fi 
    5009  
     4317fi 
    50104318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50114319    fi 
    50124320    if test $ac_cv_c_bigendian = unknown; then 
    50134321      # Compile a test program. 
    5014       if test "$cross_compiling" = yes; then 
     4322      if test "$cross_compiling" = yes; then : 
    50154323  # Try to guess by grepping values from an object file. 
    5016          cat >conftest.$ac_ext <<_ACEOF 
    5017 /* confdefs.h.  */ 
    5018 _ACEOF 
    5019 cat confdefs.h >>conftest.$ac_ext 
    5020 cat >>conftest.$ac_ext <<_ACEOF 
     4324         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50214325/* end confdefs.h.  */ 
    50224326short int ascii_mm[] = 
     
    50444348} 
    50454349_ACEOF 
    5046 rm -f conftest.$ac_objext 
    5047 if { (ac_try="$ac_compile" 
    5048 case "(($ac_try" in 
    5049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5050   *) ac_try_echo=$ac_try;; 
    5051 esac 
    5052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5053 $as_echo "$ac_try_echo") >&5 
    5054   (eval "$ac_compile") 2>conftest.er1 
    5055   ac_status=$? 
    5056   grep -v '^ *+' conftest.er1 >conftest.err 
    5057   rm -f conftest.er1 
    5058   cat conftest.err >&5 
    5059   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5060   (exit $ac_status); } && { 
    5061          test -z "$ac_c_werror_flag" || 
    5062          test ! -s conftest.err 
    5063        } && test -s conftest.$ac_objext; then 
     4350if ac_fn_c_try_compile "$LINENO"; then : 
    50644351  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
    50654352              ac_cv_c_bigendian=yes 
     
    50734360              fi 
    50744361            fi 
    5075 else 
    5076   $as_echo "$as_me: failed program was:" >&5 
    5077 sed 's/^/| /' conftest.$ac_ext >&5 
    5078  
    5079  
    5080 fi 
    5081  
     4362fi 
    50824363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    50834364else 
    5084   cat >conftest.$ac_ext <<_ACEOF 
    5085 /* confdefs.h.  */ 
    5086 _ACEOF 
    5087 cat confdefs.h >>conftest.$ac_ext 
    5088 cat >>conftest.$ac_ext <<_ACEOF 
     4365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50894366/* end confdefs.h.  */ 
    50904367$ac_includes_default 
     
    51064383} 
    51074384_ACEOF 
    5108 rm -f conftest$ac_exeext 
    5109 if { (ac_try="$ac_link" 
    5110 case "(($ac_try" in 
    5111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5112   *) ac_try_echo=$ac_try;; 
    5113 esac 
    5114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5115 $as_echo "$ac_try_echo") >&5 
    5116   (eval "$ac_link") 2>&5 
    5117   ac_status=$? 
    5118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5119   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    5120   { (case "(($ac_try" in 
    5121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5122   *) ac_try_echo=$ac_try;; 
    5123 esac 
    5124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5125 $as_echo "$ac_try_echo") >&5 
    5126   (eval "$ac_try") 2>&5 
    5127   ac_status=$? 
    5128   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5129   (exit $ac_status); }; }; then 
     4385if ac_fn_c_try_run "$LINENO"; then : 
    51304386  ac_cv_c_bigendian=no 
    51314387else 
    5132   $as_echo "$as_me: program exited with status $ac_status" >&5 
    5133 $as_echo "$as_me: failed program was:" >&5 
    5134 sed 's/^/| /' conftest.$ac_ext >&5 
    5135  
    5136 ( exit $ac_status ) 
    5137 ac_cv_c_bigendian=yes 
    5138 fi 
    5139 rm -rf conftest.dSYM 
    5140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    5141 fi 
    5142  
     4388  ac_cv_c_bigendian=yes 
     4389fi 
     4390rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4391  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4392fi 
    51434393 
    51444394    fi 
    51454395fi 
    5146 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
     4396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
    51474397$as_echo "$ac_cv_c_bigendian" >&6; } 
    51484398 case $ac_cv_c_bigendian in #( 
    51494399   yes) 
    5150      cat >>confdefs.h <<\_ACEOF 
    5151 #define WORDS_BIGENDIAN 1 
    5152 _ACEOF 
     4400     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
    51534401;; #( 
    51544402   no) 
     
    51564404   universal) 
    51574405 
    5158 cat >>confdefs.h <<\_ACEOF 
    5159 #define AC_APPLE_UNIVERSAL_BUILD 1 
    5160 _ACEOF 
     4406$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
    51614407 
    51624408     ;; #( 
    51634409   *) 
    5164      { { $as_echo "$as_me:$LINENO: error: unknown endianness 
    5165  presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    5166 $as_echo "$as_me: error: unknown endianness 
    5167  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    5168    { (exit 1); exit 1; }; } ;; 
     4410     as_fn_error "unknown endianness 
     4411 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
    51694412 esac 
    51704413 
     
    51724415case $target in 
    51734416    *mingw* | *cygw* | *win32* | *w32* ) 
    5174         cat >>confdefs.h <<\_ACEOF 
    5175 #define PJ_WIN32 1 
    5176 _ACEOF 
    5177  
    5178         cat >>confdefs.h <<\_ACEOF 
    5179 #define PJ_WIN32_WINNT 0x0400 
    5180 _ACEOF 
    5181  
    5182         cat >>confdefs.h <<\_ACEOF 
    5183 #define WIN32_LEAN_AND_MEAN 1 
    5184 _ACEOF 
     4417        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4418 
     4419        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4420 
     4421        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    51854422 
    51864423        ;; 
    51874424    *darwin*) 
    5188         cat >>confdefs.h <<\_ACEOF 
    5189 #define PJ_DARWINOS 1 
    5190 _ACEOF 
     4425        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    51914426 
    51924427        ;; 
    51934428    *linux*) 
    5194         cat >>confdefs.h <<\_ACEOF 
    5195 #define PJ_LINUX 1 
    5196 _ACEOF 
     4429        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    51974430 
    51984431        ;; 
    51994432    *rtems*) 
    5200         cat >>confdefs.h <<\_ACEOF 
    5201 #define PJ_RTEMS 1 
    5202 _ACEOF 
     4433        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    52034434 
    52044435        ;; 
    52054436    *sunos* | *solaris* ) 
    5206         cat >>confdefs.h <<\_ACEOF 
    5207 #define PJ_SUNOS 1 
    5208 _ACEOF 
     4437        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    52094438 
    52104439        ;; 
     
    52174446 
    52184447# Check whether --enable-floating-point was given. 
    5219 if test "${enable_floating_point+set}" = set; then 
     4448if test "${enable_floating_point+set}" = set; then : 
    52204449  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    5221                 cat >>confdefs.h <<\_ACEOF 
    5222 #define PJ_HAS_FLOATING_POINT 0 
    5223 _ACEOF 
    5224  
    5225                 { $as_echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
     4450                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4451 
     4452                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
    52264453$as_echo "Checking if floating point is disabled... yes" >&6; } 
    52274454               fi 
    52284455else 
    52294456 
    5230                 cat >>confdefs.h <<\_ACEOF 
    5231 #define PJ_HAS_FLOATING_POINT 1 
    5232 _ACEOF 
    5233  
    5234                 { $as_echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
     4457                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4458 
     4459                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
    52354460$as_echo "Checking if floating point is disabled... no" >&6; } 
    5236  
    5237 { $as_echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
     4461                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
    52384462$as_echo_n "checking for fmod in -lm... " >&6; } 
    5239 if test "${ac_cv_lib_m_fmod+set}" = set; then 
     4463if test "${ac_cv_lib_m_fmod+set}" = set; then : 
    52404464  $as_echo_n "(cached) " >&6 
    52414465else 
    52424466  ac_check_lib_save_LIBS=$LIBS 
    52434467LIBS="-lm  $LIBS" 
    5244 cat >conftest.$ac_ext <<_ACEOF 
    5245 /* confdefs.h.  */ 
    5246 _ACEOF 
    5247 cat confdefs.h >>conftest.$ac_ext 
    5248 cat >>conftest.$ac_ext <<_ACEOF 
     4468cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    52494469/* end confdefs.h.  */ 
    52504470 
     
    52644484} 
    52654485_ACEOF 
    5266 rm -f conftest.$ac_objext conftest$ac_exeext 
    5267 if { (ac_try="$ac_link" 
    5268 case "(($ac_try" in 
    5269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5270   *) ac_try_echo=$ac_try;; 
    5271 esac 
    5272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5273 $as_echo "$ac_try_echo") >&5 
    5274   (eval "$ac_link") 2>conftest.er1 
    5275   ac_status=$? 
    5276   grep -v '^ *+' conftest.er1 >conftest.err 
    5277   rm -f conftest.er1 
    5278   cat conftest.err >&5 
    5279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5280   (exit $ac_status); } && { 
    5281          test -z "$ac_c_werror_flag" || 
    5282          test ! -s conftest.err 
    5283        } && test -s conftest$ac_exeext && { 
    5284          test "$cross_compiling" = yes || 
    5285          $as_test_x conftest$ac_exeext 
    5286        }; then 
     4486if ac_fn_c_try_link "$LINENO"; then : 
    52874487  ac_cv_lib_m_fmod=yes 
    52884488else 
    5289   $as_echo "$as_me: failed program was:" >&5 
    5290 sed 's/^/| /' conftest.$ac_ext >&5 
    5291  
    5292         ac_cv_lib_m_fmod=no 
    5293 fi 
    5294  
    5295 rm -rf conftest.dSYM 
    5296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5297       conftest$ac_exeext conftest.$ac_ext 
     4489  ac_cv_lib_m_fmod=no 
     4490fi 
     4491rm -f core conftest.err conftest.$ac_objext \ 
     4492    conftest$ac_exeext conftest.$ac_ext 
    52984493LIBS=$ac_check_lib_save_LIBS 
    52994494fi 
    5300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
     4495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
    53014496$as_echo "$ac_cv_lib_m_fmod" >&6; } 
    5302 if test $ac_cv_lib_m_fmod = yes; then 
     4497if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    53034498  cat >>confdefs.h <<_ACEOF 
    53044499#define HAVE_LIBM 1 
     
    53144509 
    53154510 
    5316 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5317   { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5318 $as_echo_n "checking for arpa/inet.h... " >&6; } 
    5319 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5320   $as_echo_n "(cached) " >&6 
    5321 fi 
    5322 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5323 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 
    5324 else 
    5325   # Is the header compilable? 
    5326 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5327 $as_echo_n "checking arpa/inet.h usability... " >&6; } 
    5328 cat >conftest.$ac_ext <<_ACEOF 
    5329 /* confdefs.h.  */ 
    5330 _ACEOF 
    5331 cat confdefs.h >>conftest.$ac_ext 
    5332 cat >>conftest.$ac_ext <<_ACEOF 
    5333 /* end confdefs.h.  */ 
    5334 $ac_includes_default 
    5335 #include <arpa/inet.h> 
    5336 _ACEOF 
    5337 rm -f conftest.$ac_objext 
    5338 if { (ac_try="$ac_compile" 
    5339 case "(($ac_try" in 
    5340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5341   *) ac_try_echo=$ac_try;; 
    5342 esac 
    5343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5344 $as_echo "$ac_try_echo") >&5 
    5345   (eval "$ac_compile") 2>conftest.er1 
    5346   ac_status=$? 
    5347   grep -v '^ *+' conftest.er1 >conftest.err 
    5348   rm -f conftest.er1 
    5349   cat conftest.err >&5 
    5350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5351   (exit $ac_status); } && { 
    5352          test -z "$ac_c_werror_flag" || 
    5353          test ! -s conftest.err 
    5354        } && test -s conftest.$ac_objext; then 
    5355   ac_header_compiler=yes 
    5356 else 
    5357   $as_echo "$as_me: failed program was:" >&5 
    5358 sed 's/^/| /' conftest.$ac_ext >&5 
    5359  
    5360         ac_header_compiler=no 
    5361 fi 
    5362  
    5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5364 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5365 $as_echo "$ac_header_compiler" >&6; } 
    5366  
    5367 # Is the header present? 
    5368 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5369 $as_echo_n "checking arpa/inet.h presence... " >&6; } 
    5370 cat >conftest.$ac_ext <<_ACEOF 
    5371 /* confdefs.h.  */ 
    5372 _ACEOF 
    5373 cat confdefs.h >>conftest.$ac_ext 
    5374 cat >>conftest.$ac_ext <<_ACEOF 
    5375 /* end confdefs.h.  */ 
    5376 #include <arpa/inet.h> 
    5377 _ACEOF 
    5378 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5379 case "(($ac_try" in 
    5380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5381   *) ac_try_echo=$ac_try;; 
    5382 esac 
    5383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5384 $as_echo "$ac_try_echo") >&5 
    5385   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5386   ac_status=$? 
    5387   grep -v '^ *+' conftest.er1 >conftest.err 
    5388   rm -f conftest.er1 
    5389   cat conftest.err >&5 
    5390   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5391   (exit $ac_status); } >/dev/null && { 
    5392          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5393          test ! -s conftest.err 
    5394        }; then 
    5395   ac_header_preproc=yes 
    5396 else 
    5397   $as_echo "$as_me: failed program was:" >&5 
    5398 sed 's/^/| /' conftest.$ac_ext >&5 
    5399  
    5400   ac_header_preproc=no 
    5401 fi 
    5402  
    5403 rm -f conftest.err conftest.$ac_ext 
    5404 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5405 $as_echo "$ac_header_preproc" >&6; } 
    5406  
    5407 # So?  What about this header? 
    5408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5409   yes:no: ) 
    5410     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5411 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5412     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5413 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5414     ac_header_preproc=yes 
    5415     ;; 
    5416   no:yes:* ) 
    5417     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5418 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5419     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5420 $as_echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5421     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5422 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5423     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5424 $as_echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5425     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5426 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5427     { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5428 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5429  
    5430     ;; 
    5431 esac 
    5432 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5433 $as_echo_n "checking for arpa/inet.h... " >&6; } 
    5434 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5435   $as_echo_n "(cached) " >&6 
    5436 else 
    5437   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5438 fi 
    5439 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5440 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 
    5441  
    5442 fi 
    5443 if test $ac_cv_header_arpa_inet_h = yes; then 
    5444   cat >>confdefs.h <<\_ACEOF 
    5445 #define PJ_HAS_ARPA_INET_H 1 
    5446 _ACEOF 
    5447  
    5448 fi 
    5449  
    5450  
    5451 if test "${ac_cv_header_assert_h+set}" = set; then 
    5452   { $as_echo "$as_me:$LINENO: checking for assert.h" >&5 
    5453 $as_echo_n "checking for assert.h... " >&6; } 
    5454 if test "${ac_cv_header_assert_h+set}" = set; then 
    5455   $as_echo_n "(cached) " >&6 
    5456 fi 
    5457 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5458 $as_echo "$ac_cv_header_assert_h" >&6; } 
    5459 else 
    5460   # Is the header compilable? 
    5461 { $as_echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5462 $as_echo_n "checking assert.h usability... " >&6; } 
    5463 cat >conftest.$ac_ext <<_ACEOF 
    5464 /* confdefs.h.  */ 
    5465 _ACEOF 
    5466 cat confdefs.h >>conftest.$ac_ext 
    5467 cat >>conftest.$ac_ext <<_ACEOF 
    5468 /* end confdefs.h.  */ 
    5469 $ac_includes_default 
    5470 #include <assert.h> 
    5471 _ACEOF 
    5472 rm -f conftest.$ac_objext 
    5473 if { (ac_try="$ac_compile" 
    5474 case "(($ac_try" in 
    5475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5476   *) ac_try_echo=$ac_try;; 
    5477 esac 
    5478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5479 $as_echo "$ac_try_echo") >&5 
    5480   (eval "$ac_compile") 2>conftest.er1 
    5481   ac_status=$? 
    5482   grep -v '^ *+' conftest.er1 >conftest.err 
    5483   rm -f conftest.er1 
    5484   cat conftest.err >&5 
    5485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5486   (exit $ac_status); } && { 
    5487          test -z "$ac_c_werror_flag" || 
    5488          test ! -s conftest.err 
    5489        } && test -s conftest.$ac_objext; then 
    5490   ac_header_compiler=yes 
    5491 else 
    5492   $as_echo "$as_me: failed program was:" >&5 
    5493 sed 's/^/| /' conftest.$ac_ext >&5 
    5494  
    5495         ac_header_compiler=no 
    5496 fi 
    5497  
    5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5499 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5500 $as_echo "$ac_header_compiler" >&6; } 
    5501  
    5502 # Is the header present? 
    5503 { $as_echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5504 $as_echo_n "checking assert.h presence... " >&6; } 
    5505 cat >conftest.$ac_ext <<_ACEOF 
    5506 /* confdefs.h.  */ 
    5507 _ACEOF 
    5508 cat confdefs.h >>conftest.$ac_ext 
    5509 cat >>conftest.$ac_ext <<_ACEOF 
    5510 /* end confdefs.h.  */ 
    5511 #include <assert.h> 
    5512 _ACEOF 
    5513 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5514 case "(($ac_try" in 
    5515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5516   *) ac_try_echo=$ac_try;; 
    5517 esac 
    5518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5519 $as_echo "$ac_try_echo") >&5 
    5520   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5521   ac_status=$? 
    5522   grep -v '^ *+' conftest.er1 >conftest.err 
    5523   rm -f conftest.er1 
    5524   cat conftest.err >&5 
    5525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5526   (exit $ac_status); } >/dev/null && { 
    5527          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5528          test ! -s conftest.err 
    5529        }; then 
    5530   ac_header_preproc=yes 
    5531 else 
    5532   $as_echo "$as_me: failed program was:" >&5 
    5533 sed 's/^/| /' conftest.$ac_ext >&5 
    5534  
    5535   ac_header_preproc=no 
    5536 fi 
    5537  
    5538 rm -f conftest.err conftest.$ac_ext 
    5539 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5540 $as_echo "$ac_header_preproc" >&6; } 
    5541  
    5542 # So?  What about this header? 
    5543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5544   yes:no: ) 
    5545     { $as_echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5546 $as_echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5547     { $as_echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5548 $as_echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5549     ac_header_preproc=yes 
    5550     ;; 
    5551   no:yes:* ) 
    5552     { $as_echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5553 $as_echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5554     { $as_echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5555 $as_echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5556     { $as_echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5557 $as_echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5558     { $as_echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5559 $as_echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5560     { $as_echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5561 $as_echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5562     { $as_echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5563 $as_echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5564  
    5565     ;; 
    5566 esac 
    5567 { $as_echo "$as_me:$LINENO: checking for assert.h" >&5 
    5568 $as_echo_n "checking for assert.h... " >&6; } 
    5569 if test "${ac_cv_header_assert_h+set}" = set; then 
    5570   $as_echo_n "(cached) " >&6 
    5571 else 
    5572   ac_cv_header_assert_h=$ac_header_preproc 
    5573 fi 
    5574 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5575 $as_echo "$ac_cv_header_assert_h" >&6; } 
    5576  
    5577 fi 
    5578 if test $ac_cv_header_assert_h = yes; then 
    5579   cat >>confdefs.h <<\_ACEOF 
    5580 #define PJ_HAS_ASSERT_H 1 
    5581 _ACEOF 
    5582  
    5583 fi 
    5584  
    5585  
    5586 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5587   { $as_echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5588 $as_echo_n "checking for ctype.h... " >&6; } 
    5589 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5590   $as_echo_n "(cached) " >&6 
    5591 fi 
    5592 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5593 $as_echo "$ac_cv_header_ctype_h" >&6; } 
    5594 else 
    5595   # Is the header compilable? 
    5596 { $as_echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5597 $as_echo_n "checking ctype.h usability... " >&6; } 
    5598 cat >conftest.$ac_ext <<_ACEOF 
    5599 /* confdefs.h.  */ 
    5600 _ACEOF 
    5601 cat confdefs.h >>conftest.$ac_ext 
    5602 cat >>conftest.$ac_ext <<_ACEOF 
    5603 /* end confdefs.h.  */ 
    5604 $ac_includes_default 
    5605 #include <ctype.h> 
    5606 _ACEOF 
    5607 rm -f conftest.$ac_objext 
    5608 if { (ac_try="$ac_compile" 
    5609 case "(($ac_try" in 
    5610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5611   *) ac_try_echo=$ac_try;; 
    5612 esac 
    5613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5614 $as_echo "$ac_try_echo") >&5 
    5615   (eval "$ac_compile") 2>conftest.er1 
    5616   ac_status=$? 
    5617   grep -v '^ *+' conftest.er1 >conftest.err 
    5618   rm -f conftest.er1 
    5619   cat conftest.err >&5 
    5620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5621   (exit $ac_status); } && { 
    5622          test -z "$ac_c_werror_flag" || 
    5623          test ! -s conftest.err 
    5624        } && test -s conftest.$ac_objext; then 
    5625   ac_header_compiler=yes 
    5626 else 
    5627   $as_echo "$as_me: failed program was:" >&5 
    5628 sed 's/^/| /' conftest.$ac_ext >&5 
    5629  
    5630         ac_header_compiler=no 
    5631 fi 
    5632  
    5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5634 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5635 $as_echo "$ac_header_compiler" >&6; } 
    5636  
    5637 # Is the header present? 
    5638 { $as_echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5639 $as_echo_n "checking ctype.h presence... " >&6; } 
    5640 cat >conftest.$ac_ext <<_ACEOF 
    5641 /* confdefs.h.  */ 
    5642 _ACEOF 
    5643 cat confdefs.h >>conftest.$ac_ext 
    5644 cat >>conftest.$ac_ext <<_ACEOF 
    5645 /* end confdefs.h.  */ 
    5646 #include <ctype.h> 
    5647 _ACEOF 
    5648 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5649 case "(($ac_try" in 
    5650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5651   *) ac_try_echo=$ac_try;; 
    5652 esac 
    5653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5654 $as_echo "$ac_try_echo") >&5 
    5655   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5656   ac_status=$? 
    5657   grep -v '^ *+' conftest.er1 >conftest.err 
    5658   rm -f conftest.er1 
    5659   cat conftest.err >&5 
    5660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5661   (exit $ac_status); } >/dev/null && { 
    5662          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5663          test ! -s conftest.err 
    5664        }; then 
    5665   ac_header_preproc=yes 
    5666 else 
    5667   $as_echo "$as_me: failed program was:" >&5 
    5668 sed 's/^/| /' conftest.$ac_ext >&5 
    5669  
    5670   ac_header_preproc=no 
    5671 fi 
    5672  
    5673 rm -f conftest.err conftest.$ac_ext 
    5674 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5675 $as_echo "$ac_header_preproc" >&6; } 
    5676  
    5677 # So?  What about this header? 
    5678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5679   yes:no: ) 
    5680     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5681 $as_echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5682     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5683 $as_echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5684     ac_header_preproc=yes 
    5685     ;; 
    5686   no:yes:* ) 
    5687     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5688 $as_echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5689     { $as_echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5690 $as_echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5691     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5692 $as_echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5693     { $as_echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5694 $as_echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5695     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5696 $as_echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5697     { $as_echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5698 $as_echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5699  
    5700     ;; 
    5701 esac 
    5702 { $as_echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5703 $as_echo_n "checking for ctype.h... " >&6; } 
    5704 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5705   $as_echo_n "(cached) " >&6 
    5706 else 
    5707   ac_cv_header_ctype_h=$ac_header_preproc 
    5708 fi 
    5709 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5710 $as_echo "$ac_cv_header_ctype_h" >&6; } 
    5711  
    5712 fi 
    5713 if test $ac_cv_header_ctype_h = yes; then 
    5714   cat >>confdefs.h <<\_ACEOF 
    5715 #define PJ_HAS_CTYPE_H 1 
    5716 _ACEOF 
     4511ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4512if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4513  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4514 
     4515fi 
     4516 
     4517 
     4518ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4519if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4520  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4521 
     4522fi 
     4523 
     4524 
     4525ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4526if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4527  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    57174528 
    57184529fi 
     
    57224533case $target in 
    57234534    *mingw* | *cygw* | *win32* | *w32* ) 
    5724         cat >>confdefs.h <<\_ACEOF 
    5725 #define PJ_HAS_ERRNO_H 0 
    5726 _ACEOF 
     4535        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    57274536 
    57284537        ;; 
    57294538    *) 
    5730         if test "${ac_cv_header_errno_h+set}" = set; then 
    5731   { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 
    5732 $as_echo_n "checking for errno.h... " >&6; } 
    5733 if test "${ac_cv_header_errno_h+set}" = set; then 
    5734   $as_echo_n "(cached) " >&6 
    5735 fi 
    5736 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5737 $as_echo "$ac_cv_header_errno_h" >&6; } 
    5738 else 
    5739   # Is the header compilable? 
    5740 { $as_echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5741 $as_echo_n "checking errno.h usability... " >&6; } 
    5742 cat >conftest.$ac_ext <<_ACEOF 
    5743 /* confdefs.h.  */ 
    5744 _ACEOF 
    5745 cat confdefs.h >>conftest.$ac_ext 
    5746 cat >>conftest.$ac_ext <<_ACEOF 
    5747 /* end confdefs.h.  */ 
    5748 $ac_includes_default 
    5749 #include <errno.h> 
    5750 _ACEOF 
    5751 rm -f conftest.$ac_objext 
    5752 if { (ac_try="$ac_compile" 
    5753 case "(($ac_try" in 
    5754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5755   *) ac_try_echo=$ac_try;; 
    5756 esac 
    5757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5758 $as_echo "$ac_try_echo") >&5 
    5759   (eval "$ac_compile") 2>conftest.er1 
    5760   ac_status=$? 
    5761   grep -v '^ *+' conftest.er1 >conftest.err 
    5762   rm -f conftest.er1 
    5763   cat conftest.err >&5 
    5764   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5765   (exit $ac_status); } && { 
    5766          test -z "$ac_c_werror_flag" || 
    5767          test ! -s conftest.err 
    5768        } && test -s conftest.$ac_objext; then 
    5769   ac_header_compiler=yes 
    5770 else 
    5771   $as_echo "$as_me: failed program was:" >&5 
    5772 sed 's/^/| /' conftest.$ac_ext >&5 
    5773  
    5774         ac_header_compiler=no 
    5775 fi 
    5776  
    5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5778 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5779 $as_echo "$ac_header_compiler" >&6; } 
    5780  
    5781 # Is the header present? 
    5782 { $as_echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5783 $as_echo_n "checking errno.h presence... " >&6; } 
    5784 cat >conftest.$ac_ext <<_ACEOF 
    5785 /* confdefs.h.  */ 
    5786 _ACEOF 
    5787 cat confdefs.h >>conftest.$ac_ext 
    5788 cat >>conftest.$ac_ext <<_ACEOF 
    5789 /* end confdefs.h.  */ 
    5790 #include <errno.h> 
    5791 _ACEOF 
    5792 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5793 case "(($ac_try" in 
    5794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5795   *) ac_try_echo=$ac_try;; 
    5796 esac 
    5797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5798 $as_echo "$ac_try_echo") >&5 
    5799   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5800   ac_status=$? 
    5801   grep -v '^ *+' conftest.er1 >conftest.err 
    5802   rm -f conftest.er1 
    5803   cat conftest.err >&5 
    5804   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5805   (exit $ac_status); } >/dev/null && { 
    5806          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5807          test ! -s conftest.err 
    5808        }; then 
    5809   ac_header_preproc=yes 
    5810 else 
    5811   $as_echo "$as_me: failed program was:" >&5 
    5812 sed 's/^/| /' conftest.$ac_ext >&5 
    5813  
    5814   ac_header_preproc=no 
    5815 fi 
    5816  
    5817 rm -f conftest.err conftest.$ac_ext 
    5818 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5819 $as_echo "$ac_header_preproc" >&6; } 
    5820  
    5821 # So?  What about this header? 
    5822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5823   yes:no: ) 
    5824     { $as_echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5825 $as_echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5826     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5827 $as_echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5828     ac_header_preproc=yes 
    5829     ;; 
    5830   no:yes:* ) 
    5831     { $as_echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5832 $as_echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5833     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5834 $as_echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5835     { $as_echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5836 $as_echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5837     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5838 $as_echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5839     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5840 $as_echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5841     { $as_echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5842 $as_echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5843  
    5844     ;; 
    5845 esac 
    5846 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 
    5847 $as_echo_n "checking for errno.h... " >&6; } 
    5848 if test "${ac_cv_header_errno_h+set}" = set; then 
    5849   $as_echo_n "(cached) " >&6 
    5850 else 
    5851   ac_cv_header_errno_h=$ac_header_preproc 
    5852 fi 
    5853 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5854 $as_echo "$ac_cv_header_errno_h" >&6; } 
    5855  
    5856 fi 
    5857 if test $ac_cv_header_errno_h = yes; then 
    5858   cat >>confdefs.h <<\_ACEOF 
    5859 #define PJ_HAS_ERRNO_H 1 
    5860 _ACEOF 
     4539        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4540if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4541  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    58614542 
    58624543fi 
     
    58664547esac 
    58674548 
    5868 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5869   { $as_echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5870 $as_echo_n "checking for fcntl.h... " >&6; } 
    5871 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5872   $as_echo_n "(cached) " >&6 
    5873 fi 
    5874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5875 $as_echo "$ac_cv_header_fcntl_h" >&6; } 
    5876 else 
    5877   # Is the header compilable? 
    5878 { $as_echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5879 $as_echo_n "checking fcntl.h usability... " >&6; } 
    5880 cat >conftest.$ac_ext <<_ACEOF 
    5881 /* confdefs.h.  */ 
    5882 _ACEOF 
    5883 cat confdefs.h >>conftest.$ac_ext 
    5884 cat >>conftest.$ac_ext <<_ACEOF 
    5885 /* end confdefs.h.  */ 
    5886 $ac_includes_default 
    5887 #include <fcntl.h> 
    5888 _ACEOF 
    5889 rm -f conftest.$ac_objext 
    5890 if { (ac_try="$ac_compile" 
    5891 case "(($ac_try" in 
    5892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5893   *) ac_try_echo=$ac_try;; 
    5894 esac 
    5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5896 $as_echo "$ac_try_echo") >&5 
    5897   (eval "$ac_compile") 2>conftest.er1 
    5898   ac_status=$? 
    5899   grep -v '^ *+' conftest.er1 >conftest.err 
    5900   rm -f conftest.er1 
    5901   cat conftest.err >&5 
    5902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5903   (exit $ac_status); } && { 
    5904          test -z "$ac_c_werror_flag" || 
    5905          test ! -s conftest.err 
    5906        } && test -s conftest.$ac_objext; then 
    5907   ac_header_compiler=yes 
    5908 else 
    5909   $as_echo "$as_me: failed program was:" >&5 
    5910 sed 's/^/| /' conftest.$ac_ext >&5 
    5911  
    5912         ac_header_compiler=no 
    5913 fi 
    5914  
    5915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5916 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5917 $as_echo "$ac_header_compiler" >&6; } 
    5918  
    5919 # Is the header present? 
    5920 { $as_echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5921 $as_echo_n "checking fcntl.h presence... " >&6; } 
    5922 cat >conftest.$ac_ext <<_ACEOF 
    5923 /* confdefs.h.  */ 
    5924 _ACEOF 
    5925 cat confdefs.h >>conftest.$ac_ext 
    5926 cat >>conftest.$ac_ext <<_ACEOF 
    5927 /* end confdefs.h.  */ 
    5928 #include <fcntl.h> 
    5929 _ACEOF 
    5930 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5931 case "(($ac_try" in 
    5932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5933   *) ac_try_echo=$ac_try;; 
    5934 esac 
    5935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    5936 $as_echo "$ac_try_echo") >&5 
    5937   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5938   ac_status=$? 
    5939   grep -v '^ *+' conftest.er1 >conftest.err 
    5940   rm -f conftest.er1 
    5941   cat conftest.err >&5 
    5942   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5943   (exit $ac_status); } >/dev/null && { 
    5944          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5945          test ! -s conftest.err 
    5946        }; then 
    5947   ac_header_preproc=yes 
    5948 else 
    5949   $as_echo "$as_me: failed program was:" >&5 
    5950 sed 's/^/| /' conftest.$ac_ext >&5 
    5951  
    5952   ac_header_preproc=no 
    5953 fi 
    5954  
    5955 rm -f conftest.err conftest.$ac_ext 
    5956 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5957 $as_echo "$ac_header_preproc" >&6; } 
    5958  
    5959 # So?  What about this header? 
    5960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5961   yes:no: ) 
    5962     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5963 $as_echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5964     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5965 $as_echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5966     ac_header_preproc=yes 
    5967     ;; 
    5968   no:yes:* ) 
    5969     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5970 $as_echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5971     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5972 $as_echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5973     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5974 $as_echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5975     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5976 $as_echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5977     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5978 $as_echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5979     { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5980 $as_echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5981  
    5982     ;; 
    5983 esac 
    5984 { $as_echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5985 $as_echo_n "checking for fcntl.h... " >&6; } 
    5986 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5987   $as_echo_n "(cached) " >&6 
    5988 else 
    5989   ac_cv_header_fcntl_h=$ac_header_preproc 
    5990 fi 
    5991 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5992 $as_echo "$ac_cv_header_fcntl_h" >&6; } 
    5993  
    5994 fi 
    5995 if test $ac_cv_header_fcntl_h = yes; then 
    5996   cat >>confdefs.h <<\_ACEOF 
    5997 #define PJ_HAS_FCNTL_H 1 
    5998 _ACEOF 
    5999  
    6000 fi 
    6001  
    6002  
    6003 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    6004   { $as_echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    6005 $as_echo_n "checking for linux/socket.h... " >&6; } 
    6006 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    6007   $as_echo_n "(cached) " >&6 
    6008 fi 
    6009 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    6010 $as_echo "$ac_cv_header_linux_socket_h" >&6; } 
    6011 else 
    6012   # Is the header compilable? 
    6013 { $as_echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    6014 $as_echo_n "checking linux/socket.h usability... " >&6; } 
    6015 cat >conftest.$ac_ext <<_ACEOF 
    6016 /* confdefs.h.  */ 
    6017 _ACEOF 
    6018 cat confdefs.h >>conftest.$ac_ext 
    6019 cat >>conftest.$ac_ext <<_ACEOF 
    6020 /* end confdefs.h.  */ 
    6021 $ac_includes_default 
    6022 #include <linux/socket.h> 
    6023 _ACEOF 
    6024 rm -f conftest.$ac_objext 
    6025 if { (ac_try="$ac_compile" 
    6026 case "(($ac_try" in 
    6027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6028   *) ac_try_echo=$ac_try;; 
    6029 esac 
    6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6031 $as_echo "$ac_try_echo") >&5 
    6032   (eval "$ac_compile") 2>conftest.er1 
    6033   ac_status=$? 
    6034   grep -v '^ *+' conftest.er1 >conftest.err 
    6035   rm -f conftest.er1 
    6036   cat conftest.err >&5 
    6037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6038   (exit $ac_status); } && { 
    6039          test -z "$ac_c_werror_flag" || 
    6040          test ! -s conftest.err 
    6041        } && test -s conftest.$ac_objext; then 
    6042   ac_header_compiler=yes 
    6043 else 
    6044   $as_echo "$as_me: failed program was:" >&5 
    6045 sed 's/^/| /' conftest.$ac_ext >&5 
    6046  
    6047         ac_header_compiler=no 
    6048 fi 
    6049  
    6050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6051 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6052 $as_echo "$ac_header_compiler" >&6; } 
    6053  
    6054 # Is the header present? 
    6055 { $as_echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    6056 $as_echo_n "checking linux/socket.h presence... " >&6; } 
    6057 cat >conftest.$ac_ext <<_ACEOF 
    6058 /* confdefs.h.  */ 
    6059 _ACEOF 
    6060 cat confdefs.h >>conftest.$ac_ext 
    6061 cat >>conftest.$ac_ext <<_ACEOF 
    6062 /* end confdefs.h.  */ 
    6063 #include <linux/socket.h> 
    6064 _ACEOF 
    6065 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6066 case "(($ac_try" in 
    6067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6068   *) ac_try_echo=$ac_try;; 
    6069 esac 
    6070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6071 $as_echo "$ac_try_echo") >&5 
    6072   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6073   ac_status=$? 
    6074   grep -v '^ *+' conftest.er1 >conftest.err 
    6075   rm -f conftest.er1 
    6076   cat conftest.err >&5 
    6077   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6078   (exit $ac_status); } >/dev/null && { 
    6079          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6080          test ! -s conftest.err 
    6081        }; then 
    6082   ac_header_preproc=yes 
    6083 else 
    6084   $as_echo "$as_me: failed program was:" >&5 
    6085 sed 's/^/| /' conftest.$ac_ext >&5 
    6086  
    6087   ac_header_preproc=no 
    6088 fi 
    6089  
    6090 rm -f conftest.err conftest.$ac_ext 
    6091 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6092 $as_echo "$ac_header_preproc" >&6; } 
    6093  
    6094 # So?  What about this header? 
    6095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6096   yes:no: ) 
    6097     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6098 $as_echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6099     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    6100 $as_echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    6101     ac_header_preproc=yes 
    6102     ;; 
    6103   no:yes:* ) 
    6104     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    6105 $as_echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    6106     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    6107 $as_echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    6108     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    6109 $as_echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    6110     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6111 $as_echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6112     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    6113 $as_echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    6114     { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    6115 $as_echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    6116  
    6117     ;; 
    6118 esac 
    6119 { $as_echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    6120 $as_echo_n "checking for linux/socket.h... " >&6; } 
    6121 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    6122   $as_echo_n "(cached) " >&6 
    6123 else 
    6124   ac_cv_header_linux_socket_h=$ac_header_preproc 
    6125 fi 
    6126 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    6127 $as_echo "$ac_cv_header_linux_socket_h" >&6; } 
    6128  
    6129 fi 
    6130 if test $ac_cv_header_linux_socket_h = yes; then 
    6131   cat >>confdefs.h <<\_ACEOF 
    6132 #define PJ_HAS_LINUX_SOCKET_H 1 
    6133 _ACEOF 
    6134  
    6135 fi 
    6136  
    6137  
    6138 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6139   { $as_echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6140 $as_echo_n "checking for malloc.h... " >&6; } 
    6141 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6142   $as_echo_n "(cached) " >&6 
    6143 fi 
    6144 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6145 $as_echo "$ac_cv_header_malloc_h" >&6; } 
    6146 else 
    6147   # Is the header compilable? 
    6148 { $as_echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    6149 $as_echo_n "checking malloc.h usability... " >&6; } 
    6150 cat >conftest.$ac_ext <<_ACEOF 
    6151 /* confdefs.h.  */ 
    6152 _ACEOF 
    6153 cat confdefs.h >>conftest.$ac_ext 
    6154 cat >>conftest.$ac_ext <<_ACEOF 
    6155 /* end confdefs.h.  */ 
    6156 $ac_includes_default 
    6157 #include <malloc.h> 
    6158 _ACEOF 
    6159 rm -f conftest.$ac_objext 
    6160 if { (ac_try="$ac_compile" 
    6161 case "(($ac_try" in 
    6162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6163   *) ac_try_echo=$ac_try;; 
    6164 esac 
    6165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6166 $as_echo "$ac_try_echo") >&5 
    6167   (eval "$ac_compile") 2>conftest.er1 
    6168   ac_status=$? 
    6169   grep -v '^ *+' conftest.er1 >conftest.err 
    6170   rm -f conftest.er1 
    6171   cat conftest.err >&5 
    6172   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6173   (exit $ac_status); } && { 
    6174          test -z "$ac_c_werror_flag" || 
    6175          test ! -s conftest.err 
    6176        } && test -s conftest.$ac_objext; then 
    6177   ac_header_compiler=yes 
    6178 else 
    6179   $as_echo "$as_me: failed program was:" >&5 
    6180 sed 's/^/| /' conftest.$ac_ext >&5 
    6181  
    6182         ac_header_compiler=no 
    6183 fi 
    6184  
    6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6186 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6187 $as_echo "$ac_header_compiler" >&6; } 
    6188  
    6189 # Is the header present? 
    6190 { $as_echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    6191 $as_echo_n "checking malloc.h presence... " >&6; } 
    6192 cat >conftest.$ac_ext <<_ACEOF 
    6193 /* confdefs.h.  */ 
    6194 _ACEOF 
    6195 cat confdefs.h >>conftest.$ac_ext 
    6196 cat >>conftest.$ac_ext <<_ACEOF 
    6197 /* end confdefs.h.  */ 
    6198 #include <malloc.h> 
    6199 _ACEOF 
    6200 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6201 case "(($ac_try" in 
    6202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6203   *) ac_try_echo=$ac_try;; 
    6204 esac 
    6205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6206 $as_echo "$ac_try_echo") >&5 
    6207   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6208   ac_status=$? 
    6209   grep -v '^ *+' conftest.er1 >conftest.err 
    6210   rm -f conftest.er1 
    6211   cat conftest.err >&5 
    6212   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6213   (exit $ac_status); } >/dev/null && { 
    6214          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6215          test ! -s conftest.err 
    6216        }; then 
    6217   ac_header_preproc=yes 
    6218 else 
    6219   $as_echo "$as_me: failed program was:" >&5 
    6220 sed 's/^/| /' conftest.$ac_ext >&5 
    6221  
    6222   ac_header_preproc=no 
    6223 fi 
    6224  
    6225 rm -f conftest.err conftest.$ac_ext 
    6226 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6227 $as_echo "$ac_header_preproc" >&6; } 
    6228  
    6229 # So?  What about this header? 
    6230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6231   yes:no: ) 
    6232     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6233 $as_echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6234     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    6235 $as_echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    6236     ac_header_preproc=yes 
    6237     ;; 
    6238   no:yes:* ) 
    6239     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    6240 $as_echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    6241     { $as_echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    6242 $as_echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    6243     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    6244 $as_echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    6245     { $as_echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6246 $as_echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6247     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    6248 $as_echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    6249     { $as_echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    6250 $as_echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    6251  
    6252     ;; 
    6253 esac 
    6254 { $as_echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6255 $as_echo_n "checking for malloc.h... " >&6; } 
    6256 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6257   $as_echo_n "(cached) " >&6 
    6258 else 
    6259   ac_cv_header_malloc_h=$ac_header_preproc 
    6260 fi 
    6261 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6262 $as_echo "$ac_cv_header_malloc_h" >&6; } 
    6263  
    6264 fi 
    6265 if test $ac_cv_header_malloc_h = yes; then 
    6266   cat >>confdefs.h <<\_ACEOF 
    6267 #define PJ_HAS_MALLOC_H 1 
    6268 _ACEOF 
    6269  
    6270 fi 
    6271  
    6272  
    6273 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6274   { $as_echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6275 $as_echo_n "checking for netdb.h... " >&6; } 
    6276 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6277   $as_echo_n "(cached) " >&6 
    6278 fi 
    6279 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6280 $as_echo "$ac_cv_header_netdb_h" >&6; } 
    6281 else 
    6282   # Is the header compilable? 
    6283 { $as_echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6284 $as_echo_n "checking netdb.h usability... " >&6; } 
    6285 cat >conftest.$ac_ext <<_ACEOF 
    6286 /* confdefs.h.  */ 
    6287 _ACEOF 
    6288 cat confdefs.h >>conftest.$ac_ext 
    6289 cat >>conftest.$ac_ext <<_ACEOF 
    6290 /* end confdefs.h.  */ 
    6291 $ac_includes_default 
    6292 #include <netdb.h> 
    6293 _ACEOF 
    6294 rm -f conftest.$ac_objext 
    6295 if { (ac_try="$ac_compile" 
    6296 case "(($ac_try" in 
    6297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6298   *) ac_try_echo=$ac_try;; 
    6299 esac 
    6300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6301 $as_echo "$ac_try_echo") >&5 
    6302   (eval "$ac_compile") 2>conftest.er1 
    6303   ac_status=$? 
    6304   grep -v '^ *+' conftest.er1 >conftest.err 
    6305   rm -f conftest.er1 
    6306   cat conftest.err >&5 
    6307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6308   (exit $ac_status); } && { 
    6309          test -z "$ac_c_werror_flag" || 
    6310          test ! -s conftest.err 
    6311        } && test -s conftest.$ac_objext; then 
    6312   ac_header_compiler=yes 
    6313 else 
    6314   $as_echo "$as_me: failed program was:" >&5 
    6315 sed 's/^/| /' conftest.$ac_ext >&5 
    6316  
    6317         ac_header_compiler=no 
    6318 fi 
    6319  
    6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6321 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6322 $as_echo "$ac_header_compiler" >&6; } 
    6323  
    6324 # Is the header present? 
    6325 { $as_echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6326 $as_echo_n "checking netdb.h presence... " >&6; } 
    6327 cat >conftest.$ac_ext <<_ACEOF 
    6328 /* confdefs.h.  */ 
    6329 _ACEOF 
    6330 cat confdefs.h >>conftest.$ac_ext 
    6331 cat >>conftest.$ac_ext <<_ACEOF 
    6332 /* end confdefs.h.  */ 
    6333 #include <netdb.h> 
    6334 _ACEOF 
    6335 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6336 case "(($ac_try" in 
    6337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6338   *) ac_try_echo=$ac_try;; 
    6339 esac 
    6340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6341 $as_echo "$ac_try_echo") >&5 
    6342   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6343   ac_status=$? 
    6344   grep -v '^ *+' conftest.er1 >conftest.err 
    6345   rm -f conftest.er1 
    6346   cat conftest.err >&5 
    6347   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6348   (exit $ac_status); } >/dev/null && { 
    6349          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6350          test ! -s conftest.err 
    6351        }; then 
    6352   ac_header_preproc=yes 
    6353 else 
    6354   $as_echo "$as_me: failed program was:" >&5 
    6355 sed 's/^/| /' conftest.$ac_ext >&5 
    6356  
    6357   ac_header_preproc=no 
    6358 fi 
    6359  
    6360 rm -f conftest.err conftest.$ac_ext 
    6361 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6362 $as_echo "$ac_header_preproc" >&6; } 
    6363  
    6364 # So?  What about this header? 
    6365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6366   yes:no: ) 
    6367     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6368 $as_echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6369     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6370 $as_echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6371     ac_header_preproc=yes 
    6372     ;; 
    6373   no:yes:* ) 
    6374     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6375 $as_echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6376     { $as_echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6377 $as_echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6378     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6379 $as_echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6380     { $as_echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6381 $as_echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6382     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6383 $as_echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6384     { $as_echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6385 $as_echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6386  
    6387     ;; 
    6388 esac 
    6389 { $as_echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6390 $as_echo_n "checking for netdb.h... " >&6; } 
    6391 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6392   $as_echo_n "(cached) " >&6 
    6393 else 
    6394   ac_cv_header_netdb_h=$ac_header_preproc 
    6395 fi 
    6396 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6397 $as_echo "$ac_cv_header_netdb_h" >&6; } 
    6398  
    6399 fi 
    6400 if test $ac_cv_header_netdb_h = yes; then 
    6401   cat >>confdefs.h <<\_ACEOF 
    6402 #define PJ_HAS_NETDB_H 1 
    6403 _ACEOF 
    6404  
    6405 fi 
    6406  
    6407  
    6408 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6409   { $as_echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6410 $as_echo_n "checking for netinet/in_systm.h... " >&6; } 
    6411 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6412   $as_echo_n "(cached) " >&6 
    6413 fi 
    6414 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6415 $as_echo "$ac_cv_header_netinet_in_systm_h" >&6; } 
    6416 else 
    6417   # Is the header compilable? 
    6418 { $as_echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6419 $as_echo_n "checking netinet/in_systm.h usability... " >&6; } 
    6420 cat >conftest.$ac_ext <<_ACEOF 
    6421 /* confdefs.h.  */ 
    6422 _ACEOF 
    6423 cat confdefs.h >>conftest.$ac_ext 
    6424 cat >>conftest.$ac_ext <<_ACEOF 
    6425 /* end confdefs.h.  */ 
    6426 $ac_includes_default 
    6427 #include <netinet/in_systm.h> 
    6428 _ACEOF 
    6429 rm -f conftest.$ac_objext 
    6430 if { (ac_try="$ac_compile" 
    6431 case "(($ac_try" in 
    6432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6433   *) ac_try_echo=$ac_try;; 
    6434 esac 
    6435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6436 $as_echo "$ac_try_echo") >&5 
    6437   (eval "$ac_compile") 2>conftest.er1 
    6438   ac_status=$? 
    6439   grep -v '^ *+' conftest.er1 >conftest.err 
    6440   rm -f conftest.er1 
    6441   cat conftest.err >&5 
    6442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6443   (exit $ac_status); } && { 
    6444          test -z "$ac_c_werror_flag" || 
    6445          test ! -s conftest.err 
    6446        } && test -s conftest.$ac_objext; then 
    6447   ac_header_compiler=yes 
    6448 else 
    6449   $as_echo "$as_me: failed program was:" >&5 
    6450 sed 's/^/| /' conftest.$ac_ext >&5 
    6451  
    6452         ac_header_compiler=no 
    6453 fi 
    6454  
    6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6456 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6457 $as_echo "$ac_header_compiler" >&6; } 
    6458  
    6459 # Is the header present? 
    6460 { $as_echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6461 $as_echo_n "checking netinet/in_systm.h presence... " >&6; } 
    6462 cat >conftest.$ac_ext <<_ACEOF 
    6463 /* confdefs.h.  */ 
    6464 _ACEOF 
    6465 cat confdefs.h >>conftest.$ac_ext 
    6466 cat >>conftest.$ac_ext <<_ACEOF 
    6467 /* end confdefs.h.  */ 
    6468 #include <netinet/in_systm.h> 
    6469 _ACEOF 
    6470 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6471 case "(($ac_try" in 
    6472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6473   *) ac_try_echo=$ac_try;; 
    6474 esac 
    6475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6476 $as_echo "$ac_try_echo") >&5 
    6477   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6478   ac_status=$? 
    6479   grep -v '^ *+' conftest.er1 >conftest.err 
    6480   rm -f conftest.er1 
    6481   cat conftest.err >&5 
    6482   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6483   (exit $ac_status); } >/dev/null && { 
    6484          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6485          test ! -s conftest.err 
    6486        }; then 
    6487   ac_header_preproc=yes 
    6488 else 
    6489   $as_echo "$as_me: failed program was:" >&5 
    6490 sed 's/^/| /' conftest.$ac_ext >&5 
    6491  
    6492   ac_header_preproc=no 
    6493 fi 
    6494  
    6495 rm -f conftest.err conftest.$ac_ext 
    6496 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6497 $as_echo "$ac_header_preproc" >&6; } 
    6498  
    6499 # So?  What about this header? 
    6500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6501   yes:no: ) 
    6502     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6503 $as_echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6504     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6505 $as_echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6506     ac_header_preproc=yes 
    6507     ;; 
    6508   no:yes:* ) 
    6509     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6510 $as_echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6511     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6512 $as_echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6513     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6514 $as_echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6515     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6516 $as_echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6517     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6518 $as_echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6519     { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6520 $as_echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6521  
    6522     ;; 
    6523 esac 
    6524 { $as_echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6525 $as_echo_n "checking for netinet/in_systm.h... " >&6; } 
    6526 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6527   $as_echo_n "(cached) " >&6 
    6528 else 
    6529   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6530 fi 
    6531 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6532 $as_echo "$ac_cv_header_netinet_in_systm_h" >&6; } 
    6533  
    6534 fi 
    6535 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6536   cat >>confdefs.h <<\_ACEOF 
    6537 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6538 _ACEOF 
    6539  
    6540 fi 
    6541  
    6542  
    6543 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6544   { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6545 $as_echo_n "checking for netinet/in.h... " >&6; } 
    6546 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6547   $as_echo_n "(cached) " >&6 
    6548 fi 
    6549 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6550 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 
    6551 else 
    6552   # Is the header compilable? 
    6553 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6554 $as_echo_n "checking netinet/in.h usability... " >&6; } 
    6555 cat >conftest.$ac_ext <<_ACEOF 
    6556 /* confdefs.h.  */ 
    6557 _ACEOF 
    6558 cat confdefs.h >>conftest.$ac_ext 
    6559 cat >>conftest.$ac_ext <<_ACEOF 
    6560 /* end confdefs.h.  */ 
    6561 $ac_includes_default 
    6562 #include <netinet/in.h> 
    6563 _ACEOF 
    6564 rm -f conftest.$ac_objext 
    6565 if { (ac_try="$ac_compile" 
    6566 case "(($ac_try" in 
    6567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6568   *) ac_try_echo=$ac_try;; 
    6569 esac 
    6570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 
    6571 $as_echo "$ac_try_echo") >&5 
    6572   (eval "$ac_compile") 2>conftest.er1 
    6573   ac_status=$? 
    6574   grep -v '^ *+' conftest.er1 >conftest.err 
    6575   rm -f conftest.er1 
    6576   cat conftest.err >&5 
    6577   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6578   (exit $ac_status); } && { 
    6579          test -z "$ac_c_werror_flag" || 
    6580          test ! -s conftest.err 
    6581        } && test -s conftest.$ac_objext; then 
    6582   ac_header_compiler=yes 
    6583 else 
    6584   $as_echo "$as_me: failed program was:" >&5 
    6585 sed 's/^/| /' conftest.$ac_ext >&5 
    6586  
    6587         ac_header_compiler=no 
    6588 fi 
    6589  
    6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6591 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6592 $as_echo "$ac_header_compiler" >&6; } 
    6593  
    6594 # Is the header present? 
    6595 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6596 $as_echo_n "checking netinet/in.h presence... " >&6; } 
    6597 cat >conftest.$ac_ext <<_ACEOF 
    6598 /* confdefs.h.  */ 
    6599 _ACEOF 
    6600 cat confdefs.h >>conftest.$ac_ext 
    6601 cat >>conftest.$ac_ext <<_ACEOF 
    6602 /* end confdefs.h.  */ 
    6603 #include <netinet/in.h>