Ignore:
Timestamp:
Apr 11, 2011 2:43:04 AM (14 years ago)
Author:
bennylp
Message:

Support for Intel IPP 7. This closes #1227

Location:
pjproject/branches/projects/2.0-dev
Files:
4 edited

Legend:

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

  • pjproject/branches/projects/2.0-dev/aconfigure

    r3499 r3517  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 
     3# Generated by GNU Autoconf 2.65 for pjproject 1.x. 
     4# 
    45# 
    56# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
     8# Inc. 
     9# 
     10# 
    711# This configure script is free software; the Free Software Foundation 
    812# gives unlimited permission to copy, distribute and modify it. 
    9 ## --------------------- ## 
    10 ## M4sh Initialization.  ## 
    11 ## --------------------- ## 
     13## -------------------- ## 
     14## M4sh Initialization. ## 
     15## -------------------- ## 
    1216 
    1317# Be more Bourne compatible 
    1418DUALCASE=1; export DUALCASE # for MKS sh 
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    1620  emulate sh 
    1721  NULLCMD=: 
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    1923  # is contrary to our usage.  Disable this feature. 
    2024  alias -g '${1+"$@"}'='"$@"' 
    2125  setopt NO_GLOB_SUBST 
    2226else 
    23   case `(set -o) 2>/dev/null` in 
    24   *posix*) set -o posix ;; 
     27  case `(set -o) 2>/dev/null` in #( 
     28  *posix*) : 
     29    set -o posix ;; #( 
     30  *) : 
     31     ;; 
    2532esac 
    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 
     33fi 
     34 
     35 
     36as_nl=' 
     37' 
     38export as_nl 
     39# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     43# Prefer a ksh shell builtin over an external printf program on Solaris, 
     44# but without wasting forks for bash or zsh. 
     45if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     47  as_echo='print -r --' 
     48  as_echo_n='print -rn --' 
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     50  as_echo='printf %s\n' 
     51  as_echo_n='printf %s' 
     52else 
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     55    as_echo_n='/usr/ucb/echo -n' 
     56  else 
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     58    as_echo_n_body='eval 
     59      arg=$1; 
     60      case $arg in #( 
     61      *"$as_nl"*) 
     62        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     64      esac; 
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     66    ' 
     67    export as_echo_n_body 
     68    as_echo_n='sh -c $as_echo_n_body as_echo' 
     69  fi 
     70  export as_echo_body 
     71  as_echo='sh -c $as_echo_body as_echo' 
     72fi 
    3973 
    4074# The user is always right. 
    4175if test "${PATH_SEPARATOR+set}" != set; then 
    42   echo "#! /bin/sh" >conf$$.sh 
    43   echo  "exit 0"   >>conf$$.sh 
    44   chmod +x conf$$.sh 
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    46     PATH_SEPARATOR=';' 
    47   else 
    48     PATH_SEPARATOR=: 
    49   fi 
    50   rm -f conf$$.sh 
    51 fi 
    52  
    53 # Support unset when possible. 
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    55   as_unset=unset 
    56 else 
    57   as_unset=false 
     76  PATH_SEPARATOR=: 
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     79      PATH_SEPARATOR=';' 
     80  } 
    5881fi 
    5982 
     
    6487# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    6588# splitting by setting IFS to empty value.) 
    66 as_nl=' 
    67 ' 
    6889IFS=" ""        $as_nl" 
    6990 
    7091# Find who we are.  Look in the path if we contain no directory separator. 
    71 case $0 in 
     92case $0 in #(( 
    7293  *[\\/]* ) as_myself=$0 ;; 
    7394  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    7697  IFS=$as_save_IFS 
    7798  test -z "$as_dir" && as_dir=. 
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    79 done 
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     100  done 
    80101IFS=$as_save_IFS 
    81102 
     
    88109fi 
    89110if test ! -f "$as_myself"; then 
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    91   { (exit 1); exit 1; } 
    92 fi 
    93  
    94 # Work around bugs in pre-3.0 UWIN ksh. 
    95 for as_var in ENV MAIL MAILPATH 
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     112  exit 1 
     113fi 
     114 
     115# Unset variables that we do not need and which cause bugs (e.g. in 
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     117# suppresses any "Segmentation fault" message there.  '((' could 
     118# trigger a bug in pdksh 5.2.14. 
     119for as_var in BASH_ENV ENV MAIL MAILPATH 
     120do eval test x\${$as_var+set} = xset \ 
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    97122done 
    98123PS1='$ ' 
     
    101126 
    102127# NLS nuisances. 
    103 for as_var in \ 
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    106   LC_TELEPHONE LC_TIME 
     128LC_ALL=C 
     129export LC_ALL 
     130LANGUAGE=C 
     131export LANGUAGE 
     132 
     133# CDPATH. 
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     135 
     136if test "x$CONFIG_SHELL" = x; then 
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     138  emulate sh 
     139  NULLCMD=: 
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
     141  # is contrary to our usage.  Disable this feature. 
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     143  setopt NO_GLOB_SUBST 
     144else 
     145  case \`(set -o) 2>/dev/null\` in #( 
     146  *posix*) : 
     147    set -o posix ;; #( 
     148  *) : 
     149     ;; 
     150esac 
     151fi 
     152" 
     153  as_required="as_fn_return () { (exit \$1); } 
     154as_fn_success () { as_fn_return 0; } 
     155as_fn_failure () { as_fn_return 1; } 
     156as_fn_ret_success () { return 0; } 
     157as_fn_ret_failure () { return 1; } 
     158 
     159exitcode=0 
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
     165 
     166else 
     167  exitcode=1; echo positional parameters were not saved. 
     168fi 
     169test x\$exitcode = x0 || exit 1" 
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
     174test \$(( 1 + 1 )) = 2 || exit 1" 
     175  if (eval "$as_required") 2>/dev/null; then : 
     176  as_have_required=yes 
     177else 
     178  as_have_required=no 
     179fi 
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
     181 
     182else 
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     184as_found=false 
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    107186do 
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    109     eval $as_var=C; export $as_var 
     187  IFS=$as_save_IFS 
     188  test -z "$as_dir" && as_dir=. 
     189  as_found=: 
     190  case $as_dir in #( 
     191         /*) 
     192           for as_base in sh bash ksh sh5; do 
     193             # Try only shells that exist, to save several forks. 
     194             as_shell=$as_dir/$as_base 
     195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     197  CONFIG_SHELL=$as_shell as_have_required=yes 
     198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     199  break 2 
     200fi 
     201fi 
     202           done;; 
     203       esac 
     204  as_found=false 
     205done 
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
     207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
     208  CONFIG_SHELL=$SHELL as_have_required=yes 
     209fi; } 
     210IFS=$as_save_IFS 
     211 
     212 
     213      if test "x$CONFIG_SHELL" != x; then : 
     214  # We cannot yet assume a decent shell, so we have to provide a 
     215        # neutralization value for shells without unset; and this also 
     216        # works around shells that cannot unset nonexistent variables. 
     217        BASH_ENV=/dev/null 
     218        ENV=/dev/null 
     219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     220        export CONFIG_SHELL 
     221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     222fi 
     223 
     224    if test x$as_have_required = xno; then : 
     225  $as_echo "$0: This script requires a shell more modern than all" 
     226  $as_echo "$0: the shells that I found on your system." 
     227  if test x${ZSH_VERSION+set} = xset ; then 
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
    110230  else 
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
     232$0: including any error possibly output before this 
     233$0: message. Then install a modern shell, or manually run 
     234$0: the script under such a shell if you do have one." 
    112235  fi 
    113 done 
    114  
    115 # Required to use basename. 
     236  exit 1 
     237fi 
     238fi 
     239fi 
     240SHELL=${CONFIG_SHELL-/bin/sh} 
     241export SHELL 
     242# Unset more variables known to interfere with behavior of common tools. 
     243CLICOLOR_FORCE= GREP_OPTIONS= 
     244unset CLICOLOR_FORCE GREP_OPTIONS 
     245 
     246## --------------------- ## 
     247## M4sh Shell Functions. ## 
     248## --------------------- ## 
     249# as_fn_unset VAR 
     250# --------------- 
     251# Portably unset VAR. 
     252as_fn_unset () 
     253{ 
     254  { eval $1=; unset $1;} 
     255} 
     256as_unset=as_fn_unset 
     257 
     258# as_fn_set_status STATUS 
     259# ----------------------- 
     260# Set $? to STATUS, without forking. 
     261as_fn_set_status () 
     262{ 
     263  return $1 
     264} # as_fn_set_status 
     265 
     266# as_fn_exit STATUS 
     267# ----------------- 
     268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     269as_fn_exit () 
     270{ 
     271  set +e 
     272  as_fn_set_status $1 
     273  exit $1 
     274} # as_fn_exit 
     275 
     276# as_fn_mkdir_p 
     277# ------------- 
     278# Create "$as_dir" as a directory, including parents if necessary. 
     279as_fn_mkdir_p () 
     280{ 
     281 
     282  case $as_dir in #( 
     283  -*) as_dir=./$as_dir;; 
     284  esac 
     285  test -d "$as_dir" || eval $as_mkdir_p || { 
     286    as_dirs= 
     287    while :; do 
     288      case $as_dir in #( 
     289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     290      *) as_qdir=$as_dir;; 
     291      esac 
     292      as_dirs="'$as_qdir' $as_dirs" 
     293      as_dir=`$as_dirname -- "$as_dir" || 
     294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     295         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     296         X"$as_dir" : 'X\(//\)$' \| \ 
     297         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     298$as_echo X"$as_dir" | 
     299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     300            s//\1/ 
     301            q 
     302          } 
     303          /^X\(\/\/\)[^/].*/{ 
     304            s//\1/ 
     305            q 
     306          } 
     307          /^X\(\/\/\)$/{ 
     308            s//\1/ 
     309            q 
     310          } 
     311          /^X\(\/\).*/{ 
     312            s//\1/ 
     313            q 
     314          } 
     315          s/.*/./; q'` 
     316      test -d "$as_dir" && break 
     317    done 
     318    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     320 
     321 
     322} # as_fn_mkdir_p 
     323# as_fn_append VAR VALUE 
     324# ---------------------- 
     325# Append the text in VALUE to the end of the definition contained in VAR. Take 
     326# advantage of any shell optimizations that allow amortized linear growth over 
     327# repeated appends, instead of the typical quadratic growth present in naive 
     328# implementations. 
     329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     330  eval 'as_fn_append () 
     331  { 
     332    eval $1+=\$2 
     333  }' 
     334else 
     335  as_fn_append () 
     336  { 
     337    eval $1=\$$1\$2 
     338  } 
     339fi # as_fn_append 
     340 
     341# as_fn_arith ARG... 
     342# ------------------ 
     343# Perform arithmetic evaluation on the ARGs, and store the result in the 
     344# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     345# must be portable across $(()) and expr. 
     346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     347  eval 'as_fn_arith () 
     348  { 
     349    as_val=$(( $* )) 
     350  }' 
     351else 
     352  as_fn_arith () 
     353  { 
     354    as_val=`expr "$@" || test $? -eq 1` 
     355  } 
     356fi # as_fn_arith 
     357 
     358 
     359# as_fn_error ERROR [LINENO LOG_FD] 
     360# --------------------------------- 
     361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     363# script with status $?, using 1 if that was 0. 
     364as_fn_error () 
     365{ 
     366  as_status=$?; test $as_status -eq 0 && as_status=1 
     367  if test "$3"; then 
     368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     370  fi 
     371  $as_echo "$as_me: error: $1" >&2 
     372  as_fn_exit $as_status 
     373} # as_fn_error 
     374 
    116375if expr a : '\(a\)' >/dev/null 2>&1 && 
    117376   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    127386fi 
    128387 
    129  
    130 # Name of the executable. 
     388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     389  as_dirname=dirname 
     390else 
     391  as_dirname=false 
     392fi 
     393 
    131394as_me=`$as_basename -- "$0" || 
    132395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    133396         X"$0" : 'X\(//\)$' \| \ 
    134397         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    135 echo X/"$0" | 
     398$as_echo X/"$0" | 
    136399    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    137400            s//\1/ 
     
    148411          s/.*/./; q'` 
    149412 
    150 # CDPATH. 
    151 $as_unset CDPATH 
    152  
    153  
    154 if test "x$CONFIG_SHELL" = x; then 
    155   if (eval ":") 2>/dev/null; then 
    156   as_have_required=yes 
    157 else 
    158   as_have_required=no 
    159 fi 
    160  
    161   if test $as_have_required = yes &&     (eval ": 
    162 (as_func_return () { 
    163   (exit \$1) 
    164 } 
    165 as_func_success () { 
    166   as_func_return 0 
    167 } 
    168 as_func_failure () { 
    169   as_func_return 1 
    170 } 
    171 as_func_ret_success () { 
    172   return 0 
    173 } 
    174 as_func_ret_failure () { 
    175   return 1 
    176 } 
    177  
    178 exitcode=0 
    179 if as_func_success; then 
    180   : 
    181 else 
    182   exitcode=1 
    183   echo as_func_success failed. 
    184 fi 
    185  
    186 if as_func_failure; then 
    187   exitcode=1 
    188   echo as_func_failure succeeded. 
    189 fi 
    190  
    191 if as_func_ret_success; then 
    192   : 
    193 else 
    194   exitcode=1 
    195   echo as_func_ret_success failed. 
    196 fi 
    197  
    198 if as_func_ret_failure; then 
    199   exitcode=1 
    200   echo as_func_ret_failure succeeded. 
    201 fi 
    202  
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    204   : 
    205 else 
    206   exitcode=1 
    207   echo positional parameters were not saved. 
    208 fi 
    209  
    210 test \$exitcode = 0) || { (exit 1); exit 1; } 
    211  
    212 ( 
    213   as_lineno_1=\$LINENO 
    214   as_lineno_2=\$LINENO 
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    217 ") 2> /dev/null; then 
    218   : 
    219 else 
    220   as_candidate_shells= 
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    223 do 
    224   IFS=$as_save_IFS 
    225   test -z "$as_dir" && as_dir=. 
    226   case $as_dir in 
    227          /*) 
    228            for as_base in sh bash ksh sh5; do 
    229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    230            done;; 
    231        esac 
    232 done 
    233 IFS=$as_save_IFS 
    234  
    235  
    236       for as_shell in $as_candidate_shells $SHELL; do 
    237          # Try only shells that exist, to save several forks. 
    238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    239                 { ("$as_shell") 2> /dev/null <<\_ASEOF 
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    241   emulate sh 
    242   NULLCMD=: 
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    244   # is contrary to our usage.  Disable this feature. 
    245   alias -g '${1+"$@"}'='"$@"' 
    246   setopt NO_GLOB_SUBST 
    247 else 
    248   case `(set -o) 2>/dev/null` in 
    249   *posix*) set -o posix ;; 
    250 esac 
    251  
    252 fi 
    253  
    254  
    255 : 
    256 _ASEOF 
    257 }; then 
    258   CONFIG_SHELL=$as_shell 
    259                as_have_required=yes 
    260                if { "$as_shell" 2> /dev/null <<\_ASEOF 
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    262   emulate sh 
    263   NULLCMD=: 
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    265   # is contrary to our usage.  Disable this feature. 
    266   alias -g '${1+"$@"}'='"$@"' 
    267   setopt NO_GLOB_SUBST 
    268 else 
    269   case `(set -o) 2>/dev/null` in 
    270   *posix*) set -o posix ;; 
    271 esac 
    272  
    273 fi 
    274  
    275  
    276 : 
    277 (as_func_return () { 
    278   (exit $1) 
    279 } 
    280 as_func_success () { 
    281   as_func_return 0 
    282 } 
    283 as_func_failure () { 
    284   as_func_return 1 
    285 } 
    286 as_func_ret_success () { 
    287   return 0 
    288 } 
    289 as_func_ret_failure () { 
    290   return 1 
    291 } 
    292  
    293 exitcode=0 
    294 if as_func_success; then 
    295   : 
    296 else 
    297   exitcode=1 
    298   echo as_func_success failed. 
    299 fi 
    300  
    301 if as_func_failure; then 
    302   exitcode=1 
    303   echo as_func_failure succeeded. 
    304 fi 
    305  
    306 if as_func_ret_success; then 
    307   : 
    308 else 
    309   exitcode=1 
    310   echo as_func_ret_success failed. 
    311 fi 
    312  
    313 if as_func_ret_failure; then 
    314   exitcode=1 
    315   echo as_func_ret_failure succeeded. 
    316 fi 
    317  
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then 
    319   : 
    320 else 
    321   exitcode=1 
    322   echo positional parameters were not saved. 
    323 fi 
    324  
    325 test $exitcode = 0) || { (exit 1); exit 1; } 
    326  
    327 ( 
    328   as_lineno_1=$LINENO 
    329   as_lineno_2=$LINENO 
    330   test "x$as_lineno_1" != "x$as_lineno_2" && 
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    332  
    333 _ASEOF 
    334 }; then 
    335   break 
    336 fi 
    337  
    338 fi 
    339  
    340       done 
    341  
    342       if test "x$CONFIG_SHELL" != x; then 
    343   for as_var in BASH_ENV ENV 
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    345         done 
    346         export CONFIG_SHELL 
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    348 fi 
    349  
    350  
    351     if test $as_have_required = no; then 
    352   echo This script requires a shell more modern than all the 
    353       echo shells that I found on your system.  Please install a 
    354       echo modern shell, or manually run the script under such a 
    355       echo shell if you do have one. 
    356       { (exit 1); exit 1; } 
    357 fi 
    358  
    359  
    360 fi 
    361  
    362 fi 
    363  
    364  
    365  
    366 (eval "as_func_return () { 
    367   (exit \$1) 
    368 } 
    369 as_func_success () { 
    370   as_func_return 0 
    371 } 
    372 as_func_failure () { 
    373   as_func_return 1 
    374 } 
    375 as_func_ret_success () { 
    376   return 0 
    377 } 
    378 as_func_ret_failure () { 
    379   return 1 
    380 } 
    381  
    382 exitcode=0 
    383 if as_func_success; then 
    384   : 
    385 else 
    386   exitcode=1 
    387   echo as_func_success failed. 
    388 fi 
    389  
    390 if as_func_failure; then 
    391   exitcode=1 
    392   echo as_func_failure succeeded. 
    393 fi 
    394  
    395 if as_func_ret_success; then 
    396   : 
    397 else 
    398   exitcode=1 
    399   echo as_func_ret_success failed. 
    400 fi 
    401  
    402 if as_func_ret_failure; then 
    403   exitcode=1 
    404   echo as_func_ret_failure succeeded. 
    405 fi 
    406  
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    408   : 
    409 else 
    410   exitcode=1 
    411   echo positional parameters were not saved. 
    412 fi 
    413  
    414 test \$exitcode = 0") || { 
    415   echo No shell found that supports shell functions. 
    416   echo Please tell autoconf@gnu.org about your system, 
    417   echo including any error possibly output before this 
    418   echo message 
    419 } 
    420  
    421  
    422  
    423   as_lineno_1=$LINENO 
    424   as_lineno_2=$LINENO 
    425   test "x$as_lineno_1" != "x$as_lineno_2" && 
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    427  
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    429   # uniformly replaced by the line number.  The first 'sed' inserts a 
    430   # line-number line after each line using $LINENO; the second 'sed' 
    431   # does the real work.  The second script uses 'N' to pair each 
    432   # line-number line with the line containing $LINENO, and appends 
    433   # trailing '-' during substitution so that $LINENO is not a special 
    434   # case at line end. 
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    437   # E. McMahon (1931-1989) for sed's syntax.  :-) 
     413# Avoid depending upon Character Ranges. 
     414as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     416as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     417as_cr_digits='0123456789' 
     418as_cr_alnum=$as_cr_Letters$as_cr_digits 
     419 
     420 
     421  as_lineno_1=$LINENO as_lineno_1a=$LINENO 
     422  as_lineno_2=$LINENO as_lineno_2a=$LINENO 
     423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
     424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
     425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
    438426  sed -n ' 
    439427    p 
     
    452440    ' >$as_me.lineno && 
    453441  chmod +x "$as_me.lineno" || 
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    455    { (exit 1); exit 1; }; } 
     442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    456443 
    457444  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    463450} 
    464451 
    465  
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    467   as_dirname=dirname 
    468 else 
    469   as_dirname=false 
    470 fi 
    471  
    472452ECHO_C= ECHO_N= ECHO_T= 
    473 case `echo -n x` in 
     453case `echo -n x` in #((((( 
    474454-n*) 
    475   case `echo 'x\c'` in 
     455  case `echo 'xy\c'` in 
    476456  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    477   *)   ECHO_C='\c';; 
     457  xy)  ECHO_C='\c';; 
     458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     459       ECHO_T=' ';; 
    478460  esac;; 
    479461*) 
     
    481463esac 
    482464 
    483 if expr a : '\(a\)' >/dev/null 2>&1 && 
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    485   as_expr=expr 
    486 else 
    487   as_expr=false 
    488 fi 
    489  
    490465rm -f conf$$ conf$$.exe conf$$.file 
    491466if test -d conf$$.dir; then 
     
    493468else 
    494469  rm -f conf$$.dir 
    495   mkdir conf$$.dir 
    496 fi 
    497 echo >conf$$.file 
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    499   as_ln_s='ln -s' 
    500   # ... but there are two gotchas: 
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    503   # In both cases, we have to default to `cp -p'. 
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     470  mkdir conf$$.dir 2>/dev/null 
     471fi 
     472if (echo >conf$$.file) 2>/dev/null; then 
     473  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     474    as_ln_s='ln -s' 
     475    # ... but there are two gotchas: 
     476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     478    # In both cases, we have to default to `cp -p'. 
     479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     480      as_ln_s='cp -p' 
     481  elif ln conf$$.file conf$$ 2>/dev/null; then 
     482    as_ln_s=ln 
     483  else 
    505484    as_ln_s='cp -p' 
    506 elif ln conf$$.file conf$$ 2>/dev/null; then 
    507   as_ln_s=ln 
     485  fi 
    508486else 
    509487  as_ln_s='cp -p' 
     
    513491 
    514492if mkdir -p . 2>/dev/null; then 
    515   as_mkdir_p=: 
     493  as_mkdir_p='mkdir -p "$as_dir"' 
    516494else 
    517495  test -d ./-p && rmdir ./-p 
     
    530508    eval sh -c '\'' 
    531509      if test -d "$1"; then 
    532         test -d "$1/."; 
     510        test -d "$1/."; 
    533511      else 
    534         case $1 in 
    535         -*)set "./$1";; 
     512        case $1 in #( 
     513        -*)set "./$1";; 
    536514        esac; 
    537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     515        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    538516        ???[sx]*):;;*)false;;esac;fi 
    539517    '\'' sh 
     
    549527 
    550528 
    551  
    552 exec 7<&0 </dev/null 6>&1 
     529test -n "$DJDIR" || exec 7<&0 </dev/null 
     530exec 6>&1 
    553531 
    554532# Name of the host. 
     
    568546MFLAGS= 
    569547MAKEFLAGS= 
    570 SHELL=${CONFIG_SHELL-/bin/sh} 
    571548 
    572549# Identity of this package. 
     
    576553PACKAGE_STRING='pjproject 1.x' 
    577554PACKAGE_BUGREPORT='' 
     555PACKAGE_URL='' 
    578556 
    579557# Factoring default headers for most tests. 
     
    613591#endif" 
    614592 
    615 ac_subst_vars='SHELL 
     593ac_subst_vars='LTLIBOBJS 
     594LIBOBJS 
     595ac_main_obj 
     596ac_host 
     597ac_linux_poll 
     598ac_cross_compile 
     599libcrypto_present 
     600libssl_present 
     601openssl_h_present 
     602ac_no_ssl 
     603ac_v4l2_ldflags 
     604ac_v4l2_cflags 
     605ac_ffmpeg_ldflags 
     606ac_ffmpeg_cflags 
     607ac_has_ffmpeg 
     608ac_sdl_ldflags 
     609ac_sdl_cflags 
     610ac_no_ilbc_codec 
     611ac_no_speex_codec 
     612ac_no_g7221_codec 
     613ac_no_g722_codec 
     614ac_no_gsm_codec 
     615ac_no_l16_codec 
     616ac_no_g711_codec 
     617ac_no_speex_aec 
     618ac_no_large_filter 
     619ac_no_small_filter 
     620ac_qt_cflags 
     621ac_pjmedia_video_has_qt 
     622ac_ios_cflags 
     623ac_pjmedia_video 
     624ac_pa_use_oss 
     625ac_pa_use_alsa 
     626ac_pa_cflags 
     627ac_external_pa 
     628ac_pjmedia_snd 
     629ac_external_gsm 
     630ac_external_speex 
     631ac_os_objs 
     632EGREP 
     633GREP 
     634CPP 
     635ac_build_mak_vars 
     636ac_pjdir 
     637CC_CFLAGS 
     638CC_OPTIMIZE 
     639CC_DEF 
     640CC_INC 
     641CC_OUT 
     642LIBEXT2 
     643LIBEXT 
     644RANLIB 
     645LDOUT 
     646LD 
     647AR 
     648ac_ct_CXX 
     649CXXFLAGS 
     650CXX 
     651OBJEXT 
     652EXEEXT 
     653ac_ct_CC 
     654CPPFLAGS 
     655LDFLAGS 
     656CFLAGS 
     657CC 
     658target_os 
     659target_vendor 
     660target_cpu 
     661target 
     662host_os 
     663host_vendor 
     664host_cpu 
     665host 
     666build_os 
     667build_vendor 
     668build_cpu 
     669build 
     670target_alias 
     671host_alias 
     672build_alias 
     673LIBS 
     674ECHO_T 
     675ECHO_N 
     676ECHO_C 
     677DEFS 
     678mandir 
     679localedir 
     680libdir 
     681psdir 
     682pdfdir 
     683dvidir 
     684htmldir 
     685infodir 
     686docdir 
     687oldincludedir 
     688includedir 
     689localstatedir 
     690sharedstatedir 
     691sysconfdir 
     692datadir 
     693datarootdir 
     694libexecdir 
     695sbindir 
     696bindir 
     697program_transform_name 
     698prefix 
     699exec_prefix 
     700PACKAGE_URL 
     701PACKAGE_BUGREPORT 
     702PACKAGE_STRING 
     703PACKAGE_VERSION 
     704PACKAGE_TARNAME 
     705PACKAGE_NAME 
    616706PATH_SEPARATOR 
    617 PACKAGE_NAME 
    618 PACKAGE_TARNAME 
    619 PACKAGE_VERSION 
    620 PACKAGE_STRING 
    621 PACKAGE_BUGREPORT 
    622 exec_prefix 
    623 prefix 
    624 program_transform_name 
    625 bindir 
    626 sbindir 
    627 libexecdir 
    628 datarootdir 
    629 datadir 
    630 sysconfdir 
    631 sharedstatedir 
    632 localstatedir 
    633 includedir 
    634 oldincludedir 
    635 docdir 
    636 infodir 
    637 htmldir 
    638 dvidir 
    639 pdfdir 
    640 psdir 
    641 libdir 
    642 localedir 
    643 mandir 
    644 DEFS 
    645 ECHO_C 
    646 ECHO_N 
    647 ECHO_T 
    648 LIBS 
    649 build_alias 
    650 host_alias 
    651 target_alias 
    652 build 
    653 build_cpu 
    654 build_vendor 
    655 build_os 
    656 host 
    657 host_cpu 
    658 host_vendor 
    659 host_os 
    660 target 
    661 target_cpu 
    662 target_vendor 
    663 target_os 
    664 CC 
    665 CFLAGS 
    666 LDFLAGS 
    667 CPPFLAGS 
    668 ac_ct_CC 
    669 EXEEXT 
    670 OBJEXT 
    671 CXX 
    672 CXXFLAGS 
    673 ac_ct_CXX 
    674 AR 
    675 LD 
    676 LDOUT 
    677 RANLIB 
    678 LIBEXT 
    679 LIBEXT2 
    680 CC_OUT 
    681 CC_INC 
    682 CC_DEF 
    683 CC_OPTIMIZE 
    684 CC_CFLAGS 
    685 ac_pjdir 
    686 ac_build_mak_vars 
    687 CPP 
    688 GREP 
    689 EGREP 
    690 ac_os_objs 
    691 ac_external_speex 
    692 ac_external_gsm 
    693 ac_pjmedia_snd 
    694 ac_external_pa 
    695 ac_pa_cflags 
    696 ac_pa_use_alsa 
    697 ac_pa_use_oss 
    698 ac_pjmedia_video 
    699 ac_ios_cflags 
    700 ac_pjmedia_video_has_qt 
    701 ac_qt_cflags 
    702 ac_no_small_filter 
    703 ac_no_large_filter 
    704 ac_no_speex_aec 
    705 ac_no_g711_codec 
    706 ac_no_l16_codec 
    707 ac_no_gsm_codec 
    708 ac_no_g722_codec 
    709 ac_no_g7221_codec 
    710 ac_no_speex_codec 
    711 ac_no_ilbc_codec 
    712 ac_sdl_cflags 
    713 ac_sdl_ldflags 
    714 ac_has_ffmpeg 
    715 ac_ffmpeg_cflags 
    716 ac_ffmpeg_ldflags 
    717 ac_v4l2_cflags 
    718 ac_v4l2_ldflags 
    719 ac_no_ssl 
    720 openssl_h_present 
    721 libssl_present 
    722 libcrypto_present 
    723 ac_cross_compile 
    724 ac_linux_poll 
    725 ac_host 
    726 ac_main_obj 
    727 LIBOBJS 
    728 LTLIBOBJS' 
     707SHELL' 
    729708ac_subst_files='' 
     709ac_user_opts=' 
     710enable_option_checking 
     711enable_floating_point 
     712enable_epoll 
     713with_external_speex 
     714with_external_gsm 
     715enable_sound 
     716with_external_pa 
     717enable_oss 
     718enable_ext_sound 
     719enable_small_filter 
     720enable_large_filter 
     721enable_speex_aec 
     722enable_g711_codec 
     723enable_l16_codec 
     724enable_gsm_codec 
     725enable_g722_codec 
     726enable_g7221_codec 
     727enable_speex_codec 
     728enable_ilbc_codec 
     729enable_libsamplerate 
     730enable_sdl 
     731enable_ffmpeg 
     732enable_v4l2 
     733enable_ipp 
     734with_ipp 
     735with_ipp_samples 
     736with_ipp_arch 
     737enable_ssl 
     738' 
    730739      ac_precious_vars='build_alias 
    731740host_alias 
     
    745754ac_init_help= 
    746755ac_init_version=false 
     756ac_unrecognized_opts= 
     757ac_unrecognized_sep= 
    747758# The variables have the same names as the options, with 
    748759# dashes changed to underlines. 
     
    843854 
    844855  -disable-* | --disable-*) 
    845     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     856    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    846857    # Reject names that are not valid shell variable names. 
    847     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    848       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    849    { (exit 1); exit 1; }; } 
    850     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    851     eval enable_$ac_feature=no ;; 
     858    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     859      as_fn_error "invalid feature name: $ac_useropt" 
     860    ac_useropt_orig=$ac_useropt 
     861    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     862    case $ac_user_opts in 
     863      *" 
     864"enable_$ac_useropt" 
     865"*) ;; 
     866      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
     867         ac_unrecognized_sep=', ';; 
     868    esac 
     869    eval enable_$ac_useropt=no ;; 
    852870 
    853871  -docdir | --docdir | --docdi | --doc | --do) 
     
    862880 
    863881  -enable-* | --enable-*) 
    864     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     882    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    865883    # Reject names that are not valid shell variable names. 
    866     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    867       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    868    { (exit 1); exit 1; }; } 
    869     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    870     eval enable_$ac_feature=\$ac_optarg ;; 
     884    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     885      as_fn_error "invalid feature name: $ac_useropt" 
     886    ac_useropt_orig=$ac_useropt 
     887    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     888    case $ac_user_opts in 
     889      *" 
     890"enable_$ac_useropt" 
     891"*) ;; 
     892      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
     893         ac_unrecognized_sep=', ';; 
     894    esac 
     895    eval enable_$ac_useropt=\$ac_optarg ;; 
    871896 
    872897  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10591084 
    10601085  -with-* | --with-*) 
    1061     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1086    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10621087    # Reject names that are not valid shell variable names. 
    1063     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1064       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1065    { (exit 1); exit 1; }; } 
    1066     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1067     eval with_$ac_package=\$ac_optarg ;; 
     1088    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1089      as_fn_error "invalid package name: $ac_useropt" 
     1090    ac_useropt_orig=$ac_useropt 
     1091    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1092    case $ac_user_opts in 
     1093      *" 
     1094"with_$ac_useropt" 
     1095"*) ;; 
     1096      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
     1097         ac_unrecognized_sep=', ';; 
     1098    esac 
     1099    eval with_$ac_useropt=\$ac_optarg ;; 
    10681100 
    10691101  -without-* | --without-*) 
    1070     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1102    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10711103    # Reject names that are not valid shell variable names. 
    1072     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1073       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1074    { (exit 1); exit 1; }; } 
    1075     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1076     eval with_$ac_package=no ;; 
     1104    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1105      as_fn_error "invalid package name: $ac_useropt" 
     1106    ac_useropt_orig=$ac_useropt 
     1107    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1108    case $ac_user_opts in 
     1109      *" 
     1110"with_$ac_useropt" 
     1111"*) ;; 
     1112      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
     1113         ac_unrecognized_sep=', ';; 
     1114    esac 
     1115    eval with_$ac_useropt=no ;; 
    10771116 
    10781117  --x) 
     
    10941133    x_libraries=$ac_optarg ;; 
    10951134 
    1096   -*) { echo "$as_me: error: unrecognized option: $ac_option 
    1097 Try \`$0 --help' for more information." >&2 
    1098    { (exit 1); exit 1; }; } 
     1135  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1136Try \`$0 --help' for more information." 
    10991137    ;; 
    11001138 
     
    11021140    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11031141    # Reject names that are not valid shell variable names. 
    1104     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1105       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1106    { (exit 1); exit 1; }; } 
     1142    case $ac_envvar in #( 
     1143      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1144      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1145    esac 
    11071146    eval $ac_envvar=\$ac_optarg 
    11081147    export $ac_envvar ;; 
     
    11101149  *) 
    11111150    # FIXME: should be removed in autoconf 3.0. 
    1112     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1151    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11131152    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1114       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1153      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11151154    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11161155    ;; 
     
    11211160if test -n "$ac_prev"; then 
    11221161  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1123   { echo "$as_me: error: missing argument to $ac_option" >&2 
    1124    { (exit 1); exit 1; }; } 
    1125 fi 
    1126  
    1127 # Be sure to have absolute directory names. 
     1162  as_fn_error "missing argument to $ac_option" 
     1163fi 
     1164 
     1165if test -n "$ac_unrecognized_opts"; then 
     1166  case $enable_option_checking in 
     1167    no) ;; 
     1168    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1169    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1170  esac 
     1171fi 
     1172 
     1173# Check all directory arguments for consistency. 
    11281174for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11291175                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11321178do 
    11331179  eval ac_val=\$$ac_var 
     1180  # Remove trailing slashes. 
     1181  case $ac_val in 
     1182    */ ) 
     1183      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
     1184      eval $ac_var=\$ac_val;; 
     1185  esac 
     1186  # Be sure to have absolute directory names. 
    11341187  case $ac_val in 
    11351188    [\\/$]* | ?:[\\/]* )  continue;; 
    11361189    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11371190  esac 
    1138   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1139    { (exit 1); exit 1; }; } 
     1191  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    11401192done 
    11411193 
     
    11511203  if test "x$build_alias" = x; then 
    11521204    cross_compiling=maybe 
    1153     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1205    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11541206    If a cross compiler is detected then cross compile mode will be used." >&2 
    11551207  elif test "x$build_alias" != "x$host_alias"; then 
     
    11671219ac_ls_di=`ls -di .` && 
    11681220ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1169   { echo "$as_me: error: Working directory cannot be determined" >&2 
    1170    { (exit 1); exit 1; }; } 
     1221  as_fn_error "working directory cannot be determined" 
    11711222test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1172   { echo "$as_me: error: pwd does not report name of working directory" >&2 
    1173    { (exit 1); exit 1; }; } 
     1223  as_fn_error "pwd does not report name of working directory" 
    11741224 
    11751225 
     
    11781228  ac_srcdir_defaulted=yes 
    11791229  # Try the directory containing this script, then the parent directory. 
    1180   ac_confdir=`$as_dirname -- "$0" || 
    1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1182          X"$0" : 'X\(//\)[^/]' \| \ 
    1183          X"$0" : 'X\(//\)$' \| \ 
    1184          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    1185 echo X"$0" | 
     1230  ac_confdir=`$as_dirname -- "$as_myself" || 
     1231$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1232         X"$as_myself" : 'X\(//\)[^/]' \| \ 
     1233         X"$as_myself" : 'X\(//\)$' \| \ 
     1234         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
     1235$as_echo X"$as_myself" | 
    11861236    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    11871237            s//\1/ 
     
    12101260if test ! -r "$srcdir/$ac_unique_file"; then 
    12111261  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1212   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1213    { (exit 1); exit 1; }; } 
     1262  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12141263fi 
    12151264ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12161265ac_abs_confdir=`( 
    1217         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    1218    { (exit 1); exit 1; }; } 
     1266        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12191267        pwd)` 
    12201268# When building in place, set srcdir=. 
     
    12641312Installation directories: 
    12651313  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1266                           [$ac_default_prefix] 
     1314                          [$ac_default_prefix] 
    12671315  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1268                           [PREFIX] 
     1316                          [PREFIX] 
    12691317 
    12701318By default, \`make install' will install all the files in 
     
    12761324 
    12771325Fine tuning of the installation directories: 
    1278   --bindir=DIR           user executables [EPREFIX/bin] 
    1279   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    1280   --libexecdir=DIR       program executables [EPREFIX/libexec] 
    1281   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    1282   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    1283   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    1284   --libdir=DIR           object code libraries [EPREFIX/lib] 
    1285   --includedir=DIR       C header files [PREFIX/include] 
    1286   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    1287   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    1288   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    1289   --infodir=DIR          info documentation [DATAROOTDIR/info] 
    1290   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    1291   --mandir=DIR           man documentation [DATAROOTDIR/man] 
    1292   --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
    1293   --htmldir=DIR          html documentation [DOCDIR] 
    1294   --dvidir=DIR           dvi documentation [DOCDIR] 
    1295   --pdfdir=DIR           pdf documentation [DOCDIR] 
    1296   --psdir=DIR            ps documentation [DOCDIR] 
     1326  --bindir=DIR            user executables [EPREFIX/bin] 
     1327  --sbindir=DIR           system admin executables [EPREFIX/sbin] 
     1328  --libexecdir=DIR        program executables [EPREFIX/libexec] 
     1329  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
     1330  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
     1331  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1332  --libdir=DIR            object code libraries [EPREFIX/lib] 
     1333  --includedir=DIR        C header files [PREFIX/include] 
     1334  --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
     1335  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
     1336  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
     1337  --infodir=DIR           info documentation [DATAROOTDIR/info] 
     1338  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
     1339  --mandir=DIR            man documentation [DATAROOTDIR/man] 
     1340  --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
     1341  --htmldir=DIR           html documentation [DOCDIR] 
     1342  --dvidir=DIR            dvi documentation [DOCDIR] 
     1343  --pdfdir=DIR            pdf documentation [DOCDIR] 
     1344  --psdir=DIR             ps documentation [DOCDIR] 
    12971345_ACEOF 
    12981346 
     
    13131361 
    13141362Optional Features: 
     1363  --disable-option-checking  ignore unrecognized --enable/--with options 
    13151364  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13161365  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    13721421              nonstandard directory <lib dir> 
    13731422  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1374   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
     1423  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
    13751424              you have headers in a nonstandard directory <include dir> 
    13761425  CXX         C++ compiler command 
     
    13811430it to find libraries and programs with nonstandard names/locations. 
    13821431 
     1432Report bugs to the package provider. 
    13831433_ACEOF 
    13841434ac_status=$? 
     
    13881438  # If there are subdirs, report their specific --help. 
    13891439  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1390     test -d "$ac_dir" || continue 
     1440    test -d "$ac_dir" || 
     1441      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
     1442      continue 
    13911443    ac_builddir=. 
    13921444 
     
    13941446.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    13951447*) 
    1396   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     1448  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    13971449  # A ".." for each directory in $ac_dir_suffix. 
    1398   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     1450  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    13991451  case $ac_top_builddir_sub in 
    14001452  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14321484      $SHELL "$ac_srcdir/configure" --help=recursive 
    14331485    else 
    1434       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1486      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14351487    fi || ac_status=$? 
    14361488    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14421494  cat <<\_ACEOF 
    14431495pjproject configure 1.x 
    1444 generated by GNU Autoconf 2.61 
    1445  
    1446 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1447 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     1496generated by GNU Autoconf 2.65 
     1497 
     1498Copyright (C) 2009 Free Software Foundation, Inc. 
    14481499This configure script is free software; the Free Software Foundation 
    14491500gives unlimited permission to copy, distribute and modify it. 
     
    14511502  exit 
    14521503fi 
     1504 
     1505## ------------------------ ## 
     1506## Autoconf initialization. ## 
     1507## ------------------------ ## 
     1508 
     1509# ac_fn_c_try_compile LINENO 
     1510# -------------------------- 
     1511# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1512ac_fn_c_try_compile () 
     1513{ 
     1514  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1515  rm -f conftest.$ac_objext 
     1516  if { { ac_try="$ac_compile" 
     1517case "(($ac_try" in 
     1518  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1519  *) ac_try_echo=$ac_try;; 
     1520esac 
     1521eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1522$as_echo "$ac_try_echo"; } >&5 
     1523  (eval "$ac_compile") 2>conftest.err 
     1524  ac_status=$? 
     1525  if test -s conftest.err; then 
     1526    grep -v '^ *+' conftest.err >conftest.er1 
     1527    cat conftest.er1 >&5 
     1528    mv -f conftest.er1 conftest.err 
     1529  fi 
     1530  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1531  test $ac_status = 0; } && { 
     1532         test -z "$ac_c_werror_flag" || 
     1533         test ! -s conftest.err 
     1534       } && test -s conftest.$ac_objext; then : 
     1535  ac_retval=0 
     1536else 
     1537  $as_echo "$as_me: failed program was:" >&5 
     1538sed 's/^/| /' conftest.$ac_ext >&5 
     1539 
     1540        ac_retval=1 
     1541fi 
     1542  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1543  as_fn_set_status $ac_retval 
     1544 
     1545} # ac_fn_c_try_compile 
     1546 
     1547# ac_fn_cxx_try_compile LINENO 
     1548# ---------------------------- 
     1549# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1550ac_fn_cxx_try_compile () 
     1551{ 
     1552  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1553  rm -f conftest.$ac_objext 
     1554  if { { ac_try="$ac_compile" 
     1555case "(($ac_try" in 
     1556  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1557  *) ac_try_echo=$ac_try;; 
     1558esac 
     1559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1560$as_echo "$ac_try_echo"; } >&5 
     1561  (eval "$ac_compile") 2>conftest.err 
     1562  ac_status=$? 
     1563  if test -s conftest.err; then 
     1564    grep -v '^ *+' conftest.err >conftest.er1 
     1565    cat conftest.er1 >&5 
     1566    mv -f conftest.er1 conftest.err 
     1567  fi 
     1568  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1569  test $ac_status = 0; } && { 
     1570         test -z "$ac_cxx_werror_flag" || 
     1571         test ! -s conftest.err 
     1572       } && test -s conftest.$ac_objext; then : 
     1573  ac_retval=0 
     1574else 
     1575  $as_echo "$as_me: failed program was:" >&5 
     1576sed 's/^/| /' conftest.$ac_ext >&5 
     1577 
     1578        ac_retval=1 
     1579fi 
     1580  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1581  as_fn_set_status $ac_retval 
     1582 
     1583} # ac_fn_cxx_try_compile 
     1584 
     1585# ac_fn_c_try_link LINENO 
     1586# ----------------------- 
     1587# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1588ac_fn_c_try_link () 
     1589{ 
     1590  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1591  rm -f conftest.$ac_objext conftest$ac_exeext 
     1592  if { { ac_try="$ac_link" 
     1593case "(($ac_try" in 
     1594  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1595  *) ac_try_echo=$ac_try;; 
     1596esac 
     1597eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1598$as_echo "$ac_try_echo"; } >&5 
     1599  (eval "$ac_link") 2>conftest.err 
     1600  ac_status=$? 
     1601  if test -s conftest.err; then 
     1602    grep -v '^ *+' conftest.err >conftest.er1 
     1603    cat conftest.er1 >&5 
     1604    mv -f conftest.er1 conftest.err 
     1605  fi 
     1606  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1607  test $ac_status = 0; } && { 
     1608         test -z "$ac_c_werror_flag" || 
     1609         test ! -s conftest.err 
     1610       } && test -s conftest$ac_exeext && { 
     1611         test "$cross_compiling" = yes || 
     1612         $as_test_x conftest$ac_exeext 
     1613       }; then : 
     1614  ac_retval=0 
     1615else 
     1616  $as_echo "$as_me: failed program was:" >&5 
     1617sed 's/^/| /' conftest.$ac_ext >&5 
     1618 
     1619        ac_retval=1 
     1620fi 
     1621  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1622  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1623  # interfere with the next link command; also delete a directory that is 
     1624  # left behind by Apple's compiler.  We do this before executing the actions. 
     1625  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1626  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1627  as_fn_set_status $ac_retval 
     1628 
     1629} # ac_fn_c_try_link 
     1630 
     1631# ac_fn_c_try_run LINENO 
     1632# ---------------------- 
     1633# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1634# that executables *can* be run. 
     1635ac_fn_c_try_run () 
     1636{ 
     1637  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1638  if { { ac_try="$ac_link" 
     1639case "(($ac_try" in 
     1640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1641  *) ac_try_echo=$ac_try;; 
     1642esac 
     1643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1644$as_echo "$ac_try_echo"; } >&5 
     1645  (eval "$ac_link") 2>&5 
     1646  ac_status=$? 
     1647  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1648  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1649  { { case "(($ac_try" in 
     1650  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1651  *) ac_try_echo=$ac_try;; 
     1652esac 
     1653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1654$as_echo "$ac_try_echo"; } >&5 
     1655  (eval "$ac_try") 2>&5 
     1656  ac_status=$? 
     1657  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1658  test $ac_status = 0; }; }; then : 
     1659  ac_retval=0 
     1660else 
     1661  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1662       $as_echo "$as_me: failed program was:" >&5 
     1663sed 's/^/| /' conftest.$ac_ext >&5 
     1664 
     1665       ac_retval=$ac_status 
     1666fi 
     1667  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1668  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1669  as_fn_set_status $ac_retval 
     1670 
     1671} # ac_fn_c_try_run 
     1672 
     1673# ac_fn_c_try_cpp LINENO 
     1674# ---------------------- 
     1675# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1676ac_fn_c_try_cpp () 
     1677{ 
     1678  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1679  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1680case "(($ac_try" in 
     1681  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1682  *) ac_try_echo=$ac_try;; 
     1683esac 
     1684eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1685$as_echo "$ac_try_echo"; } >&5 
     1686  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1687  ac_status=$? 
     1688  if test -s conftest.err; then 
     1689    grep -v '^ *+' conftest.err >conftest.er1 
     1690    cat conftest.er1 >&5 
     1691    mv -f conftest.er1 conftest.err 
     1692  fi 
     1693  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1694  test $ac_status = 0; } >/dev/null && { 
     1695         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1696         test ! -s conftest.err 
     1697       }; then : 
     1698  ac_retval=0 
     1699else 
     1700  $as_echo "$as_me: failed program was:" >&5 
     1701sed 's/^/| /' conftest.$ac_ext >&5 
     1702 
     1703    ac_retval=1 
     1704fi 
     1705  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1706  as_fn_set_status $ac_retval 
     1707 
     1708} # ac_fn_c_try_cpp 
     1709 
     1710# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1711# ------------------------------------------------------- 
     1712# Tests whether HEADER exists and can be compiled using the include files in 
     1713# INCLUDES, setting the cache variable VAR accordingly. 
     1714ac_fn_c_check_header_compile () 
     1715{ 
     1716  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1718$as_echo_n "checking for $2... " >&6; } 
     1719if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1720  $as_echo_n "(cached) " >&6 
     1721else 
     1722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1723/* end confdefs.h.  */ 
     1724$4 
     1725#include <$2> 
     1726_ACEOF 
     1727if ac_fn_c_try_compile "$LINENO"; then : 
     1728  eval "$3=yes" 
     1729else 
     1730  eval "$3=no" 
     1731fi 
     1732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1733fi 
     1734eval ac_res=\$$3 
     1735               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1736$as_echo "$ac_res" >&6; } 
     1737  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1738 
     1739} # ac_fn_c_check_header_compile 
     1740 
     1741# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1742# ------------------------------------------------------- 
     1743# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1744# the include files in INCLUDES and setting the cache variable VAR 
     1745# accordingly. 
     1746ac_fn_c_check_header_mongrel () 
     1747{ 
     1748  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1749  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1750  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1751$as_echo_n "checking for $2... " >&6; } 
     1752if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1753  $as_echo_n "(cached) " >&6 
     1754fi 
     1755eval ac_res=\$$3 
     1756               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1757$as_echo "$ac_res" >&6; } 
     1758else 
     1759  # Is the header compilable? 
     1760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1761$as_echo_n "checking $2 usability... " >&6; } 
     1762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1763/* end confdefs.h.  */ 
     1764$4 
     1765#include <$2> 
     1766_ACEOF 
     1767if ac_fn_c_try_compile "$LINENO"; then : 
     1768  ac_header_compiler=yes 
     1769else 
     1770  ac_header_compiler=no 
     1771fi 
     1772rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1774$as_echo "$ac_header_compiler" >&6; } 
     1775 
     1776# Is the header present? 
     1777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1778$as_echo_n "checking $2 presence... " >&6; } 
     1779cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1780/* end confdefs.h.  */ 
     1781#include <$2> 
     1782_ACEOF 
     1783if ac_fn_c_try_cpp "$LINENO"; then : 
     1784  ac_header_preproc=yes 
     1785else 
     1786  ac_header_preproc=no 
     1787fi 
     1788rm -f conftest.err conftest.$ac_ext 
     1789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1790$as_echo "$ac_header_preproc" >&6; } 
     1791 
     1792# So?  What about this header? 
     1793case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1794  yes:no: ) 
     1795    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1796$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1797    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1798$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1799    ;; 
     1800  no:yes:* ) 
     1801    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1802$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1803    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1804$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1805    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1806$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1807    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1808$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1809    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1810$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1811    ;; 
     1812esac 
     1813  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1814$as_echo_n "checking for $2... " >&6; } 
     1815if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1816  $as_echo_n "(cached) " >&6 
     1817else 
     1818  eval "$3=\$ac_header_compiler" 
     1819fi 
     1820eval ac_res=\$$3 
     1821               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1822$as_echo "$ac_res" >&6; } 
     1823fi 
     1824  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1825 
     1826} # ac_fn_c_check_header_mongrel 
     1827 
     1828# ac_fn_c_check_func LINENO FUNC VAR 
     1829# ---------------------------------- 
     1830# Tests whether FUNC exists, setting the cache variable VAR accordingly 
     1831ac_fn_c_check_func () 
     1832{ 
     1833  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1835$as_echo_n "checking for $2... " >&6; } 
     1836if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1837  $as_echo_n "(cached) " >&6 
     1838else 
     1839  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1840/* end confdefs.h.  */ 
     1841/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
     1842   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     1843#define $2 innocuous_$2 
     1844 
     1845/* System header to define __stub macros and hopefully few prototypes, 
     1846    which can conflict with char $2 (); below. 
     1847    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     1848    <limits.h> exists even on freestanding compilers.  */ 
     1849 
     1850#ifdef __STDC__ 
     1851# include <limits.h> 
     1852#else 
     1853# include <assert.h> 
     1854#endif 
     1855 
     1856#undef $2 
     1857 
     1858/* Override any GCC internal prototype to avoid an error. 
     1859   Use char because int might match the return type of a GCC 
     1860   builtin and then its argument prototype would still apply.  */ 
     1861#ifdef __cplusplus 
     1862extern "C" 
     1863#endif 
     1864char $2 (); 
     1865/* The GNU C library defines this for functions which it implements 
     1866    to always fail with ENOSYS.  Some functions are actually named 
     1867    something starting with __ and the normal name is an alias.  */ 
     1868#if defined __stub_$2 || defined __stub___$2 
     1869choke me 
     1870#endif 
     1871 
     1872int 
     1873main () 
     1874{ 
     1875return $2 (); 
     1876  ; 
     1877  return 0; 
     1878} 
     1879_ACEOF 
     1880if ac_fn_c_try_link "$LINENO"; then : 
     1881  eval "$3=yes" 
     1882else 
     1883  eval "$3=no" 
     1884fi 
     1885rm -f core conftest.err conftest.$ac_objext \ 
     1886    conftest$ac_exeext conftest.$ac_ext 
     1887fi 
     1888eval ac_res=\$$3 
     1889               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1890$as_echo "$ac_res" >&6; } 
     1891  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1892 
     1893} # ac_fn_c_check_func 
    14531894cat >config.log <<_ACEOF 
    14541895This file contains any messages produced by compilers while 
     
    14561897 
    14571898It was created by pjproject $as_me 1.x, which was 
    1458 generated by GNU Autoconf 2.61.  Invocation command line was 
     1899generated by GNU Autoconf 2.65.  Invocation command line was 
    14591900 
    14601901  $ $0 $@ 
     
    14921933  IFS=$as_save_IFS 
    14931934  test -z "$as_dir" && as_dir=. 
    1494   echo "PATH: $as_dir" 
    1495 done 
     1935    $as_echo "PATH: $as_dir" 
     1936  done 
    14961937IFS=$as_save_IFS 
    14971938 
     
    15271968      continue ;; 
    15281969    *\'*) 
    1529       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1970      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    15301971    esac 
    15311972    case $ac_pass in 
    1532     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1973    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15331974    2) 
    1534       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1975      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15351976      if test $ac_must_keep_next = true; then 
    15361977        ac_must_keep_next=false # Got value, back to normal. 
     
    15481989        esac 
    15491990      fi 
    1550       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1991      as_fn_append ac_configure_args " '$ac_arg'" 
    15511992      ;; 
    15521993    esac 
    15531994  done 
    15541995done 
    1555 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1556 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1996{ ac_configure_args0=; unset ac_configure_args0;} 
     1997{ ac_configure_args1=; unset ac_configure_args1;} 
    15571998 
    15581999# When interrupted or exit'd, cleanup temporary files, and complete 
     
    15792020    *${as_nl}*) 
    15802021      case $ac_var in #( 
    1581       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1582 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     2022      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     2023$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    15832024      esac 
    15842025      case $ac_var in #( 
    15852026      _ | IFS | as_nl) ;; #( 
    1586       *) $as_unset $ac_var ;; 
     2027      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     2028      *) { eval $ac_var=; unset $ac_var;} ;; 
    15872029      esac ;; 
    15882030    esac 
     
    16132055      eval ac_val=\$$ac_var 
    16142056      case $ac_val in 
    1615       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2057      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16162058      esac 
    1617       echo "$ac_var='\''$ac_val'\''" 
     2059      $as_echo "$ac_var='\''$ac_val'\''" 
    16182060    done | sort 
    16192061    echo 
     
    16302072        eval ac_val=\$$ac_var 
    16312073        case $ac_val in 
    1632         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2074        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16332075        esac 
    1634         echo "$ac_var='\''$ac_val'\''" 
     2076        $as_echo "$ac_var='\''$ac_val'\''" 
    16352077      done | sort 
    16362078      echo 
     
    16482090    fi 
    16492091    test "$ac_signal" != 0 && 
    1650       echo "$as_me: caught signal $ac_signal" 
    1651     echo "$as_me: exit $exit_status" 
     2092      $as_echo "$as_me: caught signal $ac_signal" 
     2093    $as_echo "$as_me: exit $exit_status" 
    16522094  } >&5 
    16532095  rm -f core *.core core.conftest.* && 
     
    16562098' 0 
    16572099for ac_signal in 1 2 13 15; do 
    1658   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     2100  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    16592101done 
    16602102ac_signal=0 
     
    16632105rm -f -r conftest* confdefs.h 
    16642106 
     2107$as_echo "/* confdefs.h */" > confdefs.h 
     2108 
    16652109# Predefined preprocessor variables. 
    16662110 
     
    16692113_ACEOF 
    16702114 
    1671  
    16722115cat >>confdefs.h <<_ACEOF 
    16732116#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    16742117_ACEOF 
    16752118 
    1676  
    16772119cat >>confdefs.h <<_ACEOF 
    16782120#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    16792121_ACEOF 
    16802122 
    1681  
    16822123cat >>confdefs.h <<_ACEOF 
    16832124#define PACKAGE_STRING "$PACKAGE_STRING" 
    16842125_ACEOF 
    16852126 
    1686  
    16872127cat >>confdefs.h <<_ACEOF 
    16882128#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    16892129_ACEOF 
    16902130 
     2131cat >>confdefs.h <<_ACEOF 
     2132#define PACKAGE_URL "$PACKAGE_URL" 
     2133_ACEOF 
     2134 
    16912135 
    16922136# Let the site file select an alternate cache file if it wants to. 
    1693 # Prefer explicitly selected file to automatically selected ones. 
     2137# Prefer an explicitly selected file to automatically selected ones. 
     2138ac_site_file1=NONE 
     2139ac_site_file2=NONE 
    16942140if test -n "$CONFIG_SITE"; then 
    1695   set x "$CONFIG_SITE" 
     2141  ac_site_file1=$CONFIG_SITE 
    16962142elif test "x$prefix" != xNONE; then 
    1697   set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    1698 else 
    1699   set x "$ac_default_prefix/share/config.site" \ 
    1700         "$ac_default_prefix/etc/config.site" 
    1701 fi 
    1702 shift 
    1703 for ac_site_file 
     2143  ac_site_file1=$prefix/share/config.site 
     2144  ac_site_file2=$prefix/etc/config.site 
     2145else 
     2146  ac_site_file1=$ac_default_prefix/share/config.site 
     2147  ac_site_file2=$ac_default_prefix/etc/config.site 
     2148fi 
     2149for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
    17042150do 
    1705   if test -r "$ac_site_file"; then 
    1706     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    1707 echo "$as_me: loading site script $ac_site_file" >&6;} 
     2151  test "x$ac_site_file" = xNONE && continue 
     2152  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
     2153    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
     2154$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17082155    sed 's/^/| /' "$ac_site_file" >&5 
    17092156    . "$ac_site_file" 
     
    17122159 
    17132160if test -r "$cache_file"; then 
    1714   # Some versions of bash will fail to source /dev/null (special 
    1715   # files actually), so we avoid doing that. 
    1716   if test -f "$cache_file"; then 
    1717     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    1718 echo "$as_me: loading cache $cache_file" >&6;} 
     2161  # Some versions of bash will fail to source /dev/null (special files 
     2162  # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
     2163  if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
     2164    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
     2165$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17192166    case $cache_file in 
    17202167      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    17232170  fi 
    17242171else 
    1725   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    1726 echo "$as_me: creating cache $cache_file" >&6;} 
     2172  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
     2173$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17272174  >$cache_file 
    17282175fi 
     
    17382185  case $ac_old_set,$ac_new_set in 
    17392186    set,) 
    1740       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1741 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     2187      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2188$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17422189      ac_cache_corrupted=: ;; 
    17432190    ,set) 
    1744       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    1745 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     2191      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
     2192$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17462193      ac_cache_corrupted=: ;; 
    17472194    ,);; 
    17482195    *) 
    17492196      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1750         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    1751 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1752         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    1753 echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1754         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    1755 echo "$as_me:   current value: $ac_new_val" >&2;} 
    1756         ac_cache_corrupted=: 
     2197        # differences in whitespace do not lead to failure. 
     2198        ac_old_val_w=`echo x $ac_old_val` 
     2199        ac_new_val_w=`echo x $ac_new_val` 
     2200        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
     2201          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
     2202$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     2203          ac_cache_corrupted=: 
     2204        else 
     2205          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2206$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
     2207          eval $ac_var=\$ac_old_val 
     2208        fi 
     2209        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
     2210$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
     2211        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
     2212$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    17572213      fi;; 
    17582214  esac 
     
    17602216  if test "$ac_new_set" = set; then 
    17612217    case $ac_new_val in 
    1762     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     2218    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    17632219    *) ac_arg=$ac_var=$ac_new_val ;; 
    17642220    esac 
    17652221    case " $ac_configure_args " in 
    17662222      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1767       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2223      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    17682224    esac 
    17692225  fi 
    17702226done 
    17712227if $ac_cache_corrupted; then 
    1772   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    1773 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1774   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1775 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1776    { (exit 1); exit 1; }; } 
    1777 fi 
    1778  
    1779  
    1780  
    1781  
    1782  
    1783  
    1784  
    1785  
    1786  
    1787  
    1788  
    1789  
    1790  
    1791  
    1792  
    1793  
    1794  
    1795  
    1796  
    1797  
    1798  
    1799  
    1800  
    1801  
     2228  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2230  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
     2231$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     2232  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2233fi 
     2234## -------------------- ## 
     2235## Main body of script. ## 
     2236## -------------------- ## 
    18022237 
    18032238ac_ext=c 
     
    18132248ac_aux_dir= 
    18142249for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1815   if test -f "$ac_dir/install-sh"; then 
    1816     ac_aux_dir=$ac_dir 
    1817     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1818     break 
    1819   elif test -f "$ac_dir/install.sh"; then 
    1820     ac_aux_dir=$ac_dir 
    1821     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1822     break 
    1823   elif test -f "$ac_dir/shtool"; then 
    1824     ac_aux_dir=$ac_dir 
    1825     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1826     break 
    1827   fi 
     2250  for ac_t in install-sh install.sh shtool; do 
     2251    if test -f "$ac_dir/$ac_t"; then 
     2252      ac_aux_dir=$ac_dir 
     2253      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2254      break 2 
     2255    fi 
     2256  done 
    18282257done 
    18292258if test -z "$ac_aux_dir"; then 
    1830   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1831 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1832    { (exit 1); exit 1; }; } 
     2259  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18332260fi 
    18342261 
     
    18442271# Make sure we can run config.sub. 
    18452272$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1846   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1847 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1848    { (exit 1); exit 1; }; } 
    1849  
    1850 { echo "$as_me:$LINENO: checking build system type" >&5 
    1851 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    1852 if test "${ac_cv_build+set}" = set; then 
    1853   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2273  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2274 
     2275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     2276$as_echo_n "checking build system type... " >&6; } 
     2277if test "${ac_cv_build+set}" = set; then : 
     2278  $as_echo_n "(cached) " >&6 
    18542279else 
    18552280  ac_build_alias=$build_alias 
     
    18572282  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    18582283test "x$ac_build_alias" = x && 
    1859   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1860 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1861    { (exit 1); exit 1; }; } 
     2284  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    18622285ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1863   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1864 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1865    { (exit 1); exit 1; }; } 
    1866  
    1867 fi 
    1868 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    1869 echo "${ECHO_T}$ac_cv_build" >&6; } 
     2286  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2287 
     2288fi 
     2289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
     2290$as_echo "$ac_cv_build" >&6; } 
    18702291case $ac_cv_build in 
    18712292*-*-*) ;; 
    1872 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1873 echo "$as_me: error: invalid value of canonical build" >&2;} 
    1874    { (exit 1); exit 1; }; };; 
     2293*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    18752294esac 
    18762295build=$ac_cv_build 
     
    18882307 
    18892308 
    1890 { echo "$as_me:$LINENO: checking host system type" >&5 
    1891 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    1892 if test "${ac_cv_host+set}" = set; then 
    1893   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
     2310$as_echo_n "checking host system type... " >&6; } 
     2311if test "${ac_cv_host+set}" = set; then : 
     2312  $as_echo_n "(cached) " >&6 
    18942313else 
    18952314  if test "x$host_alias" = x; then 
     
    18972316else 
    18982317  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1899     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1901    { (exit 1); exit 1; }; } 
    1902 fi 
    1903  
    1904 fi 
    1905 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    1906 echo "${ECHO_T}$ac_cv_host" >&6; } 
     2318    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2319fi 
     2320 
     2321fi 
     2322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
     2323$as_echo "$ac_cv_host" >&6; } 
    19072324case $ac_cv_host in 
    19082325*-*-*) ;; 
    1909 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1910 echo "$as_me: error: invalid value of canonical host" >&2;} 
    1911    { (exit 1); exit 1; }; };; 
     2326*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19122327esac 
    19132328host=$ac_cv_host 
     
    19252340 
    19262341 
    1927 { echo "$as_me:$LINENO: checking target system type" >&5 
    1928 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    1929 if test "${ac_cv_target+set}" = set; then 
    1930   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
     2343$as_echo_n "checking target system type... " >&6; } 
     2344if test "${ac_cv_target+set}" = set; then : 
     2345  $as_echo_n "(cached) " >&6 
    19312346else 
    19322347  if test "x$target_alias" = x; then 
     
    19342349else 
    19352350  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1936     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1937 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    1938    { (exit 1); exit 1; }; } 
    1939 fi 
    1940  
    1941 fi 
    1942 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    1943 echo "${ECHO_T}$ac_cv_target" >&6; } 
     2351    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2352fi 
     2353 
     2354fi 
     2355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
     2356$as_echo "$ac_cv_target" >&6; } 
    19442357case $ac_cv_target in 
    19452358*-*-*) ;; 
    1946 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    1947 echo "$as_me: error: invalid value of canonical target" >&2;} 
    1948    { (exit 1); exit 1; }; };; 
     2359*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    19492360esac 
    19502361target=$ac_cv_target 
     
    19902401  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    19912402set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1992 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    1993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    1994 if test "${ac_cv_prog_CC+set}" = set; then 
    1995   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2404$as_echo_n "checking for $ac_word... " >&6; } 
     2405if test "${ac_cv_prog_CC+set}" = set; then : 
     2406  $as_echo_n "(cached) " >&6 
    19962407else 
    19972408  if test -n "$CC"; then 
     
    20032414  IFS=$as_save_IFS 
    20042415  test -z "$as_dir" && as_dir=. 
    2005   for ac_exec_ext in '' $ac_executable_extensions; do 
     2416    for ac_exec_ext in '' $ac_executable_extensions; do 
    20062417  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20072418    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2008     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20092420    break 2 
    20102421  fi 
    20112422done 
    2012 done 
     2423  done 
    20132424IFS=$as_save_IFS 
    20142425 
     
    20172428CC=$ac_cv_prog_CC 
    20182429if test -n "$CC"; then 
    2019   { echo "$as_me:$LINENO: result: $CC" >&5 
    2020 echo "${ECHO_T}$CC" >&6; } 
    2021 else 
    2022   { echo "$as_me:$LINENO: result: no" >&5 
    2023 echo "${ECHO_T}no" >&6; } 
     2430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2431$as_echo "$CC" >&6; } 
     2432else 
     2433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2434$as_echo "no" >&6; } 
    20242435fi 
    20252436 
     
    20302441  # Extract the first word of "gcc", so it can be a program name with args. 
    20312442set dummy gcc; ac_word=$2 
    2032 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2035   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2444$as_echo_n "checking for $ac_word... " >&6; } 
     2445if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2446  $as_echo_n "(cached) " >&6 
    20362447else 
    20372448  if test -n "$ac_ct_CC"; then 
     
    20432454  IFS=$as_save_IFS 
    20442455  test -z "$as_dir" && as_dir=. 
    2045   for ac_exec_ext in '' $ac_executable_extensions; do 
     2456    for ac_exec_ext in '' $ac_executable_extensions; do 
    20462457  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20472458    ac_cv_prog_ac_ct_CC="gcc" 
    2048     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2459    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20492460    break 2 
    20502461  fi 
    20512462done 
    2052 done 
     2463  done 
    20532464IFS=$as_save_IFS 
    20542465 
     
    20572468ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    20582469if test -n "$ac_ct_CC"; then 
    2059   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2060 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2061 else 
    2062   { echo "$as_me:$LINENO: result: no" >&5 
    2063 echo "${ECHO_T}no" >&6; } 
     2470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2471$as_echo "$ac_ct_CC" >&6; } 
     2472else 
     2473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2474$as_echo "no" >&6; } 
    20642475fi 
    20652476 
     
    20692480    case $cross_compiling:$ac_tool_warned in 
    20702481yes:) 
    2071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2072 whose name does not start with the host triplet.  If you think this 
    2073 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2075 whose name does not start with the host triplet.  If you think this 
    2076 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2482{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2483$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    20772484ac_tool_warned=yes ;; 
    20782485esac 
     
    20872494    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    20882495set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2091 if test "${ac_cv_prog_CC+set}" = set; then 
    2092   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2497$as_echo_n "checking for $ac_word... " >&6; } 
     2498if test "${ac_cv_prog_CC+set}" = set; then : 
     2499  $as_echo_n "(cached) " >&6 
    20932500else 
    20942501  if test -n "$CC"; then 
     
    21002507  IFS=$as_save_IFS 
    21012508  test -z "$as_dir" && as_dir=. 
    2102   for ac_exec_ext in '' $ac_executable_extensions; do 
     2509    for ac_exec_ext in '' $ac_executable_extensions; do 
    21032510  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21042511    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2105     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21062513    break 2 
    21072514  fi 
    21082515done 
    2109 done 
     2516  done 
    21102517IFS=$as_save_IFS 
    21112518 
     
    21142521CC=$ac_cv_prog_CC 
    21152522if test -n "$CC"; then 
    2116   { echo "$as_me:$LINENO: result: $CC" >&5 
    2117 echo "${ECHO_T}$CC" >&6; } 
    2118 else 
    2119   { echo "$as_me:$LINENO: result: no" >&5 
    2120 echo "${ECHO_T}no" >&6; } 
     2523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2524$as_echo "$CC" >&6; } 
     2525else 
     2526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2527$as_echo "no" >&6; } 
    21212528fi 
    21222529 
     
    21272534  # Extract the first word of "cc", so it can be a program name with args. 
    21282535set dummy cc; ac_word=$2 
    2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2131 if test "${ac_cv_prog_CC+set}" = set; then 
    2132   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2537$as_echo_n "checking for $ac_word... " >&6; } 
     2538if test "${ac_cv_prog_CC+set}" = set; then : 
     2539  $as_echo_n "(cached) " >&6 
    21332540else 
    21342541  if test -n "$CC"; then 
     
    21412548  IFS=$as_save_IFS 
    21422549  test -z "$as_dir" && as_dir=. 
    2143   for ac_exec_ext in '' $ac_executable_extensions; do 
     2550    for ac_exec_ext in '' $ac_executable_extensions; do 
    21442551  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21452552    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    21482555     fi 
    21492556    ac_cv_prog_CC="cc" 
    2150     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2557    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21512558    break 2 
    21522559  fi 
    21532560done 
    2154 done 
     2561  done 
    21552562IFS=$as_save_IFS 
    21562563 
     
    21712578CC=$ac_cv_prog_CC 
    21722579if test -n "$CC"; then 
    2173   { echo "$as_me:$LINENO: result: $CC" >&5 
    2174 echo "${ECHO_T}$CC" >&6; } 
    2175 else 
    2176   { echo "$as_me:$LINENO: result: no" >&5 
    2177 echo "${ECHO_T}no" >&6; } 
     2580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2581$as_echo "$CC" >&6; } 
     2582else 
     2583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2584$as_echo "no" >&6; } 
    21782585fi 
    21792586 
     
    21862593    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    21872594set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2188 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2190 if test "${ac_cv_prog_CC+set}" = set; then 
    2191   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2596$as_echo_n "checking for $ac_word... " >&6; } 
     2597if test "${ac_cv_prog_CC+set}" = set; then : 
     2598  $as_echo_n "(cached) " >&6 
    21922599else 
    21932600  if test -n "$CC"; then 
     
    21992606  IFS=$as_save_IFS 
    22002607  test -z "$as_dir" && as_dir=. 
    2201   for ac_exec_ext in '' $ac_executable_extensions; do 
     2608    for ac_exec_ext in '' $ac_executable_extensions; do 
    22022609  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22032610    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22052612    break 2 
    22062613  fi 
    22072614done 
    2208 done 
     2615  done 
    22092616IFS=$as_save_IFS 
    22102617 
     
    22132620CC=$ac_cv_prog_CC 
    22142621if test -n "$CC"; then 
    2215   { echo "$as_me:$LINENO: result: $CC" >&5 
    2216 echo "${ECHO_T}$CC" >&6; } 
    2217 else 
    2218   { echo "$as_me:$LINENO: result: no" >&5 
    2219 echo "${ECHO_T}no" >&6; } 
     2622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2623$as_echo "$CC" >&6; } 
     2624else 
     2625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2626$as_echo "no" >&6; } 
    22202627fi 
    22212628 
     
    22302637  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22312638set dummy $ac_prog; ac_word=$2 
    2232 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2234 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2235   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2640$as_echo_n "checking for $ac_word... " >&6; } 
     2641if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2642  $as_echo_n "(cached) " >&6 
    22362643else 
    22372644  if test -n "$ac_ct_CC"; then 
     
    22432650  IFS=$as_save_IFS 
    22442651  test -z "$as_dir" && as_dir=. 
    2245   for ac_exec_ext in '' $ac_executable_extensions; do 
     2652    for ac_exec_ext in '' $ac_executable_extensions; do 
    22462653  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22472654    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2248     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22492656    break 2 
    22502657  fi 
    22512658done 
    2252 done 
     2659  done 
    22532660IFS=$as_save_IFS 
    22542661 
     
    22572664ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    22582665if test -n "$ac_ct_CC"; then 
    2259   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2260 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2261 else 
    2262   { echo "$as_me:$LINENO: result: no" >&5 
    2263 echo "${ECHO_T}no" >&6; } 
     2666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2667$as_echo "$ac_ct_CC" >&6; } 
     2668else 
     2669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2670$as_echo "no" >&6; } 
    22642671fi 
    22652672 
     
    22732680    case $cross_compiling:$ac_tool_warned in 
    22742681yes:) 
    2275 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2276 whose name does not start with the host triplet.  If you think this 
    2277 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2278 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2279 whose name does not start with the host triplet.  If you think this 
    2280 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    22812684ac_tool_warned=yes ;; 
    22822685esac 
     
    22882691 
    22892692 
    2290 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2291 See \`config.log' for more details." >&5 
    2292 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2293 See \`config.log' for more details." >&2;} 
    2294    { (exit 1); exit 1; }; } 
     2693test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2695as_fn_error "no acceptable C compiler found in \$PATH 
     2696See \`config.log' for more details." "$LINENO" 5; } 
    22952697 
    22962698# Provide some information about the compiler. 
    2297 echo "$as_me:$LINENO: checking for C compiler version" >&5 
    2298 ac_compiler=`set X $ac_compile; echo $2` 
    2299 { (ac_try="$ac_compiler --version >&5" 
     2699$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
     2700set X $ac_compile 
     2701ac_compiler=$2 
     2702for ac_option in --version -v -V -qversion; do 
     2703  { { ac_try="$ac_compiler $ac_option >&5" 
    23002704case "(($ac_try" in 
    23012705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23022706  *) ac_try_echo=$ac_try;; 
    23032707esac 
    2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2305   (eval "$ac_compiler --version >&5") 2>&5 
     2708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2709$as_echo "$ac_try_echo"; } >&5 
     2710  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23062711  ac_status=$? 
    2307   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2308   (exit $ac_status); } 
    2309 { (ac_try="$ac_compiler -v >&5" 
     2712  if test -s conftest.err; then 
     2713    sed '10a\ 
     2714... rest of stderr output deleted ... 
     2715         10q' conftest.err >conftest.er1 
     2716    cat conftest.er1 >&5 
     2717  fi 
     2718  rm -f conftest.er1 conftest.err 
     2719  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2720  test $ac_status = 0; } 
     2721done 
     2722 
     2723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2724/* end confdefs.h.  */ 
     2725 
     2726int 
     2727main () 
     2728{ 
     2729 
     2730  ; 
     2731  return 0; 
     2732} 
     2733_ACEOF 
     2734ac_clean_files_save=$ac_clean_files 
     2735ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2736# Try to create an executable without -o first, disregard a.out. 
     2737# It will help us diagnose broken compilers, and finding out an intuition 
     2738# of exeext. 
     2739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
     2740$as_echo_n "checking whether the C compiler works... " >&6; } 
     2741ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2742 
     2743# The possible output files: 
     2744ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
     2745 
     2746ac_rmfiles= 
     2747for ac_file in $ac_files 
     2748do 
     2749  case $ac_file in 
     2750    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2751    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
     2752  esac 
     2753done 
     2754rm -f $ac_rmfiles 
     2755 
     2756if { { ac_try="$ac_link_default" 
    23102757case "(($ac_try" in 
    23112758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23122759  *) ac_try_echo=$ac_try;; 
    23132760esac 
    2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2315   (eval "$ac_compiler -v >&5") 2>&5 
    2316   ac_status=$? 
    2317   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2318   (exit $ac_status); } 
    2319 { (ac_try="$ac_compiler -V >&5" 
    2320 case "(($ac_try" in 
    2321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2322   *) ac_try_echo=$ac_try;; 
    2323 esac 
    2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2325   (eval "$ac_compiler -V >&5") 2>&5 
    2326   ac_status=$? 
    2327   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2328   (exit $ac_status); } 
    2329  
    2330 cat >conftest.$ac_ext <<_ACEOF 
    2331 /* confdefs.h.  */ 
    2332 _ACEOF 
    2333 cat confdefs.h >>conftest.$ac_ext 
    2334 cat >>conftest.$ac_ext <<_ACEOF 
    2335 /* end confdefs.h.  */ 
    2336  
    2337 int 
    2338 main () 
    2339 { 
    2340  
    2341   ; 
    2342   return 0; 
    2343 } 
    2344 _ACEOF 
    2345 ac_clean_files_save=$ac_clean_files 
    2346 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    2347 # Try to create an executable without -o first, disregard a.out. 
    2348 # It will help us diagnose broken compilers, and finding out an intuition 
    2349 # of exeext. 
    2350 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    2351 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
    2352 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2353 # 
    2354 # List of possible output files, starting from the most likely. 
    2355 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
    2356 # only as a last resort.  b.out is created by i960 compilers. 
    2357 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
    2358 # 
    2359 # The IRIX 6 linker writes into existing files which may not be 
    2360 # executable, retaining their permissions.  Remove them first so a 
    2361 # subsequent execution test works. 
    2362 ac_rmfiles= 
    2363 for ac_file in $ac_files 
    2364 do 
    2365   case $ac_file in 
    2366     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    2367     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    2368   esac 
    2369 done 
    2370 rm -f $ac_rmfiles 
    2371  
    2372 if { (ac_try="$ac_link_default" 
    2373 case "(($ac_try" in 
    2374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2375   *) ac_try_echo=$ac_try;; 
    2376 esac 
    2377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2762$as_echo "$ac_try_echo"; } >&5 
    23782763  (eval "$ac_link_default") 2>&5 
    23792764  ac_status=$? 
    2380   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2381   (exit $ac_status); }; then 
     2765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2766  test $ac_status = 0; }; then : 
    23822767  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    23832768# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    23892774  test -f "$ac_file" || continue 
    23902775  case $ac_file in 
    2391     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
     2776    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
    23922777        ;; 
    23932778    [ab].out ) 
     
    23962781        break;; 
    23972782    *.* ) 
    2398         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2783        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    23992784        then :; else 
    24002785           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24152800  ac_file='' 
    24162801fi 
    2417  
    2418 { echo "$as_me:$LINENO: result: $ac_file" >&5 
    2419 echo "${ECHO_T}$ac_file" >&6; } 
    2420 if test -z "$ac_file"; then 
    2421   echo "$as_me: failed program was:" >&5 
     2802if test -z "$ac_file"; then : 
     2803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2804$as_echo "no" >&6; } 
     2805$as_echo "$as_me: failed program was:" >&5 
    24222806sed 's/^/| /' conftest.$ac_ext >&5 
    24232807 
    2424 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2425 See \`config.log' for more details." >&5 
    2426 echo "$as_me: error: C compiler cannot create executables 
    2427 See \`config.log' for more details." >&2;} 
    2428    { (exit 77); exit 77; }; } 
    2429 fi 
    2430  
     2808{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2810{ as_fn_set_status 77 
     2811as_fn_error "C compiler cannot create executables 
     2812See \`config.log' for more details." "$LINENO" 5; }; } 
     2813else 
     2814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     2815$as_echo "yes" >&6; } 
     2816fi 
     2817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
     2818$as_echo_n "checking for C compiler default output file name... " >&6; } 
     2819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
     2820$as_echo "$ac_file" >&6; } 
    24312821ac_exeext=$ac_cv_exeext 
    24322822 
    2433 # Check that the compiler produces executables we can run.  If not, either 
    2434 # the compiler is broken, or we cross compile. 
    2435 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    2436 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
    2437 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    2438 # If not cross compiling, check that we can run a simple program. 
    2439 if test "$cross_compiling" != yes; then 
    2440   if { ac_try='./$ac_file' 
    2441   { (case "(($ac_try" in 
    2442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2443   *) ac_try_echo=$ac_try;; 
    2444 esac 
    2445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2446   (eval "$ac_try") 2>&5 
    2447   ac_status=$? 
    2448   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2449   (exit $ac_status); }; }; then 
    2450     cross_compiling=no 
    2451   else 
    2452     if test "$cross_compiling" = maybe; then 
    2453         cross_compiling=yes 
    2454     else 
    2455         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    2456 If you meant to cross compile, use \`--host'. 
    2457 See \`config.log' for more details." >&5 
    2458 echo "$as_me: error: cannot run C compiled programs. 
    2459 If you meant to cross compile, use \`--host'. 
    2460 See \`config.log' for more details." >&2;} 
    2461    { (exit 1); exit 1; }; } 
    2462     fi 
    2463   fi 
    2464 fi 
    2465 { echo "$as_me:$LINENO: result: yes" >&5 
    2466 echo "${ECHO_T}yes" >&6; } 
    2467  
    2468 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     2823rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
    24692824ac_clean_files=$ac_clean_files_save 
    2470 # Check that the compiler produces executables we can run.  If not, either 
    2471 # the compiler is broken, or we cross compile. 
    2472 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    2473 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
    2474 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    2475 echo "${ECHO_T}$cross_compiling" >&6; } 
    2476  
    2477 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    2478 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
    2479 if { (ac_try="$ac_link" 
     2825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
     2826$as_echo_n "checking for suffix of executables... " >&6; } 
     2827if { { ac_try="$ac_link" 
    24802828case "(($ac_try" in 
    24812829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24822830  *) ac_try_echo=$ac_try;; 
    24832831esac 
    2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2832eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2833$as_echo "$ac_try_echo"; } >&5 
    24852834  (eval "$ac_link") 2>&5 
    24862835  ac_status=$? 
    2487   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2488   (exit $ac_status); }; then 
     2836  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2837  test $ac_status = 0; }; then : 
    24892838  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    24902839# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    24942843  test -f "$ac_file" || continue 
    24952844  case $ac_file in 
    2496     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
     2845    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
    24972846    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    24982847          break;; 
     
    25012850done 
    25022851else 
    2503   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2504 See \`config.log' for more details." >&5 
    2505 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2506 See \`config.log' for more details." >&2;} 
    2507    { (exit 1); exit 1; }; } 
    2508 fi 
    2509  
    2510 rm -f conftest$ac_cv_exeext 
    2511 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    2512 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
     2852  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2853$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2854as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2855See \`config.log' for more details." "$LINENO" 5; } 
     2856fi 
     2857rm -f conftest conftest$ac_cv_exeext 
     2858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
     2859$as_echo "$ac_cv_exeext" >&6; } 
    25132860 
    25142861rm -f conftest.$ac_ext 
    25152862EXEEXT=$ac_cv_exeext 
    25162863ac_exeext=$EXEEXT 
    2517 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    2518 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
    2519 if test "${ac_cv_objext+set}" = set; then 
    2520   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2521 else 
    2522   cat >conftest.$ac_ext <<_ACEOF 
    2523 /* confdefs.h.  */ 
    2524 _ACEOF 
    2525 cat confdefs.h >>conftest.$ac_ext 
    2526 cat >>conftest.$ac_ext <<_ACEOF 
     2864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25272865/* end confdefs.h.  */ 
    2528  
     2866#include <stdio.h> 
    25292867int 
    25302868main () 
    25312869{ 
     2870FILE *f = fopen ("conftest.out", "w"); 
     2871 return ferror (f) || fclose (f) != 0; 
    25322872 
    25332873  ; 
     
    25352875} 
    25362876_ACEOF 
    2537 rm -f conftest.o conftest.obj 
    2538 if { (ac_try="$ac_compile" 
     2877ac_clean_files="$ac_clean_files conftest.out" 
     2878# Check that the compiler produces executables we can run.  If not, either 
     2879# the compiler is broken, or we cross compile. 
     2880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
     2881$as_echo_n "checking whether we are cross compiling... " >&6; } 
     2882if test "$cross_compiling" != yes; then 
     2883  { { ac_try="$ac_link" 
    25392884case "(($ac_try" in 
    25402885  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25412886  *) ac_try_echo=$ac_try;; 
    25422887esac 
    2543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2888eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2889$as_echo "$ac_try_echo"; } >&5 
     2890  (eval "$ac_link") 2>&5 
     2891  ac_status=$? 
     2892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2893  test $ac_status = 0; } 
     2894  if { ac_try='./conftest$ac_cv_exeext' 
     2895  { { case "(($ac_try" in 
     2896  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2897  *) ac_try_echo=$ac_try;; 
     2898esac 
     2899eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2900$as_echo "$ac_try_echo"; } >&5 
     2901  (eval "$ac_try") 2>&5 
     2902  ac_status=$? 
     2903  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2904  test $ac_status = 0; }; }; then 
     2905    cross_compiling=no 
     2906  else 
     2907    if test "$cross_compiling" = maybe; then 
     2908        cross_compiling=yes 
     2909    else 
     2910        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2911$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2912as_fn_error "cannot run C compiled programs. 
     2913If you meant to cross compile, use \`--host'. 
     2914See \`config.log' for more details." "$LINENO" 5; } 
     2915    fi 
     2916  fi 
     2917fi 
     2918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
     2919$as_echo "$cross_compiling" >&6; } 
     2920 
     2921rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
     2922ac_clean_files=$ac_clean_files_save 
     2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
     2924$as_echo_n "checking for suffix of object files... " >&6; } 
     2925if test "${ac_cv_objext+set}" = set; then : 
     2926  $as_echo_n "(cached) " >&6 
     2927else 
     2928  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2929/* end confdefs.h.  */ 
     2930 
     2931int 
     2932main () 
     2933{ 
     2934 
     2935  ; 
     2936  return 0; 
     2937} 
     2938_ACEOF 
     2939rm -f conftest.o conftest.obj 
     2940if { { ac_try="$ac_compile" 
     2941case "(($ac_try" in 
     2942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2943  *) ac_try_echo=$ac_try;; 
     2944esac 
     2945eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2946$as_echo "$ac_try_echo"; } >&5 
    25442947  (eval "$ac_compile") 2>&5 
    25452948  ac_status=$? 
    2546   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2547   (exit $ac_status); }; then 
     2949  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2950  test $ac_status = 0; }; then : 
    25482951  for ac_file in conftest.o conftest.obj conftest.*; do 
    25492952  test -f "$ac_file" || continue; 
    25502953  case $ac_file in 
    2551     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
     2954    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
    25522955    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    25532956       break;; 
     
    25552958done 
    25562959else 
    2557   echo "$as_me: failed program was:" >&5 
     2960  $as_echo "$as_me: failed program was:" >&5 
    25582961sed 's/^/| /' conftest.$ac_ext >&5 
    25592962 
    2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2561 See \`config.log' for more details." >&5 
    2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2563 See \`config.log' for more details." >&2;} 
    2564    { (exit 1); exit 1; }; } 
    2565 fi 
    2566  
     2963{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2964$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2965as_fn_error "cannot compute suffix of object files: cannot compile 
     2966See \`config.log' for more details." "$LINENO" 5; } 
     2967fi 
    25672968rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    25682969fi 
    2569 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    2570 echo "${ECHO_T}$ac_cv_objext" >&6; } 
     2970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
     2971$as_echo "$ac_cv_objext" >&6; } 
    25712972OBJEXT=$ac_cv_objext 
    25722973ac_objext=$OBJEXT 
    2573 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
    2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
    2576   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2577 else 
    2578   cat >conftest.$ac_ext <<_ACEOF 
    2579 /* confdefs.h.  */ 
    2580 _ACEOF 
    2581 cat confdefs.h >>conftest.$ac_ext 
    2582 cat >>conftest.$ac_ext <<_ACEOF 
     2974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
     2975$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
     2976if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     2977  $as_echo_n "(cached) " >&6 
     2978else 
     2979  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25832980/* end confdefs.h.  */ 
    25842981 
     
    25942991} 
    25952992_ACEOF 
    2596 rm -f conftest.$ac_objext 
    2597 if { (ac_try="$ac_compile" 
    2598 case "(($ac_try" in 
    2599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2600   *) ac_try_echo=$ac_try;; 
    2601 esac 
    2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2603   (eval "$ac_compile") 2>conftest.er1 
    2604   ac_status=$? 
    2605   grep -v '^ *+' conftest.er1 >conftest.err 
    2606   rm -f conftest.er1 
    2607   cat conftest.err >&5 
    2608   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2609   (exit $ac_status); } && { 
    2610          test -z "$ac_c_werror_flag" || 
    2611          test ! -s conftest.err 
    2612        } && test -s conftest.$ac_objext; then 
     2993if ac_fn_c_try_compile "$LINENO"; then : 
    26132994  ac_compiler_gnu=yes 
    26142995else 
    2615   echo "$as_me: failed program was:" >&5 
    2616 sed 's/^/| /' conftest.$ac_ext >&5 
    2617  
    2618         ac_compiler_gnu=no 
    2619 fi 
    2620  
     2996  ac_compiler_gnu=no 
     2997fi 
    26212998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26222999ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26233000 
    26243001fi 
    2625 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    2626 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
    2627 GCC=`test $ac_compiler_gnu = yes && echo yes` 
     3002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
     3003$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
     3004if test $ac_compiler_gnu = yes; then 
     3005  GCC=yes 
     3006else 
     3007  GCC= 
     3008fi 
    26283009ac_test_CFLAGS=${CFLAGS+set} 
    26293010ac_save_CFLAGS=$CFLAGS 
    2630 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    2631 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
    2632 if test "${ac_cv_prog_cc_g+set}" = set; then 
    2633   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
     3012$as_echo_n "checking whether $CC accepts -g... " >&6; } 
     3013if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3014  $as_echo_n "(cached) " >&6 
    26343015else 
    26353016  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    26373018   ac_cv_prog_cc_g=no 
    26383019   CFLAGS="-g" 
    2639    cat >conftest.$ac_ext <<_ACEOF 
    2640 /* confdefs.h.  */ 
    2641 _ACEOF 
    2642 cat confdefs.h >>conftest.$ac_ext 
    2643 cat >>conftest.$ac_ext <<_ACEOF 
     3020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26443021/* end confdefs.h.  */ 
    26453022 
     
    26523029} 
    26533030_ACEOF 
    2654 rm -f conftest.$ac_objext 
    2655 if { (ac_try="$ac_compile" 
    2656 case "(($ac_try" in 
    2657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2658   *) ac_try_echo=$ac_try;; 
    2659 esac 
    2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2661   (eval "$ac_compile") 2>conftest.er1 
    2662   ac_status=$? 
    2663   grep -v '^ *+' conftest.er1 >conftest.err 
    2664   rm -f conftest.er1 
    2665   cat conftest.err >&5 
    2666   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2667   (exit $ac_status); } && { 
    2668          test -z "$ac_c_werror_flag" || 
    2669          test ! -s conftest.err 
    2670        } && test -s conftest.$ac_objext; then 
     3031if ac_fn_c_try_compile "$LINENO"; then : 
    26713032  ac_cv_prog_cc_g=yes 
    26723033else 
    2673   echo "$as_me: failed program was:" >&5 
    2674 sed 's/^/| /' conftest.$ac_ext >&5 
    2675  
    2676         CFLAGS="" 
    2677       cat >conftest.$ac_ext <<_ACEOF 
    2678 /* confdefs.h.  */ 
    2679 _ACEOF 
    2680 cat confdefs.h >>conftest.$ac_ext 
    2681 cat >>conftest.$ac_ext <<_ACEOF 
     3034  CFLAGS="" 
     3035      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26823036/* end confdefs.h.  */ 
    26833037 
     
    26903044} 
    26913045_ACEOF 
    2692 rm -f conftest.$ac_objext 
    2693 if { (ac_try="$ac_compile" 
    2694 case "(($ac_try" in 
    2695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2696   *) ac_try_echo=$ac_try;; 
    2697 esac 
    2698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2699   (eval "$ac_compile") 2>conftest.er1 
    2700   ac_status=$? 
    2701   grep -v '^ *+' conftest.er1 >conftest.err 
    2702   rm -f conftest.er1 
    2703   cat conftest.err >&5 
    2704   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2705   (exit $ac_status); } && { 
    2706          test -z "$ac_c_werror_flag" || 
    2707          test ! -s conftest.err 
    2708        } && test -s conftest.$ac_objext; then 
    2709   : 
    2710 else 
    2711   echo "$as_me: failed program was:" >&5 
    2712 sed 's/^/| /' conftest.$ac_ext >&5 
    2713  
    2714         ac_c_werror_flag=$ac_save_c_werror_flag 
     3046if ac_fn_c_try_compile "$LINENO"; then : 
     3047 
     3048else 
     3049  ac_c_werror_flag=$ac_save_c_werror_flag 
    27153050         CFLAGS="-g" 
    2716          cat >conftest.$ac_ext <<_ACEOF 
    2717 /* confdefs.h.  */ 
    2718 _ACEOF 
    2719 cat confdefs.h >>conftest.$ac_ext 
    2720 cat >>conftest.$ac_ext <<_ACEOF 
     3051         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27213052/* end confdefs.h.  */ 
    27223053 
     
    27293060} 
    27303061_ACEOF 
    2731 rm -f conftest.$ac_objext 
    2732 if { (ac_try="$ac_compile" 
    2733 case "(($ac_try" in 
    2734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2735   *) ac_try_echo=$ac_try;; 
    2736 esac 
    2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2738   (eval "$ac_compile") 2>conftest.er1 
    2739   ac_status=$? 
    2740   grep -v '^ *+' conftest.er1 >conftest.err 
    2741   rm -f conftest.er1 
    2742   cat conftest.err >&5 
    2743   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2744   (exit $ac_status); } && { 
    2745          test -z "$ac_c_werror_flag" || 
    2746          test ! -s conftest.err 
    2747        } && test -s conftest.$ac_objext; then 
     3062if ac_fn_c_try_compile "$LINENO"; then : 
    27483063  ac_cv_prog_cc_g=yes 
    2749 else 
    2750   echo "$as_me: failed program was:" >&5 
    2751 sed 's/^/| /' conftest.$ac_ext >&5 
    2752  
    2753  
    2754 fi 
    2755  
     3064fi 
    27563065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27573066fi 
    2758  
    27593067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27603068fi 
    2761  
    27623069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27633070   ac_c_werror_flag=$ac_save_c_werror_flag 
    27643071fi 
    2765 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    2766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
     3072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
     3073$as_echo "$ac_cv_prog_cc_g" >&6; } 
    27673074if test "$ac_test_CFLAGS" = set; then 
    27683075  CFLAGS=$ac_save_CFLAGS 
     
    27803087  fi 
    27813088fi 
    2782 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
    2783 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
    2784 if test "${ac_cv_prog_cc_c89+set}" = set; then 
    2785   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
     3090$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
     3091if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3092  $as_echo_n "(cached) " >&6 
    27863093else 
    27873094  ac_cv_prog_cc_c89=no 
    27883095ac_save_CC=$CC 
    2789 cat >conftest.$ac_ext <<_ACEOF 
    2790 /* confdefs.h.  */ 
    2791 _ACEOF 
    2792 cat confdefs.h >>conftest.$ac_ext 
    2793 cat >>conftest.$ac_ext <<_ACEOF 
     3096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27943097/* end confdefs.h.  */ 
    27953098#include <stdarg.h> 
     
    28483151do 
    28493152  CC="$ac_save_CC $ac_arg" 
    2850   rm -f conftest.$ac_objext 
    2851 if { (ac_try="$ac_compile" 
    2852 case "(($ac_try" in 
    2853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2854   *) ac_try_echo=$ac_try;; 
    2855 esac 
    2856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2857   (eval "$ac_compile") 2>conftest.er1 
    2858   ac_status=$? 
    2859   grep -v '^ *+' conftest.er1 >conftest.err 
    2860   rm -f conftest.er1 
    2861   cat conftest.err >&5 
    2862   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2863   (exit $ac_status); } && { 
    2864          test -z "$ac_c_werror_flag" || 
    2865          test ! -s conftest.err 
    2866        } && test -s conftest.$ac_objext; then 
     3153  if ac_fn_c_try_compile "$LINENO"; then : 
    28673154  ac_cv_prog_cc_c89=$ac_arg 
    2868 else 
    2869   echo "$as_me: failed program was:" >&5 
    2870 sed 's/^/| /' conftest.$ac_ext >&5 
    2871  
    2872  
    2873 fi 
    2874  
     3155fi 
    28753156rm -f core conftest.err conftest.$ac_objext 
    28763157  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    28833164case "x$ac_cv_prog_cc_c89" in 
    28843165  x) 
    2885     { echo "$as_me:$LINENO: result: none needed" >&5 
    2886 echo "${ECHO_T}none needed" >&6; } ;; 
     3166    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
     3167$as_echo "none needed" >&6; } ;; 
    28873168  xno) 
    2888     { echo "$as_me:$LINENO: result: unsupported" >&5 
    2889 echo "${ECHO_T}unsupported" >&6; } ;; 
     3169    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
     3170$as_echo "unsupported" >&6; } ;; 
    28903171  *) 
    28913172    CC="$CC $ac_cv_prog_cc_c89" 
    2892     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
    2893 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     3173    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
     3174$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    28943175esac 
    2895  
     3176if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3177 
     3178fi 
    28963179 
    28973180ac_ext=c 
     
    29153198    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29163199set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2917 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2919 if test "${ac_cv_prog_CXX+set}" = set; then 
    2920   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3201$as_echo_n "checking for $ac_word... " >&6; } 
     3202if test "${ac_cv_prog_CXX+set}" = set; then : 
     3203  $as_echo_n "(cached) " >&6 
    29213204else 
    29223205  if test -n "$CXX"; then 
     
    29283211  IFS=$as_save_IFS 
    29293212  test -z "$as_dir" && as_dir=. 
    2930   for ac_exec_ext in '' $ac_executable_extensions; do 
     3213    for ac_exec_ext in '' $ac_executable_extensions; do 
    29313214  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29323215    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2933     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29343217    break 2 
    29353218  fi 
    29363219done 
    2937 done 
     3220  done 
    29383221IFS=$as_save_IFS 
    29393222 
     
    29423225CXX=$ac_cv_prog_CXX 
    29433226if test -n "$CXX"; then 
    2944   { echo "$as_me:$LINENO: result: $CXX" >&5 
    2945 echo "${ECHO_T}$CXX" >&6; } 
    2946 else 
    2947   { echo "$as_me:$LINENO: result: no" >&5 
    2948 echo "${ECHO_T}no" >&6; } 
     3227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
     3228$as_echo "$CXX" >&6; } 
     3229else 
     3230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3231$as_echo "no" >&6; } 
    29493232fi 
    29503233 
     
    29593242  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    29603243set dummy $ac_prog; ac_word=$2 
    2961 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2963 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
    2964   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3245$as_echo_n "checking for $ac_word... " >&6; } 
     3246if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3247  $as_echo_n "(cached) " >&6 
    29653248else 
    29663249  if test -n "$ac_ct_CXX"; then 
     
    29723255  IFS=$as_save_IFS 
    29733256  test -z "$as_dir" && as_dir=. 
    2974   for ac_exec_ext in '' $ac_executable_extensions; do 
     3257    for ac_exec_ext in '' $ac_executable_extensions; do 
    29753258  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29763259    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2977     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3260    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29783261    break 2 
    29793262  fi 
    29803263done 
    2981 done 
     3264  done 
    29823265IFS=$as_save_IFS 
    29833266 
     
    29863269ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    29873270if test -n "$ac_ct_CXX"; then 
    2988   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    2989 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
    2990 else 
    2991   { echo "$as_me:$LINENO: result: no" >&5 
    2992 echo "${ECHO_T}no" >&6; } 
     3271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
     3272$as_echo "$ac_ct_CXX" >&6; } 
     3273else 
     3274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3275$as_echo "no" >&6; } 
    29933276fi 
    29943277 
     
    30023285    case $cross_compiling:$ac_tool_warned in 
    30033286yes:) 
    3004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    3005 whose name does not start with the host triplet.  If you think this 
    3006 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3008 whose name does not start with the host triplet.  If you think this 
    3009 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3287{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3288$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30103289ac_tool_warned=yes ;; 
    30113290esac 
     
    30173296fi 
    30183297# Provide some information about the compiler. 
    3019 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
    3020 ac_compiler=`set X $ac_compile; echo $2` 
    3021 { (ac_try="$ac_compiler --version >&5" 
     3298$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
     3299set X $ac_compile 
     3300ac_compiler=$2 
     3301for ac_option in --version -v -V -qversion; do 
     3302  { { ac_try="$ac_compiler $ac_option >&5" 
    30223303case "(($ac_try" in 
    30233304  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30243305  *) ac_try_echo=$ac_try;; 
    30253306esac 
    3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3027   (eval "$ac_compiler --version >&5") 2>&5 
     3307eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3308$as_echo "$ac_try_echo"; } >&5 
     3309  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    30283310  ac_status=$? 
    3029   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3030   (exit $ac_status); } 
    3031 { (ac_try="$ac_compiler -v >&5" 
    3032 case "(($ac_try" in 
    3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3034   *) ac_try_echo=$ac_try;; 
    3035 esac 
    3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3037   (eval "$ac_compiler -v >&5") 2>&5 
    3038   ac_status=$? 
    3039   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3040   (exit $ac_status); } 
    3041 { (ac_try="$ac_compiler -V >&5" 
    3042 case "(($ac_try" in 
    3043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3044   *) ac_try_echo=$ac_try;; 
    3045 esac 
    3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3047   (eval "$ac_compiler -V >&5") 2>&5 
    3048   ac_status=$? 
    3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3050   (exit $ac_status); } 
    3051  
    3052 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    3053 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
    3054 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
    3055   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3056 else 
    3057   cat >conftest.$ac_ext <<_ACEOF 
    3058 /* confdefs.h.  */ 
    3059 _ACEOF 
    3060 cat confdefs.h >>conftest.$ac_ext 
    3061 cat >>conftest.$ac_ext <<_ACEOF 
     3311  if test -s conftest.err; then 
     3312    sed '10a\ 
     3313... rest of stderr output deleted ... 
     3314         10q' conftest.err >conftest.er1 
     3315    cat conftest.er1 >&5 
     3316  fi 
     3317  rm -f conftest.er1 conftest.err 
     3318  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3319  test $ac_status = 0; } 
     3320done 
     3321 
     3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
     3323$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
     3324if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3325  $as_echo_n "(cached) " >&6 
     3326else 
     3327  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    30623328/* end confdefs.h.  */ 
    30633329 
     
    30733339} 
    30743340_ACEOF 
    3075 rm -f conftest.$ac_objext 
    3076 if { (ac_try="$ac_compile" 
    3077 case "(($ac_try" in 
    3078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3079   *) ac_try_echo=$ac_try;; 
    3080 esac 
    3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3082   (eval "$ac_compile") 2>conftest.er1 
    3083   ac_status=$? 
    3084   grep -v '^ *+' conftest.er1 >conftest.err 
    3085   rm -f conftest.er1 
    3086   cat conftest.err >&5 
    3087   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3088   (exit $ac_status); } && { 
    3089          test -z "$ac_cxx_werror_flag" || 
    3090          test ! -s conftest.err 
    3091        } && test -s conftest.$ac_objext; then 
     3341if ac_fn_cxx_try_compile "$LINENO"; then : 
    30923342  ac_compiler_gnu=yes 
    30933343else 
    3094   echo "$as_me: failed program was:" >&5 
    3095 sed 's/^/| /' conftest.$ac_ext >&5 
    3096  
    3097         ac_compiler_gnu=no 
    3098 fi 
    3099  
     3344  ac_compiler_gnu=no 
     3345fi 
    31003346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    31013347ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    31023348 
    31033349fi 
    3104 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    3105 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
    3106 GXX=`test $ac_compiler_gnu = yes && echo yes` 
     3350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
     3351$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
     3352if test $ac_compiler_gnu = yes; then 
     3353  GXX=yes 
     3354else 
     3355  GXX= 
     3356fi 
    31073357ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31083358ac_save_CXXFLAGS=$CXXFLAGS 
    3109 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    3110 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
    3111 if test "${ac_cv_prog_cxx_g+set}" = set; then 
    3112   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
     3360$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
     3361if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3362  $as_echo_n "(cached) " >&6 
    31133363else 
    31143364  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    31163366   ac_cv_prog_cxx_g=no 
    31173367   CXXFLAGS="-g" 
    3118    cat >conftest.$ac_ext <<_ACEOF 
    3119 /* confdefs.h.  */ 
    3120 _ACEOF 
    3121 cat confdefs.h >>conftest.$ac_ext 
    3122 cat >>conftest.$ac_ext <<_ACEOF 
     3368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31233369/* end confdefs.h.  */ 
    31243370 
     
    31313377} 
    31323378_ACEOF 
    3133 rm -f conftest.$ac_objext 
    3134 if { (ac_try="$ac_compile" 
    3135 case "(($ac_try" in 
    3136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3137   *) ac_try_echo=$ac_try;; 
    3138 esac 
    3139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3140   (eval "$ac_compile") 2>conftest.er1 
    3141   ac_status=$? 
    3142   grep -v '^ *+' conftest.er1 >conftest.err 
    3143   rm -f conftest.er1 
    3144   cat conftest.err >&5 
    3145   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3146   (exit $ac_status); } && { 
    3147          test -z "$ac_cxx_werror_flag" || 
    3148          test ! -s conftest.err 
    3149        } && test -s conftest.$ac_objext; then 
     3379if ac_fn_cxx_try_compile "$LINENO"; then : 
    31503380  ac_cv_prog_cxx_g=yes 
    31513381else 
    3152   echo "$as_me: failed program was:" >&5 
    3153 sed 's/^/| /' conftest.$ac_ext >&5 
    3154  
    3155         CXXFLAGS="" 
    3156       cat >conftest.$ac_ext <<_ACEOF 
    3157 /* confdefs.h.  */ 
    3158 _ACEOF 
    3159 cat confdefs.h >>conftest.$ac_ext 
    3160 cat >>conftest.$ac_ext <<_ACEOF 
     3382  CXXFLAGS="" 
     3383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31613384/* end confdefs.h.  */ 
    31623385 
     
    31693392} 
    31703393_ACEOF 
    3171 rm -f conftest.$ac_objext 
    3172 if { (ac_try="$ac_compile" 
    3173 case "(($ac_try" in 
    3174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3175   *) ac_try_echo=$ac_try;; 
    3176 esac 
    3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3178   (eval "$ac_compile") 2>conftest.er1 
    3179   ac_status=$? 
    3180   grep -v '^ *+' conftest.er1 >conftest.err 
    3181   rm -f conftest.er1 
    3182   cat conftest.err >&5 
    3183   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3184   (exit $ac_status); } && { 
    3185          test -z "$ac_cxx_werror_flag" || 
    3186          test ! -s conftest.err 
    3187        } && test -s conftest.$ac_objext; then 
    3188   : 
    3189 else 
    3190   echo "$as_me: failed program was:" >&5 
    3191 sed 's/^/| /' conftest.$ac_ext >&5 
    3192  
    3193         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3394if ac_fn_cxx_try_compile "$LINENO"; then : 
     3395 
     3396else 
     3397  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    31943398         CXXFLAGS="-g" 
    3195          cat >conftest.$ac_ext <<_ACEOF 
    3196 /* confdefs.h.  */ 
    3197 _ACEOF 
    3198 cat confdefs.h >>conftest.$ac_ext 
    3199 cat >>conftest.$ac_ext <<_ACEOF 
     3399         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32003400/* end confdefs.h.  */ 
    32013401 
     
    32083408} 
    32093409_ACEOF 
    3210 rm -f conftest.$ac_objext 
    3211 if { (ac_try="$ac_compile" 
    3212 case "(($ac_try" in 
    3213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3214   *) ac_try_echo=$ac_try;; 
    3215 esac 
    3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3217   (eval "$ac_compile") 2>conftest.er1 
    3218   ac_status=$? 
    3219   grep -v '^ *+' conftest.er1 >conftest.err 
    3220   rm -f conftest.er1 
    3221   cat conftest.err >&5 
    3222   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3223   (exit $ac_status); } && { 
    3224          test -z "$ac_cxx_werror_flag" || 
    3225          test ! -s conftest.err 
    3226        } && test -s conftest.$ac_objext; then 
     3410if ac_fn_cxx_try_compile "$LINENO"; then : 
    32273411  ac_cv_prog_cxx_g=yes 
    3228 else 
    3229   echo "$as_me: failed program was:" >&5 
    3230 sed 's/^/| /' conftest.$ac_ext >&5 
    3231  
    3232  
    3233 fi 
    3234  
     3412fi 
    32353413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32363414fi 
    3237  
    32383415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32393416fi 
    3240  
    32413417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32423418   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32433419fi 
    3244 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    3245 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
     3420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
     3421$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    32463422if test "$ac_test_CXXFLAGS" = set; then 
    32473423  CXXFLAGS=$ac_save_CXXFLAGS 
     
    33213497 
    33223498 
    3323  
    3324 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    3325 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
    3326 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
    3327   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
     3500$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
     3501if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3502  $as_echo_n "(cached) " >&6 
    33283503else 
    33293504  ac_check_lib_save_LIBS=$LIBS 
    33303505LIBS="-lpthread  $LIBS" 
    3331 cat >conftest.$ac_ext <<_ACEOF 
    3332 /* confdefs.h.  */ 
    3333 _ACEOF 
    3334 cat confdefs.h >>conftest.$ac_ext 
    3335 cat >>conftest.$ac_ext <<_ACEOF 
     3506cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33363507/* end confdefs.h.  */ 
    33373508 
     
    33513522} 
    33523523_ACEOF 
    3353 rm -f conftest.$ac_objext conftest$ac_exeext 
    3354 if { (ac_try="$ac_link" 
    3355 case "(($ac_try" in 
    3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3357   *) ac_try_echo=$ac_try;; 
    3358 esac 
    3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3360   (eval "$ac_link") 2>conftest.er1 
    3361   ac_status=$? 
    3362   grep -v '^ *+' conftest.er1 >conftest.err 
    3363   rm -f conftest.er1 
    3364   cat conftest.err >&5 
    3365   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3366   (exit $ac_status); } && { 
    3367          test -z "$ac_c_werror_flag" || 
    3368          test ! -s conftest.err 
    3369        } && test -s conftest$ac_exeext && 
    3370        $as_test_x conftest$ac_exeext; then 
     3524if ac_fn_c_try_link "$LINENO"; then : 
    33713525  ac_cv_lib_pthread_pthread_create=yes 
    33723526else 
    3373   echo "$as_me: failed program was:" >&5 
    3374 sed 's/^/| /' conftest.$ac_ext >&5 
    3375  
    3376         ac_cv_lib_pthread_pthread_create=no 
    3377 fi 
    3378  
    3379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3380       conftest$ac_exeext conftest.$ac_ext 
     3527  ac_cv_lib_pthread_pthread_create=no 
     3528fi 
     3529rm -f core conftest.err conftest.$ac_objext \ 
     3530    conftest$ac_exeext conftest.$ac_ext 
    33813531LIBS=$ac_check_lib_save_LIBS 
    33823532fi 
    3383 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3384 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
    3385 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3534$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
     3535if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    33863536  cat >>confdefs.h <<_ACEOF 
    33873537#define HAVE_LIBPTHREAD 1 
     
    33923542fi 
    33933543 
    3394  
    3395 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    3396 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
    3397 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
    3398   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
     3545$as_echo_n "checking for puts in -lwsock32... " >&6; } 
     3546if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3547  $as_echo_n "(cached) " >&6 
    33993548else 
    34003549  ac_check_lib_save_LIBS=$LIBS 
    34013550LIBS="-lwsock32  $LIBS" 
    3402 cat >conftest.$ac_ext <<_ACEOF 
    3403 /* confdefs.h.  */ 
    3404 _ACEOF 
    3405 cat confdefs.h >>conftest.$ac_ext 
    3406 cat >>conftest.$ac_ext <<_ACEOF 
     3551cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34073552/* end confdefs.h.  */ 
    34083553 
     
    34223567} 
    34233568_ACEOF 
    3424 rm -f conftest.$ac_objext conftest$ac_exeext 
    3425 if { (ac_try="$ac_link" 
    3426 case "(($ac_try" in 
    3427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3428   *) ac_try_echo=$ac_try;; 
    3429 esac 
    3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3431   (eval "$ac_link") 2>conftest.er1 
    3432   ac_status=$? 
    3433   grep -v '^ *+' conftest.er1 >conftest.err 
    3434   rm -f conftest.er1 
    3435   cat conftest.err >&5 
    3436   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3437   (exit $ac_status); } && { 
    3438          test -z "$ac_c_werror_flag" || 
    3439          test ! -s conftest.err 
    3440        } && test -s conftest$ac_exeext && 
    3441        $as_test_x conftest$ac_exeext; then 
     3569if ac_fn_c_try_link "$LINENO"; then : 
    34423570  ac_cv_lib_wsock32_puts=yes 
    34433571else 
    3444   echo "$as_me: failed program was:" >&5 
    3445 sed 's/^/| /' conftest.$ac_ext >&5 
    3446  
    3447         ac_cv_lib_wsock32_puts=no 
    3448 fi 
    3449  
    3450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3451       conftest$ac_exeext conftest.$ac_ext 
     3572  ac_cv_lib_wsock32_puts=no 
     3573fi 
     3574rm -f core conftest.err conftest.$ac_objext \ 
     3575    conftest$ac_exeext conftest.$ac_ext 
    34523576LIBS=$ac_check_lib_save_LIBS 
    34533577fi 
    3454 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    3455 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
    3456 if test $ac_cv_lib_wsock32_puts = yes; then 
     3578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
     3579$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
     3580if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    34573581  cat >>confdefs.h <<_ACEOF 
    34583582#define HAVE_LIBWSOCK32 1 
     
    34633587fi 
    34643588 
    3465  
    3466 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    3467 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
    3468 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
    3469   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
     3590$as_echo_n "checking for puts in -lws2_32... " >&6; } 
     3591if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3592  $as_echo_n "(cached) " >&6 
    34703593else 
    34713594  ac_check_lib_save_LIBS=$LIBS 
    34723595LIBS="-lws2_32  $LIBS" 
    3473 cat >conftest.$ac_ext <<_ACEOF 
    3474 /* confdefs.h.  */ 
    3475 _ACEOF 
    3476 cat confdefs.h >>conftest.$ac_ext 
    3477 cat >>conftest.$ac_ext <<_ACEOF 
     3596cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34783597/* end confdefs.h.  */ 
    34793598 
     
    34933612} 
    34943613_ACEOF 
    3495 rm -f conftest.$ac_objext conftest$ac_exeext 
    3496 if { (ac_try="$ac_link" 
    3497 case "(($ac_try" in 
    3498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3499   *) ac_try_echo=$ac_try;; 
    3500 esac 
    3501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3502   (eval "$ac_link") 2>conftest.er1 
    3503   ac_status=$? 
    3504   grep -v '^ *+' conftest.er1 >conftest.err 
    3505   rm -f conftest.er1 
    3506   cat conftest.err >&5 
    3507   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3508   (exit $ac_status); } && { 
    3509          test -z "$ac_c_werror_flag" || 
    3510          test ! -s conftest.err 
    3511        } && test -s conftest$ac_exeext && 
    3512        $as_test_x conftest$ac_exeext; then 
     3614if ac_fn_c_try_link "$LINENO"; then : 
    35133615  ac_cv_lib_ws2_32_puts=yes 
    35143616else 
    3515   echo "$as_me: failed program was:" >&5 
    3516 sed 's/^/| /' conftest.$ac_ext >&5 
    3517  
    3518         ac_cv_lib_ws2_32_puts=no 
    3519 fi 
    3520  
    3521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3522       conftest$ac_exeext conftest.$ac_ext 
     3617  ac_cv_lib_ws2_32_puts=no 
     3618fi 
     3619rm -f core conftest.err conftest.$ac_objext \ 
     3620    conftest$ac_exeext conftest.$ac_ext 
    35233621LIBS=$ac_check_lib_save_LIBS 
    35243622fi 
    3525 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    3526 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
    3527 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
     3624$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
     3625if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35283626  cat >>confdefs.h <<_ACEOF 
    35293627#define HAVE_LIBWS2_32 1 
     
    35343632fi 
    35353633 
    3536  
    3537 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    3538 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
    3539 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
    3540   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
     3635$as_echo_n "checking for puts in -lole32... " >&6; } 
     3636if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3637  $as_echo_n "(cached) " >&6 
    35413638else 
    35423639  ac_check_lib_save_LIBS=$LIBS 
    35433640LIBS="-lole32  $LIBS" 
    3544 cat >conftest.$ac_ext <<_ACEOF 
    3545 /* confdefs.h.  */ 
    3546 _ACEOF 
    3547 cat confdefs.h >>conftest.$ac_ext 
    3548 cat >>conftest.$ac_ext <<_ACEOF 
     3641cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35493642/* end confdefs.h.  */ 
    35503643 
     
    35643657} 
    35653658_ACEOF 
    3566 rm -f conftest.$ac_objext conftest$ac_exeext 
    3567 if { (ac_try="$ac_link" 
    3568 case "(($ac_try" in 
    3569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3570   *) ac_try_echo=$ac_try;; 
    3571 esac 
    3572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3573   (eval "$ac_link") 2>conftest.er1 
    3574   ac_status=$? 
    3575   grep -v '^ *+' conftest.er1 >conftest.err 
    3576   rm -f conftest.er1 
    3577   cat conftest.err >&5 
    3578   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3579   (exit $ac_status); } && { 
    3580          test -z "$ac_c_werror_flag" || 
    3581          test ! -s conftest.err 
    3582        } && test -s conftest$ac_exeext && 
    3583        $as_test_x conftest$ac_exeext; then 
     3659if ac_fn_c_try_link "$LINENO"; then : 
    35843660  ac_cv_lib_ole32_puts=yes 
    35853661else 
    3586   echo "$as_me: failed program was:" >&5 
    3587 sed 's/^/| /' conftest.$ac_ext >&5 
    3588  
    3589         ac_cv_lib_ole32_puts=no 
    3590 fi 
    3591  
    3592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3593       conftest$ac_exeext conftest.$ac_ext 
     3662  ac_cv_lib_ole32_puts=no 
     3663fi 
     3664rm -f core conftest.err conftest.$ac_objext \ 
     3665    conftest$ac_exeext conftest.$ac_ext 
    35943666LIBS=$ac_check_lib_save_LIBS 
    35953667fi 
    3596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    3597 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
    3598 if test $ac_cv_lib_ole32_puts = yes; then 
     3668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
     3669$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
     3670if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    35993671  cat >>confdefs.h <<_ACEOF 
    36003672#define HAVE_LIBOLE32 1 
     
    36053677fi 
    36063678 
    3607  
    3608 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    3609 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
    3610 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
    3611   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
     3680$as_echo_n "checking for puts in -lwinmm... " >&6; } 
     3681if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3682  $as_echo_n "(cached) " >&6 
    36123683else 
    36133684  ac_check_lib_save_LIBS=$LIBS 
    36143685LIBS="-lwinmm  $LIBS" 
    3615 cat >conftest.$ac_ext <<_ACEOF 
    3616 /* confdefs.h.  */ 
    3617 _ACEOF 
    3618 cat confdefs.h >>conftest.$ac_ext 
    3619 cat >>conftest.$ac_ext <<_ACEOF 
     3686cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36203687/* end confdefs.h.  */ 
    36213688 
     
    36353702} 
    36363703_ACEOF 
    3637 rm -f conftest.$ac_objext conftest$ac_exeext 
    3638 if { (ac_try="$ac_link" 
    3639 case "(($ac_try" in 
    3640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3641   *) ac_try_echo=$ac_try;; 
    3642 esac 
    3643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3644   (eval "$ac_link") 2>conftest.er1 
    3645   ac_status=$? 
    3646   grep -v '^ *+' conftest.er1 >conftest.err 
    3647   rm -f conftest.er1 
    3648   cat conftest.err >&5 
    3649   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3650   (exit $ac_status); } && { 
    3651          test -z "$ac_c_werror_flag" || 
    3652          test ! -s conftest.err 
    3653        } && test -s conftest$ac_exeext && 
    3654        $as_test_x conftest$ac_exeext; then 
     3704if ac_fn_c_try_link "$LINENO"; then : 
    36553705  ac_cv_lib_winmm_puts=yes 
    36563706else 
    3657   echo "$as_me: failed program was:" >&5 
    3658 sed 's/^/| /' conftest.$ac_ext >&5 
    3659  
    3660         ac_cv_lib_winmm_puts=no 
    3661 fi 
    3662  
    3663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3664       conftest$ac_exeext conftest.$ac_ext 
     3707  ac_cv_lib_winmm_puts=no 
     3708fi 
     3709rm -f core conftest.err conftest.$ac_objext \ 
     3710    conftest$ac_exeext conftest.$ac_ext 
    36653711LIBS=$ac_check_lib_save_LIBS 
    36663712fi 
    3667 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    3668 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
    3669 if test $ac_cv_lib_winmm_puts = yes; then 
     3713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
     3714$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
     3715if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    36703716  cat >>confdefs.h <<_ACEOF 
    36713717#define HAVE_LIBWINMM 1 
     
    36763722fi 
    36773723 
    3678  
    3679 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    3680 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
    3681 if test "${ac_cv_lib_socket_puts+set}" = set; then 
    3682   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
     3725$as_echo_n "checking for puts in -lsocket... " >&6; } 
     3726if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3727  $as_echo_n "(cached) " >&6 
    36833728else 
    36843729  ac_check_lib_save_LIBS=$LIBS 
    36853730LIBS="-lsocket  $LIBS" 
    3686 cat >conftest.$ac_ext <<_ACEOF 
    3687 /* confdefs.h.  */ 
    3688 _ACEOF 
    3689 cat confdefs.h >>conftest.$ac_ext 
    3690 cat >>conftest.$ac_ext <<_ACEOF 
     3731cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36913732/* end confdefs.h.  */ 
    36923733 
     
    37063747} 
    37073748_ACEOF 
    3708 rm -f conftest.$ac_objext conftest$ac_exeext 
    3709 if { (ac_try="$ac_link" 
    3710 case "(($ac_try" in 
    3711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3712   *) ac_try_echo=$ac_try;; 
    3713 esac 
    3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3715   (eval "$ac_link") 2>conftest.er1 
    3716   ac_status=$? 
    3717   grep -v '^ *+' conftest.er1 >conftest.err 
    3718   rm -f conftest.er1 
    3719   cat conftest.err >&5 
    3720   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3721   (exit $ac_status); } && { 
    3722          test -z "$ac_c_werror_flag" || 
    3723          test ! -s conftest.err 
    3724        } && test -s conftest$ac_exeext && 
    3725        $as_test_x conftest$ac_exeext; then 
     3749if ac_fn_c_try_link "$LINENO"; then : 
    37263750  ac_cv_lib_socket_puts=yes 
    37273751else 
    3728   echo "$as_me: failed program was:" >&5 
    3729 sed 's/^/| /' conftest.$ac_ext >&5 
    3730  
    3731         ac_cv_lib_socket_puts=no 
    3732 fi 
    3733  
    3734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3735       conftest$ac_exeext conftest.$ac_ext 
     3752  ac_cv_lib_socket_puts=no 
     3753fi 
     3754rm -f core conftest.err conftest.$ac_objext \ 
     3755    conftest$ac_exeext conftest.$ac_ext 
    37363756LIBS=$ac_check_lib_save_LIBS 
    37373757fi 
    3738 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    3739 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
    3740 if test $ac_cv_lib_socket_puts = yes; then 
     3758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
     3759$as_echo "$ac_cv_lib_socket_puts" >&6; } 
     3760if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    37413761  cat >>confdefs.h <<_ACEOF 
    37423762#define HAVE_LIBSOCKET 1 
     
    37473767fi 
    37483768 
    3749  
    3750 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    3751 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
    3752 if test "${ac_cv_lib_rt_puts+set}" = set; then 
    3753   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
     3770$as_echo_n "checking for puts in -lrt... " >&6; } 
     3771if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3772  $as_echo_n "(cached) " >&6 
    37543773else 
    37553774  ac_check_lib_save_LIBS=$LIBS 
    37563775LIBS="-lrt  $LIBS" 
    3757 cat >conftest.$ac_ext <<_ACEOF 
    3758 /* confdefs.h.  */ 
    3759 _ACEOF 
    3760 cat confdefs.h >>conftest.$ac_ext 
    3761 cat >>conftest.$ac_ext <<_ACEOF 
     3776cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37623777/* end confdefs.h.  */ 
    37633778 
     
    37773792} 
    37783793_ACEOF 
    3779 rm -f conftest.$ac_objext conftest$ac_exeext 
    3780 if { (ac_try="$ac_link" 
    3781 case "(($ac_try" in 
    3782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3783   *) ac_try_echo=$ac_try;; 
    3784 esac 
    3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3786   (eval "$ac_link") 2>conftest.er1 
    3787   ac_status=$? 
    3788   grep -v '^ *+' conftest.er1 >conftest.err 
    3789   rm -f conftest.er1 
    3790   cat conftest.err >&5 
    3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3792   (exit $ac_status); } && { 
    3793          test -z "$ac_c_werror_flag" || 
    3794          test ! -s conftest.err 
    3795        } && test -s conftest$ac_exeext && 
    3796        $as_test_x conftest$ac_exeext; then 
     3794if ac_fn_c_try_link "$LINENO"; then : 
    37973795  ac_cv_lib_rt_puts=yes 
    37983796else 
    3799   echo "$as_me: failed program was:" >&5 
    3800 sed 's/^/| /' conftest.$ac_ext >&5 
    3801  
    3802         ac_cv_lib_rt_puts=no 
    3803 fi 
    3804  
    3805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3806       conftest$ac_exeext conftest.$ac_ext 
     3797  ac_cv_lib_rt_puts=no 
     3798fi 
     3799rm -f core conftest.err conftest.$ac_objext \ 
     3800    conftest$ac_exeext conftest.$ac_ext 
    38073801LIBS=$ac_check_lib_save_LIBS 
    38083802fi 
    3809 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    3810 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
    3811 if test $ac_cv_lib_rt_puts = yes; then 
     3803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
     3804$as_echo "$ac_cv_lib_rt_puts" >&6; } 
     3805if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38123806  cat >>confdefs.h <<_ACEOF 
    38133807#define HAVE_LIBRT 1 
     
    38183812fi 
    38193813 
    3820  
    3821 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    3822 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
    3823 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
    3824   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
     3815$as_echo_n "checking for puts in -lnsl... " >&6; } 
     3816if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3817  $as_echo_n "(cached) " >&6 
    38253818else 
    38263819  ac_check_lib_save_LIBS=$LIBS 
    38273820LIBS="-lnsl  $LIBS" 
    3828 cat >conftest.$ac_ext <<_ACEOF 
    3829 /* confdefs.h.  */ 
    3830 _ACEOF 
    3831 cat confdefs.h >>conftest.$ac_ext 
    3832 cat >>conftest.$ac_ext <<_ACEOF 
     3821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38333822/* end confdefs.h.  */ 
    38343823 
     
    38483837} 
    38493838_ACEOF 
    3850 rm -f conftest.$ac_objext conftest$ac_exeext 
    3851 if { (ac_try="$ac_link" 
    3852 case "(($ac_try" in 
    3853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3854   *) ac_try_echo=$ac_try;; 
    3855 esac 
    3856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3857   (eval "$ac_link") 2>conftest.er1 
    3858   ac_status=$? 
    3859   grep -v '^ *+' conftest.er1 >conftest.err 
    3860   rm -f conftest.er1 
    3861   cat conftest.err >&5 
    3862   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3863   (exit $ac_status); } && { 
    3864          test -z "$ac_c_werror_flag" || 
    3865          test ! -s conftest.err 
    3866        } && test -s conftest$ac_exeext && 
    3867        $as_test_x conftest$ac_exeext; then 
     3839if ac_fn_c_try_link "$LINENO"; then : 
    38683840  ac_cv_lib_nsl_puts=yes 
    38693841else 
    3870   echo "$as_me: failed program was:" >&5 
    3871 sed 's/^/| /' conftest.$ac_ext >&5 
    3872  
    3873         ac_cv_lib_nsl_puts=no 
    3874 fi 
    3875  
    3876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3877       conftest$ac_exeext conftest.$ac_ext 
     3842  ac_cv_lib_nsl_puts=no 
     3843fi 
     3844rm -f core conftest.err conftest.$ac_objext \ 
     3845    conftest$ac_exeext conftest.$ac_ext 
    38783846LIBS=$ac_check_lib_save_LIBS 
    38793847fi 
    3880 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    3881 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
    3882 if test $ac_cv_lib_nsl_puts = yes; then 
     3848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
     3849$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
     3850if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    38833851  cat >>confdefs.h <<_ACEOF 
    38843852#define HAVE_LIBNSL 1 
     
    38893857fi 
    38903858 
    3891  
    3892 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3893 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3894 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3895   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3860$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3861if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3862  $as_echo_n "(cached) " >&6 
    38963863else 
    38973864  ac_check_lib_save_LIBS=$LIBS 
    38983865LIBS="-luuid  $LIBS" 
    3899 cat >conftest.$ac_ext <<_ACEOF 
    3900 /* confdefs.h.  */ 
    3901 _ACEOF 
    3902 cat confdefs.h >>conftest.$ac_ext 
    3903 cat >>conftest.$ac_ext <<_ACEOF 
     3866cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39043867/* end confdefs.h.  */ 
    39053868 
     
    39193882} 
    39203883_ACEOF 
    3921 rm -f conftest.$ac_objext conftest$ac_exeext 
    3922 if { (ac_try="$ac_link" 
    3923 case "(($ac_try" in 
    3924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3925   *) ac_try_echo=$ac_try;; 
    3926 esac 
    3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3928   (eval "$ac_link") 2>conftest.er1 
    3929   ac_status=$? 
    3930   grep -v '^ *+' conftest.er1 >conftest.err 
    3931   rm -f conftest.er1 
    3932   cat conftest.err >&5 
    3933   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3934   (exit $ac_status); } && { 
    3935          test -z "$ac_c_werror_flag" || 
    3936          test ! -s conftest.err 
    3937        } && test -s conftest$ac_exeext && 
    3938        $as_test_x conftest$ac_exeext; then 
     3884if ac_fn_c_try_link "$LINENO"; then : 
    39393885  ac_cv_lib_uuid_uuid_generate=yes 
    39403886else 
    3941   echo "$as_me: failed program was:" >&5 
    3942 sed 's/^/| /' conftest.$ac_ext >&5 
    3943  
    3944         ac_cv_lib_uuid_uuid_generate=no 
    3945 fi 
    3946  
    3947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3948       conftest$ac_exeext conftest.$ac_ext 
     3887  ac_cv_lib_uuid_uuid_generate=no 
     3888fi 
     3889rm -f core conftest.err conftest.$ac_objext \ 
     3890    conftest$ac_exeext conftest.$ac_ext 
    39493891LIBS=$ac_check_lib_save_LIBS 
    39503892fi 
    3951 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3952 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3953 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3894$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3895if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    39543896  cat >>confdefs.h <<_ACEOF 
    39553897#define HAVE_LIBUUID 1 
     
    39603902fi 
    39613903 
    3962 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3963 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3964 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3965   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3905$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3906if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3907  $as_echo_n "(cached) " >&6 
    39663908else 
    39673909  ac_check_lib_save_LIBS=$LIBS 
    39683910LIBS="-luuid  $LIBS" 
    3969 cat >conftest.$ac_ext <<_ACEOF 
    3970 /* confdefs.h.  */ 
    3971 _ACEOF 
    3972 cat confdefs.h >>conftest.$ac_ext 
    3973 cat >>conftest.$ac_ext <<_ACEOF 
     3911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39743912/* end confdefs.h.  */ 
    39753913 
     
    39893927} 
    39903928_ACEOF 
    3991 rm -f conftest.$ac_objext conftest$ac_exeext 
    3992 if { (ac_try="$ac_link" 
    3993 case "(($ac_try" in 
    3994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3995   *) ac_try_echo=$ac_try;; 
    3996 esac 
    3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3998   (eval "$ac_link") 2>conftest.er1 
    3999   ac_status=$? 
    4000   grep -v '^ *+' conftest.er1 >conftest.err 
    4001   rm -f conftest.er1 
    4002   cat conftest.err >&5 
    4003   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4004   (exit $ac_status); } && { 
    4005          test -z "$ac_c_werror_flag" || 
    4006          test ! -s conftest.err 
    4007        } && test -s conftest$ac_exeext && 
    4008        $as_test_x conftest$ac_exeext; then 
     3929if ac_fn_c_try_link "$LINENO"; then : 
    40093930  ac_cv_lib_uuid_uuid_generate=yes 
    40103931else 
    4011   echo "$as_me: failed program was:" >&5 
    4012 sed 's/^/| /' conftest.$ac_ext >&5 
    4013  
    4014         ac_cv_lib_uuid_uuid_generate=no 
    4015 fi 
    4016  
    4017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4018       conftest$ac_exeext conftest.$ac_ext 
     3932  ac_cv_lib_uuid_uuid_generate=no 
     3933fi 
     3934rm -f core conftest.err conftest.$ac_objext \ 
     3935    conftest$ac_exeext conftest.$ac_ext 
    40193936LIBS=$ac_check_lib_save_LIBS 
    40203937fi 
    4021 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    4022 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4023 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3939$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3940if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40243941  ac_has_uuid_lib=1 
    40253942fi 
    40263943 
    40273944 
    4028 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    4029 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
     3945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3946$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    40303947cat >>confdefs.h <<_ACEOF 
    40313948#define PJ_M_NAME "$target_cpu" 
     
    40333950 
    40343951 
    4035 { echo "$as_me:$LINENO: checking memory alignment" >&5 
    4036 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
     3952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
     3953$as_echo_n "checking memory alignment... " >&6; } 
    40373954case $target in 
    40383955    sparc64-* | ia64-* | x86_64-* ) 
    4039         cat >>confdefs.h <<\_ACEOF 
    4040 #define PJ_POOL_ALIGNMENT 8 
    4041 _ACEOF 
    4042  
    4043         { echo "$as_me:$LINENO: result: 8 bytes" >&5 
    4044 echo "${ECHO_T}8 bytes" >&6; } 
     3956        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3957 
     3958        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
     3959$as_echo "8 bytes" >&6; } 
    40453960        ;; 
    40463961    * ) 
    4047         cat >>confdefs.h <<\_ACEOF 
    4048 #define PJ_POOL_ALIGNMENT 4 
    4049 _ACEOF 
    4050  
    4051         { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    4052 echo "${ECHO_T}4 bytes (default)" >&6; } 
     3962        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3963 
     3964        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
     3965$as_echo "4 bytes (default)" >&6; } 
    40533966        ;; 
    40543967esac 
     
    40603973ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    40613974ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4062 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    4063 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
     3975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
     3976$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    40643977# On Suns, sometimes $CPP names a directory. 
    40653978if test -n "$CPP" && test -d "$CPP"; then 
     
    40673980fi 
    40683981if test -z "$CPP"; then 
    4069   if test "${ac_cv_prog_CPP+set}" = set; then 
    4070   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3982  if test "${ac_cv_prog_CPP+set}" = set; then : 
     3983  $as_echo_n "(cached) " >&6 
    40713984else 
    40723985      # Double quotes because CPP needs to be expanded 
     
    40823995  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40833996  # not just through cpp. "Syntax error" is here to catch this case. 
    4084   cat >conftest.$ac_ext <<_ACEOF 
    4085 /* confdefs.h.  */ 
    4086 _ACEOF 
    4087 cat confdefs.h >>conftest.$ac_ext 
    4088 cat >>conftest.$ac_ext <<_ACEOF 
     3997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40893998/* end confdefs.h.  */ 
    40903999#ifdef __STDC__ 
     
    40954004                     Syntax error 
    40964005_ACEOF 
    4097 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4098 case "(($ac_try" in 
    4099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4100   *) ac_try_echo=$ac_try;; 
    4101 esac 
    4102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4103   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4104   ac_status=$? 
    4105   grep -v '^ *+' conftest.er1 >conftest.err 
    4106   rm -f conftest.er1 
    4107   cat conftest.err >&5 
    4108   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4109   (exit $ac_status); } >/dev/null && { 
    4110          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4111          test ! -s conftest.err 
    4112        }; then 
    4113   : 
    4114 else 
    4115   echo "$as_me: failed program was:" >&5 
    4116 sed 's/^/| /' conftest.$ac_ext >&5 
    4117  
     4006if ac_fn_c_try_cpp "$LINENO"; then : 
     4007 
     4008else 
    41184009  # Broken: fails on valid input. 
    41194010continue 
    41204011fi 
    4121  
    41224012rm -f conftest.err conftest.$ac_ext 
    41234013 
    41244014  # OK, works on sane cases.  Now check whether nonexistent headers 
    41254015  # can be detected and how. 
    4126   cat >conftest.$ac_ext <<_ACEOF 
    4127 /* confdefs.h.  */ 
    4128 _ACEOF 
    4129 cat confdefs.h >>conftest.$ac_ext 
    4130 cat >>conftest.$ac_ext <<_ACEOF 
     4016  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41314017/* end confdefs.h.  */ 
    41324018#include <ac_nonexistent.h> 
    41334019_ACEOF 
    4134 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4135 case "(($ac_try" in 
    4136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4137   *) ac_try_echo=$ac_try;; 
    4138 esac 
    4139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4140   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4141   ac_status=$? 
    4142   grep -v '^ *+' conftest.er1 >conftest.err 
    4143   rm -f conftest.er1 
    4144   cat conftest.err >&5 
    4145   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4146   (exit $ac_status); } >/dev/null && { 
    4147          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4148          test ! -s conftest.err 
    4149        }; then 
     4020if ac_fn_c_try_cpp "$LINENO"; then : 
    41504021  # Broken: success on invalid input. 
    41514022continue 
    41524023else 
    4153   echo "$as_me: failed program was:" >&5 
    4154 sed 's/^/| /' conftest.$ac_ext >&5 
    4155  
    41564024  # Passes both tests. 
    41574025ac_preproc_ok=: 
    41584026break 
    41594027fi 
    4160  
    41614028rm -f conftest.err conftest.$ac_ext 
    41624029 
     
    41644031# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    41654032rm -f conftest.err conftest.$ac_ext 
    4166 if $ac_preproc_ok; then 
     4033if $ac_preproc_ok; then : 
    41674034  break 
    41684035fi 
     
    41764043  ac_cv_prog_CPP=$CPP 
    41774044fi 
    4178 { echo "$as_me:$LINENO: result: $CPP" >&5 
    4179 echo "${ECHO_T}$CPP" >&6; } 
     4045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
     4046$as_echo "$CPP" >&6; } 
    41804047ac_preproc_ok=false 
    41814048for ac_c_preproc_warn_flag in '' yes 
     
    41874054  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41884055  # not just through cpp. "Syntax error" is here to catch this case. 
    4189   cat >conftest.$ac_ext <<_ACEOF 
    4190 /* confdefs.h.  */ 
    4191 _ACEOF 
    4192 cat confdefs.h >>conftest.$ac_ext 
    4193 cat >>conftest.$ac_ext <<_ACEOF 
     4056  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41944057/* end confdefs.h.  */ 
    41954058#ifdef __STDC__ 
     
    42004063                     Syntax error 
    42014064_ACEOF 
    4202 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4203 case "(($ac_try" in 
    4204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4205   *) ac_try_echo=$ac_try;; 
    4206 esac 
    4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4208   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4209   ac_status=$? 
    4210   grep -v '^ *+' conftest.er1 >conftest.err 
    4211   rm -f conftest.er1 
    4212   cat conftest.err >&5 
    4213   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4214   (exit $ac_status); } >/dev/null && { 
    4215          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4216          test ! -s conftest.err 
    4217        }; then 
    4218   : 
    4219 else 
    4220   echo "$as_me: failed program was:" >&5 
    4221 sed 's/^/| /' conftest.$ac_ext >&5 
    4222  
     4065if ac_fn_c_try_cpp "$LINENO"; then : 
     4066 
     4067else 
    42234068  # Broken: fails on valid input. 
    42244069continue 
    42254070fi 
    4226  
    42274071rm -f conftest.err conftest.$ac_ext 
    42284072 
    42294073  # OK, works on sane cases.  Now check whether nonexistent headers 
    42304074  # can be detected and how. 
    4231   cat >conftest.$ac_ext <<_ACEOF 
    4232 /* confdefs.h.  */ 
    4233 _ACEOF 
    4234 cat confdefs.h >>conftest.$ac_ext 
    4235 cat >>conftest.$ac_ext <<_ACEOF 
     4075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42364076/* end confdefs.h.  */ 
    42374077#include <ac_nonexistent.h> 
    42384078_ACEOF 
    4239 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4240 case "(($ac_try" in 
    4241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4242   *) ac_try_echo=$ac_try;; 
    4243 esac 
    4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4245   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4246   ac_status=$? 
    4247   grep -v '^ *+' conftest.er1 >conftest.err 
    4248   rm -f conftest.er1 
    4249   cat conftest.err >&5 
    4250   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4251   (exit $ac_status); } >/dev/null && { 
    4252          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4253          test ! -s conftest.err 
    4254        }; then 
     4079if ac_fn_c_try_cpp "$LINENO"; then : 
    42554080  # Broken: success on invalid input. 
    42564081continue 
    42574082else 
    4258   echo "$as_me: failed program was:" >&5 
    4259 sed 's/^/| /' conftest.$ac_ext >&5 
    4260  
    42614083  # Passes both tests. 
    42624084ac_preproc_ok=: 
    42634085break 
    42644086fi 
    4265  
    42664087rm -f conftest.err conftest.$ac_ext 
    42674088 
     
    42694090# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42704091rm -f conftest.err conftest.$ac_ext 
    4271 if $ac_preproc_ok; then 
    4272   : 
    4273 else 
    4274   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4275 See \`config.log' for more details." >&5 
    4276 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4277 See \`config.log' for more details." >&2;} 
    4278    { (exit 1); exit 1; }; } 
     4092if $ac_preproc_ok; then : 
     4093 
     4094else 
     4095  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     4096$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     4097as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     4098See \`config.log' for more details." "$LINENO" 5; } 
    42794099fi 
    42804100 
     
    42864106 
    42874107 
    4288 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
    4289 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
    4290 if test "${ac_cv_path_GREP+set}" = set; then 
    4291   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4292 else 
    4293   # Extract the first word of "grep ggrep" to use in msg output 
    4294 if test -z "$GREP"; then 
    4295 set dummy grep ggrep; ac_prog_name=$2 
    4296 if test "${ac_cv_path_GREP+set}" = set; then 
    4297   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4298 else 
     4108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
     4109$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
     4110if test "${ac_cv_path_GREP+set}" = set; then : 
     4111  $as_echo_n "(cached) " >&6 
     4112else 
     4113  if test -z "$GREP"; then 
    42994114  ac_path_GREP_found=false 
    4300 # Loop through the user's path and test for each of PROGNAME-LIST 
    4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4115  # Loop through the user's path and test for each of PROGNAME-LIST 
     4116  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43024117for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43034118do 
    43044119  IFS=$as_save_IFS 
    43054120  test -z "$as_dir" && as_dir=. 
    4306   for ac_prog in grep ggrep; do 
    4307   for ac_exec_ext in '' $ac_executable_extensions; do 
    4308     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4309     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4310     # Check for GNU ac_path_GREP and select it if it is found. 
     4121    for ac_prog in grep ggrep; do 
     4122    for ac_exec_ext in '' $ac_executable_extensions; do 
     4123      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4124      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4125# Check for GNU ac_path_GREP and select it if it is found. 
    43114126  # Check for GNU $ac_path_GREP 
    43124127case `"$ac_path_GREP" --version 2>&1` in 
     
    43154130*) 
    43164131  ac_count=0 
    4317   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4132  $as_echo_n 0123456789 >"conftest.in" 
    43184133  while : 
    43194134  do 
     
    43214136    mv "conftest.tmp" "conftest.in" 
    43224137    cp "conftest.in" "conftest.nl" 
    4323     echo 'GREP' >> "conftest.nl" 
     4138    $as_echo 'GREP' >> "conftest.nl" 
    43244139    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43254140    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4326     ac_count=`expr $ac_count + 1` 
     4141    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43274142    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    43284143      # Best one so far, save it but keep looking for a better one 
     
    43364151esac 
    43374152 
    4338  
    4339     $ac_path_GREP_found && break 3 
     4153      $ac_path_GREP_found && break 3 
     4154    done 
    43404155  done 
    4341 done 
    4342  
    4343 done 
     4156  done 
    43444157IFS=$as_save_IFS 
    4345  
    4346  
    4347 fi 
    4348  
    4349 GREP="$ac_cv_path_GREP" 
    4350 if test -z "$GREP"; then 
    4351   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4352 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4353    { (exit 1); exit 1; }; } 
    4354 fi 
    4355  
     4158  if test -z "$ac_cv_path_GREP"; then 
     4159    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4160  fi 
    43564161else 
    43574162  ac_cv_path_GREP=$GREP 
    43584163fi 
    43594164 
    4360  
    4361 fi 
    4362 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
    4363 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
     4165fi 
     4166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
     4167$as_echo "$ac_cv_path_GREP" >&6; } 
    43644168 GREP="$ac_cv_path_GREP" 
    43654169 
    43664170 
    4367 { echo "$as_me:$LINENO: checking for egrep" >&5 
    4368 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
    4369 if test "${ac_cv_path_EGREP+set}" = set; then 
    4370   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
     4172$as_echo_n "checking for egrep... " >&6; } 
     4173if test "${ac_cv_path_EGREP+set}" = set; then : 
     4174  $as_echo_n "(cached) " >&6 
    43714175else 
    43724176  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    43734177   then ac_cv_path_EGREP="$GREP -E" 
    43744178   else 
    4375      # Extract the first word of "egrep" to use in msg output 
    4376 if test -z "$EGREP"; then 
    4377 set dummy egrep; ac_prog_name=$2 
    4378 if test "${ac_cv_path_EGREP+set}" = set; then 
    4379   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4380 else 
     4179     if test -z "$EGREP"; then 
    43814180  ac_path_EGREP_found=false 
    4382 # Loop through the user's path and test for each of PROGNAME-LIST 
    4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4181  # Loop through the user's path and test for each of PROGNAME-LIST 
     4182  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43844183for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43854184do 
    43864185  IFS=$as_save_IFS 
    43874186  test -z "$as_dir" && as_dir=. 
    4388   for ac_prog in egrep; do 
    4389   for ac_exec_ext in '' $ac_executable_extensions; do 
    4390     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4391     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4392     # Check for GNU ac_path_EGREP and select it if it is found. 
     4187    for ac_prog in egrep; do 
     4188    for ac_exec_ext in '' $ac_executable_extensions; do 
     4189      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4190      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4191# Check for GNU ac_path_EGREP and select it if it is found. 
    43934192  # Check for GNU $ac_path_EGREP 
    43944193case `"$ac_path_EGREP" --version 2>&1` in 
     
    43974196*) 
    43984197  ac_count=0 
    4399   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4198  $as_echo_n 0123456789 >"conftest.in" 
    44004199  while : 
    44014200  do 
     
    44034202    mv "conftest.tmp" "conftest.in" 
    44044203    cp "conftest.in" "conftest.nl" 
    4405     echo 'EGREP' >> "conftest.nl" 
     4204    $as_echo 'EGREP' >> "conftest.nl" 
    44064205    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44074206    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4408     ac_count=`expr $ac_count + 1` 
     4207    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44094208    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44104209      # Best one so far, save it but keep looking for a better one 
     
    44184217esac 
    44194218 
    4420  
    4421     $ac_path_EGREP_found && break 3 
     4219      $ac_path_EGREP_found && break 3 
     4220    done 
    44224221  done 
    4423 done 
    4424  
    4425 done 
     4222  done 
    44264223IFS=$as_save_IFS 
    4427  
    4428  
    4429 fi 
    4430  
    4431 EGREP="$ac_cv_path_EGREP" 
    4432 if test -z "$EGREP"; then 
    4433   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4434 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4435    { (exit 1); exit 1; }; } 
    4436 fi 
    4437  
     4224  if test -z "$ac_cv_path_EGREP"; then 
     4225    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4226  fi 
    44384227else 
    44394228  ac_cv_path_EGREP=$EGREP 
    44404229fi 
    44414230 
    4442  
    44434231   fi 
    44444232fi 
    4445 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
    4446 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
     4233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
     4234$as_echo "$ac_cv_path_EGREP" >&6; } 
    44474235 EGREP="$ac_cv_path_EGREP" 
    44484236 
    44494237 
    4450 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    4451 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
    4452 if test "${ac_cv_header_stdc+set}" = set; then 
    4453   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4454 else 
    4455   cat >conftest.$ac_ext <<_ACEOF 
    4456 /* confdefs.h.  */ 
    4457 _ACEOF 
    4458 cat confdefs.h >>conftest.$ac_ext 
    4459 cat >>conftest.$ac_ext <<_ACEOF 
     4238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
     4239$as_echo_n "checking for ANSI C header files... " >&6; } 
     4240if test "${ac_cv_header_stdc+set}" = set; then : 
     4241  $as_echo_n "(cached) " >&6 
     4242else 
     4243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44604244/* end confdefs.h.  */ 
    44614245#include <stdlib.h> 
     
    44724256} 
    44734257_ACEOF 
    4474 rm -f conftest.$ac_objext 
    4475 if { (ac_try="$ac_compile" 
    4476 case "(($ac_try" in 
    4477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4478   *) ac_try_echo=$ac_try;; 
    4479 esac 
    4480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4481   (eval "$ac_compile") 2>conftest.er1 
    4482   ac_status=$? 
    4483   grep -v '^ *+' conftest.er1 >conftest.err 
    4484   rm -f conftest.er1 
    4485   cat conftest.err >&5 
    4486   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4487   (exit $ac_status); } && { 
    4488          test -z "$ac_c_werror_flag" || 
    4489          test ! -s conftest.err 
    4490        } && test -s conftest.$ac_objext; then 
     4258if ac_fn_c_try_compile "$LINENO"; then : 
    44914259  ac_cv_header_stdc=yes 
    44924260else 
    4493   echo "$as_me: failed program was:" >&5 
    4494 sed 's/^/| /' conftest.$ac_ext >&5 
    4495  
    4496         ac_cv_header_stdc=no 
    4497 fi 
    4498  
     4261  ac_cv_header_stdc=no 
     4262fi 
    44994263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    45004264 
    45014265if test $ac_cv_header_stdc = yes; then 
    45024266  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4503   cat >conftest.$ac_ext <<_ACEOF 
    4504 /* confdefs.h.  */ 
    4505 _ACEOF 
    4506 cat confdefs.h >>conftest.$ac_ext 
    4507 cat >>conftest.$ac_ext <<_ACEOF 
     4267  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45084268/* end confdefs.h.  */ 
    45094269#include <string.h> 
     
    45114271_ACEOF 
    45124272if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4513   $EGREP "memchr" >/dev/null 2>&1; then 
    4514   : 
     4273  $EGREP "memchr" >/dev/null 2>&1; then : 
     4274 
    45154275else 
    45164276  ac_cv_header_stdc=no 
    45174277fi 
    4518 rm -f -r conftest* 
     4278rm -f conftest* 
    45194279 
    45204280fi 
     
    45224282if test $ac_cv_header_stdc = yes; then 
    45234283  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4524   cat >conftest.$ac_ext <<_ACEOF 
    4525 /* confdefs.h.  */ 
    4526 _ACEOF 
    4527 cat confdefs.h >>conftest.$ac_ext 
    4528 cat >>conftest.$ac_ext <<_ACEOF 
     4284  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45294285/* end confdefs.h.  */ 
    45304286#include <stdlib.h> 
     
    45324288_ACEOF 
    45334289if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4534   $EGREP "free" >/dev/null 2>&1; then 
    4535   : 
     4290  $EGREP "free" >/dev/null 2>&1; then : 
     4291 
    45364292else 
    45374293  ac_cv_header_stdc=no 
    45384294fi 
    4539 rm -f -r conftest* 
     4295rm -f conftest* 
    45404296 
    45414297fi 
     
    45434299if test $ac_cv_header_stdc = yes; then 
    45444300  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4545   if test "$cross_compiling" = yes; then 
     4301  if test "$cross_compiling" = yes; then : 
    45464302  : 
    45474303else 
    4548   cat >conftest.$ac_ext <<_ACEOF 
    4549 /* confdefs.h.  */ 
    4550 _ACEOF 
    4551 cat confdefs.h >>conftest.$ac_ext 
    4552 cat >>conftest.$ac_ext <<_ACEOF 
     4304  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45534305/* end confdefs.h.  */ 
    45544306#include <ctype.h> 
     
    45774329} 
    45784330_ACEOF 
    4579 rm -f conftest$ac_exeext 
    4580 if { (ac_try="$ac_link" 
    4581 case "(($ac_try" in 
    4582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4583   *) ac_try_echo=$ac_try;; 
    4584 esac 
    4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4586   (eval "$ac_link") 2>&5 
    4587   ac_status=$? 
    4588   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4589   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4590   { (case "(($ac_try" in 
    4591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4592   *) ac_try_echo=$ac_try;; 
    4593 esac 
    4594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4595   (eval "$ac_try") 2>&5 
    4596   ac_status=$? 
    4597   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4598   (exit $ac_status); }; }; then 
    4599   : 
    4600 else 
    4601   echo "$as_me: program exited with status $ac_status" >&5 
    4602 echo "$as_me: failed program was:" >&5 
    4603 sed 's/^/| /' conftest.$ac_ext >&5 
    4604  
    4605 ( exit $ac_status ) 
    4606 ac_cv_header_stdc=no 
    4607 fi 
    4608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4609 fi 
    4610  
    4611  
    4612 fi 
    4613 fi 
    4614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    4615 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
     4331if ac_fn_c_try_run "$LINENO"; then : 
     4332 
     4333else 
     4334  ac_cv_header_stdc=no 
     4335fi 
     4336rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4337  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4338fi 
     4339 
     4340fi 
     4341fi 
     4342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
     4343$as_echo "$ac_cv_header_stdc" >&6; } 
    46164344if test $ac_cv_header_stdc = yes; then 
    46174345 
    4618 cat >>confdefs.h <<\_ACEOF 
    4619 #define STDC_HEADERS 1 
    4620 _ACEOF 
     4346$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46214347 
    46224348fi 
    46234349 
    46244350# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4625  
    4626  
    4627  
    4628  
    4629  
    4630  
    4631  
    4632  
    4633  
    46344351for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    46354352                  inttypes.h stdint.h unistd.h 
    4636 do 
    4637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4638 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
    4640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4641   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4642 else 
    4643   cat >conftest.$ac_ext <<_ACEOF 
    4644 /* confdefs.h.  */ 
    4645 _ACEOF 
    4646 cat confdefs.h >>conftest.$ac_ext 
    4647 cat >>conftest.$ac_ext <<_ACEOF 
     4353do : 
     4354  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4355ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4356" 
     4357eval as_val=\$$as_ac_Header 
     4358   if test "x$as_val" = x""yes; then : 
     4359  cat >>confdefs.h <<_ACEOF 
     4360#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4361_ACEOF 
     4362 
     4363fi 
     4364 
     4365done 
     4366 
     4367 
     4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
     4369$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
     4370if test "${ac_cv_c_bigendian+set}" = set; then : 
     4371  $as_echo_n "(cached) " >&6 
     4372else 
     4373  ac_cv_c_bigendian=unknown 
     4374    # See if we're dealing with a universal compiler. 
     4375    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46484376/* end confdefs.h.  */ 
    4649 $ac_includes_default 
    4650  
    4651 #include <$ac_header> 
    4652 _ACEOF 
    4653 rm -f conftest.$ac_objext 
    4654 if { (ac_try="$ac_compile" 
    4655 case "(($ac_try" in 
    4656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4657   *) ac_try_echo=$ac_try;; 
    4658 esac 
    4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4660   (eval "$ac_compile") 2>conftest.er1 
    4661   ac_status=$? 
    4662   grep -v '^ *+' conftest.er1 >conftest.err 
    4663   rm -f conftest.er1 
    4664   cat conftest.err >&5 
    4665   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4666   (exit $ac_status); } && { 
    4667          test -z "$ac_c_werror_flag" || 
    4668          test ! -s conftest.err 
    4669        } && test -s conftest.$ac_objext; then 
    4670   eval "$as_ac_Header=yes" 
    4671 else 
    4672   echo "$as_me: failed program was:" >&5 
    4673 sed 's/^/| /' conftest.$ac_ext >&5 
    4674  
    4675         eval "$as_ac_Header=no" 
    4676 fi 
    4677  
     4377#ifndef __APPLE_CC__ 
     4378               not a universal capable compiler 
     4379             #endif 
     4380             typedef int dummy; 
     4381 
     4382_ACEOF 
     4383if ac_fn_c_try_compile "$LINENO"; then : 
     4384 
     4385        # Check for potential -arch flags.  It is not universal unless 
     4386        # there are at least two -arch flags with different values. 
     4387        ac_arch= 
     4388        ac_prev= 
     4389        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4390         if test -n "$ac_prev"; then 
     4391           case $ac_word in 
     4392             i?86 | x86_64 | ppc | ppc64) 
     4393               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4394                 ac_arch=$ac_word 
     4395               else 
     4396                 ac_cv_c_bigendian=universal 
     4397                 break 
     4398               fi 
     4399               ;; 
     4400           esac 
     4401           ac_prev= 
     4402         elif test "x$ac_word" = "x-arch"; then 
     4403           ac_prev=arch 
     4404         fi 
     4405       done 
     4406fi 
    46784407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4679 fi 
    4680 ac_res=`eval echo '${'$as_ac_Header'}'` 
    4681                { echo "$as_me:$LINENO: result: $ac_res" >&5 
    4682 echo "${ECHO_T}$ac_res" >&6; } 
    4683 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    4684   cat >>confdefs.h <<_ACEOF 
    4685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    4686 _ACEOF 
    4687  
    4688 fi 
    4689  
    4690 done 
    4691  
    4692  
    4693 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    4694 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
    4695 if test "${ac_cv_c_bigendian+set}" = set; then 
    4696   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4697 else 
    4698   # See if sys/param.h defines the BYTE_ORDER macro. 
    4699 cat >conftest.$ac_ext <<_ACEOF 
    4700 /* confdefs.h.  */ 
    4701 _ACEOF 
    4702 cat confdefs.h >>conftest.$ac_ext 
    4703 cat >>conftest.$ac_ext <<_ACEOF 
     4408    if test $ac_cv_c_bigendian = unknown; then 
     4409      # See if sys/param.h defines the BYTE_ORDER macro. 
     4410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47044411/* end confdefs.h.  */ 
    47054412#include <sys/types.h> 
    4706 #include <sys/param.h> 
     4413             #include <sys/param.h> 
    47074414 
    47084415int 
    47094416main () 
    47104417{ 
    4711 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
    4712         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
    4713  bogus endian macros 
    4714 #endif 
     4418#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
     4419                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
     4420                     && LITTLE_ENDIAN) 
     4421              bogus endian macros 
     4422             #endif 
    47154423 
    47164424  ; 
     
    47184426} 
    47194427_ACEOF 
    4720 rm -f conftest.$ac_objext 
    4721 if { (ac_try="$ac_compile" 
    4722 case "(($ac_try" in 
    4723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4724   *) ac_try_echo=$ac_try;; 
    4725 esac 
    4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4727   (eval "$ac_compile") 2>conftest.er1 
    4728   ac_status=$? 
    4729   grep -v '^ *+' conftest.er1 >conftest.err 
    4730   rm -f conftest.er1 
    4731   cat conftest.err >&5 
    4732   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4733   (exit $ac_status); } && { 
    4734          test -z "$ac_c_werror_flag" || 
    4735          test ! -s conftest.err 
    4736        } && test -s conftest.$ac_objext; then 
     4428if ac_fn_c_try_compile "$LINENO"; then : 
    47374429  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4738 cat >conftest.$ac_ext <<_ACEOF 
    4739 /* confdefs.h.  */ 
    4740 _ACEOF 
    4741 cat confdefs.h >>conftest.$ac_ext 
    4742 cat >>conftest.$ac_ext <<_ACEOF 
     4430         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47434431/* end confdefs.h.  */ 
    47444432#include <sys/types.h> 
    4745 #include <sys/param.h> 
     4433                #include <sys/param.h> 
    47464434 
    47474435int 
     
    47494437{ 
    47504438#if BYTE_ORDER != BIG_ENDIAN 
    4751  not big endian 
    4752 #endif 
     4439                not big endian 
     4440                #endif 
    47534441 
    47544442  ; 
     
    47564444} 
    47574445_ACEOF 
    4758 rm -f conftest.$ac_objext 
    4759 if { (ac_try="$ac_compile" 
    4760 case "(($ac_try" in 
    4761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4762   *) ac_try_echo=$ac_try;; 
    4763 esac 
    4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4765   (eval "$ac_compile") 2>conftest.er1 
    4766   ac_status=$? 
    4767   grep -v '^ *+' conftest.er1 >conftest.err 
    4768   rm -f conftest.er1 
    4769   cat conftest.err >&5 
    4770   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4771   (exit $ac_status); } && { 
    4772          test -z "$ac_c_werror_flag" || 
    4773          test ! -s conftest.err 
    4774        } && test -s conftest.$ac_objext; then 
     4446if ac_fn_c_try_compile "$LINENO"; then : 
    47754447  ac_cv_c_bigendian=yes 
    47764448else 
    4777   echo "$as_me: failed program was:" >&5 
    4778 sed 's/^/| /' conftest.$ac_ext >&5 
    4779  
    4780         ac_cv_c_bigendian=no 
    4781 fi 
    4782  
     4449  ac_cv_c_bigendian=no 
     4450fi 
    47834451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4784 else 
    4785   echo "$as_me: failed program was:" >&5 
    4786 sed 's/^/| /' conftest.$ac_ext >&5 
    4787  
    4788         # It does not; compile a test program. 
    4789 if test "$cross_compiling" = yes; then 
    4790   # try to guess the endianness by grepping values into an object file 
    4791   ac_cv_c_bigendian=unknown 
    4792   cat >conftest.$ac_ext <<_ACEOF 
    4793 /* confdefs.h.  */ 
    4794 _ACEOF 
    4795 cat confdefs.h >>conftest.$ac_ext 
    4796 cat >>conftest.$ac_ext <<_ACEOF 
     4452fi 
     4453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4454    fi 
     4455    if test $ac_cv_c_bigendian = unknown; then 
     4456      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
     4457      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47974458/* end confdefs.h.  */ 
    4798 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4799 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4800 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    4801 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4802 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4803 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     4459#include <limits.h> 
     4460 
    48044461int 
    48054462main () 
    48064463{ 
    4807  _ascii (); _ebcdic (); 
     4464#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
     4465              bogus endian macros 
     4466             #endif 
     4467 
    48084468  ; 
    48094469  return 0; 
    48104470} 
    48114471_ACEOF 
    4812 rm -f conftest.$ac_objext 
    4813 if { (ac_try="$ac_compile" 
    4814 case "(($ac_try" in 
    4815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4816   *) ac_try_echo=$ac_try;; 
    4817 esac 
    4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4819   (eval "$ac_compile") 2>conftest.er1 
    4820   ac_status=$? 
    4821   grep -v '^ *+' conftest.er1 >conftest.err 
    4822   rm -f conftest.er1 
    4823   cat conftest.err >&5 
    4824   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4825   (exit $ac_status); } && { 
    4826          test -z "$ac_c_werror_flag" || 
    4827          test ! -s conftest.err 
    4828        } && test -s conftest.$ac_objext; then 
    4829   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     4472if ac_fn_c_try_compile "$LINENO"; then : 
     4473  # It does; now see whether it defined to _BIG_ENDIAN or not. 
     4474         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4475/* end confdefs.h.  */ 
     4476#include <limits.h> 
     4477 
     4478int 
     4479main () 
     4480{ 
     4481#ifndef _BIG_ENDIAN 
     4482                 not big endian 
     4483                #endif 
     4484 
     4485  ; 
     4486  return 0; 
     4487} 
     4488_ACEOF 
     4489if ac_fn_c_try_compile "$LINENO"; then : 
    48304490  ac_cv_c_bigendian=yes 
    4831 fi 
    4832 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4833   if test "$ac_cv_c_bigendian" = unknown; then 
    4834     ac_cv_c_bigendian=no 
    4835   else 
    4836     # finding both strings is unlikely to happen, but who knows? 
    4837     ac_cv_c_bigendian=unknown 
    4838   fi 
    4839 fi 
    4840 else 
    4841   echo "$as_me: failed program was:" >&5 
    4842 sed 's/^/| /' conftest.$ac_ext >&5 
    4843  
    4844  
    4845 fi 
    4846  
     4491else 
     4492  ac_cv_c_bigendian=no 
     4493fi 
    48474494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4848 else 
    4849   cat >conftest.$ac_ext <<_ACEOF 
    4850 /* confdefs.h.  */ 
    4851 _ACEOF 
    4852 cat confdefs.h >>conftest.$ac_ext 
    4853 cat >>conftest.$ac_ext <<_ACEOF 
     4495fi 
     4496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4497    fi 
     4498    if test $ac_cv_c_bigendian = unknown; then 
     4499      # Compile a test program. 
     4500      if test "$cross_compiling" = yes; then : 
     4501  # Try to guess by grepping values from an object file. 
     4502         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4503/* end confdefs.h.  */ 
     4504short int ascii_mm[] = 
     4505                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4506                short int ascii_ii[] = 
     4507                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4508                int use_ascii (int i) { 
     4509                  return ascii_mm[i] + ascii_ii[i]; 
     4510                } 
     4511                short int ebcdic_ii[] = 
     4512                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4513                short int ebcdic_mm[] = 
     4514                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4515                int use_ebcdic (int i) { 
     4516                  return ebcdic_mm[i] + ebcdic_ii[i]; 
     4517                } 
     4518                extern int foo; 
     4519 
     4520int 
     4521main () 
     4522{ 
     4523return use_ascii (foo) == use_ebcdic (foo); 
     4524  ; 
     4525  return 0; 
     4526} 
     4527_ACEOF 
     4528if ac_fn_c_try_compile "$LINENO"; then : 
     4529  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
     4530              ac_cv_c_bigendian=yes 
     4531            fi 
     4532            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4533              if test "$ac_cv_c_bigendian" = unknown; then 
     4534                ac_cv_c_bigendian=no 
     4535              else 
     4536                # finding both strings is unlikely to happen, but who knows? 
     4537                ac_cv_c_bigendian=unknown 
     4538              fi 
     4539            fi 
     4540fi 
     4541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4542else 
     4543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48544544/* end confdefs.h.  */ 
    48554545$ac_includes_default 
     
    48584548{ 
    48594549 
    4860   /* Are we little or big endian?  From Harbison&Steele.  */ 
    4861   union 
    4862   { 
    4863     long int l; 
    4864     char c[sizeof (long int)]; 
    4865   } u; 
    4866   u.l = 1; 
    4867   return u.c[sizeof (long int) - 1] == 1; 
     4550             /* Are we little or big endian?  From Harbison&Steele.  */ 
     4551             union 
     4552             { 
     4553               long int l; 
     4554               char c[sizeof (long int)]; 
     4555             } u; 
     4556             u.l = 1; 
     4557             return u.c[sizeof (long int) - 1] == 1; 
    48684558 
    48694559  ; 
     
    48714561} 
    48724562_ACEOF 
    4873 rm -f conftest$ac_exeext 
    4874 if { (ac_try="$ac_link" 
    4875 case "(($ac_try" in 
    4876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4877   *) ac_try_echo=$ac_try;; 
    4878 esac 
    4879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4880   (eval "$ac_link") 2>&5 
    4881   ac_status=$? 
    4882   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4883   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4884   { (case "(($ac_try" in 
    4885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4886   *) ac_try_echo=$ac_try;; 
    4887 esac 
    4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4889   (eval "$ac_try") 2>&5 
    4890   ac_status=$? 
    4891   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4892   (exit $ac_status); }; }; then 
     4563if ac_fn_c_try_run "$LINENO"; then : 
    48934564  ac_cv_c_bigendian=no 
    48944565else 
    4895   echo "$as_me: program exited with status $ac_status" >&5 
    4896 echo "$as_me: failed program was:" >&5 
    4897 sed 's/^/| /' conftest.$ac_ext >&5 
    4898  
    4899 ( exit $ac_status ) 
    4900 ac_cv_c_bigendian=yes 
    4901 fi 
    4902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4903 fi 
    4904  
    4905  
    4906 fi 
    4907  
    4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4909 fi 
    4910 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    4911 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
    4912 case $ac_cv_c_bigendian in 
    4913   yes) 
    4914  
    4915 cat >>confdefs.h <<\_ACEOF 
    4916 #define WORDS_BIGENDIAN 1 
    4917 _ACEOF 
    4918  ;; 
    4919   no) 
    4920      ;; 
    4921   *) 
    4922     { { echo "$as_me:$LINENO: error: unknown endianness 
    4923 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    4924 echo "$as_me: error: unknown endianness 
    4925 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    4926    { (exit 1); exit 1; }; } ;; 
    4927 esac 
     4566  ac_cv_c_bigendian=yes 
     4567fi 
     4568rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4569  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4570fi 
     4571 
     4572    fi 
     4573fi 
     4574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
     4575$as_echo "$ac_cv_c_bigendian" >&6; } 
     4576 case $ac_cv_c_bigendian in #( 
     4577   yes) 
     4578     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
     4579;; #( 
     4580   no) 
     4581      ;; #( 
     4582   universal) 
     4583 
     4584$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
     4585 
     4586     ;; #( 
     4587   *) 
     4588     as_fn_error "unknown endianness 
     4589 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     4590 esac 
    49284591 
    49294592 
    49304593case $target in 
    49314594    *mingw* | *cygw* | *win32* | *w32* ) 
    4932         cat >>confdefs.h <<\_ACEOF 
    4933 #define PJ_WIN32 1 
    4934 _ACEOF 
    4935  
    4936         cat >>confdefs.h <<\_ACEOF 
    4937 #define PJ_WIN32_WINNT 0x0400 
    4938 _ACEOF 
    4939  
    4940         cat >>confdefs.h <<\_ACEOF 
    4941 #define WIN32_LEAN_AND_MEAN 1 
    4942 _ACEOF 
     4595        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4596 
     4597        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4598 
     4599        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    49434600 
    49444601        ;; 
    49454602    *darwin*) 
    4946         cat >>confdefs.h <<\_ACEOF 
    4947 #define PJ_DARWINOS 1 
    4948 _ACEOF 
     4603        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    49494604 
    49504605        ;; 
    49514606    *linux*) 
    4952         cat >>confdefs.h <<\_ACEOF 
    4953 #define PJ_LINUX 1 
    4954 _ACEOF 
     4607        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    49554608 
    49564609        ;; 
    49574610    *rtems*) 
    4958         cat >>confdefs.h <<\_ACEOF 
    4959 #define PJ_RTEMS 1 
    4960 _ACEOF 
     4611        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    49614612 
    49624613        ;; 
    49634614    *sunos* | *solaris* ) 
    4964         cat >>confdefs.h <<\_ACEOF 
    4965 #define PJ_SUNOS 1 
    4966 _ACEOF 
     4615        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    49674616 
    49684617        ;; 
     
    49754624 
    49764625# Check whether --enable-floating-point was given. 
    4977 if test "${enable_floating_point+set}" = set; then 
     4626if test "${enable_floating_point+set}" = set; then : 
    49784627  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4979                 cat >>confdefs.h <<\_ACEOF 
    4980 #define PJ_HAS_FLOATING_POINT 0 
    4981 _ACEOF 
    4982  
    4983                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    4984 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
     4628                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4629 
     4630                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
     4631$as_echo "Checking if floating point is disabled... yes" >&6; } 
    49854632               fi 
    49864633else 
    49874634 
    4988                 cat >>confdefs.h <<\_ACEOF 
    4989 #define PJ_HAS_FLOATING_POINT 1 
    4990 _ACEOF 
    4991  
    4992                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    4993 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
    4994  
    4995 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    4996 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
    4997 if test "${ac_cv_lib_m_fmod+set}" = set; then 
    4998   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4635                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4636 
     4637                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
     4638$as_echo "Checking if floating point is disabled... no" >&6; } 
     4639                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
     4640$as_echo_n "checking for fmod in -lm... " >&6; } 
     4641if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4642  $as_echo_n "(cached) " >&6 
    49994643else 
    50004644  ac_check_lib_save_LIBS=$LIBS 
    50014645LIBS="-lm  $LIBS" 
    5002 cat >conftest.$ac_ext <<_ACEOF 
    5003 /* confdefs.h.  */ 
    5004 _ACEOF 
    5005 cat confdefs.h >>conftest.$ac_ext 
    5006 cat >>conftest.$ac_ext <<_ACEOF 
     4646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50074647/* end confdefs.h.  */ 
    50084648 
     
    50224662} 
    50234663_ACEOF 
    5024 rm -f conftest.$ac_objext conftest$ac_exeext 
    5025 if { (ac_try="$ac_link" 
    5026 case "(($ac_try" in 
    5027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5028   *) ac_try_echo=$ac_try;; 
    5029 esac 
    5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5031   (eval "$ac_link") 2>conftest.er1 
    5032   ac_status=$? 
    5033   grep -v '^ *+' conftest.er1 >conftest.err 
    5034   rm -f conftest.er1 
    5035   cat conftest.err >&5 
    5036   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5037   (exit $ac_status); } && { 
    5038          test -z "$ac_c_werror_flag" || 
    5039          test ! -s conftest.err 
    5040        } && test -s conftest$ac_exeext && 
    5041        $as_test_x conftest$ac_exeext; then 
     4664if ac_fn_c_try_link "$LINENO"; then : 
    50424665  ac_cv_lib_m_fmod=yes 
    50434666else 
    5044   echo "$as_me: failed program was:" >&5 
    5045 sed 's/^/| /' conftest.$ac_ext >&5 
    5046  
    5047         ac_cv_lib_m_fmod=no 
    5048 fi 
    5049  
    5050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5051       conftest$ac_exeext conftest.$ac_ext 
     4667  ac_cv_lib_m_fmod=no 
     4668fi 
     4669rm -f core conftest.err conftest.$ac_objext \ 
     4670    conftest$ac_exeext conftest.$ac_ext 
    50524671LIBS=$ac_check_lib_save_LIBS 
    50534672fi 
    5054 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    5055 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
    5056 if test $ac_cv_lib_m_fmod = yes; then 
     4673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
     4674$as_echo "$ac_cv_lib_m_fmod" >&6; } 
     4675if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    50574676  cat >>confdefs.h <<_ACEOF 
    50584677#define HAVE_LIBM 1 
     
    50684687 
    50694688 
    5070 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5071   { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5072 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5073 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5074   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5075 fi 
    5076 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5077 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5078 else 
    5079   # Is the header compilable? 
    5080 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5081 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
    5082 cat >conftest.$ac_ext <<_ACEOF 
    5083 /* confdefs.h.  */ 
    5084 _ACEOF 
    5085 cat confdefs.h >>conftest.$ac_ext 
    5086 cat >>conftest.$ac_ext <<_ACEOF 
    5087 /* end confdefs.h.  */ 
    5088 $ac_includes_default 
    5089 #include <arpa/inet.h> 
    5090 _ACEOF 
    5091 rm -f conftest.$ac_objext 
    5092 if { (ac_try="$ac_compile" 
    5093 case "(($ac_try" in 
    5094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5095   *) ac_try_echo=$ac_try;; 
    5096 esac 
    5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5098   (eval "$ac_compile") 2>conftest.er1 
    5099   ac_status=$? 
    5100   grep -v '^ *+' conftest.er1 >conftest.err 
    5101   rm -f conftest.er1 
    5102   cat conftest.err >&5 
    5103   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5104   (exit $ac_status); } && { 
    5105          test -z "$ac_c_werror_flag" || 
    5106          test ! -s conftest.err 
    5107        } && test -s conftest.$ac_objext; then 
    5108   ac_header_compiler=yes 
    5109 else 
    5110   echo "$as_me: failed program was:" >&5 
    5111 sed 's/^/| /' conftest.$ac_ext >&5 
    5112  
    5113         ac_header_compiler=no 
    5114 fi 
    5115  
    5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5118 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5119  
    5120 # Is the header present? 
    5121 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5122 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
    5123 cat >conftest.$ac_ext <<_ACEOF 
    5124 /* confdefs.h.  */ 
    5125 _ACEOF 
    5126 cat confdefs.h >>conftest.$ac_ext 
    5127 cat >>conftest.$ac_ext <<_ACEOF 
    5128 /* end confdefs.h.  */ 
    5129 #include <arpa/inet.h> 
    5130 _ACEOF 
    5131 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5132 case "(($ac_try" in 
    5133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5134   *) ac_try_echo=$ac_try;; 
    5135 esac 
    5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5137   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5138   ac_status=$? 
    5139   grep -v '^ *+' conftest.er1 >conftest.err 
    5140   rm -f conftest.er1 
    5141   cat conftest.err >&5 
    5142   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5143   (exit $ac_status); } >/dev/null && { 
    5144          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5145          test ! -s conftest.err 
    5146        }; then 
    5147   ac_header_preproc=yes 
    5148 else 
    5149   echo "$as_me: failed program was:" >&5 
    5150 sed 's/^/| /' conftest.$ac_ext >&5 
    5151  
    5152   ac_header_preproc=no 
    5153 fi 
    5154  
    5155 rm -f conftest.err conftest.$ac_ext 
    5156 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5157 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5158  
    5159 # So?  What about this header? 
    5160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5161   yes:no: ) 
    5162     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5163 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5164     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5165 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5166     ac_header_preproc=yes 
    5167     ;; 
    5168   no:yes:* ) 
    5169     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5170 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5171     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5172 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5173     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5174 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5175     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5176 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5177     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5178 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5179     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5180 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5181  
    5182     ;; 
    5183 esac 
    5184 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5185 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5186 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5187   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5188 else 
    5189   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5190 fi 
    5191 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5192 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5193  
    5194 fi 
    5195 if test $ac_cv_header_arpa_inet_h = yes; then 
    5196   cat >>confdefs.h <<\_ACEOF 
    5197 #define PJ_HAS_ARPA_INET_H 1 
    5198 _ACEOF 
    5199  
    5200 fi 
    5201  
    5202  
    5203 if test "${ac_cv_header_assert_h+set}" = set; then 
    5204   { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5205 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5206 if test "${ac_cv_header_assert_h+set}" = set; then 
    5207   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5208 fi 
    5209 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5210 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5211 else 
    5212   # Is the header compilable? 
    5213 { echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5214 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
    5215 cat >conftest.$ac_ext <<_ACEOF 
    5216 /* confdefs.h.  */ 
    5217 _ACEOF 
    5218 cat confdefs.h >>conftest.$ac_ext 
    5219 cat >>conftest.$ac_ext <<_ACEOF 
    5220 /* end confdefs.h.  */ 
    5221 $ac_includes_default 
    5222 #include <assert.h> 
    5223 _ACEOF 
    5224 rm -f conftest.$ac_objext 
    5225 if { (ac_try="$ac_compile" 
    5226 case "(($ac_try" in 
    5227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5228   *) ac_try_echo=$ac_try;; 
    5229 esac 
    5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5231   (eval "$ac_compile") 2>conftest.er1 
    5232   ac_status=$? 
    5233   grep -v '^ *+' conftest.er1 >conftest.err 
    5234   rm -f conftest.er1 
    5235   cat conftest.err >&5 
    5236   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5237   (exit $ac_status); } && { 
    5238          test -z "$ac_c_werror_flag" || 
    5239          test ! -s conftest.err 
    5240        } && test -s conftest.$ac_objext; then 
    5241   ac_header_compiler=yes 
    5242 else 
    5243   echo "$as_me: failed program was:" >&5 
    5244 sed 's/^/| /' conftest.$ac_ext >&5 
    5245  
    5246         ac_header_compiler=no 
    5247 fi 
    5248  
    5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5251 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5252  
    5253 # Is the header present? 
    5254 { echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5255 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
    5256 cat >conftest.$ac_ext <<_ACEOF 
    5257 /* confdefs.h.  */ 
    5258 _ACEOF 
    5259 cat confdefs.h >>conftest.$ac_ext 
    5260 cat >>conftest.$ac_ext <<_ACEOF 
    5261 /* end confdefs.h.  */ 
    5262 #include <assert.h> 
    5263 _ACEOF 
    5264 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5265 case "(($ac_try" in 
    5266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5267   *) ac_try_echo=$ac_try;; 
    5268 esac 
    5269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5270   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5271   ac_status=$? 
    5272   grep -v '^ *+' conftest.er1 >conftest.err 
    5273   rm -f conftest.er1 
    5274   cat conftest.err >&5 
    5275   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5276   (exit $ac_status); } >/dev/null && { 
    5277          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5278          test ! -s conftest.err 
    5279        }; then 
    5280   ac_header_preproc=yes 
    5281 else 
    5282   echo "$as_me: failed program was:" >&5 
    5283 sed 's/^/| /' conftest.$ac_ext >&5 
    5284  
    5285   ac_header_preproc=no 
    5286 fi 
    5287  
    5288 rm -f conftest.err conftest.$ac_ext 
    5289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5290 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5291  
    5292 # So?  What about this header? 
    5293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5294   yes:no: ) 
    5295     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5296 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5297     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5298 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5299     ac_header_preproc=yes 
    5300     ;; 
    5301   no:yes:* ) 
    5302     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5303 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5304     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5305 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5306     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5307 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5308     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5309 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5310     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5311 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5312     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5313 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5314  
    5315     ;; 
    5316 esac 
    5317 { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5318 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5319 if test "${ac_cv_header_assert_h+set}" = set; then 
    5320   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5321 else 
    5322   ac_cv_header_assert_h=$ac_header_preproc 
    5323 fi 
    5324 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5325 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5326  
    5327 fi 
    5328 if test $ac_cv_header_assert_h = yes; then 
    5329   cat >>confdefs.h <<\_ACEOF 
    5330 #define PJ_HAS_ASSERT_H 1 
    5331 _ACEOF 
    5332  
    5333 fi 
    5334  
    5335  
    5336 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5337   { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5338 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5339 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5340   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5341 fi 
    5342 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5343 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5344 else 
    5345   # Is the header compilable? 
    5346 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5347 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
    5348 cat >conftest.$ac_ext <<_ACEOF 
    5349 /* confdefs.h.  */ 
    5350 _ACEOF 
    5351 cat confdefs.h >>conftest.$ac_ext 
    5352 cat >>conftest.$ac_ext <<_ACEOF 
    5353 /* end confdefs.h.  */ 
    5354 $ac_includes_default 
    5355 #include <ctype.h> 
    5356 _ACEOF 
    5357 rm -f conftest.$ac_objext 
    5358 if { (ac_try="$ac_compile" 
    5359 case "(($ac_try" in 
    5360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5361   *) ac_try_echo=$ac_try;; 
    5362 esac 
    5363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5364   (eval "$ac_compile") 2>conftest.er1 
    5365   ac_status=$? 
    5366   grep -v '^ *+' conftest.er1 >conftest.err 
    5367   rm -f conftest.er1 
    5368   cat conftest.err >&5 
    5369   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5370   (exit $ac_status); } && { 
    5371          test -z "$ac_c_werror_flag" || 
    5372          test ! -s conftest.err 
    5373        } && test -s conftest.$ac_objext; then 
    5374   ac_header_compiler=yes 
    5375 else 
    5376   echo "$as_me: failed program was:" >&5 
    5377 sed 's/^/| /' conftest.$ac_ext >&5 
    5378  
    5379         ac_header_compiler=no 
    5380 fi 
    5381  
    5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5383 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5384 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5385  
    5386 # Is the header present? 
    5387 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5388 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
    5389 cat >conftest.$ac_ext <<_ACEOF 
    5390 /* confdefs.h.  */ 
    5391 _ACEOF 
    5392 cat confdefs.h >>conftest.$ac_ext 
    5393 cat >>conftest.$ac_ext <<_ACEOF 
    5394 /* end confdefs.h.  */ 
    5395 #include <ctype.h> 
    5396 _ACEOF 
    5397 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5398 case "(($ac_try" in 
    5399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5400   *) ac_try_echo=$ac_try;; 
    5401 esac 
    5402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5403   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5404   ac_status=$? 
    5405   grep -v '^ *+' conftest.er1 >conftest.err 
    5406   rm -f conftest.er1 
    5407   cat conftest.err >&5 
    5408   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5409   (exit $ac_status); } >/dev/null && { 
    5410          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5411          test ! -s conftest.err 
    5412        }; then 
    5413   ac_header_preproc=yes 
    5414 else 
    5415   echo "$as_me: failed program was:" >&5 
    5416 sed 's/^/| /' conftest.$ac_ext >&5 
    5417  
    5418   ac_header_preproc=no 
    5419 fi 
    5420  
    5421 rm -f conftest.err conftest.$ac_ext 
    5422 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5423 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5424  
    5425 # So?  What about this header? 
    5426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5427   yes:no: ) 
    5428     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5429 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5430     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5431 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5432     ac_header_preproc=yes 
    5433     ;; 
    5434   no:yes:* ) 
    5435     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5436 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5437     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5438 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5439     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5440 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5441     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5442 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5443     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5444 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5445     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5446 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5447  
    5448     ;; 
    5449 esac 
    5450 { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5451 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5452 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5453   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5454 else 
    5455   ac_cv_header_ctype_h=$ac_header_preproc 
    5456 fi 
    5457 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5458 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5459  
    5460 fi 
    5461 if test $ac_cv_header_ctype_h = yes; then 
    5462   cat >>confdefs.h <<\_ACEOF 
    5463 #define PJ_HAS_CTYPE_H 1 
    5464 _ACEOF 
     4689ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4690if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4691  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4692 
     4693fi 
     4694 
     4695 
     4696ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4697if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4698  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4699 
     4700fi 
     4701 
     4702 
     4703ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4704if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4705  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    54654706 
    54664707fi 
     
    54704711case $target in 
    54714712    *mingw* | *cygw* | *win32* | *w32* ) 
    5472         cat >>confdefs.h <<\_ACEOF 
    5473 #define PJ_HAS_ERRNO_H 0 
    5474 _ACEOF 
     4713        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    54754714 
    54764715        ;; 
    54774716    *) 
    5478         if test "${ac_cv_header_errno_h+set}" = set; then 
    5479   { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5480 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5481 if test "${ac_cv_header_errno_h+set}" = set; then 
    5482   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5483 fi 
    5484 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5485 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5486 else 
    5487   # Is the header compilable? 
    5488 { echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5489 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
    5490 cat >conftest.$ac_ext <<_ACEOF 
    5491 /* confdefs.h.  */ 
    5492 _ACEOF 
    5493 cat confdefs.h >>conftest.$ac_ext 
    5494 cat >>conftest.$ac_ext <<_ACEOF 
    5495 /* end confdefs.h.  */ 
    5496 $ac_includes_default 
    5497 #include <errno.h> 
    5498 _ACEOF 
    5499 rm -f conftest.$ac_objext 
    5500 if { (ac_try="$ac_compile" 
    5501 case "(($ac_try" in 
    5502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5503   *) ac_try_echo=$ac_try;; 
    5504 esac 
    5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5506   (eval "$ac_compile") 2>conftest.er1 
    5507   ac_status=$? 
    5508   grep -v '^ *+' conftest.er1 >conftest.err 
    5509   rm -f conftest.er1 
    5510   cat conftest.err >&5 
    5511   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5512   (exit $ac_status); } && { 
    5513          test -z "$ac_c_werror_flag" || 
    5514          test ! -s conftest.err 
    5515        } && test -s conftest.$ac_objext; then 
    5516   ac_header_compiler=yes 
    5517 else 
    5518   echo "$as_me: failed program was:" >&5 
    5519 sed 's/^/| /' conftest.$ac_ext >&5 
    5520  
    5521         ac_header_compiler=no 
    5522 fi 
    5523  
    5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5525 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5526 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5527  
    5528 # Is the header present? 
    5529 { echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5530 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
    5531 cat >conftest.$ac_ext <<_ACEOF 
    5532 /* confdefs.h.  */ 
    5533 _ACEOF 
    5534 cat confdefs.h >>conftest.$ac_ext 
    5535 cat >>conftest.$ac_ext <<_ACEOF 
    5536 /* end confdefs.h.  */ 
    5537 #include <errno.h> 
    5538 _ACEOF 
    5539 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5540 case "(($ac_try" in 
    5541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5542   *) ac_try_echo=$ac_try;; 
    5543 esac 
    5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5545   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5546   ac_status=$? 
    5547   grep -v '^ *+' conftest.er1 >conftest.err 
    5548   rm -f conftest.er1 
    5549   cat conftest.err >&5 
    5550   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5551   (exit $ac_status); } >/dev/null && { 
    5552          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5553          test ! -s conftest.err 
    5554        }; then 
    5555   ac_header_preproc=yes 
    5556 else 
    5557   echo "$as_me: failed program was:" >&5 
    5558 sed 's/^/| /' conftest.$ac_ext >&5 
    5559  
    5560   ac_header_preproc=no 
    5561 fi 
    5562  
    5563 rm -f conftest.err conftest.$ac_ext 
    5564 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5565 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5566  
    5567 # So?  What about this header? 
    5568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5569   yes:no: ) 
    5570     { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5571 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5572     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5573 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5574     ac_header_preproc=yes 
    5575     ;; 
    5576   no:yes:* ) 
    5577     { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5578 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5579     { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5580 echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5581     { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5582 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5583     { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5584 echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5585     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5586 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5587     { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5588 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5589  
    5590     ;; 
    5591 esac 
    5592 { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5593 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5594 if test "${ac_cv_header_errno_h+set}" = set; then 
    5595   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5596 else 
    5597   ac_cv_header_errno_h=$ac_header_preproc 
    5598 fi 
    5599 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5600 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5601  
    5602 fi 
    5603 if test $ac_cv_header_errno_h = yes; then 
    5604   cat >>confdefs.h <<\_ACEOF 
    5605 #define PJ_HAS_ERRNO_H 1 
    5606 _ACEOF 
     4717        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4718if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4719  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    56074720 
    56084721fi 
     
    56124725esac 
    56134726 
    5614 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5615   { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5616 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5617 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5618   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5619 fi 
    5620 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5621 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5622 else 
    5623   # Is the header compilable? 
    5624 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5625 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
    5626 cat >conftest.$ac_ext <<_ACEOF 
    5627 /* confdefs.h.  */ 
    5628 _ACEOF 
    5629 cat confdefs.h >>conftest.$ac_ext 
    5630 cat >>conftest.$ac_ext <<_ACEOF 
    5631 /* end confdefs.h.  */ 
    5632 $ac_includes_default 
    5633 #include <fcntl.h> 
    5634 _ACEOF 
    5635 rm -f conftest.$ac_objext 
    5636 if { (ac_try="$ac_compile" 
    5637 case "(($ac_try" in 
    5638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5639   *) ac_try_echo=$ac_try;; 
    5640 esac 
    5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5642   (eval "$ac_compile") 2>conftest.er1 
    5643   ac_status=$? 
    5644   grep -v '^ *+' conftest.er1 >conftest.err 
    5645   rm -f conftest.er1 
    5646   cat conftest.err >&5 
    5647   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5648   (exit $ac_status); } && { 
    5649          test -z "$ac_c_werror_flag" || 
    5650          test ! -s conftest.err 
    5651        } && test -s conftest.$ac_objext; then 
    5652   ac_header_compiler=yes 
    5653 else 
    5654   echo "$as_me: failed program was:" >&5 
    5655 sed 's/^/| /' conftest.$ac_ext >&5 
    5656  
    5657         ac_header_compiler=no 
    5658 fi 
    5659  
    5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5661 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5662 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5663  
    5664 # Is the header present? 
    5665 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5666 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
    5667 cat >conftest.$ac_ext <<_ACEOF 
    5668 /* confdefs.h.  */ 
    5669 _ACEOF 
    5670 cat confdefs.h >>conftest.$ac_ext 
    5671 cat >>conftest.$ac_ext <<_ACEOF 
    5672 /* end confdefs.h.  */ 
    5673 #include <fcntl.h> 
    5674 _ACEOF 
    5675 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5676 case "(($ac_try" in 
    5677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5678   *) ac_try_echo=$ac_try;; 
    5679 esac 
    5680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5681   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5682   ac_status=$? 
    5683   grep -v '^ *+' conftest.er1 >conftest.err 
    5684   rm -f conftest.er1 
    5685   cat conftest.err >&5 
    5686   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5687   (exit $ac_status); } >/dev/null && { 
    5688          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5689          test ! -s conftest.err 
    5690        }; then 
    5691   ac_header_preproc=yes 
    5692 else 
    5693   echo "$as_me: failed program was:" >&5 
    5694 sed 's/^/| /' conftest.$ac_ext >&5 
    5695  
    5696   ac_header_preproc=no 
    5697 fi 
    5698  
    5699 rm -f conftest.err conftest.$ac_ext 
    5700 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5701 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5702  
    5703 # So?  What about this header? 
    5704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5705   yes:no: ) 
    5706     { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5707 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5708     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5709 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5710     ac_header_preproc=yes 
    5711     ;; 
    5712   no:yes:* ) 
    5713     { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5714 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5715     { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5716 echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5717     { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5718 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5719     { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5720 echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5721     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5722 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5723     { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5724 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5725  
    5726     ;; 
    5727 esac 
    5728 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5729 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5730 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5731   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5732 else 
    5733   ac_cv_header_fcntl_h=$ac_header_preproc 
    5734 fi 
    5735 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5736 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5737  
    5738 fi 
    5739 if test $ac_cv_header_fcntl_h = yes; then 
    5740   cat >>confdefs.h <<\_ACEOF 
    5741 #define PJ_HAS_FCNTL_H 1 
    5742 _ACEOF 
    5743  
    5744 fi 
    5745  
    5746  
    5747 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5748   { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5749 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5750 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5751   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5752 fi 
    5753 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5754 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5755 else 
    5756   # Is the header compilable? 
    5757 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    5758 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
    5759 cat >conftest.$ac_ext <<_ACEOF 
    5760 /* confdefs.h.  */ 
    5761 _ACEOF 
    5762 cat confdefs.h >>conftest.$ac_ext 
    5763 cat >>conftest.$ac_ext <<_ACEOF 
    5764 /* end confdefs.h.  */ 
    5765 $ac_includes_default 
    5766 #include <linux/socket.h> 
    5767 _ACEOF 
    5768 rm -f conftest.$ac_objext 
    5769 if { (ac_try="$ac_compile" 
    5770 case "(($ac_try" in 
    5771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5772   *) ac_try_echo=$ac_try;; 
    5773 esac 
    5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5775   (eval "$ac_compile") 2>conftest.er1 
    5776   ac_status=$? 
    5777   grep -v '^ *+' conftest.er1 >conftest.err 
    5778   rm -f conftest.er1 
    5779   cat conftest.err >&5 
    5780   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5781   (exit $ac_status); } && { 
    5782          test -z "$ac_c_werror_flag" || 
    5783          test ! -s conftest.err 
    5784        } && test -s conftest.$ac_objext; then 
    5785   ac_header_compiler=yes 
    5786 else 
    5787   echo "$as_me: failed program was:" >&5 
    5788 sed 's/^/| /' conftest.$ac_ext >&5 
    5789  
    5790         ac_header_compiler=no 
    5791 fi 
    5792  
    5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5794 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5795 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5796  
    5797 # Is the header present? 
    5798 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    5799 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
    5800 cat >conftest.$ac_ext <<_ACEOF 
    5801 /* confdefs.h.  */ 
    5802 _ACEOF 
    5803 cat confdefs.h >>conftest.$ac_ext 
    5804 cat >>conftest.$ac_ext <<_ACEOF 
    5805 /* end confdefs.h.  */ 
    5806 #include <linux/socket.h> 
    5807 _ACEOF 
    5808 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5809 case "(($ac_try" in 
    5810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5811   *) ac_try_echo=$ac_try;; 
    5812 esac 
    5813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5814   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5815   ac_status=$? 
    5816   grep -v '^ *+' conftest.er1 >conftest.err 
    5817   rm -f conftest.er1 
    5818   cat conftest.err >&5 
    5819   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5820   (exit $ac_status); } >/dev/null && { 
    5821          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5822          test ! -s conftest.err 
    5823        }; then 
    5824   ac_header_preproc=yes 
    5825 else 
    5826   echo "$as_me: failed program was:" >&5 
    5827 sed 's/^/| /' conftest.$ac_ext >&5 
    5828  
    5829   ac_header_preproc=no 
    5830 fi 
    5831  
    5832 rm -f conftest.err conftest.$ac_ext 
    5833 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5834 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5835  
    5836 # So?  What about this header? 
    5837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5838   yes:no: ) 
    5839     { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5840 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5841     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    5842 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    5843     ac_header_preproc=yes 
    5844     ;; 
    5845   no:yes:* ) 
    5846     { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    5847 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    5848     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    5849 echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    5850     { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    5851 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    5852     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5853 echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5854     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    5855 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    5856     { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    5857 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    5858  
    5859     ;; 
    5860 esac 
    5861 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5862 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5863 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5864   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5865 else 
    5866   ac_cv_header_linux_socket_h=$ac_header_preproc 
    5867 fi 
    5868 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5869 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5870  
    5871 fi 
    5872 if test $ac_cv_header_linux_socket_h = yes; then 
    5873   cat >>confdefs.h <<\_ACEOF 
    5874 #define PJ_HAS_LINUX_SOCKET_H 1 
    5875 _ACEOF 
    5876  
    5877 fi 
    5878  
    5879  
    5880 if test "${ac_cv_header_malloc_h+set}" = set; then 
    5881   { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    5882 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    5883 if test "${ac_cv_header_malloc_h+set}" = set; then 
    5884   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5885 fi 
    5886 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    5887 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    5888 else 
    5889   # Is the header compilable? 
    5890 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    5891 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
    5892 cat >conftest.$ac_ext <<_ACEOF 
    5893 /* confdefs.h.  */ 
    5894 _ACEOF 
    5895 cat confdefs.h >>conftest.$ac_ext 
    5896 cat >>conftest.$ac_ext <<_ACEOF 
    5897 /* end confdefs.h.  */ 
    5898 $ac_includes_default 
    5899 #include <malloc.h> 
    5900 _ACEOF 
    5901 rm -f conftest.$ac_objext 
    5902 if { (ac_try="$ac_compile" 
    5903 case "(($ac_try" in 
    5904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5905   *) ac_try_echo=$ac_try;; 
    5906 esac 
    5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5908   (eval "$ac_compile") 2>conftest.er1 
    5909   ac_status=$? 
    5910   grep -v '^ *+' conftest.er1 >conftest.err 
    5911   rm -f conftest.er1 
    5912   cat conftest.err >&5 
    5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5914   (exit $ac_status); } && { 
    5915          test -z "$ac_c_werror_flag" || 
    5916          test ! -s conftest.err 
    5917        } && test -s conftest.$ac_objext; then 
    5918   ac_header_compiler=yes 
    5919 else 
    5920   echo "$as_me: failed program was:" >&5 
    5921 sed 's/^/| /' conftest.$ac_ext >&5 
    5922  
    5923         ac_header_compiler=no 
    5924 fi 
    5925  
    5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5927 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5928 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5929  
    5930 # Is the header present? 
    5931 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    5932 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
    5933 cat >conftest.$ac_ext <<_ACEOF 
    5934 /* confdefs.h.  */ 
    5935 _ACEOF 
    5936 cat confdefs.h >>conftest.$ac_ext 
    5937 cat >>conftest.$ac_ext <<_ACEOF 
    5938 /* end confdefs.h.  */ 
    5939 #include <malloc.h> 
    5940 _ACEOF 
    5941 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5942 case "(($ac_try" in 
    5943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5944   *) ac_try_echo=$ac_try;; 
    5945 esac 
    5946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5947   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5948   ac_status=$? 
    5949   grep -v '^ *+' conftest.er1 >conftest.err 
    5950   rm -f conftest.er1 
    5951   cat conftest.err >&5 
    5952   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5953   (exit $ac_status); } >/dev/null && { 
    5954          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5955          test ! -s conftest.err 
    5956        }; then 
    5957   ac_header_preproc=yes 
    5958 else 
    5959   echo "$as_me: failed program was:" >&5 
    5960 sed 's/^/| /' conftest.$ac_ext >&5 
    5961  
    5962   ac_header_preproc=no 
    5963 fi 
    5964  
    5965 rm -f conftest.err conftest.$ac_ext 
    5966 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5967 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5968  
    5969 # So?  What about this header? 
    5970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5971   yes:no: ) 
    5972     { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5973 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5974     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    5975 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    5976     ac_header_preproc=yes 
    5977     ;; 
    5978   no:yes:* ) 
    5979     { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    5980 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    5981     { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    5982 echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    5983     { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    5984 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    5985     { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5986 echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5987     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    5988 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    5989     { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    5990 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    5991  
    5992     ;; 
    5993 esac 
    5994 { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    5995 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    5996 if test "${ac_cv_header_malloc_h+set}" = set; then 
    5997   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5998 else 
    5999   ac_cv_header_malloc_h=$ac_header_preproc 
    6000 fi 
    6001 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6002 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6003  
    6004 fi 
    6005 if test $ac_cv_header_malloc_h = yes; then 
    6006   cat >>confdefs.h <<\_ACEOF 
    6007 #define PJ_HAS_MALLOC_H 1 
    6008 _ACEOF 
    6009  
    6010 fi 
    6011  
    6012  
    6013 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6014   { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6015 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6016 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6017   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6018 fi 
    6019 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6020 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6021 else 
    6022   # Is the header compilable? 
    6023 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6024 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
    6025 cat >conftest.$ac_ext <<_ACEOF 
    6026 /* confdefs.h.  */ 
    6027 _ACEOF 
    6028 cat confdefs.h >>conftest.$ac_ext 
    6029 cat >>conftest.$ac_ext <<_ACEOF 
    6030 /* end confdefs.h.  */ 
    6031 $ac_includes_default 
    6032 #include <netdb.h> 
    6033 _ACEOF 
    6034 rm -f conftest.$ac_objext 
    6035 if { (ac_try="$ac_compile" 
    6036 case "(($ac_try" in 
    6037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6038   *) ac_try_echo=$ac_try;; 
    6039 esac 
    6040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6041   (eval "$ac_compile") 2>conftest.er1 
    6042   ac_status=$? 
    6043   grep -v '^ *+' conftest.er1 >conftest.err 
    6044   rm -f conftest.er1 
    6045   cat conftest.err >&5 
    6046   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6047   (exit $ac_status); } && { 
    6048          test -z "$ac_c_werror_flag" || 
    6049          test ! -s conftest.err 
    6050        } && test -s conftest.$ac_objext; then 
    6051   ac_header_compiler=yes 
    6052 else 
    6053   echo "$as_me: failed program was:" >&5 
    6054 sed 's/^/| /' conftest.$ac_ext >&5 
    6055  
    6056         ac_header_compiler=no 
    6057 fi 
    6058  
    6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6060 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6061 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6062  
    6063 # Is the header present? 
    6064 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6065 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
    6066 cat >conftest.$ac_ext <<_ACEOF 
    6067 /* confdefs.h.  */ 
    6068 _ACEOF 
    6069 cat confdefs.h >>conftest.$ac_ext 
    6070 cat >>conftest.$ac_ext <<_ACEOF 
    6071 /* end confdefs.h.  */ 
    6072 #include <netdb.h> 
    6073 _ACEOF 
    6074 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6075 case "(($ac_try" in 
    6076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6077   *) ac_try_echo=$ac_try;; 
    6078 esac 
    6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6080   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6081   ac_status=$? 
    6082   grep -v '^ *+' conftest.er1 >conftest.err 
    6083   rm -f conftest.er1 
    6084   cat conftest.err >&5 
    6085   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6086   (exit $ac_status); } >/dev/null && { 
    6087          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6088          test ! -s conftest.err 
    6089        }; then 
    6090   ac_header_preproc=yes 
    6091 else 
    6092   echo "$as_me: failed program was:" >&5 
    6093 sed 's/^/| /' conftest.$ac_ext >&5 
    6094  
    6095   ac_header_preproc=no 
    6096 fi 
    6097  
    6098 rm -f conftest.err conftest.$ac_ext 
    6099 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6100 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6101  
    6102 # So?  What about this header? 
    6103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6104   yes:no: ) 
    6105     { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6106 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6107     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6108 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6109     ac_header_preproc=yes 
    6110     ;; 
    6111   no:yes:* ) 
    6112     { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6113 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6114     { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6115 echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6116     { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6117 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6118     { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6119 echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6120     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6121 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6122     { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6123 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6124  
    6125     ;; 
    6126 esac 
    6127 { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6128 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6129 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6130   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6131 else 
    6132   ac_cv_header_netdb_h=$ac_header_preproc 
    6133 fi 
    6134 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6135 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6136  
    6137 fi 
    6138 if test $ac_cv_header_netdb_h = yes; then 
    6139   cat >>confdefs.h <<\_ACEOF 
    6140 #define PJ_HAS_NETDB_H 1 
    6141 _ACEOF 
    6142  
    6143 fi 
    6144  
    6145  
    6146 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6147   { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6148 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6149 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6150   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6151 fi 
    6152 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6153 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6154 else 
    6155   # Is the header compilable? 
    6156 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6157 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
    6158 cat >conftest.$ac_ext <<_ACEOF 
    6159 /* confdefs.h.  */ 
    6160 _ACEOF 
    6161 cat confdefs.h >>conftest.$ac_ext 
    6162 cat >>conftest.$ac_ext <<_ACEOF 
    6163 /* end confdefs.h.  */ 
    6164 $ac_includes_default 
    6165 #include <netinet/in_systm.h> 
    6166 _ACEOF 
    6167 rm -f conftest.$ac_objext 
    6168 if { (ac_try="$ac_compile" 
    6169 case "(($ac_try" in 
    6170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6171   *) ac_try_echo=$ac_try;; 
    6172 esac 
    6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6174   (eval "$ac_compile") 2>conftest.er1 
    6175   ac_status=$? 
    6176   grep -v '^ *+' conftest.er1 >conftest.err 
    6177   rm -f conftest.er1 
    6178   cat conftest.err >&5 
    6179   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6180   (exit $ac_status); } && { 
    6181          test -z "$ac_c_werror_flag" || 
    6182          test ! -s conftest.err 
    6183        } && test -s conftest.$ac_objext; then 
    6184   ac_header_compiler=yes 
    6185 else 
    6186   echo "$as_me: failed program was:" >&5 
    6187 sed 's/^/| /' conftest.$ac_ext >&5 
    6188  
    6189         ac_header_compiler=no 
    6190 fi 
    6191  
    6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6194 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6195  
    6196 # Is the header present? 
    6197 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6198 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
    6199 cat >conftest.$ac_ext <<_ACEOF 
    6200 /* confdefs.h.  */ 
    6201 _ACEOF 
    6202 cat confdefs.h >>conftest.$ac_ext 
    6203 cat >>conftest.$ac_ext <<_ACEOF 
    6204 /* end confdefs.h.  */ 
    6205 #include <netinet/in_systm.h> 
    6206 _ACEOF 
    6207 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6208 case "(($ac_try" in 
    6209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6210   *) ac_try_echo=$ac_try;; 
    6211 esac 
    6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6213   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6214   ac_status=$? 
    6215   grep -v '^ *+' conftest.er1 >conftest.err 
    6216   rm -f conftest.er1 
    6217   cat conftest.err >&5 
    6218   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6219   (exit $ac_status); } >/dev/null && { 
    6220          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6221          test ! -s conftest.err 
    6222        }; then 
    6223   ac_header_preproc=yes 
    6224 else 
    6225   echo "$as_me: failed program was:" >&5 
    6226 sed 's/^/| /' conftest.$ac_ext >&5 
    6227  
    6228   ac_header_preproc=no 
    6229 fi 
    6230  
    6231 rm -f conftest.err conftest.$ac_ext 
    6232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6233 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6234  
    6235 # So?  What about this header? 
    6236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6237   yes:no: ) 
    6238     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6239 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6240     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6241 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6242     ac_header_preproc=yes 
    6243     ;; 
    6244   no:yes:* ) 
    6245     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6246 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6247     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6248 echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6249     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6250 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6251     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6252 echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6253     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6254 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6255     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6256 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6257  
    6258     ;; 
    6259 esac 
    6260 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6261 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6262 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6263   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6264 else 
    6265   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6266 fi 
    6267 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6268 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6269  
    6270 fi 
    6271 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6272   cat >>confdefs.h <<\_ACEOF 
    6273 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6274 _ACEOF 
    6275  
    6276 fi 
    6277  
    6278  
    6279 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6280   { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6281 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6282 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6283   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6284 fi 
    6285 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6286 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6287 else 
    6288   # Is the header compilable? 
    6289 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6290 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
    6291 cat >conftest.$ac_ext <<_ACEOF 
    6292 /* confdefs.h.  */ 
    6293 _ACEOF 
    6294 cat confdefs.h >>conftest.$ac_ext 
    6295 cat >>conftest.$ac_ext <<_ACEOF 
    6296 /* end confdefs.h.  */ 
    6297 $ac_includes_default 
    6298 #include <netinet/in.h> 
    6299 _ACEOF 
    6300 rm -f conftest.$ac_objext 
    6301 if { (ac_try="$ac_compile" 
    6302 case "(($ac_try" in 
    6303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6304   *) ac_try_echo=$ac_try;; 
    6305 esac 
    6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6307   (eval "$ac_compile") 2>conftest.er1 
    6308   ac_status=$? 
    6309   grep -v '^ *+' conftest.er1 >conftest.err 
    6310   rm -f conftest.er1 
    6311   cat conftest.err >&5 
    6312   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6313   (exit $ac_status); } && { 
    6314          test -z "$ac_c_werror_flag" || 
    6315          test ! -s conftest.err 
    6316        } && test -s conftest.$ac_objext; then 
    6317   ac_header_compiler=yes 
    6318 else 
    6319   echo "$as_me: failed program was:" >&5 
    6320 sed 's/^/| /' conftest.$ac_ext >&5 
    6321  
    6322         ac_header_compiler=no 
    6323 fi 
    6324  
    6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6326 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6327 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6328  
    6329 # Is the header present? 
    6330 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6331 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
    6332 cat >conftest.$ac_ext <<_ACEOF 
    6333 /* confdefs.h.  */ 
    6334 _ACEOF 
    6335 cat confdefs.h >>conftest.$ac_ext 
    6336 cat >>conftest.$ac_ext <<_ACEOF 
    6337 /* end confdefs.h.  */ 
    6338 #include <netinet/in.h> 
    6339 _ACEOF 
    6340 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6341 case "(($ac_try" in 
    6342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6343   *) ac_try_echo=$ac_try;; 
    6344 esac 
    6345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6346   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6347   ac_status=$? 
    6348   grep -v '^ *+' conftest.er1 >conftest.err 
    6349   rm -f conftest.er1 
    6350   cat conftest.err >&5 
    6351   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6352   (exit $ac_status); } >/dev/null && { 
    6353          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6354          test ! -s conftest.err 
    6355        }; then 
    6356   ac_header_preproc=yes 
    6357 else 
    6358   echo "$as_me: failed program was:" >&5 
    6359 sed 's/^/| /' conftest.$ac_ext >&5 
    6360  
    6361   ac_header_preproc=no 
    6362 fi 
    6363  
    6364 rm -f conftest.err conftest.$ac_ext 
    6365 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6366 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6367  
    6368 # So?  What about this header? 
    6369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6370   yes:no: ) 
    6371     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6372 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6373     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    6374 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    6375     ac_header_preproc=yes 
    6376     ;; 
    6377   no:yes:* ) 
    6378     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    6379 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    6380     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    6381 echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    6382     { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    6383 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    6384     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6385 echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6386     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    6387 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    6388     { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    6389 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    6390  
    6391     ;; 
    6392 esac 
    6393 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6394 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6395 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6396   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6397 else 
    6398   ac_cv_header_netinet_in_h=$ac_header_preproc 
    6399 fi 
    6400 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6401 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6402  
    6403 fi 
    6404 if test $ac_cv_header_netinet_in_h = yes; then 
    6405   cat >>confdefs.h <<\_ACEOF 
    6406 #define PJ_HAS_NETINET_IN_H 1 
    6407 _ACEOF 
    6408  
    6409 fi 
    6410  
    6411  
    6412 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
    6413 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
    6414 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
    6415   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6416 else 
    6417   cat >conftest.$ac_ext <<_ACEOF 
    6418 /* confdefs.h.  */ 
    6419 _ACEOF 
    6420 cat confdefs.h >>conftest.$ac_ext 
    6421 cat >>conftest.$ac_ext <<_ACEOF 
    6422 /* end confdefs.h.  */ 
    6423 #if PJ_HAS_SYS_TYPES_H 
     4727ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
     4728if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4729  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
     4730 
     4731fi 
     4732 
     4733 
     4734ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
     4735if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4736  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
     4737 
     4738fi 
     4739 
     4740 
     4741ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
     4742if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4743  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
     4744 
     4745fi 
     4746 
     4747 
     4748ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
     4749if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4750  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
     4751 
     4752fi 
     4753 
     4754 
     4755ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
     4756if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4757  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
     4758 
     4759fi 
     4760 
     4761 
     4762ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
     4763if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4764  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
     4765 
     4766fi 
     4767 
     4768 
     4769ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
    64244770                  #     include <sys/types.h> 
    64254771                  #endif 
     
    64314777                  #endif 
    64324778 
    6433  
    6434 #include <netinet/ip.h> 
    6435 _ACEOF 
    6436 rm -f conftest.$ac_objext 
    6437 if { (ac_try="$ac_compile" 
    6438 case "(($ac_try" in 
    6439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6440   *) ac_try_echo=$ac_try;; 
    6441 esac 
    6442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6443   (eval "$ac_compile") 2>conftest.er1 
    6444   ac_status=$? 
    6445   grep -v '^ *+' conftest.er1 >conftest.err 
    6446   rm -f conftest.er1 
    6447   cat conftest.err >&5 
    6448   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6449   (exit $ac_status); } && { 
    6450          test -z "$ac_c_werror_flag" || 
    6451          test ! -s conftest.err 
    6452        } && test -s conftest.$ac_objext; then 
    6453   ac_cv_header_netinet_ip_h=yes 
    6454 else 
    6455   echo "$as_me: failed program was:" >&5 
    6456 sed 's/^/| /' conftest.$ac_ext >&5 
    6457  
    6458         ac_cv_header_netinet_ip_h=no 
    6459 fi 
    6460  
    6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6462 fi 
    6463 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
    6464 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
    6465 if test $ac_cv_header_netinet_ip_h = yes; then 
    6466   cat >>confdefs.h <<\_ACEOF 
    6467 #define PJ_HAS_NETINET_IP_H 1 
    6468 _ACEOF 
    6469  
    6470 fi 
    6471  
    6472  
    6473 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6474   { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6475 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6476 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6477   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6478 fi 
    6479 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6480 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6481 else 
    6482   # Is the header compilable? 
    6483 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
    6484 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
    6485 cat >conftest.$ac_ext <<_ACEOF 
    6486 /* confdefs.h.  */ 
    6487 _ACEOF 
    6488 cat confdefs.h >>conftest.$ac_ext 
    6489 cat >>conftest.$ac_ext <<_ACEOF 
    6490 /* end confdefs.h.  */ 
    6491 $ac_includes_default 
    6492 #include <netinet/tcp.h> 
    6493 _ACEOF 
    6494 rm -f conftest.$ac_objext 
    6495 if { (ac_try="$ac_compile" 
    6496 case "(($ac_try" in 
    6497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6498   *) ac_try_echo=$ac_try;; 
    6499 esac 
    6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6501   (eval "$ac_compile") 2>conftest.er1 
    6502   ac_status=$? 
    6503   grep -v '^ *+' conftest.er1 >conftest.err 
    6504   rm -f conftest.er1 
    6505   cat conftest.err >&5 
    6506   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6507   (exit $ac_status); } && { 
    6508          test -z "$ac_c_werror_flag" || 
    6509          test ! -s conftest.err 
    6510        } && test -s conftest.$ac_objext; then 
    6511   ac_header_compiler=yes 
    6512 else 
    6513   echo "$as_me: failed program was:" >&5 
    6514 sed 's/^/| /' conftest.$ac_ext >&5 
    6515  
    6516         ac_header_compiler=no 
    6517 fi 
    6518  
    6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6520 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6521 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6522  
    6523 # Is the header present? 
    6524 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
    6525 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
    6526 cat >conftest.$ac_ext <<_ACEOF 
    6527 /* confdefs.h.  */ 
    6528 _ACEOF 
    6529 cat confdefs.h >>conftest.$ac_ext 
    6530 cat >>conftest.$ac_ext <<_ACEOF 
    6531 /* end confdefs.h.  */ 
    6532 #include <netinet/tcp.h> 
    6533 _ACEOF 
    6534 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6535 case "(($ac_try" in 
    6536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6537   *) ac_try_echo=$ac_try;; 
    6538 esac 
    6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6540   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6541   ac_status=$? 
    6542   grep -v '^ *+' conftest.er1 >conftest.err 
    6543   rm -f conftest.er1 
    6544   cat conftest.err >&5 
    6545   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6546   (exit $ac_status); } >/dev/null && { 
    6547          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6548          test ! -s conftest.err 
    6549        }; then 
    6550   ac_header_preproc=yes 
    6551 else 
    6552   echo "$as_me: failed program was:" >&5 
    6553 sed 's/^/| /' conftest.$ac_ext >&5 
    6554  
    6555   ac_header_preproc=no 
    6556 fi 
    6557  
    6558 rm -f conftest.err conftest.$ac_ext 
    6559 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6560 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6561  
    6562 # So?  What about this header? 
    6563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6564   yes:no: ) 
    6565     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6566 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6567     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
    6568 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
    6569     ac_header_preproc=yes 
    6570     ;; 
    6571   no:yes:* ) 
    6572     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
    6573 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
    6574     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
    6575 echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
    6576     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
    6577 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
    6578     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6579 echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6580     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
    6581 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
    6582     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
    6583 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
    6584  
    6585     ;; 
    6586 esac 
    6587 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6588 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6589 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6590   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6591 else 
    6592   ac_cv_header_netinet_tcp_h=$ac_header_preproc 
    6593 fi 
    6594 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6595 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6596  
    6597 fi 
    6598 if test $ac_cv_header_netinet_tcp_h = yes; then 
    6599   cat >>confdefs.h <<\_ACEOF 
    6600 #define PJ_HAS_NETINET_TCP_H 1 
    6601 _ACEOF 
    6602  
    6603 fi 
    6604  
    6605  
    6606 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6607   { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6608 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6609 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6610   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6611 fi 
    6612 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6613 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6614 else 
    6615   # Is the header compilable? 
    6616 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
    6617 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
    6618 cat >conftest.$ac_ext <<_ACEOF 
    6619 /* confdefs.h.  */ 
    6620 _ACEOF 
    6621 cat confdefs.h >>conftest.$ac_ext 
    6622 cat >>conftest.$ac_ext <<_ACEOF 
    6623 /* end confdefs.h.  */ 
    6624 $ac_includes_default 
    6625 #include <ifaddrs.h> 
    6626 _ACEOF 
    6627 rm -f conftest.$ac_objext 
    6628 if { (ac_try="$ac_compile" 
    6629 case "(($ac_try" in 
    6630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6631   *) ac_try_echo=$ac_try;; 
    6632 esac 
    6633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6634   (eval "$ac_compile") 2>conftest.er1 
    6635   ac_status=$? 
    6636   grep -v '^ *+' conftest.er1 >conftest.err 
    6637   rm -f conftest.er1 
    6638   cat conftest.err >&5 
    6639   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6640   (exit $ac_status); } && { 
    6641          test -z "$ac_c_werror_flag" || 
    6642          test ! -s conftest.err 
    6643        } && test -s conftest.$ac_objext; then 
    6644   ac_header_compiler=yes 
    6645 else 
    6646   echo "$as_me: failed program was:" >&5 
    6647 sed 's/^/| /' conftest.$ac_ext >&5 
    6648  
    6649         ac_header_compiler=no 
    6650 fi 
    6651  
    6652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6654 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6655  
    6656 # Is the header present? 
    6657 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
    6658 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
    6659 cat >conftest.$ac_ext <<_ACEOF 
    6660 /* confdefs.h.  */ 
    6661 _ACEOF 
    6662 cat confdefs.h >>conftest.$ac_ext 
    6663 cat >>conftest.$ac_ext <<_ACEOF 
    6664 /* end confdefs.h.  */ 
    6665 #include <ifaddrs.h> 
    6666 _ACEOF 
    6667 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6668 case "(($ac_try" in 
    6669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6670   *) ac_try_echo=$ac_try;; 
    6671 esac 
    6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6673   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6674   ac_status=$? 
    6675   grep -v '^ *+' conftest.er1 >conftest.err 
    6676   rm -f conftest.er1 
    6677   cat conftest.err >&5 
    6678   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6679   (exit $ac_status); } >/dev/null && { 
    6680          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6681          test ! -s conftest.err 
    6682        }; then 
    6683   ac_header_preproc=yes 
    6684 else 
    6685   echo "$as_me: failed program was:" >&5 
    6686 sed 's/^/| /' conftest.$ac_ext >&5 
    6687  
    6688   ac_header_preproc=no 
    6689 fi 
    6690  
    6691 rm -f conftest.err conftest.$ac_ext 
    6692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6693 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6694  
    6695 # So?  What about this header? 
    6696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6697   yes:no: ) 
    6698     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6699 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6700     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
    6701 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
    6702     ac_header_preproc=yes 
    6703     ;; 
    6704   no:yes:* ) 
    6705     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
    6706 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
    6707     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
    6708 echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
    6709     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
    6710 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
    6711     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6712 echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6713     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
    6714 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
    6715     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
    6716 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
    6717  
    6718     ;; 
    6719 esac 
    6720 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6721 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6722 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6723   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6724 else 
    6725   ac_cv_header_ifaddrs_h=$ac_header_preproc 
    6726 fi 
    6727 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6728 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6729  
    6730 fi 
    6731 if test $ac_cv_header_ifaddrs_h = yes; then 
    6732   { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
    6733 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
    6734 if test "${ac_cv_func_getifaddrs+set}" = set; then 
    6735   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6736 else 
    6737   cat >conftest.$ac_ext <<_ACEOF 
    6738 /* confdefs.h.  */ 
    6739 _ACEOF 
    6740 cat confdefs.h >>conftest.$ac_ext 
    6741 cat >>conftest.$ac_ext <<_ACEOF 
    6742 /* end confdefs.h.  */ 
    6743 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
    6744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    6745 #define getifaddrs innocuous_getifaddrs 
    6746  
    6747 /* System header to define __stub macros and hopefully few prototypes, 
    6748     which can conflict with char getifaddrs (); below. 
    6749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6750     <limits.h> exists even on freestanding compilers.  */ 
    6751  
    6752 #ifdef __STDC__ 
    6753 # include <limits.h> 
    6754 #else 
    6755 # include <assert.h> 
    6756 #endif 
    6757  
    6758 #undef getifaddrs 
    6759  
    6760 /* Override any GCC internal prototype to avoid an error. 
    6761    Use char because int might match the return type of a GCC 
    6762    builtin and then its argument prototype would still apply.  */ 
    6763 #ifdef __cplusplus 
    6764 extern "C" 
    6765 #endif 
    6766 char getifaddrs (); 
    6767 /* The GNU C library defines this for functions which it implements 
    6768     to always fail with ENOSYS.  Some functions are actually named 
    6769     something starting with __ and the normal name is an alias.  */ 
    6770 #if defined __stub_getifaddrs || defined __stub___getifaddrs 
    6771 choke me 
    6772 #endif 
    6773  
    6774 int 
    6775 main () 
    6776 { 
    6777 return getifaddrs (); 
    6778   ; 
    6779   return 0; 
    6780 } 
    6781 _ACEOF 
    6782 rm -f conftest.$ac_objext conftest$ac_exeext 
    6783 if { (ac_try="$ac_link" 
    6784 case "(($ac_try" in 
    6785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6786   *) ac_try_echo=$ac_try;; 
    6787 esac 
    6788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6789   (eval "$ac_link") 2>conftest.er1 
    6790   ac_status=$? 
    6791   grep -v '^ *+' conftest.er1 >conftest.err 
    6792   rm -f conftest.er1 
    6793   cat conftest.err >&5 
    6794   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6795   (exit $ac_status); } && { 
    6796          test -z "$ac_c_werror_flag" || 
    6797          test ! -s conftest.err 
    6798        } && test -s conftest$ac_exeext && 
    6799        $as_test_x conftest$ac_exeext; then 
    6800   ac_cv_func_getifaddrs=yes 
    6801 else 
    6802   echo "$as_me: failed program was:" >&5 
    6803 sed 's/^/| /' conftest.$ac_ext >&5 
    6804  
    6805         ac_cv_func_getifaddrs=no 
    6806 fi 
    6807  
    6808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    6809       conftest$ac_exeext conftest.$ac_ext 
    6810 fi 
    6811 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
    6812 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
    6813 if test $ac_cv_func_getifaddrs = yes; then 
    6814   cat >>confdefs.h <<\_ACEOF 
    6815 #define PJ_HAS_IFADDRS_H 1 
    6816 _ACEOF 
    6817  
    6818 fi 
    6819  
    6820 fi 
    6821  
    6822  
    6823 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6824   { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    6825 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    6826 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6827   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6828 fi 
    6829 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    6830 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    6831 else 
    6832   # Is the header compilable? 
    6833 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
    6834 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
    6835 cat >conftest.$ac_ext <<_ACEOF 
    6836 /* confdefs.h.  */ 
    6837 _ACEOF 
    6838 cat confdefs.h >>conftest.$ac_ext 
    6839 cat >>conftest.$ac_ext <<_ACEOF 
    6840 /* end confdefs.h.  */ 
    6841 $ac_includes_default 
    6842 #include <semaphore.h> 
    6843 _ACEOF 
    6844 rm -f conftest.$ac_objext 
    6845 if { (ac_try="$ac_compile" 
    6846 case "(($ac_try" in 
    6847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6848   *) ac_try_echo=$ac_try;; 
    6849 esac 
    6850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6851   (eval "$ac_compile") 2>conftest.er1 
    6852   ac_status=$? 
    6853   grep -v '^ *+' conftest.er1 >conftest.err 
    6854   rm -f conftest.er1 
    6855   cat conftest.err >&5 
    6856   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6857   (exit $ac_status); } && { 
    6858          test -z "$ac_c_werror_flag" || 
    6859          test ! -s conftest.err 
    6860        } && test -s conftest.$ac_objext; then 
    6861   ac_header_compiler=yes 
    6862 else 
    6863   echo "$as_me: failed program was:" >&5 
    6864 sed 's/^/| /' conftest.$ac_ext >&5 
    6865  
    6866         ac_header_compiler=no 
    6867 fi 
    6868  
    6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6870 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6871 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6872  
    6873 # Is the header present? 
    6874 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
    6875 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
    6876 cat >conftest.$ac_ext <<_ACEOF 
    6877 /* confdefs.h.  */ 
    6878 _ACEOF 
    6879 cat confdefs.h >>conftest.$ac_ext 
    6880 cat >>conftest.$ac_ext <<_ACEOF 
    6881 /* end confdefs.h.  */ 
    6882 #include <semaphore.h> 
    6883 _ACEOF 
    6884 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6885 case "(($ac_try" in 
    6886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6887   *) ac_try_echo=$ac_try;; 
    6888 esac 
    6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6890   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6891   ac_status=$? 
    6892   grep -v '^ *+' conftest.er1 >conftest.err 
    6893   rm -f conftest.er1 
    6894   cat conftest.err >&5 
    6895   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6896   (exit $ac_status); } >/dev/null && { 
    6897          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6898          test ! -s conftest.err 
    6899        }; then 
    6900   ac_header_preproc=yes 
    6901 else 
    6902   echo "$as_me: failed program was:" >&5 
    6903 sed 's/^/| /' conftest.$ac_ext >&5 
    6904  
    6905   ac_header_preproc=no 
    6906 fi 
    6907  
    6908 rm -f conftest.err conftest.$ac_ext 
    6909 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6910 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6911  
    6912 # So?  What about this header? 
    6913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6914   yes:no: ) 
    6915     { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6916 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6917     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
    6918 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
    6919     ac_header_preproc=yes 
    6920     ;; 
    6921   no:yes:* ) 
    6922     { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
    6923 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
    6924     { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
    6925 echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
    6926     { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
    6927 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
    6928     { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6929 echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6930     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
    6931 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
    6932     { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
    6933 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
    6934  
    6935     ;; 
    6936 esac 
    6937 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    6938 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    6939 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6940   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6941 else 
    6942   ac_cv_header_semaphore_h=$ac_header_preproc 
    6943 fi 
    6944 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    6945 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    6946  
    6947 fi 
    6948 if test $ac_cv_header_semaphore_h = yes; then 
    6949   cat >>confdefs.h <<\_ACEOF 
    6950 #define PJ_HAS_SEMAPHORE_H 1 
    6951 _ACEOF 
    6952  
    6953 fi 
    6954  
    6955  
    6956 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    6957   { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    6958 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    6959 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    6960   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6961 fi 
    6962 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    6963 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    6964 else 
    6965   # Is the header compilable? 
    6966 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    6967 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
    6968 cat >conftest.$ac_ext <<_ACEOF 
    6969 /* confdefs.h.  */ 
    6970 _ACEOF 
    6971 cat confdefs.h >>conftest.$ac_ext 
    6972 cat >>conftest.$ac_ext <<_ACEOF 
    6973 /* end confdefs.h.  */ 
    6974 $ac_includes_default 
    6975 #include <setjmp.h> 
    6976 _ACEOF 
    6977 rm -f conftest.$ac_objext 
    6978 if { (ac_try="$ac_compile" 
    6979 case "(($ac_try" in 
    6980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6981   *) ac_try_echo=$ac_try;; 
    6982 esac 
    6983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6984   (eval "$ac_compile") 2>conftest.er1 
    6985   ac_status=$? 
    6986   grep -v '^ *+' conftest.er1 >conftest.err 
    6987   rm -f conftest.er1 
    6988   cat conftest.err >&5 
    6989   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6990   (exit $ac_status); } && { 
    6991          test -z "$ac_c_werror_flag" || 
    6992          test ! -s conftest.err 
    6993        } && test -s conftest.$ac_objext; then 
    6994   ac_header_compiler=yes 
    6995 else 
    6996   echo "$as_me: failed program was:" >&5 
    6997 sed 's/^/| /' conftest.$ac_ext >&5 
    6998  
    6999         ac_header_compiler=no 
    7000 fi 
    7001  
    7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7004 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7005  
    7006 # Is the header present? 
    7007 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    7008 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
    7009 cat >conftest.$ac_ext <<_ACEOF 
    7010 /* confdefs.h.  */ 
    7011 _ACEOF 
    7012 cat confdefs.h >>conftest.$ac_ext 
    7013 cat >>conftest.$ac_ext <<_ACEOF 
    7014 /* end confdefs.h.  */ 
    7015 #include <setjmp.h> 
    7016 _ACEOF 
    7017 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7018 case "(($ac_try" in 
    7019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7020   *) ac_try_echo=$ac_try;; 
    7021 esac 
    7022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7023   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7024   ac_status=$? 
    7025   grep -v '^ *+' conftest.er1 >conftest.err 
    7026   rm -f conftest.er1 
    7027   cat conftest.err >&5 
    7028   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7029   (exit $ac_status); } >/dev/null && { 
    7030          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7031          test ! -s conftest.err 
    7032        }; then 
    7033   ac_header_preproc=yes 
    7034 else 
    7035   echo "$as_me: failed program was:" >&5 
    7036 sed 's/^/| /' conftest.$ac_ext >&5 
    7037  
    7038   ac_header_preproc=no 
    7039 fi 
    7040  
    7041 rm -f conftest.err conftest.$ac_ext 
    7042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7043 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7044  
    7045 # So?  What about this header? 
    7046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7047   yes:no: ) 
    7048     { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7049 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7050     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    7051 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    7052     ac_header_preproc=yes 
    7053     ;; 
    7054   no:yes:* ) 
    7055     { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    7056 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    7057     { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    7058 echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    7059     { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    7060 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    7061     { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7062 echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7063     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    7064 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    7065     { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    7066 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    7067  
    7068     ;; 
    7069 esac 
    7070 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7071 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7072 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7073   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7074 else 
    7075   ac_cv_header_setjmp_h=$ac_header_preproc 
    7076 fi 
    7077 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7078 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7079  
    7080 fi 
    7081 if test $ac_cv_header_setjmp_h = yes; then 
    7082   cat >>confdefs.h <<\_ACEOF 
    7083 #define PJ_HAS_SETJMP_H 1 
    7084 _ACEOF 
    7085  
    7086 fi 
    7087  
    7088  
    7089 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7090   { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7091 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7092 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7093   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7094 fi 
    7095 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7096 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7097 else 
    7098   # Is the header compilable? 
    7099 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    7100 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
    7101 cat >conftest.$ac_ext <<_ACEOF 
    7102 /* confdefs.h.  */ 
    7103 _ACEOF 
    7104 cat confdefs.h >>conftest.$ac_ext 
    7105 cat >>conftest.$ac_ext <<_ACEOF 
    7106 /* end confdefs.h.  */ 
    7107 $ac_includes_default 
    7108 #include <stdarg.h> 
    7109 _ACEOF 
    7110 rm -f conftest.$ac_objext 
    7111 if { (ac_try="$ac_compile" 
    7112 case "(($ac_try" in 
    7113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7114   *) ac_try_echo=$ac_try;; 
    7115 esac 
    7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7117   (eval "$ac_compile") 2>conftest.er1 
    7118   ac_status=$? 
    7119   grep -v '^ *+' conftest.er1 >conftest.err 
    7120   rm -f conftest.er1 
    7121   cat conftest.err >&5 
    7122   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7123   (exit $ac_status); } && { 
    7124          test -z "$ac_c_werror_flag" || 
    7125          test ! -s conftest.err 
    7126        } && test -s conftest.$ac_objext; then 
    7127   ac_header_compiler=yes 
    7128 else 
    7129   echo "$as_me: failed program was:" >&5 
    7130 sed 's/^/| /' conftest.$ac_ext >&5 
    7131  
    7132         ac_header_compiler=no 
    7133 fi 
    7134  
    7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7136 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7137 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7138  
    7139 # Is the header present? 
    7140 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    7141 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
    7142 cat >conftest.$ac_ext <<_ACEOF 
    7143 /* confdefs.h.  */ 
    7144 _ACEOF 
    7145 cat confdefs.h >>conftest.$ac_ext 
    7146 cat >>conftest.$ac_ext <<_ACEOF 
    7147 /* end confdefs.h.  */ 
    7148 #include <stdarg.h> 
    7149 _ACEOF 
    7150 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7151 case "(($ac_try" in 
    7152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7153   *) ac_try_echo=$ac_try;; 
    7154 esac 
    7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7156   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7157   ac_status=$? 
    7158   grep -v '^ *+' conftest.er1 >conftest.err 
    7159   rm -f conftest.er1 
    7160   cat conftest.err >&5 
    7161   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7162   (exit $ac_status); } >/dev/null && { 
    7163          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7164          test ! -s conftest.err 
    7165        }; then 
    7166   ac_header_preproc=yes 
    7167 else 
    7168   echo "$as_me: failed program was:" >&5 
    7169 sed 's/^/| /' conftest.$ac_ext >&5 
    7170  
    7171   ac_header_preproc=no 
    7172 fi 
    7173  
    7174 rm -f conftest.err conftest.$ac_ext 
    7175 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7176 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7177  
    7178 # So?  What about this header? 
    7179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7180   yes:no: ) 
    7181     { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7182 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7183     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    7184 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    7185     ac_header_preproc=yes 
    7186     ;; 
    7187   no:yes:* ) 
    7188     { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    7189 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    7190     { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    7191 echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    7192     { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    7193 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    7194     { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7195 echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7196     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    7197 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    7198     { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    7199 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    7200  
    7201     ;; 
    7202 esac 
    7203 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7204 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7205 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7206   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7207 else 
    7208   ac_cv_header_stdarg_h=$ac_header_preproc 
    7209 fi 
    7210 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7211 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7212  
    7213 fi 
    7214 if test $ac_cv_header_stdarg_h = yes; then 
    7215   cat >>confdefs.h <<\_ACEOF 
    7216 #define PJ_HAS_STDARG_H 1 
    7217 _ACEOF 
    7218  
    7219 fi 
    7220  
    7221  
    7222 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7223   { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7224 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7225 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7226   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7227 fi 
    7228 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7229 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7230 else 
    7231   # Is the header compilable? 
    7232 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    7233 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
    7234 cat >conftest.$ac_ext <<_ACEOF 
    7235 /* confdefs.h.  */ 
    7236 _ACEOF 
    7237 cat confdefs.h >>conftest.$ac_ext 
    7238 cat >>conftest.$ac_ext <<_ACEOF 
    7239 /* end confdefs.h.  */ 
    7240 $ac_includes_default 
    7241 #include <stddef.h> 
    7242 _ACEOF 
    7243 rm -f conftest.$ac_objext 
    7244 if { (ac_try="$ac_compile" 
    7245 case "(($ac_try" in 
    7246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7247   *) ac_try_echo=$ac_try;; 
    7248 esac 
    7249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7250   (eval "$ac_compile") 2>conftest.er1 
    7251   ac_status=$? 
    7252   grep -v '^ *+' conftest.er1 >conftest.err 
    7253   rm -f conftest.er1 
    7254   cat conftest.err >&5 
    7255   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7256   (exit $ac_status); } && { 
    7257          test -z "$ac_c_werror_flag" || 
    7258          test ! -s conftest.err 
    7259        } && test -s conftest.$ac_objext; then 
    7260   ac_header_compiler=yes 
    7261 else 
    7262   echo "$as_me: failed program was:" >&5 
    7263 sed 's/^/| /' conftest.$ac_ext >&5 
    7264  
    7265         ac_header_compiler=no 
    7266 fi 
    7267  
    7268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7269 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7270 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7271  
    7272 # Is the header present? 
    7273 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    7274 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
    7275 cat >conftest.$ac_ext <<_ACEOF 
    7276 /* confdefs.h.  */ 
    7277 _ACEOF 
    7278 cat confdefs.h >>conftest.$ac_ext 
    7279 cat >>conftest.$ac_ext <<_ACEOF 
    7280 /* end confdefs.h.  */ 
    7281 #include <stddef.h> 
    7282 _ACEOF 
    7283 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7284 case "(($ac_try" in 
    7285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7286   *) ac_try_echo=$ac_try;; 
    7287 esac 
    7288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7289   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7290   ac_status=$? 
    7291   grep -v '^ *+' conftest.er1 >conftest.err 
    7292   rm -f conftest.er1 
    7293   cat conftest.err >&5 
    7294   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7295   (exit $ac_status); } >/dev/null && { 
    7296          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7297          test ! -s conftest.err 
    7298        }; then 
    7299   ac_header_preproc=yes 
    7300 else 
    7301   echo "$as_me: failed program was:" >&5 
    7302 sed 's/^/| /' conftest.$ac_ext >&5 
    7303  
    7304   ac_header_preproc=no 
    7305 fi 
    7306  
    7307 rm -f conftest.err conftest.$ac_ext 
    7308 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7309 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7310  
    7311 # So?  What about this header? 
    7312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7313   yes:no: ) 
    7314     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7315 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7316     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    7317 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    7318     ac_header_preproc=yes 
    7319     ;; 
    7320   no:yes:* ) 
    7321     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    7322 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    7323     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    7324 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    7325     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    7326 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    7327     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7328 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7329     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    7330 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    7331     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    7332 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    7333  
    7334     ;; 
    7335 esac 
    7336 { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7337 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7338 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7339   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7340 else 
    7341   ac_cv_header_stddef_h=$ac_header_preproc 
    7342 fi 
    7343 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7344 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7345  
    7346 fi 
    7347 if test $ac_cv_header_stddef_h = yes; then 
    7348   cat >>confdefs.h <<\_ACEOF 
    7349 #define PJ_HAS_STDDEF_H 1 
    7350 _ACEOF 
    7351  
    7352 fi 
    7353  
    7354  
    7355 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7356   { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7357 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7358 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7359   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7360 fi 
    7361 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7362 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7363 else 
    7364   # Is the header compilable? 
    7365 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    7366 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
    7367 cat >conftest.$ac_ext <<_ACEOF 
    7368 /* confdefs.h.  */ 
    7369 _ACEOF 
    7370 cat confdefs.h >>conftest.$ac_ext 
    7371 cat >>conftest.$ac_ext <<_ACEOF 
    7372 /* end confdefs.h.  */ 
    7373 $ac_includes_default 
    7374 #include <stdio.h> 
    7375 _ACEOF 
    7376 rm -f conftest.$ac_objext 
    7377 if { (ac_try="$ac_compile" 
    7378 case "(($ac_try" in 
    7379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7380   *) ac_try_echo=$ac_try;; 
    7381 esac 
    7382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7383   (eval "$ac_compile") 2>conftest.er1 
    7384   ac_status=$? 
    7385   grep -v '^ *+' conftest.er1 >conftest.err 
    7386   rm -f conftest.er1 
    7387   cat conftest.err >&5 
    7388   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7389   (exit $ac_status); } && { 
    7390          test -z "$ac_c_werror_flag" || 
    7391          test ! -s conftest.err 
    7392        } && test -s conftest.$ac_objext; then 
    7393   ac_header_compiler=yes 
    7394 else 
    7395   echo "$as_me: failed program was:" >&5 
    7396 sed 's/^/| /' conftest.$ac_ext >&5 
    7397  
    7398         ac_header_compiler=no 
    7399 fi 
    7400  
    7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7403 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7404  
    7405 # Is the header present? 
    7406 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    7407 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
    7408 cat >conftest.$ac_ext <<_ACEOF 
    7409 /* confdefs.h.  */ 
    7410 _ACEOF 
    7411 cat confdefs.h >>conftest.$ac_ext 
    7412 cat >>conftest.$ac_ext <<_ACEOF 
    7413 /* end confdefs.h.  */ 
    7414 #include <stdio.h> 
    7415 _ACEOF 
    7416 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7417 case "(($ac_try" in 
    7418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7419   *) ac_try_echo=$ac_try;; 
    7420 esac 
    7421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7422   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7423   ac_status=$? 
    7424   grep -v '^ *+' conftest.er1 >conftest.err 
    7425   rm -f conftest.er1 
    7426   cat conftest.err >&5 
    7427   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7428   (exit $ac_status); } >/dev/null && { 
    7429          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7430          test ! -s conftest.err 
    7431        }; then 
    7432   ac_header_preproc=yes 
    7433 else 
    7434   echo "$as_me: failed program was:" >&5 
    7435 sed 's/^/| /' conftest.$ac_ext >&5 
    7436  
    7437   ac_header_preproc=no 
    7438 fi 
    7439  
    7440 rm -f conftest.err conftest.$ac_ext 
    7441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7442 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7443  
    7444 # So?  What about this header? 
    7445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7446   yes:no: ) 
    7447     { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7448 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7449     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    7450 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    7451     ac_header_preproc=yes 
    7452     ;; 
    7453   no:yes:* ) 
    7454     { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    7455 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    7456     { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    7457 echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    7458     { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    7459 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    7460     { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7461 echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7462     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    7463 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    7464     { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    7465 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    7466  
    7467     ;; 
    7468 esac 
    7469 { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7470 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7471 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7472   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7473 else 
    7474   ac_cv_header_stdio_h=$ac_header_preproc 
    7475 fi 
    7476 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7477 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7478  
    7479 fi 
    7480 if test $ac_cv_header_stdio_h = yes; then 
    7481   cat >>confdefs.h <<\_ACEOF 
    7482 #define PJ_HAS_STDIO_H 1 
    7483 _ACEOF 
    7484  
    7485 fi 
    7486  
    7487  
    7488 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7489   { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7490 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7491 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7492   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7493 fi 
    7494 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7495 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7496 else 
    7497   # Is the header compilable? 
    7498 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 
    7499 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
    7500 cat >conftest.$ac_ext <<_ACEOF 
    7501 /* confdefs.h.  */ 
    7502 _ACEOF 
    7503 cat confdefs.h >>conftest.$ac_ext 
    7504 cat >>conftest.$ac_ext <<_ACEOF 
    7505 /* end confdefs.h.  */ 
    7506 $ac_includes_default 
    7507 #include <stdint.h> 
    7508 _ACEOF 
    7509 rm -f conftest.$ac_objext 
    7510 if { (ac_try="$ac_compile" 
    7511 case "(($ac_try" in 
    7512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7513   *) ac_try_echo=$ac_try;; 
    7514 esac 
    7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7516   (eval "$ac_compile") 2>conftest.er1 
    7517   ac_status=$? 
    7518   grep -v '^ *+' conftest.er1 >conftest.err 
    7519   rm -f conftest.er1 
    7520   cat conftest.err >&5 
    7521   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7522   (exit $ac_status); } && { 
    7523          test -z "$ac_c_werror_flag" || 
    7524          test ! -s conftest.err 
    7525        } && test -s conftest.$ac_objext; then 
    7526   ac_header_compiler=yes 
    7527 else 
    7528   echo "$as_me: failed program was:" >&5 
    7529 sed 's/^/| /' conftest.$ac_ext >&5 
    7530  
    7531         ac_header_compiler=no 
    7532 fi 
    7533  
    7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7536 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7537  
    7538 # Is the header present? 
    7539 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 
    7540 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
    7541 cat >conftest.$ac_ext <<_ACEOF 
    7542 /* confdefs.h.  */ 
    7543 _ACEOF 
    7544 cat confdefs.h >>conftest.$ac_ext 
    7545 cat >>conftest.$ac_ext <<_ACEOF 
    7546 /* end confdefs.h.  */ 
    7547 #include <stdint.h> 
    7548 _ACEOF 
    7549 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7550 case "(($ac_try" in 
    7551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7552   *) ac_try_echo=$ac_try;; 
    7553 esac 
    7554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7555   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7556   ac_status=$? 
    7557   grep -v '^ *+' conftest.er1 >conftest.err 
    7558   rm -f conftest.er1 
    7559   cat conftest.err >&5 
    7560   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7561   (exit $ac_status); } >/dev/null && { 
    7562          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7563          test ! -s conftest.err 
    7564        }; then 
    7565   ac_header_preproc=yes 
    7566 else 
    7567   echo "$as_me: failed program was:" >&5 
    7568 sed 's/^/| /' conftest.$ac_ext >&5 
    7569  
    7570   ac_header_preproc=no 
    7571 fi 
    7572  
    7573 rm -f conftest.err conftest.$ac_ext 
    7574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7575 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7576  
    7577 # So?  What about this header? 
    7578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7579   yes:no: ) 
    7580     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7581 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7582     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
    7583 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
    7584     ac_header_preproc=yes 
    7585     ;; 
    7586   no:yes:* ) 
    7587     { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
    7588 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
    7589     { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
    7590 echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
    7591     { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
    7592 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
    7593     { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7594 echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7595     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
    7596 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
    7597     { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
    7598 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
    7599  
    7600     ;; 
    7601 esac 
    7602 { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7603 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7604 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7605   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7606 else 
    7607   ac_cv_header_stdint_h=$ac_header_preproc 
    7608 fi 
    7609 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7610 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7611  
    7612 fi 
    7613 if test $ac_cv_header_stdint_h = yes; then 
    7614   cat >>confdefs.h <<\_ACEOF 
    7615 #define PJ_HAS_STDINT_H 1 
    7616 _ACEOF 
    7617  
    7618 fi 
    7619  
    7620  
    7621 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7622   { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7623 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7624 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7625   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7626 fi 
    7627 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7628 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7629 else 
    7630   # Is the header compilable? 
    7631 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    7632 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
    7633 cat >conftest.$ac_ext <<_ACEOF 
    7634 /* confdefs.h.  */ 
    7635 _ACEOF 
    7636 cat confdefs.h >>conftest.$ac_ext 
    7637 cat >>conftest.$ac_ext <<_ACEOF 
    7638 /* end confdefs.h.  */ 
    7639 $ac_includes_default 
    7640 #include <stdlib.h> 
    7641 _ACEOF 
    7642 rm -f conftest.$ac_objext 
    7643 if { (ac_try="$ac_compile" 
    7644 case "(($ac_try" in 
    7645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7646   *) ac_try_echo=$ac_try;; 
    7647 esac 
    7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7649   (eval "$ac_compile") 2>conftest.er1 
    7650   ac_status=$? 
    7651   grep -v '^ *+' conftest.er1 >conftest.err 
    7652   rm -f conftest.er1 
    7653   cat conftest.err >&5 
    7654   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7655   (exit $ac_status); } && { 
    7656          test -z "$ac_c_werror_flag" || 
    7657          test ! -s conftest.err 
    7658        } && test -s conftest.$ac_objext; then 
    7659   ac_header_compiler=yes 
    7660 else 
    7661   echo "$as_me: failed program was:" >&5 
    7662 sed 's/^/| /' conftest.$ac_ext >&5 
    7663  
    7664         ac_header_compiler=no 
    7665 fi 
    7666  
    7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7668 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7669 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7670  
    7671 # Is the header present? 
    7672 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    7673 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
    7674 cat >conftest.$ac_ext <<_ACEOF 
    7675 /* confdefs.h.  */ 
    7676 _ACEOF 
    7677 cat confdefs.h >>conftest.$ac_ext 
    7678 cat >>conftest.$ac_ext <<_ACEOF 
    7679 /* end confdefs.h.  */ 
    7680 #include <stdlib.h> 
    7681 _ACEOF 
    7682 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7683 case "(($ac_try" in 
    7684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7685   *) ac_try_echo=$ac_try;; 
    7686 esac 
    7687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7689   ac_status=$? 
    7690   grep -v '^ *+' conftest.er1 >conftest.err 
    7691   rm -f conftest.er1 
    7692   cat conftest.err >&5 
    7693   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7694   (exit $ac_status); } >/dev/null && { 
    7695          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7696          test ! -s conftest.err 
    7697        }; then 
    7698   ac_header_preproc=yes 
    7699 else 
    7700   echo "$as_me: failed program was:" >&5 
    7701 sed 's/^/| /' conftest.$ac_ext >&5 
    7702  
    7703   ac_header_preproc=no 
    7704 fi 
    7705  
    7706 rm -f conftest.err conftest.$ac_ext 
    7707 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7708 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7709  
    7710 # So?  What about this header? 
    7711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7712   yes:no: ) 
    7713     { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7714 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7715     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    7716 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    7717     ac_header_preproc=yes 
    7718     ;; 
    7719   no:yes:* ) 
    7720     { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    7721 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    7722     { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    7723 echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    7724     { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    7725 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    7726     { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7727 echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7728     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    7729 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    7730     { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    7731 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    7732  
    7733     ;; 
    7734 esac 
    7735 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7736 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7737 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7738   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7739 else 
    7740   ac_cv_header_stdlib_h=$ac_header_preproc 
    7741 fi 
    7742 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7743 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7744  
    7745 fi 
    7746 if test $ac_cv_header_stdlib_h = yes; then 
    7747   cat >>confdefs.h <<\_ACEOF 
    7748 #define PJ_HAS_STDLIB_H 1 
    7749 _ACEOF 
    7750  
    7751 fi 
    7752  
    7753  
    7754 if test "${ac_cv_header_string_h+set}" = set; then 
    7755   { echo "$as_me:$LINENO: checking for string.h" >&5 
    7756 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7757 if test "${ac_cv_header_string_h+set}" = set; then 
    7758   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7759 fi 
    7760 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7761 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7762 else 
    7763   # Is the header compilable? 
    7764 { echo "$as_me:$LINENO: checking string.h usability" >&5 
    7765 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
    7766 cat >conftest.$ac_ext <<_ACEOF 
    7767 /* confdefs.h.  */ 
    7768 _ACEOF 
    7769 cat confdefs.h >>conftest.$ac_ext 
    7770 cat >>conftest.$ac_ext <<_ACEOF 
    7771 /* end confdefs.h.  */ 
    7772 $ac_includes_default 
    7773 #include <string.h> 
    7774 _ACEOF 
    7775 rm -f conftest.$ac_objext 
    7776 if { (ac_try="$ac_compile" 
    7777 case "(($ac_try" in 
    7778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7779   *) ac_try_echo=$ac_try;; 
    7780 esac 
    7781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7782   (eval "$ac_compile") 2>conftest.er1 
    7783   ac_status=$? 
    7784   grep -v '^ *+' conftest.er1 >conftest.err 
    7785   rm -f conftest.er1 
    7786   cat conftest.err >&5 
    7787   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7788   (exit $ac_status); } && { 
    7789          test -z "$ac_c_werror_flag" || 
    7790          test ! -s conftest.err 
    7791        } && test -s conftest.$ac_objext; then 
    7792   ac_header_compiler=yes 
    7793 else 
    7794   echo "$as_me: failed program was:" >&5 
    7795 sed 's/^/| /' conftest.$ac_ext >&5 
    7796  
    7797         ac_header_compiler=no 
    7798 fi 
    7799  
    7800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7801 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7802 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7803  
    7804 # Is the header present? 
    7805 { echo "$as_me:$LINENO: checking string.h presence" >&5 
    7806 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
    7807 cat >conftest.$ac_ext <<_ACEOF 
    7808 /* confdefs.h.  */ 
    7809 _ACEOF 
    7810 cat confdefs.h >>conftest.$ac_ext 
    7811 cat >>conftest.$ac_ext <<_ACEOF 
    7812 /* end confdefs.h.  */ 
    7813 #include <string.h> 
    7814 _ACEOF 
    7815 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7816 case "(($ac_try" in 
    7817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7818   *) ac_try_echo=$ac_try;; 
    7819 esac 
    7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7821   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7822   ac_status=$? 
    7823   grep -v '^ *+' conftest.er1 >conftest.err 
    7824   rm -f conftest.er1 
    7825   cat conftest.err >&5 
    7826   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7827   (exit $ac_status); } >/dev/null && { 
    7828          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7829          test ! -s conftest.err 
    7830        }; then 
    7831   ac_header_preproc=yes 
    7832 else 
    7833   echo "$as_me: failed program was:" >&5 
    7834 sed 's/^/| /' conftest.$ac_ext >&5 
    7835  
    7836   ac_header_preproc=no 
    7837 fi 
    7838  
    7839 rm -f conftest.err conftest.$ac_ext 
    7840 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7841 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7842  
    7843 # So?  What about this header? 
    7844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7845   yes:no: ) 
    7846     { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7847 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7848     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    7849 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    7850     ac_header_preproc=yes 
    7851     ;; 
    7852   no:yes:* ) 
    7853     { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    7854 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    7855     { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    7856 echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    7857     { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    7858 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    7859     { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7860 echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7861     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    7862 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    7863     { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    7864 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    7865  
    7866     ;; 
    7867 esac 
    7868 { echo "$as_me:$LINENO: checking for string.h" >&5 
    7869 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7870 if test "${ac_cv_header_string_h+set}" = set; then 
    7871   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7872 else 
    7873   ac_cv_header_string_h=$ac_header_preproc 
    7874 fi 
    7875 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7876 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7877  
    7878 fi 
    7879 if test $ac_cv_header_string_h = yes; then 
    7880   cat >>confdefs.h <<\_ACEOF 
    7881 #define PJ_HAS_STRING_H 1 
    7882 _ACEOF 
    7883  
    7884 fi 
    7885  
    7886  
    7887 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    7888   { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    7889 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    7890 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    7891   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7892 fi 
    7893 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    7894 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    7895 else 
    7896   # Is the header compilable? 
    7897 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    7898 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
    7899 cat >conftest.$ac_ext <<_ACEOF 
    7900 /* confdefs.h.  */ 
    7901 _ACEOF 
    7902 cat confdefs.h >>conftest.$ac_ext 
    7903 cat >>conftest.$ac_ext <<_ACEOF 
    7904 /* end confdefs.h.  */ 
    7905 $ac_includes_default 
    7906 #include <sys/ioctl.h> 
    7907 _ACEOF 
    7908 rm -f conftest.$ac_objext 
    7909 if { (ac_try="$ac_compile" 
    7910 case "(($ac_try" in 
    7911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7912   *) ac_try_echo=$ac_try;; 
    7913 esac 
    7914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7915   (eval "$ac_compile") 2>conftest.er1 
    7916   ac_status=$? 
    7917   grep -v '^ *+' conftest.er1 >conftest.err 
    7918   rm -f conftest.er1 
    7919   cat conftest.err >&5 
    7920   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7921   (exit $ac_status); } && { 
    7922          test -z "$ac_c_werror_flag" || 
    7923          test ! -s conftest.err 
    7924        } && test -s conftest.$ac_objext; then 
    7925   ac_header_compiler=yes 
    7926 else 
    7927   echo "$as_me: failed program was:" >&5 
    7928 sed 's/^/| /' conftest.$ac_ext >&5 
    7929  
    7930         ac_header_compiler=no 
    7931 fi 
    7932  
    7933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7935 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7936  
    7937 # Is the header present? 
    7938 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    7939 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
    7940 cat >conftest.$ac_ext <<_ACEOF 
    7941 /* confdefs.h.  */ 
    7942 _ACEOF 
    7943 cat confdefs.h >>conftest.$ac_ext 
    7944 cat >>conftest.$ac_ext <<_ACEOF 
    7945 /* end confdefs.h.  */ 
    7946 #include <sys/ioctl.h> 
    7947 _ACEOF 
    7948 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7949 case "(($ac_try" in 
    7950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7951   *) ac_try_echo=$ac_try;; 
    7952 esac 
    7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7954   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7955   ac_status=$? 
    7956   grep -v '^ *+' conftest.er1 >conftest.err 
    7957   rm -f conftest.er1 
    7958   cat conftest.err >&5 
    7959   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7960   (exit $ac_status); } >/dev/null && { 
    7961          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7962          test ! -s conftest.err 
    7963        }; then 
    7964   ac_header_preproc=yes 
    7965 else 
    7966   echo "$as_me: failed program was:" >&5 
    7967 sed 's/^/| /' conftest.$ac_ext >&5 
    7968  
    7969   ac_header_preproc=no 
    7970 fi 
    7971  
    7972 rm -f conftest.err conftest.$ac_ext 
    7973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7974 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7975  
    7976 # So?  What about this header? 
    7977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7978   yes:no: ) 
    7979     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7980 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7981     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    7982 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    7983     ac_header_preproc=yes 
    7984     ;; 
    7985   no:yes:* ) 
    7986     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    7987 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    7988     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    7989 echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    7990     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    7991 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    7992     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7993 echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7994     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    7995 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    7996     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    7997 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    7998  
    7999     ;; 
    8000 esac 
    8001 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8002 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8003 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8004   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8005 else 
    8006   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    8007 fi 
    8008 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8009 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8010  
    8011 fi 
    8012 if test $ac_cv_header_sys_ioctl_h = yes; then 
    8013   cat >>confdefs.h <<\_ACEOF 
    8014 #define PJ_HAS_SYS_IOCTL_H 1 
    8015 _ACEOF 
    8016  
    8017 fi 
    8018  
    8019  
    8020 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8021   { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8022 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8023 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8024   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8025 fi 
    8026 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8027 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8028 else 
    8029   # Is the header compilable? 
    8030 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    8031 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
    8032 cat >conftest.$ac_ext <<_ACEOF 
    8033 /* confdefs.h.  */ 
    8034 _ACEOF 
    8035 cat confdefs.h >>conftest.$ac_ext 
    8036 cat >>conftest.$ac_ext <<_ACEOF 
    8037 /* end confdefs.h.  */ 
    8038 $ac_includes_default 
    8039 #include <sys/select.h> 
    8040 _ACEOF 
    8041 rm -f conftest.$ac_objext 
    8042 if { (ac_try="$ac_compile" 
    8043 case "(($ac_try" in 
    8044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8045   *) ac_try_echo=$ac_try;; 
    8046 esac 
    8047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8048   (eval "$ac_compile") 2>conftest.er1 
    8049   ac_status=$? 
    8050   grep -v '^ *+' conftest.er1 >conftest.err 
    8051   rm -f conftest.er1 
    8052   cat conftest.err >&5 
    8053   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8054   (exit $ac_status); } && { 
    8055          test -z "$ac_c_werror_flag" || 
    8056          test ! -s conftest.err 
    8057        } && test -s conftest.$ac_objext; then 
    8058   ac_header_compiler=yes 
    8059 else 
    8060   echo "$as_me: failed program was:" >&5 
    8061 sed 's/^/| /' conftest.$ac_ext >&5 
    8062  
    8063         ac_header_compiler=no 
    8064 fi 
    8065  
    8066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8067 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8068 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8069  
    8070 # Is the header present? 
    8071 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    8072 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
    8073 cat >conftest.$ac_ext <<_ACEOF 
    8074 /* confdefs.h.  */ 
    8075 _ACEOF 
    8076 cat confdefs.h >>conftest.$ac_ext 
    8077 cat >>conftest.$ac_ext <<_ACEOF 
    8078 /* end confdefs.h.  */ 
    8079 #include <sys/select.h> 
    8080 _ACEOF 
    8081 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8082 case "(($ac_try" in 
    8083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8084   *) ac_try_echo=$ac_try;; 
    8085 esac 
    8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8087   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8088   ac_status=$? 
    8089   grep -v '^ *+' conftest.er1 >conftest.err 
    8090   rm -f conftest.er1 
    8091   cat conftest.err >&5 
    8092   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8093   (exit $ac_status); } >/dev/null && { 
    8094          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8095          test ! -s conftest.err 
    8096        }; then 
    8097   ac_header_preproc=yes 
    8098 else 
    8099   echo "$as_me: failed program was:" >&5 
    8100 sed 's/^/| /' conftest.$ac_ext >&5 
    8101  
    8102   ac_header_preproc=no 
    8103 fi 
    8104  
    8105 rm -f conftest.err conftest.$ac_ext 
    8106 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8107 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8108  
    8109 # So?  What about this header? 
    8110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8111   yes:no: ) 
    8112     { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8113 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8114     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    8115 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    8116     ac_header_preproc=yes 
    8117     ;; 
    8118   no:yes:* ) 
    8119     { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    8120 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    8121     { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    8122 echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    8123     { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    8124 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    8125     { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8126 echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8127     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    8128 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    8129     { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    8130 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    8131  
    8132     ;; 
    8133 esac 
    8134 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8135 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8136 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8137   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8138 else 
    8139   ac_cv_header_sys_select_h=$ac_header_preproc 
    8140 fi 
    8141 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8142 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8143  
    8144 fi 
    8145 if test $ac_cv_header_sys_select_h = yes; then 
    8146   cat >>confdefs.h <<\_ACEOF 
    8147 #define PJ_HAS_SYS_SELECT_H 1 
    8148 _ACEOF 
    8149  
    8150 fi 
    8151  
    8152  
    8153 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8154   { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8155 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8156 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8157   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8158 fi 
    8159 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8160 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8161 else 
    8162   # Is the header compilable? 
    8163 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    8164 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
    8165 cat >conftest.$ac_ext <<_ACEOF 
    8166 /* confdefs.h.  */ 
    8167 _ACEOF 
    8168 cat confdefs.h >>conftest.$ac_ext 
    8169 cat >>conftest.$ac_ext <<_ACEOF 
    8170 /* end confdefs.h.  */ 
    8171 $ac_includes_default 
    8172 #include <sys/socket.h> 
    8173 _ACEOF 
    8174 rm -f conftest.$ac_objext 
    8175 if { (ac_try="$ac_compile" 
    8176 case "(($ac_try" in 
    8177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8178   *) ac_try_echo=$ac_try;; 
    8179 esac 
    8180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8181   (eval "$ac_compile") 2>conftest.er1 
    8182   ac_status=$? 
    8183   grep -v '^ *+' conftest.er1 >conftest.err 
    8184   rm -f conftest.er1 
    8185   cat conftest.err >&5 
    8186   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8187   (exit $ac_status); } && { 
    8188          test -z "$ac_c_werror_flag" || 
    8189          test ! -s conftest.err 
    8190        } && test -s conftest.$ac_objext; then 
    8191   ac_header_compiler=yes 
    8192 else 
    8193   echo "$as_me: failed program was:" >&5 
    8194 sed 's/^/| /' conftest.$ac_ext >&5 
    8195  
    8196         ac_header_compiler=no 
    8197 fi 
    8198  
    8199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8200 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8201 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8202  
    8203 # Is the header present? 
    8204 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    8205 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
    8206 cat >conftest.$ac_ext <<_ACEOF 
    8207 /* confdefs.h.  */ 
    8208 _ACEOF 
    8209 cat confdefs.h >>conftest.$ac_ext 
    8210 cat >>conftest.$ac_ext <<_ACEOF 
    8211 /* end confdefs.h.  */ 
    8212 #include <sys/socket.h> 
    8213 _ACEOF 
    8214 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8215 case "(($ac_try" in 
    8216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8217   *) ac_try_echo=$ac_try;; 
    8218 esac 
    8219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8220   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8221   ac_status=$? 
    8222   grep -v '^ *+' conftest.er1 >conftest.err 
    8223   rm -f conftest.er1 
    8224   cat conftest.err >&5 
    8225   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8226   (exit $ac_status); } >/dev/null && { 
    8227          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8228          test ! -s conftest.err 
    8229        }; then 
    8230   ac_header_preproc=yes 
    8231 else 
    8232   echo "$as_me: failed program was:" >&5 
    8233 sed 's/^/| /' conftest.$ac_ext >&5 
    8234  
    8235   ac_header_preproc=no 
    8236 fi 
    8237  
    8238 rm -f conftest.err conftest.$ac_ext 
    8239 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8240 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8241  
    8242 # So?  What about this header? 
    8243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8244   yes:no: ) 
    8245     { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8246 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8247     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    8248 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    8249     ac_header_preproc=yes 
    8250     ;; 
    8251   no:yes:* ) 
    8252     { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    8253 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    8254     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    8255 echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    8256     { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    8257 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    8258     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8259 echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8260     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    8261 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    8262     { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    8263 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    8264  
    8265     ;; 
    8266 esac 
    8267 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8268 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8269 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8270   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8271 else 
    8272   ac_cv_header_sys_socket_h=$ac_header_preproc 
    8273 fi 
    8274 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8275 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8276  
    8277 fi 
    8278 if test $ac_cv_header_sys_socket_h = yes; then 
    8279   cat >>confdefs.h <<\_ACEOF 
    8280 #define PJ_HAS_SYS_SOCKET_H 1 
    8281 _ACEOF 
    8282  
    8283 fi 
    8284  
    8285  
    8286 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8287   { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8288 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8289 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8290   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8291 fi 
    8292 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8293 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8294 else 
    8295   # Is the header compilable? 
    8296 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    8297 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
    8298 cat >conftest.$ac_ext <<_ACEOF 
    8299 /* confdefs.h.  */ 
    8300 _ACEOF 
    8301 cat confdefs.h >>conftest.$ac_ext 
    8302 cat >>conftest.$ac_ext <<_ACEOF 
    8303 /* end confdefs.h.  */ 
    8304 $ac_includes_default 
    8305 #include <sys/time.h> 
    8306 _ACEOF 
    8307 rm -f conftest.$ac_objext 
    8308 if { (ac_try="$ac_compile" 
    8309 case "(($ac_try" in 
    8310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8311   *) ac_try_echo=$ac_try;; 
    8312 esac 
    8313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8314   (eval "$ac_compile") 2>conftest.er1 
    8315   ac_status=$? 
    8316   grep -v '^ *+' conftest.er1 >conftest.err 
    8317   rm -f conftest.er1 
    8318   cat conftest.err >&5 
    8319   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8320   (exit $ac_status); } && { 
    8321          test -z "$ac_c_werror_flag" || 
    8322          test ! -s conftest.err 
    8323        } && test -s conftest.$ac_objext; then 
    8324   ac_header_compiler=yes 
    8325 else 
    8326   echo "$as_me: failed program was:" >&5 
    8327 sed 's/^/| /' conftest.$ac_ext >&5 
    8328  
    8329         ac_header_compiler=no 
    8330 fi 
    8331  
    8332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8333 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8334 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8335  
    8336 # Is the header present? 
    8337 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    8338 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
    8339 cat >conftest.$ac_ext <<_ACEOF 
    8340 /* confdefs.h.  */ 
    8341 _ACEOF 
    8342 cat confdefs.h >>conftest.$ac_ext 
    8343 cat >>conftest.$ac_ext <<_ACEOF 
    8344 /* end confdefs.h.  */ 
    8345 #include <sys/time.h> 
    8346 _ACEOF 
    8347 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8348 case "(($ac_try" in 
    8349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8350   *) ac_try_echo=$ac_try;; 
    8351 esac 
    8352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8353   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8354   ac_status=$? 
    8355   grep -v '^ *+' conftest.er1 >conftest.err 
    8356   rm -f conftest.er1 
    8357   cat conftest.err >&5 
    8358   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8359   (exit $ac_status); } >/dev/null && { 
    8360          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8361          test ! -s conftest.err 
    8362        }; then 
    8363   ac_header_preproc=yes 
    8364 else 
    8365   echo "$as_me: failed program was:" >&5 
    8366 sed 's/^/| /' conftest.$ac_ext >&5 
    8367  
    8368   ac_header_preproc=no 
    8369 fi 
    8370  
    8371 rm -f conftest.err conftest.$ac_ext 
    8372 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8373 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8374  
    8375 # So?  What about this header? 
    8376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8377   yes:no: ) 
    8378     { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8379 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8380     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    8381 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    8382     ac_header_preproc=yes 
    8383     ;; 
    8384   no:yes:* ) 
    8385     { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    8386 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    8387     { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    8388 echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    8389     { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    8390 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    8391     { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8392 echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8393     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    8394 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    8395     { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    8396 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    8397  
    8398     ;; 
    8399 esac 
    8400 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8401 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8402 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8403   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8404 else 
    8405   ac_cv_header_sys_time_h=$ac_header_preproc 
    8406 fi 
    8407 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8408 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8409  
    8410 fi 
    8411 if test $ac_cv_header_sys_time_h = yes; then 
    8412   cat >>confdefs.h <<\_ACEOF 
    8413 #define PJ_HAS_SYS_TIME_H 1 
    8414 _ACEOF 
    8415  
    8416 fi 
    8417  
    8418  
    8419 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8420   { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8421 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8422 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8423   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8424 fi 
    8425 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8426 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8427 else 
    8428   # Is the header compilable? 
    8429 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    8430 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
    8431 cat >conftest.$ac_ext <<_ACEOF 
    8432 /* confdefs.h.  */ 
    8433 _ACEOF 
    8434 cat confdefs.h >>conftest.$ac_ext 
    8435 cat >>conftest.$ac_ext <<_ACEOF 
    8436 /* end confdefs.h.  */ 
    8437 $ac_includes_default 
    8438 #include <sys/timeb.h> 
    8439 _ACEOF 
    8440 rm -f conftest.$ac_objext 
    8441 if { (ac_try="$ac_compile" 
    8442 case "(($ac_try" in 
    8443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8444   *) ac_try_echo=$ac_try;; 
    8445 esac 
    8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8447   (eval "$ac_compile") 2>conftest.er1 
    8448   ac_status=$? 
    8449   grep -v '^ *+' conftest.er1 >conftest.err 
    8450   rm -f conftest.er1 
    8451   cat conftest.err >&5 
    8452   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8453   (exit $ac_status); } && { 
    8454          test -z "$ac_c_werror_flag" || 
    8455          test ! -s conftest.err 
    8456        } && test -s conftest.$ac_objext; then 
    8457   ac_header_compiler=yes 
    8458 else 
    8459   echo "$as_me: failed program was:" >&5 
    8460 sed 's/^/| /' conftest.$ac_ext >&5 
    8461  
    8462         ac_header_compiler=no 
    8463 fi 
    8464  
    8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8466 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8467 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8468  
    8469 # Is the header present? 
    8470 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    8471 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
    8472 cat >conftest.$ac_ext <<_ACEOF 
    8473 /* confdefs.h.  */ 
    8474 _ACEOF 
    8475 cat confdefs.h >>conftest.$ac_ext 
    8476 cat >>conftest.$ac_ext <<_ACEOF 
    8477 /* end confdefs.h.  */ 
    8478 #include <sys/timeb.h> 
    8479 _ACEOF 
    8480 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8481 case "(($ac_try" in 
    8482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8483   *) ac_try_echo=$ac_try;; 
    8484 esac 
    8485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8486   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8487   ac_status=$? 
    8488   grep -v '^ *+' conftest.er1 >conftest.err 
    8489   rm -f conftest.er1 
    8490   cat conftest.err >&5 
    8491   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8492   (exit $ac_status); } >/dev/null && { 
    8493          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8494          test ! -s conftest.err 
    8495        }; then 
    8496   ac_header_preproc=yes 
    8497 else 
    8498   echo "$as_me: failed program was:" >&5 
    8499 sed 's/^/| /' conftest.$ac_ext >&5 
    8500  
    8501   ac_header_preproc=no 
    8502 fi 
    8503  
    8504 rm -f conftest.err conftest.$ac_ext 
    8505 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8506 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8507  
    8508 # So?  What about this header? 
    8509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8510   yes:no: ) 
    8511     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8512 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8513     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    8514 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    8515     ac_header_preproc=yes 
    8516     ;; 
    8517   no:yes:* ) 
    8518     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    8519 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    8520     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    8521 echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    8522     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    8523 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    8524     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8525 echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8526     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    8527 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    8528     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    8529 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    8530  
    8531     ;; 
    8532 esac 
    8533 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8534 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8535 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8536   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8537 else 
    8538   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    8539 fi 
    8540 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8541 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8542  
    8543 fi 
    8544 if test $ac_cv_header_sys_timeb_h = yes; then 
    8545   cat >>confdefs.h <<\_ACEOF 
    8546 #define PJ_HAS_SYS_TIMEB_H 1 
    8547 _ACEOF 
    8548  
    8549 fi 
    8550  
    8551  
    8552 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8553   { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8554 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8555 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8556   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8557 fi 
    8558 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8559 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8560 else 
    8561   # Is the header compilable? 
    8562 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    8563 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
    8564 cat >conftest.$ac_ext <<_ACEOF 
    8565 /* confdefs.h.  */ 
    8566 _ACEOF 
    8567 cat confdefs.h >>conftest.$ac_ext 
    8568 cat >>conftest.$ac_ext <<_ACEOF 
    8569 /* end confdefs.h.  */ 
    8570 $ac_includes_default 
    8571 #include <sys/types.h> 
    8572 _ACEOF 
    8573 rm -f conftest.$ac_objext 
    8574 if { (ac_try="$ac_compile" 
    8575 case "(($ac_try" in 
    8576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8577   *) ac_try_echo=$ac_try;; 
    8578 esac 
    8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8580   (eval "$ac_compile") 2>conftest.er1 
    8581   ac_status=$? 
    8582   grep -v '^ *+' conftest.er1 >conftest.err 
    8583   rm -f conftest.er1 
    8584   cat conftest.err >&5 
    8585   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8586   (exit $ac_status); } && { 
    8587          test -z "$ac_c_werror_flag" || 
    8588          test ! -s conftest.err 
    8589        } && test -s conftest.$ac_objext; then 
    8590   ac_header_compiler=yes 
    8591 else 
    8592   echo "$as_me: failed program was:" >&5 
    8593 sed 's/^/| /' conftest.$ac_ext >&5 
    8594  
    8595         ac_header_compiler=no 
    8596 fi 
    8597  
    8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8599 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8600 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8601  
    8602 # Is the header present? 
    8603 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    8604 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
    8605 cat >conftest.$ac_ext <<_ACEOF 
    8606 /* confdefs.h.  */ 
    8607 _ACEOF 
    8608 cat confdefs.h >>conftest.$ac_ext 
    8609 cat >>conftest.$ac_ext <<_ACEOF 
    8610 /* end confdefs.h.  */ 
    8611 #include <sys/types.h> 
    8612 _ACEOF 
    8613 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8614 case "(($ac_try" in 
    8615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8616   *) ac_try_echo=$ac_try;; 
    8617 esac 
    8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8619   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8620   ac_status=$? 
    8621   grep -v '^ *+' conftest.er1 >conftest.err 
    8622   rm -f conftest.er1 
    8623   cat conftest.err >&5 
    8624   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8625   (exit $ac_status); } >/dev/null && { 
    8626          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8627          test ! -s conftest.err 
    8628        }; then 
    8629   ac_header_preproc=yes 
    8630 else 
    8631   echo "$as_me: failed program was:" >&5 
    8632 sed 's/^/| /' conftest.$ac_ext >&5 
    8633  
    8634   ac_header_preproc=no 
    8635 fi 
    8636  
    8637 rm -f conftest.err conftest.$ac_ext 
    8638 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8639 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8640  
    8641 # So?  What about this header? 
    8642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8643   yes:no: ) 
    8644     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8645 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8646     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    8647 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    8648     ac_header_preproc=yes 
    8649     ;; 
    8650   no:yes:* ) 
    8651     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    8652 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    8653     { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    8654 echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    8655     { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    8656 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    8657     { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8658 echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8659     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    8660 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    8661     { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    8662 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    8663  
    8664     ;; 
    8665 esac 
    8666 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8667 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8668 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8669   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8670 else 
    8671   ac_cv_header_sys_types_h=$ac_header_preproc 
    8672 fi 
    8673 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8674 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8675  
    8676 fi 
    8677 if test $ac_cv_header_sys_types_h = yes; then 
    8678   cat >>confdefs.h <<\_ACEOF 
    8679 #define PJ_HAS_SYS_TYPES_H 1 
    8680 _ACEOF 
    8681  
    8682 fi 
    8683  
    8684  
    8685 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8686   { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8687 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8688 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8689   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8690 fi 
    8691 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8692 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8693 else 
    8694   # Is the header compilable? 
    8695 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
    8696 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
    8697 cat >conftest.$ac_ext <<_ACEOF 
    8698 /* confdefs.h.  */ 
    8699 _ACEOF 
    8700 cat confdefs.h >>conftest.$ac_ext 
    8701 cat >>conftest.$ac_ext <<_ACEOF 
    8702 /* end confdefs.h.  */ 
    8703 $ac_includes_default 
    8704 #include <sys/filio.h> 
    8705 _ACEOF 
    8706 rm -f conftest.$ac_objext 
    8707 if { (ac_try="$ac_compile" 
    8708 case "(($ac_try" in 
    8709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8710   *) ac_try_echo=$ac_try;; 
    8711 esac 
    8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8713   (eval "$ac_compile") 2>conftest.er1 
    8714   ac_status=$? 
    8715   grep -v '^ *+' conftest.er1 >conftest.err 
    8716   rm -f conftest.er1 
    8717   cat conftest.err >&5 
    8718   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8719   (exit $ac_status); } && { 
    8720          test -z "$ac_c_werror_flag" || 
    8721          test ! -s conftest.err 
    8722        } && test -s conftest.$ac_objext; then 
    8723   ac_header_compiler=yes 
    8724 else 
    8725   echo "$as_me: failed program was:" >&5 
    8726 sed 's/^/| /' conftest.$ac_ext >&5 
    8727  
    8728         ac_header_compiler=no 
    8729 fi 
    8730  
    8731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8733 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8734  
    8735 # Is the header present? 
    8736 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
    8737 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
    8738 cat >conftest.$ac_ext <<_ACEOF 
    8739 /* confdefs.h.  */ 
    8740 _ACEOF 
    8741 cat confdefs.h >>conftest.$ac_ext 
    8742 cat >>conftest.$ac_ext <<_ACEOF 
    8743 /* end confdefs.h.  */ 
    8744 #include <sys/filio.h> 
    8745 _ACEOF 
    8746 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8747 case "(($ac_try" in 
    8748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8749   *) ac_try_echo=$ac_try;; 
    8750 esac 
    8751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8752   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8753   ac_status=$? 
    8754   grep -v '^ *+' conftest.er1 >conftest.err 
    8755   rm -f conftest.er1 
    8756   cat conftest.err >&5 
    8757   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8758   (exit $ac_status); } >/dev/null && { 
    8759          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8760          test ! -s conftest.err 
    8761        }; then 
    8762   ac_header_preproc=yes 
    8763 else 
    8764   echo "$as_me: failed program was:" >&5 
    8765 sed 's/^/| /' conftest.$ac_ext >&5 
    8766  
    8767   ac_header_preproc=no 
    8768 fi 
    8769  
    8770 rm -f conftest.err conftest.$ac_ext 
    8771 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8772 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8773  
    8774 # So?  What about this header? 
    8775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8776   yes:no: ) 
    8777     { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8778 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8779     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
    8780 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
    8781     ac_header_preproc=yes 
    8782     ;; 
    8783   no:yes:* ) 
    8784     { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
    8785 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
    8786     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
    8787 echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
    8788     { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
    8789 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
    8790     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8791 echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8792     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
    8793 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
    8794     { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
    8795 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
    8796  
    8797     ;; 
    8798 esac 
    8799 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8800 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8801 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8802   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8803 else 
    8804   ac_cv_header_sys_filio_h=$ac_header_preproc 
    8805 fi 
    8806 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8807 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8808  
    8809 fi 
    8810 if test $ac_cv_header_sys_filio_h = yes; then 
    8811   cat >>confdefs.h <<\_ACEOF 
    8812 #define PJ_HAS_SYS_FILIO_H 1 
    8813 _ACEOF 
    8814  
    8815 fi 
    8816  
    8817  
    8818 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8819   { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    8820 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    8821 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8822   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8823 fi 
    8824 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    8825 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    8826 else 
    8827   # Is the header compilable? 
    8828 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
    8829 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
    8830 cat >conftest.$ac_ext <<_ACEOF 
    8831 /* confdefs.h.  */ 
    8832 _ACEOF 
    8833 cat confdefs.h >>conftest.$ac_ext 
    8834 cat >>conftest.$ac_ext <<_ACEOF 
    8835 /* end confdefs.h.  */ 
    8836 $ac_includes_default 
    8837 #include <sys/sockio.h> 
    8838 _ACEOF 
    8839 rm -f conftest.$ac_objext 
    8840 if { (ac_try="$ac_compile" 
    8841 case "(($ac_try" in 
    8842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8843   *) ac_try_echo=$ac_try;; 
    8844 esac 
    8845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8846   (eval "$ac_compile") 2>conftest.er1 
    8847   ac_status=$? 
    8848   grep -v '^ *+' conftest.er1 >conftest.err 
    8849   rm -f conftest.er1 
    8850   cat conftest.err >&5 
    8851   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8852   (exit $ac_status); } && { 
    8853          test -z "$ac_c_werror_flag" || 
    8854          test ! -s conftest.err 
    8855        } && test -s conftest.$ac_objext; then 
    8856   ac_header_compiler=yes 
    8857 else 
    8858   echo "$as_me: failed program was:" >&5 
    8859 sed 's/^/| /' conftest.$ac_ext >&5 
    8860  
    8861         ac_header_compiler=no 
    8862 fi 
    8863  
    8864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8865 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8866 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8867  
    8868 # Is the header present? 
    8869 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
    8870 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
    8871 cat >conftest.$ac_ext <<_ACEOF 
    8872 /* confdefs.h.  */ 
    8873 _ACEOF 
    8874 cat confdefs.h >>conftest.$ac_ext 
    8875 cat >>conftest.$ac_ext <<_ACEOF 
    8876 /* end confdefs.h.  */ 
    8877 #include <sys/sockio.h> 
    8878 _ACEOF 
    8879 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8880 case "(($ac_try" in 
    8881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8882   *) ac_try_echo=$ac_try;; 
    8883 esac 
    8884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8885   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8886   ac_status=$? 
    8887   grep -v '^ *+' conftest.er1 >conftest.err 
    8888   rm -f conftest.er1 
    8889   cat conftest.err >&5 
    8890   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8891   (exit $ac_status); } >/dev/null && { 
    8892          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8893          test ! -s conftest.err 
    8894        }; then 
    8895   ac_header_preproc=yes 
    8896 else 
    8897   echo "$as_me: failed program was:" >&5 
    8898 sed 's/^/| /' conftest.$ac_ext >&5 
    8899  
    8900   ac_header_preproc=no 
    8901 fi 
    8902  
    8903 rm -f conftest.err conftest.$ac_ext 
    8904 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8905 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8906  
    8907 # So?  What about this header? 
    8908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8909   yes:no: ) 
    8910     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8911 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8912     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
    8913 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
    8914     ac_header_preproc=yes 
    8915     ;; 
    8916   no:yes:* ) 
    8917     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
    8918 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
    8919     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
    8920 echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
    8921     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
    8922 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
    8923     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8924 echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8925     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
    8926 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
    8927     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
    8928 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
    8929  
    8930     ;; 
    8931 esac 
    8932 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    8933 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    8934 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8935   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8936 else 
    8937   ac_cv_header_sys_sockio_h=$ac_header_preproc 
    8938 fi 
    8939 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    8940 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    8941  
    8942 fi 
    8943 if test $ac_cv_header_sys_sockio_h = yes; then 
    8944   cat >>confdefs.h <<\_ACEOF 
    8945 #define PJ_HAS_SYS_SOCKIO_H 1 
    8946 _ACEOF 
    8947  
    8948 fi 
    8949  
    8950  
    8951 if test "${ac_cv_header_time_h+set}" = set; then 
    8952   { echo "$as_me:$LINENO: checking for time.h" >&5 
    8953 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    8954 if test "${ac_cv_header_time_h+set}" = set; then 
    8955   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8956 fi 
    8957 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    8958 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    8959 else 
    8960   # Is the header compilable? 
    8961 { echo "$as_me:$LINENO: checking time.h usability" >&5 
    8962 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
    8963 cat >conftest.$ac_ext <<_ACEOF 
    8964 /* confdefs.h.  */ 
    8965 _ACEOF 
    8966 cat confdefs.h >>conftest.$ac_ext 
    8967 cat >>conftest.$ac_ext <<_ACEOF 
    8968 /* end confdefs.h.  */ 
    8969 $ac_includes_default 
    8970 #include <time.h> 
    8971 _ACEOF 
    8972 rm -f conftest.$ac_objext 
    8973 if { (ac_try="$ac_compile" 
    8974 case "(($ac_try" in 
    8975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8976   *) ac_try_echo=$ac_try;; 
    8977 esac 
    8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8979   (eval "$ac_compile") 2>conftest.er1 
    8980   ac_status=$? 
    8981   grep -v '^ *+' conftest.er1 >conftest.err 
    8982   rm -f conftest.er1 
    8983   cat conftest.err >&5 
    8984   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8985   (exit $ac_status); } && { 
    8986          test -z "$ac_c_werror_flag" || 
    8987          test ! -s conftest.err 
    8988        } && test -s conftest.$ac_objext; then 
    8989   ac_header_compiler=yes 
    8990 else 
    8991   echo "$as_me: failed program was:" >&5 
    8992 sed 's/^/| /' conftest.$ac_ext >&5 
    8993  
    8994         ac_header_compiler=no 
    8995 fi 
    8996  
    8997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8998 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8999 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9000  
    9001 # Is the header present? 
    9002 { echo "$as_me:$LINENO: checking time.h presence" >&5 
    9003 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
    9004 cat >conftest.$ac_ext <<_ACEOF 
    9005 /* confdefs.h.  */ 
    9006 _ACEOF 
    9007 cat confdefs.h >>conftest.$ac_ext 
    9008 cat >>conftest.$ac_ext <<_ACEOF 
    9009 /* end confdefs.h.  */ 
    9010 #include <time.h> 
    9011 _ACEOF 
    9012 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9013 case "(($ac_try" in 
    9014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9015   *) ac_try_echo=$ac_try;; 
    9016 esac 
    9017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9018   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9019   ac_status=$? 
    9020   grep -v '^ *+' conftest.er1 >conftest.err 
    9021   rm -f conftest.er1 
    9022   cat conftest.err >&5 
    9023   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9024   (exit $ac_status); } >/dev/null && { 
    9025          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9026          test ! -s conftest.err 
    9027        }; then 
    9028   ac_header_preproc=yes 
    9029 else 
    9030   echo "$as_me: failed program was:" >&5 
    9031 sed 's/^/| /' conftest.$ac_ext >&5 
    9032  
    9033   ac_header_preproc=no 
    9034 fi 
    9035  
    9036 rm -f conftest.err conftest.$ac_ext 
    9037 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9038 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9039  
    9040 # So?  What about this header? 
    9041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9042   yes:no: ) 
    9043     { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9044 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9045     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    9046 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    9047     ac_header_preproc=yes 
    9048     ;; 
    9049   no:yes:* ) 
    9050     { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    9051 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    9052     { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    9053 echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    9054     { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    9055 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    9056     { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9057 echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9058     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    9059 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    9060     { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    9061 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    9062  
    9063     ;; 
    9064 esac 
    9065 { echo "$as_me:$LINENO: checking for time.h" >&5 
    9066 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9067 if test "${ac_cv_header_time_h+set}" = set; then 
    9068   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9069 else 
    9070   ac_cv_header_time_h=$ac_header_preproc 
    9071 fi 
    9072 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9073 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9074  
    9075 fi 
    9076 if test $ac_cv_header_time_h = yes; then 
    9077   cat >>confdefs.h <<\_ACEOF 
    9078 #define PJ_HAS_TIME_H 1 
    9079 _ACEOF 
    9080  
    9081 fi 
    9082  
    9083  
    9084 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9085   { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9086 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9087 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9088   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9089 fi 
    9090 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9091 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9092 else 
    9093   # Is the header compilable? 
    9094 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    9095 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
    9096 cat >conftest.$ac_ext <<_ACEOF 
    9097 /* confdefs.h.  */ 
    9098 _ACEOF 
    9099 cat confdefs.h >>conftest.$ac_ext 
    9100 cat >>conftest.$ac_ext <<_ACEOF 
    9101 /* end confdefs.h.  */ 
    9102 $ac_includes_default 
    9103 #include <unistd.h> 
    9104 _ACEOF 
    9105 rm -f conftest.$ac_objext 
    9106 if { (ac_try="$ac_compile" 
    9107 case "(($ac_try" in 
    9108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9109   *) ac_try_echo=$ac_try;; 
    9110 esac 
    9111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9112   (eval "$ac_compile") 2>conftest.er1 
    9113   ac_status=$? 
    9114   grep -v '^ *+' conftest.er1 >conftest.err 
    9115   rm -f conftest.er1 
    9116   cat conftest.err >&5 
    9117   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9118   (exit $ac_status); } && { 
    9119          test -z "$ac_c_werror_flag" || 
    9120          test ! -s conftest.err 
    9121        } && test -s conftest.$ac_objext; then 
    9122   ac_header_compiler=yes 
    9123 else 
    9124   echo "$as_me: failed program was:" >&5 
    9125 sed 's/^/| /' conftest.$ac_ext >&5 
    9126  
    9127         ac_header_compiler=no 
    9128 fi 
    9129  
    9130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9131 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9132 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9133  
    9134 # Is the header present? 
    9135 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    9136 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
    9137 cat >conftest.$ac_ext <<_ACEOF 
    9138 /* confdefs.h.  */ 
    9139 _ACEOF 
    9140 cat confdefs.h >>conftest.$ac_ext 
    9141 cat >>conftest.$ac_ext <<_ACEOF 
    9142 /* end confdefs.h.  */ 
    9143 #include <unistd.h> 
    9144 _ACEOF 
    9145 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9146 case "(($ac_try" in 
    9147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9148   *) ac_try_echo=$ac_try;; 
    9149 esac 
    9150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9151   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9152   ac_status=$? 
    9153   grep -v '^ *+' conftest.er1 >conftest.err 
    9154   rm -f conftest.er1 
    9155   cat conftest.err >&5 
    9156   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9157   (exit $ac_status); } >/dev/null && { 
    9158          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9159          test ! -s conftest.err 
    9160        }; then 
    9161   ac_header_preproc=yes 
    9162 else 
    9163   echo "$as_me: failed program was:" >&5 
    9164 sed 's/^/| /' conftest.$ac_ext >&5 
    9165  
    9166   ac_header_preproc=no 
    9167 fi 
    9168  
    9169 rm -f conftest.err conftest.$ac_ext 
    9170 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9171 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9172  
    9173 # So?  What about this header? 
    9174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9175   yes:no: ) 
    9176     { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9177 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9178     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    9179 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    9180     ac_header_preproc=yes 
    9181     ;; 
    9182   no:yes:* ) 
    9183     { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    9184 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    9185     { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    9186 echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    9187     { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    9188 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    9189     { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9190 echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9191     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    9192 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    9193     { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    9194 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    9195  
    9196     ;; 
    9197 esac 
    9198 { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9199 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9200 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9201   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9202 else 
    9203   ac_cv_header_unistd_h=$ac_header_preproc 
    9204 fi 
    9205 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9206 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9207  
    9208 fi 
    9209 if test $ac_cv_header_unistd_h = yes; then 
    9210   cat >>confdefs.h <<\_ACEOF 
    9211 #define PJ_HAS_UNISTD_H 1 
    9212 _ACEOF 
    9213  
    9214 fi 
    9215  
    9216  
    9217 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9218   { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9219 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9220 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9221   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9222 fi 
    9223 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9224 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9225 else 
    9226   # Is the header compilable? 
    9227 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    9228 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
    9229 cat >conftest.$ac_ext <<_ACEOF 
    9230 /* confdefs.h.  */ 
    9231 _ACEOF 
    9232 cat confdefs.h >>conftest.$ac_ext 
    9233 cat >>conftest.$ac_ext <<_ACEOF 
    9234 /* end confdefs.h.  */ 
    9235 $ac_includes_default 
    9236 #include <winsock.h> 
    9237 _ACEOF 
    9238 rm -f conftest.$ac_objext 
    9239 if { (ac_try="$ac_compile" 
    9240 case "(($ac_try" in 
    9241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9242   *) ac_try_echo=$ac_try;; 
    9243 esac 
    9244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9245   (eval "$ac_compile") 2>conftest.er1 
    9246   ac_status=$? 
    9247   grep -v '^ *+' conftest.er1 >conftest.err 
    9248   rm -f conftest.er1 
    9249   cat conftest.err >&5 
    9250   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9251   (exit $ac_status); } && { 
    9252          test -z "$ac_c_werror_flag" || 
    9253          test ! -s conftest.err 
    9254        } && test -s conftest.$ac_objext; then 
    9255   ac_header_compiler=yes 
    9256 else 
    9257   echo "$as_me: failed program was:" >&5 
    9258 sed 's/^/| /' conftest.$ac_ext >&5 
    9259  
    9260         ac_header_compiler=no 
    9261 fi 
    9262  
    9263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9264 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9265 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9266  
    9267 # Is the header present? 
    9268 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    9269 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
    9270 cat >conftest.$ac_ext <<_ACEOF 
    9271 /* confdefs.h.  */ 
    9272 _ACEOF 
    9273 cat confdefs.h >>conftest.$ac_ext 
    9274 cat >>conftest.$ac_ext <<_ACEOF 
    9275 /* end confdefs.h.  */ 
    9276 #include <winsock.h> 
    9277 _ACEOF 
    9278 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9279 case "(($ac_try" in 
    9280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9281   *) ac_try_echo=$ac_try;; 
    9282 esac 
    9283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9284   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9285   ac_status=$? 
    9286   grep -v '^ *+' conftest.er1 >conftest.err 
    9287   rm -f conftest.er1 
    9288   cat conftest.err >&5 
    9289   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9290   (exit $ac_status); } >/dev/null && { 
    9291          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9292          test ! -s conftest.err 
    9293        }; then 
    9294   ac_header_preproc=yes 
    9295 else 
    9296   echo "$as_me: failed program was:" >&5 
    9297 sed 's/^/| /' conftest.$ac_ext >&5 
    9298  
    9299   ac_header_preproc=no 
    9300 fi 
    9301  
    9302 rm -f conftest.err conftest.$ac_ext 
    9303 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9304 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9305  
    9306 # So?  What about this header? 
    9307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9308   yes:no: ) 
    9309     { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9310 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9311     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    9312 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    9313     ac_header_preproc=yes 
    9314     ;; 
    9315   no:yes:* ) 
    9316     { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    9317 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    9318     { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    9319 echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    9320     { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    9321 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    9322     { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9323 echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9324     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    9325 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    9326     { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    9327 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    9328  
    9329     ;; 
    9330 esac 
    9331 { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9332 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9333 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9334   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9335 else 
    9336   ac_cv_header_winsock_h=$ac_header_preproc 
    9337 fi 
    9338 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9339 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9340  
    9341 fi 
    9342 if test $ac_cv_header_winsock_h = yes; then 
    9343   cat >>confdefs.h <<\_ACEOF 
    9344 #define PJ_HAS_WINSOCK_H 1 
    9345 _ACEOF 
    9346  
    9347 fi 
    9348  
    9349  
    9350 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9351   { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9352 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9353 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9354   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9355 fi 
    9356 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9357 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9358 else 
    9359   # Is the header compilable? 
    9360 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    9361 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
    9362 cat >conftest.$ac_ext <<_ACEOF 
    9363 /* confdefs.h.  */ 
    9364 _ACEOF 
    9365 cat confdefs.h >>conftest.$ac_ext 
    9366 cat >>conftest.$ac_ext <<_ACEOF 
    9367 /* end confdefs.h.  */ 
    9368 $ac_includes_default 
    9369 #include <winsock2.h> 
    9370 _ACEOF 
    9371 rm -f conftest.$ac_objext 
    9372 if { (ac_try="$ac_compile" 
    9373 case "(($ac_try" in 
    9374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9375   *) ac_try_echo=$ac_try;; 
    9376 esac 
    9377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9378   (eval "$ac_compile") 2>conftest.er1 
    9379   ac_status=$? 
    9380   grep -v '^ *+' conftest.er1 >conftest.err 
    9381   rm -f conftest.er1 
    9382   cat conftest.err >&5 
    9383   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9384   (exit $ac_status); } && { 
    9385          test -z "$ac_c_werror_flag" || 
    9386          test ! -s conftest.err 
    9387        } && test -s conftest.$ac_objext; then 
    9388   ac_header_compiler=yes 
    9389 else 
    9390   echo "$as_me: failed program was:" >&5 
    9391 sed 's/^/| /' conftest.$ac_ext >&5 
    9392  
    9393         ac_header_compiler=no 
    9394 fi 
    9395  
    9396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9397 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9398 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9399  
    9400 # Is the header present? 
    9401 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    9402 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
    9403 cat >conftest.$ac_ext <<_ACEOF 
    9404 /* confdefs.h.  */ 
    9405 _ACEOF 
    9406 cat confdefs.h >>conftest.$ac_ext 
    9407 cat >>conftest.$ac_ext <<_ACEOF 
    9408 /* end confdefs.h.  */ 
    9409 #include <winsock2.h> 
    9410 _ACEOF 
    9411 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9412 case "(($ac_try" in 
    9413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9414   *) ac_try_echo=$ac_try;; 
    9415 esac 
    9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9417   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9418   ac_status=$? 
    9419   grep -v '^ *+' conftest.er1 >conftest.err 
    9420   rm -f conftest.er1 
    9421   cat conftest.err >&5 
    9422   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9423   (exit $ac_status); } >/dev/null && { 
    9424          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9425          test ! -s conftest.err 
    9426        }; then 
    9427   ac_header_preproc=yes 
    9428 else 
    9429   echo "$as_me: failed program was:" >&5 
    9430 sed 's/^/| /' conftest.$ac_ext >&5 
    9431  
    9432   ac_header_preproc=no 
    9433 fi 
    9434  
    9435 rm -f conftest.err conftest.$ac_ext 
    9436 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9437 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9438  
    9439 # So?  What about this header? 
    9440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9441   yes:no: ) 
    9442     { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9443 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9444     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    9445 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    9446     ac_header_preproc=yes 
    9447     ;; 
    9448   no:yes:* ) 
    9449     { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    9450 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    9451     { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    9452 echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    9453     { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    9454 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    9455     { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9456 echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9457     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    9458 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    9459     { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    9460 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    9461  
    9462     ;; 
    9463 esac 
    9464 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9465 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9466 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9467   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9468 else 
    9469   ac_cv_header_winsock2_h=$ac_header_preproc 
    9470 fi 
    9471 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9472 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9473  
    9474 fi 
    9475 if test $ac_cv_header_winsock2_h = yes; then 
    9476   cat >>confdefs.h <<\_ACEOF 
    9477 #define PJ_HAS_WINSOCK2_H 1 
    9478 _ACEOF 
    9479  
    9480 fi 
    9481  
    9482  
    9483 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    9484 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
    9485 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    9486   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9487 else 
    9488   cat >conftest.$ac_ext <<_ACEOF 
    9489 /* confdefs.h.  */ 
    9490 _ACEOF 
    9491 cat confdefs.h >>conftest.$ac_ext 
    9492 cat >>conftest.$ac_ext <<_ACEOF 
    9493 /* end confdefs.h.  */ 
    9494 #if PJ_HAS_WINSOCK2_H 
     4779" 
     4780if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4781  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
     4782 
     4783fi 
     4784 
     4785 
     4786ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
     4787if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4788  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
     4789 
     4790fi 
     4791 
     4792 
     4793ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
     4794if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4795  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
     4796if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4797  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
     4798 
     4799fi 
     4800 
     4801fi 
     4802 
     4803 
     4804ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
     4805if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4806  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
     4807 
     4808fi 
     4809 
     4810 
     4811ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
     4812if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4813  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
     4814 
     4815fi 
     4816 
     4817 
     4818ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
     4819if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4820  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
     4821 
     4822fi 
     4823 
     4824 
     4825ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
     4826if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4827  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
     4828 
     4829fi 
     4830 
     4831 
     4832ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
     4833if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4834  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
     4835 
     4836fi 
     4837 
     4838 
     4839ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
     4840if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4841  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
     4842 
     4843fi 
     4844 
     4845 
     4846ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
     4847if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4848  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
     4849 
     4850fi 
     4851 
     4852 
     4853ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
     4854if test "x$ac_cv_header_string_h" = x""yes; then : 
     4855  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
     4856 
     4857fi 
     4858 
     4859 
     4860ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
     4861if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4862  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
     4863 
     4864fi 
     4865 
     4866 
     4867ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
     4868if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4869  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
     4870 
     4871fi 
     4872 
     4873 
     4874ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
     4875if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4876  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
     4877 
     4878fi 
     4879 
     4880 
     4881ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
     4882if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4883  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
     4884 
     4885fi 
     4886 
     4887 
     4888ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
     4889if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4890  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
     4891 
     4892fi 
     4893 
     4894 
     4895ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
     4896if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4897  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
     4898 
     4899fi 
     4900 
     4901 
     4902ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
     4903if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4904  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
     4905 
     4906fi 
     4907 
     4908 
     4909ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
     4910if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     4911  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
     4912 
     4913fi 
     4914 
     4915 
     4916ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
     4917if test "x$ac_cv_header_time_h" = x""yes; then : 
     4918  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
     4919 
     4920fi 
     4921 
     4922 
     4923ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
     4924if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     4925  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
     4926 
     4927fi 
     4928 
     4929 
     4930ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
     4931if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     4932  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
     4933 
     4934fi 
     4935 
     4936 
     4937ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
     4938if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     4939  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
     4940 
     4941fi 
     4942 
     4943 
     4944ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
    94954945                  #     include <winsock2.h> 
    94964946                  #elif PJ_HAS_WINSOCK_H 
     
    94984948                  #endif 
    94994949 
    9500  
    9501 #include <mswsock.h> 
    9502 _ACEOF 
    9503 rm -f conftest.$ac_objext 
    9504 if { (ac_try="$ac_compile" 
    9505 case "(($ac_try" in 
    9506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9507   *) ac_try_echo=$ac_try;; 
    9508 esac 
    9509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9510   (eval "$ac_compile") 2>conftest.er1 
    9511   ac_status=$? 
    9512   grep -v '^ *+' conftest.er1 >conftest.err 
    9513   rm -f conftest.er1 
    9514   cat conftest.err >&5 
    9515   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9516   (exit $ac_status); } && { 
    9517          test -z "$ac_c_werror_flag" || 
    9518          test ! -s conftest.err 
    9519        } && test -s conftest.$ac_objext; then 
    9520   ac_cv_header_mswsock_h=yes 
    9521 else 
    9522   echo "$as_me: failed program was:" >&5 
    9523 sed 's/^/| /' conftest.$ac_ext >&5 
    9524  
    9525         ac_cv_header_mswsock_h=no 
    9526 fi 
    9527  
    9528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9529 fi 
    9530 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    9531 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
    9532 if test $ac_cv_header_mswsock_h = yes; then 
    9533   cat >>confdefs.h <<\_ACEOF 
    9534 #define PJ_HAS_MSWSOCK_H 1 
    9535 _ACEOF 
    9536  
    9537 fi 
    9538  
    9539  
    9540 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9541   { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9542 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9543 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9544   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9545 fi 
    9546 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9547 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9548 else 
    9549   # Is the header compilable? 
    9550 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
    9551 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
    9552 cat >conftest.$ac_ext <<_ACEOF 
    9553 /* confdefs.h.  */ 
    9554 _ACEOF 
    9555 cat confdefs.h >>conftest.$ac_ext 
    9556 cat >>conftest.$ac_ext <<_ACEOF 
    9557 /* end confdefs.h.  */ 
    9558 $ac_includes_default 
    9559 #include <ws2tcpip.h> 
    9560 _ACEOF 
    9561 rm -f conftest.$ac_objext 
    9562 if { (ac_try="$ac_compile" 
    9563 case "(($ac_try" in 
    9564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9565   *) ac_try_echo=$ac_try;; 
    9566 esac 
    9567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9568   (eval "$ac_compile") 2>conftest.er1 
    9569   ac_status=$? 
    9570   grep -v '^ *+' conftest.er1 >conftest.err 
    9571   rm -f conftest.er1 
    9572   cat conftest.err >&5 
    9573   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9574   (exit $ac_status); } && { 
    9575          test -z "$ac_c_werror_flag" || 
    9576          test ! -s conftest.err 
    9577        } && test -s conftest.$ac_objext; then 
    9578   ac_header_compiler=yes 
    9579 else 
    9580   echo "$as_me: failed program was:" >&5 
    9581 sed 's/^/| /' conftest.$ac_ext >&5 
    9582  
    9583         ac_header_compiler=no 
    9584 fi 
    9585  
    9586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9587 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9588 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9589  
    9590 # Is the header present? 
    9591 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
    9592 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
    9593 cat >conftest.$ac_ext <<_ACEOF 
    9594 /* confdefs.h.  */ 
    9595 _ACEOF 
    9596 cat confdefs.h >>conftest.$ac_ext 
    9597 cat >>conftest.$ac_ext <<_ACEOF 
    9598 /* end confdefs.h.  */ 
    9599 #include <ws2tcpip.h> 
    9600 _ACEOF 
    9601 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9602 case "(($ac_try" in 
    9603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9604   *) ac_try_echo=$ac_try;; 
    9605 esac 
    9606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9607   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9608   ac_status=$? 
    9609   grep -v '^ *+' conftest.er1 >conftest.err 
    9610   rm -f conftest.er1 
    9611   cat conftest.err >&5 
    9612   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9613   (exit $ac_status); } >/dev/null && { 
    9614          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9615          test ! -s conftest.err 
    9616        }; then 
    9617   ac_header_preproc=yes 
    9618 else 
    9619   echo "$as_me: failed program was:" >&5 
    9620 sed 's/^/| /' conftest.$ac_ext >&5 
    9621  
    9622   ac_header_preproc=no 
    9623 fi 
    9624  
    9625 rm -f conftest.err conftest.$ac_ext 
    9626 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9627 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9628  
    9629 # So?  What about this header? 
    9630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9631   yes:no: ) 
    9632     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9633 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9634     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
    9635 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
    9636     ac_header_preproc=yes 
    9637     ;; 
    9638   no:yes:* ) 
    9639     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
    9640 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
    9641     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
    9642 echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
    9643     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
    9644 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
    9645     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9646 echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9647     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
    9648 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
    9649     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
    9650 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
    9651  
    9652     ;; 
    9653 esac 
    9654 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9655 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9656 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9657   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9658 else 
    9659   ac_cv_header_ws2tcpip_h=$ac_header_preproc 
    9660 fi 
    9661 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9662 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9663  
    9664 fi 
    9665 if test $ac_cv_header_ws2tcpip_h = yes; then 
    9666   cat >>confdefs.h <<\_ACEOF 
    9667 #define PJ_HAS_WS2TCPIP_H 1 
    9668 _ACEOF 
    9669  
    9670 fi 
    9671  
    9672  
    9673 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9674   { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9675 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    9676 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9677   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9678 fi 
    9679 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9680 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    9681 else 
    9682   # Is the header compilable? 
    9683 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
    9684 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
    9685 cat >conftest.$ac_ext <<_ACEOF 
    9686 /* confdefs.h.  */ 
    9687 _ACEOF 
    9688 cat confdefs.h >>conftest.$ac_ext 
    9689 cat >>conftest.$ac_ext <<_ACEOF 
    9690 /* end confdefs.h.  */ 
    9691 $ac_includes_default 
    9692 #include <uuid/uuid.h> 
    9693 _ACEOF 
    9694 rm -f conftest.$ac_objext 
    9695 if { (ac_try="$ac_compile" 
    9696 case "(($ac_try" in 
    9697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9698   *) ac_try_echo=$ac_try;; 
    9699 esac 
    9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9701   (eval "$ac_compile") 2>conftest.er1 
    9702   ac_status=$? 
    9703   grep -v '^ *+' conftest.er1 >conftest.err 
    9704   rm -f conftest.er1 
    9705   cat conftest.err >&5 
    9706   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9707   (exit $ac_status); } && { 
    9708          test -z "$ac_c_werror_flag" || 
    9709          test ! -s conftest.err 
    9710        } && test -s conftest.$ac_objext; then 
    9711   ac_header_compiler=yes 
    9712 else 
    9713   echo "$as_me: failed program was:" >&5 
    9714 sed 's/^/| /' conftest.$ac_ext >&5 
    9715  
    9716         ac_header_compiler=no 
    9717 fi 
    9718  
    9719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9720 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9721 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9722  
    9723 # Is the header present? 
    9724 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
    9725 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
    9726 cat >conftest.$ac_ext <<_ACEOF 
    9727 /* confdefs.h.  */ 
    9728 _ACEOF 
    9729 cat confdefs.h >>conftest.$ac_ext 
    9730 cat >>conftest.$ac_ext <<_ACEOF 
    9731 /* end confdefs.h.  */ 
    9732 #include <uuid/uuid.h> 
    9733 _ACEOF 
    9734 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9735 case "(($ac_try" in 
    9736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9737   *) ac_try_echo=$ac_try;; 
    9738 esac 
    9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9741   ac_status=$? 
    9742   grep -v '^ *+' conftest.er1 >conftest.err 
    9743   rm -f conftest.er1 
    9744   cat conftest.err >&5 
    9745   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9746   (exit $ac_status); } >/dev/null && { 
    9747          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9748          test ! -s conftest.err 
    9749        }; then 
    9750   ac_header_preproc=yes 
    9751 else 
    9752   echo "$as_me: failed program was:" >&5 
    9753 sed 's/^/| /' conftest.$ac_ext >&5 
    9754  
    9755   ac_header_preproc=no 
    9756 fi 
    9757  
    9758 rm -f conftest.err conftest.$ac_ext 
    9759 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9760 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9761  
    9762 # So?  What about this header? 
    9763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9764   yes:no: ) 
    9765     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9766 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9767     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
    9768 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
    9769     ac_header_preproc=yes 
    9770     ;; 
    9771   no:yes:* ) 
    9772     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
    9773 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
    9774     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
    9775 echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
    9776     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
    9777 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
    9778     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9779 echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9780     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
    9781 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
    9782     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
    9783 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
    9784  
    9785     ;; 
    9786 esac 
    9787 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9788 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    9789 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9790   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9791 else 
    9792   ac_cv_header_uuid_uuid_h=$ac_header_preproc 
    9793 fi 
    9794 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9795 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    9796  
    9797 fi 
    9798 if test $ac_cv_header_uuid_uuid_h = yes; then 
     4950" 
     4951if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     4952  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
     4953 
     4954fi 
     4955 
     4956 
     4957ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
     4958if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     4959  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
     4960 
     4961fi 
     4962 
     4963 
     4964ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
     4965if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
    97994966  ac_has_uuid_h=1 
    98004967fi 
    98014968 
    98024969 
    9803 { echo "$as_me:$LINENO: checking for net/if.h" >&5 
    9804 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
    9805 if test "${ac_cv_header_net_if_h+set}" = set; then 
    9806   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9807 else 
    9808   cat >conftest.$ac_ext <<_ACEOF 
    9809 /* confdefs.h.  */ 
    9810 _ACEOF 
    9811 cat confdefs.h >>conftest.$ac_ext 
    9812 cat >>conftest.$ac_ext <<_ACEOF 
    9813 /* end confdefs.h.  */ 
    9814 #if PJ_HAS_SYS_TYPES_H 
     4970ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
    98154971                  #     include <sys/types.h> 
    98164972                  #endif 
     
    98204976                  #endif 
    98214977 
    9822  
    9823 #include <net/if.h> 
    9824 _ACEOF 
    9825 rm -f conftest.$ac_objext 
    9826 if { (ac_try="$ac_compile" 
    9827 case "(($ac_try" in 
    9828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9829   *) ac_try_echo=$ac_try;; 
    9830 esac 
    9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9832   (eval "$ac_compile") 2>conftest.er1 
    9833   ac_status=$? 
    9834   grep -v '^ *+' conftest.er1 >conftest.err 
    9835   rm -f conftest.er1 
    9836   cat conftest.err >&5 
    9837   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9838   (exit $ac_status); } && { 
    9839          test -z "$ac_c_werror_flag" || 
    9840          test ! -s conftest.err 
    9841        } && test -s conftest.$ac_objext; then 
    9842   ac_cv_header_net_if_h=yes 
    9843 else 
    9844   echo "$as_me: failed program was:" >&5 
    9845 sed 's/^/| /' conftest.$ac_ext >&5 
    9846  
    9847         ac_cv_header_net_if_h=no 
    9848 fi 
    9849  
    9850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9851 fi 
    9852 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
    9853 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
    9854 if test $ac_cv_header_net_if_h = yes; then 
    9855   cat >>confdefs.h <<\_ACEOF 
    9856 #define PJ_HAS_NET_IF_H 1 
    9857 _ACEOF 
    9858  
    9859 fi 
    9860  
    9861  
    9862 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    9863 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
     4978" 
     4979if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     4980  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
     4981 
     4982fi 
     4983 
     4984 
     4985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
     4986$as_echo "Setting PJ_OS_NAME to $target" >&6; } 
    98644987cat >>confdefs.h <<_ACEOF 
    98654988#define PJ_OS_NAME "$target" 
     
    98674990 
    98684991 
    9869 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    9870 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    9871 cat >>confdefs.h <<\_ACEOF 
    9872 #define PJ_HAS_ERRNO_VAR 1 
    9873 _ACEOF 
    9874  
    9875  
    9876 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    9877 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    9878 cat >>confdefs.h <<\_ACEOF 
    9879 #define PJ_HAS_HIGH_RES_TIMER 1 
    9880 _ACEOF 
    9881  
    9882  
    9883 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    9884 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
    9885 cat >>confdefs.h <<\_ACEOF 
    9886 #define PJ_HAS_MALLOC 1 
    9887 _ACEOF 
    9888  
    9889  
    9890 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    9891 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    9892 cat >>confdefs.h <<\_ACEOF 
    9893 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    9894 _ACEOF 
    9895  
    9896  
    9897 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    9898 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    9899 cat >>confdefs.h <<\_ACEOF 
    9900 #define PJ_ATOMIC_VALUE_TYPE long 
    9901 _ACEOF 
    9902  
    9903  
    9904 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
    9905 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
    9906 cat >conftest.$ac_ext <<_ACEOF 
    9907 /* confdefs.h.  */ 
    9908 _ACEOF 
    9909 cat confdefs.h >>conftest.$ac_ext 
    9910 cat >>conftest.$ac_ext <<_ACEOF 
     4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     4993$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     4994$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
     4995 
     4996 
     4997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     4998$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     4999$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
     5000 
     5001 
     5002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
     5003$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
     5004$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
     5005 
     5006 
     5007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     5008$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     5009$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
     5010 
     5011 
     5012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     5013$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     5014$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
     5015 
     5016 
     5017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
     5018$as_echo_n "checking if inet_aton() is available... " >&6; } 
     5019cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    99115020/* end confdefs.h.  */ 
    99125021#include <sys/types.h> 
     
    99215030} 
    99225031_ACEOF 
    9923 rm -f conftest.$ac_objext 
    9924 if { (ac_try="$ac_compile" 
    9925 case "(($ac_try" in 
    9926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9927   *) ac_try_echo=$ac_try;; 
    9928 esac 
    9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9930   (eval "$ac_compile") 2>conftest.er1 
    9931   ac_status=$? 
    9932   grep -v '^ *+' conftest.er1 >conftest.err 
    9933   rm -f conftest.er1 
    9934   cat conftest.err >&5 
    9935   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9936   (exit $ac_status); } && { 
    9937          test -z "$ac_c_werror_flag" || 
    9938          test ! -s conftest.err 
    9939        } && test -s conftest.$ac_objext; then 
    9940   cat >>confdefs.h <<\_ACEOF 
    9941 #define PJ_SOCK_HAS_INET_ATON 1 
    9942 _ACEOF 
    9943  
    9944                    { echo "$as_me:$LINENO: result: yes" >&5 
    9945 echo "${ECHO_T}yes" >&6; } 
    9946 else 
    9947   echo "$as_me: failed program was:" >&5 
    9948 sed 's/^/| /' conftest.$ac_ext >&5 
    9949  
    9950         { echo "$as_me:$LINENO: result: no" >&5 
    9951 echo "${ECHO_T}no" >&6; } 
    9952 fi 
    9953  
     5032if ac_fn_c_try_compile "$LINENO"; then : 
     5033  $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
     5034 
     5035                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5036$as_echo "yes" >&6; } 
     5037else 
     5038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5039$as_echo "no" >&6; } 
     5040fi 
    99545041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    99555042 
    9956 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
    9957 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
    9958 cat >conftest.$ac_ext <<_ACEOF 
    9959 /* confdefs.h.  */ 
    9960 _ACEOF 
    9961 cat confdefs.h >>conftest.$ac_ext 
    9962 cat >>conftest.$ac_ext <<_ACEOF 
     5043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
     5044$as_echo_n "checking if inet_pton() is available... " >&6; } 
     5045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    99635046/* end confdefs.h.  */ 
    99645047#include <sys/types.h> 
     
    99735056} 
    99745057_ACEOF 
    9975 rm -f conftest.$ac_objext 
    9976 if { (ac_try="$ac_compile" 
    9977 case "(($ac_try" in 
    9978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9979   *) ac_try_echo=$ac_try;; 
    9980 esac 
    9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9982   (eval "$ac_compile") 2>conftest.er1 
    9983   ac_status=$? 
    9984   grep -v '^ *+' conftest.er1 >conftest.err 
    9985   rm -f conftest.er1 
    9986   cat conftest.err >&5 
    9987   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9988   (exit $ac_status); } && { 
    9989          test -z "$ac_c_werror_flag" || 
    9990          test ! -s conftest.err 
    9991        } && test -s conftest.$ac_objext; then 
    9992   cat >>confdefs.h <<\_ACEOF 
    9993 #define PJ_SOCK_HAS_INET_PTON 1 
    9994 _ACEOF 
    9995  
    9996                    { echo "$as_me:$LINENO: result: yes" >&5 
    9997 echo "${ECHO_T}yes" >&6; } 
    9998 else 
    9999   echo "$as_me: failed program was:" >&5 
    10000 sed 's/^/| /' conftest.$ac_ext >&5 
    10001  
    10002         { echo "$as_me:$LINENO: result: no" >&5 
    10003 echo "${ECHO_T}no" >&6; } 
    10004 fi 
    10005  
     5058if ac_fn_c_try_compile "$LINENO"; then : 
     5059  $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
     5060 
     5061                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5062$as_echo "yes" >&6; } 
     5063else 
     5064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5065$as_echo "no" >&6; } 
     5066fi 
    100065067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    100075068 
    10008 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
    10009 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
    10010 cat >conftest.$ac_ext <<_ACEOF 
    10011 /* confdefs.h.  */ 
    10012 _ACEOF 
    10013 cat confdefs.h >>conftest.$ac_ext 
    10014 cat >>conftest.$ac_ext <<_ACEOF 
     5069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
     5070$as_echo_n "checking if inet_ntop() is available... " >&6; } 
     5071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    100155072/* end confdefs.h.  */ 
    100165073#include <sys/types.h> 
     
    100255082} 
    100265083_ACEOF 
    10027 rm -f conftest.$ac_objext 
    10028 if { (ac_try="$ac_compile" 
    10029 case "(($ac_try" in 
    10030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10031   *) ac_try_echo=$ac_try;; 
    10032 esac 
    10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10034   (eval "$ac_compile") 2>conftest.er1 
    10035   ac_status=$? 
    10036   grep -v '^ *+' conftest.er1 >conftest.err 
    10037   rm -f conftest.er1 
    10038   cat conftest.err >&5 
    10039   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10040   (exit $ac_status); } && { 
    10041          test -z "$ac_c_werror_flag" || 
    10042          test ! -s conftest.err 
    10043        } && test -s conftest.$ac_objext; then 
    10044   cat >>confdefs.h <<\_ACEOF 
    10045 #define PJ_SOCK_HAS_INET_NTOP 1 
    10046 _ACEOF 
    10047  
    10048                    { echo "$as_me:$LINENO: result: yes" >&5 
    10049 echo "${ECHO_T}yes" >&6; } 
    10050 else 
    10051   echo "$as_me: failed program was:" >&5 
    10052 sed 's/^/| /' conftest.$ac_ext >&5 
    10053  
    10054         { echo "$as_me:$LINENO: result: no" >&5 
    10055 echo "${ECHO_T}no" >&6; } 
    10056 fi 
    10057  
     5084if ac_fn_c_try_compile "$LINENO"; then : 
     5085  $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
     5086 
     5087                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5088$as_echo "yes" >&6; } 
     5089else 
     5090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5091$as_echo "no" >&6; } 
     5092fi 
    100585093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    100595094 
    10060 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
    10061 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
    10062 cat >conftest.$ac_ext <<_ACEOF 
    10063 /* confdefs.h.  */ 
    10064 _ACEOF 
    10065 cat confdefs.h >>conftest.$ac_ext 
    10066 cat >>conftest.$ac_ext <<_ACEOF 
     5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
     5096$as_echo_n "checking if getaddrinfo() is available... " >&6; } 
     5097cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    100675098/* end confdefs.h.  */ 
    100685099#include <sys/types.h> 
     
    100775108} 
    100785109_ACEOF 
    10079 rm -f conftest.$ac_objext 
    10080 if { (ac_try="$ac_compile" 
    10081 case "(($ac_try" in 
    10082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10083   *) ac_try_echo=$ac_try;; 
    10084 esac 
    10085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10086   (eval "$ac_compile") 2>conftest.er1 
    10087   ac_status=$? 
    10088   grep -v '^ *+' conftest.er1 >conftest.err 
    10089   rm -f conftest.er1 
    10090   cat conftest.err >&5 
    10091   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10092   (exit $ac_status); } && { 
    10093          test -z "$ac_c_werror_flag" || 
    10094          test ! -s conftest.err 
    10095        } && test -s conftest.$ac_objext; then 
    10096   cat >>confdefs.h <<\_ACEOF 
    10097 #define PJ_SOCK_HAS_GETADDRINFO 1 
    10098 _ACEOF 
    10099  
    10100                    { echo "$as_me:$LINENO: result: yes" >&5 
    10101 echo "${ECHO_T}yes" >&6; } 
    10102 else 
    10103   echo "$as_me: failed program was:" >&5 
    10104 sed 's/^/| /' conftest.$ac_ext >&5 
    10105  
    10106         { echo "$as_me:$LINENO: result: no" >&5 
    10107 echo "${ECHO_T}no" >&6; } 
    10108 fi 
    10109  
     5110if ac_fn_c_try_compile "$LINENO"; then : 
     5111  $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
     5112 
     5113                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5114$as_echo "yes" >&6; } 
     5115else 
     5116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5117$as_echo "no" >&6; } 
     5118fi 
    101105119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    101115120 
    10112 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    10113 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
    10114 cat >conftest.$ac_ext <<_ACEOF 
    10115 /* confdefs.h.  */ 
    10116 _ACEOF 
    10117 cat confdefs.h >>conftest.$ac_ext 
    10118 cat >>conftest.$ac_ext <<_ACEOF 
     5121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
     5122$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
     5123cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101195124/* end confdefs.h.  */ 
    101205125#include <sys/types.h> 
     
    101305135} 
    101315136_ACEOF 
    10132 rm -f conftest.$ac_objext 
    10133 if { (ac_try="$ac_compile" 
    10134 case "(($ac_try" in 
    10135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10136   *) ac_try_echo=$ac_try;; 
    10137 esac 
    10138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10139   (eval "$ac_compile") 2>conftest.er1 
    10140   ac_status=$? 
    10141   grep -v '^ *+' conftest.er1 >conftest.err 
    10142   rm -f conftest.er1 
    10143   cat conftest.err >&5 
    10144   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10145   (exit $ac_status); } && { 
    10146          test -z "$ac_c_werror_flag" || 
    10147          test ! -s conftest.err 
    10148        } && test -s conftest.$ac_objext; then 
    10149   cat >>confdefs.h <<\_ACEOF 
    10150 #define PJ_SOCKADDR_HAS_LEN 1 
    10151 _ACEOF 
    10152  
    10153                    { echo "$as_me:$LINENO: result: yes" >&5 
    10154 echo "${ECHO_T}yes" >&6; } 
    10155 else 
    10156   echo "$as_me: failed program was:" >&5 
    10157 sed 's/^/| /' conftest.$ac_ext >&5 
    10158  
    10159         { echo "$as_me:$LINENO: result: no" >&5 
    10160 echo "${ECHO_T}no" >&6; } 
    10161 fi 
    10162  
     5137if ac_fn_c_try_compile "$LINENO"; then : 
     5138  $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
     5139 
     5140                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5141$as_echo "yes" >&6; } 
     5142else 
     5143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5144$as_echo "no" >&6; } 
     5145fi 
    101635146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    101645147 
    10165 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    10166 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
    10167 cat >conftest.$ac_ext <<_ACEOF 
    10168 /* confdefs.h.  */ 
    10169 _ACEOF 
    10170 cat confdefs.h >>conftest.$ac_ext 
    10171 cat >>conftest.$ac_ext <<_ACEOF 
     5148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
     5149$as_echo_n "checking if socklen_t is available... " >&6; } 
     5150cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101725151/* end confdefs.h.  */ 
    101735152#include <sys/types.h> 
     
    101815160} 
    101825161_ACEOF 
    10183 rm -f conftest.$ac_objext 
    10184 if { (ac_try="$ac_compile" 
    10185 case "(($ac_try" in 
    10186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10187   *) ac_try_echo=$ac_try;; 
    10188 esac 
    10189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10190   (eval "$ac_compile") 2>conftest.er1 
    10191   ac_status=$? 
    10192   grep -v '^ *+' conftest.er1 >conftest.err 
    10193   rm -f conftest.er1 
    10194   cat conftest.err >&5 
    10195   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10196   (exit $ac_status); } && { 
    10197          test -z "$ac_c_werror_flag" || 
    10198          test ! -s conftest.err 
    10199        } && test -s conftest.$ac_objext; then 
    10200   cat >>confdefs.h <<\_ACEOF 
    10201 #define PJ_HAS_SOCKLEN_T 1 
    10202 _ACEOF 
    10203  
    10204                    { echo "$as_me:$LINENO: result: yes" >&5 
    10205 echo "${ECHO_T}yes" >&6; } 
    10206 else 
    10207   echo "$as_me: failed program was:" >&5 
    10208 sed 's/^/| /' conftest.$ac_ext >&5 
    10209  
    10210         { echo "$as_me:$LINENO: result: no" >&5 
    10211 echo "${ECHO_T}no" >&6; } 
    10212 fi 
    10213  
     5162if ac_fn_c_try_compile "$LINENO"; then : 
     5163  $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
     5164 
     5165                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5166$as_echo "yes" >&6; } 
     5167else 
     5168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5169$as_echo "no" >&6; } 
     5170fi 
    102145171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102155172 
    10216 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    10217 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
     5173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
     5174$as_echo_n "checking if SO_ERROR is available... " >&6; } 
    102185175case $target in 
    102195176    *mingw* | *cygw* | *win32* | *w32* ) 
    10220         cat >>confdefs.h <<\_ACEOF 
    10221 #define PJ_HAS_SO_ERROR 1 
    10222 _ACEOF 
    10223  
    10224         { echo "$as_me:$LINENO: result: yes" >&5 
    10225 echo "${ECHO_T}yes" >&6; } 
     5177        $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5178 
     5179        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5180$as_echo "yes" >&6; } 
    102265181        ;; 
    102275182    *) 
    10228         cat >conftest.$ac_ext <<_ACEOF 
    10229 /* confdefs.h.  */ 
    10230 _ACEOF 
    10231 cat confdefs.h >>conftest.$ac_ext 
    10232 cat >>conftest.$ac_ext <<_ACEOF 
     5183        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102335184/* end confdefs.h.  */ 
    102345185#include <sys/types.h> 
     
    102445195} 
    102455196_ACEOF 
    10246 rm -f conftest.$ac_objext 
    10247 if { (ac_try="$ac_compile" 
    10248 case "(($ac_try" in 
    10249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10250   *) ac_try_echo=$ac_try;; 
    10251 esac 
    10252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10253   (eval "$ac_compile") 2>conftest.er1 
    10254   ac_status=$? 
    10255   grep -v '^ *+' conftest.er1 >conftest.err 
    10256   rm -f conftest.er1 
    10257   cat conftest.err >&5 
    10258   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10259   (exit $ac_status); } && { 
    10260          test -z "$ac_c_werror_flag" || 
    10261          test ! -s conftest.err 
    10262        } && test -s conftest.$ac_objext; then 
    10263   cat >>confdefs.h <<\_ACEOF 
    10264 #define PJ_HAS_SO_ERROR 1 
    10265 _ACEOF 
    10266  
    10267                            { echo "$as_me:$LINENO: result: yes" >&5 
    10268 echo "${ECHO_T}yes" >&6; } 
    10269 else 
    10270   echo "$as_me: failed program was:" >&5 
    10271 sed 's/^/| /' conftest.$ac_ext >&5 
    10272  
    10273         { echo "$as_me:$LINENO: result: no" >&5 
    10274 echo "${ECHO_T}no" >&6; } 
    10275 fi 
    10276  
     5197if ac_fn_c_try_compile "$LINENO"; then : 
     5198  $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5199 
     5200                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5201$as_echo "yes" >&6; } 
     5202else 
     5203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5204$as_echo "no" >&6; } 
     5205fi 
    102775206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102785207        ;; 
     
    102805209 
    102815210 
    10282 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    10283 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
    10284 cat >conftest.$ac_ext <<_ACEOF 
    10285 /* confdefs.h.  */ 
    10286 _ACEOF 
    10287 cat confdefs.h >>conftest.$ac_ext 
    10288 cat >>conftest.$ac_ext <<_ACEOF 
     5211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
     5212$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
     5213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102895214/* end confdefs.h.  */ 
    102905215#include <pthread.h> 
     
    102975222} 
    102985223_ACEOF 
    10299 rm -f conftest.$ac_objext 
    10300 if { (ac_try="$ac_compile" 
    10301 case "(($ac_try" in 
    10302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10303   *) ac_try_echo=$ac_try;; 
    10304 esac 
    10305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10306   (eval "$ac_compile") 2>conftest.er1 
    10307   ac_status=$? 
    10308   grep -v '^ *+' conftest.er1 >conftest.err 
    10309   rm -f conftest.er1 
    10310   cat conftest.err >&5 
    10311   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10312   (exit $ac_status); } && { 
    10313          test -z "$ac_c_werror_flag" || 
    10314          test ! -s conftest.err 
    10315        } && test -s conftest.$ac_objext; then 
    10316   cat >>confdefs.h <<\_ACEOF 
    10317 #define PJ_EMULATE_RWMUTEX 0 
    10318 _ACEOF 
     5224if ac_fn_c_try_compile "$LINENO"; then : 
     5225  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    103195226 
    103205227                   ac_rwmutex="yes" 
    10321                    { echo "$as_me:$LINENO: result: yes" >&5 
    10322 echo "${ECHO_T}yes" >&6; } 
    10323 else 
    10324   echo "$as_me: failed program was:" >&5 
    10325 sed 's/^/| /' conftest.$ac_ext >&5 
    10326  
    10327         cat >>confdefs.h <<\_ACEOF 
    10328 #define PJ_EMULATE_RWMUTEX 1 
    10329 _ACEOF 
     5228                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5229$as_echo "yes" >&6; } 
     5230else 
     5231  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    103305232 
    103315233                   ac_rwmutex="no" 
    10332                    { echo "$as_me:$LINENO: result: no" >&5 
    10333 echo "${ECHO_T}no" >&6; } 
    10334 fi 
    10335  
     5234                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5235$as_echo "no" >&6; } 
     5236fi 
    103365237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103375238 
    103385239if test "$ac_rwmutex" = "no"; then 
    10339     { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    10340 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
    10341     cat >conftest.$ac_ext <<_ACEOF 
    10342 /* confdefs.h.  */ 
    10343 _ACEOF 
    10344 cat confdefs.h >>conftest.$ac_ext 
    10345 cat >>conftest.$ac_ext <<_ACEOF 
     5240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     5241$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
     5242    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103465243/* end confdefs.h.  */ 
    103475244#define _POSIX_READER_WRITER_LOCKS 
     
    103555252} 
    103565253_ACEOF 
    10357 rm -f conftest.$ac_objext 
    10358 if { (ac_try="$ac_compile" 
    10359 case "(($ac_try" in 
    10360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10361   *) ac_try_echo=$ac_try;; 
    10362 esac 
    10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10364   (eval "$ac_compile") 2>conftest.er1 
    10365   ac_status=$? 
    10366   grep -v '^ *+' conftest.er1 >conftest.err 
    10367   rm -f conftest.er1 
    10368   cat conftest.err >&5 
    10369   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10370   (exit $ac_status); } && { 
    10371          test -z "$ac_c_werror_flag" || 
    10372          test ! -s conftest.err 
    10373        } && test -s conftest.$ac_objext; then 
    10374   cat >>confdefs.h <<\_ACEOF 
    10375 #define PJ_EMULATE_RWMUTEX 0 
    10376 _ACEOF 
     5254if ac_fn_c_try_compile "$LINENO"; then : 
     5255  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    103775256 
    103785257                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    10379                        { echo "$as_me:$LINENO: result: yes" >&5 
    10380 echo "${ECHO_T}yes" >&6; } 
    10381 else 
    10382   echo "$as_me: failed program was:" >&5 
    10383 sed 's/^/| /' conftest.$ac_ext >&5 
    10384  
    10385         cat >>confdefs.h <<\_ACEOF 
    10386 #define PJ_EMULATE_RWMUTEX 1 
    10387 _ACEOF 
    10388  
    10389                        { echo "$as_me:$LINENO: result: no" >&5 
    10390 echo "${ECHO_T}no" >&6; } 
    10391 fi 
    10392  
     5258                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5259$as_echo "yes" >&6; } 
     5260else 
     5261  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     5262 
     5263                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5264$as_echo "no" >&6; } 
     5265fi 
    103935266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103945267fi 
    103955268 
    10396 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
    10397 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
    10398 cat >conftest.$ac_ext <<_ACEOF 
    10399 /* confdefs.h.  */ 
    10400 _ACEOF 
    10401 cat confdefs.h >>conftest.$ac_ext 
    10402 cat >>conftest.$ac_ext <<_ACEOF 
     5269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
     5270$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
     5271cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104035272/* end confdefs.h.  */ 
    104045273#include <pthread.h> 
     
    104115280} 
    104125281_ACEOF 
    10413 rm -f conftest.$ac_objext 
    10414 if { (ac_try="$ac_compile" 
    10415 case "(($ac_try" in 
    10416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10417   *) ac_try_echo=$ac_try;; 
    10418 esac 
    10419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10420   (eval "$ac_compile") 2>conftest.er1 
    10421   ac_status=$? 
    10422   grep -v '^ *+' conftest.er1 >conftest.err 
    10423   rm -f conftest.er1 
    10424   cat conftest.err >&5 
    10425   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10426   (exit $ac_status); } && { 
    10427          test -z "$ac_c_werror_flag" || 
    10428          test ! -s conftest.err 
    10429        } && test -s conftest.$ac_objext; then 
    10430   cat >>confdefs.h <<\_ACEOF 
    10431 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
    10432 _ACEOF 
    10433  
    10434                    { echo "$as_me:$LINENO: result: yes" >&5 
    10435 echo "${ECHO_T}yes" >&6; } 
    10436 else 
    10437   echo "$as_me: failed program was:" >&5 
    10438 sed 's/^/| /' conftest.$ac_ext >&5 
    10439  
    10440         { echo "$as_me:$LINENO: result: no" >&5 
    10441 echo "${ECHO_T}no" >&6; } 
    10442 fi 
    10443  
     5282if ac_fn_c_try_compile "$LINENO"; then : 
     5283  $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
     5284 
     5285                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5286$as_echo "yes" >&6; } 
     5287else 
     5288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5289$as_echo "no" >&6; } 
     5290fi 
    104445291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104455292 
    10446 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
    10447 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
    10448 cat >conftest.$ac_ext <<_ACEOF 
    10449 /* confdefs.h.  */ 
    10450 _ACEOF 
    10451 cat confdefs.h >>conftest.$ac_ext 
    10452 cat >>conftest.$ac_ext <<_ACEOF 
     5293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
     5294$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
     5295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104535296/* end confdefs.h.  */ 
    104545297#include <pthread.h> 
     
    104625305} 
    104635306_ACEOF 
    10464 rm -f conftest.$ac_objext 
    10465 if { (ac_try="$ac_compile" 
    10466 case "(($ac_try" in 
    10467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10468   *) ac_try_echo=$ac_try;; 
    10469 esac 
    10470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10471   (eval "$ac_compile") 2>conftest.er1 
    10472   ac_status=$? 
    10473   grep -v '^ *+' conftest.er1 >conftest.err 
    10474   rm -f conftest.er1 
    10475   cat conftest.err >&5 
    10476   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10477   (exit $ac_status); } && { 
    10478          test -z "$ac_c_werror_flag" || 
    10479          test ! -s conftest.err 
    10480        } && test -s conftest.$ac_objext; then 
    10481   cat >>confdefs.h <<\_ACEOF 
    10482 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
    10483 _ACEOF 
    10484  
    10485                    { echo "$as_me:$LINENO: result: yes" >&5 
    10486 echo "${ECHO_T}yes" >&6; } 
    10487 else 
    10488   echo "$as_me: failed program was:" >&5 
    10489 sed 's/^/| /' conftest.$ac_ext >&5 
    10490  
    10491         { echo "$as_me:$LINENO: result: no" >&5 
    10492 echo "${ECHO_T}no" >&6; } 
    10493 fi 
    10494  
     5307if ac_fn_c_try_compile "$LINENO"; then : 
     5308  $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
     5309 
     5310                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5311$as_echo "yes" >&6; } 
     5312else 
     5313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5314$as_echo "no" >&6; } 
     5315fi 
    104955316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104965317 
    104975318 
    10498 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 
    10499 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
     5319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
     5320$as_echo_n "checking ioqueue backend... " >&6; } 
    105005321# Check whether --enable-epoll was given. 
    10501 if test "${enable_epoll+set}" = set; then 
     5322if test "${enable_epoll+set}" = set; then : 
    105025323  enableval=$enable_epoll; 
    105035324                ac_os_objs=ioqueue_epoll.o 
    10504                 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
    10505 echo "${ECHO_T}/dev/epoll" >&6; } 
     5325                { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
     5326$as_echo "/dev/epoll" >&6; } 
    105065327 
    105075328else 
    105085329 
    105095330                ac_os_objs=ioqueue_select.o 
    10510                 { echo "$as_me:$LINENO: result: select()" >&5 
    10511 echo "${ECHO_T}select()" >&6; } 
     5331                { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
     5332$as_echo "select()" >&6; } 
    105125333 
    105135334fi 
     
    105375358 
    105385359# Check whether --with-external-speex was given. 
    10539 if test "${with_external_speex+set}" = set; then 
     5360if test "${with_external_speex+set}" = set; then : 
    105405361  withval=$with_external_speex; 
    105415362        if test "x$with_external_speex" != "xno"; then 
    105425363                # Test Speex installation 
    10543                 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
    10544 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
    10545                 cat >conftest.$ac_ext <<_ACEOF 
    10546 /* confdefs.h.  */ 
    10547 _ACEOF 
    10548 cat confdefs.h >>conftest.$ac_ext 
    10549 cat >>conftest.$ac_ext <<_ACEOF 
     5364                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
     5365$as_echo_n "checking if external Speex devkit is installed... " >&6; } 
     5366                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105505367/* end confdefs.h.  */ 
    105515368#include <speex/speex.h> 
     
    105605377} 
    105615378_ACEOF 
    10562 rm -f conftest.$ac_objext 
    10563 if { (ac_try="$ac_compile" 
    10564 case "(($ac_try" in 
    10565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10566   *) ac_try_echo=$ac_try;; 
    10567 esac 
    10568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10569   (eval "$ac_compile") 2>conftest.er1 
    10570   ac_status=$? 
    10571   grep -v '^ *+' conftest.er1 >conftest.err 
    10572   rm -f conftest.er1 
    10573   cat conftest.err >&5 
    10574   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10575   (exit $ac_status); } && { 
    10576          test -z "$ac_c_werror_flag" || 
    10577          test ! -s conftest.err 
    10578        } && test -s conftest.$ac_objext; then 
    10579   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10580 echo "${ECHO_T}yes!!" >&6; } 
    10581                                    cat >>confdefs.h <<\_ACEOF 
    10582 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
    10583 _ACEOF 
     5379if ac_fn_c_try_compile "$LINENO"; then : 
     5380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5381$as_echo "yes!!" >&6; } 
     5382                                   $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
    105845383 
    105855384                                   ac_external_speex="1" 
    105865385 
    105875386else 
    10588   echo "$as_me: failed program was:" >&5 
    10589 sed 's/^/| /' conftest.$ac_ext >&5 
    10590  
    10591         { { echo "$as_me:$LINENO: error: Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 
    10592 echo "$as_me: error: Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 
    10593    { (exit 1); exit 1; }; } 
    10594 fi 
    10595  
     5387  as_fn_error "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
     5388fi 
    105965389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    105975390        fi 
     
    106055398 
    106065399# Check whether --with-external-gsm was given. 
    10607 if test "${with_external_gsm+set}" = set; then 
     5400if test "${with_external_gsm+set}" = set; then : 
    106085401  withval=$with_external_gsm; 
    106095402        if test "x$with_external_gsm" != "xno"; then 
    106105403                # Test GSM library installation 
    10611                 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    10612 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
    10613                 cat >conftest.$ac_ext <<_ACEOF 
    10614 /* confdefs.h.  */ 
    10615 _ACEOF 
    10616 cat confdefs.h >>conftest.$ac_ext 
    10617 cat >>conftest.$ac_ext <<_ACEOF 
     5404                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     5405$as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
     5406                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106185407/* end confdefs.h.  */ 
    106195408#include <gsm/gsm.h> 
     
    106265415} 
    106275416_ACEOF 
    10628 rm -f conftest.$ac_objext 
    10629 if { (ac_try="$ac_compile" 
    10630 case "(($ac_try" in 
    10631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10632   *) ac_try_echo=$ac_try;; 
    10633 esac 
    10634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10635   (eval "$ac_compile") 2>conftest.er1 
    10636   ac_status=$? 
    10637   grep -v '^ *+' conftest.er1 >conftest.err 
    10638   rm -f conftest.er1 
    10639   cat conftest.err >&5 
    10640   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10641   (exit $ac_status); } && { 
    10642          test -z "$ac_c_werror_flag" || 
    10643          test ! -s conftest.err 
    10644        } && test -s conftest.$ac_objext; then 
    10645   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10646 echo "${ECHO_T}yes!!" >&6; } 
    10647                      cat >>confdefs.h <<\_ACEOF 
    10648 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10649 _ACEOF 
    10650  
    10651                      cat >>confdefs.h <<\_ACEOF 
    10652 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
    10653 _ACEOF 
     5417if ac_fn_c_try_compile "$LINENO"; then : 
     5418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5419$as_echo "yes!!" >&6; } 
     5420                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5421 
     5422                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
    106545423 
    106555424                     ac_external_gsm="1" 
    106565425 
    106575426else 
    10658   echo "$as_me: failed program was:" >&5 
    10659 sed 's/^/| /' conftest.$ac_ext >&5 
    10660  
    10661  
    10662                      { echo "$as_me:$LINENO: result: no" >&5 
    10663 echo "${ECHO_T}no" >&6; } 
    10664                      { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
    10665 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
    10666                      cat >conftest.$ac_ext <<_ACEOF 
    10667 /* confdefs.h.  */ 
    10668 _ACEOF 
    10669 cat confdefs.h >>conftest.$ac_ext 
    10670 cat >>conftest.$ac_ext <<_ACEOF 
     5427 
     5428                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5429$as_echo "no" >&6; } 
     5430                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
     5431$as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
     5432                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106715433/* end confdefs.h.  */ 
    106725434#include <gsm.h> 
     
    106795441} 
    106805442_ACEOF 
    10681 rm -f conftest.$ac_objext 
    10682 if { (ac_try="$ac_compile" 
    10683 case "(($ac_try" in 
    10684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10685   *) ac_try_echo=$ac_try;; 
    10686 esac 
    10687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10688   (eval "$ac_compile") 2>conftest.er1 
    10689   ac_status=$? 
    10690   grep -v '^ *+' conftest.er1 >conftest.err 
    10691   rm -f conftest.er1 
    10692   cat conftest.err >&5 
    10693   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10694   (exit $ac_status); } && { 
    10695          test -z "$ac_c_werror_flag" || 
    10696          test ! -s conftest.err 
    10697        } && test -s conftest.$ac_objext; then 
    10698   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10699 echo "${ECHO_T}yes!!" >&6; } 
    10700                          cat >>confdefs.h <<\_ACEOF 
    10701 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10702 _ACEOF 
    10703  
    10704                          cat >>confdefs.h <<\_ACEOF 
    10705 #define PJMEDIA_EXTERNAL_GSM_H 1 
    10706 _ACEOF 
     5443if ac_fn_c_try_compile "$LINENO"; then : 
     5444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5445$as_echo "yes!!" >&6; } 
     5446                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5447 
     5448                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
    107075449 
    107085450                         ac_external_gsm="1" 
    107095451 
    107105452else 
    10711   echo "$as_me: failed program was:" >&5 
    10712 sed 's/^/| /' conftest.$ac_ext >&5 
    10713  
    10714         { { echo "$as_me:$LINENO: error: Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 
    10715 echo "$as_me: error: Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 
    10716    { (exit 1); exit 1; }; } 
    10717  
    10718  
    10719 fi 
    10720  
     5453  as_fn_error "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
     5454 
     5455 
     5456fi 
    107215457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107225458 
    107235459 
    107245460fi 
    10725  
    107265461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107275462        fi 
     
    107355470 
    107365471# Check whether --enable-sound was given. 
    10737 if test "${enable_sound+set}" = set; then 
     5472if test "${enable_sound+set}" = set; then : 
    107385473  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    107395474                ac_pjmedia_snd=null 
    10740                 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
    10741 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
     5475                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
     5476$as_echo "Checking if sound is disabled... yes" >&6; } 
    107425477               fi 
    107435478 
     
    107495484 
    107505485# Check whether --with-external-pa was given. 
    10751 if test "${with_external_pa+set}" = set; then 
     5486if test "${with_external_pa+set}" = set; then : 
    107525487  withval=$with_external_pa; 
    107535488        if test "x$with_external_pa" != "xno"; then 
    107545489                # Test PortAudio installation 
    10755                 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
    10756 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
    10757                 cat >conftest.$ac_ext <<_ACEOF 
    10758 /* confdefs.h.  */ 
    10759 _ACEOF 
    10760 cat confdefs.h >>conftest.$ac_ext 
    10761 cat >>conftest.$ac_ext <<_ACEOF 
     5490                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
     5491$as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
     5492                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    107625493/* end confdefs.h.  */ 
    107635494#include <portaudio.h> 
     
    107715502} 
    107725503_ACEOF 
    10773 rm -f conftest.$ac_objext 
    10774 if { (ac_try="$ac_compile" 
    10775 case "(($ac_try" in 
    10776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10777   *) ac_try_echo=$ac_try;; 
    10778 esac 
    10779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10780   (eval "$ac_compile") 2>conftest.er1 
    10781   ac_status=$? 
    10782   grep -v '^ *+' conftest.er1 >conftest.err 
    10783   rm -f conftest.er1 
    10784   cat conftest.err >&5 
    10785   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10786   (exit $ac_status); } && { 
    10787          test -z "$ac_c_werror_flag" || 
    10788          test ! -s conftest.err 
    10789        } && test -s conftest.$ac_objext; then 
    10790   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10791 echo "${ECHO_T}yes!!" >&6; } 
     5504if ac_fn_c_try_compile "$LINENO"; then : 
     5505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5506$as_echo "yes!!" >&6; } 
    107925507                                   ac_external_pa="1" 
    107935508 
    107945509else 
    10795   echo "$as_me: failed program was:" >&5 
    10796 sed 's/^/| /' conftest.$ac_ext >&5 
    10797  
    10798         { { echo "$as_me:$LINENO: error: Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 
    10799 echo "$as_me: error: Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 
    10800    { (exit 1); exit 1; }; } 
    10801 fi 
    10802  
     5510  as_fn_error "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 
     5511fi 
    108035512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    108045513        fi 
     
    108095518 
    108105519 
    10811 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    10812   { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    10813 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    10814 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    10815   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10816 fi 
    10817 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    10818 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    10819 else 
    10820   # Is the header compilable? 
    10821 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
    10822 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
    10823 cat >conftest.$ac_ext <<_ACEOF 
    10824 /* confdefs.h.  */ 
    10825 _ACEOF 
    10826 cat confdefs.h >>conftest.$ac_ext 
    10827 cat >>conftest.$ac_ext <<_ACEOF 
    10828 /* end confdefs.h.  */ 
    10829 $ac_includes_default 
    10830 #include <sys/soundcard.h> 
    10831 _ACEOF 
    10832 rm -f conftest.$ac_objext 
    10833 if { (ac_try="$ac_compile" 
    10834 case "(($ac_try" in 
    10835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10836   *) ac_try_echo=$ac_try;; 
    10837 esac 
    10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10839   (eval "$ac_compile") 2>conftest.er1 
    10840   ac_status=$? 
    10841   grep -v '^ *+' conftest.er1 >conftest.err 
    10842   rm -f conftest.er1 
    10843   cat conftest.err >&5 
    10844   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10845   (exit $ac_status); } && { 
    10846          test -z "$ac_c_werror_flag" || 
    10847          test ! -s conftest.err 
    10848        } && test -s conftest.$ac_objext; then 
    10849   ac_header_compiler=yes 
    10850 else 
    10851   echo "$as_me: failed program was:" >&5 
    10852 sed 's/^/| /' conftest.$ac_ext >&5 
    10853  
    10854         ac_header_compiler=no 
    10855 fi 
    10856  
    10857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10858 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    10859 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    10860  
    10861 # Is the header present? 
    10862 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
    10863 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
    10864 cat >conftest.$ac_ext <<_ACEOF 
    10865 /* confdefs.h.  */ 
    10866 _ACEOF 
    10867 cat confdefs.h >>conftest.$ac_ext 
    10868 cat >>conftest.$ac_ext <<_ACEOF 
    10869 /* end confdefs.h.  */ 
    10870 #include <sys/soundcard.h> 
    10871 _ACEOF 
    10872 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10873 case "(($ac_try" in 
    10874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10875   *) ac_try_echo=$ac_try;; 
    10876 esac 
    10877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10878   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10879   ac_status=$? 
    10880   grep -v '^ *+' conftest.er1 >conftest.err 
    10881   rm -f conftest.er1 
    10882   cat conftest.err >&5 
    10883   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10884   (exit $ac_status); } >/dev/null && { 
    10885          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10886          test ! -s conftest.err 
    10887        }; then 
    10888   ac_header_preproc=yes 
    10889 else 
    10890   echo "$as_me: failed program was:" >&5 
    10891 sed 's/^/| /' conftest.$ac_ext >&5 
    10892  
    10893   ac_header_preproc=no 
    10894 fi 
    10895  
    10896 rm -f conftest.err conftest.$ac_ext 
    10897 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10898 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    10899  
    10900 # So?  What about this header? 
    10901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10902   yes:no: ) 
    10903     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10904 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10905     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
    10906 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
    10907     ac_header_preproc=yes 
    10908     ;; 
    10909   no:yes:* ) 
    10910     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
    10911 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
    10912     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
    10913 echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    10914     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
    10915 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
    10916     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10917 echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10918     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
    10919 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    10920     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
    10921 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    10922  
    10923     ;; 
    10924 esac 
    10925 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    10926 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    10927 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    10928   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10929 else 
    10930   ac_cv_header_sys_soundcard_h=$ac_header_preproc 
    10931 fi 
    10932 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    10933 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    10934  
    10935 fi 
    10936 if test $ac_cv_header_sys_soundcard_h = yes; then 
     5520ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
     5521if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
    109375522  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    109385523fi 
    109395524 
    109405525 
    10941 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    10942   { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    10943 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    10944 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    10945   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10946 fi 
    10947 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    10948 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    10949 else 
    10950   # Is the header compilable? 
    10951 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
    10952 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
    10953 cat >conftest.$ac_ext <<_ACEOF 
    10954 /* confdefs.h.  */ 
    10955 _ACEOF 
    10956 cat confdefs.h >>conftest.$ac_ext 
    10957 cat >>conftest.$ac_ext <<_ACEOF 
    10958 /* end confdefs.h.  */ 
    10959 $ac_includes_default 
    10960 #include <linux/soundcard.h> 
    10961 _ACEOF 
    10962 rm -f conftest.$ac_objext 
    10963 if { (ac_try="$ac_compile" 
    10964 case "(($ac_try" in 
    10965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10966   *) ac_try_echo=$ac_try;; 
    10967 esac 
    10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10969   (eval "$ac_compile") 2>conftest.er1 
    10970   ac_status=$? 
    10971   grep -v '^ *+' conftest.er1 >conftest.err 
    10972   rm -f conftest.er1 
    10973   cat conftest.err >&5 
    10974   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10975   (exit $ac_status); } && { 
    10976          test -z "$ac_c_werror_flag" || 
    10977          test ! -s conftest.err 
    10978        } && test -s conftest.$ac_objext; then 
    10979   ac_header_compiler=yes 
    10980 else 
    10981   echo "$as_me: failed program was:" >&5 
    10982 sed 's/^/| /' conftest.$ac_ext >&5 
    10983  
    10984         ac_header_compiler=no 
    10985 fi 
    10986  
    10987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    10989 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    10990  
    10991 # Is the header present? 
    10992 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
    10993 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
    10994 cat >conftest.$ac_ext <<_ACEOF 
    10995 /* confdefs.h.  */ 
    10996 _ACEOF 
    10997 cat confdefs.h >>conftest.$ac_ext 
    10998 cat >>conftest.$ac_ext <<_ACEOF 
    10999 /* end confdefs.h.  */ 
    11000 #include <linux/soundcard.h> 
    11001 _ACEOF 
    11002 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11003 case "(($ac_try" in 
    11004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11005   *) ac_try_echo=$ac_try;; 
    11006 esac 
    11007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11008   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11009   ac_status=$? 
    11010   grep -v '^ *+' conftest.er1 >conftest.err 
    11011   rm -f conftest.er1 
    11012   cat conftest.err >&5 
    11013   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11014   (exit $ac_status); } >/dev/null && { 
    11015          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11016          test ! -s conftest.err 
    11017        }; then 
    11018   ac_header_preproc=yes 
    11019 else 
    11020   echo "$as_me: failed program was:" >&5 
    11021 sed 's/^/| /' conftest.$ac_ext >&5 
    11022  
    11023   ac_header_preproc=no 
    11024 fi 
    11025  
    11026 rm -f conftest.err conftest.$ac_ext 
    11027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11028 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11029  
    11030 # So?  What about this header? 
    11031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11032   yes:no: ) 
    11033     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11034 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11035     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
    11036 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
    11037     ac_header_preproc=yes 
    11038     ;; 
    11039   no:yes:* ) 
    11040     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
    11041 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
    11042     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
    11043 echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11044     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
    11045 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
    11046     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11047 echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11048     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
    11049 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11050     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
    11051 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11052  
    11053     ;; 
    11054 esac 
    11055 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11056 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11057 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11058   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11059 else 
    11060   ac_cv_header_linux_soundcard_h=$ac_header_preproc 
    11061 fi 
    11062 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11063 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11064  
    11065 fi 
    11066 if test $ac_cv_header_linux_soundcard_h = yes; then 
     5526ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
     5527if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
    110675528  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    110685529fi 
    110695530 
    110705531 
    11071 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11072   { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11073 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11074 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11075   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11076 fi 
    11077 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11078 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11079 else 
    11080   # Is the header compilable? 
    11081 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
    11082 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
    11083 cat >conftest.$ac_ext <<_ACEOF 
    11084 /* confdefs.h.  */ 
    11085 _ACEOF 
    11086 cat confdefs.h >>conftest.$ac_ext 
    11087 cat >>conftest.$ac_ext <<_ACEOF 
    11088 /* end confdefs.h.  */ 
    11089 $ac_includes_default 
    11090 #include <machine/soundcard.h> 
    11091 _ACEOF 
    11092 rm -f conftest.$ac_objext 
    11093 if { (ac_try="$ac_compile" 
    11094 case "(($ac_try" in 
    11095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11096   *) ac_try_echo=$ac_try;; 
    11097 esac 
    11098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11099   (eval "$ac_compile") 2>conftest.er1 
    11100   ac_status=$? 
    11101   grep -v '^ *+' conftest.er1 >conftest.err 
    11102   rm -f conftest.er1 
    11103   cat conftest.err >&5 
    11104   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11105   (exit $ac_status); } && { 
    11106          test -z "$ac_c_werror_flag" || 
    11107          test ! -s conftest.err 
    11108        } && test -s conftest.$ac_objext; then 
    11109   ac_header_compiler=yes 
    11110 else 
    11111   echo "$as_me: failed program was:" >&5 
    11112 sed 's/^/| /' conftest.$ac_ext >&5 
    11113  
    11114         ac_header_compiler=no 
    11115 fi 
    11116  
    11117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11119 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11120  
    11121 # Is the header present? 
    11122 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
    11123 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
    11124 cat >conftest.$ac_ext <<_ACEOF 
    11125 /* confdefs.h.  */ 
    11126 _ACEOF 
    11127 cat confdefs.h >>conftest.$ac_ext 
    11128 cat >>conftest.$ac_ext <<_ACEOF 
    11129 /* end confdefs.h.  */ 
    11130 #include <machine/soundcard.h> 
    11131 _ACEOF 
    11132 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11133 case "(($ac_try" in 
    11134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11135   *) ac_try_echo=$ac_try;; 
    11136 esac 
    11137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11138   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11139   ac_status=$? 
    11140   grep -v '^ *+' conftest.er1 >conftest.err 
    11141   rm -f conftest.er1 
    11142   cat conftest.err >&5 
    11143   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11144   (exit $ac_status); } >/dev/null && { 
    11145          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11146          test ! -s conftest.err 
    11147        }; then 
    11148   ac_header_preproc=yes 
    11149 else 
    11150   echo "$as_me: failed program was:" >&5 
    11151 sed 's/^/| /' conftest.$ac_ext >&5 
    11152  
    11153   ac_header_preproc=no 
    11154 fi 
    11155  
    11156 rm -f conftest.err conftest.$ac_ext 
    11157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11158 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11159  
    11160 # So?  What about this header? 
    11161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11162   yes:no: ) 
    11163     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11164 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11165     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
    11166 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
    11167     ac_header_preproc=yes 
    11168     ;; 
    11169   no:yes:* ) 
    11170     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
    11171 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
    11172     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
    11173 echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11174     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
    11175 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
    11176     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11177 echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11178     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
    11179 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11180     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
    11181 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11182  
    11183     ;; 
    11184 esac 
    11185 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11186 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11187 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11188   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11189 else 
    11190   ac_cv_header_machine_soundcard_h=$ac_header_preproc 
    11191 fi 
    11192 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11193 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11194  
    11195 fi 
    11196 if test $ac_cv_header_machine_soundcard_h = yes; then 
     5532ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
     5533if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
    111975534  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    111985535fi 
     
    112125549  arm-apple-darwin*) 
    112135550        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" 
    11214         { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
    11215 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
     5551        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
     5552$as_echo "Checking sound device backend... AudioUnit" >&6; } 
    112165553        ;; 
    112175554  *darwin*) 
     
    112215558                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    112225559                ac_pjmedia_snd=pa_old_darwinos 
    11223                 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
    11224 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
     5560                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
     5561$as_echo "Checking sound device backend... old coreaudio" >&6; } 
    112255562        else 
    112265563                ac_pjmedia_snd=pa_darwinos 
    11227                 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    11228 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
     5564                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
     5565$as_echo "Checking sound device backend... coreaudio" >&6; } 
    112295566        fi 
    112305567        ;; 
    112315568  *cygwin* | *mingw*) 
    112325569        ac_pjmedia_snd=pa_win32 
    11233         { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    11234 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
     5570        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
     5571$as_echo "Checking sound device backend... win32 sound" >&6; } 
    112355572        ;; 
    112365573  *rtems*) 
    112375574        ac_pjmedia_snd=null 
    11238         { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    11239 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
     5575        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
     5576$as_echo "Checking sound device backend... null sound" >&6; } 
    112405577        ;; 
    112415578  *) 
    112425579                ac_pjmedia_snd=pa_unix 
    11243         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11244   { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11245 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11246 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11247   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11248 fi 
    11249 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11250 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11251 else 
    11252   # Is the header compilable? 
    11253 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    11254 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
    11255 cat >conftest.$ac_ext <<_ACEOF 
    11256 /* confdefs.h.  */ 
    11257 _ACEOF 
    11258 cat confdefs.h >>conftest.$ac_ext 
    11259 cat >>conftest.$ac_ext <<_ACEOF 
    11260 /* end confdefs.h.  */ 
    11261 $ac_includes_default 
    11262 #include <alsa/version.h> 
    11263 _ACEOF 
    11264 rm -f conftest.$ac_objext 
    11265 if { (ac_try="$ac_compile" 
    11266 case "(($ac_try" in 
    11267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11268   *) ac_try_echo=$ac_try;; 
    11269 esac 
    11270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11271   (eval "$ac_compile") 2>conftest.er1 
    11272   ac_status=$? 
    11273   grep -v '^ *+' conftest.er1 >conftest.err 
    11274   rm -f conftest.er1 
    11275   cat conftest.err >&5 
    11276   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11277   (exit $ac_status); } && { 
    11278          test -z "$ac_c_werror_flag" || 
    11279          test ! -s conftest.err 
    11280        } && test -s conftest.$ac_objext; then 
    11281   ac_header_compiler=yes 
    11282 else 
    11283   echo "$as_me: failed program was:" >&5 
    11284 sed 's/^/| /' conftest.$ac_ext >&5 
    11285  
    11286         ac_header_compiler=no 
    11287 fi 
    11288  
    11289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11290 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11291 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11292  
    11293 # Is the header present? 
    11294 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    11295 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
    11296 cat >conftest.$ac_ext <<_ACEOF 
    11297 /* confdefs.h.  */ 
    11298 _ACEOF 
    11299 cat confdefs.h >>conftest.$ac_ext 
    11300 cat >>conftest.$ac_ext <<_ACEOF 
    11301 /* end confdefs.h.  */ 
    11302 #include <alsa/version.h> 
    11303 _ACEOF 
    11304 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11305 case "(($ac_try" in 
    11306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11307   *) ac_try_echo=$ac_try;; 
    11308 esac 
    11309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11310   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11311   ac_status=$? 
    11312   grep -v '^ *+' conftest.er1 >conftest.err 
    11313   rm -f conftest.er1 
    11314   cat conftest.err >&5 
    11315   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11316   (exit $ac_status); } >/dev/null && { 
    11317          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11318          test ! -s conftest.err 
    11319        }; then 
    11320   ac_header_preproc=yes 
    11321 else 
    11322   echo "$as_me: failed program was:" >&5 
    11323 sed 's/^/| /' conftest.$ac_ext >&5 
    11324  
    11325   ac_header_preproc=no 
    11326 fi 
    11327  
    11328 rm -f conftest.err conftest.$ac_ext 
    11329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11330 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11331  
    11332 # So?  What about this header? 
    11333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11334   yes:no: ) 
    11335     { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11336 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11337     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    11338 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    11339     ac_header_preproc=yes 
    11340     ;; 
    11341   no:yes:* ) 
    11342     { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    11343 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    11344     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    11345 echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    11346     { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    11347 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    11348     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11349 echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11350     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    11351 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    11352     { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    11353 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    11354  
    11355     ;; 
    11356 esac 
    11357 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11358 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11359 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11360   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11361 else 
    11362   ac_cv_header_alsa_version_h=$ac_header_preproc 
    11363 fi 
    11364 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11365 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11366  
    11367 fi 
    11368 if test $ac_cv_header_alsa_version_h = yes; then 
     5580        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
     5581if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
    113695582  ac_pa_use_alsa=1 
    113705583 
     
    113775590 
    113785591 
    11379         { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    11380 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
     5592        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
     5593$as_echo "Checking sound device backend... unix" >&6; } 
    113815594 
    113825595                ac_pa_use_oss=1 
    113835596 
    113845597        # Check whether --enable-oss was given. 
    11385 if test "${enable_oss+set}" = set; then 
     5598if test "${enable_oss+set}" = set; then : 
    113865599  enableval=$enable_oss; 
    113875600                        if test "$enable_oss" = "no"; then 
    113885601                         ac_pa_use_oss=0 
    11389                          { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
    11390 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
     5602                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
     5603$as_echo "Checking if OSS audio is disabled... yes" >&6; } 
    113915604                        fi 
    113925605 
     
    114075620        ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 
    114085621        LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
    11409         { echo "$as_me:$LINENO: result: Checking video device backend... AVFoundation" >&5 
    11410 echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; } 
     5622        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking video device backend... AVFoundation" >&5 
     5623$as_echo "Checking video device backend... AVFoundation" >&6; } 
    114115624        ;; 
    114125625  *darwin*) 
     
    114165629        SAVED_LIBS="$LIBS" 
    114175630        LIBS="-framework QTKit" 
    11418         cat >conftest.$ac_ext <<_ACEOF 
    11419 /* confdefs.h.  */ 
    11420 _ACEOF 
    11421 cat confdefs.h >>conftest.$ac_ext 
    11422 cat >>conftest.$ac_ext <<_ACEOF 
     5631        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    114235632/* end confdefs.h.  */ 
    114245633 
     
    114315640} 
    114325641_ACEOF 
    11433 rm -f conftest.$ac_objext conftest$ac_exeext 
    11434 if { (ac_try="$ac_link" 
    11435 case "(($ac_try" in 
    11436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11437   *) ac_try_echo=$ac_try;; 
    11438 esac 
    11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11440   (eval "$ac_link") 2>conftest.er1 
    11441   ac_status=$? 
    11442   grep -v '^ *+' conftest.er1 >conftest.err 
    11443   rm -f conftest.er1 
    11444   cat conftest.err >&5 
    11445   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11446   (exit $ac_status); } && { 
    11447          test -z "$ac_c_werror_flag" || 
    11448          test ! -s conftest.err 
    11449        } && test -s conftest$ac_exeext && 
    11450        $as_test_x conftest$ac_exeext; then 
     5642if ac_fn_c_try_link "$LINENO"; then : 
    114515643  ac_pjmedia_video_has_qt=yes 
    114525644else 
    11453   echo "$as_me: failed program was:" >&5 
    11454 sed 's/^/| /' conftest.$ac_ext >&5 
    11455  
    11456         ac_pjmedia_video_has_qt=no 
    11457 fi 
    11458  
    11459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11460       conftest$ac_exeext conftest.$ac_ext 
     5645  ac_pjmedia_video_has_qt=no 
     5646fi 
     5647rm -f core conftest.err conftest.$ac_objext \ 
     5648    conftest$ac_exeext conftest.$ac_ext 
    114615649        LIBS="$SAVED_LIBS" 
    114625650        if test "$ac_pjmedia_video_has_qt" = "yes"; then 
    114635651          ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 
    114645652          LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 
    11465           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 
    11466 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 
     5653          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 
     5654$as_echo "Checking if QTKit framework is available... yes" >&6; } 
    114675655        else 
    11468           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 
    11469 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 
     5656          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 
     5657$as_echo "Checking if QTKit framework is available... no" >&6; } 
    114705658        fi 
    114715659        ;; 
     
    114745662 
    114755663# Check whether --enable-ext_sound was given. 
    11476 if test "${enable_ext_sound+set}" = set; then 
     5664if test "${enable_ext_sound+set}" = set; then : 
    114775665  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    114785666                ac_pjmedia_snd=external 
    11479                 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
    11480 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
     5667                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
     5668$as_echo "Checking if external sound is set... yes" >&6; } 
    114815669               fi 
    114825670 
     
    114865674 
    114875675# Check whether --enable-small-filter was given. 
    11488 if test "${enable_small_filter+set}" = set; then 
     5676if test "${enable_small_filter+set}" = set; then : 
    114895677  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    114905678                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    11491                 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    11492 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
     5679                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
     5680$as_echo "Checking if small filter is disabled... yes" >&6; } 
    114935681               fi 
    114945682else 
    11495   { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    11496 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
     5683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
     5684$as_echo "Checking if small filter is disabled... no" >&6; } 
    114975685fi 
    114985686 
     
    115005688 
    115015689# Check whether --enable-large-filter was given. 
    11502 if test "${enable_large_filter+set}" = set; then 
     5690if test "${enable_large_filter+set}" = set; then : 
    115035691  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    115045692                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    11505                 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    11506 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
     5693                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
     5694$as_echo "Checking if large filter is disabled... yes" >&6; } 
    115075695               fi 
    115085696else 
    11509   { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    11510 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
     5697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
     5698$as_echo "Checking if large filter is disabled... no" >&6; } 
    115115699fi 
    115125700 
     
    115145702 
    115155703# Check whether --enable-speex-aec was given. 
    11516 if test "${enable_speex_aec+set}" = set; then 
     5704if test "${enable_speex_aec+set}" = set; then : 
    115175705  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    115185706                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    11519                 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    11520 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
     5707                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
     5708$as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
    115215709               fi 
    115225710else 
    11523   { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    11524 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
     5711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
     5712$as_echo "Checking if Speex AEC is disabled...no" >&6; } 
    115255713fi 
    115265714 
     
    115285716 
    115295717# Check whether --enable-g711-codec was given. 
    11530 if test "${enable_g711_codec+set}" = set; then 
     5718if test "${enable_g711_codec+set}" = set; then : 
    115315719  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    115325720                ac_no_g711_codec=1 
    11533                 cat >>confdefs.h <<\_ACEOF 
    11534 #define PJMEDIA_HAS_G711_CODEC 0 
    11535 _ACEOF 
    11536  
    11537                 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    11538 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
     5721                $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
     5722 
     5723                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
     5724$as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
    115395725               fi 
    115405726else 
    11541   { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    11542 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
     5727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
     5728$as_echo "Checking if G.711 codec is disabled...no" >&6; } 
    115435729fi 
    115445730 
     
    115475733 
    115485734# Check whether --enable-l16-codec was given. 
    11549 if test "${enable_l16_codec+set}" = set; then 
     5735if test "${enable_l16_codec+set}" = set; then : 
    115505736  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    115515737                ac_no_l16_codec=1 
    11552                 cat >>confdefs.h <<\_ACEOF 
    11553 #define PJMEDIA_HAS_L16_CODEC 0 
    11554 _ACEOF 
    11555  
    11556                 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    11557 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
     5738                $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
     5739 
     5740                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
     5741$as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
    115585742               fi 
    115595743else 
    11560   { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
    11561 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
     5744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
     5745$as_echo "Checking if L16 codec is disabled...no" >&6; } 
    115625746fi 
    115635747 
     
    115665750 
    115675751# Check whether --enable-gsm-codec was given. 
    11568 if test "${enable_gsm_codec+set}" = set; then 
     5752if test "${enable_gsm_codec+set}" = set; then : 
    115695753  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    115705754                ac_no_gsm_codec=1 
    11571                 cat >>confdefs.h <<\_ACEOF 
    11572 #define PJMEDIA_HAS_GSM_CODEC 0 
    11573 _ACEOF 
    11574  
    11575                 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    11576 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
     5755                $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
     5756 
     5757                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
     5758$as_echo "Checking if GSM codec is disabled...yes" >&6; } 
    115775759               fi 
    115785760else 
    11579   { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    11580 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
     5761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
     5762$as_echo "Checking if GSM codec is disabled...no" >&6; } 
    115815763fi 
    115825764 
     
    115845766 
    115855767# Check whether --enable-g722-codec was given. 
    11586 if test "${enable_g722_codec+set}" = set; then 
     5768if test "${enable_g722_codec+set}" = set; then : 
    115875769  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    115885770                ac_no_g722_codec=1 
    11589                 cat >>confdefs.h <<\_ACEOF 
    11590 #define PJMEDIA_HAS_G722_CODEC 0 
    11591 _ACEOF 
    11592  
    11593                 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
    11594 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
     5771                $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
     5772 
     5773                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
     5774$as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
    115955775               fi 
    115965776else 
    11597   { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
    11598 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
     5777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
     5778$as_echo "Checking if G.722 codec is disabled...no" >&6; } 
    115995779fi 
    116005780 
     
    116025782 
    116035783# Check whether --enable-g7221-codec was given. 
    11604 if test "${enable_g7221_codec+set}" = set; then 
     5784if test "${enable_g7221_codec+set}" = set; then : 
    116055785  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    116065786                ac_no_g7221_codec=1 
    11607                 cat >>confdefs.h <<\_ACEOF 
    11608 #define PJMEDIA_HAS_G7221_CODEC 0 
    11609 _ACEOF 
    11610  
    11611                 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
    11612 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
     5787                $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
     5788 
     5789                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
     5790$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
    116135791               fi 
    116145792else 
    11615   { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
    11616 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
     5793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
     5794$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
    116175795fi 
    116185796 
     
    116205798 
    116215799# Check whether --enable-speex-codec was given. 
    11622 if test "${enable_speex_codec+set}" = set; then 
     5800if test "${enable_speex_codec+set}" = set; then : 
    116235801  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    116245802                ac_no_speex_codec=1 
    11625                 cat >>confdefs.h <<\_ACEOF 
    11626 #define PJMEDIA_HAS_SPEEX_CODEC 0 
    11627 _ACEOF 
    11628  
    11629                 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    11630 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
     5803                $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
     5804 
     5805                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
     5806$as_echo "Checking if Speex codec is disabled...yes" >&6; } 
    116315807               fi 
    116325808else 
    11633   { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    11634 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
     5809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
     5810$as_echo "Checking if Speex codec is disabled...no" >&6; } 
    116355811fi 
    116365812 
     
    116385814 
    116395815# Check whether --enable-ilbc-codec was given. 
    11640 if test "${enable_ilbc_codec+set}" = set; then 
     5816if test "${enable_ilbc_codec+set}" = set; then : 
    116415817  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    116425818                ac_no_ilbc_codec=1 
    11643                 cat >>confdefs.h <<\_ACEOF 
    11644 #define PJMEDIA_HAS_ILBC_CODEC 0 
    11645 _ACEOF 
    11646  
    11647                 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    11648 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
     5819                $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
     5820 
     5821                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
     5822$as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
    116495823               fi 
    116505824else 
    11651   { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    11652 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
     5825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
     5826$as_echo "Checking if iLBC codec is disabled...no" >&6; } 
    116535827fi 
    116545828 
    116555829 
    116565830# Check whether --enable-libsamplerate was given. 
    11657 if test "${enable_libsamplerate+set}" = set; then 
    11658   enableval=$enable_libsamplerate; 
    11659 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
    11660 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
    11661 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
    11662   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5831if test "${enable_libsamplerate+set}" = set; then : 
     5832  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
     5833$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
     5834if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5835  $as_echo_n "(cached) " >&6 
    116635836else 
    116645837  ac_check_lib_save_LIBS=$LIBS 
    116655838LIBS="-lsamplerate  $LIBS" 
    11666 cat >conftest.$ac_ext <<_ACEOF 
    11667 /* confdefs.h.  */ 
    11668 _ACEOF 
    11669 cat confdefs.h >>conftest.$ac_ext 
    11670 cat >>conftest.$ac_ext <<_ACEOF 
     5839cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    116715840/* end confdefs.h.  */ 
    116725841 
     
    116865855} 
    116875856_ACEOF 
    11688 rm -f conftest.$ac_objext conftest$ac_exeext 
    11689 if { (ac_try="$ac_link" 
    11690 case "(($ac_try" in 
    11691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11692   *) ac_try_echo=$ac_try;; 
    11693 esac 
    11694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11695   (eval "$ac_link") 2>conftest.er1 
    11696   ac_status=$? 
    11697   grep -v '^ *+' conftest.er1 >conftest.err 
    11698   rm -f conftest.er1 
    11699   cat conftest.err >&5 
    11700   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11701   (exit $ac_status); } && { 
    11702          test -z "$ac_c_werror_flag" || 
    11703          test ! -s conftest.err 
    11704        } && test -s conftest$ac_exeext && 
    11705        $as_test_x conftest$ac_exeext; then 
     5857if ac_fn_c_try_link "$LINENO"; then : 
    117065858  ac_cv_lib_samplerate_src_new=yes 
    117075859else 
    11708   echo "$as_me: failed program was:" >&5 
    11709 sed 's/^/| /' conftest.$ac_ext >&5 
    11710  
    11711         ac_cv_lib_samplerate_src_new=no 
    11712 fi 
    11713  
    11714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11715       conftest$ac_exeext conftest.$ac_ext 
     5860  ac_cv_lib_samplerate_src_new=no 
     5861fi 
     5862rm -f core conftest.err conftest.$ac_objext \ 
     5863    conftest$ac_exeext conftest.$ac_ext 
    117165864LIBS=$ac_check_lib_save_LIBS 
    117175865fi 
    11718 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
    11719 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
    11720 if test $ac_cv_lib_samplerate_src_new = yes; then 
     5866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
     5867$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
     5868if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
    117215869  cat >>confdefs.h <<_ACEOF 
    117225870#define HAVE_LIBSAMPLERATE 1 
     
    117285876 
    117295877else 
    11730   { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
    11731 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
     5878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
     5879$as_echo "Skipping libsamplerate detection" >&6; } 
    117325880 
    117335881fi 
     
    117355883 
    117365884# Check whether --enable-sdl was given. 
    11737 if test "${enable_sdl+set}" = set; then 
     5885if test "${enable_sdl+set}" = set; then : 
    117385886  enableval=$enable_sdl; 
    117395887                if test "$enable_sdl" = "no"; then 
    11740                   { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 
    11741 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 
     5888                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 
     5889$as_echo "Checking if SDL is disabled... yes" >&6; } 
    117425890                fi 
    117435891 
    117445892else 
    117455893 
    11746                   { echo "$as_me:$LINENO: checking SDL availability.." >&5 
    11747 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 
     5894                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 
     5895$as_echo_n "checking SDL availability..... " >&6; } 
    117485896                  if sdl-config --version; then 
    117495897 
     
    117605908 
    117615909# Check whether --enable-ffmpeg was given. 
    11762 if test "${enable_ffmpeg+set}" = set; then 
     5910if test "${enable_ffmpeg+set}" = set; then : 
    117635911  enableval=$enable_ffmpeg; 
    117645912                ac_has_ffmpeg=0 
    117655913 
    117665914                if test "$enable_ffmpeg" = "no"; then 
    11767                         { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 
    11768 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 
     5915                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 
     5916$as_echo "Checking if ffmpeg is disabled... yes" >&6; } 
    117695917                fi 
    117705918 
     
    117745922 
    117755923 
    11776                 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 
    11777 echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 
    11778 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 
    11779   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5924                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
     5925$as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
     5926if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
     5927  $as_echo_n "(cached) " >&6 
    117805928else 
    117815929  ac_check_lib_save_LIBS=$LIBS 
    117825930LIBS="-lavdevice  $LIBS" 
    11783 cat >conftest.$ac_ext <<_ACEOF 
    11784 /* confdefs.h.  */ 
    11785 _ACEOF 
    11786 cat confdefs.h >>conftest.$ac_ext 
    11787 cat >>conftest.$ac_ext <<_ACEOF 
     5931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    117885932/* end confdefs.h.  */ 
    117895933 
     
    118035947} 
    118045948_ACEOF 
    11805 rm -f conftest.$ac_objext conftest$ac_exeext 
    11806 if { (ac_try="$ac_link" 
    11807 case "(($ac_try" in 
    11808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11809   *) ac_try_echo=$ac_try;; 
    11810 esac 
    11811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11812   (eval "$ac_link") 2>conftest.er1 
    11813   ac_status=$? 
    11814   grep -v '^ *+' conftest.er1 >conftest.err 
    11815   rm -f conftest.er1 
    11816   cat conftest.err >&5 
    11817   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11818   (exit $ac_status); } && { 
    11819          test -z "$ac_c_werror_flag" || 
    11820          test ! -s conftest.err 
    11821        } && test -s conftest$ac_exeext && 
    11822        $as_test_x conftest$ac_exeext; then 
     5949if ac_fn_c_try_link "$LINENO"; then : 
    118235950  ac_cv_lib_avdevice_avdevice_version=yes 
    118245951else 
    11825   echo "$as_me: failed program was:" >&5 
    11826 sed 's/^/| /' conftest.$ac_ext >&5 
    11827  
    11828         ac_cv_lib_avdevice_avdevice_version=no 
    11829 fi 
    11830  
    11831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11832       conftest$ac_exeext conftest.$ac_ext 
     5952  ac_cv_lib_avdevice_avdevice_version=no 
     5953fi 
     5954rm -f core conftest.err conftest.$ac_objext \ 
     5955    conftest$ac_exeext conftest.$ac_ext 
    118335956LIBS=$ac_check_lib_save_LIBS 
    118345957fi 
    11835 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    11836 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    11837 if test $ac_cv_lib_avdevice_avdevice_version = yes; then 
     5958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
     5959$as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
     5960if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
    118385961  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    118395962                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    118425965fi 
    118435966 
    11844                 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 
    11845 echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 
    11846 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 
    11847   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5967                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
     5968$as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
     5969if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
     5970  $as_echo_n "(cached) " >&6 
    118485971else 
    118495972  ac_check_lib_save_LIBS=$LIBS 
    118505973LIBS="-lavformat  $LIBS" 
    11851 cat >conftest.$ac_ext <<_ACEOF 
    11852 /* confdefs.h.  */ 
    11853 _ACEOF 
    11854 cat confdefs.h >>conftest.$ac_ext 
    11855 cat >>conftest.$ac_ext <<_ACEOF 
     5974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    118565975/* end confdefs.h.  */ 
    118575976 
     
    118715990} 
    118725991_ACEOF 
    11873 rm -f conftest.$ac_objext conftest$ac_exeext 
    11874 if { (ac_try="$ac_link" 
    11875 case "(($ac_try" in 
    11876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11877   *) ac_try_echo=$ac_try;; 
    11878 esac 
    11879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11880   (eval "$ac_link") 2>conftest.er1 
    11881   ac_status=$? 
    11882   grep -v '^ *+' conftest.er1 >conftest.err 
    11883   rm -f conftest.er1 
    11884   cat conftest.err >&5 
    11885   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11886   (exit $ac_status); } && { 
    11887          test -z "$ac_c_werror_flag" || 
    11888          test ! -s conftest.err 
    11889        } && test -s conftest$ac_exeext && 
    11890        $as_test_x conftest$ac_exeext; then 
     5992if ac_fn_c_try_link "$LINENO"; then : 
    118915993  ac_cv_lib_avformat_av_register_all=yes 
    118925994else 
    11893   echo "$as_me: failed program was:" >&5 
    11894 sed 's/^/| /' conftest.$ac_ext >&5 
    11895  
    11896         ac_cv_lib_avformat_av_register_all=no 
    11897 fi 
    11898  
    11899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11900       conftest$ac_exeext conftest.$ac_ext 
     5995  ac_cv_lib_avformat_av_register_all=no 
     5996fi 
     5997rm -f core conftest.err conftest.$ac_objext \ 
     5998    conftest$ac_exeext conftest.$ac_ext 
    119015999LIBS=$ac_check_lib_save_LIBS 
    119026000fi 
    11903 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 
    11904 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 
    11905 if test $ac_cv_lib_avformat_av_register_all = yes; then 
     6001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
     6002$as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
     6003if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
    119066004  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    119076005                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    119106008fi 
    119116009 
    11912                 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 
    11913 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 
    11914 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 
    11915   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6010                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
     6011$as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
     6012if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
     6013  $as_echo_n "(cached) " >&6 
    119166014else 
    119176015  ac_check_lib_save_LIBS=$LIBS 
    119186016LIBS="-lavcodec  $LIBS" 
    11919 cat >conftest.$ac_ext <<_ACEOF 
    11920 /* confdefs.h.  */ 
    11921 _ACEOF 
    11922 cat confdefs.h >>conftest.$ac_ext 
    11923 cat >>conftest.$ac_ext <<_ACEOF 
     6017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    119246018/* end confdefs.h.  */ 
    119256019 
     
    119396033} 
    119406034_ACEOF 
    11941 rm -f conftest.$ac_objext conftest$ac_exeext 
    11942 if { (ac_try="$ac_link" 
    11943 case "(($ac_try" in 
    11944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11945   *) ac_try_echo=$ac_try;; 
    11946 esac 
    11947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11948   (eval "$ac_link") 2>conftest.er1 
    11949   ac_status=$? 
    11950   grep -v '^ *+' conftest.er1 >conftest.err 
    11951   rm -f conftest.er1 
    11952   cat conftest.err >&5 
    11953   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11954   (exit $ac_status); } && { 
    11955          test -z "$ac_c_werror_flag" || 
    11956          test ! -s conftest.err 
    11957        } && test -s conftest$ac_exeext && 
    11958        $as_test_x conftest$ac_exeext; then 
     6035if ac_fn_c_try_link "$LINENO"; then : 
    119596036  ac_cv_lib_avcodec_avcodec_init=yes 
    119606037else 
    11961   echo "$as_me: failed program was:" >&5 
    11962 sed 's/^/| /' conftest.$ac_ext >&5 
    11963  
    11964         ac_cv_lib_avcodec_avcodec_init=no 
    11965 fi 
    11966  
    11967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11968       conftest$ac_exeext conftest.$ac_ext 
     6038  ac_cv_lib_avcodec_avcodec_init=no 
     6039fi 
     6040rm -f core conftest.err conftest.$ac_objext \ 
     6041    conftest$ac_exeext conftest.$ac_ext 
    119696042LIBS=$ac_check_lib_save_LIBS 
    119706043fi 
    11971 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    11972 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    11973 if test $ac_cv_lib_avcodec_avcodec_init = yes; then 
     6044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
     6045$as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
     6046if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
    119746047  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    119756048                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    119786051fi 
    119796052 
    11980                 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 
    11981 echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 
    11982 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 
    11983   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6053                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
     6054$as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
     6055if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
     6056  $as_echo_n "(cached) " >&6 
    119846057else 
    119856058  ac_check_lib_save_LIBS=$LIBS 
    119866059LIBS="-lswscale  $LIBS" 
    11987 cat >conftest.$ac_ext <<_ACEOF 
    11988 /* confdefs.h.  */ 
    11989 _ACEOF 
    11990 cat confdefs.h >>conftest.$ac_ext 
    11991 cat >>conftest.$ac_ext <<_ACEOF 
     6060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    119926061/* end confdefs.h.  */ 
    119936062 
     
    120076076} 
    120086077_ACEOF 
    12009 rm -f conftest.$ac_objext conftest$ac_exeext 
    12010 if { (ac_try="$ac_link" 
    12011 case "(($ac_try" in 
    12012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12013   *) ac_try_echo=$ac_try;; 
    12014 esac 
    12015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12016   (eval "$ac_link") 2>conftest.er1 
    12017   ac_status=$? 
    12018   grep -v '^ *+' conftest.er1 >conftest.err 
    12019   rm -f conftest.er1 
    12020   cat conftest.err >&5 
    12021   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12022   (exit $ac_status); } && { 
    12023          test -z "$ac_c_werror_flag" || 
    12024          test ! -s conftest.err 
    12025        } && test -s conftest$ac_exeext && 
    12026        $as_test_x conftest$ac_exeext; then 
     6078if ac_fn_c_try_link "$LINENO"; then : 
    120276079  ac_cv_lib_swscale_sws_scale=yes 
    120286080else 
    12029   echo "$as_me: failed program was:" >&5 
    12030 sed 's/^/| /' conftest.$ac_ext >&5 
    12031  
    12032         ac_cv_lib_swscale_sws_scale=no 
    12033 fi 
    12034  
    12035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12036       conftest$ac_exeext conftest.$ac_ext 
     6081  ac_cv_lib_swscale_sws_scale=no 
     6082fi 
     6083rm -f core conftest.err conftest.$ac_objext \ 
     6084    conftest$ac_exeext conftest.$ac_ext 
    120376085LIBS=$ac_check_lib_save_LIBS 
    120386086fi 
    12039 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 
    12040 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 
    12041 if test $ac_cv_lib_swscale_sws_scale = yes; then 
     6087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
     6088$as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
     6089if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
    120426090  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    120436091                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    120466094fi 
    120476095 
    12048                 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 
    12049 echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 
    12050 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 
    12051   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6096                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
     6097$as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
     6098if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
     6099  $as_echo_n "(cached) " >&6 
    120526100else 
    120536101  ac_check_lib_save_LIBS=$LIBS 
    120546102LIBS="-lavutil  $LIBS" 
    12055 cat >conftest.$ac_ext <<_ACEOF 
    12056 /* confdefs.h.  */ 
    12057 _ACEOF 
    12058 cat confdefs.h >>conftest.$ac_ext 
    12059 cat >>conftest.$ac_ext <<_ACEOF 
     6103cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    120606104/* end confdefs.h.  */ 
    120616105 
     
    120756119} 
    120766120_ACEOF 
    12077 rm -f conftest.$ac_objext conftest$ac_exeext 
    12078 if { (ac_try="$ac_link" 
    12079 case "(($ac_try" in 
    12080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12081   *) ac_try_echo=$ac_try;; 
    12082 esac 
    12083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12084   (eval "$ac_link") 2>conftest.er1 
    12085   ac_status=$? 
    12086   grep -v '^ *+' conftest.er1 >conftest.err 
    12087   rm -f conftest.er1 
    12088   cat conftest.err >&5 
    12089   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12090   (exit $ac_status); } && { 
    12091          test -z "$ac_c_werror_flag" || 
    12092          test ! -s conftest.err 
    12093        } && test -s conftest$ac_exeext && 
    12094        $as_test_x conftest$ac_exeext; then 
     6121if ac_fn_c_try_link "$LINENO"; then : 
    120956122  ac_cv_lib_avutil_av_malloc=yes 
    120966123else 
    12097   echo "$as_me: failed program was:" >&5 
    12098 sed 's/^/| /' conftest.$ac_ext >&5 
    12099  
    12100         ac_cv_lib_avutil_av_malloc=no 
    12101 fi 
    12102  
    12103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12104       conftest$ac_exeext conftest.$ac_ext 
     6124  ac_cv_lib_avutil_av_malloc=no 
     6125fi 
     6126rm -f core conftest.err conftest.$ac_objext \ 
     6127    conftest$ac_exeext conftest.$ac_ext 
    121056128LIBS=$ac_check_lib_save_LIBS 
    121066129fi 
    12107 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 
    12108 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 
    12109 if test $ac_cv_lib_avutil_av_malloc = yes; then 
     6130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
     6131$as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
     6132if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
    121106133  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    121116134                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    121146137fi 
    121156138 
    12116                 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 
    12117 echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 
    12118 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 
    12119   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6139                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
     6140$as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
     6141if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
     6142  $as_echo_n "(cached) " >&6 
    121206143else 
    121216144  ac_check_lib_save_LIBS=$LIBS 
    121226145LIBS="-lavcore  $LIBS" 
    12123 cat >conftest.$ac_ext <<_ACEOF 
    12124 /* confdefs.h.  */ 
    12125 _ACEOF 
    12126 cat confdefs.h >>conftest.$ac_ext 
    12127 cat >>conftest.$ac_ext <<_ACEOF 
     6146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    121286147/* end confdefs.h.  */ 
    121296148 
     
    121436162} 
    121446163_ACEOF 
    12145 rm -f conftest.$ac_objext conftest$ac_exeext 
    12146 if { (ac_try="$ac_link" 
    12147 case "(($ac_try" in 
    12148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12149   *) ac_try_echo=$ac_try;; 
    12150 esac 
    12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12152   (eval "$ac_link") 2>conftest.er1 
    12153   ac_status=$? 
    12154   grep -v '^ *+' conftest.er1 >conftest.err 
    12155   rm -f conftest.er1 
    12156   cat conftest.err >&5 
    12157   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12158   (exit $ac_status); } && { 
    12159          test -z "$ac_c_werror_flag" || 
    12160          test ! -s conftest.err 
    12161        } && test -s conftest$ac_exeext && 
    12162        $as_test_x conftest$ac_exeext; then 
     6164if ac_fn_c_try_link "$LINENO"; then : 
    121636165  ac_cv_lib_avcore_avcore_version=yes 
    121646166else 
    12165   echo "$as_me: failed program was:" >&5 
    12166 sed 's/^/| /' conftest.$ac_ext >&5 
    12167  
    12168         ac_cv_lib_avcore_avcore_version=no 
    12169 fi 
    12170  
    12171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12172       conftest$ac_exeext conftest.$ac_ext 
     6167  ac_cv_lib_avcore_avcore_version=no 
     6168fi 
     6169rm -f core conftest.err conftest.$ac_objext \ 
     6170    conftest$ac_exeext conftest.$ac_ext 
    121736171LIBS=$ac_check_lib_save_LIBS 
    121746172fi 
    12175 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 
    12176 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 
    12177 if test $ac_cv_lib_avcore_avcore_version = yes; then 
     6173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
     6174$as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
     6175if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
    121786176  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    121796177                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    121896187 
    121906188# Check whether --enable-v4l2 was given. 
    12191 if test "${enable_v4l2+set}" = set; then 
     6189if test "${enable_v4l2+set}" = set; then : 
    121926190  enableval=$enable_v4l2; 
    121936191                if test "$enable_v4l2" = "no"; then 
    12194                   { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 
    12195 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 
     6192                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 
     6193$as_echo "Checking if V4L2 is disabled... yes" >&6; } 
    121966194                fi 
    121976195 
     
    122006198 
    122016199 
    12202                 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 
    12203 echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 
    12204 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 
    12205   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6200                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
     6201$as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
     6202if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
     6203  $as_echo_n "(cached) " >&6 
    122066204else 
    122076205  ac_check_lib_save_LIBS=$LIBS 
    122086206LIBS="-lv4l2  $LIBS" 
    12209 cat >conftest.$ac_ext <<_ACEOF 
    12210 /* confdefs.h.  */ 
    12211 _ACEOF 
    12212 cat confdefs.h >>conftest.$ac_ext 
    12213 cat >>conftest.$ac_ext <<_ACEOF 
     6207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122146208/* end confdefs.h.  */ 
    122156209 
     
    122296223} 
    122306224_ACEOF 
    12231 rm -f conftest.$ac_objext conftest$ac_exeext 
    12232 if { (ac_try="$ac_link" 
    12233 case "(($ac_try" in 
    12234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12235   *) ac_try_echo=$ac_try;; 
    12236 esac 
    12237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12238   (eval "$ac_link") 2>conftest.er1 
    12239   ac_status=$? 
    12240   grep -v '^ *+' conftest.er1 >conftest.err 
    12241   rm -f conftest.er1 
    12242   cat conftest.err >&5 
    12243   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12244   (exit $ac_status); } && { 
    12245          test -z "$ac_c_werror_flag" || 
    12246          test ! -s conftest.err 
    12247        } && test -s conftest$ac_exeext && 
    12248        $as_test_x conftest$ac_exeext; then 
     6225if ac_fn_c_try_link "$LINENO"; then : 
    122496226  ac_cv_lib_v4l2_v4l2_open=yes 
    122506227else 
    12251   echo "$as_me: failed program was:" >&5 
    12252 sed 's/^/| /' conftest.$ac_ext >&5 
    12253  
    12254         ac_cv_lib_v4l2_v4l2_open=no 
    12255 fi 
    12256  
    12257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12258       conftest$ac_exeext conftest.$ac_ext 
     6228  ac_cv_lib_v4l2_v4l2_open=no 
     6229fi 
     6230rm -f core conftest.err conftest.$ac_objext \ 
     6231    conftest$ac_exeext conftest.$ac_ext 
    122596232LIBS=$ac_check_lib_save_LIBS 
    122606233fi 
    12261 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    12262 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    12263 if test $ac_cv_lib_v4l2_v4l2_open = yes; then 
     6234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
     6235$as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
     6236if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
    122646237  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    122656238                              ac_v4l2_ldflags="-lv4l2" 
     
    122746247 
    122756248# Check whether --enable-ipp was given. 
    12276 if test "${enable_ipp+set}" = set; then 
     6249if test "${enable_ipp+set}" = set; then : 
    122776250  enableval=$enable_ipp; 
    122786251else 
     
    122846257 
    122856258# Check whether --with-ipp was given. 
    12286 if test "${with_ipp+set}" = set; then 
     6259if test "${with_ipp+set}" = set; then : 
    122876260  withval=$with_ipp; 
    122886261else 
     
    122946267 
    122956268# Check whether --with-ipp-samples was given. 
    12296 if test "${with_ipp_samples+set}" = set; then 
     6269if test "${with_ipp_samples+set}" = set; then : 
    122976270  withval=$with_ipp_samples; 
    122986271else 
     
    123046277 
    123056278# Check whether --with-ipp-arch was given. 
    12306 if test "${with_ipp_arch+set}" = set; then 
     6279if test "${with_ipp_arch+set}" = set; then : 
    123076280  withval=$with_ipp_arch; 
    123086281else 
     
    123136286 
    123146287if test "x$enable_ipp" != "xno"; then 
    12315                 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
    12316 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
     6288                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
     6289$as_echo_n "checking Intel IPP location... " >&6; } 
    123176290 
    123186291    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    12319         { echo "$as_me:$LINENO: result: $with_ipp" >&5 
    12320 echo "${ECHO_T}$with_ipp" >&6; } 
     6292        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
     6293$as_echo "$with_ipp" >&6; } 
    123216294        IPPROOT=$with_ipp 
    123226295    elif test "x$IPPROOT" = "x"; then 
    123236296        if test -d /opt/intel/ipp; then 
    123246297            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    12325             { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
    12326 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
     6298            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
     6299$as_echo "autodetected in $IPPROOT" >&6; } 
    123276300        fi 
    123286301    else 
    12329         { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
    12330 echo "${ECHO_T}$IPPROOT" >&6; } 
     6302        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
     6303$as_echo "$IPPROOT" >&6; } 
    123316304    fi 
    123326305 
    123336306    if test "x$with_ipp_arch" != "xno"; then 
    123346307        IPP_SUFFIX=$with_ipp_arch 
    12335         { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    12336 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     6308        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     6309$as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    123376310    else 
    123386311        IPP_SUFFIX="" 
    12339         { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
    12340 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
     6312        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
     6313$as_echo "IPP arch suffix is set to empty" >&6; } 
    123416314    fi 
    123426315 
    123436316    if test x$IPPROOT = x; then 
    12344         { { echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&5 
    12345 echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&2;} 
    12346    { (exit 1); exit 1; }; } 
     6317        as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 
    123476318    elif test ! -d $IPPROOT; then 
    12348         { { echo "$as_me:$LINENO: error: not found" >&5 
    12349 echo "$as_me: error: not found" >&2;} 
    12350    { (exit 1); exit 1; }; } 
     6319        as_fn_error "not found" "$LINENO" 5 
    123516320    elif test ! -d $IPPROOT/include; then 
    12352         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12353 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12354    { (exit 1); exit 1; }; } 
     6321        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    123556322    else 
    123566323        # IPP directory looks okay. 
     
    123636330 
    123646331        IPP_CFLAGS="-I$IPPROOT/include" 
    12365         IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippsr${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
    12366  
     6332        IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
     6333 
     6334# 
    123676335        # Some differences between Mac OS X and Linux 
    123686336        case $target in 
     
    123716339                ;; 
    123726340            *) 
    12373                 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
    12374                 IPP_LIBS="$IPP_LIBS -lguide" 
     6341                # Find out where the libraries live. 
     6342                IPP7_ARCH="" 
     6343                if test -d $IPPROOT/lib/intel64; then 
     6344                   IPP7_ARCH="intel64" 
     6345                elif test -d $IPPROOT/lib/ia32; then 
     6346                   IPP7_ARCH="ia32" 
     6347                elif test -d $IPPROOT/lib/mic; then 
     6348                   IPP7_ARCH="mic" 
     6349                fi 
     6350 
     6351                if test -z "$IPP7_ARCH"; then 
     6352                   # IPP6 (and possibly below) 
     6353                   IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
     6354                   IPP_LIBS="$IPP_LIBS  -lippsr${IPP_SUFFIX} -lguide" 
     6355                else 
     6356                   # IPP7 
     6357                   if ! test -d $IPPROOT/../compiler; then 
     6358                        as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
     6359                   fi 
     6360                   IPP_CFLAGS="$IPP_CFLAGS" 
     6361                   IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" 
     6362                   IPP_LIBS="$IPP_LIBS -liomp5" 
     6363                fi 
    123756364                ;; 
    123766365        esac 
     
    123856374 
    123866375 
    12387         { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
    12388 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
    12389         cat >conftest.$ac_ext <<_ACEOF 
    12390 /* confdefs.h.  */ 
    12391 _ACEOF 
    12392 cat confdefs.h >>conftest.$ac_ext 
    12393 cat >>conftest.$ac_ext <<_ACEOF 
     6376        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
     6377$as_echo_n "checking Intel IPP usability... " >&6; } 
     6378        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    123946379/* end confdefs.h.  */ 
    123956380#include <ippcore.h> 
     
    124036388} 
    124046389_ACEOF 
    12405 rm -f conftest.$ac_objext conftest$ac_exeext 
    12406 if { (ac_try="$ac_link" 
    12407 case "(($ac_try" in 
    12408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12409   *) ac_try_echo=$ac_try;; 
    12410 esac 
    12411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12412   (eval "$ac_link") 2>conftest.er1 
    12413   ac_status=$? 
    12414   grep -v '^ *+' conftest.er1 >conftest.err 
    12415   rm -f conftest.er1 
    12416   cat conftest.err >&5 
    12417   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12418   (exit $ac_status); } && { 
    12419          test -z "$ac_c_werror_flag" || 
    12420          test ! -s conftest.err 
    12421        } && test -s conftest$ac_exeext && 
    12422        $as_test_x conftest$ac_exeext; then 
    12423   { echo "$as_me:$LINENO: result: ok" >&5 
    12424 echo "${ECHO_T}ok" >&6; } 
    12425 else 
    12426   echo "$as_me: failed program was:" >&5 
    12427 sed 's/^/| /' conftest.$ac_ext >&5 
    12428  
    12429         { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12430 See \`config.log' for more details." >&5 
    12431 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12432 See \`config.log' for more details." >&2;} 
    12433    { (exit run with --help for more info); exit run with --help for more info; }; } 
    12434 fi 
    12435  
    12436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12437       conftest$ac_exeext conftest.$ac_ext 
     6390if ac_fn_c_try_link "$LINENO"; then : 
     6391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6392$as_echo "ok" >&6; } 
     6393else 
     6394  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6395$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6396{ as_fn_set_status run with --help for more info 
     6397as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     6398See \`config.log' for more details." "$LINENO" 5; }; } 
     6399fi 
     6400rm -f core conftest.err conftest.$ac_objext \ 
     6401    conftest$ac_exeext conftest.$ac_ext 
    124386402 
    124396403        CFLAGS="$SAVED_CFLAGS" 
     
    124426406    fi 
    124436407 
    12444                 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
    12445 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
     6408                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
     6409$as_echo_n "checking Intel IPP samples location... " >&6; } 
    124466410 
    124476411    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    12448         { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
    12449 echo "${ECHO_T}$with_ipp_samples" >&6; } 
     6412        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
     6413$as_echo "$with_ipp_samples" >&6; } 
    124506414        IPPSAMPLES=$with_ipp_samples 
    124516415    elif test "x$IPPSAMPLES" = "x"; then 
    124526416        if test -d /opt/intel/ipp-samples; then 
    124536417            IPPSAMPLES=/opt/intel/ipp-samples 
    12454             { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
    12455 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
     6418            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
     6419$as_echo "autodetected in $IPPSAMPLES" >&6; } 
    124566420        fi 
    124576421    else 
    12458         { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
    12459 echo "${ECHO_T}$IPPSAMPLES" >&6; } 
     6422        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
     6423$as_echo "$IPPSAMPLES" >&6; } 
    124606424    fi 
    124616425 
    124626426    if test x$IPPSAMPLES = x; then 
    12463         { { echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&5 
    12464 echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&2;} 
    12465    { (exit 1); exit 1; }; } 
     6427        as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 5 
    124666428    elif test ! -d $IPPSAMPLES; then 
    12467         { { echo "$as_me:$LINENO: error: not found" >&5 
    12468 echo "$as_me: error: not found" >&2;} 
    12469    { (exit 1); exit 1; }; } 
     6429        as_fn_error "not found" "$LINENO" 5 
    124706430    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    12471         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12472 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12473    { (exit 1); exit 1; }; } 
     6431        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    124746432    else 
    124756433        # Remove trailing backslash 
     
    124776435 
    124786436        # Guess the libusc.a/libspeech.a build location 
    12479         { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
    12480 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
     6437        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
     6438$as_echo_n "checking Intel IPP USC build location... " >&6; } 
    124816439        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    124826440            IPPVER=5 
     
    124916449                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    124926450            else 
    12493                 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12494 See \`config.log' for more details." >&5 
    12495 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12496 See \`config.log' for more details." >&2;} 
    12497    { (exit 1); exit 1; }; } 
     6451                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6452$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6453as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     6454See \`config.log' for more details." "$LINENO" 5; } 
    124986455            fi 
    124996456        else 
    12500             { { echo "$as_me:$LINENO: error: unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
    12501 See \`config.log' for more details." >&5 
    12502 echo "$as_me: error: unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
    12503 See \`config.log' for more details." >&2;} 
    12504    { (exit 1); exit 1; }; } 
     6457            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6458$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6459as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     6460See \`config.log' for more details." "$LINENO" 5; } 
    125056461        fi 
    125066462 
    125076463        # Test the directory 
    125086464        if test ! -d $IPPSAMP_DIR; then 
    12509             { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12510 See \`config.log' for more details." >&5 
    12511 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12512 See \`config.log' for more details." >&2;} 
    12513    { (exit 1); exit 1; }; } 
     6465            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6467as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     6468See \`config.log' for more details." "$LINENO" 5; } 
    125146469            exit 1; 
    125156470        fi 
     
    125226477            IPPSAMP_LDLIBS="-lspeech" 
    125236478        else 
    12524             { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
    12525 See \`config.log' for more details." >&5 
    12526 echo "$as_me: error: bug in this script: unsupported IPP version 
    12527 See \`config.log' for more details." >&2;} 
    12528    { (exit 1); exit 1; }; } 
     6479            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6481as_fn_error "bug in this script: unsupported IPP version 
     6482See \`config.log' for more details." "$LINENO" 5; } 
    125296483        fi 
    125306484 
    125316485        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    12532             { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12533 See \`config.log' for more details." >&5 
    12534 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12535 See \`config.log' for more details." >&2;} 
    12536    { (exit 1); exit 1; }; } 
     6486            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6487$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6488as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     6489See \`config.log' for more details." "$LINENO" 5; } 
    125376490        fi 
    125386491 
    12539         { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
    12540 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
     6492        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
     6493$as_echo "$IPPSAMP_DIR" >&6; } 
    125416494 
    125426495        SAVED_CFLAGS="$CFLAGS" 
     
    125496502        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    125506503 
    12551         { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
    12552 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
    12553         cat >conftest.$ac_ext <<_ACEOF 
    12554 /* confdefs.h.  */ 
    12555 _ACEOF 
    12556 cat confdefs.h >>conftest.$ac_ext 
    12557 cat >>conftest.$ac_ext <<_ACEOF 
     6504        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
     6505$as_echo_n "checking Intel IPP USC usability... " >&6; } 
     6506        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    125586507/* end confdefs.h.  */ 
    125596508#include <usc.h> 
     
    125676516} 
    125686517_ACEOF 
    12569 rm -f conftest.$ac_objext conftest$ac_exeext 
    12570 if { (ac_try="$ac_link" 
    12571 case "(($ac_try" in 
    12572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12573   *) ac_try_echo=$ac_try;; 
    12574 esac 
    12575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12576   (eval "$ac_link") 2>conftest.er1 
    12577   ac_status=$? 
    12578   grep -v '^ *+' conftest.er1 >conftest.err 
    12579   rm -f conftest.er1 
    12580   cat conftest.err >&5 
    12581   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12582   (exit $ac_status); } && { 
    12583          test -z "$ac_c_werror_flag" || 
    12584          test ! -s conftest.err 
    12585        } && test -s conftest$ac_exeext && 
    12586        $as_test_x conftest$ac_exeext; then 
    12587   { echo "$as_me:$LINENO: result: ok" >&5 
    12588 echo "${ECHO_T}ok" >&6; } 
    12589 else 
    12590   echo "$as_me: failed program was:" >&5 
    12591 sed 's/^/| /' conftest.$ac_ext >&5 
    12592  
    12593         { { echo "$as_me:$LINENO: error: failed 
    12594 See \`config.log' for more details." >&5 
    12595 echo "$as_me: error: failed 
    12596 See \`config.log' for more details." >&2;} 
    12597    { (exit 1); exit 1; }; } 
    12598 fi 
    12599  
    12600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12601       conftest$ac_exeext conftest.$ac_ext 
     6518if ac_fn_c_try_link "$LINENO"; then : 
     6519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6520$as_echo "ok" >&6; } 
     6521else 
     6522  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6524as_fn_error "failed 
     6525See \`config.log' for more details." "$LINENO" 5; } 
     6526fi 
     6527rm -f core conftest.err conftest.$ac_objext \ 
     6528    conftest$ac_exeext conftest.$ac_ext 
    126026529 
    126036530        CFLAGS="$SAVED_CFLAGS" 
     
    126196546export IPP_LIBS=$IPP_LIBS" 
    126206547else 
    12621     { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
    12622 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
     6548    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
     6549$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
    126236550fi 
    126246551 
     
    126276554 
    126286555# Check whether --enable-ssl was given. 
    12629 if test "${enable_ssl+set}" = set; then 
     6556if test "${enable_ssl+set}" = set; then : 
    126306557  enableval=$enable_ssl; 
    126316558                if test "$enable_ssl" = "no"; then 
    126326559                 ac_no_ssl=1 
    12633                  { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
    12634 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
     6560                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
     6561$as_echo "Checking if SSL support is disabled... yes" >&6; } 
    126356562                fi 
    126366563 
    126376564else 
    126386565 
    12639                 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
    12640 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
    12641  
    12642  
    12643  
    12644                 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12645   { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    12646 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    12647 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12648   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12649 fi 
    12650 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    12651 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    12652 else 
    12653   # Is the header compilable? 
    12654 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
    12655 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
    12656 cat >conftest.$ac_ext <<_ACEOF 
    12657 /* confdefs.h.  */ 
    12658 _ACEOF 
    12659 cat confdefs.h >>conftest.$ac_ext 
    12660 cat >>conftest.$ac_ext <<_ACEOF 
    12661 /* end confdefs.h.  */ 
    12662 $ac_includes_default 
    12663 #include <openssl/ssl.h> 
    12664 _ACEOF 
    12665 rm -f conftest.$ac_objext 
    12666 if { (ac_try="$ac_compile" 
    12667 case "(($ac_try" in 
    12668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12669   *) ac_try_echo=$ac_try;; 
    12670 esac 
    12671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12672   (eval "$ac_compile") 2>conftest.er1 
    12673   ac_status=$? 
    12674   grep -v '^ *+' conftest.er1 >conftest.err 
    12675   rm -f conftest.er1 
    12676   cat conftest.err >&5 
    12677   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12678   (exit $ac_status); } && { 
    12679          test -z "$ac_c_werror_flag" || 
    12680          test ! -s conftest.err 
    12681        } && test -s conftest.$ac_objext; then 
    12682   ac_header_compiler=yes 
    12683 else 
    12684   echo "$as_me: failed program was:" >&5 
    12685 sed 's/^/| /' conftest.$ac_ext >&5 
    12686  
    12687         ac_header_compiler=no 
    12688 fi 
    12689  
    12690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    12691 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    12692 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    12693  
    12694 # Is the header present? 
    12695 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
    12696 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
    12697 cat >conftest.$ac_ext <<_ACEOF 
    12698 /* confdefs.h.  */ 
    12699 _ACEOF 
    12700 cat confdefs.h >>conftest.$ac_ext 
    12701 cat >>conftest.$ac_ext <<_ACEOF 
    12702 /* end confdefs.h.  */ 
    12703 #include <openssl/ssl.h> 
    12704 _ACEOF 
    12705 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    12706 case "(($ac_try" in 
    12707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12708   *) ac_try_echo=$ac_try;; 
    12709 esac 
    12710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12711   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    12712   ac_status=$? 
    12713   grep -v '^ *+' conftest.er1 >conftest.err 
    12714   rm -f conftest.er1 
    12715   cat conftest.err >&5 
    12716   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12717   (exit $ac_status); } >/dev/null && { 
    12718          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    12719          test ! -s conftest.err 
    12720        }; then 
    12721   ac_header_preproc=yes 
    12722 else 
    12723   echo "$as_me: failed program was:" >&5 
    12724 sed 's/^/| /' conftest.$ac_ext >&5 
    12725  
    12726   ac_header_preproc=no 
    12727 fi 
    12728  
    12729 rm -f conftest.err conftest.$ac_ext 
    12730 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    12731 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    12732  
    12733 # So?  What about this header? 
    12734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    12735   yes:no: ) 
    12736     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    12737 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    12738     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
    12739 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
    12740     ac_header_preproc=yes 
    12741     ;; 
    12742   no:yes:* ) 
    12743     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
    12744 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
    12745     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
    12746 echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
    12747     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
    12748 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
    12749     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    12750 echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    12751     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
    12752 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
    12753     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
    12754 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
    12755  
    12756     ;; 
    12757 esac 
    12758 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    12759 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    12760 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12761   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12762 else 
    12763   ac_cv_header_openssl_ssl_h=$ac_header_preproc 
    12764 fi 
    12765 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    12766 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    12767  
    12768 fi 
    12769 if test $ac_cv_header_openssl_ssl_h = yes; then 
     6566                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
     6567$as_echo "checking for OpenSSL installations.." >&6; } 
     6568 
     6569 
     6570 
     6571                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
     6572if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
    127706573  openssl_h_present=1 
    127716574fi 
    127726575 
    127736576 
    12774                 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    12775 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
    12776 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
    12777   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6577                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     6578$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
     6579if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     6580  $as_echo_n "(cached) " >&6 
    127786581else 
    127796582  ac_check_lib_save_LIBS=$LIBS 
    127806583LIBS="-lcrypto  $LIBS" 
    12781 cat >conftest.$ac_ext <<_ACEOF 
    12782 /* confdefs.h.  */ 
    12783 _ACEOF 
    12784 cat confdefs.h >>conftest.$ac_ext 
    12785 cat >>conftest.$ac_ext <<_ACEOF 
     6584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    127866585/* end confdefs.h.  */ 
    127876586 
     
    128016600} 
    128026601_ACEOF 
    12803 rm -f conftest.$ac_objext conftest$ac_exeext 
    12804 if { (ac_try="$ac_link" 
    12805 case "(($ac_try" in 
    12806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12807   *) ac_try_echo=$ac_try;; 
    12808 esac 
    12809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12810   (eval "$ac_link") 2>conftest.er1 
    12811   ac_status=$? 
    12812   grep -v '^ *+' conftest.er1 >conftest.err 
    12813   rm -f conftest.er1 
    12814   cat conftest.err >&5 
    12815   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12816   (exit $ac_status); } && { 
    12817          test -z "$ac_c_werror_flag" || 
    12818          test ! -s conftest.err 
    12819        } && test -s conftest$ac_exeext && 
    12820        $as_test_x conftest$ac_exeext; then 
     6602if ac_fn_c_try_link "$LINENO"; then : 
    128216603  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    128226604else 
    12823   echo "$as_me: failed program was:" >&5 
    12824 sed 's/^/| /' conftest.$ac_ext >&5 
    12825  
    12826         ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    12827 fi 
    12828  
    12829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12830       conftest$ac_exeext conftest.$ac_ext 
     6605  ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     6606fi 
     6607rm -f core conftest.err conftest.$ac_objext \ 
     6608    conftest$ac_exeext conftest.$ac_ext 
    128316609LIBS=$ac_check_lib_save_LIBS 
    128326610fi 
    12833 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    12834 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    12835 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     6611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     6612$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     6613if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
    128366614  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    128376615fi 
    128386616 
    12839                 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
    12840 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
    12841 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
    12842   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6617                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
     6618$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
     6619if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     6620  $as_echo_n "(cached) " >&6 
    128436621else 
    128446622  ac_check_lib_save_LIBS=$LIBS 
    128456623LIBS="-lssl  $LIBS" 
    12846 cat >conftest.$ac_ext <<_ACEOF 
    12847 /* confdefs.h.  */ 
    12848 _ACEOF 
    12849 cat confdefs.h >>conftest.$ac_ext 
    12850 cat >>conftest.$ac_ext <<_ACEOF 
     6624cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    128516625/* end confdefs.h.  */ 
    128526626 
     
    128666640} 
    128676641_ACEOF 
    12868 rm -f conftest.$ac_objext conftest$ac_exeext 
    12869 if { (ac_try="$ac_link" 
    12870 case "(($ac_try" in 
    12871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12872   *) ac_try_echo=$ac_try;; 
    12873 esac 
    12874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12875   (eval "$ac_link") 2>conftest.er1 
    12876   ac_status=$? 
    12877   grep -v '^ *+' conftest.er1 >conftest.err 
    12878   rm -f conftest.er1 
    12879   cat conftest.err >&5 
    12880   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12881   (exit $ac_status); } && { 
    12882          test -z "$ac_c_werror_flag" || 
    12883          test ! -s conftest.err 
    12884        } && test -s conftest$ac_exeext && 
    12885        $as_test_x conftest$ac_exeext; then 
     6642if ac_fn_c_try_link "$LINENO"; then : 
    128866643  ac_cv_lib_ssl_SSL_library_init=yes 
    128876644else 
    12888   echo "$as_me: failed program was:" >&5 
    12889 sed 's/^/| /' conftest.$ac_ext >&5 
    12890  
    12891         ac_cv_lib_ssl_SSL_library_init=no 
    12892 fi 
    12893  
    12894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12895       conftest$ac_exeext conftest.$ac_ext 
     6645  ac_cv_lib_ssl_SSL_library_init=no 
     6646fi 
     6647rm -f core conftest.err conftest.$ac_objext \ 
     6648    conftest$ac_exeext conftest.$ac_ext 
    128966649LIBS=$ac_check_lib_save_LIBS 
    128976650fi 
    12898 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    12899 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    12900 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     6651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     6652$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     6653if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
    129016654  libssl_present=1 && LIBS="$LIBS -lssl" 
    129026655fi 
    129036656 
    129046657                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    12905                         { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
    12906 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
     6658                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
     6659$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
    129076660                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    129086661                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    12909                         cat >>confdefs.h <<\_ACEOF 
    12910 #define PJ_HAS_SSL_SOCK 1 
    12911 _ACEOF 
     6662                        $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
    129126663 
    129136664                else 
    12914                         { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    12915 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     6665                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     6666$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    129166667                fi 
    129176668 
     
    129226673 
    129236674 
    12924 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    12925 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
     6675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
     6676$as_echo_n "checking if select() needs correct nfds... " >&6; } 
    129266677case $target in 
    12927   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12928 #define PJ_SELECT_NEEDS_NFDS 1 
    12929 _ACEOF 
    12930  
    12931            { echo "$as_me:$LINENO: result: yes" >&5 
    12932 echo "${ECHO_T}yes" >&6; } 
     6678  *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
     6679 
     6680           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6681$as_echo "yes" >&6; } 
    129336682        ;; 
    12934   *) cat >>confdefs.h <<\_ACEOF 
    12935 #define PJ_SELECT_NEEDS_NFDS 0 
    12936 _ACEOF 
    12937  
    12938      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12939 echo "${ECHO_T}no (default)" >&6; } 
    12940      { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    12941 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     6683  *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
     6684 
     6685     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6686$as_echo "no (default)" >&6; } 
     6687     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     6688$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    129426689        ;; 
    129436690esac 
    129446691 
    12945 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    12946 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
     6692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
     6693$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
    129476694case $target in 
    12948   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12949 #define PJ_THREAD_SET_STACK_SIZE 1 
    12950 _ACEOF 
    12951  
    12952            { echo "$as_me:$LINENO: result: yes" >&5 
    12953 echo "${ECHO_T}yes" >&6; } 
     6695  *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
     6696 
     6697           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6698$as_echo "yes" >&6; } 
    129546699        ;; 
    12955   *) cat >>confdefs.h <<\_ACEOF 
    12956 #define PJ_THREAD_SET_STACK_SIZE 0 
    12957 _ACEOF 
    12958  
    12959      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12960 echo "${ECHO_T}no (default)" >&6; } 
     6700  *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
     6701 
     6702     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6703$as_echo "no (default)" >&6; } 
    129616704        ;; 
    129626705esac 
    129636706 
    12964 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    12965 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
     6707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
     6708$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
    129666709case $target in 
    12967   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12968 #define PJ_THREAD_ALLOCATE_STACK 1 
    12969 _ACEOF 
    12970  
    12971            { echo "$as_me:$LINENO: result: yes" >&5 
    12972 echo "${ECHO_T}yes" >&6; } 
     6710  *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
     6711 
     6712           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6713$as_echo "yes" >&6; } 
    129736714        ;; 
    12974   *) cat >>confdefs.h <<\_ACEOF 
    12975 #define PJ_THREAD_ALLOCATE_STACK 0 
    12976 _ACEOF 
    12977  
    12978      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12979 echo "${ECHO_T}no (default)" >&6; } 
     6715  *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
     6716 
     6717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6718$as_echo "no (default)" >&6; } 
    129806719        ;; 
    129816720esac 
     
    129836722case $target in 
    129846723  *mingw* | *cygw* | *win32* | *w32* ) 
    12985         cat >>confdefs.h <<\_ACEOF 
    12986 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    12987 _ACEOF 
     6724        $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    129886725 
    129896726        ;; 
    12990   *) cat >>confdefs.h <<\_ACEOF 
    12991 #define PJ_BLOCKING_ERROR_VAL EAGAIN 
    12992 _ACEOF 
    12993  
    12994      { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    12995 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     6727  *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
     6728 
     6729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     6730$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    129966731        ;; 
    129976732esac 
     
    129996734case $target in 
    130006735  *mingw* | *cygw* | *win32* | *w32* ) 
    13001         cat >>confdefs.h <<\_ACEOF 
    13002 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    13003 _ACEOF 
     6736        $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    130046737 
    130056738        ;; 
    13006   *) cat >>confdefs.h <<\_ACEOF 
    13007 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    13008 _ACEOF 
    13009  
    13010      { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    13011 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     6739  *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
     6740 
     6741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     6742$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    130126743        ;; 
    130136744esac 
     
    130646795    *${as_nl}*) 
    130656796      case $ac_var in #( 
    13066       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    13067 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     6797      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     6798$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    130686799      esac 
    130696800      case $ac_var in #( 
    130706801      _ | IFS | as_nl) ;; #( 
    13071       *) $as_unset $ac_var ;; 
     6802      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     6803      *) { eval $ac_var=; unset $ac_var;} ;; 
    130726804      esac ;; 
    130736805    esac 
     
    130776809    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    130786810    *${as_nl}ac_space=\ *) 
    13079       # `set' does not quote correctly, so add quotes (double-quote 
    13080       # substitution turns \\\\ into \\, and sed turns \\ into \). 
     6811      # `set' does not quote correctly, so add quotes: double-quote 
     6812      # substitution turns \\\\ into \\, and sed turns \\ into \. 
    130816813      sed -n \ 
    130826814        "s/'/'\\\\''/g; 
     
    131016833  if test -w "$cache_file"; then 
    131026834    test "x$cache_file" != "x/dev/null" && 
    13103       { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
    13104 echo "$as_me: updating cache $cache_file" >&6;} 
     6835      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
     6836$as_echo "$as_me: updating cache $cache_file" >&6;} 
    131056837    cat confcache >$cache_file 
    131066838  else 
    13107     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
    13108 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     6839    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     6840$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    131096841  fi 
    131106842fi 
     
    131226854  # 1. Remove the extension, and $U if already installed. 
    131236855  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    13124   ac_i=`echo "$ac_i" | sed "$ac_script"` 
     6856  ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
    131256857  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    131266858  #    will be set to the directory where LIBOBJS objects are built. 
    13127   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    13128   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
     6859  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     6860  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
    131296861done 
    131306862LIBOBJS=$ac_libobjs 
     
    131346866 
    131356867 
     6868 
    131366869: ${CONFIG_STATUS=./config.status} 
     6870ac_write_fail=0 
    131376871ac_clean_files_save=$ac_clean_files 
    131386872ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    13139 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    13140 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    13141 cat >$CONFIG_STATUS <<_ACEOF 
     6873{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
     6874$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     6875as_write_fail=0 
     6876cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
    131426877#! $SHELL 
    131436878# Generated by $as_me. 
     
    131496884ac_cs_recheck=false 
    131506885ac_cs_silent=false 
     6886 
    131516887SHELL=\${CONFIG_SHELL-$SHELL} 
    13152 _ACEOF 
    13153  
    13154 cat >>$CONFIG_STATUS <<\_ACEOF 
    13155 ## --------------------- ## 
    13156 ## M4sh Initialization.  ## 
    13157 ## --------------------- ## 
     6888export SHELL 
     6889_ASEOF 
     6890cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
     6891## -------------------- ## 
     6892## M4sh Initialization. ## 
     6893## -------------------- ## 
    131586894 
    131596895# Be more Bourne compatible 
    131606896DUALCASE=1; export DUALCASE # for MKS sh 
    13161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     6897if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    131626898  emulate sh 
    131636899  NULLCMD=: 
    13164   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     6900  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    131656901  # is contrary to our usage.  Disable this feature. 
    131666902  alias -g '${1+"$@"}'='"$@"' 
    131676903  setopt NO_GLOB_SUBST 
    131686904else 
    13169   case `(set -o) 2>/dev/null` in 
    13170   *posix*) set -o posix ;; 
     6905  case `(set -o) 2>/dev/null` in #( 
     6906  *posix*) : 
     6907    set -o posix ;; #( 
     6908  *) : 
     6909     ;; 
    131716910esac 
    13172  
    13173 fi 
    13174  
    13175  
    13176  
    13177  
    13178 # PATH needs CR 
    13179 # Avoid depending upon Character Ranges. 
    13180 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    13181 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    13182 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    13183 as_cr_digits='0123456789' 
    13184 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     6911fi 
     6912 
     6913 
     6914as_nl=' 
     6915' 
     6916export as_nl 
     6917# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     6918as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     6919as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     6920as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     6921# Prefer a ksh shell builtin over an external printf program on Solaris, 
     6922# but without wasting forks for bash or zsh. 
     6923if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     6924    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6925  as_echo='print -r --' 
     6926  as_echo_n='print -rn --' 
     6927elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6928  as_echo='printf %s\n' 
     6929  as_echo_n='printf %s' 
     6930else 
     6931  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     6932    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     6933    as_echo_n='/usr/ucb/echo -n' 
     6934  else 
     6935    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     6936    as_echo_n_body='eval 
     6937      arg=$1; 
     6938      case $arg in #( 
     6939      *"$as_nl"*) 
     6940        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     6941        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     6942      esac; 
     6943      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     6944    ' 
     6945    export as_echo_n_body 
     6946    as_echo_n='sh -c $as_echo_n_body as_echo' 
     6947  fi 
     6948  export as_echo_body 
     6949  as_echo='sh -c $as_echo_body as_echo' 
     6950fi 
    131856951 
    131866952# The user is always right. 
    131876953if test "${PATH_SEPARATOR+set}" != set; then 
    13188   echo "#! /bin/sh" >conf$$.sh 
    13189   echo  "exit 0"   >>conf$$.sh 
    13190   chmod +x conf$$.sh 
    13191   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    13192     PATH_SEPARATOR=';' 
    13193   else 
    13194     PATH_SEPARATOR=: 
    13195   fi 
    13196   rm -f conf$$.sh 
    13197 fi 
    13198  
    13199 # Support unset when possible. 
    13200 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    13201   as_unset=unset 
    13202 else 
    13203   as_unset=false 
     6954  PATH_SEPARATOR=: 
     6955  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     6956    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     6957      PATH_SEPARATOR=';' 
     6958  } 
    132046959fi 
    132056960 
     
    132106965# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    132116966# splitting by setting IFS to empty value.) 
    13212 as_nl=' 
    13213 ' 
    132146967IFS=" ""        $as_nl" 
    132156968 
    132166969# Find who we are.  Look in the path if we contain no directory separator. 
    13217 case $0 in 
     6970case $0 in #(( 
    132186971  *[\\/]* ) as_myself=$0 ;; 
    132196972  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    132226975  IFS=$as_save_IFS 
    132236976  test -z "$as_dir" && as_dir=. 
    13224   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    13225 done 
     6977    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     6978  done 
    132266979IFS=$as_save_IFS 
    132276980 
     
    132346987fi 
    132356988if test ! -f "$as_myself"; then 
    13236   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    13237   { (exit 1); exit 1; } 
    13238 fi 
    13239  
    13240 # Work around bugs in pre-3.0 UWIN ksh. 
    13241 for as_var in ENV MAIL MAILPATH 
    13242 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     6989  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     6990  exit 1 
     6991fi 
     6992 
     6993# Unset variables that we do not need and which cause bugs (e.g. in 
     6994# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     6995# suppresses any "Segmentation fault" message there.  '((' could 
     6996# trigger a bug in pdksh 5.2.14. 
     6997for as_var in BASH_ENV ENV MAIL MAILPATH 
     6998do eval test x\${$as_var+set} = xset \ 
     6999  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    132437000done 
    132447001PS1='$ ' 
     
    132477004 
    132487005# NLS nuisances. 
    13249 for as_var in \ 
    13250   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    13251   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    13252   LC_TELEPHONE LC_TIME 
    13253 do 
    13254   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    13255     eval $as_var=C; export $as_var 
    13256   else 
    13257     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     7006LC_ALL=C 
     7007export LC_ALL 
     7008LANGUAGE=C 
     7009export LANGUAGE 
     7010 
     7011# CDPATH. 
     7012(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     7013 
     7014 
     7015# as_fn_error ERROR [LINENO LOG_FD] 
     7016# --------------------------------- 
     7017# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     7018# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     7019# script with status $?, using 1 if that was 0. 
     7020as_fn_error () 
     7021{ 
     7022  as_status=$?; test $as_status -eq 0 && as_status=1 
     7023  if test "$3"; then 
     7024    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     7025    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
    132587026  fi 
    13259 done 
    13260  
    13261 # Required to use basename. 
     7027  $as_echo "$as_me: error: $1" >&2 
     7028  as_fn_exit $as_status 
     7029} # as_fn_error 
     7030 
     7031 
     7032# as_fn_set_status STATUS 
     7033# ----------------------- 
     7034# Set $? to STATUS, without forking. 
     7035as_fn_set_status () 
     7036{ 
     7037  return $1 
     7038} # as_fn_set_status 
     7039 
     7040# as_fn_exit STATUS 
     7041# ----------------- 
     7042# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     7043as_fn_exit () 
     7044{ 
     7045  set +e 
     7046  as_fn_set_status $1 
     7047  exit $1 
     7048} # as_fn_exit 
     7049 
     7050# as_fn_unset VAR 
     7051# --------------- 
     7052# Portably unset VAR. 
     7053as_fn_unset () 
     7054{ 
     7055  { eval $1=; unset $1;} 
     7056} 
     7057as_unset=as_fn_unset 
     7058# as_fn_append VAR VALUE 
     7059# ---------------------- 
     7060# Append the text in VALUE to the end of the definition contained in VAR. Take 
     7061# advantage of any shell optimizations that allow amortized linear growth over 
     7062# repeated appends, instead of the typical quadratic growth present in naive 
     7063# implementations. 
     7064if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     7065  eval 'as_fn_append () 
     7066  { 
     7067    eval $1+=\$2 
     7068  }' 
     7069else 
     7070  as_fn_append () 
     7071  { 
     7072    eval $1=\$$1\$2 
     7073  } 
     7074fi # as_fn_append 
     7075 
     7076# as_fn_arith ARG... 
     7077# ------------------ 
     7078# Perform arithmetic evaluation on the ARGs, and store the result in the 
     7079# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     7080# must be portable across $(()) and expr. 
     7081if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     7082  eval 'as_fn_arith () 
     7083  { 
     7084    as_val=$(( $* )) 
     7085  }' 
     7086else 
     7087  as_fn_arith () 
     7088  { 
     7089    as_val=`expr "$@" || test $? -eq 1` 
     7090  } 
     7091fi # as_fn_arith 
     7092 
     7093 
    132627094if expr a : '\(a\)' >/dev/null 2>&1 && 
    132637095   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    132737105fi 
    132747106 
    13275  
    13276 # Name of the executable. 
     7107if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     7108  as_dirname=dirname 
     7109else 
     7110  as_dirname=false 
     7111fi 
     7112 
    132777113as_me=`$as_basename -- "$0" || 
    132787114$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    132797115         X"$0" : 'X\(//\)$' \| \ 
    132807116         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    13281 echo X/"$0" | 
     7117$as_echo X/"$0" | 
    132827118    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    132837119            s//\1/ 
     
    132947130          s/.*/./; q'` 
    132957131 
    13296 # CDPATH. 
    13297 $as_unset CDPATH 
    13298  
    13299  
    13300  
    13301   as_lineno_1=$LINENO 
    13302   as_lineno_2=$LINENO 
    13303   test "x$as_lineno_1" != "x$as_lineno_2" && 
    13304   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    13305  
    13306   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    13307   # uniformly replaced by the line number.  The first 'sed' inserts a 
    13308   # line-number line after each line using $LINENO; the second 'sed' 
    13309   # does the real work.  The second script uses 'N' to pair each 
    13310   # line-number line with the line containing $LINENO, and appends 
    13311   # trailing '-' during substitution so that $LINENO is not a special 
    13312   # case at line end. 
    13313   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    13314   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    13315   # E. McMahon (1931-1989) for sed's syntax.  :-) 
    13316   sed -n ' 
    13317     p 
    13318     /[$]LINENO/= 
    13319   ' <$as_myself | 
    13320     sed ' 
    13321       s/[$]LINENO.*/&-/ 
    13322       t lineno 
    13323       b 
    13324       :lineno 
    13325       N 
    13326       :loop 
    13327       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    13328       t loop 
    13329       s/-\n.*// 
    13330     ' >$as_me.lineno && 
    13331   chmod +x "$as_me.lineno" || 
    13332     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    13333    { (exit 1); exit 1; }; } 
    13334  
    13335   # Don't try to exec as it changes $[0], causing all sort of problems 
    13336   # (the dirname of $[0] is not the place where we might find the 
    13337   # original and so on.  Autoconf is especially sensitive to this). 
    13338   . "./$as_me.lineno" 
    13339   # Exit status is that of the last command. 
    13340   exit 
    13341 } 
    13342  
    13343  
    13344 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    13345   as_dirname=dirname 
    13346 else 
    13347   as_dirname=false 
    13348 fi 
     7132# Avoid depending upon Character Ranges. 
     7133as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     7134as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     7135as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     7136as_cr_digits='0123456789' 
     7137as_cr_alnum=$as_cr_Letters$as_cr_digits 
    133497138 
    133507139ECHO_C= ECHO_N= ECHO_T= 
    13351 case `echo -n x` in 
     7140case `echo -n x` in #((((( 
    133527141-n*) 
    13353   case `echo 'x\c'` in 
     7142  case `echo 'xy\c'` in 
    133547143  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    13355   *)   ECHO_C='\c';; 
     7144  xy)  ECHO_C='\c';; 
     7145  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     7146       ECHO_T=' ';; 
    133567147  esac;; 
    133577148*) 
     
    133597150esac 
    133607151 
    13361 if expr a : '\(a\)' >/dev/null 2>&1 && 
    13362    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    13363   as_expr=expr 
    13364 else 
    13365   as_expr=false 
    13366 fi 
    13367  
    133687152rm -f conf$$ conf$$.exe conf$$.file 
    133697153if test -d conf$$.dir; then 
     
    133717155else 
    133727156  rm -f conf$$.dir 
    13373   mkdir conf$$.dir 
    13374 fi 
    13375 echo >conf$$.file 
    13376 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    13377   as_ln_s='ln -s' 
    13378   # ... but there are two gotchas: 
    13379   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    13380   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    13381   # In both cases, we have to default to `cp -p'. 
    13382   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7157  mkdir conf$$.dir 2>/dev/null 
     7158fi 
     7159if (echo >conf$$.file) 2>/dev/null; then 
     7160  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     7161    as_ln_s='ln -s' 
     7162    # ... but there are two gotchas: 
     7163    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     7164    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     7165    # In both cases, we have to default to `cp -p'. 
     7166    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7167      as_ln_s='cp -p' 
     7168  elif ln conf$$.file conf$$ 2>/dev/null; then 
     7169    as_ln_s=ln 
     7170  else 
    133837171    as_ln_s='cp -p' 
    13384 elif ln conf$$.file conf$$ 2>/dev/null; then 
    13385   as_ln_s=ln 
     7172  fi 
    133867173else 
    133877174  as_ln_s='cp -p' 
     
    133907177rmdir conf$$.dir 2>/dev/null 
    133917178 
    13392 if mkdir -p . 2>/dev/null; then 
    13393   as_mkdir_p=: 
    13394 else 
    13395   test -d ./-p && rmdir ./-p 
    13396   as_mkdir_p=false 
    13397 fi 
    13398  
    13399 if test -x / >/dev/null 2>&1; then 
    13400   as_test_x='test -x' 
    13401 else 
    13402   if ls -dL / >/dev/null 2>&1; then 
    13403     as_ls_L_option=L 
    13404   else 
    13405     as_ls_L_option= 
    13406   fi 
    13407   as_test_x=' 
    13408     eval sh -c '\'' 
    13409       if test -d "$1"; then 
    13410         test -d "$1/."; 
    13411       else 
    13412         case $1 in 
    13413         -*)set "./$1";; 
    13414         esac; 
    13415         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    13416         ???[sx]*):;;*)false;;esac;fi 
    13417     '\'' sh 
    13418   ' 
    13419 fi 
    13420 as_executable_p=$as_test_x 
    13421  
    13422 # Sed expression to map a string onto a valid CPP name. 
    13423 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    13424  
    13425 # Sed expression to map a string onto a valid variable name. 
    13426 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    13427  
    13428  
    13429 exec 6>&1 
    13430  
    13431 # Save the log message, to keep $[0] and so on meaningful, and to 
    13432 # report actual input values of CONFIG_FILES etc. instead of their 
    13433 # values after options handling. 
    13434 ac_log=" 
    13435 This file was extended by pjproject $as_me 1.x, which was 
    13436 generated by GNU Autoconf 2.61.  Invocation command line was 
    13437  
    13438   CONFIG_FILES    = $CONFIG_FILES 
    13439   CONFIG_HEADERS  = $CONFIG_HEADERS 
    13440   CONFIG_LINKS    = $CONFIG_LINKS 
    13441   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    13442   $ $0 $@ 
    13443  
    13444 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    13445 " 
    13446  
    13447 _ACEOF 
    13448  
    13449 cat >>$CONFIG_STATUS <<_ACEOF 
    13450 # Files that config.status was made for. 
    13451 config_files="$ac_config_files" 
    13452 config_headers="$ac_config_headers" 
    13453  
    13454 _ACEOF 
    13455  
    13456 cat >>$CONFIG_STATUS <<\_ACEOF 
    13457 ac_cs_usage="\ 
    13458 \`$as_me' instantiates files from templates according to the 
    13459 current configuration. 
    13460  
    13461 Usage: $0 [OPTIONS] [FILE]... 
    13462  
    13463   -h, --help       print this help, then exit 
    13464   -V, --version    print version number and configuration settings, then exit 
    13465   -q, --quiet      do not print progress messages 
    13466   -d, --debug      don't remove temporary files 
    13467       --recheck    update $as_me by reconfiguring in the same conditions 
    13468   --file=FILE[:TEMPLATE] 
    13469                    instantiate the configuration file FILE 
    13470   --header=FILE[:TEMPLATE] 
    13471                    instantiate the configuration header FILE 
    13472  
    13473 Configuration files: 
    13474 $config_files 
    13475  
    13476 Configuration headers: 
    13477 $config_headers 
    13478  
    13479 Report bugs to <bug-autoconf@gnu.org>." 
    13480  
    13481 _ACEOF 
    13482 cat >>$CONFIG_STATUS <<_ACEOF 
    13483 ac_cs_version="\\ 
    13484 pjproject config.status 1.x 
    13485 configured by $0, generated by GNU Autoconf 2.61, 
    13486   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
    13487  
    13488 Copyright (C) 2006 Free Software Foundation, Inc. 
    13489 This config.status script is free software; the Free Software Foundation 
    13490 gives unlimited permission to copy, distribute and modify it." 
    13491  
    13492 ac_pwd='$ac_pwd' 
    13493 srcdir='$srcdir' 
    13494 _ACEOF 
    13495  
    13496 cat >>$CONFIG_STATUS <<\_ACEOF 
    13497 # If no file are specified by the user, then we need to provide default 
    13498 # value.  By we need to know if files were specified by the user. 
    13499 ac_need_defaults=: 
    13500 while test $# != 0 
    13501 do 
    13502   case $1 in 
    13503   --*=*) 
    13504     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    13505     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    13506     ac_shift=: 
    13507     ;; 
    13508   *) 
    13509     ac_option=$1 
    13510     ac_optarg=$2 
    13511     ac_shift=shift 
    13512     ;; 
    13513   esac 
    13514  
    13515   case $ac_option in 
    13516   # Handling of the options. 
    13517   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    13518     ac_cs_recheck=: ;; 
    13519   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    13520     echo "$ac_cs_version"; exit ;; 
    13521   --debug | --debu | --deb | --de | --d | -d ) 
    13522     debug=: ;; 
    13523   --file | --fil | --fi | --f ) 
    13524     $ac_shift 
    13525     CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    13526     ac_need_defaults=false;; 
    13527   --header | --heade | --head | --hea ) 
    13528     $ac_shift 
    13529     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    13530     ac_need_defaults=false;; 
    13531   --he | --h) 
    13532     # Conflict between --help and --header 
    13533     { echo "$as_me: error: ambiguous option: $1 
    13534 Try \`$0 --help' for more information." >&2 
    13535    { (exit 1); exit 1; }; };; 
    13536   --help | --hel | -h ) 
    13537     echo "$ac_cs_usage"; exit ;; 
    13538   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    13539   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    13540     ac_cs_silent=: ;; 
    13541  
    13542   # This is an error. 
    13543   -*) { echo "$as_me: error: unrecognized option: $1 
    13544 Try \`$0 --help' for more information." >&2 
    13545    { (exit 1); exit 1; }; } ;; 
    13546  
    13547   *) ac_config_targets="$ac_config_targets $1" 
    13548      ac_need_defaults=false ;; 
    13549  
    13550   esac 
    13551   shift 
    13552 done 
    13553  
    13554 ac_configure_extra_args= 
    13555  
    13556 if $ac_cs_silent; then 
    13557   exec 6>/dev/null 
    13558   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    13559 fi 
    13560  
    13561 _ACEOF 
    13562 cat >>$CONFIG_STATUS <<_ACEOF 
    13563 if \$ac_cs_recheck; then 
    13564   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
    13565   CONFIG_SHELL=$SHELL 
    13566   export CONFIG_SHELL 
    13567   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    13568 fi 
    13569  
    13570 _ACEOF 
    13571 cat >>$CONFIG_STATUS <<\_ACEOF 
    13572 exec 5>>config.log 
    13573 { 
    13574   echo 
    13575   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    13576 ## Running $as_me. ## 
    13577 _ASBOX 
    13578   echo "$ac_log" 
    13579 } >&5 
    13580  
    13581 _ACEOF 
    13582 cat >>$CONFIG_STATUS <<_ACEOF 
    13583 _ACEOF 
    13584  
    13585 cat >>$CONFIG_STATUS <<\_ACEOF 
    13586  
    13587 # Handling of arguments. 
    13588 for ac_config_target in $ac_config_targets 
    13589 do 
    13590   case $ac_config_target in 
    13591     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    13592     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    13593     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    13594     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    13595     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    13596     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    13597     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    13598     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    13599     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    13600     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    13601     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    13602     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    13603     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    13604     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    13605  
    13606   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    13607 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    13608    { (exit 1); exit 1; }; };; 
    13609   esac 
    13610 done 
    13611  
    13612  
    13613 # If the user did not use the arguments to specify the items to instantiate, 
    13614 # then the envvar interface is used.  Set only those that are not. 
    13615 # We use the long form for the default assignment because of an extremely 
    13616 # bizarre bug on SunOS 4.1.3. 
    13617 if $ac_need_defaults; then 
    13618   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    13619   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    13620 fi 
    13621  
    13622 # Have a temporary directory for convenience.  Make it in the build tree 
    13623 # simply because there is no reason against having it here, and in addition, 
    13624 # creating and moving files from /tmp can sometimes cause problems. 
    13625 # Hook for its removal unless debugging. 
    13626 # Note that there is a small window in which the directory will not be cleaned: 
    13627 # after its creation but before its name has been assigned to `$tmp'. 
    13628 $debug || 
    13629 { 
    13630   tmp= 
    13631   trap 'exit_status=$? 
    13632   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    13633 ' 0 
    13634   trap '{ (exit 1); exit 1; }' 1 2 13 15 
    13635 } 
    13636 # Create a (secure) tmp directory for tmp files. 
    13637  
    13638 { 
    13639   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    13640   test -n "$tmp" && test -d "$tmp" 
    13641 }  || 
    13642 { 
    13643   tmp=./conf$$-$RANDOM 
    13644   (umask 077 && mkdir "$tmp") 
    13645 } || 
    13646 { 
    13647    echo "$me: cannot create a temporary directory in ." >&2 
    13648    { (exit 1); exit 1; } 
    13649 } 
    13650  
    13651 # 
    13652 # Set up the sed scripts for CONFIG_FILES section. 
    13653 # 
    13654  
    13655 # No need to generate the scripts if there are no CONFIG_FILES. 
    13656 # This happens for instance when ./config.status config.h 
    13657 if test -n "$CONFIG_FILES"; then 
    13658  
    13659 _ACEOF 
    13660  
    13661  
    13662  
    13663 ac_delim='%!_!# ' 
    13664 for ac_last_try in false false false false false :; do 
    13665   cat >conf$$subs.sed <<_ACEOF 
    13666 SHELL!$SHELL$ac_delim 
    13667 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
    13668 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
    13669 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
    13670 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
    13671 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
    13672 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
    13673 exec_prefix!$exec_prefix$ac_delim 
    13674 prefix!$prefix$ac_delim 
    13675 program_transform_name!$program_transform_name$ac_delim 
    13676 bindir!$bindir$ac_delim 
    13677 sbindir!$sbindir$ac_delim 
    13678 libexecdir!$libexecdir$ac_delim 
    13679 datarootdir!$datarootdir$ac_delim 
    13680 datadir!$datadir$ac_delim 
    13681 sysconfdir!$sysconfdir$ac_delim 
    13682 sharedstatedir!$sharedstatedir$ac_delim 
    13683 localstatedir!$localstatedir$ac_delim 
    13684 includedir!$includedir$ac_delim 
    13685 oldincludedir!$oldincludedir$ac_delim 
    13686 docdir!$docdir$ac_delim 
    13687 infodir!$infodir$ac_delim 
    13688 htmldir!$htmldir$ac_delim 
    13689 dvidir!$dvidir$ac_delim 
    13690 pdfdir!$pdfdir$ac_delim 
    13691 psdir!$psdir$ac_delim 
    13692 libdir!$libdir$ac_delim 
    13693 localedir!$localedir$ac_delim 
    13694 mandir!$mandir$ac_delim 
    13695 DEFS!$DEFS$ac_delim 
    13696 ECHO_C!$ECHO_C$ac_delim 
    13697 ECHO_N!$ECHO_N$ac_delim 
    13698 ECHO_T!$ECHO_T$ac_delim 
    13699 LIBS!$LIBS$ac_delim 
    13700 build_alias!$build_alias$ac_delim 
    13701 host_alias!$host_alias$ac_delim 
    13702 target_alias!$target_alias$ac_delim 
    13703 build!$build$ac_delim 
    13704 build_cpu!$build_cpu$ac_delim 
    13705 build_vendor!$build_vendor$ac_delim 
    13706 build_os!$build_os$ac_delim 
    13707 host!$host$ac_delim 
    13708 host_cpu!$host_cpu$ac_delim 
    13709 host_vendor!$host_vendor$ac_delim 
    13710 host_os!$host_os$ac_delim 
    13711 target!$target$ac_delim 
    13712 target_cpu!$target_cpu$ac_delim 
    13713 target_vendor!$target_vendor$ac_delim 
    13714 target_os!$target_os$ac_delim 
    13715 CC!$CC$ac_delim 
    13716 CFLAGS!$CFLAGS$ac_delim 
    13717 LDFLAGS!$LDFLAGS$ac_delim 
    13718 CPPFLAGS!$CPPFLAGS$ac_delim 
    13719 ac_ct_CC!$ac_ct_CC$ac_delim 
    13720 EXEEXT!$EXEEXT$ac_delim 
    13721 OBJEXT!$OBJEXT$ac_delim 
    13722 CXX!$CXX$ac_delim 
    13723 CXXFLAGS!$CXXFLAGS$ac_delim 
    13724 ac_ct_CXX!$ac_ct_CXX$ac_delim 
    13725 AR!$AR$ac_delim 
    13726 LD!$LD$ac_delim 
    13727 LDOUT!$LDOUT$ac_delim 
    13728 RANLIB!$RANLIB$ac_delim 
    13729 LIBEXT!$LIBEXT$ac_delim 
    13730 LIBEXT2!$LIBEXT2$ac_delim 
    13731 CC_OUT!$CC_OUT$ac_delim 
    13732 CC_INC!$CC_INC$ac_delim 
    13733 CC_DEF!$CC_DEF$ac_delim 
    13734 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
    13735 CC_CFLAGS!$CC_CFLAGS$ac_delim 
    13736 ac_pjdir!$ac_pjdir$ac_delim 
    13737 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
    13738 CPP!$CPP$ac_delim 
    13739 GREP!$GREP$ac_delim 
    13740 EGREP!$EGREP$ac_delim 
    13741 ac_os_objs!$ac_os_objs$ac_delim 
    13742 ac_external_speex!$ac_external_speex$ac_delim 
    13743 ac_external_gsm!$ac_external_gsm$ac_delim 
    13744 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
    13745 ac_external_pa!$ac_external_pa$ac_delim 
    13746 ac_pa_cflags!$ac_pa_cflags$ac_delim 
    13747 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
    13748 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
    13749 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 
    13750 ac_ios_cflags!$ac_ios_cflags$ac_delim 
    13751 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 
    13752 ac_qt_cflags!$ac_qt_cflags$ac_delim 
    13753 ac_no_small_filter!$ac_no_small_filter$ac_delim 
    13754 ac_no_large_filter!$ac_no_large_filter$ac_delim 
    13755 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
    13756 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
    13757 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
    13758 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
    13759 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
    13760 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
    13761 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
    13762 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
    13763 _ACEOF 
    13764  
    13765   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
    13766     break 
    13767   elif $ac_last_try; then 
    13768     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    13769 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    13770    { (exit 1); exit 1; }; } 
    13771   else 
    13772     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    13773   fi 
    13774 done 
    13775  
    13776 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    13777 if test -n "$ac_eof"; then 
    13778   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    13779   ac_eof=`expr $ac_eof + 1` 
    13780 fi 
    13781  
    13782 cat >>$CONFIG_STATUS <<_ACEOF 
    13783 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
    13784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    13785 _ACEOF 
    13786 sed ' 
    13787 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    13788 s/^/s,@/; s/!/@,|#_!!_#|/ 
    13789 :n 
    13790 t n 
    13791 s/'"$ac_delim"'$/,g/; t 
    13792 s/$/\\/; p 
    13793 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    13794 ' >>$CONFIG_STATUS <conf$$subs.sed 
    13795 rm -f conf$$subs.sed 
    13796 cat >>$CONFIG_STATUS <<_ACEOF 
    13797 CEOF$ac_eof 
    13798 _ACEOF 
    13799  
    13800  
    13801 ac_delim='%!_!# ' 
    13802 for ac_last_try in false false false false false :; do 
    13803   cat >conf$$subs.sed <<_ACEOF 
    13804 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 
    13805 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 
    13806 ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 
    13807 ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 
    13808 ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 
    13809 ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 
    13810 ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 
    13811 ac_no_ssl!$ac_no_ssl$ac_delim 
    13812 openssl_h_present!$openssl_h_present$ac_delim 
    13813 libssl_present!$libssl_present$ac_delim 
    13814 libcrypto_present!$libcrypto_present$ac_delim 
    13815 ac_cross_compile!$ac_cross_compile$ac_delim 
    13816 ac_linux_poll!$ac_linux_poll$ac_delim 
    13817 ac_host!$ac_host$ac_delim 
    13818 ac_main_obj!$ac_main_obj$ac_delim 
    13819 LIBOBJS!$LIBOBJS$ac_delim 
    13820 LTLIBOBJS!$LTLIBOBJS$ac_delim 
    13821 _ACEOF 
    13822  
    13823   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then 
    13824     break 
    13825   elif $ac_last_try; then 
    13826     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    13827 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    13828    { (exit 1); exit 1; }; } 
    13829   else 
    13830     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    13831   fi 
    13832 done 
    13833  
    13834 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    13835 if test -n "$ac_eof"; then 
    13836   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    13837   ac_eof=`expr $ac_eof + 1` 
    13838 fi 
    13839  
    13840 cat >>$CONFIG_STATUS <<_ACEOF 
    13841 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
    13842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
    13843 _ACEOF 
    13844 sed ' 
    13845 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    13846 s/^/s,@/; s/!/@,|#_!!_#|/ 
    13847 :n 
    13848 t n 
    13849 s/'"$ac_delim"'$/,g/; t 
    13850 s/$/\\/; p 
    13851 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    13852 ' >>$CONFIG_STATUS <conf$$subs.sed 
    13853 rm -f conf$$subs.sed 
    13854 cat >>$CONFIG_STATUS <<_ACEOF 
    13855 :end 
    13856 s/|#_!!_#|//g 
    13857 CEOF$ac_eof 
    13858 _ACEOF 
    13859  
    13860  
    13861 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    13862 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    13863 # trailing colons and then remove the whole line if VPATH becomes empty 
    13864 # (actually we leave an empty line to preserve line numbers). 
    13865 if test "x$srcdir" = x.; then 
    13866   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    13867 s/:*\$(srcdir):*/:/ 
    13868 s/:*\${srcdir}:*/:/ 
    13869 s/:*@srcdir@:*/:/ 
    13870 s/^\([^=]*=[     ]*\):*/\1/ 
    13871 s/:*$// 
    13872 s/^[^=]*=[       ]*$// 
    13873 }' 
    13874 fi 
    13875  
    13876 cat >>$CONFIG_STATUS <<\_ACEOF 
    13877 fi # test -n "$CONFIG_FILES" 
    13878  
    13879  
    13880 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
    13881 do 
    13882   case $ac_tag in 
    13883   :[FHLC]) ac_mode=$ac_tag; continue;; 
    13884   esac 
    13885   case $ac_mode$ac_tag in 
    13886   :[FHL]*:*);; 
    13887   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
    13888 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
    13889    { (exit 1); exit 1; }; };; 
    13890   :[FH]-) ac_tag=-:-;; 
    13891   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    13892   esac 
    13893   ac_save_IFS=$IFS 
    13894   IFS=: 
    13895   set x $ac_tag 
    13896   IFS=$ac_save_IFS 
    13897   shift 
    13898   ac_file=$1 
    13899   shift 
    13900  
    13901   case $ac_mode in 
    13902   :L) ac_source=$1;; 
    13903   :[FH]) 
    13904     ac_file_inputs= 
    13905     for ac_f 
    13906     do 
    13907       case $ac_f in 
    13908       -) ac_f="$tmp/stdin";; 
    13909       *) # Look for the file first in the build tree, then in the source tree 
    13910          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    13911          # because $ac_f cannot contain `:'. 
    13912          test -f "$ac_f" || 
    13913            case $ac_f in 
    13914            [\\/$]*) false;; 
    13915            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    13916            esac || 
    13917            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
    13918 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
    13919    { (exit 1); exit 1; }; };; 
    13920       esac 
    13921       ac_file_inputs="$ac_file_inputs $ac_f" 
    13922     done 
    13923  
    13924     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    13925     # use $as_me), people would be surprised to read: 
    13926     #    /* config.h.  Generated by config.status.  */ 
    13927     configure_input="Generated from "`IFS=: 
    13928           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
    13929     if test x"$ac_file" != x-; then 
    13930       configure_input="$ac_file.  $configure_input" 
    13931       { echo "$as_me:$LINENO: creating $ac_file" >&5 
    13932 echo "$as_me: creating $ac_file" >&6;} 
    13933     fi 
    13934  
    13935     case $ac_tag in 
    13936     *:-:* | *:-) cat >"$tmp/stdin";; 
    13937     esac 
    13938     ;; 
    13939   esac 
    13940  
    13941   ac_dir=`$as_dirname -- "$ac_file" || 
    13942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    13943          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    13944          X"$ac_file" : 'X\(//\)$' \| \ 
    13945          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    13946 echo X"$ac_file" | 
    13947     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    13948             s//\1/ 
    13949             q 
    13950           } 
    13951           /^X\(\/\/\)[^/].*/{ 
    13952             s//\1/ 
    13953             q 
    13954           } 
    13955           /^X\(\/\/\)$/{ 
    13956             s//\1/ 
    13957             q 
    13958           } 
    13959           /^X\(\/\).*/{ 
    13960             s//\1/ 
    13961             q 
    13962           } 
    13963           s/.*/./; q'` 
    13964   { as_dir="$ac_dir" 
     7179 
     7180# as_fn_mkdir_p 
     7181# ------------- 
     7182# Create "$as_dir" as a directory, including parents if necessary. 
     7183as_fn_mkdir_p () 
     7184{ 
     7185 
    139657186  case $as_dir in #( 
    139667187  -*) as_dir=./$as_dir;; 
    139677188  esac 
    13968   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
     7189  test -d "$as_dir" || eval $as_mkdir_p || { 
    139697190    as_dirs= 
    139707191    while :; do 
    139717192      case $as_dir in #( 
    13972       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
     7193      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    139737194      *) as_qdir=$as_dir;; 
    139747195      esac 
     
    139797200         X"$as_dir" : 'X\(//\)$' \| \ 
    139807201         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    13981 echo X"$as_dir" | 
     7202$as_echo X"$as_dir" | 
    139827203    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    139837204            s//\1/ 
     
    140007221    done 
    140017222    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    14002   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
    14003 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    14004    { (exit 1); exit 1; }; }; } 
     7223  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     7224 
     7225 
     7226} # as_fn_mkdir_p 
     7227if mkdir -p . 2>/dev/null; then 
     7228  as_mkdir_p='mkdir -p "$as_dir"' 
     7229else 
     7230  test -d ./-p && rmdir ./-p 
     7231  as_mkdir_p=false 
     7232fi 
     7233 
     7234if test -x / >/dev/null 2>&1; then 
     7235  as_test_x='test -x' 
     7236else 
     7237  if ls -dL / >/dev/null 2>&1; then 
     7238    as_ls_L_option=L 
     7239  else 
     7240    as_ls_L_option= 
     7241  fi 
     7242  as_test_x=' 
     7243    eval sh -c '\'' 
     7244      if test -d "$1"; then 
     7245        test -d "$1/."; 
     7246      else 
     7247        case $1 in #( 
     7248        -*)set "./$1";; 
     7249        esac; 
     7250        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
     7251        ???[sx]*):;;*)false;;esac;fi 
     7252    '\'' sh 
     7253  ' 
     7254fi 
     7255as_executable_p=$as_test_x 
     7256 
     7257# Sed expression to map a string onto a valid CPP name. 
     7258as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     7259 
     7260# Sed expression to map a string onto a valid variable name. 
     7261as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     7262 
     7263 
     7264exec 6>&1 
     7265## ----------------------------------- ## 
     7266## Main body of $CONFIG_STATUS script. ## 
     7267## ----------------------------------- ## 
     7268_ASEOF 
     7269test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
     7270 
     7271cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7272# Save the log message, to keep $0 and so on meaningful, and to 
     7273# report actual input values of CONFIG_FILES etc. instead of their 
     7274# values after options handling. 
     7275ac_log=" 
     7276This file was extended by pjproject $as_me 1.x, which was 
     7277generated by GNU Autoconf 2.65.  Invocation command line was 
     7278 
     7279  CONFIG_FILES    = $CONFIG_FILES 
     7280  CONFIG_HEADERS  = $CONFIG_HEADERS 
     7281  CONFIG_LINKS    = $CONFIG_LINKS 
     7282  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     7283  $ $0 $@ 
     7284 
     7285on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     7286" 
     7287 
     7288_ACEOF 
     7289 
     7290case $ac_config_files in *" 
     7291"*) set x $ac_config_files; shift; ac_config_files=$*;; 
     7292esac 
     7293 
     7294case $ac_config_headers in *" 
     7295"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
     7296esac 
     7297 
     7298 
     7299cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7300# Files that config.status was made for. 
     7301config_files="$ac_config_files" 
     7302config_headers="$ac_config_headers" 
     7303 
     7304_ACEOF 
     7305 
     7306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7307ac_cs_usage="\ 
     7308\`$as_me' instantiates files and other configuration actions 
     7309from templates according to the current configuration.  Unless the files 
     7310and actions are specified as TAGs, all are instantiated by default. 
     7311 
     7312Usage: $0 [OPTION]... [TAG]... 
     7313 
     7314  -h, --help       print this help, then exit 
     7315  -V, --version    print version number and configuration settings, then exit 
     7316      --config     print configuration, then exit 
     7317  -q, --quiet, --silent 
     7318                   do not print progress messages 
     7319  -d, --debug      don't remove temporary files 
     7320      --recheck    update $as_me by reconfiguring in the same conditions 
     7321      --file=FILE[:TEMPLATE] 
     7322                   instantiate the configuration file FILE 
     7323      --header=FILE[:TEMPLATE] 
     7324                   instantiate the configuration header FILE 
     7325 
     7326Configuration files: 
     7327$config_files 
     7328 
     7329Configuration headers: 
     7330$config_headers 
     7331 
     7332Report bugs to the package provider." 
     7333 
     7334_ACEOF 
     7335cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7336ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
     7337ac_cs_version="\\ 
     7338pjproject config.status 1.x 
     7339configured by $0, generated by GNU Autoconf 2.65, 
     7340  with options \\"\$ac_cs_config\\" 
     7341 
     7342Copyright (C) 2009 Free Software Foundation, Inc. 
     7343This config.status script is free software; the Free Software Foundation 
     7344gives unlimited permission to copy, distribute and modify it." 
     7345 
     7346ac_pwd='$ac_pwd' 
     7347srcdir='$srcdir' 
     7348test -n "\$AWK" || AWK=awk 
     7349_ACEOF 
     7350 
     7351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7352# The default lists apply if the user does not specify any file. 
     7353ac_need_defaults=: 
     7354while test $# != 0 
     7355do 
     7356  case $1 in 
     7357  --*=*) 
     7358    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     7359    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     7360    ac_shift=: 
     7361    ;; 
     7362  *) 
     7363    ac_option=$1 
     7364    ac_optarg=$2 
     7365    ac_shift=shift 
     7366    ;; 
     7367  esac 
     7368 
     7369  case $ac_option in 
     7370  # Handling of the options. 
     7371  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     7372    ac_cs_recheck=: ;; 
     7373  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     7374    $as_echo "$ac_cs_version"; exit ;; 
     7375  --config | --confi | --conf | --con | --co | --c ) 
     7376    $as_echo "$ac_cs_config"; exit ;; 
     7377  --debug | --debu | --deb | --de | --d | -d ) 
     7378    debug=: ;; 
     7379  --file | --fil | --fi | --f ) 
     7380    $ac_shift 
     7381    case $ac_optarg in 
     7382    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7383    esac 
     7384    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     7385    ac_need_defaults=false;; 
     7386  --header | --heade | --head | --hea ) 
     7387    $ac_shift 
     7388    case $ac_optarg in 
     7389    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7390    esac 
     7391    as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
     7392    ac_need_defaults=false;; 
     7393  --he | --h) 
     7394    # Conflict between --help and --header 
     7395    as_fn_error "ambiguous option: \`$1' 
     7396Try \`$0 --help' for more information.";; 
     7397  --help | --hel | -h ) 
     7398    $as_echo "$ac_cs_usage"; exit ;; 
     7399  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     7400  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     7401    ac_cs_silent=: ;; 
     7402 
     7403  # This is an error. 
     7404  -*) as_fn_error "unrecognized option: \`$1' 
     7405Try \`$0 --help' for more information." ;; 
     7406 
     7407  *) as_fn_append ac_config_targets " $1" 
     7408     ac_need_defaults=false ;; 
     7409 
     7410  esac 
     7411  shift 
     7412done 
     7413 
     7414ac_configure_extra_args= 
     7415 
     7416if $ac_cs_silent; then 
     7417  exec 6>/dev/null 
     7418  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     7419fi 
     7420 
     7421_ACEOF 
     7422cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7423if \$ac_cs_recheck; then 
     7424  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7425  shift 
     7426  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     7427  CONFIG_SHELL='$SHELL' 
     7428  export CONFIG_SHELL 
     7429  exec "\$@" 
     7430fi 
     7431 
     7432_ACEOF 
     7433cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7434exec 5>>config.log 
     7435{ 
     7436  echo 
     7437  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     7438## Running $as_me. ## 
     7439_ASBOX 
     7440  $as_echo "$ac_log" 
     7441} >&5 
     7442 
     7443_ACEOF 
     7444cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7445_ACEOF 
     7446 
     7447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7448 
     7449# Handling of arguments. 
     7450for ac_config_target in $ac_config_targets 
     7451do 
     7452  case $ac_config_target in 
     7453    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     7454    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     7455    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     7456    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     7457    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     7458    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     7459    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     7460    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     7461    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     7462    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     7463    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     7464    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     7465    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     7466    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     7467 
     7468  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     7469  esac 
     7470done 
     7471 
     7472 
     7473# If the user did not use the arguments to specify the items to instantiate, 
     7474# then the envvar interface is used.  Set only those that are not. 
     7475# We use the long form for the default assignment because of an extremely 
     7476# bizarre bug on SunOS 4.1.3. 
     7477if $ac_need_defaults; then 
     7478  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     7479  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     7480fi 
     7481 
     7482# Have a temporary directory for convenience.  Make it in the build tree 
     7483# simply because there is no reason against having it here, and in addition, 
     7484# creating and moving files from /tmp can sometimes cause problems. 
     7485# Hook for its removal unless debugging. 
     7486# Note that there is a small window in which the directory will not be cleaned: 
     7487# after its creation but before its name has been assigned to `$tmp'. 
     7488$debug || 
     7489{ 
     7490  tmp= 
     7491  trap 'exit_status=$? 
     7492  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     7493' 0 
     7494  trap 'as_fn_exit 1' 1 2 13 15 
     7495} 
     7496# Create a (secure) tmp directory for tmp files. 
     7497 
     7498{ 
     7499  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     7500  test -n "$tmp" && test -d "$tmp" 
     7501}  || 
     7502{ 
     7503  tmp=./conf$$-$RANDOM 
     7504  (umask 077 && mkdir "$tmp") 
     7505} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     7506 
     7507# Set up the scripts for CONFIG_FILES section. 
     7508# No need to generate them if there are no CONFIG_FILES. 
     7509# This happens for instance with `./config.status config.h'. 
     7510if test -n "$CONFIG_FILES"; then 
     7511 
     7512 
     7513ac_cr=`echo X | tr X '\015'` 
     7514# On cygwin, bash can eat \r inside `` if the user requested igncr. 
     7515# But we know of no other shell where ac_cr would be empty at this 
     7516# point, so we can use a bashism as a fallback. 
     7517if test "x$ac_cr" = x; then 
     7518  eval ac_cr=\$\'\\r\' 
     7519fi 
     7520ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
     7521if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
     7522  ac_cs_awk_cr='\r' 
     7523else 
     7524  ac_cs_awk_cr=$ac_cr 
     7525fi 
     7526 
     7527echo 'BEGIN {' >"$tmp/subs1.awk" && 
     7528_ACEOF 
     7529 
     7530 
     7531{ 
     7532  echo "cat >conf$$subs.awk <<_ACEOF" && 
     7533  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
     7534  echo "_ACEOF" 
     7535} >conf$$subs.sh || 
     7536  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7537ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     7538ac_delim='%!_!# ' 
     7539for ac_last_try in false false false false false :; do 
     7540  . ./conf$$subs.sh || 
     7541    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7542 
     7543  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     7544  if test $ac_delim_n = $ac_delim_num; then 
     7545    break 
     7546  elif $ac_last_try; then 
     7547    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7548  else 
     7549    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7550  fi 
     7551done 
     7552rm -f conf$$subs.sh 
     7553 
     7554cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7555cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     7556_ACEOF 
     7557sed -n ' 
     7558h 
     7559s/^/S["/; s/!.*/"]=/ 
     7560p 
     7561g 
     7562s/^[^!]*!// 
     7563:repl 
     7564t repl 
     7565s/'"$ac_delim"'$// 
     7566t delim 
     7567:nl 
     7568h 
     7569s/\(.\{148\}\)..*/\1/ 
     7570t more1 
     7571s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
     7572p 
     7573n 
     7574b repl 
     7575:more1 
     7576s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7577p 
     7578g 
     7579s/.\{148\}// 
     7580t nl 
     7581:delim 
     7582h 
     7583s/\(.\{148\}\)..*/\1/ 
     7584t more2 
     7585s/["\\]/\\&/g; s/^/"/; s/$/"/ 
     7586p 
     7587b 
     7588:more2 
     7589s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7590p 
     7591g 
     7592s/.\{148\}// 
     7593t delim 
     7594' <conf$$subs.awk | sed ' 
     7595/^[^""]/{ 
     7596  N 
     7597  s/\n// 
     7598} 
     7599' >>$CONFIG_STATUS || ac_write_fail=1 
     7600rm -f conf$$subs.awk 
     7601cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7602_ACAWK 
     7603cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     7604  for (key in S) S_is_set[key] = 1 
     7605  FS = "" 
     7606 
     7607} 
     7608{ 
     7609  line = $ 0 
     7610  nfields = split(line, field, "@") 
     7611  substed = 0 
     7612  len = length(field[1]) 
     7613  for (i = 2; i < nfields; i++) { 
     7614    key = field[i] 
     7615    keylen = length(key) 
     7616    if (S_is_set[key]) { 
     7617      value = S[key] 
     7618      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
     7619      len += length(value) + length(field[++i]) 
     7620      substed = 1 
     7621    } else 
     7622      len += 1 + keylen 
     7623  } 
     7624 
     7625  print line 
     7626} 
     7627 
     7628_ACAWK 
     7629_ACEOF 
     7630cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7631if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
     7632  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
     7633else 
     7634  cat 
     7635fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
     7636  || as_fn_error "could not setup config files machinery" "$LINENO" 5 
     7637_ACEOF 
     7638 
     7639# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     7640# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     7641# trailing colons and then remove the whole line if VPATH becomes empty 
     7642# (actually we leave an empty line to preserve line numbers). 
     7643if test "x$srcdir" = x.; then 
     7644  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     7645s/:*\$(srcdir):*/:/ 
     7646s/:*\${srcdir}:*/:/ 
     7647s/:*@srcdir@:*/:/ 
     7648s/^\([^=]*=[     ]*\):*/\1/ 
     7649s/:*$// 
     7650s/^[^=]*=[       ]*$// 
     7651}' 
     7652fi 
     7653 
     7654cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7655fi # test -n "$CONFIG_FILES" 
     7656 
     7657# Set up the scripts for CONFIG_HEADERS section. 
     7658# No need to generate them if there are no CONFIG_HEADERS. 
     7659# This happens for instance with `./config.status Makefile'. 
     7660if test -n "$CONFIG_HEADERS"; then 
     7661cat >"$tmp/defines.awk" <<\_ACAWK || 
     7662BEGIN { 
     7663_ACEOF 
     7664 
     7665# Transform confdefs.h into an awk script `defines.awk', embedded as 
     7666# here-document in config.status, that substitutes the proper values into 
     7667# config.h.in to produce config.h. 
     7668 
     7669# Create a delimiter string that does not exist in confdefs.h, to ease 
     7670# handling of long lines. 
     7671ac_delim='%!_!# ' 
     7672for ac_last_try in false false :; do 
     7673  ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
     7674  if test -z "$ac_t"; then 
     7675    break 
     7676  elif $ac_last_try; then 
     7677    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     7678  else 
     7679    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7680  fi 
     7681done 
     7682 
     7683# For the awk script, D is an array of macro values keyed by name, 
     7684# likewise P contains macro parameters if any.  Preserve backslash 
     7685# newline sequences. 
     7686 
     7687ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     7688sed -n ' 
     7689s/.\{148\}/&'"$ac_delim"'/g 
     7690t rset 
     7691:rset 
     7692s/^[     ]*#[    ]*define[       ][      ]*/ / 
     7693t def 
     7694d 
     7695:def 
     7696s/\\$// 
     7697t bsnl 
     7698s/["\\]/\\&/g 
     7699s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7700D["\1"]=" \3"/p 
     7701s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
     7702d 
     7703:bsnl 
     7704s/["\\]/\\&/g 
     7705s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7706D["\1"]=" \3\\\\\\n"\\/p 
     7707t cont 
     7708s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
     7709t cont 
     7710d 
     7711:cont 
     7712n 
     7713s/.\{148\}/&'"$ac_delim"'/g 
     7714t clear 
     7715:clear 
     7716s/\\$// 
     7717t bsnlc 
     7718s/["\\]/\\&/g; s/^/"/; s/$/"/p 
     7719d 
     7720:bsnlc 
     7721s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
     7722b cont 
     7723' <confdefs.h | sed ' 
     7724s/'"$ac_delim"'/"\\\ 
     7725"/g' >>$CONFIG_STATUS || ac_write_fail=1 
     7726 
     7727cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7728  for (key in D) D_is_set[key] = 1 
     7729  FS = "" 
     7730} 
     7731/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
     7732  line = \$ 0 
     7733  split(line, arg, " ") 
     7734  if (arg[1] == "#") { 
     7735    defundef = arg[2] 
     7736    mac1 = arg[3] 
     7737  } else { 
     7738    defundef = substr(arg[1], 2) 
     7739    mac1 = arg[2] 
     7740  } 
     7741  split(mac1, mac2, "(") #) 
     7742  macro = mac2[1] 
     7743  prefix = substr(line, 1, index(line, defundef) - 1) 
     7744  if (D_is_set[macro]) { 
     7745    # Preserve the white space surrounding the "#". 
     7746    print prefix "define", macro P[macro] D[macro] 
     7747    next 
     7748  } else { 
     7749    # Replace #undef with comments.  This is necessary, for example, 
     7750    # in the case of _POSIX_SOURCE, which is predefined and required 
     7751    # on some systems where configure will not decide to define it. 
     7752    if (defundef == "undef") { 
     7753      print "/*", prefix defundef, macro, "*/" 
     7754      next 
     7755    } 
     7756  } 
     7757} 
     7758{ print } 
     7759_ACAWK 
     7760_ACEOF 
     7761cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7762  as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     7763fi # test -n "$CONFIG_HEADERS" 
     7764 
     7765 
     7766eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
     7767shift 
     7768for ac_tag 
     7769do 
     7770  case $ac_tag in 
     7771  :[FHLC]) ac_mode=$ac_tag; continue;; 
     7772  esac 
     7773  case $ac_mode$ac_tag in 
     7774  :[FHL]*:*);; 
     7775  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     7776  :[FH]-) ac_tag=-:-;; 
     7777  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     7778  esac 
     7779  ac_save_IFS=$IFS 
     7780  IFS=: 
     7781  set x $ac_tag 
     7782  IFS=$ac_save_IFS 
     7783  shift 
     7784  ac_file=$1 
     7785  shift 
     7786 
     7787  case $ac_mode in 
     7788  :L) ac_source=$1;; 
     7789  :[FH]) 
     7790    ac_file_inputs= 
     7791    for ac_f 
     7792    do 
     7793      case $ac_f in 
     7794      -) ac_f="$tmp/stdin";; 
     7795      *) # Look for the file first in the build tree, then in the source tree 
     7796         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     7797         # because $ac_f cannot contain `:'. 
     7798         test -f "$ac_f" || 
     7799           case $ac_f in 
     7800           [\\/$]*) false;; 
     7801           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     7802           esac || 
     7803           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     7804      esac 
     7805      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     7806      as_fn_append ac_file_inputs " '$ac_f'" 
     7807    done 
     7808 
     7809    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     7810    # use $as_me), people would be surprised to read: 
     7811    #    /* config.h.  Generated by config.status.  */ 
     7812    configure_input='Generated from '` 
     7813          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
     7814        `' by configure.' 
     7815    if test x"$ac_file" != x-; then 
     7816      configure_input="$ac_file.  $configure_input" 
     7817      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
     7818$as_echo "$as_me: creating $ac_file" >&6;} 
     7819    fi 
     7820    # Neutralize special characters interpreted by sed in replacement strings. 
     7821    case $configure_input in #( 
     7822    *\&* | *\|* | *\\* ) 
     7823       ac_sed_conf_input=`$as_echo "$configure_input" | 
     7824       sed 's/[\\\\&|]/\\\\&/g'`;; #( 
     7825    *) ac_sed_conf_input=$configure_input;; 
     7826    esac 
     7827 
     7828    case $ac_tag in 
     7829    *:-:* | *:-) cat >"$tmp/stdin" \ 
     7830      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     7831    esac 
     7832    ;; 
     7833  esac 
     7834 
     7835  ac_dir=`$as_dirname -- "$ac_file" || 
     7836$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     7837         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     7838         X"$ac_file" : 'X\(//\)$' \| \ 
     7839         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     7840$as_echo X"$ac_file" | 
     7841    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     7842            s//\1/ 
     7843            q 
     7844          } 
     7845          /^X\(\/\/\)[^/].*/{ 
     7846            s//\1/ 
     7847            q 
     7848          } 
     7849          /^X\(\/\/\)$/{ 
     7850            s//\1/ 
     7851            q 
     7852          } 
     7853          /^X\(\/\).*/{ 
     7854            s//\1/ 
     7855            q 
     7856          } 
     7857          s/.*/./; q'` 
     7858  as_dir="$ac_dir"; as_fn_mkdir_p 
    140057859  ac_builddir=. 
    140067860 
     
    140087862.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    140097863*) 
    14010   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     7864  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    140117865  # A ".." for each directory in $ac_dir_suffix. 
    14012   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     7866  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    140137867  case $ac_top_builddir_sub in 
    140147868  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    140467900_ACEOF 
    140477901 
    14048 cat >>$CONFIG_STATUS <<\_ACEOF 
     7902cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    140497903# If the template does not know about datarootdir, expand it. 
    140507904# FIXME: This hack should be removed a few years after 2.60. 
    140517905ac_datarootdir_hack=; ac_datarootdir_seen= 
    14052  
    14053 case `sed -n '/datarootdir/ { 
     7906ac_sed_dataroot=' 
     7907/datarootdir/ { 
    140547908  p 
    140557909  q 
     
    140597913/@infodir@/p 
    140607914/@localedir@/p 
    14061 /@mandir@/p 
    14062 ' $ac_file_inputs` in 
     7915/@mandir@/p' 
     7916case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
    140637917*datarootdir*) ac_datarootdir_seen=yes;; 
    140647918*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    14065   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    14066 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    14067 _ACEOF 
    14068 cat >>$CONFIG_STATUS <<_ACEOF 
     7919  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     7920$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     7921_ACEOF 
     7922cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    140697923  ac_datarootdir_hack=' 
    140707924  s&@datadir@&$datadir&g 
     
    140737927  s&@localedir@&$localedir&g 
    140747928  s&@mandir@&$mandir&g 
    14075     s&\\\${datarootdir}&$datarootdir&g' ;; 
     7929  s&\\\${datarootdir}&$datarootdir&g' ;; 
    140767930esac 
    140777931_ACEOF 
     
    140807934# Shell code in configure.ac might set extrasub. 
    140817935# FIXME: do we really want to maintain this feature? 
    14082 cat >>$CONFIG_STATUS <<_ACEOF 
    14083   sed "$ac_vpsub 
     7936cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7937ac_sed_extra="$ac_vpsub 
    140847938$extrasub 
    140857939_ACEOF 
    14086 cat >>$CONFIG_STATUS <<\_ACEOF 
     7940cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    140877941:t 
    140887942/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    14089 s&@configure_input@&$configure_input&;t t 
     7943s|@configure_input@|$ac_sed_conf_input|;t t 
    140907944s&@top_builddir@&$ac_top_builddir_sub&;t t 
     7945s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    140917946s&@srcdir@&$ac_srcdir&;t t 
    140927947s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    140977952s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    140987953$ac_datarootdir_hack 
    14099 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
     7954" 
     7955eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
     7956  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    141007957 
    141017958test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    141027959  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    141037960  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    14104   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     7961  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    141057962which seems to be undefined.  Please make sure it is defined." >&5 
    14106 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     7963$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    141077964which seems to be undefined.  Please make sure it is defined." >&2;} 
    141087965 
    141097966  rm -f "$tmp/stdin" 
    141107967  case $ac_file in 
    14111   -) cat "$tmp/out"; rm -f "$tmp/out";; 
    14112   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
    14113   esac 
     7968  -) cat "$tmp/out" && rm -f "$tmp/out";; 
     7969  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     7970  esac \ 
     7971  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    141147972 ;; 
    141157973  :H) 
     
    141177975  # CONFIG_HEADER 
    141187976  # 
    14119 _ACEOF 
    14120  
    14121 # Transform confdefs.h into a sed script `conftest.defines', that 
    14122 # substitutes the proper values into config.h.in to produce config.h. 
    14123 rm -f conftest.defines conftest.tail 
    14124 # First, append a space to every undef/define line, to ease matching. 
    14125 echo 's/$/ /' >conftest.defines 
    14126 # Then, protect against being on the right side of a sed subst, or in 
    14127 # an unquoted here document, in config.status.  If some macros were 
    14128 # called several times there might be several #defines for the same 
    14129 # symbol, which is useless.  But do not sort them, since the last 
    14130 # AC_DEFINE must be honored. 
    14131 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    14132 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
    14133 # NAME is the cpp macro being defined, VALUE is the value it is being given. 
    14134 # PARAMS is the parameter list in the macro definition--in most cases, it's 
    14135 # just an empty string. 
    14136 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
    14137 ac_dB='\\)[      (].*,\\1define\\2' 
    14138 ac_dC=' ' 
    14139 ac_dD=' ,' 
    14140  
    14141 uniq confdefs.h | 
    14142   sed -n ' 
    14143         t rset 
    14144         :rset 
    14145         s/^[     ]*#[    ]*define[       ][      ]*// 
    14146         t ok 
    14147         d 
    14148         :ok 
    14149         s/[\\&,]/\\&/g 
    14150         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
    14151         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
    14152   ' >>conftest.defines 
    14153  
    14154 # Remove the space that was appended to ease matching. 
    14155 # Then replace #undef with comments.  This is necessary, for 
    14156 # example, in the case of _POSIX_SOURCE, which is predefined and required 
    14157 # on some systems where configure will not decide to define it. 
    14158 # (The regexp can be short, since the line contains either #define or #undef.) 
    14159 echo 's/ $// 
    14160 s,^[     #]*u.*,/* & */,' >>conftest.defines 
    14161  
    14162 # Break up conftest.defines: 
    14163 ac_max_sed_lines=50 
    14164  
    14165 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
    14166 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
    14167 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
    14168 # et cetera. 
    14169 ac_in='$ac_file_inputs' 
    14170 ac_out='"$tmp/out1"' 
    14171 ac_nxt='"$tmp/out2"' 
    14172  
    14173 while : 
    14174 do 
    14175   # Write a here document: 
    14176     cat >>$CONFIG_STATUS <<_ACEOF 
    14177     # First, check the format of the line: 
    14178     cat >"\$tmp/defines.sed" <<\\CEOF 
    14179 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
    14180 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
    14181 b 
    14182 :def 
    14183 _ACEOF 
    14184   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
    14185   echo 'CEOF 
    14186     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
    14187   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
    14188   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
    14189   grep . conftest.tail >/dev/null || break 
    14190   rm -f conftest.defines 
    14191   mv conftest.tail conftest.defines 
    14192 done 
    14193 rm -f conftest.defines conftest.tail 
    14194  
    14195 echo "ac_result=$ac_in" >>$CONFIG_STATUS 
    14196 cat >>$CONFIG_STATUS <<\_ACEOF 
    141977977  if test x"$ac_file" != x-; then 
    14198     echo "/* $configure_input  */" >"$tmp/config.h" 
    14199     cat "$ac_result" >>"$tmp/config.h" 
    14200     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
    14201       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    14202 echo "$as_me: $ac_file is unchanged" >&6;} 
     7978    { 
     7979      $as_echo "/* $configure_input  */" \ 
     7980      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
     7981    } >"$tmp/config.h" \ 
     7982      || as_fn_error "could not create $ac_file" "$LINENO" 5 
     7983    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     7984      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
     7985$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    142037986    else 
    14204       rm -f $ac_file 
    14205       mv "$tmp/config.h" $ac_file 
     7987      rm -f "$ac_file" 
     7988      mv "$tmp/config.h" "$ac_file" \ 
     7989        || as_fn_error "could not create $ac_file" "$LINENO" 5 
    142067990    fi 
    142077991  else 
    14208     echo "/* $configure_input  */" 
    14209     cat "$ac_result" 
     7992    $as_echo "/* $configure_input  */" \ 
     7993      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
     7994      || as_fn_error "could not create -" "$LINENO" 5 
    142107995  fi 
    14211   rm -f "$tmp/out12" 
    142127996 ;; 
    142137997 
     
    142188002 
    142198003 
    14220 { (exit 0); exit 0; } 
    14221 _ACEOF 
    14222 chmod +x $CONFIG_STATUS 
     8004as_fn_exit 0 
     8005_ACEOF 
    142238006ac_clean_files=$ac_clean_files_save 
     8007 
     8008test $ac_write_fail = 0 || 
     8009  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    142248010 
    142258011 
     
    142428028  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    142438029  # would make configure fail if this is the last instruction. 
    14244   $ac_cs_success || { (exit 1); exit 1; } 
    14245 fi 
    14246  
    14247  
    14248  
    14249 { echo "$as_me:$LINENO: result: 
     8030  $ac_cs_success || as_fn_exit $? 
     8031fi 
     8032if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
     8033  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
     8034$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
     8035fi 
     8036 
     8037 
     8038 
     8039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
    142508040 
    142518041Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 
     
    142578047The next step now is to run 'make dep' and 'make'. 
    142588048" >&5 
    14259 echo "${ECHO_T} 
     8049$as_echo " 
    142608050 
    142618051Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 
  • pjproject/branches/projects/2.0-dev/aconfigure.ac

    r3499 r3517  
    919919 
    920920        IPP_CFLAGS="-I$IPPROOT/include" 
    921         IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippsr${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
    922  
     921        IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
     922 
     923# 
    923924        # Some differences between Mac OS X and Linux 
    924925        case $target in  
     
    927928                ;; 
    928929            *) 
    929                 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
    930                 IPP_LIBS="$IPP_LIBS -lguide" 
     930                # Find out where the libraries live. 
     931                IPP7_ARCH="" 
     932                if test -d $IPPROOT/lib/intel64; then 
     933                   IPP7_ARCH="intel64" 
     934                elif test -d $IPPROOT/lib/ia32; then 
     935                   IPP7_ARCH="ia32" 
     936                elif test -d $IPPROOT/lib/mic; then 
     937                   IPP7_ARCH="mic" 
     938                fi 
     939 
     940                if test -z "$IPP7_ARCH"; then 
     941                   # IPP6 (and possibly below) 
     942                   IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
     943                   IPP_LIBS="$IPP_LIBS  -lippsr${IPP_SUFFIX} -lguide" 
     944                else 
     945                   # IPP7 
     946                   if ! test -d $IPPROOT/../compiler; then 
     947                        AC_MSG_ERROR([Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly]) 
     948                   fi 
     949                   IPP_CFLAGS="$IPP_CFLAGS" 
     950                   IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" 
     951                   IPP_LIBS="$IPP_LIBS -liomp5" 
     952                fi 
    931953                ;; 
    932954        esac 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/ipp_codecs.c

    r3288 r3517  
    16191619#   pragma comment( lib, "ipps.lib") 
    16201620#   pragma comment( lib, "ippsc.lib") 
    1621 #   pragma comment( lib, "ippsr.lib") 
     1621#   if defined(IPP_VERSION_MAJOR) && IPP_VERSION_MAJOR<=6 
     1622#       pragma comment( lib, "ippsr.lib") 
     1623#   endif 
    16221624//#   pragma comment( lib, "ippcorel.lib") 
    16231625//#   pragma comment( lib, "ippsemerged.lib") 
Note: See TracChangeset for help on using the changeset viewer.