Changeset 3464


Ignore:
Timestamp:
Mar 18, 2011 8:33:29 AM (14 years ago)
Author:
bennylp
Message:

Intel IPP version 7 support on Linux. This closes #1200

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3430 r3464  
    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_no_ilbc_codec 
     604ac_no_speex_codec 
     605ac_no_g7221_codec 
     606ac_no_g722_codec 
     607ac_no_gsm_codec 
     608ac_no_l16_codec 
     609ac_no_g711_codec 
     610ac_no_speex_aec 
     611ac_no_large_filter 
     612ac_no_small_filter 
     613ac_pa_use_oss 
     614ac_pa_use_alsa 
     615ac_pa_cflags 
     616ac_external_pa 
     617ac_pjmedia_snd 
     618ac_external_gsm 
     619ac_external_speex 
     620ac_os_objs 
     621EGREP 
     622GREP 
     623CPP 
     624ac_build_mak_vars 
     625ac_pjdir 
     626CC_CFLAGS 
     627CC_OPTIMIZE 
     628CC_DEF 
     629CC_INC 
     630CC_OUT 
     631LIBEXT2 
     632LIBEXT 
     633RANLIB 
     634LDOUT 
     635LD 
     636AR 
     637ac_ct_CXX 
     638CXXFLAGS 
     639CXX 
     640OBJEXT 
     641EXEEXT 
     642ac_ct_CC 
     643CPPFLAGS 
     644LDFLAGS 
     645CFLAGS 
     646CC 
     647target_os 
     648target_vendor 
     649target_cpu 
     650target 
     651host_os 
     652host_vendor 
     653host_cpu 
     654host 
     655build_os 
     656build_vendor 
     657build_cpu 
     658build 
     659target_alias 
     660host_alias 
     661build_alias 
     662LIBS 
     663ECHO_T 
     664ECHO_N 
     665ECHO_C 
     666DEFS 
     667mandir 
     668localedir 
     669libdir 
     670psdir 
     671pdfdir 
     672dvidir 
     673htmldir 
     674infodir 
     675docdir 
     676oldincludedir 
     677includedir 
     678localstatedir 
     679sharedstatedir 
     680sysconfdir 
     681datadir 
     682datarootdir 
     683libexecdir 
     684sbindir 
     685bindir 
     686program_transform_name 
     687prefix 
     688exec_prefix 
     689PACKAGE_URL 
     690PACKAGE_BUGREPORT 
     691PACKAGE_STRING 
     692PACKAGE_VERSION 
     693PACKAGE_TARNAME 
     694PACKAGE_NAME 
    616695PATH_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_no_small_filter 
    699 ac_no_large_filter 
    700 ac_no_speex_aec 
    701 ac_no_g711_codec 
    702 ac_no_l16_codec 
    703 ac_no_gsm_codec 
    704 ac_no_g722_codec 
    705 ac_no_g7221_codec 
    706 ac_no_speex_codec 
    707 ac_no_ilbc_codec 
    708 ac_no_ssl 
    709 openssl_h_present 
    710 libssl_present 
    711 libcrypto_present 
    712 ac_cross_compile 
    713 ac_linux_poll 
    714 ac_host 
    715 ac_main_obj 
    716 LIBOBJS 
    717 LTLIBOBJS' 
     696SHELL' 
    718697ac_subst_files='' 
     698ac_user_opts=' 
     699enable_option_checking 
     700enable_floating_point 
     701enable_epoll 
     702with_external_speex 
     703with_external_gsm 
     704enable_sound 
     705with_external_pa 
     706enable_oss 
     707enable_ext_sound 
     708enable_small_filter 
     709enable_large_filter 
     710enable_speex_aec 
     711enable_g711_codec 
     712enable_l16_codec 
     713enable_gsm_codec 
     714enable_g722_codec 
     715enable_g7221_codec 
     716enable_speex_codec 
     717enable_ilbc_codec 
     718enable_libsamplerate 
     719enable_ipp 
     720with_ipp 
     721with_ipp_samples 
     722with_ipp_arch 
     723enable_ssl 
     724' 
    719725      ac_precious_vars='build_alias 
    720726host_alias 
     
    734740ac_init_help= 
    735741ac_init_version=false 
     742ac_unrecognized_opts= 
     743ac_unrecognized_sep= 
    736744# The variables have the same names as the options, with 
    737745# dashes changed to underlines. 
     
    832840 
    833841  -disable-* | --disable-*) 
    834     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     842    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    835843    # Reject names that are not valid shell variable names. 
    836     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    837       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    838    { (exit 1); exit 1; }; } 
    839     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    840     eval enable_$ac_feature=no ;; 
     844    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     845      as_fn_error "invalid feature name: $ac_useropt" 
     846    ac_useropt_orig=$ac_useropt 
     847    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     848    case $ac_user_opts in 
     849      *" 
     850"enable_$ac_useropt" 
     851"*) ;; 
     852      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
     853         ac_unrecognized_sep=', ';; 
     854    esac 
     855    eval enable_$ac_useropt=no ;; 
    841856 
    842857  -docdir | --docdir | --docdi | --doc | --do) 
     
    851866 
    852867  -enable-* | --enable-*) 
    853     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     868    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    854869    # Reject names that are not valid shell variable names. 
    855     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    856       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    857    { (exit 1); exit 1; }; } 
    858     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    859     eval enable_$ac_feature=\$ac_optarg ;; 
     870    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     871      as_fn_error "invalid feature name: $ac_useropt" 
     872    ac_useropt_orig=$ac_useropt 
     873    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     874    case $ac_user_opts in 
     875      *" 
     876"enable_$ac_useropt" 
     877"*) ;; 
     878      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
     879         ac_unrecognized_sep=', ';; 
     880    esac 
     881    eval enable_$ac_useropt=\$ac_optarg ;; 
    860882 
    861883  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10481070 
    10491071  -with-* | --with-*) 
    1050     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1072    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10511073    # Reject names that are not valid shell variable names. 
    1052     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1053       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1054    { (exit 1); exit 1; }; } 
    1055     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1056     eval with_$ac_package=\$ac_optarg ;; 
     1074    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1075      as_fn_error "invalid package name: $ac_useropt" 
     1076    ac_useropt_orig=$ac_useropt 
     1077    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1078    case $ac_user_opts in 
     1079      *" 
     1080"with_$ac_useropt" 
     1081"*) ;; 
     1082      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
     1083         ac_unrecognized_sep=', ';; 
     1084    esac 
     1085    eval with_$ac_useropt=\$ac_optarg ;; 
    10571086 
    10581087  -without-* | --without-*) 
    1059     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1088    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10601089    # Reject names that are not valid shell variable names. 
    1061     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1062       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1063    { (exit 1); exit 1; }; } 
    1064     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1065     eval with_$ac_package=no ;; 
     1090    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1091      as_fn_error "invalid package name: $ac_useropt" 
     1092    ac_useropt_orig=$ac_useropt 
     1093    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1094    case $ac_user_opts in 
     1095      *" 
     1096"with_$ac_useropt" 
     1097"*) ;; 
     1098      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
     1099         ac_unrecognized_sep=', ';; 
     1100    esac 
     1101    eval with_$ac_useropt=no ;; 
    10661102 
    10671103  --x) 
     
    10831119    x_libraries=$ac_optarg ;; 
    10841120 
    1085   -*) { echo "$as_me: error: unrecognized option: $ac_option 
    1086 Try \`$0 --help' for more information." >&2 
    1087    { (exit 1); exit 1; }; } 
     1121  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1122Try \`$0 --help' for more information." 
    10881123    ;; 
    10891124 
     
    10911126    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    10921127    # Reject names that are not valid shell variable names. 
    1093     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1094       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1095    { (exit 1); exit 1; }; } 
     1128    case $ac_envvar in #( 
     1129      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1130      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1131    esac 
    10961132    eval $ac_envvar=\$ac_optarg 
    10971133    export $ac_envvar ;; 
     
    10991135  *) 
    11001136    # FIXME: should be removed in autoconf 3.0. 
    1101     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1137    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11021138    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1103       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1139      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11041140    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11051141    ;; 
     
    11101146if test -n "$ac_prev"; then 
    11111147  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1112   { echo "$as_me: error: missing argument to $ac_option" >&2 
    1113    { (exit 1); exit 1; }; } 
    1114 fi 
    1115  
    1116 # Be sure to have absolute directory names. 
     1148  as_fn_error "missing argument to $ac_option" 
     1149fi 
     1150 
     1151if test -n "$ac_unrecognized_opts"; then 
     1152  case $enable_option_checking in 
     1153    no) ;; 
     1154    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1155    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1156  esac 
     1157fi 
     1158 
     1159# Check all directory arguments for consistency. 
    11171160for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11181161                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11211164do 
    11221165  eval ac_val=\$$ac_var 
     1166  # Remove trailing slashes. 
     1167  case $ac_val in 
     1168    */ ) 
     1169      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
     1170      eval $ac_var=\$ac_val;; 
     1171  esac 
     1172  # Be sure to have absolute directory names. 
    11231173  case $ac_val in 
    11241174    [\\/$]* | ?:[\\/]* )  continue;; 
    11251175    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11261176  esac 
    1127   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1128    { (exit 1); exit 1; }; } 
     1177  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    11291178done 
    11301179 
     
    11401189  if test "x$build_alias" = x; then 
    11411190    cross_compiling=maybe 
    1142     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1191    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11431192    If a cross compiler is detected then cross compile mode will be used." >&2 
    11441193  elif test "x$build_alias" != "x$host_alias"; then 
     
    11561205ac_ls_di=`ls -di .` && 
    11571206ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1158   { echo "$as_me: error: Working directory cannot be determined" >&2 
    1159    { (exit 1); exit 1; }; } 
     1207  as_fn_error "working directory cannot be determined" 
    11601208test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1161   { echo "$as_me: error: pwd does not report name of working directory" >&2 
    1162    { (exit 1); exit 1; }; } 
     1209  as_fn_error "pwd does not report name of working directory" 
    11631210 
    11641211 
     
    11671214  ac_srcdir_defaulted=yes 
    11681215  # Try the directory containing this script, then the parent directory. 
    1169   ac_confdir=`$as_dirname -- "$0" || 
    1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1171          X"$0" : 'X\(//\)[^/]' \| \ 
    1172          X"$0" : 'X\(//\)$' \| \ 
    1173          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    1174 echo X"$0" | 
     1216  ac_confdir=`$as_dirname -- "$as_myself" || 
     1217$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1218         X"$as_myself" : 'X\(//\)[^/]' \| \ 
     1219         X"$as_myself" : 'X\(//\)$' \| \ 
     1220         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
     1221$as_echo X"$as_myself" | 
    11751222    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    11761223            s//\1/ 
     
    11991246if test ! -r "$srcdir/$ac_unique_file"; then 
    12001247  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1201   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1202    { (exit 1); exit 1; }; } 
     1248  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12031249fi 
    12041250ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12051251ac_abs_confdir=`( 
    1206         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    1207    { (exit 1); exit 1; }; } 
     1252        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12081253        pwd)` 
    12091254# When building in place, set srcdir=. 
     
    12531298Installation directories: 
    12541299  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1255                           [$ac_default_prefix] 
     1300                          [$ac_default_prefix] 
    12561301  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1257                           [PREFIX] 
     1302                          [PREFIX] 
    12581303 
    12591304By default, \`make install' will install all the files in 
     
    12651310 
    12661311Fine tuning of the installation directories: 
    1267   --bindir=DIR           user executables [EPREFIX/bin] 
    1268   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    1269   --libexecdir=DIR       program executables [EPREFIX/libexec] 
    1270   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    1271   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    1272   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    1273   --libdir=DIR           object code libraries [EPREFIX/lib] 
    1274   --includedir=DIR       C header files [PREFIX/include] 
    1275   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    1276   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    1277   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    1278   --infodir=DIR          info documentation [DATAROOTDIR/info] 
    1279   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    1280   --mandir=DIR           man documentation [DATAROOTDIR/man] 
    1281   --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
    1282   --htmldir=DIR          html documentation [DOCDIR] 
    1283   --dvidir=DIR           dvi documentation [DOCDIR] 
    1284   --pdfdir=DIR           pdf documentation [DOCDIR] 
    1285   --psdir=DIR            ps documentation [DOCDIR] 
     1312  --bindir=DIR            user executables [EPREFIX/bin] 
     1313  --sbindir=DIR           system admin executables [EPREFIX/sbin] 
     1314  --libexecdir=DIR        program executables [EPREFIX/libexec] 
     1315  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
     1316  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
     1317  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1318  --libdir=DIR            object code libraries [EPREFIX/lib] 
     1319  --includedir=DIR        C header files [PREFIX/include] 
     1320  --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
     1321  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
     1322  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
     1323  --infodir=DIR           info documentation [DATAROOTDIR/info] 
     1324  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
     1325  --mandir=DIR            man documentation [DATAROOTDIR/man] 
     1326  --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
     1327  --htmldir=DIR           html documentation [DOCDIR] 
     1328  --dvidir=DIR            dvi documentation [DOCDIR] 
     1329  --pdfdir=DIR            pdf documentation [DOCDIR] 
     1330  --psdir=DIR             ps documentation [DOCDIR] 
    12861331_ACEOF 
    12871332 
     
    13021347 
    13031348Optional Features: 
     1349  --disable-option-checking  ignore unrecognized --enable/--with options 
    13041350  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13051351  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    13591405              nonstandard directory <lib dir> 
    13601406  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1361   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
     1407  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
    13621408              you have headers in a nonstandard directory <include dir> 
    13631409  CXX         C++ compiler command 
     
    13681414it to find libraries and programs with nonstandard names/locations. 
    13691415 
     1416Report bugs to the package provider. 
    13701417_ACEOF 
    13711418ac_status=$? 
     
    13751422  # If there are subdirs, report their specific --help. 
    13761423  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1377     test -d "$ac_dir" || continue 
     1424    test -d "$ac_dir" || 
     1425      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
     1426      continue 
    13781427    ac_builddir=. 
    13791428 
     
    13811430.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    13821431*) 
    1383   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     1432  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    13841433  # A ".." for each directory in $ac_dir_suffix. 
    1385   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     1434  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    13861435  case $ac_top_builddir_sub in 
    13871436  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14191468      $SHELL "$ac_srcdir/configure" --help=recursive 
    14201469    else 
    1421       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1470      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14221471    fi || ac_status=$? 
    14231472    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14291478  cat <<\_ACEOF 
    14301479pjproject configure 1.x 
    1431 generated by GNU Autoconf 2.61 
    1432  
    1433 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1434 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     1480generated by GNU Autoconf 2.65 
     1481 
     1482Copyright (C) 2009 Free Software Foundation, Inc. 
    14351483This configure script is free software; the Free Software Foundation 
    14361484gives unlimited permission to copy, distribute and modify it. 
     
    14381486  exit 
    14391487fi 
     1488 
     1489## ------------------------ ## 
     1490## Autoconf initialization. ## 
     1491## ------------------------ ## 
     1492 
     1493# ac_fn_c_try_compile LINENO 
     1494# -------------------------- 
     1495# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1496ac_fn_c_try_compile () 
     1497{ 
     1498  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1499  rm -f conftest.$ac_objext 
     1500  if { { ac_try="$ac_compile" 
     1501case "(($ac_try" in 
     1502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1503  *) ac_try_echo=$ac_try;; 
     1504esac 
     1505eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1506$as_echo "$ac_try_echo"; } >&5 
     1507  (eval "$ac_compile") 2>conftest.err 
     1508  ac_status=$? 
     1509  if test -s conftest.err; then 
     1510    grep -v '^ *+' conftest.err >conftest.er1 
     1511    cat conftest.er1 >&5 
     1512    mv -f conftest.er1 conftest.err 
     1513  fi 
     1514  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1515  test $ac_status = 0; } && { 
     1516         test -z "$ac_c_werror_flag" || 
     1517         test ! -s conftest.err 
     1518       } && test -s conftest.$ac_objext; then : 
     1519  ac_retval=0 
     1520else 
     1521  $as_echo "$as_me: failed program was:" >&5 
     1522sed 's/^/| /' conftest.$ac_ext >&5 
     1523 
     1524        ac_retval=1 
     1525fi 
     1526  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1527  as_fn_set_status $ac_retval 
     1528 
     1529} # ac_fn_c_try_compile 
     1530 
     1531# ac_fn_cxx_try_compile LINENO 
     1532# ---------------------------- 
     1533# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1534ac_fn_cxx_try_compile () 
     1535{ 
     1536  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1537  rm -f conftest.$ac_objext 
     1538  if { { ac_try="$ac_compile" 
     1539case "(($ac_try" in 
     1540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1541  *) ac_try_echo=$ac_try;; 
     1542esac 
     1543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1544$as_echo "$ac_try_echo"; } >&5 
     1545  (eval "$ac_compile") 2>conftest.err 
     1546  ac_status=$? 
     1547  if test -s conftest.err; then 
     1548    grep -v '^ *+' conftest.err >conftest.er1 
     1549    cat conftest.er1 >&5 
     1550    mv -f conftest.er1 conftest.err 
     1551  fi 
     1552  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1553  test $ac_status = 0; } && { 
     1554         test -z "$ac_cxx_werror_flag" || 
     1555         test ! -s conftest.err 
     1556       } && test -s conftest.$ac_objext; then : 
     1557  ac_retval=0 
     1558else 
     1559  $as_echo "$as_me: failed program was:" >&5 
     1560sed 's/^/| /' conftest.$ac_ext >&5 
     1561 
     1562        ac_retval=1 
     1563fi 
     1564  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1565  as_fn_set_status $ac_retval 
     1566 
     1567} # ac_fn_cxx_try_compile 
     1568 
     1569# ac_fn_c_try_link LINENO 
     1570# ----------------------- 
     1571# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1572ac_fn_c_try_link () 
     1573{ 
     1574  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1575  rm -f conftest.$ac_objext conftest$ac_exeext 
     1576  if { { ac_try="$ac_link" 
     1577case "(($ac_try" in 
     1578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1579  *) ac_try_echo=$ac_try;; 
     1580esac 
     1581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1582$as_echo "$ac_try_echo"; } >&5 
     1583  (eval "$ac_link") 2>conftest.err 
     1584  ac_status=$? 
     1585  if test -s conftest.err; then 
     1586    grep -v '^ *+' conftest.err >conftest.er1 
     1587    cat conftest.er1 >&5 
     1588    mv -f conftest.er1 conftest.err 
     1589  fi 
     1590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1591  test $ac_status = 0; } && { 
     1592         test -z "$ac_c_werror_flag" || 
     1593         test ! -s conftest.err 
     1594       } && test -s conftest$ac_exeext && { 
     1595         test "$cross_compiling" = yes || 
     1596         $as_test_x conftest$ac_exeext 
     1597       }; then : 
     1598  ac_retval=0 
     1599else 
     1600  $as_echo "$as_me: failed program was:" >&5 
     1601sed 's/^/| /' conftest.$ac_ext >&5 
     1602 
     1603        ac_retval=1 
     1604fi 
     1605  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1606  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1607  # interfere with the next link command; also delete a directory that is 
     1608  # left behind by Apple's compiler.  We do this before executing the actions. 
     1609  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1610  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1611  as_fn_set_status $ac_retval 
     1612 
     1613} # ac_fn_c_try_link 
     1614 
     1615# ac_fn_c_try_run LINENO 
     1616# ---------------------- 
     1617# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1618# that executables *can* be run. 
     1619ac_fn_c_try_run () 
     1620{ 
     1621  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1622  if { { ac_try="$ac_link" 
     1623case "(($ac_try" in 
     1624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1625  *) ac_try_echo=$ac_try;; 
     1626esac 
     1627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1628$as_echo "$ac_try_echo"; } >&5 
     1629  (eval "$ac_link") 2>&5 
     1630  ac_status=$? 
     1631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1632  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1633  { { case "(($ac_try" in 
     1634  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1635  *) ac_try_echo=$ac_try;; 
     1636esac 
     1637eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1638$as_echo "$ac_try_echo"; } >&5 
     1639  (eval "$ac_try") 2>&5 
     1640  ac_status=$? 
     1641  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1642  test $ac_status = 0; }; }; then : 
     1643  ac_retval=0 
     1644else 
     1645  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1646       $as_echo "$as_me: failed program was:" >&5 
     1647sed 's/^/| /' conftest.$ac_ext >&5 
     1648 
     1649       ac_retval=$ac_status 
     1650fi 
     1651  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1652  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1653  as_fn_set_status $ac_retval 
     1654 
     1655} # ac_fn_c_try_run 
     1656 
     1657# ac_fn_c_try_cpp LINENO 
     1658# ---------------------- 
     1659# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1660ac_fn_c_try_cpp () 
     1661{ 
     1662  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1663  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1664case "(($ac_try" in 
     1665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1666  *) ac_try_echo=$ac_try;; 
     1667esac 
     1668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1669$as_echo "$ac_try_echo"; } >&5 
     1670  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1671  ac_status=$? 
     1672  if test -s conftest.err; then 
     1673    grep -v '^ *+' conftest.err >conftest.er1 
     1674    cat conftest.er1 >&5 
     1675    mv -f conftest.er1 conftest.err 
     1676  fi 
     1677  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1678  test $ac_status = 0; } >/dev/null && { 
     1679         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1680         test ! -s conftest.err 
     1681       }; then : 
     1682  ac_retval=0 
     1683else 
     1684  $as_echo "$as_me: failed program was:" >&5 
     1685sed 's/^/| /' conftest.$ac_ext >&5 
     1686 
     1687    ac_retval=1 
     1688fi 
     1689  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1690  as_fn_set_status $ac_retval 
     1691 
     1692} # ac_fn_c_try_cpp 
     1693 
     1694# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1695# ------------------------------------------------------- 
     1696# Tests whether HEADER exists and can be compiled using the include files in 
     1697# INCLUDES, setting the cache variable VAR accordingly. 
     1698ac_fn_c_check_header_compile () 
     1699{ 
     1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1701  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1702$as_echo_n "checking for $2... " >&6; } 
     1703if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1704  $as_echo_n "(cached) " >&6 
     1705else 
     1706  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1707/* end confdefs.h.  */ 
     1708$4 
     1709#include <$2> 
     1710_ACEOF 
     1711if ac_fn_c_try_compile "$LINENO"; then : 
     1712  eval "$3=yes" 
     1713else 
     1714  eval "$3=no" 
     1715fi 
     1716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1717fi 
     1718eval ac_res=\$$3 
     1719               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1720$as_echo "$ac_res" >&6; } 
     1721  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1722 
     1723} # ac_fn_c_check_header_compile 
     1724 
     1725# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1726# ------------------------------------------------------- 
     1727# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1728# the include files in INCLUDES and setting the cache variable VAR 
     1729# accordingly. 
     1730ac_fn_c_check_header_mongrel () 
     1731{ 
     1732  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1733  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1735$as_echo_n "checking for $2... " >&6; } 
     1736if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1737  $as_echo_n "(cached) " >&6 
     1738fi 
     1739eval ac_res=\$$3 
     1740               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1741$as_echo "$ac_res" >&6; } 
     1742else 
     1743  # Is the header compilable? 
     1744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1745$as_echo_n "checking $2 usability... " >&6; } 
     1746cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1747/* end confdefs.h.  */ 
     1748$4 
     1749#include <$2> 
     1750_ACEOF 
     1751if ac_fn_c_try_compile "$LINENO"; then : 
     1752  ac_header_compiler=yes 
     1753else 
     1754  ac_header_compiler=no 
     1755fi 
     1756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1758$as_echo "$ac_header_compiler" >&6; } 
     1759 
     1760# Is the header present? 
     1761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1762$as_echo_n "checking $2 presence... " >&6; } 
     1763cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1764/* end confdefs.h.  */ 
     1765#include <$2> 
     1766_ACEOF 
     1767if ac_fn_c_try_cpp "$LINENO"; then : 
     1768  ac_header_preproc=yes 
     1769else 
     1770  ac_header_preproc=no 
     1771fi 
     1772rm -f conftest.err conftest.$ac_ext 
     1773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1774$as_echo "$ac_header_preproc" >&6; } 
     1775 
     1776# So?  What about this header? 
     1777case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1778  yes:no: ) 
     1779    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1780$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1781    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1782$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1783    ;; 
     1784  no:yes:* ) 
     1785    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1786$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1787    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1788$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1789    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1790$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1791    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1792$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1793    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1794$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1795    ;; 
     1796esac 
     1797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1798$as_echo_n "checking for $2... " >&6; } 
     1799if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1800  $as_echo_n "(cached) " >&6 
     1801else 
     1802  eval "$3=\$ac_header_compiler" 
     1803fi 
     1804eval ac_res=\$$3 
     1805               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1806$as_echo "$ac_res" >&6; } 
     1807fi 
     1808  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1809 
     1810} # ac_fn_c_check_header_mongrel 
     1811 
     1812# ac_fn_c_check_func LINENO FUNC VAR 
     1813# ---------------------------------- 
     1814# Tests whether FUNC exists, setting the cache variable VAR accordingly 
     1815ac_fn_c_check_func () 
     1816{ 
     1817  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1819$as_echo_n "checking for $2... " >&6; } 
     1820if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1821  $as_echo_n "(cached) " >&6 
     1822else 
     1823  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1824/* end confdefs.h.  */ 
     1825/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
     1826   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     1827#define $2 innocuous_$2 
     1828 
     1829/* System header to define __stub macros and hopefully few prototypes, 
     1830    which can conflict with char $2 (); below. 
     1831    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     1832    <limits.h> exists even on freestanding compilers.  */ 
     1833 
     1834#ifdef __STDC__ 
     1835# include <limits.h> 
     1836#else 
     1837# include <assert.h> 
     1838#endif 
     1839 
     1840#undef $2 
     1841 
     1842/* Override any GCC internal prototype to avoid an error. 
     1843   Use char because int might match the return type of a GCC 
     1844   builtin and then its argument prototype would still apply.  */ 
     1845#ifdef __cplusplus 
     1846extern "C" 
     1847#endif 
     1848char $2 (); 
     1849/* The GNU C library defines this for functions which it implements 
     1850    to always fail with ENOSYS.  Some functions are actually named 
     1851    something starting with __ and the normal name is an alias.  */ 
     1852#if defined __stub_$2 || defined __stub___$2 
     1853choke me 
     1854#endif 
     1855 
     1856int 
     1857main () 
     1858{ 
     1859return $2 (); 
     1860  ; 
     1861  return 0; 
     1862} 
     1863_ACEOF 
     1864if ac_fn_c_try_link "$LINENO"; then : 
     1865  eval "$3=yes" 
     1866else 
     1867  eval "$3=no" 
     1868fi 
     1869rm -f core conftest.err conftest.$ac_objext \ 
     1870    conftest$ac_exeext conftest.$ac_ext 
     1871fi 
     1872eval ac_res=\$$3 
     1873               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1874$as_echo "$ac_res" >&6; } 
     1875  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1876 
     1877} # ac_fn_c_check_func 
    14401878cat >config.log <<_ACEOF 
    14411879This file contains any messages produced by compilers while 
     
    14431881 
    14441882It was created by pjproject $as_me 1.x, which was 
    1445 generated by GNU Autoconf 2.61.  Invocation command line was 
     1883generated by GNU Autoconf 2.65.  Invocation command line was 
    14461884 
    14471885  $ $0 $@ 
     
    14791917  IFS=$as_save_IFS 
    14801918  test -z "$as_dir" && as_dir=. 
    1481   echo "PATH: $as_dir" 
    1482 done 
     1919    $as_echo "PATH: $as_dir" 
     1920  done 
    14831921IFS=$as_save_IFS 
    14841922 
     
    15141952      continue ;; 
    15151953    *\'*) 
    1516       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1954      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    15171955    esac 
    15181956    case $ac_pass in 
    1519     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1957    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15201958    2) 
    1521       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1959      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15221960      if test $ac_must_keep_next = true; then 
    15231961        ac_must_keep_next=false # Got value, back to normal. 
     
    15351973        esac 
    15361974      fi 
    1537       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1975      as_fn_append ac_configure_args " '$ac_arg'" 
    15381976      ;; 
    15391977    esac 
    15401978  done 
    15411979done 
    1542 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1543 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1980{ ac_configure_args0=; unset ac_configure_args0;} 
     1981{ ac_configure_args1=; unset ac_configure_args1;} 
    15441982 
    15451983# When interrupted or exit'd, cleanup temporary files, and complete 
     
    15662004    *${as_nl}*) 
    15672005      case $ac_var in #( 
    1568       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1569 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     2006      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     2007$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    15702008      esac 
    15712009      case $ac_var in #( 
    15722010      _ | IFS | as_nl) ;; #( 
    1573       *) $as_unset $ac_var ;; 
     2011      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     2012      *) { eval $ac_var=; unset $ac_var;} ;; 
    15742013      esac ;; 
    15752014    esac 
     
    16002039      eval ac_val=\$$ac_var 
    16012040      case $ac_val in 
    1602       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2041      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16032042      esac 
    1604       echo "$ac_var='\''$ac_val'\''" 
     2043      $as_echo "$ac_var='\''$ac_val'\''" 
    16052044    done | sort 
    16062045    echo 
     
    16172056        eval ac_val=\$$ac_var 
    16182057        case $ac_val in 
    1619         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2058        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16202059        esac 
    1621         echo "$ac_var='\''$ac_val'\''" 
     2060        $as_echo "$ac_var='\''$ac_val'\''" 
    16222061      done | sort 
    16232062      echo 
     
    16352074    fi 
    16362075    test "$ac_signal" != 0 && 
    1637       echo "$as_me: caught signal $ac_signal" 
    1638     echo "$as_me: exit $exit_status" 
     2076      $as_echo "$as_me: caught signal $ac_signal" 
     2077    $as_echo "$as_me: exit $exit_status" 
    16392078  } >&5 
    16402079  rm -f core *.core core.conftest.* && 
     
    16432082' 0 
    16442083for ac_signal in 1 2 13 15; do 
    1645   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     2084  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    16462085done 
    16472086ac_signal=0 
     
    16502089rm -f -r conftest* confdefs.h 
    16512090 
     2091$as_echo "/* confdefs.h */" > confdefs.h 
     2092 
    16522093# Predefined preprocessor variables. 
    16532094 
     
    16562097_ACEOF 
    16572098 
    1658  
    16592099cat >>confdefs.h <<_ACEOF 
    16602100#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    16612101_ACEOF 
    16622102 
    1663  
    16642103cat >>confdefs.h <<_ACEOF 
    16652104#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    16662105_ACEOF 
    16672106 
    1668  
    16692107cat >>confdefs.h <<_ACEOF 
    16702108#define PACKAGE_STRING "$PACKAGE_STRING" 
    16712109_ACEOF 
    16722110 
    1673  
    16742111cat >>confdefs.h <<_ACEOF 
    16752112#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    16762113_ACEOF 
    16772114 
     2115cat >>confdefs.h <<_ACEOF 
     2116#define PACKAGE_URL "$PACKAGE_URL" 
     2117_ACEOF 
     2118 
    16782119 
    16792120# Let the site file select an alternate cache file if it wants to. 
    1680 # Prefer explicitly selected file to automatically selected ones. 
     2121# Prefer an explicitly selected file to automatically selected ones. 
     2122ac_site_file1=NONE 
     2123ac_site_file2=NONE 
    16812124if test -n "$CONFIG_SITE"; then 
    1682   set x "$CONFIG_SITE" 
     2125  ac_site_file1=$CONFIG_SITE 
    16832126elif test "x$prefix" != xNONE; then 
    1684   set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    1685 else 
    1686   set x "$ac_default_prefix/share/config.site" \ 
    1687         "$ac_default_prefix/etc/config.site" 
    1688 fi 
    1689 shift 
    1690 for ac_site_file 
     2127  ac_site_file1=$prefix/share/config.site 
     2128  ac_site_file2=$prefix/etc/config.site 
     2129else 
     2130  ac_site_file1=$ac_default_prefix/share/config.site 
     2131  ac_site_file2=$ac_default_prefix/etc/config.site 
     2132fi 
     2133for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
    16912134do 
    1692   if test -r "$ac_site_file"; then 
    1693     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    1694 echo "$as_me: loading site script $ac_site_file" >&6;} 
     2135  test "x$ac_site_file" = xNONE && continue 
     2136  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
     2137    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
     2138$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    16952139    sed 's/^/| /' "$ac_site_file" >&5 
    16962140    . "$ac_site_file" 
     
    16992143 
    17002144if test -r "$cache_file"; then 
    1701   # Some versions of bash will fail to source /dev/null (special 
    1702   # files actually), so we avoid doing that. 
    1703   if test -f "$cache_file"; then 
    1704     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    1705 echo "$as_me: loading cache $cache_file" >&6;} 
     2145  # Some versions of bash will fail to source /dev/null (special files 
     2146  # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
     2147  if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
     2148    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
     2149$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17062150    case $cache_file in 
    17072151      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    17102154  fi 
    17112155else 
    1712   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    1713 echo "$as_me: creating cache $cache_file" >&6;} 
     2156  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
     2157$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17142158  >$cache_file 
    17152159fi 
     
    17252169  case $ac_old_set,$ac_new_set in 
    17262170    set,) 
    1727       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1728 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     2171      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2172$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17292173      ac_cache_corrupted=: ;; 
    17302174    ,set) 
    1731       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    1732 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     2175      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
     2176$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17332177      ac_cache_corrupted=: ;; 
    17342178    ,);; 
    17352179    *) 
    17362180      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1737         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    1738 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1739         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    1740 echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1741         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    1742 echo "$as_me:   current value: $ac_new_val" >&2;} 
    1743         ac_cache_corrupted=: 
     2181        # differences in whitespace do not lead to failure. 
     2182        ac_old_val_w=`echo x $ac_old_val` 
     2183        ac_new_val_w=`echo x $ac_new_val` 
     2184        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
     2185          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
     2186$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     2187          ac_cache_corrupted=: 
     2188        else 
     2189          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2190$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
     2191          eval $ac_var=\$ac_old_val 
     2192        fi 
     2193        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
     2194$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
     2195        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
     2196$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    17442197      fi;; 
    17452198  esac 
     
    17472200  if test "$ac_new_set" = set; then 
    17482201    case $ac_new_val in 
    1749     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     2202    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    17502203    *) ac_arg=$ac_var=$ac_new_val ;; 
    17512204    esac 
    17522205    case " $ac_configure_args " in 
    17532206      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1754       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2207      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    17552208    esac 
    17562209  fi 
    17572210done 
    17582211if $ac_cache_corrupted; then 
    1759   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    1760 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1761   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1762 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1763    { (exit 1); exit 1; }; } 
    1764 fi 
    1765  
    1766  
    1767  
    1768  
    1769  
    1770  
    1771  
    1772  
    1773  
    1774  
    1775  
    1776  
    1777  
    1778  
    1779  
    1780  
    1781  
    1782  
    1783  
    1784  
    1785  
    1786  
    1787  
    1788  
     2212  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2214  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
     2215$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     2216  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2217fi 
     2218## -------------------- ## 
     2219## Main body of script. ## 
     2220## -------------------- ## 
    17892221 
    17902222ac_ext=c 
     
    18002232ac_aux_dir= 
    18012233for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1802   if test -f "$ac_dir/install-sh"; then 
    1803     ac_aux_dir=$ac_dir 
    1804     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1805     break 
    1806   elif test -f "$ac_dir/install.sh"; then 
    1807     ac_aux_dir=$ac_dir 
    1808     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1809     break 
    1810   elif test -f "$ac_dir/shtool"; then 
    1811     ac_aux_dir=$ac_dir 
    1812     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1813     break 
    1814   fi 
     2234  for ac_t in install-sh install.sh shtool; do 
     2235    if test -f "$ac_dir/$ac_t"; then 
     2236      ac_aux_dir=$ac_dir 
     2237      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2238      break 2 
     2239    fi 
     2240  done 
    18152241done 
    18162242if test -z "$ac_aux_dir"; then 
    1817   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1818 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1819    { (exit 1); exit 1; }; } 
     2243  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18202244fi 
    18212245 
     
    18312255# Make sure we can run config.sub. 
    18322256$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1833   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1834 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1835    { (exit 1); exit 1; }; } 
    1836  
    1837 { echo "$as_me:$LINENO: checking build system type" >&5 
    1838 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    1839 if test "${ac_cv_build+set}" = set; then 
    1840   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2257  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2258 
     2259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     2260$as_echo_n "checking build system type... " >&6; } 
     2261if test "${ac_cv_build+set}" = set; then : 
     2262  $as_echo_n "(cached) " >&6 
    18412263else 
    18422264  ac_build_alias=$build_alias 
     
    18442266  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    18452267test "x$ac_build_alias" = x && 
    1846   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1847 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1848    { (exit 1); exit 1; }; } 
     2268  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    18492269ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1850   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1851 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1852    { (exit 1); exit 1; }; } 
    1853  
    1854 fi 
    1855 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    1856 echo "${ECHO_T}$ac_cv_build" >&6; } 
     2270  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2271 
     2272fi 
     2273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
     2274$as_echo "$ac_cv_build" >&6; } 
    18572275case $ac_cv_build in 
    18582276*-*-*) ;; 
    1859 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1860 echo "$as_me: error: invalid value of canonical build" >&2;} 
    1861    { (exit 1); exit 1; }; };; 
     2277*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    18622278esac 
    18632279build=$ac_cv_build 
     
    18752291 
    18762292 
    1877 { echo "$as_me:$LINENO: checking host system type" >&5 
    1878 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    1879 if test "${ac_cv_host+set}" = set; then 
    1880   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
     2294$as_echo_n "checking host system type... " >&6; } 
     2295if test "${ac_cv_host+set}" = set; then : 
     2296  $as_echo_n "(cached) " >&6 
    18812297else 
    18822298  if test "x$host_alias" = x; then 
     
    18842300else 
    18852301  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1886     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1888    { (exit 1); exit 1; }; } 
    1889 fi 
    1890  
    1891 fi 
    1892 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    1893 echo "${ECHO_T}$ac_cv_host" >&6; } 
     2302    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2303fi 
     2304 
     2305fi 
     2306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
     2307$as_echo "$ac_cv_host" >&6; } 
    18942308case $ac_cv_host in 
    18952309*-*-*) ;; 
    1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1897 echo "$as_me: error: invalid value of canonical host" >&2;} 
    1898    { (exit 1); exit 1; }; };; 
     2310*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    18992311esac 
    19002312host=$ac_cv_host 
     
    19122324 
    19132325 
    1914 { echo "$as_me:$LINENO: checking target system type" >&5 
    1915 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    1916 if test "${ac_cv_target+set}" = set; then 
    1917   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
     2327$as_echo_n "checking target system type... " >&6; } 
     2328if test "${ac_cv_target+set}" = set; then : 
     2329  $as_echo_n "(cached) " >&6 
    19182330else 
    19192331  if test "x$target_alias" = x; then 
     
    19212333else 
    19222334  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1923     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1924 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    1925    { (exit 1); exit 1; }; } 
    1926 fi 
    1927  
    1928 fi 
    1929 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    1930 echo "${ECHO_T}$ac_cv_target" >&6; } 
     2335    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2336fi 
     2337 
     2338fi 
     2339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
     2340$as_echo "$ac_cv_target" >&6; } 
    19312341case $ac_cv_target in 
    19322342*-*-*) ;; 
    1933 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    1934 echo "$as_me: error: invalid value of canonical target" >&2;} 
    1935    { (exit 1); exit 1; }; };; 
     2343*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    19362344esac 
    19372345target=$ac_cv_target 
     
    19772385  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    19782386set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1979 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    1981 if test "${ac_cv_prog_CC+set}" = set; then 
    1982   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2388$as_echo_n "checking for $ac_word... " >&6; } 
     2389if test "${ac_cv_prog_CC+set}" = set; then : 
     2390  $as_echo_n "(cached) " >&6 
    19832391else 
    19842392  if test -n "$CC"; then 
     
    19902398  IFS=$as_save_IFS 
    19912399  test -z "$as_dir" && as_dir=. 
    1992   for ac_exec_ext in '' $ac_executable_extensions; do 
     2400    for ac_exec_ext in '' $ac_executable_extensions; do 
    19932401  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    19942402    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    1995     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    19962404    break 2 
    19972405  fi 
    19982406done 
    1999 done 
     2407  done 
    20002408IFS=$as_save_IFS 
    20012409 
     
    20042412CC=$ac_cv_prog_CC 
    20052413if test -n "$CC"; then 
    2006   { echo "$as_me:$LINENO: result: $CC" >&5 
    2007 echo "${ECHO_T}$CC" >&6; } 
    2008 else 
    2009   { echo "$as_me:$LINENO: result: no" >&5 
    2010 echo "${ECHO_T}no" >&6; } 
     2414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2415$as_echo "$CC" >&6; } 
     2416else 
     2417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2418$as_echo "no" >&6; } 
    20112419fi 
    20122420 
     
    20172425  # Extract the first word of "gcc", so it can be a program name with args. 
    20182426set dummy gcc; ac_word=$2 
    2019 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2021 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2022   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2428$as_echo_n "checking for $ac_word... " >&6; } 
     2429if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2430  $as_echo_n "(cached) " >&6 
    20232431else 
    20242432  if test -n "$ac_ct_CC"; then 
     
    20302438  IFS=$as_save_IFS 
    20312439  test -z "$as_dir" && as_dir=. 
    2032   for ac_exec_ext in '' $ac_executable_extensions; do 
     2440    for ac_exec_ext in '' $ac_executable_extensions; do 
    20332441  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20342442    ac_cv_prog_ac_ct_CC="gcc" 
    2035     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20362444    break 2 
    20372445  fi 
    20382446done 
    2039 done 
     2447  done 
    20402448IFS=$as_save_IFS 
    20412449 
     
    20442452ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    20452453if test -n "$ac_ct_CC"; then 
    2046   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2047 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2048 else 
    2049   { echo "$as_me:$LINENO: result: no" >&5 
    2050 echo "${ECHO_T}no" >&6; } 
     2454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2455$as_echo "$ac_ct_CC" >&6; } 
     2456else 
     2457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2458$as_echo "no" >&6; } 
    20512459fi 
    20522460 
     
    20562464    case $cross_compiling:$ac_tool_warned in 
    20572465yes:) 
    2058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2059 whose name does not start with the host triplet.  If you think this 
    2060 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2062 whose name does not start with the host triplet.  If you think this 
    2063 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2466{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2467$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    20642468ac_tool_warned=yes ;; 
    20652469esac 
     
    20742478    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    20752479set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2076 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2078 if test "${ac_cv_prog_CC+set}" = set; then 
    2079   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2481$as_echo_n "checking for $ac_word... " >&6; } 
     2482if test "${ac_cv_prog_CC+set}" = set; then : 
     2483  $as_echo_n "(cached) " >&6 
    20802484else 
    20812485  if test -n "$CC"; then 
     
    20872491  IFS=$as_save_IFS 
    20882492  test -z "$as_dir" && as_dir=. 
    2089   for ac_exec_ext in '' $ac_executable_extensions; do 
     2493    for ac_exec_ext in '' $ac_executable_extensions; do 
    20902494  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20912495    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2092     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20932497    break 2 
    20942498  fi 
    20952499done 
    2096 done 
     2500  done 
    20972501IFS=$as_save_IFS 
    20982502 
     
    21012505CC=$ac_cv_prog_CC 
    21022506if test -n "$CC"; then 
    2103   { echo "$as_me:$LINENO: result: $CC" >&5 
    2104 echo "${ECHO_T}$CC" >&6; } 
    2105 else 
    2106   { echo "$as_me:$LINENO: result: no" >&5 
    2107 echo "${ECHO_T}no" >&6; } 
     2507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2508$as_echo "$CC" >&6; } 
     2509else 
     2510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2511$as_echo "no" >&6; } 
    21082512fi 
    21092513 
     
    21142518  # Extract the first word of "cc", so it can be a program name with args. 
    21152519set dummy cc; ac_word=$2 
    2116 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2118 if test "${ac_cv_prog_CC+set}" = set; then 
    2119   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2521$as_echo_n "checking for $ac_word... " >&6; } 
     2522if test "${ac_cv_prog_CC+set}" = set; then : 
     2523  $as_echo_n "(cached) " >&6 
    21202524else 
    21212525  if test -n "$CC"; then 
     
    21282532  IFS=$as_save_IFS 
    21292533  test -z "$as_dir" && as_dir=. 
    2130   for ac_exec_ext in '' $ac_executable_extensions; do 
     2534    for ac_exec_ext in '' $ac_executable_extensions; do 
    21312535  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21322536    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    21352539     fi 
    21362540    ac_cv_prog_CC="cc" 
    2137     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2541    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21382542    break 2 
    21392543  fi 
    21402544done 
    2141 done 
     2545  done 
    21422546IFS=$as_save_IFS 
    21432547 
     
    21582562CC=$ac_cv_prog_CC 
    21592563if test -n "$CC"; then 
    2160   { echo "$as_me:$LINENO: result: $CC" >&5 
    2161 echo "${ECHO_T}$CC" >&6; } 
    2162 else 
    2163   { echo "$as_me:$LINENO: result: no" >&5 
    2164 echo "${ECHO_T}no" >&6; } 
     2564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2565$as_echo "$CC" >&6; } 
     2566else 
     2567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2568$as_echo "no" >&6; } 
    21652569fi 
    21662570 
     
    21732577    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    21742578set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2177 if test "${ac_cv_prog_CC+set}" = set; then 
    2178   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2580$as_echo_n "checking for $ac_word... " >&6; } 
     2581if test "${ac_cv_prog_CC+set}" = set; then : 
     2582  $as_echo_n "(cached) " >&6 
    21792583else 
    21802584  if test -n "$CC"; then 
     
    21862590  IFS=$as_save_IFS 
    21872591  test -z "$as_dir" && as_dir=. 
    2188   for ac_exec_ext in '' $ac_executable_extensions; do 
     2592    for ac_exec_ext in '' $ac_executable_extensions; do 
    21892593  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21902594    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2191     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2595    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21922596    break 2 
    21932597  fi 
    21942598done 
    2195 done 
     2599  done 
    21962600IFS=$as_save_IFS 
    21972601 
     
    22002604CC=$ac_cv_prog_CC 
    22012605if test -n "$CC"; then 
    2202   { echo "$as_me:$LINENO: result: $CC" >&5 
    2203 echo "${ECHO_T}$CC" >&6; } 
    2204 else 
    2205   { echo "$as_me:$LINENO: result: no" >&5 
    2206 echo "${ECHO_T}no" >&6; } 
     2606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2607$as_echo "$CC" >&6; } 
     2608else 
     2609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2610$as_echo "no" >&6; } 
    22072611fi 
    22082612 
     
    22172621  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22182622set dummy $ac_prog; ac_word=$2 
    2219 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2221 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2222   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2624$as_echo_n "checking for $ac_word... " >&6; } 
     2625if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2626  $as_echo_n "(cached) " >&6 
    22232627else 
    22242628  if test -n "$ac_ct_CC"; then 
     
    22302634  IFS=$as_save_IFS 
    22312635  test -z "$as_dir" && as_dir=. 
    2232   for ac_exec_ext in '' $ac_executable_extensions; do 
     2636    for ac_exec_ext in '' $ac_executable_extensions; do 
    22332637  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22342638    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2235     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2639    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22362640    break 2 
    22372641  fi 
    22382642done 
    2239 done 
     2643  done 
    22402644IFS=$as_save_IFS 
    22412645 
     
    22442648ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    22452649if test -n "$ac_ct_CC"; then 
    2246   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2247 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2248 else 
    2249   { echo "$as_me:$LINENO: result: no" >&5 
    2250 echo "${ECHO_T}no" >&6; } 
     2650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2651$as_echo "$ac_ct_CC" >&6; } 
     2652else 
     2653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2654$as_echo "no" >&6; } 
    22512655fi 
    22522656 
     
    22602664    case $cross_compiling:$ac_tool_warned in 
    22612665yes:) 
    2262 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2263 whose name does not start with the host triplet.  If you think this 
    2264 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2265 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2266 whose name does not start with the host triplet.  If you think this 
    2267 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    22682668ac_tool_warned=yes ;; 
    22692669esac 
     
    22752675 
    22762676 
    2277 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2278 See \`config.log' for more details." >&5 
    2279 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2280 See \`config.log' for more details." >&2;} 
    2281    { (exit 1); exit 1; }; } 
     2677test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2678$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2679as_fn_error "no acceptable C compiler found in \$PATH 
     2680See \`config.log' for more details." "$LINENO" 5; } 
    22822681 
    22832682# Provide some information about the compiler. 
    2284 echo "$as_me:$LINENO: checking for C compiler version" >&5 
    2285 ac_compiler=`set X $ac_compile; echo $2` 
    2286 { (ac_try="$ac_compiler --version >&5" 
     2683$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
     2684set X $ac_compile 
     2685ac_compiler=$2 
     2686for ac_option in --version -v -V -qversion; do 
     2687  { { ac_try="$ac_compiler $ac_option >&5" 
    22872688case "(($ac_try" in 
    22882689  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    22892690  *) ac_try_echo=$ac_try;; 
    22902691esac 
    2291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2292   (eval "$ac_compiler --version >&5") 2>&5 
     2692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2693$as_echo "$ac_try_echo"; } >&5 
     2694  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    22932695  ac_status=$? 
    2294   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2295   (exit $ac_status); } 
    2296 { (ac_try="$ac_compiler -v >&5" 
     2696  if test -s conftest.err; then 
     2697    sed '10a\ 
     2698... rest of stderr output deleted ... 
     2699         10q' conftest.err >conftest.er1 
     2700    cat conftest.er1 >&5 
     2701  fi 
     2702  rm -f conftest.er1 conftest.err 
     2703  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2704  test $ac_status = 0; } 
     2705done 
     2706 
     2707cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2708/* end confdefs.h.  */ 
     2709 
     2710int 
     2711main () 
     2712{ 
     2713 
     2714  ; 
     2715  return 0; 
     2716} 
     2717_ACEOF 
     2718ac_clean_files_save=$ac_clean_files 
     2719ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2720# Try to create an executable without -o first, disregard a.out. 
     2721# It will help us diagnose broken compilers, and finding out an intuition 
     2722# of exeext. 
     2723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
     2724$as_echo_n "checking whether the C compiler works... " >&6; } 
     2725ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2726 
     2727# The possible output files: 
     2728ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
     2729 
     2730ac_rmfiles= 
     2731for ac_file in $ac_files 
     2732do 
     2733  case $ac_file in 
     2734    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2735    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
     2736  esac 
     2737done 
     2738rm -f $ac_rmfiles 
     2739 
     2740if { { ac_try="$ac_link_default" 
    22972741case "(($ac_try" in 
    22982742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    22992743  *) ac_try_echo=$ac_try;; 
    23002744esac 
    2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2302   (eval "$ac_compiler -v >&5") 2>&5 
    2303   ac_status=$? 
    2304   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2305   (exit $ac_status); } 
    2306 { (ac_try="$ac_compiler -V >&5" 
    2307 case "(($ac_try" in 
    2308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2309   *) ac_try_echo=$ac_try;; 
    2310 esac 
    2311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2312   (eval "$ac_compiler -V >&5") 2>&5 
    2313   ac_status=$? 
    2314   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2315   (exit $ac_status); } 
    2316  
    2317 cat >conftest.$ac_ext <<_ACEOF 
    2318 /* confdefs.h.  */ 
    2319 _ACEOF 
    2320 cat confdefs.h >>conftest.$ac_ext 
    2321 cat >>conftest.$ac_ext <<_ACEOF 
    2322 /* end confdefs.h.  */ 
    2323  
    2324 int 
    2325 main () 
    2326 { 
    2327  
    2328   ; 
    2329   return 0; 
    2330 } 
    2331 _ACEOF 
    2332 ac_clean_files_save=$ac_clean_files 
    2333 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    2334 # Try to create an executable without -o first, disregard a.out. 
    2335 # It will help us diagnose broken compilers, and finding out an intuition 
    2336 # of exeext. 
    2337 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    2338 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
    2339 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2340 # 
    2341 # List of possible output files, starting from the most likely. 
    2342 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
    2343 # only as a last resort.  b.out is created by i960 compilers. 
    2344 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
    2345 # 
    2346 # The IRIX 6 linker writes into existing files which may not be 
    2347 # executable, retaining their permissions.  Remove them first so a 
    2348 # subsequent execution test works. 
    2349 ac_rmfiles= 
    2350 for ac_file in $ac_files 
    2351 do 
    2352   case $ac_file in 
    2353     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    2354     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    2355   esac 
    2356 done 
    2357 rm -f $ac_rmfiles 
    2358  
    2359 if { (ac_try="$ac_link_default" 
    2360 case "(($ac_try" in 
    2361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2362   *) ac_try_echo=$ac_try;; 
    2363 esac 
    2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2746$as_echo "$ac_try_echo"; } >&5 
    23652747  (eval "$ac_link_default") 2>&5 
    23662748  ac_status=$? 
    2367   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2368   (exit $ac_status); }; then 
     2749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2750  test $ac_status = 0; }; then : 
    23692751  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    23702752# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    23762758  test -f "$ac_file" || continue 
    23772759  case $ac_file in 
    2378     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
     2760    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
    23792761        ;; 
    23802762    [ab].out ) 
     
    23832765        break;; 
    23842766    *.* ) 
    2385         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2767        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    23862768        then :; else 
    23872769           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24022784  ac_file='' 
    24032785fi 
    2404  
    2405 { echo "$as_me:$LINENO: result: $ac_file" >&5 
    2406 echo "${ECHO_T}$ac_file" >&6; } 
    2407 if test -z "$ac_file"; then 
    2408   echo "$as_me: failed program was:" >&5 
     2786if test -z "$ac_file"; then : 
     2787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2788$as_echo "no" >&6; } 
     2789$as_echo "$as_me: failed program was:" >&5 
    24092790sed 's/^/| /' conftest.$ac_ext >&5 
    24102791 
    2411 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2412 See \`config.log' for more details." >&5 
    2413 echo "$as_me: error: C compiler cannot create executables 
    2414 See \`config.log' for more details." >&2;} 
    2415    { (exit 77); exit 77; }; } 
    2416 fi 
    2417  
     2792{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2794{ as_fn_set_status 77 
     2795as_fn_error "C compiler cannot create executables 
     2796See \`config.log' for more details." "$LINENO" 5; }; } 
     2797else 
     2798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     2799$as_echo "yes" >&6; } 
     2800fi 
     2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
     2802$as_echo_n "checking for C compiler default output file name... " >&6; } 
     2803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
     2804$as_echo "$ac_file" >&6; } 
    24182805ac_exeext=$ac_cv_exeext 
    24192806 
    2420 # Check that the compiler produces executables we can run.  If not, either 
    2421 # the compiler is broken, or we cross compile. 
    2422 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    2423 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
    2424 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    2425 # If not cross compiling, check that we can run a simple program. 
    2426 if test "$cross_compiling" != yes; then 
    2427   if { ac_try='./$ac_file' 
    2428   { (case "(($ac_try" in 
    2429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2430   *) ac_try_echo=$ac_try;; 
    2431 esac 
    2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2433   (eval "$ac_try") 2>&5 
    2434   ac_status=$? 
    2435   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2436   (exit $ac_status); }; }; then 
    2437     cross_compiling=no 
    2438   else 
    2439     if test "$cross_compiling" = maybe; then 
    2440         cross_compiling=yes 
    2441     else 
    2442         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    2443 If you meant to cross compile, use \`--host'. 
    2444 See \`config.log' for more details." >&5 
    2445 echo "$as_me: error: cannot run C compiled programs. 
    2446 If you meant to cross compile, use \`--host'. 
    2447 See \`config.log' for more details." >&2;} 
    2448    { (exit 1); exit 1; }; } 
    2449     fi 
    2450   fi 
    2451 fi 
    2452 { echo "$as_me:$LINENO: result: yes" >&5 
    2453 echo "${ECHO_T}yes" >&6; } 
    2454  
    2455 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     2807rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
    24562808ac_clean_files=$ac_clean_files_save 
    2457 # Check that the compiler produces executables we can run.  If not, either 
    2458 # the compiler is broken, or we cross compile. 
    2459 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    2460 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
    2461 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    2462 echo "${ECHO_T}$cross_compiling" >&6; } 
    2463  
    2464 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    2465 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
    2466 if { (ac_try="$ac_link" 
     2809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
     2810$as_echo_n "checking for suffix of executables... " >&6; } 
     2811if { { ac_try="$ac_link" 
    24672812case "(($ac_try" in 
    24682813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24692814  *) ac_try_echo=$ac_try;; 
    24702815esac 
    2471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2816eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2817$as_echo "$ac_try_echo"; } >&5 
    24722818  (eval "$ac_link") 2>&5 
    24732819  ac_status=$? 
    2474   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2475   (exit $ac_status); }; then 
     2820  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2821  test $ac_status = 0; }; then : 
    24762822  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    24772823# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    24812827  test -f "$ac_file" || continue 
    24822828  case $ac_file in 
    2483     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
     2829    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
    24842830    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    24852831          break;; 
     
    24882834done 
    24892835else 
    2490   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2491 See \`config.log' for more details." >&5 
    2492 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2493 See \`config.log' for more details." >&2;} 
    2494    { (exit 1); exit 1; }; } 
    2495 fi 
    2496  
    2497 rm -f conftest$ac_cv_exeext 
    2498 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    2499 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
     2836  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2837$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2838as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2839See \`config.log' for more details." "$LINENO" 5; } 
     2840fi 
     2841rm -f conftest conftest$ac_cv_exeext 
     2842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
     2843$as_echo "$ac_cv_exeext" >&6; } 
    25002844 
    25012845rm -f conftest.$ac_ext 
    25022846EXEEXT=$ac_cv_exeext 
    25032847ac_exeext=$EXEEXT 
    2504 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    2505 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
    2506 if test "${ac_cv_objext+set}" = set; then 
    2507   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2508 else 
    2509   cat >conftest.$ac_ext <<_ACEOF 
    2510 /* confdefs.h.  */ 
    2511 _ACEOF 
    2512 cat confdefs.h >>conftest.$ac_ext 
    2513 cat >>conftest.$ac_ext <<_ACEOF 
     2848cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25142849/* end confdefs.h.  */ 
    2515  
     2850#include <stdio.h> 
    25162851int 
    25172852main () 
    25182853{ 
     2854FILE *f = fopen ("conftest.out", "w"); 
     2855 return ferror (f) || fclose (f) != 0; 
    25192856 
    25202857  ; 
     
    25222859} 
    25232860_ACEOF 
    2524 rm -f conftest.o conftest.obj 
    2525 if { (ac_try="$ac_compile" 
     2861ac_clean_files="$ac_clean_files conftest.out" 
     2862# Check that the compiler produces executables we can run.  If not, either 
     2863# the compiler is broken, or we cross compile. 
     2864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
     2865$as_echo_n "checking whether we are cross compiling... " >&6; } 
     2866if test "$cross_compiling" != yes; then 
     2867  { { ac_try="$ac_link" 
    25262868case "(($ac_try" in 
    25272869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25282870  *) ac_try_echo=$ac_try;; 
    25292871esac 
    2530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2873$as_echo "$ac_try_echo"; } >&5 
     2874  (eval "$ac_link") 2>&5 
     2875  ac_status=$? 
     2876  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2877  test $ac_status = 0; } 
     2878  if { ac_try='./conftest$ac_cv_exeext' 
     2879  { { case "(($ac_try" in 
     2880  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2881  *) ac_try_echo=$ac_try;; 
     2882esac 
     2883eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2884$as_echo "$ac_try_echo"; } >&5 
     2885  (eval "$ac_try") 2>&5 
     2886  ac_status=$? 
     2887  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2888  test $ac_status = 0; }; }; then 
     2889    cross_compiling=no 
     2890  else 
     2891    if test "$cross_compiling" = maybe; then 
     2892        cross_compiling=yes 
     2893    else 
     2894        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2895$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2896as_fn_error "cannot run C compiled programs. 
     2897If you meant to cross compile, use \`--host'. 
     2898See \`config.log' for more details." "$LINENO" 5; } 
     2899    fi 
     2900  fi 
     2901fi 
     2902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
     2903$as_echo "$cross_compiling" >&6; } 
     2904 
     2905rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
     2906ac_clean_files=$ac_clean_files_save 
     2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
     2908$as_echo_n "checking for suffix of object files... " >&6; } 
     2909if test "${ac_cv_objext+set}" = set; then : 
     2910  $as_echo_n "(cached) " >&6 
     2911else 
     2912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2913/* end confdefs.h.  */ 
     2914 
     2915int 
     2916main () 
     2917{ 
     2918 
     2919  ; 
     2920  return 0; 
     2921} 
     2922_ACEOF 
     2923rm -f conftest.o conftest.obj 
     2924if { { ac_try="$ac_compile" 
     2925case "(($ac_try" in 
     2926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2927  *) ac_try_echo=$ac_try;; 
     2928esac 
     2929eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2930$as_echo "$ac_try_echo"; } >&5 
    25312931  (eval "$ac_compile") 2>&5 
    25322932  ac_status=$? 
    2533   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2534   (exit $ac_status); }; then 
     2933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2934  test $ac_status = 0; }; then : 
    25352935  for ac_file in conftest.o conftest.obj conftest.*; do 
    25362936  test -f "$ac_file" || continue; 
    25372937  case $ac_file in 
    2538     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
     2938    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
    25392939    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    25402940       break;; 
     
    25422942done 
    25432943else 
    2544   echo "$as_me: failed program was:" >&5 
     2944  $as_echo "$as_me: failed program was:" >&5 
    25452945sed 's/^/| /' conftest.$ac_ext >&5 
    25462946 
    2547 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2548 See \`config.log' for more details." >&5 
    2549 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2550 See \`config.log' for more details." >&2;} 
    2551    { (exit 1); exit 1; }; } 
    2552 fi 
    2553  
     2947{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2949as_fn_error "cannot compute suffix of object files: cannot compile 
     2950See \`config.log' for more details." "$LINENO" 5; } 
     2951fi 
    25542952rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    25552953fi 
    2556 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    2557 echo "${ECHO_T}$ac_cv_objext" >&6; } 
     2954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
     2955$as_echo "$ac_cv_objext" >&6; } 
    25582956OBJEXT=$ac_cv_objext 
    25592957ac_objext=$OBJEXT 
    2560 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    2561 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
    2562 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
    2563   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2564 else 
    2565   cat >conftest.$ac_ext <<_ACEOF 
    2566 /* confdefs.h.  */ 
    2567 _ACEOF 
    2568 cat confdefs.h >>conftest.$ac_ext 
    2569 cat >>conftest.$ac_ext <<_ACEOF 
     2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
     2959$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
     2960if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     2961  $as_echo_n "(cached) " >&6 
     2962else 
     2963  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25702964/* end confdefs.h.  */ 
    25712965 
     
    25812975} 
    25822976_ACEOF 
    2583 rm -f conftest.$ac_objext 
    2584 if { (ac_try="$ac_compile" 
    2585 case "(($ac_try" in 
    2586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2587   *) ac_try_echo=$ac_try;; 
    2588 esac 
    2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2590   (eval "$ac_compile") 2>conftest.er1 
    2591   ac_status=$? 
    2592   grep -v '^ *+' conftest.er1 >conftest.err 
    2593   rm -f conftest.er1 
    2594   cat conftest.err >&5 
    2595   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2596   (exit $ac_status); } && { 
    2597          test -z "$ac_c_werror_flag" || 
    2598          test ! -s conftest.err 
    2599        } && test -s conftest.$ac_objext; then 
     2977if ac_fn_c_try_compile "$LINENO"; then : 
    26002978  ac_compiler_gnu=yes 
    26012979else 
    2602   echo "$as_me: failed program was:" >&5 
    2603 sed 's/^/| /' conftest.$ac_ext >&5 
    2604  
    2605         ac_compiler_gnu=no 
    2606 fi 
    2607  
     2980  ac_compiler_gnu=no 
     2981fi 
    26082982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26092983ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26102984 
    26112985fi 
    2612 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    2613 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
    2614 GCC=`test $ac_compiler_gnu = yes && echo yes` 
     2986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
     2987$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
     2988if test $ac_compiler_gnu = yes; then 
     2989  GCC=yes 
     2990else 
     2991  GCC= 
     2992fi 
    26152993ac_test_CFLAGS=${CFLAGS+set} 
    26162994ac_save_CFLAGS=$CFLAGS 
    2617 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    2618 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
    2619 if test "${ac_cv_prog_cc_g+set}" = set; then 
    2620   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
     2996$as_echo_n "checking whether $CC accepts -g... " >&6; } 
     2997if test "${ac_cv_prog_cc_g+set}" = set; then : 
     2998  $as_echo_n "(cached) " >&6 
    26212999else 
    26223000  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    26243002   ac_cv_prog_cc_g=no 
    26253003   CFLAGS="-g" 
    2626    cat >conftest.$ac_ext <<_ACEOF 
    2627 /* confdefs.h.  */ 
    2628 _ACEOF 
    2629 cat confdefs.h >>conftest.$ac_ext 
    2630 cat >>conftest.$ac_ext <<_ACEOF 
     3004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26313005/* end confdefs.h.  */ 
    26323006 
     
    26393013} 
    26403014_ACEOF 
    2641 rm -f conftest.$ac_objext 
    2642 if { (ac_try="$ac_compile" 
    2643 case "(($ac_try" in 
    2644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2645   *) ac_try_echo=$ac_try;; 
    2646 esac 
    2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2648   (eval "$ac_compile") 2>conftest.er1 
    2649   ac_status=$? 
    2650   grep -v '^ *+' conftest.er1 >conftest.err 
    2651   rm -f conftest.er1 
    2652   cat conftest.err >&5 
    2653   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2654   (exit $ac_status); } && { 
    2655          test -z "$ac_c_werror_flag" || 
    2656          test ! -s conftest.err 
    2657        } && test -s conftest.$ac_objext; then 
     3015if ac_fn_c_try_compile "$LINENO"; then : 
    26583016  ac_cv_prog_cc_g=yes 
    26593017else 
    2660   echo "$as_me: failed program was:" >&5 
    2661 sed 's/^/| /' conftest.$ac_ext >&5 
    2662  
    2663         CFLAGS="" 
    2664       cat >conftest.$ac_ext <<_ACEOF 
    2665 /* confdefs.h.  */ 
    2666 _ACEOF 
    2667 cat confdefs.h >>conftest.$ac_ext 
    2668 cat >>conftest.$ac_ext <<_ACEOF 
     3018  CFLAGS="" 
     3019      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26693020/* end confdefs.h.  */ 
    26703021 
     
    26773028} 
    26783029_ACEOF 
    2679 rm -f conftest.$ac_objext 
    2680 if { (ac_try="$ac_compile" 
    2681 case "(($ac_try" in 
    2682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2683   *) ac_try_echo=$ac_try;; 
    2684 esac 
    2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2686   (eval "$ac_compile") 2>conftest.er1 
    2687   ac_status=$? 
    2688   grep -v '^ *+' conftest.er1 >conftest.err 
    2689   rm -f conftest.er1 
    2690   cat conftest.err >&5 
    2691   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2692   (exit $ac_status); } && { 
    2693          test -z "$ac_c_werror_flag" || 
    2694          test ! -s conftest.err 
    2695        } && test -s conftest.$ac_objext; then 
    2696   : 
    2697 else 
    2698   echo "$as_me: failed program was:" >&5 
    2699 sed 's/^/| /' conftest.$ac_ext >&5 
    2700  
    2701         ac_c_werror_flag=$ac_save_c_werror_flag 
     3030if ac_fn_c_try_compile "$LINENO"; then : 
     3031 
     3032else 
     3033  ac_c_werror_flag=$ac_save_c_werror_flag 
    27023034         CFLAGS="-g" 
    2703          cat >conftest.$ac_ext <<_ACEOF 
    2704 /* confdefs.h.  */ 
    2705 _ACEOF 
    2706 cat confdefs.h >>conftest.$ac_ext 
    2707 cat >>conftest.$ac_ext <<_ACEOF 
     3035         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27083036/* end confdefs.h.  */ 
    27093037 
     
    27163044} 
    27173045_ACEOF 
    2718 rm -f conftest.$ac_objext 
    2719 if { (ac_try="$ac_compile" 
    2720 case "(($ac_try" in 
    2721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2722   *) ac_try_echo=$ac_try;; 
    2723 esac 
    2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2725   (eval "$ac_compile") 2>conftest.er1 
    2726   ac_status=$? 
    2727   grep -v '^ *+' conftest.er1 >conftest.err 
    2728   rm -f conftest.er1 
    2729   cat conftest.err >&5 
    2730   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2731   (exit $ac_status); } && { 
    2732          test -z "$ac_c_werror_flag" || 
    2733          test ! -s conftest.err 
    2734        } && test -s conftest.$ac_objext; then 
     3046if ac_fn_c_try_compile "$LINENO"; then : 
    27353047  ac_cv_prog_cc_g=yes 
    2736 else 
    2737   echo "$as_me: failed program was:" >&5 
    2738 sed 's/^/| /' conftest.$ac_ext >&5 
    2739  
    2740  
    2741 fi 
    2742  
     3048fi 
    27433049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27443050fi 
    2745  
    27463051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27473052fi 
    2748  
    27493053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27503054   ac_c_werror_flag=$ac_save_c_werror_flag 
    27513055fi 
    2752 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    2753 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
     3056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
     3057$as_echo "$ac_cv_prog_cc_g" >&6; } 
    27543058if test "$ac_test_CFLAGS" = set; then 
    27553059  CFLAGS=$ac_save_CFLAGS 
     
    27673071  fi 
    27683072fi 
    2769 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
    2770 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
    2771 if test "${ac_cv_prog_cc_c89+set}" = set; then 
    2772   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
     3074$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
     3075if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3076  $as_echo_n "(cached) " >&6 
    27733077else 
    27743078  ac_cv_prog_cc_c89=no 
    27753079ac_save_CC=$CC 
    2776 cat >conftest.$ac_ext <<_ACEOF 
    2777 /* confdefs.h.  */ 
    2778 _ACEOF 
    2779 cat confdefs.h >>conftest.$ac_ext 
    2780 cat >>conftest.$ac_ext <<_ACEOF 
     3080cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27813081/* end confdefs.h.  */ 
    27823082#include <stdarg.h> 
     
    28353135do 
    28363136  CC="$ac_save_CC $ac_arg" 
    2837   rm -f conftest.$ac_objext 
    2838 if { (ac_try="$ac_compile" 
    2839 case "(($ac_try" in 
    2840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2841   *) ac_try_echo=$ac_try;; 
    2842 esac 
    2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2844   (eval "$ac_compile") 2>conftest.er1 
    2845   ac_status=$? 
    2846   grep -v '^ *+' conftest.er1 >conftest.err 
    2847   rm -f conftest.er1 
    2848   cat conftest.err >&5 
    2849   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2850   (exit $ac_status); } && { 
    2851          test -z "$ac_c_werror_flag" || 
    2852          test ! -s conftest.err 
    2853        } && test -s conftest.$ac_objext; then 
     3137  if ac_fn_c_try_compile "$LINENO"; then : 
    28543138  ac_cv_prog_cc_c89=$ac_arg 
    2855 else 
    2856   echo "$as_me: failed program was:" >&5 
    2857 sed 's/^/| /' conftest.$ac_ext >&5 
    2858  
    2859  
    2860 fi 
    2861  
     3139fi 
    28623140rm -f core conftest.err conftest.$ac_objext 
    28633141  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    28703148case "x$ac_cv_prog_cc_c89" in 
    28713149  x) 
    2872     { echo "$as_me:$LINENO: result: none needed" >&5 
    2873 echo "${ECHO_T}none needed" >&6; } ;; 
     3150    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
     3151$as_echo "none needed" >&6; } ;; 
    28743152  xno) 
    2875     { echo "$as_me:$LINENO: result: unsupported" >&5 
    2876 echo "${ECHO_T}unsupported" >&6; } ;; 
     3153    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
     3154$as_echo "unsupported" >&6; } ;; 
    28773155  *) 
    28783156    CC="$CC $ac_cv_prog_cc_c89" 
    2879     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
    2880 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     3157    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
     3158$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    28813159esac 
    2882  
     3160if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3161 
     3162fi 
    28833163 
    28843164ac_ext=c 
     
    29023182    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29033183set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2904 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2906 if test "${ac_cv_prog_CXX+set}" = set; then 
    2907   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3185$as_echo_n "checking for $ac_word... " >&6; } 
     3186if test "${ac_cv_prog_CXX+set}" = set; then : 
     3187  $as_echo_n "(cached) " >&6 
    29083188else 
    29093189  if test -n "$CXX"; then 
     
    29153195  IFS=$as_save_IFS 
    29163196  test -z "$as_dir" && as_dir=. 
    2917   for ac_exec_ext in '' $ac_executable_extensions; do 
     3197    for ac_exec_ext in '' $ac_executable_extensions; do 
    29183198  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29193199    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2920     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29213201    break 2 
    29223202  fi 
    29233203done 
    2924 done 
     3204  done 
    29253205IFS=$as_save_IFS 
    29263206 
     
    29293209CXX=$ac_cv_prog_CXX 
    29303210if test -n "$CXX"; then 
    2931   { echo "$as_me:$LINENO: result: $CXX" >&5 
    2932 echo "${ECHO_T}$CXX" >&6; } 
    2933 else 
    2934   { echo "$as_me:$LINENO: result: no" >&5 
    2935 echo "${ECHO_T}no" >&6; } 
     3211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
     3212$as_echo "$CXX" >&6; } 
     3213else 
     3214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3215$as_echo "no" >&6; } 
    29363216fi 
    29373217 
     
    29463226  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    29473227set dummy $ac_prog; ac_word=$2 
    2948 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2950 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
    2951   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3229$as_echo_n "checking for $ac_word... " >&6; } 
     3230if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3231  $as_echo_n "(cached) " >&6 
    29523232else 
    29533233  if test -n "$ac_ct_CXX"; then 
     
    29593239  IFS=$as_save_IFS 
    29603240  test -z "$as_dir" && as_dir=. 
    2961   for ac_exec_ext in '' $ac_executable_extensions; do 
     3241    for ac_exec_ext in '' $ac_executable_extensions; do 
    29623242  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29633243    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2964     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3244    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29653245    break 2 
    29663246  fi 
    29673247done 
    2968 done 
     3248  done 
    29693249IFS=$as_save_IFS 
    29703250 
     
    29733253ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    29743254if test -n "$ac_ct_CXX"; then 
    2975   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    2976 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
    2977 else 
    2978   { echo "$as_me:$LINENO: result: no" >&5 
    2979 echo "${ECHO_T}no" >&6; } 
     3255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
     3256$as_echo "$ac_ct_CXX" >&6; } 
     3257else 
     3258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3259$as_echo "no" >&6; } 
    29803260fi 
    29813261 
     
    29893269    case $cross_compiling:$ac_tool_warned in 
    29903270yes:) 
    2991 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2992 whose name does not start with the host triplet.  If you think this 
    2993 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2994 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2995 whose name does not start with the host triplet.  If you think this 
    2996 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3271{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3272$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    29973273ac_tool_warned=yes ;; 
    29983274esac 
     
    30043280fi 
    30053281# Provide some information about the compiler. 
    3006 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
    3007 ac_compiler=`set X $ac_compile; echo $2` 
    3008 { (ac_try="$ac_compiler --version >&5" 
     3282$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
     3283set X $ac_compile 
     3284ac_compiler=$2 
     3285for ac_option in --version -v -V -qversion; do 
     3286  { { ac_try="$ac_compiler $ac_option >&5" 
    30093287case "(($ac_try" in 
    30103288  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30113289  *) ac_try_echo=$ac_try;; 
    30123290esac 
    3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3014   (eval "$ac_compiler --version >&5") 2>&5 
     3291eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3292$as_echo "$ac_try_echo"; } >&5 
     3293  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    30153294  ac_status=$? 
    3016   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3017   (exit $ac_status); } 
    3018 { (ac_try="$ac_compiler -v >&5" 
    3019 case "(($ac_try" in 
    3020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3021   *) ac_try_echo=$ac_try;; 
    3022 esac 
    3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3024   (eval "$ac_compiler -v >&5") 2>&5 
    3025   ac_status=$? 
    3026   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3027   (exit $ac_status); } 
    3028 { (ac_try="$ac_compiler -V >&5" 
    3029 case "(($ac_try" in 
    3030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3031   *) ac_try_echo=$ac_try;; 
    3032 esac 
    3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3034   (eval "$ac_compiler -V >&5") 2>&5 
    3035   ac_status=$? 
    3036   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3037   (exit $ac_status); } 
    3038  
    3039 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    3040 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
    3041 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
    3042   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3043 else 
    3044   cat >conftest.$ac_ext <<_ACEOF 
    3045 /* confdefs.h.  */ 
    3046 _ACEOF 
    3047 cat confdefs.h >>conftest.$ac_ext 
    3048 cat >>conftest.$ac_ext <<_ACEOF 
     3295  if test -s conftest.err; then 
     3296    sed '10a\ 
     3297... rest of stderr output deleted ... 
     3298         10q' conftest.err >conftest.er1 
     3299    cat conftest.er1 >&5 
     3300  fi 
     3301  rm -f conftest.er1 conftest.err 
     3302  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3303  test $ac_status = 0; } 
     3304done 
     3305 
     3306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
     3307$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
     3308if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3309  $as_echo_n "(cached) " >&6 
     3310else 
     3311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    30493312/* end confdefs.h.  */ 
    30503313 
     
    30603323} 
    30613324_ACEOF 
    3062 rm -f conftest.$ac_objext 
    3063 if { (ac_try="$ac_compile" 
    3064 case "(($ac_try" in 
    3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3066   *) ac_try_echo=$ac_try;; 
    3067 esac 
    3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3069   (eval "$ac_compile") 2>conftest.er1 
    3070   ac_status=$? 
    3071   grep -v '^ *+' conftest.er1 >conftest.err 
    3072   rm -f conftest.er1 
    3073   cat conftest.err >&5 
    3074   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3075   (exit $ac_status); } && { 
    3076          test -z "$ac_cxx_werror_flag" || 
    3077          test ! -s conftest.err 
    3078        } && test -s conftest.$ac_objext; then 
     3325if ac_fn_cxx_try_compile "$LINENO"; then : 
    30793326  ac_compiler_gnu=yes 
    30803327else 
    3081   echo "$as_me: failed program was:" >&5 
    3082 sed 's/^/| /' conftest.$ac_ext >&5 
    3083  
    3084         ac_compiler_gnu=no 
    3085 fi 
    3086  
     3328  ac_compiler_gnu=no 
     3329fi 
    30873330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30883331ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    30893332 
    30903333fi 
    3091 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    3092 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
    3093 GXX=`test $ac_compiler_gnu = yes && echo yes` 
     3334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
     3335$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
     3336if test $ac_compiler_gnu = yes; then 
     3337  GXX=yes 
     3338else 
     3339  GXX= 
     3340fi 
    30943341ac_test_CXXFLAGS=${CXXFLAGS+set} 
    30953342ac_save_CXXFLAGS=$CXXFLAGS 
    3096 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    3097 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
    3098 if test "${ac_cv_prog_cxx_g+set}" = set; then 
    3099   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
     3344$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
     3345if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3346  $as_echo_n "(cached) " >&6 
    31003347else 
    31013348  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    31033350   ac_cv_prog_cxx_g=no 
    31043351   CXXFLAGS="-g" 
    3105    cat >conftest.$ac_ext <<_ACEOF 
    3106 /* confdefs.h.  */ 
    3107 _ACEOF 
    3108 cat confdefs.h >>conftest.$ac_ext 
    3109 cat >>conftest.$ac_ext <<_ACEOF 
     3352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31103353/* end confdefs.h.  */ 
    31113354 
     
    31183361} 
    31193362_ACEOF 
    3120 rm -f conftest.$ac_objext 
    3121 if { (ac_try="$ac_compile" 
    3122 case "(($ac_try" in 
    3123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3124   *) ac_try_echo=$ac_try;; 
    3125 esac 
    3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3127   (eval "$ac_compile") 2>conftest.er1 
    3128   ac_status=$? 
    3129   grep -v '^ *+' conftest.er1 >conftest.err 
    3130   rm -f conftest.er1 
    3131   cat conftest.err >&5 
    3132   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3133   (exit $ac_status); } && { 
    3134          test -z "$ac_cxx_werror_flag" || 
    3135          test ! -s conftest.err 
    3136        } && test -s conftest.$ac_objext; then 
     3363if ac_fn_cxx_try_compile "$LINENO"; then : 
    31373364  ac_cv_prog_cxx_g=yes 
    31383365else 
    3139   echo "$as_me: failed program was:" >&5 
    3140 sed 's/^/| /' conftest.$ac_ext >&5 
    3141  
    3142         CXXFLAGS="" 
    3143       cat >conftest.$ac_ext <<_ACEOF 
    3144 /* confdefs.h.  */ 
    3145 _ACEOF 
    3146 cat confdefs.h >>conftest.$ac_ext 
    3147 cat >>conftest.$ac_ext <<_ACEOF 
     3366  CXXFLAGS="" 
     3367      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31483368/* end confdefs.h.  */ 
    31493369 
     
    31563376} 
    31573377_ACEOF 
    3158 rm -f conftest.$ac_objext 
    3159 if { (ac_try="$ac_compile" 
    3160 case "(($ac_try" in 
    3161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3162   *) ac_try_echo=$ac_try;; 
    3163 esac 
    3164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3165   (eval "$ac_compile") 2>conftest.er1 
    3166   ac_status=$? 
    3167   grep -v '^ *+' conftest.er1 >conftest.err 
    3168   rm -f conftest.er1 
    3169   cat conftest.err >&5 
    3170   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3171   (exit $ac_status); } && { 
    3172          test -z "$ac_cxx_werror_flag" || 
    3173          test ! -s conftest.err 
    3174        } && test -s conftest.$ac_objext; then 
    3175   : 
    3176 else 
    3177   echo "$as_me: failed program was:" >&5 
    3178 sed 's/^/| /' conftest.$ac_ext >&5 
    3179  
    3180         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3378if ac_fn_cxx_try_compile "$LINENO"; then : 
     3379 
     3380else 
     3381  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    31813382         CXXFLAGS="-g" 
    3182          cat >conftest.$ac_ext <<_ACEOF 
    3183 /* confdefs.h.  */ 
    3184 _ACEOF 
    3185 cat confdefs.h >>conftest.$ac_ext 
    3186 cat >>conftest.$ac_ext <<_ACEOF 
     3383         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31873384/* end confdefs.h.  */ 
    31883385 
     
    31953392} 
    31963393_ACEOF 
    3197 rm -f conftest.$ac_objext 
    3198 if { (ac_try="$ac_compile" 
    3199 case "(($ac_try" in 
    3200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3201   *) ac_try_echo=$ac_try;; 
    3202 esac 
    3203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3204   (eval "$ac_compile") 2>conftest.er1 
    3205   ac_status=$? 
    3206   grep -v '^ *+' conftest.er1 >conftest.err 
    3207   rm -f conftest.er1 
    3208   cat conftest.err >&5 
    3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3210   (exit $ac_status); } && { 
    3211          test -z "$ac_cxx_werror_flag" || 
    3212          test ! -s conftest.err 
    3213        } && test -s conftest.$ac_objext; then 
     3394if ac_fn_cxx_try_compile "$LINENO"; then : 
    32143395  ac_cv_prog_cxx_g=yes 
    3215 else 
    3216   echo "$as_me: failed program was:" >&5 
    3217 sed 's/^/| /' conftest.$ac_ext >&5 
    3218  
    3219  
    3220 fi 
    3221  
     3396fi 
    32223397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32233398fi 
    3224  
    32253399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32263400fi 
    3227  
    32283401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32293402   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32303403fi 
    3231 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    3232 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
     3404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
     3405$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    32333406if test "$ac_test_CXXFLAGS" = set; then 
    32343407  CXXFLAGS=$ac_save_CXXFLAGS 
     
    33083481 
    33093482 
    3310  
    3311 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    3312 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
    3313 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
    3314   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
     3484$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
     3485if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3486  $as_echo_n "(cached) " >&6 
    33153487else 
    33163488  ac_check_lib_save_LIBS=$LIBS 
    33173489LIBS="-lpthread  $LIBS" 
    3318 cat >conftest.$ac_ext <<_ACEOF 
    3319 /* confdefs.h.  */ 
    3320 _ACEOF 
    3321 cat confdefs.h >>conftest.$ac_ext 
    3322 cat >>conftest.$ac_ext <<_ACEOF 
     3490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33233491/* end confdefs.h.  */ 
    33243492 
     
    33383506} 
    33393507_ACEOF 
    3340 rm -f conftest.$ac_objext conftest$ac_exeext 
    3341 if { (ac_try="$ac_link" 
    3342 case "(($ac_try" in 
    3343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3344   *) ac_try_echo=$ac_try;; 
    3345 esac 
    3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3347   (eval "$ac_link") 2>conftest.er1 
    3348   ac_status=$? 
    3349   grep -v '^ *+' conftest.er1 >conftest.err 
    3350   rm -f conftest.er1 
    3351   cat conftest.err >&5 
    3352   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3353   (exit $ac_status); } && { 
    3354          test -z "$ac_c_werror_flag" || 
    3355          test ! -s conftest.err 
    3356        } && test -s conftest$ac_exeext && 
    3357        $as_test_x conftest$ac_exeext; then 
     3508if ac_fn_c_try_link "$LINENO"; then : 
    33583509  ac_cv_lib_pthread_pthread_create=yes 
    33593510else 
    3360   echo "$as_me: failed program was:" >&5 
    3361 sed 's/^/| /' conftest.$ac_ext >&5 
    3362  
    3363         ac_cv_lib_pthread_pthread_create=no 
    3364 fi 
    3365  
    3366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3367       conftest$ac_exeext conftest.$ac_ext 
     3511  ac_cv_lib_pthread_pthread_create=no 
     3512fi 
     3513rm -f core conftest.err conftest.$ac_objext \ 
     3514    conftest$ac_exeext conftest.$ac_ext 
    33683515LIBS=$ac_check_lib_save_LIBS 
    33693516fi 
    3370 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3371 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
    3372 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3518$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
     3519if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    33733520  cat >>confdefs.h <<_ACEOF 
    33743521#define HAVE_LIBPTHREAD 1 
     
    33793526fi 
    33803527 
    3381  
    3382 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    3383 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
    3384 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
    3385   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
     3529$as_echo_n "checking for puts in -lwsock32... " >&6; } 
     3530if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3531  $as_echo_n "(cached) " >&6 
    33863532else 
    33873533  ac_check_lib_save_LIBS=$LIBS 
    33883534LIBS="-lwsock32  $LIBS" 
    3389 cat >conftest.$ac_ext <<_ACEOF 
    3390 /* confdefs.h.  */ 
    3391 _ACEOF 
    3392 cat confdefs.h >>conftest.$ac_ext 
    3393 cat >>conftest.$ac_ext <<_ACEOF 
     3535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33943536/* end confdefs.h.  */ 
    33953537 
     
    34093551} 
    34103552_ACEOF 
    3411 rm -f conftest.$ac_objext conftest$ac_exeext 
    3412 if { (ac_try="$ac_link" 
    3413 case "(($ac_try" in 
    3414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3415   *) ac_try_echo=$ac_try;; 
    3416 esac 
    3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3418   (eval "$ac_link") 2>conftest.er1 
    3419   ac_status=$? 
    3420   grep -v '^ *+' conftest.er1 >conftest.err 
    3421   rm -f conftest.er1 
    3422   cat conftest.err >&5 
    3423   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3424   (exit $ac_status); } && { 
    3425          test -z "$ac_c_werror_flag" || 
    3426          test ! -s conftest.err 
    3427        } && test -s conftest$ac_exeext && 
    3428        $as_test_x conftest$ac_exeext; then 
     3553if ac_fn_c_try_link "$LINENO"; then : 
    34293554  ac_cv_lib_wsock32_puts=yes 
    34303555else 
    3431   echo "$as_me: failed program was:" >&5 
    3432 sed 's/^/| /' conftest.$ac_ext >&5 
    3433  
    3434         ac_cv_lib_wsock32_puts=no 
    3435 fi 
    3436  
    3437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3438       conftest$ac_exeext conftest.$ac_ext 
     3556  ac_cv_lib_wsock32_puts=no 
     3557fi 
     3558rm -f core conftest.err conftest.$ac_objext \ 
     3559    conftest$ac_exeext conftest.$ac_ext 
    34393560LIBS=$ac_check_lib_save_LIBS 
    34403561fi 
    3441 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    3442 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
    3443 if test $ac_cv_lib_wsock32_puts = yes; then 
     3562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
     3563$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
     3564if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    34443565  cat >>confdefs.h <<_ACEOF 
    34453566#define HAVE_LIBWSOCK32 1 
     
    34503571fi 
    34513572 
    3452  
    3453 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    3454 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
    3455 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
    3456   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
     3574$as_echo_n "checking for puts in -lws2_32... " >&6; } 
     3575if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3576  $as_echo_n "(cached) " >&6 
    34573577else 
    34583578  ac_check_lib_save_LIBS=$LIBS 
    34593579LIBS="-lws2_32  $LIBS" 
    3460 cat >conftest.$ac_ext <<_ACEOF 
    3461 /* confdefs.h.  */ 
    3462 _ACEOF 
    3463 cat confdefs.h >>conftest.$ac_ext 
    3464 cat >>conftest.$ac_ext <<_ACEOF 
     3580cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34653581/* end confdefs.h.  */ 
    34663582 
     
    34803596} 
    34813597_ACEOF 
    3482 rm -f conftest.$ac_objext conftest$ac_exeext 
    3483 if { (ac_try="$ac_link" 
    3484 case "(($ac_try" in 
    3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3486   *) ac_try_echo=$ac_try;; 
    3487 esac 
    3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3489   (eval "$ac_link") 2>conftest.er1 
    3490   ac_status=$? 
    3491   grep -v '^ *+' conftest.er1 >conftest.err 
    3492   rm -f conftest.er1 
    3493   cat conftest.err >&5 
    3494   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3495   (exit $ac_status); } && { 
    3496          test -z "$ac_c_werror_flag" || 
    3497          test ! -s conftest.err 
    3498        } && test -s conftest$ac_exeext && 
    3499        $as_test_x conftest$ac_exeext; then 
     3598if ac_fn_c_try_link "$LINENO"; then : 
    35003599  ac_cv_lib_ws2_32_puts=yes 
    35013600else 
    3502   echo "$as_me: failed program was:" >&5 
    3503 sed 's/^/| /' conftest.$ac_ext >&5 
    3504  
    3505         ac_cv_lib_ws2_32_puts=no 
    3506 fi 
    3507  
    3508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3509       conftest$ac_exeext conftest.$ac_ext 
     3601  ac_cv_lib_ws2_32_puts=no 
     3602fi 
     3603rm -f core conftest.err conftest.$ac_objext \ 
     3604    conftest$ac_exeext conftest.$ac_ext 
    35103605LIBS=$ac_check_lib_save_LIBS 
    35113606fi 
    3512 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    3513 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
    3514 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
     3608$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
     3609if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35153610  cat >>confdefs.h <<_ACEOF 
    35163611#define HAVE_LIBWS2_32 1 
     
    35213616fi 
    35223617 
    3523  
    3524 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    3525 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
    3526 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
    3527   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
     3619$as_echo_n "checking for puts in -lole32... " >&6; } 
     3620if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3621  $as_echo_n "(cached) " >&6 
    35283622else 
    35293623  ac_check_lib_save_LIBS=$LIBS 
    35303624LIBS="-lole32  $LIBS" 
    3531 cat >conftest.$ac_ext <<_ACEOF 
    3532 /* confdefs.h.  */ 
    3533 _ACEOF 
    3534 cat confdefs.h >>conftest.$ac_ext 
    3535 cat >>conftest.$ac_ext <<_ACEOF 
     3625cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35363626/* end confdefs.h.  */ 
    35373627 
     
    35513641} 
    35523642_ACEOF 
    3553 rm -f conftest.$ac_objext conftest$ac_exeext 
    3554 if { (ac_try="$ac_link" 
    3555 case "(($ac_try" in 
    3556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3557   *) ac_try_echo=$ac_try;; 
    3558 esac 
    3559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3560   (eval "$ac_link") 2>conftest.er1 
    3561   ac_status=$? 
    3562   grep -v '^ *+' conftest.er1 >conftest.err 
    3563   rm -f conftest.er1 
    3564   cat conftest.err >&5 
    3565   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3566   (exit $ac_status); } && { 
    3567          test -z "$ac_c_werror_flag" || 
    3568          test ! -s conftest.err 
    3569        } && test -s conftest$ac_exeext && 
    3570        $as_test_x conftest$ac_exeext; then 
     3643if ac_fn_c_try_link "$LINENO"; then : 
    35713644  ac_cv_lib_ole32_puts=yes 
    35723645else 
    3573   echo "$as_me: failed program was:" >&5 
    3574 sed 's/^/| /' conftest.$ac_ext >&5 
    3575  
    3576         ac_cv_lib_ole32_puts=no 
    3577 fi 
    3578  
    3579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3580       conftest$ac_exeext conftest.$ac_ext 
     3646  ac_cv_lib_ole32_puts=no 
     3647fi 
     3648rm -f core conftest.err conftest.$ac_objext \ 
     3649    conftest$ac_exeext conftest.$ac_ext 
    35813650LIBS=$ac_check_lib_save_LIBS 
    35823651fi 
    3583 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    3584 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
    3585 if test $ac_cv_lib_ole32_puts = yes; then 
     3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
     3653$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
     3654if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    35863655  cat >>confdefs.h <<_ACEOF 
    35873656#define HAVE_LIBOLE32 1 
     
    35923661fi 
    35933662 
    3594  
    3595 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    3596 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
    3597 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
    3598   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
     3664$as_echo_n "checking for puts in -lwinmm... " >&6; } 
     3665if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3666  $as_echo_n "(cached) " >&6 
    35993667else 
    36003668  ac_check_lib_save_LIBS=$LIBS 
    36013669LIBS="-lwinmm  $LIBS" 
    3602 cat >conftest.$ac_ext <<_ACEOF 
    3603 /* confdefs.h.  */ 
    3604 _ACEOF 
    3605 cat confdefs.h >>conftest.$ac_ext 
    3606 cat >>conftest.$ac_ext <<_ACEOF 
     3670cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36073671/* end confdefs.h.  */ 
    36083672 
     
    36223686} 
    36233687_ACEOF 
    3624 rm -f conftest.$ac_objext conftest$ac_exeext 
    3625 if { (ac_try="$ac_link" 
    3626 case "(($ac_try" in 
    3627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3628   *) ac_try_echo=$ac_try;; 
    3629 esac 
    3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3631   (eval "$ac_link") 2>conftest.er1 
    3632   ac_status=$? 
    3633   grep -v '^ *+' conftest.er1 >conftest.err 
    3634   rm -f conftest.er1 
    3635   cat conftest.err >&5 
    3636   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3637   (exit $ac_status); } && { 
    3638          test -z "$ac_c_werror_flag" || 
    3639          test ! -s conftest.err 
    3640        } && test -s conftest$ac_exeext && 
    3641        $as_test_x conftest$ac_exeext; then 
     3688if ac_fn_c_try_link "$LINENO"; then : 
    36423689  ac_cv_lib_winmm_puts=yes 
    36433690else 
    3644   echo "$as_me: failed program was:" >&5 
    3645 sed 's/^/| /' conftest.$ac_ext >&5 
    3646  
    3647         ac_cv_lib_winmm_puts=no 
    3648 fi 
    3649  
    3650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3651       conftest$ac_exeext conftest.$ac_ext 
     3691  ac_cv_lib_winmm_puts=no 
     3692fi 
     3693rm -f core conftest.err conftest.$ac_objext \ 
     3694    conftest$ac_exeext conftest.$ac_ext 
    36523695LIBS=$ac_check_lib_save_LIBS 
    36533696fi 
    3654 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    3655 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
    3656 if test $ac_cv_lib_winmm_puts = yes; then 
     3697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
     3698$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
     3699if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    36573700  cat >>confdefs.h <<_ACEOF 
    36583701#define HAVE_LIBWINMM 1 
     
    36633706fi 
    36643707 
    3665  
    3666 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    3667 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
    3668 if test "${ac_cv_lib_socket_puts+set}" = set; then 
    3669   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
     3709$as_echo_n "checking for puts in -lsocket... " >&6; } 
     3710if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3711  $as_echo_n "(cached) " >&6 
    36703712else 
    36713713  ac_check_lib_save_LIBS=$LIBS 
    36723714LIBS="-lsocket  $LIBS" 
    3673 cat >conftest.$ac_ext <<_ACEOF 
    3674 /* confdefs.h.  */ 
    3675 _ACEOF 
    3676 cat confdefs.h >>conftest.$ac_ext 
    3677 cat >>conftest.$ac_ext <<_ACEOF 
     3715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36783716/* end confdefs.h.  */ 
    36793717 
     
    36933731} 
    36943732_ACEOF 
    3695 rm -f conftest.$ac_objext conftest$ac_exeext 
    3696 if { (ac_try="$ac_link" 
    3697 case "(($ac_try" in 
    3698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3699   *) ac_try_echo=$ac_try;; 
    3700 esac 
    3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3702   (eval "$ac_link") 2>conftest.er1 
    3703   ac_status=$? 
    3704   grep -v '^ *+' conftest.er1 >conftest.err 
    3705   rm -f conftest.er1 
    3706   cat conftest.err >&5 
    3707   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3708   (exit $ac_status); } && { 
    3709          test -z "$ac_c_werror_flag" || 
    3710          test ! -s conftest.err 
    3711        } && test -s conftest$ac_exeext && 
    3712        $as_test_x conftest$ac_exeext; then 
     3733if ac_fn_c_try_link "$LINENO"; then : 
    37133734  ac_cv_lib_socket_puts=yes 
    37143735else 
    3715   echo "$as_me: failed program was:" >&5 
    3716 sed 's/^/| /' conftest.$ac_ext >&5 
    3717  
    3718         ac_cv_lib_socket_puts=no 
    3719 fi 
    3720  
    3721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3722       conftest$ac_exeext conftest.$ac_ext 
     3736  ac_cv_lib_socket_puts=no 
     3737fi 
     3738rm -f core conftest.err conftest.$ac_objext \ 
     3739    conftest$ac_exeext conftest.$ac_ext 
    37233740LIBS=$ac_check_lib_save_LIBS 
    37243741fi 
    3725 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    3726 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
    3727 if test $ac_cv_lib_socket_puts = yes; then 
     3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
     3743$as_echo "$ac_cv_lib_socket_puts" >&6; } 
     3744if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    37283745  cat >>confdefs.h <<_ACEOF 
    37293746#define HAVE_LIBSOCKET 1 
     
    37343751fi 
    37353752 
    3736  
    3737 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    3738 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
    3739 if test "${ac_cv_lib_rt_puts+set}" = set; then 
    3740   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
     3754$as_echo_n "checking for puts in -lrt... " >&6; } 
     3755if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3756  $as_echo_n "(cached) " >&6 
    37413757else 
    37423758  ac_check_lib_save_LIBS=$LIBS 
    37433759LIBS="-lrt  $LIBS" 
    3744 cat >conftest.$ac_ext <<_ACEOF 
    3745 /* confdefs.h.  */ 
    3746 _ACEOF 
    3747 cat confdefs.h >>conftest.$ac_ext 
    3748 cat >>conftest.$ac_ext <<_ACEOF 
     3760cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37493761/* end confdefs.h.  */ 
    37503762 
     
    37643776} 
    37653777_ACEOF 
    3766 rm -f conftest.$ac_objext conftest$ac_exeext 
    3767 if { (ac_try="$ac_link" 
    3768 case "(($ac_try" in 
    3769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3770   *) ac_try_echo=$ac_try;; 
    3771 esac 
    3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3773   (eval "$ac_link") 2>conftest.er1 
    3774   ac_status=$? 
    3775   grep -v '^ *+' conftest.er1 >conftest.err 
    3776   rm -f conftest.er1 
    3777   cat conftest.err >&5 
    3778   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3779   (exit $ac_status); } && { 
    3780          test -z "$ac_c_werror_flag" || 
    3781          test ! -s conftest.err 
    3782        } && test -s conftest$ac_exeext && 
    3783        $as_test_x conftest$ac_exeext; then 
     3778if ac_fn_c_try_link "$LINENO"; then : 
    37843779  ac_cv_lib_rt_puts=yes 
    37853780else 
    3786   echo "$as_me: failed program was:" >&5 
    3787 sed 's/^/| /' conftest.$ac_ext >&5 
    3788  
    3789         ac_cv_lib_rt_puts=no 
    3790 fi 
    3791  
    3792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3793       conftest$ac_exeext conftest.$ac_ext 
     3781  ac_cv_lib_rt_puts=no 
     3782fi 
     3783rm -f core conftest.err conftest.$ac_objext \ 
     3784    conftest$ac_exeext conftest.$ac_ext 
    37943785LIBS=$ac_check_lib_save_LIBS 
    37953786fi 
    3796 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    3797 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
    3798 if test $ac_cv_lib_rt_puts = yes; then 
     3787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
     3788$as_echo "$ac_cv_lib_rt_puts" >&6; } 
     3789if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    37993790  cat >>confdefs.h <<_ACEOF 
    38003791#define HAVE_LIBRT 1 
     
    38053796fi 
    38063797 
    3807  
    3808 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    3809 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
    3810 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
    3811   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
     3799$as_echo_n "checking for puts in -lnsl... " >&6; } 
     3800if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3801  $as_echo_n "(cached) " >&6 
    38123802else 
    38133803  ac_check_lib_save_LIBS=$LIBS 
    38143804LIBS="-lnsl  $LIBS" 
    3815 cat >conftest.$ac_ext <<_ACEOF 
    3816 /* confdefs.h.  */ 
    3817 _ACEOF 
    3818 cat confdefs.h >>conftest.$ac_ext 
    3819 cat >>conftest.$ac_ext <<_ACEOF 
     3805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38203806/* end confdefs.h.  */ 
    38213807 
     
    38353821} 
    38363822_ACEOF 
    3837 rm -f conftest.$ac_objext conftest$ac_exeext 
    3838 if { (ac_try="$ac_link" 
    3839 case "(($ac_try" in 
    3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3841   *) ac_try_echo=$ac_try;; 
    3842 esac 
    3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3844   (eval "$ac_link") 2>conftest.er1 
    3845   ac_status=$? 
    3846   grep -v '^ *+' conftest.er1 >conftest.err 
    3847   rm -f conftest.er1 
    3848   cat conftest.err >&5 
    3849   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3850   (exit $ac_status); } && { 
    3851          test -z "$ac_c_werror_flag" || 
    3852          test ! -s conftest.err 
    3853        } && test -s conftest$ac_exeext && 
    3854        $as_test_x conftest$ac_exeext; then 
     3823if ac_fn_c_try_link "$LINENO"; then : 
    38553824  ac_cv_lib_nsl_puts=yes 
    38563825else 
    3857   echo "$as_me: failed program was:" >&5 
    3858 sed 's/^/| /' conftest.$ac_ext >&5 
    3859  
    3860         ac_cv_lib_nsl_puts=no 
    3861 fi 
    3862  
    3863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3864       conftest$ac_exeext conftest.$ac_ext 
     3826  ac_cv_lib_nsl_puts=no 
     3827fi 
     3828rm -f core conftest.err conftest.$ac_objext \ 
     3829    conftest$ac_exeext conftest.$ac_ext 
    38653830LIBS=$ac_check_lib_save_LIBS 
    38663831fi 
    3867 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    3868 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
    3869 if test $ac_cv_lib_nsl_puts = yes; then 
     3832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
     3833$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
     3834if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    38703835  cat >>confdefs.h <<_ACEOF 
    38713836#define HAVE_LIBNSL 1 
     
    38763841fi 
    38773842 
    3878  
    3879 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3880 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3881 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3882   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3844$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3845if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3846  $as_echo_n "(cached) " >&6 
    38833847else 
    38843848  ac_check_lib_save_LIBS=$LIBS 
    38853849LIBS="-luuid  $LIBS" 
    3886 cat >conftest.$ac_ext <<_ACEOF 
    3887 /* confdefs.h.  */ 
    3888 _ACEOF 
    3889 cat confdefs.h >>conftest.$ac_ext 
    3890 cat >>conftest.$ac_ext <<_ACEOF 
     3850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38913851/* end confdefs.h.  */ 
    38923852 
     
    39063866} 
    39073867_ACEOF 
    3908 rm -f conftest.$ac_objext conftest$ac_exeext 
    3909 if { (ac_try="$ac_link" 
    3910 case "(($ac_try" in 
    3911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3912   *) ac_try_echo=$ac_try;; 
    3913 esac 
    3914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3915   (eval "$ac_link") 2>conftest.er1 
    3916   ac_status=$? 
    3917   grep -v '^ *+' conftest.er1 >conftest.err 
    3918   rm -f conftest.er1 
    3919   cat conftest.err >&5 
    3920   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3921   (exit $ac_status); } && { 
    3922          test -z "$ac_c_werror_flag" || 
    3923          test ! -s conftest.err 
    3924        } && test -s conftest$ac_exeext && 
    3925        $as_test_x conftest$ac_exeext; then 
     3868if ac_fn_c_try_link "$LINENO"; then : 
    39263869  ac_cv_lib_uuid_uuid_generate=yes 
    39273870else 
    3928   echo "$as_me: failed program was:" >&5 
    3929 sed 's/^/| /' conftest.$ac_ext >&5 
    3930  
    3931         ac_cv_lib_uuid_uuid_generate=no 
    3932 fi 
    3933  
    3934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3935       conftest$ac_exeext conftest.$ac_ext 
     3871  ac_cv_lib_uuid_uuid_generate=no 
     3872fi 
     3873rm -f core conftest.err conftest.$ac_objext \ 
     3874    conftest$ac_exeext conftest.$ac_ext 
    39363875LIBS=$ac_check_lib_save_LIBS 
    39373876fi 
    3938 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3939 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3940 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3878$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3879if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    39413880  cat >>confdefs.h <<_ACEOF 
    39423881#define HAVE_LIBUUID 1 
     
    39473886fi 
    39483887 
    3949 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3950 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3951 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3952   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3889$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3890if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3891  $as_echo_n "(cached) " >&6 
    39533892else 
    39543893  ac_check_lib_save_LIBS=$LIBS 
    39553894LIBS="-luuid  $LIBS" 
    3956 cat >conftest.$ac_ext <<_ACEOF 
    3957 /* confdefs.h.  */ 
    3958 _ACEOF 
    3959 cat confdefs.h >>conftest.$ac_ext 
    3960 cat >>conftest.$ac_ext <<_ACEOF 
     3895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39613896/* end confdefs.h.  */ 
    39623897 
     
    39763911} 
    39773912_ACEOF 
    3978 rm -f conftest.$ac_objext conftest$ac_exeext 
    3979 if { (ac_try="$ac_link" 
    3980 case "(($ac_try" in 
    3981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3982   *) ac_try_echo=$ac_try;; 
    3983 esac 
    3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3985   (eval "$ac_link") 2>conftest.er1 
    3986   ac_status=$? 
    3987   grep -v '^ *+' conftest.er1 >conftest.err 
    3988   rm -f conftest.er1 
    3989   cat conftest.err >&5 
    3990   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3991   (exit $ac_status); } && { 
    3992          test -z "$ac_c_werror_flag" || 
    3993          test ! -s conftest.err 
    3994        } && test -s conftest$ac_exeext && 
    3995        $as_test_x conftest$ac_exeext; then 
     3913if ac_fn_c_try_link "$LINENO"; then : 
    39963914  ac_cv_lib_uuid_uuid_generate=yes 
    39973915else 
    3998   echo "$as_me: failed program was:" >&5 
    3999 sed 's/^/| /' conftest.$ac_ext >&5 
    4000  
    4001         ac_cv_lib_uuid_uuid_generate=no 
    4002 fi 
    4003  
    4004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4005       conftest$ac_exeext conftest.$ac_ext 
     3916  ac_cv_lib_uuid_uuid_generate=no 
     3917fi 
     3918rm -f core conftest.err conftest.$ac_objext \ 
     3919    conftest$ac_exeext conftest.$ac_ext 
    40063920LIBS=$ac_check_lib_save_LIBS 
    40073921fi 
    4008 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    4009 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4010 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3923$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3924if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40113925  ac_has_uuid_lib=1 
    40123926fi 
    40133927 
    40143928 
    4015 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    4016 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
     3929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3930$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    40173931cat >>confdefs.h <<_ACEOF 
    40183932#define PJ_M_NAME "$target_cpu" 
     
    40203934 
    40213935 
    4022 { echo "$as_me:$LINENO: checking memory alignment" >&5 
    4023 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
     3936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
     3937$as_echo_n "checking memory alignment... " >&6; } 
    40243938case $target in 
    40253939    sparc64-* | ia64-* | x86_64-* ) 
    4026         cat >>confdefs.h <<\_ACEOF 
    4027 #define PJ_POOL_ALIGNMENT 8 
    4028 _ACEOF 
    4029  
    4030         { echo "$as_me:$LINENO: result: 8 bytes" >&5 
    4031 echo "${ECHO_T}8 bytes" >&6; } 
     3940        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3941 
     3942        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
     3943$as_echo "8 bytes" >&6; } 
    40323944        ;; 
    40333945    * ) 
    4034         cat >>confdefs.h <<\_ACEOF 
    4035 #define PJ_POOL_ALIGNMENT 4 
    4036 _ACEOF 
    4037  
    4038         { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    4039 echo "${ECHO_T}4 bytes (default)" >&6; } 
     3946        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3947 
     3948        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
     3949$as_echo "4 bytes (default)" >&6; } 
    40403950        ;; 
    40413951esac 
     
    40473957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    40483958ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4049 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    4050 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
     3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
     3960$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    40513961# On Suns, sometimes $CPP names a directory. 
    40523962if test -n "$CPP" && test -d "$CPP"; then 
     
    40543964fi 
    40553965if test -z "$CPP"; then 
    4056   if test "${ac_cv_prog_CPP+set}" = set; then 
    4057   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3966  if test "${ac_cv_prog_CPP+set}" = set; then : 
     3967  $as_echo_n "(cached) " >&6 
    40583968else 
    40593969      # Double quotes because CPP needs to be expanded 
     
    40693979  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40703980  # not just through cpp. "Syntax error" is here to catch this case. 
    4071   cat >conftest.$ac_ext <<_ACEOF 
    4072 /* confdefs.h.  */ 
    4073 _ACEOF 
    4074 cat confdefs.h >>conftest.$ac_ext 
    4075 cat >>conftest.$ac_ext <<_ACEOF 
     3981  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40763982/* end confdefs.h.  */ 
    40773983#ifdef __STDC__ 
     
    40823988                     Syntax error 
    40833989_ACEOF 
    4084 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4085 case "(($ac_try" in 
    4086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4087   *) ac_try_echo=$ac_try;; 
    4088 esac 
    4089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4090   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4091   ac_status=$? 
    4092   grep -v '^ *+' conftest.er1 >conftest.err 
    4093   rm -f conftest.er1 
    4094   cat conftest.err >&5 
    4095   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4096   (exit $ac_status); } >/dev/null && { 
    4097          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4098          test ! -s conftest.err 
    4099        }; then 
    4100   : 
    4101 else 
    4102   echo "$as_me: failed program was:" >&5 
    4103 sed 's/^/| /' conftest.$ac_ext >&5 
    4104  
     3990if ac_fn_c_try_cpp "$LINENO"; then : 
     3991 
     3992else 
    41053993  # Broken: fails on valid input. 
    41063994continue 
    41073995fi 
    4108  
    41093996rm -f conftest.err conftest.$ac_ext 
    41103997 
    41113998  # OK, works on sane cases.  Now check whether nonexistent headers 
    41123999  # can be detected and how. 
    4113   cat >conftest.$ac_ext <<_ACEOF 
    4114 /* confdefs.h.  */ 
    4115 _ACEOF 
    4116 cat confdefs.h >>conftest.$ac_ext 
    4117 cat >>conftest.$ac_ext <<_ACEOF 
     4000  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41184001/* end confdefs.h.  */ 
    41194002#include <ac_nonexistent.h> 
    41204003_ACEOF 
    4121 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4122 case "(($ac_try" in 
    4123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4124   *) ac_try_echo=$ac_try;; 
    4125 esac 
    4126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4127   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4128   ac_status=$? 
    4129   grep -v '^ *+' conftest.er1 >conftest.err 
    4130   rm -f conftest.er1 
    4131   cat conftest.err >&5 
    4132   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4133   (exit $ac_status); } >/dev/null && { 
    4134          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4135          test ! -s conftest.err 
    4136        }; then 
     4004if ac_fn_c_try_cpp "$LINENO"; then : 
    41374005  # Broken: success on invalid input. 
    41384006continue 
    41394007else 
    4140   echo "$as_me: failed program was:" >&5 
    4141 sed 's/^/| /' conftest.$ac_ext >&5 
    4142  
    41434008  # Passes both tests. 
    41444009ac_preproc_ok=: 
    41454010break 
    41464011fi 
    4147  
    41484012rm -f conftest.err conftest.$ac_ext 
    41494013 
     
    41514015# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    41524016rm -f conftest.err conftest.$ac_ext 
    4153 if $ac_preproc_ok; then 
     4017if $ac_preproc_ok; then : 
    41544018  break 
    41554019fi 
     
    41634027  ac_cv_prog_CPP=$CPP 
    41644028fi 
    4165 { echo "$as_me:$LINENO: result: $CPP" >&5 
    4166 echo "${ECHO_T}$CPP" >&6; } 
     4029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
     4030$as_echo "$CPP" >&6; } 
    41674031ac_preproc_ok=false 
    41684032for ac_c_preproc_warn_flag in '' yes 
     
    41744038  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41754039  # not just through cpp. "Syntax error" is here to catch this case. 
    4176   cat >conftest.$ac_ext <<_ACEOF 
    4177 /* confdefs.h.  */ 
    4178 _ACEOF 
    4179 cat confdefs.h >>conftest.$ac_ext 
    4180 cat >>conftest.$ac_ext <<_ACEOF 
     4040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41814041/* end confdefs.h.  */ 
    41824042#ifdef __STDC__ 
     
    41874047                     Syntax error 
    41884048_ACEOF 
    4189 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4190 case "(($ac_try" in 
    4191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4192   *) ac_try_echo=$ac_try;; 
    4193 esac 
    4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4195   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4196   ac_status=$? 
    4197   grep -v '^ *+' conftest.er1 >conftest.err 
    4198   rm -f conftest.er1 
    4199   cat conftest.err >&5 
    4200   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4201   (exit $ac_status); } >/dev/null && { 
    4202          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4203          test ! -s conftest.err 
    4204        }; then 
    4205   : 
    4206 else 
    4207   echo "$as_me: failed program was:" >&5 
    4208 sed 's/^/| /' conftest.$ac_ext >&5 
    4209  
     4049if ac_fn_c_try_cpp "$LINENO"; then : 
     4050 
     4051else 
    42104052  # Broken: fails on valid input. 
    42114053continue 
    42124054fi 
    4213  
    42144055rm -f conftest.err conftest.$ac_ext 
    42154056 
    42164057  # OK, works on sane cases.  Now check whether nonexistent headers 
    42174058  # can be detected and how. 
    4218   cat >conftest.$ac_ext <<_ACEOF 
    4219 /* confdefs.h.  */ 
    4220 _ACEOF 
    4221 cat confdefs.h >>conftest.$ac_ext 
    4222 cat >>conftest.$ac_ext <<_ACEOF 
     4059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42234060/* end confdefs.h.  */ 
    42244061#include <ac_nonexistent.h> 
    42254062_ACEOF 
    4226 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4227 case "(($ac_try" in 
    4228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4229   *) ac_try_echo=$ac_try;; 
    4230 esac 
    4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4232   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4233   ac_status=$? 
    4234   grep -v '^ *+' conftest.er1 >conftest.err 
    4235   rm -f conftest.er1 
    4236   cat conftest.err >&5 
    4237   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4238   (exit $ac_status); } >/dev/null && { 
    4239          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4240          test ! -s conftest.err 
    4241        }; then 
     4063if ac_fn_c_try_cpp "$LINENO"; then : 
    42424064  # Broken: success on invalid input. 
    42434065continue 
    42444066else 
    4245   echo "$as_me: failed program was:" >&5 
    4246 sed 's/^/| /' conftest.$ac_ext >&5 
    4247  
    42484067  # Passes both tests. 
    42494068ac_preproc_ok=: 
    42504069break 
    42514070fi 
    4252  
    42534071rm -f conftest.err conftest.$ac_ext 
    42544072 
     
    42564074# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42574075rm -f conftest.err conftest.$ac_ext 
    4258 if $ac_preproc_ok; then 
    4259   : 
    4260 else 
    4261   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4262 See \`config.log' for more details." >&5 
    4263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4264 See \`config.log' for more details." >&2;} 
    4265    { (exit 1); exit 1; }; } 
     4076if $ac_preproc_ok; then : 
     4077 
     4078else 
     4079  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     4080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     4081as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     4082See \`config.log' for more details." "$LINENO" 5; } 
    42664083fi 
    42674084 
     
    42734090 
    42744091 
    4275 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
    4276 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
    4277 if test "${ac_cv_path_GREP+set}" = set; then 
    4278   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4279 else 
    4280   # Extract the first word of "grep ggrep" to use in msg output 
    4281 if test -z "$GREP"; then 
    4282 set dummy grep ggrep; ac_prog_name=$2 
    4283 if test "${ac_cv_path_GREP+set}" = set; then 
    4284   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4285 else 
     4092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
     4093$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
     4094if test "${ac_cv_path_GREP+set}" = set; then : 
     4095  $as_echo_n "(cached) " >&6 
     4096else 
     4097  if test -z "$GREP"; then 
    42864098  ac_path_GREP_found=false 
    4287 # Loop through the user's path and test for each of PROGNAME-LIST 
    4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4099  # Loop through the user's path and test for each of PROGNAME-LIST 
     4100  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    42894101for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    42904102do 
    42914103  IFS=$as_save_IFS 
    42924104  test -z "$as_dir" && as_dir=. 
    4293   for ac_prog in grep ggrep; do 
    4294   for ac_exec_ext in '' $ac_executable_extensions; do 
    4295     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4296     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4297     # Check for GNU ac_path_GREP and select it if it is found. 
     4105    for ac_prog in grep ggrep; do 
     4106    for ac_exec_ext in '' $ac_executable_extensions; do 
     4107      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4108      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4109# Check for GNU ac_path_GREP and select it if it is found. 
    42984110  # Check for GNU $ac_path_GREP 
    42994111case `"$ac_path_GREP" --version 2>&1` in 
     
    43024114*) 
    43034115  ac_count=0 
    4304   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4116  $as_echo_n 0123456789 >"conftest.in" 
    43054117  while : 
    43064118  do 
     
    43084120    mv "conftest.tmp" "conftest.in" 
    43094121    cp "conftest.in" "conftest.nl" 
    4310     echo 'GREP' >> "conftest.nl" 
     4122    $as_echo 'GREP' >> "conftest.nl" 
    43114123    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43124124    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4313     ac_count=`expr $ac_count + 1` 
     4125    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43144126    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    43154127      # Best one so far, save it but keep looking for a better one 
     
    43234135esac 
    43244136 
    4325  
    4326     $ac_path_GREP_found && break 3 
     4137      $ac_path_GREP_found && break 3 
     4138    done 
    43274139  done 
    4328 done 
    4329  
    4330 done 
     4140  done 
    43314141IFS=$as_save_IFS 
    4332  
    4333  
    4334 fi 
    4335  
    4336 GREP="$ac_cv_path_GREP" 
    4337 if test -z "$GREP"; then 
    4338   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4339 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4340    { (exit 1); exit 1; }; } 
    4341 fi 
    4342  
     4142  if test -z "$ac_cv_path_GREP"; then 
     4143    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4144  fi 
    43434145else 
    43444146  ac_cv_path_GREP=$GREP 
    43454147fi 
    43464148 
    4347  
    4348 fi 
    4349 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
    4350 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
     4149fi 
     4150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
     4151$as_echo "$ac_cv_path_GREP" >&6; } 
    43514152 GREP="$ac_cv_path_GREP" 
    43524153 
    43534154 
    4354 { echo "$as_me:$LINENO: checking for egrep" >&5 
    4355 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
    4356 if test "${ac_cv_path_EGREP+set}" = set; then 
    4357   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
     4156$as_echo_n "checking for egrep... " >&6; } 
     4157if test "${ac_cv_path_EGREP+set}" = set; then : 
     4158  $as_echo_n "(cached) " >&6 
    43584159else 
    43594160  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    43604161   then ac_cv_path_EGREP="$GREP -E" 
    43614162   else 
    4362      # Extract the first word of "egrep" to use in msg output 
    4363 if test -z "$EGREP"; then 
    4364 set dummy egrep; ac_prog_name=$2 
    4365 if test "${ac_cv_path_EGREP+set}" = set; then 
    4366   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4367 else 
     4163     if test -z "$EGREP"; then 
    43684164  ac_path_EGREP_found=false 
    4369 # Loop through the user's path and test for each of PROGNAME-LIST 
    4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4165  # Loop through the user's path and test for each of PROGNAME-LIST 
     4166  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43714167for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43724168do 
    43734169  IFS=$as_save_IFS 
    43744170  test -z "$as_dir" && as_dir=. 
    4375   for ac_prog in egrep; do 
    4376   for ac_exec_ext in '' $ac_executable_extensions; do 
    4377     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4378     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4379     # Check for GNU ac_path_EGREP and select it if it is found. 
     4171    for ac_prog in egrep; do 
     4172    for ac_exec_ext in '' $ac_executable_extensions; do 
     4173      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4174      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4175# Check for GNU ac_path_EGREP and select it if it is found. 
    43804176  # Check for GNU $ac_path_EGREP 
    43814177case `"$ac_path_EGREP" --version 2>&1` in 
     
    43844180*) 
    43854181  ac_count=0 
    4386   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4182  $as_echo_n 0123456789 >"conftest.in" 
    43874183  while : 
    43884184  do 
     
    43904186    mv "conftest.tmp" "conftest.in" 
    43914187    cp "conftest.in" "conftest.nl" 
    4392     echo 'EGREP' >> "conftest.nl" 
     4188    $as_echo 'EGREP' >> "conftest.nl" 
    43934189    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43944190    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4395     ac_count=`expr $ac_count + 1` 
     4191    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43964192    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    43974193      # Best one so far, save it but keep looking for a better one 
     
    44054201esac 
    44064202 
    4407  
    4408     $ac_path_EGREP_found && break 3 
     4203      $ac_path_EGREP_found && break 3 
     4204    done 
    44094205  done 
    4410 done 
    4411  
    4412 done 
     4206  done 
    44134207IFS=$as_save_IFS 
    4414  
    4415  
    4416 fi 
    4417  
    4418 EGREP="$ac_cv_path_EGREP" 
    4419 if test -z "$EGREP"; then 
    4420   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4422    { (exit 1); exit 1; }; } 
    4423 fi 
    4424  
     4208  if test -z "$ac_cv_path_EGREP"; then 
     4209    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4210  fi 
    44254211else 
    44264212  ac_cv_path_EGREP=$EGREP 
    44274213fi 
    44284214 
    4429  
    44304215   fi 
    44314216fi 
    4432 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
    4433 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
     4217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
     4218$as_echo "$ac_cv_path_EGREP" >&6; } 
    44344219 EGREP="$ac_cv_path_EGREP" 
    44354220 
    44364221 
    4437 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    4438 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
    4439 if test "${ac_cv_header_stdc+set}" = set; then 
    4440   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4441 else 
    4442   cat >conftest.$ac_ext <<_ACEOF 
    4443 /* confdefs.h.  */ 
    4444 _ACEOF 
    4445 cat confdefs.h >>conftest.$ac_ext 
    4446 cat >>conftest.$ac_ext <<_ACEOF 
     4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
     4223$as_echo_n "checking for ANSI C header files... " >&6; } 
     4224if test "${ac_cv_header_stdc+set}" = set; then : 
     4225  $as_echo_n "(cached) " >&6 
     4226else 
     4227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44474228/* end confdefs.h.  */ 
    44484229#include <stdlib.h> 
     
    44594240} 
    44604241_ACEOF 
    4461 rm -f conftest.$ac_objext 
    4462 if { (ac_try="$ac_compile" 
    4463 case "(($ac_try" in 
    4464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4465   *) ac_try_echo=$ac_try;; 
    4466 esac 
    4467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4468   (eval "$ac_compile") 2>conftest.er1 
    4469   ac_status=$? 
    4470   grep -v '^ *+' conftest.er1 >conftest.err 
    4471   rm -f conftest.er1 
    4472   cat conftest.err >&5 
    4473   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4474   (exit $ac_status); } && { 
    4475          test -z "$ac_c_werror_flag" || 
    4476          test ! -s conftest.err 
    4477        } && test -s conftest.$ac_objext; then 
     4242if ac_fn_c_try_compile "$LINENO"; then : 
    44784243  ac_cv_header_stdc=yes 
    44794244else 
    4480   echo "$as_me: failed program was:" >&5 
    4481 sed 's/^/| /' conftest.$ac_ext >&5 
    4482  
    4483         ac_cv_header_stdc=no 
    4484 fi 
    4485  
     4245  ac_cv_header_stdc=no 
     4246fi 
    44864247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    44874248 
    44884249if test $ac_cv_header_stdc = yes; then 
    44894250  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4490   cat >conftest.$ac_ext <<_ACEOF 
    4491 /* confdefs.h.  */ 
    4492 _ACEOF 
    4493 cat confdefs.h >>conftest.$ac_ext 
    4494 cat >>conftest.$ac_ext <<_ACEOF 
     4251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44954252/* end confdefs.h.  */ 
    44964253#include <string.h> 
     
    44984255_ACEOF 
    44994256if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4500   $EGREP "memchr" >/dev/null 2>&1; then 
    4501   : 
     4257  $EGREP "memchr" >/dev/null 2>&1; then : 
     4258 
    45024259else 
    45034260  ac_cv_header_stdc=no 
    45044261fi 
    4505 rm -f -r conftest* 
     4262rm -f conftest* 
    45064263 
    45074264fi 
     
    45094266if test $ac_cv_header_stdc = yes; then 
    45104267  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4511   cat >conftest.$ac_ext <<_ACEOF 
    4512 /* confdefs.h.  */ 
    4513 _ACEOF 
    4514 cat confdefs.h >>conftest.$ac_ext 
    4515 cat >>conftest.$ac_ext <<_ACEOF 
     4268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45164269/* end confdefs.h.  */ 
    45174270#include <stdlib.h> 
     
    45194272_ACEOF 
    45204273if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4521   $EGREP "free" >/dev/null 2>&1; then 
    4522   : 
     4274  $EGREP "free" >/dev/null 2>&1; then : 
     4275 
    45234276else 
    45244277  ac_cv_header_stdc=no 
    45254278fi 
    4526 rm -f -r conftest* 
     4279rm -f conftest* 
    45274280 
    45284281fi 
     
    45304283if test $ac_cv_header_stdc = yes; then 
    45314284  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4532   if test "$cross_compiling" = yes; then 
     4285  if test "$cross_compiling" = yes; then : 
    45334286  : 
    45344287else 
    4535   cat >conftest.$ac_ext <<_ACEOF 
    4536 /* confdefs.h.  */ 
    4537 _ACEOF 
    4538 cat confdefs.h >>conftest.$ac_ext 
    4539 cat >>conftest.$ac_ext <<_ACEOF 
     4288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45404289/* end confdefs.h.  */ 
    45414290#include <ctype.h> 
     
    45644313} 
    45654314_ACEOF 
    4566 rm -f conftest$ac_exeext 
    4567 if { (ac_try="$ac_link" 
    4568 case "(($ac_try" in 
    4569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4570   *) ac_try_echo=$ac_try;; 
    4571 esac 
    4572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4573   (eval "$ac_link") 2>&5 
    4574   ac_status=$? 
    4575   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4576   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4577   { (case "(($ac_try" in 
    4578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4579   *) ac_try_echo=$ac_try;; 
    4580 esac 
    4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4582   (eval "$ac_try") 2>&5 
    4583   ac_status=$? 
    4584   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4585   (exit $ac_status); }; }; then 
    4586   : 
    4587 else 
    4588   echo "$as_me: program exited with status $ac_status" >&5 
    4589 echo "$as_me: failed program was:" >&5 
    4590 sed 's/^/| /' conftest.$ac_ext >&5 
    4591  
    4592 ( exit $ac_status ) 
    4593 ac_cv_header_stdc=no 
    4594 fi 
    4595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4596 fi 
    4597  
    4598  
    4599 fi 
    4600 fi 
    4601 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    4602 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
     4315if ac_fn_c_try_run "$LINENO"; then : 
     4316 
     4317else 
     4318  ac_cv_header_stdc=no 
     4319fi 
     4320rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4321  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4322fi 
     4323 
     4324fi 
     4325fi 
     4326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
     4327$as_echo "$ac_cv_header_stdc" >&6; } 
    46034328if test $ac_cv_header_stdc = yes; then 
    46044329 
    4605 cat >>confdefs.h <<\_ACEOF 
    4606 #define STDC_HEADERS 1 
    4607 _ACEOF 
     4330$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46084331 
    46094332fi 
    46104333 
    46114334# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4612  
    4613  
    4614  
    4615  
    4616  
    4617  
    4618  
    4619  
    4620  
    46214335for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    46224336                  inttypes.h stdint.h unistd.h 
    4623 do 
    4624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4625 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
    4627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4628   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4629 else 
    4630   cat >conftest.$ac_ext <<_ACEOF 
    4631 /* confdefs.h.  */ 
    4632 _ACEOF 
    4633 cat confdefs.h >>conftest.$ac_ext 
    4634 cat >>conftest.$ac_ext <<_ACEOF 
     4337do : 
     4338  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4339ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4340" 
     4341eval as_val=\$$as_ac_Header 
     4342   if test "x$as_val" = x""yes; then : 
     4343  cat >>confdefs.h <<_ACEOF 
     4344#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4345_ACEOF 
     4346 
     4347fi 
     4348 
     4349done 
     4350 
     4351 
     4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
     4353$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
     4354if test "${ac_cv_c_bigendian+set}" = set; then : 
     4355  $as_echo_n "(cached) " >&6 
     4356else 
     4357  ac_cv_c_bigendian=unknown 
     4358    # See if we're dealing with a universal compiler. 
     4359    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46354360/* end confdefs.h.  */ 
    4636 $ac_includes_default 
    4637  
    4638 #include <$ac_header> 
    4639 _ACEOF 
    4640 rm -f conftest.$ac_objext 
    4641 if { (ac_try="$ac_compile" 
    4642 case "(($ac_try" in 
    4643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4644   *) ac_try_echo=$ac_try;; 
    4645 esac 
    4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4647   (eval "$ac_compile") 2>conftest.er1 
    4648   ac_status=$? 
    4649   grep -v '^ *+' conftest.er1 >conftest.err 
    4650   rm -f conftest.er1 
    4651   cat conftest.err >&5 
    4652   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4653   (exit $ac_status); } && { 
    4654          test -z "$ac_c_werror_flag" || 
    4655          test ! -s conftest.err 
    4656        } && test -s conftest.$ac_objext; then 
    4657   eval "$as_ac_Header=yes" 
    4658 else 
    4659   echo "$as_me: failed program was:" >&5 
    4660 sed 's/^/| /' conftest.$ac_ext >&5 
    4661  
    4662         eval "$as_ac_Header=no" 
    4663 fi 
    4664  
     4361#ifndef __APPLE_CC__ 
     4362               not a universal capable compiler 
     4363             #endif 
     4364             typedef int dummy; 
     4365 
     4366_ACEOF 
     4367if ac_fn_c_try_compile "$LINENO"; then : 
     4368 
     4369        # Check for potential -arch flags.  It is not universal unless 
     4370        # there are at least two -arch flags with different values. 
     4371        ac_arch= 
     4372        ac_prev= 
     4373        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4374         if test -n "$ac_prev"; then 
     4375           case $ac_word in 
     4376             i?86 | x86_64 | ppc | ppc64) 
     4377               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4378                 ac_arch=$ac_word 
     4379               else 
     4380                 ac_cv_c_bigendian=universal 
     4381                 break 
     4382               fi 
     4383               ;; 
     4384           esac 
     4385           ac_prev= 
     4386         elif test "x$ac_word" = "x-arch"; then 
     4387           ac_prev=arch 
     4388         fi 
     4389       done 
     4390fi 
    46654391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4666 fi 
    4667 ac_res=`eval echo '${'$as_ac_Header'}'` 
    4668                { echo "$as_me:$LINENO: result: $ac_res" >&5 
    4669 echo "${ECHO_T}$ac_res" >&6; } 
    4670 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    4671   cat >>confdefs.h <<_ACEOF 
    4672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    4673 _ACEOF 
    4674  
    4675 fi 
    4676  
    4677 done 
    4678  
    4679  
    4680 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    4681 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
    4682 if test "${ac_cv_c_bigendian+set}" = set; then 
    4683   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4684 else 
    4685   # See if sys/param.h defines the BYTE_ORDER macro. 
    4686 cat >conftest.$ac_ext <<_ACEOF 
    4687 /* confdefs.h.  */ 
    4688 _ACEOF 
    4689 cat confdefs.h >>conftest.$ac_ext 
    4690 cat >>conftest.$ac_ext <<_ACEOF 
     4392    if test $ac_cv_c_bigendian = unknown; then 
     4393      # See if sys/param.h defines the BYTE_ORDER macro. 
     4394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46914395/* end confdefs.h.  */ 
    46924396#include <sys/types.h> 
    4693 #include <sys/param.h> 
     4397             #include <sys/param.h> 
    46944398 
    46954399int 
    46964400main () 
    46974401{ 
    4698 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
    4699         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
    4700  bogus endian macros 
    4701 #endif 
     4402#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
     4403                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
     4404                     && LITTLE_ENDIAN) 
     4405              bogus endian macros 
     4406             #endif 
    47024407 
    47034408  ; 
     
    47054410} 
    47064411_ACEOF 
    4707 rm -f conftest.$ac_objext 
    4708 if { (ac_try="$ac_compile" 
    4709 case "(($ac_try" in 
    4710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4711   *) ac_try_echo=$ac_try;; 
    4712 esac 
    4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4714   (eval "$ac_compile") 2>conftest.er1 
    4715   ac_status=$? 
    4716   grep -v '^ *+' conftest.er1 >conftest.err 
    4717   rm -f conftest.er1 
    4718   cat conftest.err >&5 
    4719   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4720   (exit $ac_status); } && { 
    4721          test -z "$ac_c_werror_flag" || 
    4722          test ! -s conftest.err 
    4723        } && test -s conftest.$ac_objext; then 
     4412if ac_fn_c_try_compile "$LINENO"; then : 
    47244413  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4725 cat >conftest.$ac_ext <<_ACEOF 
    4726 /* confdefs.h.  */ 
    4727 _ACEOF 
    4728 cat confdefs.h >>conftest.$ac_ext 
    4729 cat >>conftest.$ac_ext <<_ACEOF 
     4414         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47304415/* end confdefs.h.  */ 
    47314416#include <sys/types.h> 
    4732 #include <sys/param.h> 
     4417                #include <sys/param.h> 
    47334418 
    47344419int 
     
    47364421{ 
    47374422#if BYTE_ORDER != BIG_ENDIAN 
    4738  not big endian 
    4739 #endif 
     4423                not big endian 
     4424                #endif 
    47404425 
    47414426  ; 
     
    47434428} 
    47444429_ACEOF 
    4745 rm -f conftest.$ac_objext 
    4746 if { (ac_try="$ac_compile" 
    4747 case "(($ac_try" in 
    4748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4749   *) ac_try_echo=$ac_try;; 
    4750 esac 
    4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4752   (eval "$ac_compile") 2>conftest.er1 
    4753   ac_status=$? 
    4754   grep -v '^ *+' conftest.er1 >conftest.err 
    4755   rm -f conftest.er1 
    4756   cat conftest.err >&5 
    4757   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4758   (exit $ac_status); } && { 
    4759          test -z "$ac_c_werror_flag" || 
    4760          test ! -s conftest.err 
    4761        } && test -s conftest.$ac_objext; then 
     4430if ac_fn_c_try_compile "$LINENO"; then : 
    47624431  ac_cv_c_bigendian=yes 
    47634432else 
    4764   echo "$as_me: failed program was:" >&5 
    4765 sed 's/^/| /' conftest.$ac_ext >&5 
    4766  
    4767         ac_cv_c_bigendian=no 
    4768 fi 
    4769  
     4433  ac_cv_c_bigendian=no 
     4434fi 
    47704435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4771 else 
    4772   echo "$as_me: failed program was:" >&5 
    4773 sed 's/^/| /' conftest.$ac_ext >&5 
    4774  
    4775         # It does not; compile a test program. 
    4776 if test "$cross_compiling" = yes; then 
    4777   # try to guess the endianness by grepping values into an object file 
    4778   ac_cv_c_bigendian=unknown 
    4779   cat >conftest.$ac_ext <<_ACEOF 
    4780 /* confdefs.h.  */ 
    4781 _ACEOF 
    4782 cat confdefs.h >>conftest.$ac_ext 
    4783 cat >>conftest.$ac_ext <<_ACEOF 
     4436fi 
     4437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4438    fi 
     4439    if test $ac_cv_c_bigendian = unknown; then 
     4440      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
     4441      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47844442/* end confdefs.h.  */ 
    4785 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4786 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4787 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    4788 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4789 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4790 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     4443#include <limits.h> 
     4444 
    47914445int 
    47924446main () 
    47934447{ 
    4794  _ascii (); _ebcdic (); 
     4448#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
     4449              bogus endian macros 
     4450             #endif 
     4451 
    47954452  ; 
    47964453  return 0; 
    47974454} 
    47984455_ACEOF 
    4799 rm -f conftest.$ac_objext 
    4800 if { (ac_try="$ac_compile" 
    4801 case "(($ac_try" in 
    4802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4803   *) ac_try_echo=$ac_try;; 
    4804 esac 
    4805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4806   (eval "$ac_compile") 2>conftest.er1 
    4807   ac_status=$? 
    4808   grep -v '^ *+' conftest.er1 >conftest.err 
    4809   rm -f conftest.er1 
    4810   cat conftest.err >&5 
    4811   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4812   (exit $ac_status); } && { 
    4813          test -z "$ac_c_werror_flag" || 
    4814          test ! -s conftest.err 
    4815        } && test -s conftest.$ac_objext; then 
    4816   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     4456if ac_fn_c_try_compile "$LINENO"; then : 
     4457  # It does; now see whether it defined to _BIG_ENDIAN or not. 
     4458         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4459/* end confdefs.h.  */ 
     4460#include <limits.h> 
     4461 
     4462int 
     4463main () 
     4464{ 
     4465#ifndef _BIG_ENDIAN 
     4466                 not big endian 
     4467                #endif 
     4468 
     4469  ; 
     4470  return 0; 
     4471} 
     4472_ACEOF 
     4473if ac_fn_c_try_compile "$LINENO"; then : 
    48174474  ac_cv_c_bigendian=yes 
    4818 fi 
    4819 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4820   if test "$ac_cv_c_bigendian" = unknown; then 
    4821     ac_cv_c_bigendian=no 
    4822   else 
    4823     # finding both strings is unlikely to happen, but who knows? 
    4824     ac_cv_c_bigendian=unknown 
    4825   fi 
    4826 fi 
    4827 else 
    4828   echo "$as_me: failed program was:" >&5 
    4829 sed 's/^/| /' conftest.$ac_ext >&5 
    4830  
    4831  
    4832 fi 
    4833  
     4475else 
     4476  ac_cv_c_bigendian=no 
     4477fi 
    48344478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4835 else 
    4836   cat >conftest.$ac_ext <<_ACEOF 
    4837 /* confdefs.h.  */ 
    4838 _ACEOF 
    4839 cat confdefs.h >>conftest.$ac_ext 
    4840 cat >>conftest.$ac_ext <<_ACEOF 
     4479fi 
     4480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4481    fi 
     4482    if test $ac_cv_c_bigendian = unknown; then 
     4483      # Compile a test program. 
     4484      if test "$cross_compiling" = yes; then : 
     4485  # Try to guess by grepping values from an object file. 
     4486         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4487/* end confdefs.h.  */ 
     4488short int ascii_mm[] = 
     4489                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4490                short int ascii_ii[] = 
     4491                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4492                int use_ascii (int i) { 
     4493                  return ascii_mm[i] + ascii_ii[i]; 
     4494                } 
     4495                short int ebcdic_ii[] = 
     4496                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4497                short int ebcdic_mm[] = 
     4498                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4499                int use_ebcdic (int i) { 
     4500                  return ebcdic_mm[i] + ebcdic_ii[i]; 
     4501                } 
     4502                extern int foo; 
     4503 
     4504int 
     4505main () 
     4506{ 
     4507return use_ascii (foo) == use_ebcdic (foo); 
     4508  ; 
     4509  return 0; 
     4510} 
     4511_ACEOF 
     4512if ac_fn_c_try_compile "$LINENO"; then : 
     4513  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
     4514              ac_cv_c_bigendian=yes 
     4515            fi 
     4516            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4517              if test "$ac_cv_c_bigendian" = unknown; then 
     4518                ac_cv_c_bigendian=no 
     4519              else 
     4520                # finding both strings is unlikely to happen, but who knows? 
     4521                ac_cv_c_bigendian=unknown 
     4522              fi 
     4523            fi 
     4524fi 
     4525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4526else 
     4527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48414528/* end confdefs.h.  */ 
    48424529$ac_includes_default 
     
    48454532{ 
    48464533 
    4847   /* Are we little or big endian?  From Harbison&Steele.  */ 
    4848   union 
    4849   { 
    4850     long int l; 
    4851     char c[sizeof (long int)]; 
    4852   } u; 
    4853   u.l = 1; 
    4854   return u.c[sizeof (long int) - 1] == 1; 
     4534             /* Are we little or big endian?  From Harbison&Steele.  */ 
     4535             union 
     4536             { 
     4537               long int l; 
     4538               char c[sizeof (long int)]; 
     4539             } u; 
     4540             u.l = 1; 
     4541             return u.c[sizeof (long int) - 1] == 1; 
    48554542 
    48564543  ; 
     
    48584545} 
    48594546_ACEOF 
    4860 rm -f conftest$ac_exeext 
    4861 if { (ac_try="$ac_link" 
    4862 case "(($ac_try" in 
    4863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4864   *) ac_try_echo=$ac_try;; 
    4865 esac 
    4866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4867   (eval "$ac_link") 2>&5 
    4868   ac_status=$? 
    4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4870   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4871   { (case "(($ac_try" in 
    4872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4873   *) ac_try_echo=$ac_try;; 
    4874 esac 
    4875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4876   (eval "$ac_try") 2>&5 
    4877   ac_status=$? 
    4878   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4879   (exit $ac_status); }; }; then 
     4547if ac_fn_c_try_run "$LINENO"; then : 
    48804548  ac_cv_c_bigendian=no 
    48814549else 
    4882   echo "$as_me: program exited with status $ac_status" >&5 
    4883 echo "$as_me: failed program was:" >&5 
    4884 sed 's/^/| /' conftest.$ac_ext >&5 
    4885  
    4886 ( exit $ac_status ) 
    4887 ac_cv_c_bigendian=yes 
    4888 fi 
    4889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4890 fi 
    4891  
    4892  
    4893 fi 
    4894  
    4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4896 fi 
    4897 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    4898 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
    4899 case $ac_cv_c_bigendian in 
    4900   yes) 
    4901  
    4902 cat >>confdefs.h <<\_ACEOF 
    4903 #define WORDS_BIGENDIAN 1 
    4904 _ACEOF 
    4905  ;; 
    4906   no) 
    4907      ;; 
    4908   *) 
    4909     { { echo "$as_me:$LINENO: error: unknown endianness 
    4910 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    4911 echo "$as_me: error: unknown endianness 
    4912 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    4913    { (exit 1); exit 1; }; } ;; 
    4914 esac 
     4550  ac_cv_c_bigendian=yes 
     4551fi 
     4552rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4553  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4554fi 
     4555 
     4556    fi 
     4557fi 
     4558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
     4559$as_echo "$ac_cv_c_bigendian" >&6; } 
     4560 case $ac_cv_c_bigendian in #( 
     4561   yes) 
     4562     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
     4563;; #( 
     4564   no) 
     4565      ;; #( 
     4566   universal) 
     4567 
     4568$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
     4569 
     4570     ;; #( 
     4571   *) 
     4572     as_fn_error "unknown endianness 
     4573 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     4574 esac 
    49154575 
    49164576 
    49174577case $target in 
    49184578    *mingw* | *cygw* | *win32* | *w32* ) 
    4919         cat >>confdefs.h <<\_ACEOF 
    4920 #define PJ_WIN32 1 
    4921 _ACEOF 
    4922  
    4923         cat >>confdefs.h <<\_ACEOF 
    4924 #define PJ_WIN32_WINNT 0x0400 
    4925 _ACEOF 
    4926  
    4927         cat >>confdefs.h <<\_ACEOF 
    4928 #define WIN32_LEAN_AND_MEAN 1 
    4929 _ACEOF 
     4579        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4580 
     4581        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4582 
     4583        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    49304584 
    49314585        ;; 
    49324586    *darwin*) 
    4933         cat >>confdefs.h <<\_ACEOF 
    4934 #define PJ_DARWINOS 1 
    4935 _ACEOF 
     4587        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    49364588 
    49374589        ;; 
    49384590    *linux*) 
    4939         cat >>confdefs.h <<\_ACEOF 
    4940 #define PJ_LINUX 1 
    4941 _ACEOF 
     4591        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    49424592 
    49434593        ;; 
    49444594    *rtems*) 
    4945         cat >>confdefs.h <<\_ACEOF 
    4946 #define PJ_RTEMS 1 
    4947 _ACEOF 
     4595        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    49484596 
    49494597        ;; 
    49504598    *sunos* | *solaris* ) 
    4951         cat >>confdefs.h <<\_ACEOF 
    4952 #define PJ_SUNOS 1 
    4953 _ACEOF 
     4599        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    49544600 
    49554601        ;; 
     
    49624608 
    49634609# Check whether --enable-floating-point was given. 
    4964 if test "${enable_floating_point+set}" = set; then 
     4610if test "${enable_floating_point+set}" = set; then : 
    49654611  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4966                 cat >>confdefs.h <<\_ACEOF 
    4967 #define PJ_HAS_FLOATING_POINT 0 
    4968 _ACEOF 
    4969  
    4970                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    4971 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
     4612                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4613 
     4614                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
     4615$as_echo "Checking if floating point is disabled... yes" >&6; } 
    49724616               fi 
    49734617else 
    49744618 
    4975                 cat >>confdefs.h <<\_ACEOF 
    4976 #define PJ_HAS_FLOATING_POINT 1 
    4977 _ACEOF 
    4978  
    4979                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    4980 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
    4981  
    4982 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    4983 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
    4984 if test "${ac_cv_lib_m_fmod+set}" = set; then 
    4985   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4619                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4620 
     4621                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
     4622$as_echo "Checking if floating point is disabled... no" >&6; } 
     4623                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
     4624$as_echo_n "checking for fmod in -lm... " >&6; } 
     4625if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4626  $as_echo_n "(cached) " >&6 
    49864627else 
    49874628  ac_check_lib_save_LIBS=$LIBS 
    49884629LIBS="-lm  $LIBS" 
    4989 cat >conftest.$ac_ext <<_ACEOF 
    4990 /* confdefs.h.  */ 
    4991 _ACEOF 
    4992 cat confdefs.h >>conftest.$ac_ext 
    4993 cat >>conftest.$ac_ext <<_ACEOF 
     4630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    49944631/* end confdefs.h.  */ 
    49954632 
     
    50094646} 
    50104647_ACEOF 
    5011 rm -f conftest.$ac_objext conftest$ac_exeext 
    5012 if { (ac_try="$ac_link" 
    5013 case "(($ac_try" in 
    5014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5015   *) ac_try_echo=$ac_try;; 
    5016 esac 
    5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5018   (eval "$ac_link") 2>conftest.er1 
    5019   ac_status=$? 
    5020   grep -v '^ *+' conftest.er1 >conftest.err 
    5021   rm -f conftest.er1 
    5022   cat conftest.err >&5 
    5023   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5024   (exit $ac_status); } && { 
    5025          test -z "$ac_c_werror_flag" || 
    5026          test ! -s conftest.err 
    5027        } && test -s conftest$ac_exeext && 
    5028        $as_test_x conftest$ac_exeext; then 
     4648if ac_fn_c_try_link "$LINENO"; then : 
    50294649  ac_cv_lib_m_fmod=yes 
    50304650else 
    5031   echo "$as_me: failed program was:" >&5 
    5032 sed 's/^/| /' conftest.$ac_ext >&5 
    5033  
    5034         ac_cv_lib_m_fmod=no 
    5035 fi 
    5036  
    5037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5038       conftest$ac_exeext conftest.$ac_ext 
     4651  ac_cv_lib_m_fmod=no 
     4652fi 
     4653rm -f core conftest.err conftest.$ac_objext \ 
     4654    conftest$ac_exeext conftest.$ac_ext 
    50394655LIBS=$ac_check_lib_save_LIBS 
    50404656fi 
    5041 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    5042 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
    5043 if test $ac_cv_lib_m_fmod = yes; then 
     4657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
     4658$as_echo "$ac_cv_lib_m_fmod" >&6; } 
     4659if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    50444660  cat >>confdefs.h <<_ACEOF 
    50454661#define HAVE_LIBM 1 
     
    50554671 
    50564672 
    5057 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5058   { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5059 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5060 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5061   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5062 fi 
    5063 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5064 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5065 else 
    5066   # Is the header compilable? 
    5067 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5068 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
    5069 cat >conftest.$ac_ext <<_ACEOF 
    5070 /* confdefs.h.  */ 
    5071 _ACEOF 
    5072 cat confdefs.h >>conftest.$ac_ext 
    5073 cat >>conftest.$ac_ext <<_ACEOF 
    5074 /* end confdefs.h.  */ 
    5075 $ac_includes_default 
    5076 #include <arpa/inet.h> 
    5077 _ACEOF 
    5078 rm -f conftest.$ac_objext 
    5079 if { (ac_try="$ac_compile" 
    5080 case "(($ac_try" in 
    5081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5082   *) ac_try_echo=$ac_try;; 
    5083 esac 
    5084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5085   (eval "$ac_compile") 2>conftest.er1 
    5086   ac_status=$? 
    5087   grep -v '^ *+' conftest.er1 >conftest.err 
    5088   rm -f conftest.er1 
    5089   cat conftest.err >&5 
    5090   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5091   (exit $ac_status); } && { 
    5092          test -z "$ac_c_werror_flag" || 
    5093          test ! -s conftest.err 
    5094        } && test -s conftest.$ac_objext; then 
    5095   ac_header_compiler=yes 
    5096 else 
    5097   echo "$as_me: failed program was:" >&5 
    5098 sed 's/^/| /' conftest.$ac_ext >&5 
    5099  
    5100         ac_header_compiler=no 
    5101 fi 
    5102  
    5103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5104 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5105 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5106  
    5107 # Is the header present? 
    5108 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5109 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
    5110 cat >conftest.$ac_ext <<_ACEOF 
    5111 /* confdefs.h.  */ 
    5112 _ACEOF 
    5113 cat confdefs.h >>conftest.$ac_ext 
    5114 cat >>conftest.$ac_ext <<_ACEOF 
    5115 /* end confdefs.h.  */ 
    5116 #include <arpa/inet.h> 
    5117 _ACEOF 
    5118 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5119 case "(($ac_try" in 
    5120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5121   *) ac_try_echo=$ac_try;; 
    5122 esac 
    5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5124   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5125   ac_status=$? 
    5126   grep -v '^ *+' conftest.er1 >conftest.err 
    5127   rm -f conftest.er1 
    5128   cat conftest.err >&5 
    5129   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5130   (exit $ac_status); } >/dev/null && { 
    5131          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5132          test ! -s conftest.err 
    5133        }; then 
    5134   ac_header_preproc=yes 
    5135 else 
    5136   echo "$as_me: failed program was:" >&5 
    5137 sed 's/^/| /' conftest.$ac_ext >&5 
    5138  
    5139   ac_header_preproc=no 
    5140 fi 
    5141  
    5142 rm -f conftest.err conftest.$ac_ext 
    5143 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5144 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5145  
    5146 # So?  What about this header? 
    5147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5148   yes:no: ) 
    5149     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5150 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5151     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5152 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5153     ac_header_preproc=yes 
    5154     ;; 
    5155   no:yes:* ) 
    5156     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5157 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5158     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5159 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5160     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5161 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5162     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5163 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5164     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5165 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5166     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5167 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5168  
    5169     ;; 
    5170 esac 
    5171 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5172 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5173 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5174   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5175 else 
    5176   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5177 fi 
    5178 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5179 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5180  
    5181 fi 
    5182 if test $ac_cv_header_arpa_inet_h = yes; then 
    5183   cat >>confdefs.h <<\_ACEOF 
    5184 #define PJ_HAS_ARPA_INET_H 1 
    5185 _ACEOF 
    5186  
    5187 fi 
    5188  
    5189  
    5190 if test "${ac_cv_header_assert_h+set}" = set; then 
    5191   { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5192 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5193 if test "${ac_cv_header_assert_h+set}" = set; then 
    5194   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5195 fi 
    5196 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5197 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5198 else 
    5199   # Is the header compilable? 
    5200 { echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5201 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
    5202 cat >conftest.$ac_ext <<_ACEOF 
    5203 /* confdefs.h.  */ 
    5204 _ACEOF 
    5205 cat confdefs.h >>conftest.$ac_ext 
    5206 cat >>conftest.$ac_ext <<_ACEOF 
    5207 /* end confdefs.h.  */ 
    5208 $ac_includes_default 
    5209 #include <assert.h> 
    5210 _ACEOF 
    5211 rm -f conftest.$ac_objext 
    5212 if { (ac_try="$ac_compile" 
    5213 case "(($ac_try" in 
    5214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5215   *) ac_try_echo=$ac_try;; 
    5216 esac 
    5217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5218   (eval "$ac_compile") 2>conftest.er1 
    5219   ac_status=$? 
    5220   grep -v '^ *+' conftest.er1 >conftest.err 
    5221   rm -f conftest.er1 
    5222   cat conftest.err >&5 
    5223   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5224   (exit $ac_status); } && { 
    5225          test -z "$ac_c_werror_flag" || 
    5226          test ! -s conftest.err 
    5227        } && test -s conftest.$ac_objext; then 
    5228   ac_header_compiler=yes 
    5229 else 
    5230   echo "$as_me: failed program was:" >&5 
    5231 sed 's/^/| /' conftest.$ac_ext >&5 
    5232  
    5233         ac_header_compiler=no 
    5234 fi 
    5235  
    5236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5237 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5238 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5239  
    5240 # Is the header present? 
    5241 { echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5242 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
    5243 cat >conftest.$ac_ext <<_ACEOF 
    5244 /* confdefs.h.  */ 
    5245 _ACEOF 
    5246 cat confdefs.h >>conftest.$ac_ext 
    5247 cat >>conftest.$ac_ext <<_ACEOF 
    5248 /* end confdefs.h.  */ 
    5249 #include <assert.h> 
    5250 _ACEOF 
    5251 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5252 case "(($ac_try" in 
    5253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5254   *) ac_try_echo=$ac_try;; 
    5255 esac 
    5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5257   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5258   ac_status=$? 
    5259   grep -v '^ *+' conftest.er1 >conftest.err 
    5260   rm -f conftest.er1 
    5261   cat conftest.err >&5 
    5262   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5263   (exit $ac_status); } >/dev/null && { 
    5264          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5265          test ! -s conftest.err 
    5266        }; then 
    5267   ac_header_preproc=yes 
    5268 else 
    5269   echo "$as_me: failed program was:" >&5 
    5270 sed 's/^/| /' conftest.$ac_ext >&5 
    5271  
    5272   ac_header_preproc=no 
    5273 fi 
    5274  
    5275 rm -f conftest.err conftest.$ac_ext 
    5276 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5277 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5278  
    5279 # So?  What about this header? 
    5280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5281   yes:no: ) 
    5282     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5283 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5284     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5285 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5286     ac_header_preproc=yes 
    5287     ;; 
    5288   no:yes:* ) 
    5289     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5290 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5291     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5292 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5293     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5294 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5295     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5296 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5297     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5298 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5299     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5300 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5301  
    5302     ;; 
    5303 esac 
    5304 { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5305 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5306 if test "${ac_cv_header_assert_h+set}" = set; then 
    5307   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5308 else 
    5309   ac_cv_header_assert_h=$ac_header_preproc 
    5310 fi 
    5311 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5312 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5313  
    5314 fi 
    5315 if test $ac_cv_header_assert_h = yes; then 
    5316   cat >>confdefs.h <<\_ACEOF 
    5317 #define PJ_HAS_ASSERT_H 1 
    5318 _ACEOF 
    5319  
    5320 fi 
    5321  
    5322  
    5323 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5324   { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5325 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5326 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5327   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5328 fi 
    5329 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5330 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5331 else 
    5332   # Is the header compilable? 
    5333 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5334 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
    5335 cat >conftest.$ac_ext <<_ACEOF 
    5336 /* confdefs.h.  */ 
    5337 _ACEOF 
    5338 cat confdefs.h >>conftest.$ac_ext 
    5339 cat >>conftest.$ac_ext <<_ACEOF 
    5340 /* end confdefs.h.  */ 
    5341 $ac_includes_default 
    5342 #include <ctype.h> 
    5343 _ACEOF 
    5344 rm -f conftest.$ac_objext 
    5345 if { (ac_try="$ac_compile" 
    5346 case "(($ac_try" in 
    5347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5348   *) ac_try_echo=$ac_try;; 
    5349 esac 
    5350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5351   (eval "$ac_compile") 2>conftest.er1 
    5352   ac_status=$? 
    5353   grep -v '^ *+' conftest.er1 >conftest.err 
    5354   rm -f conftest.er1 
    5355   cat conftest.err >&5 
    5356   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5357   (exit $ac_status); } && { 
    5358          test -z "$ac_c_werror_flag" || 
    5359          test ! -s conftest.err 
    5360        } && test -s conftest.$ac_objext; then 
    5361   ac_header_compiler=yes 
    5362 else 
    5363   echo "$as_me: failed program was:" >&5 
    5364 sed 's/^/| /' conftest.$ac_ext >&5 
    5365  
    5366         ac_header_compiler=no 
    5367 fi 
    5368  
    5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5371 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5372  
    5373 # Is the header present? 
    5374 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5375 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
    5376 cat >conftest.$ac_ext <<_ACEOF 
    5377 /* confdefs.h.  */ 
    5378 _ACEOF 
    5379 cat confdefs.h >>conftest.$ac_ext 
    5380 cat >>conftest.$ac_ext <<_ACEOF 
    5381 /* end confdefs.h.  */ 
    5382 #include <ctype.h> 
    5383 _ACEOF 
    5384 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5385 case "(($ac_try" in 
    5386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5387   *) ac_try_echo=$ac_try;; 
    5388 esac 
    5389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5390   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5391   ac_status=$? 
    5392   grep -v '^ *+' conftest.er1 >conftest.err 
    5393   rm -f conftest.er1 
    5394   cat conftest.err >&5 
    5395   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5396   (exit $ac_status); } >/dev/null && { 
    5397          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5398          test ! -s conftest.err 
    5399        }; then 
    5400   ac_header_preproc=yes 
    5401 else 
    5402   echo "$as_me: failed program was:" >&5 
    5403 sed 's/^/| /' conftest.$ac_ext >&5 
    5404  
    5405   ac_header_preproc=no 
    5406 fi 
    5407  
    5408 rm -f conftest.err conftest.$ac_ext 
    5409 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5410 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5411  
    5412 # So?  What about this header? 
    5413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5414   yes:no: ) 
    5415     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5416 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5417     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5418 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5419     ac_header_preproc=yes 
    5420     ;; 
    5421   no:yes:* ) 
    5422     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5423 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5424     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5425 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5426     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5427 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5428     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5429 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5430     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5431 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5432     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5433 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5434  
    5435     ;; 
    5436 esac 
    5437 { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5438 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5439 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5440   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5441 else 
    5442   ac_cv_header_ctype_h=$ac_header_preproc 
    5443 fi 
    5444 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5445 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5446  
    5447 fi 
    5448 if test $ac_cv_header_ctype_h = yes; then 
    5449   cat >>confdefs.h <<\_ACEOF 
    5450 #define PJ_HAS_CTYPE_H 1 
    5451 _ACEOF 
     4673ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4674if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4675  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4676 
     4677fi 
     4678 
     4679 
     4680ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4681if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4682  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4683 
     4684fi 
     4685 
     4686 
     4687ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4688if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4689  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    54524690 
    54534691fi 
     
    54574695case $target in 
    54584696    *mingw* | *cygw* | *win32* | *w32* ) 
    5459         cat >>confdefs.h <<\_ACEOF 
    5460 #define PJ_HAS_ERRNO_H 0 
    5461 _ACEOF 
     4697        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    54624698 
    54634699        ;; 
    54644700    *) 
    5465         if test "${ac_cv_header_errno_h+set}" = set; then 
    5466   { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5467 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5468 if test "${ac_cv_header_errno_h+set}" = set; then 
    5469   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5470 fi 
    5471 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5472 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5473 else 
    5474   # Is the header compilable? 
    5475 { echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5476 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
    5477 cat >conftest.$ac_ext <<_ACEOF 
    5478 /* confdefs.h.  */ 
    5479 _ACEOF 
    5480 cat confdefs.h >>conftest.$ac_ext 
    5481 cat >>conftest.$ac_ext <<_ACEOF 
    5482 /* end confdefs.h.  */ 
    5483 $ac_includes_default 
    5484 #include <errno.h> 
    5485 _ACEOF 
    5486 rm -f conftest.$ac_objext 
    5487 if { (ac_try="$ac_compile" 
    5488 case "(($ac_try" in 
    5489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5490   *) ac_try_echo=$ac_try;; 
    5491 esac 
    5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5493   (eval "$ac_compile") 2>conftest.er1 
    5494   ac_status=$? 
    5495   grep -v '^ *+' conftest.er1 >conftest.err 
    5496   rm -f conftest.er1 
    5497   cat conftest.err >&5 
    5498   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5499   (exit $ac_status); } && { 
    5500          test -z "$ac_c_werror_flag" || 
    5501          test ! -s conftest.err 
    5502        } && test -s conftest.$ac_objext; then 
    5503   ac_header_compiler=yes 
    5504 else 
    5505   echo "$as_me: failed program was:" >&5 
    5506 sed 's/^/| /' conftest.$ac_ext >&5 
    5507  
    5508         ac_header_compiler=no 
    5509 fi 
    5510  
    5511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5512 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5513 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5514  
    5515 # Is the header present? 
    5516 { echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5517 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
    5518 cat >conftest.$ac_ext <<_ACEOF 
    5519 /* confdefs.h.  */ 
    5520 _ACEOF 
    5521 cat confdefs.h >>conftest.$ac_ext 
    5522 cat >>conftest.$ac_ext <<_ACEOF 
    5523 /* end confdefs.h.  */ 
    5524 #include <errno.h> 
    5525 _ACEOF 
    5526 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5527 case "(($ac_try" in 
    5528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5529   *) ac_try_echo=$ac_try;; 
    5530 esac 
    5531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5532   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5533   ac_status=$? 
    5534   grep -v '^ *+' conftest.er1 >conftest.err 
    5535   rm -f conftest.er1 
    5536   cat conftest.err >&5 
    5537   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5538   (exit $ac_status); } >/dev/null && { 
    5539          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5540          test ! -s conftest.err 
    5541        }; then 
    5542   ac_header_preproc=yes 
    5543 else 
    5544   echo "$as_me: failed program was:" >&5 
    5545 sed 's/^/| /' conftest.$ac_ext >&5 
    5546  
    5547   ac_header_preproc=no 
    5548 fi 
    5549  
    5550 rm -f conftest.err conftest.$ac_ext 
    5551 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5552 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5553  
    5554 # So?  What about this header? 
    5555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5556   yes:no: ) 
    5557     { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5558 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5559     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5560 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5561     ac_header_preproc=yes 
    5562     ;; 
    5563   no:yes:* ) 
    5564     { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5565 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5566     { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5567 echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5568     { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5569 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5570     { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5571 echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5572     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5573 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5574     { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5575 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5576  
    5577     ;; 
    5578 esac 
    5579 { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5580 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5581 if test "${ac_cv_header_errno_h+set}" = set; then 
    5582   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5583 else 
    5584   ac_cv_header_errno_h=$ac_header_preproc 
    5585 fi 
    5586 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5587 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5588  
    5589 fi 
    5590 if test $ac_cv_header_errno_h = yes; then 
    5591   cat >>confdefs.h <<\_ACEOF 
    5592 #define PJ_HAS_ERRNO_H 1 
    5593 _ACEOF 
     4701        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4702if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4703  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    55944704 
    55954705fi 
     
    55994709esac 
    56004710 
    5601 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5602   { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5603 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5604 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5605   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5606 fi 
    5607 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5608 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5609 else 
    5610   # Is the header compilable? 
    5611 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5612 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
    5613 cat >conftest.$ac_ext <<_ACEOF 
    5614 /* confdefs.h.  */ 
    5615 _ACEOF 
    5616 cat confdefs.h >>conftest.$ac_ext 
    5617 cat >>conftest.$ac_ext <<_ACEOF 
    5618 /* end confdefs.h.  */ 
    5619 $ac_includes_default 
    5620 #include <fcntl.h> 
    5621 _ACEOF 
    5622 rm -f conftest.$ac_objext 
    5623 if { (ac_try="$ac_compile" 
    5624 case "(($ac_try" in 
    5625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5626   *) ac_try_echo=$ac_try;; 
    5627 esac 
    5628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5629   (eval "$ac_compile") 2>conftest.er1 
    5630   ac_status=$? 
    5631   grep -v '^ *+' conftest.er1 >conftest.err 
    5632   rm -f conftest.er1 
    5633   cat conftest.err >&5 
    5634   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5635   (exit $ac_status); } && { 
    5636          test -z "$ac_c_werror_flag" || 
    5637          test ! -s conftest.err 
    5638        } && test -s conftest.$ac_objext; then 
    5639   ac_header_compiler=yes 
    5640 else 
    5641   echo "$as_me: failed program was:" >&5 
    5642 sed 's/^/| /' conftest.$ac_ext >&5 
    5643  
    5644         ac_header_compiler=no 
    5645 fi 
    5646  
    5647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5648 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5649 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5650  
    5651 # Is the header present? 
    5652 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5653 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
    5654 cat >conftest.$ac_ext <<_ACEOF 
    5655 /* confdefs.h.  */ 
    5656 _ACEOF 
    5657 cat confdefs.h >>conftest.$ac_ext 
    5658 cat >>conftest.$ac_ext <<_ACEOF 
    5659 /* end confdefs.h.  */ 
    5660 #include <fcntl.h> 
    5661 _ACEOF 
    5662 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5663 case "(($ac_try" in 
    5664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5665   *) ac_try_echo=$ac_try;; 
    5666 esac 
    5667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5668   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5669   ac_status=$? 
    5670   grep -v '^ *+' conftest.er1 >conftest.err 
    5671   rm -f conftest.er1 
    5672   cat conftest.err >&5 
    5673   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5674   (exit $ac_status); } >/dev/null && { 
    5675          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5676          test ! -s conftest.err 
    5677        }; then 
    5678   ac_header_preproc=yes 
    5679 else 
    5680   echo "$as_me: failed program was:" >&5 
    5681 sed 's/^/| /' conftest.$ac_ext >&5 
    5682  
    5683   ac_header_preproc=no 
    5684 fi 
    5685  
    5686 rm -f conftest.err conftest.$ac_ext 
    5687 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5688 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5689  
    5690 # So?  What about this header? 
    5691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5692   yes:no: ) 
    5693     { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5694 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5695     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5696 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5697     ac_header_preproc=yes 
    5698     ;; 
    5699   no:yes:* ) 
    5700     { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5701 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5702     { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5703 echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5704     { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5705 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5706     { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5707 echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5708     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5709 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5710     { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5711 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5712  
    5713     ;; 
    5714 esac 
    5715 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5716 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5717 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5718   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5719 else 
    5720   ac_cv_header_fcntl_h=$ac_header_preproc 
    5721 fi 
    5722 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5723 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5724  
    5725 fi 
    5726 if test $ac_cv_header_fcntl_h = yes; then 
    5727   cat >>confdefs.h <<\_ACEOF 
    5728 #define PJ_HAS_FCNTL_H 1 
    5729 _ACEOF 
    5730  
    5731 fi 
    5732  
    5733  
    5734 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5735   { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5736 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5737 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5738   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5739 fi 
    5740 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5741 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5742 else 
    5743   # Is the header compilable? 
    5744 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    5745 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
    5746 cat >conftest.$ac_ext <<_ACEOF 
    5747 /* confdefs.h.  */ 
    5748 _ACEOF 
    5749 cat confdefs.h >>conftest.$ac_ext 
    5750 cat >>conftest.$ac_ext <<_ACEOF 
    5751 /* end confdefs.h.  */ 
    5752 $ac_includes_default 
    5753 #include <linux/socket.h> 
    5754 _ACEOF 
    5755 rm -f conftest.$ac_objext 
    5756 if { (ac_try="$ac_compile" 
    5757 case "(($ac_try" in 
    5758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5759   *) ac_try_echo=$ac_try;; 
    5760 esac 
    5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5762   (eval "$ac_compile") 2>conftest.er1 
    5763   ac_status=$? 
    5764   grep -v '^ *+' conftest.er1 >conftest.err 
    5765   rm -f conftest.er1 
    5766   cat conftest.err >&5 
    5767   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5768   (exit $ac_status); } && { 
    5769          test -z "$ac_c_werror_flag" || 
    5770          test ! -s conftest.err 
    5771        } && test -s conftest.$ac_objext; then 
    5772   ac_header_compiler=yes 
    5773 else 
    5774   echo "$as_me: failed program was:" >&5 
    5775 sed 's/^/| /' conftest.$ac_ext >&5 
    5776  
    5777         ac_header_compiler=no 
    5778 fi 
    5779  
    5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5781 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5782 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5783  
    5784 # Is the header present? 
    5785 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    5786 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
    5787 cat >conftest.$ac_ext <<_ACEOF 
    5788 /* confdefs.h.  */ 
    5789 _ACEOF 
    5790 cat confdefs.h >>conftest.$ac_ext 
    5791 cat >>conftest.$ac_ext <<_ACEOF 
    5792 /* end confdefs.h.  */ 
    5793 #include <linux/socket.h> 
    5794 _ACEOF 
    5795 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5796 case "(($ac_try" in 
    5797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5798   *) ac_try_echo=$ac_try;; 
    5799 esac 
    5800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5801   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5802   ac_status=$? 
    5803   grep -v '^ *+' conftest.er1 >conftest.err 
    5804   rm -f conftest.er1 
    5805   cat conftest.err >&5 
    5806   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5807   (exit $ac_status); } >/dev/null && { 
    5808          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5809          test ! -s conftest.err 
    5810        }; then 
    5811   ac_header_preproc=yes 
    5812 else 
    5813   echo "$as_me: failed program was:" >&5 
    5814 sed 's/^/| /' conftest.$ac_ext >&5 
    5815  
    5816   ac_header_preproc=no 
    5817 fi 
    5818  
    5819 rm -f conftest.err conftest.$ac_ext 
    5820 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5821 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5822  
    5823 # So?  What about this header? 
    5824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5825   yes:no: ) 
    5826     { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5827 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5828     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    5829 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    5830     ac_header_preproc=yes 
    5831     ;; 
    5832   no:yes:* ) 
    5833     { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    5834 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    5835     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    5836 echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    5837     { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    5838 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    5839     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5840 echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5841     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    5842 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    5843     { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    5844 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    5845  
    5846     ;; 
    5847 esac 
    5848 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5849 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5850 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5851   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5852 else 
    5853   ac_cv_header_linux_socket_h=$ac_header_preproc 
    5854 fi 
    5855 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5856 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5857  
    5858 fi 
    5859 if test $ac_cv_header_linux_socket_h = yes; then 
    5860   cat >>confdefs.h <<\_ACEOF 
    5861 #define PJ_HAS_LINUX_SOCKET_H 1 
    5862 _ACEOF 
    5863  
    5864 fi 
    5865  
    5866  
    5867 if test "${ac_cv_header_limits_h+set}" = set; then 
    5868   { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5869 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5870 if test "${ac_cv_header_limits_h+set}" = set; then 
    5871   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5872 fi 
    5873 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    5874 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    5875 else 
    5876   # Is the header compilable? 
    5877 { echo "$as_me:$LINENO: checking limits.h usability" >&5 
    5878 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 
    5879 cat >conftest.$ac_ext <<_ACEOF 
    5880 /* confdefs.h.  */ 
    5881 _ACEOF 
    5882 cat confdefs.h >>conftest.$ac_ext 
    5883 cat >>conftest.$ac_ext <<_ACEOF 
    5884 /* end confdefs.h.  */ 
    5885 $ac_includes_default 
    5886 #include <limits.h> 
    5887 _ACEOF 
    5888 rm -f conftest.$ac_objext 
    5889 if { (ac_try="$ac_compile" 
    5890 case "(($ac_try" in 
    5891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5892   *) ac_try_echo=$ac_try;; 
    5893 esac 
    5894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5895   (eval "$ac_compile") 2>conftest.er1 
    5896   ac_status=$? 
    5897   grep -v '^ *+' conftest.er1 >conftest.err 
    5898   rm -f conftest.er1 
    5899   cat conftest.err >&5 
    5900   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5901   (exit $ac_status); } && { 
    5902          test -z "$ac_c_werror_flag" || 
    5903          test ! -s conftest.err 
    5904        } && test -s conftest.$ac_objext; then 
    5905   ac_header_compiler=yes 
    5906 else 
    5907   echo "$as_me: failed program was:" >&5 
    5908 sed 's/^/| /' conftest.$ac_ext >&5 
    5909  
    5910         ac_header_compiler=no 
    5911 fi 
    5912  
    5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5914 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5915 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5916  
    5917 # Is the header present? 
    5918 { echo "$as_me:$LINENO: checking limits.h presence" >&5 
    5919 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 
    5920 cat >conftest.$ac_ext <<_ACEOF 
    5921 /* confdefs.h.  */ 
    5922 _ACEOF 
    5923 cat confdefs.h >>conftest.$ac_ext 
    5924 cat >>conftest.$ac_ext <<_ACEOF 
    5925 /* end confdefs.h.  */ 
    5926 #include <limits.h> 
    5927 _ACEOF 
    5928 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5929 case "(($ac_try" in 
    5930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5931   *) ac_try_echo=$ac_try;; 
    5932 esac 
    5933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5934   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5935   ac_status=$? 
    5936   grep -v '^ *+' conftest.er1 >conftest.err 
    5937   rm -f conftest.er1 
    5938   cat conftest.err >&5 
    5939   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5940   (exit $ac_status); } >/dev/null && { 
    5941          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5942          test ! -s conftest.err 
    5943        }; then 
    5944   ac_header_preproc=yes 
    5945 else 
    5946   echo "$as_me: failed program was:" >&5 
    5947 sed 's/^/| /' conftest.$ac_ext >&5 
    5948  
    5949   ac_header_preproc=no 
    5950 fi 
    5951  
    5952 rm -f conftest.err conftest.$ac_ext 
    5953 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5954 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5955  
    5956 # So?  What about this header? 
    5957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5958   yes:no: ) 
    5959     { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5960 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5961     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 
    5962 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 
    5963     ac_header_preproc=yes 
    5964     ;; 
    5965   no:yes:* ) 
    5966     { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 
    5967 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 
    5968     { echo "$as_me:$LINENO: WARNING: limits.h:     check for missing prerequisite headers?" >&5 
    5969 echo "$as_me: WARNING: limits.h:     check for missing prerequisite headers?" >&2;} 
    5970     { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 
    5971 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 
    5972     { echo "$as_me:$LINENO: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5973 echo "$as_me: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5974     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 
    5975 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 
    5976     { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 
    5977 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 
    5978  
    5979     ;; 
    5980 esac 
    5981 { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5982 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5983 if test "${ac_cv_header_limits_h+set}" = set; then 
    5984   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5985 else 
    5986   ac_cv_header_limits_h=$ac_header_preproc 
    5987 fi 
    5988 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    5989 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    5990  
    5991 fi 
    5992 if test $ac_cv_header_limits_h = yes; then 
    5993   cat >>confdefs.h <<\_ACEOF 
    5994 #define PJ_HAS_LIMITS_H 1 
    5995 _ACEOF 
    5996  
    5997 fi 
    5998  
    5999  
    6000 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6001   { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6002 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6003 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6004   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6005 fi 
    6006 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6007 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6008 else 
    6009   # Is the header compilable? 
    6010 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    6011 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
    6012 cat >conftest.$ac_ext <<_ACEOF 
    6013 /* confdefs.h.  */ 
    6014 _ACEOF 
    6015 cat confdefs.h >>conftest.$ac_ext 
    6016 cat >>conftest.$ac_ext <<_ACEOF 
    6017 /* end confdefs.h.  */ 
    6018 $ac_includes_default 
    6019 #include <malloc.h> 
    6020 _ACEOF 
    6021 rm -f conftest.$ac_objext 
    6022 if { (ac_try="$ac_compile" 
    6023 case "(($ac_try" in 
    6024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6025   *) ac_try_echo=$ac_try;; 
    6026 esac 
    6027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6028   (eval "$ac_compile") 2>conftest.er1 
    6029   ac_status=$? 
    6030   grep -v '^ *+' conftest.er1 >conftest.err 
    6031   rm -f conftest.er1 
    6032   cat conftest.err >&5 
    6033   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6034   (exit $ac_status); } && { 
    6035          test -z "$ac_c_werror_flag" || 
    6036          test ! -s conftest.err 
    6037        } && test -s conftest.$ac_objext; then 
    6038   ac_header_compiler=yes 
    6039 else 
    6040   echo "$as_me: failed program was:" >&5 
    6041 sed 's/^/| /' conftest.$ac_ext >&5 
    6042  
    6043         ac_header_compiler=no 
    6044 fi 
    6045  
    6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6047 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6048 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6049  
    6050 # Is the header present? 
    6051 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    6052 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
    6053 cat >conftest.$ac_ext <<_ACEOF 
    6054 /* confdefs.h.  */ 
    6055 _ACEOF 
    6056 cat confdefs.h >>conftest.$ac_ext 
    6057 cat >>conftest.$ac_ext <<_ACEOF 
    6058 /* end confdefs.h.  */ 
    6059 #include <malloc.h> 
    6060 _ACEOF 
    6061 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6062 case "(($ac_try" in 
    6063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6064   *) ac_try_echo=$ac_try;; 
    6065 esac 
    6066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6067   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6068   ac_status=$? 
    6069   grep -v '^ *+' conftest.er1 >conftest.err 
    6070   rm -f conftest.er1 
    6071   cat conftest.err >&5 
    6072   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6073   (exit $ac_status); } >/dev/null && { 
    6074          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6075          test ! -s conftest.err 
    6076        }; then 
    6077   ac_header_preproc=yes 
    6078 else 
    6079   echo "$as_me: failed program was:" >&5 
    6080 sed 's/^/| /' conftest.$ac_ext >&5 
    6081  
    6082   ac_header_preproc=no 
    6083 fi 
    6084  
    6085 rm -f conftest.err conftest.$ac_ext 
    6086 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6087 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6088  
    6089 # So?  What about this header? 
    6090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6091   yes:no: ) 
    6092     { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6093 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6094     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    6095 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    6096     ac_header_preproc=yes 
    6097     ;; 
    6098   no:yes:* ) 
    6099     { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    6100 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    6101     { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    6102 echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    6103     { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    6104 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    6105     { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6106 echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6107     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    6108 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    6109     { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    6110 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    6111  
    6112     ;; 
    6113 esac 
    6114 { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6115 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6116 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6117   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6118 else 
    6119   ac_cv_header_malloc_h=$ac_header_preproc 
    6120 fi 
    6121 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6122 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6123  
    6124 fi 
    6125 if test $ac_cv_header_malloc_h = yes; then 
    6126   cat >>confdefs.h <<\_ACEOF 
    6127 #define PJ_HAS_MALLOC_H 1 
    6128 _ACEOF 
    6129  
    6130 fi 
    6131  
    6132  
    6133 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6134   { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6135 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6136 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6137   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6138 fi 
    6139 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6140 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6141 else 
    6142   # Is the header compilable? 
    6143 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6144 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
    6145 cat >conftest.$ac_ext <<_ACEOF 
    6146 /* confdefs.h.  */ 
    6147 _ACEOF 
    6148 cat confdefs.h >>conftest.$ac_ext 
    6149 cat >>conftest.$ac_ext <<_ACEOF 
    6150 /* end confdefs.h.  */ 
    6151 $ac_includes_default 
    6152 #include <netdb.h> 
    6153 _ACEOF 
    6154 rm -f conftest.$ac_objext 
    6155 if { (ac_try="$ac_compile" 
    6156 case "(($ac_try" in 
    6157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6158   *) ac_try_echo=$ac_try;; 
    6159 esac 
    6160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6161   (eval "$ac_compile") 2>conftest.er1 
    6162   ac_status=$? 
    6163   grep -v '^ *+' conftest.er1 >conftest.err 
    6164   rm -f conftest.er1 
    6165   cat conftest.err >&5 
    6166   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6167   (exit $ac_status); } && { 
    6168          test -z "$ac_c_werror_flag" || 
    6169          test ! -s conftest.err 
    6170        } && test -s conftest.$ac_objext; then 
    6171   ac_header_compiler=yes 
    6172 else 
    6173   echo "$as_me: failed program was:" >&5 
    6174 sed 's/^/| /' conftest.$ac_ext >&5 
    6175  
    6176         ac_header_compiler=no 
    6177 fi 
    6178  
    6179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6180 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6181 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6182  
    6183 # Is the header present? 
    6184 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6185 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
    6186 cat >conftest.$ac_ext <<_ACEOF 
    6187 /* confdefs.h.  */ 
    6188 _ACEOF 
    6189 cat confdefs.h >>conftest.$ac_ext 
    6190 cat >>conftest.$ac_ext <<_ACEOF 
    6191 /* end confdefs.h.  */ 
    6192 #include <netdb.h> 
    6193 _ACEOF 
    6194 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6195 case "(($ac_try" in 
    6196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6197   *) ac_try_echo=$ac_try;; 
    6198 esac 
    6199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6200   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6201   ac_status=$? 
    6202   grep -v '^ *+' conftest.er1 >conftest.err 
    6203   rm -f conftest.er1 
    6204   cat conftest.err >&5 
    6205   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6206   (exit $ac_status); } >/dev/null && { 
    6207          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6208          test ! -s conftest.err 
    6209        }; then 
    6210   ac_header_preproc=yes 
    6211 else 
    6212   echo "$as_me: failed program was:" >&5 
    6213 sed 's/^/| /' conftest.$ac_ext >&5 
    6214  
    6215   ac_header_preproc=no 
    6216 fi 
    6217  
    6218 rm -f conftest.err conftest.$ac_ext 
    6219 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6220 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6221  
    6222 # So?  What about this header? 
    6223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6224   yes:no: ) 
    6225     { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6226 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6227     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6228 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6229     ac_header_preproc=yes 
    6230     ;; 
    6231   no:yes:* ) 
    6232     { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6233 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6234     { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6235 echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6236     { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6237 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6238     { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6239 echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6240     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6241 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6242     { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6243 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6244  
    6245     ;; 
    6246 esac 
    6247 { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6248 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6249 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6250   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6251 else 
    6252   ac_cv_header_netdb_h=$ac_header_preproc 
    6253 fi 
    6254 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6255 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6256  
    6257 fi 
    6258 if test $ac_cv_header_netdb_h = yes; then 
    6259   cat >>confdefs.h <<\_ACEOF 
    6260 #define PJ_HAS_NETDB_H 1 
    6261 _ACEOF 
    6262  
    6263 fi 
    6264  
    6265  
    6266 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6267   { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6268 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6269 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6270   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6271 fi 
    6272 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6273 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6274 else 
    6275   # Is the header compilable? 
    6276 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6277 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
    6278 cat >conftest.$ac_ext <<_ACEOF 
    6279 /* confdefs.h.  */ 
    6280 _ACEOF 
    6281 cat confdefs.h >>conftest.$ac_ext 
    6282 cat >>conftest.$ac_ext <<_ACEOF 
    6283 /* end confdefs.h.  */ 
    6284 $ac_includes_default 
    6285 #include <netinet/in_systm.h> 
    6286 _ACEOF 
    6287 rm -f conftest.$ac_objext 
    6288 if { (ac_try="$ac_compile" 
    6289 case "(($ac_try" in 
    6290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6291   *) ac_try_echo=$ac_try;; 
    6292 esac 
    6293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6294   (eval "$ac_compile") 2>conftest.er1 
    6295   ac_status=$? 
    6296   grep -v '^ *+' conftest.er1 >conftest.err 
    6297   rm -f conftest.er1 
    6298   cat conftest.err >&5 
    6299   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6300   (exit $ac_status); } && { 
    6301          test -z "$ac_c_werror_flag" || 
    6302          test ! -s conftest.err 
    6303        } && test -s conftest.$ac_objext; then 
    6304   ac_header_compiler=yes 
    6305 else 
    6306   echo "$as_me: failed program was:" >&5 
    6307 sed 's/^/| /' conftest.$ac_ext >&5 
    6308  
    6309         ac_header_compiler=no 
    6310 fi 
    6311  
    6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6313 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6314 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6315  
    6316 # Is the header present? 
    6317 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6318 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
    6319 cat >conftest.$ac_ext <<_ACEOF 
    6320 /* confdefs.h.  */ 
    6321 _ACEOF 
    6322 cat confdefs.h >>conftest.$ac_ext 
    6323 cat >>conftest.$ac_ext <<_ACEOF 
    6324 /* end confdefs.h.  */ 
    6325 #include <netinet/in_systm.h> 
    6326 _ACEOF 
    6327 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6328 case "(($ac_try" in 
    6329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6330   *) ac_try_echo=$ac_try;; 
    6331 esac 
    6332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6333   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6334   ac_status=$? 
    6335   grep -v '^ *+' conftest.er1 >conftest.err 
    6336   rm -f conftest.er1 
    6337   cat conftest.err >&5 
    6338   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6339   (exit $ac_status); } >/dev/null && { 
    6340          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6341          test ! -s conftest.err 
    6342        }; then 
    6343   ac_header_preproc=yes 
    6344 else 
    6345   echo "$as_me: failed program was:" >&5 
    6346 sed 's/^/| /' conftest.$ac_ext >&5 
    6347  
    6348   ac_header_preproc=no 
    6349 fi 
    6350  
    6351 rm -f conftest.err conftest.$ac_ext 
    6352 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6353 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6354  
    6355 # So?  What about this header? 
    6356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6357   yes:no: ) 
    6358     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6359 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6360     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6361 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6362     ac_header_preproc=yes 
    6363     ;; 
    6364   no:yes:* ) 
    6365     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6366 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6367     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6368 echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6369     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6370 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6371     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6372 echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6373     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6374 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6375     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6376 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6377  
    6378     ;; 
    6379 esac 
    6380 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6381 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6382 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6383   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6384 else 
    6385   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6386 fi 
    6387 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6388 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6389  
    6390 fi 
    6391 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6392   cat >>confdefs.h <<\_ACEOF 
    6393 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6394 _ACEOF 
    6395  
    6396 fi 
    6397  
    6398  
    6399 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6400   { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6401 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6402 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6403   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6404 fi 
    6405 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6406 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6407 else 
    6408   # Is the header compilable? 
    6409 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6410 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
    6411 cat >conftest.$ac_ext <<_ACEOF 
    6412 /* confdefs.h.  */ 
    6413 _ACEOF 
    6414 cat confdefs.h >>conftest.$ac_ext 
    6415 cat >>conftest.$ac_ext <<_ACEOF 
    6416 /* end confdefs.h.  */ 
    6417 $ac_includes_default 
    6418 #include <netinet/in.h> 
    6419 _ACEOF 
    6420 rm -f conftest.$ac_objext 
    6421 if { (ac_try="$ac_compile" 
    6422 case "(($ac_try" in 
    6423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6424   *) ac_try_echo=$ac_try;; 
    6425 esac 
    6426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6427   (eval "$ac_compile") 2>conftest.er1 
    6428   ac_status=$? 
    6429   grep -v '^ *+' conftest.er1 >conftest.err 
    6430   rm -f conftest.er1 
    6431   cat conftest.err >&5 
    6432   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6433   (exit $ac_status); } && { 
    6434          test -z "$ac_c_werror_flag" || 
    6435          test ! -s conftest.err 
    6436        } && test -s conftest.$ac_objext; then 
    6437   ac_header_compiler=yes 
    6438 else 
    6439   echo "$as_me: failed program was:" >&5 
    6440 sed 's/^/| /' conftest.$ac_ext >&5 
    6441  
    6442         ac_header_compiler=no 
    6443 fi 
    6444  
    6445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6446 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6447 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6448  
    6449 # Is the header present? 
    6450 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6451 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
    6452 cat >conftest.$ac_ext <<_ACEOF 
    6453 /* confdefs.h.  */ 
    6454 _ACEOF 
    6455 cat confdefs.h >>conftest.$ac_ext 
    6456 cat >>conftest.$ac_ext <<_ACEOF 
    6457 /* end confdefs.h.  */ 
    6458 #include <netinet/in.h> 
    6459 _ACEOF 
    6460 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6461 case "(($ac_try" in 
    6462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6463   *) ac_try_echo=$ac_try;; 
    6464 esac 
    6465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6466   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6467   ac_status=$? 
    6468   grep -v '^ *+' conftest.er1 >conftest.err 
    6469   rm -f conftest.er1 
    6470   cat conftest.err >&5 
    6471   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6472   (exit $ac_status); } >/dev/null && { 
    6473          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6474          test ! -s conftest.err 
    6475        }; then 
    6476   ac_header_preproc=yes 
    6477 else 
    6478   echo "$as_me: failed program was:" >&5 
    6479 sed 's/^/| /' conftest.$ac_ext >&5 
    6480  
    6481   ac_header_preproc=no 
    6482 fi 
    6483  
    6484 rm -f conftest.err conftest.$ac_ext 
    6485 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6486 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6487  
    6488 # So?  What about this header? 
    6489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6490   yes:no: ) 
    6491     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6492 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6493     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    6494 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    6495     ac_header_preproc=yes 
    6496     ;; 
    6497   no:yes:* ) 
    6498     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    6499 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    6500     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    6501 echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    6502     { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    6503 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    6504     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6505 echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6506     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    6507 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    6508     { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    6509 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    6510  
    6511     ;; 
    6512 esac 
    6513 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6514 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6515 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6516   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6517 else 
    6518   ac_cv_header_netinet_in_h=$ac_header_preproc 
    6519 fi 
    6520 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6521 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6522  
    6523 fi 
    6524 if test $ac_cv_header_netinet_in_h = yes; then 
    6525   cat >>confdefs.h <<\_ACEOF 
    6526 #define PJ_HAS_NETINET_IN_H 1 
    6527 _ACEOF 
    6528  
    6529 fi 
    6530  
    6531  
    6532 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
    6533 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
    6534 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
    6535   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6536 else 
    6537   cat >conftest.$ac_ext <<_ACEOF 
    6538 /* confdefs.h.  */ 
    6539 _ACEOF 
    6540 cat confdefs.h >>conftest.$ac_ext 
    6541 cat >>conftest.$ac_ext <<_ACEOF 
    6542 /* end confdefs.h.  */ 
    6543 #if PJ_HAS_SYS_TYPES_H 
     4711ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
     4712if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4713  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
     4714 
     4715fi 
     4716 
     4717 
     4718ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
     4719if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4720  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
     4721 
     4722fi 
     4723 
     4724 
     4725ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 
     4726if test "x$ac_cv_header_limits_h" = x""yes; then : 
     4727  $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 
     4728 
     4729fi 
     4730 
     4731 
     4732ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
     4733if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4734  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
     4735 
     4736fi 
     4737 
     4738 
     4739ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
     4740if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4741  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
     4742 
     4743fi 
     4744 
     4745 
     4746ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
     4747if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4748  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
     4749 
     4750fi 
     4751 
     4752 
     4753ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
     4754if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4755  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
     4756 
     4757fi 
     4758 
     4759 
     4760ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
    65444761                  #     include <sys/types.h> 
    65454762                  #endif 
     
    65514768                  #endif 
    65524769 
    6553  
    6554 #include <netinet/ip.h> 
    6555 _ACEOF 
    6556 rm -f conftest.$ac_objext 
    6557 if { (ac_try="$ac_compile" 
    6558 case "(($ac_try" in 
    6559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6560   *) ac_try_echo=$ac_try;; 
    6561 esac 
    6562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6563   (eval "$ac_compile") 2>conftest.er1 
    6564   ac_status=$? 
    6565   grep -v '^ *+' conftest.er1 >conftest.err 
    6566   rm -f conftest.er1 
    6567   cat conftest.err >&5 
    6568   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6569   (exit $ac_status); } && { 
    6570          test -z "$ac_c_werror_flag" || 
    6571          test ! -s conftest.err 
    6572        } && test -s conftest.$ac_objext; then 
    6573   ac_cv_header_netinet_ip_h=yes 
    6574 else 
    6575   echo "$as_me: failed program was:" >&5 
    6576 sed 's/^/| /' conftest.$ac_ext >&5 
    6577  
    6578         ac_cv_header_netinet_ip_h=no 
    6579 fi 
    6580  
    6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6582 fi 
    6583 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
    6584 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
    6585 if test $ac_cv_header_netinet_ip_h = yes; then 
    6586   cat >>confdefs.h <<\_ACEOF 
    6587 #define PJ_HAS_NETINET_IP_H 1 
    6588 _ACEOF 
    6589  
    6590 fi 
    6591  
    6592  
    6593 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6594   { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6595 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6596 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6597   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6598 fi 
    6599 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6600 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6601 else 
    6602   # Is the header compilable? 
    6603 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
    6604 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
    6605 cat >conftest.$ac_ext <<_ACEOF 
    6606 /* confdefs.h.  */ 
    6607 _ACEOF 
    6608 cat confdefs.h >>conftest.$ac_ext 
    6609 cat >>conftest.$ac_ext <<_ACEOF 
    6610 /* end confdefs.h.  */ 
    6611 $ac_includes_default 
    6612 #include <netinet/tcp.h> 
    6613 _ACEOF 
    6614 rm -f conftest.$ac_objext 
    6615 if { (ac_try="$ac_compile" 
    6616 case "(($ac_try" in 
    6617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6618   *) ac_try_echo=$ac_try;; 
    6619 esac 
    6620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6621   (eval "$ac_compile") 2>conftest.er1 
    6622   ac_status=$? 
    6623   grep -v '^ *+' conftest.er1 >conftest.err 
    6624   rm -f conftest.er1 
    6625   cat conftest.err >&5 
    6626   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6627   (exit $ac_status); } && { 
    6628          test -z "$ac_c_werror_flag" || 
    6629          test ! -s conftest.err 
    6630        } && test -s conftest.$ac_objext; then 
    6631   ac_header_compiler=yes 
    6632 else 
    6633   echo "$as_me: failed program was:" >&5 
    6634 sed 's/^/| /' conftest.$ac_ext >&5 
    6635  
    6636         ac_header_compiler=no 
    6637 fi 
    6638  
    6639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6640 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6641 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6642  
    6643 # Is the header present? 
    6644 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
    6645 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
    6646 cat >conftest.$ac_ext <<_ACEOF 
    6647 /* confdefs.h.  */ 
    6648 _ACEOF 
    6649 cat confdefs.h >>conftest.$ac_ext 
    6650 cat >>conftest.$ac_ext <<_ACEOF 
    6651 /* end confdefs.h.  */ 
    6652 #include <netinet/tcp.h> 
    6653 _ACEOF 
    6654 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6655 case "(($ac_try" in 
    6656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6657   *) ac_try_echo=$ac_try;; 
    6658 esac 
    6659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6660   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6661   ac_status=$? 
    6662   grep -v '^ *+' conftest.er1 >conftest.err 
    6663   rm -f conftest.er1 
    6664   cat conftest.err >&5 
    6665   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6666   (exit $ac_status); } >/dev/null && { 
    6667          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6668          test ! -s conftest.err 
    6669        }; then 
    6670   ac_header_preproc=yes 
    6671 else 
    6672   echo "$as_me: failed program was:" >&5 
    6673 sed 's/^/| /' conftest.$ac_ext >&5 
    6674  
    6675   ac_header_preproc=no 
    6676 fi 
    6677  
    6678 rm -f conftest.err conftest.$ac_ext 
    6679 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6680 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6681  
    6682 # So?  What about this header? 
    6683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6684   yes:no: ) 
    6685     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6686 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6687     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
    6688 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
    6689     ac_header_preproc=yes 
    6690     ;; 
    6691   no:yes:* ) 
    6692     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
    6693 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
    6694     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
    6695 echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
    6696     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
    6697 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
    6698     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6699 echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6700     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
    6701 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
    6702     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
    6703 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
    6704  
    6705     ;; 
    6706 esac 
    6707 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6708 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6709 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6710   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6711 else 
    6712   ac_cv_header_netinet_tcp_h=$ac_header_preproc 
    6713 fi 
    6714 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6715 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6716  
    6717 fi 
    6718 if test $ac_cv_header_netinet_tcp_h = yes; then 
    6719   cat >>confdefs.h <<\_ACEOF 
    6720 #define PJ_HAS_NETINET_TCP_H 1 
    6721 _ACEOF 
    6722  
    6723 fi 
    6724  
    6725  
    6726 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6727   { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6728 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6729 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6730   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6731 fi 
    6732 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6733 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6734 else 
    6735   # Is the header compilable? 
    6736 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
    6737 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
    6738 cat >conftest.$ac_ext <<_ACEOF 
    6739 /* confdefs.h.  */ 
    6740 _ACEOF 
    6741 cat confdefs.h >>conftest.$ac_ext 
    6742 cat >>conftest.$ac_ext <<_ACEOF 
    6743 /* end confdefs.h.  */ 
    6744 $ac_includes_default 
    6745 #include <ifaddrs.h> 
    6746 _ACEOF 
    6747 rm -f conftest.$ac_objext 
    6748 if { (ac_try="$ac_compile" 
    6749 case "(($ac_try" in 
    6750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6751   *) ac_try_echo=$ac_try;; 
    6752 esac 
    6753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6754   (eval "$ac_compile") 2>conftest.er1 
    6755   ac_status=$? 
    6756   grep -v '^ *+' conftest.er1 >conftest.err 
    6757   rm -f conftest.er1 
    6758   cat conftest.err >&5 
    6759   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6760   (exit $ac_status); } && { 
    6761          test -z "$ac_c_werror_flag" || 
    6762          test ! -s conftest.err 
    6763        } && test -s conftest.$ac_objext; then 
    6764   ac_header_compiler=yes 
    6765 else 
    6766   echo "$as_me: failed program was:" >&5 
    6767 sed 's/^/| /' conftest.$ac_ext >&5 
    6768  
    6769         ac_header_compiler=no 
    6770 fi 
    6771  
    6772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6773 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6774 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6775  
    6776 # Is the header present? 
    6777 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
    6778 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
    6779 cat >conftest.$ac_ext <<_ACEOF 
    6780 /* confdefs.h.  */ 
    6781 _ACEOF 
    6782 cat confdefs.h >>conftest.$ac_ext 
    6783 cat >>conftest.$ac_ext <<_ACEOF 
    6784 /* end confdefs.h.  */ 
    6785 #include <ifaddrs.h> 
    6786 _ACEOF 
    6787 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6788 case "(($ac_try" in 
    6789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6790   *) ac_try_echo=$ac_try;; 
    6791 esac 
    6792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6793   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6794   ac_status=$? 
    6795   grep -v '^ *+' conftest.er1 >conftest.err 
    6796   rm -f conftest.er1 
    6797   cat conftest.err >&5 
    6798   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6799   (exit $ac_status); } >/dev/null && { 
    6800          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6801          test ! -s conftest.err 
    6802        }; then 
    6803   ac_header_preproc=yes 
    6804 else 
    6805   echo "$as_me: failed program was:" >&5 
    6806 sed 's/^/| /' conftest.$ac_ext >&5 
    6807  
    6808   ac_header_preproc=no 
    6809 fi 
    6810  
    6811 rm -f conftest.err conftest.$ac_ext 
    6812 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6813 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6814  
    6815 # So?  What about this header? 
    6816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6817   yes:no: ) 
    6818     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6819 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6820     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
    6821 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
    6822     ac_header_preproc=yes 
    6823     ;; 
    6824   no:yes:* ) 
    6825     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
    6826 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
    6827     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
    6828 echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
    6829     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
    6830 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
    6831     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6832 echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6833     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
    6834 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
    6835     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
    6836 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
    6837  
    6838     ;; 
    6839 esac 
    6840 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6841 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6842 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6843   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6844 else 
    6845   ac_cv_header_ifaddrs_h=$ac_header_preproc 
    6846 fi 
    6847 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6848 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6849  
    6850 fi 
    6851 if test $ac_cv_header_ifaddrs_h = yes; then 
    6852   { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
    6853 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
    6854 if test "${ac_cv_func_getifaddrs+set}" = set; then 
    6855   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6856 else 
    6857   cat >conftest.$ac_ext <<_ACEOF 
    6858 /* confdefs.h.  */ 
    6859 _ACEOF 
    6860 cat confdefs.h >>conftest.$ac_ext 
    6861 cat >>conftest.$ac_ext <<_ACEOF 
    6862 /* end confdefs.h.  */ 
    6863 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
    6864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    6865 #define getifaddrs innocuous_getifaddrs 
    6866  
    6867 /* System header to define __stub macros and hopefully few prototypes, 
    6868     which can conflict with char getifaddrs (); below. 
    6869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6870     <limits.h> exists even on freestanding compilers.  */ 
    6871  
    6872 #ifdef __STDC__ 
    6873 # include <limits.h> 
    6874 #else 
    6875 # include <assert.h> 
    6876 #endif 
    6877  
    6878 #undef getifaddrs 
    6879  
    6880 /* Override any GCC internal prototype to avoid an error. 
    6881    Use char because int might match the return type of a GCC 
    6882    builtin and then its argument prototype would still apply.  */ 
    6883 #ifdef __cplusplus 
    6884 extern "C" 
    6885 #endif 
    6886 char getifaddrs (); 
    6887 /* The GNU C library defines this for functions which it implements 
    6888     to always fail with ENOSYS.  Some functions are actually named 
    6889     something starting with __ and the normal name is an alias.  */ 
    6890 #if defined __stub_getifaddrs || defined __stub___getifaddrs 
    6891 choke me 
    6892 #endif 
    6893  
    6894 int 
    6895 main () 
    6896 { 
    6897 return getifaddrs (); 
    6898   ; 
    6899   return 0; 
    6900 } 
    6901 _ACEOF 
    6902 rm -f conftest.$ac_objext conftest$ac_exeext 
    6903 if { (ac_try="$ac_link" 
    6904 case "(($ac_try" in 
    6905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6906   *) ac_try_echo=$ac_try;; 
    6907 esac 
    6908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6909   (eval "$ac_link") 2>conftest.er1 
    6910   ac_status=$? 
    6911   grep -v '^ *+' conftest.er1 >conftest.err 
    6912   rm -f conftest.er1 
    6913   cat conftest.err >&5 
    6914   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6915   (exit $ac_status); } && { 
    6916          test -z "$ac_c_werror_flag" || 
    6917          test ! -s conftest.err 
    6918        } && test -s conftest$ac_exeext && 
    6919        $as_test_x conftest$ac_exeext; then 
    6920   ac_cv_func_getifaddrs=yes 
    6921 else 
    6922   echo "$as_me: failed program was:" >&5 
    6923 sed 's/^/| /' conftest.$ac_ext >&5 
    6924  
    6925         ac_cv_func_getifaddrs=no 
    6926 fi 
    6927  
    6928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    6929       conftest$ac_exeext conftest.$ac_ext 
    6930 fi 
    6931 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
    6932 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
    6933 if test $ac_cv_func_getifaddrs = yes; then 
    6934   cat >>confdefs.h <<\_ACEOF 
    6935 #define PJ_HAS_IFADDRS_H 1 
    6936 _ACEOF 
    6937  
    6938 fi 
    6939  
    6940 fi 
    6941  
    6942  
    6943 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6944   { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    6945 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    6946 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6947   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6948 fi 
    6949 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    6950 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    6951 else 
    6952   # Is the header compilable? 
    6953 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
    6954 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
    6955 cat >conftest.$ac_ext <<_ACEOF 
    6956 /* confdefs.h.  */ 
    6957 _ACEOF 
    6958 cat confdefs.h >>conftest.$ac_ext 
    6959 cat >>conftest.$ac_ext <<_ACEOF 
    6960 /* end confdefs.h.  */ 
    6961 $ac_includes_default 
    6962 #include <semaphore.h> 
    6963 _ACEOF 
    6964 rm -f conftest.$ac_objext 
    6965 if { (ac_try="$ac_compile" 
    6966 case "(($ac_try" in 
    6967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6968   *) ac_try_echo=$ac_try;; 
    6969 esac 
    6970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6971   (eval "$ac_compile") 2>conftest.er1 
    6972   ac_status=$? 
    6973   grep -v '^ *+' conftest.er1 >conftest.err 
    6974   rm -f conftest.er1 
    6975   cat conftest.err >&5 
    6976   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6977   (exit $ac_status); } && { 
    6978          test -z "$ac_c_werror_flag" || 
    6979          test ! -s conftest.err 
    6980        } && test -s conftest.$ac_objext; then 
    6981   ac_header_compiler=yes 
    6982 else 
    6983   echo "$as_me: failed program was:" >&5 
    6984 sed 's/^/| /' conftest.$ac_ext >&5 
    6985  
    6986         ac_header_compiler=no 
    6987 fi 
    6988  
    6989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6990 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6991 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6992  
    6993 # Is the header present? 
    6994 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
    6995 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
    6996 cat >conftest.$ac_ext <<_ACEOF 
    6997 /* confdefs.h.  */ 
    6998 _ACEOF 
    6999 cat confdefs.h >>conftest.$ac_ext 
    7000 cat >>conftest.$ac_ext <<_ACEOF 
    7001 /* end confdefs.h.  */ 
    7002 #include <semaphore.h> 
    7003 _ACEOF 
    7004 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7005 case "(($ac_try" in 
    7006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7007   *) ac_try_echo=$ac_try;; 
    7008 esac 
    7009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7010   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7011   ac_status=$? 
    7012   grep -v '^ *+' conftest.er1 >conftest.err 
    7013   rm -f conftest.er1 
    7014   cat conftest.err >&5 
    7015   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7016   (exit $ac_status); } >/dev/null && { 
    7017          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7018          test ! -s conftest.err 
    7019        }; then 
    7020   ac_header_preproc=yes 
    7021 else 
    7022   echo "$as_me: failed program was:" >&5 
    7023 sed 's/^/| /' conftest.$ac_ext >&5 
    7024  
    7025   ac_header_preproc=no 
    7026 fi 
    7027  
    7028 rm -f conftest.err conftest.$ac_ext 
    7029 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7030 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7031  
    7032 # So?  What about this header? 
    7033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7034   yes:no: ) 
    7035     { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7036 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7037     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
    7038 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
    7039     ac_header_preproc=yes 
    7040     ;; 
    7041   no:yes:* ) 
    7042     { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
    7043 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
    7044     { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
    7045 echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
    7046     { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
    7047 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
    7048     { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7049 echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7050     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
    7051 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
    7052     { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
    7053 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
    7054  
    7055     ;; 
    7056 esac 
    7057 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    7058 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    7059 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7060   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7061 else 
    7062   ac_cv_header_semaphore_h=$ac_header_preproc 
    7063 fi 
    7064 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    7065 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    7066  
    7067 fi 
    7068 if test $ac_cv_header_semaphore_h = yes; then 
    7069   cat >>confdefs.h <<\_ACEOF 
    7070 #define PJ_HAS_SEMAPHORE_H 1 
    7071 _ACEOF 
    7072  
    7073 fi 
    7074  
    7075  
    7076 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7077   { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7078 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7079 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7080   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7081 fi 
    7082 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7083 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7084 else 
    7085   # Is the header compilable? 
    7086 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    7087 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
    7088 cat >conftest.$ac_ext <<_ACEOF 
    7089 /* confdefs.h.  */ 
    7090 _ACEOF 
    7091 cat confdefs.h >>conftest.$ac_ext 
    7092 cat >>conftest.$ac_ext <<_ACEOF 
    7093 /* end confdefs.h.  */ 
    7094 $ac_includes_default 
    7095 #include <setjmp.h> 
    7096 _ACEOF 
    7097 rm -f conftest.$ac_objext 
    7098 if { (ac_try="$ac_compile" 
    7099 case "(($ac_try" in 
    7100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7101   *) ac_try_echo=$ac_try;; 
    7102 esac 
    7103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7104   (eval "$ac_compile") 2>conftest.er1 
    7105   ac_status=$? 
    7106   grep -v '^ *+' conftest.er1 >conftest.err 
    7107   rm -f conftest.er1 
    7108   cat conftest.err >&5 
    7109   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7110   (exit $ac_status); } && { 
    7111          test -z "$ac_c_werror_flag" || 
    7112          test ! -s conftest.err 
    7113        } && test -s conftest.$ac_objext; then 
    7114   ac_header_compiler=yes 
    7115 else 
    7116   echo "$as_me: failed program was:" >&5 
    7117 sed 's/^/| /' conftest.$ac_ext >&5 
    7118  
    7119         ac_header_compiler=no 
    7120 fi 
    7121  
    7122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7123 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7124 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7125  
    7126 # Is the header present? 
    7127 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    7128 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
    7129 cat >conftest.$ac_ext <<_ACEOF 
    7130 /* confdefs.h.  */ 
    7131 _ACEOF 
    7132 cat confdefs.h >>conftest.$ac_ext 
    7133 cat >>conftest.$ac_ext <<_ACEOF 
    7134 /* end confdefs.h.  */ 
    7135 #include <setjmp.h> 
    7136 _ACEOF 
    7137 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7138 case "(($ac_try" in 
    7139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7140   *) ac_try_echo=$ac_try;; 
    7141 esac 
    7142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7143   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7144   ac_status=$? 
    7145   grep -v '^ *+' conftest.er1 >conftest.err 
    7146   rm -f conftest.er1 
    7147   cat conftest.err >&5 
    7148   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7149   (exit $ac_status); } >/dev/null && { 
    7150          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7151          test ! -s conftest.err 
    7152        }; then 
    7153   ac_header_preproc=yes 
    7154 else 
    7155   echo "$as_me: failed program was:" >&5 
    7156 sed 's/^/| /' conftest.$ac_ext >&5 
    7157  
    7158   ac_header_preproc=no 
    7159 fi 
    7160  
    7161 rm -f conftest.err conftest.$ac_ext 
    7162 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7163 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7164  
    7165 # So?  What about this header? 
    7166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7167   yes:no: ) 
    7168     { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7169 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7170     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    7171 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    7172     ac_header_preproc=yes 
    7173     ;; 
    7174   no:yes:* ) 
    7175     { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    7176 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    7177     { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    7178 echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    7179     { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    7180 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    7181     { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7182 echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7183     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    7184 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    7185     { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    7186 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    7187  
    7188     ;; 
    7189 esac 
    7190 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7191 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7192 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7193   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7194 else 
    7195   ac_cv_header_setjmp_h=$ac_header_preproc 
    7196 fi 
    7197 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7198 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7199  
    7200 fi 
    7201 if test $ac_cv_header_setjmp_h = yes; then 
    7202   cat >>confdefs.h <<\_ACEOF 
    7203 #define PJ_HAS_SETJMP_H 1 
    7204 _ACEOF 
    7205  
    7206 fi 
    7207  
    7208  
    7209 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7210   { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7211 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7212 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7213   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7214 fi 
    7215 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7216 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7217 else 
    7218   # Is the header compilable? 
    7219 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    7220 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
    7221 cat >conftest.$ac_ext <<_ACEOF 
    7222 /* confdefs.h.  */ 
    7223 _ACEOF 
    7224 cat confdefs.h >>conftest.$ac_ext 
    7225 cat >>conftest.$ac_ext <<_ACEOF 
    7226 /* end confdefs.h.  */ 
    7227 $ac_includes_default 
    7228 #include <stdarg.h> 
    7229 _ACEOF 
    7230 rm -f conftest.$ac_objext 
    7231 if { (ac_try="$ac_compile" 
    7232 case "(($ac_try" in 
    7233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7234   *) ac_try_echo=$ac_try;; 
    7235 esac 
    7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7237   (eval "$ac_compile") 2>conftest.er1 
    7238   ac_status=$? 
    7239   grep -v '^ *+' conftest.er1 >conftest.err 
    7240   rm -f conftest.er1 
    7241   cat conftest.err >&5 
    7242   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7243   (exit $ac_status); } && { 
    7244          test -z "$ac_c_werror_flag" || 
    7245          test ! -s conftest.err 
    7246        } && test -s conftest.$ac_objext; then 
    7247   ac_header_compiler=yes 
    7248 else 
    7249   echo "$as_me: failed program was:" >&5 
    7250 sed 's/^/| /' conftest.$ac_ext >&5 
    7251  
    7252         ac_header_compiler=no 
    7253 fi 
    7254  
    7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7256 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7257 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7258  
    7259 # Is the header present? 
    7260 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    7261 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
    7262 cat >conftest.$ac_ext <<_ACEOF 
    7263 /* confdefs.h.  */ 
    7264 _ACEOF 
    7265 cat confdefs.h >>conftest.$ac_ext 
    7266 cat >>conftest.$ac_ext <<_ACEOF 
    7267 /* end confdefs.h.  */ 
    7268 #include <stdarg.h> 
    7269 _ACEOF 
    7270 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7271 case "(($ac_try" in 
    7272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7273   *) ac_try_echo=$ac_try;; 
    7274 esac 
    7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7276   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7277   ac_status=$? 
    7278   grep -v '^ *+' conftest.er1 >conftest.err 
    7279   rm -f conftest.er1 
    7280   cat conftest.err >&5 
    7281   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7282   (exit $ac_status); } >/dev/null && { 
    7283          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7284          test ! -s conftest.err 
    7285        }; then 
    7286   ac_header_preproc=yes 
    7287 else 
    7288   echo "$as_me: failed program was:" >&5 
    7289 sed 's/^/| /' conftest.$ac_ext >&5 
    7290  
    7291   ac_header_preproc=no 
    7292 fi 
    7293  
    7294 rm -f conftest.err conftest.$ac_ext 
    7295 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7296 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7297  
    7298 # So?  What about this header? 
    7299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7300   yes:no: ) 
    7301     { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7302 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7303     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    7304 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    7305     ac_header_preproc=yes 
    7306     ;; 
    7307   no:yes:* ) 
    7308     { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    7309 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    7310     { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    7311 echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    7312     { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    7313 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    7314     { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7315 echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7316     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    7317 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    7318     { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    7319 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    7320  
    7321     ;; 
    7322 esac 
    7323 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7324 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7325 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7326   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7327 else 
    7328   ac_cv_header_stdarg_h=$ac_header_preproc 
    7329 fi 
    7330 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7331 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7332  
    7333 fi 
    7334 if test $ac_cv_header_stdarg_h = yes; then 
    7335   cat >>confdefs.h <<\_ACEOF 
    7336 #define PJ_HAS_STDARG_H 1 
    7337 _ACEOF 
    7338  
    7339 fi 
    7340  
    7341  
    7342 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7343   { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7344 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7345 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7346   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7347 fi 
    7348 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7349 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7350 else 
    7351   # Is the header compilable? 
    7352 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    7353 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
    7354 cat >conftest.$ac_ext <<_ACEOF 
    7355 /* confdefs.h.  */ 
    7356 _ACEOF 
    7357 cat confdefs.h >>conftest.$ac_ext 
    7358 cat >>conftest.$ac_ext <<_ACEOF 
    7359 /* end confdefs.h.  */ 
    7360 $ac_includes_default 
    7361 #include <stddef.h> 
    7362 _ACEOF 
    7363 rm -f conftest.$ac_objext 
    7364 if { (ac_try="$ac_compile" 
    7365 case "(($ac_try" in 
    7366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7367   *) ac_try_echo=$ac_try;; 
    7368 esac 
    7369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7370   (eval "$ac_compile") 2>conftest.er1 
    7371   ac_status=$? 
    7372   grep -v '^ *+' conftest.er1 >conftest.err 
    7373   rm -f conftest.er1 
    7374   cat conftest.err >&5 
    7375   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7376   (exit $ac_status); } && { 
    7377          test -z "$ac_c_werror_flag" || 
    7378          test ! -s conftest.err 
    7379        } && test -s conftest.$ac_objext; then 
    7380   ac_header_compiler=yes 
    7381 else 
    7382   echo "$as_me: failed program was:" >&5 
    7383 sed 's/^/| /' conftest.$ac_ext >&5 
    7384  
    7385         ac_header_compiler=no 
    7386 fi 
    7387  
    7388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7389 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7390 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7391  
    7392 # Is the header present? 
    7393 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    7394 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
    7395 cat >conftest.$ac_ext <<_ACEOF 
    7396 /* confdefs.h.  */ 
    7397 _ACEOF 
    7398 cat confdefs.h >>conftest.$ac_ext 
    7399 cat >>conftest.$ac_ext <<_ACEOF 
    7400 /* end confdefs.h.  */ 
    7401 #include <stddef.h> 
    7402 _ACEOF 
    7403 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7404 case "(($ac_try" in 
    7405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7406   *) ac_try_echo=$ac_try;; 
    7407 esac 
    7408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7409   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7410   ac_status=$? 
    7411   grep -v '^ *+' conftest.er1 >conftest.err 
    7412   rm -f conftest.er1 
    7413   cat conftest.err >&5 
    7414   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7415   (exit $ac_status); } >/dev/null && { 
    7416          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7417          test ! -s conftest.err 
    7418        }; then 
    7419   ac_header_preproc=yes 
    7420 else 
    7421   echo "$as_me: failed program was:" >&5 
    7422 sed 's/^/| /' conftest.$ac_ext >&5 
    7423  
    7424   ac_header_preproc=no 
    7425 fi 
    7426  
    7427 rm -f conftest.err conftest.$ac_ext 
    7428 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7429 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7430  
    7431 # So?  What about this header? 
    7432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7433   yes:no: ) 
    7434     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7435 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7436     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    7437 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    7438     ac_header_preproc=yes 
    7439     ;; 
    7440   no:yes:* ) 
    7441     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    7442 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    7443     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    7444 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    7445     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    7446 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    7447     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7448 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7449     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    7450 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    7451     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    7452 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    7453  
    7454     ;; 
    7455 esac 
    7456 { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7457 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7458 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7459   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7460 else 
    7461   ac_cv_header_stddef_h=$ac_header_preproc 
    7462 fi 
    7463 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7464 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7465  
    7466 fi 
    7467 if test $ac_cv_header_stddef_h = yes; then 
    7468   cat >>confdefs.h <<\_ACEOF 
    7469 #define PJ_HAS_STDDEF_H 1 
    7470 _ACEOF 
    7471  
    7472 fi 
    7473  
    7474  
    7475 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7476   { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7477 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7478 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7479   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7480 fi 
    7481 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7482 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7483 else 
    7484   # Is the header compilable? 
    7485 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    7486 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
    7487 cat >conftest.$ac_ext <<_ACEOF 
    7488 /* confdefs.h.  */ 
    7489 _ACEOF 
    7490 cat confdefs.h >>conftest.$ac_ext 
    7491 cat >>conftest.$ac_ext <<_ACEOF 
    7492 /* end confdefs.h.  */ 
    7493 $ac_includes_default 
    7494 #include <stdio.h> 
    7495 _ACEOF 
    7496 rm -f conftest.$ac_objext 
    7497 if { (ac_try="$ac_compile" 
    7498 case "(($ac_try" in 
    7499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7500   *) ac_try_echo=$ac_try;; 
    7501 esac 
    7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7503   (eval "$ac_compile") 2>conftest.er1 
    7504   ac_status=$? 
    7505   grep -v '^ *+' conftest.er1 >conftest.err 
    7506   rm -f conftest.er1 
    7507   cat conftest.err >&5 
    7508   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7509   (exit $ac_status); } && { 
    7510          test -z "$ac_c_werror_flag" || 
    7511          test ! -s conftest.err 
    7512        } && test -s conftest.$ac_objext; then 
    7513   ac_header_compiler=yes 
    7514 else 
    7515   echo "$as_me: failed program was:" >&5 
    7516 sed 's/^/| /' conftest.$ac_ext >&5 
    7517  
    7518         ac_header_compiler=no 
    7519 fi 
    7520  
    7521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7522 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7523 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7524  
    7525 # Is the header present? 
    7526 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    7527 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
    7528 cat >conftest.$ac_ext <<_ACEOF 
    7529 /* confdefs.h.  */ 
    7530 _ACEOF 
    7531 cat confdefs.h >>conftest.$ac_ext 
    7532 cat >>conftest.$ac_ext <<_ACEOF 
    7533 /* end confdefs.h.  */ 
    7534 #include <stdio.h> 
    7535 _ACEOF 
    7536 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7537 case "(($ac_try" in 
    7538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7539   *) ac_try_echo=$ac_try;; 
    7540 esac 
    7541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7542   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7543   ac_status=$? 
    7544   grep -v '^ *+' conftest.er1 >conftest.err 
    7545   rm -f conftest.er1 
    7546   cat conftest.err >&5 
    7547   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7548   (exit $ac_status); } >/dev/null && { 
    7549          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7550          test ! -s conftest.err 
    7551        }; then 
    7552   ac_header_preproc=yes 
    7553 else 
    7554   echo "$as_me: failed program was:" >&5 
    7555 sed 's/^/| /' conftest.$ac_ext >&5 
    7556  
    7557   ac_header_preproc=no 
    7558 fi 
    7559  
    7560 rm -f conftest.err conftest.$ac_ext 
    7561 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7562 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7563  
    7564 # So?  What about this header? 
    7565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7566   yes:no: ) 
    7567     { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7568 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7569     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    7570 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    7571     ac_header_preproc=yes 
    7572     ;; 
    7573   no:yes:* ) 
    7574     { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    7575 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    7576     { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    7577 echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    7578     { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    7579 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    7580     { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7581 echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7582     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    7583 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    7584     { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    7585 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    7586  
    7587     ;; 
    7588 esac 
    7589 { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7590 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7591 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7592   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7593 else 
    7594   ac_cv_header_stdio_h=$ac_header_preproc 
    7595 fi 
    7596 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7597 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7598  
    7599 fi 
    7600 if test $ac_cv_header_stdio_h = yes; then 
    7601   cat >>confdefs.h <<\_ACEOF 
    7602 #define PJ_HAS_STDIO_H 1 
    7603 _ACEOF 
    7604  
    7605 fi 
    7606  
    7607  
    7608 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7609   { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7610 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7611 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7612   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7613 fi 
    7614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7615 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7616 else 
    7617   # Is the header compilable? 
    7618 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 
    7619 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
    7620 cat >conftest.$ac_ext <<_ACEOF 
    7621 /* confdefs.h.  */ 
    7622 _ACEOF 
    7623 cat confdefs.h >>conftest.$ac_ext 
    7624 cat >>conftest.$ac_ext <<_ACEOF 
    7625 /* end confdefs.h.  */ 
    7626 $ac_includes_default 
    7627 #include <stdint.h> 
    7628 _ACEOF 
    7629 rm -f conftest.$ac_objext 
    7630 if { (ac_try="$ac_compile" 
    7631 case "(($ac_try" in 
    7632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7633   *) ac_try_echo=$ac_try;; 
    7634 esac 
    7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7636   (eval "$ac_compile") 2>conftest.er1 
    7637   ac_status=$? 
    7638   grep -v '^ *+' conftest.er1 >conftest.err 
    7639   rm -f conftest.er1 
    7640   cat conftest.err >&5 
    7641   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7642   (exit $ac_status); } && { 
    7643          test -z "$ac_c_werror_flag" || 
    7644          test ! -s conftest.err 
    7645        } && test -s conftest.$ac_objext; then 
    7646   ac_header_compiler=yes 
    7647 else 
    7648   echo "$as_me: failed program was:" >&5 
    7649 sed 's/^/| /' conftest.$ac_ext >&5 
    7650  
    7651         ac_header_compiler=no 
    7652 fi 
    7653  
    7654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7655 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7656 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7657  
    7658 # Is the header present? 
    7659 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 
    7660 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
    7661 cat >conftest.$ac_ext <<_ACEOF 
    7662 /* confdefs.h.  */ 
    7663 _ACEOF 
    7664 cat confdefs.h >>conftest.$ac_ext 
    7665 cat >>conftest.$ac_ext <<_ACEOF 
    7666 /* end confdefs.h.  */ 
    7667 #include <stdint.h> 
    7668 _ACEOF 
    7669 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7670 case "(($ac_try" in 
    7671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7672   *) ac_try_echo=$ac_try;; 
    7673 esac 
    7674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7675   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7676   ac_status=$? 
    7677   grep -v '^ *+' conftest.er1 >conftest.err 
    7678   rm -f conftest.er1 
    7679   cat conftest.err >&5 
    7680   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7681   (exit $ac_status); } >/dev/null && { 
    7682          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7683          test ! -s conftest.err 
    7684        }; then 
    7685   ac_header_preproc=yes 
    7686 else 
    7687   echo "$as_me: failed program was:" >&5 
    7688 sed 's/^/| /' conftest.$ac_ext >&5 
    7689  
    7690   ac_header_preproc=no 
    7691 fi 
    7692  
    7693 rm -f conftest.err conftest.$ac_ext 
    7694 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7695 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7696  
    7697 # So?  What about this header? 
    7698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7699   yes:no: ) 
    7700     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7701 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7702     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
    7703 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
    7704     ac_header_preproc=yes 
    7705     ;; 
    7706   no:yes:* ) 
    7707     { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
    7708 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
    7709     { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
    7710 echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
    7711     { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
    7712 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
    7713     { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7714 echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7715     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
    7716 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
    7717     { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
    7718 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
    7719  
    7720     ;; 
    7721 esac 
    7722 { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7723 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7724 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7725   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7726 else 
    7727   ac_cv_header_stdint_h=$ac_header_preproc 
    7728 fi 
    7729 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7730 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7731  
    7732 fi 
    7733 if test $ac_cv_header_stdint_h = yes; then 
    7734   cat >>confdefs.h <<\_ACEOF 
    7735 #define PJ_HAS_STDINT_H 1 
    7736 _ACEOF 
    7737  
    7738 fi 
    7739  
    7740  
    7741 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7742   { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7743 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7744 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7745   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7746 fi 
    7747 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7748 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7749 else 
    7750   # Is the header compilable? 
    7751 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    7752 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
    7753 cat >conftest.$ac_ext <<_ACEOF 
    7754 /* confdefs.h.  */ 
    7755 _ACEOF 
    7756 cat confdefs.h >>conftest.$ac_ext 
    7757 cat >>conftest.$ac_ext <<_ACEOF 
    7758 /* end confdefs.h.  */ 
    7759 $ac_includes_default 
    7760 #include <stdlib.h> 
    7761 _ACEOF 
    7762 rm -f conftest.$ac_objext 
    7763 if { (ac_try="$ac_compile" 
    7764 case "(($ac_try" in 
    7765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7766   *) ac_try_echo=$ac_try;; 
    7767 esac 
    7768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7769   (eval "$ac_compile") 2>conftest.er1 
    7770   ac_status=$? 
    7771   grep -v '^ *+' conftest.er1 >conftest.err 
    7772   rm -f conftest.er1 
    7773   cat conftest.err >&5 
    7774   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7775   (exit $ac_status); } && { 
    7776          test -z "$ac_c_werror_flag" || 
    7777          test ! -s conftest.err 
    7778        } && test -s conftest.$ac_objext; then 
    7779   ac_header_compiler=yes 
    7780 else 
    7781   echo "$as_me: failed program was:" >&5 
    7782 sed 's/^/| /' conftest.$ac_ext >&5 
    7783  
    7784         ac_header_compiler=no 
    7785 fi 
    7786  
    7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7788 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7789 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7790  
    7791 # Is the header present? 
    7792 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    7793 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
    7794 cat >conftest.$ac_ext <<_ACEOF 
    7795 /* confdefs.h.  */ 
    7796 _ACEOF 
    7797 cat confdefs.h >>conftest.$ac_ext 
    7798 cat >>conftest.$ac_ext <<_ACEOF 
    7799 /* end confdefs.h.  */ 
    7800 #include <stdlib.h> 
    7801 _ACEOF 
    7802 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7803 case "(($ac_try" in 
    7804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7805   *) ac_try_echo=$ac_try;; 
    7806 esac 
    7807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7808   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7809   ac_status=$? 
    7810   grep -v '^ *+' conftest.er1 >conftest.err 
    7811   rm -f conftest.er1 
    7812   cat conftest.err >&5 
    7813   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7814   (exit $ac_status); } >/dev/null && { 
    7815          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7816          test ! -s conftest.err 
    7817        }; then 
    7818   ac_header_preproc=yes 
    7819 else 
    7820   echo "$as_me: failed program was:" >&5 
    7821 sed 's/^/| /' conftest.$ac_ext >&5 
    7822  
    7823   ac_header_preproc=no 
    7824 fi 
    7825  
    7826 rm -f conftest.err conftest.$ac_ext 
    7827 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7828 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7829  
    7830 # So?  What about this header? 
    7831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7832   yes:no: ) 
    7833     { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7834 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7835     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    7836 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    7837     ac_header_preproc=yes 
    7838     ;; 
    7839   no:yes:* ) 
    7840     { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    7841 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    7842     { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    7843 echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    7844     { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    7845 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    7846     { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7847 echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7848     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    7849 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    7850     { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    7851 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    7852  
    7853     ;; 
    7854 esac 
    7855 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7856 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7857 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7858   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7859 else 
    7860   ac_cv_header_stdlib_h=$ac_header_preproc 
    7861 fi 
    7862 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7863 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7864  
    7865 fi 
    7866 if test $ac_cv_header_stdlib_h = yes; then 
    7867   cat >>confdefs.h <<\_ACEOF 
    7868 #define PJ_HAS_STDLIB_H 1 
    7869 _ACEOF 
    7870  
    7871 fi 
    7872  
    7873  
    7874 if test "${ac_cv_header_string_h+set}" = set; then 
    7875   { echo "$as_me:$LINENO: checking for string.h" >&5 
    7876 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7877 if test "${ac_cv_header_string_h+set}" = set; then 
    7878   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7879 fi 
    7880 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7881 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7882 else 
    7883   # Is the header compilable? 
    7884 { echo "$as_me:$LINENO: checking string.h usability" >&5 
    7885 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
    7886 cat >conftest.$ac_ext <<_ACEOF 
    7887 /* confdefs.h.  */ 
    7888 _ACEOF 
    7889 cat confdefs.h >>conftest.$ac_ext 
    7890 cat >>conftest.$ac_ext <<_ACEOF 
    7891 /* end confdefs.h.  */ 
    7892 $ac_includes_default 
    7893 #include <string.h> 
    7894 _ACEOF 
    7895 rm -f conftest.$ac_objext 
    7896 if { (ac_try="$ac_compile" 
    7897 case "(($ac_try" in 
    7898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7899   *) ac_try_echo=$ac_try;; 
    7900 esac 
    7901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7902   (eval "$ac_compile") 2>conftest.er1 
    7903   ac_status=$? 
    7904   grep -v '^ *+' conftest.er1 >conftest.err 
    7905   rm -f conftest.er1 
    7906   cat conftest.err >&5 
    7907   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7908   (exit $ac_status); } && { 
    7909          test -z "$ac_c_werror_flag" || 
    7910          test ! -s conftest.err 
    7911        } && test -s conftest.$ac_objext; then 
    7912   ac_header_compiler=yes 
    7913 else 
    7914   echo "$as_me: failed program was:" >&5 
    7915 sed 's/^/| /' conftest.$ac_ext >&5 
    7916  
    7917         ac_header_compiler=no 
    7918 fi 
    7919  
    7920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7921 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7922 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7923  
    7924 # Is the header present? 
    7925 { echo "$as_me:$LINENO: checking string.h presence" >&5 
    7926 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
    7927 cat >conftest.$ac_ext <<_ACEOF 
    7928 /* confdefs.h.  */ 
    7929 _ACEOF 
    7930 cat confdefs.h >>conftest.$ac_ext 
    7931 cat >>conftest.$ac_ext <<_ACEOF 
    7932 /* end confdefs.h.  */ 
    7933 #include <string.h> 
    7934 _ACEOF 
    7935 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7936 case "(($ac_try" in 
    7937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7938   *) ac_try_echo=$ac_try;; 
    7939 esac 
    7940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7941   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7942   ac_status=$? 
    7943   grep -v '^ *+' conftest.er1 >conftest.err 
    7944   rm -f conftest.er1 
    7945   cat conftest.err >&5 
    7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7947   (exit $ac_status); } >/dev/null && { 
    7948          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7949          test ! -s conftest.err 
    7950        }; then 
    7951   ac_header_preproc=yes 
    7952 else 
    7953   echo "$as_me: failed program was:" >&5 
    7954 sed 's/^/| /' conftest.$ac_ext >&5 
    7955  
    7956   ac_header_preproc=no 
    7957 fi 
    7958  
    7959 rm -f conftest.err conftest.$ac_ext 
    7960 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7961 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7962  
    7963 # So?  What about this header? 
    7964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7965   yes:no: ) 
    7966     { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7967 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7968     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    7969 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    7970     ac_header_preproc=yes 
    7971     ;; 
    7972   no:yes:* ) 
    7973     { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    7974 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    7975     { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    7976 echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    7977     { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    7978 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    7979     { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7980 echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7981     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    7982 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    7983     { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    7984 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    7985  
    7986     ;; 
    7987 esac 
    7988 { echo "$as_me:$LINENO: checking for string.h" >&5 
    7989 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7990 if test "${ac_cv_header_string_h+set}" = set; then 
    7991   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7992 else 
    7993   ac_cv_header_string_h=$ac_header_preproc 
    7994 fi 
    7995 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7996 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7997  
    7998 fi 
    7999 if test $ac_cv_header_string_h = yes; then 
    8000   cat >>confdefs.h <<\_ACEOF 
    8001 #define PJ_HAS_STRING_H 1 
    8002 _ACEOF 
    8003  
    8004 fi 
    8005  
    8006  
    8007 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8008   { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8009 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8010 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8011   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8012 fi 
    8013 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8014 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8015 else 
    8016   # Is the header compilable? 
    8017 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    8018 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
    8019 cat >conftest.$ac_ext <<_ACEOF 
    8020 /* confdefs.h.  */ 
    8021 _ACEOF 
    8022 cat confdefs.h >>conftest.$ac_ext 
    8023 cat >>conftest.$ac_ext <<_ACEOF 
    8024 /* end confdefs.h.  */ 
    8025 $ac_includes_default 
    8026 #include <sys/ioctl.h> 
    8027 _ACEOF 
    8028 rm -f conftest.$ac_objext 
    8029 if { (ac_try="$ac_compile" 
    8030 case "(($ac_try" in 
    8031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8032   *) ac_try_echo=$ac_try;; 
    8033 esac 
    8034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8035   (eval "$ac_compile") 2>conftest.er1 
    8036   ac_status=$? 
    8037   grep -v '^ *+' conftest.er1 >conftest.err 
    8038   rm -f conftest.er1 
    8039   cat conftest.err >&5 
    8040   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8041   (exit $ac_status); } && { 
    8042          test -z "$ac_c_werror_flag" || 
    8043          test ! -s conftest.err 
    8044        } && test -s conftest.$ac_objext; then 
    8045   ac_header_compiler=yes 
    8046 else 
    8047   echo "$as_me: failed program was:" >&5 
    8048 sed 's/^/| /' conftest.$ac_ext >&5 
    8049  
    8050         ac_header_compiler=no 
    8051 fi 
    8052  
    8053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8054 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8055 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8056  
    8057 # Is the header present? 
    8058 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    8059 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
    8060 cat >conftest.$ac_ext <<_ACEOF 
    8061 /* confdefs.h.  */ 
    8062 _ACEOF 
    8063 cat confdefs.h >>conftest.$ac_ext 
    8064 cat >>conftest.$ac_ext <<_ACEOF 
    8065 /* end confdefs.h.  */ 
    8066 #include <sys/ioctl.h> 
    8067 _ACEOF 
    8068 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8069 case "(($ac_try" in 
    8070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8071   *) ac_try_echo=$ac_try;; 
    8072 esac 
    8073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8074   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8075   ac_status=$? 
    8076   grep -v '^ *+' conftest.er1 >conftest.err 
    8077   rm -f conftest.er1 
    8078   cat conftest.err >&5 
    8079   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8080   (exit $ac_status); } >/dev/null && { 
    8081          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8082          test ! -s conftest.err 
    8083        }; then 
    8084   ac_header_preproc=yes 
    8085 else 
    8086   echo "$as_me: failed program was:" >&5 
    8087 sed 's/^/| /' conftest.$ac_ext >&5 
    8088  
    8089   ac_header_preproc=no 
    8090 fi 
    8091  
    8092 rm -f conftest.err conftest.$ac_ext 
    8093 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8094 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8095  
    8096 # So?  What about this header? 
    8097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8098   yes:no: ) 
    8099     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8100 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8101     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    8102 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    8103     ac_header_preproc=yes 
    8104     ;; 
    8105   no:yes:* ) 
    8106     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    8107 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    8108     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    8109 echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    8110     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    8111 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    8112     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8113 echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8114     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    8115 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    8116     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    8117 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    8118  
    8119     ;; 
    8120 esac 
    8121 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8122 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8123 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8124   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8125 else 
    8126   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    8127 fi 
    8128 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8129 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8130  
    8131 fi 
    8132 if test $ac_cv_header_sys_ioctl_h = yes; then 
    8133   cat >>confdefs.h <<\_ACEOF 
    8134 #define PJ_HAS_SYS_IOCTL_H 1 
    8135 _ACEOF 
    8136  
    8137 fi 
    8138  
    8139  
    8140 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8141   { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8142 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8143 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8144   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8145 fi 
    8146 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8147 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8148 else 
    8149   # Is the header compilable? 
    8150 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    8151 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
    8152 cat >conftest.$ac_ext <<_ACEOF 
    8153 /* confdefs.h.  */ 
    8154 _ACEOF 
    8155 cat confdefs.h >>conftest.$ac_ext 
    8156 cat >>conftest.$ac_ext <<_ACEOF 
    8157 /* end confdefs.h.  */ 
    8158 $ac_includes_default 
    8159 #include <sys/select.h> 
    8160 _ACEOF 
    8161 rm -f conftest.$ac_objext 
    8162 if { (ac_try="$ac_compile" 
    8163 case "(($ac_try" in 
    8164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8165   *) ac_try_echo=$ac_try;; 
    8166 esac 
    8167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8168   (eval "$ac_compile") 2>conftest.er1 
    8169   ac_status=$? 
    8170   grep -v '^ *+' conftest.er1 >conftest.err 
    8171   rm -f conftest.er1 
    8172   cat conftest.err >&5 
    8173   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8174   (exit $ac_status); } && { 
    8175          test -z "$ac_c_werror_flag" || 
    8176          test ! -s conftest.err 
    8177        } && test -s conftest.$ac_objext; then 
    8178   ac_header_compiler=yes 
    8179 else 
    8180   echo "$as_me: failed program was:" >&5 
    8181 sed 's/^/| /' conftest.$ac_ext >&5 
    8182  
    8183         ac_header_compiler=no 
    8184 fi 
    8185  
    8186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8187 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8188 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8189  
    8190 # Is the header present? 
    8191 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    8192 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
    8193 cat >conftest.$ac_ext <<_ACEOF 
    8194 /* confdefs.h.  */ 
    8195 _ACEOF 
    8196 cat confdefs.h >>conftest.$ac_ext 
    8197 cat >>conftest.$ac_ext <<_ACEOF 
    8198 /* end confdefs.h.  */ 
    8199 #include <sys/select.h> 
    8200 _ACEOF 
    8201 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8202 case "(($ac_try" in 
    8203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8204   *) ac_try_echo=$ac_try;; 
    8205 esac 
    8206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8207   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8208   ac_status=$? 
    8209   grep -v '^ *+' conftest.er1 >conftest.err 
    8210   rm -f conftest.er1 
    8211   cat conftest.err >&5 
    8212   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8213   (exit $ac_status); } >/dev/null && { 
    8214          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8215          test ! -s conftest.err 
    8216        }; then 
    8217   ac_header_preproc=yes 
    8218 else 
    8219   echo "$as_me: failed program was:" >&5 
    8220 sed 's/^/| /' conftest.$ac_ext >&5 
    8221  
    8222   ac_header_preproc=no 
    8223 fi 
    8224  
    8225 rm -f conftest.err conftest.$ac_ext 
    8226 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8227 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8228  
    8229 # So?  What about this header? 
    8230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8231   yes:no: ) 
    8232     { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8233 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8234     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    8235 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    8236     ac_header_preproc=yes 
    8237     ;; 
    8238   no:yes:* ) 
    8239     { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    8240 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    8241     { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    8242 echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    8243     { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    8244 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    8245     { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8246 echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8247     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    8248 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    8249     { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    8250 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    8251  
    8252     ;; 
    8253 esac 
    8254 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8255 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8256 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8257   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8258 else 
    8259   ac_cv_header_sys_select_h=$ac_header_preproc 
    8260 fi 
    8261 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8262 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8263  
    8264 fi 
    8265 if test $ac_cv_header_sys_select_h = yes; then 
    8266   cat >>confdefs.h <<\_ACEOF 
    8267 #define PJ_HAS_SYS_SELECT_H 1 
    8268 _ACEOF 
    8269  
    8270 fi 
    8271  
    8272  
    8273 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8274   { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8275 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8276 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8277   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8278 fi 
    8279 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8280 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8281 else 
    8282   # Is the header compilable? 
    8283 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    8284 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
    8285 cat >conftest.$ac_ext <<_ACEOF 
    8286 /* confdefs.h.  */ 
    8287 _ACEOF 
    8288 cat confdefs.h >>conftest.$ac_ext 
    8289 cat >>conftest.$ac_ext <<_ACEOF 
    8290 /* end confdefs.h.  */ 
    8291 $ac_includes_default 
    8292 #include <sys/socket.h> 
    8293 _ACEOF 
    8294 rm -f conftest.$ac_objext 
    8295 if { (ac_try="$ac_compile" 
    8296 case "(($ac_try" in 
    8297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8298   *) ac_try_echo=$ac_try;; 
    8299 esac 
    8300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8301   (eval "$ac_compile") 2>conftest.er1 
    8302   ac_status=$? 
    8303   grep -v '^ *+' conftest.er1 >conftest.err 
    8304   rm -f conftest.er1 
    8305   cat conftest.err >&5 
    8306   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8307   (exit $ac_status); } && { 
    8308          test -z "$ac_c_werror_flag" || 
    8309          test ! -s conftest.err 
    8310        } && test -s conftest.$ac_objext; then 
    8311   ac_header_compiler=yes 
    8312 else 
    8313   echo "$as_me: failed program was:" >&5 
    8314 sed 's/^/| /' conftest.$ac_ext >&5 
    8315  
    8316         ac_header_compiler=no 
    8317 fi 
    8318  
    8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8320 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8321 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8322  
    8323 # Is the header present? 
    8324 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    8325 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
    8326 cat >conftest.$ac_ext <<_ACEOF 
    8327 /* confdefs.h.  */ 
    8328 _ACEOF 
    8329 cat confdefs.h >>conftest.$ac_ext 
    8330 cat >>conftest.$ac_ext <<_ACEOF 
    8331 /* end confdefs.h.  */ 
    8332 #include <sys/socket.h> 
    8333 _ACEOF 
    8334 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8335 case "(($ac_try" in 
    8336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8337   *) ac_try_echo=$ac_try;; 
    8338 esac 
    8339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8340   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8341   ac_status=$? 
    8342   grep -v '^ *+' conftest.er1 >conftest.err 
    8343   rm -f conftest.er1 
    8344   cat conftest.err >&5 
    8345   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8346   (exit $ac_status); } >/dev/null && { 
    8347          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8348          test ! -s conftest.err 
    8349        }; then 
    8350   ac_header_preproc=yes 
    8351 else 
    8352   echo "$as_me: failed program was:" >&5 
    8353 sed 's/^/| /' conftest.$ac_ext >&5 
    8354  
    8355   ac_header_preproc=no 
    8356 fi 
    8357  
    8358 rm -f conftest.err conftest.$ac_ext 
    8359 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8360 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8361  
    8362 # So?  What about this header? 
    8363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8364   yes:no: ) 
    8365     { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8366 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8367     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    8368 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    8369     ac_header_preproc=yes 
    8370     ;; 
    8371   no:yes:* ) 
    8372     { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    8373 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    8374     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    8375 echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    8376     { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    8377 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    8378     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8379 echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8380     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    8381 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    8382     { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    8383 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    8384  
    8385     ;; 
    8386 esac 
    8387 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8388 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8389 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8390   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8391 else 
    8392   ac_cv_header_sys_socket_h=$ac_header_preproc 
    8393 fi 
    8394 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8395 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8396  
    8397 fi 
    8398 if test $ac_cv_header_sys_socket_h = yes; then 
    8399   cat >>confdefs.h <<\_ACEOF 
    8400 #define PJ_HAS_SYS_SOCKET_H 1 
    8401 _ACEOF 
    8402  
    8403 fi 
    8404  
    8405  
    8406 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8407   { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8408 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8409 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8410   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8411 fi 
    8412 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8413 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8414 else 
    8415   # Is the header compilable? 
    8416 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    8417 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
    8418 cat >conftest.$ac_ext <<_ACEOF 
    8419 /* confdefs.h.  */ 
    8420 _ACEOF 
    8421 cat confdefs.h >>conftest.$ac_ext 
    8422 cat >>conftest.$ac_ext <<_ACEOF 
    8423 /* end confdefs.h.  */ 
    8424 $ac_includes_default 
    8425 #include <sys/time.h> 
    8426 _ACEOF 
    8427 rm -f conftest.$ac_objext 
    8428 if { (ac_try="$ac_compile" 
    8429 case "(($ac_try" in 
    8430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8431   *) ac_try_echo=$ac_try;; 
    8432 esac 
    8433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8434   (eval "$ac_compile") 2>conftest.er1 
    8435   ac_status=$? 
    8436   grep -v '^ *+' conftest.er1 >conftest.err 
    8437   rm -f conftest.er1 
    8438   cat conftest.err >&5 
    8439   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8440   (exit $ac_status); } && { 
    8441          test -z "$ac_c_werror_flag" || 
    8442          test ! -s conftest.err 
    8443        } && test -s conftest.$ac_objext; then 
    8444   ac_header_compiler=yes 
    8445 else 
    8446   echo "$as_me: failed program was:" >&5 
    8447 sed 's/^/| /' conftest.$ac_ext >&5 
    8448  
    8449         ac_header_compiler=no 
    8450 fi 
    8451  
    8452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8453 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8454 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8455  
    8456 # Is the header present? 
    8457 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    8458 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
    8459 cat >conftest.$ac_ext <<_ACEOF 
    8460 /* confdefs.h.  */ 
    8461 _ACEOF 
    8462 cat confdefs.h >>conftest.$ac_ext 
    8463 cat >>conftest.$ac_ext <<_ACEOF 
    8464 /* end confdefs.h.  */ 
    8465 #include <sys/time.h> 
    8466 _ACEOF 
    8467 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8468 case "(($ac_try" in 
    8469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8470   *) ac_try_echo=$ac_try;; 
    8471 esac 
    8472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8473   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8474   ac_status=$? 
    8475   grep -v '^ *+' conftest.er1 >conftest.err 
    8476   rm -f conftest.er1 
    8477   cat conftest.err >&5 
    8478   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8479   (exit $ac_status); } >/dev/null && { 
    8480          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8481          test ! -s conftest.err 
    8482        }; then 
    8483   ac_header_preproc=yes 
    8484 else 
    8485   echo "$as_me: failed program was:" >&5 
    8486 sed 's/^/| /' conftest.$ac_ext >&5 
    8487  
    8488   ac_header_preproc=no 
    8489 fi 
    8490  
    8491 rm -f conftest.err conftest.$ac_ext 
    8492 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8493 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8494  
    8495 # So?  What about this header? 
    8496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8497   yes:no: ) 
    8498     { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8499 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8500     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    8501 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    8502     ac_header_preproc=yes 
    8503     ;; 
    8504   no:yes:* ) 
    8505     { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    8506 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    8507     { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    8508 echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    8509     { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    8510 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    8511     { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8512 echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8513     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    8514 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    8515     { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    8516 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    8517  
    8518     ;; 
    8519 esac 
    8520 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8521 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8522 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8523   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8524 else 
    8525   ac_cv_header_sys_time_h=$ac_header_preproc 
    8526 fi 
    8527 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8528 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8529  
    8530 fi 
    8531 if test $ac_cv_header_sys_time_h = yes; then 
    8532   cat >>confdefs.h <<\_ACEOF 
    8533 #define PJ_HAS_SYS_TIME_H 1 
    8534 _ACEOF 
    8535  
    8536 fi 
    8537  
    8538  
    8539 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8540   { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8541 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8542 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8543   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8544 fi 
    8545 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8546 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8547 else 
    8548   # Is the header compilable? 
    8549 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    8550 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
    8551 cat >conftest.$ac_ext <<_ACEOF 
    8552 /* confdefs.h.  */ 
    8553 _ACEOF 
    8554 cat confdefs.h >>conftest.$ac_ext 
    8555 cat >>conftest.$ac_ext <<_ACEOF 
    8556 /* end confdefs.h.  */ 
    8557 $ac_includes_default 
    8558 #include <sys/timeb.h> 
    8559 _ACEOF 
    8560 rm -f conftest.$ac_objext 
    8561 if { (ac_try="$ac_compile" 
    8562 case "(($ac_try" in 
    8563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8564   *) ac_try_echo=$ac_try;; 
    8565 esac 
    8566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8567   (eval "$ac_compile") 2>conftest.er1 
    8568   ac_status=$? 
    8569   grep -v '^ *+' conftest.er1 >conftest.err 
    8570   rm -f conftest.er1 
    8571   cat conftest.err >&5 
    8572   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8573   (exit $ac_status); } && { 
    8574          test -z "$ac_c_werror_flag" || 
    8575          test ! -s conftest.err 
    8576        } && test -s conftest.$ac_objext; then 
    8577   ac_header_compiler=yes 
    8578 else 
    8579   echo "$as_me: failed program was:" >&5 
    8580 sed 's/^/| /' conftest.$ac_ext >&5 
    8581  
    8582         ac_header_compiler=no 
    8583 fi 
    8584  
    8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8586 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8587 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8588  
    8589 # Is the header present? 
    8590 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    8591 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
    8592 cat >conftest.$ac_ext <<_ACEOF 
    8593 /* confdefs.h.  */ 
    8594 _ACEOF 
    8595 cat confdefs.h >>conftest.$ac_ext 
    8596 cat >>conftest.$ac_ext <<_ACEOF 
    8597 /* end confdefs.h.  */ 
    8598 #include <sys/timeb.h> 
    8599 _ACEOF 
    8600 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8601 case "(($ac_try" in 
    8602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8603   *) ac_try_echo=$ac_try;; 
    8604 esac 
    8605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8606   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8607   ac_status=$? 
    8608   grep -v '^ *+' conftest.er1 >conftest.err 
    8609   rm -f conftest.er1 
    8610   cat conftest.err >&5 
    8611   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8612   (exit $ac_status); } >/dev/null && { 
    8613          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8614          test ! -s conftest.err 
    8615        }; then 
    8616   ac_header_preproc=yes 
    8617 else 
    8618   echo "$as_me: failed program was:" >&5 
    8619 sed 's/^/| /' conftest.$ac_ext >&5 
    8620  
    8621   ac_header_preproc=no 
    8622 fi 
    8623  
    8624 rm -f conftest.err conftest.$ac_ext 
    8625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8626 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8627  
    8628 # So?  What about this header? 
    8629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8630   yes:no: ) 
    8631     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8632 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8633     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    8634 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    8635     ac_header_preproc=yes 
    8636     ;; 
    8637   no:yes:* ) 
    8638     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    8639 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    8640     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    8641 echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    8642     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    8643 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    8644     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8645 echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8646     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    8647 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    8648     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    8649 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    8650  
    8651     ;; 
    8652 esac 
    8653 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8654 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8655 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8656   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8657 else 
    8658   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    8659 fi 
    8660 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8661 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8662  
    8663 fi 
    8664 if test $ac_cv_header_sys_timeb_h = yes; then 
    8665   cat >>confdefs.h <<\_ACEOF 
    8666 #define PJ_HAS_SYS_TIMEB_H 1 
    8667 _ACEOF 
    8668  
    8669 fi 
    8670  
    8671  
    8672 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8673   { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8674 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8675 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8676   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8677 fi 
    8678 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8679 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8680 else 
    8681   # Is the header compilable? 
    8682 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    8683 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
    8684 cat >conftest.$ac_ext <<_ACEOF 
    8685 /* confdefs.h.  */ 
    8686 _ACEOF 
    8687 cat confdefs.h >>conftest.$ac_ext 
    8688 cat >>conftest.$ac_ext <<_ACEOF 
    8689 /* end confdefs.h.  */ 
    8690 $ac_includes_default 
    8691 #include <sys/types.h> 
    8692 _ACEOF 
    8693 rm -f conftest.$ac_objext 
    8694 if { (ac_try="$ac_compile" 
    8695 case "(($ac_try" in 
    8696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8697   *) ac_try_echo=$ac_try;; 
    8698 esac 
    8699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8700   (eval "$ac_compile") 2>conftest.er1 
    8701   ac_status=$? 
    8702   grep -v '^ *+' conftest.er1 >conftest.err 
    8703   rm -f conftest.er1 
    8704   cat conftest.err >&5 
    8705   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8706   (exit $ac_status); } && { 
    8707          test -z "$ac_c_werror_flag" || 
    8708          test ! -s conftest.err 
    8709        } && test -s conftest.$ac_objext; then 
    8710   ac_header_compiler=yes 
    8711 else 
    8712   echo "$as_me: failed program was:" >&5 
    8713 sed 's/^/| /' conftest.$ac_ext >&5 
    8714  
    8715         ac_header_compiler=no 
    8716 fi 
    8717  
    8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8719 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8720 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8721  
    8722 # Is the header present? 
    8723 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    8724 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
    8725 cat >conftest.$ac_ext <<_ACEOF 
    8726 /* confdefs.h.  */ 
    8727 _ACEOF 
    8728 cat confdefs.h >>conftest.$ac_ext 
    8729 cat >>conftest.$ac_ext <<_ACEOF 
    8730 /* end confdefs.h.  */ 
    8731 #include <sys/types.h> 
    8732 _ACEOF 
    8733 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8734 case "(($ac_try" in 
    8735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8736   *) ac_try_echo=$ac_try;; 
    8737 esac 
    8738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8739   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8740   ac_status=$? 
    8741   grep -v '^ *+' conftest.er1 >conftest.err 
    8742   rm -f conftest.er1 
    8743   cat conftest.err >&5 
    8744   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8745   (exit $ac_status); } >/dev/null && { 
    8746          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8747          test ! -s conftest.err 
    8748        }; then 
    8749   ac_header_preproc=yes 
    8750 else 
    8751   echo "$as_me: failed program was:" >&5 
    8752 sed 's/^/| /' conftest.$ac_ext >&5 
    8753  
    8754   ac_header_preproc=no 
    8755 fi 
    8756  
    8757 rm -f conftest.err conftest.$ac_ext 
    8758 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8759 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8760  
    8761 # So?  What about this header? 
    8762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8763   yes:no: ) 
    8764     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8765 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8766     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    8767 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    8768     ac_header_preproc=yes 
    8769     ;; 
    8770   no:yes:* ) 
    8771     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    8772 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    8773     { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    8774 echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    8775     { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    8776 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    8777     { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8778 echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8779     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    8780 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    8781     { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    8782 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    8783  
    8784     ;; 
    8785 esac 
    8786 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8787 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8788 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8789   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8790 else 
    8791   ac_cv_header_sys_types_h=$ac_header_preproc 
    8792 fi 
    8793 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8794 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8795  
    8796 fi 
    8797 if test $ac_cv_header_sys_types_h = yes; then 
    8798   cat >>confdefs.h <<\_ACEOF 
    8799 #define PJ_HAS_SYS_TYPES_H 1 
    8800 _ACEOF 
    8801  
    8802 fi 
    8803  
    8804  
    8805 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8806   { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8807 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8808 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8809   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8810 fi 
    8811 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8812 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8813 else 
    8814   # Is the header compilable? 
    8815 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
    8816 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
    8817 cat >conftest.$ac_ext <<_ACEOF 
    8818 /* confdefs.h.  */ 
    8819 _ACEOF 
    8820 cat confdefs.h >>conftest.$ac_ext 
    8821 cat >>conftest.$ac_ext <<_ACEOF 
    8822 /* end confdefs.h.  */ 
    8823 $ac_includes_default 
    8824 #include <sys/filio.h> 
    8825 _ACEOF 
    8826 rm -f conftest.$ac_objext 
    8827 if { (ac_try="$ac_compile" 
    8828 case "(($ac_try" in 
    8829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8830   *) ac_try_echo=$ac_try;; 
    8831 esac 
    8832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8833   (eval "$ac_compile") 2>conftest.er1 
    8834   ac_status=$? 
    8835   grep -v '^ *+' conftest.er1 >conftest.err 
    8836   rm -f conftest.er1 
    8837   cat conftest.err >&5 
    8838   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8839   (exit $ac_status); } && { 
    8840          test -z "$ac_c_werror_flag" || 
    8841          test ! -s conftest.err 
    8842        } && test -s conftest.$ac_objext; then 
    8843   ac_header_compiler=yes 
    8844 else 
    8845   echo "$as_me: failed program was:" >&5 
    8846 sed 's/^/| /' conftest.$ac_ext >&5 
    8847  
    8848         ac_header_compiler=no 
    8849 fi 
    8850  
    8851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8852 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8853 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8854  
    8855 # Is the header present? 
    8856 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
    8857 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
    8858 cat >conftest.$ac_ext <<_ACEOF 
    8859 /* confdefs.h.  */ 
    8860 _ACEOF 
    8861 cat confdefs.h >>conftest.$ac_ext 
    8862 cat >>conftest.$ac_ext <<_ACEOF 
    8863 /* end confdefs.h.  */ 
    8864 #include <sys/filio.h> 
    8865 _ACEOF 
    8866 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8867 case "(($ac_try" in 
    8868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8869   *) ac_try_echo=$ac_try;; 
    8870 esac 
    8871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8872   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8873   ac_status=$? 
    8874   grep -v '^ *+' conftest.er1 >conftest.err 
    8875   rm -f conftest.er1 
    8876   cat conftest.err >&5 
    8877   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8878   (exit $ac_status); } >/dev/null && { 
    8879          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8880          test ! -s conftest.err 
    8881        }; then 
    8882   ac_header_preproc=yes 
    8883 else 
    8884   echo "$as_me: failed program was:" >&5 
    8885 sed 's/^/| /' conftest.$ac_ext >&5 
    8886  
    8887   ac_header_preproc=no 
    8888 fi 
    8889  
    8890 rm -f conftest.err conftest.$ac_ext 
    8891 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8892 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8893  
    8894 # So?  What about this header? 
    8895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8896   yes:no: ) 
    8897     { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8898 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8899     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
    8900 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
    8901     ac_header_preproc=yes 
    8902     ;; 
    8903   no:yes:* ) 
    8904     { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
    8905 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
    8906     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
    8907 echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
    8908     { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
    8909 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
    8910     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8911 echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8912     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
    8913 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
    8914     { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
    8915 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
    8916  
    8917     ;; 
    8918 esac 
    8919 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8920 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8921 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8922   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8923 else 
    8924   ac_cv_header_sys_filio_h=$ac_header_preproc 
    8925 fi 
    8926 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8927 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8928  
    8929 fi 
    8930 if test $ac_cv_header_sys_filio_h = yes; then 
    8931   cat >>confdefs.h <<\_ACEOF 
    8932 #define PJ_HAS_SYS_FILIO_H 1 
    8933 _ACEOF 
    8934  
    8935 fi 
    8936  
    8937  
    8938 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8939   { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    8940 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    8941 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8942   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8943 fi 
    8944 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    8945 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    8946 else 
    8947   # Is the header compilable? 
    8948 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
    8949 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
    8950 cat >conftest.$ac_ext <<_ACEOF 
    8951 /* confdefs.h.  */ 
    8952 _ACEOF 
    8953 cat confdefs.h >>conftest.$ac_ext 
    8954 cat >>conftest.$ac_ext <<_ACEOF 
    8955 /* end confdefs.h.  */ 
    8956 $ac_includes_default 
    8957 #include <sys/sockio.h> 
    8958 _ACEOF 
    8959 rm -f conftest.$ac_objext 
    8960 if { (ac_try="$ac_compile" 
    8961 case "(($ac_try" in 
    8962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8963   *) ac_try_echo=$ac_try;; 
    8964 esac 
    8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8966   (eval "$ac_compile") 2>conftest.er1 
    8967   ac_status=$? 
    8968   grep -v '^ *+' conftest.er1 >conftest.err 
    8969   rm -f conftest.er1 
    8970   cat conftest.err >&5 
    8971   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8972   (exit $ac_status); } && { 
    8973          test -z "$ac_c_werror_flag" || 
    8974          test ! -s conftest.err 
    8975        } && test -s conftest.$ac_objext; then 
    8976   ac_header_compiler=yes 
    8977 else 
    8978   echo "$as_me: failed program was:" >&5 
    8979 sed 's/^/| /' conftest.$ac_ext >&5 
    8980  
    8981         ac_header_compiler=no 
    8982 fi 
    8983  
    8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8985 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8986 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8987  
    8988 # Is the header present? 
    8989 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
    8990 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
    8991 cat >conftest.$ac_ext <<_ACEOF 
    8992 /* confdefs.h.  */ 
    8993 _ACEOF 
    8994 cat confdefs.h >>conftest.$ac_ext 
    8995 cat >>conftest.$ac_ext <<_ACEOF 
    8996 /* end confdefs.h.  */ 
    8997 #include <sys/sockio.h> 
    8998 _ACEOF 
    8999 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9000 case "(($ac_try" in 
    9001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9002   *) ac_try_echo=$ac_try;; 
    9003 esac 
    9004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9005   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9006   ac_status=$? 
    9007   grep -v '^ *+' conftest.er1 >conftest.err 
    9008   rm -f conftest.er1 
    9009   cat conftest.err >&5 
    9010   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9011   (exit $ac_status); } >/dev/null && { 
    9012          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9013          test ! -s conftest.err 
    9014        }; then 
    9015   ac_header_preproc=yes 
    9016 else 
    9017   echo "$as_me: failed program was:" >&5 
    9018 sed 's/^/| /' conftest.$ac_ext >&5 
    9019  
    9020   ac_header_preproc=no 
    9021 fi 
    9022  
    9023 rm -f conftest.err conftest.$ac_ext 
    9024 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9025 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9026  
    9027 # So?  What about this header? 
    9028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9029   yes:no: ) 
    9030     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9031 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9032     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
    9033 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
    9034     ac_header_preproc=yes 
    9035     ;; 
    9036   no:yes:* ) 
    9037     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
    9038 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
    9039     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
    9040 echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
    9041     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
    9042 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
    9043     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9044 echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9045     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
    9046 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
    9047     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
    9048 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
    9049  
    9050     ;; 
    9051 esac 
    9052 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    9053 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    9054 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    9055   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9056 else 
    9057   ac_cv_header_sys_sockio_h=$ac_header_preproc 
    9058 fi 
    9059 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    9060 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    9061  
    9062 fi 
    9063 if test $ac_cv_header_sys_sockio_h = yes; then 
    9064   cat >>confdefs.h <<\_ACEOF 
    9065 #define PJ_HAS_SYS_SOCKIO_H 1 
    9066 _ACEOF 
    9067  
    9068 fi 
    9069  
    9070  
    9071 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9072   { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9073 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9074 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9075   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9076 fi 
    9077 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9078 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9079 else 
    9080   # Is the header compilable? 
    9081 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 
    9082 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 
    9083 cat >conftest.$ac_ext <<_ACEOF 
    9084 /* confdefs.h.  */ 
    9085 _ACEOF 
    9086 cat confdefs.h >>conftest.$ac_ext 
    9087 cat >>conftest.$ac_ext <<_ACEOF 
    9088 /* end confdefs.h.  */ 
    9089 $ac_includes_default 
    9090 #include <sys/utsname.h> 
    9091 _ACEOF 
    9092 rm -f conftest.$ac_objext 
    9093 if { (ac_try="$ac_compile" 
    9094 case "(($ac_try" in 
    9095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9096   *) ac_try_echo=$ac_try;; 
    9097 esac 
    9098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9099   (eval "$ac_compile") 2>conftest.er1 
    9100   ac_status=$? 
    9101   grep -v '^ *+' conftest.er1 >conftest.err 
    9102   rm -f conftest.er1 
    9103   cat conftest.err >&5 
    9104   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9105   (exit $ac_status); } && { 
    9106          test -z "$ac_c_werror_flag" || 
    9107          test ! -s conftest.err 
    9108        } && test -s conftest.$ac_objext; then 
    9109   ac_header_compiler=yes 
    9110 else 
    9111   echo "$as_me: failed program was:" >&5 
    9112 sed 's/^/| /' conftest.$ac_ext >&5 
    9113  
    9114         ac_header_compiler=no 
    9115 fi 
    9116  
    9117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9119 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9120  
    9121 # Is the header present? 
    9122 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 
    9123 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 
    9124 cat >conftest.$ac_ext <<_ACEOF 
    9125 /* confdefs.h.  */ 
    9126 _ACEOF 
    9127 cat confdefs.h >>conftest.$ac_ext 
    9128 cat >>conftest.$ac_ext <<_ACEOF 
    9129 /* end confdefs.h.  */ 
    9130 #include <sys/utsname.h> 
    9131 _ACEOF 
    9132 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9133 case "(($ac_try" in 
    9134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9135   *) ac_try_echo=$ac_try;; 
    9136 esac 
    9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9138   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9139   ac_status=$? 
    9140   grep -v '^ *+' conftest.er1 >conftest.err 
    9141   rm -f conftest.er1 
    9142   cat conftest.err >&5 
    9143   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9144   (exit $ac_status); } >/dev/null && { 
    9145          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9146          test ! -s conftest.err 
    9147        }; then 
    9148   ac_header_preproc=yes 
    9149 else 
    9150   echo "$as_me: failed program was:" >&5 
    9151 sed 's/^/| /' conftest.$ac_ext >&5 
    9152  
    9153   ac_header_preproc=no 
    9154 fi 
    9155  
    9156 rm -f conftest.err conftest.$ac_ext 
    9157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9158 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9159  
    9160 # So?  What about this header? 
    9161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9162   yes:no: ) 
    9163     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9164 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9165     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 
    9166 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 
    9167     ac_header_preproc=yes 
    9168     ;; 
    9169   no:yes:* ) 
    9170     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 
    9171 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 
    9172     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&5 
    9173 echo "$as_me: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&2;} 
    9174     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 
    9175 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 
    9176     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9177 echo "$as_me: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9178     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 
    9179 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 
    9180     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 
    9181 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 
    9182  
    9183     ;; 
    9184 esac 
    9185 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9186 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9187 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9188   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9189 else 
    9190   ac_cv_header_sys_utsname_h=$ac_header_preproc 
    9191 fi 
    9192 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9193 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9194  
    9195 fi 
    9196 if test $ac_cv_header_sys_utsname_h = yes; then 
    9197   cat >>confdefs.h <<\_ACEOF 
    9198 #define PJ_HAS_SYS_UTSNAME_H 1 
    9199 _ACEOF 
    9200  
    9201 fi 
    9202  
    9203  
    9204 if test "${ac_cv_header_time_h+set}" = set; then 
    9205   { echo "$as_me:$LINENO: checking for time.h" >&5 
    9206 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9207 if test "${ac_cv_header_time_h+set}" = set; then 
    9208   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9209 fi 
    9210 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9211 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9212 else 
    9213   # Is the header compilable? 
    9214 { echo "$as_me:$LINENO: checking time.h usability" >&5 
    9215 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
    9216 cat >conftest.$ac_ext <<_ACEOF 
    9217 /* confdefs.h.  */ 
    9218 _ACEOF 
    9219 cat confdefs.h >>conftest.$ac_ext 
    9220 cat >>conftest.$ac_ext <<_ACEOF 
    9221 /* end confdefs.h.  */ 
    9222 $ac_includes_default 
    9223 #include <time.h> 
    9224 _ACEOF 
    9225 rm -f conftest.$ac_objext 
    9226 if { (ac_try="$ac_compile" 
    9227 case "(($ac_try" in 
    9228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9229   *) ac_try_echo=$ac_try;; 
    9230 esac 
    9231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9232   (eval "$ac_compile") 2>conftest.er1 
    9233   ac_status=$? 
    9234   grep -v '^ *+' conftest.er1 >conftest.err 
    9235   rm -f conftest.er1 
    9236   cat conftest.err >&5 
    9237   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9238   (exit $ac_status); } && { 
    9239          test -z "$ac_c_werror_flag" || 
    9240          test ! -s conftest.err 
    9241        } && test -s conftest.$ac_objext; then 
    9242   ac_header_compiler=yes 
    9243 else 
    9244   echo "$as_me: failed program was:" >&5 
    9245 sed 's/^/| /' conftest.$ac_ext >&5 
    9246  
    9247         ac_header_compiler=no 
    9248 fi 
    9249  
    9250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9251 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9252 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9253  
    9254 # Is the header present? 
    9255 { echo "$as_me:$LINENO: checking time.h presence" >&5 
    9256 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
    9257 cat >conftest.$ac_ext <<_ACEOF 
    9258 /* confdefs.h.  */ 
    9259 _ACEOF 
    9260 cat confdefs.h >>conftest.$ac_ext 
    9261 cat >>conftest.$ac_ext <<_ACEOF 
    9262 /* end confdefs.h.  */ 
    9263 #include <time.h> 
    9264 _ACEOF 
    9265 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9266 case "(($ac_try" in 
    9267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9268   *) ac_try_echo=$ac_try;; 
    9269 esac 
    9270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9271   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9272   ac_status=$? 
    9273   grep -v '^ *+' conftest.er1 >conftest.err 
    9274   rm -f conftest.er1 
    9275   cat conftest.err >&5 
    9276   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9277   (exit $ac_status); } >/dev/null && { 
    9278          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9279          test ! -s conftest.err 
    9280        }; then 
    9281   ac_header_preproc=yes 
    9282 else 
    9283   echo "$as_me: failed program was:" >&5 
    9284 sed 's/^/| /' conftest.$ac_ext >&5 
    9285  
    9286   ac_header_preproc=no 
    9287 fi 
    9288  
    9289 rm -f conftest.err conftest.$ac_ext 
    9290 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9291 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9292  
    9293 # So?  What about this header? 
    9294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9295   yes:no: ) 
    9296     { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9297 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9298     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    9299 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    9300     ac_header_preproc=yes 
    9301     ;; 
    9302   no:yes:* ) 
    9303     { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    9304 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    9305     { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    9306 echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    9307     { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    9308 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    9309     { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9310 echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9311     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    9312 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    9313     { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    9314 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    9315  
    9316     ;; 
    9317 esac 
    9318 { echo "$as_me:$LINENO: checking for time.h" >&5 
    9319 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9320 if test "${ac_cv_header_time_h+set}" = set; then 
    9321   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9322 else 
    9323   ac_cv_header_time_h=$ac_header_preproc 
    9324 fi 
    9325 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9326 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9327  
    9328 fi 
    9329 if test $ac_cv_header_time_h = yes; then 
    9330   cat >>confdefs.h <<\_ACEOF 
    9331 #define PJ_HAS_TIME_H 1 
    9332 _ACEOF 
    9333  
    9334 fi 
    9335  
    9336  
    9337 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9338   { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9339 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9340 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9341   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9342 fi 
    9343 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9344 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9345 else 
    9346   # Is the header compilable? 
    9347 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    9348 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
    9349 cat >conftest.$ac_ext <<_ACEOF 
    9350 /* confdefs.h.  */ 
    9351 _ACEOF 
    9352 cat confdefs.h >>conftest.$ac_ext 
    9353 cat >>conftest.$ac_ext <<_ACEOF 
    9354 /* end confdefs.h.  */ 
    9355 $ac_includes_default 
    9356 #include <unistd.h> 
    9357 _ACEOF 
    9358 rm -f conftest.$ac_objext 
    9359 if { (ac_try="$ac_compile" 
    9360 case "(($ac_try" in 
    9361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9362   *) ac_try_echo=$ac_try;; 
    9363 esac 
    9364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9365   (eval "$ac_compile") 2>conftest.er1 
    9366   ac_status=$? 
    9367   grep -v '^ *+' conftest.er1 >conftest.err 
    9368   rm -f conftest.er1 
    9369   cat conftest.err >&5 
    9370   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9371   (exit $ac_status); } && { 
    9372          test -z "$ac_c_werror_flag" || 
    9373          test ! -s conftest.err 
    9374        } && test -s conftest.$ac_objext; then 
    9375   ac_header_compiler=yes 
    9376 else 
    9377   echo "$as_me: failed program was:" >&5 
    9378 sed 's/^/| /' conftest.$ac_ext >&5 
    9379  
    9380         ac_header_compiler=no 
    9381 fi 
    9382  
    9383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9384 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9385 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9386  
    9387 # Is the header present? 
    9388 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    9389 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
    9390 cat >conftest.$ac_ext <<_ACEOF 
    9391 /* confdefs.h.  */ 
    9392 _ACEOF 
    9393 cat confdefs.h >>conftest.$ac_ext 
    9394 cat >>conftest.$ac_ext <<_ACEOF 
    9395 /* end confdefs.h.  */ 
    9396 #include <unistd.h> 
    9397 _ACEOF 
    9398 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9399 case "(($ac_try" in 
    9400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9401   *) ac_try_echo=$ac_try;; 
    9402 esac 
    9403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9404   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9405   ac_status=$? 
    9406   grep -v '^ *+' conftest.er1 >conftest.err 
    9407   rm -f conftest.er1 
    9408   cat conftest.err >&5 
    9409   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9410   (exit $ac_status); } >/dev/null && { 
    9411          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9412          test ! -s conftest.err 
    9413        }; then 
    9414   ac_header_preproc=yes 
    9415 else 
    9416   echo "$as_me: failed program was:" >&5 
    9417 sed 's/^/| /' conftest.$ac_ext >&5 
    9418  
    9419   ac_header_preproc=no 
    9420 fi 
    9421  
    9422 rm -f conftest.err conftest.$ac_ext 
    9423 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9424 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9425  
    9426 # So?  What about this header? 
    9427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9428   yes:no: ) 
    9429     { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9430 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9431     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    9432 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    9433     ac_header_preproc=yes 
    9434     ;; 
    9435   no:yes:* ) 
    9436     { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    9437 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    9438     { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    9439 echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    9440     { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    9441 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    9442     { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9443 echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9444     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    9445 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    9446     { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    9447 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    9448  
    9449     ;; 
    9450 esac 
    9451 { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9452 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9453 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9454   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9455 else 
    9456   ac_cv_header_unistd_h=$ac_header_preproc 
    9457 fi 
    9458 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9459 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9460  
    9461 fi 
    9462 if test $ac_cv_header_unistd_h = yes; then 
    9463   cat >>confdefs.h <<\_ACEOF 
    9464 #define PJ_HAS_UNISTD_H 1 
    9465 _ACEOF 
    9466  
    9467 fi 
    9468  
    9469  
    9470 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9471   { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9472 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9473 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9474   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9475 fi 
    9476 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9477 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9478 else 
    9479   # Is the header compilable? 
    9480 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    9481 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
    9482 cat >conftest.$ac_ext <<_ACEOF 
    9483 /* confdefs.h.  */ 
    9484 _ACEOF 
    9485 cat confdefs.h >>conftest.$ac_ext 
    9486 cat >>conftest.$ac_ext <<_ACEOF 
    9487 /* end confdefs.h.  */ 
    9488 $ac_includes_default 
    9489 #include <winsock.h> 
    9490 _ACEOF 
    9491 rm -f conftest.$ac_objext 
    9492 if { (ac_try="$ac_compile" 
    9493 case "(($ac_try" in 
    9494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9495   *) ac_try_echo=$ac_try;; 
    9496 esac 
    9497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9498   (eval "$ac_compile") 2>conftest.er1 
    9499   ac_status=$? 
    9500   grep -v '^ *+' conftest.er1 >conftest.err 
    9501   rm -f conftest.er1 
    9502   cat conftest.err >&5 
    9503   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9504   (exit $ac_status); } && { 
    9505          test -z "$ac_c_werror_flag" || 
    9506          test ! -s conftest.err 
    9507        } && test -s conftest.$ac_objext; then 
    9508   ac_header_compiler=yes 
    9509 else 
    9510   echo "$as_me: failed program was:" >&5 
    9511 sed 's/^/| /' conftest.$ac_ext >&5 
    9512  
    9513         ac_header_compiler=no 
    9514 fi 
    9515  
    9516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9517 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9518 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9519  
    9520 # Is the header present? 
    9521 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    9522 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
    9523 cat >conftest.$ac_ext <<_ACEOF 
    9524 /* confdefs.h.  */ 
    9525 _ACEOF 
    9526 cat confdefs.h >>conftest.$ac_ext 
    9527 cat >>conftest.$ac_ext <<_ACEOF 
    9528 /* end confdefs.h.  */ 
    9529 #include <winsock.h> 
    9530 _ACEOF 
    9531 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9532 case "(($ac_try" in 
    9533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9534   *) ac_try_echo=$ac_try;; 
    9535 esac 
    9536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9537   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9538   ac_status=$? 
    9539   grep -v '^ *+' conftest.er1 >conftest.err 
    9540   rm -f conftest.er1 
    9541   cat conftest.err >&5 
    9542   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9543   (exit $ac_status); } >/dev/null && { 
    9544          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9545          test ! -s conftest.err 
    9546        }; then 
    9547   ac_header_preproc=yes 
    9548 else 
    9549   echo "$as_me: failed program was:" >&5 
    9550 sed 's/^/| /' conftest.$ac_ext >&5 
    9551  
    9552   ac_header_preproc=no 
    9553 fi 
    9554  
    9555 rm -f conftest.err conftest.$ac_ext 
    9556 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9557 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9558  
    9559 # So?  What about this header? 
    9560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9561   yes:no: ) 
    9562     { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9563 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9564     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    9565 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    9566     ac_header_preproc=yes 
    9567     ;; 
    9568   no:yes:* ) 
    9569     { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    9570 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    9571     { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    9572 echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    9573     { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    9574 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    9575     { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9576 echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9577     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    9578 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    9579     { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    9580 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    9581  
    9582     ;; 
    9583 esac 
    9584 { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9585 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9586 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9587   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9588 else 
    9589   ac_cv_header_winsock_h=$ac_header_preproc 
    9590 fi 
    9591 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9592 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9593  
    9594 fi 
    9595 if test $ac_cv_header_winsock_h = yes; then 
    9596   cat >>confdefs.h <<\_ACEOF 
    9597 #define PJ_HAS_WINSOCK_H 1 
    9598 _ACEOF 
    9599  
    9600 fi 
    9601  
    9602  
    9603 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9604   { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9605 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9606 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9607   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9608 fi 
    9609 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9610 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9611 else 
    9612   # Is the header compilable? 
    9613 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    9614 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
    9615 cat >conftest.$ac_ext <<_ACEOF 
    9616 /* confdefs.h.  */ 
    9617 _ACEOF 
    9618 cat confdefs.h >>conftest.$ac_ext 
    9619 cat >>conftest.$ac_ext <<_ACEOF 
    9620 /* end confdefs.h.  */ 
    9621 $ac_includes_default 
    9622 #include <winsock2.h> 
    9623 _ACEOF 
    9624 rm -f conftest.$ac_objext 
    9625 if { (ac_try="$ac_compile" 
    9626 case "(($ac_try" in 
    9627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9628   *) ac_try_echo=$ac_try;; 
    9629 esac 
    9630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9631   (eval "$ac_compile") 2>conftest.er1 
    9632   ac_status=$? 
    9633   grep -v '^ *+' conftest.er1 >conftest.err 
    9634   rm -f conftest.er1 
    9635   cat conftest.err >&5 
    9636   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9637   (exit $ac_status); } && { 
    9638          test -z "$ac_c_werror_flag" || 
    9639          test ! -s conftest.err 
    9640        } && test -s conftest.$ac_objext; then 
    9641   ac_header_compiler=yes 
    9642 else 
    9643   echo "$as_me: failed program was:" >&5 
    9644 sed 's/^/| /' conftest.$ac_ext >&5 
    9645  
    9646         ac_header_compiler=no 
    9647 fi 
    9648  
    9649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9650 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9651 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9652  
    9653 # Is the header present? 
    9654 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    9655 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
    9656 cat >conftest.$ac_ext <<_ACEOF 
    9657 /* confdefs.h.  */ 
    9658 _ACEOF 
    9659 cat confdefs.h >>conftest.$ac_ext 
    9660 cat >>conftest.$ac_ext <<_ACEOF 
    9661 /* end confdefs.h.  */ 
    9662 #include <winsock2.h> 
    9663 _ACEOF 
    9664 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9665 case "(($ac_try" in 
    9666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9667   *) ac_try_echo=$ac_try;; 
    9668 esac 
    9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9670   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9671   ac_status=$? 
    9672   grep -v '^ *+' conftest.er1 >conftest.err 
    9673   rm -f conftest.er1 
    9674   cat conftest.err >&5 
    9675   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9676   (exit $ac_status); } >/dev/null && { 
    9677          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9678          test ! -s conftest.err 
    9679        }; then 
    9680   ac_header_preproc=yes 
    9681 else 
    9682   echo "$as_me: failed program was:" >&5 
    9683 sed 's/^/| /' conftest.$ac_ext >&5 
    9684  
    9685   ac_header_preproc=no 
    9686 fi 
    9687  
    9688 rm -f conftest.err conftest.$ac_ext 
    9689 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9690 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9691  
    9692 # So?  What about this header? 
    9693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9694   yes:no: ) 
    9695     { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9696 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9697     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    9698 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    9699     ac_header_preproc=yes 
    9700     ;; 
    9701   no:yes:* ) 
    9702     { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    9703 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    9704     { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    9705 echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    9706     { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    9707 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    9708     { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9709 echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9710     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    9711 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    9712     { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    9713 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    9714  
    9715     ;; 
    9716 esac 
    9717 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9718 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9719 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9720   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9721 else 
    9722   ac_cv_header_winsock2_h=$ac_header_preproc 
    9723 fi 
    9724 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9725 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9726  
    9727 fi 
    9728 if test $ac_cv_header_winsock2_h = yes; then 
    9729   cat >>confdefs.h <<\_ACEOF 
    9730 #define PJ_HAS_WINSOCK2_H 1 
    9731 _ACEOF 
    9732  
    9733 fi 
    9734  
    9735  
    9736 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    9737 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
    9738 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    9739   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9740 else 
    9741   cat >conftest.$ac_ext <<_ACEOF 
    9742 /* confdefs.h.  */ 
    9743 _ACEOF 
    9744 cat confdefs.h >>conftest.$ac_ext 
    9745 cat >>conftest.$ac_ext <<_ACEOF 
    9746 /* end confdefs.h.  */ 
    9747 #if PJ_HAS_WINSOCK2_H 
     4770" 
     4771if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4772  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
     4773 
     4774fi 
     4775 
     4776 
     4777ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
     4778if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4779  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
     4780 
     4781fi 
     4782 
     4783 
     4784ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
     4785if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4786  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
     4787if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4788  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
     4789 
     4790fi 
     4791 
     4792fi 
     4793 
     4794 
     4795ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
     4796if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4797  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
     4798 
     4799fi 
     4800 
     4801 
     4802ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
     4803if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4804  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
     4805 
     4806fi 
     4807 
     4808 
     4809ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
     4810if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4811  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
     4812 
     4813fi 
     4814 
     4815 
     4816ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
     4817if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4818  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
     4819 
     4820fi 
     4821 
     4822 
     4823ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
     4824if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4825  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
     4826 
     4827fi 
     4828 
     4829 
     4830ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
     4831if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4832  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
     4833 
     4834fi 
     4835 
     4836 
     4837ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
     4838if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4839  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
     4840 
     4841fi 
     4842 
     4843 
     4844ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
     4845if test "x$ac_cv_header_string_h" = x""yes; then : 
     4846  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
     4847 
     4848fi 
     4849 
     4850 
     4851ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
     4852if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4853  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
     4854 
     4855fi 
     4856 
     4857 
     4858ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
     4859if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4860  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
     4861 
     4862fi 
     4863 
     4864 
     4865ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
     4866if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4867  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
     4868 
     4869fi 
     4870 
     4871 
     4872ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
     4873if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4874  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
     4875 
     4876fi 
     4877 
     4878 
     4879ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
     4880if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4881  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
     4882 
     4883fi 
     4884 
     4885 
     4886ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
     4887if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4888  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
     4889 
     4890fi 
     4891 
     4892 
     4893ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
     4894if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4895  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
     4896 
     4897fi 
     4898 
     4899 
     4900ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
     4901if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     4902  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
     4903 
     4904fi 
     4905 
     4906 
     4907ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 
     4908if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 
     4909  $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 
     4910 
     4911fi 
     4912 
     4913 
     4914ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
     4915if test "x$ac_cv_header_time_h" = x""yes; then : 
     4916  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
     4917 
     4918fi 
     4919 
     4920 
     4921ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
     4922if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     4923  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
     4924 
     4925fi 
     4926 
     4927 
     4928ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
     4929if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     4930  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
     4931 
     4932fi 
     4933 
     4934 
     4935ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
     4936if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     4937  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
     4938 
     4939fi 
     4940 
     4941 
     4942ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
    97484943                  #     include <winsock2.h> 
    97494944                  #elif PJ_HAS_WINSOCK_H 
     
    97514946                  #endif 
    97524947 
    9753  
    9754 #include <mswsock.h> 
    9755 _ACEOF 
    9756 rm -f conftest.$ac_objext 
    9757 if { (ac_try="$ac_compile" 
    9758 case "(($ac_try" in 
    9759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9760   *) ac_try_echo=$ac_try;; 
    9761 esac 
    9762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9763   (eval "$ac_compile") 2>conftest.er1 
    9764   ac_status=$? 
    9765   grep -v '^ *+' conftest.er1 >conftest.err 
    9766   rm -f conftest.er1 
    9767   cat conftest.err >&5 
    9768   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9769   (exit $ac_status); } && { 
    9770          test -z "$ac_c_werror_flag" || 
    9771          test ! -s conftest.err 
    9772        } && test -s conftest.$ac_objext; then 
    9773   ac_cv_header_mswsock_h=yes 
    9774 else 
    9775   echo "$as_me: failed program was:" >&5 
    9776 sed 's/^/| /' conftest.$ac_ext >&5 
    9777  
    9778         ac_cv_header_mswsock_h=no 
    9779 fi 
    9780  
    9781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9782 fi 
    9783 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    9784 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
    9785 if test $ac_cv_header_mswsock_h = yes; then 
    9786   cat >>confdefs.h <<\_ACEOF 
    9787 #define PJ_HAS_MSWSOCK_H 1 
    9788 _ACEOF 
    9789  
    9790 fi 
    9791  
    9792  
    9793 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9794   { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9795 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9796 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9797   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9798 fi 
    9799 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9800 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9801 else 
    9802   # Is the header compilable? 
    9803 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
    9804 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
    9805 cat >conftest.$ac_ext <<_ACEOF 
    9806 /* confdefs.h.  */ 
    9807 _ACEOF 
    9808 cat confdefs.h >>conftest.$ac_ext 
    9809 cat >>conftest.$ac_ext <<_ACEOF 
    9810 /* end confdefs.h.  */ 
    9811 $ac_includes_default 
    9812 #include <ws2tcpip.h> 
    9813 _ACEOF 
    9814 rm -f conftest.$ac_objext 
    9815 if { (ac_try="$ac_compile" 
    9816 case "(($ac_try" in 
    9817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9818   *) ac_try_echo=$ac_try;; 
    9819 esac 
    9820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9821   (eval "$ac_compile") 2>conftest.er1 
    9822   ac_status=$? 
    9823   grep -v '^ *+' conftest.er1 >conftest.err 
    9824   rm -f conftest.er1 
    9825   cat conftest.err >&5 
    9826   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9827   (exit $ac_status); } && { 
    9828          test -z "$ac_c_werror_flag" || 
    9829          test ! -s conftest.err 
    9830        } && test -s conftest.$ac_objext; then 
    9831   ac_header_compiler=yes 
    9832 else 
    9833   echo "$as_me: failed program was:" >&5 
    9834 sed 's/^/| /' conftest.$ac_ext >&5 
    9835  
    9836         ac_header_compiler=no 
    9837 fi 
    9838  
    9839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9840 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9841 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9842  
    9843 # Is the header present? 
    9844 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
    9845 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
    9846 cat >conftest.$ac_ext <<_ACEOF 
    9847 /* confdefs.h.  */ 
    9848 _ACEOF 
    9849 cat confdefs.h >>conftest.$ac_ext 
    9850 cat >>conftest.$ac_ext <<_ACEOF 
    9851 /* end confdefs.h.  */ 
    9852 #include <ws2tcpip.h> 
    9853 _ACEOF 
    9854 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9855 case "(($ac_try" in 
    9856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9857   *) ac_try_echo=$ac_try;; 
    9858 esac 
    9859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9860   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9861   ac_status=$? 
    9862   grep -v '^ *+' conftest.er1 >conftest.err 
    9863   rm -f conftest.er1 
    9864   cat conftest.err >&5 
    9865   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9866   (exit $ac_status); } >/dev/null && { 
    9867          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9868          test ! -s conftest.err 
    9869        }; then 
    9870   ac_header_preproc=yes 
    9871 else 
    9872   echo "$as_me: failed program was:" >&5 
    9873 sed 's/^/| /' conftest.$ac_ext >&5 
    9874  
    9875   ac_header_preproc=no 
    9876 fi 
    9877  
    9878 rm -f conftest.err conftest.$ac_ext 
    9879 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9880 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9881  
    9882 # So?  What about this header? 
    9883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9884   yes:no: ) 
    9885     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9886 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9887     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
    9888 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
    9889     ac_header_preproc=yes 
    9890     ;; 
    9891   no:yes:* ) 
    9892     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
    9893 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
    9894     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
    9895 echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
    9896     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
    9897 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
    9898     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9899 echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9900     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
    9901 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
    9902     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
    9903 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
    9904  
    9905     ;; 
    9906 esac 
    9907 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9908 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9909 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9910   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9911 else 
    9912   ac_cv_header_ws2tcpip_h=$ac_header_preproc 
    9913 fi 
    9914 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9915 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9916  
    9917 fi 
    9918 if test $ac_cv_header_ws2tcpip_h = yes; then 
    9919   cat >>confdefs.h <<\_ACEOF 
    9920 #define PJ_HAS_WS2TCPIP_H 1 
    9921 _ACEOF 
    9922  
    9923 fi 
    9924  
    9925  
    9926 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9927   { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9928 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    9929 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9930   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9931 fi 
    9932 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9933 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    9934 else 
    9935   # Is the header compilable? 
    9936 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
    9937 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
    9938 cat >conftest.$ac_ext <<_ACEOF 
    9939 /* confdefs.h.  */ 
    9940 _ACEOF 
    9941 cat confdefs.h >>conftest.$ac_ext 
    9942 cat >>conftest.$ac_ext <<_ACEOF 
    9943 /* end confdefs.h.  */ 
    9944 $ac_includes_default 
    9945 #include <uuid/uuid.h> 
    9946 _ACEOF 
    9947 rm -f conftest.$ac_objext 
    9948 if { (ac_try="$ac_compile" 
    9949 case "(($ac_try" in 
    9950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9951   *) ac_try_echo=$ac_try;; 
    9952 esac 
    9953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9954   (eval "$ac_compile") 2>conftest.er1 
    9955   ac_status=$? 
    9956   grep -v '^ *+' conftest.er1 >conftest.err 
    9957   rm -f conftest.er1 
    9958   cat conftest.err >&5 
    9959   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9960   (exit $ac_status); } && { 
    9961          test -z "$ac_c_werror_flag" || 
    9962          test ! -s conftest.err 
    9963        } && test -s conftest.$ac_objext; then 
    9964   ac_header_compiler=yes 
    9965 else 
    9966   echo "$as_me: failed program was:" >&5 
    9967 sed 's/^/| /' conftest.$ac_ext >&5 
    9968  
    9969         ac_header_compiler=no 
    9970 fi 
    9971  
    9972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9973 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9974 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9975  
    9976 # Is the header present? 
    9977 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
    9978 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
    9979 cat >conftest.$ac_ext <<_ACEOF 
    9980 /* confdefs.h.  */ 
    9981 _ACEOF 
    9982 cat confdefs.h >>conftest.$ac_ext 
    9983 cat >>conftest.$ac_ext <<_ACEOF 
    9984 /* end confdefs.h.  */ 
    9985 #include <uuid/uuid.h> 
    9986 _ACEOF 
    9987 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9988 case "(($ac_try" in 
    9989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9990   *) ac_try_echo=$ac_try;; 
    9991 esac 
    9992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9993   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9994   ac_status=$? 
    9995   grep -v '^ *+' conftest.er1 >conftest.err 
    9996   rm -f conftest.er1 
    9997   cat conftest.err >&5 
    9998   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9999   (exit $ac_status); } >/dev/null && { 
    10000          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10001          test ! -s conftest.err 
    10002        }; then 
    10003   ac_header_preproc=yes 
    10004 else 
    10005   echo "$as_me: failed program was:" >&5 
    10006 sed 's/^/| /' conftest.$ac_ext >&5 
    10007  
    10008   ac_header_preproc=no 
    10009 fi 
    10010  
    10011 rm -f conftest.err conftest.$ac_ext 
    10012 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10013 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    10014  
    10015 # So?  What about this header? 
    10016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10017   yes:no: ) 
    10018     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10019 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10020     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
    10021 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
    10022     ac_header_preproc=yes 
    10023     ;; 
    10024   no:yes:* ) 
    10025     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
    10026 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
    10027     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
    10028 echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
    10029     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
    10030 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
    10031     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10032 echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10033     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
    10034 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
    10035     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
    10036 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
    10037  
    10038     ;; 
    10039 esac 
    10040 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    10041 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    10042 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    10043   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10044 else 
    10045   ac_cv_header_uuid_uuid_h=$ac_header_preproc 
    10046 fi 
    10047 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    10048 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    10049  
    10050 fi 
    10051 if test $ac_cv_header_uuid_uuid_h = yes; then 
     4948" 
     4949if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     4950  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
     4951 
     4952fi 
     4953 
     4954 
     4955ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
     4956if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     4957  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
     4958 
     4959fi 
     4960 
     4961 
     4962ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
     4963if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
    100524964  ac_has_uuid_h=1 
    100534965fi 
    100544966 
    100554967 
    10056 { echo "$as_me:$LINENO: checking for net/if.h" >&5 
    10057 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
    10058 if test "${ac_cv_header_net_if_h+set}" = set; then 
    10059   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10060 else 
    10061   cat >conftest.$ac_ext <<_ACEOF 
    10062 /* confdefs.h.  */ 
    10063 _ACEOF 
    10064 cat confdefs.h >>conftest.$ac_ext 
    10065 cat >>conftest.$ac_ext <<_ACEOF 
    10066 /* end confdefs.h.  */ 
    10067 #if PJ_HAS_SYS_TYPES_H 
     4968ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
    100684969                  #     include <sys/types.h> 
    100694970                  #endif 
     
    100734974                  #endif 
    100744975 
    10075  
    10076 #include <net/if.h> 
    10077 _ACEOF 
    10078 rm -f conftest.$ac_objext 
    10079 if { (ac_try="$ac_compile" 
    10080 case "(($ac_try" in 
    10081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10082   *) ac_try_echo=$ac_try;; 
    10083 esac 
    10084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10085   (eval "$ac_compile") 2>conftest.er1 
    10086   ac_status=$? 
    10087   grep -v '^ *+' conftest.er1 >conftest.err 
    10088   rm -f conftest.er1 
    10089   cat conftest.err >&5 
    10090   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10091   (exit $ac_status); } && { 
    10092          test -z "$ac_c_werror_flag" || 
    10093          test ! -s conftest.err 
    10094        } && test -s conftest.$ac_objext; then 
    10095   ac_cv_header_net_if_h=yes 
    10096 else 
    10097   echo "$as_me: failed program was:" >&5 
    10098 sed 's/^/| /' conftest.$ac_ext >&5 
    10099  
    10100         ac_cv_header_net_if_h=no 
    10101 fi 
    10102  
    10103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10104 fi 
    10105 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
    10106 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
    10107 if test $ac_cv_header_net_if_h = yes; then 
    10108   cat >>confdefs.h <<\_ACEOF 
    10109 #define PJ_HAS_NET_IF_H 1 
    10110 _ACEOF 
    10111  
    10112 fi 
    10113  
    10114  
    10115 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    10116 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
     4976" 
     4977if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     4978  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
     4979 
     4980fi 
     4981 
     4982 
     4983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
     4984$as_echo "Setting PJ_OS_NAME to $target" >&6; } 
    101174985cat >>confdefs.h <<_ACEOF 
    101184986#define PJ_OS_NAME "$target" 
     
    101204988 
    101214989 
    10122 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    10123 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    10124 cat >>confdefs.h <<\_ACEOF 
    10125 #define PJ_HAS_ERRNO_VAR 1 
    10126 _ACEOF 
    10127  
    10128  
    10129 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    10130 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    10131 cat >>confdefs.h <<\_ACEOF 
    10132 #define PJ_HAS_HIGH_RES_TIMER 1 
    10133 _ACEOF 
    10134  
    10135  
    10136 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    10137 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
    10138 cat >>confdefs.h <<\_ACEOF 
    10139 #define PJ_HAS_MALLOC 1 
    10140 _ACEOF 
    10141  
    10142  
    10143 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    10144 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    10145 cat >>confdefs.h <<\_ACEOF 
    10146 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    10147 _ACEOF 
    10148  
    10149  
    10150 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    10151 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    10152 cat >>confdefs.h <<\_ACEOF 
    10153 #define PJ_ATOMIC_VALUE_TYPE long 
    10154 _ACEOF 
    10155  
    10156  
    10157 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
    10158 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
    10159 cat >conftest.$ac_ext <<_ACEOF 
    10160 /* confdefs.h.  */ 
    10161 _ACEOF 
    10162 cat confdefs.h >>conftest.$ac_ext 
    10163 cat >>conftest.$ac_ext <<_ACEOF 
     4990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     4991$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     4992$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
     4993 
     4994 
     4995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     4996$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     4997$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
     4998 
     4999 
     5000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
     5001$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
     5002$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
     5003 
     5004 
     5005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     5006$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     5007$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
     5008 
     5009 
     5010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     5011$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     5012$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
     5013 
     5014 
     5015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
     5016$as_echo_n "checking if inet_aton() is available... " >&6; } 
     5017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101645018/* end confdefs.h.  */ 
    101655019#include <sys/types.h> 
     
    101745028} 
    101755029_ACEOF 
    10176 rm -f conftest.$ac_objext 
    10177 if { (ac_try="$ac_compile" 
    10178 case "(($ac_try" in 
    10179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10180   *) ac_try_echo=$ac_try;; 
    10181 esac 
    10182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10183   (eval "$ac_compile") 2>conftest.er1 
    10184   ac_status=$? 
    10185   grep -v '^ *+' conftest.er1 >conftest.err 
    10186   rm -f conftest.er1 
    10187   cat conftest.err >&5 
    10188   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10189   (exit $ac_status); } && { 
    10190          test -z "$ac_c_werror_flag" || 
    10191          test ! -s conftest.err 
    10192        } && test -s conftest.$ac_objext; then 
    10193   cat >>confdefs.h <<\_ACEOF 
    10194 #define PJ_SOCK_HAS_INET_ATON 1 
    10195 _ACEOF 
    10196  
    10197                    { echo "$as_me:$LINENO: result: yes" >&5 
    10198 echo "${ECHO_T}yes" >&6; } 
    10199 else 
    10200   echo "$as_me: failed program was:" >&5 
    10201 sed 's/^/| /' conftest.$ac_ext >&5 
    10202  
    10203         { echo "$as_me:$LINENO: result: no" >&5 
    10204 echo "${ECHO_T}no" >&6; } 
    10205 fi 
    10206  
     5030if ac_fn_c_try_compile "$LINENO"; then : 
     5031  $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
     5032 
     5033                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5034$as_echo "yes" >&6; } 
     5035else 
     5036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5037$as_echo "no" >&6; } 
     5038fi 
    102075039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102085040 
    10209 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
    10210 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
    10211 cat >conftest.$ac_ext <<_ACEOF 
    10212 /* confdefs.h.  */ 
    10213 _ACEOF 
    10214 cat confdefs.h >>conftest.$ac_ext 
    10215 cat >>conftest.$ac_ext <<_ACEOF 
     5041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
     5042$as_echo_n "checking if inet_pton() is available... " >&6; } 
     5043cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102165044/* end confdefs.h.  */ 
    102175045#include <sys/types.h> 
     
    102265054} 
    102275055_ACEOF 
    10228 rm -f conftest.$ac_objext 
    10229 if { (ac_try="$ac_compile" 
    10230 case "(($ac_try" in 
    10231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10232   *) ac_try_echo=$ac_try;; 
    10233 esac 
    10234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10235   (eval "$ac_compile") 2>conftest.er1 
    10236   ac_status=$? 
    10237   grep -v '^ *+' conftest.er1 >conftest.err 
    10238   rm -f conftest.er1 
    10239   cat conftest.err >&5 
    10240   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10241   (exit $ac_status); } && { 
    10242          test -z "$ac_c_werror_flag" || 
    10243          test ! -s conftest.err 
    10244        } && test -s conftest.$ac_objext; then 
    10245   cat >>confdefs.h <<\_ACEOF 
    10246 #define PJ_SOCK_HAS_INET_PTON 1 
    10247 _ACEOF 
    10248  
    10249                    { echo "$as_me:$LINENO: result: yes" >&5 
    10250 echo "${ECHO_T}yes" >&6; } 
    10251 else 
    10252   echo "$as_me: failed program was:" >&5 
    10253 sed 's/^/| /' conftest.$ac_ext >&5 
    10254  
    10255         { echo "$as_me:$LINENO: result: no" >&5 
    10256 echo "${ECHO_T}no" >&6; } 
    10257 fi 
    10258  
     5056if ac_fn_c_try_compile "$LINENO"; then : 
     5057  $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
     5058 
     5059                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5060$as_echo "yes" >&6; } 
     5061else 
     5062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5063$as_echo "no" >&6; } 
     5064fi 
    102595065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102605066 
    10261 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
    10262 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
    10263 cat >conftest.$ac_ext <<_ACEOF 
    10264 /* confdefs.h.  */ 
    10265 _ACEOF 
    10266 cat confdefs.h >>conftest.$ac_ext 
    10267 cat >>conftest.$ac_ext <<_ACEOF 
     5067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
     5068$as_echo_n "checking if inet_ntop() is available... " >&6; } 
     5069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102685070/* end confdefs.h.  */ 
    102695071#include <sys/types.h> 
     
    102785080} 
    102795081_ACEOF 
    10280 rm -f conftest.$ac_objext 
    10281 if { (ac_try="$ac_compile" 
    10282 case "(($ac_try" in 
    10283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10284   *) ac_try_echo=$ac_try;; 
    10285 esac 
    10286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10287   (eval "$ac_compile") 2>conftest.er1 
    10288   ac_status=$? 
    10289   grep -v '^ *+' conftest.er1 >conftest.err 
    10290   rm -f conftest.er1 
    10291   cat conftest.err >&5 
    10292   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10293   (exit $ac_status); } && { 
    10294          test -z "$ac_c_werror_flag" || 
    10295          test ! -s conftest.err 
    10296        } && test -s conftest.$ac_objext; then 
    10297   cat >>confdefs.h <<\_ACEOF 
    10298 #define PJ_SOCK_HAS_INET_NTOP 1 
    10299 _ACEOF 
    10300  
    10301                    { echo "$as_me:$LINENO: result: yes" >&5 
    10302 echo "${ECHO_T}yes" >&6; } 
    10303 else 
    10304   echo "$as_me: failed program was:" >&5 
    10305 sed 's/^/| /' conftest.$ac_ext >&5 
    10306  
    10307         { echo "$as_me:$LINENO: result: no" >&5 
    10308 echo "${ECHO_T}no" >&6; } 
    10309 fi 
    10310  
     5082if ac_fn_c_try_compile "$LINENO"; then : 
     5083  $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
     5084 
     5085                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5086$as_echo "yes" >&6; } 
     5087else 
     5088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5089$as_echo "no" >&6; } 
     5090fi 
    103115091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103125092 
    10313 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
    10314 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
    10315 cat >conftest.$ac_ext <<_ACEOF 
    10316 /* confdefs.h.  */ 
    10317 _ACEOF 
    10318 cat confdefs.h >>conftest.$ac_ext 
    10319 cat >>conftest.$ac_ext <<_ACEOF 
     5093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
     5094$as_echo_n "checking if getaddrinfo() is available... " >&6; } 
     5095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103205096/* end confdefs.h.  */ 
    103215097#include <sys/types.h> 
     
    103305106} 
    103315107_ACEOF 
    10332 rm -f conftest.$ac_objext 
    10333 if { (ac_try="$ac_compile" 
    10334 case "(($ac_try" in 
    10335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10336   *) ac_try_echo=$ac_try;; 
    10337 esac 
    10338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10339   (eval "$ac_compile") 2>conftest.er1 
    10340   ac_status=$? 
    10341   grep -v '^ *+' conftest.er1 >conftest.err 
    10342   rm -f conftest.er1 
    10343   cat conftest.err >&5 
    10344   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10345   (exit $ac_status); } && { 
    10346          test -z "$ac_c_werror_flag" || 
    10347          test ! -s conftest.err 
    10348        } && test -s conftest.$ac_objext; then 
    10349   cat >>confdefs.h <<\_ACEOF 
    10350 #define PJ_SOCK_HAS_GETADDRINFO 1 
    10351 _ACEOF 
    10352  
    10353                    { echo "$as_me:$LINENO: result: yes" >&5 
    10354 echo "${ECHO_T}yes" >&6; } 
    10355 else 
    10356   echo "$as_me: failed program was:" >&5 
    10357 sed 's/^/| /' conftest.$ac_ext >&5 
    10358  
    10359         { echo "$as_me:$LINENO: result: no" >&5 
    10360 echo "${ECHO_T}no" >&6; } 
    10361 fi 
    10362  
     5108if ac_fn_c_try_compile "$LINENO"; then : 
     5109  $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
     5110 
     5111                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5112$as_echo "yes" >&6; } 
     5113else 
     5114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5115$as_echo "no" >&6; } 
     5116fi 
    103635117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103645118 
    10365 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    10366 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
    10367 cat >conftest.$ac_ext <<_ACEOF 
    10368 /* confdefs.h.  */ 
    10369 _ACEOF 
    10370 cat confdefs.h >>conftest.$ac_ext 
    10371 cat >>conftest.$ac_ext <<_ACEOF 
     5119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
     5120$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
     5121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103725122/* end confdefs.h.  */ 
    103735123#include <sys/types.h> 
     
    103835133} 
    103845134_ACEOF 
    10385 rm -f conftest.$ac_objext 
    10386 if { (ac_try="$ac_compile" 
    10387 case "(($ac_try" in 
    10388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10389   *) ac_try_echo=$ac_try;; 
    10390 esac 
    10391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10392   (eval "$ac_compile") 2>conftest.er1 
    10393   ac_status=$? 
    10394   grep -v '^ *+' conftest.er1 >conftest.err 
    10395   rm -f conftest.er1 
    10396   cat conftest.err >&5 
    10397   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10398   (exit $ac_status); } && { 
    10399          test -z "$ac_c_werror_flag" || 
    10400          test ! -s conftest.err 
    10401        } && test -s conftest.$ac_objext; then 
    10402   cat >>confdefs.h <<\_ACEOF 
    10403 #define PJ_SOCKADDR_HAS_LEN 1 
    10404 _ACEOF 
    10405  
    10406                    { echo "$as_me:$LINENO: result: yes" >&5 
    10407 echo "${ECHO_T}yes" >&6; } 
    10408 else 
    10409   echo "$as_me: failed program was:" >&5 
    10410 sed 's/^/| /' conftest.$ac_ext >&5 
    10411  
    10412         { echo "$as_me:$LINENO: result: no" >&5 
    10413 echo "${ECHO_T}no" >&6; } 
    10414 fi 
    10415  
     5135if ac_fn_c_try_compile "$LINENO"; then : 
     5136  $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
     5137 
     5138                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5139$as_echo "yes" >&6; } 
     5140else 
     5141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5142$as_echo "no" >&6; } 
     5143fi 
    104165144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104175145 
    10418 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    10419 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
    10420 cat >conftest.$ac_ext <<_ACEOF 
    10421 /* confdefs.h.  */ 
    10422 _ACEOF 
    10423 cat confdefs.h >>conftest.$ac_ext 
    10424 cat >>conftest.$ac_ext <<_ACEOF 
     5146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
     5147$as_echo_n "checking if socklen_t is available... " >&6; } 
     5148cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104255149/* end confdefs.h.  */ 
    104265150#include <sys/types.h> 
     
    104345158} 
    104355159_ACEOF 
    10436 rm -f conftest.$ac_objext 
    10437 if { (ac_try="$ac_compile" 
    10438 case "(($ac_try" in 
    10439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10440   *) ac_try_echo=$ac_try;; 
    10441 esac 
    10442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10443   (eval "$ac_compile") 2>conftest.er1 
    10444   ac_status=$? 
    10445   grep -v '^ *+' conftest.er1 >conftest.err 
    10446   rm -f conftest.er1 
    10447   cat conftest.err >&5 
    10448   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10449   (exit $ac_status); } && { 
    10450          test -z "$ac_c_werror_flag" || 
    10451          test ! -s conftest.err 
    10452        } && test -s conftest.$ac_objext; then 
    10453   cat >>confdefs.h <<\_ACEOF 
    10454 #define PJ_HAS_SOCKLEN_T 1 
    10455 _ACEOF 
    10456  
    10457                    { echo "$as_me:$LINENO: result: yes" >&5 
    10458 echo "${ECHO_T}yes" >&6; } 
    10459 else 
    10460   echo "$as_me: failed program was:" >&5 
    10461 sed 's/^/| /' conftest.$ac_ext >&5 
    10462  
    10463         { echo "$as_me:$LINENO: result: no" >&5 
    10464 echo "${ECHO_T}no" >&6; } 
    10465 fi 
    10466  
     5160if ac_fn_c_try_compile "$LINENO"; then : 
     5161  $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
     5162 
     5163                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5164$as_echo "yes" >&6; } 
     5165else 
     5166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5167$as_echo "no" >&6; } 
     5168fi 
    104675169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104685170 
    10469 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    10470 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
     5171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
     5172$as_echo_n "checking if SO_ERROR is available... " >&6; } 
    104715173case $target in 
    104725174    *mingw* | *cygw* | *win32* | *w32* ) 
    10473         cat >>confdefs.h <<\_ACEOF 
    10474 #define PJ_HAS_SO_ERROR 1 
    10475 _ACEOF 
    10476  
    10477         { echo "$as_me:$LINENO: result: yes" >&5 
    10478 echo "${ECHO_T}yes" >&6; } 
     5175        $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5176 
     5177        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5178$as_echo "yes" >&6; } 
    104795179        ;; 
    104805180    *) 
    10481         cat >conftest.$ac_ext <<_ACEOF 
    10482 /* confdefs.h.  */ 
    10483 _ACEOF 
    10484 cat confdefs.h >>conftest.$ac_ext 
    10485 cat >>conftest.$ac_ext <<_ACEOF 
     5181        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104865182/* end confdefs.h.  */ 
    104875183#include <sys/types.h> 
     
    104975193} 
    104985194_ACEOF 
    10499 rm -f conftest.$ac_objext 
    10500 if { (ac_try="$ac_compile" 
    10501 case "(($ac_try" in 
    10502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10503   *) ac_try_echo=$ac_try;; 
    10504 esac 
    10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10506   (eval "$ac_compile") 2>conftest.er1 
    10507   ac_status=$? 
    10508   grep -v '^ *+' conftest.er1 >conftest.err 
    10509   rm -f conftest.er1 
    10510   cat conftest.err >&5 
    10511   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10512   (exit $ac_status); } && { 
    10513          test -z "$ac_c_werror_flag" || 
    10514          test ! -s conftest.err 
    10515        } && test -s conftest.$ac_objext; then 
    10516   cat >>confdefs.h <<\_ACEOF 
    10517 #define PJ_HAS_SO_ERROR 1 
    10518 _ACEOF 
    10519  
    10520                            { echo "$as_me:$LINENO: result: yes" >&5 
    10521 echo "${ECHO_T}yes" >&6; } 
    10522 else 
    10523   echo "$as_me: failed program was:" >&5 
    10524 sed 's/^/| /' conftest.$ac_ext >&5 
    10525  
    10526         { echo "$as_me:$LINENO: result: no" >&5 
    10527 echo "${ECHO_T}no" >&6; } 
    10528 fi 
    10529  
     5195if ac_fn_c_try_compile "$LINENO"; then : 
     5196  $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5197 
     5198                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5199$as_echo "yes" >&6; } 
     5200else 
     5201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5202$as_echo "no" >&6; } 
     5203fi 
    105305204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    105315205        ;; 
     
    105335207 
    105345208 
    10535 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    10536 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
    10537 cat >conftest.$ac_ext <<_ACEOF 
    10538 /* confdefs.h.  */ 
    10539 _ACEOF 
    10540 cat confdefs.h >>conftest.$ac_ext 
    10541 cat >>conftest.$ac_ext <<_ACEOF 
     5209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
     5210$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
     5211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105425212/* end confdefs.h.  */ 
    105435213#include <pthread.h> 
     
    105505220} 
    105515221_ACEOF 
    10552 rm -f conftest.$ac_objext 
    10553 if { (ac_try="$ac_compile" 
    10554 case "(($ac_try" in 
    10555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10556   *) ac_try_echo=$ac_try;; 
    10557 esac 
    10558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10559   (eval "$ac_compile") 2>conftest.er1 
    10560   ac_status=$? 
    10561   grep -v '^ *+' conftest.er1 >conftest.err 
    10562   rm -f conftest.er1 
    10563   cat conftest.err >&5 
    10564   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10565   (exit $ac_status); } && { 
    10566          test -z "$ac_c_werror_flag" || 
    10567          test ! -s conftest.err 
    10568        } && test -s conftest.$ac_objext; then 
    10569   cat >>confdefs.h <<\_ACEOF 
    10570 #define PJ_EMULATE_RWMUTEX 0 
    10571 _ACEOF 
     5222if ac_fn_c_try_compile "$LINENO"; then : 
     5223  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    105725224 
    105735225                   ac_rwmutex="yes" 
    10574                    { echo "$as_me:$LINENO: result: yes" >&5 
    10575 echo "${ECHO_T}yes" >&6; } 
    10576 else 
    10577   echo "$as_me: failed program was:" >&5 
    10578 sed 's/^/| /' conftest.$ac_ext >&5 
    10579  
    10580         cat >>confdefs.h <<\_ACEOF 
    10581 #define PJ_EMULATE_RWMUTEX 1 
    10582 _ACEOF 
     5226                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5227$as_echo "yes" >&6; } 
     5228else 
     5229  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    105835230 
    105845231                   ac_rwmutex="no" 
    10585                    { echo "$as_me:$LINENO: result: no" >&5 
    10586 echo "${ECHO_T}no" >&6; } 
    10587 fi 
    10588  
     5232                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5233$as_echo "no" >&6; } 
     5234fi 
    105895235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    105905236 
    105915237if test "$ac_rwmutex" = "no"; then 
    10592     { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    10593 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
    10594     cat >conftest.$ac_ext <<_ACEOF 
    10595 /* confdefs.h.  */ 
    10596 _ACEOF 
    10597 cat confdefs.h >>conftest.$ac_ext 
    10598 cat >>conftest.$ac_ext <<_ACEOF 
     5238    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     5239$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
     5240    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105995241/* end confdefs.h.  */ 
    106005242#define _POSIX_READER_WRITER_LOCKS 
     
    106085250} 
    106095251_ACEOF 
    10610 rm -f conftest.$ac_objext 
    10611 if { (ac_try="$ac_compile" 
    10612 case "(($ac_try" in 
    10613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10614   *) ac_try_echo=$ac_try;; 
    10615 esac 
    10616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10617   (eval "$ac_compile") 2>conftest.er1 
    10618   ac_status=$? 
    10619   grep -v '^ *+' conftest.er1 >conftest.err 
    10620   rm -f conftest.er1 
    10621   cat conftest.err >&5 
    10622   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10623   (exit $ac_status); } && { 
    10624          test -z "$ac_c_werror_flag" || 
    10625          test ! -s conftest.err 
    10626        } && test -s conftest.$ac_objext; then 
    10627   cat >>confdefs.h <<\_ACEOF 
    10628 #define PJ_EMULATE_RWMUTEX 0 
    10629 _ACEOF 
     5252if ac_fn_c_try_compile "$LINENO"; then : 
     5253  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    106305254 
    106315255                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    10632                        { echo "$as_me:$LINENO: result: yes" >&5 
    10633 echo "${ECHO_T}yes" >&6; } 
    10634 else 
    10635   echo "$as_me: failed program was:" >&5 
    10636 sed 's/^/| /' conftest.$ac_ext >&5 
    10637  
    10638         cat >>confdefs.h <<\_ACEOF 
    10639 #define PJ_EMULATE_RWMUTEX 1 
    10640 _ACEOF 
    10641  
    10642                        { echo "$as_me:$LINENO: result: no" >&5 
    10643 echo "${ECHO_T}no" >&6; } 
    10644 fi 
    10645  
     5256                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5257$as_echo "yes" >&6; } 
     5258else 
     5259  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     5260 
     5261                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5262$as_echo "no" >&6; } 
     5263fi 
    106465264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106475265fi 
    106485266 
    10649 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
    10650 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
    10651 cat >conftest.$ac_ext <<_ACEOF 
    10652 /* confdefs.h.  */ 
    10653 _ACEOF 
    10654 cat confdefs.h >>conftest.$ac_ext 
    10655 cat >>conftest.$ac_ext <<_ACEOF 
     5267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
     5268$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
     5269cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106565270/* end confdefs.h.  */ 
    106575271#include <pthread.h> 
     
    106645278} 
    106655279_ACEOF 
    10666 rm -f conftest.$ac_objext 
    10667 if { (ac_try="$ac_compile" 
    10668 case "(($ac_try" in 
    10669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10670   *) ac_try_echo=$ac_try;; 
    10671 esac 
    10672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10673   (eval "$ac_compile") 2>conftest.er1 
    10674   ac_status=$? 
    10675   grep -v '^ *+' conftest.er1 >conftest.err 
    10676   rm -f conftest.er1 
    10677   cat conftest.err >&5 
    10678   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10679   (exit $ac_status); } && { 
    10680          test -z "$ac_c_werror_flag" || 
    10681          test ! -s conftest.err 
    10682        } && test -s conftest.$ac_objext; then 
    10683   cat >>confdefs.h <<\_ACEOF 
    10684 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
    10685 _ACEOF 
    10686  
    10687                    { echo "$as_me:$LINENO: result: yes" >&5 
    10688 echo "${ECHO_T}yes" >&6; } 
    10689 else 
    10690   echo "$as_me: failed program was:" >&5 
    10691 sed 's/^/| /' conftest.$ac_ext >&5 
    10692  
    10693         { echo "$as_me:$LINENO: result: no" >&5 
    10694 echo "${ECHO_T}no" >&6; } 
    10695 fi 
    10696  
     5280if ac_fn_c_try_compile "$LINENO"; then : 
     5281  $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
     5282 
     5283                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5284$as_echo "yes" >&6; } 
     5285else 
     5286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5287$as_echo "no" >&6; } 
     5288fi 
    106975289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106985290 
    10699 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
    10700 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
    10701 cat >conftest.$ac_ext <<_ACEOF 
    10702 /* confdefs.h.  */ 
    10703 _ACEOF 
    10704 cat confdefs.h >>conftest.$ac_ext 
    10705 cat >>conftest.$ac_ext <<_ACEOF 
     5291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
     5292$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
     5293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    107065294/* end confdefs.h.  */ 
    107075295#include <pthread.h> 
     
    107155303} 
    107165304_ACEOF 
    10717 rm -f conftest.$ac_objext 
    10718 if { (ac_try="$ac_compile" 
    10719 case "(($ac_try" in 
    10720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10721   *) ac_try_echo=$ac_try;; 
    10722 esac 
    10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10724   (eval "$ac_compile") 2>conftest.er1 
    10725   ac_status=$? 
    10726   grep -v '^ *+' conftest.er1 >conftest.err 
    10727   rm -f conftest.er1 
    10728   cat conftest.err >&5 
    10729   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10730   (exit $ac_status); } && { 
    10731          test -z "$ac_c_werror_flag" || 
    10732          test ! -s conftest.err 
    10733        } && test -s conftest.$ac_objext; then 
    10734   cat >>confdefs.h <<\_ACEOF 
    10735 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
    10736 _ACEOF 
    10737  
    10738                    { echo "$as_me:$LINENO: result: yes" >&5 
    10739 echo "${ECHO_T}yes" >&6; } 
    10740 else 
    10741   echo "$as_me: failed program was:" >&5 
    10742 sed 's/^/| /' conftest.$ac_ext >&5 
    10743  
    10744         { echo "$as_me:$LINENO: result: no" >&5 
    10745 echo "${ECHO_T}no" >&6; } 
    10746 fi 
    10747  
     5305if ac_fn_c_try_compile "$LINENO"; then : 
     5306  $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
     5307 
     5308                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5309$as_echo "yes" >&6; } 
     5310else 
     5311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5312$as_echo "no" >&6; } 
     5313fi 
    107485314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107495315 
    107505316 
    10751 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 
    10752 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
     5317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
     5318$as_echo_n "checking ioqueue backend... " >&6; } 
    107535319# Check whether --enable-epoll was given. 
    10754 if test "${enable_epoll+set}" = set; then 
     5320if test "${enable_epoll+set}" = set; then : 
    107555321  enableval=$enable_epoll; 
    107565322                ac_os_objs=ioqueue_epoll.o 
    10757                 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
    10758 echo "${ECHO_T}/dev/epoll" >&6; } 
     5323                { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
     5324$as_echo "/dev/epoll" >&6; } 
    107595325 
    107605326else 
    107615327 
    107625328                ac_os_objs=ioqueue_select.o 
    10763                 { echo "$as_me:$LINENO: result: select()" >&5 
    10764 echo "${ECHO_T}select()" >&6; } 
     5329                { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
     5330$as_echo "select()" >&6; } 
    107655331 
    107665332fi 
     
    107955361 
    107965362# Check whether --with-external-speex was given. 
    10797 if test "${with_external_speex+set}" = set; then 
     5363if test "${with_external_speex+set}" = set; then : 
    107985364  withval=$with_external_speex; 
    107995365        if test "x$with_external_speex" != "xno"; then 
    108005366                # Test Speex installation 
    10801                 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
    10802 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
    10803                 cat >conftest.$ac_ext <<_ACEOF 
    10804 /* confdefs.h.  */ 
    10805 _ACEOF 
    10806 cat confdefs.h >>conftest.$ac_ext 
    10807 cat >>conftest.$ac_ext <<_ACEOF 
     5367                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
     5368$as_echo_n "checking if external Speex devkit is installed... " >&6; } 
     5369                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108085370/* end confdefs.h.  */ 
    108095371#include <speex/speex.h> 
     
    108185380} 
    108195381_ACEOF 
    10820 rm -f conftest.$ac_objext 
    10821 if { (ac_try="$ac_compile" 
    10822 case "(($ac_try" in 
    10823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10824   *) ac_try_echo=$ac_try;; 
    10825 esac 
    10826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10827   (eval "$ac_compile") 2>conftest.er1 
    10828   ac_status=$? 
    10829   grep -v '^ *+' conftest.er1 >conftest.err 
    10830   rm -f conftest.er1 
    10831   cat conftest.err >&5 
    10832   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10833   (exit $ac_status); } && { 
    10834          test -z "$ac_c_werror_flag" || 
    10835          test ! -s conftest.err 
    10836        } && test -s conftest.$ac_objext; then 
    10837   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10838 echo "${ECHO_T}yes!!" >&6; } 
    10839                                    cat >>confdefs.h <<\_ACEOF 
    10840 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
    10841 _ACEOF 
     5382if ac_fn_c_try_compile "$LINENO"; then : 
     5383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5384$as_echo "yes!!" >&6; } 
     5385                                   $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
    108425386 
    108435387                                   ac_external_speex="1" 
    108445388 
    108455389else 
    10846   echo "$as_me: failed program was:" >&5 
    10847 sed 's/^/| /' conftest.$ac_ext >&5 
    10848  
    10849         { { 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 
    10850 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;} 
    10851    { (exit 1); exit 1; }; } 
    10852 fi 
    10853  
     5390  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 
     5391fi 
    108545392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    108555393        fi 
     
    108635401 
    108645402# Check whether --with-external-gsm was given. 
    10865 if test "${with_external_gsm+set}" = set; then 
     5403if test "${with_external_gsm+set}" = set; then : 
    108665404  withval=$with_external_gsm; 
    108675405        if test "x$with_external_gsm" != "xno"; then 
    108685406                # Test GSM library installation 
    10869                 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    10870 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
    10871                 cat >conftest.$ac_ext <<_ACEOF 
    10872 /* confdefs.h.  */ 
    10873 _ACEOF 
    10874 cat confdefs.h >>conftest.$ac_ext 
    10875 cat >>conftest.$ac_ext <<_ACEOF 
     5407                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     5408$as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
     5409                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108765410/* end confdefs.h.  */ 
    108775411#include <gsm/gsm.h> 
     
    108845418} 
    108855419_ACEOF 
    10886 rm -f conftest.$ac_objext 
    10887 if { (ac_try="$ac_compile" 
    10888 case "(($ac_try" in 
    10889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10890   *) ac_try_echo=$ac_try;; 
    10891 esac 
    10892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10893   (eval "$ac_compile") 2>conftest.er1 
    10894   ac_status=$? 
    10895   grep -v '^ *+' conftest.er1 >conftest.err 
    10896   rm -f conftest.er1 
    10897   cat conftest.err >&5 
    10898   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10899   (exit $ac_status); } && { 
    10900          test -z "$ac_c_werror_flag" || 
    10901          test ! -s conftest.err 
    10902        } && test -s conftest.$ac_objext; then 
    10903   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10904 echo "${ECHO_T}yes!!" >&6; } 
    10905                      cat >>confdefs.h <<\_ACEOF 
    10906 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10907 _ACEOF 
    10908  
    10909                      cat >>confdefs.h <<\_ACEOF 
    10910 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
    10911 _ACEOF 
     5420if ac_fn_c_try_compile "$LINENO"; then : 
     5421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5422$as_echo "yes!!" >&6; } 
     5423                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5424 
     5425                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
    109125426 
    109135427                     ac_external_gsm="1" 
    109145428 
    109155429else 
    10916   echo "$as_me: failed program was:" >&5 
    10917 sed 's/^/| /' conftest.$ac_ext >&5 
    10918  
    10919  
    10920                      { echo "$as_me:$LINENO: result: no" >&5 
    10921 echo "${ECHO_T}no" >&6; } 
    10922                      { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
    10923 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
    10924                      cat >conftest.$ac_ext <<_ACEOF 
    10925 /* confdefs.h.  */ 
    10926 _ACEOF 
    10927 cat confdefs.h >>conftest.$ac_ext 
    10928 cat >>conftest.$ac_ext <<_ACEOF 
     5430 
     5431                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5432$as_echo "no" >&6; } 
     5433                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
     5434$as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
     5435                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    109295436/* end confdefs.h.  */ 
    109305437#include <gsm.h> 
     
    109375444} 
    109385445_ACEOF 
    10939 rm -f conftest.$ac_objext 
    10940 if { (ac_try="$ac_compile" 
    10941 case "(($ac_try" in 
    10942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10943   *) ac_try_echo=$ac_try;; 
    10944 esac 
    10945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10946   (eval "$ac_compile") 2>conftest.er1 
    10947   ac_status=$? 
    10948   grep -v '^ *+' conftest.er1 >conftest.err 
    10949   rm -f conftest.er1 
    10950   cat conftest.err >&5 
    10951   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10952   (exit $ac_status); } && { 
    10953          test -z "$ac_c_werror_flag" || 
    10954          test ! -s conftest.err 
    10955        } && test -s conftest.$ac_objext; then 
    10956   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10957 echo "${ECHO_T}yes!!" >&6; } 
    10958                          cat >>confdefs.h <<\_ACEOF 
    10959 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10960 _ACEOF 
    10961  
    10962                          cat >>confdefs.h <<\_ACEOF 
    10963 #define PJMEDIA_EXTERNAL_GSM_H 1 
    10964 _ACEOF 
     5446if ac_fn_c_try_compile "$LINENO"; then : 
     5447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5448$as_echo "yes!!" >&6; } 
     5449                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5450 
     5451                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
    109655452 
    109665453                         ac_external_gsm="1" 
    109675454 
    109685455else 
    10969   echo "$as_me: failed program was:" >&5 
    10970 sed 's/^/| /' conftest.$ac_ext >&5 
    10971  
    10972         { { 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 
    10973 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;} 
    10974    { (exit 1); exit 1; }; } 
    10975  
    10976  
    10977 fi 
    10978  
     5456  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 
     5457 
     5458 
     5459fi 
    109795460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    109805461 
    109815462 
    109825463fi 
    10983  
    109845464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    109855465        fi 
     
    109935473 
    109945474# Check whether --enable-sound was given. 
    10995 if test "${enable_sound+set}" = set; then 
     5475if test "${enable_sound+set}" = set; then : 
    109965476  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    109975477                ac_pjmedia_snd=null 
    10998                 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
    10999 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
     5478                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
     5479$as_echo "Checking if sound is disabled... yes" >&6; } 
    110005480               fi 
    110015481 
     
    110075487 
    110085488# Check whether --with-external-pa was given. 
    11009 if test "${with_external_pa+set}" = set; then 
     5489if test "${with_external_pa+set}" = set; then : 
    110105490  withval=$with_external_pa; 
    110115491        if test "x$with_external_pa" != "xno"; then 
    110125492                # Test PortAudio installation 
    11013                 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
    11014 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
    11015                 cat >conftest.$ac_ext <<_ACEOF 
    11016 /* confdefs.h.  */ 
    11017 _ACEOF 
    11018 cat confdefs.h >>conftest.$ac_ext 
    11019 cat >>conftest.$ac_ext <<_ACEOF 
     5493                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
     5494$as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
     5495                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    110205496/* end confdefs.h.  */ 
    110215497#include <portaudio.h> 
     
    110295505} 
    110305506_ACEOF 
    11031 rm -f conftest.$ac_objext 
    11032 if { (ac_try="$ac_compile" 
    11033 case "(($ac_try" in 
    11034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11035   *) ac_try_echo=$ac_try;; 
    11036 esac 
    11037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11038   (eval "$ac_compile") 2>conftest.er1 
    11039   ac_status=$? 
    11040   grep -v '^ *+' conftest.er1 >conftest.err 
    11041   rm -f conftest.er1 
    11042   cat conftest.err >&5 
    11043   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11044   (exit $ac_status); } && { 
    11045          test -z "$ac_c_werror_flag" || 
    11046          test ! -s conftest.err 
    11047        } && test -s conftest.$ac_objext; then 
    11048   { echo "$as_me:$LINENO: result: yes!!" >&5 
    11049 echo "${ECHO_T}yes!!" >&6; } 
     5507if ac_fn_c_try_compile "$LINENO"; then : 
     5508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5509$as_echo "yes!!" >&6; } 
    110505510                                   ac_external_pa="1" 
    110515511 
    110525512else 
    11053   echo "$as_me: failed program was:" >&5 
    11054 sed 's/^/| /' conftest.$ac_ext >&5 
    11055  
    11056         { { 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 
    11057 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;} 
    11058    { (exit 1); exit 1; }; } 
    11059 fi 
    11060  
     5513  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 
     5514fi 
    110615515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110625516        fi 
     
    110675521 
    110685522 
    11069 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11070   { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11071 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11072 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11073   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11074 fi 
    11075 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11076 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11077 else 
    11078   # Is the header compilable? 
    11079 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
    11080 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
    11081 cat >conftest.$ac_ext <<_ACEOF 
    11082 /* confdefs.h.  */ 
    11083 _ACEOF 
    11084 cat confdefs.h >>conftest.$ac_ext 
    11085 cat >>conftest.$ac_ext <<_ACEOF 
    11086 /* end confdefs.h.  */ 
    11087 $ac_includes_default 
    11088 #include <sys/soundcard.h> 
    11089 _ACEOF 
    11090 rm -f conftest.$ac_objext 
    11091 if { (ac_try="$ac_compile" 
    11092 case "(($ac_try" in 
    11093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11094   *) ac_try_echo=$ac_try;; 
    11095 esac 
    11096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11097   (eval "$ac_compile") 2>conftest.er1 
    11098   ac_status=$? 
    11099   grep -v '^ *+' conftest.er1 >conftest.err 
    11100   rm -f conftest.er1 
    11101   cat conftest.err >&5 
    11102   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11103   (exit $ac_status); } && { 
    11104          test -z "$ac_c_werror_flag" || 
    11105          test ! -s conftest.err 
    11106        } && test -s conftest.$ac_objext; then 
    11107   ac_header_compiler=yes 
    11108 else 
    11109   echo "$as_me: failed program was:" >&5 
    11110 sed 's/^/| /' conftest.$ac_ext >&5 
    11111  
    11112         ac_header_compiler=no 
    11113 fi 
    11114  
    11115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11116 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11117 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11118  
    11119 # Is the header present? 
    11120 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
    11121 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
    11122 cat >conftest.$ac_ext <<_ACEOF 
    11123 /* confdefs.h.  */ 
    11124 _ACEOF 
    11125 cat confdefs.h >>conftest.$ac_ext 
    11126 cat >>conftest.$ac_ext <<_ACEOF 
    11127 /* end confdefs.h.  */ 
    11128 #include <sys/soundcard.h> 
    11129 _ACEOF 
    11130 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11131 case "(($ac_try" in 
    11132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11133   *) ac_try_echo=$ac_try;; 
    11134 esac 
    11135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11136   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11137   ac_status=$? 
    11138   grep -v '^ *+' conftest.er1 >conftest.err 
    11139   rm -f conftest.er1 
    11140   cat conftest.err >&5 
    11141   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11142   (exit $ac_status); } >/dev/null && { 
    11143          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11144          test ! -s conftest.err 
    11145        }; then 
    11146   ac_header_preproc=yes 
    11147 else 
    11148   echo "$as_me: failed program was:" >&5 
    11149 sed 's/^/| /' conftest.$ac_ext >&5 
    11150  
    11151   ac_header_preproc=no 
    11152 fi 
    11153  
    11154 rm -f conftest.err conftest.$ac_ext 
    11155 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11156 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11157  
    11158 # So?  What about this header? 
    11159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11160   yes:no: ) 
    11161     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11162 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11163     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
    11164 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
    11165     ac_header_preproc=yes 
    11166     ;; 
    11167   no:yes:* ) 
    11168     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
    11169 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
    11170     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
    11171 echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11172     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
    11173 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
    11174     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11175 echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11176     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
    11177 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11178     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
    11179 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11180  
    11181     ;; 
    11182 esac 
    11183 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11184 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11185 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11186   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11187 else 
    11188   ac_cv_header_sys_soundcard_h=$ac_header_preproc 
    11189 fi 
    11190 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11191 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11192  
    11193 fi 
    11194 if test $ac_cv_header_sys_soundcard_h = yes; then 
     5523ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
     5524if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
    111955525  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    111965526fi 
    111975527 
    111985528 
    11199 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11200   { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11201 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11202 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11203   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11204 fi 
    11205 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11206 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11207 else 
    11208   # Is the header compilable? 
    11209 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
    11210 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
    11211 cat >conftest.$ac_ext <<_ACEOF 
    11212 /* confdefs.h.  */ 
    11213 _ACEOF 
    11214 cat confdefs.h >>conftest.$ac_ext 
    11215 cat >>conftest.$ac_ext <<_ACEOF 
    11216 /* end confdefs.h.  */ 
    11217 $ac_includes_default 
    11218 #include <linux/soundcard.h> 
    11219 _ACEOF 
    11220 rm -f conftest.$ac_objext 
    11221 if { (ac_try="$ac_compile" 
    11222 case "(($ac_try" in 
    11223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11224   *) ac_try_echo=$ac_try;; 
    11225 esac 
    11226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11227   (eval "$ac_compile") 2>conftest.er1 
    11228   ac_status=$? 
    11229   grep -v '^ *+' conftest.er1 >conftest.err 
    11230   rm -f conftest.er1 
    11231   cat conftest.err >&5 
    11232   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11233   (exit $ac_status); } && { 
    11234          test -z "$ac_c_werror_flag" || 
    11235          test ! -s conftest.err 
    11236        } && test -s conftest.$ac_objext; then 
    11237   ac_header_compiler=yes 
    11238 else 
    11239   echo "$as_me: failed program was:" >&5 
    11240 sed 's/^/| /' conftest.$ac_ext >&5 
    11241  
    11242         ac_header_compiler=no 
    11243 fi 
    11244  
    11245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11246 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11247 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11248  
    11249 # Is the header present? 
    11250 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
    11251 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
    11252 cat >conftest.$ac_ext <<_ACEOF 
    11253 /* confdefs.h.  */ 
    11254 _ACEOF 
    11255 cat confdefs.h >>conftest.$ac_ext 
    11256 cat >>conftest.$ac_ext <<_ACEOF 
    11257 /* end confdefs.h.  */ 
    11258 #include <linux/soundcard.h> 
    11259 _ACEOF 
    11260 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11261 case "(($ac_try" in 
    11262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11263   *) ac_try_echo=$ac_try;; 
    11264 esac 
    11265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11266   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11267   ac_status=$? 
    11268   grep -v '^ *+' conftest.er1 >conftest.err 
    11269   rm -f conftest.er1 
    11270   cat conftest.err >&5 
    11271   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11272   (exit $ac_status); } >/dev/null && { 
    11273          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11274          test ! -s conftest.err 
    11275        }; then 
    11276   ac_header_preproc=yes 
    11277 else 
    11278   echo "$as_me: failed program was:" >&5 
    11279 sed 's/^/| /' conftest.$ac_ext >&5 
    11280  
    11281   ac_header_preproc=no 
    11282 fi 
    11283  
    11284 rm -f conftest.err conftest.$ac_ext 
    11285 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11286 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11287  
    11288 # So?  What about this header? 
    11289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11290   yes:no: ) 
    11291     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11292 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11293     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
    11294 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
    11295     ac_header_preproc=yes 
    11296     ;; 
    11297   no:yes:* ) 
    11298     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
    11299 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
    11300     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
    11301 echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11302     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
    11303 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
    11304     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11305 echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11306     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
    11307 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11308     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
    11309 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11310  
    11311     ;; 
    11312 esac 
    11313 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11314 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11315 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11316   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11317 else 
    11318   ac_cv_header_linux_soundcard_h=$ac_header_preproc 
    11319 fi 
    11320 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11321 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11322  
    11323 fi 
    11324 if test $ac_cv_header_linux_soundcard_h = yes; then 
     5529ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
     5530if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
    113255531  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    113265532fi 
    113275533 
    113285534 
    11329 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11330   { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11331 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11332 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11333   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11334 fi 
    11335 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11336 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11337 else 
    11338   # Is the header compilable? 
    11339 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
    11340 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
    11341 cat >conftest.$ac_ext <<_ACEOF 
    11342 /* confdefs.h.  */ 
    11343 _ACEOF 
    11344 cat confdefs.h >>conftest.$ac_ext 
    11345 cat >>conftest.$ac_ext <<_ACEOF 
    11346 /* end confdefs.h.  */ 
    11347 $ac_includes_default 
    11348 #include <machine/soundcard.h> 
    11349 _ACEOF 
    11350 rm -f conftest.$ac_objext 
    11351 if { (ac_try="$ac_compile" 
    11352 case "(($ac_try" in 
    11353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11354   *) ac_try_echo=$ac_try;; 
    11355 esac 
    11356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11357   (eval "$ac_compile") 2>conftest.er1 
    11358   ac_status=$? 
    11359   grep -v '^ *+' conftest.er1 >conftest.err 
    11360   rm -f conftest.er1 
    11361   cat conftest.err >&5 
    11362   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11363   (exit $ac_status); } && { 
    11364          test -z "$ac_c_werror_flag" || 
    11365          test ! -s conftest.err 
    11366        } && test -s conftest.$ac_objext; then 
    11367   ac_header_compiler=yes 
    11368 else 
    11369   echo "$as_me: failed program was:" >&5 
    11370 sed 's/^/| /' conftest.$ac_ext >&5 
    11371  
    11372         ac_header_compiler=no 
    11373 fi 
    11374  
    11375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11376 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11377 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11378  
    11379 # Is the header present? 
    11380 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
    11381 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
    11382 cat >conftest.$ac_ext <<_ACEOF 
    11383 /* confdefs.h.  */ 
    11384 _ACEOF 
    11385 cat confdefs.h >>conftest.$ac_ext 
    11386 cat >>conftest.$ac_ext <<_ACEOF 
    11387 /* end confdefs.h.  */ 
    11388 #include <machine/soundcard.h> 
    11389 _ACEOF 
    11390 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11391 case "(($ac_try" in 
    11392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11393   *) ac_try_echo=$ac_try;; 
    11394 esac 
    11395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11396   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11397   ac_status=$? 
    11398   grep -v '^ *+' conftest.er1 >conftest.err 
    11399   rm -f conftest.er1 
    11400   cat conftest.err >&5 
    11401   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11402   (exit $ac_status); } >/dev/null && { 
    11403          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11404          test ! -s conftest.err 
    11405        }; then 
    11406   ac_header_preproc=yes 
    11407 else 
    11408   echo "$as_me: failed program was:" >&5 
    11409 sed 's/^/| /' conftest.$ac_ext >&5 
    11410  
    11411   ac_header_preproc=no 
    11412 fi 
    11413  
    11414 rm -f conftest.err conftest.$ac_ext 
    11415 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11416 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11417  
    11418 # So?  What about this header? 
    11419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11420   yes:no: ) 
    11421     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11422 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11423     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
    11424 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
    11425     ac_header_preproc=yes 
    11426     ;; 
    11427   no:yes:* ) 
    11428     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
    11429 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
    11430     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
    11431 echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11432     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
    11433 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
    11434     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11435 echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11436     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
    11437 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11438     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
    11439 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11440  
    11441     ;; 
    11442 esac 
    11443 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11444 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11445 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11446   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11447 else 
    11448   ac_cv_header_machine_soundcard_h=$ac_header_preproc 
    11449 fi 
    11450 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11451 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11452  
    11453 fi 
    11454 if test $ac_cv_header_machine_soundcard_h = yes; then 
     5535ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
     5536if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
    114555537  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    114565538fi 
     
    114705552  arm-apple-darwin*) 
    114715553        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
    11472         { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
    11473 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
     5554        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
     5555$as_echo "Checking sound device backend... AudioUnit" >&6; } 
    114745556        ;; 
    114755557  *darwin*) 
     
    114795561                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    114805562                ac_pjmedia_snd=pa_old_darwinos 
    11481                 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
    11482 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
     5563                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
     5564$as_echo "Checking sound device backend... old coreaudio" >&6; } 
    114835565        else 
    114845566                ac_pjmedia_snd=pa_darwinos 
    11485                 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    11486 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
     5567                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
     5568$as_echo "Checking sound device backend... coreaudio" >&6; } 
    114875569        fi 
    114885570        ;; 
    114895571  *cygwin* | *mingw*) 
    114905572        ac_pjmedia_snd=pa_win32 
    11491         { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    11492 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
     5573        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
     5574$as_echo "Checking sound device backend... win32 sound" >&6; } 
    114935575        ;; 
    114945576  *rtems*) 
    114955577        ac_pjmedia_snd=null 
    11496         { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    11497 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
     5578        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
     5579$as_echo "Checking sound device backend... null sound" >&6; } 
    114985580        ;; 
    114995581  *) 
    115005582                ac_pjmedia_snd=pa_unix 
    11501         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11502   { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11503 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11504 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11505   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11506 fi 
    11507 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11508 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11509 else 
    11510   # Is the header compilable? 
    11511 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    11512 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
    11513 cat >conftest.$ac_ext <<_ACEOF 
    11514 /* confdefs.h.  */ 
    11515 _ACEOF 
    11516 cat confdefs.h >>conftest.$ac_ext 
    11517 cat >>conftest.$ac_ext <<_ACEOF 
    11518 /* end confdefs.h.  */ 
    11519 $ac_includes_default 
    11520 #include <alsa/version.h> 
    11521 _ACEOF 
    11522 rm -f conftest.$ac_objext 
    11523 if { (ac_try="$ac_compile" 
    11524 case "(($ac_try" in 
    11525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11526   *) ac_try_echo=$ac_try;; 
    11527 esac 
    11528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11529   (eval "$ac_compile") 2>conftest.er1 
    11530   ac_status=$? 
    11531   grep -v '^ *+' conftest.er1 >conftest.err 
    11532   rm -f conftest.er1 
    11533   cat conftest.err >&5 
    11534   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11535   (exit $ac_status); } && { 
    11536          test -z "$ac_c_werror_flag" || 
    11537          test ! -s conftest.err 
    11538        } && test -s conftest.$ac_objext; then 
    11539   ac_header_compiler=yes 
    11540 else 
    11541   echo "$as_me: failed program was:" >&5 
    11542 sed 's/^/| /' conftest.$ac_ext >&5 
    11543  
    11544         ac_header_compiler=no 
    11545 fi 
    11546  
    11547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11548 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11549 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11550  
    11551 # Is the header present? 
    11552 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    11553 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
    11554 cat >conftest.$ac_ext <<_ACEOF 
    11555 /* confdefs.h.  */ 
    11556 _ACEOF 
    11557 cat confdefs.h >>conftest.$ac_ext 
    11558 cat >>conftest.$ac_ext <<_ACEOF 
    11559 /* end confdefs.h.  */ 
    11560 #include <alsa/version.h> 
    11561 _ACEOF 
    11562 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11563 case "(($ac_try" in 
    11564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11565   *) ac_try_echo=$ac_try;; 
    11566 esac 
    11567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11568   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11569   ac_status=$? 
    11570   grep -v '^ *+' conftest.er1 >conftest.err 
    11571   rm -f conftest.er1 
    11572   cat conftest.err >&5 
    11573   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11574   (exit $ac_status); } >/dev/null && { 
    11575          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11576          test ! -s conftest.err 
    11577        }; then 
    11578   ac_header_preproc=yes 
    11579 else 
    11580   echo "$as_me: failed program was:" >&5 
    11581 sed 's/^/| /' conftest.$ac_ext >&5 
    11582  
    11583   ac_header_preproc=no 
    11584 fi 
    11585  
    11586 rm -f conftest.err conftest.$ac_ext 
    11587 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11588 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11589  
    11590 # So?  What about this header? 
    11591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11592   yes:no: ) 
    11593     { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11594 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11595     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    11596 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    11597     ac_header_preproc=yes 
    11598     ;; 
    11599   no:yes:* ) 
    11600     { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    11601 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    11602     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    11603 echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    11604     { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    11605 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    11606     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11607 echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11608     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    11609 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    11610     { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    11611 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    11612  
    11613     ;; 
    11614 esac 
    11615 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11616 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11617 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11618   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11619 else 
    11620   ac_cv_header_alsa_version_h=$ac_header_preproc 
    11621 fi 
    11622 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11623 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11624  
    11625 fi 
    11626 if test $ac_cv_header_alsa_version_h = yes; then 
     5583        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
     5584if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
    116275585  ac_pa_use_alsa=1 
    116285586 
     
    116355593 
    116365594 
    11637         { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    11638 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
     5595        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
     5596$as_echo "Checking sound device backend... unix" >&6; } 
    116395597 
    116405598                ac_pa_use_oss=1 
    116415599 
    116425600        # Check whether --enable-oss was given. 
    11643 if test "${enable_oss+set}" = set; then 
     5601if test "${enable_oss+set}" = set; then : 
    116445602  enableval=$enable_oss; 
    116455603                        if test "$enable_oss" = "no"; then 
    116465604                         ac_pa_use_oss=0 
    11647                          { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
    11648 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
     5605                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
     5606$as_echo "Checking if OSS audio is disabled... yes" >&6; } 
    116495607                        fi 
    116505608 
     
    116565614 
    116575615# Check whether --enable-ext_sound was given. 
    11658 if test "${enable_ext_sound+set}" = set; then 
     5616if test "${enable_ext_sound+set}" = set; then : 
    116595617  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    116605618                ac_pjmedia_snd=external 
    11661                 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
    11662 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
     5619                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
     5620$as_echo "Checking if external sound is set... yes" >&6; } 
    116635621               fi 
    116645622 
     
    116685626 
    116695627# Check whether --enable-small-filter was given. 
    11670 if test "${enable_small_filter+set}" = set; then 
     5628if test "${enable_small_filter+set}" = set; then : 
    116715629  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    116725630                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    11673                 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    11674 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
     5631                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
     5632$as_echo "Checking if small filter is disabled... yes" >&6; } 
    116755633               fi 
    116765634else 
    11677   { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    11678 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
     5635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
     5636$as_echo "Checking if small filter is disabled... no" >&6; } 
    116795637fi 
    116805638 
     
    116825640 
    116835641# Check whether --enable-large-filter was given. 
    11684 if test "${enable_large_filter+set}" = set; then 
     5642if test "${enable_large_filter+set}" = set; then : 
    116855643  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    116865644                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    11687                 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    11688 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
     5645                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
     5646$as_echo "Checking if large filter is disabled... yes" >&6; } 
    116895647               fi 
    116905648else 
    11691   { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    11692 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
     5649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
     5650$as_echo "Checking if large filter is disabled... no" >&6; } 
    116935651fi 
    116945652 
     
    116965654 
    116975655# Check whether --enable-speex-aec was given. 
    11698 if test "${enable_speex_aec+set}" = set; then 
     5656if test "${enable_speex_aec+set}" = set; then : 
    116995657  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    117005658                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    11701                 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    11702 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
     5659                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
     5660$as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
    117035661               fi 
    117045662else 
    11705   { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    11706 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
     5663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
     5664$as_echo "Checking if Speex AEC is disabled...no" >&6; } 
    117075665fi 
    117085666 
     
    117105668 
    117115669# Check whether --enable-g711-codec was given. 
    11712 if test "${enable_g711_codec+set}" = set; then 
     5670if test "${enable_g711_codec+set}" = set; then : 
    117135671  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    117145672                ac_no_g711_codec=1 
    11715                 cat >>confdefs.h <<\_ACEOF 
    11716 #define PJMEDIA_HAS_G711_CODEC 0 
    11717 _ACEOF 
    11718  
    11719                 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    11720 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
     5673                $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
     5674 
     5675                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
     5676$as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
    117215677               fi 
    117225678else 
    11723   { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    11724 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
     5679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
     5680$as_echo "Checking if G.711 codec is disabled...no" >&6; } 
    117255681fi 
    117265682 
     
    117295685 
    117305686# Check whether --enable-l16-codec was given. 
    11731 if test "${enable_l16_codec+set}" = set; then 
     5687if test "${enable_l16_codec+set}" = set; then : 
    117325688  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    117335689                ac_no_l16_codec=1 
    11734                 cat >>confdefs.h <<\_ACEOF 
    11735 #define PJMEDIA_HAS_L16_CODEC 0 
    11736 _ACEOF 
    11737  
    11738                 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    11739 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
     5690                $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
     5691 
     5692                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
     5693$as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
    117405694               fi 
    117415695else 
    11742   { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
    11743 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
     5696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
     5697$as_echo "Checking if L16 codec is disabled...no" >&6; } 
    117445698fi 
    117455699 
     
    117485702 
    117495703# Check whether --enable-gsm-codec was given. 
    11750 if test "${enable_gsm_codec+set}" = set; then 
     5704if test "${enable_gsm_codec+set}" = set; then : 
    117515705  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    117525706                ac_no_gsm_codec=1 
    11753                 cat >>confdefs.h <<\_ACEOF 
    11754 #define PJMEDIA_HAS_GSM_CODEC 0 
    11755 _ACEOF 
    11756  
    11757                 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    11758 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
     5707                $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
     5708 
     5709                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
     5710$as_echo "Checking if GSM codec is disabled...yes" >&6; } 
    117595711               fi 
    117605712else 
    11761   { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    11762 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
     5713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
     5714$as_echo "Checking if GSM codec is disabled...no" >&6; } 
    117635715fi 
    117645716 
     
    117665718 
    117675719# Check whether --enable-g722-codec was given. 
    11768 if test "${enable_g722_codec+set}" = set; then 
     5720if test "${enable_g722_codec+set}" = set; then : 
    117695721  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    117705722                ac_no_g722_codec=1 
    11771                 cat >>confdefs.h <<\_ACEOF 
    11772 #define PJMEDIA_HAS_G722_CODEC 0 
    11773 _ACEOF 
    11774  
    11775                 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
    11776 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
     5723                $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
     5724 
     5725                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
     5726$as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
    117775727               fi 
    117785728else 
    11779   { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
    11780 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
     5729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
     5730$as_echo "Checking if G.722 codec is disabled...no" >&6; } 
    117815731fi 
    117825732 
     
    117845734 
    117855735# Check whether --enable-g7221-codec was given. 
    11786 if test "${enable_g7221_codec+set}" = set; then 
     5736if test "${enable_g7221_codec+set}" = set; then : 
    117875737  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    117885738                ac_no_g7221_codec=1 
    11789                 cat >>confdefs.h <<\_ACEOF 
    11790 #define PJMEDIA_HAS_G7221_CODEC 0 
    11791 _ACEOF 
    11792  
    11793                 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
    11794 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
     5739                $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
     5740 
     5741                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
     5742$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
    117955743               fi 
    117965744else 
    11797   { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
    11798 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
     5745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
     5746$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
    117995747fi 
    118005748 
     
    118025750 
    118035751# Check whether --enable-speex-codec was given. 
    11804 if test "${enable_speex_codec+set}" = set; then 
     5752if test "${enable_speex_codec+set}" = set; then : 
    118055753  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    118065754                ac_no_speex_codec=1 
    11807                 cat >>confdefs.h <<\_ACEOF 
    11808 #define PJMEDIA_HAS_SPEEX_CODEC 0 
    11809 _ACEOF 
    11810  
    11811                 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    11812 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
     5755                $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
     5756 
     5757                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
     5758$as_echo "Checking if Speex codec is disabled...yes" >&6; } 
    118135759               fi 
    118145760else 
    11815   { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    11816 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
     5761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
     5762$as_echo "Checking if Speex codec is disabled...no" >&6; } 
    118175763fi 
    118185764 
     
    118205766 
    118215767# Check whether --enable-ilbc-codec was given. 
    11822 if test "${enable_ilbc_codec+set}" = set; then 
     5768if test "${enable_ilbc_codec+set}" = set; then : 
    118235769  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    118245770                ac_no_ilbc_codec=1 
    11825                 cat >>confdefs.h <<\_ACEOF 
    11826 #define PJMEDIA_HAS_ILBC_CODEC 0 
    11827 _ACEOF 
    11828  
    11829                 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    11830 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
     5771                $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
     5772 
     5773                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
     5774$as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
    118315775               fi 
    118325776else 
    11833   { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    11834 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
     5777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
     5778$as_echo "Checking if iLBC codec is disabled...no" >&6; } 
    118355779fi 
    118365780 
    118375781 
    118385782# Check whether --enable-libsamplerate was given. 
    11839 if test "${enable_libsamplerate+set}" = set; then 
    11840   enableval=$enable_libsamplerate; 
    11841 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
    11842 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
    11843 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
    11844   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5783if test "${enable_libsamplerate+set}" = set; then : 
     5784  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
     5785$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
     5786if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5787  $as_echo_n "(cached) " >&6 
    118455788else 
    118465789  ac_check_lib_save_LIBS=$LIBS 
    118475790LIBS="-lsamplerate  $LIBS" 
    11848 cat >conftest.$ac_ext <<_ACEOF 
    11849 /* confdefs.h.  */ 
    11850 _ACEOF 
    11851 cat confdefs.h >>conftest.$ac_ext 
    11852 cat >>conftest.$ac_ext <<_ACEOF 
     5791cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    118535792/* end confdefs.h.  */ 
    118545793 
     
    118685807} 
    118695808_ACEOF 
    11870 rm -f conftest.$ac_objext conftest$ac_exeext 
    11871 if { (ac_try="$ac_link" 
    11872 case "(($ac_try" in 
    11873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11874   *) ac_try_echo=$ac_try;; 
    11875 esac 
    11876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11877   (eval "$ac_link") 2>conftest.er1 
    11878   ac_status=$? 
    11879   grep -v '^ *+' conftest.er1 >conftest.err 
    11880   rm -f conftest.er1 
    11881   cat conftest.err >&5 
    11882   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11883   (exit $ac_status); } && { 
    11884          test -z "$ac_c_werror_flag" || 
    11885          test ! -s conftest.err 
    11886        } && test -s conftest$ac_exeext && 
    11887        $as_test_x conftest$ac_exeext; then 
     5809if ac_fn_c_try_link "$LINENO"; then : 
    118885810  ac_cv_lib_samplerate_src_new=yes 
    118895811else 
    11890   echo "$as_me: failed program was:" >&5 
    11891 sed 's/^/| /' conftest.$ac_ext >&5 
    11892  
    11893         ac_cv_lib_samplerate_src_new=no 
    11894 fi 
    11895  
    11896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11897       conftest$ac_exeext conftest.$ac_ext 
     5812  ac_cv_lib_samplerate_src_new=no 
     5813fi 
     5814rm -f core conftest.err conftest.$ac_objext \ 
     5815    conftest$ac_exeext conftest.$ac_ext 
    118985816LIBS=$ac_check_lib_save_LIBS 
    118995817fi 
    11900 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
    11901 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
    11902 if test $ac_cv_lib_samplerate_src_new = yes; then 
     5818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
     5819$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
     5820if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
    119035821  cat >>confdefs.h <<_ACEOF 
    119045822#define HAVE_LIBSAMPLERATE 1 
     
    119105828 
    119115829else 
    11912   { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
    11913 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
     5830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
     5831$as_echo "Skipping libsamplerate detection" >&6; } 
    119145832 
    119155833fi 
     
    119185836 
    119195837# Check whether --enable-ipp was given. 
    11920 if test "${enable_ipp+set}" = set; then 
     5838if test "${enable_ipp+set}" = set; then : 
    119215839  enableval=$enable_ipp; 
    119225840else 
     
    119285846 
    119295847# Check whether --with-ipp was given. 
    11930 if test "${with_ipp+set}" = set; then 
     5848if test "${with_ipp+set}" = set; then : 
    119315849  withval=$with_ipp; 
    119325850else 
     
    119385856 
    119395857# Check whether --with-ipp-samples was given. 
    11940 if test "${with_ipp_samples+set}" = set; then 
     5858if test "${with_ipp_samples+set}" = set; then : 
    119415859  withval=$with_ipp_samples; 
    119425860else 
     
    119485866 
    119495867# Check whether --with-ipp-arch was given. 
    11950 if test "${with_ipp_arch+set}" = set; then 
     5868if test "${with_ipp_arch+set}" = set; then : 
    119515869  withval=$with_ipp_arch; 
    119525870else 
     
    119575875 
    119585876if test "x$enable_ipp" != "xno"; then 
    11959                 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
    11960 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
     5877                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
     5878$as_echo_n "checking Intel IPP location... " >&6; } 
    119615879 
    119625880    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    11963         { echo "$as_me:$LINENO: result: $with_ipp" >&5 
    11964 echo "${ECHO_T}$with_ipp" >&6; } 
     5881        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
     5882$as_echo "$with_ipp" >&6; } 
    119655883        IPPROOT=$with_ipp 
    119665884    elif test "x$IPPROOT" = "x"; then 
    119675885        if test -d /opt/intel/ipp; then 
    119685886            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    11969             { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
    11970 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
     5887            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
     5888$as_echo "autodetected in $IPPROOT" >&6; } 
    119715889        fi 
    119725890    else 
    11973         { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
    11974 echo "${ECHO_T}$IPPROOT" >&6; } 
     5891        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
     5892$as_echo "$IPPROOT" >&6; } 
    119755893    fi 
    119765894 
    119775895    if test "x$with_ipp_arch" != "xno"; then 
    119785896        IPP_SUFFIX=$with_ipp_arch 
    11979         { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    11980 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     5897        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     5898$as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    119815899    else 
    119825900        IPP_SUFFIX="" 
    11983         { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
    11984 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
     5901        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
     5902$as_echo "IPP arch suffix is set to empty" >&6; } 
    119855903    fi 
    119865904 
    119875905    if test x$IPPROOT = x; then 
    11988         { { 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 
    11989 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;} 
    11990    { (exit 1); exit 1; }; } 
     5906        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 
    119915907    elif test ! -d $IPPROOT; then 
    11992         { { echo "$as_me:$LINENO: error: not found" >&5 
    11993 echo "$as_me: error: not found" >&2;} 
    11994    { (exit 1); exit 1; }; } 
     5908        as_fn_error "not found" "$LINENO" 5 
    119955909    elif test ! -d $IPPROOT/include; then 
    11996         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    11997 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    11998    { (exit 1); exit 1; }; } 
     5910        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    119995911    else 
    120005912        # IPP directory looks okay. 
     
    120075919 
    120085920        IPP_CFLAGS="-I$IPPROOT/include" 
    12009         IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippsr${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
    12010  
     5921        IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
     5922 
     5923# 
    120115924        # Some differences between Mac OS X and Linux 
    120125925        case $target in 
     
    120155928                ;; 
    120165929            *) 
    12017                 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
    12018                 IPP_LIBS="$IPP_LIBS -lguide" 
     5930                # Find out where the libraries live. 
     5931                IPP7_ARCH="" 
     5932                if test -d $IPPROOT/lib/intel64; then 
     5933                   IPP7_ARCH="intel64" 
     5934                elif test -d $IPPROOT/lib/ia32; then 
     5935                   IPP7_ARCH="ia32" 
     5936                elif test -d $IPPROOT/lib/mic; then 
     5937                   IPP7_ARCH="mic" 
     5938                fi 
     5939 
     5940                if test -z "$IPP7_ARCH"; then 
     5941                   # IPP6 (and possibly below) 
     5942                   IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
     5943                   IPP_LIBS="$IPP_LIBS  -lippsr${IPP_SUFFIX} -lguide" 
     5944                else 
     5945                   # IPP7 
     5946                   if ! test -d $IPPROOT/../compiler; then 
     5947                        as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
     5948                   fi 
     5949                   IPP_CFLAGS="$IPP_CFLAGS" 
     5950                   IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" 
     5951                   IPP_LIBS="$IPP_LIBS -liomp5" 
     5952                fi 
    120195953                ;; 
    120205954        esac 
     
    120295963 
    120305964 
    12031         { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
    12032 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
    12033         cat >conftest.$ac_ext <<_ACEOF 
    12034 /* confdefs.h.  */ 
    12035 _ACEOF 
    12036 cat confdefs.h >>conftest.$ac_ext 
    12037 cat >>conftest.$ac_ext <<_ACEOF 
     5965        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
     5966$as_echo_n "checking Intel IPP usability... " >&6; } 
     5967        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    120385968/* end confdefs.h.  */ 
    120395969#include <ippcore.h> 
     
    120475977} 
    120485978_ACEOF 
    12049 rm -f conftest.$ac_objext conftest$ac_exeext 
    12050 if { (ac_try="$ac_link" 
    12051 case "(($ac_try" in 
    12052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12053   *) ac_try_echo=$ac_try;; 
    12054 esac 
    12055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12056   (eval "$ac_link") 2>conftest.er1 
    12057   ac_status=$? 
    12058   grep -v '^ *+' conftest.er1 >conftest.err 
    12059   rm -f conftest.er1 
    12060   cat conftest.err >&5 
    12061   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12062   (exit $ac_status); } && { 
    12063          test -z "$ac_c_werror_flag" || 
    12064          test ! -s conftest.err 
    12065        } && test -s conftest$ac_exeext && 
    12066        $as_test_x conftest$ac_exeext; then 
    12067   { echo "$as_me:$LINENO: result: ok" >&5 
    12068 echo "${ECHO_T}ok" >&6; } 
    12069 else 
    12070   echo "$as_me: failed program was:" >&5 
    12071 sed 's/^/| /' conftest.$ac_ext >&5 
    12072  
    12073         { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12074 See \`config.log' for more details." >&5 
    12075 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12076 See \`config.log' for more details." >&2;} 
    12077    { (exit run with --help for more info); exit run with --help for more info; }; } 
    12078 fi 
    12079  
    12080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12081       conftest$ac_exeext conftest.$ac_ext 
     5979if ac_fn_c_try_link "$LINENO"; then : 
     5980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     5981$as_echo "ok" >&6; } 
     5982else 
     5983  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     5984$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     5985{ as_fn_set_status run with --help for more info 
     5986as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     5987See \`config.log' for more details." "$LINENO" 5; }; } 
     5988fi 
     5989rm -f core conftest.err conftest.$ac_objext \ 
     5990    conftest$ac_exeext conftest.$ac_ext 
    120825991 
    120835992        CFLAGS="$SAVED_CFLAGS" 
     
    120865995    fi 
    120875996 
    12088                 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
    12089 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
     5997                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
     5998$as_echo_n "checking Intel IPP samples location... " >&6; } 
    120905999 
    120916000    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    12092         { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
    12093 echo "${ECHO_T}$with_ipp_samples" >&6; } 
     6001        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
     6002$as_echo "$with_ipp_samples" >&6; } 
    120946003        IPPSAMPLES=$with_ipp_samples 
    120956004    elif test "x$IPPSAMPLES" = "x"; then 
    120966005        if test -d /opt/intel/ipp-samples; then 
    120976006            IPPSAMPLES=/opt/intel/ipp-samples 
    12098             { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
    12099 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
     6007            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
     6008$as_echo "autodetected in $IPPSAMPLES" >&6; } 
    121006009        fi 
    121016010    else 
    12102         { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
    12103 echo "${ECHO_T}$IPPSAMPLES" >&6; } 
     6011        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
     6012$as_echo "$IPPSAMPLES" >&6; } 
    121046013    fi 
    121056014 
    121066015    if test x$IPPSAMPLES = x; then 
    12107         { { 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 
    12108 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;} 
    12109    { (exit 1); exit 1; }; } 
     6016        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 
    121106017    elif test ! -d $IPPSAMPLES; then 
    12111         { { echo "$as_me:$LINENO: error: not found" >&5 
    12112 echo "$as_me: error: not found" >&2;} 
    12113    { (exit 1); exit 1; }; } 
     6018        as_fn_error "not found" "$LINENO" 5 
    121146019    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    12115         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12116 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12117    { (exit 1); exit 1; }; } 
     6020        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    121186021    else 
    121196022        # Remove trailing backslash 
     
    121216024 
    121226025        # Guess the libusc.a/libspeech.a build location 
    12123         { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
    12124 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
     6026        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
     6027$as_echo_n "checking Intel IPP USC build location... " >&6; } 
    121256028        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    121266029            IPPVER=5 
     
    121356038                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    121366039            else 
    12137                 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12138 See \`config.log' for more details." >&5 
    12139 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12140 See \`config.log' for more details." >&2;} 
    12141    { (exit 1); exit 1; }; } 
     6040                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6042as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     6043See \`config.log' for more details." "$LINENO" 5; } 
    121426044            fi 
    121436045        else 
    12144             { { 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? 
    12145 See \`config.log' for more details." >&5 
    12146 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? 
    12147 See \`config.log' for more details." >&2;} 
    12148    { (exit 1); exit 1; }; } 
     6046            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6048as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     6049See \`config.log' for more details." "$LINENO" 5; } 
    121496050        fi 
    121506051 
    121516052        # Test the directory 
    121526053        if test ! -d $IPPSAMP_DIR; then 
    12153             { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12154 See \`config.log' for more details." >&5 
    12155 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12156 See \`config.log' for more details." >&2;} 
    12157    { (exit 1); exit 1; }; } 
     6054            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6056as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     6057See \`config.log' for more details." "$LINENO" 5; } 
    121586058            exit 1; 
    121596059        fi 
     
    121666066            IPPSAMP_LDLIBS="-lspeech" 
    121676067        else 
    12168             { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
    12169 See \`config.log' for more details." >&5 
    12170 echo "$as_me: error: bug in this script: unsupported IPP version 
    12171 See \`config.log' for more details." >&2;} 
    12172    { (exit 1); exit 1; }; } 
     6068            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6069$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6070as_fn_error "bug in this script: unsupported IPP version 
     6071See \`config.log' for more details." "$LINENO" 5; } 
    121736072        fi 
    121746073 
    121756074        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    12176             { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12177 See \`config.log' for more details." >&5 
    12178 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12179 See \`config.log' for more details." >&2;} 
    12180    { (exit 1); exit 1; }; } 
     6075            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6076$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6077as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     6078See \`config.log' for more details." "$LINENO" 5; } 
    121816079        fi 
    121826080 
    12183         { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
    12184 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
     6081        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
     6082$as_echo "$IPPSAMP_DIR" >&6; } 
    121856083 
    121866084        SAVED_CFLAGS="$CFLAGS" 
     
    121936091        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    121946092 
    12195         { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
    12196 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
    12197         cat >conftest.$ac_ext <<_ACEOF 
    12198 /* confdefs.h.  */ 
    12199 _ACEOF 
    12200 cat confdefs.h >>conftest.$ac_ext 
    12201 cat >>conftest.$ac_ext <<_ACEOF 
     6093        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
     6094$as_echo_n "checking Intel IPP USC usability... " >&6; } 
     6095        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122026096/* end confdefs.h.  */ 
    122036097#include <usc.h> 
     
    122116105} 
    122126106_ACEOF 
    12213 rm -f conftest.$ac_objext conftest$ac_exeext 
    12214 if { (ac_try="$ac_link" 
    12215 case "(($ac_try" in 
    12216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12217   *) ac_try_echo=$ac_try;; 
    12218 esac 
    12219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12220   (eval "$ac_link") 2>conftest.er1 
    12221   ac_status=$? 
    12222   grep -v '^ *+' conftest.er1 >conftest.err 
    12223   rm -f conftest.er1 
    12224   cat conftest.err >&5 
    12225   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12226   (exit $ac_status); } && { 
    12227          test -z "$ac_c_werror_flag" || 
    12228          test ! -s conftest.err 
    12229        } && test -s conftest$ac_exeext && 
    12230        $as_test_x conftest$ac_exeext; then 
    12231   { echo "$as_me:$LINENO: result: ok" >&5 
    12232 echo "${ECHO_T}ok" >&6; } 
    12233 else 
    12234   echo "$as_me: failed program was:" >&5 
    12235 sed 's/^/| /' conftest.$ac_ext >&5 
    12236  
    12237         { { echo "$as_me:$LINENO: error: failed 
    12238 See \`config.log' for more details." >&5 
    12239 echo "$as_me: error: failed 
    12240 See \`config.log' for more details." >&2;} 
    12241    { (exit 1); exit 1; }; } 
    12242 fi 
    12243  
    12244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12245       conftest$ac_exeext conftest.$ac_ext 
     6107if ac_fn_c_try_link "$LINENO"; then : 
     6108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6109$as_echo "ok" >&6; } 
     6110else 
     6111  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6113as_fn_error "failed 
     6114See \`config.log' for more details." "$LINENO" 5; } 
     6115fi 
     6116rm -f core conftest.err conftest.$ac_objext \ 
     6117    conftest$ac_exeext conftest.$ac_ext 
    122466118 
    122476119        CFLAGS="$SAVED_CFLAGS" 
     
    122636135export IPP_LIBS=$IPP_LIBS" 
    122646136else 
    12265     { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
    12266 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
     6137    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
     6138$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
    122676139fi 
    122686140 
     
    122716143 
    122726144# Check whether --enable-ssl was given. 
    12273 if test "${enable_ssl+set}" = set; then 
     6145if test "${enable_ssl+set}" = set; then : 
    122746146  enableval=$enable_ssl; 
    122756147                if test "$enable_ssl" = "no"; then 
    122766148                 ac_no_ssl=1 
    12277                  { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
    12278 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
     6149                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
     6150$as_echo "Checking if SSL support is disabled... yes" >&6; } 
    122796151                fi 
    122806152 
    122816153else 
    122826154 
    12283                 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
    12284 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
    12285  
    12286  
    12287  
    12288                 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12289   { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    12290 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    12291 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12292   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12293 fi 
    12294 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    12295 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    12296 else 
    12297   # Is the header compilable? 
    12298 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
    12299 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
    12300 cat >conftest.$ac_ext <<_ACEOF 
    12301 /* confdefs.h.  */ 
    12302 _ACEOF 
    12303 cat confdefs.h >>conftest.$ac_ext 
    12304 cat >>conftest.$ac_ext <<_ACEOF 
    12305 /* end confdefs.h.  */ 
    12306 $ac_includes_default 
    12307 #include <openssl/ssl.h> 
    12308 _ACEOF 
    12309 rm -f conftest.$ac_objext 
    12310 if { (ac_try="$ac_compile" 
    12311 case "(($ac_try" in 
    12312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12313   *) ac_try_echo=$ac_try;; 
    12314 esac 
    12315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12316   (eval "$ac_compile") 2>conftest.er1 
    12317   ac_status=$? 
    12318   grep -v '^ *+' conftest.er1 >conftest.err 
    12319   rm -f conftest.er1 
    12320   cat conftest.err >&5 
    12321   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12322   (exit $ac_status); } && { 
    12323          test -z "$ac_c_werror_flag" || 
    12324          test ! -s conftest.err 
    12325        } && test -s conftest.$ac_objext; then 
    12326   ac_header_compiler=yes 
    12327 else 
    12328   echo "$as_me: failed program was:" >&5 
    12329 sed 's/^/| /' conftest.$ac_ext >&5 
    12330  
    12331         ac_header_compiler=no 
    12332 fi 
    12333  
    12334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    12335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    12336 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    12337  
    12338 # Is the header present? 
    12339 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
    12340 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
    12341 cat >conftest.$ac_ext <<_ACEOF 
    12342 /* confdefs.h.  */ 
    12343 _ACEOF 
    12344 cat confdefs.h >>conftest.$ac_ext 
    12345 cat >>conftest.$ac_ext <<_ACEOF 
    12346 /* end confdefs.h.  */ 
    12347 #include <openssl/ssl.h> 
    12348 _ACEOF 
    12349 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    12350 case "(($ac_try" in 
    12351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12352   *) ac_try_echo=$ac_try;; 
    12353 esac 
    12354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12355   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    12356   ac_status=$? 
    12357   grep -v '^ *+' conftest.er1 >conftest.err 
    12358   rm -f conftest.er1 
    12359   cat conftest.err >&5 
    12360   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12361   (exit $ac_status); } >/dev/null && { 
    12362          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    12363          test ! -s conftest.err 
    12364        }; then 
    12365   ac_header_preproc=yes 
    12366 else 
    12367   echo "$as_me: failed program was:" >&5 
    12368 sed 's/^/| /' conftest.$ac_ext >&5 
    12369  
    12370   ac_header_preproc=no 
    12371 fi 
    12372  
    12373 rm -f conftest.err conftest.$ac_ext 
    12374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    12375 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    12376  
    12377 # So?  What about this header? 
    12378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    12379   yes:no: ) 
    12380     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    12381 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    12382     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
    12383 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
    12384     ac_header_preproc=yes 
    12385     ;; 
    12386   no:yes:* ) 
    12387     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
    12388 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
    12389     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
    12390 echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
    12391     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
    12392 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
    12393     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    12394 echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    12395     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
    12396 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
    12397     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
    12398 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
    12399  
    12400     ;; 
    12401 esac 
    12402 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    12403 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    12404 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12405   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12406 else 
    12407   ac_cv_header_openssl_ssl_h=$ac_header_preproc 
    12408 fi 
    12409 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    12410 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    12411  
    12412 fi 
    12413 if test $ac_cv_header_openssl_ssl_h = yes; then 
     6155                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
     6156$as_echo "checking for OpenSSL installations.." >&6; } 
     6157 
     6158 
     6159 
     6160                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
     6161if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
    124146162  openssl_h_present=1 
    124156163fi 
    124166164 
    124176165 
    12418                 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    12419 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
    12420 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
    12421   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6166                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     6167$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
     6168if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     6169  $as_echo_n "(cached) " >&6 
    124226170else 
    124236171  ac_check_lib_save_LIBS=$LIBS 
    124246172LIBS="-lcrypto  $LIBS" 
    12425 cat >conftest.$ac_ext <<_ACEOF 
    12426 /* confdefs.h.  */ 
    12427 _ACEOF 
    12428 cat confdefs.h >>conftest.$ac_ext 
    12429 cat >>conftest.$ac_ext <<_ACEOF 
     6173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    124306174/* end confdefs.h.  */ 
    124316175 
     
    124456189} 
    124466190_ACEOF 
    12447 rm -f conftest.$ac_objext conftest$ac_exeext 
    12448 if { (ac_try="$ac_link" 
    12449 case "(($ac_try" in 
    12450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12451   *) ac_try_echo=$ac_try;; 
    12452 esac 
    12453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12454   (eval "$ac_link") 2>conftest.er1 
    12455   ac_status=$? 
    12456   grep -v '^ *+' conftest.er1 >conftest.err 
    12457   rm -f conftest.er1 
    12458   cat conftest.err >&5 
    12459   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12460   (exit $ac_status); } && { 
    12461          test -z "$ac_c_werror_flag" || 
    12462          test ! -s conftest.err 
    12463        } && test -s conftest$ac_exeext && 
    12464        $as_test_x conftest$ac_exeext; then 
     6191if ac_fn_c_try_link "$LINENO"; then : 
    124656192  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    124666193else 
    12467   echo "$as_me: failed program was:" >&5 
    12468 sed 's/^/| /' conftest.$ac_ext >&5 
    12469  
    12470         ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    12471 fi 
    12472  
    12473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12474       conftest$ac_exeext conftest.$ac_ext 
     6194  ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     6195fi 
     6196rm -f core conftest.err conftest.$ac_objext \ 
     6197    conftest$ac_exeext conftest.$ac_ext 
    124756198LIBS=$ac_check_lib_save_LIBS 
    124766199fi 
    12477 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    12478 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    12479 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     6200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     6201$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     6202if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
    124806203  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    124816204fi 
    124826205 
    12483                 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
    12484 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
    12485 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
    12486   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6206                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
     6207$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
     6208if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     6209  $as_echo_n "(cached) " >&6 
    124876210else 
    124886211  ac_check_lib_save_LIBS=$LIBS 
    124896212LIBS="-lssl  $LIBS" 
    12490 cat >conftest.$ac_ext <<_ACEOF 
    12491 /* confdefs.h.  */ 
    12492 _ACEOF 
    12493 cat confdefs.h >>conftest.$ac_ext 
    12494 cat >>conftest.$ac_ext <<_ACEOF 
     6213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    124956214/* end confdefs.h.  */ 
    124966215 
     
    125106229} 
    125116230_ACEOF 
    12512 rm -f conftest.$ac_objext conftest$ac_exeext 
    12513 if { (ac_try="$ac_link" 
    12514 case "(($ac_try" in 
    12515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12516   *) ac_try_echo=$ac_try;; 
    12517 esac 
    12518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12519   (eval "$ac_link") 2>conftest.er1 
    12520   ac_status=$? 
    12521   grep -v '^ *+' conftest.er1 >conftest.err 
    12522   rm -f conftest.er1 
    12523   cat conftest.err >&5 
    12524   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12525   (exit $ac_status); } && { 
    12526          test -z "$ac_c_werror_flag" || 
    12527          test ! -s conftest.err 
    12528        } && test -s conftest$ac_exeext && 
    12529        $as_test_x conftest$ac_exeext; then 
     6231if ac_fn_c_try_link "$LINENO"; then : 
    125306232  ac_cv_lib_ssl_SSL_library_init=yes 
    125316233else 
    12532   echo "$as_me: failed program was:" >&5 
    12533 sed 's/^/| /' conftest.$ac_ext >&5 
    12534  
    12535         ac_cv_lib_ssl_SSL_library_init=no 
    12536 fi 
    12537  
    12538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12539       conftest$ac_exeext conftest.$ac_ext 
     6234  ac_cv_lib_ssl_SSL_library_init=no 
     6235fi 
     6236rm -f core conftest.err conftest.$ac_objext \ 
     6237    conftest$ac_exeext conftest.$ac_ext 
    125406238LIBS=$ac_check_lib_save_LIBS 
    125416239fi 
    12542 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    12543 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    12544 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     6240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     6241$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     6242if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
    125456243  libssl_present=1 && LIBS="$LIBS -lssl" 
    125466244fi 
    125476245 
    125486246                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    12549                         { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
    12550 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
     6247                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
     6248$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
    125516249                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    125526250                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    12553                         cat >>confdefs.h <<\_ACEOF 
    12554 #define PJ_HAS_SSL_SOCK 1 
    12555 _ACEOF 
     6251                        $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
    125566252 
    125576253                else 
    12558                         { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    12559 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     6254                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     6255$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    125606256                fi 
    125616257 
     
    125666262 
    125676263 
    12568 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    12569 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
     6264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
     6265$as_echo_n "checking if select() needs correct nfds... " >&6; } 
    125706266case $target in 
    12571   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12572 #define PJ_SELECT_NEEDS_NFDS 1 
    12573 _ACEOF 
    12574  
    12575            { echo "$as_me:$LINENO: result: yes" >&5 
    12576 echo "${ECHO_T}yes" >&6; } 
     6267  *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
     6268 
     6269           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6270$as_echo "yes" >&6; } 
    125776271        ;; 
    12578   *) cat >>confdefs.h <<\_ACEOF 
    12579 #define PJ_SELECT_NEEDS_NFDS 0 
    12580 _ACEOF 
    12581  
    12582      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12583 echo "${ECHO_T}no (default)" >&6; } 
    12584      { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    12585 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     6272  *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
     6273 
     6274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6275$as_echo "no (default)" >&6; } 
     6276     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     6277$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    125866278        ;; 
    125876279esac 
    125886280 
    12589 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    12590 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
     6281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
     6282$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
    125916283case $target in 
    12592   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12593 #define PJ_THREAD_SET_STACK_SIZE 1 
    12594 _ACEOF 
    12595  
    12596            { echo "$as_me:$LINENO: result: yes" >&5 
    12597 echo "${ECHO_T}yes" >&6; } 
     6284  *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
     6285 
     6286           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6287$as_echo "yes" >&6; } 
    125986288        ;; 
    12599   *) cat >>confdefs.h <<\_ACEOF 
    12600 #define PJ_THREAD_SET_STACK_SIZE 0 
    12601 _ACEOF 
    12602  
    12603      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12604 echo "${ECHO_T}no (default)" >&6; } 
     6289  *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
     6290 
     6291     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6292$as_echo "no (default)" >&6; } 
    126056293        ;; 
    126066294esac 
    126076295 
    12608 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    12609 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
     6296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
     6297$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
    126106298case $target in 
    12611   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12612 #define PJ_THREAD_ALLOCATE_STACK 1 
    12613 _ACEOF 
    12614  
    12615            { echo "$as_me:$LINENO: result: yes" >&5 
    12616 echo "${ECHO_T}yes" >&6; } 
     6299  *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
     6300 
     6301           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6302$as_echo "yes" >&6; } 
    126176303        ;; 
    12618   *) cat >>confdefs.h <<\_ACEOF 
    12619 #define PJ_THREAD_ALLOCATE_STACK 0 
    12620 _ACEOF 
    12621  
    12622      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12623 echo "${ECHO_T}no (default)" >&6; } 
     6304  *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
     6305 
     6306     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6307$as_echo "no (default)" >&6; } 
    126246308        ;; 
    126256309esac 
     
    126276311case $target in 
    126286312  *mingw* | *cygw* | *win32* | *w32* ) 
    12629         cat >>confdefs.h <<\_ACEOF 
    12630 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    12631 _ACEOF 
     6313        $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    126326314 
    126336315        ;; 
    12634   *) cat >>confdefs.h <<\_ACEOF 
    12635 #define PJ_BLOCKING_ERROR_VAL EAGAIN 
    12636 _ACEOF 
    12637  
    12638      { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    12639 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     6316  *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
     6317 
     6318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     6319$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    126406320        ;; 
    126416321esac 
     
    126436323case $target in 
    126446324  *mingw* | *cygw* | *win32* | *w32* ) 
    12645         cat >>confdefs.h <<\_ACEOF 
    12646 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    12647 _ACEOF 
     6325        $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    126486326 
    126496327        ;; 
    12650   *) cat >>confdefs.h <<\_ACEOF 
    12651 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    12652 _ACEOF 
    12653  
    12654      { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    12655 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     6328  *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
     6329 
     6330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     6331$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    126566332        ;; 
    126576333esac 
     
    127086384    *${as_nl}*) 
    127096385      case $ac_var in #( 
    12710       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    12711 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     6386      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     6387$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    127126388      esac 
    127136389      case $ac_var in #( 
    127146390      _ | IFS | as_nl) ;; #( 
    12715       *) $as_unset $ac_var ;; 
     6391      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     6392      *) { eval $ac_var=; unset $ac_var;} ;; 
    127166393      esac ;; 
    127176394    esac 
     
    127216398    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    127226399    *${as_nl}ac_space=\ *) 
    12723       # `set' does not quote correctly, so add quotes (double-quote 
    12724       # substitution turns \\\\ into \\, and sed turns \\ into \). 
     6400      # `set' does not quote correctly, so add quotes: double-quote 
     6401      # substitution turns \\\\ into \\, and sed turns \\ into \. 
    127256402      sed -n \ 
    127266403        "s/'/'\\\\''/g; 
     
    127456422  if test -w "$cache_file"; then 
    127466423    test "x$cache_file" != "x/dev/null" && 
    12747       { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
    12748 echo "$as_me: updating cache $cache_file" >&6;} 
     6424      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
     6425$as_echo "$as_me: updating cache $cache_file" >&6;} 
    127496426    cat confcache >$cache_file 
    127506427  else 
    12751     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
    12752 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     6428    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     6429$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    127536430  fi 
    127546431fi 
     
    127666443  # 1. Remove the extension, and $U if already installed. 
    127676444  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    12768   ac_i=`echo "$ac_i" | sed "$ac_script"` 
     6445  ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
    127696446  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    127706447  #    will be set to the directory where LIBOBJS objects are built. 
    12771   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    12772   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
     6448  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     6449  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
    127736450done 
    127746451LIBOBJS=$ac_libobjs 
     
    127786455 
    127796456 
     6457 
    127806458: ${CONFIG_STATUS=./config.status} 
     6459ac_write_fail=0 
    127816460ac_clean_files_save=$ac_clean_files 
    127826461ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    12783 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    12784 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    12785 cat >$CONFIG_STATUS <<_ACEOF 
     6462{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
     6463$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     6464as_write_fail=0 
     6465cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
    127866466#! $SHELL 
    127876467# Generated by $as_me. 
     
    127936473ac_cs_recheck=false 
    127946474ac_cs_silent=false 
     6475 
    127956476SHELL=\${CONFIG_SHELL-$SHELL} 
    12796 _ACEOF 
    12797  
    12798 cat >>$CONFIG_STATUS <<\_ACEOF 
    12799 ## --------------------- ## 
    12800 ## M4sh Initialization.  ## 
    12801 ## --------------------- ## 
     6477export SHELL 
     6478_ASEOF 
     6479cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
     6480## -------------------- ## 
     6481## M4sh Initialization. ## 
     6482## -------------------- ## 
    128026483 
    128036484# Be more Bourne compatible 
    128046485DUALCASE=1; export DUALCASE # for MKS sh 
    12805 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     6486if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    128066487  emulate sh 
    128076488  NULLCMD=: 
    12808   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     6489  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    128096490  # is contrary to our usage.  Disable this feature. 
    128106491  alias -g '${1+"$@"}'='"$@"' 
    128116492  setopt NO_GLOB_SUBST 
    128126493else 
    12813   case `(set -o) 2>/dev/null` in 
    12814   *posix*) set -o posix ;; 
     6494  case `(set -o) 2>/dev/null` in #( 
     6495  *posix*) : 
     6496    set -o posix ;; #( 
     6497  *) : 
     6498     ;; 
    128156499esac 
    12816  
    12817 fi 
    12818  
    12819  
    12820  
    12821  
    12822 # PATH needs CR 
    12823 # Avoid depending upon Character Ranges. 
    12824 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    12825 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    12826 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    12827 as_cr_digits='0123456789' 
    12828 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     6500fi 
     6501 
     6502 
     6503as_nl=' 
     6504' 
     6505export as_nl 
     6506# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     6507as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     6508as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     6509as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     6510# Prefer a ksh shell builtin over an external printf program on Solaris, 
     6511# but without wasting forks for bash or zsh. 
     6512if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     6513    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6514  as_echo='print -r --' 
     6515  as_echo_n='print -rn --' 
     6516elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6517  as_echo='printf %s\n' 
     6518  as_echo_n='printf %s' 
     6519else 
     6520  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     6521    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     6522    as_echo_n='/usr/ucb/echo -n' 
     6523  else 
     6524    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     6525    as_echo_n_body='eval 
     6526      arg=$1; 
     6527      case $arg in #( 
     6528      *"$as_nl"*) 
     6529        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     6530        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     6531      esac; 
     6532      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     6533    ' 
     6534    export as_echo_n_body 
     6535    as_echo_n='sh -c $as_echo_n_body as_echo' 
     6536  fi 
     6537  export as_echo_body 
     6538  as_echo='sh -c $as_echo_body as_echo' 
     6539fi 
    128296540 
    128306541# The user is always right. 
    128316542if test "${PATH_SEPARATOR+set}" != set; then 
    12832   echo "#! /bin/sh" >conf$$.sh 
    12833   echo  "exit 0"   >>conf$$.sh 
    12834   chmod +x conf$$.sh 
    12835   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    12836     PATH_SEPARATOR=';' 
    12837   else 
    12838     PATH_SEPARATOR=: 
    12839   fi 
    12840   rm -f conf$$.sh 
    12841 fi 
    12842  
    12843 # Support unset when possible. 
    12844 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    12845   as_unset=unset 
    12846 else 
    12847   as_unset=false 
     6543  PATH_SEPARATOR=: 
     6544  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     6545    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     6546      PATH_SEPARATOR=';' 
     6547  } 
    128486548fi 
    128496549 
     
    128546554# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    128556555# splitting by setting IFS to empty value.) 
    12856 as_nl=' 
    12857 ' 
    128586556IFS=" ""        $as_nl" 
    128596557 
    128606558# Find who we are.  Look in the path if we contain no directory separator. 
    12861 case $0 in 
     6559case $0 in #(( 
    128626560  *[\\/]* ) as_myself=$0 ;; 
    128636561  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    128666564  IFS=$as_save_IFS 
    128676565  test -z "$as_dir" && as_dir=. 
    12868   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    12869 done 
     6566    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     6567  done 
    128706568IFS=$as_save_IFS 
    128716569 
     
    128786576fi 
    128796577if test ! -f "$as_myself"; then 
    12880   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    12881   { (exit 1); exit 1; } 
    12882 fi 
    12883  
    12884 # Work around bugs in pre-3.0 UWIN ksh. 
    12885 for as_var in ENV MAIL MAILPATH 
    12886 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     6578  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     6579  exit 1 
     6580fi 
     6581 
     6582# Unset variables that we do not need and which cause bugs (e.g. in 
     6583# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     6584# suppresses any "Segmentation fault" message there.  '((' could 
     6585# trigger a bug in pdksh 5.2.14. 
     6586for as_var in BASH_ENV ENV MAIL MAILPATH 
     6587do eval test x\${$as_var+set} = xset \ 
     6588  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    128876589done 
    128886590PS1='$ ' 
     
    128916593 
    128926594# NLS nuisances. 
    12893 for as_var in \ 
    12894   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    12895   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    12896   LC_TELEPHONE LC_TIME 
    12897 do 
    12898   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    12899     eval $as_var=C; export $as_var 
    12900   else 
    12901     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     6595LC_ALL=C 
     6596export LC_ALL 
     6597LANGUAGE=C 
     6598export LANGUAGE 
     6599 
     6600# CDPATH. 
     6601(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     6602 
     6603 
     6604# as_fn_error ERROR [LINENO LOG_FD] 
     6605# --------------------------------- 
     6606# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     6607# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     6608# script with status $?, using 1 if that was 0. 
     6609as_fn_error () 
     6610{ 
     6611  as_status=$?; test $as_status -eq 0 && as_status=1 
     6612  if test "$3"; then 
     6613    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     6614    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
    129026615  fi 
    12903 done 
    12904  
    12905 # Required to use basename. 
     6616  $as_echo "$as_me: error: $1" >&2 
     6617  as_fn_exit $as_status 
     6618} # as_fn_error 
     6619 
     6620 
     6621# as_fn_set_status STATUS 
     6622# ----------------------- 
     6623# Set $? to STATUS, without forking. 
     6624as_fn_set_status () 
     6625{ 
     6626  return $1 
     6627} # as_fn_set_status 
     6628 
     6629# as_fn_exit STATUS 
     6630# ----------------- 
     6631# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     6632as_fn_exit () 
     6633{ 
     6634  set +e 
     6635  as_fn_set_status $1 
     6636  exit $1 
     6637} # as_fn_exit 
     6638 
     6639# as_fn_unset VAR 
     6640# --------------- 
     6641# Portably unset VAR. 
     6642as_fn_unset () 
     6643{ 
     6644  { eval $1=; unset $1;} 
     6645} 
     6646as_unset=as_fn_unset 
     6647# as_fn_append VAR VALUE 
     6648# ---------------------- 
     6649# Append the text in VALUE to the end of the definition contained in VAR. Take 
     6650# advantage of any shell optimizations that allow amortized linear growth over 
     6651# repeated appends, instead of the typical quadratic growth present in naive 
     6652# implementations. 
     6653if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     6654  eval 'as_fn_append () 
     6655  { 
     6656    eval $1+=\$2 
     6657  }' 
     6658else 
     6659  as_fn_append () 
     6660  { 
     6661    eval $1=\$$1\$2 
     6662  } 
     6663fi # as_fn_append 
     6664 
     6665# as_fn_arith ARG... 
     6666# ------------------ 
     6667# Perform arithmetic evaluation on the ARGs, and store the result in the 
     6668# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     6669# must be portable across $(()) and expr. 
     6670if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     6671  eval 'as_fn_arith () 
     6672  { 
     6673    as_val=$(( $* )) 
     6674  }' 
     6675else 
     6676  as_fn_arith () 
     6677  { 
     6678    as_val=`expr "$@" || test $? -eq 1` 
     6679  } 
     6680fi # as_fn_arith 
     6681 
     6682 
    129066683if expr a : '\(a\)' >/dev/null 2>&1 && 
    129076684   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    129176694fi 
    129186695 
    12919  
    12920 # Name of the executable. 
     6696if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     6697  as_dirname=dirname 
     6698else 
     6699  as_dirname=false 
     6700fi 
     6701 
    129216702as_me=`$as_basename -- "$0" || 
    129226703$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    129236704         X"$0" : 'X\(//\)$' \| \ 
    129246705         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    12925 echo X/"$0" | 
     6706$as_echo X/"$0" | 
    129266707    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    129276708            s//\1/ 
     
    129386719          s/.*/./; q'` 
    129396720 
    12940 # CDPATH. 
    12941 $as_unset CDPATH 
    12942  
    12943  
    12944  
    12945   as_lineno_1=$LINENO 
    12946   as_lineno_2=$LINENO 
    12947   test "x$as_lineno_1" != "x$as_lineno_2" && 
    12948   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    12949  
    12950   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    12951   # uniformly replaced by the line number.  The first 'sed' inserts a 
    12952   # line-number line after each line using $LINENO; the second 'sed' 
    12953   # does the real work.  The second script uses 'N' to pair each 
    12954   # line-number line with the line containing $LINENO, and appends 
    12955   # trailing '-' during substitution so that $LINENO is not a special 
    12956   # case at line end. 
    12957   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    12958   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    12959   # E. McMahon (1931-1989) for sed's syntax.  :-) 
    12960   sed -n ' 
    12961     p 
    12962     /[$]LINENO/= 
    12963   ' <$as_myself | 
    12964     sed ' 
    12965       s/[$]LINENO.*/&-/ 
    12966       t lineno 
    12967       b 
    12968       :lineno 
    12969       N 
    12970       :loop 
    12971       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    12972       t loop 
    12973       s/-\n.*// 
    12974     ' >$as_me.lineno && 
    12975   chmod +x "$as_me.lineno" || 
    12976     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    12977    { (exit 1); exit 1; }; } 
    12978  
    12979   # Don't try to exec as it changes $[0], causing all sort of problems 
    12980   # (the dirname of $[0] is not the place where we might find the 
    12981   # original and so on.  Autoconf is especially sensitive to this). 
    12982   . "./$as_me.lineno" 
    12983   # Exit status is that of the last command. 
    12984   exit 
    12985 } 
    12986  
    12987  
    12988 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    12989   as_dirname=dirname 
    12990 else 
    12991   as_dirname=false 
    12992 fi 
     6721# Avoid depending upon Character Ranges. 
     6722as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     6723as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     6724as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     6725as_cr_digits='0123456789' 
     6726as_cr_alnum=$as_cr_Letters$as_cr_digits 
    129936727 
    129946728ECHO_C= ECHO_N= ECHO_T= 
    12995 case `echo -n x` in 
     6729case `echo -n x` in #((((( 
    129966730-n*) 
    12997   case `echo 'x\c'` in 
     6731  case `echo 'xy\c'` in 
    129986732  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    12999   *)   ECHO_C='\c';; 
     6733  xy)  ECHO_C='\c';; 
     6734  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     6735       ECHO_T=' ';; 
    130006736  esac;; 
    130016737*) 
     
    130036739esac 
    130046740 
    13005 if expr a : '\(a\)' >/dev/null 2>&1 && 
    13006    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    13007   as_expr=expr 
    13008 else 
    13009   as_expr=false 
    13010 fi 
    13011  
    130126741rm -f conf$$ conf$$.exe conf$$.file 
    130136742if test -d conf$$.dir; then 
     
    130156744else 
    130166745  rm -f conf$$.dir 
    13017   mkdir conf$$.dir 
    13018 fi 
    13019 echo >conf$$.file 
    13020 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    13021   as_ln_s='ln -s' 
    13022   # ... but there are two gotchas: 
    13023   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    13024   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    13025   # In both cases, we have to default to `cp -p'. 
    13026   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     6746  mkdir conf$$.dir 2>/dev/null 
     6747fi 
     6748if (echo >conf$$.file) 2>/dev/null; then 
     6749  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     6750    as_ln_s='ln -s' 
     6751    # ... but there are two gotchas: 
     6752    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     6753    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     6754    # In both cases, we have to default to `cp -p'. 
     6755    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     6756      as_ln_s='cp -p' 
     6757  elif ln conf$$.file conf$$ 2>/dev/null; then 
     6758    as_ln_s=ln 
     6759  else 
    130276760    as_ln_s='cp -p' 
    13028 elif ln conf$$.file conf$$ 2>/dev/null; then 
    13029   as_ln_s=ln 
     6761  fi 
    130306762else 
    130316763  as_ln_s='cp -p' 
     
    130346766rmdir conf$$.dir 2>/dev/null 
    130356767 
    13036 if mkdir -p . 2>/dev/null; then 
    13037   as_mkdir_p=: 
    13038 else 
    13039   test -d ./-p && rmdir ./-p 
    13040   as_mkdir_p=false 
    13041 fi 
    13042  
    13043 if test -x / >/dev/null 2>&1; then 
    13044   as_test_x='test -x' 
    13045 else 
    13046   if ls -dL / >/dev/null 2>&1; then 
    13047     as_ls_L_option=L 
    13048   else 
    13049     as_ls_L_option= 
    13050   fi 
    13051   as_test_x=' 
    13052     eval sh -c '\'' 
    13053       if test -d "$1"; then 
    13054         test -d "$1/."; 
    13055       else 
    13056         case $1 in 
    13057         -*)set "./$1";; 
    13058         esac; 
    13059         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    13060         ???[sx]*):;;*)false;;esac;fi 
    13061     '\'' sh 
    13062   ' 
    13063 fi 
    13064 as_executable_p=$as_test_x 
    13065  
    13066 # Sed expression to map a string onto a valid CPP name. 
    13067 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    13068  
    13069 # Sed expression to map a string onto a valid variable name. 
    13070 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    13071  
    13072  
    13073 exec 6>&1 
    13074  
    13075 # Save the log message, to keep $[0] and so on meaningful, and to 
    13076 # report actual input values of CONFIG_FILES etc. instead of their 
    13077 # values after options handling. 
    13078 ac_log=" 
    13079 This file was extended by pjproject $as_me 1.x, which was 
    13080 generated by GNU Autoconf 2.61.  Invocation command line was 
    13081  
    13082   CONFIG_FILES    = $CONFIG_FILES 
    13083   CONFIG_HEADERS  = $CONFIG_HEADERS 
    13084   CONFIG_LINKS    = $CONFIG_LINKS 
    13085   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    13086   $ $0 $@ 
    13087  
    13088 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    13089 " 
    13090  
    13091 _ACEOF 
    13092  
    13093 cat >>$CONFIG_STATUS <<_ACEOF 
    13094 # Files that config.status was made for. 
    13095 config_files="$ac_config_files" 
    13096 config_headers="$ac_config_headers" 
    13097  
    13098 _ACEOF 
    13099  
    13100 cat >>$CONFIG_STATUS <<\_ACEOF 
    13101 ac_cs_usage="\ 
    13102 \`$as_me' instantiates files from templates according to the 
    13103 current configuration. 
    13104  
    13105 Usage: $0 [OPTIONS] [FILE]... 
    13106  
    13107   -h, --help       print this help, then exit 
    13108   -V, --version    print version number and configuration settings, then exit 
    13109   -q, --quiet      do not print progress messages 
    13110   -d, --debug      don't remove temporary files 
    13111       --recheck    update $as_me by reconfiguring in the same conditions 
    13112   --file=FILE[:TEMPLATE] 
    13113                    instantiate the configuration file FILE 
    13114   --header=FILE[:TEMPLATE] 
    13115                    instantiate the configuration header FILE 
    13116  
    13117 Configuration files: 
    13118 $config_files 
    13119  
    13120 Configuration headers: 
    13121 $config_headers 
    13122  
    13123 Report bugs to <bug-autoconf@gnu.org>." 
    13124  
    13125 _ACEOF 
    13126 cat >>$CONFIG_STATUS <<_ACEOF 
    13127 ac_cs_version="\\ 
    13128 pjproject config.status 1.x 
    13129 configured by $0, generated by GNU Autoconf 2.61, 
    13130   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
    13131  
    13132 Copyright (C) 2006 Free Software Foundation, Inc. 
    13133 This config.status script is free software; the Free Software Foundation 
    13134 gives unlimited permission to copy, distribute and modify it." 
    13135  
    13136 ac_pwd='$ac_pwd' 
    13137 srcdir='$srcdir' 
    13138 _ACEOF 
    13139  
    13140 cat >>$CONFIG_STATUS <<\_ACEOF 
    13141 # If no file are specified by the user, then we need to provide default 
    13142 # value.  By we need to know if files were specified by the user. 
    13143 ac_need_defaults=: 
    13144 while test $# != 0 
    13145 do 
    13146   case $1 in 
    13147   --*=*) 
    13148     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    13149     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    13150     ac_shift=: 
    13151     ;; 
    13152   *) 
    13153     ac_option=$1 
    13154     ac_optarg=$2 
    13155     ac_shift=shift 
    13156     ;; 
    13157   esac 
    13158  
    13159   case $ac_option in 
    13160   # Handling of the options. 
    13161   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    13162     ac_cs_recheck=: ;; 
    13163   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    13164     echo "$ac_cs_version"; exit ;; 
    13165   --debug | --debu | --deb | --de | --d | -d ) 
    13166     debug=: ;; 
    13167   --file | --fil | --fi | --f ) 
    13168     $ac_shift 
    13169     CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    13170     ac_need_defaults=false;; 
    13171   --header | --heade | --head | --hea ) 
    13172     $ac_shift 
    13173     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    13174     ac_need_defaults=false;; 
    13175   --he | --h) 
    13176     # Conflict between --help and --header 
    13177     { echo "$as_me: error: ambiguous option: $1 
    13178 Try \`$0 --help' for more information." >&2 
    13179    { (exit 1); exit 1; }; };; 
    13180   --help | --hel | -h ) 
    13181     echo "$ac_cs_usage"; exit ;; 
    13182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    13183   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    13184     ac_cs_silent=: ;; 
    13185  
    13186   # This is an error. 
    13187   -*) { echo "$as_me: error: unrecognized option: $1 
    13188 Try \`$0 --help' for more information." >&2 
    13189    { (exit 1); exit 1; }; } ;; 
    13190  
    13191   *) ac_config_targets="$ac_config_targets $1" 
    13192      ac_need_defaults=false ;; 
    13193  
    13194   esac 
    13195   shift 
    13196 done 
    13197  
    13198 ac_configure_extra_args= 
    13199  
    13200 if $ac_cs_silent; then 
    13201   exec 6>/dev/null 
    13202   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    13203 fi 
    13204  
    13205 _ACEOF 
    13206 cat >>$CONFIG_STATUS <<_ACEOF 
    13207 if \$ac_cs_recheck; then 
    13208   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
    13209   CONFIG_SHELL=$SHELL 
    13210   export CONFIG_SHELL 
    13211   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    13212 fi 
    13213  
    13214 _ACEOF 
    13215 cat >>$CONFIG_STATUS <<\_ACEOF 
    13216 exec 5>>config.log 
    13217 { 
    13218   echo 
    13219   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    13220 ## Running $as_me. ## 
    13221 _ASBOX 
    13222   echo "$ac_log" 
    13223 } >&5 
    13224  
    13225 _ACEOF 
    13226 cat >>$CONFIG_STATUS <<_ACEOF 
    13227 _ACEOF 
    13228  
    13229 cat >>$CONFIG_STATUS <<\_ACEOF 
    13230  
    13231 # Handling of arguments. 
    13232 for ac_config_target in $ac_config_targets 
    13233 do 
    13234   case $ac_config_target in 
    13235     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    13236     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    13237     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    13238     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    13239     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    13240     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    13241     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    13242     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    13243     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    13244     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    13245     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    13246     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    13247     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    13248     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    13249  
    13250   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    13251 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    13252    { (exit 1); exit 1; }; };; 
    13253   esac 
    13254 done 
    13255  
    13256  
    13257 # If the user did not use the arguments to specify the items to instantiate, 
    13258 # then the envvar interface is used.  Set only those that are not. 
    13259 # We use the long form for the default assignment because of an extremely 
    13260 # bizarre bug on SunOS 4.1.3. 
    13261 if $ac_need_defaults; then 
    13262   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    13263   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    13264 fi 
    13265  
    13266 # Have a temporary directory for convenience.  Make it in the build tree 
    13267 # simply because there is no reason against having it here, and in addition, 
    13268 # creating and moving files from /tmp can sometimes cause problems. 
    13269 # Hook for its removal unless debugging. 
    13270 # Note that there is a small window in which the directory will not be cleaned: 
    13271 # after its creation but before its name has been assigned to `$tmp'. 
    13272 $debug || 
    13273 { 
    13274   tmp= 
    13275   trap 'exit_status=$? 
    13276   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    13277 ' 0 
    13278   trap '{ (exit 1); exit 1; }' 1 2 13 15 
    13279 } 
    13280 # Create a (secure) tmp directory for tmp files. 
    13281  
    13282 { 
    13283   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    13284   test -n "$tmp" && test -d "$tmp" 
    13285 }  || 
    13286 { 
    13287   tmp=./conf$$-$RANDOM 
    13288   (umask 077 && mkdir "$tmp") 
    13289 } || 
    13290 { 
    13291    echo "$me: cannot create a temporary directory in ." >&2 
    13292    { (exit 1); exit 1; } 
    13293 } 
    13294  
    13295 # 
    13296 # Set up the sed scripts for CONFIG_FILES section. 
    13297 # 
    13298  
    13299 # No need to generate the scripts if there are no CONFIG_FILES. 
    13300 # This happens for instance when ./config.status config.h 
    13301 if test -n "$CONFIG_FILES"; then 
    13302  
    13303 _ACEOF 
    13304  
    13305  
    13306  
    13307 ac_delim='%!_!# ' 
    13308 for ac_last_try in false false false false false :; do 
    13309   cat >conf$$subs.sed <<_ACEOF 
    13310 SHELL!$SHELL$ac_delim 
    13311 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
    13312 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
    13313 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
    13314 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
    13315 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
    13316 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
    13317 exec_prefix!$exec_prefix$ac_delim 
    13318 prefix!$prefix$ac_delim 
    13319 program_transform_name!$program_transform_name$ac_delim 
    13320 bindir!$bindir$ac_delim 
    13321 sbindir!$sbindir$ac_delim 
    13322 libexecdir!$libexecdir$ac_delim 
    13323 datarootdir!$datarootdir$ac_delim 
    13324 datadir!$datadir$ac_delim 
    13325 sysconfdir!$sysconfdir$ac_delim 
    13326 sharedstatedir!$sharedstatedir$ac_delim 
    13327 localstatedir!$localstatedir$ac_delim 
    13328 includedir!$includedir$ac_delim 
    13329 oldincludedir!$oldincludedir$ac_delim 
    13330 docdir!$docdir$ac_delim 
    13331 infodir!$infodir$ac_delim 
    13332 htmldir!$htmldir$ac_delim 
    13333 dvidir!$dvidir$ac_delim 
    13334 pdfdir!$pdfdir$ac_delim 
    13335 psdir!$psdir$ac_delim 
    13336 libdir!$libdir$ac_delim 
    13337 localedir!$localedir$ac_delim 
    13338 mandir!$mandir$ac_delim 
    13339 DEFS!$DEFS$ac_delim 
    13340 ECHO_C!$ECHO_C$ac_delim 
    13341 ECHO_N!$ECHO_N$ac_delim 
    13342 ECHO_T!$ECHO_T$ac_delim 
    13343 LIBS!$LIBS$ac_delim 
    13344 build_alias!$build_alias$ac_delim 
    13345 host_alias!$host_alias$ac_delim 
    13346 target_alias!$target_alias$ac_delim 
    13347 build!$build$ac_delim 
    13348 build_cpu!$build_cpu$ac_delim 
    13349 build_vendor!$build_vendor$ac_delim 
    13350 build_os!$build_os$ac_delim 
    13351 host!$host$ac_delim 
    13352 host_cpu!$host_cpu$ac_delim 
    13353 host_vendor!$host_vendor$ac_delim 
    13354 host_os!$host_os$ac_delim 
    13355 target!$target$ac_delim 
    13356 target_cpu!$target_cpu$ac_delim 
    13357 target_vendor!$target_vendor$ac_delim 
    13358 target_os!$target_os$ac_delim 
    13359 CC!$CC$ac_delim 
    13360 CFLAGS!$CFLAGS$ac_delim 
    13361 LDFLAGS!$LDFLAGS$ac_delim 
    13362 CPPFLAGS!$CPPFLAGS$ac_delim 
    13363 ac_ct_CC!$ac_ct_CC$ac_delim 
    13364 EXEEXT!$EXEEXT$ac_delim 
    13365 OBJEXT!$OBJEXT$ac_delim 
    13366 CXX!$CXX$ac_delim 
    13367 CXXFLAGS!$CXXFLAGS$ac_delim 
    13368 ac_ct_CXX!$ac_ct_CXX$ac_delim 
    13369 AR!$AR$ac_delim 
    13370 LD!$LD$ac_delim 
    13371 LDOUT!$LDOUT$ac_delim 
    13372 RANLIB!$RANLIB$ac_delim 
    13373 LIBEXT!$LIBEXT$ac_delim 
    13374 LIBEXT2!$LIBEXT2$ac_delim 
    13375 CC_OUT!$CC_OUT$ac_delim 
    13376 CC_INC!$CC_INC$ac_delim 
    13377 CC_DEF!$CC_DEF$ac_delim 
    13378 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
    13379 CC_CFLAGS!$CC_CFLAGS$ac_delim 
    13380 ac_pjdir!$ac_pjdir$ac_delim 
    13381 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
    13382 CPP!$CPP$ac_delim 
    13383 GREP!$GREP$ac_delim 
    13384 EGREP!$EGREP$ac_delim 
    13385 ac_os_objs!$ac_os_objs$ac_delim 
    13386 ac_external_speex!$ac_external_speex$ac_delim 
    13387 ac_external_gsm!$ac_external_gsm$ac_delim 
    13388 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
    13389 ac_external_pa!$ac_external_pa$ac_delim 
    13390 ac_pa_cflags!$ac_pa_cflags$ac_delim 
    13391 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
    13392 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
    13393 ac_no_small_filter!$ac_no_small_filter$ac_delim 
    13394 ac_no_large_filter!$ac_no_large_filter$ac_delim 
    13395 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
    13396 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
    13397 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
    13398 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
    13399 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
    13400 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
    13401 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
    13402 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
    13403 ac_no_ssl!$ac_no_ssl$ac_delim 
    13404 openssl_h_present!$openssl_h_present$ac_delim 
    13405 libssl_present!$libssl_present$ac_delim 
    13406 libcrypto_present!$libcrypto_present$ac_delim 
    13407 _ACEOF 
    13408  
    13409   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
    13410     break 
    13411   elif $ac_last_try; then 
    13412     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    13413 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    13414    { (exit 1); exit 1; }; } 
    13415   else 
    13416     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    13417   fi 
    13418 done 
    13419  
    13420 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    13421 if test -n "$ac_eof"; then 
    13422   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    13423   ac_eof=`expr $ac_eof + 1` 
    13424 fi 
    13425  
    13426 cat >>$CONFIG_STATUS <<_ACEOF 
    13427 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
    13428 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    13429 _ACEOF 
    13430 sed ' 
    13431 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    13432 s/^/s,@/; s/!/@,|#_!!_#|/ 
    13433 :n 
    13434 t n 
    13435 s/'"$ac_delim"'$/,g/; t 
    13436 s/$/\\/; p 
    13437 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    13438 ' >>$CONFIG_STATUS <conf$$subs.sed 
    13439 rm -f conf$$subs.sed 
    13440 cat >>$CONFIG_STATUS <<_ACEOF 
    13441 CEOF$ac_eof 
    13442 _ACEOF 
    13443  
    13444  
    13445 ac_delim='%!_!# ' 
    13446 for ac_last_try in false false false false false :; do 
    13447   cat >conf$$subs.sed <<_ACEOF 
    13448 ac_cross_compile!$ac_cross_compile$ac_delim 
    13449 ac_linux_poll!$ac_linux_poll$ac_delim 
    13450 ac_host!$ac_host$ac_delim 
    13451 ac_main_obj!$ac_main_obj$ac_delim 
    13452 LIBOBJS!$LIBOBJS$ac_delim 
    13453 LTLIBOBJS!$LTLIBOBJS$ac_delim 
    13454 _ACEOF 
    13455  
    13456   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then 
    13457     break 
    13458   elif $ac_last_try; then 
    13459     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    13460 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    13461    { (exit 1); exit 1; }; } 
    13462   else 
    13463     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    13464   fi 
    13465 done 
    13466  
    13467 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    13468 if test -n "$ac_eof"; then 
    13469   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    13470   ac_eof=`expr $ac_eof + 1` 
    13471 fi 
    13472  
    13473 cat >>$CONFIG_STATUS <<_ACEOF 
    13474 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
    13475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
    13476 _ACEOF 
    13477 sed ' 
    13478 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    13479 s/^/s,@/; s/!/@,|#_!!_#|/ 
    13480 :n 
    13481 t n 
    13482 s/'"$ac_delim"'$/,g/; t 
    13483 s/$/\\/; p 
    13484 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    13485 ' >>$CONFIG_STATUS <conf$$subs.sed 
    13486 rm -f conf$$subs.sed 
    13487 cat >>$CONFIG_STATUS <<_ACEOF 
    13488 :end 
    13489 s/|#_!!_#|//g 
    13490 CEOF$ac_eof 
    13491 _ACEOF 
    13492  
    13493  
    13494 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    13495 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    13496 # trailing colons and then remove the whole line if VPATH becomes empty 
    13497 # (actually we leave an empty line to preserve line numbers). 
    13498 if test "x$srcdir" = x.; then 
    13499   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    13500 s/:*\$(srcdir):*/:/ 
    13501 s/:*\${srcdir}:*/:/ 
    13502 s/:*@srcdir@:*/:/ 
    13503 s/^\([^=]*=[     ]*\):*/\1/ 
    13504 s/:*$// 
    13505 s/^[^=]*=[       ]*$// 
    13506 }' 
    13507 fi 
    13508  
    13509 cat >>$CONFIG_STATUS <<\_ACEOF 
    13510 fi # test -n "$CONFIG_FILES" 
    13511  
    13512  
    13513 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
    13514 do 
    13515   case $ac_tag in 
    13516   :[FHLC]) ac_mode=$ac_tag; continue;; 
    13517   esac 
    13518   case $ac_mode$ac_tag in 
    13519   :[FHL]*:*);; 
    13520   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
    13521 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
    13522    { (exit 1); exit 1; }; };; 
    13523   :[FH]-) ac_tag=-:-;; 
    13524   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    13525   esac 
    13526   ac_save_IFS=$IFS 
    13527   IFS=: 
    13528   set x $ac_tag 
    13529   IFS=$ac_save_IFS 
    13530   shift 
    13531   ac_file=$1 
    13532   shift 
    13533  
    13534   case $ac_mode in 
    13535   :L) ac_source=$1;; 
    13536   :[FH]) 
    13537     ac_file_inputs= 
    13538     for ac_f 
    13539     do 
    13540       case $ac_f in 
    13541       -) ac_f="$tmp/stdin";; 
    13542       *) # Look for the file first in the build tree, then in the source tree 
    13543          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    13544          # because $ac_f cannot contain `:'. 
    13545          test -f "$ac_f" || 
    13546            case $ac_f in 
    13547            [\\/$]*) false;; 
    13548            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    13549            esac || 
    13550            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
    13551 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
    13552    { (exit 1); exit 1; }; };; 
    13553       esac 
    13554       ac_file_inputs="$ac_file_inputs $ac_f" 
    13555     done 
    13556  
    13557     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    13558     # use $as_me), people would be surprised to read: 
    13559     #    /* config.h.  Generated by config.status.  */ 
    13560     configure_input="Generated from "`IFS=: 
    13561           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
    13562     if test x"$ac_file" != x-; then 
    13563       configure_input="$ac_file.  $configure_input" 
    13564       { echo "$as_me:$LINENO: creating $ac_file" >&5 
    13565 echo "$as_me: creating $ac_file" >&6;} 
    13566     fi 
    13567  
    13568     case $ac_tag in 
    13569     *:-:* | *:-) cat >"$tmp/stdin";; 
    13570     esac 
    13571     ;; 
    13572   esac 
    13573  
    13574   ac_dir=`$as_dirname -- "$ac_file" || 
    13575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    13576          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    13577          X"$ac_file" : 'X\(//\)$' \| \ 
    13578          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    13579 echo X"$ac_file" | 
    13580     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    13581             s//\1/ 
    13582             q 
    13583           } 
    13584           /^X\(\/\/\)[^/].*/{ 
    13585             s//\1/ 
    13586             q 
    13587           } 
    13588           /^X\(\/\/\)$/{ 
    13589             s//\1/ 
    13590             q 
    13591           } 
    13592           /^X\(\/\).*/{ 
    13593             s//\1/ 
    13594             q 
    13595           } 
    13596           s/.*/./; q'` 
    13597   { as_dir="$ac_dir" 
     6768 
     6769# as_fn_mkdir_p 
     6770# ------------- 
     6771# Create "$as_dir" as a directory, including parents if necessary. 
     6772as_fn_mkdir_p () 
     6773{ 
     6774 
    135986775  case $as_dir in #( 
    135996776  -*) as_dir=./$as_dir;; 
    136006777  esac 
    13601   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
     6778  test -d "$as_dir" || eval $as_mkdir_p || { 
    136026779    as_dirs= 
    136036780    while :; do 
    136046781      case $as_dir in #( 
    13605       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
     6782      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    136066783      *) as_qdir=$as_dir;; 
    136076784      esac 
     
    136126789         X"$as_dir" : 'X\(//\)$' \| \ 
    136136790         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    13614 echo X"$as_dir" | 
     6791$as_echo X"$as_dir" | 
    136156792    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    136166793            s//\1/ 
     
    136336810    done 
    136346811    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    13635   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
    13636 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    13637    { (exit 1); exit 1; }; }; } 
     6812  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     6813 
     6814 
     6815} # as_fn_mkdir_p 
     6816if mkdir -p . 2>/dev/null; then 
     6817  as_mkdir_p='mkdir -p "$as_dir"' 
     6818else 
     6819  test -d ./-p && rmdir ./-p 
     6820  as_mkdir_p=false 
     6821fi 
     6822 
     6823if test -x / >/dev/null 2>&1; then 
     6824  as_test_x='test -x' 
     6825else 
     6826  if ls -dL / >/dev/null 2>&1; then 
     6827    as_ls_L_option=L 
     6828  else 
     6829    as_ls_L_option= 
     6830  fi 
     6831  as_test_x=' 
     6832    eval sh -c '\'' 
     6833      if test -d "$1"; then 
     6834        test -d "$1/."; 
     6835      else 
     6836        case $1 in #( 
     6837        -*)set "./$1";; 
     6838        esac; 
     6839        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
     6840        ???[sx]*):;;*)false;;esac;fi 
     6841    '\'' sh 
     6842  ' 
     6843fi 
     6844as_executable_p=$as_test_x 
     6845 
     6846# Sed expression to map a string onto a valid CPP name. 
     6847as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     6848 
     6849# Sed expression to map a string onto a valid variable name. 
     6850as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     6851 
     6852 
     6853exec 6>&1 
     6854## ----------------------------------- ## 
     6855## Main body of $CONFIG_STATUS script. ## 
     6856## ----------------------------------- ## 
     6857_ASEOF 
     6858test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
     6859 
     6860cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     6861# Save the log message, to keep $0 and so on meaningful, and to 
     6862# report actual input values of CONFIG_FILES etc. instead of their 
     6863# values after options handling. 
     6864ac_log=" 
     6865This file was extended by pjproject $as_me 1.x, which was 
     6866generated by GNU Autoconf 2.65.  Invocation command line was 
     6867 
     6868  CONFIG_FILES    = $CONFIG_FILES 
     6869  CONFIG_HEADERS  = $CONFIG_HEADERS 
     6870  CONFIG_LINKS    = $CONFIG_LINKS 
     6871  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     6872  $ $0 $@ 
     6873 
     6874on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     6875" 
     6876 
     6877_ACEOF 
     6878 
     6879case $ac_config_files in *" 
     6880"*) set x $ac_config_files; shift; ac_config_files=$*;; 
     6881esac 
     6882 
     6883case $ac_config_headers in *" 
     6884"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
     6885esac 
     6886 
     6887 
     6888cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     6889# Files that config.status was made for. 
     6890config_files="$ac_config_files" 
     6891config_headers="$ac_config_headers" 
     6892 
     6893_ACEOF 
     6894 
     6895cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     6896ac_cs_usage="\ 
     6897\`$as_me' instantiates files and other configuration actions 
     6898from templates according to the current configuration.  Unless the files 
     6899and actions are specified as TAGs, all are instantiated by default. 
     6900 
     6901Usage: $0 [OPTION]... [TAG]... 
     6902 
     6903  -h, --help       print this help, then exit 
     6904  -V, --version    print version number and configuration settings, then exit 
     6905      --config     print configuration, then exit 
     6906  -q, --quiet, --silent 
     6907                   do not print progress messages 
     6908  -d, --debug      don't remove temporary files 
     6909      --recheck    update $as_me by reconfiguring in the same conditions 
     6910      --file=FILE[:TEMPLATE] 
     6911                   instantiate the configuration file FILE 
     6912      --header=FILE[:TEMPLATE] 
     6913                   instantiate the configuration header FILE 
     6914 
     6915Configuration files: 
     6916$config_files 
     6917 
     6918Configuration headers: 
     6919$config_headers 
     6920 
     6921Report bugs to the package provider." 
     6922 
     6923_ACEOF 
     6924cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     6925ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
     6926ac_cs_version="\\ 
     6927pjproject config.status 1.x 
     6928configured by $0, generated by GNU Autoconf 2.65, 
     6929  with options \\"\$ac_cs_config\\" 
     6930 
     6931Copyright (C) 2009 Free Software Foundation, Inc. 
     6932This config.status script is free software; the Free Software Foundation 
     6933gives unlimited permission to copy, distribute and modify it." 
     6934 
     6935ac_pwd='$ac_pwd' 
     6936srcdir='$srcdir' 
     6937test -n "\$AWK" || AWK=awk 
     6938_ACEOF 
     6939 
     6940cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     6941# The default lists apply if the user does not specify any file. 
     6942ac_need_defaults=: 
     6943while test $# != 0 
     6944do 
     6945  case $1 in 
     6946  --*=*) 
     6947    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     6948    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     6949    ac_shift=: 
     6950    ;; 
     6951  *) 
     6952    ac_option=$1 
     6953    ac_optarg=$2 
     6954    ac_shift=shift 
     6955    ;; 
     6956  esac 
     6957 
     6958  case $ac_option in 
     6959  # Handling of the options. 
     6960  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     6961    ac_cs_recheck=: ;; 
     6962  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     6963    $as_echo "$ac_cs_version"; exit ;; 
     6964  --config | --confi | --conf | --con | --co | --c ) 
     6965    $as_echo "$ac_cs_config"; exit ;; 
     6966  --debug | --debu | --deb | --de | --d | -d ) 
     6967    debug=: ;; 
     6968  --file | --fil | --fi | --f ) 
     6969    $ac_shift 
     6970    case $ac_optarg in 
     6971    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     6972    esac 
     6973    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     6974    ac_need_defaults=false;; 
     6975  --header | --heade | --head | --hea ) 
     6976    $ac_shift 
     6977    case $ac_optarg in 
     6978    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     6979    esac 
     6980    as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
     6981    ac_need_defaults=false;; 
     6982  --he | --h) 
     6983    # Conflict between --help and --header 
     6984    as_fn_error "ambiguous option: \`$1' 
     6985Try \`$0 --help' for more information.";; 
     6986  --help | --hel | -h ) 
     6987    $as_echo "$ac_cs_usage"; exit ;; 
     6988  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     6989  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     6990    ac_cs_silent=: ;; 
     6991 
     6992  # This is an error. 
     6993  -*) as_fn_error "unrecognized option: \`$1' 
     6994Try \`$0 --help' for more information." ;; 
     6995 
     6996  *) as_fn_append ac_config_targets " $1" 
     6997     ac_need_defaults=false ;; 
     6998 
     6999  esac 
     7000  shift 
     7001done 
     7002 
     7003ac_configure_extra_args= 
     7004 
     7005if $ac_cs_silent; then 
     7006  exec 6>/dev/null 
     7007  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     7008fi 
     7009 
     7010_ACEOF 
     7011cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7012if \$ac_cs_recheck; then 
     7013  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7014  shift 
     7015  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     7016  CONFIG_SHELL='$SHELL' 
     7017  export CONFIG_SHELL 
     7018  exec "\$@" 
     7019fi 
     7020 
     7021_ACEOF 
     7022cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7023exec 5>>config.log 
     7024{ 
     7025  echo 
     7026  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     7027## Running $as_me. ## 
     7028_ASBOX 
     7029  $as_echo "$ac_log" 
     7030} >&5 
     7031 
     7032_ACEOF 
     7033cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7034_ACEOF 
     7035 
     7036cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7037 
     7038# Handling of arguments. 
     7039for ac_config_target in $ac_config_targets 
     7040do 
     7041  case $ac_config_target in 
     7042    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     7043    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     7044    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     7045    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     7046    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     7047    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     7048    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     7049    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     7050    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     7051    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     7052    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     7053    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     7054    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     7055    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     7056 
     7057  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     7058  esac 
     7059done 
     7060 
     7061 
     7062# If the user did not use the arguments to specify the items to instantiate, 
     7063# then the envvar interface is used.  Set only those that are not. 
     7064# We use the long form for the default assignment because of an extremely 
     7065# bizarre bug on SunOS 4.1.3. 
     7066if $ac_need_defaults; then 
     7067  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     7068  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     7069fi 
     7070 
     7071# Have a temporary directory for convenience.  Make it in the build tree 
     7072# simply because there is no reason against having it here, and in addition, 
     7073# creating and moving files from /tmp can sometimes cause problems. 
     7074# Hook for its removal unless debugging. 
     7075# Note that there is a small window in which the directory will not be cleaned: 
     7076# after its creation but before its name has been assigned to `$tmp'. 
     7077$debug || 
     7078{ 
     7079  tmp= 
     7080  trap 'exit_status=$? 
     7081  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     7082' 0 
     7083  trap 'as_fn_exit 1' 1 2 13 15 
     7084} 
     7085# Create a (secure) tmp directory for tmp files. 
     7086 
     7087{ 
     7088  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     7089  test -n "$tmp" && test -d "$tmp" 
     7090}  || 
     7091{ 
     7092  tmp=./conf$$-$RANDOM 
     7093  (umask 077 && mkdir "$tmp") 
     7094} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     7095 
     7096# Set up the scripts for CONFIG_FILES section. 
     7097# No need to generate them if there are no CONFIG_FILES. 
     7098# This happens for instance with `./config.status config.h'. 
     7099if test -n "$CONFIG_FILES"; then 
     7100 
     7101 
     7102ac_cr=`echo X | tr X '\015'` 
     7103# On cygwin, bash can eat \r inside `` if the user requested igncr. 
     7104# But we know of no other shell where ac_cr would be empty at this 
     7105# point, so we can use a bashism as a fallback. 
     7106if test "x$ac_cr" = x; then 
     7107  eval ac_cr=\$\'\\r\' 
     7108fi 
     7109ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
     7110if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
     7111  ac_cs_awk_cr='\r' 
     7112else 
     7113  ac_cs_awk_cr=$ac_cr 
     7114fi 
     7115 
     7116echo 'BEGIN {' >"$tmp/subs1.awk" && 
     7117_ACEOF 
     7118 
     7119 
     7120{ 
     7121  echo "cat >conf$$subs.awk <<_ACEOF" && 
     7122  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
     7123  echo "_ACEOF" 
     7124} >conf$$subs.sh || 
     7125  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7126ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     7127ac_delim='%!_!# ' 
     7128for ac_last_try in false false false false false :; do 
     7129  . ./conf$$subs.sh || 
     7130    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7131 
     7132  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     7133  if test $ac_delim_n = $ac_delim_num; then 
     7134    break 
     7135  elif $ac_last_try; then 
     7136    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7137  else 
     7138    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7139  fi 
     7140done 
     7141rm -f conf$$subs.sh 
     7142 
     7143cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7144cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     7145_ACEOF 
     7146sed -n ' 
     7147h 
     7148s/^/S["/; s/!.*/"]=/ 
     7149p 
     7150g 
     7151s/^[^!]*!// 
     7152:repl 
     7153t repl 
     7154s/'"$ac_delim"'$// 
     7155t delim 
     7156:nl 
     7157h 
     7158s/\(.\{148\}\)..*/\1/ 
     7159t more1 
     7160s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
     7161p 
     7162n 
     7163b repl 
     7164:more1 
     7165s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7166p 
     7167g 
     7168s/.\{148\}// 
     7169t nl 
     7170:delim 
     7171h 
     7172s/\(.\{148\}\)..*/\1/ 
     7173t more2 
     7174s/["\\]/\\&/g; s/^/"/; s/$/"/ 
     7175p 
     7176b 
     7177:more2 
     7178s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7179p 
     7180g 
     7181s/.\{148\}// 
     7182t delim 
     7183' <conf$$subs.awk | sed ' 
     7184/^[^""]/{ 
     7185  N 
     7186  s/\n// 
     7187} 
     7188' >>$CONFIG_STATUS || ac_write_fail=1 
     7189rm -f conf$$subs.awk 
     7190cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7191_ACAWK 
     7192cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     7193  for (key in S) S_is_set[key] = 1 
     7194  FS = "" 
     7195 
     7196} 
     7197{ 
     7198  line = $ 0 
     7199  nfields = split(line, field, "@") 
     7200  substed = 0 
     7201  len = length(field[1]) 
     7202  for (i = 2; i < nfields; i++) { 
     7203    key = field[i] 
     7204    keylen = length(key) 
     7205    if (S_is_set[key]) { 
     7206      value = S[key] 
     7207      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
     7208      len += length(value) + length(field[++i]) 
     7209      substed = 1 
     7210    } else 
     7211      len += 1 + keylen 
     7212  } 
     7213 
     7214  print line 
     7215} 
     7216 
     7217_ACAWK 
     7218_ACEOF 
     7219cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7220if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
     7221  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
     7222else 
     7223  cat 
     7224fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
     7225  || as_fn_error "could not setup config files machinery" "$LINENO" 5 
     7226_ACEOF 
     7227 
     7228# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     7229# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     7230# trailing colons and then remove the whole line if VPATH becomes empty 
     7231# (actually we leave an empty line to preserve line numbers). 
     7232if test "x$srcdir" = x.; then 
     7233  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     7234s/:*\$(srcdir):*/:/ 
     7235s/:*\${srcdir}:*/:/ 
     7236s/:*@srcdir@:*/:/ 
     7237s/^\([^=]*=[     ]*\):*/\1/ 
     7238s/:*$// 
     7239s/^[^=]*=[       ]*$// 
     7240}' 
     7241fi 
     7242 
     7243cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7244fi # test -n "$CONFIG_FILES" 
     7245 
     7246# Set up the scripts for CONFIG_HEADERS section. 
     7247# No need to generate them if there are no CONFIG_HEADERS. 
     7248# This happens for instance with `./config.status Makefile'. 
     7249if test -n "$CONFIG_HEADERS"; then 
     7250cat >"$tmp/defines.awk" <<\_ACAWK || 
     7251BEGIN { 
     7252_ACEOF 
     7253 
     7254# Transform confdefs.h into an awk script `defines.awk', embedded as 
     7255# here-document in config.status, that substitutes the proper values into 
     7256# config.h.in to produce config.h. 
     7257 
     7258# Create a delimiter string that does not exist in confdefs.h, to ease 
     7259# handling of long lines. 
     7260ac_delim='%!_!# ' 
     7261for ac_last_try in false false :; do 
     7262  ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
     7263  if test -z "$ac_t"; then 
     7264    break 
     7265  elif $ac_last_try; then 
     7266    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     7267  else 
     7268    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7269  fi 
     7270done 
     7271 
     7272# For the awk script, D is an array of macro values keyed by name, 
     7273# likewise P contains macro parameters if any.  Preserve backslash 
     7274# newline sequences. 
     7275 
     7276ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     7277sed -n ' 
     7278s/.\{148\}/&'"$ac_delim"'/g 
     7279t rset 
     7280:rset 
     7281s/^[     ]*#[    ]*define[       ][      ]*/ / 
     7282t def 
     7283d 
     7284:def 
     7285s/\\$// 
     7286t bsnl 
     7287s/["\\]/\\&/g 
     7288s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7289D["\1"]=" \3"/p 
     7290s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
     7291d 
     7292:bsnl 
     7293s/["\\]/\\&/g 
     7294s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7295D["\1"]=" \3\\\\\\n"\\/p 
     7296t cont 
     7297s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
     7298t cont 
     7299d 
     7300:cont 
     7301n 
     7302s/.\{148\}/&'"$ac_delim"'/g 
     7303t clear 
     7304:clear 
     7305s/\\$// 
     7306t bsnlc 
     7307s/["\\]/\\&/g; s/^/"/; s/$/"/p 
     7308d 
     7309:bsnlc 
     7310s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
     7311b cont 
     7312' <confdefs.h | sed ' 
     7313s/'"$ac_delim"'/"\\\ 
     7314"/g' >>$CONFIG_STATUS || ac_write_fail=1 
     7315 
     7316cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7317  for (key in D) D_is_set[key] = 1 
     7318  FS = "" 
     7319} 
     7320/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
     7321  line = \$ 0 
     7322  split(line, arg, " ") 
     7323  if (arg[1] == "#") { 
     7324    defundef = arg[2] 
     7325    mac1 = arg[3] 
     7326  } else { 
     7327    defundef = substr(arg[1], 2) 
     7328    mac1 = arg[2] 
     7329  } 
     7330  split(mac1, mac2, "(") #) 
     7331  macro = mac2[1] 
     7332  prefix = substr(line, 1, index(line, defundef) - 1) 
     7333  if (D_is_set[macro]) { 
     7334    # Preserve the white space surrounding the "#". 
     7335    print prefix "define", macro P[macro] D[macro] 
     7336    next 
     7337  } else { 
     7338    # Replace #undef with comments.  This is necessary, for example, 
     7339    # in the case of _POSIX_SOURCE, which is predefined and required 
     7340    # on some systems where configure will not decide to define it. 
     7341    if (defundef == "undef") { 
     7342      print "/*", prefix defundef, macro, "*/" 
     7343      next 
     7344    } 
     7345  } 
     7346} 
     7347{ print } 
     7348_ACAWK 
     7349_ACEOF 
     7350cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7351  as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     7352fi # test -n "$CONFIG_HEADERS" 
     7353 
     7354 
     7355eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
     7356shift 
     7357for ac_tag 
     7358do 
     7359  case $ac_tag in 
     7360  :[FHLC]) ac_mode=$ac_tag; continue;; 
     7361  esac 
     7362  case $ac_mode$ac_tag in 
     7363  :[FHL]*:*);; 
     7364  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     7365  :[FH]-) ac_tag=-:-;; 
     7366  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     7367  esac 
     7368  ac_save_IFS=$IFS 
     7369  IFS=: 
     7370  set x $ac_tag 
     7371  IFS=$ac_save_IFS 
     7372  shift 
     7373  ac_file=$1 
     7374  shift 
     7375 
     7376  case $ac_mode in 
     7377  :L) ac_source=$1;; 
     7378  :[FH]) 
     7379    ac_file_inputs= 
     7380    for ac_f 
     7381    do 
     7382      case $ac_f in 
     7383      -) ac_f="$tmp/stdin";; 
     7384      *) # Look for the file first in the build tree, then in the source tree 
     7385         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     7386         # because $ac_f cannot contain `:'. 
     7387         test -f "$ac_f" || 
     7388           case $ac_f in 
     7389           [\\/$]*) false;; 
     7390           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     7391           esac || 
     7392           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     7393      esac 
     7394      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     7395      as_fn_append ac_file_inputs " '$ac_f'" 
     7396    done 
     7397 
     7398    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     7399    # use $as_me), people would be surprised to read: 
     7400    #    /* config.h.  Generated by config.status.  */ 
     7401    configure_input='Generated from '` 
     7402          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
     7403        `' by configure.' 
     7404    if test x"$ac_file" != x-; then 
     7405      configure_input="$ac_file.  $configure_input" 
     7406      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
     7407$as_echo "$as_me: creating $ac_file" >&6;} 
     7408    fi 
     7409    # Neutralize special characters interpreted by sed in replacement strings. 
     7410    case $configure_input in #( 
     7411    *\&* | *\|* | *\\* ) 
     7412       ac_sed_conf_input=`$as_echo "$configure_input" | 
     7413       sed 's/[\\\\&|]/\\\\&/g'`;; #( 
     7414    *) ac_sed_conf_input=$configure_input;; 
     7415    esac 
     7416 
     7417    case $ac_tag in 
     7418    *:-:* | *:-) cat >"$tmp/stdin" \ 
     7419      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     7420    esac 
     7421    ;; 
     7422  esac 
     7423 
     7424  ac_dir=`$as_dirname -- "$ac_file" || 
     7425$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     7426         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     7427         X"$ac_file" : 'X\(//\)$' \| \ 
     7428         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     7429$as_echo X"$ac_file" | 
     7430    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     7431            s//\1/ 
     7432            q 
     7433          } 
     7434          /^X\(\/\/\)[^/].*/{ 
     7435            s//\1/ 
     7436            q 
     7437          } 
     7438          /^X\(\/\/\)$/{ 
     7439            s//\1/ 
     7440            q 
     7441          } 
     7442          /^X\(\/\).*/{ 
     7443            s//\1/ 
     7444            q 
     7445          } 
     7446          s/.*/./; q'` 
     7447  as_dir="$ac_dir"; as_fn_mkdir_p 
    136387448  ac_builddir=. 
    136397449 
     
    136417451.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    136427452*) 
    13643   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     7453  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    136447454  # A ".." for each directory in $ac_dir_suffix. 
    13645   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     7455  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    136467456  case $ac_top_builddir_sub in 
    136477457  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    136797489_ACEOF 
    136807490 
    13681 cat >>$CONFIG_STATUS <<\_ACEOF 
     7491cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    136827492# If the template does not know about datarootdir, expand it. 
    136837493# FIXME: This hack should be removed a few years after 2.60. 
    136847494ac_datarootdir_hack=; ac_datarootdir_seen= 
    13685  
    13686 case `sed -n '/datarootdir/ { 
     7495ac_sed_dataroot=' 
     7496/datarootdir/ { 
    136877497  p 
    136887498  q 
     
    136927502/@infodir@/p 
    136937503/@localedir@/p 
    13694 /@mandir@/p 
    13695 ' $ac_file_inputs` in 
     7504/@mandir@/p' 
     7505case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
    136967506*datarootdir*) ac_datarootdir_seen=yes;; 
    136977507*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    13698   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    13699 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    13700 _ACEOF 
    13701 cat >>$CONFIG_STATUS <<_ACEOF 
     7508  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     7509$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     7510_ACEOF 
     7511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    137027512  ac_datarootdir_hack=' 
    137037513  s&@datadir@&$datadir&g 
     
    137067516  s&@localedir@&$localedir&g 
    137077517  s&@mandir@&$mandir&g 
    13708     s&\\\${datarootdir}&$datarootdir&g' ;; 
     7518  s&\\\${datarootdir}&$datarootdir&g' ;; 
    137097519esac 
    137107520_ACEOF 
     
    137137523# Shell code in configure.ac might set extrasub. 
    137147524# FIXME: do we really want to maintain this feature? 
    13715 cat >>$CONFIG_STATUS <<_ACEOF 
    13716   sed "$ac_vpsub 
     7525cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7526ac_sed_extra="$ac_vpsub 
    137177527$extrasub 
    137187528_ACEOF 
    13719 cat >>$CONFIG_STATUS <<\_ACEOF 
     7529cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    137207530:t 
    137217531/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    13722 s&@configure_input@&$configure_input&;t t 
     7532s|@configure_input@|$ac_sed_conf_input|;t t 
    137237533s&@top_builddir@&$ac_top_builddir_sub&;t t 
     7534s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    137247535s&@srcdir@&$ac_srcdir&;t t 
    137257536s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    137307541s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    137317542$ac_datarootdir_hack 
    13732 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
     7543" 
     7544eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
     7545  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    137337546 
    137347547test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    137357548  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    137367549  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    13737   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     7550  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    137387551which seems to be undefined.  Please make sure it is defined." >&5 
    13739 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     7552$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    137407553which seems to be undefined.  Please make sure it is defined." >&2;} 
    137417554 
    137427555  rm -f "$tmp/stdin" 
    137437556  case $ac_file in 
    13744   -) cat "$tmp/out"; rm -f "$tmp/out";; 
    13745   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
    13746   esac 
     7557  -) cat "$tmp/out" && rm -f "$tmp/out";; 
     7558  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     7559  esac \ 
     7560  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    137477561 ;; 
    137487562  :H) 
     
    137507564  # CONFIG_HEADER 
    137517565  # 
    13752 _ACEOF 
    13753  
    13754 # Transform confdefs.h into a sed script `conftest.defines', that 
    13755 # substitutes the proper values into config.h.in to produce config.h. 
    13756 rm -f conftest.defines conftest.tail 
    13757 # First, append a space to every undef/define line, to ease matching. 
    13758 echo 's/$/ /' >conftest.defines 
    13759 # Then, protect against being on the right side of a sed subst, or in 
    13760 # an unquoted here document, in config.status.  If some macros were 
    13761 # called several times there might be several #defines for the same 
    13762 # symbol, which is useless.  But do not sort them, since the last 
    13763 # AC_DEFINE must be honored. 
    13764 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    13765 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
    13766 # NAME is the cpp macro being defined, VALUE is the value it is being given. 
    13767 # PARAMS is the parameter list in the macro definition--in most cases, it's 
    13768 # just an empty string. 
    13769 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
    13770 ac_dB='\\)[      (].*,\\1define\\2' 
    13771 ac_dC=' ' 
    13772 ac_dD=' ,' 
    13773  
    13774 uniq confdefs.h | 
    13775   sed -n ' 
    13776         t rset 
    13777         :rset 
    13778         s/^[     ]*#[    ]*define[       ][      ]*// 
    13779         t ok 
    13780         d 
    13781         :ok 
    13782         s/[\\&,]/\\&/g 
    13783         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
    13784         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
    13785   ' >>conftest.defines 
    13786  
    13787 # Remove the space that was appended to ease matching. 
    13788 # Then replace #undef with comments.  This is necessary, for 
    13789 # example, in the case of _POSIX_SOURCE, which is predefined and required 
    13790 # on some systems where configure will not decide to define it. 
    13791 # (The regexp can be short, since the line contains either #define or #undef.) 
    13792 echo 's/ $// 
    13793 s,^[     #]*u.*,/* & */,' >>conftest.defines 
    13794  
    13795 # Break up conftest.defines: 
    13796 ac_max_sed_lines=50 
    13797  
    13798 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
    13799 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
    13800 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
    13801 # et cetera. 
    13802 ac_in='$ac_file_inputs' 
    13803 ac_out='"$tmp/out1"' 
    13804 ac_nxt='"$tmp/out2"' 
    13805  
    13806 while : 
    13807 do 
    13808   # Write a here document: 
    13809     cat >>$CONFIG_STATUS <<_ACEOF 
    13810     # First, check the format of the line: 
    13811     cat >"\$tmp/defines.sed" <<\\CEOF 
    13812 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
    13813 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
    13814 b 
    13815 :def 
    13816 _ACEOF 
    13817   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
    13818   echo 'CEOF 
    13819     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
    13820   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
    13821   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
    13822   grep . conftest.tail >/dev/null || break 
    13823   rm -f conftest.defines 
    13824   mv conftest.tail conftest.defines 
    13825 done 
    13826 rm -f conftest.defines conftest.tail 
    13827  
    13828 echo "ac_result=$ac_in" >>$CONFIG_STATUS 
    13829 cat >>$CONFIG_STATUS <<\_ACEOF 
    138307566  if test x"$ac_file" != x-; then 
    13831     echo "/* $configure_input  */" >"$tmp/config.h" 
    13832     cat "$ac_result" >>"$tmp/config.h" 
    13833     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
    13834       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    13835 echo "$as_me: $ac_file is unchanged" >&6;} 
     7567    { 
     7568      $as_echo "/* $configure_input  */" \ 
     7569      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
     7570    } >"$tmp/config.h" \ 
     7571      || as_fn_error "could not create $ac_file" "$LINENO" 5 
     7572    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     7573      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
     7574$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    138367575    else 
    13837       rm -f $ac_file 
    13838       mv "$tmp/config.h" $ac_file 
     7576      rm -f "$ac_file" 
     7577      mv "$tmp/config.h" "$ac_file" \ 
     7578        || as_fn_error "could not create $ac_file" "$LINENO" 5 
    138397579    fi 
    138407580  else 
    13841     echo "/* $configure_input  */" 
    13842     cat "$ac_result" 
     7581    $as_echo "/* $configure_input  */" \ 
     7582      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
     7583      || as_fn_error "could not create -" "$LINENO" 5 
    138437584  fi 
    13844   rm -f "$tmp/out12" 
    138457585 ;; 
    138467586 
     
    138517591 
    138527592 
    13853 { (exit 0); exit 0; } 
    13854 _ACEOF 
    13855 chmod +x $CONFIG_STATUS 
     7593as_fn_exit 0 
     7594_ACEOF 
    138567595ac_clean_files=$ac_clean_files_save 
     7596 
     7597test $ac_write_fail = 0 || 
     7598  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    138577599 
    138587600 
     
    138757617  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    138767618  # would make configure fail if this is the last instruction. 
    13877   $ac_cs_success || { (exit 1); exit 1; } 
    13878 fi 
    13879  
    13880  
    13881  
    13882 { echo "$as_me:$LINENO: result: 
     7619  $ac_cs_success || as_fn_exit $? 
     7620fi 
     7621if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
     7622  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
     7623$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
     7624fi 
     7625 
     7626 
     7627 
     7628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
    138837629 
    138847630Configurations 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. 
     
    138907636The next step now is to run 'make dep' and 'make'. 
    138917637" >&5 
    13892 echo "${ECHO_T} 
     7638$as_echo " 
    138937639 
    138947640Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 
  • pjproject/trunk/aconfigure.ac

    r3428 r3464  
    800800 
    801801        IPP_CFLAGS="-I$IPPROOT/include" 
    802         IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippsr${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
    803  
     802        IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 
     803 
     804# 
    804805        # Some differences between Mac OS X and Linux 
    805806        case $target in  
     
    808809                ;; 
    809810            *) 
    810                 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
    811                 IPP_LIBS="$IPP_LIBS -lguide" 
     811                # Find out where the libraries live. 
     812                IPP7_ARCH="" 
     813                if test -d $IPPROOT/lib/intel64; then 
     814                   IPP7_ARCH="intel64" 
     815                elif test -d $IPPROOT/lib/ia32; then 
     816                   IPP7_ARCH="ia32" 
     817                elif test -d $IPPROOT/lib/mic; then 
     818                   IPP7_ARCH="mic" 
     819                fi 
     820 
     821                if test -z "$IPP7_ARCH"; then 
     822                   # IPP6 (and possibly below) 
     823                   IPP_LDFLAGS="-L$IPPROOT/sharedlib" 
     824                   IPP_LIBS="$IPP_LIBS  -lippsr${IPP_SUFFIX} -lguide" 
     825                else 
     826                   # IPP7 
     827                   if ! test -d $IPPROOT/../compiler; then 
     828                        AC_MSG_ERROR([Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly]) 
     829                   fi 
     830                   IPP_CFLAGS="$IPP_CFLAGS" 
     831                   IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" 
     832                   IPP_LIBS="$IPP_LIBS -liomp5" 
     833                fi 
    812834                ;; 
    813835        esac 
Note: See TracChangeset for help on using the changeset viewer.