Changeset 3967


Ignore:
Timestamp:
Mar 8, 2012 6:35:03 AM (12 years ago)
Author:
bennylp
Message:

Closed #1462: Added support for building libresample as shared library for GNU targets

Location:
pjproject/branches/1.x
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/aconfigure

    r3820 r3967  
    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 
     599opencore_amrnb_present 
     600opencore_amrnb_h_present 
     601ac_no_opencore_amrnb 
     602libcrypto_present 
     603libssl_present 
     604openssl_h_present 
     605ac_no_ssl 
     606ac_resample_dll 
     607ac_no_ilbc_codec 
     608ac_no_speex_codec 
     609ac_no_g7221_codec 
     610ac_no_g722_codec 
     611ac_no_gsm_codec 
     612ac_no_l16_codec 
     613ac_no_g711_codec 
     614ac_no_speex_aec 
     615ac_no_large_filter 
     616ac_no_small_filter 
     617ac_pa_use_oss 
     618ac_pa_use_alsa 
     619ac_pa_cflags 
     620ac_external_pa 
     621ac_pjmedia_snd 
     622ac_external_gsm 
     623ac_external_speex 
     624ac_os_objs 
     625EGREP 
     626GREP 
     627CPP 
     628ac_build_mak_vars 
     629ac_pjdir 
     630CC_CFLAGS 
     631CC_OPTIMIZE 
     632CC_DEF 
     633CC_INC 
     634CC_OUT 
     635LIBEXT2 
     636LIBEXT 
     637RANLIB 
     638LDOUT 
     639LD 
     640AR 
     641ac_ct_CXX 
     642CXXFLAGS 
     643CXX 
     644OBJEXT 
     645EXEEXT 
     646ac_ct_CC 
     647CPPFLAGS 
     648LDFLAGS 
     649CFLAGS 
     650CC 
     651target_os 
     652target_vendor 
     653target_cpu 
     654target 
     655host_os 
     656host_vendor 
     657host_cpu 
     658host 
     659build_os 
     660build_vendor 
     661build_cpu 
     662build 
     663target_alias 
     664host_alias 
     665build_alias 
     666LIBS 
     667ECHO_T 
     668ECHO_N 
     669ECHO_C 
     670DEFS 
     671mandir 
     672localedir 
     673libdir 
     674psdir 
     675pdfdir 
     676dvidir 
     677htmldir 
     678infodir 
     679docdir 
     680oldincludedir 
     681includedir 
     682localstatedir 
     683sharedstatedir 
     684sysconfdir 
     685datadir 
     686datarootdir 
     687libexecdir 
     688sbindir 
     689bindir 
     690program_transform_name 
     691prefix 
     692exec_prefix 
     693PACKAGE_URL 
     694PACKAGE_BUGREPORT 
     695PACKAGE_STRING 
     696PACKAGE_VERSION 
     697PACKAGE_TARNAME 
     698PACKAGE_NAME 
    616699PATH_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_no_opencore_amrnb 
    713 opencore_amrnb_h_present 
    714 opencore_amrnb_present 
    715 ac_cross_compile 
    716 ac_linux_poll 
    717 ac_host 
    718 ac_main_obj 
    719 LIBOBJS 
    720 LTLIBOBJS' 
     700SHELL' 
    721701ac_subst_files='' 
     702ac_user_opts=' 
     703enable_option_checking 
     704enable_floating_point 
     705enable_epoll 
     706with_external_speex 
     707with_external_gsm 
     708enable_sound 
     709with_external_pa 
     710enable_oss 
     711enable_ext_sound 
     712enable_small_filter 
     713enable_large_filter 
     714enable_speex_aec 
     715enable_g711_codec 
     716enable_l16_codec 
     717enable_gsm_codec 
     718enable_g722_codec 
     719enable_g7221_codec 
     720enable_speex_codec 
     721enable_ilbc_codec 
     722enable_libsamplerate 
     723enable_resample_dll 
     724enable_ipp 
     725with_ipp 
     726with_ipp_samples 
     727with_ipp_arch 
     728enable_ssl 
     729enable_opencore_amrnb 
     730' 
    722731      ac_precious_vars='build_alias 
    723732host_alias 
     
    737746ac_init_help= 
    738747ac_init_version=false 
     748ac_unrecognized_opts= 
     749ac_unrecognized_sep= 
    739750# The variables have the same names as the options, with 
    740751# dashes changed to underlines. 
     
    835846 
    836847  -disable-* | --disable-*) 
    837     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     848    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    838849    # Reject names that are not valid shell variable names. 
    839     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    840       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    841    { (exit 1); exit 1; }; } 
    842     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    843     eval enable_$ac_feature=no ;; 
     850    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     851      as_fn_error "invalid feature name: $ac_useropt" 
     852    ac_useropt_orig=$ac_useropt 
     853    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     854    case $ac_user_opts in 
     855      *" 
     856"enable_$ac_useropt" 
     857"*) ;; 
     858      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
     859         ac_unrecognized_sep=', ';; 
     860    esac 
     861    eval enable_$ac_useropt=no ;; 
    844862 
    845863  -docdir | --docdir | --docdi | --doc | --do) 
     
    854872 
    855873  -enable-* | --enable-*) 
    856     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     874    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    857875    # Reject names that are not valid shell variable names. 
    858     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    859       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    860    { (exit 1); exit 1; }; } 
    861     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    862     eval enable_$ac_feature=\$ac_optarg ;; 
     876    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     877      as_fn_error "invalid feature name: $ac_useropt" 
     878    ac_useropt_orig=$ac_useropt 
     879    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     880    case $ac_user_opts in 
     881      *" 
     882"enable_$ac_useropt" 
     883"*) ;; 
     884      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
     885         ac_unrecognized_sep=', ';; 
     886    esac 
     887    eval enable_$ac_useropt=\$ac_optarg ;; 
    863888 
    864889  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10511076 
    10521077  -with-* | --with-*) 
    1053     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1078    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10541079    # Reject names that are not valid shell variable names. 
    1055     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1056       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1057    { (exit 1); exit 1; }; } 
    1058     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1059     eval with_$ac_package=\$ac_optarg ;; 
     1080    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1081      as_fn_error "invalid package name: $ac_useropt" 
     1082    ac_useropt_orig=$ac_useropt 
     1083    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1084    case $ac_user_opts in 
     1085      *" 
     1086"with_$ac_useropt" 
     1087"*) ;; 
     1088      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
     1089         ac_unrecognized_sep=', ';; 
     1090    esac 
     1091    eval with_$ac_useropt=\$ac_optarg ;; 
    10601092 
    10611093  -without-* | --without-*) 
    1062     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1094    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10631095    # Reject names that are not valid shell variable names. 
    1064     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1065       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1066    { (exit 1); exit 1; }; } 
    1067     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1068     eval with_$ac_package=no ;; 
     1096    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1097      as_fn_error "invalid package name: $ac_useropt" 
     1098    ac_useropt_orig=$ac_useropt 
     1099    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1100    case $ac_user_opts in 
     1101      *" 
     1102"with_$ac_useropt" 
     1103"*) ;; 
     1104      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
     1105         ac_unrecognized_sep=', ';; 
     1106    esac 
     1107    eval with_$ac_useropt=no ;; 
    10691108 
    10701109  --x) 
     
    10861125    x_libraries=$ac_optarg ;; 
    10871126 
    1088   -*) { echo "$as_me: error: unrecognized option: $ac_option 
    1089 Try \`$0 --help' for more information." >&2 
    1090    { (exit 1); exit 1; }; } 
     1127  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1128Try \`$0 --help' for more information." 
    10911129    ;; 
    10921130 
     
    10941132    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    10951133    # Reject names that are not valid shell variable names. 
    1096     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1097       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1098    { (exit 1); exit 1; }; } 
     1134    case $ac_envvar in #( 
     1135      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1136      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1137    esac 
    10991138    eval $ac_envvar=\$ac_optarg 
    11001139    export $ac_envvar ;; 
     
    11021141  *) 
    11031142    # FIXME: should be removed in autoconf 3.0. 
    1104     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1143    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11051144    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1106       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1145      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11071146    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11081147    ;; 
     
    11131152if test -n "$ac_prev"; then 
    11141153  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1115   { echo "$as_me: error: missing argument to $ac_option" >&2 
    1116    { (exit 1); exit 1; }; } 
    1117 fi 
    1118  
    1119 # Be sure to have absolute directory names. 
     1154  as_fn_error "missing argument to $ac_option" 
     1155fi 
     1156 
     1157if test -n "$ac_unrecognized_opts"; then 
     1158  case $enable_option_checking in 
     1159    no) ;; 
     1160    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1161    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1162  esac 
     1163fi 
     1164 
     1165# Check all directory arguments for consistency. 
    11201166for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11211167                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11241170do 
    11251171  eval ac_val=\$$ac_var 
     1172  # Remove trailing slashes. 
     1173  case $ac_val in 
     1174    */ ) 
     1175      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
     1176      eval $ac_var=\$ac_val;; 
     1177  esac 
     1178  # Be sure to have absolute directory names. 
    11261179  case $ac_val in 
    11271180    [\\/$]* | ?:[\\/]* )  continue;; 
    11281181    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11291182  esac 
    1130   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1131    { (exit 1); exit 1; }; } 
     1183  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    11321184done 
    11331185 
     
    11431195  if test "x$build_alias" = x; then 
    11441196    cross_compiling=maybe 
    1145     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1197    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11461198    If a cross compiler is detected then cross compile mode will be used." >&2 
    11471199  elif test "x$build_alias" != "x$host_alias"; then 
     
    11591211ac_ls_di=`ls -di .` && 
    11601212ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1161   { echo "$as_me: error: Working directory cannot be determined" >&2 
    1162    { (exit 1); exit 1; }; } 
     1213  as_fn_error "working directory cannot be determined" 
    11631214test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1164   { echo "$as_me: error: pwd does not report name of working directory" >&2 
    1165    { (exit 1); exit 1; }; } 
     1215  as_fn_error "pwd does not report name of working directory" 
    11661216 
    11671217 
     
    11701220  ac_srcdir_defaulted=yes 
    11711221  # Try the directory containing this script, then the parent directory. 
    1172   ac_confdir=`$as_dirname -- "$0" || 
    1173 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1174          X"$0" : 'X\(//\)[^/]' \| \ 
    1175          X"$0" : 'X\(//\)$' \| \ 
    1176          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    1177 echo X"$0" | 
     1222  ac_confdir=`$as_dirname -- "$as_myself" || 
     1223$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1224         X"$as_myself" : 'X\(//\)[^/]' \| \ 
     1225         X"$as_myself" : 'X\(//\)$' \| \ 
     1226         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
     1227$as_echo X"$as_myself" | 
    11781228    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    11791229            s//\1/ 
     
    12021252if test ! -r "$srcdir/$ac_unique_file"; then 
    12031253  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1204   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1205    { (exit 1); exit 1; }; } 
     1254  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12061255fi 
    12071256ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12081257ac_abs_confdir=`( 
    1209         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    1210    { (exit 1); exit 1; }; } 
     1258        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12111259        pwd)` 
    12121260# When building in place, set srcdir=. 
     
    12561304Installation directories: 
    12571305  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1258                           [$ac_default_prefix] 
     1306                          [$ac_default_prefix] 
    12591307  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1260                           [PREFIX] 
     1308                          [PREFIX] 
    12611309 
    12621310By default, \`make install' will install all the files in 
     
    12681316 
    12691317Fine tuning of the installation directories: 
    1270   --bindir=DIR           user executables [EPREFIX/bin] 
    1271   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    1272   --libexecdir=DIR       program executables [EPREFIX/libexec] 
    1273   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    1274   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    1275   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    1276   --libdir=DIR           object code libraries [EPREFIX/lib] 
    1277   --includedir=DIR       C header files [PREFIX/include] 
    1278   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    1279   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    1280   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    1281   --infodir=DIR          info documentation [DATAROOTDIR/info] 
    1282   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    1283   --mandir=DIR           man documentation [DATAROOTDIR/man] 
    1284   --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
    1285   --htmldir=DIR          html documentation [DOCDIR] 
    1286   --dvidir=DIR           dvi documentation [DOCDIR] 
    1287   --pdfdir=DIR           pdf documentation [DOCDIR] 
    1288   --psdir=DIR            ps documentation [DOCDIR] 
     1318  --bindir=DIR            user executables [EPREFIX/bin] 
     1319  --sbindir=DIR           system admin executables [EPREFIX/sbin] 
     1320  --libexecdir=DIR        program executables [EPREFIX/libexec] 
     1321  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
     1322  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
     1323  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1324  --libdir=DIR            object code libraries [EPREFIX/lib] 
     1325  --includedir=DIR        C header files [PREFIX/include] 
     1326  --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
     1327  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
     1328  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
     1329  --infodir=DIR           info documentation [DATAROOTDIR/info] 
     1330  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
     1331  --mandir=DIR            man documentation [DATAROOTDIR/man] 
     1332  --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
     1333  --htmldir=DIR           html documentation [DOCDIR] 
     1334  --dvidir=DIR            dvi documentation [DOCDIR] 
     1335  --pdfdir=DIR            pdf documentation [DOCDIR] 
     1336  --psdir=DIR             ps documentation [DOCDIR] 
    12891337_ACEOF 
    12901338 
     
    13051353 
    13061354Optional Features: 
     1355  --disable-option-checking  ignore unrecognized --enable/--with options 
    13071356  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13081357  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    13261375  --enable-libsamplerate  Link with libsamplerate when available. Note that 
    13271376                          PJMEDIA_RESAMPLE_IMP must also be configured 
     1377  --enable-resample-dll   Build libresample as shared library 
    13281378  --enable-ipp            Enable Intel IPP support. Specify the Intel IPP 
    13291379                          package and samples location using IPPROOT and 
     
    13661416              nonstandard directory <lib dir> 
    13671417  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1368   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
     1418  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
    13691419              you have headers in a nonstandard directory <include dir> 
    13701420  CXX         C++ compiler command 
     
    13751425it to find libraries and programs with nonstandard names/locations. 
    13761426 
     1427Report bugs to the package provider. 
    13771428_ACEOF 
    13781429ac_status=$? 
     
    13821433  # If there are subdirs, report their specific --help. 
    13831434  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1384     test -d "$ac_dir" || continue 
     1435    test -d "$ac_dir" || 
     1436      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
     1437      continue 
    13851438    ac_builddir=. 
    13861439 
     
    13881441.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    13891442*) 
    1390   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     1443  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    13911444  # A ".." for each directory in $ac_dir_suffix. 
    1392   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     1445  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    13931446  case $ac_top_builddir_sub in 
    13941447  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14261479      $SHELL "$ac_srcdir/configure" --help=recursive 
    14271480    else 
    1428       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1481      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14291482    fi || ac_status=$? 
    14301483    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14361489  cat <<\_ACEOF 
    14371490pjproject configure 1.x 
    1438 generated by GNU Autoconf 2.61 
    1439  
    1440 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1441 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     1491generated by GNU Autoconf 2.65 
     1492 
     1493Copyright (C) 2009 Free Software Foundation, Inc. 
    14421494This configure script is free software; the Free Software Foundation 
    14431495gives unlimited permission to copy, distribute and modify it. 
     
    14451497  exit 
    14461498fi 
     1499 
     1500## ------------------------ ## 
     1501## Autoconf initialization. ## 
     1502## ------------------------ ## 
     1503 
     1504# ac_fn_c_try_compile LINENO 
     1505# -------------------------- 
     1506# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1507ac_fn_c_try_compile () 
     1508{ 
     1509  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1510  rm -f conftest.$ac_objext 
     1511  if { { ac_try="$ac_compile" 
     1512case "(($ac_try" in 
     1513  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1514  *) ac_try_echo=$ac_try;; 
     1515esac 
     1516eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1517$as_echo "$ac_try_echo"; } >&5 
     1518  (eval "$ac_compile") 2>conftest.err 
     1519  ac_status=$? 
     1520  if test -s conftest.err; then 
     1521    grep -v '^ *+' conftest.err >conftest.er1 
     1522    cat conftest.er1 >&5 
     1523    mv -f conftest.er1 conftest.err 
     1524  fi 
     1525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1526  test $ac_status = 0; } && { 
     1527         test -z "$ac_c_werror_flag" || 
     1528         test ! -s conftest.err 
     1529       } && test -s conftest.$ac_objext; then : 
     1530  ac_retval=0 
     1531else 
     1532  $as_echo "$as_me: failed program was:" >&5 
     1533sed 's/^/| /' conftest.$ac_ext >&5 
     1534 
     1535        ac_retval=1 
     1536fi 
     1537  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1538  as_fn_set_status $ac_retval 
     1539 
     1540} # ac_fn_c_try_compile 
     1541 
     1542# ac_fn_cxx_try_compile LINENO 
     1543# ---------------------------- 
     1544# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1545ac_fn_cxx_try_compile () 
     1546{ 
     1547  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1548  rm -f conftest.$ac_objext 
     1549  if { { ac_try="$ac_compile" 
     1550case "(($ac_try" in 
     1551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1552  *) ac_try_echo=$ac_try;; 
     1553esac 
     1554eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1555$as_echo "$ac_try_echo"; } >&5 
     1556  (eval "$ac_compile") 2>conftest.err 
     1557  ac_status=$? 
     1558  if test -s conftest.err; then 
     1559    grep -v '^ *+' conftest.err >conftest.er1 
     1560    cat conftest.er1 >&5 
     1561    mv -f conftest.er1 conftest.err 
     1562  fi 
     1563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1564  test $ac_status = 0; } && { 
     1565         test -z "$ac_cxx_werror_flag" || 
     1566         test ! -s conftest.err 
     1567       } && test -s conftest.$ac_objext; then : 
     1568  ac_retval=0 
     1569else 
     1570  $as_echo "$as_me: failed program was:" >&5 
     1571sed 's/^/| /' conftest.$ac_ext >&5 
     1572 
     1573        ac_retval=1 
     1574fi 
     1575  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1576  as_fn_set_status $ac_retval 
     1577 
     1578} # ac_fn_cxx_try_compile 
     1579 
     1580# ac_fn_c_try_link LINENO 
     1581# ----------------------- 
     1582# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1583ac_fn_c_try_link () 
     1584{ 
     1585  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1586  rm -f conftest.$ac_objext conftest$ac_exeext 
     1587  if { { ac_try="$ac_link" 
     1588case "(($ac_try" in 
     1589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1590  *) ac_try_echo=$ac_try;; 
     1591esac 
     1592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1593$as_echo "$ac_try_echo"; } >&5 
     1594  (eval "$ac_link") 2>conftest.err 
     1595  ac_status=$? 
     1596  if test -s conftest.err; then 
     1597    grep -v '^ *+' conftest.err >conftest.er1 
     1598    cat conftest.er1 >&5 
     1599    mv -f conftest.er1 conftest.err 
     1600  fi 
     1601  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1602  test $ac_status = 0; } && { 
     1603         test -z "$ac_c_werror_flag" || 
     1604         test ! -s conftest.err 
     1605       } && test -s conftest$ac_exeext && { 
     1606         test "$cross_compiling" = yes || 
     1607         $as_test_x conftest$ac_exeext 
     1608       }; then : 
     1609  ac_retval=0 
     1610else 
     1611  $as_echo "$as_me: failed program was:" >&5 
     1612sed 's/^/| /' conftest.$ac_ext >&5 
     1613 
     1614        ac_retval=1 
     1615fi 
     1616  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1617  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1618  # interfere with the next link command; also delete a directory that is 
     1619  # left behind by Apple's compiler.  We do this before executing the actions. 
     1620  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1621  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1622  as_fn_set_status $ac_retval 
     1623 
     1624} # ac_fn_c_try_link 
     1625 
     1626# ac_fn_c_try_run LINENO 
     1627# ---------------------- 
     1628# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1629# that executables *can* be run. 
     1630ac_fn_c_try_run () 
     1631{ 
     1632  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1633  if { { ac_try="$ac_link" 
     1634case "(($ac_try" in 
     1635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1636  *) ac_try_echo=$ac_try;; 
     1637esac 
     1638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1639$as_echo "$ac_try_echo"; } >&5 
     1640  (eval "$ac_link") 2>&5 
     1641  ac_status=$? 
     1642  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1643  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1644  { { case "(($ac_try" in 
     1645  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1646  *) ac_try_echo=$ac_try;; 
     1647esac 
     1648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1649$as_echo "$ac_try_echo"; } >&5 
     1650  (eval "$ac_try") 2>&5 
     1651  ac_status=$? 
     1652  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1653  test $ac_status = 0; }; }; then : 
     1654  ac_retval=0 
     1655else 
     1656  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1657       $as_echo "$as_me: failed program was:" >&5 
     1658sed 's/^/| /' conftest.$ac_ext >&5 
     1659 
     1660       ac_retval=$ac_status 
     1661fi 
     1662  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1663  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1664  as_fn_set_status $ac_retval 
     1665 
     1666} # ac_fn_c_try_run 
     1667 
     1668# ac_fn_c_try_cpp LINENO 
     1669# ---------------------- 
     1670# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1671ac_fn_c_try_cpp () 
     1672{ 
     1673  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1674  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1675case "(($ac_try" in 
     1676  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1677  *) ac_try_echo=$ac_try;; 
     1678esac 
     1679eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1680$as_echo "$ac_try_echo"; } >&5 
     1681  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1682  ac_status=$? 
     1683  if test -s conftest.err; then 
     1684    grep -v '^ *+' conftest.err >conftest.er1 
     1685    cat conftest.er1 >&5 
     1686    mv -f conftest.er1 conftest.err 
     1687  fi 
     1688  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1689  test $ac_status = 0; } >/dev/null && { 
     1690         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1691         test ! -s conftest.err 
     1692       }; then : 
     1693  ac_retval=0 
     1694else 
     1695  $as_echo "$as_me: failed program was:" >&5 
     1696sed 's/^/| /' conftest.$ac_ext >&5 
     1697 
     1698    ac_retval=1 
     1699fi 
     1700  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1701  as_fn_set_status $ac_retval 
     1702 
     1703} # ac_fn_c_try_cpp 
     1704 
     1705# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1706# ------------------------------------------------------- 
     1707# Tests whether HEADER exists and can be compiled using the include files in 
     1708# INCLUDES, setting the cache variable VAR accordingly. 
     1709ac_fn_c_check_header_compile () 
     1710{ 
     1711  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1713$as_echo_n "checking for $2... " >&6; } 
     1714if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1715  $as_echo_n "(cached) " >&6 
     1716else 
     1717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1718/* end confdefs.h.  */ 
     1719$4 
     1720#include <$2> 
     1721_ACEOF 
     1722if ac_fn_c_try_compile "$LINENO"; then : 
     1723  eval "$3=yes" 
     1724else 
     1725  eval "$3=no" 
     1726fi 
     1727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1728fi 
     1729eval ac_res=\$$3 
     1730               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1731$as_echo "$ac_res" >&6; } 
     1732  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1733 
     1734} # ac_fn_c_check_header_compile 
     1735 
     1736# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1737# ------------------------------------------------------- 
     1738# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1739# the include files in INCLUDES and setting the cache variable VAR 
     1740# accordingly. 
     1741ac_fn_c_check_header_mongrel () 
     1742{ 
     1743  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1744  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1746$as_echo_n "checking for $2... " >&6; } 
     1747if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1748  $as_echo_n "(cached) " >&6 
     1749fi 
     1750eval ac_res=\$$3 
     1751               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1752$as_echo "$ac_res" >&6; } 
     1753else 
     1754  # Is the header compilable? 
     1755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1756$as_echo_n "checking $2 usability... " >&6; } 
     1757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1758/* end confdefs.h.  */ 
     1759$4 
     1760#include <$2> 
     1761_ACEOF 
     1762if ac_fn_c_try_compile "$LINENO"; then : 
     1763  ac_header_compiler=yes 
     1764else 
     1765  ac_header_compiler=no 
     1766fi 
     1767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1769$as_echo "$ac_header_compiler" >&6; } 
     1770 
     1771# Is the header present? 
     1772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1773$as_echo_n "checking $2 presence... " >&6; } 
     1774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1775/* end confdefs.h.  */ 
     1776#include <$2> 
     1777_ACEOF 
     1778if ac_fn_c_try_cpp "$LINENO"; then : 
     1779  ac_header_preproc=yes 
     1780else 
     1781  ac_header_preproc=no 
     1782fi 
     1783rm -f conftest.err conftest.$ac_ext 
     1784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1785$as_echo "$ac_header_preproc" >&6; } 
     1786 
     1787# So?  What about this header? 
     1788case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1789  yes:no: ) 
     1790    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1791$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1792    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1793$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1794    ;; 
     1795  no:yes:* ) 
     1796    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1797$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1798    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1799$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1800    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1801$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1802    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1803$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1804    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1805$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1806    ;; 
     1807esac 
     1808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1809$as_echo_n "checking for $2... " >&6; } 
     1810if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1811  $as_echo_n "(cached) " >&6 
     1812else 
     1813  eval "$3=\$ac_header_compiler" 
     1814fi 
     1815eval ac_res=\$$3 
     1816               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1817$as_echo "$ac_res" >&6; } 
     1818fi 
     1819  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1820 
     1821} # ac_fn_c_check_header_mongrel 
     1822 
     1823# ac_fn_c_check_func LINENO FUNC VAR 
     1824# ---------------------------------- 
     1825# Tests whether FUNC exists, setting the cache variable VAR accordingly 
     1826ac_fn_c_check_func () 
     1827{ 
     1828  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1830$as_echo_n "checking for $2... " >&6; } 
     1831if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1832  $as_echo_n "(cached) " >&6 
     1833else 
     1834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1835/* end confdefs.h.  */ 
     1836/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
     1837   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     1838#define $2 innocuous_$2 
     1839 
     1840/* System header to define __stub macros and hopefully few prototypes, 
     1841    which can conflict with char $2 (); below. 
     1842    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     1843    <limits.h> exists even on freestanding compilers.  */ 
     1844 
     1845#ifdef __STDC__ 
     1846# include <limits.h> 
     1847#else 
     1848# include <assert.h> 
     1849#endif 
     1850 
     1851#undef $2 
     1852 
     1853/* Override any GCC internal prototype to avoid an error. 
     1854   Use char because int might match the return type of a GCC 
     1855   builtin and then its argument prototype would still apply.  */ 
     1856#ifdef __cplusplus 
     1857extern "C" 
     1858#endif 
     1859char $2 (); 
     1860/* The GNU C library defines this for functions which it implements 
     1861    to always fail with ENOSYS.  Some functions are actually named 
     1862    something starting with __ and the normal name is an alias.  */ 
     1863#if defined __stub_$2 || defined __stub___$2 
     1864choke me 
     1865#endif 
     1866 
     1867int 
     1868main () 
     1869{ 
     1870return $2 (); 
     1871  ; 
     1872  return 0; 
     1873} 
     1874_ACEOF 
     1875if ac_fn_c_try_link "$LINENO"; then : 
     1876  eval "$3=yes" 
     1877else 
     1878  eval "$3=no" 
     1879fi 
     1880rm -f core conftest.err conftest.$ac_objext \ 
     1881    conftest$ac_exeext conftest.$ac_ext 
     1882fi 
     1883eval ac_res=\$$3 
     1884               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1885$as_echo "$ac_res" >&6; } 
     1886  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1887 
     1888} # ac_fn_c_check_func 
    14471889cat >config.log <<_ACEOF 
    14481890This file contains any messages produced by compilers while 
     
    14501892 
    14511893It was created by pjproject $as_me 1.x, which was 
    1452 generated by GNU Autoconf 2.61.  Invocation command line was 
     1894generated by GNU Autoconf 2.65.  Invocation command line was 
    14531895 
    14541896  $ $0 $@ 
     
    14861928  IFS=$as_save_IFS 
    14871929  test -z "$as_dir" && as_dir=. 
    1488   echo "PATH: $as_dir" 
    1489 done 
     1930    $as_echo "PATH: $as_dir" 
     1931  done 
    14901932IFS=$as_save_IFS 
    14911933 
     
    15211963      continue ;; 
    15221964    *\'*) 
    1523       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1965      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    15241966    esac 
    15251967    case $ac_pass in 
    1526     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1968    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15271969    2) 
    1528       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1970      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15291971      if test $ac_must_keep_next = true; then 
    15301972        ac_must_keep_next=false # Got value, back to normal. 
     
    15421984        esac 
    15431985      fi 
    1544       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1986      as_fn_append ac_configure_args " '$ac_arg'" 
    15451987      ;; 
    15461988    esac 
    15471989  done 
    15481990done 
    1549 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1550 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1991{ ac_configure_args0=; unset ac_configure_args0;} 
     1992{ ac_configure_args1=; unset ac_configure_args1;} 
    15511993 
    15521994# When interrupted or exit'd, cleanup temporary files, and complete 
     
    15732015    *${as_nl}*) 
    15742016      case $ac_var in #( 
    1575       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1576 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     2017      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     2018$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    15772019      esac 
    15782020      case $ac_var in #( 
    15792021      _ | IFS | as_nl) ;; #( 
    1580       *) $as_unset $ac_var ;; 
     2022      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     2023      *) { eval $ac_var=; unset $ac_var;} ;; 
    15812024      esac ;; 
    15822025    esac 
     
    16072050      eval ac_val=\$$ac_var 
    16082051      case $ac_val in 
    1609       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2052      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16102053      esac 
    1611       echo "$ac_var='\''$ac_val'\''" 
     2054      $as_echo "$ac_var='\''$ac_val'\''" 
    16122055    done | sort 
    16132056    echo 
     
    16242067        eval ac_val=\$$ac_var 
    16252068        case $ac_val in 
    1626         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2069        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16272070        esac 
    1628         echo "$ac_var='\''$ac_val'\''" 
     2071        $as_echo "$ac_var='\''$ac_val'\''" 
    16292072      done | sort 
    16302073      echo 
     
    16422085    fi 
    16432086    test "$ac_signal" != 0 && 
    1644       echo "$as_me: caught signal $ac_signal" 
    1645     echo "$as_me: exit $exit_status" 
     2087      $as_echo "$as_me: caught signal $ac_signal" 
     2088    $as_echo "$as_me: exit $exit_status" 
    16462089  } >&5 
    16472090  rm -f core *.core core.conftest.* && 
     
    16502093' 0 
    16512094for ac_signal in 1 2 13 15; do 
    1652   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     2095  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    16532096done 
    16542097ac_signal=0 
     
    16572100rm -f -r conftest* confdefs.h 
    16582101 
     2102$as_echo "/* confdefs.h */" > confdefs.h 
     2103 
    16592104# Predefined preprocessor variables. 
    16602105 
     
    16632108_ACEOF 
    16642109 
    1665  
    16662110cat >>confdefs.h <<_ACEOF 
    16672111#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    16682112_ACEOF 
    16692113 
    1670  
    16712114cat >>confdefs.h <<_ACEOF 
    16722115#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    16732116_ACEOF 
    16742117 
    1675  
    16762118cat >>confdefs.h <<_ACEOF 
    16772119#define PACKAGE_STRING "$PACKAGE_STRING" 
    16782120_ACEOF 
    16792121 
    1680  
    16812122cat >>confdefs.h <<_ACEOF 
    16822123#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    16832124_ACEOF 
    16842125 
     2126cat >>confdefs.h <<_ACEOF 
     2127#define PACKAGE_URL "$PACKAGE_URL" 
     2128_ACEOF 
     2129 
    16852130 
    16862131# Let the site file select an alternate cache file if it wants to. 
    1687 # Prefer explicitly selected file to automatically selected ones. 
     2132# Prefer an explicitly selected file to automatically selected ones. 
     2133ac_site_file1=NONE 
     2134ac_site_file2=NONE 
    16882135if test -n "$CONFIG_SITE"; then 
    1689   set x "$CONFIG_SITE" 
     2136  ac_site_file1=$CONFIG_SITE 
    16902137elif test "x$prefix" != xNONE; then 
    1691   set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    1692 else 
    1693   set x "$ac_default_prefix/share/config.site" \ 
    1694         "$ac_default_prefix/etc/config.site" 
    1695 fi 
    1696 shift 
    1697 for ac_site_file 
     2138  ac_site_file1=$prefix/share/config.site 
     2139  ac_site_file2=$prefix/etc/config.site 
     2140else 
     2141  ac_site_file1=$ac_default_prefix/share/config.site 
     2142  ac_site_file2=$ac_default_prefix/etc/config.site 
     2143fi 
     2144for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
    16982145do 
    1699   if test -r "$ac_site_file"; then 
    1700     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    1701 echo "$as_me: loading site script $ac_site_file" >&6;} 
     2146  test "x$ac_site_file" = xNONE && continue 
     2147  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
     2148    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
     2149$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17022150    sed 's/^/| /' "$ac_site_file" >&5 
    17032151    . "$ac_site_file" 
     
    17062154 
    17072155if test -r "$cache_file"; then 
    1708   # Some versions of bash will fail to source /dev/null (special 
    1709   # files actually), so we avoid doing that. 
    1710   if test -f "$cache_file"; then 
    1711     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    1712 echo "$as_me: loading cache $cache_file" >&6;} 
     2156  # Some versions of bash will fail to source /dev/null (special files 
     2157  # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
     2158  if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
     2159    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
     2160$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17132161    case $cache_file in 
    17142162      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    17172165  fi 
    17182166else 
    1719   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    1720 echo "$as_me: creating cache $cache_file" >&6;} 
     2167  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
     2168$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17212169  >$cache_file 
    17222170fi 
     
    17322180  case $ac_old_set,$ac_new_set in 
    17332181    set,) 
    1734       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1735 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     2182      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2183$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17362184      ac_cache_corrupted=: ;; 
    17372185    ,set) 
    1738       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    1739 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     2186      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
     2187$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17402188      ac_cache_corrupted=: ;; 
    17412189    ,);; 
    17422190    *) 
    17432191      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1744         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    1745 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1746         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    1747 echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1748         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    1749 echo "$as_me:   current value: $ac_new_val" >&2;} 
    1750         ac_cache_corrupted=: 
     2192        # differences in whitespace do not lead to failure. 
     2193        ac_old_val_w=`echo x $ac_old_val` 
     2194        ac_new_val_w=`echo x $ac_new_val` 
     2195        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
     2196          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
     2197$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     2198          ac_cache_corrupted=: 
     2199        else 
     2200          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2201$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
     2202          eval $ac_var=\$ac_old_val 
     2203        fi 
     2204        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
     2205$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
     2206        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
     2207$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    17512208      fi;; 
    17522209  esac 
     
    17542211  if test "$ac_new_set" = set; then 
    17552212    case $ac_new_val in 
    1756     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     2213    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    17572214    *) ac_arg=$ac_var=$ac_new_val ;; 
    17582215    esac 
    17592216    case " $ac_configure_args " in 
    17602217      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1761       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2218      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    17622219    esac 
    17632220  fi 
    17642221done 
    17652222if $ac_cache_corrupted; then 
    1766   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    1767 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1768   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1769 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1770    { (exit 1); exit 1; }; } 
    1771 fi 
    1772  
    1773  
    1774  
    1775  
    1776  
    1777  
    1778  
    1779  
    1780  
    1781  
    1782  
    1783  
    1784  
    1785  
    1786  
    1787  
    1788  
    1789  
    1790  
    1791  
    1792  
    1793  
    1794  
    1795  
     2223  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2225  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
     2226$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     2227  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2228fi 
     2229## -------------------- ## 
     2230## Main body of script. ## 
     2231## -------------------- ## 
    17962232 
    17972233ac_ext=c 
     
    18072243ac_aux_dir= 
    18082244for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1809   if test -f "$ac_dir/install-sh"; then 
    1810     ac_aux_dir=$ac_dir 
    1811     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1812     break 
    1813   elif test -f "$ac_dir/install.sh"; then 
    1814     ac_aux_dir=$ac_dir 
    1815     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1816     break 
    1817   elif test -f "$ac_dir/shtool"; then 
    1818     ac_aux_dir=$ac_dir 
    1819     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1820     break 
    1821   fi 
     2245  for ac_t in install-sh install.sh shtool; do 
     2246    if test -f "$ac_dir/$ac_t"; then 
     2247      ac_aux_dir=$ac_dir 
     2248      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2249      break 2 
     2250    fi 
     2251  done 
    18222252done 
    18232253if test -z "$ac_aux_dir"; then 
    1824   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1825 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1826    { (exit 1); exit 1; }; } 
     2254  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18272255fi 
    18282256 
     
    18382266# Make sure we can run config.sub. 
    18392267$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1840   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1841 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1842    { (exit 1); exit 1; }; } 
    1843  
    1844 { echo "$as_me:$LINENO: checking build system type" >&5 
    1845 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    1846 if test "${ac_cv_build+set}" = set; then 
    1847   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2268  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2269 
     2270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     2271$as_echo_n "checking build system type... " >&6; } 
     2272if test "${ac_cv_build+set}" = set; then : 
     2273  $as_echo_n "(cached) " >&6 
    18482274else 
    18492275  ac_build_alias=$build_alias 
     
    18512277  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    18522278test "x$ac_build_alias" = x && 
    1853   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1854 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1855    { (exit 1); exit 1; }; } 
     2279  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    18562280ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1857   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1858 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1859    { (exit 1); exit 1; }; } 
    1860  
    1861 fi 
    1862 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    1863 echo "${ECHO_T}$ac_cv_build" >&6; } 
     2281  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2282 
     2283fi 
     2284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
     2285$as_echo "$ac_cv_build" >&6; } 
    18642286case $ac_cv_build in 
    18652287*-*-*) ;; 
    1866 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1867 echo "$as_me: error: invalid value of canonical build" >&2;} 
    1868    { (exit 1); exit 1; }; };; 
     2288*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    18692289esac 
    18702290build=$ac_cv_build 
     
    18822302 
    18832303 
    1884 { echo "$as_me:$LINENO: checking host system type" >&5 
    1885 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    1886 if test "${ac_cv_host+set}" = set; then 
    1887   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
     2305$as_echo_n "checking host system type... " >&6; } 
     2306if test "${ac_cv_host+set}" = set; then : 
     2307  $as_echo_n "(cached) " >&6 
    18882308else 
    18892309  if test "x$host_alias" = x; then 
     
    18912311else 
    18922312  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1893     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1894 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1895    { (exit 1); exit 1; }; } 
    1896 fi 
    1897  
    1898 fi 
    1899 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    1900 echo "${ECHO_T}$ac_cv_host" >&6; } 
     2313    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2314fi 
     2315 
     2316fi 
     2317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
     2318$as_echo "$ac_cv_host" >&6; } 
    19012319case $ac_cv_host in 
    19022320*-*-*) ;; 
    1903 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1904 echo "$as_me: error: invalid value of canonical host" >&2;} 
    1905    { (exit 1); exit 1; }; };; 
     2321*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19062322esac 
    19072323host=$ac_cv_host 
     
    19192335 
    19202336 
    1921 { echo "$as_me:$LINENO: checking target system type" >&5 
    1922 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    1923 if test "${ac_cv_target+set}" = set; then 
    1924   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
     2338$as_echo_n "checking target system type... " >&6; } 
     2339if test "${ac_cv_target+set}" = set; then : 
     2340  $as_echo_n "(cached) " >&6 
    19252341else 
    19262342  if test "x$target_alias" = x; then 
     
    19282344else 
    19292345  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1930     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1931 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    1932    { (exit 1); exit 1; }; } 
    1933 fi 
    1934  
    1935 fi 
    1936 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    1937 echo "${ECHO_T}$ac_cv_target" >&6; } 
     2346    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2347fi 
     2348 
     2349fi 
     2350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
     2351$as_echo "$ac_cv_target" >&6; } 
    19382352case $ac_cv_target in 
    19392353*-*-*) ;; 
    1940 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    1941 echo "$as_me: error: invalid value of canonical target" >&2;} 
    1942    { (exit 1); exit 1; }; };; 
     2354*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    19432355esac 
    19442356target=$ac_cv_target 
     
    19842396  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    19852397set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1986 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    1988 if test "${ac_cv_prog_CC+set}" = set; then 
    1989   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2399$as_echo_n "checking for $ac_word... " >&6; } 
     2400if test "${ac_cv_prog_CC+set}" = set; then : 
     2401  $as_echo_n "(cached) " >&6 
    19902402else 
    19912403  if test -n "$CC"; then 
     
    19972409  IFS=$as_save_IFS 
    19982410  test -z "$as_dir" && as_dir=. 
    1999   for ac_exec_ext in '' $ac_executable_extensions; do 
     2411    for ac_exec_ext in '' $ac_executable_extensions; do 
    20002412  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20012413    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2002     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2414    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20032415    break 2 
    20042416  fi 
    20052417done 
    2006 done 
     2418  done 
    20072419IFS=$as_save_IFS 
    20082420 
     
    20112423CC=$ac_cv_prog_CC 
    20122424if test -n "$CC"; then 
    2013   { echo "$as_me:$LINENO: result: $CC" >&5 
    2014 echo "${ECHO_T}$CC" >&6; } 
    2015 else 
    2016   { echo "$as_me:$LINENO: result: no" >&5 
    2017 echo "${ECHO_T}no" >&6; } 
     2425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2426$as_echo "$CC" >&6; } 
     2427else 
     2428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2429$as_echo "no" >&6; } 
    20182430fi 
    20192431 
     
    20242436  # Extract the first word of "gcc", so it can be a program name with args. 
    20252437set dummy gcc; ac_word=$2 
    2026 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2029   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2439$as_echo_n "checking for $ac_word... " >&6; } 
     2440if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2441  $as_echo_n "(cached) " >&6 
    20302442else 
    20312443  if test -n "$ac_ct_CC"; then 
     
    20372449  IFS=$as_save_IFS 
    20382450  test -z "$as_dir" && as_dir=. 
    2039   for ac_exec_ext in '' $ac_executable_extensions; do 
     2451    for ac_exec_ext in '' $ac_executable_extensions; do 
    20402452  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20412453    ac_cv_prog_ac_ct_CC="gcc" 
    2042     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2454    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20432455    break 2 
    20442456  fi 
    20452457done 
    2046 done 
     2458  done 
    20472459IFS=$as_save_IFS 
    20482460 
     
    20512463ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    20522464if test -n "$ac_ct_CC"; then 
    2053   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2054 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2055 else 
    2056   { echo "$as_me:$LINENO: result: no" >&5 
    2057 echo "${ECHO_T}no" >&6; } 
     2465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2466$as_echo "$ac_ct_CC" >&6; } 
     2467else 
     2468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2469$as_echo "no" >&6; } 
    20582470fi 
    20592471 
     
    20632475    case $cross_compiling:$ac_tool_warned in 
    20642476yes:) 
    2065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2066 whose name does not start with the host triplet.  If you think this 
    2067 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2069 whose name does not start with the host triplet.  If you think this 
    2070 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2477{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2478$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    20712479ac_tool_warned=yes ;; 
    20722480esac 
     
    20812489    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    20822490set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2083 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2085 if test "${ac_cv_prog_CC+set}" = set; then 
    2086   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2492$as_echo_n "checking for $ac_word... " >&6; } 
     2493if test "${ac_cv_prog_CC+set}" = set; then : 
     2494  $as_echo_n "(cached) " >&6 
    20872495else 
    20882496  if test -n "$CC"; then 
     
    20942502  IFS=$as_save_IFS 
    20952503  test -z "$as_dir" && as_dir=. 
    2096   for ac_exec_ext in '' $ac_executable_extensions; do 
     2504    for ac_exec_ext in '' $ac_executable_extensions; do 
    20972505  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20982506    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2099     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21002508    break 2 
    21012509  fi 
    21022510done 
    2103 done 
     2511  done 
    21042512IFS=$as_save_IFS 
    21052513 
     
    21082516CC=$ac_cv_prog_CC 
    21092517if test -n "$CC"; then 
    2110   { echo "$as_me:$LINENO: result: $CC" >&5 
    2111 echo "${ECHO_T}$CC" >&6; } 
    2112 else 
    2113   { echo "$as_me:$LINENO: result: no" >&5 
    2114 echo "${ECHO_T}no" >&6; } 
     2518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2519$as_echo "$CC" >&6; } 
     2520else 
     2521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2522$as_echo "no" >&6; } 
    21152523fi 
    21162524 
     
    21212529  # Extract the first word of "cc", so it can be a program name with args. 
    21222530set dummy cc; ac_word=$2 
    2123 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2125 if test "${ac_cv_prog_CC+set}" = set; then 
    2126   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2532$as_echo_n "checking for $ac_word... " >&6; } 
     2533if test "${ac_cv_prog_CC+set}" = set; then : 
     2534  $as_echo_n "(cached) " >&6 
    21272535else 
    21282536  if test -n "$CC"; then 
     
    21352543  IFS=$as_save_IFS 
    21362544  test -z "$as_dir" && as_dir=. 
    2137   for ac_exec_ext in '' $ac_executable_extensions; do 
     2545    for ac_exec_ext in '' $ac_executable_extensions; do 
    21382546  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21392547    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    21422550     fi 
    21432551    ac_cv_prog_CC="cc" 
    2144     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21452553    break 2 
    21462554  fi 
    21472555done 
    2148 done 
     2556  done 
    21492557IFS=$as_save_IFS 
    21502558 
     
    21652573CC=$ac_cv_prog_CC 
    21662574if test -n "$CC"; then 
    2167   { echo "$as_me:$LINENO: result: $CC" >&5 
    2168 echo "${ECHO_T}$CC" >&6; } 
    2169 else 
    2170   { echo "$as_me:$LINENO: result: no" >&5 
    2171 echo "${ECHO_T}no" >&6; } 
     2575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2576$as_echo "$CC" >&6; } 
     2577else 
     2578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2579$as_echo "no" >&6; } 
    21722580fi 
    21732581 
     
    21802588    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    21812589set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2182 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2184 if test "${ac_cv_prog_CC+set}" = set; then 
    2185   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2591$as_echo_n "checking for $ac_word... " >&6; } 
     2592if test "${ac_cv_prog_CC+set}" = set; then : 
     2593  $as_echo_n "(cached) " >&6 
    21862594else 
    21872595  if test -n "$CC"; then 
     
    21932601  IFS=$as_save_IFS 
    21942602  test -z "$as_dir" && as_dir=. 
    2195   for ac_exec_ext in '' $ac_executable_extensions; do 
     2603    for ac_exec_ext in '' $ac_executable_extensions; do 
    21962604  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21972605    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2198     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2606    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21992607    break 2 
    22002608  fi 
    22012609done 
    2202 done 
     2610  done 
    22032611IFS=$as_save_IFS 
    22042612 
     
    22072615CC=$ac_cv_prog_CC 
    22082616if test -n "$CC"; then 
    2209   { echo "$as_me:$LINENO: result: $CC" >&5 
    2210 echo "${ECHO_T}$CC" >&6; } 
    2211 else 
    2212   { echo "$as_me:$LINENO: result: no" >&5 
    2213 echo "${ECHO_T}no" >&6; } 
     2617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2618$as_echo "$CC" >&6; } 
     2619else 
     2620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2621$as_echo "no" >&6; } 
    22142622fi 
    22152623 
     
    22242632  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22252633set dummy $ac_prog; ac_word=$2 
    2226 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2229   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2635$as_echo_n "checking for $ac_word... " >&6; } 
     2636if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2637  $as_echo_n "(cached) " >&6 
    22302638else 
    22312639  if test -n "$ac_ct_CC"; then 
     
    22372645  IFS=$as_save_IFS 
    22382646  test -z "$as_dir" && as_dir=. 
    2239   for ac_exec_ext in '' $ac_executable_extensions; do 
     2647    for ac_exec_ext in '' $ac_executable_extensions; do 
    22402648  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22412649    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22432651    break 2 
    22442652  fi 
    22452653done 
    2246 done 
     2654  done 
    22472655IFS=$as_save_IFS 
    22482656 
     
    22512659ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    22522660if test -n "$ac_ct_CC"; then 
    2253   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2254 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2255 else 
    2256   { echo "$as_me:$LINENO: result: no" >&5 
    2257 echo "${ECHO_T}no" >&6; } 
     2661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2662$as_echo "$ac_ct_CC" >&6; } 
     2663else 
     2664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2665$as_echo "no" >&6; } 
    22582666fi 
    22592667 
     
    22672675    case $cross_compiling:$ac_tool_warned in 
    22682676yes:) 
    2269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2270 whose name does not start with the host triplet.  If you think this 
    2271 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2273 whose name does not start with the host triplet.  If you think this 
    2274 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2677{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2678$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    22752679ac_tool_warned=yes ;; 
    22762680esac 
     
    22822686 
    22832687 
    2284 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2285 See \`config.log' for more details." >&5 
    2286 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2287 See \`config.log' for more details." >&2;} 
    2288    { (exit 1); exit 1; }; } 
     2688test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2689$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2690as_fn_error "no acceptable C compiler found in \$PATH 
     2691See \`config.log' for more details." "$LINENO" 5; } 
    22892692 
    22902693# Provide some information about the compiler. 
    2291 echo "$as_me:$LINENO: checking for C compiler version" >&5 
    2292 ac_compiler=`set X $ac_compile; echo $2` 
    2293 { (ac_try="$ac_compiler --version >&5" 
     2694$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
     2695set X $ac_compile 
     2696ac_compiler=$2 
     2697for ac_option in --version -v -V -qversion; do 
     2698  { { ac_try="$ac_compiler $ac_option >&5" 
    22942699case "(($ac_try" in 
    22952700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    22962701  *) ac_try_echo=$ac_try;; 
    22972702esac 
    2298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2299   (eval "$ac_compiler --version >&5") 2>&5 
     2703eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2704$as_echo "$ac_try_echo"; } >&5 
     2705  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23002706  ac_status=$? 
    2301   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2302   (exit $ac_status); } 
    2303 { (ac_try="$ac_compiler -v >&5" 
     2707  if test -s conftest.err; then 
     2708    sed '10a\ 
     2709... rest of stderr output deleted ... 
     2710         10q' conftest.err >conftest.er1 
     2711    cat conftest.er1 >&5 
     2712  fi 
     2713  rm -f conftest.er1 conftest.err 
     2714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2715  test $ac_status = 0; } 
     2716done 
     2717 
     2718cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2719/* end confdefs.h.  */ 
     2720 
     2721int 
     2722main () 
     2723{ 
     2724 
     2725  ; 
     2726  return 0; 
     2727} 
     2728_ACEOF 
     2729ac_clean_files_save=$ac_clean_files 
     2730ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2731# Try to create an executable without -o first, disregard a.out. 
     2732# It will help us diagnose broken compilers, and finding out an intuition 
     2733# of exeext. 
     2734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
     2735$as_echo_n "checking whether the C compiler works... " >&6; } 
     2736ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2737 
     2738# The possible output files: 
     2739ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
     2740 
     2741ac_rmfiles= 
     2742for ac_file in $ac_files 
     2743do 
     2744  case $ac_file in 
     2745    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2746    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
     2747  esac 
     2748done 
     2749rm -f $ac_rmfiles 
     2750 
     2751if { { ac_try="$ac_link_default" 
    23042752case "(($ac_try" in 
    23052753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23062754  *) ac_try_echo=$ac_try;; 
    23072755esac 
    2308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2309   (eval "$ac_compiler -v >&5") 2>&5 
    2310   ac_status=$? 
    2311   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2312   (exit $ac_status); } 
    2313 { (ac_try="$ac_compiler -V >&5" 
    2314 case "(($ac_try" in 
    2315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2316   *) ac_try_echo=$ac_try;; 
    2317 esac 
    2318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2319   (eval "$ac_compiler -V >&5") 2>&5 
    2320   ac_status=$? 
    2321   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2322   (exit $ac_status); } 
    2323  
    2324 cat >conftest.$ac_ext <<_ACEOF 
    2325 /* confdefs.h.  */ 
    2326 _ACEOF 
    2327 cat confdefs.h >>conftest.$ac_ext 
    2328 cat >>conftest.$ac_ext <<_ACEOF 
    2329 /* end confdefs.h.  */ 
    2330  
    2331 int 
    2332 main () 
    2333 { 
    2334  
    2335   ; 
    2336   return 0; 
    2337 } 
    2338 _ACEOF 
    2339 ac_clean_files_save=$ac_clean_files 
    2340 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    2341 # Try to create an executable without -o first, disregard a.out. 
    2342 # It will help us diagnose broken compilers, and finding out an intuition 
    2343 # of exeext. 
    2344 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    2345 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
    2346 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2347 # 
    2348 # List of possible output files, starting from the most likely. 
    2349 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
    2350 # only as a last resort.  b.out is created by i960 compilers. 
    2351 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
    2352 # 
    2353 # The IRIX 6 linker writes into existing files which may not be 
    2354 # executable, retaining their permissions.  Remove them first so a 
    2355 # subsequent execution test works. 
    2356 ac_rmfiles= 
    2357 for ac_file in $ac_files 
    2358 do 
    2359   case $ac_file in 
    2360     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    2361     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    2362   esac 
    2363 done 
    2364 rm -f $ac_rmfiles 
    2365  
    2366 if { (ac_try="$ac_link_default" 
    2367 case "(($ac_try" in 
    2368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2369   *) ac_try_echo=$ac_try;; 
    2370 esac 
    2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2756eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2757$as_echo "$ac_try_echo"; } >&5 
    23722758  (eval "$ac_link_default") 2>&5 
    23732759  ac_status=$? 
    2374   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2375   (exit $ac_status); }; then 
     2760  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2761  test $ac_status = 0; }; then : 
    23762762  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    23772763# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    23832769  test -f "$ac_file" || continue 
    23842770  case $ac_file in 
    2385     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
     2771    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
    23862772        ;; 
    23872773    [ab].out ) 
     
    23902776        break;; 
    23912777    *.* ) 
    2392         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2778        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    23932779        then :; else 
    23942780           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24092795  ac_file='' 
    24102796fi 
    2411  
    2412 { echo "$as_me:$LINENO: result: $ac_file" >&5 
    2413 echo "${ECHO_T}$ac_file" >&6; } 
    2414 if test -z "$ac_file"; then 
    2415   echo "$as_me: failed program was:" >&5 
     2797if test -z "$ac_file"; then : 
     2798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2799$as_echo "no" >&6; } 
     2800$as_echo "$as_me: failed program was:" >&5 
    24162801sed 's/^/| /' conftest.$ac_ext >&5 
    24172802 
    2418 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2419 See \`config.log' for more details." >&5 
    2420 echo "$as_me: error: C compiler cannot create executables 
    2421 See \`config.log' for more details." >&2;} 
    2422    { (exit 77); exit 77; }; } 
    2423 fi 
    2424  
     2803{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2804$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2805{ as_fn_set_status 77 
     2806as_fn_error "C compiler cannot create executables 
     2807See \`config.log' for more details." "$LINENO" 5; }; } 
     2808else 
     2809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     2810$as_echo "yes" >&6; } 
     2811fi 
     2812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
     2813$as_echo_n "checking for C compiler default output file name... " >&6; } 
     2814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
     2815$as_echo "$ac_file" >&6; } 
    24252816ac_exeext=$ac_cv_exeext 
    24262817 
    2427 # Check that the compiler produces executables we can run.  If not, either 
    2428 # the compiler is broken, or we cross compile. 
    2429 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    2430 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
    2431 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    2432 # If not cross compiling, check that we can run a simple program. 
    2433 if test "$cross_compiling" != yes; then 
    2434   if { ac_try='./$ac_file' 
    2435   { (case "(($ac_try" in 
    2436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2437   *) ac_try_echo=$ac_try;; 
    2438 esac 
    2439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2440   (eval "$ac_try") 2>&5 
    2441   ac_status=$? 
    2442   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2443   (exit $ac_status); }; }; then 
    2444     cross_compiling=no 
    2445   else 
    2446     if test "$cross_compiling" = maybe; then 
    2447         cross_compiling=yes 
    2448     else 
    2449         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    2450 If you meant to cross compile, use \`--host'. 
    2451 See \`config.log' for more details." >&5 
    2452 echo "$as_me: error: cannot run C compiled programs. 
    2453 If you meant to cross compile, use \`--host'. 
    2454 See \`config.log' for more details." >&2;} 
    2455    { (exit 1); exit 1; }; } 
    2456     fi 
    2457   fi 
    2458 fi 
    2459 { echo "$as_me:$LINENO: result: yes" >&5 
    2460 echo "${ECHO_T}yes" >&6; } 
    2461  
    2462 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     2818rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
    24632819ac_clean_files=$ac_clean_files_save 
    2464 # Check that the compiler produces executables we can run.  If not, either 
    2465 # the compiler is broken, or we cross compile. 
    2466 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    2467 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
    2468 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    2469 echo "${ECHO_T}$cross_compiling" >&6; } 
    2470  
    2471 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    2472 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
    2473 if { (ac_try="$ac_link" 
     2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
     2821$as_echo_n "checking for suffix of executables... " >&6; } 
     2822if { { ac_try="$ac_link" 
    24742823case "(($ac_try" in 
    24752824  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24762825  *) ac_try_echo=$ac_try;; 
    24772826esac 
    2478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2827eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2828$as_echo "$ac_try_echo"; } >&5 
    24792829  (eval "$ac_link") 2>&5 
    24802830  ac_status=$? 
    2481   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2482   (exit $ac_status); }; then 
     2831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2832  test $ac_status = 0; }; then : 
    24832833  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    24842834# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    24882838  test -f "$ac_file" || continue 
    24892839  case $ac_file in 
    2490     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
     2840    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
    24912841    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    24922842          break;; 
     
    24952845done 
    24962846else 
    2497   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2498 See \`config.log' for more details." >&5 
    2499 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2500 See \`config.log' for more details." >&2;} 
    2501    { (exit 1); exit 1; }; } 
    2502 fi 
    2503  
    2504 rm -f conftest$ac_cv_exeext 
    2505 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    2506 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
     2847  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2849as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2850See \`config.log' for more details." "$LINENO" 5; } 
     2851fi 
     2852rm -f conftest conftest$ac_cv_exeext 
     2853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
     2854$as_echo "$ac_cv_exeext" >&6; } 
    25072855 
    25082856rm -f conftest.$ac_ext 
    25092857EXEEXT=$ac_cv_exeext 
    25102858ac_exeext=$EXEEXT 
    2511 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    2512 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
    2513 if test "${ac_cv_objext+set}" = set; then 
    2514   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2515 else 
    2516   cat >conftest.$ac_ext <<_ACEOF 
    2517 /* confdefs.h.  */ 
    2518 _ACEOF 
    2519 cat confdefs.h >>conftest.$ac_ext 
    2520 cat >>conftest.$ac_ext <<_ACEOF 
     2859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25212860/* end confdefs.h.  */ 
    2522  
     2861#include <stdio.h> 
    25232862int 
    25242863main () 
    25252864{ 
     2865FILE *f = fopen ("conftest.out", "w"); 
     2866 return ferror (f) || fclose (f) != 0; 
    25262867 
    25272868  ; 
     
    25292870} 
    25302871_ACEOF 
    2531 rm -f conftest.o conftest.obj 
    2532 if { (ac_try="$ac_compile" 
     2872ac_clean_files="$ac_clean_files conftest.out" 
     2873# Check that the compiler produces executables we can run.  If not, either 
     2874# the compiler is broken, or we cross compile. 
     2875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
     2876$as_echo_n "checking whether we are cross compiling... " >&6; } 
     2877if test "$cross_compiling" != yes; then 
     2878  { { ac_try="$ac_link" 
    25332879case "(($ac_try" in 
    25342880  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25352881  *) ac_try_echo=$ac_try;; 
    25362882esac 
    2537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2883eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2884$as_echo "$ac_try_echo"; } >&5 
     2885  (eval "$ac_link") 2>&5 
     2886  ac_status=$? 
     2887  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2888  test $ac_status = 0; } 
     2889  if { ac_try='./conftest$ac_cv_exeext' 
     2890  { { case "(($ac_try" in 
     2891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2892  *) ac_try_echo=$ac_try;; 
     2893esac 
     2894eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2895$as_echo "$ac_try_echo"; } >&5 
     2896  (eval "$ac_try") 2>&5 
     2897  ac_status=$? 
     2898  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2899  test $ac_status = 0; }; }; then 
     2900    cross_compiling=no 
     2901  else 
     2902    if test "$cross_compiling" = maybe; then 
     2903        cross_compiling=yes 
     2904    else 
     2905        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2907as_fn_error "cannot run C compiled programs. 
     2908If you meant to cross compile, use \`--host'. 
     2909See \`config.log' for more details." "$LINENO" 5; } 
     2910    fi 
     2911  fi 
     2912fi 
     2913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
     2914$as_echo "$cross_compiling" >&6; } 
     2915 
     2916rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
     2917ac_clean_files=$ac_clean_files_save 
     2918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
     2919$as_echo_n "checking for suffix of object files... " >&6; } 
     2920if test "${ac_cv_objext+set}" = set; then : 
     2921  $as_echo_n "(cached) " >&6 
     2922else 
     2923  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2924/* end confdefs.h.  */ 
     2925 
     2926int 
     2927main () 
     2928{ 
     2929 
     2930  ; 
     2931  return 0; 
     2932} 
     2933_ACEOF 
     2934rm -f conftest.o conftest.obj 
     2935if { { ac_try="$ac_compile" 
     2936case "(($ac_try" in 
     2937  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2938  *) ac_try_echo=$ac_try;; 
     2939esac 
     2940eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2941$as_echo "$ac_try_echo"; } >&5 
    25382942  (eval "$ac_compile") 2>&5 
    25392943  ac_status=$? 
    2540   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2541   (exit $ac_status); }; then 
     2944  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2945  test $ac_status = 0; }; then : 
    25422946  for ac_file in conftest.o conftest.obj conftest.*; do 
    25432947  test -f "$ac_file" || continue; 
    25442948  case $ac_file in 
    2545     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
     2949    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
    25462950    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    25472951       break;; 
     
    25492953done 
    25502954else 
    2551   echo "$as_me: failed program was:" >&5 
     2955  $as_echo "$as_me: failed program was:" >&5 
    25522956sed 's/^/| /' conftest.$ac_ext >&5 
    25532957 
    2554 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2555 See \`config.log' for more details." >&5 
    2556 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2557 See \`config.log' for more details." >&2;} 
    2558    { (exit 1); exit 1; }; } 
    2559 fi 
    2560  
     2958{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2959$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2960as_fn_error "cannot compute suffix of object files: cannot compile 
     2961See \`config.log' for more details." "$LINENO" 5; } 
     2962fi 
    25612963rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    25622964fi 
    2563 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    2564 echo "${ECHO_T}$ac_cv_objext" >&6; } 
     2965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
     2966$as_echo "$ac_cv_objext" >&6; } 
    25652967OBJEXT=$ac_cv_objext 
    25662968ac_objext=$OBJEXT 
    2567 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    2568 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
    2569 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
    2570   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2571 else 
    2572   cat >conftest.$ac_ext <<_ACEOF 
    2573 /* confdefs.h.  */ 
    2574 _ACEOF 
    2575 cat confdefs.h >>conftest.$ac_ext 
    2576 cat >>conftest.$ac_ext <<_ACEOF 
     2969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
     2970$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
     2971if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     2972  $as_echo_n "(cached) " >&6 
     2973else 
     2974  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25772975/* end confdefs.h.  */ 
    25782976 
     
    25882986} 
    25892987_ACEOF 
    2590 rm -f conftest.$ac_objext 
    2591 if { (ac_try="$ac_compile" 
    2592 case "(($ac_try" in 
    2593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2594   *) ac_try_echo=$ac_try;; 
    2595 esac 
    2596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2597   (eval "$ac_compile") 2>conftest.er1 
    2598   ac_status=$? 
    2599   grep -v '^ *+' conftest.er1 >conftest.err 
    2600   rm -f conftest.er1 
    2601   cat conftest.err >&5 
    2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2603   (exit $ac_status); } && { 
    2604          test -z "$ac_c_werror_flag" || 
    2605          test ! -s conftest.err 
    2606        } && test -s conftest.$ac_objext; then 
     2988if ac_fn_c_try_compile "$LINENO"; then : 
    26072989  ac_compiler_gnu=yes 
    26082990else 
    2609   echo "$as_me: failed program was:" >&5 
    2610 sed 's/^/| /' conftest.$ac_ext >&5 
    2611  
    2612         ac_compiler_gnu=no 
    2613 fi 
    2614  
     2991  ac_compiler_gnu=no 
     2992fi 
    26152993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26162994ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26172995 
    26182996fi 
    2619 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    2620 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
    2621 GCC=`test $ac_compiler_gnu = yes && echo yes` 
     2997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
     2998$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
     2999if test $ac_compiler_gnu = yes; then 
     3000  GCC=yes 
     3001else 
     3002  GCC= 
     3003fi 
    26223004ac_test_CFLAGS=${CFLAGS+set} 
    26233005ac_save_CFLAGS=$CFLAGS 
    2624 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    2625 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
    2626 if test "${ac_cv_prog_cc_g+set}" = set; then 
    2627   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
     3007$as_echo_n "checking whether $CC accepts -g... " >&6; } 
     3008if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3009  $as_echo_n "(cached) " >&6 
    26283010else 
    26293011  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    26313013   ac_cv_prog_cc_g=no 
    26323014   CFLAGS="-g" 
    2633    cat >conftest.$ac_ext <<_ACEOF 
    2634 /* confdefs.h.  */ 
    2635 _ACEOF 
    2636 cat confdefs.h >>conftest.$ac_ext 
    2637 cat >>conftest.$ac_ext <<_ACEOF 
     3015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26383016/* end confdefs.h.  */ 
    26393017 
     
    26463024} 
    26473025_ACEOF 
    2648 rm -f conftest.$ac_objext 
    2649 if { (ac_try="$ac_compile" 
    2650 case "(($ac_try" in 
    2651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2652   *) ac_try_echo=$ac_try;; 
    2653 esac 
    2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2655   (eval "$ac_compile") 2>conftest.er1 
    2656   ac_status=$? 
    2657   grep -v '^ *+' conftest.er1 >conftest.err 
    2658   rm -f conftest.er1 
    2659   cat conftest.err >&5 
    2660   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2661   (exit $ac_status); } && { 
    2662          test -z "$ac_c_werror_flag" || 
    2663          test ! -s conftest.err 
    2664        } && test -s conftest.$ac_objext; then 
     3026if ac_fn_c_try_compile "$LINENO"; then : 
    26653027  ac_cv_prog_cc_g=yes 
    26663028else 
    2667   echo "$as_me: failed program was:" >&5 
    2668 sed 's/^/| /' conftest.$ac_ext >&5 
    2669  
    2670         CFLAGS="" 
    2671       cat >conftest.$ac_ext <<_ACEOF 
    2672 /* confdefs.h.  */ 
    2673 _ACEOF 
    2674 cat confdefs.h >>conftest.$ac_ext 
    2675 cat >>conftest.$ac_ext <<_ACEOF 
     3029  CFLAGS="" 
     3030      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26763031/* end confdefs.h.  */ 
    26773032 
     
    26843039} 
    26853040_ACEOF 
    2686 rm -f conftest.$ac_objext 
    2687 if { (ac_try="$ac_compile" 
    2688 case "(($ac_try" in 
    2689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2690   *) ac_try_echo=$ac_try;; 
    2691 esac 
    2692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2693   (eval "$ac_compile") 2>conftest.er1 
    2694   ac_status=$? 
    2695   grep -v '^ *+' conftest.er1 >conftest.err 
    2696   rm -f conftest.er1 
    2697   cat conftest.err >&5 
    2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2699   (exit $ac_status); } && { 
    2700          test -z "$ac_c_werror_flag" || 
    2701          test ! -s conftest.err 
    2702        } && test -s conftest.$ac_objext; then 
    2703   : 
    2704 else 
    2705   echo "$as_me: failed program was:" >&5 
    2706 sed 's/^/| /' conftest.$ac_ext >&5 
    2707  
    2708         ac_c_werror_flag=$ac_save_c_werror_flag 
     3041if ac_fn_c_try_compile "$LINENO"; then : 
     3042 
     3043else 
     3044  ac_c_werror_flag=$ac_save_c_werror_flag 
    27093045         CFLAGS="-g" 
    2710          cat >conftest.$ac_ext <<_ACEOF 
    2711 /* confdefs.h.  */ 
    2712 _ACEOF 
    2713 cat confdefs.h >>conftest.$ac_ext 
    2714 cat >>conftest.$ac_ext <<_ACEOF 
     3046         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27153047/* end confdefs.h.  */ 
    27163048 
     
    27233055} 
    27243056_ACEOF 
    2725 rm -f conftest.$ac_objext 
    2726 if { (ac_try="$ac_compile" 
    2727 case "(($ac_try" in 
    2728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2729   *) ac_try_echo=$ac_try;; 
    2730 esac 
    2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2732   (eval "$ac_compile") 2>conftest.er1 
    2733   ac_status=$? 
    2734   grep -v '^ *+' conftest.er1 >conftest.err 
    2735   rm -f conftest.er1 
    2736   cat conftest.err >&5 
    2737   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2738   (exit $ac_status); } && { 
    2739          test -z "$ac_c_werror_flag" || 
    2740          test ! -s conftest.err 
    2741        } && test -s conftest.$ac_objext; then 
     3057if ac_fn_c_try_compile "$LINENO"; then : 
    27423058  ac_cv_prog_cc_g=yes 
    2743 else 
    2744   echo "$as_me: failed program was:" >&5 
    2745 sed 's/^/| /' conftest.$ac_ext >&5 
    2746  
    2747  
    2748 fi 
    2749  
     3059fi 
    27503060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27513061fi 
    2752  
    27533062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27543063fi 
    2755  
    27563064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27573065   ac_c_werror_flag=$ac_save_c_werror_flag 
    27583066fi 
    2759 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    2760 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
     3067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
     3068$as_echo "$ac_cv_prog_cc_g" >&6; } 
    27613069if test "$ac_test_CFLAGS" = set; then 
    27623070  CFLAGS=$ac_save_CFLAGS 
     
    27743082  fi 
    27753083fi 
    2776 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
    2777 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
    2778 if test "${ac_cv_prog_cc_c89+set}" = set; then 
    2779   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
     3085$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
     3086if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3087  $as_echo_n "(cached) " >&6 
    27803088else 
    27813089  ac_cv_prog_cc_c89=no 
    27823090ac_save_CC=$CC 
    2783 cat >conftest.$ac_ext <<_ACEOF 
    2784 /* confdefs.h.  */ 
    2785 _ACEOF 
    2786 cat confdefs.h >>conftest.$ac_ext 
    2787 cat >>conftest.$ac_ext <<_ACEOF 
     3091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27883092/* end confdefs.h.  */ 
    27893093#include <stdarg.h> 
     
    28423146do 
    28433147  CC="$ac_save_CC $ac_arg" 
    2844   rm -f conftest.$ac_objext 
    2845 if { (ac_try="$ac_compile" 
    2846 case "(($ac_try" in 
    2847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2848   *) ac_try_echo=$ac_try;; 
    2849 esac 
    2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2851   (eval "$ac_compile") 2>conftest.er1 
    2852   ac_status=$? 
    2853   grep -v '^ *+' conftest.er1 >conftest.err 
    2854   rm -f conftest.er1 
    2855   cat conftest.err >&5 
    2856   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2857   (exit $ac_status); } && { 
    2858          test -z "$ac_c_werror_flag" || 
    2859          test ! -s conftest.err 
    2860        } && test -s conftest.$ac_objext; then 
     3148  if ac_fn_c_try_compile "$LINENO"; then : 
    28613149  ac_cv_prog_cc_c89=$ac_arg 
    2862 else 
    2863   echo "$as_me: failed program was:" >&5 
    2864 sed 's/^/| /' conftest.$ac_ext >&5 
    2865  
    2866  
    2867 fi 
    2868  
     3150fi 
    28693151rm -f core conftest.err conftest.$ac_objext 
    28703152  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    28773159case "x$ac_cv_prog_cc_c89" in 
    28783160  x) 
    2879     { echo "$as_me:$LINENO: result: none needed" >&5 
    2880 echo "${ECHO_T}none needed" >&6; } ;; 
     3161    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
     3162$as_echo "none needed" >&6; } ;; 
    28813163  xno) 
    2882     { echo "$as_me:$LINENO: result: unsupported" >&5 
    2883 echo "${ECHO_T}unsupported" >&6; } ;; 
     3164    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
     3165$as_echo "unsupported" >&6; } ;; 
    28843166  *) 
    28853167    CC="$CC $ac_cv_prog_cc_c89" 
    2886     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
    2887 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     3168    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
     3169$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    28883170esac 
    2889  
     3171if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3172 
     3173fi 
    28903174 
    28913175ac_ext=c 
     
    29093193    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29103194set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2911 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2913 if test "${ac_cv_prog_CXX+set}" = set; then 
    2914   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3196$as_echo_n "checking for $ac_word... " >&6; } 
     3197if test "${ac_cv_prog_CXX+set}" = set; then : 
     3198  $as_echo_n "(cached) " >&6 
    29153199else 
    29163200  if test -n "$CXX"; then 
     
    29223206  IFS=$as_save_IFS 
    29233207  test -z "$as_dir" && as_dir=. 
    2924   for ac_exec_ext in '' $ac_executable_extensions; do 
     3208    for ac_exec_ext in '' $ac_executable_extensions; do 
    29253209  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29263210    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2927     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29283212    break 2 
    29293213  fi 
    29303214done 
    2931 done 
     3215  done 
    29323216IFS=$as_save_IFS 
    29333217 
     
    29363220CXX=$ac_cv_prog_CXX 
    29373221if test -n "$CXX"; then 
    2938   { echo "$as_me:$LINENO: result: $CXX" >&5 
    2939 echo "${ECHO_T}$CXX" >&6; } 
    2940 else 
    2941   { echo "$as_me:$LINENO: result: no" >&5 
    2942 echo "${ECHO_T}no" >&6; } 
     3222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
     3223$as_echo "$CXX" >&6; } 
     3224else 
     3225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3226$as_echo "no" >&6; } 
    29433227fi 
    29443228 
     
    29533237  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    29543238set dummy $ac_prog; ac_word=$2 
    2955 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2957 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
    2958   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3240$as_echo_n "checking for $ac_word... " >&6; } 
     3241if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3242  $as_echo_n "(cached) " >&6 
    29593243else 
    29603244  if test -n "$ac_ct_CXX"; then 
     
    29663250  IFS=$as_save_IFS 
    29673251  test -z "$as_dir" && as_dir=. 
    2968   for ac_exec_ext in '' $ac_executable_extensions; do 
     3252    for ac_exec_ext in '' $ac_executable_extensions; do 
    29693253  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29703254    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2971     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29723256    break 2 
    29733257  fi 
    29743258done 
    2975 done 
     3259  done 
    29763260IFS=$as_save_IFS 
    29773261 
     
    29803264ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    29813265if test -n "$ac_ct_CXX"; then 
    2982   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    2983 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
    2984 else 
    2985   { echo "$as_me:$LINENO: result: no" >&5 
    2986 echo "${ECHO_T}no" >&6; } 
     3266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
     3267$as_echo "$ac_ct_CXX" >&6; } 
     3268else 
     3269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3270$as_echo "no" >&6; } 
    29873271fi 
    29883272 
     
    29963280    case $cross_compiling:$ac_tool_warned in 
    29973281yes:) 
    2998 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2999 whose name does not start with the host triplet.  If you think this 
    3000 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3001 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3002 whose name does not start with the host triplet.  If you think this 
    3003 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30043284ac_tool_warned=yes ;; 
    30053285esac 
     
    30113291fi 
    30123292# Provide some information about the compiler. 
    3013 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
    3014 ac_compiler=`set X $ac_compile; echo $2` 
    3015 { (ac_try="$ac_compiler --version >&5" 
     3293$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
     3294set X $ac_compile 
     3295ac_compiler=$2 
     3296for ac_option in --version -v -V -qversion; do 
     3297  { { ac_try="$ac_compiler $ac_option >&5" 
    30163298case "(($ac_try" in 
    30173299  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30183300  *) ac_try_echo=$ac_try;; 
    30193301esac 
    3020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3021   (eval "$ac_compiler --version >&5") 2>&5 
     3302eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3303$as_echo "$ac_try_echo"; } >&5 
     3304  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    30223305  ac_status=$? 
    3023   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3024   (exit $ac_status); } 
    3025 { (ac_try="$ac_compiler -v >&5" 
    3026 case "(($ac_try" in 
    3027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3028   *) ac_try_echo=$ac_try;; 
    3029 esac 
    3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3031   (eval "$ac_compiler -v >&5") 2>&5 
    3032   ac_status=$? 
    3033   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3034   (exit $ac_status); } 
    3035 { (ac_try="$ac_compiler -V >&5" 
    3036 case "(($ac_try" in 
    3037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3038   *) ac_try_echo=$ac_try;; 
    3039 esac 
    3040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3041   (eval "$ac_compiler -V >&5") 2>&5 
    3042   ac_status=$? 
    3043   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3044   (exit $ac_status); } 
    3045  
    3046 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    3047 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
    3048 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
    3049   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3050 else 
    3051   cat >conftest.$ac_ext <<_ACEOF 
    3052 /* confdefs.h.  */ 
    3053 _ACEOF 
    3054 cat confdefs.h >>conftest.$ac_ext 
    3055 cat >>conftest.$ac_ext <<_ACEOF 
     3306  if test -s conftest.err; then 
     3307    sed '10a\ 
     3308... rest of stderr output deleted ... 
     3309         10q' conftest.err >conftest.er1 
     3310    cat conftest.er1 >&5 
     3311  fi 
     3312  rm -f conftest.er1 conftest.err 
     3313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3314  test $ac_status = 0; } 
     3315done 
     3316 
     3317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
     3318$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
     3319if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3320  $as_echo_n "(cached) " >&6 
     3321else 
     3322  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    30563323/* end confdefs.h.  */ 
    30573324 
     
    30673334} 
    30683335_ACEOF 
    3069 rm -f conftest.$ac_objext 
    3070 if { (ac_try="$ac_compile" 
    3071 case "(($ac_try" in 
    3072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3073   *) ac_try_echo=$ac_try;; 
    3074 esac 
    3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3076   (eval "$ac_compile") 2>conftest.er1 
    3077   ac_status=$? 
    3078   grep -v '^ *+' conftest.er1 >conftest.err 
    3079   rm -f conftest.er1 
    3080   cat conftest.err >&5 
    3081   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3082   (exit $ac_status); } && { 
    3083          test -z "$ac_cxx_werror_flag" || 
    3084          test ! -s conftest.err 
    3085        } && test -s conftest.$ac_objext; then 
     3336if ac_fn_cxx_try_compile "$LINENO"; then : 
    30863337  ac_compiler_gnu=yes 
    30873338else 
    3088   echo "$as_me: failed program was:" >&5 
    3089 sed 's/^/| /' conftest.$ac_ext >&5 
    3090  
    3091         ac_compiler_gnu=no 
    3092 fi 
    3093  
     3339  ac_compiler_gnu=no 
     3340fi 
    30943341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30953342ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    30963343 
    30973344fi 
    3098 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    3099 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
    3100 GXX=`test $ac_compiler_gnu = yes && echo yes` 
     3345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
     3346$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
     3347if test $ac_compiler_gnu = yes; then 
     3348  GXX=yes 
     3349else 
     3350  GXX= 
     3351fi 
    31013352ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31023353ac_save_CXXFLAGS=$CXXFLAGS 
    3103 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    3104 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
    3105 if test "${ac_cv_prog_cxx_g+set}" = set; then 
    3106   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
     3355$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
     3356if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3357  $as_echo_n "(cached) " >&6 
    31073358else 
    31083359  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    31103361   ac_cv_prog_cxx_g=no 
    31113362   CXXFLAGS="-g" 
    3112    cat >conftest.$ac_ext <<_ACEOF 
    3113 /* confdefs.h.  */ 
    3114 _ACEOF 
    3115 cat confdefs.h >>conftest.$ac_ext 
    3116 cat >>conftest.$ac_ext <<_ACEOF 
     3363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31173364/* end confdefs.h.  */ 
    31183365 
     
    31253372} 
    31263373_ACEOF 
    3127 rm -f conftest.$ac_objext 
    3128 if { (ac_try="$ac_compile" 
    3129 case "(($ac_try" in 
    3130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3131   *) ac_try_echo=$ac_try;; 
    3132 esac 
    3133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3134   (eval "$ac_compile") 2>conftest.er1 
    3135   ac_status=$? 
    3136   grep -v '^ *+' conftest.er1 >conftest.err 
    3137   rm -f conftest.er1 
    3138   cat conftest.err >&5 
    3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3140   (exit $ac_status); } && { 
    3141          test -z "$ac_cxx_werror_flag" || 
    3142          test ! -s conftest.err 
    3143        } && test -s conftest.$ac_objext; then 
     3374if ac_fn_cxx_try_compile "$LINENO"; then : 
    31443375  ac_cv_prog_cxx_g=yes 
    31453376else 
    3146   echo "$as_me: failed program was:" >&5 
    3147 sed 's/^/| /' conftest.$ac_ext >&5 
    3148  
    3149         CXXFLAGS="" 
    3150       cat >conftest.$ac_ext <<_ACEOF 
    3151 /* confdefs.h.  */ 
    3152 _ACEOF 
    3153 cat confdefs.h >>conftest.$ac_ext 
    3154 cat >>conftest.$ac_ext <<_ACEOF 
     3377  CXXFLAGS="" 
     3378      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31553379/* end confdefs.h.  */ 
    31563380 
     
    31633387} 
    31643388_ACEOF 
    3165 rm -f conftest.$ac_objext 
    3166 if { (ac_try="$ac_compile" 
    3167 case "(($ac_try" in 
    3168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3169   *) ac_try_echo=$ac_try;; 
    3170 esac 
    3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3172   (eval "$ac_compile") 2>conftest.er1 
    3173   ac_status=$? 
    3174   grep -v '^ *+' conftest.er1 >conftest.err 
    3175   rm -f conftest.er1 
    3176   cat conftest.err >&5 
    3177   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3178   (exit $ac_status); } && { 
    3179          test -z "$ac_cxx_werror_flag" || 
    3180          test ! -s conftest.err 
    3181        } && test -s conftest.$ac_objext; then 
    3182   : 
    3183 else 
    3184   echo "$as_me: failed program was:" >&5 
    3185 sed 's/^/| /' conftest.$ac_ext >&5 
    3186  
    3187         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3389if ac_fn_cxx_try_compile "$LINENO"; then : 
     3390 
     3391else 
     3392  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    31883393         CXXFLAGS="-g" 
    3189          cat >conftest.$ac_ext <<_ACEOF 
    3190 /* confdefs.h.  */ 
    3191 _ACEOF 
    3192 cat confdefs.h >>conftest.$ac_ext 
    3193 cat >>conftest.$ac_ext <<_ACEOF 
     3394         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31943395/* end confdefs.h.  */ 
    31953396 
     
    32023403} 
    32033404_ACEOF 
    3204 rm -f conftest.$ac_objext 
    3205 if { (ac_try="$ac_compile" 
    3206 case "(($ac_try" in 
    3207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3208   *) ac_try_echo=$ac_try;; 
    3209 esac 
    3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3211   (eval "$ac_compile") 2>conftest.er1 
    3212   ac_status=$? 
    3213   grep -v '^ *+' conftest.er1 >conftest.err 
    3214   rm -f conftest.er1 
    3215   cat conftest.err >&5 
    3216   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3217   (exit $ac_status); } && { 
    3218          test -z "$ac_cxx_werror_flag" || 
    3219          test ! -s conftest.err 
    3220        } && test -s conftest.$ac_objext; then 
     3405if ac_fn_cxx_try_compile "$LINENO"; then : 
    32213406  ac_cv_prog_cxx_g=yes 
    3222 else 
    3223   echo "$as_me: failed program was:" >&5 
    3224 sed 's/^/| /' conftest.$ac_ext >&5 
    3225  
    3226  
    3227 fi 
    3228  
     3407fi 
    32293408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32303409fi 
    3231  
    32323410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32333411fi 
    3234  
    32353412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32363413   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32373414fi 
    3238 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    3239 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
     3415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
     3416$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    32403417if test "$ac_test_CXXFLAGS" = set; then 
    32413418  CXXFLAGS=$ac_save_CXXFLAGS 
     
    33153492 
    33163493 
    3317  
    3318 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    3319 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
    3320 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
    3321   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
     3495$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
     3496if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3497  $as_echo_n "(cached) " >&6 
    33223498else 
    33233499  ac_check_lib_save_LIBS=$LIBS 
    33243500LIBS="-lpthread  $LIBS" 
    3325 cat >conftest.$ac_ext <<_ACEOF 
    3326 /* confdefs.h.  */ 
    3327 _ACEOF 
    3328 cat confdefs.h >>conftest.$ac_ext 
    3329 cat >>conftest.$ac_ext <<_ACEOF 
     3501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33303502/* end confdefs.h.  */ 
    33313503 
     
    33453517} 
    33463518_ACEOF 
    3347 rm -f conftest.$ac_objext conftest$ac_exeext 
    3348 if { (ac_try="$ac_link" 
    3349 case "(($ac_try" in 
    3350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3351   *) ac_try_echo=$ac_try;; 
    3352 esac 
    3353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3354   (eval "$ac_link") 2>conftest.er1 
    3355   ac_status=$? 
    3356   grep -v '^ *+' conftest.er1 >conftest.err 
    3357   rm -f conftest.er1 
    3358   cat conftest.err >&5 
    3359   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3360   (exit $ac_status); } && { 
    3361          test -z "$ac_c_werror_flag" || 
    3362          test ! -s conftest.err 
    3363        } && test -s conftest$ac_exeext && 
    3364        $as_test_x conftest$ac_exeext; then 
     3519if ac_fn_c_try_link "$LINENO"; then : 
    33653520  ac_cv_lib_pthread_pthread_create=yes 
    33663521else 
    3367   echo "$as_me: failed program was:" >&5 
    3368 sed 's/^/| /' conftest.$ac_ext >&5 
    3369  
    3370         ac_cv_lib_pthread_pthread_create=no 
    3371 fi 
    3372  
    3373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3374       conftest$ac_exeext conftest.$ac_ext 
     3522  ac_cv_lib_pthread_pthread_create=no 
     3523fi 
     3524rm -f core conftest.err conftest.$ac_objext \ 
     3525    conftest$ac_exeext conftest.$ac_ext 
    33753526LIBS=$ac_check_lib_save_LIBS 
    33763527fi 
    3377 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3378 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
    3379 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3529$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
     3530if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    33803531  cat >>confdefs.h <<_ACEOF 
    33813532#define HAVE_LIBPTHREAD 1 
     
    33863537fi 
    33873538 
    3388  
    3389 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    3390 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
    3391 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
    3392   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
     3540$as_echo_n "checking for puts in -lwsock32... " >&6; } 
     3541if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3542  $as_echo_n "(cached) " >&6 
    33933543else 
    33943544  ac_check_lib_save_LIBS=$LIBS 
    33953545LIBS="-lwsock32  $LIBS" 
    3396 cat >conftest.$ac_ext <<_ACEOF 
    3397 /* confdefs.h.  */ 
    3398 _ACEOF 
    3399 cat confdefs.h >>conftest.$ac_ext 
    3400 cat >>conftest.$ac_ext <<_ACEOF 
     3546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34013547/* end confdefs.h.  */ 
    34023548 
     
    34163562} 
    34173563_ACEOF 
    3418 rm -f conftest.$ac_objext conftest$ac_exeext 
    3419 if { (ac_try="$ac_link" 
    3420 case "(($ac_try" in 
    3421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3422   *) ac_try_echo=$ac_try;; 
    3423 esac 
    3424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3425   (eval "$ac_link") 2>conftest.er1 
    3426   ac_status=$? 
    3427   grep -v '^ *+' conftest.er1 >conftest.err 
    3428   rm -f conftest.er1 
    3429   cat conftest.err >&5 
    3430   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3431   (exit $ac_status); } && { 
    3432          test -z "$ac_c_werror_flag" || 
    3433          test ! -s conftest.err 
    3434        } && test -s conftest$ac_exeext && 
    3435        $as_test_x conftest$ac_exeext; then 
     3564if ac_fn_c_try_link "$LINENO"; then : 
    34363565  ac_cv_lib_wsock32_puts=yes 
    34373566else 
    3438   echo "$as_me: failed program was:" >&5 
    3439 sed 's/^/| /' conftest.$ac_ext >&5 
    3440  
    3441         ac_cv_lib_wsock32_puts=no 
    3442 fi 
    3443  
    3444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3445       conftest$ac_exeext conftest.$ac_ext 
     3567  ac_cv_lib_wsock32_puts=no 
     3568fi 
     3569rm -f core conftest.err conftest.$ac_objext \ 
     3570    conftest$ac_exeext conftest.$ac_ext 
    34463571LIBS=$ac_check_lib_save_LIBS 
    34473572fi 
    3448 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    3449 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
    3450 if test $ac_cv_lib_wsock32_puts = yes; then 
     3573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
     3574$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
     3575if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    34513576  cat >>confdefs.h <<_ACEOF 
    34523577#define HAVE_LIBWSOCK32 1 
     
    34573582fi 
    34583583 
    3459  
    3460 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    3461 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
    3462 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
    3463   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
     3585$as_echo_n "checking for puts in -lws2_32... " >&6; } 
     3586if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3587  $as_echo_n "(cached) " >&6 
    34643588else 
    34653589  ac_check_lib_save_LIBS=$LIBS 
    34663590LIBS="-lws2_32  $LIBS" 
    3467 cat >conftest.$ac_ext <<_ACEOF 
    3468 /* confdefs.h.  */ 
    3469 _ACEOF 
    3470 cat confdefs.h >>conftest.$ac_ext 
    3471 cat >>conftest.$ac_ext <<_ACEOF 
     3591cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34723592/* end confdefs.h.  */ 
    34733593 
     
    34873607} 
    34883608_ACEOF 
    3489 rm -f conftest.$ac_objext conftest$ac_exeext 
    3490 if { (ac_try="$ac_link" 
    3491 case "(($ac_try" in 
    3492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3493   *) ac_try_echo=$ac_try;; 
    3494 esac 
    3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3496   (eval "$ac_link") 2>conftest.er1 
    3497   ac_status=$? 
    3498   grep -v '^ *+' conftest.er1 >conftest.err 
    3499   rm -f conftest.er1 
    3500   cat conftest.err >&5 
    3501   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3502   (exit $ac_status); } && { 
    3503          test -z "$ac_c_werror_flag" || 
    3504          test ! -s conftest.err 
    3505        } && test -s conftest$ac_exeext && 
    3506        $as_test_x conftest$ac_exeext; then 
     3609if ac_fn_c_try_link "$LINENO"; then : 
    35073610  ac_cv_lib_ws2_32_puts=yes 
    35083611else 
    3509   echo "$as_me: failed program was:" >&5 
    3510 sed 's/^/| /' conftest.$ac_ext >&5 
    3511  
    3512         ac_cv_lib_ws2_32_puts=no 
    3513 fi 
    3514  
    3515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3516       conftest$ac_exeext conftest.$ac_ext 
     3612  ac_cv_lib_ws2_32_puts=no 
     3613fi 
     3614rm -f core conftest.err conftest.$ac_objext \ 
     3615    conftest$ac_exeext conftest.$ac_ext 
    35173616LIBS=$ac_check_lib_save_LIBS 
    35183617fi 
    3519 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    3520 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
    3521 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
     3619$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
     3620if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35223621  cat >>confdefs.h <<_ACEOF 
    35233622#define HAVE_LIBWS2_32 1 
     
    35283627fi 
    35293628 
    3530  
    3531 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    3532 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
    3533 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
    3534   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
     3630$as_echo_n "checking for puts in -lole32... " >&6; } 
     3631if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3632  $as_echo_n "(cached) " >&6 
    35353633else 
    35363634  ac_check_lib_save_LIBS=$LIBS 
    35373635LIBS="-lole32  $LIBS" 
    3538 cat >conftest.$ac_ext <<_ACEOF 
    3539 /* confdefs.h.  */ 
    3540 _ACEOF 
    3541 cat confdefs.h >>conftest.$ac_ext 
    3542 cat >>conftest.$ac_ext <<_ACEOF 
     3636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35433637/* end confdefs.h.  */ 
    35443638 
     
    35583652} 
    35593653_ACEOF 
    3560 rm -f conftest.$ac_objext conftest$ac_exeext 
    3561 if { (ac_try="$ac_link" 
    3562 case "(($ac_try" in 
    3563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3564   *) ac_try_echo=$ac_try;; 
    3565 esac 
    3566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3567   (eval "$ac_link") 2>conftest.er1 
    3568   ac_status=$? 
    3569   grep -v '^ *+' conftest.er1 >conftest.err 
    3570   rm -f conftest.er1 
    3571   cat conftest.err >&5 
    3572   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3573   (exit $ac_status); } && { 
    3574          test -z "$ac_c_werror_flag" || 
    3575          test ! -s conftest.err 
    3576        } && test -s conftest$ac_exeext && 
    3577        $as_test_x conftest$ac_exeext; then 
     3654if ac_fn_c_try_link "$LINENO"; then : 
    35783655  ac_cv_lib_ole32_puts=yes 
    35793656else 
    3580   echo "$as_me: failed program was:" >&5 
    3581 sed 's/^/| /' conftest.$ac_ext >&5 
    3582  
    3583         ac_cv_lib_ole32_puts=no 
    3584 fi 
    3585  
    3586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3587       conftest$ac_exeext conftest.$ac_ext 
     3657  ac_cv_lib_ole32_puts=no 
     3658fi 
     3659rm -f core conftest.err conftest.$ac_objext \ 
     3660    conftest$ac_exeext conftest.$ac_ext 
    35883661LIBS=$ac_check_lib_save_LIBS 
    35893662fi 
    3590 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    3591 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
    3592 if test $ac_cv_lib_ole32_puts = yes; then 
     3663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
     3664$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
     3665if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    35933666  cat >>confdefs.h <<_ACEOF 
    35943667#define HAVE_LIBOLE32 1 
     
    35993672fi 
    36003673 
    3601  
    3602 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    3603 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
    3604 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
    3605   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
     3675$as_echo_n "checking for puts in -lwinmm... " >&6; } 
     3676if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3677  $as_echo_n "(cached) " >&6 
    36063678else 
    36073679  ac_check_lib_save_LIBS=$LIBS 
    36083680LIBS="-lwinmm  $LIBS" 
    3609 cat >conftest.$ac_ext <<_ACEOF 
    3610 /* confdefs.h.  */ 
    3611 _ACEOF 
    3612 cat confdefs.h >>conftest.$ac_ext 
    3613 cat >>conftest.$ac_ext <<_ACEOF 
     3681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36143682/* end confdefs.h.  */ 
    36153683 
     
    36293697} 
    36303698_ACEOF 
    3631 rm -f conftest.$ac_objext conftest$ac_exeext 
    3632 if { (ac_try="$ac_link" 
    3633 case "(($ac_try" in 
    3634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3635   *) ac_try_echo=$ac_try;; 
    3636 esac 
    3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3638   (eval "$ac_link") 2>conftest.er1 
    3639   ac_status=$? 
    3640   grep -v '^ *+' conftest.er1 >conftest.err 
    3641   rm -f conftest.er1 
    3642   cat conftest.err >&5 
    3643   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3644   (exit $ac_status); } && { 
    3645          test -z "$ac_c_werror_flag" || 
    3646          test ! -s conftest.err 
    3647        } && test -s conftest$ac_exeext && 
    3648        $as_test_x conftest$ac_exeext; then 
     3699if ac_fn_c_try_link "$LINENO"; then : 
    36493700  ac_cv_lib_winmm_puts=yes 
    36503701else 
    3651   echo "$as_me: failed program was:" >&5 
    3652 sed 's/^/| /' conftest.$ac_ext >&5 
    3653  
    3654         ac_cv_lib_winmm_puts=no 
    3655 fi 
    3656  
    3657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3658       conftest$ac_exeext conftest.$ac_ext 
     3702  ac_cv_lib_winmm_puts=no 
     3703fi 
     3704rm -f core conftest.err conftest.$ac_objext \ 
     3705    conftest$ac_exeext conftest.$ac_ext 
    36593706LIBS=$ac_check_lib_save_LIBS 
    36603707fi 
    3661 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    3662 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
    3663 if test $ac_cv_lib_winmm_puts = yes; then 
     3708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
     3709$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
     3710if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    36643711  cat >>confdefs.h <<_ACEOF 
    36653712#define HAVE_LIBWINMM 1 
     
    36703717fi 
    36713718 
    3672  
    3673 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    3674 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
    3675 if test "${ac_cv_lib_socket_puts+set}" = set; then 
    3676   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
     3720$as_echo_n "checking for puts in -lsocket... " >&6; } 
     3721if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3722  $as_echo_n "(cached) " >&6 
    36773723else 
    36783724  ac_check_lib_save_LIBS=$LIBS 
    36793725LIBS="-lsocket  $LIBS" 
    3680 cat >conftest.$ac_ext <<_ACEOF 
    3681 /* confdefs.h.  */ 
    3682 _ACEOF 
    3683 cat confdefs.h >>conftest.$ac_ext 
    3684 cat >>conftest.$ac_ext <<_ACEOF 
     3726cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36853727/* end confdefs.h.  */ 
    36863728 
     
    37003742} 
    37013743_ACEOF 
    3702 rm -f conftest.$ac_objext conftest$ac_exeext 
    3703 if { (ac_try="$ac_link" 
    3704 case "(($ac_try" in 
    3705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3706   *) ac_try_echo=$ac_try;; 
    3707 esac 
    3708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3709   (eval "$ac_link") 2>conftest.er1 
    3710   ac_status=$? 
    3711   grep -v '^ *+' conftest.er1 >conftest.err 
    3712   rm -f conftest.er1 
    3713   cat conftest.err >&5 
    3714   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3715   (exit $ac_status); } && { 
    3716          test -z "$ac_c_werror_flag" || 
    3717          test ! -s conftest.err 
    3718        } && test -s conftest$ac_exeext && 
    3719        $as_test_x conftest$ac_exeext; then 
     3744if ac_fn_c_try_link "$LINENO"; then : 
    37203745  ac_cv_lib_socket_puts=yes 
    37213746else 
    3722   echo "$as_me: failed program was:" >&5 
    3723 sed 's/^/| /' conftest.$ac_ext >&5 
    3724  
    3725         ac_cv_lib_socket_puts=no 
    3726 fi 
    3727  
    3728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3729       conftest$ac_exeext conftest.$ac_ext 
     3747  ac_cv_lib_socket_puts=no 
     3748fi 
     3749rm -f core conftest.err conftest.$ac_objext \ 
     3750    conftest$ac_exeext conftest.$ac_ext 
    37303751LIBS=$ac_check_lib_save_LIBS 
    37313752fi 
    3732 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    3733 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
    3734 if test $ac_cv_lib_socket_puts = yes; then 
     3753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
     3754$as_echo "$ac_cv_lib_socket_puts" >&6; } 
     3755if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    37353756  cat >>confdefs.h <<_ACEOF 
    37363757#define HAVE_LIBSOCKET 1 
     
    37413762fi 
    37423763 
    3743  
    3744 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    3745 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
    3746 if test "${ac_cv_lib_rt_puts+set}" = set; then 
    3747   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
     3765$as_echo_n "checking for puts in -lrt... " >&6; } 
     3766if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3767  $as_echo_n "(cached) " >&6 
    37483768else 
    37493769  ac_check_lib_save_LIBS=$LIBS 
    37503770LIBS="-lrt  $LIBS" 
    3751 cat >conftest.$ac_ext <<_ACEOF 
    3752 /* confdefs.h.  */ 
    3753 _ACEOF 
    3754 cat confdefs.h >>conftest.$ac_ext 
    3755 cat >>conftest.$ac_ext <<_ACEOF 
     3771cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37563772/* end confdefs.h.  */ 
    37573773 
     
    37713787} 
    37723788_ACEOF 
    3773 rm -f conftest.$ac_objext conftest$ac_exeext 
    3774 if { (ac_try="$ac_link" 
    3775 case "(($ac_try" in 
    3776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3777   *) ac_try_echo=$ac_try;; 
    3778 esac 
    3779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3780   (eval "$ac_link") 2>conftest.er1 
    3781   ac_status=$? 
    3782   grep -v '^ *+' conftest.er1 >conftest.err 
    3783   rm -f conftest.er1 
    3784   cat conftest.err >&5 
    3785   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3786   (exit $ac_status); } && { 
    3787          test -z "$ac_c_werror_flag" || 
    3788          test ! -s conftest.err 
    3789        } && test -s conftest$ac_exeext && 
    3790        $as_test_x conftest$ac_exeext; then 
     3789if ac_fn_c_try_link "$LINENO"; then : 
    37913790  ac_cv_lib_rt_puts=yes 
    37923791else 
    3793   echo "$as_me: failed program was:" >&5 
    3794 sed 's/^/| /' conftest.$ac_ext >&5 
    3795  
    3796         ac_cv_lib_rt_puts=no 
    3797 fi 
    3798  
    3799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3800       conftest$ac_exeext conftest.$ac_ext 
     3792  ac_cv_lib_rt_puts=no 
     3793fi 
     3794rm -f core conftest.err conftest.$ac_objext \ 
     3795    conftest$ac_exeext conftest.$ac_ext 
    38013796LIBS=$ac_check_lib_save_LIBS 
    38023797fi 
    3803 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    3804 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
    3805 if test $ac_cv_lib_rt_puts = yes; then 
     3798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
     3799$as_echo "$ac_cv_lib_rt_puts" >&6; } 
     3800if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38063801  cat >>confdefs.h <<_ACEOF 
    38073802#define HAVE_LIBRT 1 
     
    38123807fi 
    38133808 
    3814  
    3815 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    3816 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
    3817 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
    3818   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
     3810$as_echo_n "checking for puts in -lnsl... " >&6; } 
     3811if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3812  $as_echo_n "(cached) " >&6 
    38193813else 
    38203814  ac_check_lib_save_LIBS=$LIBS 
    38213815LIBS="-lnsl  $LIBS" 
    3822 cat >conftest.$ac_ext <<_ACEOF 
    3823 /* confdefs.h.  */ 
    3824 _ACEOF 
    3825 cat confdefs.h >>conftest.$ac_ext 
    3826 cat >>conftest.$ac_ext <<_ACEOF 
     3816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38273817/* end confdefs.h.  */ 
    38283818 
     
    38423832} 
    38433833_ACEOF 
    3844 rm -f conftest.$ac_objext conftest$ac_exeext 
    3845 if { (ac_try="$ac_link" 
    3846 case "(($ac_try" in 
    3847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3848   *) ac_try_echo=$ac_try;; 
    3849 esac 
    3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3851   (eval "$ac_link") 2>conftest.er1 
    3852   ac_status=$? 
    3853   grep -v '^ *+' conftest.er1 >conftest.err 
    3854   rm -f conftest.er1 
    3855   cat conftest.err >&5 
    3856   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3857   (exit $ac_status); } && { 
    3858          test -z "$ac_c_werror_flag" || 
    3859          test ! -s conftest.err 
    3860        } && test -s conftest$ac_exeext && 
    3861        $as_test_x conftest$ac_exeext; then 
     3834if ac_fn_c_try_link "$LINENO"; then : 
    38623835  ac_cv_lib_nsl_puts=yes 
    38633836else 
    3864   echo "$as_me: failed program was:" >&5 
    3865 sed 's/^/| /' conftest.$ac_ext >&5 
    3866  
    3867         ac_cv_lib_nsl_puts=no 
    3868 fi 
    3869  
    3870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3871       conftest$ac_exeext conftest.$ac_ext 
     3837  ac_cv_lib_nsl_puts=no 
     3838fi 
     3839rm -f core conftest.err conftest.$ac_objext \ 
     3840    conftest$ac_exeext conftest.$ac_ext 
    38723841LIBS=$ac_check_lib_save_LIBS 
    38733842fi 
    3874 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    3875 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
    3876 if test $ac_cv_lib_nsl_puts = yes; then 
     3843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
     3844$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
     3845if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    38773846  cat >>confdefs.h <<_ACEOF 
    38783847#define HAVE_LIBNSL 1 
     
    38833852fi 
    38843853 
    3885  
    3886 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3887 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3888 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3889   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3855$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3856if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3857  $as_echo_n "(cached) " >&6 
    38903858else 
    38913859  ac_check_lib_save_LIBS=$LIBS 
    38923860LIBS="-luuid  $LIBS" 
    3893 cat >conftest.$ac_ext <<_ACEOF 
    3894 /* confdefs.h.  */ 
    3895 _ACEOF 
    3896 cat confdefs.h >>conftest.$ac_ext 
    3897 cat >>conftest.$ac_ext <<_ACEOF 
     3861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38983862/* end confdefs.h.  */ 
    38993863 
     
    39133877} 
    39143878_ACEOF 
    3915 rm -f conftest.$ac_objext conftest$ac_exeext 
    3916 if { (ac_try="$ac_link" 
    3917 case "(($ac_try" in 
    3918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3919   *) ac_try_echo=$ac_try;; 
    3920 esac 
    3921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3922   (eval "$ac_link") 2>conftest.er1 
    3923   ac_status=$? 
    3924   grep -v '^ *+' conftest.er1 >conftest.err 
    3925   rm -f conftest.er1 
    3926   cat conftest.err >&5 
    3927   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3928   (exit $ac_status); } && { 
    3929          test -z "$ac_c_werror_flag" || 
    3930          test ! -s conftest.err 
    3931        } && test -s conftest$ac_exeext && 
    3932        $as_test_x conftest$ac_exeext; then 
     3879if ac_fn_c_try_link "$LINENO"; then : 
    39333880  ac_cv_lib_uuid_uuid_generate=yes 
    39343881else 
    3935   echo "$as_me: failed program was:" >&5 
    3936 sed 's/^/| /' conftest.$ac_ext >&5 
    3937  
    3938         ac_cv_lib_uuid_uuid_generate=no 
    3939 fi 
    3940  
    3941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3942       conftest$ac_exeext conftest.$ac_ext 
     3882  ac_cv_lib_uuid_uuid_generate=no 
     3883fi 
     3884rm -f core conftest.err conftest.$ac_objext \ 
     3885    conftest$ac_exeext conftest.$ac_ext 
    39433886LIBS=$ac_check_lib_save_LIBS 
    39443887fi 
    3945 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3946 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3947 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3889$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3890if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    39483891  cat >>confdefs.h <<_ACEOF 
    39493892#define HAVE_LIBUUID 1 
     
    39543897fi 
    39553898 
    3956 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3957 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3958 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3959   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3900$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3901if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3902  $as_echo_n "(cached) " >&6 
    39603903else 
    39613904  ac_check_lib_save_LIBS=$LIBS 
    39623905LIBS="-luuid  $LIBS" 
    3963 cat >conftest.$ac_ext <<_ACEOF 
    3964 /* confdefs.h.  */ 
    3965 _ACEOF 
    3966 cat confdefs.h >>conftest.$ac_ext 
    3967 cat >>conftest.$ac_ext <<_ACEOF 
     3906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39683907/* end confdefs.h.  */ 
    39693908 
     
    39833922} 
    39843923_ACEOF 
    3985 rm -f conftest.$ac_objext conftest$ac_exeext 
    3986 if { (ac_try="$ac_link" 
    3987 case "(($ac_try" in 
    3988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3989   *) ac_try_echo=$ac_try;; 
    3990 esac 
    3991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3992   (eval "$ac_link") 2>conftest.er1 
    3993   ac_status=$? 
    3994   grep -v '^ *+' conftest.er1 >conftest.err 
    3995   rm -f conftest.er1 
    3996   cat conftest.err >&5 
    3997   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3998   (exit $ac_status); } && { 
    3999          test -z "$ac_c_werror_flag" || 
    4000          test ! -s conftest.err 
    4001        } && test -s conftest$ac_exeext && 
    4002        $as_test_x conftest$ac_exeext; then 
     3924if ac_fn_c_try_link "$LINENO"; then : 
    40033925  ac_cv_lib_uuid_uuid_generate=yes 
    40043926else 
    4005   echo "$as_me: failed program was:" >&5 
    4006 sed 's/^/| /' conftest.$ac_ext >&5 
    4007  
    4008         ac_cv_lib_uuid_uuid_generate=no 
    4009 fi 
    4010  
    4011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4012       conftest$ac_exeext conftest.$ac_ext 
     3927  ac_cv_lib_uuid_uuid_generate=no 
     3928fi 
     3929rm -f core conftest.err conftest.$ac_objext \ 
     3930    conftest$ac_exeext conftest.$ac_ext 
    40133931LIBS=$ac_check_lib_save_LIBS 
    40143932fi 
    4015 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    4016 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4017 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3934$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3935if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40183936  ac_has_uuid_lib=1 
    40193937fi 
    40203938 
    40213939 
    4022 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    4023 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
     3940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3941$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    40243942cat >>confdefs.h <<_ACEOF 
    40253943#define PJ_M_NAME "$target_cpu" 
     
    40273945 
    40283946 
    4029 { echo "$as_me:$LINENO: checking memory alignment" >&5 
    4030 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
     3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
     3948$as_echo_n "checking memory alignment... " >&6; } 
    40313949case $target in 
    40323950    sparc64-* | ia64-* | x86_64-* ) 
    4033         cat >>confdefs.h <<\_ACEOF 
    4034 #define PJ_POOL_ALIGNMENT 8 
    4035 _ACEOF 
    4036  
    4037         { echo "$as_me:$LINENO: result: 8 bytes" >&5 
    4038 echo "${ECHO_T}8 bytes" >&6; } 
     3951        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3952 
     3953        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
     3954$as_echo "8 bytes" >&6; } 
    40393955        ;; 
    40403956    * ) 
    4041         cat >>confdefs.h <<\_ACEOF 
    4042 #define PJ_POOL_ALIGNMENT 4 
    4043 _ACEOF 
    4044  
    4045         { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    4046 echo "${ECHO_T}4 bytes (default)" >&6; } 
     3957        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3958 
     3959        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
     3960$as_echo "4 bytes (default)" >&6; } 
    40473961        ;; 
    40483962esac 
     
    40543968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    40553969ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4056 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    4057 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
     3970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
     3971$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    40583972# On Suns, sometimes $CPP names a directory. 
    40593973if test -n "$CPP" && test -d "$CPP"; then 
     
    40613975fi 
    40623976if test -z "$CPP"; then 
    4063   if test "${ac_cv_prog_CPP+set}" = set; then 
    4064   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3977  if test "${ac_cv_prog_CPP+set}" = set; then : 
     3978  $as_echo_n "(cached) " >&6 
    40653979else 
    40663980      # Double quotes because CPP needs to be expanded 
     
    40763990  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40773991  # not just through cpp. "Syntax error" is here to catch this case. 
    4078   cat >conftest.$ac_ext <<_ACEOF 
    4079 /* confdefs.h.  */ 
    4080 _ACEOF 
    4081 cat confdefs.h >>conftest.$ac_ext 
    4082 cat >>conftest.$ac_ext <<_ACEOF 
     3992  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40833993/* end confdefs.h.  */ 
    40843994#ifdef __STDC__ 
     
    40893999                     Syntax error 
    40904000_ACEOF 
    4091 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4092 case "(($ac_try" in 
    4093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4094   *) ac_try_echo=$ac_try;; 
    4095 esac 
    4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4097   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4098   ac_status=$? 
    4099   grep -v '^ *+' conftest.er1 >conftest.err 
    4100   rm -f conftest.er1 
    4101   cat conftest.err >&5 
    4102   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4103   (exit $ac_status); } >/dev/null && { 
    4104          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4105          test ! -s conftest.err 
    4106        }; then 
    4107   : 
    4108 else 
    4109   echo "$as_me: failed program was:" >&5 
    4110 sed 's/^/| /' conftest.$ac_ext >&5 
    4111  
     4001if ac_fn_c_try_cpp "$LINENO"; then : 
     4002 
     4003else 
    41124004  # Broken: fails on valid input. 
    41134005continue 
    41144006fi 
    4115  
    41164007rm -f conftest.err conftest.$ac_ext 
    41174008 
    41184009  # OK, works on sane cases.  Now check whether nonexistent headers 
    41194010  # can be detected and how. 
    4120   cat >conftest.$ac_ext <<_ACEOF 
    4121 /* confdefs.h.  */ 
    4122 _ACEOF 
    4123 cat confdefs.h >>conftest.$ac_ext 
    4124 cat >>conftest.$ac_ext <<_ACEOF 
     4011  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41254012/* end confdefs.h.  */ 
    41264013#include <ac_nonexistent.h> 
    41274014_ACEOF 
    4128 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4129 case "(($ac_try" in 
    4130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4131   *) ac_try_echo=$ac_try;; 
    4132 esac 
    4133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4134   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4135   ac_status=$? 
    4136   grep -v '^ *+' conftest.er1 >conftest.err 
    4137   rm -f conftest.er1 
    4138   cat conftest.err >&5 
    4139   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4140   (exit $ac_status); } >/dev/null && { 
    4141          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4142          test ! -s conftest.err 
    4143        }; then 
     4015if ac_fn_c_try_cpp "$LINENO"; then : 
    41444016  # Broken: success on invalid input. 
    41454017continue 
    41464018else 
    4147   echo "$as_me: failed program was:" >&5 
    4148 sed 's/^/| /' conftest.$ac_ext >&5 
    4149  
    41504019  # Passes both tests. 
    41514020ac_preproc_ok=: 
    41524021break 
    41534022fi 
    4154  
    41554023rm -f conftest.err conftest.$ac_ext 
    41564024 
     
    41584026# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    41594027rm -f conftest.err conftest.$ac_ext 
    4160 if $ac_preproc_ok; then 
     4028if $ac_preproc_ok; then : 
    41614029  break 
    41624030fi 
     
    41704038  ac_cv_prog_CPP=$CPP 
    41714039fi 
    4172 { echo "$as_me:$LINENO: result: $CPP" >&5 
    4173 echo "${ECHO_T}$CPP" >&6; } 
     4040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
     4041$as_echo "$CPP" >&6; } 
    41744042ac_preproc_ok=false 
    41754043for ac_c_preproc_warn_flag in '' yes 
     
    41814049  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41824050  # not just through cpp. "Syntax error" is here to catch this case. 
    4183   cat >conftest.$ac_ext <<_ACEOF 
    4184 /* confdefs.h.  */ 
    4185 _ACEOF 
    4186 cat confdefs.h >>conftest.$ac_ext 
    4187 cat >>conftest.$ac_ext <<_ACEOF 
     4051  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41884052/* end confdefs.h.  */ 
    41894053#ifdef __STDC__ 
     
    41944058                     Syntax error 
    41954059_ACEOF 
    4196 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4197 case "(($ac_try" in 
    4198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4199   *) ac_try_echo=$ac_try;; 
    4200 esac 
    4201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4202   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4203   ac_status=$? 
    4204   grep -v '^ *+' conftest.er1 >conftest.err 
    4205   rm -f conftest.er1 
    4206   cat conftest.err >&5 
    4207   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4208   (exit $ac_status); } >/dev/null && { 
    4209          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4210          test ! -s conftest.err 
    4211        }; then 
    4212   : 
    4213 else 
    4214   echo "$as_me: failed program was:" >&5 
    4215 sed 's/^/| /' conftest.$ac_ext >&5 
    4216  
     4060if ac_fn_c_try_cpp "$LINENO"; then : 
     4061 
     4062else 
    42174063  # Broken: fails on valid input. 
    42184064continue 
    42194065fi 
    4220  
    42214066rm -f conftest.err conftest.$ac_ext 
    42224067 
    42234068  # OK, works on sane cases.  Now check whether nonexistent headers 
    42244069  # can be detected and how. 
    4225   cat >conftest.$ac_ext <<_ACEOF 
    4226 /* confdefs.h.  */ 
    4227 _ACEOF 
    4228 cat confdefs.h >>conftest.$ac_ext 
    4229 cat >>conftest.$ac_ext <<_ACEOF 
     4070  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42304071/* end confdefs.h.  */ 
    42314072#include <ac_nonexistent.h> 
    42324073_ACEOF 
    4233 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4234 case "(($ac_try" in 
    4235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4236   *) ac_try_echo=$ac_try;; 
    4237 esac 
    4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4239   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4240   ac_status=$? 
    4241   grep -v '^ *+' conftest.er1 >conftest.err 
    4242   rm -f conftest.er1 
    4243   cat conftest.err >&5 
    4244   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4245   (exit $ac_status); } >/dev/null && { 
    4246          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4247          test ! -s conftest.err 
    4248        }; then 
     4074if ac_fn_c_try_cpp "$LINENO"; then : 
    42494075  # Broken: success on invalid input. 
    42504076continue 
    42514077else 
    4252   echo "$as_me: failed program was:" >&5 
    4253 sed 's/^/| /' conftest.$ac_ext >&5 
    4254  
    42554078  # Passes both tests. 
    42564079ac_preproc_ok=: 
    42574080break 
    42584081fi 
    4259  
    42604082rm -f conftest.err conftest.$ac_ext 
    42614083 
     
    42634085# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42644086rm -f conftest.err conftest.$ac_ext 
    4265 if $ac_preproc_ok; then 
    4266   : 
    4267 else 
    4268   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4269 See \`config.log' for more details." >&5 
    4270 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4271 See \`config.log' for more details." >&2;} 
    4272    { (exit 1); exit 1; }; } 
     4087if $ac_preproc_ok; then : 
     4088 
     4089else 
     4090  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     4091$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     4092as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     4093See \`config.log' for more details." "$LINENO" 5; } 
    42734094fi 
    42744095 
     
    42804101 
    42814102 
    4282 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
    4283 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
    4284 if test "${ac_cv_path_GREP+set}" = set; then 
    4285   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4286 else 
    4287   # Extract the first word of "grep ggrep" to use in msg output 
    4288 if test -z "$GREP"; then 
    4289 set dummy grep ggrep; ac_prog_name=$2 
    4290 if test "${ac_cv_path_GREP+set}" = set; then 
    4291   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4292 else 
     4103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
     4104$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
     4105if test "${ac_cv_path_GREP+set}" = set; then : 
     4106  $as_echo_n "(cached) " >&6 
     4107else 
     4108  if test -z "$GREP"; then 
    42934109  ac_path_GREP_found=false 
    4294 # Loop through the user's path and test for each of PROGNAME-LIST 
    4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4110  # Loop through the user's path and test for each of PROGNAME-LIST 
     4111  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    42964112for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    42974113do 
    42984114  IFS=$as_save_IFS 
    42994115  test -z "$as_dir" && as_dir=. 
    4300   for ac_prog in grep ggrep; do 
    4301   for ac_exec_ext in '' $ac_executable_extensions; do 
    4302     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4303     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4304     # Check for GNU ac_path_GREP and select it if it is found. 
     4116    for ac_prog in grep ggrep; do 
     4117    for ac_exec_ext in '' $ac_executable_extensions; do 
     4118      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4119      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4120# Check for GNU ac_path_GREP and select it if it is found. 
    43054121  # Check for GNU $ac_path_GREP 
    43064122case `"$ac_path_GREP" --version 2>&1` in 
     
    43094125*) 
    43104126  ac_count=0 
    4311   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4127  $as_echo_n 0123456789 >"conftest.in" 
    43124128  while : 
    43134129  do 
     
    43154131    mv "conftest.tmp" "conftest.in" 
    43164132    cp "conftest.in" "conftest.nl" 
    4317     echo 'GREP' >> "conftest.nl" 
     4133    $as_echo 'GREP' >> "conftest.nl" 
    43184134    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43194135    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4320     ac_count=`expr $ac_count + 1` 
     4136    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43214137    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    43224138      # Best one so far, save it but keep looking for a better one 
     
    43304146esac 
    43314147 
    4332  
    4333     $ac_path_GREP_found && break 3 
     4148      $ac_path_GREP_found && break 3 
     4149    done 
    43344150  done 
    4335 done 
    4336  
    4337 done 
     4151  done 
    43384152IFS=$as_save_IFS 
    4339  
    4340  
    4341 fi 
    4342  
    4343 GREP="$ac_cv_path_GREP" 
    4344 if test -z "$GREP"; then 
    4345   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4347    { (exit 1); exit 1; }; } 
    4348 fi 
    4349  
     4153  if test -z "$ac_cv_path_GREP"; then 
     4154    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4155  fi 
    43504156else 
    43514157  ac_cv_path_GREP=$GREP 
    43524158fi 
    43534159 
    4354  
    4355 fi 
    4356 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
    4357 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
     4160fi 
     4161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
     4162$as_echo "$ac_cv_path_GREP" >&6; } 
    43584163 GREP="$ac_cv_path_GREP" 
    43594164 
    43604165 
    4361 { echo "$as_me:$LINENO: checking for egrep" >&5 
    4362 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
    4363 if test "${ac_cv_path_EGREP+set}" = set; then 
    4364   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
     4167$as_echo_n "checking for egrep... " >&6; } 
     4168if test "${ac_cv_path_EGREP+set}" = set; then : 
     4169  $as_echo_n "(cached) " >&6 
    43654170else 
    43664171  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    43674172   then ac_cv_path_EGREP="$GREP -E" 
    43684173   else 
    4369      # Extract the first word of "egrep" to use in msg output 
    4370 if test -z "$EGREP"; then 
    4371 set dummy egrep; ac_prog_name=$2 
    4372 if test "${ac_cv_path_EGREP+set}" = set; then 
    4373   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4374 else 
     4174     if test -z "$EGREP"; then 
    43754175  ac_path_EGREP_found=false 
    4376 # Loop through the user's path and test for each of PROGNAME-LIST 
    4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4176  # Loop through the user's path and test for each of PROGNAME-LIST 
     4177  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43784178for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43794179do 
    43804180  IFS=$as_save_IFS 
    43814181  test -z "$as_dir" && as_dir=. 
    4382   for ac_prog in egrep; do 
    4383   for ac_exec_ext in '' $ac_executable_extensions; do 
    4384     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4385     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4386     # Check for GNU ac_path_EGREP and select it if it is found. 
     4182    for ac_prog in egrep; do 
     4183    for ac_exec_ext in '' $ac_executable_extensions; do 
     4184      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4185      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4186# Check for GNU ac_path_EGREP and select it if it is found. 
    43874187  # Check for GNU $ac_path_EGREP 
    43884188case `"$ac_path_EGREP" --version 2>&1` in 
     
    43914191*) 
    43924192  ac_count=0 
    4393   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4193  $as_echo_n 0123456789 >"conftest.in" 
    43944194  while : 
    43954195  do 
     
    43974197    mv "conftest.tmp" "conftest.in" 
    43984198    cp "conftest.in" "conftest.nl" 
    4399     echo 'EGREP' >> "conftest.nl" 
     4199    $as_echo 'EGREP' >> "conftest.nl" 
    44004200    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44014201    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4402     ac_count=`expr $ac_count + 1` 
     4202    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44034203    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44044204      # Best one so far, save it but keep looking for a better one 
     
    44124212esac 
    44134213 
    4414  
    4415     $ac_path_EGREP_found && break 3 
     4214      $ac_path_EGREP_found && break 3 
     4215    done 
    44164216  done 
    4417 done 
    4418  
    4419 done 
     4217  done 
    44204218IFS=$as_save_IFS 
    4421  
    4422  
    4423 fi 
    4424  
    4425 EGREP="$ac_cv_path_EGREP" 
    4426 if test -z "$EGREP"; then 
    4427   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4428 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4429    { (exit 1); exit 1; }; } 
    4430 fi 
    4431  
     4219  if test -z "$ac_cv_path_EGREP"; then 
     4220    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4221  fi 
    44324222else 
    44334223  ac_cv_path_EGREP=$EGREP 
    44344224fi 
    44354225 
    4436  
    44374226   fi 
    44384227fi 
    4439 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
    4440 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
     4228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
     4229$as_echo "$ac_cv_path_EGREP" >&6; } 
    44414230 EGREP="$ac_cv_path_EGREP" 
    44424231 
    44434232 
    4444 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    4445 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
    4446 if test "${ac_cv_header_stdc+set}" = set; then 
    4447   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4448 else 
    4449   cat >conftest.$ac_ext <<_ACEOF 
    4450 /* confdefs.h.  */ 
    4451 _ACEOF 
    4452 cat confdefs.h >>conftest.$ac_ext 
    4453 cat >>conftest.$ac_ext <<_ACEOF 
     4233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
     4234$as_echo_n "checking for ANSI C header files... " >&6; } 
     4235if test "${ac_cv_header_stdc+set}" = set; then : 
     4236  $as_echo_n "(cached) " >&6 
     4237else 
     4238  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44544239/* end confdefs.h.  */ 
    44554240#include <stdlib.h> 
     
    44664251} 
    44674252_ACEOF 
    4468 rm -f conftest.$ac_objext 
    4469 if { (ac_try="$ac_compile" 
    4470 case "(($ac_try" in 
    4471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4472   *) ac_try_echo=$ac_try;; 
    4473 esac 
    4474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4475   (eval "$ac_compile") 2>conftest.er1 
    4476   ac_status=$? 
    4477   grep -v '^ *+' conftest.er1 >conftest.err 
    4478   rm -f conftest.er1 
    4479   cat conftest.err >&5 
    4480   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4481   (exit $ac_status); } && { 
    4482          test -z "$ac_c_werror_flag" || 
    4483          test ! -s conftest.err 
    4484        } && test -s conftest.$ac_objext; then 
     4253if ac_fn_c_try_compile "$LINENO"; then : 
    44854254  ac_cv_header_stdc=yes 
    44864255else 
    4487   echo "$as_me: failed program was:" >&5 
    4488 sed 's/^/| /' conftest.$ac_ext >&5 
    4489  
    4490         ac_cv_header_stdc=no 
    4491 fi 
    4492  
     4256  ac_cv_header_stdc=no 
     4257fi 
    44934258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    44944259 
    44954260if test $ac_cv_header_stdc = yes; then 
    44964261  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4497   cat >conftest.$ac_ext <<_ACEOF 
    4498 /* confdefs.h.  */ 
    4499 _ACEOF 
    4500 cat confdefs.h >>conftest.$ac_ext 
    4501 cat >>conftest.$ac_ext <<_ACEOF 
     4262  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45024263/* end confdefs.h.  */ 
    45034264#include <string.h> 
     
    45054266_ACEOF 
    45064267if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4507   $EGREP "memchr" >/dev/null 2>&1; then 
    4508   : 
     4268  $EGREP "memchr" >/dev/null 2>&1; then : 
     4269 
    45094270else 
    45104271  ac_cv_header_stdc=no 
    45114272fi 
    4512 rm -f -r conftest* 
     4273rm -f conftest* 
    45134274 
    45144275fi 
     
    45164277if test $ac_cv_header_stdc = yes; then 
    45174278  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4518   cat >conftest.$ac_ext <<_ACEOF 
    4519 /* confdefs.h.  */ 
    4520 _ACEOF 
    4521 cat confdefs.h >>conftest.$ac_ext 
    4522 cat >>conftest.$ac_ext <<_ACEOF 
     4279  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45234280/* end confdefs.h.  */ 
    45244281#include <stdlib.h> 
     
    45264283_ACEOF 
    45274284if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4528   $EGREP "free" >/dev/null 2>&1; then 
    4529   : 
     4285  $EGREP "free" >/dev/null 2>&1; then : 
     4286 
    45304287else 
    45314288  ac_cv_header_stdc=no 
    45324289fi 
    4533 rm -f -r conftest* 
     4290rm -f conftest* 
    45344291 
    45354292fi 
     
    45374294if test $ac_cv_header_stdc = yes; then 
    45384295  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4539   if test "$cross_compiling" = yes; then 
     4296  if test "$cross_compiling" = yes; then : 
    45404297  : 
    45414298else 
    4542   cat >conftest.$ac_ext <<_ACEOF 
    4543 /* confdefs.h.  */ 
    4544 _ACEOF 
    4545 cat confdefs.h >>conftest.$ac_ext 
    4546 cat >>conftest.$ac_ext <<_ACEOF 
     4299  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45474300/* end confdefs.h.  */ 
    45484301#include <ctype.h> 
     
    45714324} 
    45724325_ACEOF 
    4573 rm -f conftest$ac_exeext 
    4574 if { (ac_try="$ac_link" 
    4575 case "(($ac_try" in 
    4576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4577   *) ac_try_echo=$ac_try;; 
    4578 esac 
    4579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4580   (eval "$ac_link") 2>&5 
    4581   ac_status=$? 
    4582   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4583   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4584   { (case "(($ac_try" in 
    4585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4586   *) ac_try_echo=$ac_try;; 
    4587 esac 
    4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4589   (eval "$ac_try") 2>&5 
    4590   ac_status=$? 
    4591   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4592   (exit $ac_status); }; }; then 
    4593   : 
    4594 else 
    4595   echo "$as_me: program exited with status $ac_status" >&5 
    4596 echo "$as_me: failed program was:" >&5 
    4597 sed 's/^/| /' conftest.$ac_ext >&5 
    4598  
    4599 ( exit $ac_status ) 
    4600 ac_cv_header_stdc=no 
    4601 fi 
    4602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4603 fi 
    4604  
    4605  
    4606 fi 
    4607 fi 
    4608 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    4609 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
     4326if ac_fn_c_try_run "$LINENO"; then : 
     4327 
     4328else 
     4329  ac_cv_header_stdc=no 
     4330fi 
     4331rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4332  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4333fi 
     4334 
     4335fi 
     4336fi 
     4337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
     4338$as_echo "$ac_cv_header_stdc" >&6; } 
    46104339if test $ac_cv_header_stdc = yes; then 
    46114340 
    4612 cat >>confdefs.h <<\_ACEOF 
    4613 #define STDC_HEADERS 1 
    4614 _ACEOF 
     4341$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46154342 
    46164343fi 
    46174344 
    46184345# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4619  
    4620  
    4621  
    4622  
    4623  
    4624  
    4625  
    4626  
    4627  
    46284346for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    46294347                  inttypes.h stdint.h unistd.h 
    4630 do 
    4631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4632 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
    4634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4635   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4636 else 
    4637   cat >conftest.$ac_ext <<_ACEOF 
    4638 /* confdefs.h.  */ 
    4639 _ACEOF 
    4640 cat confdefs.h >>conftest.$ac_ext 
    4641 cat >>conftest.$ac_ext <<_ACEOF 
     4348do : 
     4349  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4350ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4351" 
     4352eval as_val=\$$as_ac_Header 
     4353   if test "x$as_val" = x""yes; then : 
     4354  cat >>confdefs.h <<_ACEOF 
     4355#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4356_ACEOF 
     4357 
     4358fi 
     4359 
     4360done 
     4361 
     4362 
     4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
     4364$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
     4365if test "${ac_cv_c_bigendian+set}" = set; then : 
     4366  $as_echo_n "(cached) " >&6 
     4367else 
     4368  ac_cv_c_bigendian=unknown 
     4369    # See if we're dealing with a universal compiler. 
     4370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46424371/* end confdefs.h.  */ 
    4643 $ac_includes_default 
    4644  
    4645 #include <$ac_header> 
    4646 _ACEOF 
    4647 rm -f conftest.$ac_objext 
    4648 if { (ac_try="$ac_compile" 
    4649 case "(($ac_try" in 
    4650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4651   *) ac_try_echo=$ac_try;; 
    4652 esac 
    4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4654   (eval "$ac_compile") 2>conftest.er1 
    4655   ac_status=$? 
    4656   grep -v '^ *+' conftest.er1 >conftest.err 
    4657   rm -f conftest.er1 
    4658   cat conftest.err >&5 
    4659   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4660   (exit $ac_status); } && { 
    4661          test -z "$ac_c_werror_flag" || 
    4662          test ! -s conftest.err 
    4663        } && test -s conftest.$ac_objext; then 
    4664   eval "$as_ac_Header=yes" 
    4665 else 
    4666   echo "$as_me: failed program was:" >&5 
    4667 sed 's/^/| /' conftest.$ac_ext >&5 
    4668  
    4669         eval "$as_ac_Header=no" 
    4670 fi 
    4671  
     4372#ifndef __APPLE_CC__ 
     4373               not a universal capable compiler 
     4374             #endif 
     4375             typedef int dummy; 
     4376 
     4377_ACEOF 
     4378if ac_fn_c_try_compile "$LINENO"; then : 
     4379 
     4380        # Check for potential -arch flags.  It is not universal unless 
     4381        # there are at least two -arch flags with different values. 
     4382        ac_arch= 
     4383        ac_prev= 
     4384        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4385         if test -n "$ac_prev"; then 
     4386           case $ac_word in 
     4387             i?86 | x86_64 | ppc | ppc64) 
     4388               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4389                 ac_arch=$ac_word 
     4390               else 
     4391                 ac_cv_c_bigendian=universal 
     4392                 break 
     4393               fi 
     4394               ;; 
     4395           esac 
     4396           ac_prev= 
     4397         elif test "x$ac_word" = "x-arch"; then 
     4398           ac_prev=arch 
     4399         fi 
     4400       done 
     4401fi 
    46724402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4673 fi 
    4674 ac_res=`eval echo '${'$as_ac_Header'}'` 
    4675                { echo "$as_me:$LINENO: result: $ac_res" >&5 
    4676 echo "${ECHO_T}$ac_res" >&6; } 
    4677 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    4678   cat >>confdefs.h <<_ACEOF 
    4679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    4680 _ACEOF 
    4681  
    4682 fi 
    4683  
    4684 done 
    4685  
    4686  
    4687 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    4688 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
    4689 if test "${ac_cv_c_bigendian+set}" = set; then 
    4690   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4691 else 
    4692   # See if sys/param.h defines the BYTE_ORDER macro. 
    4693 cat >conftest.$ac_ext <<_ACEOF 
    4694 /* confdefs.h.  */ 
    4695 _ACEOF 
    4696 cat confdefs.h >>conftest.$ac_ext 
    4697 cat >>conftest.$ac_ext <<_ACEOF 
     4403    if test $ac_cv_c_bigendian = unknown; then 
     4404      # See if sys/param.h defines the BYTE_ORDER macro. 
     4405      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46984406/* end confdefs.h.  */ 
    46994407#include <sys/types.h> 
    4700 #include <sys/param.h> 
     4408             #include <sys/param.h> 
    47014409 
    47024410int 
    47034411main () 
    47044412{ 
    4705 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
    4706         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
    4707  bogus endian macros 
    4708 #endif 
     4413#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
     4414                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
     4415                     && LITTLE_ENDIAN) 
     4416              bogus endian macros 
     4417             #endif 
    47094418 
    47104419  ; 
     
    47124421} 
    47134422_ACEOF 
    4714 rm -f conftest.$ac_objext 
    4715 if { (ac_try="$ac_compile" 
    4716 case "(($ac_try" in 
    4717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4718   *) ac_try_echo=$ac_try;; 
    4719 esac 
    4720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4721   (eval "$ac_compile") 2>conftest.er1 
    4722   ac_status=$? 
    4723   grep -v '^ *+' conftest.er1 >conftest.err 
    4724   rm -f conftest.er1 
    4725   cat conftest.err >&5 
    4726   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4727   (exit $ac_status); } && { 
    4728          test -z "$ac_c_werror_flag" || 
    4729          test ! -s conftest.err 
    4730        } && test -s conftest.$ac_objext; then 
     4423if ac_fn_c_try_compile "$LINENO"; then : 
    47314424  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4732 cat >conftest.$ac_ext <<_ACEOF 
    4733 /* confdefs.h.  */ 
    4734 _ACEOF 
    4735 cat confdefs.h >>conftest.$ac_ext 
    4736 cat >>conftest.$ac_ext <<_ACEOF 
     4425         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47374426/* end confdefs.h.  */ 
    47384427#include <sys/types.h> 
    4739 #include <sys/param.h> 
     4428                #include <sys/param.h> 
    47404429 
    47414430int 
     
    47434432{ 
    47444433#if BYTE_ORDER != BIG_ENDIAN 
    4745  not big endian 
    4746 #endif 
     4434                not big endian 
     4435                #endif 
    47474436 
    47484437  ; 
     
    47504439} 
    47514440_ACEOF 
    4752 rm -f conftest.$ac_objext 
    4753 if { (ac_try="$ac_compile" 
    4754 case "(($ac_try" in 
    4755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4756   *) ac_try_echo=$ac_try;; 
    4757 esac 
    4758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4759   (eval "$ac_compile") 2>conftest.er1 
    4760   ac_status=$? 
    4761   grep -v '^ *+' conftest.er1 >conftest.err 
    4762   rm -f conftest.er1 
    4763   cat conftest.err >&5 
    4764   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4765   (exit $ac_status); } && { 
    4766          test -z "$ac_c_werror_flag" || 
    4767          test ! -s conftest.err 
    4768        } && test -s conftest.$ac_objext; then 
     4441if ac_fn_c_try_compile "$LINENO"; then : 
    47694442  ac_cv_c_bigendian=yes 
    47704443else 
    4771   echo "$as_me: failed program was:" >&5 
    4772 sed 's/^/| /' conftest.$ac_ext >&5 
    4773  
    4774         ac_cv_c_bigendian=no 
    4775 fi 
    4776  
     4444  ac_cv_c_bigendian=no 
     4445fi 
    47774446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4778 else 
    4779   echo "$as_me: failed program was:" >&5 
    4780 sed 's/^/| /' conftest.$ac_ext >&5 
    4781  
    4782         # It does not; compile a test program. 
    4783 if test "$cross_compiling" = yes; then 
    4784   # try to guess the endianness by grepping values into an object file 
    4785   ac_cv_c_bigendian=unknown 
    4786   cat >conftest.$ac_ext <<_ACEOF 
    4787 /* confdefs.h.  */ 
    4788 _ACEOF 
    4789 cat confdefs.h >>conftest.$ac_ext 
    4790 cat >>conftest.$ac_ext <<_ACEOF 
     4447fi 
     4448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4449    fi 
     4450    if test $ac_cv_c_bigendian = unknown; then 
     4451      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
     4452      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47914453/* end confdefs.h.  */ 
    4792 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4793 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4794 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    4795 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4796 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4797 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     4454#include <limits.h> 
     4455 
    47984456int 
    47994457main () 
    48004458{ 
    4801  _ascii (); _ebcdic (); 
     4459#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
     4460              bogus endian macros 
     4461             #endif 
     4462 
    48024463  ; 
    48034464  return 0; 
    48044465} 
    48054466_ACEOF 
    4806 rm -f conftest.$ac_objext 
    4807 if { (ac_try="$ac_compile" 
    4808 case "(($ac_try" in 
    4809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4810   *) ac_try_echo=$ac_try;; 
    4811 esac 
    4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4813   (eval "$ac_compile") 2>conftest.er1 
    4814   ac_status=$? 
    4815   grep -v '^ *+' conftest.er1 >conftest.err 
    4816   rm -f conftest.er1 
    4817   cat conftest.err >&5 
    4818   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4819   (exit $ac_status); } && { 
    4820          test -z "$ac_c_werror_flag" || 
    4821          test ! -s conftest.err 
    4822        } && test -s conftest.$ac_objext; then 
    4823   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     4467if ac_fn_c_try_compile "$LINENO"; then : 
     4468  # It does; now see whether it defined to _BIG_ENDIAN or not. 
     4469         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4470/* end confdefs.h.  */ 
     4471#include <limits.h> 
     4472 
     4473int 
     4474main () 
     4475{ 
     4476#ifndef _BIG_ENDIAN 
     4477                 not big endian 
     4478                #endif 
     4479 
     4480  ; 
     4481  return 0; 
     4482} 
     4483_ACEOF 
     4484if ac_fn_c_try_compile "$LINENO"; then : 
    48244485  ac_cv_c_bigendian=yes 
    4825 fi 
    4826 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4827   if test "$ac_cv_c_bigendian" = unknown; then 
    4828     ac_cv_c_bigendian=no 
    4829   else 
    4830     # finding both strings is unlikely to happen, but who knows? 
    4831     ac_cv_c_bigendian=unknown 
    4832   fi 
    4833 fi 
    4834 else 
    4835   echo "$as_me: failed program was:" >&5 
    4836 sed 's/^/| /' conftest.$ac_ext >&5 
    4837  
    4838  
    4839 fi 
    4840  
     4486else 
     4487  ac_cv_c_bigendian=no 
     4488fi 
    48414489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4842 else 
    4843   cat >conftest.$ac_ext <<_ACEOF 
    4844 /* confdefs.h.  */ 
    4845 _ACEOF 
    4846 cat confdefs.h >>conftest.$ac_ext 
    4847 cat >>conftest.$ac_ext <<_ACEOF 
     4490fi 
     4491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4492    fi 
     4493    if test $ac_cv_c_bigendian = unknown; then 
     4494      # Compile a test program. 
     4495      if test "$cross_compiling" = yes; then : 
     4496  # Try to guess by grepping values from an object file. 
     4497         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4498/* end confdefs.h.  */ 
     4499short int ascii_mm[] = 
     4500                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4501                short int ascii_ii[] = 
     4502                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4503                int use_ascii (int i) { 
     4504                  return ascii_mm[i] + ascii_ii[i]; 
     4505                } 
     4506                short int ebcdic_ii[] = 
     4507                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4508                short int ebcdic_mm[] = 
     4509                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4510                int use_ebcdic (int i) { 
     4511                  return ebcdic_mm[i] + ebcdic_ii[i]; 
     4512                } 
     4513                extern int foo; 
     4514 
     4515int 
     4516main () 
     4517{ 
     4518return use_ascii (foo) == use_ebcdic (foo); 
     4519  ; 
     4520  return 0; 
     4521} 
     4522_ACEOF 
     4523if ac_fn_c_try_compile "$LINENO"; then : 
     4524  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
     4525              ac_cv_c_bigendian=yes 
     4526            fi 
     4527            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4528              if test "$ac_cv_c_bigendian" = unknown; then 
     4529                ac_cv_c_bigendian=no 
     4530              else 
     4531                # finding both strings is unlikely to happen, but who knows? 
     4532                ac_cv_c_bigendian=unknown 
     4533              fi 
     4534            fi 
     4535fi 
     4536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4537else 
     4538  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48484539/* end confdefs.h.  */ 
    48494540$ac_includes_default 
     
    48524543{ 
    48534544 
    4854   /* Are we little or big endian?  From Harbison&Steele.  */ 
    4855   union 
    4856   { 
    4857     long int l; 
    4858     char c[sizeof (long int)]; 
    4859   } u; 
    4860   u.l = 1; 
    4861   return u.c[sizeof (long int) - 1] == 1; 
     4545             /* Are we little or big endian?  From Harbison&Steele.  */ 
     4546             union 
     4547             { 
     4548               long int l; 
     4549               char c[sizeof (long int)]; 
     4550             } u; 
     4551             u.l = 1; 
     4552             return u.c[sizeof (long int) - 1] == 1; 
    48624553 
    48634554  ; 
     
    48654556} 
    48664557_ACEOF 
    4867 rm -f conftest$ac_exeext 
    4868 if { (ac_try="$ac_link" 
    4869 case "(($ac_try" in 
    4870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4871   *) ac_try_echo=$ac_try;; 
    4872 esac 
    4873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4874   (eval "$ac_link") 2>&5 
    4875   ac_status=$? 
    4876   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4877   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4878   { (case "(($ac_try" in 
    4879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4880   *) ac_try_echo=$ac_try;; 
    4881 esac 
    4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4883   (eval "$ac_try") 2>&5 
    4884   ac_status=$? 
    4885   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4886   (exit $ac_status); }; }; then 
     4558if ac_fn_c_try_run "$LINENO"; then : 
    48874559  ac_cv_c_bigendian=no 
    48884560else 
    4889   echo "$as_me: program exited with status $ac_status" >&5 
    4890 echo "$as_me: failed program was:" >&5 
    4891 sed 's/^/| /' conftest.$ac_ext >&5 
    4892  
    4893 ( exit $ac_status ) 
    4894 ac_cv_c_bigendian=yes 
    4895 fi 
    4896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4897 fi 
    4898  
    4899  
    4900 fi 
    4901  
    4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4903 fi 
    4904 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    4905 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
    4906 case $ac_cv_c_bigendian in 
    4907   yes) 
    4908  
    4909 cat >>confdefs.h <<\_ACEOF 
    4910 #define WORDS_BIGENDIAN 1 
    4911 _ACEOF 
    4912  ;; 
    4913   no) 
    4914      ;; 
    4915   *) 
    4916     { { echo "$as_me:$LINENO: error: unknown endianness 
    4917 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    4918 echo "$as_me: error: unknown endianness 
    4919 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    4920    { (exit 1); exit 1; }; } ;; 
    4921 esac 
     4561  ac_cv_c_bigendian=yes 
     4562fi 
     4563rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4564  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4565fi 
     4566 
     4567    fi 
     4568fi 
     4569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
     4570$as_echo "$ac_cv_c_bigendian" >&6; } 
     4571 case $ac_cv_c_bigendian in #( 
     4572   yes) 
     4573     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
     4574;; #( 
     4575   no) 
     4576      ;; #( 
     4577   universal) 
     4578 
     4579$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
     4580 
     4581     ;; #( 
     4582   *) 
     4583     as_fn_error "unknown endianness 
     4584 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     4585 esac 
    49224586 
    49234587 
     
    49304594case $target in 
    49314595    *mingw* | *cygw* | *win32* | *w32* ) 
    4932         cat >>confdefs.h <<\_ACEOF 
    4933 #define PJ_WIN32 1 
    4934 _ACEOF 
    4935  
    4936         cat >>confdefs.h <<\_ACEOF 
    4937 #define PJ_WIN32_WINNT 0x0400 
    4938 _ACEOF 
    4939  
    4940         cat >>confdefs.h <<\_ACEOF 
    4941 #define WIN32_LEAN_AND_MEAN 1 
    4942 _ACEOF 
     4596        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4597 
     4598        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4599 
     4600        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    49434601 
    49444602        ;; 
    49454603    *darwin*) 
    4946         cat >>confdefs.h <<\_ACEOF 
    4947 #define PJ_DARWINOS 1 
    4948 _ACEOF 
     4604        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    49494605 
    49504606        ;; 
    49514607    *linux*) 
    4952         cat >>confdefs.h <<\_ACEOF 
    4953 #define PJ_LINUX 1 
    4954 _ACEOF 
     4608        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    49554609 
    49564610        ;; 
    49574611    *rtems*) 
    4958         cat >>confdefs.h <<\_ACEOF 
    4959 #define PJ_RTEMS 1 
    4960 _ACEOF 
     4612        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    49614613 
    49624614        ;; 
    49634615    *sunos* | *solaris* ) 
    4964         cat >>confdefs.h <<\_ACEOF 
    4965 #define PJ_SUNOS 1 
    4966 _ACEOF 
     4616        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    49674617 
    49684618        ;; 
     
    49754625 
    49764626# Check whether --enable-floating-point was given. 
    4977 if test "${enable_floating_point+set}" = set; then 
     4627if test "${enable_floating_point+set}" = set; then : 
    49784628  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4979                 cat >>confdefs.h <<\_ACEOF 
    4980 #define PJ_HAS_FLOATING_POINT 0 
    4981 _ACEOF 
    4982  
    4983                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    4984 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
     4629                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4630 
     4631                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
     4632$as_echo "Checking if floating point is disabled... yes" >&6; } 
    49854633               fi 
    49864634else 
    49874635 
    4988                 cat >>confdefs.h <<\_ACEOF 
    4989 #define PJ_HAS_FLOATING_POINT 1 
    4990 _ACEOF 
    4991  
    4992                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    4993 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
    4994  
    4995 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    4996 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
    4997 if test "${ac_cv_lib_m_fmod+set}" = set; then 
    4998   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4636                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4637 
     4638                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
     4639$as_echo "Checking if floating point is disabled... no" >&6; } 
     4640                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
     4641$as_echo_n "checking for fmod in -lm... " >&6; } 
     4642if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4643  $as_echo_n "(cached) " >&6 
    49994644else 
    50004645  ac_check_lib_save_LIBS=$LIBS 
    50014646LIBS="-lm  $LIBS" 
    5002 cat >conftest.$ac_ext <<_ACEOF 
    5003 /* confdefs.h.  */ 
    5004 _ACEOF 
    5005 cat confdefs.h >>conftest.$ac_ext 
    5006 cat >>conftest.$ac_ext <<_ACEOF 
     4647cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50074648/* end confdefs.h.  */ 
    50084649 
     
    50224663} 
    50234664_ACEOF 
    5024 rm -f conftest.$ac_objext conftest$ac_exeext 
    5025 if { (ac_try="$ac_link" 
    5026 case "(($ac_try" in 
    5027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5028   *) ac_try_echo=$ac_try;; 
    5029 esac 
    5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5031   (eval "$ac_link") 2>conftest.er1 
    5032   ac_status=$? 
    5033   grep -v '^ *+' conftest.er1 >conftest.err 
    5034   rm -f conftest.er1 
    5035   cat conftest.err >&5 
    5036   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5037   (exit $ac_status); } && { 
    5038          test -z "$ac_c_werror_flag" || 
    5039          test ! -s conftest.err 
    5040        } && test -s conftest$ac_exeext && 
    5041        $as_test_x conftest$ac_exeext; then 
     4665if ac_fn_c_try_link "$LINENO"; then : 
    50424666  ac_cv_lib_m_fmod=yes 
    50434667else 
    5044   echo "$as_me: failed program was:" >&5 
    5045 sed 's/^/| /' conftest.$ac_ext >&5 
    5046  
    5047         ac_cv_lib_m_fmod=no 
    5048 fi 
    5049  
    5050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5051       conftest$ac_exeext conftest.$ac_ext 
     4668  ac_cv_lib_m_fmod=no 
     4669fi 
     4670rm -f core conftest.err conftest.$ac_objext \ 
     4671    conftest$ac_exeext conftest.$ac_ext 
    50524672LIBS=$ac_check_lib_save_LIBS 
    50534673fi 
    5054 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    5055 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
    5056 if test $ac_cv_lib_m_fmod = yes; then 
     4674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
     4675$as_echo "$ac_cv_lib_m_fmod" >&6; } 
     4676if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    50574677  cat >>confdefs.h <<_ACEOF 
    50584678#define HAVE_LIBM 1 
     
    50684688 
    50694689 
    5070 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5071   { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5072 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5073 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5074   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5075 fi 
    5076 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5077 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5078 else 
    5079   # Is the header compilable? 
    5080 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5081 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
    5082 cat >conftest.$ac_ext <<_ACEOF 
    5083 /* confdefs.h.  */ 
    5084 _ACEOF 
    5085 cat confdefs.h >>conftest.$ac_ext 
    5086 cat >>conftest.$ac_ext <<_ACEOF 
    5087 /* end confdefs.h.  */ 
    5088 $ac_includes_default 
    5089 #include <arpa/inet.h> 
    5090 _ACEOF 
    5091 rm -f conftest.$ac_objext 
    5092 if { (ac_try="$ac_compile" 
    5093 case "(($ac_try" in 
    5094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5095   *) ac_try_echo=$ac_try;; 
    5096 esac 
    5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5098   (eval "$ac_compile") 2>conftest.er1 
    5099   ac_status=$? 
    5100   grep -v '^ *+' conftest.er1 >conftest.err 
    5101   rm -f conftest.er1 
    5102   cat conftest.err >&5 
    5103   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5104   (exit $ac_status); } && { 
    5105          test -z "$ac_c_werror_flag" || 
    5106          test ! -s conftest.err 
    5107        } && test -s conftest.$ac_objext; then 
    5108   ac_header_compiler=yes 
    5109 else 
    5110   echo "$as_me: failed program was:" >&5 
    5111 sed 's/^/| /' conftest.$ac_ext >&5 
    5112  
    5113         ac_header_compiler=no 
    5114 fi 
    5115  
    5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5118 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5119  
    5120 # Is the header present? 
    5121 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5122 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
    5123 cat >conftest.$ac_ext <<_ACEOF 
    5124 /* confdefs.h.  */ 
    5125 _ACEOF 
    5126 cat confdefs.h >>conftest.$ac_ext 
    5127 cat >>conftest.$ac_ext <<_ACEOF 
    5128 /* end confdefs.h.  */ 
    5129 #include <arpa/inet.h> 
    5130 _ACEOF 
    5131 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5132 case "(($ac_try" in 
    5133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5134   *) ac_try_echo=$ac_try;; 
    5135 esac 
    5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5137   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5138   ac_status=$? 
    5139   grep -v '^ *+' conftest.er1 >conftest.err 
    5140   rm -f conftest.er1 
    5141   cat conftest.err >&5 
    5142   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5143   (exit $ac_status); } >/dev/null && { 
    5144          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5145          test ! -s conftest.err 
    5146        }; then 
    5147   ac_header_preproc=yes 
    5148 else 
    5149   echo "$as_me: failed program was:" >&5 
    5150 sed 's/^/| /' conftest.$ac_ext >&5 
    5151  
    5152   ac_header_preproc=no 
    5153 fi 
    5154  
    5155 rm -f conftest.err conftest.$ac_ext 
    5156 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5157 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5158  
    5159 # So?  What about this header? 
    5160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5161   yes:no: ) 
    5162     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5163 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5164     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5165 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5166     ac_header_preproc=yes 
    5167     ;; 
    5168   no:yes:* ) 
    5169     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5170 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5171     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5172 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5173     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5174 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5175     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5176 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5177     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5178 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5179     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5180 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5181  
    5182     ;; 
    5183 esac 
    5184 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5185 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5186 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5187   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5188 else 
    5189   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5190 fi 
    5191 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5192 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5193  
    5194 fi 
    5195 if test $ac_cv_header_arpa_inet_h = yes; then 
    5196   cat >>confdefs.h <<\_ACEOF 
    5197 #define PJ_HAS_ARPA_INET_H 1 
    5198 _ACEOF 
    5199  
    5200 fi 
    5201  
    5202  
    5203 if test "${ac_cv_header_assert_h+set}" = set; then 
    5204   { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5205 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5206 if test "${ac_cv_header_assert_h+set}" = set; then 
    5207   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5208 fi 
    5209 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5210 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5211 else 
    5212   # Is the header compilable? 
    5213 { echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5214 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
    5215 cat >conftest.$ac_ext <<_ACEOF 
    5216 /* confdefs.h.  */ 
    5217 _ACEOF 
    5218 cat confdefs.h >>conftest.$ac_ext 
    5219 cat >>conftest.$ac_ext <<_ACEOF 
    5220 /* end confdefs.h.  */ 
    5221 $ac_includes_default 
    5222 #include <assert.h> 
    5223 _ACEOF 
    5224 rm -f conftest.$ac_objext 
    5225 if { (ac_try="$ac_compile" 
    5226 case "(($ac_try" in 
    5227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5228   *) ac_try_echo=$ac_try;; 
    5229 esac 
    5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5231   (eval "$ac_compile") 2>conftest.er1 
    5232   ac_status=$? 
    5233   grep -v '^ *+' conftest.er1 >conftest.err 
    5234   rm -f conftest.er1 
    5235   cat conftest.err >&5 
    5236   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5237   (exit $ac_status); } && { 
    5238          test -z "$ac_c_werror_flag" || 
    5239          test ! -s conftest.err 
    5240        } && test -s conftest.$ac_objext; then 
    5241   ac_header_compiler=yes 
    5242 else 
    5243   echo "$as_me: failed program was:" >&5 
    5244 sed 's/^/| /' conftest.$ac_ext >&5 
    5245  
    5246         ac_header_compiler=no 
    5247 fi 
    5248  
    5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5251 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5252  
    5253 # Is the header present? 
    5254 { echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5255 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
    5256 cat >conftest.$ac_ext <<_ACEOF 
    5257 /* confdefs.h.  */ 
    5258 _ACEOF 
    5259 cat confdefs.h >>conftest.$ac_ext 
    5260 cat >>conftest.$ac_ext <<_ACEOF 
    5261 /* end confdefs.h.  */ 
    5262 #include <assert.h> 
    5263 _ACEOF 
    5264 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5265 case "(($ac_try" in 
    5266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5267   *) ac_try_echo=$ac_try;; 
    5268 esac 
    5269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5270   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5271   ac_status=$? 
    5272   grep -v '^ *+' conftest.er1 >conftest.err 
    5273   rm -f conftest.er1 
    5274   cat conftest.err >&5 
    5275   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5276   (exit $ac_status); } >/dev/null && { 
    5277          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5278          test ! -s conftest.err 
    5279        }; then 
    5280   ac_header_preproc=yes 
    5281 else 
    5282   echo "$as_me: failed program was:" >&5 
    5283 sed 's/^/| /' conftest.$ac_ext >&5 
    5284  
    5285   ac_header_preproc=no 
    5286 fi 
    5287  
    5288 rm -f conftest.err conftest.$ac_ext 
    5289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5290 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5291  
    5292 # So?  What about this header? 
    5293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5294   yes:no: ) 
    5295     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5296 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5297     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5298 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5299     ac_header_preproc=yes 
    5300     ;; 
    5301   no:yes:* ) 
    5302     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5303 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5304     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5305 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5306     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5307 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5308     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5309 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5310     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5311 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5312     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5313 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5314  
    5315     ;; 
    5316 esac 
    5317 { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5318 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5319 if test "${ac_cv_header_assert_h+set}" = set; then 
    5320   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5321 else 
    5322   ac_cv_header_assert_h=$ac_header_preproc 
    5323 fi 
    5324 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5325 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5326  
    5327 fi 
    5328 if test $ac_cv_header_assert_h = yes; then 
    5329   cat >>confdefs.h <<\_ACEOF 
    5330 #define PJ_HAS_ASSERT_H 1 
    5331 _ACEOF 
    5332  
    5333 fi 
    5334  
    5335  
    5336 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5337   { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5338 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5339 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5340   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5341 fi 
    5342 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5343 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5344 else 
    5345   # Is the header compilable? 
    5346 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5347 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
    5348 cat >conftest.$ac_ext <<_ACEOF 
    5349 /* confdefs.h.  */ 
    5350 _ACEOF 
    5351 cat confdefs.h >>conftest.$ac_ext 
    5352 cat >>conftest.$ac_ext <<_ACEOF 
    5353 /* end confdefs.h.  */ 
    5354 $ac_includes_default 
    5355 #include <ctype.h> 
    5356 _ACEOF 
    5357 rm -f conftest.$ac_objext 
    5358 if { (ac_try="$ac_compile" 
    5359 case "(($ac_try" in 
    5360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5361   *) ac_try_echo=$ac_try;; 
    5362 esac 
    5363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5364   (eval "$ac_compile") 2>conftest.er1 
    5365   ac_status=$? 
    5366   grep -v '^ *+' conftest.er1 >conftest.err 
    5367   rm -f conftest.er1 
    5368   cat conftest.err >&5 
    5369   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5370   (exit $ac_status); } && { 
    5371          test -z "$ac_c_werror_flag" || 
    5372          test ! -s conftest.err 
    5373        } && test -s conftest.$ac_objext; then 
    5374   ac_header_compiler=yes 
    5375 else 
    5376   echo "$as_me: failed program was:" >&5 
    5377 sed 's/^/| /' conftest.$ac_ext >&5 
    5378  
    5379         ac_header_compiler=no 
    5380 fi 
    5381  
    5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5383 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5384 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5385  
    5386 # Is the header present? 
    5387 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5388 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
    5389 cat >conftest.$ac_ext <<_ACEOF 
    5390 /* confdefs.h.  */ 
    5391 _ACEOF 
    5392 cat confdefs.h >>conftest.$ac_ext 
    5393 cat >>conftest.$ac_ext <<_ACEOF 
    5394 /* end confdefs.h.  */ 
    5395 #include <ctype.h> 
    5396 _ACEOF 
    5397 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5398 case "(($ac_try" in 
    5399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5400   *) ac_try_echo=$ac_try;; 
    5401 esac 
    5402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5403   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5404   ac_status=$? 
    5405   grep -v '^ *+' conftest.er1 >conftest.err 
    5406   rm -f conftest.er1 
    5407   cat conftest.err >&5 
    5408   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5409   (exit $ac_status); } >/dev/null && { 
    5410          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5411          test ! -s conftest.err 
    5412        }; then 
    5413   ac_header_preproc=yes 
    5414 else 
    5415   echo "$as_me: failed program was:" >&5 
    5416 sed 's/^/| /' conftest.$ac_ext >&5 
    5417  
    5418   ac_header_preproc=no 
    5419 fi 
    5420  
    5421 rm -f conftest.err conftest.$ac_ext 
    5422 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5423 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5424  
    5425 # So?  What about this header? 
    5426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5427   yes:no: ) 
    5428     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5429 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5430     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5431 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5432     ac_header_preproc=yes 
    5433     ;; 
    5434   no:yes:* ) 
    5435     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5436 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5437     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5438 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5439     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5440 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5441     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5442 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5443     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5444 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5445     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5446 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5447  
    5448     ;; 
    5449 esac 
    5450 { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5451 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5452 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5453   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5454 else 
    5455   ac_cv_header_ctype_h=$ac_header_preproc 
    5456 fi 
    5457 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5458 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5459  
    5460 fi 
    5461 if test $ac_cv_header_ctype_h = yes; then 
    5462   cat >>confdefs.h <<\_ACEOF 
    5463 #define PJ_HAS_CTYPE_H 1 
    5464 _ACEOF 
     4690ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4691if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4692  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4693 
     4694fi 
     4695 
     4696 
     4697ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4698if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4699  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4700 
     4701fi 
     4702 
     4703 
     4704ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4705if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4706  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    54654707 
    54664708fi 
     
    54704712case $target in 
    54714713    *mingw* | *cygw* | *win32* | *w32* ) 
    5472         cat >>confdefs.h <<\_ACEOF 
    5473 #define PJ_HAS_ERRNO_H 0 
    5474 _ACEOF 
     4714        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    54754715 
    54764716        ;; 
    54774717    *) 
    5478         if test "${ac_cv_header_errno_h+set}" = set; then 
    5479   { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5480 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5481 if test "${ac_cv_header_errno_h+set}" = set; then 
    5482   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5483 fi 
    5484 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5485 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5486 else 
    5487   # Is the header compilable? 
    5488 { echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5489 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
    5490 cat >conftest.$ac_ext <<_ACEOF 
    5491 /* confdefs.h.  */ 
    5492 _ACEOF 
    5493 cat confdefs.h >>conftest.$ac_ext 
    5494 cat >>conftest.$ac_ext <<_ACEOF 
    5495 /* end confdefs.h.  */ 
    5496 $ac_includes_default 
    5497 #include <errno.h> 
    5498 _ACEOF 
    5499 rm -f conftest.$ac_objext 
    5500 if { (ac_try="$ac_compile" 
    5501 case "(($ac_try" in 
    5502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5503   *) ac_try_echo=$ac_try;; 
    5504 esac 
    5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5506   (eval "$ac_compile") 2>conftest.er1 
    5507   ac_status=$? 
    5508   grep -v '^ *+' conftest.er1 >conftest.err 
    5509   rm -f conftest.er1 
    5510   cat conftest.err >&5 
    5511   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5512   (exit $ac_status); } && { 
    5513          test -z "$ac_c_werror_flag" || 
    5514          test ! -s conftest.err 
    5515        } && test -s conftest.$ac_objext; then 
    5516   ac_header_compiler=yes 
    5517 else 
    5518   echo "$as_me: failed program was:" >&5 
    5519 sed 's/^/| /' conftest.$ac_ext >&5 
    5520  
    5521         ac_header_compiler=no 
    5522 fi 
    5523  
    5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5525 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5526 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5527  
    5528 # Is the header present? 
    5529 { echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5530 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
    5531 cat >conftest.$ac_ext <<_ACEOF 
    5532 /* confdefs.h.  */ 
    5533 _ACEOF 
    5534 cat confdefs.h >>conftest.$ac_ext 
    5535 cat >>conftest.$ac_ext <<_ACEOF 
    5536 /* end confdefs.h.  */ 
    5537 #include <errno.h> 
    5538 _ACEOF 
    5539 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5540 case "(($ac_try" in 
    5541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5542   *) ac_try_echo=$ac_try;; 
    5543 esac 
    5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5545   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5546   ac_status=$? 
    5547   grep -v '^ *+' conftest.er1 >conftest.err 
    5548   rm -f conftest.er1 
    5549   cat conftest.err >&5 
    5550   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5551   (exit $ac_status); } >/dev/null && { 
    5552          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5553          test ! -s conftest.err 
    5554        }; then 
    5555   ac_header_preproc=yes 
    5556 else 
    5557   echo "$as_me: failed program was:" >&5 
    5558 sed 's/^/| /' conftest.$ac_ext >&5 
    5559  
    5560   ac_header_preproc=no 
    5561 fi 
    5562  
    5563 rm -f conftest.err conftest.$ac_ext 
    5564 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5565 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5566  
    5567 # So?  What about this header? 
    5568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5569   yes:no: ) 
    5570     { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5571 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5572     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5573 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5574     ac_header_preproc=yes 
    5575     ;; 
    5576   no:yes:* ) 
    5577     { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5578 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5579     { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5580 echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5581     { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5582 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5583     { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5584 echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5585     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5586 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5587     { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5588 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5589  
    5590     ;; 
    5591 esac 
    5592 { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5593 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5594 if test "${ac_cv_header_errno_h+set}" = set; then 
    5595   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5596 else 
    5597   ac_cv_header_errno_h=$ac_header_preproc 
    5598 fi 
    5599 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5600 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5601  
    5602 fi 
    5603 if test $ac_cv_header_errno_h = yes; then 
    5604   cat >>confdefs.h <<\_ACEOF 
    5605 #define PJ_HAS_ERRNO_H 1 
    5606 _ACEOF 
     4718        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4719if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4720  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    56074721 
    56084722fi 
     
    56124726esac 
    56134727 
    5614 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5615   { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5616 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5617 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5618   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5619 fi 
    5620 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5621 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5622 else 
    5623   # Is the header compilable? 
    5624 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5625 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
    5626 cat >conftest.$ac_ext <<_ACEOF 
    5627 /* confdefs.h.  */ 
    5628 _ACEOF 
    5629 cat confdefs.h >>conftest.$ac_ext 
    5630 cat >>conftest.$ac_ext <<_ACEOF 
    5631 /* end confdefs.h.  */ 
    5632 $ac_includes_default 
    5633 #include <fcntl.h> 
    5634 _ACEOF 
    5635 rm -f conftest.$ac_objext 
    5636 if { (ac_try="$ac_compile" 
    5637 case "(($ac_try" in 
    5638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5639   *) ac_try_echo=$ac_try;; 
    5640 esac 
    5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5642   (eval "$ac_compile") 2>conftest.er1 
    5643   ac_status=$? 
    5644   grep -v '^ *+' conftest.er1 >conftest.err 
    5645   rm -f conftest.er1 
    5646   cat conftest.err >&5 
    5647   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5648   (exit $ac_status); } && { 
    5649          test -z "$ac_c_werror_flag" || 
    5650          test ! -s conftest.err 
    5651        } && test -s conftest.$ac_objext; then 
    5652   ac_header_compiler=yes 
    5653 else 
    5654   echo "$as_me: failed program was:" >&5 
    5655 sed 's/^/| /' conftest.$ac_ext >&5 
    5656  
    5657         ac_header_compiler=no 
    5658 fi 
    5659  
    5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5661 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5662 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5663  
    5664 # Is the header present? 
    5665 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5666 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
    5667 cat >conftest.$ac_ext <<_ACEOF 
    5668 /* confdefs.h.  */ 
    5669 _ACEOF 
    5670 cat confdefs.h >>conftest.$ac_ext 
    5671 cat >>conftest.$ac_ext <<_ACEOF 
    5672 /* end confdefs.h.  */ 
    5673 #include <fcntl.h> 
    5674 _ACEOF 
    5675 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5676 case "(($ac_try" in 
    5677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5678   *) ac_try_echo=$ac_try;; 
    5679 esac 
    5680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5681   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5682   ac_status=$? 
    5683   grep -v '^ *+' conftest.er1 >conftest.err 
    5684   rm -f conftest.er1 
    5685   cat conftest.err >&5 
    5686   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5687   (exit $ac_status); } >/dev/null && { 
    5688          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5689          test ! -s conftest.err 
    5690        }; then 
    5691   ac_header_preproc=yes 
    5692 else 
    5693   echo "$as_me: failed program was:" >&5 
    5694 sed 's/^/| /' conftest.$ac_ext >&5 
    5695  
    5696   ac_header_preproc=no 
    5697 fi 
    5698  
    5699 rm -f conftest.err conftest.$ac_ext 
    5700 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5701 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5702  
    5703 # So?  What about this header? 
    5704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5705   yes:no: ) 
    5706     { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5707 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5708     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5709 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5710     ac_header_preproc=yes 
    5711     ;; 
    5712   no:yes:* ) 
    5713     { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5714 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5715     { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5716 echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5717     { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5718 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5719     { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5720 echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5721     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5722 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5723     { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5724 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5725  
    5726     ;; 
    5727 esac 
    5728 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5729 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5730 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5731   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5732 else 
    5733   ac_cv_header_fcntl_h=$ac_header_preproc 
    5734 fi 
    5735 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5736 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5737  
    5738 fi 
    5739 if test $ac_cv_header_fcntl_h = yes; then 
    5740   cat >>confdefs.h <<\_ACEOF 
    5741 #define PJ_HAS_FCNTL_H 1 
    5742 _ACEOF 
    5743  
    5744 fi 
    5745  
    5746  
    5747 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5748   { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5749 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5750 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5751   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5752 fi 
    5753 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5754 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5755 else 
    5756   # Is the header compilable? 
    5757 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    5758 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
    5759 cat >conftest.$ac_ext <<_ACEOF 
    5760 /* confdefs.h.  */ 
    5761 _ACEOF 
    5762 cat confdefs.h >>conftest.$ac_ext 
    5763 cat >>conftest.$ac_ext <<_ACEOF 
    5764 /* end confdefs.h.  */ 
    5765 $ac_includes_default 
    5766 #include <linux/socket.h> 
    5767 _ACEOF 
    5768 rm -f conftest.$ac_objext 
    5769 if { (ac_try="$ac_compile" 
    5770 case "(($ac_try" in 
    5771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5772   *) ac_try_echo=$ac_try;; 
    5773 esac 
    5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5775   (eval "$ac_compile") 2>conftest.er1 
    5776   ac_status=$? 
    5777   grep -v '^ *+' conftest.er1 >conftest.err 
    5778   rm -f conftest.er1 
    5779   cat conftest.err >&5 
    5780   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5781   (exit $ac_status); } && { 
    5782          test -z "$ac_c_werror_flag" || 
    5783          test ! -s conftest.err 
    5784        } && test -s conftest.$ac_objext; then 
    5785   ac_header_compiler=yes 
    5786 else 
    5787   echo "$as_me: failed program was:" >&5 
    5788 sed 's/^/| /' conftest.$ac_ext >&5 
    5789  
    5790         ac_header_compiler=no 
    5791 fi 
    5792  
    5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5794 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5795 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5796  
    5797 # Is the header present? 
    5798 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    5799 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
    5800 cat >conftest.$ac_ext <<_ACEOF 
    5801 /* confdefs.h.  */ 
    5802 _ACEOF 
    5803 cat confdefs.h >>conftest.$ac_ext 
    5804 cat >>conftest.$ac_ext <<_ACEOF 
    5805 /* end confdefs.h.  */ 
    5806 #include <linux/socket.h> 
    5807 _ACEOF 
    5808 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5809 case "(($ac_try" in 
    5810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5811   *) ac_try_echo=$ac_try;; 
    5812 esac 
    5813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5814   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5815   ac_status=$? 
    5816   grep -v '^ *+' conftest.er1 >conftest.err 
    5817   rm -f conftest.er1 
    5818   cat conftest.err >&5 
    5819   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5820   (exit $ac_status); } >/dev/null && { 
    5821          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5822          test ! -s conftest.err 
    5823        }; then 
    5824   ac_header_preproc=yes 
    5825 else 
    5826   echo "$as_me: failed program was:" >&5 
    5827 sed 's/^/| /' conftest.$ac_ext >&5 
    5828  
    5829   ac_header_preproc=no 
    5830 fi 
    5831  
    5832 rm -f conftest.err conftest.$ac_ext 
    5833 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5834 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5835  
    5836 # So?  What about this header? 
    5837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5838   yes:no: ) 
    5839     { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5840 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5841     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    5842 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    5843     ac_header_preproc=yes 
    5844     ;; 
    5845   no:yes:* ) 
    5846     { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    5847 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    5848     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    5849 echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    5850     { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    5851 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    5852     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5853 echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5854     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    5855 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    5856     { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    5857 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    5858  
    5859     ;; 
    5860 esac 
    5861 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5862 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5863 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5864   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5865 else 
    5866   ac_cv_header_linux_socket_h=$ac_header_preproc 
    5867 fi 
    5868 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5869 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5870  
    5871 fi 
    5872 if test $ac_cv_header_linux_socket_h = yes; then 
    5873   cat >>confdefs.h <<\_ACEOF 
    5874 #define PJ_HAS_LINUX_SOCKET_H 1 
    5875 _ACEOF 
    5876  
    5877 fi 
    5878  
    5879  
    5880 if test "${ac_cv_header_limits_h+set}" = set; then 
    5881   { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5882 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5883 if test "${ac_cv_header_limits_h+set}" = set; then 
    5884   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5885 fi 
    5886 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    5887 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    5888 else 
    5889   # Is the header compilable? 
    5890 { echo "$as_me:$LINENO: checking limits.h usability" >&5 
    5891 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 
    5892 cat >conftest.$ac_ext <<_ACEOF 
    5893 /* confdefs.h.  */ 
    5894 _ACEOF 
    5895 cat confdefs.h >>conftest.$ac_ext 
    5896 cat >>conftest.$ac_ext <<_ACEOF 
    5897 /* end confdefs.h.  */ 
    5898 $ac_includes_default 
    5899 #include <limits.h> 
    5900 _ACEOF 
    5901 rm -f conftest.$ac_objext 
    5902 if { (ac_try="$ac_compile" 
    5903 case "(($ac_try" in 
    5904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5905   *) ac_try_echo=$ac_try;; 
    5906 esac 
    5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5908   (eval "$ac_compile") 2>conftest.er1 
    5909   ac_status=$? 
    5910   grep -v '^ *+' conftest.er1 >conftest.err 
    5911   rm -f conftest.er1 
    5912   cat conftest.err >&5 
    5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5914   (exit $ac_status); } && { 
    5915          test -z "$ac_c_werror_flag" || 
    5916          test ! -s conftest.err 
    5917        } && test -s conftest.$ac_objext; then 
    5918   ac_header_compiler=yes 
    5919 else 
    5920   echo "$as_me: failed program was:" >&5 
    5921 sed 's/^/| /' conftest.$ac_ext >&5 
    5922  
    5923         ac_header_compiler=no 
    5924 fi 
    5925  
    5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5927 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5928 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5929  
    5930 # Is the header present? 
    5931 { echo "$as_me:$LINENO: checking limits.h presence" >&5 
    5932 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 
    5933 cat >conftest.$ac_ext <<_ACEOF 
    5934 /* confdefs.h.  */ 
    5935 _ACEOF 
    5936 cat confdefs.h >>conftest.$ac_ext 
    5937 cat >>conftest.$ac_ext <<_ACEOF 
    5938 /* end confdefs.h.  */ 
    5939 #include <limits.h> 
    5940 _ACEOF 
    5941 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5942 case "(($ac_try" in 
    5943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5944   *) ac_try_echo=$ac_try;; 
    5945 esac 
    5946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5947   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5948   ac_status=$? 
    5949   grep -v '^ *+' conftest.er1 >conftest.err 
    5950   rm -f conftest.er1 
    5951   cat conftest.err >&5 
    5952   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5953   (exit $ac_status); } >/dev/null && { 
    5954          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5955          test ! -s conftest.err 
    5956        }; then 
    5957   ac_header_preproc=yes 
    5958 else 
    5959   echo "$as_me: failed program was:" >&5 
    5960 sed 's/^/| /' conftest.$ac_ext >&5 
    5961  
    5962   ac_header_preproc=no 
    5963 fi 
    5964  
    5965 rm -f conftest.err conftest.$ac_ext 
    5966 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5967 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5968  
    5969 # So?  What about this header? 
    5970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5971   yes:no: ) 
    5972     { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5973 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5974     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 
    5975 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 
    5976     ac_header_preproc=yes 
    5977     ;; 
    5978   no:yes:* ) 
    5979     { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 
    5980 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 
    5981     { echo "$as_me:$LINENO: WARNING: limits.h:     check for missing prerequisite headers?" >&5 
    5982 echo "$as_me: WARNING: limits.h:     check for missing prerequisite headers?" >&2;} 
    5983     { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 
    5984 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 
    5985     { echo "$as_me:$LINENO: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5986 echo "$as_me: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5987     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 
    5988 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 
    5989     { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 
    5990 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 
    5991  
    5992     ;; 
    5993 esac 
    5994 { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5995 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5996 if test "${ac_cv_header_limits_h+set}" = set; then 
    5997   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5998 else 
    5999   ac_cv_header_limits_h=$ac_header_preproc 
    6000 fi 
    6001 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    6002 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    6003  
    6004 fi 
    6005 if test $ac_cv_header_limits_h = yes; then 
    6006   cat >>confdefs.h <<\_ACEOF 
    6007 #define PJ_HAS_LIMITS_H 1 
    6008 _ACEOF 
    6009  
    6010 fi 
    6011  
    6012  
    6013 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6014   { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6015 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6016 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6017   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6018 fi 
    6019 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6020 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6021 else 
    6022   # Is the header compilable? 
    6023 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    6024 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
    6025 cat >conftest.$ac_ext <<_ACEOF 
    6026 /* confdefs.h.  */ 
    6027 _ACEOF 
    6028 cat confdefs.h >>conftest.$ac_ext 
    6029 cat >>conftest.$ac_ext <<_ACEOF 
    6030 /* end confdefs.h.  */ 
    6031 $ac_includes_default 
    6032 #include <malloc.h> 
    6033 _ACEOF 
    6034 rm -f conftest.$ac_objext 
    6035 if { (ac_try="$ac_compile" 
    6036 case "(($ac_try" in 
    6037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6038   *) ac_try_echo=$ac_try;; 
    6039 esac 
    6040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6041   (eval "$ac_compile") 2>conftest.er1 
    6042   ac_status=$? 
    6043   grep -v '^ *+' conftest.er1 >conftest.err 
    6044   rm -f conftest.er1 
    6045   cat conftest.err >&5 
    6046   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6047   (exit $ac_status); } && { 
    6048          test -z "$ac_c_werror_flag" || 
    6049          test ! -s conftest.err 
    6050        } && test -s conftest.$ac_objext; then 
    6051   ac_header_compiler=yes 
    6052 else 
    6053   echo "$as_me: failed program was:" >&5 
    6054 sed 's/^/| /' conftest.$ac_ext >&5 
    6055  
    6056         ac_header_compiler=no 
    6057 fi 
    6058  
    6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6060 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6061 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6062  
    6063 # Is the header present? 
    6064 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    6065 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
    6066 cat >conftest.$ac_ext <<_ACEOF 
    6067 /* confdefs.h.  */ 
    6068 _ACEOF 
    6069 cat confdefs.h >>conftest.$ac_ext 
    6070 cat >>conftest.$ac_ext <<_ACEOF 
    6071 /* end confdefs.h.  */ 
    6072 #include <malloc.h> 
    6073 _ACEOF 
    6074 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6075 case "(($ac_try" in 
    6076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6077   *) ac_try_echo=$ac_try;; 
    6078 esac 
    6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6080   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6081   ac_status=$? 
    6082   grep -v '^ *+' conftest.er1 >conftest.err 
    6083   rm -f conftest.er1 
    6084   cat conftest.err >&5 
    6085   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6086   (exit $ac_status); } >/dev/null && { 
    6087          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6088          test ! -s conftest.err 
    6089        }; then 
    6090   ac_header_preproc=yes 
    6091 else 
    6092   echo "$as_me: failed program was:" >&5 
    6093 sed 's/^/| /' conftest.$ac_ext >&5 
    6094  
    6095   ac_header_preproc=no 
    6096 fi 
    6097  
    6098 rm -f conftest.err conftest.$ac_ext 
    6099 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6100 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6101  
    6102 # So?  What about this header? 
    6103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6104   yes:no: ) 
    6105     { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6106 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6107     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    6108 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    6109     ac_header_preproc=yes 
    6110     ;; 
    6111   no:yes:* ) 
    6112     { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    6113 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    6114     { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    6115 echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    6116     { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    6117 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    6118     { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6119 echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6120     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    6121 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    6122     { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    6123 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    6124  
    6125     ;; 
    6126 esac 
    6127 { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6128 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6129 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6130   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6131 else 
    6132   ac_cv_header_malloc_h=$ac_header_preproc 
    6133 fi 
    6134 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6135 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6136  
    6137 fi 
    6138 if test $ac_cv_header_malloc_h = yes; then 
    6139   cat >>confdefs.h <<\_ACEOF 
    6140 #define PJ_HAS_MALLOC_H 1 
    6141 _ACEOF 
    6142  
    6143 fi 
    6144  
    6145  
    6146 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6147   { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6148 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6149 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6150   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6151 fi 
    6152 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6153 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6154 else 
    6155   # Is the header compilable? 
    6156 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6157 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
    6158 cat >conftest.$ac_ext <<_ACEOF 
    6159 /* confdefs.h.  */ 
    6160 _ACEOF 
    6161 cat confdefs.h >>conftest.$ac_ext 
    6162 cat >>conftest.$ac_ext <<_ACEOF 
    6163 /* end confdefs.h.  */ 
    6164 $ac_includes_default 
    6165 #include <netdb.h> 
    6166 _ACEOF 
    6167 rm -f conftest.$ac_objext 
    6168 if { (ac_try="$ac_compile" 
    6169 case "(($ac_try" in 
    6170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6171   *) ac_try_echo=$ac_try;; 
    6172 esac 
    6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6174   (eval "$ac_compile") 2>conftest.er1 
    6175   ac_status=$? 
    6176   grep -v '^ *+' conftest.er1 >conftest.err 
    6177   rm -f conftest.er1 
    6178   cat conftest.err >&5 
    6179   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6180   (exit $ac_status); } && { 
    6181          test -z "$ac_c_werror_flag" || 
    6182          test ! -s conftest.err 
    6183        } && test -s conftest.$ac_objext; then 
    6184   ac_header_compiler=yes 
    6185 else 
    6186   echo "$as_me: failed program was:" >&5 
    6187 sed 's/^/| /' conftest.$ac_ext >&5 
    6188  
    6189         ac_header_compiler=no 
    6190 fi 
    6191  
    6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6194 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6195  
    6196 # Is the header present? 
    6197 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6198 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
    6199 cat >conftest.$ac_ext <<_ACEOF 
    6200 /* confdefs.h.  */ 
    6201 _ACEOF 
    6202 cat confdefs.h >>conftest.$ac_ext 
    6203 cat >>conftest.$ac_ext <<_ACEOF 
    6204 /* end confdefs.h.  */ 
    6205 #include <netdb.h> 
    6206 _ACEOF 
    6207 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6208 case "(($ac_try" in 
    6209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6210   *) ac_try_echo=$ac_try;; 
    6211 esac 
    6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6213   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6214   ac_status=$? 
    6215   grep -v '^ *+' conftest.er1 >conftest.err 
    6216   rm -f conftest.er1 
    6217   cat conftest.err >&5 
    6218   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6219   (exit $ac_status); } >/dev/null && { 
    6220          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6221          test ! -s conftest.err 
    6222        }; then 
    6223   ac_header_preproc=yes 
    6224 else 
    6225   echo "$as_me: failed program was:" >&5 
    6226 sed 's/^/| /' conftest.$ac_ext >&5 
    6227  
    6228   ac_header_preproc=no 
    6229 fi 
    6230  
    6231 rm -f conftest.err conftest.$ac_ext 
    6232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6233 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6234  
    6235 # So?  What about this header? 
    6236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6237   yes:no: ) 
    6238     { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6239 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6240     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6241 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6242     ac_header_preproc=yes 
    6243     ;; 
    6244   no:yes:* ) 
    6245     { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6246 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6247     { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6248 echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6249     { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6250 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6251     { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6252 echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6253     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6254 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6255     { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6256 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6257  
    6258     ;; 
    6259 esac 
    6260 { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6261 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6262 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6263   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6264 else 
    6265   ac_cv_header_netdb_h=$ac_header_preproc 
    6266 fi 
    6267 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6268 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6269  
    6270 fi 
    6271 if test $ac_cv_header_netdb_h = yes; then 
    6272   cat >>confdefs.h <<\_ACEOF 
    6273 #define PJ_HAS_NETDB_H 1 
    6274 _ACEOF 
    6275  
    6276 fi 
    6277  
    6278  
    6279 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6280   { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6281 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6282 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6283   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6284 fi 
    6285 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6286 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6287 else 
    6288   # Is the header compilable? 
    6289 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6290 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
    6291 cat >conftest.$ac_ext <<_ACEOF 
    6292 /* confdefs.h.  */ 
    6293 _ACEOF 
    6294 cat confdefs.h >>conftest.$ac_ext 
    6295 cat >>conftest.$ac_ext <<_ACEOF 
    6296 /* end confdefs.h.  */ 
    6297 $ac_includes_default 
    6298 #include <netinet/in_systm.h> 
    6299 _ACEOF 
    6300 rm -f conftest.$ac_objext 
    6301 if { (ac_try="$ac_compile" 
    6302 case "(($ac_try" in 
    6303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6304   *) ac_try_echo=$ac_try;; 
    6305 esac 
    6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6307   (eval "$ac_compile") 2>conftest.er1 
    6308   ac_status=$? 
    6309   grep -v '^ *+' conftest.er1 >conftest.err 
    6310   rm -f conftest.er1 
    6311   cat conftest.err >&5 
    6312   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6313   (exit $ac_status); } && { 
    6314          test -z "$ac_c_werror_flag" || 
    6315          test ! -s conftest.err 
    6316        } && test -s conftest.$ac_objext; then 
    6317   ac_header_compiler=yes 
    6318 else 
    6319   echo "$as_me: failed program was:" >&5 
    6320 sed 's/^/| /' conftest.$ac_ext >&5 
    6321  
    6322         ac_header_compiler=no 
    6323 fi 
    6324  
    6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6326 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6327 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6328  
    6329 # Is the header present? 
    6330 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6331 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
    6332 cat >conftest.$ac_ext <<_ACEOF 
    6333 /* confdefs.h.  */ 
    6334 _ACEOF 
    6335 cat confdefs.h >>conftest.$ac_ext 
    6336 cat >>conftest.$ac_ext <<_ACEOF 
    6337 /* end confdefs.h.  */ 
    6338 #include <netinet/in_systm.h> 
    6339 _ACEOF 
    6340 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6341 case "(($ac_try" in 
    6342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6343   *) ac_try_echo=$ac_try;; 
    6344 esac 
    6345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6346   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6347   ac_status=$? 
    6348   grep -v '^ *+' conftest.er1 >conftest.err 
    6349   rm -f conftest.er1 
    6350   cat conftest.err >&5 
    6351   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6352   (exit $ac_status); } >/dev/null && { 
    6353          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6354          test ! -s conftest.err 
    6355        }; then 
    6356   ac_header_preproc=yes 
    6357 else 
    6358   echo "$as_me: failed program was:" >&5 
    6359 sed 's/^/| /' conftest.$ac_ext >&5 
    6360  
    6361   ac_header_preproc=no 
    6362 fi 
    6363  
    6364 rm -f conftest.err conftest.$ac_ext 
    6365 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6366 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6367  
    6368 # So?  What about this header? 
    6369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6370   yes:no: ) 
    6371     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6372 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6373     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6374 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6375     ac_header_preproc=yes 
    6376     ;; 
    6377   no:yes:* ) 
    6378     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6379 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6380     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6381 echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6382     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6383 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6384     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6385 echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6386     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6387 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6388     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6389 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6390  
    6391     ;; 
    6392 esac 
    6393 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6394 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6395 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6396   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6397 else 
    6398   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6399 fi 
    6400 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6401 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6402  
    6403 fi 
    6404 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6405   cat >>confdefs.h <<\_ACEOF 
    6406 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6407 _ACEOF 
    6408  
    6409 fi 
    6410  
    6411  
    6412 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6413   { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6414 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6415 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6416   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6417 fi 
    6418 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6419 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6420 else 
    6421   # Is the header compilable? 
    6422 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6423 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
    6424 cat >conftest.$ac_ext <<_ACEOF 
    6425 /* confdefs.h.  */ 
    6426 _ACEOF 
    6427 cat confdefs.h >>conftest.$ac_ext 
    6428 cat >>conftest.$ac_ext <<_ACEOF 
    6429 /* end confdefs.h.  */ 
    6430 $ac_includes_default 
    6431 #include <netinet/in.h> 
    6432 _ACEOF 
    6433 rm -f conftest.$ac_objext 
    6434 if { (ac_try="$ac_compile" 
    6435 case "(($ac_try" in 
    6436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6437   *) ac_try_echo=$ac_try;; 
    6438 esac 
    6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6440   (eval "$ac_compile") 2>conftest.er1 
    6441   ac_status=$? 
    6442   grep -v '^ *+' conftest.er1 >conftest.err 
    6443   rm -f conftest.er1 
    6444   cat conftest.err >&5 
    6445   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6446   (exit $ac_status); } && { 
    6447          test -z "$ac_c_werror_flag" || 
    6448          test ! -s conftest.err 
    6449        } && test -s conftest.$ac_objext; then 
    6450   ac_header_compiler=yes 
    6451 else 
    6452   echo "$as_me: failed program was:" >&5 
    6453 sed 's/^/| /' conftest.$ac_ext >&5 
    6454  
    6455         ac_header_compiler=no 
    6456 fi 
    6457  
    6458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6460 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6461  
    6462 # Is the header present? 
    6463 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6464 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
    6465 cat >conftest.$ac_ext <<_ACEOF 
    6466 /* confdefs.h.  */ 
    6467 _ACEOF 
    6468 cat confdefs.h >>conftest.$ac_ext 
    6469 cat >>conftest.$ac_ext <<_ACEOF 
    6470 /* end confdefs.h.  */ 
    6471 #include <netinet/in.h> 
    6472 _ACEOF 
    6473 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6474 case "(($ac_try" in 
    6475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6476   *) ac_try_echo=$ac_try;; 
    6477 esac 
    6478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6479   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6480   ac_status=$? 
    6481   grep -v '^ *+' conftest.er1 >conftest.err 
    6482   rm -f conftest.er1 
    6483   cat conftest.err >&5 
    6484   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6485   (exit $ac_status); } >/dev/null && { 
    6486          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6487          test ! -s conftest.err 
    6488        }; then 
    6489   ac_header_preproc=yes 
    6490 else 
    6491   echo "$as_me: failed program was:" >&5 
    6492 sed 's/^/| /' conftest.$ac_ext >&5 
    6493  
    6494   ac_header_preproc=no 
    6495 fi 
    6496  
    6497 rm -f conftest.err conftest.$ac_ext 
    6498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6499 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6500  
    6501 # So?  What about this header? 
    6502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6503   yes:no: ) 
    6504     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6505 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6506     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    6507 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    6508     ac_header_preproc=yes 
    6509     ;; 
    6510   no:yes:* ) 
    6511     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    6512 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    6513     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    6514 echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    6515     { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    6516 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    6517     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6518 echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6519     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    6520 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    6521     { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    6522 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    6523  
    6524     ;; 
    6525 esac 
    6526 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6527 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6528 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6529   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6530 else 
    6531   ac_cv_header_netinet_in_h=$ac_header_preproc 
    6532 fi 
    6533 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6534 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6535  
    6536 fi 
    6537 if test $ac_cv_header_netinet_in_h = yes; then 
    6538   cat >>confdefs.h <<\_ACEOF 
    6539 #define PJ_HAS_NETINET_IN_H 1 
    6540 _ACEOF 
    6541  
    6542 fi 
    6543  
    6544  
    6545 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
    6546 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
    6547 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
    6548   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6549 else 
    6550   cat >conftest.$ac_ext <<_ACEOF 
    6551 /* confdefs.h.  */ 
    6552 _ACEOF 
    6553 cat confdefs.h >>conftest.$ac_ext 
    6554 cat >>conftest.$ac_ext <<_ACEOF 
    6555 /* end confdefs.h.  */ 
    6556 #if PJ_HAS_SYS_TYPES_H 
     4728ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
     4729if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4730  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
     4731 
     4732fi 
     4733 
     4734 
     4735ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
     4736if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4737  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
     4738 
     4739fi 
     4740 
     4741 
     4742ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 
     4743if test "x$ac_cv_header_limits_h" = x""yes; then : 
     4744  $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 
     4745 
     4746fi 
     4747 
     4748 
     4749ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
     4750if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4751  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
     4752 
     4753fi 
     4754 
     4755 
     4756ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
     4757if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4758  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
     4759 
     4760fi 
     4761 
     4762 
     4763ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
     4764if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4765  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
     4766 
     4767fi 
     4768 
     4769 
     4770ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
     4771if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4772  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
     4773 
     4774fi 
     4775 
     4776 
     4777ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
    65574778                  #     include <sys/types.h> 
    65584779                  #endif 
     
    65644785                  #endif 
    65654786 
    6566  
    6567 #include <netinet/ip.h> 
    6568 _ACEOF 
    6569 rm -f conftest.$ac_objext 
    6570 if { (ac_try="$ac_compile" 
    6571 case "(($ac_try" in 
    6572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6573   *) ac_try_echo=$ac_try;; 
    6574 esac 
    6575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6576   (eval "$ac_compile") 2>conftest.er1 
    6577   ac_status=$? 
    6578   grep -v '^ *+' conftest.er1 >conftest.err 
    6579   rm -f conftest.er1 
    6580   cat conftest.err >&5 
    6581   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6582   (exit $ac_status); } && { 
    6583          test -z "$ac_c_werror_flag" || 
    6584          test ! -s conftest.err 
    6585        } && test -s conftest.$ac_objext; then 
    6586   ac_cv_header_netinet_ip_h=yes 
    6587 else 
    6588   echo "$as_me: failed program was:" >&5 
    6589 sed 's/^/| /' conftest.$ac_ext >&5 
    6590  
    6591         ac_cv_header_netinet_ip_h=no 
    6592 fi 
    6593  
    6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6595 fi 
    6596 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
    6597 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
    6598 if test $ac_cv_header_netinet_ip_h = yes; then 
    6599   cat >>confdefs.h <<\_ACEOF 
    6600 #define PJ_HAS_NETINET_IP_H 1 
    6601 _ACEOF 
    6602  
    6603 fi 
    6604  
    6605  
    6606 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6607   { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6608 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6609 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6610   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6611 fi 
    6612 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6613 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6614 else 
    6615   # Is the header compilable? 
    6616 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
    6617 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
    6618 cat >conftest.$ac_ext <<_ACEOF 
    6619 /* confdefs.h.  */ 
    6620 _ACEOF 
    6621 cat confdefs.h >>conftest.$ac_ext 
    6622 cat >>conftest.$ac_ext <<_ACEOF 
    6623 /* end confdefs.h.  */ 
    6624 $ac_includes_default 
    6625 #include <netinet/tcp.h> 
    6626 _ACEOF 
    6627 rm -f conftest.$ac_objext 
    6628 if { (ac_try="$ac_compile" 
    6629 case "(($ac_try" in 
    6630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6631   *) ac_try_echo=$ac_try;; 
    6632 esac 
    6633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6634   (eval "$ac_compile") 2>conftest.er1 
    6635   ac_status=$? 
    6636   grep -v '^ *+' conftest.er1 >conftest.err 
    6637   rm -f conftest.er1 
    6638   cat conftest.err >&5 
    6639   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6640   (exit $ac_status); } && { 
    6641          test -z "$ac_c_werror_flag" || 
    6642          test ! -s conftest.err 
    6643        } && test -s conftest.$ac_objext; then 
    6644   ac_header_compiler=yes 
    6645 else 
    6646   echo "$as_me: failed program was:" >&5 
    6647 sed 's/^/| /' conftest.$ac_ext >&5 
    6648  
    6649         ac_header_compiler=no 
    6650 fi 
    6651  
    6652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6654 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6655  
    6656 # Is the header present? 
    6657 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
    6658 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
    6659 cat >conftest.$ac_ext <<_ACEOF 
    6660 /* confdefs.h.  */ 
    6661 _ACEOF 
    6662 cat confdefs.h >>conftest.$ac_ext 
    6663 cat >>conftest.$ac_ext <<_ACEOF 
    6664 /* end confdefs.h.  */ 
    6665 #include <netinet/tcp.h> 
    6666 _ACEOF 
    6667 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6668 case "(($ac_try" in 
    6669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6670   *) ac_try_echo=$ac_try;; 
    6671 esac 
    6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6673   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6674   ac_status=$? 
    6675   grep -v '^ *+' conftest.er1 >conftest.err 
    6676   rm -f conftest.er1 
    6677   cat conftest.err >&5 
    6678   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6679   (exit $ac_status); } >/dev/null && { 
    6680          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6681          test ! -s conftest.err 
    6682        }; then 
    6683   ac_header_preproc=yes 
    6684 else 
    6685   echo "$as_me: failed program was:" >&5 
    6686 sed 's/^/| /' conftest.$ac_ext >&5 
    6687  
    6688   ac_header_preproc=no 
    6689 fi 
    6690  
    6691 rm -f conftest.err conftest.$ac_ext 
    6692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6693 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6694  
    6695 # So?  What about this header? 
    6696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6697   yes:no: ) 
    6698     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6699 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6700     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
    6701 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
    6702     ac_header_preproc=yes 
    6703     ;; 
    6704   no:yes:* ) 
    6705     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
    6706 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
    6707     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
    6708 echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
    6709     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
    6710 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
    6711     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6712 echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6713     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
    6714 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
    6715     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
    6716 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
    6717  
    6718     ;; 
    6719 esac 
    6720 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6721 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6722 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6723   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6724 else 
    6725   ac_cv_header_netinet_tcp_h=$ac_header_preproc 
    6726 fi 
    6727 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6728 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6729  
    6730 fi 
    6731 if test $ac_cv_header_netinet_tcp_h = yes; then 
    6732   cat >>confdefs.h <<\_ACEOF 
    6733 #define PJ_HAS_NETINET_TCP_H 1 
    6734 _ACEOF 
    6735  
    6736 fi 
    6737  
    6738  
    6739 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6740   { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6741 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6742 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6743   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6744 fi 
    6745 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6746 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6747 else 
    6748   # Is the header compilable? 
    6749 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
    6750 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
    6751 cat >conftest.$ac_ext <<_ACEOF 
    6752 /* confdefs.h.  */ 
    6753 _ACEOF 
    6754 cat confdefs.h >>conftest.$ac_ext 
    6755 cat >>conftest.$ac_ext <<_ACEOF 
    6756 /* end confdefs.h.  */ 
    6757 $ac_includes_default 
    6758 #include <ifaddrs.h> 
    6759 _ACEOF 
    6760 rm -f conftest.$ac_objext 
    6761 if { (ac_try="$ac_compile" 
    6762 case "(($ac_try" in 
    6763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6764   *) ac_try_echo=$ac_try;; 
    6765 esac 
    6766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6767   (eval "$ac_compile") 2>conftest.er1 
    6768   ac_status=$? 
    6769   grep -v '^ *+' conftest.er1 >conftest.err 
    6770   rm -f conftest.er1 
    6771   cat conftest.err >&5 
    6772   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6773   (exit $ac_status); } && { 
    6774          test -z "$ac_c_werror_flag" || 
    6775          test ! -s conftest.err 
    6776        } && test -s conftest.$ac_objext; then 
    6777   ac_header_compiler=yes 
    6778 else 
    6779   echo "$as_me: failed program was:" >&5 
    6780 sed 's/^/| /' conftest.$ac_ext >&5 
    6781  
    6782         ac_header_compiler=no 
    6783 fi 
    6784  
    6785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6786 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6787 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6788  
    6789 # Is the header present? 
    6790 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
    6791 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
    6792 cat >conftest.$ac_ext <<_ACEOF 
    6793 /* confdefs.h.  */ 
    6794 _ACEOF 
    6795 cat confdefs.h >>conftest.$ac_ext 
    6796 cat >>conftest.$ac_ext <<_ACEOF 
    6797 /* end confdefs.h.  */ 
    6798 #include <ifaddrs.h> 
    6799 _ACEOF 
    6800 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6801 case "(($ac_try" in 
    6802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6803   *) ac_try_echo=$ac_try;; 
    6804 esac 
    6805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6806   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6807   ac_status=$? 
    6808   grep -v '^ *+' conftest.er1 >conftest.err 
    6809   rm -f conftest.er1 
    6810   cat conftest.err >&5 
    6811   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6812   (exit $ac_status); } >/dev/null && { 
    6813          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6814          test ! -s conftest.err 
    6815        }; then 
    6816   ac_header_preproc=yes 
    6817 else 
    6818   echo "$as_me: failed program was:" >&5 
    6819 sed 's/^/| /' conftest.$ac_ext >&5 
    6820  
    6821   ac_header_preproc=no 
    6822 fi 
    6823  
    6824 rm -f conftest.err conftest.$ac_ext 
    6825 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6826 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6827  
    6828 # So?  What about this header? 
    6829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6830   yes:no: ) 
    6831     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6832 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6833     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
    6834 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
    6835     ac_header_preproc=yes 
    6836     ;; 
    6837   no:yes:* ) 
    6838     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
    6839 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
    6840     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
    6841 echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
    6842     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
    6843 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
    6844     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6845 echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6846     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
    6847 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
    6848     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
    6849 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
    6850  
    6851     ;; 
    6852 esac 
    6853 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6854 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6855 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6856   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6857 else 
    6858   ac_cv_header_ifaddrs_h=$ac_header_preproc 
    6859 fi 
    6860 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6861 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6862  
    6863 fi 
    6864 if test $ac_cv_header_ifaddrs_h = yes; then 
    6865   { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
    6866 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
    6867 if test "${ac_cv_func_getifaddrs+set}" = set; then 
    6868   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6869 else 
    6870   cat >conftest.$ac_ext <<_ACEOF 
    6871 /* confdefs.h.  */ 
    6872 _ACEOF 
    6873 cat confdefs.h >>conftest.$ac_ext 
    6874 cat >>conftest.$ac_ext <<_ACEOF 
    6875 /* end confdefs.h.  */ 
    6876 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
    6877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    6878 #define getifaddrs innocuous_getifaddrs 
    6879  
    6880 /* System header to define __stub macros and hopefully few prototypes, 
    6881     which can conflict with char getifaddrs (); below. 
    6882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6883     <limits.h> exists even on freestanding compilers.  */ 
    6884  
    6885 #ifdef __STDC__ 
    6886 # include <limits.h> 
    6887 #else 
    6888 # include <assert.h> 
    6889 #endif 
    6890  
    6891 #undef getifaddrs 
    6892  
    6893 /* Override any GCC internal prototype to avoid an error. 
    6894    Use char because int might match the return type of a GCC 
    6895    builtin and then its argument prototype would still apply.  */ 
    6896 #ifdef __cplusplus 
    6897 extern "C" 
    6898 #endif 
    6899 char getifaddrs (); 
    6900 /* The GNU C library defines this for functions which it implements 
    6901     to always fail with ENOSYS.  Some functions are actually named 
    6902     something starting with __ and the normal name is an alias.  */ 
    6903 #if defined __stub_getifaddrs || defined __stub___getifaddrs 
    6904 choke me 
    6905 #endif 
    6906  
    6907 int 
    6908 main () 
    6909 { 
    6910 return getifaddrs (); 
    6911   ; 
    6912   return 0; 
    6913 } 
    6914 _ACEOF 
    6915 rm -f conftest.$ac_objext conftest$ac_exeext 
    6916 if { (ac_try="$ac_link" 
    6917 case "(($ac_try" in 
    6918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6919   *) ac_try_echo=$ac_try;; 
    6920 esac 
    6921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6922   (eval "$ac_link") 2>conftest.er1 
    6923   ac_status=$? 
    6924   grep -v '^ *+' conftest.er1 >conftest.err 
    6925   rm -f conftest.er1 
    6926   cat conftest.err >&5 
    6927   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6928   (exit $ac_status); } && { 
    6929          test -z "$ac_c_werror_flag" || 
    6930          test ! -s conftest.err 
    6931        } && test -s conftest$ac_exeext && 
    6932        $as_test_x conftest$ac_exeext; then 
    6933   ac_cv_func_getifaddrs=yes 
    6934 else 
    6935   echo "$as_me: failed program was:" >&5 
    6936 sed 's/^/| /' conftest.$ac_ext >&5 
    6937  
    6938         ac_cv_func_getifaddrs=no 
    6939 fi 
    6940  
    6941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    6942       conftest$ac_exeext conftest.$ac_ext 
    6943 fi 
    6944 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
    6945 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
    6946 if test $ac_cv_func_getifaddrs = yes; then 
    6947   cat >>confdefs.h <<\_ACEOF 
    6948 #define PJ_HAS_IFADDRS_H 1 
    6949 _ACEOF 
    6950  
    6951 fi 
    6952  
    6953 fi 
    6954  
    6955  
    6956 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6957   { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    6958 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    6959 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6960   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6961 fi 
    6962 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    6963 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    6964 else 
    6965   # Is the header compilable? 
    6966 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
    6967 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
    6968 cat >conftest.$ac_ext <<_ACEOF 
    6969 /* confdefs.h.  */ 
    6970 _ACEOF 
    6971 cat confdefs.h >>conftest.$ac_ext 
    6972 cat >>conftest.$ac_ext <<_ACEOF 
    6973 /* end confdefs.h.  */ 
    6974 $ac_includes_default 
    6975 #include <semaphore.h> 
    6976 _ACEOF 
    6977 rm -f conftest.$ac_objext 
    6978 if { (ac_try="$ac_compile" 
    6979 case "(($ac_try" in 
    6980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6981   *) ac_try_echo=$ac_try;; 
    6982 esac 
    6983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6984   (eval "$ac_compile") 2>conftest.er1 
    6985   ac_status=$? 
    6986   grep -v '^ *+' conftest.er1 >conftest.err 
    6987   rm -f conftest.er1 
    6988   cat conftest.err >&5 
    6989   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6990   (exit $ac_status); } && { 
    6991          test -z "$ac_c_werror_flag" || 
    6992          test ! -s conftest.err 
    6993        } && test -s conftest.$ac_objext; then 
    6994   ac_header_compiler=yes 
    6995 else 
    6996   echo "$as_me: failed program was:" >&5 
    6997 sed 's/^/| /' conftest.$ac_ext >&5 
    6998  
    6999         ac_header_compiler=no 
    7000 fi 
    7001  
    7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7004 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7005  
    7006 # Is the header present? 
    7007 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
    7008 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
    7009 cat >conftest.$ac_ext <<_ACEOF 
    7010 /* confdefs.h.  */ 
    7011 _ACEOF 
    7012 cat confdefs.h >>conftest.$ac_ext 
    7013 cat >>conftest.$ac_ext <<_ACEOF 
    7014 /* end confdefs.h.  */ 
    7015 #include <semaphore.h> 
    7016 _ACEOF 
    7017 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7018 case "(($ac_try" in 
    7019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7020   *) ac_try_echo=$ac_try;; 
    7021 esac 
    7022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7023   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7024   ac_status=$? 
    7025   grep -v '^ *+' conftest.er1 >conftest.err 
    7026   rm -f conftest.er1 
    7027   cat conftest.err >&5 
    7028   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7029   (exit $ac_status); } >/dev/null && { 
    7030          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7031          test ! -s conftest.err 
    7032        }; then 
    7033   ac_header_preproc=yes 
    7034 else 
    7035   echo "$as_me: failed program was:" >&5 
    7036 sed 's/^/| /' conftest.$ac_ext >&5 
    7037  
    7038   ac_header_preproc=no 
    7039 fi 
    7040  
    7041 rm -f conftest.err conftest.$ac_ext 
    7042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7043 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7044  
    7045 # So?  What about this header? 
    7046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7047   yes:no: ) 
    7048     { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7049 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7050     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
    7051 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
    7052     ac_header_preproc=yes 
    7053     ;; 
    7054   no:yes:* ) 
    7055     { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
    7056 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
    7057     { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
    7058 echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
    7059     { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
    7060 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
    7061     { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7062 echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7063     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
    7064 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
    7065     { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
    7066 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
    7067  
    7068     ;; 
    7069 esac 
    7070 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    7071 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    7072 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7073   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7074 else 
    7075   ac_cv_header_semaphore_h=$ac_header_preproc 
    7076 fi 
    7077 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    7078 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    7079  
    7080 fi 
    7081 if test $ac_cv_header_semaphore_h = yes; then 
    7082   cat >>confdefs.h <<\_ACEOF 
    7083 #define PJ_HAS_SEMAPHORE_H 1 
    7084 _ACEOF 
    7085  
    7086 fi 
    7087  
    7088  
    7089 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7090   { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7091 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7092 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7093   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7094 fi 
    7095 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7096 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7097 else 
    7098   # Is the header compilable? 
    7099 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    7100 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
    7101 cat >conftest.$ac_ext <<_ACEOF 
    7102 /* confdefs.h.  */ 
    7103 _ACEOF 
    7104 cat confdefs.h >>conftest.$ac_ext 
    7105 cat >>conftest.$ac_ext <<_ACEOF 
    7106 /* end confdefs.h.  */ 
    7107 $ac_includes_default 
    7108 #include <setjmp.h> 
    7109 _ACEOF 
    7110 rm -f conftest.$ac_objext 
    7111 if { (ac_try="$ac_compile" 
    7112 case "(($ac_try" in 
    7113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7114   *) ac_try_echo=$ac_try;; 
    7115 esac 
    7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7117   (eval "$ac_compile") 2>conftest.er1 
    7118   ac_status=$? 
    7119   grep -v '^ *+' conftest.er1 >conftest.err 
    7120   rm -f conftest.er1 
    7121   cat conftest.err >&5 
    7122   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7123   (exit $ac_status); } && { 
    7124          test -z "$ac_c_werror_flag" || 
    7125          test ! -s conftest.err 
    7126        } && test -s conftest.$ac_objext; then 
    7127   ac_header_compiler=yes 
    7128 else 
    7129   echo "$as_me: failed program was:" >&5 
    7130 sed 's/^/| /' conftest.$ac_ext >&5 
    7131  
    7132         ac_header_compiler=no 
    7133 fi 
    7134  
    7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7136 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7137 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7138  
    7139 # Is the header present? 
    7140 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    7141 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
    7142 cat >conftest.$ac_ext <<_ACEOF 
    7143 /* confdefs.h.  */ 
    7144 _ACEOF 
    7145 cat confdefs.h >>conftest.$ac_ext 
    7146 cat >>conftest.$ac_ext <<_ACEOF 
    7147 /* end confdefs.h.  */ 
    7148 #include <setjmp.h> 
    7149 _ACEOF 
    7150 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7151 case "(($ac_try" in 
    7152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7153   *) ac_try_echo=$ac_try;; 
    7154 esac 
    7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7156   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7157   ac_status=$? 
    7158   grep -v '^ *+' conftest.er1 >conftest.err 
    7159   rm -f conftest.er1 
    7160   cat conftest.err >&5 
    7161   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7162   (exit $ac_status); } >/dev/null && { 
    7163          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7164          test ! -s conftest.err 
    7165        }; then 
    7166   ac_header_preproc=yes 
    7167 else 
    7168   echo "$as_me: failed program was:" >&5 
    7169 sed 's/^/| /' conftest.$ac_ext >&5 
    7170  
    7171   ac_header_preproc=no 
    7172 fi 
    7173  
    7174 rm -f conftest.err conftest.$ac_ext 
    7175 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7176 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7177  
    7178 # So?  What about this header? 
    7179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7180   yes:no: ) 
    7181     { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7182 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7183     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    7184 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    7185     ac_header_preproc=yes 
    7186     ;; 
    7187   no:yes:* ) 
    7188     { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    7189 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    7190     { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    7191 echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    7192     { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    7193 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    7194     { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7195 echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7196     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    7197 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    7198     { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    7199 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    7200  
    7201     ;; 
    7202 esac 
    7203 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7204 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7205 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7206   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7207 else 
    7208   ac_cv_header_setjmp_h=$ac_header_preproc 
    7209 fi 
    7210 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7211 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7212  
    7213 fi 
    7214 if test $ac_cv_header_setjmp_h = yes; then 
    7215   cat >>confdefs.h <<\_ACEOF 
    7216 #define PJ_HAS_SETJMP_H 1 
    7217 _ACEOF 
    7218  
    7219 fi 
    7220  
    7221  
    7222 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7223   { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7224 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7225 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7226   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7227 fi 
    7228 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7229 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7230 else 
    7231   # Is the header compilable? 
    7232 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    7233 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
    7234 cat >conftest.$ac_ext <<_ACEOF 
    7235 /* confdefs.h.  */ 
    7236 _ACEOF 
    7237 cat confdefs.h >>conftest.$ac_ext 
    7238 cat >>conftest.$ac_ext <<_ACEOF 
    7239 /* end confdefs.h.  */ 
    7240 $ac_includes_default 
    7241 #include <stdarg.h> 
    7242 _ACEOF 
    7243 rm -f conftest.$ac_objext 
    7244 if { (ac_try="$ac_compile" 
    7245 case "(($ac_try" in 
    7246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7247   *) ac_try_echo=$ac_try;; 
    7248 esac 
    7249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7250   (eval "$ac_compile") 2>conftest.er1 
    7251   ac_status=$? 
    7252   grep -v '^ *+' conftest.er1 >conftest.err 
    7253   rm -f conftest.er1 
    7254   cat conftest.err >&5 
    7255   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7256   (exit $ac_status); } && { 
    7257          test -z "$ac_c_werror_flag" || 
    7258          test ! -s conftest.err 
    7259        } && test -s conftest.$ac_objext; then 
    7260   ac_header_compiler=yes 
    7261 else 
    7262   echo "$as_me: failed program was:" >&5 
    7263 sed 's/^/| /' conftest.$ac_ext >&5 
    7264  
    7265         ac_header_compiler=no 
    7266 fi 
    7267  
    7268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7269 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7270 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7271  
    7272 # Is the header present? 
    7273 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    7274 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
    7275 cat >conftest.$ac_ext <<_ACEOF 
    7276 /* confdefs.h.  */ 
    7277 _ACEOF 
    7278 cat confdefs.h >>conftest.$ac_ext 
    7279 cat >>conftest.$ac_ext <<_ACEOF 
    7280 /* end confdefs.h.  */ 
    7281 #include <stdarg.h> 
    7282 _ACEOF 
    7283 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7284 case "(($ac_try" in 
    7285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7286   *) ac_try_echo=$ac_try;; 
    7287 esac 
    7288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7289   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7290   ac_status=$? 
    7291   grep -v '^ *+' conftest.er1 >conftest.err 
    7292   rm -f conftest.er1 
    7293   cat conftest.err >&5 
    7294   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7295   (exit $ac_status); } >/dev/null && { 
    7296          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7297          test ! -s conftest.err 
    7298        }; then 
    7299   ac_header_preproc=yes 
    7300 else 
    7301   echo "$as_me: failed program was:" >&5 
    7302 sed 's/^/| /' conftest.$ac_ext >&5 
    7303  
    7304   ac_header_preproc=no 
    7305 fi 
    7306  
    7307 rm -f conftest.err conftest.$ac_ext 
    7308 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7309 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7310  
    7311 # So?  What about this header? 
    7312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7313   yes:no: ) 
    7314     { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7315 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7316     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    7317 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    7318     ac_header_preproc=yes 
    7319     ;; 
    7320   no:yes:* ) 
    7321     { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    7322 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    7323     { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    7324 echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    7325     { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    7326 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    7327     { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7328 echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7329     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    7330 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    7331     { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    7332 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    7333  
    7334     ;; 
    7335 esac 
    7336 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7337 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7338 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7339   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7340 else 
    7341   ac_cv_header_stdarg_h=$ac_header_preproc 
    7342 fi 
    7343 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7344 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7345  
    7346 fi 
    7347 if test $ac_cv_header_stdarg_h = yes; then 
    7348   cat >>confdefs.h <<\_ACEOF 
    7349 #define PJ_HAS_STDARG_H 1 
    7350 _ACEOF 
    7351  
    7352 fi 
    7353  
    7354  
    7355 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7356   { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7357 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7358 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7359   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7360 fi 
    7361 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7362 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7363 else 
    7364   # Is the header compilable? 
    7365 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    7366 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
    7367 cat >conftest.$ac_ext <<_ACEOF 
    7368 /* confdefs.h.  */ 
    7369 _ACEOF 
    7370 cat confdefs.h >>conftest.$ac_ext 
    7371 cat >>conftest.$ac_ext <<_ACEOF 
    7372 /* end confdefs.h.  */ 
    7373 $ac_includes_default 
    7374 #include <stddef.h> 
    7375 _ACEOF 
    7376 rm -f conftest.$ac_objext 
    7377 if { (ac_try="$ac_compile" 
    7378 case "(($ac_try" in 
    7379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7380   *) ac_try_echo=$ac_try;; 
    7381 esac 
    7382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7383   (eval "$ac_compile") 2>conftest.er1 
    7384   ac_status=$? 
    7385   grep -v '^ *+' conftest.er1 >conftest.err 
    7386   rm -f conftest.er1 
    7387   cat conftest.err >&5 
    7388   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7389   (exit $ac_status); } && { 
    7390          test -z "$ac_c_werror_flag" || 
    7391          test ! -s conftest.err 
    7392        } && test -s conftest.$ac_objext; then 
    7393   ac_header_compiler=yes 
    7394 else 
    7395   echo "$as_me: failed program was:" >&5 
    7396 sed 's/^/| /' conftest.$ac_ext >&5 
    7397  
    7398         ac_header_compiler=no 
    7399 fi 
    7400  
    7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7403 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7404  
    7405 # Is the header present? 
    7406 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    7407 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
    7408 cat >conftest.$ac_ext <<_ACEOF 
    7409 /* confdefs.h.  */ 
    7410 _ACEOF 
    7411 cat confdefs.h >>conftest.$ac_ext 
    7412 cat >>conftest.$ac_ext <<_ACEOF 
    7413 /* end confdefs.h.  */ 
    7414 #include <stddef.h> 
    7415 _ACEOF 
    7416 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7417 case "(($ac_try" in 
    7418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7419   *) ac_try_echo=$ac_try;; 
    7420 esac 
    7421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7422   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7423   ac_status=$? 
    7424   grep -v '^ *+' conftest.er1 >conftest.err 
    7425   rm -f conftest.er1 
    7426   cat conftest.err >&5 
    7427   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7428   (exit $ac_status); } >/dev/null && { 
    7429          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7430          test ! -s conftest.err 
    7431        }; then 
    7432   ac_header_preproc=yes 
    7433 else 
    7434   echo "$as_me: failed program was:" >&5 
    7435 sed 's/^/| /' conftest.$ac_ext >&5 
    7436  
    7437   ac_header_preproc=no 
    7438 fi 
    7439  
    7440 rm -f conftest.err conftest.$ac_ext 
    7441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7442 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7443  
    7444 # So?  What about this header? 
    7445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7446   yes:no: ) 
    7447     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7448 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7449     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    7450 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    7451     ac_header_preproc=yes 
    7452     ;; 
    7453   no:yes:* ) 
    7454     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    7455 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    7456     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    7457 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    7458     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    7459 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    7460     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7461 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7462     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    7463 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    7464     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    7465 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    7466  
    7467     ;; 
    7468 esac 
    7469 { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7470 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7471 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7472   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7473 else 
    7474   ac_cv_header_stddef_h=$ac_header_preproc 
    7475 fi 
    7476 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7477 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7478  
    7479 fi 
    7480 if test $ac_cv_header_stddef_h = yes; then 
    7481   cat >>confdefs.h <<\_ACEOF 
    7482 #define PJ_HAS_STDDEF_H 1 
    7483 _ACEOF 
    7484  
    7485 fi 
    7486  
    7487  
    7488 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7489   { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7490 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7491 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7492   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7493 fi 
    7494 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7495 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7496 else 
    7497   # Is the header compilable? 
    7498 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    7499 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
    7500 cat >conftest.$ac_ext <<_ACEOF 
    7501 /* confdefs.h.  */ 
    7502 _ACEOF 
    7503 cat confdefs.h >>conftest.$ac_ext 
    7504 cat >>conftest.$ac_ext <<_ACEOF 
    7505 /* end confdefs.h.  */ 
    7506 $ac_includes_default 
    7507 #include <stdio.h> 
    7508 _ACEOF 
    7509 rm -f conftest.$ac_objext 
    7510 if { (ac_try="$ac_compile" 
    7511 case "(($ac_try" in 
    7512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7513   *) ac_try_echo=$ac_try;; 
    7514 esac 
    7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7516   (eval "$ac_compile") 2>conftest.er1 
    7517   ac_status=$? 
    7518   grep -v '^ *+' conftest.er1 >conftest.err 
    7519   rm -f conftest.er1 
    7520   cat conftest.err >&5 
    7521   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7522   (exit $ac_status); } && { 
    7523          test -z "$ac_c_werror_flag" || 
    7524          test ! -s conftest.err 
    7525        } && test -s conftest.$ac_objext; then 
    7526   ac_header_compiler=yes 
    7527 else 
    7528   echo "$as_me: failed program was:" >&5 
    7529 sed 's/^/| /' conftest.$ac_ext >&5 
    7530  
    7531         ac_header_compiler=no 
    7532 fi 
    7533  
    7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7536 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7537  
    7538 # Is the header present? 
    7539 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    7540 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
    7541 cat >conftest.$ac_ext <<_ACEOF 
    7542 /* confdefs.h.  */ 
    7543 _ACEOF 
    7544 cat confdefs.h >>conftest.$ac_ext 
    7545 cat >>conftest.$ac_ext <<_ACEOF 
    7546 /* end confdefs.h.  */ 
    7547 #include <stdio.h> 
    7548 _ACEOF 
    7549 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7550 case "(($ac_try" in 
    7551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7552   *) ac_try_echo=$ac_try;; 
    7553 esac 
    7554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7555   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7556   ac_status=$? 
    7557   grep -v '^ *+' conftest.er1 >conftest.err 
    7558   rm -f conftest.er1 
    7559   cat conftest.err >&5 
    7560   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7561   (exit $ac_status); } >/dev/null && { 
    7562          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7563          test ! -s conftest.err 
    7564        }; then 
    7565   ac_header_preproc=yes 
    7566 else 
    7567   echo "$as_me: failed program was:" >&5 
    7568 sed 's/^/| /' conftest.$ac_ext >&5 
    7569  
    7570   ac_header_preproc=no 
    7571 fi 
    7572  
    7573 rm -f conftest.err conftest.$ac_ext 
    7574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7575 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7576  
    7577 # So?  What about this header? 
    7578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7579   yes:no: ) 
    7580     { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7581 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7582     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    7583 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    7584     ac_header_preproc=yes 
    7585     ;; 
    7586   no:yes:* ) 
    7587     { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    7588 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    7589     { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    7590 echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    7591     { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    7592 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    7593     { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7594 echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7595     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    7596 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    7597     { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    7598 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    7599  
    7600     ;; 
    7601 esac 
    7602 { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7603 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7604 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7605   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7606 else 
    7607   ac_cv_header_stdio_h=$ac_header_preproc 
    7608 fi 
    7609 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7610 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7611  
    7612 fi 
    7613 if test $ac_cv_header_stdio_h = yes; then 
    7614   cat >>confdefs.h <<\_ACEOF 
    7615 #define PJ_HAS_STDIO_H 1 
    7616 _ACEOF 
    7617  
    7618 fi 
    7619  
    7620  
    7621 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7622   { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7623 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7624 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7625   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7626 fi 
    7627 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7628 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7629 else 
    7630   # Is the header compilable? 
    7631 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 
    7632 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
    7633 cat >conftest.$ac_ext <<_ACEOF 
    7634 /* confdefs.h.  */ 
    7635 _ACEOF 
    7636 cat confdefs.h >>conftest.$ac_ext 
    7637 cat >>conftest.$ac_ext <<_ACEOF 
    7638 /* end confdefs.h.  */ 
    7639 $ac_includes_default 
    7640 #include <stdint.h> 
    7641 _ACEOF 
    7642 rm -f conftest.$ac_objext 
    7643 if { (ac_try="$ac_compile" 
    7644 case "(($ac_try" in 
    7645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7646   *) ac_try_echo=$ac_try;; 
    7647 esac 
    7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7649   (eval "$ac_compile") 2>conftest.er1 
    7650   ac_status=$? 
    7651   grep -v '^ *+' conftest.er1 >conftest.err 
    7652   rm -f conftest.er1 
    7653   cat conftest.err >&5 
    7654   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7655   (exit $ac_status); } && { 
    7656          test -z "$ac_c_werror_flag" || 
    7657          test ! -s conftest.err 
    7658        } && test -s conftest.$ac_objext; then 
    7659   ac_header_compiler=yes 
    7660 else 
    7661   echo "$as_me: failed program was:" >&5 
    7662 sed 's/^/| /' conftest.$ac_ext >&5 
    7663  
    7664         ac_header_compiler=no 
    7665 fi 
    7666  
    7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7668 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7669 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7670  
    7671 # Is the header present? 
    7672 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 
    7673 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
    7674 cat >conftest.$ac_ext <<_ACEOF 
    7675 /* confdefs.h.  */ 
    7676 _ACEOF 
    7677 cat confdefs.h >>conftest.$ac_ext 
    7678 cat >>conftest.$ac_ext <<_ACEOF 
    7679 /* end confdefs.h.  */ 
    7680 #include <stdint.h> 
    7681 _ACEOF 
    7682 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7683 case "(($ac_try" in 
    7684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7685   *) ac_try_echo=$ac_try;; 
    7686 esac 
    7687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7689   ac_status=$? 
    7690   grep -v '^ *+' conftest.er1 >conftest.err 
    7691   rm -f conftest.er1 
    7692   cat conftest.err >&5 
    7693   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7694   (exit $ac_status); } >/dev/null && { 
    7695          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7696          test ! -s conftest.err 
    7697        }; then 
    7698   ac_header_preproc=yes 
    7699 else 
    7700   echo "$as_me: failed program was:" >&5 
    7701 sed 's/^/| /' conftest.$ac_ext >&5 
    7702  
    7703   ac_header_preproc=no 
    7704 fi 
    7705  
    7706 rm -f conftest.err conftest.$ac_ext 
    7707 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7708 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7709  
    7710 # So?  What about this header? 
    7711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7712   yes:no: ) 
    7713     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7714 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7715     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
    7716 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
    7717     ac_header_preproc=yes 
    7718     ;; 
    7719   no:yes:* ) 
    7720     { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
    7721 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
    7722     { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
    7723 echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
    7724     { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
    7725 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
    7726     { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7727 echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7728     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
    7729 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
    7730     { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
    7731 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
    7732  
    7733     ;; 
    7734 esac 
    7735 { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7736 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7737 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7738   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7739 else 
    7740   ac_cv_header_stdint_h=$ac_header_preproc 
    7741 fi 
    7742 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7743 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7744  
    7745 fi 
    7746 if test $ac_cv_header_stdint_h = yes; then 
    7747   cat >>confdefs.h <<\_ACEOF 
    7748 #define PJ_HAS_STDINT_H 1 
    7749 _ACEOF 
    7750  
    7751 fi 
    7752  
    7753  
    7754 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7755   { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7756 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7757 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7758   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7759 fi 
    7760 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7761 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7762 else 
    7763   # Is the header compilable? 
    7764 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    7765 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
    7766 cat >conftest.$ac_ext <<_ACEOF 
    7767 /* confdefs.h.  */ 
    7768 _ACEOF 
    7769 cat confdefs.h >>conftest.$ac_ext 
    7770 cat >>conftest.$ac_ext <<_ACEOF 
    7771 /* end confdefs.h.  */ 
    7772 $ac_includes_default 
    7773 #include <stdlib.h> 
    7774 _ACEOF 
    7775 rm -f conftest.$ac_objext 
    7776 if { (ac_try="$ac_compile" 
    7777 case "(($ac_try" in 
    7778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7779   *) ac_try_echo=$ac_try;; 
    7780 esac 
    7781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7782   (eval "$ac_compile") 2>conftest.er1 
    7783   ac_status=$? 
    7784   grep -v '^ *+' conftest.er1 >conftest.err 
    7785   rm -f conftest.er1 
    7786   cat conftest.err >&5 
    7787   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7788   (exit $ac_status); } && { 
    7789          test -z "$ac_c_werror_flag" || 
    7790          test ! -s conftest.err 
    7791        } && test -s conftest.$ac_objext; then 
    7792   ac_header_compiler=yes 
    7793 else 
    7794   echo "$as_me: failed program was:" >&5 
    7795 sed 's/^/| /' conftest.$ac_ext >&5 
    7796  
    7797         ac_header_compiler=no 
    7798 fi 
    7799  
    7800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7801 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7802 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7803  
    7804 # Is the header present? 
    7805 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    7806 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
    7807 cat >conftest.$ac_ext <<_ACEOF 
    7808 /* confdefs.h.  */ 
    7809 _ACEOF 
    7810 cat confdefs.h >>conftest.$ac_ext 
    7811 cat >>conftest.$ac_ext <<_ACEOF 
    7812 /* end confdefs.h.  */ 
    7813 #include <stdlib.h> 
    7814 _ACEOF 
    7815 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7816 case "(($ac_try" in 
    7817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7818   *) ac_try_echo=$ac_try;; 
    7819 esac 
    7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7821   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7822   ac_status=$? 
    7823   grep -v '^ *+' conftest.er1 >conftest.err 
    7824   rm -f conftest.er1 
    7825   cat conftest.err >&5 
    7826   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7827   (exit $ac_status); } >/dev/null && { 
    7828          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7829          test ! -s conftest.err 
    7830        }; then 
    7831   ac_header_preproc=yes 
    7832 else 
    7833   echo "$as_me: failed program was:" >&5 
    7834 sed 's/^/| /' conftest.$ac_ext >&5 
    7835  
    7836   ac_header_preproc=no 
    7837 fi 
    7838  
    7839 rm -f conftest.err conftest.$ac_ext 
    7840 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7841 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7842  
    7843 # So?  What about this header? 
    7844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7845   yes:no: ) 
    7846     { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7847 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7848     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    7849 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    7850     ac_header_preproc=yes 
    7851     ;; 
    7852   no:yes:* ) 
    7853     { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    7854 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    7855     { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    7856 echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    7857     { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    7858 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    7859     { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7860 echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7861     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    7862 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    7863     { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    7864 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    7865  
    7866     ;; 
    7867 esac 
    7868 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7869 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7870 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7871   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7872 else 
    7873   ac_cv_header_stdlib_h=$ac_header_preproc 
    7874 fi 
    7875 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7876 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7877  
    7878 fi 
    7879 if test $ac_cv_header_stdlib_h = yes; then 
    7880   cat >>confdefs.h <<\_ACEOF 
    7881 #define PJ_HAS_STDLIB_H 1 
    7882 _ACEOF 
    7883  
    7884 fi 
    7885  
    7886  
    7887 if test "${ac_cv_header_string_h+set}" = set; then 
    7888   { echo "$as_me:$LINENO: checking for string.h" >&5 
    7889 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7890 if test "${ac_cv_header_string_h+set}" = set; then 
    7891   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7892 fi 
    7893 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7894 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7895 else 
    7896   # Is the header compilable? 
    7897 { echo "$as_me:$LINENO: checking string.h usability" >&5 
    7898 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
    7899 cat >conftest.$ac_ext <<_ACEOF 
    7900 /* confdefs.h.  */ 
    7901 _ACEOF 
    7902 cat confdefs.h >>conftest.$ac_ext 
    7903 cat >>conftest.$ac_ext <<_ACEOF 
    7904 /* end confdefs.h.  */ 
    7905 $ac_includes_default 
    7906 #include <string.h> 
    7907 _ACEOF 
    7908 rm -f conftest.$ac_objext 
    7909 if { (ac_try="$ac_compile" 
    7910 case "(($ac_try" in 
    7911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7912   *) ac_try_echo=$ac_try;; 
    7913 esac 
    7914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7915   (eval "$ac_compile") 2>conftest.er1 
    7916   ac_status=$? 
    7917   grep -v '^ *+' conftest.er1 >conftest.err 
    7918   rm -f conftest.er1 
    7919   cat conftest.err >&5 
    7920   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7921   (exit $ac_status); } && { 
    7922          test -z "$ac_c_werror_flag" || 
    7923          test ! -s conftest.err 
    7924        } && test -s conftest.$ac_objext; then 
    7925   ac_header_compiler=yes 
    7926 else 
    7927   echo "$as_me: failed program was:" >&5 
    7928 sed 's/^/| /' conftest.$ac_ext >&5 
    7929  
    7930         ac_header_compiler=no 
    7931 fi 
    7932  
    7933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7935 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7936  
    7937 # Is the header present? 
    7938 { echo "$as_me:$LINENO: checking string.h presence" >&5 
    7939 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
    7940 cat >conftest.$ac_ext <<_ACEOF 
    7941 /* confdefs.h.  */ 
    7942 _ACEOF 
    7943 cat confdefs.h >>conftest.$ac_ext 
    7944 cat >>conftest.$ac_ext <<_ACEOF 
    7945 /* end confdefs.h.  */ 
    7946 #include <string.h> 
    7947 _ACEOF 
    7948 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7949 case "(($ac_try" in 
    7950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7951   *) ac_try_echo=$ac_try;; 
    7952 esac 
    7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7954   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7955   ac_status=$? 
    7956   grep -v '^ *+' conftest.er1 >conftest.err 
    7957   rm -f conftest.er1 
    7958   cat conftest.err >&5 
    7959   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7960   (exit $ac_status); } >/dev/null && { 
    7961          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7962          test ! -s conftest.err 
    7963        }; then 
    7964   ac_header_preproc=yes 
    7965 else 
    7966   echo "$as_me: failed program was:" >&5 
    7967 sed 's/^/| /' conftest.$ac_ext >&5 
    7968  
    7969   ac_header_preproc=no 
    7970 fi 
    7971  
    7972 rm -f conftest.err conftest.$ac_ext 
    7973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7974 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7975  
    7976 # So?  What about this header? 
    7977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7978   yes:no: ) 
    7979     { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7980 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7981     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    7982 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    7983     ac_header_preproc=yes 
    7984     ;; 
    7985   no:yes:* ) 
    7986     { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    7987 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    7988     { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    7989 echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    7990     { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    7991 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    7992     { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7993 echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7994     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    7995 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    7996     { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    7997 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    7998  
    7999     ;; 
    8000 esac 
    8001 { echo "$as_me:$LINENO: checking for string.h" >&5 
    8002 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    8003 if test "${ac_cv_header_string_h+set}" = set; then 
    8004   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8005 else 
    8006   ac_cv_header_string_h=$ac_header_preproc 
    8007 fi 
    8008 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    8009 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    8010  
    8011 fi 
    8012 if test $ac_cv_header_string_h = yes; then 
    8013   cat >>confdefs.h <<\_ACEOF 
    8014 #define PJ_HAS_STRING_H 1 
    8015 _ACEOF 
    8016  
    8017 fi 
    8018  
    8019  
    8020 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8021   { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8022 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8023 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8024   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8025 fi 
    8026 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8027 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8028 else 
    8029   # Is the header compilable? 
    8030 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    8031 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
    8032 cat >conftest.$ac_ext <<_ACEOF 
    8033 /* confdefs.h.  */ 
    8034 _ACEOF 
    8035 cat confdefs.h >>conftest.$ac_ext 
    8036 cat >>conftest.$ac_ext <<_ACEOF 
    8037 /* end confdefs.h.  */ 
    8038 $ac_includes_default 
    8039 #include <sys/ioctl.h> 
    8040 _ACEOF 
    8041 rm -f conftest.$ac_objext 
    8042 if { (ac_try="$ac_compile" 
    8043 case "(($ac_try" in 
    8044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8045   *) ac_try_echo=$ac_try;; 
    8046 esac 
    8047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8048   (eval "$ac_compile") 2>conftest.er1 
    8049   ac_status=$? 
    8050   grep -v '^ *+' conftest.er1 >conftest.err 
    8051   rm -f conftest.er1 
    8052   cat conftest.err >&5 
    8053   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8054   (exit $ac_status); } && { 
    8055          test -z "$ac_c_werror_flag" || 
    8056          test ! -s conftest.err 
    8057        } && test -s conftest.$ac_objext; then 
    8058   ac_header_compiler=yes 
    8059 else 
    8060   echo "$as_me: failed program was:" >&5 
    8061 sed 's/^/| /' conftest.$ac_ext >&5 
    8062  
    8063         ac_header_compiler=no 
    8064 fi 
    8065  
    8066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8067 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8068 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8069  
    8070 # Is the header present? 
    8071 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    8072 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
    8073 cat >conftest.$ac_ext <<_ACEOF 
    8074 /* confdefs.h.  */ 
    8075 _ACEOF 
    8076 cat confdefs.h >>conftest.$ac_ext 
    8077 cat >>conftest.$ac_ext <<_ACEOF 
    8078 /* end confdefs.h.  */ 
    8079 #include <sys/ioctl.h> 
    8080 _ACEOF 
    8081 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8082 case "(($ac_try" in 
    8083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8084   *) ac_try_echo=$ac_try;; 
    8085 esac 
    8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8087   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8088   ac_status=$? 
    8089   grep -v '^ *+' conftest.er1 >conftest.err 
    8090   rm -f conftest.er1 
    8091   cat conftest.err >&5 
    8092   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8093   (exit $ac_status); } >/dev/null && { 
    8094          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8095          test ! -s conftest.err 
    8096        }; then 
    8097   ac_header_preproc=yes 
    8098 else 
    8099   echo "$as_me: failed program was:" >&5 
    8100 sed 's/^/| /' conftest.$ac_ext >&5 
    8101  
    8102   ac_header_preproc=no 
    8103 fi 
    8104  
    8105 rm -f conftest.err conftest.$ac_ext 
    8106 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8107 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8108  
    8109 # So?  What about this header? 
    8110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8111   yes:no: ) 
    8112     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8113 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8114     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    8115 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    8116     ac_header_preproc=yes 
    8117     ;; 
    8118   no:yes:* ) 
    8119     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    8120 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    8121     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    8122 echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    8123     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    8124 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    8125     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8126 echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8127     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    8128 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    8129     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    8130 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    8131  
    8132     ;; 
    8133 esac 
    8134 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8135 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8136 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8137   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8138 else 
    8139   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    8140 fi 
    8141 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8142 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8143  
    8144 fi 
    8145 if test $ac_cv_header_sys_ioctl_h = yes; then 
    8146   cat >>confdefs.h <<\_ACEOF 
    8147 #define PJ_HAS_SYS_IOCTL_H 1 
    8148 _ACEOF 
    8149  
    8150 fi 
    8151  
    8152  
    8153 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8154   { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8155 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8156 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8157   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8158 fi 
    8159 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8160 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8161 else 
    8162   # Is the header compilable? 
    8163 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    8164 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
    8165 cat >conftest.$ac_ext <<_ACEOF 
    8166 /* confdefs.h.  */ 
    8167 _ACEOF 
    8168 cat confdefs.h >>conftest.$ac_ext 
    8169 cat >>conftest.$ac_ext <<_ACEOF 
    8170 /* end confdefs.h.  */ 
    8171 $ac_includes_default 
    8172 #include <sys/select.h> 
    8173 _ACEOF 
    8174 rm -f conftest.$ac_objext 
    8175 if { (ac_try="$ac_compile" 
    8176 case "(($ac_try" in 
    8177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8178   *) ac_try_echo=$ac_try;; 
    8179 esac 
    8180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8181   (eval "$ac_compile") 2>conftest.er1 
    8182   ac_status=$? 
    8183   grep -v '^ *+' conftest.er1 >conftest.err 
    8184   rm -f conftest.er1 
    8185   cat conftest.err >&5 
    8186   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8187   (exit $ac_status); } && { 
    8188          test -z "$ac_c_werror_flag" || 
    8189          test ! -s conftest.err 
    8190        } && test -s conftest.$ac_objext; then 
    8191   ac_header_compiler=yes 
    8192 else 
    8193   echo "$as_me: failed program was:" >&5 
    8194 sed 's/^/| /' conftest.$ac_ext >&5 
    8195  
    8196         ac_header_compiler=no 
    8197 fi 
    8198  
    8199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8200 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8201 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8202  
    8203 # Is the header present? 
    8204 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    8205 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
    8206 cat >conftest.$ac_ext <<_ACEOF 
    8207 /* confdefs.h.  */ 
    8208 _ACEOF 
    8209 cat confdefs.h >>conftest.$ac_ext 
    8210 cat >>conftest.$ac_ext <<_ACEOF 
    8211 /* end confdefs.h.  */ 
    8212 #include <sys/select.h> 
    8213 _ACEOF 
    8214 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8215 case "(($ac_try" in 
    8216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8217   *) ac_try_echo=$ac_try;; 
    8218 esac 
    8219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8220   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8221   ac_status=$? 
    8222   grep -v '^ *+' conftest.er1 >conftest.err 
    8223   rm -f conftest.er1 
    8224   cat conftest.err >&5 
    8225   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8226   (exit $ac_status); } >/dev/null && { 
    8227          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8228          test ! -s conftest.err 
    8229        }; then 
    8230   ac_header_preproc=yes 
    8231 else 
    8232   echo "$as_me: failed program was:" >&5 
    8233 sed 's/^/| /' conftest.$ac_ext >&5 
    8234  
    8235   ac_header_preproc=no 
    8236 fi 
    8237  
    8238 rm -f conftest.err conftest.$ac_ext 
    8239 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8240 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8241  
    8242 # So?  What about this header? 
    8243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8244   yes:no: ) 
    8245     { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8246 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8247     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    8248 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    8249     ac_header_preproc=yes 
    8250     ;; 
    8251   no:yes:* ) 
    8252     { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    8253 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    8254     { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    8255 echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    8256     { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    8257 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    8258     { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8259 echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8260     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    8261 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    8262     { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    8263 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    8264  
    8265     ;; 
    8266 esac 
    8267 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8268 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8269 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8270   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8271 else 
    8272   ac_cv_header_sys_select_h=$ac_header_preproc 
    8273 fi 
    8274 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8275 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8276  
    8277 fi 
    8278 if test $ac_cv_header_sys_select_h = yes; then 
    8279   cat >>confdefs.h <<\_ACEOF 
    8280 #define PJ_HAS_SYS_SELECT_H 1 
    8281 _ACEOF 
    8282  
    8283 fi 
    8284  
    8285  
    8286 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8287   { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8288 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8289 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8290   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8291 fi 
    8292 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8293 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8294 else 
    8295   # Is the header compilable? 
    8296 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    8297 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
    8298 cat >conftest.$ac_ext <<_ACEOF 
    8299 /* confdefs.h.  */ 
    8300 _ACEOF 
    8301 cat confdefs.h >>conftest.$ac_ext 
    8302 cat >>conftest.$ac_ext <<_ACEOF 
    8303 /* end confdefs.h.  */ 
    8304 $ac_includes_default 
    8305 #include <sys/socket.h> 
    8306 _ACEOF 
    8307 rm -f conftest.$ac_objext 
    8308 if { (ac_try="$ac_compile" 
    8309 case "(($ac_try" in 
    8310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8311   *) ac_try_echo=$ac_try;; 
    8312 esac 
    8313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8314   (eval "$ac_compile") 2>conftest.er1 
    8315   ac_status=$? 
    8316   grep -v '^ *+' conftest.er1 >conftest.err 
    8317   rm -f conftest.er1 
    8318   cat conftest.err >&5 
    8319   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8320   (exit $ac_status); } && { 
    8321          test -z "$ac_c_werror_flag" || 
    8322          test ! -s conftest.err 
    8323        } && test -s conftest.$ac_objext; then 
    8324   ac_header_compiler=yes 
    8325 else 
    8326   echo "$as_me: failed program was:" >&5 
    8327 sed 's/^/| /' conftest.$ac_ext >&5 
    8328  
    8329         ac_header_compiler=no 
    8330 fi 
    8331  
    8332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8333 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8334 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8335  
    8336 # Is the header present? 
    8337 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    8338 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
    8339 cat >conftest.$ac_ext <<_ACEOF 
    8340 /* confdefs.h.  */ 
    8341 _ACEOF 
    8342 cat confdefs.h >>conftest.$ac_ext 
    8343 cat >>conftest.$ac_ext <<_ACEOF 
    8344 /* end confdefs.h.  */ 
    8345 #include <sys/socket.h> 
    8346 _ACEOF 
    8347 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8348 case "(($ac_try" in 
    8349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8350   *) ac_try_echo=$ac_try;; 
    8351 esac 
    8352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8353   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8354   ac_status=$? 
    8355   grep -v '^ *+' conftest.er1 >conftest.err 
    8356   rm -f conftest.er1 
    8357   cat conftest.err >&5 
    8358   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8359   (exit $ac_status); } >/dev/null && { 
    8360          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8361          test ! -s conftest.err 
    8362        }; then 
    8363   ac_header_preproc=yes 
    8364 else 
    8365   echo "$as_me: failed program was:" >&5 
    8366 sed 's/^/| /' conftest.$ac_ext >&5 
    8367  
    8368   ac_header_preproc=no 
    8369 fi 
    8370  
    8371 rm -f conftest.err conftest.$ac_ext 
    8372 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8373 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8374  
    8375 # So?  What about this header? 
    8376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8377   yes:no: ) 
    8378     { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8379 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8380     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    8381 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    8382     ac_header_preproc=yes 
    8383     ;; 
    8384   no:yes:* ) 
    8385     { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    8386 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    8387     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    8388 echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    8389     { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    8390 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    8391     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8392 echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8393     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    8394 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    8395     { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    8396 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    8397  
    8398     ;; 
    8399 esac 
    8400 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8401 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8402 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8403   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8404 else 
    8405   ac_cv_header_sys_socket_h=$ac_header_preproc 
    8406 fi 
    8407 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8408 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8409  
    8410 fi 
    8411 if test $ac_cv_header_sys_socket_h = yes; then 
    8412   cat >>confdefs.h <<\_ACEOF 
    8413 #define PJ_HAS_SYS_SOCKET_H 1 
    8414 _ACEOF 
    8415  
    8416 fi 
    8417  
    8418  
    8419 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8420   { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8421 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8422 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8423   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8424 fi 
    8425 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8426 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8427 else 
    8428   # Is the header compilable? 
    8429 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    8430 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
    8431 cat >conftest.$ac_ext <<_ACEOF 
    8432 /* confdefs.h.  */ 
    8433 _ACEOF 
    8434 cat confdefs.h >>conftest.$ac_ext 
    8435 cat >>conftest.$ac_ext <<_ACEOF 
    8436 /* end confdefs.h.  */ 
    8437 $ac_includes_default 
    8438 #include <sys/time.h> 
    8439 _ACEOF 
    8440 rm -f conftest.$ac_objext 
    8441 if { (ac_try="$ac_compile" 
    8442 case "(($ac_try" in 
    8443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8444   *) ac_try_echo=$ac_try;; 
    8445 esac 
    8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8447   (eval "$ac_compile") 2>conftest.er1 
    8448   ac_status=$? 
    8449   grep -v '^ *+' conftest.er1 >conftest.err 
    8450   rm -f conftest.er1 
    8451   cat conftest.err >&5 
    8452   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8453   (exit $ac_status); } && { 
    8454          test -z "$ac_c_werror_flag" || 
    8455          test ! -s conftest.err 
    8456        } && test -s conftest.$ac_objext; then 
    8457   ac_header_compiler=yes 
    8458 else 
    8459   echo "$as_me: failed program was:" >&5 
    8460 sed 's/^/| /' conftest.$ac_ext >&5 
    8461  
    8462         ac_header_compiler=no 
    8463 fi 
    8464  
    8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8466 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8467 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8468  
    8469 # Is the header present? 
    8470 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    8471 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
    8472 cat >conftest.$ac_ext <<_ACEOF 
    8473 /* confdefs.h.  */ 
    8474 _ACEOF 
    8475 cat confdefs.h >>conftest.$ac_ext 
    8476 cat >>conftest.$ac_ext <<_ACEOF 
    8477 /* end confdefs.h.  */ 
    8478 #include <sys/time.h> 
    8479 _ACEOF 
    8480 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8481 case "(($ac_try" in 
    8482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8483   *) ac_try_echo=$ac_try;; 
    8484 esac 
    8485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8486   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8487   ac_status=$? 
    8488   grep -v '^ *+' conftest.er1 >conftest.err 
    8489   rm -f conftest.er1 
    8490   cat conftest.err >&5 
    8491   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8492   (exit $ac_status); } >/dev/null && { 
    8493          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8494          test ! -s conftest.err 
    8495        }; then 
    8496   ac_header_preproc=yes 
    8497 else 
    8498   echo "$as_me: failed program was:" >&5 
    8499 sed 's/^/| /' conftest.$ac_ext >&5 
    8500  
    8501   ac_header_preproc=no 
    8502 fi 
    8503  
    8504 rm -f conftest.err conftest.$ac_ext 
    8505 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8506 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8507  
    8508 # So?  What about this header? 
    8509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8510   yes:no: ) 
    8511     { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8512 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8513     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    8514 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    8515     ac_header_preproc=yes 
    8516     ;; 
    8517   no:yes:* ) 
    8518     { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    8519 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    8520     { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    8521 echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    8522     { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    8523 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    8524     { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8525 echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8526     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    8527 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    8528     { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    8529 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    8530  
    8531     ;; 
    8532 esac 
    8533 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8534 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8535 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8536   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8537 else 
    8538   ac_cv_header_sys_time_h=$ac_header_preproc 
    8539 fi 
    8540 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8541 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8542  
    8543 fi 
    8544 if test $ac_cv_header_sys_time_h = yes; then 
    8545   cat >>confdefs.h <<\_ACEOF 
    8546 #define PJ_HAS_SYS_TIME_H 1 
    8547 _ACEOF 
    8548  
    8549 fi 
    8550  
    8551  
    8552 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8553   { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8554 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8555 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8556   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8557 fi 
    8558 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8559 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8560 else 
    8561   # Is the header compilable? 
    8562 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    8563 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
    8564 cat >conftest.$ac_ext <<_ACEOF 
    8565 /* confdefs.h.  */ 
    8566 _ACEOF 
    8567 cat confdefs.h >>conftest.$ac_ext 
    8568 cat >>conftest.$ac_ext <<_ACEOF 
    8569 /* end confdefs.h.  */ 
    8570 $ac_includes_default 
    8571 #include <sys/timeb.h> 
    8572 _ACEOF 
    8573 rm -f conftest.$ac_objext 
    8574 if { (ac_try="$ac_compile" 
    8575 case "(($ac_try" in 
    8576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8577   *) ac_try_echo=$ac_try;; 
    8578 esac 
    8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8580   (eval "$ac_compile") 2>conftest.er1 
    8581   ac_status=$? 
    8582   grep -v '^ *+' conftest.er1 >conftest.err 
    8583   rm -f conftest.er1 
    8584   cat conftest.err >&5 
    8585   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8586   (exit $ac_status); } && { 
    8587          test -z "$ac_c_werror_flag" || 
    8588          test ! -s conftest.err 
    8589        } && test -s conftest.$ac_objext; then 
    8590   ac_header_compiler=yes 
    8591 else 
    8592   echo "$as_me: failed program was:" >&5 
    8593 sed 's/^/| /' conftest.$ac_ext >&5 
    8594  
    8595         ac_header_compiler=no 
    8596 fi 
    8597  
    8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8599 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8600 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8601  
    8602 # Is the header present? 
    8603 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    8604 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
    8605 cat >conftest.$ac_ext <<_ACEOF 
    8606 /* confdefs.h.  */ 
    8607 _ACEOF 
    8608 cat confdefs.h >>conftest.$ac_ext 
    8609 cat >>conftest.$ac_ext <<_ACEOF 
    8610 /* end confdefs.h.  */ 
    8611 #include <sys/timeb.h> 
    8612 _ACEOF 
    8613 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8614 case "(($ac_try" in 
    8615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8616   *) ac_try_echo=$ac_try;; 
    8617 esac 
    8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8619   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8620   ac_status=$? 
    8621   grep -v '^ *+' conftest.er1 >conftest.err 
    8622   rm -f conftest.er1 
    8623   cat conftest.err >&5 
    8624   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8625   (exit $ac_status); } >/dev/null && { 
    8626          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8627          test ! -s conftest.err 
    8628        }; then 
    8629   ac_header_preproc=yes 
    8630 else 
    8631   echo "$as_me: failed program was:" >&5 
    8632 sed 's/^/| /' conftest.$ac_ext >&5 
    8633  
    8634   ac_header_preproc=no 
    8635 fi 
    8636  
    8637 rm -f conftest.err conftest.$ac_ext 
    8638 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8639 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8640  
    8641 # So?  What about this header? 
    8642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8643   yes:no: ) 
    8644     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8645 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8646     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    8647 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    8648     ac_header_preproc=yes 
    8649     ;; 
    8650   no:yes:* ) 
    8651     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    8652 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    8653     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    8654 echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    8655     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    8656 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    8657     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8658 echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8659     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    8660 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    8661     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    8662 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    8663  
    8664     ;; 
    8665 esac 
    8666 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8667 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8668 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8669   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8670 else 
    8671   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    8672 fi 
    8673 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8674 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8675  
    8676 fi 
    8677 if test $ac_cv_header_sys_timeb_h = yes; then 
    8678   cat >>confdefs.h <<\_ACEOF 
    8679 #define PJ_HAS_SYS_TIMEB_H 1 
    8680 _ACEOF 
    8681  
    8682 fi 
    8683  
    8684  
    8685 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8686   { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8687 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8688 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8689   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8690 fi 
    8691 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8692 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8693 else 
    8694   # Is the header compilable? 
    8695 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    8696 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
    8697 cat >conftest.$ac_ext <<_ACEOF 
    8698 /* confdefs.h.  */ 
    8699 _ACEOF 
    8700 cat confdefs.h >>conftest.$ac_ext 
    8701 cat >>conftest.$ac_ext <<_ACEOF 
    8702 /* end confdefs.h.  */ 
    8703 $ac_includes_default 
    8704 #include <sys/types.h> 
    8705 _ACEOF 
    8706 rm -f conftest.$ac_objext 
    8707 if { (ac_try="$ac_compile" 
    8708 case "(($ac_try" in 
    8709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8710   *) ac_try_echo=$ac_try;; 
    8711 esac 
    8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8713   (eval "$ac_compile") 2>conftest.er1 
    8714   ac_status=$? 
    8715   grep -v '^ *+' conftest.er1 >conftest.err 
    8716   rm -f conftest.er1 
    8717   cat conftest.err >&5 
    8718   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8719   (exit $ac_status); } && { 
    8720          test -z "$ac_c_werror_flag" || 
    8721          test ! -s conftest.err 
    8722        } && test -s conftest.$ac_objext; then 
    8723   ac_header_compiler=yes 
    8724 else 
    8725   echo "$as_me: failed program was:" >&5 
    8726 sed 's/^/| /' conftest.$ac_ext >&5 
    8727  
    8728         ac_header_compiler=no 
    8729 fi 
    8730  
    8731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8733 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8734  
    8735 # Is the header present? 
    8736 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    8737 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
    8738 cat >conftest.$ac_ext <<_ACEOF 
    8739 /* confdefs.h.  */ 
    8740 _ACEOF 
    8741 cat confdefs.h >>conftest.$ac_ext 
    8742 cat >>conftest.$ac_ext <<_ACEOF 
    8743 /* end confdefs.h.  */ 
    8744 #include <sys/types.h> 
    8745 _ACEOF 
    8746 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8747 case "(($ac_try" in 
    8748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8749   *) ac_try_echo=$ac_try;; 
    8750 esac 
    8751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8752   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8753   ac_status=$? 
    8754   grep -v '^ *+' conftest.er1 >conftest.err 
    8755   rm -f conftest.er1 
    8756   cat conftest.err >&5 
    8757   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8758   (exit $ac_status); } >/dev/null && { 
    8759          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8760          test ! -s conftest.err 
    8761        }; then 
    8762   ac_header_preproc=yes 
    8763 else 
    8764   echo "$as_me: failed program was:" >&5 
    8765 sed 's/^/| /' conftest.$ac_ext >&5 
    8766  
    8767   ac_header_preproc=no 
    8768 fi 
    8769  
    8770 rm -f conftest.err conftest.$ac_ext 
    8771 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8772 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8773  
    8774 # So?  What about this header? 
    8775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8776   yes:no: ) 
    8777     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8778 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8779     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    8780 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    8781     ac_header_preproc=yes 
    8782     ;; 
    8783   no:yes:* ) 
    8784     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    8785 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    8786     { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    8787 echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    8788     { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    8789 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    8790     { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8791 echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8792     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    8793 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    8794     { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    8795 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    8796  
    8797     ;; 
    8798 esac 
    8799 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8800 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8801 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8802   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8803 else 
    8804   ac_cv_header_sys_types_h=$ac_header_preproc 
    8805 fi 
    8806 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8807 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8808  
    8809 fi 
    8810 if test $ac_cv_header_sys_types_h = yes; then 
    8811   cat >>confdefs.h <<\_ACEOF 
    8812 #define PJ_HAS_SYS_TYPES_H 1 
    8813 _ACEOF 
    8814  
    8815 fi 
    8816  
    8817  
    8818 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8819   { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8820 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8821 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8822   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8823 fi 
    8824 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8825 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8826 else 
    8827   # Is the header compilable? 
    8828 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
    8829 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
    8830 cat >conftest.$ac_ext <<_ACEOF 
    8831 /* confdefs.h.  */ 
    8832 _ACEOF 
    8833 cat confdefs.h >>conftest.$ac_ext 
    8834 cat >>conftest.$ac_ext <<_ACEOF 
    8835 /* end confdefs.h.  */ 
    8836 $ac_includes_default 
    8837 #include <sys/filio.h> 
    8838 _ACEOF 
    8839 rm -f conftest.$ac_objext 
    8840 if { (ac_try="$ac_compile" 
    8841 case "(($ac_try" in 
    8842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8843   *) ac_try_echo=$ac_try;; 
    8844 esac 
    8845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8846   (eval "$ac_compile") 2>conftest.er1 
    8847   ac_status=$? 
    8848   grep -v '^ *+' conftest.er1 >conftest.err 
    8849   rm -f conftest.er1 
    8850   cat conftest.err >&5 
    8851   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8852   (exit $ac_status); } && { 
    8853          test -z "$ac_c_werror_flag" || 
    8854          test ! -s conftest.err 
    8855        } && test -s conftest.$ac_objext; then 
    8856   ac_header_compiler=yes 
    8857 else 
    8858   echo "$as_me: failed program was:" >&5 
    8859 sed 's/^/| /' conftest.$ac_ext >&5 
    8860  
    8861         ac_header_compiler=no 
    8862 fi 
    8863  
    8864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8865 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8866 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8867  
    8868 # Is the header present? 
    8869 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
    8870 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
    8871 cat >conftest.$ac_ext <<_ACEOF 
    8872 /* confdefs.h.  */ 
    8873 _ACEOF 
    8874 cat confdefs.h >>conftest.$ac_ext 
    8875 cat >>conftest.$ac_ext <<_ACEOF 
    8876 /* end confdefs.h.  */ 
    8877 #include <sys/filio.h> 
    8878 _ACEOF 
    8879 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8880 case "(($ac_try" in 
    8881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8882   *) ac_try_echo=$ac_try;; 
    8883 esac 
    8884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8885   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8886   ac_status=$? 
    8887   grep -v '^ *+' conftest.er1 >conftest.err 
    8888   rm -f conftest.er1 
    8889   cat conftest.err >&5 
    8890   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8891   (exit $ac_status); } >/dev/null && { 
    8892          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8893          test ! -s conftest.err 
    8894        }; then 
    8895   ac_header_preproc=yes 
    8896 else 
    8897   echo "$as_me: failed program was:" >&5 
    8898 sed 's/^/| /' conftest.$ac_ext >&5 
    8899  
    8900   ac_header_preproc=no 
    8901 fi 
    8902  
    8903 rm -f conftest.err conftest.$ac_ext 
    8904 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8905 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8906  
    8907 # So?  What about this header? 
    8908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8909   yes:no: ) 
    8910     { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8911 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8912     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
    8913 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
    8914     ac_header_preproc=yes 
    8915     ;; 
    8916   no:yes:* ) 
    8917     { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
    8918 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
    8919     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
    8920 echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
    8921     { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
    8922 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
    8923     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8924 echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8925     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
    8926 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
    8927     { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
    8928 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
    8929  
    8930     ;; 
    8931 esac 
    8932 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8933 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8934 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8935   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8936 else 
    8937   ac_cv_header_sys_filio_h=$ac_header_preproc 
    8938 fi 
    8939 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8940 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8941  
    8942 fi 
    8943 if test $ac_cv_header_sys_filio_h = yes; then 
    8944   cat >>confdefs.h <<\_ACEOF 
    8945 #define PJ_HAS_SYS_FILIO_H 1 
    8946 _ACEOF 
    8947  
    8948 fi 
    8949  
    8950  
    8951 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8952   { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    8953 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    8954 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8955   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8956 fi 
    8957 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    8958 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    8959 else 
    8960   # Is the header compilable? 
    8961 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
    8962 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
    8963 cat >conftest.$ac_ext <<_ACEOF 
    8964 /* confdefs.h.  */ 
    8965 _ACEOF 
    8966 cat confdefs.h >>conftest.$ac_ext 
    8967 cat >>conftest.$ac_ext <<_ACEOF 
    8968 /* end confdefs.h.  */ 
    8969 $ac_includes_default 
    8970 #include <sys/sockio.h> 
    8971 _ACEOF 
    8972 rm -f conftest.$ac_objext 
    8973 if { (ac_try="$ac_compile" 
    8974 case "(($ac_try" in 
    8975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8976   *) ac_try_echo=$ac_try;; 
    8977 esac 
    8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8979   (eval "$ac_compile") 2>conftest.er1 
    8980   ac_status=$? 
    8981   grep -v '^ *+' conftest.er1 >conftest.err 
    8982   rm -f conftest.er1 
    8983   cat conftest.err >&5 
    8984   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8985   (exit $ac_status); } && { 
    8986          test -z "$ac_c_werror_flag" || 
    8987          test ! -s conftest.err 
    8988        } && test -s conftest.$ac_objext; then 
    8989   ac_header_compiler=yes 
    8990 else 
    8991   echo "$as_me: failed program was:" >&5 
    8992 sed 's/^/| /' conftest.$ac_ext >&5 
    8993  
    8994         ac_header_compiler=no 
    8995 fi 
    8996  
    8997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8998 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8999 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9000  
    9001 # Is the header present? 
    9002 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
    9003 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
    9004 cat >conftest.$ac_ext <<_ACEOF 
    9005 /* confdefs.h.  */ 
    9006 _ACEOF 
    9007 cat confdefs.h >>conftest.$ac_ext 
    9008 cat >>conftest.$ac_ext <<_ACEOF 
    9009 /* end confdefs.h.  */ 
    9010 #include <sys/sockio.h> 
    9011 _ACEOF 
    9012 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9013 case "(($ac_try" in 
    9014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9015   *) ac_try_echo=$ac_try;; 
    9016 esac 
    9017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9018   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9019   ac_status=$? 
    9020   grep -v '^ *+' conftest.er1 >conftest.err 
    9021   rm -f conftest.er1 
    9022   cat conftest.err >&5 
    9023   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9024   (exit $ac_status); } >/dev/null && { 
    9025          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9026          test ! -s conftest.err 
    9027        }; then 
    9028   ac_header_preproc=yes 
    9029 else 
    9030   echo "$as_me: failed program was:" >&5 
    9031 sed 's/^/| /' conftest.$ac_ext >&5 
    9032  
    9033   ac_header_preproc=no 
    9034 fi 
    9035  
    9036 rm -f conftest.err conftest.$ac_ext 
    9037 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9038 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9039  
    9040 # So?  What about this header? 
    9041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9042   yes:no: ) 
    9043     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9044 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9045     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
    9046 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
    9047     ac_header_preproc=yes 
    9048     ;; 
    9049   no:yes:* ) 
    9050     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
    9051 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
    9052     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
    9053 echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
    9054     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
    9055 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
    9056     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9057 echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9058     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
    9059 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
    9060     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
    9061 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
    9062  
    9063     ;; 
    9064 esac 
    9065 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    9066 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    9067 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    9068   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9069 else 
    9070   ac_cv_header_sys_sockio_h=$ac_header_preproc 
    9071 fi 
    9072 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    9073 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    9074  
    9075 fi 
    9076 if test $ac_cv_header_sys_sockio_h = yes; then 
    9077   cat >>confdefs.h <<\_ACEOF 
    9078 #define PJ_HAS_SYS_SOCKIO_H 1 
    9079 _ACEOF 
    9080  
    9081 fi 
    9082  
    9083  
    9084 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9085   { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9086 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9087 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9088   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9089 fi 
    9090 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9091 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9092 else 
    9093   # Is the header compilable? 
    9094 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 
    9095 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 
    9096 cat >conftest.$ac_ext <<_ACEOF 
    9097 /* confdefs.h.  */ 
    9098 _ACEOF 
    9099 cat confdefs.h >>conftest.$ac_ext 
    9100 cat >>conftest.$ac_ext <<_ACEOF 
    9101 /* end confdefs.h.  */ 
    9102 $ac_includes_default 
    9103 #include <sys/utsname.h> 
    9104 _ACEOF 
    9105 rm -f conftest.$ac_objext 
    9106 if { (ac_try="$ac_compile" 
    9107 case "(($ac_try" in 
    9108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9109   *) ac_try_echo=$ac_try;; 
    9110 esac 
    9111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9112   (eval "$ac_compile") 2>conftest.er1 
    9113   ac_status=$? 
    9114   grep -v '^ *+' conftest.er1 >conftest.err 
    9115   rm -f conftest.er1 
    9116   cat conftest.err >&5 
    9117   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9118   (exit $ac_status); } && { 
    9119          test -z "$ac_c_werror_flag" || 
    9120          test ! -s conftest.err 
    9121        } && test -s conftest.$ac_objext; then 
    9122   ac_header_compiler=yes 
    9123 else 
    9124   echo "$as_me: failed program was:" >&5 
    9125 sed 's/^/| /' conftest.$ac_ext >&5 
    9126  
    9127         ac_header_compiler=no 
    9128 fi 
    9129  
    9130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9131 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9132 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9133  
    9134 # Is the header present? 
    9135 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 
    9136 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 
    9137 cat >conftest.$ac_ext <<_ACEOF 
    9138 /* confdefs.h.  */ 
    9139 _ACEOF 
    9140 cat confdefs.h >>conftest.$ac_ext 
    9141 cat >>conftest.$ac_ext <<_ACEOF 
    9142 /* end confdefs.h.  */ 
    9143 #include <sys/utsname.h> 
    9144 _ACEOF 
    9145 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9146 case "(($ac_try" in 
    9147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9148   *) ac_try_echo=$ac_try;; 
    9149 esac 
    9150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9151   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9152   ac_status=$? 
    9153   grep -v '^ *+' conftest.er1 >conftest.err 
    9154   rm -f conftest.er1 
    9155   cat conftest.err >&5 
    9156   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9157   (exit $ac_status); } >/dev/null && { 
    9158          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9159          test ! -s conftest.err 
    9160        }; then 
    9161   ac_header_preproc=yes 
    9162 else 
    9163   echo "$as_me: failed program was:" >&5 
    9164 sed 's/^/| /' conftest.$ac_ext >&5 
    9165  
    9166   ac_header_preproc=no 
    9167 fi 
    9168  
    9169 rm -f conftest.err conftest.$ac_ext 
    9170 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9171 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9172  
    9173 # So?  What about this header? 
    9174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9175   yes:no: ) 
    9176     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9177 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9178     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 
    9179 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 
    9180     ac_header_preproc=yes 
    9181     ;; 
    9182   no:yes:* ) 
    9183     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 
    9184 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 
    9185     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&5 
    9186 echo "$as_me: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&2;} 
    9187     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 
    9188 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 
    9189     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9190 echo "$as_me: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9191     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 
    9192 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 
    9193     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 
    9194 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 
    9195  
    9196     ;; 
    9197 esac 
    9198 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9199 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9200 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9201   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9202 else 
    9203   ac_cv_header_sys_utsname_h=$ac_header_preproc 
    9204 fi 
    9205 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9206 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9207  
    9208 fi 
    9209 if test $ac_cv_header_sys_utsname_h = yes; then 
    9210   cat >>confdefs.h <<\_ACEOF 
    9211 #define PJ_HAS_SYS_UTSNAME_H 1 
    9212 _ACEOF 
    9213  
    9214 fi 
    9215  
    9216  
    9217 if test "${ac_cv_header_time_h+set}" = set; then 
    9218   { echo "$as_me:$LINENO: checking for time.h" >&5 
    9219 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9220 if test "${ac_cv_header_time_h+set}" = set; then 
    9221   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9222 fi 
    9223 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9224 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9225 else 
    9226   # Is the header compilable? 
    9227 { echo "$as_me:$LINENO: checking time.h usability" >&5 
    9228 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
    9229 cat >conftest.$ac_ext <<_ACEOF 
    9230 /* confdefs.h.  */ 
    9231 _ACEOF 
    9232 cat confdefs.h >>conftest.$ac_ext 
    9233 cat >>conftest.$ac_ext <<_ACEOF 
    9234 /* end confdefs.h.  */ 
    9235 $ac_includes_default 
    9236 #include <time.h> 
    9237 _ACEOF 
    9238 rm -f conftest.$ac_objext 
    9239 if { (ac_try="$ac_compile" 
    9240 case "(($ac_try" in 
    9241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9242   *) ac_try_echo=$ac_try;; 
    9243 esac 
    9244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9245   (eval "$ac_compile") 2>conftest.er1 
    9246   ac_status=$? 
    9247   grep -v '^ *+' conftest.er1 >conftest.err 
    9248   rm -f conftest.er1 
    9249   cat conftest.err >&5 
    9250   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9251   (exit $ac_status); } && { 
    9252          test -z "$ac_c_werror_flag" || 
    9253          test ! -s conftest.err 
    9254        } && test -s conftest.$ac_objext; then 
    9255   ac_header_compiler=yes 
    9256 else 
    9257   echo "$as_me: failed program was:" >&5 
    9258 sed 's/^/| /' conftest.$ac_ext >&5 
    9259  
    9260         ac_header_compiler=no 
    9261 fi 
    9262  
    9263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9264 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9265 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9266  
    9267 # Is the header present? 
    9268 { echo "$as_me:$LINENO: checking time.h presence" >&5 
    9269 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
    9270 cat >conftest.$ac_ext <<_ACEOF 
    9271 /* confdefs.h.  */ 
    9272 _ACEOF 
    9273 cat confdefs.h >>conftest.$ac_ext 
    9274 cat >>conftest.$ac_ext <<_ACEOF 
    9275 /* end confdefs.h.  */ 
    9276 #include <time.h> 
    9277 _ACEOF 
    9278 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9279 case "(($ac_try" in 
    9280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9281   *) ac_try_echo=$ac_try;; 
    9282 esac 
    9283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9284   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9285   ac_status=$? 
    9286   grep -v '^ *+' conftest.er1 >conftest.err 
    9287   rm -f conftest.er1 
    9288   cat conftest.err >&5 
    9289   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9290   (exit $ac_status); } >/dev/null && { 
    9291          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9292          test ! -s conftest.err 
    9293        }; then 
    9294   ac_header_preproc=yes 
    9295 else 
    9296   echo "$as_me: failed program was:" >&5 
    9297 sed 's/^/| /' conftest.$ac_ext >&5 
    9298  
    9299   ac_header_preproc=no 
    9300 fi 
    9301  
    9302 rm -f conftest.err conftest.$ac_ext 
    9303 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9304 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9305  
    9306 # So?  What about this header? 
    9307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9308   yes:no: ) 
    9309     { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9310 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9311     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    9312 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    9313     ac_header_preproc=yes 
    9314     ;; 
    9315   no:yes:* ) 
    9316     { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    9317 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    9318     { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    9319 echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    9320     { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    9321 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    9322     { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9323 echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9324     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    9325 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    9326     { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    9327 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    9328  
    9329     ;; 
    9330 esac 
    9331 { echo "$as_me:$LINENO: checking for time.h" >&5 
    9332 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9333 if test "${ac_cv_header_time_h+set}" = set; then 
    9334   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9335 else 
    9336   ac_cv_header_time_h=$ac_header_preproc 
    9337 fi 
    9338 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9339 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9340  
    9341 fi 
    9342 if test $ac_cv_header_time_h = yes; then 
    9343   cat >>confdefs.h <<\_ACEOF 
    9344 #define PJ_HAS_TIME_H 1 
    9345 _ACEOF 
    9346  
    9347 fi 
    9348  
    9349  
    9350 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9351   { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9352 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9353 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9354   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9355 fi 
    9356 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9357 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9358 else 
    9359   # Is the header compilable? 
    9360 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    9361 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
    9362 cat >conftest.$ac_ext <<_ACEOF 
    9363 /* confdefs.h.  */ 
    9364 _ACEOF 
    9365 cat confdefs.h >>conftest.$ac_ext 
    9366 cat >>conftest.$ac_ext <<_ACEOF 
    9367 /* end confdefs.h.  */ 
    9368 $ac_includes_default 
    9369 #include <unistd.h> 
    9370 _ACEOF 
    9371 rm -f conftest.$ac_objext 
    9372 if { (ac_try="$ac_compile" 
    9373 case "(($ac_try" in 
    9374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9375   *) ac_try_echo=$ac_try;; 
    9376 esac 
    9377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9378   (eval "$ac_compile") 2>conftest.er1 
    9379   ac_status=$? 
    9380   grep -v '^ *+' conftest.er1 >conftest.err 
    9381   rm -f conftest.er1 
    9382   cat conftest.err >&5 
    9383   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9384   (exit $ac_status); } && { 
    9385          test -z "$ac_c_werror_flag" || 
    9386          test ! -s conftest.err 
    9387        } && test -s conftest.$ac_objext; then 
    9388   ac_header_compiler=yes 
    9389 else 
    9390   echo "$as_me: failed program was:" >&5 
    9391 sed 's/^/| /' conftest.$ac_ext >&5 
    9392  
    9393         ac_header_compiler=no 
    9394 fi 
    9395  
    9396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9397 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9398 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9399  
    9400 # Is the header present? 
    9401 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    9402 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
    9403 cat >conftest.$ac_ext <<_ACEOF 
    9404 /* confdefs.h.  */ 
    9405 _ACEOF 
    9406 cat confdefs.h >>conftest.$ac_ext 
    9407 cat >>conftest.$ac_ext <<_ACEOF 
    9408 /* end confdefs.h.  */ 
    9409 #include <unistd.h> 
    9410 _ACEOF 
    9411 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9412 case "(($ac_try" in 
    9413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9414   *) ac_try_echo=$ac_try;; 
    9415 esac 
    9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9417   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9418   ac_status=$? 
    9419   grep -v '^ *+' conftest.er1 >conftest.err 
    9420   rm -f conftest.er1 
    9421   cat conftest.err >&5 
    9422   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9423   (exit $ac_status); } >/dev/null && { 
    9424          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9425          test ! -s conftest.err 
    9426        }; then 
    9427   ac_header_preproc=yes 
    9428 else 
    9429   echo "$as_me: failed program was:" >&5 
    9430 sed 's/^/| /' conftest.$ac_ext >&5 
    9431  
    9432   ac_header_preproc=no 
    9433 fi 
    9434  
    9435 rm -f conftest.err conftest.$ac_ext 
    9436 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9437 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9438  
    9439 # So?  What about this header? 
    9440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9441   yes:no: ) 
    9442     { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9443 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9444     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    9445 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    9446     ac_header_preproc=yes 
    9447     ;; 
    9448   no:yes:* ) 
    9449     { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    9450 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    9451     { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    9452 echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    9453     { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    9454 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    9455     { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9456 echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9457     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    9458 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    9459     { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    9460 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    9461  
    9462     ;; 
    9463 esac 
    9464 { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9465 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9466 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9467   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9468 else 
    9469   ac_cv_header_unistd_h=$ac_header_preproc 
    9470 fi 
    9471 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9472 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9473  
    9474 fi 
    9475 if test $ac_cv_header_unistd_h = yes; then 
    9476   cat >>confdefs.h <<\_ACEOF 
    9477 #define PJ_HAS_UNISTD_H 1 
    9478 _ACEOF 
    9479  
    9480 fi 
    9481  
    9482  
    9483 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9484   { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9485 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9486 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9487   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9488 fi 
    9489 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9490 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9491 else 
    9492   # Is the header compilable? 
    9493 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    9494 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
    9495 cat >conftest.$ac_ext <<_ACEOF 
    9496 /* confdefs.h.  */ 
    9497 _ACEOF 
    9498 cat confdefs.h >>conftest.$ac_ext 
    9499 cat >>conftest.$ac_ext <<_ACEOF 
    9500 /* end confdefs.h.  */ 
    9501 $ac_includes_default 
    9502 #include <winsock.h> 
    9503 _ACEOF 
    9504 rm -f conftest.$ac_objext 
    9505 if { (ac_try="$ac_compile" 
    9506 case "(($ac_try" in 
    9507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9508   *) ac_try_echo=$ac_try;; 
    9509 esac 
    9510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9511   (eval "$ac_compile") 2>conftest.er1 
    9512   ac_status=$? 
    9513   grep -v '^ *+' conftest.er1 >conftest.err 
    9514   rm -f conftest.er1 
    9515   cat conftest.err >&5 
    9516   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9517   (exit $ac_status); } && { 
    9518          test -z "$ac_c_werror_flag" || 
    9519          test ! -s conftest.err 
    9520        } && test -s conftest.$ac_objext; then 
    9521   ac_header_compiler=yes 
    9522 else 
    9523   echo "$as_me: failed program was:" >&5 
    9524 sed 's/^/| /' conftest.$ac_ext >&5 
    9525  
    9526         ac_header_compiler=no 
    9527 fi 
    9528  
    9529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9530 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9531 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9532  
    9533 # Is the header present? 
    9534 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    9535 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
    9536 cat >conftest.$ac_ext <<_ACEOF 
    9537 /* confdefs.h.  */ 
    9538 _ACEOF 
    9539 cat confdefs.h >>conftest.$ac_ext 
    9540 cat >>conftest.$ac_ext <<_ACEOF 
    9541 /* end confdefs.h.  */ 
    9542 #include <winsock.h> 
    9543 _ACEOF 
    9544 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9545 case "(($ac_try" in 
    9546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9547   *) ac_try_echo=$ac_try;; 
    9548 esac 
    9549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9550   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9551   ac_status=$? 
    9552   grep -v '^ *+' conftest.er1 >conftest.err 
    9553   rm -f conftest.er1 
    9554   cat conftest.err >&5 
    9555   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9556   (exit $ac_status); } >/dev/null && { 
    9557          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9558          test ! -s conftest.err 
    9559        }; then 
    9560   ac_header_preproc=yes 
    9561 else 
    9562   echo "$as_me: failed program was:" >&5 
    9563 sed 's/^/| /' conftest.$ac_ext >&5 
    9564  
    9565   ac_header_preproc=no 
    9566 fi 
    9567  
    9568 rm -f conftest.err conftest.$ac_ext 
    9569 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9570 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9571  
    9572 # So?  What about this header? 
    9573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9574   yes:no: ) 
    9575     { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9576 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9577     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    9578 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    9579     ac_header_preproc=yes 
    9580     ;; 
    9581   no:yes:* ) 
    9582     { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    9583 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    9584     { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    9585 echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    9586     { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    9587 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    9588     { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9589 echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9590     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    9591 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    9592     { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    9593 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    9594  
    9595     ;; 
    9596 esac 
    9597 { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9598 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9599 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9600   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9601 else 
    9602   ac_cv_header_winsock_h=$ac_header_preproc 
    9603 fi 
    9604 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9605 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9606  
    9607 fi 
    9608 if test $ac_cv_header_winsock_h = yes; then 
    9609   cat >>confdefs.h <<\_ACEOF 
    9610 #define PJ_HAS_WINSOCK_H 1 
    9611 _ACEOF 
    9612  
    9613 fi 
    9614  
    9615  
    9616 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9617   { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9618 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9619 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9620   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9621 fi 
    9622 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9623 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9624 else 
    9625   # Is the header compilable? 
    9626 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    9627 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
    9628 cat >conftest.$ac_ext <<_ACEOF 
    9629 /* confdefs.h.  */ 
    9630 _ACEOF 
    9631 cat confdefs.h >>conftest.$ac_ext 
    9632 cat >>conftest.$ac_ext <<_ACEOF 
    9633 /* end confdefs.h.  */ 
    9634 $ac_includes_default 
    9635 #include <winsock2.h> 
    9636 _ACEOF 
    9637 rm -f conftest.$ac_objext 
    9638 if { (ac_try="$ac_compile" 
    9639 case "(($ac_try" in 
    9640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9641   *) ac_try_echo=$ac_try;; 
    9642 esac 
    9643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9644   (eval "$ac_compile") 2>conftest.er1 
    9645   ac_status=$? 
    9646   grep -v '^ *+' conftest.er1 >conftest.err 
    9647   rm -f conftest.er1 
    9648   cat conftest.err >&5 
    9649   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9650   (exit $ac_status); } && { 
    9651          test -z "$ac_c_werror_flag" || 
    9652          test ! -s conftest.err 
    9653        } && test -s conftest.$ac_objext; then 
    9654   ac_header_compiler=yes 
    9655 else 
    9656   echo "$as_me: failed program was:" >&5 
    9657 sed 's/^/| /' conftest.$ac_ext >&5 
    9658  
    9659         ac_header_compiler=no 
    9660 fi 
    9661  
    9662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9663 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9664 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9665  
    9666 # Is the header present? 
    9667 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    9668 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
    9669 cat >conftest.$ac_ext <<_ACEOF 
    9670 /* confdefs.h.  */ 
    9671 _ACEOF 
    9672 cat confdefs.h >>conftest.$ac_ext 
    9673 cat >>conftest.$ac_ext <<_ACEOF 
    9674 /* end confdefs.h.  */ 
    9675 #include <winsock2.h> 
    9676 _ACEOF 
    9677 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9678 case "(($ac_try" in 
    9679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9680   *) ac_try_echo=$ac_try;; 
    9681 esac 
    9682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9683   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9684   ac_status=$? 
    9685   grep -v '^ *+' conftest.er1 >conftest.err 
    9686   rm -f conftest.er1 
    9687   cat conftest.err >&5 
    9688   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9689   (exit $ac_status); } >/dev/null && { 
    9690          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9691          test ! -s conftest.err 
    9692        }; then 
    9693   ac_header_preproc=yes 
    9694 else 
    9695   echo "$as_me: failed program was:" >&5 
    9696 sed 's/^/| /' conftest.$ac_ext >&5 
    9697  
    9698   ac_header_preproc=no 
    9699 fi 
    9700  
    9701 rm -f conftest.err conftest.$ac_ext 
    9702 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9703 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9704  
    9705 # So?  What about this header? 
    9706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9707   yes:no: ) 
    9708     { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9709 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9710     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    9711 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    9712     ac_header_preproc=yes 
    9713     ;; 
    9714   no:yes:* ) 
    9715     { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    9716 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    9717     { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    9718 echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    9719     { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    9720 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    9721     { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9722 echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9723     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    9724 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    9725     { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    9726 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    9727  
    9728     ;; 
    9729 esac 
    9730 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9731 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9732 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9733   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9734 else 
    9735   ac_cv_header_winsock2_h=$ac_header_preproc 
    9736 fi 
    9737 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9738 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9739  
    9740 fi 
    9741 if test $ac_cv_header_winsock2_h = yes; then 
    9742   cat >>confdefs.h <<\_ACEOF 
    9743 #define PJ_HAS_WINSOCK2_H 1 
    9744 _ACEOF 
    9745  
    9746 fi 
    9747  
    9748  
    9749 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    9750 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
    9751 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    9752   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9753 else 
    9754   cat >conftest.$ac_ext <<_ACEOF 
    9755 /* confdefs.h.  */ 
    9756 _ACEOF 
    9757 cat confdefs.h >>conftest.$ac_ext 
    9758 cat >>conftest.$ac_ext <<_ACEOF 
    9759 /* end confdefs.h.  */ 
    9760 #if PJ_HAS_WINSOCK2_H 
     4787" 
     4788if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4789  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
     4790 
     4791fi 
     4792 
     4793 
     4794ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
     4795if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4796  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
     4797 
     4798fi 
     4799 
     4800 
     4801ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
     4802if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4803  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
     4804if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4805  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
     4806 
     4807fi 
     4808 
     4809fi 
     4810 
     4811 
     4812ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
     4813if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4814  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
     4815 
     4816fi 
     4817 
     4818 
     4819ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
     4820if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4821  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
     4822 
     4823fi 
     4824 
     4825 
     4826ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
     4827if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4828  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
     4829 
     4830fi 
     4831 
     4832 
     4833ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
     4834if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4835  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
     4836 
     4837fi 
     4838 
     4839 
     4840ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
     4841if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4842  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
     4843 
     4844fi 
     4845 
     4846 
     4847ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
     4848if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4849  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
     4850 
     4851fi 
     4852 
     4853 
     4854ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
     4855if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4856  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
     4857 
     4858fi 
     4859 
     4860 
     4861ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
     4862if test "x$ac_cv_header_string_h" = x""yes; then : 
     4863  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
     4864 
     4865fi 
     4866 
     4867 
     4868ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
     4869if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4870  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
     4871 
     4872fi 
     4873 
     4874 
     4875ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
     4876if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4877  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
     4878 
     4879fi 
     4880 
     4881 
     4882ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
     4883if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4884  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
     4885 
     4886fi 
     4887 
     4888 
     4889ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
     4890if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4891  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
     4892 
     4893fi 
     4894 
     4895 
     4896ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
     4897if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4898  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
     4899 
     4900fi 
     4901 
     4902 
     4903ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
     4904if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4905  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
     4906 
     4907fi 
     4908 
     4909 
     4910ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
     4911if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4912  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
     4913 
     4914fi 
     4915 
     4916 
     4917ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
     4918if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     4919  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
     4920 
     4921fi 
     4922 
     4923 
     4924ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 
     4925if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 
     4926  $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 
     4927 
     4928fi 
     4929 
     4930 
     4931ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
     4932if test "x$ac_cv_header_time_h" = x""yes; then : 
     4933  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
     4934 
     4935fi 
     4936 
     4937 
     4938ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
     4939if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     4940  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
     4941 
     4942fi 
     4943 
     4944 
     4945ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
     4946if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     4947  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
     4948 
     4949fi 
     4950 
     4951 
     4952ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
     4953if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     4954  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
     4955 
     4956fi 
     4957 
     4958 
     4959ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
    97614960                  #     include <winsock2.h> 
    97624961                  #elif PJ_HAS_WINSOCK_H 
     
    97644963                  #endif 
    97654964 
    9766  
    9767 #include <mswsock.h> 
    9768 _ACEOF 
    9769 rm -f conftest.$ac_objext 
    9770 if { (ac_try="$ac_compile" 
    9771 case "(($ac_try" in 
    9772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9773   *) ac_try_echo=$ac_try;; 
    9774 esac 
    9775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9776   (eval "$ac_compile") 2>conftest.er1 
    9777   ac_status=$? 
    9778   grep -v '^ *+' conftest.er1 >conftest.err 
    9779   rm -f conftest.er1 
    9780   cat conftest.err >&5 
    9781   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9782   (exit $ac_status); } && { 
    9783          test -z "$ac_c_werror_flag" || 
    9784          test ! -s conftest.err 
    9785        } && test -s conftest.$ac_objext; then 
    9786   ac_cv_header_mswsock_h=yes 
    9787 else 
    9788   echo "$as_me: failed program was:" >&5 
    9789 sed 's/^/| /' conftest.$ac_ext >&5 
    9790  
    9791         ac_cv_header_mswsock_h=no 
    9792 fi 
    9793  
    9794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9795 fi 
    9796 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    9797 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
    9798 if test $ac_cv_header_mswsock_h = yes; then 
    9799   cat >>confdefs.h <<\_ACEOF 
    9800 #define PJ_HAS_MSWSOCK_H 1 
    9801 _ACEOF 
    9802  
    9803 fi 
    9804  
    9805  
    9806 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9807   { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9808 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9809 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9810   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9811 fi 
    9812 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9813 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9814 else 
    9815   # Is the header compilable? 
    9816 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
    9817 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
    9818 cat >conftest.$ac_ext <<_ACEOF 
    9819 /* confdefs.h.  */ 
    9820 _ACEOF 
    9821 cat confdefs.h >>conftest.$ac_ext 
    9822 cat >>conftest.$ac_ext <<_ACEOF 
    9823 /* end confdefs.h.  */ 
    9824 $ac_includes_default 
    9825 #include <ws2tcpip.h> 
    9826 _ACEOF 
    9827 rm -f conftest.$ac_objext 
    9828 if { (ac_try="$ac_compile" 
    9829 case "(($ac_try" in 
    9830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9831   *) ac_try_echo=$ac_try;; 
    9832 esac 
    9833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9834   (eval "$ac_compile") 2>conftest.er1 
    9835   ac_status=$? 
    9836   grep -v '^ *+' conftest.er1 >conftest.err 
    9837   rm -f conftest.er1 
    9838   cat conftest.err >&5 
    9839   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9840   (exit $ac_status); } && { 
    9841          test -z "$ac_c_werror_flag" || 
    9842          test ! -s conftest.err 
    9843        } && test -s conftest.$ac_objext; then 
    9844   ac_header_compiler=yes 
    9845 else 
    9846   echo "$as_me: failed program was:" >&5 
    9847 sed 's/^/| /' conftest.$ac_ext >&5 
    9848  
    9849         ac_header_compiler=no 
    9850 fi 
    9851  
    9852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9853 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9854 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9855  
    9856 # Is the header present? 
    9857 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
    9858 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
    9859 cat >conftest.$ac_ext <<_ACEOF 
    9860 /* confdefs.h.  */ 
    9861 _ACEOF 
    9862 cat confdefs.h >>conftest.$ac_ext 
    9863 cat >>conftest.$ac_ext <<_ACEOF 
    9864 /* end confdefs.h.  */ 
    9865 #include <ws2tcpip.h> 
    9866 _ACEOF 
    9867 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9868 case "(($ac_try" in 
    9869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9870   *) ac_try_echo=$ac_try;; 
    9871 esac 
    9872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9873   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9874   ac_status=$? 
    9875   grep -v '^ *+' conftest.er1 >conftest.err 
    9876   rm -f conftest.er1 
    9877   cat conftest.err >&5 
    9878   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9879   (exit $ac_status); } >/dev/null && { 
    9880          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9881          test ! -s conftest.err 
    9882        }; then 
    9883   ac_header_preproc=yes 
    9884 else 
    9885   echo "$as_me: failed program was:" >&5 
    9886 sed 's/^/| /' conftest.$ac_ext >&5 
    9887  
    9888   ac_header_preproc=no 
    9889 fi 
    9890  
    9891 rm -f conftest.err conftest.$ac_ext 
    9892 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9893 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9894  
    9895 # So?  What about this header? 
    9896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9897   yes:no: ) 
    9898     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9899 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9900     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
    9901 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
    9902     ac_header_preproc=yes 
    9903     ;; 
    9904   no:yes:* ) 
    9905     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
    9906 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
    9907     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
    9908 echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
    9909     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
    9910 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
    9911     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9912 echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9913     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
    9914 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
    9915     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
    9916 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
    9917  
    9918     ;; 
    9919 esac 
    9920 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9921 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9922 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9923   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9924 else 
    9925   ac_cv_header_ws2tcpip_h=$ac_header_preproc 
    9926 fi 
    9927 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9928 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9929  
    9930 fi 
    9931 if test $ac_cv_header_ws2tcpip_h = yes; then 
    9932   cat >>confdefs.h <<\_ACEOF 
    9933 #define PJ_HAS_WS2TCPIP_H 1 
    9934 _ACEOF 
    9935  
    9936 fi 
    9937  
    9938  
    9939 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9940   { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9941 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    9942 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9943   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9944 fi 
    9945 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9946 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    9947 else 
    9948   # Is the header compilable? 
    9949 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
    9950 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
    9951 cat >conftest.$ac_ext <<_ACEOF 
    9952 /* confdefs.h.  */ 
    9953 _ACEOF 
    9954 cat confdefs.h >>conftest.$ac_ext 
    9955 cat >>conftest.$ac_ext <<_ACEOF 
    9956 /* end confdefs.h.  */ 
    9957 $ac_includes_default 
    9958 #include <uuid/uuid.h> 
    9959 _ACEOF 
    9960 rm -f conftest.$ac_objext 
    9961 if { (ac_try="$ac_compile" 
    9962 case "(($ac_try" in 
    9963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9964   *) ac_try_echo=$ac_try;; 
    9965 esac 
    9966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9967   (eval "$ac_compile") 2>conftest.er1 
    9968   ac_status=$? 
    9969   grep -v '^ *+' conftest.er1 >conftest.err 
    9970   rm -f conftest.er1 
    9971   cat conftest.err >&5 
    9972   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9973   (exit $ac_status); } && { 
    9974          test -z "$ac_c_werror_flag" || 
    9975          test ! -s conftest.err 
    9976        } && test -s conftest.$ac_objext; then 
    9977   ac_header_compiler=yes 
    9978 else 
    9979   echo "$as_me: failed program was:" >&5 
    9980 sed 's/^/| /' conftest.$ac_ext >&5 
    9981  
    9982         ac_header_compiler=no 
    9983 fi 
    9984  
    9985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9987 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9988  
    9989 # Is the header present? 
    9990 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
    9991 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
    9992 cat >conftest.$ac_ext <<_ACEOF 
    9993 /* confdefs.h.  */ 
    9994 _ACEOF 
    9995 cat confdefs.h >>conftest.$ac_ext 
    9996 cat >>conftest.$ac_ext <<_ACEOF 
    9997 /* end confdefs.h.  */ 
    9998 #include <uuid/uuid.h> 
    9999 _ACEOF 
    10000 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10001 case "(($ac_try" in 
    10002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10003   *) ac_try_echo=$ac_try;; 
    10004 esac 
    10005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10006   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10007   ac_status=$? 
    10008   grep -v '^ *+' conftest.er1 >conftest.err 
    10009   rm -f conftest.er1 
    10010   cat conftest.err >&5 
    10011   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10012   (exit $ac_status); } >/dev/null && { 
    10013          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10014          test ! -s conftest.err 
    10015        }; then 
    10016   ac_header_preproc=yes 
    10017 else 
    10018   echo "$as_me: failed program was:" >&5 
    10019 sed 's/^/| /' conftest.$ac_ext >&5 
    10020  
    10021   ac_header_preproc=no 
    10022 fi 
    10023  
    10024 rm -f conftest.err conftest.$ac_ext 
    10025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10026 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    10027  
    10028 # So?  What about this header? 
    10029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10030   yes:no: ) 
    10031     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10032 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10033     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
    10034 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
    10035     ac_header_preproc=yes 
    10036     ;; 
    10037   no:yes:* ) 
    10038     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
    10039 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
    10040     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
    10041 echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
    10042     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
    10043 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
    10044     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10045 echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10046     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
    10047 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
    10048     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
    10049 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
    10050  
    10051     ;; 
    10052 esac 
    10053 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    10054 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    10055 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    10056   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10057 else 
    10058   ac_cv_header_uuid_uuid_h=$ac_header_preproc 
    10059 fi 
    10060 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    10061 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    10062  
    10063 fi 
    10064 if test $ac_cv_header_uuid_uuid_h = yes; then 
     4965" 
     4966if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     4967  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
     4968 
     4969fi 
     4970 
     4971 
     4972ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
     4973if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     4974  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
     4975 
     4976fi 
     4977 
     4978 
     4979ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
     4980if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
    100654981  ac_has_uuid_h=1 
    100664982fi 
    100674983 
    100684984 
    10069 { echo "$as_me:$LINENO: checking for net/if.h" >&5 
    10070 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
    10071 if test "${ac_cv_header_net_if_h+set}" = set; then 
    10072   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10073 else 
    10074   cat >conftest.$ac_ext <<_ACEOF 
    10075 /* confdefs.h.  */ 
    10076 _ACEOF 
    10077 cat confdefs.h >>conftest.$ac_ext 
    10078 cat >>conftest.$ac_ext <<_ACEOF 
    10079 /* end confdefs.h.  */ 
    10080 #if PJ_HAS_SYS_TYPES_H 
     4985ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
    100814986                  #     include <sys/types.h> 
    100824987                  #endif 
     
    100864991                  #endif 
    100874992 
    10088  
    10089 #include <net/if.h> 
    10090 _ACEOF 
    10091 rm -f conftest.$ac_objext 
    10092 if { (ac_try="$ac_compile" 
    10093 case "(($ac_try" in 
    10094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10095   *) ac_try_echo=$ac_try;; 
    10096 esac 
    10097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10098   (eval "$ac_compile") 2>conftest.er1 
    10099   ac_status=$? 
    10100   grep -v '^ *+' conftest.er1 >conftest.err 
    10101   rm -f conftest.er1 
    10102   cat conftest.err >&5 
    10103   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10104   (exit $ac_status); } && { 
    10105          test -z "$ac_c_werror_flag" || 
    10106          test ! -s conftest.err 
    10107        } && test -s conftest.$ac_objext; then 
    10108   ac_cv_header_net_if_h=yes 
    10109 else 
    10110   echo "$as_me: failed program was:" >&5 
    10111 sed 's/^/| /' conftest.$ac_ext >&5 
    10112  
    10113         ac_cv_header_net_if_h=no 
    10114 fi 
    10115  
    10116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10117 fi 
    10118 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
    10119 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
    10120 if test $ac_cv_header_net_if_h = yes; then 
    10121   cat >>confdefs.h <<\_ACEOF 
    10122 #define PJ_HAS_NET_IF_H 1 
    10123 _ACEOF 
    10124  
    10125 fi 
    10126  
    10127  
    10128 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    10129 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
     4993" 
     4994if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     4995  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
     4996 
     4997fi 
     4998 
     4999 
     5000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
     5001$as_echo "Setting PJ_OS_NAME to $target" >&6; } 
    101305002cat >>confdefs.h <<_ACEOF 
    101315003#define PJ_OS_NAME "$target" 
     
    101335005 
    101345006 
    10135 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    10136 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    10137 cat >>confdefs.h <<\_ACEOF 
    10138 #define PJ_HAS_ERRNO_VAR 1 
    10139 _ACEOF 
    10140  
    10141  
    10142 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    10143 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    10144 cat >>confdefs.h <<\_ACEOF 
    10145 #define PJ_HAS_HIGH_RES_TIMER 1 
    10146 _ACEOF 
    10147  
    10148  
    10149 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    10150 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
    10151 cat >>confdefs.h <<\_ACEOF 
    10152 #define PJ_HAS_MALLOC 1 
    10153 _ACEOF 
    10154  
    10155  
    10156 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    10157 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    10158 cat >>confdefs.h <<\_ACEOF 
    10159 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    10160 _ACEOF 
    10161  
    10162  
    10163 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    10164 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    10165 cat >>confdefs.h <<\_ACEOF 
    10166 #define PJ_ATOMIC_VALUE_TYPE long 
    10167 _ACEOF 
    10168  
    10169  
    10170 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
    10171 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
    10172 cat >conftest.$ac_ext <<_ACEOF 
    10173 /* confdefs.h.  */ 
    10174 _ACEOF 
    10175 cat confdefs.h >>conftest.$ac_ext 
    10176 cat >>conftest.$ac_ext <<_ACEOF 
     5007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     5008$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     5009$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
     5010 
     5011 
     5012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     5013$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     5014$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
     5015 
     5016 
     5017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
     5018$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
     5019$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
     5020 
     5021 
     5022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     5023$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     5024$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
     5025 
     5026 
     5027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     5028$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     5029$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
     5030 
     5031 
     5032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
     5033$as_echo_n "checking if inet_aton() is available... " >&6; } 
     5034cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101775035/* end confdefs.h.  */ 
    101785036#include <sys/types.h> 
     
    101875045} 
    101885046_ACEOF 
    10189 rm -f conftest.$ac_objext 
    10190 if { (ac_try="$ac_compile" 
    10191 case "(($ac_try" in 
    10192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10193   *) ac_try_echo=$ac_try;; 
    10194 esac 
    10195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10196   (eval "$ac_compile") 2>conftest.er1 
    10197   ac_status=$? 
    10198   grep -v '^ *+' conftest.er1 >conftest.err 
    10199   rm -f conftest.er1 
    10200   cat conftest.err >&5 
    10201   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10202   (exit $ac_status); } && { 
    10203          test -z "$ac_c_werror_flag" || 
    10204          test ! -s conftest.err 
    10205        } && test -s conftest.$ac_objext; then 
    10206   cat >>confdefs.h <<\_ACEOF 
    10207 #define PJ_SOCK_HAS_INET_ATON 1 
    10208 _ACEOF 
    10209  
    10210                    { echo "$as_me:$LINENO: result: yes" >&5 
    10211 echo "${ECHO_T}yes" >&6; } 
    10212 else 
    10213   echo "$as_me: failed program was:" >&5 
    10214 sed 's/^/| /' conftest.$ac_ext >&5 
    10215  
    10216         { echo "$as_me:$LINENO: result: no" >&5 
    10217 echo "${ECHO_T}no" >&6; } 
    10218 fi 
    10219  
     5047if ac_fn_c_try_compile "$LINENO"; then : 
     5048  $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
     5049 
     5050                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5051$as_echo "yes" >&6; } 
     5052else 
     5053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5054$as_echo "no" >&6; } 
     5055fi 
    102205056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102215057 
    10222 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
    10223 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
    10224 cat >conftest.$ac_ext <<_ACEOF 
    10225 /* confdefs.h.  */ 
    10226 _ACEOF 
    10227 cat confdefs.h >>conftest.$ac_ext 
    10228 cat >>conftest.$ac_ext <<_ACEOF 
     5058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
     5059$as_echo_n "checking if inet_pton() is available... " >&6; } 
     5060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102295061/* end confdefs.h.  */ 
    102305062#include <sys/types.h> 
     
    102395071} 
    102405072_ACEOF 
    10241 rm -f conftest.$ac_objext 
    10242 if { (ac_try="$ac_compile" 
    10243 case "(($ac_try" in 
    10244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10245   *) ac_try_echo=$ac_try;; 
    10246 esac 
    10247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10248   (eval "$ac_compile") 2>conftest.er1 
    10249   ac_status=$? 
    10250   grep -v '^ *+' conftest.er1 >conftest.err 
    10251   rm -f conftest.er1 
    10252   cat conftest.err >&5 
    10253   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10254   (exit $ac_status); } && { 
    10255          test -z "$ac_c_werror_flag" || 
    10256          test ! -s conftest.err 
    10257        } && test -s conftest.$ac_objext; then 
    10258   cat >>confdefs.h <<\_ACEOF 
    10259 #define PJ_SOCK_HAS_INET_PTON 1 
    10260 _ACEOF 
    10261  
    10262                    { echo "$as_me:$LINENO: result: yes" >&5 
    10263 echo "${ECHO_T}yes" >&6; } 
    10264 else 
    10265   echo "$as_me: failed program was:" >&5 
    10266 sed 's/^/| /' conftest.$ac_ext >&5 
    10267  
    10268         { echo "$as_me:$LINENO: result: no" >&5 
    10269 echo "${ECHO_T}no" >&6; } 
    10270 fi 
    10271  
     5073if ac_fn_c_try_compile "$LINENO"; then : 
     5074  $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
     5075 
     5076                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5077$as_echo "yes" >&6; } 
     5078else 
     5079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5080$as_echo "no" >&6; } 
     5081fi 
    102725082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102735083 
    10274 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
    10275 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
    10276 cat >conftest.$ac_ext <<_ACEOF 
    10277 /* confdefs.h.  */ 
    10278 _ACEOF 
    10279 cat confdefs.h >>conftest.$ac_ext 
    10280 cat >>conftest.$ac_ext <<_ACEOF 
     5084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
     5085$as_echo_n "checking if inet_ntop() is available... " >&6; } 
     5086cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102815087/* end confdefs.h.  */ 
    102825088#include <sys/types.h> 
     
    102915097} 
    102925098_ACEOF 
    10293 rm -f conftest.$ac_objext 
    10294 if { (ac_try="$ac_compile" 
    10295 case "(($ac_try" in 
    10296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10297   *) ac_try_echo=$ac_try;; 
    10298 esac 
    10299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10300   (eval "$ac_compile") 2>conftest.er1 
    10301   ac_status=$? 
    10302   grep -v '^ *+' conftest.er1 >conftest.err 
    10303   rm -f conftest.er1 
    10304   cat conftest.err >&5 
    10305   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10306   (exit $ac_status); } && { 
    10307          test -z "$ac_c_werror_flag" || 
    10308          test ! -s conftest.err 
    10309        } && test -s conftest.$ac_objext; then 
    10310   cat >>confdefs.h <<\_ACEOF 
    10311 #define PJ_SOCK_HAS_INET_NTOP 1 
    10312 _ACEOF 
    10313  
    10314                    { echo "$as_me:$LINENO: result: yes" >&5 
    10315 echo "${ECHO_T}yes" >&6; } 
    10316 else 
    10317   echo "$as_me: failed program was:" >&5 
    10318 sed 's/^/| /' conftest.$ac_ext >&5 
    10319  
    10320         { echo "$as_me:$LINENO: result: no" >&5 
    10321 echo "${ECHO_T}no" >&6; } 
    10322 fi 
    10323  
     5099if ac_fn_c_try_compile "$LINENO"; then : 
     5100  $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
     5101 
     5102                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5103$as_echo "yes" >&6; } 
     5104else 
     5105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5106$as_echo "no" >&6; } 
     5107fi 
    103245108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103255109 
    10326 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
    10327 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
    10328 cat >conftest.$ac_ext <<_ACEOF 
    10329 /* confdefs.h.  */ 
    10330 _ACEOF 
    10331 cat confdefs.h >>conftest.$ac_ext 
    10332 cat >>conftest.$ac_ext <<_ACEOF 
     5110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
     5111$as_echo_n "checking if getaddrinfo() is available... " >&6; } 
     5112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103335113/* end confdefs.h.  */ 
    103345114#include <sys/types.h> 
     
    103435123} 
    103445124_ACEOF 
    10345 rm -f conftest.$ac_objext 
    10346 if { (ac_try="$ac_compile" 
    10347 case "(($ac_try" in 
    10348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10349   *) ac_try_echo=$ac_try;; 
    10350 esac 
    10351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10352   (eval "$ac_compile") 2>conftest.er1 
    10353   ac_status=$? 
    10354   grep -v '^ *+' conftest.er1 >conftest.err 
    10355   rm -f conftest.er1 
    10356   cat conftest.err >&5 
    10357   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10358   (exit $ac_status); } && { 
    10359          test -z "$ac_c_werror_flag" || 
    10360          test ! -s conftest.err 
    10361        } && test -s conftest.$ac_objext; then 
    10362   cat >>confdefs.h <<\_ACEOF 
    10363 #define PJ_SOCK_HAS_GETADDRINFO 1 
    10364 _ACEOF 
    10365  
    10366                    { echo "$as_me:$LINENO: result: yes" >&5 
    10367 echo "${ECHO_T}yes" >&6; } 
    10368 else 
    10369   echo "$as_me: failed program was:" >&5 
    10370 sed 's/^/| /' conftest.$ac_ext >&5 
    10371  
    10372         { echo "$as_me:$LINENO: result: no" >&5 
    10373 echo "${ECHO_T}no" >&6; } 
    10374 fi 
    10375  
     5125if ac_fn_c_try_compile "$LINENO"; then : 
     5126  $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
     5127 
     5128                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5129$as_echo "yes" >&6; } 
     5130else 
     5131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5132$as_echo "no" >&6; } 
     5133fi 
    103765134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103775135 
    10378 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    10379 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
    10380 cat >conftest.$ac_ext <<_ACEOF 
    10381 /* confdefs.h.  */ 
    10382 _ACEOF 
    10383 cat confdefs.h >>conftest.$ac_ext 
    10384 cat >>conftest.$ac_ext <<_ACEOF 
     5136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
     5137$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
     5138cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103855139/* end confdefs.h.  */ 
    103865140#include <sys/types.h> 
     
    103965150} 
    103975151_ACEOF 
    10398 rm -f conftest.$ac_objext 
    10399 if { (ac_try="$ac_compile" 
    10400 case "(($ac_try" in 
    10401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10402   *) ac_try_echo=$ac_try;; 
    10403 esac 
    10404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10405   (eval "$ac_compile") 2>conftest.er1 
    10406   ac_status=$? 
    10407   grep -v '^ *+' conftest.er1 >conftest.err 
    10408   rm -f conftest.er1 
    10409   cat conftest.err >&5 
    10410   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10411   (exit $ac_status); } && { 
    10412          test -z "$ac_c_werror_flag" || 
    10413          test ! -s conftest.err 
    10414        } && test -s conftest.$ac_objext; then 
    10415   cat >>confdefs.h <<\_ACEOF 
    10416 #define PJ_SOCKADDR_HAS_LEN 1 
    10417 _ACEOF 
    10418  
    10419                    { echo "$as_me:$LINENO: result: yes" >&5 
    10420 echo "${ECHO_T}yes" >&6; } 
    10421 else 
    10422   echo "$as_me: failed program was:" >&5 
    10423 sed 's/^/| /' conftest.$ac_ext >&5 
    10424  
    10425         { echo "$as_me:$LINENO: result: no" >&5 
    10426 echo "${ECHO_T}no" >&6; } 
    10427 fi 
    10428  
     5152if ac_fn_c_try_compile "$LINENO"; then : 
     5153  $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
     5154 
     5155                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5156$as_echo "yes" >&6; } 
     5157else 
     5158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5159$as_echo "no" >&6; } 
     5160fi 
    104295161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104305162 
    10431 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    10432 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
    10433 cat >conftest.$ac_ext <<_ACEOF 
    10434 /* confdefs.h.  */ 
    10435 _ACEOF 
    10436 cat confdefs.h >>conftest.$ac_ext 
    10437 cat >>conftest.$ac_ext <<_ACEOF 
     5163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
     5164$as_echo_n "checking if socklen_t is available... " >&6; } 
     5165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104385166/* end confdefs.h.  */ 
    104395167#include <sys/types.h> 
     
    104475175} 
    104485176_ACEOF 
    10449 rm -f conftest.$ac_objext 
    10450 if { (ac_try="$ac_compile" 
    10451 case "(($ac_try" in 
    10452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10453   *) ac_try_echo=$ac_try;; 
    10454 esac 
    10455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10456   (eval "$ac_compile") 2>conftest.er1 
    10457   ac_status=$? 
    10458   grep -v '^ *+' conftest.er1 >conftest.err 
    10459   rm -f conftest.er1 
    10460   cat conftest.err >&5 
    10461   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10462   (exit $ac_status); } && { 
    10463          test -z "$ac_c_werror_flag" || 
    10464          test ! -s conftest.err 
    10465        } && test -s conftest.$ac_objext; then 
    10466   cat >>confdefs.h <<\_ACEOF 
    10467 #define PJ_HAS_SOCKLEN_T 1 
    10468 _ACEOF 
    10469  
    10470                    { echo "$as_me:$LINENO: result: yes" >&5 
    10471 echo "${ECHO_T}yes" >&6; } 
    10472 else 
    10473   echo "$as_me: failed program was:" >&5 
    10474 sed 's/^/| /' conftest.$ac_ext >&5 
    10475  
    10476         { echo "$as_me:$LINENO: result: no" >&5 
    10477 echo "${ECHO_T}no" >&6; } 
    10478 fi 
    10479  
     5177if ac_fn_c_try_compile "$LINENO"; then : 
     5178  $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
     5179 
     5180                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5181$as_echo "yes" >&6; } 
     5182else 
     5183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5184$as_echo "no" >&6; } 
     5185fi 
    104805186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104815187 
    10482 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    10483 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
     5188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
     5189$as_echo_n "checking if SO_ERROR is available... " >&6; } 
    104845190case $target in 
    104855191    *mingw* | *cygw* | *win32* | *w32* ) 
    10486         cat >>confdefs.h <<\_ACEOF 
    10487 #define PJ_HAS_SO_ERROR 1 
    10488 _ACEOF 
    10489  
    10490         { echo "$as_me:$LINENO: result: yes" >&5 
    10491 echo "${ECHO_T}yes" >&6; } 
     5192        $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5193 
     5194        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5195$as_echo "yes" >&6; } 
    104925196        ;; 
    104935197    *) 
    10494         cat >conftest.$ac_ext <<_ACEOF 
    10495 /* confdefs.h.  */ 
    10496 _ACEOF 
    10497 cat confdefs.h >>conftest.$ac_ext 
    10498 cat >>conftest.$ac_ext <<_ACEOF 
     5198        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104995199/* end confdefs.h.  */ 
    105005200#include <sys/types.h> 
     
    105105210} 
    105115211_ACEOF 
    10512 rm -f conftest.$ac_objext 
    10513 if { (ac_try="$ac_compile" 
    10514 case "(($ac_try" in 
    10515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10516   *) ac_try_echo=$ac_try;; 
    10517 esac 
    10518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10519   (eval "$ac_compile") 2>conftest.er1 
    10520   ac_status=$? 
    10521   grep -v '^ *+' conftest.er1 >conftest.err 
    10522   rm -f conftest.er1 
    10523   cat conftest.err >&5 
    10524   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10525   (exit $ac_status); } && { 
    10526          test -z "$ac_c_werror_flag" || 
    10527          test ! -s conftest.err 
    10528        } && test -s conftest.$ac_objext; then 
    10529   cat >>confdefs.h <<\_ACEOF 
    10530 #define PJ_HAS_SO_ERROR 1 
    10531 _ACEOF 
    10532  
    10533                            { echo "$as_me:$LINENO: result: yes" >&5 
    10534 echo "${ECHO_T}yes" >&6; } 
    10535 else 
    10536   echo "$as_me: failed program was:" >&5 
    10537 sed 's/^/| /' conftest.$ac_ext >&5 
    10538  
    10539         { echo "$as_me:$LINENO: result: no" >&5 
    10540 echo "${ECHO_T}no" >&6; } 
    10541 fi 
    10542  
     5212if ac_fn_c_try_compile "$LINENO"; then : 
     5213  $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5214 
     5215                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5216$as_echo "yes" >&6; } 
     5217else 
     5218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5219$as_echo "no" >&6; } 
     5220fi 
    105435221rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    105445222        ;; 
     
    105465224 
    105475225 
    10548 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    10549 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
    10550 cat >conftest.$ac_ext <<_ACEOF 
    10551 /* confdefs.h.  */ 
    10552 _ACEOF 
    10553 cat confdefs.h >>conftest.$ac_ext 
    10554 cat >>conftest.$ac_ext <<_ACEOF 
     5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
     5227$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
     5228cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105555229/* end confdefs.h.  */ 
    105565230#include <pthread.h> 
     
    105635237} 
    105645238_ACEOF 
    10565 rm -f conftest.$ac_objext 
    10566 if { (ac_try="$ac_compile" 
    10567 case "(($ac_try" in 
    10568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10569   *) ac_try_echo=$ac_try;; 
    10570 esac 
    10571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10572   (eval "$ac_compile") 2>conftest.er1 
    10573   ac_status=$? 
    10574   grep -v '^ *+' conftest.er1 >conftest.err 
    10575   rm -f conftest.er1 
    10576   cat conftest.err >&5 
    10577   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10578   (exit $ac_status); } && { 
    10579          test -z "$ac_c_werror_flag" || 
    10580          test ! -s conftest.err 
    10581        } && test -s conftest.$ac_objext; then 
    10582   cat >>confdefs.h <<\_ACEOF 
    10583 #define PJ_EMULATE_RWMUTEX 0 
    10584 _ACEOF 
     5239if ac_fn_c_try_compile "$LINENO"; then : 
     5240  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    105855241 
    105865242                   ac_rwmutex="yes" 
    10587                    { echo "$as_me:$LINENO: result: yes" >&5 
    10588 echo "${ECHO_T}yes" >&6; } 
    10589 else 
    10590   echo "$as_me: failed program was:" >&5 
    10591 sed 's/^/| /' conftest.$ac_ext >&5 
    10592  
    10593         cat >>confdefs.h <<\_ACEOF 
    10594 #define PJ_EMULATE_RWMUTEX 1 
    10595 _ACEOF 
     5243                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5244$as_echo "yes" >&6; } 
     5245else 
     5246  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    105965247 
    105975248                   ac_rwmutex="no" 
    10598                    { echo "$as_me:$LINENO: result: no" >&5 
    10599 echo "${ECHO_T}no" >&6; } 
    10600 fi 
    10601  
     5249                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5250$as_echo "no" >&6; } 
     5251fi 
    106025252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106035253 
    106045254if test "$ac_rwmutex" = "no"; then 
    10605     { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    10606 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
    10607     cat >conftest.$ac_ext <<_ACEOF 
    10608 /* confdefs.h.  */ 
    10609 _ACEOF 
    10610 cat confdefs.h >>conftest.$ac_ext 
    10611 cat >>conftest.$ac_ext <<_ACEOF 
     5255    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     5256$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
     5257    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106125258/* end confdefs.h.  */ 
    106135259#define _POSIX_READER_WRITER_LOCKS 
     
    106215267} 
    106225268_ACEOF 
    10623 rm -f conftest.$ac_objext 
    10624 if { (ac_try="$ac_compile" 
    10625 case "(($ac_try" in 
    10626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10627   *) ac_try_echo=$ac_try;; 
    10628 esac 
    10629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10630   (eval "$ac_compile") 2>conftest.er1 
    10631   ac_status=$? 
    10632   grep -v '^ *+' conftest.er1 >conftest.err 
    10633   rm -f conftest.er1 
    10634   cat conftest.err >&5 
    10635   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10636   (exit $ac_status); } && { 
    10637          test -z "$ac_c_werror_flag" || 
    10638          test ! -s conftest.err 
    10639        } && test -s conftest.$ac_objext; then 
    10640   cat >>confdefs.h <<\_ACEOF 
    10641 #define PJ_EMULATE_RWMUTEX 0 
    10642 _ACEOF 
     5269if ac_fn_c_try_compile "$LINENO"; then : 
     5270  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    106435271 
    106445272                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    10645                        { echo "$as_me:$LINENO: result: yes" >&5 
    10646 echo "${ECHO_T}yes" >&6; } 
    10647 else 
    10648   echo "$as_me: failed program was:" >&5 
    10649 sed 's/^/| /' conftest.$ac_ext >&5 
    10650  
    10651         cat >>confdefs.h <<\_ACEOF 
    10652 #define PJ_EMULATE_RWMUTEX 1 
    10653 _ACEOF 
    10654  
    10655                        { echo "$as_me:$LINENO: result: no" >&5 
    10656 echo "${ECHO_T}no" >&6; } 
    10657 fi 
    10658  
     5273                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5274$as_echo "yes" >&6; } 
     5275else 
     5276  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     5277 
     5278                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5279$as_echo "no" >&6; } 
     5280fi 
    106595281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106605282fi 
    106615283 
    10662 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
    10663 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
    10664 cat >conftest.$ac_ext <<_ACEOF 
    10665 /* confdefs.h.  */ 
    10666 _ACEOF 
    10667 cat confdefs.h >>conftest.$ac_ext 
    10668 cat >>conftest.$ac_ext <<_ACEOF 
     5284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
     5285$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
     5286cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106695287/* end confdefs.h.  */ 
    106705288#include <pthread.h> 
     
    106775295} 
    106785296_ACEOF 
    10679 rm -f conftest.$ac_objext 
    10680 if { (ac_try="$ac_compile" 
    10681 case "(($ac_try" in 
    10682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10683   *) ac_try_echo=$ac_try;; 
    10684 esac 
    10685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10686   (eval "$ac_compile") 2>conftest.er1 
    10687   ac_status=$? 
    10688   grep -v '^ *+' conftest.er1 >conftest.err 
    10689   rm -f conftest.er1 
    10690   cat conftest.err >&5 
    10691   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10692   (exit $ac_status); } && { 
    10693          test -z "$ac_c_werror_flag" || 
    10694          test ! -s conftest.err 
    10695        } && test -s conftest.$ac_objext; then 
    10696   cat >>confdefs.h <<\_ACEOF 
    10697 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
    10698 _ACEOF 
    10699  
    10700                    { echo "$as_me:$LINENO: result: yes" >&5 
    10701 echo "${ECHO_T}yes" >&6; } 
    10702 else 
    10703   echo "$as_me: failed program was:" >&5 
    10704 sed 's/^/| /' conftest.$ac_ext >&5 
    10705  
    10706         { echo "$as_me:$LINENO: result: no" >&5 
    10707 echo "${ECHO_T}no" >&6; } 
    10708 fi 
    10709  
     5297if ac_fn_c_try_compile "$LINENO"; then : 
     5298  $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
     5299 
     5300                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5301$as_echo "yes" >&6; } 
     5302else 
     5303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5304$as_echo "no" >&6; } 
     5305fi 
    107105306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107115307 
    10712 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
    10713 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
    10714 cat >conftest.$ac_ext <<_ACEOF 
    10715 /* confdefs.h.  */ 
    10716 _ACEOF 
    10717 cat confdefs.h >>conftest.$ac_ext 
    10718 cat >>conftest.$ac_ext <<_ACEOF 
     5308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
     5309$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
     5310cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    107195311/* end confdefs.h.  */ 
    107205312#include <pthread.h> 
     
    107285320} 
    107295321_ACEOF 
    10730 rm -f conftest.$ac_objext 
    10731 if { (ac_try="$ac_compile" 
    10732 case "(($ac_try" in 
    10733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10734   *) ac_try_echo=$ac_try;; 
    10735 esac 
    10736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10737   (eval "$ac_compile") 2>conftest.er1 
    10738   ac_status=$? 
    10739   grep -v '^ *+' conftest.er1 >conftest.err 
    10740   rm -f conftest.er1 
    10741   cat conftest.err >&5 
    10742   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10743   (exit $ac_status); } && { 
    10744          test -z "$ac_c_werror_flag" || 
    10745          test ! -s conftest.err 
    10746        } && test -s conftest.$ac_objext; then 
    10747   cat >>confdefs.h <<\_ACEOF 
    10748 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
    10749 _ACEOF 
    10750  
    10751                    { echo "$as_me:$LINENO: result: yes" >&5 
    10752 echo "${ECHO_T}yes" >&6; } 
    10753 else 
    10754   echo "$as_me: failed program was:" >&5 
    10755 sed 's/^/| /' conftest.$ac_ext >&5 
    10756  
    10757         { echo "$as_me:$LINENO: result: no" >&5 
    10758 echo "${ECHO_T}no" >&6; } 
    10759 fi 
    10760  
     5322if ac_fn_c_try_compile "$LINENO"; then : 
     5323  $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
     5324 
     5325                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5326$as_echo "yes" >&6; } 
     5327else 
     5328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5329$as_echo "no" >&6; } 
     5330fi 
    107615331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107625332 
    107635333 
    10764 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 
    10765 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
     5334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
     5335$as_echo_n "checking ioqueue backend... " >&6; } 
    107665336# Check whether --enable-epoll was given. 
    10767 if test "${enable_epoll+set}" = set; then 
     5337if test "${enable_epoll+set}" = set; then : 
    107685338  enableval=$enable_epoll; 
    107695339                ac_os_objs=ioqueue_epoll.o 
    10770                 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
    10771 echo "${ECHO_T}/dev/epoll" >&6; } 
     5340                { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
     5341$as_echo "/dev/epoll" >&6; } 
    107725342 
    107735343else 
    107745344 
    107755345                ac_os_objs=ioqueue_select.o 
    10776                 { echo "$as_me:$LINENO: result: select()" >&5 
    10777 echo "${ECHO_T}select()" >&6; } 
     5346                { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
     5347$as_echo "select()" >&6; } 
    107785348 
    107795349fi 
     
    108085378 
    108095379# Check whether --with-external-speex was given. 
    10810 if test "${with_external_speex+set}" = set; then 
     5380if test "${with_external_speex+set}" = set; then : 
    108115381  withval=$with_external_speex; 
    108125382        if test "x$with_external_speex" != "xno"; then 
    108135383                # Test Speex installation 
    10814                 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
    10815 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
    10816                 cat >conftest.$ac_ext <<_ACEOF 
    10817 /* confdefs.h.  */ 
    10818 _ACEOF 
    10819 cat confdefs.h >>conftest.$ac_ext 
    10820 cat >>conftest.$ac_ext <<_ACEOF 
     5384                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
     5385$as_echo_n "checking if external Speex devkit is installed... " >&6; } 
     5386                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108215387/* end confdefs.h.  */ 
    108225388#include <speex/speex.h> 
     
    108315397} 
    108325398_ACEOF 
    10833 rm -f conftest.$ac_objext 
    10834 if { (ac_try="$ac_compile" 
    10835 case "(($ac_try" in 
    10836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10837   *) ac_try_echo=$ac_try;; 
    10838 esac 
    10839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10840   (eval "$ac_compile") 2>conftest.er1 
    10841   ac_status=$? 
    10842   grep -v '^ *+' conftest.er1 >conftest.err 
    10843   rm -f conftest.er1 
    10844   cat conftest.err >&5 
    10845   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10846   (exit $ac_status); } && { 
    10847          test -z "$ac_c_werror_flag" || 
    10848          test ! -s conftest.err 
    10849        } && test -s conftest.$ac_objext; then 
    10850   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10851 echo "${ECHO_T}yes!!" >&6; } 
    10852                                    cat >>confdefs.h <<\_ACEOF 
    10853 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
    10854 _ACEOF 
     5399if ac_fn_c_try_compile "$LINENO"; then : 
     5400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5401$as_echo "yes!!" >&6; } 
     5402                                   $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
    108555403 
    108565404                                   ac_external_speex="1" 
    108575405 
    108585406else 
    10859   echo "$as_me: failed program was:" >&5 
    10860 sed 's/^/| /' conftest.$ac_ext >&5 
    10861  
    10862         { { 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 
    10863 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;} 
    10864    { (exit 1); exit 1; }; } 
    10865 fi 
    10866  
     5407  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 
     5408fi 
    108675409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    108685410        fi 
     
    108765418 
    108775419# Check whether --with-external-gsm was given. 
    10878 if test "${with_external_gsm+set}" = set; then 
     5420if test "${with_external_gsm+set}" = set; then : 
    108795421  withval=$with_external_gsm; 
    108805422        if test "x$with_external_gsm" != "xno"; then 
    108815423                # Test GSM library installation 
    10882                 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    10883 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
    10884                 cat >conftest.$ac_ext <<_ACEOF 
    10885 /* confdefs.h.  */ 
    10886 _ACEOF 
    10887 cat confdefs.h >>conftest.$ac_ext 
    10888 cat >>conftest.$ac_ext <<_ACEOF 
     5424                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     5425$as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
     5426                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108895427/* end confdefs.h.  */ 
    108905428#include <gsm/gsm.h> 
     
    108975435} 
    108985436_ACEOF 
    10899 rm -f conftest.$ac_objext 
    10900 if { (ac_try="$ac_compile" 
    10901 case "(($ac_try" in 
    10902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10903   *) ac_try_echo=$ac_try;; 
    10904 esac 
    10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10906   (eval "$ac_compile") 2>conftest.er1 
    10907   ac_status=$? 
    10908   grep -v '^ *+' conftest.er1 >conftest.err 
    10909   rm -f conftest.er1 
    10910   cat conftest.err >&5 
    10911   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10912   (exit $ac_status); } && { 
    10913          test -z "$ac_c_werror_flag" || 
    10914          test ! -s conftest.err 
    10915        } && test -s conftest.$ac_objext; then 
    10916   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10917 echo "${ECHO_T}yes!!" >&6; } 
    10918                      cat >>confdefs.h <<\_ACEOF 
    10919 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10920 _ACEOF 
    10921  
    10922                      cat >>confdefs.h <<\_ACEOF 
    10923 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
    10924 _ACEOF 
     5437if ac_fn_c_try_compile "$LINENO"; then : 
     5438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5439$as_echo "yes!!" >&6; } 
     5440                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5441 
     5442                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
    109255443 
    109265444                     ac_external_gsm="1" 
    109275445 
    109285446else 
    10929   echo "$as_me: failed program was:" >&5 
    10930 sed 's/^/| /' conftest.$ac_ext >&5 
    10931  
    10932  
    10933                      { echo "$as_me:$LINENO: result: no" >&5 
    10934 echo "${ECHO_T}no" >&6; } 
    10935                      { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
    10936 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
    10937                      cat >conftest.$ac_ext <<_ACEOF 
    10938 /* confdefs.h.  */ 
    10939 _ACEOF 
    10940 cat confdefs.h >>conftest.$ac_ext 
    10941 cat >>conftest.$ac_ext <<_ACEOF 
     5447 
     5448                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5449$as_echo "no" >&6; } 
     5450                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
     5451$as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
     5452                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    109425453/* end confdefs.h.  */ 
    109435454#include <gsm.h> 
     
    109505461} 
    109515462_ACEOF 
    10952 rm -f conftest.$ac_objext 
    10953 if { (ac_try="$ac_compile" 
    10954 case "(($ac_try" in 
    10955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10956   *) ac_try_echo=$ac_try;; 
    10957 esac 
    10958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10959   (eval "$ac_compile") 2>conftest.er1 
    10960   ac_status=$? 
    10961   grep -v '^ *+' conftest.er1 >conftest.err 
    10962   rm -f conftest.er1 
    10963   cat conftest.err >&5 
    10964   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10965   (exit $ac_status); } && { 
    10966          test -z "$ac_c_werror_flag" || 
    10967          test ! -s conftest.err 
    10968        } && test -s conftest.$ac_objext; then 
    10969   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10970 echo "${ECHO_T}yes!!" >&6; } 
    10971                          cat >>confdefs.h <<\_ACEOF 
    10972 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10973 _ACEOF 
    10974  
    10975                          cat >>confdefs.h <<\_ACEOF 
    10976 #define PJMEDIA_EXTERNAL_GSM_H 1 
    10977 _ACEOF 
     5463if ac_fn_c_try_compile "$LINENO"; then : 
     5464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5465$as_echo "yes!!" >&6; } 
     5466                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5467 
     5468                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
    109785469 
    109795470                         ac_external_gsm="1" 
    109805471 
    109815472else 
    10982   echo "$as_me: failed program was:" >&5 
    10983 sed 's/^/| /' conftest.$ac_ext >&5 
    10984  
    10985         { { 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 
    10986 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;} 
    10987    { (exit 1); exit 1; }; } 
    10988  
    10989  
    10990 fi 
    10991  
     5473  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 
     5474 
     5475 
     5476fi 
    109925477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    109935478 
    109945479 
    109955480fi 
    10996  
    109975481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    109985482        fi 
     
    110065490 
    110075491# Check whether --enable-sound was given. 
    11008 if test "${enable_sound+set}" = set; then 
     5492if test "${enable_sound+set}" = set; then : 
    110095493  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    110105494                ac_pjmedia_snd=null 
    11011                 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
    11012 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
     5495                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
     5496$as_echo "Checking if sound is disabled... yes" >&6; } 
    110135497               fi 
    110145498 
     
    110205504 
    110215505# Check whether --with-external-pa was given. 
    11022 if test "${with_external_pa+set}" = set; then 
     5506if test "${with_external_pa+set}" = set; then : 
    110235507  withval=$with_external_pa; 
    110245508        if test "x$with_external_pa" != "xno"; then 
    110255509                # Test PortAudio installation 
    11026                 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
    11027 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
    11028                 cat >conftest.$ac_ext <<_ACEOF 
    11029 /* confdefs.h.  */ 
    11030 _ACEOF 
    11031 cat confdefs.h >>conftest.$ac_ext 
    11032 cat >>conftest.$ac_ext <<_ACEOF 
     5510                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
     5511$as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
     5512                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    110335513/* end confdefs.h.  */ 
    110345514#include <portaudio.h> 
     
    110425522} 
    110435523_ACEOF 
    11044 rm -f conftest.$ac_objext 
    11045 if { (ac_try="$ac_compile" 
    11046 case "(($ac_try" in 
    11047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11048   *) ac_try_echo=$ac_try;; 
    11049 esac 
    11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11051   (eval "$ac_compile") 2>conftest.er1 
    11052   ac_status=$? 
    11053   grep -v '^ *+' conftest.er1 >conftest.err 
    11054   rm -f conftest.er1 
    11055   cat conftest.err >&5 
    11056   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11057   (exit $ac_status); } && { 
    11058          test -z "$ac_c_werror_flag" || 
    11059          test ! -s conftest.err 
    11060        } && test -s conftest.$ac_objext; then 
    11061   { echo "$as_me:$LINENO: result: yes!!" >&5 
    11062 echo "${ECHO_T}yes!!" >&6; } 
     5524if ac_fn_c_try_compile "$LINENO"; then : 
     5525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5526$as_echo "yes!!" >&6; } 
    110635527                                   ac_external_pa="1" 
    110645528 
    110655529else 
    11066   echo "$as_me: failed program was:" >&5 
    11067 sed 's/^/| /' conftest.$ac_ext >&5 
    11068  
    11069         { { 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 
    11070 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;} 
    11071    { (exit 1); exit 1; }; } 
    11072 fi 
    11073  
     5530  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 
     5531fi 
    110745532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110755533        fi 
     
    110805538 
    110815539 
    11082 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11083   { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11084 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11085 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11086   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11087 fi 
    11088 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11089 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11090 else 
    11091   # Is the header compilable? 
    11092 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
    11093 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
    11094 cat >conftest.$ac_ext <<_ACEOF 
    11095 /* confdefs.h.  */ 
    11096 _ACEOF 
    11097 cat confdefs.h >>conftest.$ac_ext 
    11098 cat >>conftest.$ac_ext <<_ACEOF 
    11099 /* end confdefs.h.  */ 
    11100 $ac_includes_default 
    11101 #include <sys/soundcard.h> 
    11102 _ACEOF 
    11103 rm -f conftest.$ac_objext 
    11104 if { (ac_try="$ac_compile" 
    11105 case "(($ac_try" in 
    11106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11107   *) ac_try_echo=$ac_try;; 
    11108 esac 
    11109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11110   (eval "$ac_compile") 2>conftest.er1 
    11111   ac_status=$? 
    11112   grep -v '^ *+' conftest.er1 >conftest.err 
    11113   rm -f conftest.er1 
    11114   cat conftest.err >&5 
    11115   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11116   (exit $ac_status); } && { 
    11117          test -z "$ac_c_werror_flag" || 
    11118          test ! -s conftest.err 
    11119        } && test -s conftest.$ac_objext; then 
    11120   ac_header_compiler=yes 
    11121 else 
    11122   echo "$as_me: failed program was:" >&5 
    11123 sed 's/^/| /' conftest.$ac_ext >&5 
    11124  
    11125         ac_header_compiler=no 
    11126 fi 
    11127  
    11128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11129 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11130 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11131  
    11132 # Is the header present? 
    11133 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
    11134 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
    11135 cat >conftest.$ac_ext <<_ACEOF 
    11136 /* confdefs.h.  */ 
    11137 _ACEOF 
    11138 cat confdefs.h >>conftest.$ac_ext 
    11139 cat >>conftest.$ac_ext <<_ACEOF 
    11140 /* end confdefs.h.  */ 
    11141 #include <sys/soundcard.h> 
    11142 _ACEOF 
    11143 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11144 case "(($ac_try" in 
    11145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11146   *) ac_try_echo=$ac_try;; 
    11147 esac 
    11148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11149   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11150   ac_status=$? 
    11151   grep -v '^ *+' conftest.er1 >conftest.err 
    11152   rm -f conftest.er1 
    11153   cat conftest.err >&5 
    11154   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11155   (exit $ac_status); } >/dev/null && { 
    11156          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11157          test ! -s conftest.err 
    11158        }; then 
    11159   ac_header_preproc=yes 
    11160 else 
    11161   echo "$as_me: failed program was:" >&5 
    11162 sed 's/^/| /' conftest.$ac_ext >&5 
    11163  
    11164   ac_header_preproc=no 
    11165 fi 
    11166  
    11167 rm -f conftest.err conftest.$ac_ext 
    11168 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11169 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11170  
    11171 # So?  What about this header? 
    11172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11173   yes:no: ) 
    11174     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11175 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11176     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
    11177 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
    11178     ac_header_preproc=yes 
    11179     ;; 
    11180   no:yes:* ) 
    11181     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
    11182 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
    11183     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
    11184 echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11185     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
    11186 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
    11187     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11188 echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11189     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
    11190 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11191     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
    11192 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11193  
    11194     ;; 
    11195 esac 
    11196 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11197 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11198 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11199   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11200 else 
    11201   ac_cv_header_sys_soundcard_h=$ac_header_preproc 
    11202 fi 
    11203 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11204 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11205  
    11206 fi 
    11207 if test $ac_cv_header_sys_soundcard_h = yes; then 
     5540ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
     5541if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
    112085542  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    112095543fi 
    112105544 
    112115545 
    11212 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11213   { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11214 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11215 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11216   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11217 fi 
    11218 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11219 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11220 else 
    11221   # Is the header compilable? 
    11222 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
    11223 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
    11224 cat >conftest.$ac_ext <<_ACEOF 
    11225 /* confdefs.h.  */ 
    11226 _ACEOF 
    11227 cat confdefs.h >>conftest.$ac_ext 
    11228 cat >>conftest.$ac_ext <<_ACEOF 
    11229 /* end confdefs.h.  */ 
    11230 $ac_includes_default 
    11231 #include <linux/soundcard.h> 
    11232 _ACEOF 
    11233 rm -f conftest.$ac_objext 
    11234 if { (ac_try="$ac_compile" 
    11235 case "(($ac_try" in 
    11236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11237   *) ac_try_echo=$ac_try;; 
    11238 esac 
    11239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11240   (eval "$ac_compile") 2>conftest.er1 
    11241   ac_status=$? 
    11242   grep -v '^ *+' conftest.er1 >conftest.err 
    11243   rm -f conftest.er1 
    11244   cat conftest.err >&5 
    11245   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11246   (exit $ac_status); } && { 
    11247          test -z "$ac_c_werror_flag" || 
    11248          test ! -s conftest.err 
    11249        } && test -s conftest.$ac_objext; then 
    11250   ac_header_compiler=yes 
    11251 else 
    11252   echo "$as_me: failed program was:" >&5 
    11253 sed 's/^/| /' conftest.$ac_ext >&5 
    11254  
    11255         ac_header_compiler=no 
    11256 fi 
    11257  
    11258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11259 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11260 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11261  
    11262 # Is the header present? 
    11263 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
    11264 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
    11265 cat >conftest.$ac_ext <<_ACEOF 
    11266 /* confdefs.h.  */ 
    11267 _ACEOF 
    11268 cat confdefs.h >>conftest.$ac_ext 
    11269 cat >>conftest.$ac_ext <<_ACEOF 
    11270 /* end confdefs.h.  */ 
    11271 #include <linux/soundcard.h> 
    11272 _ACEOF 
    11273 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11274 case "(($ac_try" in 
    11275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11276   *) ac_try_echo=$ac_try;; 
    11277 esac 
    11278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11279   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11280   ac_status=$? 
    11281   grep -v '^ *+' conftest.er1 >conftest.err 
    11282   rm -f conftest.er1 
    11283   cat conftest.err >&5 
    11284   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11285   (exit $ac_status); } >/dev/null && { 
    11286          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11287          test ! -s conftest.err 
    11288        }; then 
    11289   ac_header_preproc=yes 
    11290 else 
    11291   echo "$as_me: failed program was:" >&5 
    11292 sed 's/^/| /' conftest.$ac_ext >&5 
    11293  
    11294   ac_header_preproc=no 
    11295 fi 
    11296  
    11297 rm -f conftest.err conftest.$ac_ext 
    11298 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11299 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11300  
    11301 # So?  What about this header? 
    11302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11303   yes:no: ) 
    11304     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11305 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11306     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
    11307 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
    11308     ac_header_preproc=yes 
    11309     ;; 
    11310   no:yes:* ) 
    11311     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
    11312 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
    11313     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
    11314 echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11315     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
    11316 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
    11317     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11318 echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11319     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
    11320 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11321     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
    11322 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11323  
    11324     ;; 
    11325 esac 
    11326 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11327 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11328 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11329   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11330 else 
    11331   ac_cv_header_linux_soundcard_h=$ac_header_preproc 
    11332 fi 
    11333 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11334 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11335  
    11336 fi 
    11337 if test $ac_cv_header_linux_soundcard_h = yes; then 
     5546ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
     5547if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
    113385548  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    113395549fi 
    113405550 
    113415551 
    11342 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11343   { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11344 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11345 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11346   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11347 fi 
    11348 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11349 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11350 else 
    11351   # Is the header compilable? 
    11352 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
    11353 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
    11354 cat >conftest.$ac_ext <<_ACEOF 
    11355 /* confdefs.h.  */ 
    11356 _ACEOF 
    11357 cat confdefs.h >>conftest.$ac_ext 
    11358 cat >>conftest.$ac_ext <<_ACEOF 
    11359 /* end confdefs.h.  */ 
    11360 $ac_includes_default 
    11361 #include <machine/soundcard.h> 
    11362 _ACEOF 
    11363 rm -f conftest.$ac_objext 
    11364 if { (ac_try="$ac_compile" 
    11365 case "(($ac_try" in 
    11366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11367   *) ac_try_echo=$ac_try;; 
    11368 esac 
    11369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11370   (eval "$ac_compile") 2>conftest.er1 
    11371   ac_status=$? 
    11372   grep -v '^ *+' conftest.er1 >conftest.err 
    11373   rm -f conftest.er1 
    11374   cat conftest.err >&5 
    11375   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11376   (exit $ac_status); } && { 
    11377          test -z "$ac_c_werror_flag" || 
    11378          test ! -s conftest.err 
    11379        } && test -s conftest.$ac_objext; then 
    11380   ac_header_compiler=yes 
    11381 else 
    11382   echo "$as_me: failed program was:" >&5 
    11383 sed 's/^/| /' conftest.$ac_ext >&5 
    11384  
    11385         ac_header_compiler=no 
    11386 fi 
    11387  
    11388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11389 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11390 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11391  
    11392 # Is the header present? 
    11393 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
    11394 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
    11395 cat >conftest.$ac_ext <<_ACEOF 
    11396 /* confdefs.h.  */ 
    11397 _ACEOF 
    11398 cat confdefs.h >>conftest.$ac_ext 
    11399 cat >>conftest.$ac_ext <<_ACEOF 
    11400 /* end confdefs.h.  */ 
    11401 #include <machine/soundcard.h> 
    11402 _ACEOF 
    11403 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11404 case "(($ac_try" in 
    11405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11406   *) ac_try_echo=$ac_try;; 
    11407 esac 
    11408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11409   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11410   ac_status=$? 
    11411   grep -v '^ *+' conftest.er1 >conftest.err 
    11412   rm -f conftest.er1 
    11413   cat conftest.err >&5 
    11414   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11415   (exit $ac_status); } >/dev/null && { 
    11416          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11417          test ! -s conftest.err 
    11418        }; then 
    11419   ac_header_preproc=yes 
    11420 else 
    11421   echo "$as_me: failed program was:" >&5 
    11422 sed 's/^/| /' conftest.$ac_ext >&5 
    11423  
    11424   ac_header_preproc=no 
    11425 fi 
    11426  
    11427 rm -f conftest.err conftest.$ac_ext 
    11428 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11429 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11430  
    11431 # So?  What about this header? 
    11432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11433   yes:no: ) 
    11434     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11435 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11436     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
    11437 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
    11438     ac_header_preproc=yes 
    11439     ;; 
    11440   no:yes:* ) 
    11441     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
    11442 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
    11443     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
    11444 echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11445     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
    11446 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
    11447     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11448 echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11449     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
    11450 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11451     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
    11452 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11453  
    11454     ;; 
    11455 esac 
    11456 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11457 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11458 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11459   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11460 else 
    11461   ac_cv_header_machine_soundcard_h=$ac_header_preproc 
    11462 fi 
    11463 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11464 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11465  
    11466 fi 
    11467 if test $ac_cv_header_machine_soundcard_h = yes; then 
     5552ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
     5553if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
    114685554  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    114695555fi 
     
    114835569  arm-apple-darwin*) 
    114845570        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
    11485         { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
    11486 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
     5571        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
     5572$as_echo "Checking sound device backend... AudioUnit" >&6; } 
    114875573        ;; 
    114885574  *darwin*) 
     
    114925578                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    114935579                ac_pjmedia_snd=pa_old_darwinos 
    11494                 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
    11495 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
     5580                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
     5581$as_echo "Checking sound device backend... old coreaudio" >&6; } 
    114965582        else 
    114975583                ac_pjmedia_snd=pa_darwinos 
    11498                 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    11499 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
     5584                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
     5585$as_echo "Checking sound device backend... coreaudio" >&6; } 
    115005586        fi 
    115015587        ;; 
    115025588  *cygwin* | *mingw*) 
    115035589        ac_pjmedia_snd=pa_win32 
    11504         { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    11505 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
     5590        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
     5591$as_echo "Checking sound device backend... win32 sound" >&6; } 
    115065592        ;; 
    115075593  *rtems*) 
    115085594        ac_pjmedia_snd=null 
    11509         { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    11510 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
     5595        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
     5596$as_echo "Checking sound device backend... null sound" >&6; } 
    115115597        ;; 
    115125598  *) 
    115135599                ac_pjmedia_snd=pa_unix 
    11514         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11515   { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11516 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11517 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11518   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11519 fi 
    11520 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11521 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11522 else 
    11523   # Is the header compilable? 
    11524 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    11525 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
    11526 cat >conftest.$ac_ext <<_ACEOF 
    11527 /* confdefs.h.  */ 
    11528 _ACEOF 
    11529 cat confdefs.h >>conftest.$ac_ext 
    11530 cat >>conftest.$ac_ext <<_ACEOF 
    11531 /* end confdefs.h.  */ 
    11532 $ac_includes_default 
    11533 #include <alsa/version.h> 
    11534 _ACEOF 
    11535 rm -f conftest.$ac_objext 
    11536 if { (ac_try="$ac_compile" 
    11537 case "(($ac_try" in 
    11538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11539   *) ac_try_echo=$ac_try;; 
    11540 esac 
    11541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11542   (eval "$ac_compile") 2>conftest.er1 
    11543   ac_status=$? 
    11544   grep -v '^ *+' conftest.er1 >conftest.err 
    11545   rm -f conftest.er1 
    11546   cat conftest.err >&5 
    11547   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11548   (exit $ac_status); } && { 
    11549          test -z "$ac_c_werror_flag" || 
    11550          test ! -s conftest.err 
    11551        } && test -s conftest.$ac_objext; then 
    11552   ac_header_compiler=yes 
    11553 else 
    11554   echo "$as_me: failed program was:" >&5 
    11555 sed 's/^/| /' conftest.$ac_ext >&5 
    11556  
    11557         ac_header_compiler=no 
    11558 fi 
    11559  
    11560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11561 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11562 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11563  
    11564 # Is the header present? 
    11565 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    11566 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
    11567 cat >conftest.$ac_ext <<_ACEOF 
    11568 /* confdefs.h.  */ 
    11569 _ACEOF 
    11570 cat confdefs.h >>conftest.$ac_ext 
    11571 cat >>conftest.$ac_ext <<_ACEOF 
    11572 /* end confdefs.h.  */ 
    11573 #include <alsa/version.h> 
    11574 _ACEOF 
    11575 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11576 case "(($ac_try" in 
    11577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11578   *) ac_try_echo=$ac_try;; 
    11579 esac 
    11580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11581   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11582   ac_status=$? 
    11583   grep -v '^ *+' conftest.er1 >conftest.err 
    11584   rm -f conftest.er1 
    11585   cat conftest.err >&5 
    11586   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11587   (exit $ac_status); } >/dev/null && { 
    11588          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11589          test ! -s conftest.err 
    11590        }; then 
    11591   ac_header_preproc=yes 
    11592 else 
    11593   echo "$as_me: failed program was:" >&5 
    11594 sed 's/^/| /' conftest.$ac_ext >&5 
    11595  
    11596   ac_header_preproc=no 
    11597 fi 
    11598  
    11599 rm -f conftest.err conftest.$ac_ext 
    11600 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11601 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11602  
    11603 # So?  What about this header? 
    11604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11605   yes:no: ) 
    11606     { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11607 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11608     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    11609 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    11610     ac_header_preproc=yes 
    11611     ;; 
    11612   no:yes:* ) 
    11613     { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    11614 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    11615     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    11616 echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    11617     { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    11618 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    11619     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11620 echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11621     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    11622 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    11623     { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    11624 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    11625  
    11626     ;; 
    11627 esac 
    11628 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11629 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11630 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11631   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11632 else 
    11633   ac_cv_header_alsa_version_h=$ac_header_preproc 
    11634 fi 
    11635 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11636 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11637  
    11638 fi 
    11639 if test $ac_cv_header_alsa_version_h = yes; then 
     5600        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
     5601if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
    116405602  ac_pa_use_alsa=1 
    116415603 
     
    116485610 
    116495611 
    11650         { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    11651 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
     5612        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
     5613$as_echo "Checking sound device backend... unix" >&6; } 
    116525614 
    116535615                ac_pa_use_oss=1 
    116545616 
    116555617        # Check whether --enable-oss was given. 
    11656 if test "${enable_oss+set}" = set; then 
     5618if test "${enable_oss+set}" = set; then : 
    116575619  enableval=$enable_oss; 
    116585620                        if test "$enable_oss" = "no"; then 
    116595621                         ac_pa_use_oss=0 
    11660                          { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
    11661 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
     5622                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
     5623$as_echo "Checking if OSS audio is disabled... yes" >&6; } 
    116625624                        fi 
    116635625 
     
    116695631 
    116705632# Check whether --enable-ext_sound was given. 
    11671 if test "${enable_ext_sound+set}" = set; then 
     5633if test "${enable_ext_sound+set}" = set; then : 
    116725634  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    116735635                ac_pjmedia_snd=external 
    11674                 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
    11675 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
     5636                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
     5637$as_echo "Checking if external sound is set... yes" >&6; } 
    116765638               fi 
    116775639 
     
    116815643 
    116825644# Check whether --enable-small-filter was given. 
    11683 if test "${enable_small_filter+set}" = set; then 
     5645if test "${enable_small_filter+set}" = set; then : 
    116845646  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    116855647                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    11686                 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    11687 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
     5648                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
     5649$as_echo "Checking if small filter is disabled... yes" >&6; } 
    116885650               fi 
    116895651else 
    11690   { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    11691 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
     5652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
     5653$as_echo "Checking if small filter is disabled... no" >&6; } 
    116925654fi 
    116935655 
     
    116955657 
    116965658# Check whether --enable-large-filter was given. 
    11697 if test "${enable_large_filter+set}" = set; then 
     5659if test "${enable_large_filter+set}" = set; then : 
    116985660  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    116995661                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    11700                 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    11701 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
     5662                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
     5663$as_echo "Checking if large filter is disabled... yes" >&6; } 
    117025664               fi 
    117035665else 
    11704   { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    11705 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
     5666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
     5667$as_echo "Checking if large filter is disabled... no" >&6; } 
    117065668fi 
    117075669 
     
    117095671 
    117105672# Check whether --enable-speex-aec was given. 
    11711 if test "${enable_speex_aec+set}" = set; then 
     5673if test "${enable_speex_aec+set}" = set; then : 
    117125674  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    117135675                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    11714                 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    11715 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
     5676                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
     5677$as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
    117165678               fi 
    117175679else 
    11718   { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    11719 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
     5680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
     5681$as_echo "Checking if Speex AEC is disabled...no" >&6; } 
    117205682fi 
    117215683 
     
    117235685 
    117245686# Check whether --enable-g711-codec was given. 
    11725 if test "${enable_g711_codec+set}" = set; then 
     5687if test "${enable_g711_codec+set}" = set; then : 
    117265688  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    117275689                ac_no_g711_codec=1 
    11728                 cat >>confdefs.h <<\_ACEOF 
    11729 #define PJMEDIA_HAS_G711_CODEC 0 
    11730 _ACEOF 
    11731  
    11732                 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    11733 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
     5690                $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
     5691 
     5692                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
     5693$as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
    117345694               fi 
    117355695else 
    11736   { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    11737 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
     5696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
     5697$as_echo "Checking if G.711 codec is disabled...no" >&6; } 
    117385698fi 
    117395699 
     
    117425702 
    117435703# Check whether --enable-l16-codec was given. 
    11744 if test "${enable_l16_codec+set}" = set; then 
     5704if test "${enable_l16_codec+set}" = set; then : 
    117455705  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    117465706                ac_no_l16_codec=1 
    11747                 cat >>confdefs.h <<\_ACEOF 
    11748 #define PJMEDIA_HAS_L16_CODEC 0 
    11749 _ACEOF 
    11750  
    11751                 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    11752 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
     5707                $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
     5708 
     5709                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
     5710$as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
    117535711               fi 
    117545712else 
    11755   { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
    11756 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
     5713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
     5714$as_echo "Checking if L16 codec is disabled...no" >&6; } 
    117575715fi 
    117585716 
     
    117615719 
    117625720# Check whether --enable-gsm-codec was given. 
    11763 if test "${enable_gsm_codec+set}" = set; then 
     5721if test "${enable_gsm_codec+set}" = set; then : 
    117645722  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    117655723                ac_no_gsm_codec=1 
    11766                 cat >>confdefs.h <<\_ACEOF 
    11767 #define PJMEDIA_HAS_GSM_CODEC 0 
    11768 _ACEOF 
    11769  
    11770                 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    11771 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
     5724                $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
     5725 
     5726                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
     5727$as_echo "Checking if GSM codec is disabled...yes" >&6; } 
    117725728               fi 
    117735729else 
    11774   { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    11775 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
     5730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
     5731$as_echo "Checking if GSM codec is disabled...no" >&6; } 
    117765732fi 
    117775733 
     
    117795735 
    117805736# Check whether --enable-g722-codec was given. 
    11781 if test "${enable_g722_codec+set}" = set; then 
     5737if test "${enable_g722_codec+set}" = set; then : 
    117825738  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    117835739                ac_no_g722_codec=1 
    11784                 cat >>confdefs.h <<\_ACEOF 
    11785 #define PJMEDIA_HAS_G722_CODEC 0 
    11786 _ACEOF 
    11787  
    11788                 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
    11789 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
     5740                $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
     5741 
     5742                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
     5743$as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
    117905744               fi 
    117915745else 
    11792   { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
    11793 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
     5746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
     5747$as_echo "Checking if G.722 codec is disabled...no" >&6; } 
    117945748fi 
    117955749 
     
    117975751 
    117985752# Check whether --enable-g7221-codec was given. 
    11799 if test "${enable_g7221_codec+set}" = set; then 
     5753if test "${enable_g7221_codec+set}" = set; then : 
    118005754  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    118015755                ac_no_g7221_codec=1 
    11802                 cat >>confdefs.h <<\_ACEOF 
    11803 #define PJMEDIA_HAS_G7221_CODEC 0 
    11804 _ACEOF 
    11805  
    11806                 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
    11807 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
     5756                $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
     5757 
     5758                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
     5759$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
    118085760               fi 
    118095761else 
    11810   { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
    11811 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
     5762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
     5763$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
    118125764fi 
    118135765 
     
    118155767 
    118165768# Check whether --enable-speex-codec was given. 
    11817 if test "${enable_speex_codec+set}" = set; then 
     5769if test "${enable_speex_codec+set}" = set; then : 
    118185770  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    118195771                ac_no_speex_codec=1 
    11820                 cat >>confdefs.h <<\_ACEOF 
    11821 #define PJMEDIA_HAS_SPEEX_CODEC 0 
    11822 _ACEOF 
    11823  
    11824                 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    11825 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
     5772                $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
     5773 
     5774                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
     5775$as_echo "Checking if Speex codec is disabled...yes" >&6; } 
    118265776               fi 
    118275777else 
    11828   { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    11829 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
     5778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
     5779$as_echo "Checking if Speex codec is disabled...no" >&6; } 
    118305780fi 
    118315781 
     
    118335783 
    118345784# Check whether --enable-ilbc-codec was given. 
    11835 if test "${enable_ilbc_codec+set}" = set; then 
     5785if test "${enable_ilbc_codec+set}" = set; then : 
    118365786  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    118375787                ac_no_ilbc_codec=1 
    11838                 cat >>confdefs.h <<\_ACEOF 
    11839 #define PJMEDIA_HAS_ILBC_CODEC 0 
    11840 _ACEOF 
    11841  
    11842                 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    11843 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
     5788                $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
     5789 
     5790                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
     5791$as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
    118445792               fi 
    118455793else 
    11846   { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    11847 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
     5794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
     5795$as_echo "Checking if iLBC codec is disabled...no" >&6; } 
    118485796fi 
    118495797 
    118505798 
    118515799# Check whether --enable-libsamplerate was given. 
    11852 if test "${enable_libsamplerate+set}" = set; then 
    11853   enableval=$enable_libsamplerate; 
    11854 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
    11855 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
    11856 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
    11857   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5800if test "${enable_libsamplerate+set}" = set; then : 
     5801  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
     5802$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
     5803if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5804  $as_echo_n "(cached) " >&6 
    118585805else 
    118595806  ac_check_lib_save_LIBS=$LIBS 
    118605807LIBS="-lsamplerate  $LIBS" 
    11861 cat >conftest.$ac_ext <<_ACEOF 
    11862 /* confdefs.h.  */ 
    11863 _ACEOF 
    11864 cat confdefs.h >>conftest.$ac_ext 
    11865 cat >>conftest.$ac_ext <<_ACEOF 
     5808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    118665809/* end confdefs.h.  */ 
    118675810 
     
    118815824} 
    118825825_ACEOF 
    11883 rm -f conftest.$ac_objext conftest$ac_exeext 
    11884 if { (ac_try="$ac_link" 
    11885 case "(($ac_try" in 
    11886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11887   *) ac_try_echo=$ac_try;; 
    11888 esac 
    11889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11890   (eval "$ac_link") 2>conftest.er1 
    11891   ac_status=$? 
    11892   grep -v '^ *+' conftest.er1 >conftest.err 
    11893   rm -f conftest.er1 
    11894   cat conftest.err >&5 
    11895   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11896   (exit $ac_status); } && { 
    11897          test -z "$ac_c_werror_flag" || 
    11898          test ! -s conftest.err 
    11899        } && test -s conftest$ac_exeext && 
    11900        $as_test_x conftest$ac_exeext; then 
     5826if ac_fn_c_try_link "$LINENO"; then : 
    119015827  ac_cv_lib_samplerate_src_new=yes 
    119025828else 
    11903   echo "$as_me: failed program was:" >&5 
    11904 sed 's/^/| /' conftest.$ac_ext >&5 
    11905  
    11906         ac_cv_lib_samplerate_src_new=no 
    11907 fi 
    11908  
    11909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11910       conftest$ac_exeext conftest.$ac_ext 
     5829  ac_cv_lib_samplerate_src_new=no 
     5830fi 
     5831rm -f core conftest.err conftest.$ac_objext \ 
     5832    conftest$ac_exeext conftest.$ac_ext 
    119115833LIBS=$ac_check_lib_save_LIBS 
    119125834fi 
    11913 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
    11914 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
    11915 if test $ac_cv_lib_samplerate_src_new = yes; then 
     5835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
     5836$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
     5837if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
    119165838  cat >>confdefs.h <<_ACEOF 
    119175839#define HAVE_LIBSAMPLERATE 1 
     
    119235845 
    119245846else 
    11925   { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
    11926 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
    11927  
    11928 fi 
    11929  
     5847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
     5848$as_echo "Skipping libsamplerate detection" >&6; } 
     5849 
     5850fi 
     5851 
     5852 
     5853 
     5854# Check whether --enable-resample_dll was given. 
     5855if test "${enable_resample_dll+set}" = set; then : 
     5856  enableval=$enable_resample_dll; if test "$enable_resample_dll" = "yes"; then 
     5857                ac_resample_dll=1 
     5858                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building libresample as shared library... yes" >&5 
     5859$as_echo "Building libresample as shared library... yes" >&6; } 
     5860               fi 
     5861else 
     5862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building libresample as shared library... no" >&5 
     5863$as_echo "Building libresample as shared library... no" >&6; } 
     5864 
     5865fi 
    119305866 
    119315867 
    119325868# Check whether --enable-ipp was given. 
    11933 if test "${enable_ipp+set}" = set; then 
     5869if test "${enable_ipp+set}" = set; then : 
    119345870  enableval=$enable_ipp; 
    119355871else 
     
    119415877 
    119425878# Check whether --with-ipp was given. 
    11943 if test "${with_ipp+set}" = set; then 
     5879if test "${with_ipp+set}" = set; then : 
    119445880  withval=$with_ipp; 
    119455881else 
     
    119515887 
    119525888# Check whether --with-ipp-samples was given. 
    11953 if test "${with_ipp_samples+set}" = set; then 
     5889if test "${with_ipp_samples+set}" = set; then : 
    119545890  withval=$with_ipp_samples; 
    119555891else 
     
    119615897 
    119625898# Check whether --with-ipp-arch was given. 
    11963 if test "${with_ipp_arch+set}" = set; then 
     5899if test "${with_ipp_arch+set}" = set; then : 
    119645900  withval=$with_ipp_arch; 
    119655901else 
     
    119705906 
    119715907if test "x$enable_ipp" != "xno"; then 
    11972                 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
    11973 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
     5908                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
     5909$as_echo_n "checking Intel IPP location... " >&6; } 
    119745910 
    119755911    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    11976         { echo "$as_me:$LINENO: result: $with_ipp" >&5 
    11977 echo "${ECHO_T}$with_ipp" >&6; } 
     5912        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
     5913$as_echo "$with_ipp" >&6; } 
    119785914        IPPROOT=$with_ipp 
    119795915    elif test "x$IPPROOT" = "x"; then 
    119805916        if test -d /opt/intel/ipp; then 
    119815917            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    11982             { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
    11983 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
     5918            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
     5919$as_echo "autodetected in $IPPROOT" >&6; } 
    119845920        fi 
    119855921    else 
    11986         { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
    11987 echo "${ECHO_T}$IPPROOT" >&6; } 
     5922        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
     5923$as_echo "$IPPROOT" >&6; } 
    119885924    fi 
    119895925 
    119905926    if test "x$with_ipp_arch" != "xno"; then 
    119915927        IPP_SUFFIX=$with_ipp_arch 
    11992         { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    11993 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     5928        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     5929$as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    119945930    else 
    119955931        IPP_SUFFIX="" 
    11996         { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
    11997 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
     5932        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
     5933$as_echo "IPP arch suffix is set to empty" >&6; } 
    119985934    fi 
    119995935 
    120005936    if test x$IPPROOT = x; then 
    12001         { { 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 
    12002 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;} 
    12003    { (exit 1); exit 1; }; } 
     5937        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 
    120045938    elif test ! -d $IPPROOT; then 
    12005         { { echo "$as_me:$LINENO: error: not found" >&5 
    12006 echo "$as_me: error: not found" >&2;} 
    12007    { (exit 1); exit 1; }; } 
     5939        as_fn_error "not found" "$LINENO" 5 
    120085940    elif test ! -d $IPPROOT/include; then 
    12009         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12010 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12011    { (exit 1); exit 1; }; } 
     5941        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    120125942    else 
    120135943        # IPP directory looks okay. 
     
    120465976                   # IPP7 
    120475977                   if ! test -d $IPPROOT/../compiler; then 
    12048                         { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 
    12049 echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 
    12050    { (exit 1); exit 1; }; } 
     5978                        as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
    120515979                   fi 
    120525980                   IPP_CFLAGS="$IPP_CFLAGS" 
     
    120665994 
    120675995 
    12068         { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
    12069 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
    12070         cat >conftest.$ac_ext <<_ACEOF 
    12071 /* confdefs.h.  */ 
    12072 _ACEOF 
    12073 cat confdefs.h >>conftest.$ac_ext 
    12074 cat >>conftest.$ac_ext <<_ACEOF 
     5996        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
     5997$as_echo_n "checking Intel IPP usability... " >&6; } 
     5998        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    120755999/* end confdefs.h.  */ 
    120766000#include <ippcore.h> 
     
    120846008} 
    120856009_ACEOF 
    12086 rm -f conftest.$ac_objext conftest$ac_exeext 
    12087 if { (ac_try="$ac_link" 
    12088 case "(($ac_try" in 
    12089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12090   *) ac_try_echo=$ac_try;; 
    12091 esac 
    12092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12093   (eval "$ac_link") 2>conftest.er1 
    12094   ac_status=$? 
    12095   grep -v '^ *+' conftest.er1 >conftest.err 
    12096   rm -f conftest.er1 
    12097   cat conftest.err >&5 
    12098   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12099   (exit $ac_status); } && { 
    12100          test -z "$ac_c_werror_flag" || 
    12101          test ! -s conftest.err 
    12102        } && test -s conftest$ac_exeext && 
    12103        $as_test_x conftest$ac_exeext; then 
    12104   { echo "$as_me:$LINENO: result: ok" >&5 
    12105 echo "${ECHO_T}ok" >&6; } 
    12106 else 
    12107   echo "$as_me: failed program was:" >&5 
    12108 sed 's/^/| /' conftest.$ac_ext >&5 
    12109  
    12110         { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12111 See \`config.log' for more details." >&5 
    12112 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12113 See \`config.log' for more details." >&2;} 
    12114    { (exit run with --help for more info); exit run with --help for more info; }; } 
    12115 fi 
    12116  
    12117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12118       conftest$ac_exeext conftest.$ac_ext 
     6010if ac_fn_c_try_link "$LINENO"; then : 
     6011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6012$as_echo "ok" >&6; } 
     6013else 
     6014  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6015$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6016{ as_fn_set_status run with --help for more info 
     6017as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     6018See \`config.log' for more details." "$LINENO" 5; }; } 
     6019fi 
     6020rm -f core conftest.err conftest.$ac_objext \ 
     6021    conftest$ac_exeext conftest.$ac_ext 
    121196022 
    121206023        CFLAGS="$SAVED_CFLAGS" 
     
    121236026    fi 
    121246027 
    12125                 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
    12126 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
     6028                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
     6029$as_echo_n "checking Intel IPP samples location... " >&6; } 
    121276030 
    121286031    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    12129         { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
    12130 echo "${ECHO_T}$with_ipp_samples" >&6; } 
     6032        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
     6033$as_echo "$with_ipp_samples" >&6; } 
    121316034        IPPSAMPLES=$with_ipp_samples 
    121326035    elif test "x$IPPSAMPLES" = "x"; then 
    121336036        if test -d /opt/intel/ipp-samples; then 
    121346037            IPPSAMPLES=/opt/intel/ipp-samples 
    12135             { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
    12136 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
     6038            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
     6039$as_echo "autodetected in $IPPSAMPLES" >&6; } 
    121376040        fi 
    121386041    else 
    12139         { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
    12140 echo "${ECHO_T}$IPPSAMPLES" >&6; } 
     6042        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
     6043$as_echo "$IPPSAMPLES" >&6; } 
    121416044    fi 
    121426045 
    121436046    if test x$IPPSAMPLES = x; then 
    12144         { { 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 
    12145 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;} 
    12146    { (exit 1); exit 1; }; } 
     6047        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 
    121476048    elif test ! -d $IPPSAMPLES; then 
    12148         { { echo "$as_me:$LINENO: error: not found" >&5 
    12149 echo "$as_me: error: not found" >&2;} 
    12150    { (exit 1); exit 1; }; } 
     6049        as_fn_error "not found" "$LINENO" 5 
    121516050    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    12152         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12153 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12154    { (exit 1); exit 1; }; } 
     6051        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    121556052    else 
    121566053        # Remove trailing backslash 
     
    121586055 
    121596056        # Guess the libusc.a/libspeech.a build location 
    12160         { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
    12161 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
     6057        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
     6058$as_echo_n "checking Intel IPP USC build location... " >&6; } 
    121626059        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    121636060            IPPVER=5 
     
    121726069                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    121736070            else 
    12174                 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12175 See \`config.log' for more details." >&5 
    12176 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12177 See \`config.log' for more details." >&2;} 
    12178    { (exit 1); exit 1; }; } 
     6071                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6072$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6073as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     6074See \`config.log' for more details." "$LINENO" 5; } 
    121796075            fi 
    121806076        else 
    12181             { { 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? 
    12182 See \`config.log' for more details." >&5 
    12183 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? 
    12184 See \`config.log' for more details." >&2;} 
    12185    { (exit 1); exit 1; }; } 
     6077            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6078$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6079as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     6080See \`config.log' for more details." "$LINENO" 5; } 
    121866081        fi 
    121876082 
    121886083        # Test the directory 
    121896084        if test ! -d $IPPSAMP_DIR; then 
    12190             { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12191 See \`config.log' for more details." >&5 
    12192 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12193 See \`config.log' for more details." >&2;} 
    12194    { (exit 1); exit 1; }; } 
     6085            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6087as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     6088See \`config.log' for more details." "$LINENO" 5; } 
    121956089            exit 1; 
    121966090        fi 
     
    122036097            IPPSAMP_LDLIBS="-lspeech" 
    122046098        else 
    12205             { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
    12206 See \`config.log' for more details." >&5 
    12207 echo "$as_me: error: bug in this script: unsupported IPP version 
    12208 See \`config.log' for more details." >&2;} 
    12209    { (exit 1); exit 1; }; } 
     6099            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6100$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6101as_fn_error "bug in this script: unsupported IPP version 
     6102See \`config.log' for more details." "$LINENO" 5; } 
    122106103        fi 
    122116104 
    122126105        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    12213             { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12214 See \`config.log' for more details." >&5 
    12215 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12216 See \`config.log' for more details." >&2;} 
    12217    { (exit 1); exit 1; }; } 
     6106            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6107$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6108as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     6109See \`config.log' for more details." "$LINENO" 5; } 
    122186110        fi 
    122196111 
    12220         { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
    12221 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
     6112        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
     6113$as_echo "$IPPSAMP_DIR" >&6; } 
    122226114 
    122236115        SAVED_CFLAGS="$CFLAGS" 
     
    122306122        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    122316123 
    12232         { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
    12233 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
    12234         cat >conftest.$ac_ext <<_ACEOF 
    12235 /* confdefs.h.  */ 
    12236 _ACEOF 
    12237 cat confdefs.h >>conftest.$ac_ext 
    12238 cat >>conftest.$ac_ext <<_ACEOF 
     6124        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
     6125$as_echo_n "checking Intel IPP USC usability... " >&6; } 
     6126        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122396127/* end confdefs.h.  */ 
    122406128#include <usc.h> 
     
    122486136} 
    122496137_ACEOF 
    12250 rm -f conftest.$ac_objext conftest$ac_exeext 
    12251 if { (ac_try="$ac_link" 
    12252 case "(($ac_try" in 
    12253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12254   *) ac_try_echo=$ac_try;; 
    12255 esac 
    12256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12257   (eval "$ac_link") 2>conftest.er1 
    12258   ac_status=$? 
    12259   grep -v '^ *+' conftest.er1 >conftest.err 
    12260   rm -f conftest.er1 
    12261   cat conftest.err >&5 
    12262   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12263   (exit $ac_status); } && { 
    12264          test -z "$ac_c_werror_flag" || 
    12265          test ! -s conftest.err 
    12266        } && test -s conftest$ac_exeext && 
    12267        $as_test_x conftest$ac_exeext; then 
    12268   { echo "$as_me:$LINENO: result: ok" >&5 
    12269 echo "${ECHO_T}ok" >&6; } 
    12270 else 
    12271   echo "$as_me: failed program was:" >&5 
    12272 sed 's/^/| /' conftest.$ac_ext >&5 
    12273  
    12274         { { echo "$as_me:$LINENO: error: failed 
    12275 See \`config.log' for more details." >&5 
    12276 echo "$as_me: error: failed 
    12277 See \`config.log' for more details." >&2;} 
    12278    { (exit 1); exit 1; }; } 
    12279 fi 
    12280  
    12281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12282       conftest$ac_exeext conftest.$ac_ext 
     6138if ac_fn_c_try_link "$LINENO"; then : 
     6139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6140$as_echo "ok" >&6; } 
     6141else 
     6142  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6143$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6144as_fn_error "failed 
     6145See \`config.log' for more details." "$LINENO" 5; } 
     6146fi 
     6147rm -f core conftest.err conftest.$ac_objext \ 
     6148    conftest$ac_exeext conftest.$ac_ext 
    122836149 
    122846150        CFLAGS="$SAVED_CFLAGS" 
     
    123006166export IPP_LIBS=$IPP_LIBS" 
    123016167else 
    12302     { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
    12303 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
     6168    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
     6169$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
    123046170fi 
    123056171 
     
    123086174 
    123096175# Check whether --enable-ssl was given. 
    12310 if test "${enable_ssl+set}" = set; then 
     6176if test "${enable_ssl+set}" = set; then : 
    123116177  enableval=$enable_ssl; 
    123126178                if test "$enable_ssl" = "no"; then 
    123136179                 ac_no_ssl=1 
    12314                  { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
    12315 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
     6180                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
     6181$as_echo "Checking if SSL support is disabled... yes" >&6; } 
    123166182                fi 
    123176183 
    123186184else 
    123196185 
    12320                 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
    12321 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
    12322  
    12323  
    12324  
    12325                 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12326   { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    12327 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    12328 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12329   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12330 fi 
    12331 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    12332 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    12333 else 
    12334   # Is the header compilable? 
    12335 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
    12336 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
    12337 cat >conftest.$ac_ext <<_ACEOF 
    12338 /* confdefs.h.  */ 
    12339 _ACEOF 
    12340 cat confdefs.h >>conftest.$ac_ext 
    12341 cat >>conftest.$ac_ext <<_ACEOF 
    12342 /* end confdefs.h.  */ 
    12343 $ac_includes_default 
    12344 #include <openssl/ssl.h> 
    12345 _ACEOF 
    12346 rm -f conftest.$ac_objext 
    12347 if { (ac_try="$ac_compile" 
    12348 case "(($ac_try" in 
    12349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12350   *) ac_try_echo=$ac_try;; 
    12351 esac 
    12352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12353   (eval "$ac_compile") 2>conftest.er1 
    12354   ac_status=$? 
    12355   grep -v '^ *+' conftest.er1 >conftest.err 
    12356   rm -f conftest.er1 
    12357   cat conftest.err >&5 
    12358   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12359   (exit $ac_status); } && { 
    12360          test -z "$ac_c_werror_flag" || 
    12361          test ! -s conftest.err 
    12362        } && test -s conftest.$ac_objext; then 
    12363   ac_header_compiler=yes 
    12364 else 
    12365   echo "$as_me: failed program was:" >&5 
    12366 sed 's/^/| /' conftest.$ac_ext >&5 
    12367  
    12368         ac_header_compiler=no 
    12369 fi 
    12370  
    12371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    12372 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    12373 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    12374  
    12375 # Is the header present? 
    12376 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
    12377 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
    12378 cat >conftest.$ac_ext <<_ACEOF 
    12379 /* confdefs.h.  */ 
    12380 _ACEOF 
    12381 cat confdefs.h >>conftest.$ac_ext 
    12382 cat >>conftest.$ac_ext <<_ACEOF 
    12383 /* end confdefs.h.  */ 
    12384 #include <openssl/ssl.h> 
    12385 _ACEOF 
    12386 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    12387 case "(($ac_try" in 
    12388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12389   *) ac_try_echo=$ac_try;; 
    12390 esac 
    12391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12392   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    12393   ac_status=$? 
    12394   grep -v '^ *+' conftest.er1 >conftest.err 
    12395   rm -f conftest.er1 
    12396   cat conftest.err >&5 
    12397   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12398   (exit $ac_status); } >/dev/null && { 
    12399          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    12400          test ! -s conftest.err 
    12401        }; then 
    12402   ac_header_preproc=yes 
    12403 else 
    12404   echo "$as_me: failed program was:" >&5 
    12405 sed 's/^/| /' conftest.$ac_ext >&5 
    12406  
    12407   ac_header_preproc=no 
    12408 fi 
    12409  
    12410 rm -f conftest.err conftest.$ac_ext 
    12411 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    12412 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    12413  
    12414 # So?  What about this header? 
    12415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    12416   yes:no: ) 
    12417     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    12418 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    12419     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
    12420 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
    12421     ac_header_preproc=yes 
    12422     ;; 
    12423   no:yes:* ) 
    12424     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
    12425 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
    12426     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
    12427 echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
    12428     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
    12429 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
    12430     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    12431 echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    12432     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
    12433 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
    12434     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
    12435 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
    12436  
    12437     ;; 
    12438 esac 
    12439 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    12440 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    12441 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12442   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12443 else 
    12444   ac_cv_header_openssl_ssl_h=$ac_header_preproc 
    12445 fi 
    12446 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    12447 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    12448  
    12449 fi 
    12450 if test $ac_cv_header_openssl_ssl_h = yes; then 
     6186                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
     6187$as_echo "checking for OpenSSL installations.." >&6; } 
     6188 
     6189 
     6190 
     6191                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
     6192if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
    124516193  openssl_h_present=1 
    124526194fi 
    124536195 
    124546196 
    12455                 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    12456 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
    12457 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
    12458   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6197                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     6198$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
     6199if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     6200  $as_echo_n "(cached) " >&6 
    124596201else 
    124606202  ac_check_lib_save_LIBS=$LIBS 
    124616203LIBS="-lcrypto  $LIBS" 
    12462 cat >conftest.$ac_ext <<_ACEOF 
    12463 /* confdefs.h.  */ 
    12464 _ACEOF 
    12465 cat confdefs.h >>conftest.$ac_ext 
    12466 cat >>conftest.$ac_ext <<_ACEOF 
     6204cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    124676205/* end confdefs.h.  */ 
    124686206 
     
    124826220} 
    124836221_ACEOF 
    12484 rm -f conftest.$ac_objext conftest$ac_exeext 
    12485 if { (ac_try="$ac_link" 
    12486 case "(($ac_try" in 
    12487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12488   *) ac_try_echo=$ac_try;; 
    12489 esac 
    12490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12491   (eval "$ac_link") 2>conftest.er1 
    12492   ac_status=$? 
    12493   grep -v '^ *+' conftest.er1 >conftest.err 
    12494   rm -f conftest.er1 
    12495   cat conftest.err >&5 
    12496   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12497   (exit $ac_status); } && { 
    12498          test -z "$ac_c_werror_flag" || 
    12499          test ! -s conftest.err 
    12500        } && test -s conftest$ac_exeext && 
    12501        $as_test_x conftest$ac_exeext; then 
     6222if ac_fn_c_try_link "$LINENO"; then : 
    125026223  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    125036224else 
    12504   echo "$as_me: failed program was:" >&5 
    12505 sed 's/^/| /' conftest.$ac_ext >&5 
    12506  
    12507         ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    12508 fi 
    12509  
    12510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12511       conftest$ac_exeext conftest.$ac_ext 
     6225  ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     6226fi 
     6227rm -f core conftest.err conftest.$ac_objext \ 
     6228    conftest$ac_exeext conftest.$ac_ext 
    125126229LIBS=$ac_check_lib_save_LIBS 
    125136230fi 
    12514 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    12515 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    12516 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     6231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     6232$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     6233if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
    125176234  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    125186235fi 
    125196236 
    12520                 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
    12521 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
    12522 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
    12523   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6237                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
     6238$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
     6239if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     6240  $as_echo_n "(cached) " >&6 
    125246241else 
    125256242  ac_check_lib_save_LIBS=$LIBS 
    125266243LIBS="-lssl  $LIBS" 
    12527 cat >conftest.$ac_ext <<_ACEOF 
    12528 /* confdefs.h.  */ 
    12529 _ACEOF 
    12530 cat confdefs.h >>conftest.$ac_ext 
    12531 cat >>conftest.$ac_ext <<_ACEOF 
     6244cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    125326245/* end confdefs.h.  */ 
    125336246 
     
    125476260} 
    125486261_ACEOF 
    12549 rm -f conftest.$ac_objext conftest$ac_exeext 
    12550 if { (ac_try="$ac_link" 
    12551 case "(($ac_try" in 
    12552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12553   *) ac_try_echo=$ac_try;; 
    12554 esac 
    12555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12556   (eval "$ac_link") 2>conftest.er1 
    12557   ac_status=$? 
    12558   grep -v '^ *+' conftest.er1 >conftest.err 
    12559   rm -f conftest.er1 
    12560   cat conftest.err >&5 
    12561   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12562   (exit $ac_status); } && { 
    12563          test -z "$ac_c_werror_flag" || 
    12564          test ! -s conftest.err 
    12565        } && test -s conftest$ac_exeext && 
    12566        $as_test_x conftest$ac_exeext; then 
     6262if ac_fn_c_try_link "$LINENO"; then : 
    125676263  ac_cv_lib_ssl_SSL_library_init=yes 
    125686264else 
    12569   echo "$as_me: failed program was:" >&5 
    12570 sed 's/^/| /' conftest.$ac_ext >&5 
    12571  
    12572         ac_cv_lib_ssl_SSL_library_init=no 
    12573 fi 
    12574  
    12575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12576       conftest$ac_exeext conftest.$ac_ext 
     6265  ac_cv_lib_ssl_SSL_library_init=no 
     6266fi 
     6267rm -f core conftest.err conftest.$ac_objext \ 
     6268    conftest$ac_exeext conftest.$ac_ext 
    125776269LIBS=$ac_check_lib_save_LIBS 
    125786270fi 
    12579 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    12580 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    12581 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     6271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     6272$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     6273if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
    125826274  libssl_present=1 && LIBS="$LIBS -lssl" 
    125836275fi 
    125846276 
    125856277                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    12586                         { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
    12587 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
     6278                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
     6279$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
    125886280                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    125896281                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    12590                         cat >>confdefs.h <<\_ACEOF 
    12591 #define PJ_HAS_SSL_SOCK 1 
    12592 _ACEOF 
     6282                        $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
    125936283 
    125946284                else 
    12595                         { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    12596 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     6285                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     6286$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    125976287                fi 
    125986288 
     
    126026292 
    126036293# Check whether --enable-opencore_amrnb was given. 
    12604 if test "${enable_opencore_amrnb+set}" = set; then 
     6294if test "${enable_opencore_amrnb+set}" = set; then : 
    126056295  enableval=$enable_opencore_amrnb; 
    126066296                if test "$enable_opencore_amrnb" = "no"; then 
    126076297                 ac_no_opencore_amrnb=1 
    12608                  cat >>confdefs.h <<\_ACEOF 
    12609 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 
    12610 _ACEOF 
    12611  
    12612                  { echo "$as_me:$LINENO: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 
    12613 echo "${ECHO_T}Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 
     6298                 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 
     6299 
     6300                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 
     6301$as_echo "Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 
    126146302                fi 
    126156303 
    126166304else 
    126176305 
    12618                 { echo "$as_me:$LINENO: result: checking for OpenCORE AMR-NB installations.." >&5 
    12619 echo "${ECHO_T}checking for OpenCORE AMR-NB installations.." >&6; } 
    12620  
    12621  
    12622                 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 
    12623   { echo "$as_me:$LINENO: checking for opencore-amrnb/interf_enc.h" >&5 
    12624 echo $ECHO_N "checking for opencore-amrnb/interf_enc.h... $ECHO_C" >&6; } 
    12625 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 
    12626   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12627 fi 
    12628 { echo "$as_me:$LINENO: result: $ac_cv_header_opencore_amrnb_interf_enc_h" >&5 
    12629 echo "${ECHO_T}$ac_cv_header_opencore_amrnb_interf_enc_h" >&6; } 
    12630 else 
    12631   # Is the header compilable? 
    12632 { echo "$as_me:$LINENO: checking opencore-amrnb/interf_enc.h usability" >&5 
    12633 echo $ECHO_N "checking opencore-amrnb/interf_enc.h usability... $ECHO_C" >&6; } 
    12634 cat >conftest.$ac_ext <<_ACEOF 
    12635 /* confdefs.h.  */ 
    12636 _ACEOF 
    12637 cat confdefs.h >>conftest.$ac_ext 
    12638 cat >>conftest.$ac_ext <<_ACEOF 
    12639 /* end confdefs.h.  */ 
    12640 $ac_includes_default 
    12641 #include <opencore-amrnb/interf_enc.h> 
    12642 _ACEOF 
    12643 rm -f conftest.$ac_objext 
    12644 if { (ac_try="$ac_compile" 
    12645 case "(($ac_try" in 
    12646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12647   *) ac_try_echo=$ac_try;; 
    12648 esac 
    12649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12650   (eval "$ac_compile") 2>conftest.er1 
    12651   ac_status=$? 
    12652   grep -v '^ *+' conftest.er1 >conftest.err 
    12653   rm -f conftest.er1 
    12654   cat conftest.err >&5 
    12655   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12656   (exit $ac_status); } && { 
    12657          test -z "$ac_c_werror_flag" || 
    12658          test ! -s conftest.err 
    12659        } && test -s conftest.$ac_objext; then 
    12660   ac_header_compiler=yes 
    12661 else 
    12662   echo "$as_me: failed program was:" >&5 
    12663 sed 's/^/| /' conftest.$ac_ext >&5 
    12664  
    12665         ac_header_compiler=no 
    12666 fi 
    12667  
    12668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    12669 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    12670 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    12671  
    12672 # Is the header present? 
    12673 { echo "$as_me:$LINENO: checking opencore-amrnb/interf_enc.h presence" >&5 
    12674 echo $ECHO_N "checking opencore-amrnb/interf_enc.h presence... $ECHO_C" >&6; } 
    12675 cat >conftest.$ac_ext <<_ACEOF 
    12676 /* confdefs.h.  */ 
    12677 _ACEOF 
    12678 cat confdefs.h >>conftest.$ac_ext 
    12679 cat >>conftest.$ac_ext <<_ACEOF 
    12680 /* end confdefs.h.  */ 
    12681 #include <opencore-amrnb/interf_enc.h> 
    12682 _ACEOF 
    12683 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    12684 case "(($ac_try" in 
    12685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12686   *) ac_try_echo=$ac_try;; 
    12687 esac 
    12688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    12690   ac_status=$? 
    12691   grep -v '^ *+' conftest.er1 >conftest.err 
    12692   rm -f conftest.er1 
    12693   cat conftest.err >&5 
    12694   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12695   (exit $ac_status); } >/dev/null && { 
    12696          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    12697          test ! -s conftest.err 
    12698        }; then 
    12699   ac_header_preproc=yes 
    12700 else 
    12701   echo "$as_me: failed program was:" >&5 
    12702 sed 's/^/| /' conftest.$ac_ext >&5 
    12703  
    12704   ac_header_preproc=no 
    12705 fi 
    12706  
    12707 rm -f conftest.err conftest.$ac_ext 
    12708 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    12709 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    12710  
    12711 # So?  What about this header? 
    12712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    12713   yes:no: ) 
    12714     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    12715 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    12716     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: proceeding with the compiler's result" >&5 
    12717 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: proceeding with the compiler's result" >&2;} 
    12718     ac_header_preproc=yes 
    12719     ;; 
    12720   no:yes:* ) 
    12721     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: present but cannot be compiled" >&5 
    12722 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: present but cannot be compiled" >&2;} 
    12723     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h:     check for missing prerequisite headers?" >&5 
    12724 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h:     check for missing prerequisite headers?" >&2;} 
    12725     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: see the Autoconf documentation" >&5 
    12726 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: see the Autoconf documentation" >&2;} 
    12727     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    12728 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    12729     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: proceeding with the preprocessor's result" >&5 
    12730 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: proceeding with the preprocessor's result" >&2;} 
    12731     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: in the future, the compiler will take precedence" >&5 
    12732 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: in the future, the compiler will take precedence" >&2;} 
    12733  
    12734     ;; 
    12735 esac 
    12736 { echo "$as_me:$LINENO: checking for opencore-amrnb/interf_enc.h" >&5 
    12737 echo $ECHO_N "checking for opencore-amrnb/interf_enc.h... $ECHO_C" >&6; } 
    12738 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 
    12739   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12740 else 
    12741   ac_cv_header_opencore_amrnb_interf_enc_h=$ac_header_preproc 
    12742 fi 
    12743 { echo "$as_me:$LINENO: result: $ac_cv_header_opencore_amrnb_interf_enc_h" >&5 
    12744 echo "${ECHO_T}$ac_cv_header_opencore_amrnb_interf_enc_h" >&6; } 
    12745  
    12746 fi 
    12747 if test $ac_cv_header_opencore_amrnb_interf_enc_h = yes; then 
     6306                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 
     6307$as_echo "checking for OpenCORE AMR-NB installations.." >&6; } 
     6308 
     6309 
     6310                ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 
     6311if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : 
    127486312  opencore_amrnb_h_present=1 
    127496313fi 
    127506314 
    127516315 
    12752                 { echo "$as_me:$LINENO: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 
    12753 echo $ECHO_N "checking for Encoder_Interface_init in -lopencore-amrnb... $ECHO_C" >&6; } 
    12754 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then 
    12755   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6316                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 
     6317$as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 
     6318if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : 
     6319  $as_echo_n "(cached) " >&6 
    127566320else 
    127576321  ac_check_lib_save_LIBS=$LIBS 
    127586322LIBS="-lopencore-amrnb  $LIBS" 
    12759 cat >conftest.$ac_ext <<_ACEOF 
    12760 /* confdefs.h.  */ 
    12761 _ACEOF 
    12762 cat confdefs.h >>conftest.$ac_ext 
    12763 cat >>conftest.$ac_ext <<_ACEOF 
     6323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    127646324/* end confdefs.h.  */ 
    127656325 
     
    127796339} 
    127806340_ACEOF 
    12781 rm -f conftest.$ac_objext conftest$ac_exeext 
    12782 if { (ac_try="$ac_link" 
    12783 case "(($ac_try" in 
    12784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12785   *) ac_try_echo=$ac_try;; 
    12786 esac 
    12787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12788   (eval "$ac_link") 2>conftest.er1 
    12789   ac_status=$? 
    12790   grep -v '^ *+' conftest.er1 >conftest.err 
    12791   rm -f conftest.er1 
    12792   cat conftest.err >&5 
    12793   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12794   (exit $ac_status); } && { 
    12795          test -z "$ac_c_werror_flag" || 
    12796          test ! -s conftest.err 
    12797        } && test -s conftest$ac_exeext && 
    12798        $as_test_x conftest$ac_exeext; then 
     6341if ac_fn_c_try_link "$LINENO"; then : 
    127996342  ac_cv_lib_opencore_amrnb_Encoder_Interface_init=yes 
    128006343else 
    12801   echo "$as_me: failed program was:" >&5 
    12802 sed 's/^/| /' conftest.$ac_ext >&5 
    12803  
    12804         ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no 
    12805 fi 
    12806  
    12807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12808       conftest$ac_exeext conftest.$ac_ext 
     6344  ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no 
     6345fi 
     6346rm -f core conftest.err conftest.$ac_objext \ 
     6347    conftest$ac_exeext conftest.$ac_ext 
    128096348LIBS=$ac_check_lib_save_LIBS 
    128106349fi 
    12811 { echo "$as_me:$LINENO: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 
    12812 echo "${ECHO_T}$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 
    12813 if test $ac_cv_lib_opencore_amrnb_Encoder_Interface_init = yes; then 
     6350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 
     6351$as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 
     6352if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : 
    128146353  opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 
    128156354fi 
    128166355 
    128176356                if test "x$opencore_amrnb_h_present" = "x1" -a "x$opencore_amrnb_present" = "x1"; then 
    12818                         { echo "$as_me:$LINENO: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 
    12819 echo "${ECHO_T}OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } 
    12820                         cat >>confdefs.h <<\_ACEOF 
    12821 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1 
    12822 _ACEOF 
     6357                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 
     6358$as_echo "OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } 
     6359                        $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1" >>confdefs.h 
    128236360 
    128246361                else 
    128256362                        ac_no_opencore_amrnb=1 
    12826                         cat >>confdefs.h <<\_ACEOF 
    12827 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 
    12828 _ACEOF 
     6363                        $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 
    128296364 
    128306365                fi 
     
    128356370 
    128366371 
    12837  
    12838 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    12839 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
     6372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
     6373$as_echo_n "checking if select() needs correct nfds... " >&6; } 
    128406374case $target in 
    12841   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12842 #define PJ_SELECT_NEEDS_NFDS 1 
    12843 _ACEOF 
    12844  
    12845            { echo "$as_me:$LINENO: result: yes" >&5 
    12846 echo "${ECHO_T}yes" >&6; } 
     6375  *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
     6376 
     6377           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6378$as_echo "yes" >&6; } 
    128476379        ;; 
    12848   *) cat >>confdefs.h <<\_ACEOF 
    12849 #define PJ_SELECT_NEEDS_NFDS 0 
    12850 _ACEOF 
    12851  
    12852      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12853 echo "${ECHO_T}no (default)" >&6; } 
    12854      { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    12855 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     6380  *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
     6381 
     6382     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6383$as_echo "no (default)" >&6; } 
     6384     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     6385$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    128566386        ;; 
    128576387esac 
    128586388 
    12859 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    12860 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
     6389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
     6390$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
    128616391case $target in 
    12862   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12863 #define PJ_THREAD_SET_STACK_SIZE 1 
    12864 _ACEOF 
    12865  
    12866            { echo "$as_me:$LINENO: result: yes" >&5 
    12867 echo "${ECHO_T}yes" >&6; } 
     6392  *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
     6393 
     6394           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6395$as_echo "yes" >&6; } 
    128686396        ;; 
    12869   *) cat >>confdefs.h <<\_ACEOF 
    12870 #define PJ_THREAD_SET_STACK_SIZE 0 
    12871 _ACEOF 
    12872  
    12873      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12874 echo "${ECHO_T}no (default)" >&6; } 
     6397  *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
     6398 
     6399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6400$as_echo "no (default)" >&6; } 
    128756401        ;; 
    128766402esac 
    128776403 
    12878 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    12879 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
     6404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
     6405$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
    128806406case $target in 
    12881   *rtems*) cat >>confdefs.h <<\_ACEOF 
    12882 #define PJ_THREAD_ALLOCATE_STACK 1 
    12883 _ACEOF 
    12884  
    12885            { echo "$as_me:$LINENO: result: yes" >&5 
    12886 echo "${ECHO_T}yes" >&6; } 
     6407  *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
     6408 
     6409           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6410$as_echo "yes" >&6; } 
    128876411        ;; 
    12888   *) cat >>confdefs.h <<\_ACEOF 
    12889 #define PJ_THREAD_ALLOCATE_STACK 0 
    12890 _ACEOF 
    12891  
    12892      { echo "$as_me:$LINENO: result: no (default)" >&5 
    12893 echo "${ECHO_T}no (default)" >&6; } 
     6412  *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
     6413 
     6414     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6415$as_echo "no (default)" >&6; } 
    128946416        ;; 
    128956417esac 
     
    128976419case $target in 
    128986420  *mingw* | *cygw* | *win32* | *w32* ) 
    12899         cat >>confdefs.h <<\_ACEOF 
    12900 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    12901 _ACEOF 
     6421        $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    129026422 
    129036423        ;; 
    12904   *) cat >>confdefs.h <<\_ACEOF 
    12905 #define PJ_BLOCKING_ERROR_VAL EAGAIN 
    12906 _ACEOF 
    12907  
    12908      { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    12909 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     6424  *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
     6425 
     6426     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     6427$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    129106428        ;; 
    129116429esac 
     
    129136431case $target in 
    129146432  *mingw* | *cygw* | *win32* | *w32* ) 
    12915         cat >>confdefs.h <<\_ACEOF 
    12916 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    12917 _ACEOF 
     6433        $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    129186434 
    129196435        ;; 
    12920   *) cat >>confdefs.h <<\_ACEOF 
    12921 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    12922 _ACEOF 
    12923  
    12924      { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    12925 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     6436  *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
     6437 
     6438     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     6439$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    129266440        ;; 
    129276441esac 
     
    129786492    *${as_nl}*) 
    129796493      case $ac_var in #( 
    12980       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    12981 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     6494      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     6495$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    129826496      esac 
    129836497      case $ac_var in #( 
    129846498      _ | IFS | as_nl) ;; #( 
    12985       *) $as_unset $ac_var ;; 
     6499      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     6500      *) { eval $ac_var=; unset $ac_var;} ;; 
    129866501      esac ;; 
    129876502    esac 
     
    129916506    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    129926507    *${as_nl}ac_space=\ *) 
    12993       # `set' does not quote correctly, so add quotes (double-quote 
    12994       # substitution turns \\\\ into \\, and sed turns \\ into \). 
     6508      # `set' does not quote correctly, so add quotes: double-quote 
     6509      # substitution turns \\\\ into \\, and sed turns \\ into \. 
    129956510      sed -n \ 
    129966511        "s/'/'\\\\''/g; 
     
    130156530  if test -w "$cache_file"; then 
    130166531    test "x$cache_file" != "x/dev/null" && 
    13017       { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
    13018 echo "$as_me: updating cache $cache_file" >&6;} 
     6532      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
     6533$as_echo "$as_me: updating cache $cache_file" >&6;} 
    130196534    cat confcache >$cache_file 
    130206535  else 
    13021     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
    13022 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     6536    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     6537$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    130236538  fi 
    130246539fi 
     
    130366551  # 1. Remove the extension, and $U if already installed. 
    130376552  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    13038   ac_i=`echo "$ac_i" | sed "$ac_script"` 
     6553  ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
    130396554  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    130406555  #    will be set to the directory where LIBOBJS objects are built. 
    13041   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    13042   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
     6556  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     6557  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
    130436558done 
    130446559LIBOBJS=$ac_libobjs 
     
    130486563 
    130496564 
     6565 
    130506566: ${CONFIG_STATUS=./config.status} 
     6567ac_write_fail=0 
    130516568ac_clean_files_save=$ac_clean_files 
    130526569ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    13053 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    13054 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    13055 cat >$CONFIG_STATUS <<_ACEOF 
     6570{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
     6571$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     6572as_write_fail=0 
     6573cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
    130566574#! $SHELL 
    130576575# Generated by $as_me. 
     
    130636581ac_cs_recheck=false 
    130646582ac_cs_silent=false 
     6583 
    130656584SHELL=\${CONFIG_SHELL-$SHELL} 
    13066 _ACEOF 
    13067  
    13068 cat >>$CONFIG_STATUS <<\_ACEOF 
    13069 ## --------------------- ## 
    13070 ## M4sh Initialization.  ## 
    13071 ## --------------------- ## 
     6585export SHELL 
     6586_ASEOF 
     6587cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
     6588## -------------------- ## 
     6589## M4sh Initialization. ## 
     6590## -------------------- ## 
    130726591 
    130736592# Be more Bourne compatible 
    130746593DUALCASE=1; export DUALCASE # for MKS sh 
    13075 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     6594if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    130766595  emulate sh 
    130776596  NULLCMD=: 
    13078   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     6597  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    130796598  # is contrary to our usage.  Disable this feature. 
    130806599  alias -g '${1+"$@"}'='"$@"' 
    130816600  setopt NO_GLOB_SUBST 
    130826601else 
    13083   case `(set -o) 2>/dev/null` in 
    13084   *posix*) set -o posix ;; 
     6602  case `(set -o) 2>/dev/null` in #( 
     6603  *posix*) : 
     6604    set -o posix ;; #( 
     6605  *) : 
     6606     ;; 
    130856607esac 
    13086  
    13087 fi 
    13088  
    13089  
    13090  
    13091  
    13092 # PATH needs CR 
    13093 # Avoid depending upon Character Ranges. 
    13094 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    13095 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    13096 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    13097 as_cr_digits='0123456789' 
    13098 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     6608fi 
     6609 
     6610 
     6611as_nl=' 
     6612' 
     6613export as_nl 
     6614# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     6615as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     6616as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     6617as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     6618# Prefer a ksh shell builtin over an external printf program on Solaris, 
     6619# but without wasting forks for bash or zsh. 
     6620if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     6621    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6622  as_echo='print -r --' 
     6623  as_echo_n='print -rn --' 
     6624elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6625  as_echo='printf %s\n' 
     6626  as_echo_n='printf %s' 
     6627else 
     6628  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     6629    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     6630    as_echo_n='/usr/ucb/echo -n' 
     6631  else 
     6632    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     6633    as_echo_n_body='eval 
     6634      arg=$1; 
     6635      case $arg in #( 
     6636      *"$as_nl"*) 
     6637        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     6638        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     6639      esac; 
     6640      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     6641    ' 
     6642    export as_echo_n_body 
     6643    as_echo_n='sh -c $as_echo_n_body as_echo' 
     6644  fi 
     6645  export as_echo_body 
     6646  as_echo='sh -c $as_echo_body as_echo' 
     6647fi 
    130996648 
    131006649# The user is always right. 
    131016650if test "${PATH_SEPARATOR+set}" != set; then 
    13102   echo "#! /bin/sh" >conf$$.sh 
    13103   echo  "exit 0"   >>conf$$.sh 
    13104   chmod +x conf$$.sh 
    13105   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    13106     PATH_SEPARATOR=';' 
    13107   else 
    13108     PATH_SEPARATOR=: 
    13109   fi 
    13110   rm -f conf$$.sh 
    13111 fi 
    13112  
    13113 # Support unset when possible. 
    13114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    13115   as_unset=unset 
    13116 else 
    13117   as_unset=false 
     6651  PATH_SEPARATOR=: 
     6652  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     6653    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     6654      PATH_SEPARATOR=';' 
     6655  } 
    131186656fi 
    131196657 
     
    131246662# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    131256663# splitting by setting IFS to empty value.) 
    13126 as_nl=' 
    13127 ' 
    131286664IFS=" ""        $as_nl" 
    131296665 
    131306666# Find who we are.  Look in the path if we contain no directory separator. 
    13131 case $0 in 
     6667case $0 in #(( 
    131326668  *[\\/]* ) as_myself=$0 ;; 
    131336669  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    131366672  IFS=$as_save_IFS 
    131376673  test -z "$as_dir" && as_dir=. 
    13138   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    13139 done 
     6674    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     6675  done 
    131406676IFS=$as_save_IFS 
    131416677 
     
    131486684fi 
    131496685if test ! -f "$as_myself"; then 
    13150   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    13151   { (exit 1); exit 1; } 
    13152 fi 
    13153  
    13154 # Work around bugs in pre-3.0 UWIN ksh. 
    13155 for as_var in ENV MAIL MAILPATH 
    13156 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     6686  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     6687  exit 1 
     6688fi 
     6689 
     6690# Unset variables that we do not need and which cause bugs (e.g. in 
     6691# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     6692# suppresses any "Segmentation fault" message there.  '((' could 
     6693# trigger a bug in pdksh 5.2.14. 
     6694for as_var in BASH_ENV ENV MAIL MAILPATH 
     6695do eval test x\${$as_var+set} = xset \ 
     6696  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    131576697done 
    131586698PS1='$ ' 
     
    131616701 
    131626702# NLS nuisances. 
    13163 for as_var in \ 
    13164   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    13165   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    13166   LC_TELEPHONE LC_TIME 
    13167 do 
    13168   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    13169     eval $as_var=C; export $as_var 
    13170   else 
    13171     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     6703LC_ALL=C 
     6704export LC_ALL 
     6705LANGUAGE=C 
     6706export LANGUAGE 
     6707 
     6708# CDPATH. 
     6709(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     6710 
     6711 
     6712# as_fn_error ERROR [LINENO LOG_FD] 
     6713# --------------------------------- 
     6714# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     6715# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     6716# script with status $?, using 1 if that was 0. 
     6717as_fn_error () 
     6718{ 
     6719  as_status=$?; test $as_status -eq 0 && as_status=1 
     6720  if test "$3"; then 
     6721    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     6722    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
    131726723  fi 
    13173 done 
    13174  
    13175 # Required to use basename. 
     6724  $as_echo "$as_me: error: $1" >&2 
     6725  as_fn_exit $as_status 
     6726} # as_fn_error 
     6727 
     6728 
     6729# as_fn_set_status STATUS 
     6730# ----------------------- 
     6731# Set $? to STATUS, without forking. 
     6732as_fn_set_status () 
     6733{ 
     6734  return $1 
     6735} # as_fn_set_status 
     6736 
     6737# as_fn_exit STATUS 
     6738# ----------------- 
     6739# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     6740as_fn_exit () 
     6741{ 
     6742  set +e 
     6743  as_fn_set_status $1 
     6744  exit $1 
     6745} # as_fn_exit 
     6746 
     6747# as_fn_unset VAR 
     6748# --------------- 
     6749# Portably unset VAR. 
     6750as_fn_unset () 
     6751{ 
     6752  { eval $1=; unset $1;} 
     6753} 
     6754as_unset=as_fn_unset 
     6755# as_fn_append VAR VALUE 
     6756# ---------------------- 
     6757# Append the text in VALUE to the end of the definition contained in VAR. Take 
     6758# advantage of any shell optimizations that allow amortized linear growth over 
     6759# repeated appends, instead of the typical quadratic growth present in naive 
     6760# implementations. 
     6761if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     6762  eval 'as_fn_append () 
     6763  { 
     6764    eval $1+=\$2 
     6765  }' 
     6766else 
     6767  as_fn_append () 
     6768  { 
     6769    eval $1=\$$1\$2 
     6770  } 
     6771fi # as_fn_append 
     6772 
     6773# as_fn_arith ARG... 
     6774# ------------------ 
     6775# Perform arithmetic evaluation on the ARGs, and store the result in the 
     6776# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     6777# must be portable across $(()) and expr. 
     6778if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     6779  eval 'as_fn_arith () 
     6780  { 
     6781    as_val=$(( $* )) 
     6782  }' 
     6783else 
     6784  as_fn_arith () 
     6785  { 
     6786    as_val=`expr "$@" || test $? -eq 1` 
     6787  } 
     6788fi # as_fn_arith 
     6789 
     6790 
    131766791if expr a : '\(a\)' >/dev/null 2>&1 && 
    131776792   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    131876802fi 
    131886803 
    13189  
    13190 # Name of the executable. 
     6804if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     6805  as_dirname=dirname 
     6806else 
     6807  as_dirname=false 
     6808fi 
     6809 
    131916810as_me=`$as_basename -- "$0" || 
    131926811$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    131936812         X"$0" : 'X\(//\)$' \| \ 
    131946813         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    13195 echo X/"$0" | 
     6814$as_echo X/"$0" | 
    131966815    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    131976816            s//\1/ 
     
    132086827          s/.*/./; q'` 
    132096828 
    13210 # CDPATH. 
    13211 $as_unset CDPATH 
    13212  
    13213  
    13214  
    13215   as_lineno_1=$LINENO 
    13216   as_lineno_2=$LINENO 
    13217   test "x$as_lineno_1" != "x$as_lineno_2" && 
    13218   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    13219  
    13220   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    13221   # uniformly replaced by the line number.  The first 'sed' inserts a 
    13222   # line-number line after each line using $LINENO; the second 'sed' 
    13223   # does the real work.  The second script uses 'N' to pair each 
    13224   # line-number line with the line containing $LINENO, and appends 
    13225   # trailing '-' during substitution so that $LINENO is not a special 
    13226   # case at line end. 
    13227   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    13228   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    13229   # E. McMahon (1931-1989) for sed's syntax.  :-) 
    13230   sed -n ' 
    13231     p 
    13232     /[$]LINENO/= 
    13233   ' <$as_myself | 
    13234     sed ' 
    13235       s/[$]LINENO.*/&-/ 
    13236       t lineno 
    13237       b 
    13238       :lineno 
    13239       N 
    13240       :loop 
    13241       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    13242       t loop 
    13243       s/-\n.*// 
    13244     ' >$as_me.lineno && 
    13245   chmod +x "$as_me.lineno" || 
    13246     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    13247    { (exit 1); exit 1; }; } 
    13248  
    13249   # Don't try to exec as it changes $[0], causing all sort of problems 
    13250   # (the dirname of $[0] is not the place where we might find the 
    13251   # original and so on.  Autoconf is especially sensitive to this). 
    13252   . "./$as_me.lineno" 
    13253   # Exit status is that of the last command. 
    13254   exit 
    13255 } 
    13256  
    13257  
    13258 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    13259   as_dirname=dirname 
    13260 else 
    13261   as_dirname=false 
    13262 fi 
     6829# Avoid depending upon Character Ranges. 
     6830as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     6831as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     6832as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     6833as_cr_digits='0123456789' 
     6834as_cr_alnum=$as_cr_Letters$as_cr_digits 
    132636835 
    132646836ECHO_C= ECHO_N= ECHO_T= 
    13265 case `echo -n x` in 
     6837case `echo -n x` in #((((( 
    132666838-n*) 
    13267   case `echo 'x\c'` in 
     6839  case `echo 'xy\c'` in 
    132686840  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    13269   *)   ECHO_C='\c';; 
     6841  xy)  ECHO_C='\c';; 
     6842  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     6843       ECHO_T=' ';; 
    132706844  esac;; 
    132716845*) 
     
    132736847esac 
    132746848 
    13275 if expr a : '\(a\)' >/dev/null 2>&1 && 
    13276    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    13277   as_expr=expr 
    13278 else 
    13279   as_expr=false 
    13280 fi 
    13281  
    132826849rm -f conf$$ conf$$.exe conf$$.file 
    132836850if test -d conf$$.dir; then 
     
    132856852else 
    132866853  rm -f conf$$.dir 
    13287   mkdir conf$$.dir 
    13288 fi 
    13289 echo >conf$$.file 
    13290 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    13291   as_ln_s='ln -s' 
    13292   # ... but there are two gotchas: 
    13293   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    13294   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    13295   # In both cases, we have to default to `cp -p'. 
    13296   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     6854  mkdir conf$$.dir 2>/dev/null 
     6855fi 
     6856if (echo >conf$$.file) 2>/dev/null; then 
     6857  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     6858    as_ln_s='ln -s' 
     6859    # ... but there are two gotchas: 
     6860    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     6861    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     6862    # In both cases, we have to default to `cp -p'. 
     6863    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     6864      as_ln_s='cp -p' 
     6865  elif ln conf$$.file conf$$ 2>/dev/null; then 
     6866    as_ln_s=ln 
     6867  else 
    132976868    as_ln_s='cp -p' 
    13298 elif ln conf$$.file conf$$ 2>/dev/null; then 
    13299   as_ln_s=ln 
     6869  fi 
    133006870else 
    133016871  as_ln_s='cp -p' 
     
    133046874rmdir conf$$.dir 2>/dev/null 
    133056875 
    13306 if mkdir -p . 2>/dev/null; then 
    13307   as_mkdir_p=: 
    13308 else 
    13309   test -d ./-p && rmdir ./-p 
    13310   as_mkdir_p=false 
    13311 fi 
    13312  
    13313 if test -x / >/dev/null 2>&1; then 
    13314   as_test_x='test -x' 
    13315 else 
    13316   if ls -dL / >/dev/null 2>&1; then 
    13317     as_ls_L_option=L 
    13318   else 
    13319     as_ls_L_option= 
    13320   fi 
    13321   as_test_x=' 
    13322     eval sh -c '\'' 
    13323       if test -d "$1"; then 
    13324         test -d "$1/."; 
    13325       else 
    13326         case $1 in 
    13327         -*)set "./$1";; 
    13328         esac; 
    13329         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    13330         ???[sx]*):;;*)false;;esac;fi 
    13331     '\'' sh 
    13332   ' 
    13333 fi 
    13334 as_executable_p=$as_test_x 
    13335  
    13336 # Sed expression to map a string onto a valid CPP name. 
    13337 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    13338  
    13339 # Sed expression to map a string onto a valid variable name. 
    13340 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    13341  
    13342  
    13343 exec 6>&1 
    13344  
    13345 # Save the log message, to keep $[0] and so on meaningful, and to 
    13346 # report actual input values of CONFIG_FILES etc. instead of their 
    13347 # values after options handling. 
    13348 ac_log=" 
    13349 This file was extended by pjproject $as_me 1.x, which was 
    13350 generated by GNU Autoconf 2.61.  Invocation command line was 
    13351  
    13352   CONFIG_FILES    = $CONFIG_FILES 
    13353   CONFIG_HEADERS  = $CONFIG_HEADERS 
    13354   CONFIG_LINKS    = $CONFIG_LINKS 
    13355   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    13356   $ $0 $@ 
    13357  
    13358 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    13359 " 
    13360  
    13361 _ACEOF 
    13362  
    13363 cat >>$CONFIG_STATUS <<_ACEOF 
    13364 # Files that config.status was made for. 
    13365 config_files="$ac_config_files" 
    13366 config_headers="$ac_config_headers" 
    13367  
    13368 _ACEOF 
    13369  
    13370 cat >>$CONFIG_STATUS <<\_ACEOF 
    13371 ac_cs_usage="\ 
    13372 \`$as_me' instantiates files from templates according to the 
    13373 current configuration. 
    13374  
    13375 Usage: $0 [OPTIONS] [FILE]... 
    13376  
    13377   -h, --help       print this help, then exit 
    13378   -V, --version    print version number and configuration settings, then exit 
    13379   -q, --quiet      do not print progress messages 
    13380   -d, --debug      don't remove temporary files 
    13381       --recheck    update $as_me by reconfiguring in the same conditions 
    13382   --file=FILE[:TEMPLATE] 
    13383                    instantiate the configuration file FILE 
    13384   --header=FILE[:TEMPLATE] 
    13385                    instantiate the configuration header FILE 
    13386  
    13387 Configuration files: 
    13388 $config_files 
    13389  
    13390 Configuration headers: 
    13391 $config_headers 
    13392  
    13393 Report bugs to <bug-autoconf@gnu.org>." 
    13394  
    13395 _ACEOF 
    13396 cat >>$CONFIG_STATUS <<_ACEOF 
    13397 ac_cs_version="\\ 
    13398 pjproject config.status 1.x 
    13399 configured by $0, generated by GNU Autoconf 2.61, 
    13400   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
    13401  
    13402 Copyright (C) 2006 Free Software Foundation, Inc. 
    13403 This config.status script is free software; the Free Software Foundation 
    13404 gives unlimited permission to copy, distribute and modify it." 
    13405  
    13406 ac_pwd='$ac_pwd' 
    13407 srcdir='$srcdir' 
    13408 _ACEOF 
    13409  
    13410 cat >>$CONFIG_STATUS <<\_ACEOF 
    13411 # If no file are specified by the user, then we need to provide default 
    13412 # value.  By we need to know if files were specified by the user. 
    13413 ac_need_defaults=: 
    13414 while test $# != 0 
    13415 do 
    13416   case $1 in 
    13417   --*=*) 
    13418     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    13419     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    13420     ac_shift=: 
    13421     ;; 
    13422   *) 
    13423     ac_option=$1 
    13424     ac_optarg=$2 
    13425     ac_shift=shift 
    13426     ;; 
    13427   esac 
    13428  
    13429   case $ac_option in 
    13430   # Handling of the options. 
    13431   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    13432     ac_cs_recheck=: ;; 
    13433   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    13434     echo "$ac_cs_version"; exit ;; 
    13435   --debug | --debu | --deb | --de | --d | -d ) 
    13436     debug=: ;; 
    13437   --file | --fil | --fi | --f ) 
    13438     $ac_shift 
    13439     CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    13440     ac_need_defaults=false;; 
    13441   --header | --heade | --head | --hea ) 
    13442     $ac_shift 
    13443     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    13444     ac_need_defaults=false;; 
    13445   --he | --h) 
    13446     # Conflict between --help and --header 
    13447     { echo "$as_me: error: ambiguous option: $1 
    13448 Try \`$0 --help' for more information." >&2 
    13449    { (exit 1); exit 1; }; };; 
    13450   --help | --hel | -h ) 
    13451     echo "$ac_cs_usage"; exit ;; 
    13452   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    13453   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    13454     ac_cs_silent=: ;; 
    13455  
    13456   # This is an error. 
    13457   -*) { echo "$as_me: error: unrecognized option: $1 
    13458 Try \`$0 --help' for more information." >&2 
    13459    { (exit 1); exit 1; }; } ;; 
    13460  
    13461   *) ac_config_targets="$ac_config_targets $1" 
    13462      ac_need_defaults=false ;; 
    13463  
    13464   esac 
    13465   shift 
    13466 done 
    13467  
    13468 ac_configure_extra_args= 
    13469  
    13470 if $ac_cs_silent; then 
    13471   exec 6>/dev/null 
    13472   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    13473 fi 
    13474  
    13475 _ACEOF 
    13476 cat >>$CONFIG_STATUS <<_ACEOF 
    13477 if \$ac_cs_recheck; then 
    13478   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
    13479   CONFIG_SHELL=$SHELL 
    13480   export CONFIG_SHELL 
    13481   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    13482 fi 
    13483  
    13484 _ACEOF 
    13485 cat >>$CONFIG_STATUS <<\_ACEOF 
    13486 exec 5>>config.log 
    13487 { 
    13488   echo 
    13489   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    13490 ## Running $as_me. ## 
    13491 _ASBOX 
    13492   echo "$ac_log" 
    13493 } >&5 
    13494  
    13495 _ACEOF 
    13496 cat >>$CONFIG_STATUS <<_ACEOF 
    13497 _ACEOF 
    13498  
    13499 cat >>$CONFIG_STATUS <<\_ACEOF 
    13500  
    13501 # Handling of arguments. 
    13502 for ac_config_target in $ac_config_targets 
    13503 do 
    13504   case $ac_config_target in 
    13505     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    13506     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    13507     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    13508     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    13509     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    13510     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    13511     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    13512     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    13513     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    13514     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    13515     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    13516     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    13517     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    13518     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    13519  
    13520   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    13521 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    13522    { (exit 1); exit 1; }; };; 
    13523   esac 
    13524 done 
    13525  
    13526  
    13527 # If the user did not use the arguments to specify the items to instantiate, 
    13528 # then the envvar interface is used.  Set only those that are not. 
    13529 # We use the long form for the default assignment because of an extremely 
    13530 # bizarre bug on SunOS 4.1.3. 
    13531 if $ac_need_defaults; then 
    13532   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    13533   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    13534 fi 
    13535  
    13536 # Have a temporary directory for convenience.  Make it in the build tree 
    13537 # simply because there is no reason against having it here, and in addition, 
    13538 # creating and moving files from /tmp can sometimes cause problems. 
    13539 # Hook for its removal unless debugging. 
    13540 # Note that there is a small window in which the directory will not be cleaned: 
    13541 # after its creation but before its name has been assigned to `$tmp'. 
    13542 $debug || 
    13543 { 
    13544   tmp= 
    13545   trap 'exit_status=$? 
    13546   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    13547 ' 0 
    13548   trap '{ (exit 1); exit 1; }' 1 2 13 15 
    13549 } 
    13550 # Create a (secure) tmp directory for tmp files. 
    13551  
    13552 { 
    13553   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    13554   test -n "$tmp" && test -d "$tmp" 
    13555 }  || 
    13556 { 
    13557   tmp=./conf$$-$RANDOM 
    13558   (umask 077 && mkdir "$tmp") 
    13559 } || 
    13560 { 
    13561    echo "$me: cannot create a temporary directory in ." >&2 
    13562    { (exit 1); exit 1; } 
    13563 } 
    13564  
    13565 # 
    13566 # Set up the sed scripts for CONFIG_FILES section. 
    13567 # 
    13568  
    13569 # No need to generate the scripts if there are no CONFIG_FILES. 
    13570 # This happens for instance when ./config.status config.h 
    13571 if test -n "$CONFIG_FILES"; then 
    13572  
    13573 _ACEOF 
    13574  
    13575  
    13576  
    13577 ac_delim='%!_!# ' 
    13578 for ac_last_try in false false false false false :; do 
    13579   cat >conf$$subs.sed <<_ACEOF 
    13580 SHELL!$SHELL$ac_delim 
    13581 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
    13582 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
    13583 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
    13584 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
    13585 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
    13586 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
    13587 exec_prefix!$exec_prefix$ac_delim 
    13588 prefix!$prefix$ac_delim 
    13589 program_transform_name!$program_transform_name$ac_delim 
    13590 bindir!$bindir$ac_delim 
    13591 sbindir!$sbindir$ac_delim 
    13592 libexecdir!$libexecdir$ac_delim 
    13593 datarootdir!$datarootdir$ac_delim 
    13594 datadir!$datadir$ac_delim 
    13595 sysconfdir!$sysconfdir$ac_delim 
    13596 sharedstatedir!$sharedstatedir$ac_delim 
    13597 localstatedir!$localstatedir$ac_delim 
    13598 includedir!$includedir$ac_delim 
    13599 oldincludedir!$oldincludedir$ac_delim 
    13600 docdir!$docdir$ac_delim 
    13601 infodir!$infodir$ac_delim 
    13602 htmldir!$htmldir$ac_delim 
    13603 dvidir!$dvidir$ac_delim 
    13604 pdfdir!$pdfdir$ac_delim 
    13605 psdir!$psdir$ac_delim 
    13606 libdir!$libdir$ac_delim 
    13607 localedir!$localedir$ac_delim 
    13608 mandir!$mandir$ac_delim 
    13609 DEFS!$DEFS$ac_delim 
    13610 ECHO_C!$ECHO_C$ac_delim 
    13611 ECHO_N!$ECHO_N$ac_delim 
    13612 ECHO_T!$ECHO_T$ac_delim 
    13613 LIBS!$LIBS$ac_delim 
    13614 build_alias!$build_alias$ac_delim 
    13615 host_alias!$host_alias$ac_delim 
    13616 target_alias!$target_alias$ac_delim 
    13617 build!$build$ac_delim 
    13618 build_cpu!$build_cpu$ac_delim 
    13619 build_vendor!$build_vendor$ac_delim 
    13620 build_os!$build_os$ac_delim 
    13621 host!$host$ac_delim 
    13622 host_cpu!$host_cpu$ac_delim 
    13623 host_vendor!$host_vendor$ac_delim 
    13624 host_os!$host_os$ac_delim 
    13625 target!$target$ac_delim 
    13626 target_cpu!$target_cpu$ac_delim 
    13627 target_vendor!$target_vendor$ac_delim 
    13628 target_os!$target_os$ac_delim 
    13629 CC!$CC$ac_delim 
    13630 CFLAGS!$CFLAGS$ac_delim 
    13631 LDFLAGS!$LDFLAGS$ac_delim 
    13632 CPPFLAGS!$CPPFLAGS$ac_delim 
    13633 ac_ct_CC!$ac_ct_CC$ac_delim 
    13634 EXEEXT!$EXEEXT$ac_delim 
    13635 OBJEXT!$OBJEXT$ac_delim 
    13636 CXX!$CXX$ac_delim 
    13637 CXXFLAGS!$CXXFLAGS$ac_delim 
    13638 ac_ct_CXX!$ac_ct_CXX$ac_delim 
    13639 AR!$AR$ac_delim 
    13640 LD!$LD$ac_delim 
    13641 LDOUT!$LDOUT$ac_delim 
    13642 RANLIB!$RANLIB$ac_delim 
    13643 LIBEXT!$LIBEXT$ac_delim 
    13644 LIBEXT2!$LIBEXT2$ac_delim 
    13645 CC_OUT!$CC_OUT$ac_delim 
    13646 CC_INC!$CC_INC$ac_delim 
    13647 CC_DEF!$CC_DEF$ac_delim 
    13648 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
    13649 CC_CFLAGS!$CC_CFLAGS$ac_delim 
    13650 ac_pjdir!$ac_pjdir$ac_delim 
    13651 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
    13652 CPP!$CPP$ac_delim 
    13653 GREP!$GREP$ac_delim 
    13654 EGREP!$EGREP$ac_delim 
    13655 ac_os_objs!$ac_os_objs$ac_delim 
    13656 ac_external_speex!$ac_external_speex$ac_delim 
    13657 ac_external_gsm!$ac_external_gsm$ac_delim 
    13658 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
    13659 ac_external_pa!$ac_external_pa$ac_delim 
    13660 ac_pa_cflags!$ac_pa_cflags$ac_delim 
    13661 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
    13662 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
    13663 ac_no_small_filter!$ac_no_small_filter$ac_delim 
    13664 ac_no_large_filter!$ac_no_large_filter$ac_delim 
    13665 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
    13666 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
    13667 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
    13668 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
    13669 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
    13670 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
    13671 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
    13672 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
    13673 ac_no_ssl!$ac_no_ssl$ac_delim 
    13674 openssl_h_present!$openssl_h_present$ac_delim 
    13675 libssl_present!$libssl_present$ac_delim 
    13676 libcrypto_present!$libcrypto_present$ac_delim 
    13677 _ACEOF 
    13678  
    13679   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
    13680     break 
    13681   elif $ac_last_try; then 
    13682     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    13683 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    13684    { (exit 1); exit 1; }; } 
    13685   else 
    13686     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    13687   fi 
    13688 done 
    13689  
    13690 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    13691 if test -n "$ac_eof"; then 
    13692   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    13693   ac_eof=`expr $ac_eof + 1` 
    13694 fi 
    13695  
    13696 cat >>$CONFIG_STATUS <<_ACEOF 
    13697 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
    13698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    13699 _ACEOF 
    13700 sed ' 
    13701 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    13702 s/^/s,@/; s/!/@,|#_!!_#|/ 
    13703 :n 
    13704 t n 
    13705 s/'"$ac_delim"'$/,g/; t 
    13706 s/$/\\/; p 
    13707 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    13708 ' >>$CONFIG_STATUS <conf$$subs.sed 
    13709 rm -f conf$$subs.sed 
    13710 cat >>$CONFIG_STATUS <<_ACEOF 
    13711 CEOF$ac_eof 
    13712 _ACEOF 
    13713  
    13714  
    13715 ac_delim='%!_!# ' 
    13716 for ac_last_try in false false false false false :; do 
    13717   cat >conf$$subs.sed <<_ACEOF 
    13718 ac_no_opencore_amrnb!$ac_no_opencore_amrnb$ac_delim 
    13719 opencore_amrnb_h_present!$opencore_amrnb_h_present$ac_delim 
    13720 opencore_amrnb_present!$opencore_amrnb_present$ac_delim 
    13721 ac_cross_compile!$ac_cross_compile$ac_delim 
    13722 ac_linux_poll!$ac_linux_poll$ac_delim 
    13723 ac_host!$ac_host$ac_delim 
    13724 ac_main_obj!$ac_main_obj$ac_delim 
    13725 LIBOBJS!$LIBOBJS$ac_delim 
    13726 LTLIBOBJS!$LTLIBOBJS$ac_delim 
    13727 _ACEOF 
    13728  
    13729   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then 
    13730     break 
    13731   elif $ac_last_try; then 
    13732     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    13733 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    13734    { (exit 1); exit 1; }; } 
    13735   else 
    13736     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    13737   fi 
    13738 done 
    13739  
    13740 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    13741 if test -n "$ac_eof"; then 
    13742   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    13743   ac_eof=`expr $ac_eof + 1` 
    13744 fi 
    13745  
    13746 cat >>$CONFIG_STATUS <<_ACEOF 
    13747 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
    13748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
    13749 _ACEOF 
    13750 sed ' 
    13751 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    13752 s/^/s,@/; s/!/@,|#_!!_#|/ 
    13753 :n 
    13754 t n 
    13755 s/'"$ac_delim"'$/,g/; t 
    13756 s/$/\\/; p 
    13757 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    13758 ' >>$CONFIG_STATUS <conf$$subs.sed 
    13759 rm -f conf$$subs.sed 
    13760 cat >>$CONFIG_STATUS <<_ACEOF 
    13761 :end 
    13762 s/|#_!!_#|//g 
    13763 CEOF$ac_eof 
    13764 _ACEOF 
    13765  
    13766  
    13767 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    13768 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    13769 # trailing colons and then remove the whole line if VPATH becomes empty 
    13770 # (actually we leave an empty line to preserve line numbers). 
    13771 if test "x$srcdir" = x.; then 
    13772   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    13773 s/:*\$(srcdir):*/:/ 
    13774 s/:*\${srcdir}:*/:/ 
    13775 s/:*@srcdir@:*/:/ 
    13776 s/^\([^=]*=[     ]*\):*/\1/ 
    13777 s/:*$// 
    13778 s/^[^=]*=[       ]*$// 
    13779 }' 
    13780 fi 
    13781  
    13782 cat >>$CONFIG_STATUS <<\_ACEOF 
    13783 fi # test -n "$CONFIG_FILES" 
    13784  
    13785  
    13786 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
    13787 do 
    13788   case $ac_tag in 
    13789   :[FHLC]) ac_mode=$ac_tag; continue;; 
    13790   esac 
    13791   case $ac_mode$ac_tag in 
    13792   :[FHL]*:*);; 
    13793   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
    13794 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
    13795    { (exit 1); exit 1; }; };; 
    13796   :[FH]-) ac_tag=-:-;; 
    13797   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    13798   esac 
    13799   ac_save_IFS=$IFS 
    13800   IFS=: 
    13801   set x $ac_tag 
    13802   IFS=$ac_save_IFS 
    13803   shift 
    13804   ac_file=$1 
    13805   shift 
    13806  
    13807   case $ac_mode in 
    13808   :L) ac_source=$1;; 
    13809   :[FH]) 
    13810     ac_file_inputs= 
    13811     for ac_f 
    13812     do 
    13813       case $ac_f in 
    13814       -) ac_f="$tmp/stdin";; 
    13815       *) # Look for the file first in the build tree, then in the source tree 
    13816          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    13817          # because $ac_f cannot contain `:'. 
    13818          test -f "$ac_f" || 
    13819            case $ac_f in 
    13820            [\\/$]*) false;; 
    13821            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    13822            esac || 
    13823            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
    13824 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
    13825    { (exit 1); exit 1; }; };; 
    13826       esac 
    13827       ac_file_inputs="$ac_file_inputs $ac_f" 
    13828     done 
    13829  
    13830     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    13831     # use $as_me), people would be surprised to read: 
    13832     #    /* config.h.  Generated by config.status.  */ 
    13833     configure_input="Generated from "`IFS=: 
    13834           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
    13835     if test x"$ac_file" != x-; then 
    13836       configure_input="$ac_file.  $configure_input" 
    13837       { echo "$as_me:$LINENO: creating $ac_file" >&5 
    13838 echo "$as_me: creating $ac_file" >&6;} 
    13839     fi 
    13840  
    13841     case $ac_tag in 
    13842     *:-:* | *:-) cat >"$tmp/stdin";; 
    13843     esac 
    13844     ;; 
    13845   esac 
    13846  
    13847   ac_dir=`$as_dirname -- "$ac_file" || 
    13848 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    13849          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    13850          X"$ac_file" : 'X\(//\)$' \| \ 
    13851          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    13852 echo X"$ac_file" | 
    13853     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    13854             s//\1/ 
    13855             q 
    13856           } 
    13857           /^X\(\/\/\)[^/].*/{ 
    13858             s//\1/ 
    13859             q 
    13860           } 
    13861           /^X\(\/\/\)$/{ 
    13862             s//\1/ 
    13863             q 
    13864           } 
    13865           /^X\(\/\).*/{ 
    13866             s//\1/ 
    13867             q 
    13868           } 
    13869           s/.*/./; q'` 
    13870   { as_dir="$ac_dir" 
     6876 
     6877# as_fn_mkdir_p 
     6878# ------------- 
     6879# Create "$as_dir" as a directory, including parents if necessary. 
     6880as_fn_mkdir_p () 
     6881{ 
     6882 
    138716883  case $as_dir in #( 
    138726884  -*) as_dir=./$as_dir;; 
    138736885  esac 
    13874   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
     6886  test -d "$as_dir" || eval $as_mkdir_p || { 
    138756887    as_dirs= 
    138766888    while :; do 
    138776889      case $as_dir in #( 
    13878       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
     6890      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    138796891      *) as_qdir=$as_dir;; 
    138806892      esac 
     
    138856897         X"$as_dir" : 'X\(//\)$' \| \ 
    138866898         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    13887 echo X"$as_dir" | 
     6899$as_echo X"$as_dir" | 
    138886900    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    138896901            s//\1/ 
     
    139066918    done 
    139076919    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    13908   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
    13909 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    13910    { (exit 1); exit 1; }; }; } 
     6920  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     6921 
     6922 
     6923} # as_fn_mkdir_p 
     6924if mkdir -p . 2>/dev/null; then 
     6925  as_mkdir_p='mkdir -p "$as_dir"' 
     6926else 
     6927  test -d ./-p && rmdir ./-p 
     6928  as_mkdir_p=false 
     6929fi 
     6930 
     6931if test -x / >/dev/null 2>&1; then 
     6932  as_test_x='test -x' 
     6933else 
     6934  if ls -dL / >/dev/null 2>&1; then 
     6935    as_ls_L_option=L 
     6936  else 
     6937    as_ls_L_option= 
     6938  fi 
     6939  as_test_x=' 
     6940    eval sh -c '\'' 
     6941      if test -d "$1"; then 
     6942        test -d "$1/."; 
     6943      else 
     6944        case $1 in #( 
     6945        -*)set "./$1";; 
     6946        esac; 
     6947        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
     6948        ???[sx]*):;;*)false;;esac;fi 
     6949    '\'' sh 
     6950  ' 
     6951fi 
     6952as_executable_p=$as_test_x 
     6953 
     6954# Sed expression to map a string onto a valid CPP name. 
     6955as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     6956 
     6957# Sed expression to map a string onto a valid variable name. 
     6958as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     6959 
     6960 
     6961exec 6>&1 
     6962## ----------------------------------- ## 
     6963## Main body of $CONFIG_STATUS script. ## 
     6964## ----------------------------------- ## 
     6965_ASEOF 
     6966test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
     6967 
     6968cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     6969# Save the log message, to keep $0 and so on meaningful, and to 
     6970# report actual input values of CONFIG_FILES etc. instead of their 
     6971# values after options handling. 
     6972ac_log=" 
     6973This file was extended by pjproject $as_me 1.x, which was 
     6974generated by GNU Autoconf 2.65.  Invocation command line was 
     6975 
     6976  CONFIG_FILES    = $CONFIG_FILES 
     6977  CONFIG_HEADERS  = $CONFIG_HEADERS 
     6978  CONFIG_LINKS    = $CONFIG_LINKS 
     6979  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     6980  $ $0 $@ 
     6981 
     6982on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     6983" 
     6984 
     6985_ACEOF 
     6986 
     6987case $ac_config_files in *" 
     6988"*) set x $ac_config_files; shift; ac_config_files=$*;; 
     6989esac 
     6990 
     6991case $ac_config_headers in *" 
     6992"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
     6993esac 
     6994 
     6995 
     6996cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     6997# Files that config.status was made for. 
     6998config_files="$ac_config_files" 
     6999config_headers="$ac_config_headers" 
     7000 
     7001_ACEOF 
     7002 
     7003cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7004ac_cs_usage="\ 
     7005\`$as_me' instantiates files and other configuration actions 
     7006from templates according to the current configuration.  Unless the files 
     7007and actions are specified as TAGs, all are instantiated by default. 
     7008 
     7009Usage: $0 [OPTION]... [TAG]... 
     7010 
     7011  -h, --help       print this help, then exit 
     7012  -V, --version    print version number and configuration settings, then exit 
     7013      --config     print configuration, then exit 
     7014  -q, --quiet, --silent 
     7015                   do not print progress messages 
     7016  -d, --debug      don't remove temporary files 
     7017      --recheck    update $as_me by reconfiguring in the same conditions 
     7018      --file=FILE[:TEMPLATE] 
     7019                   instantiate the configuration file FILE 
     7020      --header=FILE[:TEMPLATE] 
     7021                   instantiate the configuration header FILE 
     7022 
     7023Configuration files: 
     7024$config_files 
     7025 
     7026Configuration headers: 
     7027$config_headers 
     7028 
     7029Report bugs to the package provider." 
     7030 
     7031_ACEOF 
     7032cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7033ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
     7034ac_cs_version="\\ 
     7035pjproject config.status 1.x 
     7036configured by $0, generated by GNU Autoconf 2.65, 
     7037  with options \\"\$ac_cs_config\\" 
     7038 
     7039Copyright (C) 2009 Free Software Foundation, Inc. 
     7040This config.status script is free software; the Free Software Foundation 
     7041gives unlimited permission to copy, distribute and modify it." 
     7042 
     7043ac_pwd='$ac_pwd' 
     7044srcdir='$srcdir' 
     7045test -n "\$AWK" || AWK=awk 
     7046_ACEOF 
     7047 
     7048cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7049# The default lists apply if the user does not specify any file. 
     7050ac_need_defaults=: 
     7051while test $# != 0 
     7052do 
     7053  case $1 in 
     7054  --*=*) 
     7055    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     7056    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     7057    ac_shift=: 
     7058    ;; 
     7059  *) 
     7060    ac_option=$1 
     7061    ac_optarg=$2 
     7062    ac_shift=shift 
     7063    ;; 
     7064  esac 
     7065 
     7066  case $ac_option in 
     7067  # Handling of the options. 
     7068  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     7069    ac_cs_recheck=: ;; 
     7070  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     7071    $as_echo "$ac_cs_version"; exit ;; 
     7072  --config | --confi | --conf | --con | --co | --c ) 
     7073    $as_echo "$ac_cs_config"; exit ;; 
     7074  --debug | --debu | --deb | --de | --d | -d ) 
     7075    debug=: ;; 
     7076  --file | --fil | --fi | --f ) 
     7077    $ac_shift 
     7078    case $ac_optarg in 
     7079    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7080    esac 
     7081    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     7082    ac_need_defaults=false;; 
     7083  --header | --heade | --head | --hea ) 
     7084    $ac_shift 
     7085    case $ac_optarg in 
     7086    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7087    esac 
     7088    as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
     7089    ac_need_defaults=false;; 
     7090  --he | --h) 
     7091    # Conflict between --help and --header 
     7092    as_fn_error "ambiguous option: \`$1' 
     7093Try \`$0 --help' for more information.";; 
     7094  --help | --hel | -h ) 
     7095    $as_echo "$ac_cs_usage"; exit ;; 
     7096  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     7097  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     7098    ac_cs_silent=: ;; 
     7099 
     7100  # This is an error. 
     7101  -*) as_fn_error "unrecognized option: \`$1' 
     7102Try \`$0 --help' for more information." ;; 
     7103 
     7104  *) as_fn_append ac_config_targets " $1" 
     7105     ac_need_defaults=false ;; 
     7106 
     7107  esac 
     7108  shift 
     7109done 
     7110 
     7111ac_configure_extra_args= 
     7112 
     7113if $ac_cs_silent; then 
     7114  exec 6>/dev/null 
     7115  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     7116fi 
     7117 
     7118_ACEOF 
     7119cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7120if \$ac_cs_recheck; then 
     7121  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7122  shift 
     7123  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     7124  CONFIG_SHELL='$SHELL' 
     7125  export CONFIG_SHELL 
     7126  exec "\$@" 
     7127fi 
     7128 
     7129_ACEOF 
     7130cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7131exec 5>>config.log 
     7132{ 
     7133  echo 
     7134  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     7135## Running $as_me. ## 
     7136_ASBOX 
     7137  $as_echo "$ac_log" 
     7138} >&5 
     7139 
     7140_ACEOF 
     7141cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7142_ACEOF 
     7143 
     7144cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7145 
     7146# Handling of arguments. 
     7147for ac_config_target in $ac_config_targets 
     7148do 
     7149  case $ac_config_target in 
     7150    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     7151    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     7152    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     7153    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     7154    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     7155    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     7156    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     7157    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     7158    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     7159    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     7160    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     7161    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     7162    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     7163    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     7164 
     7165  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     7166  esac 
     7167done 
     7168 
     7169 
     7170# If the user did not use the arguments to specify the items to instantiate, 
     7171# then the envvar interface is used.  Set only those that are not. 
     7172# We use the long form for the default assignment because of an extremely 
     7173# bizarre bug on SunOS 4.1.3. 
     7174if $ac_need_defaults; then 
     7175  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     7176  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     7177fi 
     7178 
     7179# Have a temporary directory for convenience.  Make it in the build tree 
     7180# simply because there is no reason against having it here, and in addition, 
     7181# creating and moving files from /tmp can sometimes cause problems. 
     7182# Hook for its removal unless debugging. 
     7183# Note that there is a small window in which the directory will not be cleaned: 
     7184# after its creation but before its name has been assigned to `$tmp'. 
     7185$debug || 
     7186{ 
     7187  tmp= 
     7188  trap 'exit_status=$? 
     7189  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     7190' 0 
     7191  trap 'as_fn_exit 1' 1 2 13 15 
     7192} 
     7193# Create a (secure) tmp directory for tmp files. 
     7194 
     7195{ 
     7196  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     7197  test -n "$tmp" && test -d "$tmp" 
     7198}  || 
     7199{ 
     7200  tmp=./conf$$-$RANDOM 
     7201  (umask 077 && mkdir "$tmp") 
     7202} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     7203 
     7204# Set up the scripts for CONFIG_FILES section. 
     7205# No need to generate them if there are no CONFIG_FILES. 
     7206# This happens for instance with `./config.status config.h'. 
     7207if test -n "$CONFIG_FILES"; then 
     7208 
     7209 
     7210ac_cr=`echo X | tr X '\015'` 
     7211# On cygwin, bash can eat \r inside `` if the user requested igncr. 
     7212# But we know of no other shell where ac_cr would be empty at this 
     7213# point, so we can use a bashism as a fallback. 
     7214if test "x$ac_cr" = x; then 
     7215  eval ac_cr=\$\'\\r\' 
     7216fi 
     7217ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
     7218if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
     7219  ac_cs_awk_cr='\r' 
     7220else 
     7221  ac_cs_awk_cr=$ac_cr 
     7222fi 
     7223 
     7224echo 'BEGIN {' >"$tmp/subs1.awk" && 
     7225_ACEOF 
     7226 
     7227 
     7228{ 
     7229  echo "cat >conf$$subs.awk <<_ACEOF" && 
     7230  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
     7231  echo "_ACEOF" 
     7232} >conf$$subs.sh || 
     7233  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7234ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     7235ac_delim='%!_!# ' 
     7236for ac_last_try in false false false false false :; do 
     7237  . ./conf$$subs.sh || 
     7238    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7239 
     7240  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     7241  if test $ac_delim_n = $ac_delim_num; then 
     7242    break 
     7243  elif $ac_last_try; then 
     7244    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7245  else 
     7246    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7247  fi 
     7248done 
     7249rm -f conf$$subs.sh 
     7250 
     7251cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7252cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     7253_ACEOF 
     7254sed -n ' 
     7255h 
     7256s/^/S["/; s/!.*/"]=/ 
     7257p 
     7258g 
     7259s/^[^!]*!// 
     7260:repl 
     7261t repl 
     7262s/'"$ac_delim"'$// 
     7263t delim 
     7264:nl 
     7265h 
     7266s/\(.\{148\}\)..*/\1/ 
     7267t more1 
     7268s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
     7269p 
     7270n 
     7271b repl 
     7272:more1 
     7273s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7274p 
     7275g 
     7276s/.\{148\}// 
     7277t nl 
     7278:delim 
     7279h 
     7280s/\(.\{148\}\)..*/\1/ 
     7281t more2 
     7282s/["\\]/\\&/g; s/^/"/; s/$/"/ 
     7283p 
     7284b 
     7285:more2 
     7286s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7287p 
     7288g 
     7289s/.\{148\}// 
     7290t delim 
     7291' <conf$$subs.awk | sed ' 
     7292/^[^""]/{ 
     7293  N 
     7294  s/\n// 
     7295} 
     7296' >>$CONFIG_STATUS || ac_write_fail=1 
     7297rm -f conf$$subs.awk 
     7298cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7299_ACAWK 
     7300cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     7301  for (key in S) S_is_set[key] = 1 
     7302  FS = "" 
     7303 
     7304} 
     7305{ 
     7306  line = $ 0 
     7307  nfields = split(line, field, "@") 
     7308  substed = 0 
     7309  len = length(field[1]) 
     7310  for (i = 2; i < nfields; i++) { 
     7311    key = field[i] 
     7312    keylen = length(key) 
     7313    if (S_is_set[key]) { 
     7314      value = S[key] 
     7315      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
     7316      len += length(value) + length(field[++i]) 
     7317      substed = 1 
     7318    } else 
     7319      len += 1 + keylen 
     7320  } 
     7321 
     7322  print line 
     7323} 
     7324 
     7325_ACAWK 
     7326_ACEOF 
     7327cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7328if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
     7329  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
     7330else 
     7331  cat 
     7332fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
     7333  || as_fn_error "could not setup config files machinery" "$LINENO" 5 
     7334_ACEOF 
     7335 
     7336# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     7337# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     7338# trailing colons and then remove the whole line if VPATH becomes empty 
     7339# (actually we leave an empty line to preserve line numbers). 
     7340if test "x$srcdir" = x.; then 
     7341  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     7342s/:*\$(srcdir):*/:/ 
     7343s/:*\${srcdir}:*/:/ 
     7344s/:*@srcdir@:*/:/ 
     7345s/^\([^=]*=[     ]*\):*/\1/ 
     7346s/:*$// 
     7347s/^[^=]*=[       ]*$// 
     7348}' 
     7349fi 
     7350 
     7351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7352fi # test -n "$CONFIG_FILES" 
     7353 
     7354# Set up the scripts for CONFIG_HEADERS section. 
     7355# No need to generate them if there are no CONFIG_HEADERS. 
     7356# This happens for instance with `./config.status Makefile'. 
     7357if test -n "$CONFIG_HEADERS"; then 
     7358cat >"$tmp/defines.awk" <<\_ACAWK || 
     7359BEGIN { 
     7360_ACEOF 
     7361 
     7362# Transform confdefs.h into an awk script `defines.awk', embedded as 
     7363# here-document in config.status, that substitutes the proper values into 
     7364# config.h.in to produce config.h. 
     7365 
     7366# Create a delimiter string that does not exist in confdefs.h, to ease 
     7367# handling of long lines. 
     7368ac_delim='%!_!# ' 
     7369for ac_last_try in false false :; do 
     7370  ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
     7371  if test -z "$ac_t"; then 
     7372    break 
     7373  elif $ac_last_try; then 
     7374    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     7375  else 
     7376    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7377  fi 
     7378done 
     7379 
     7380# For the awk script, D is an array of macro values keyed by name, 
     7381# likewise P contains macro parameters if any.  Preserve backslash 
     7382# newline sequences. 
     7383 
     7384ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     7385sed -n ' 
     7386s/.\{148\}/&'"$ac_delim"'/g 
     7387t rset 
     7388:rset 
     7389s/^[     ]*#[    ]*define[       ][      ]*/ / 
     7390t def 
     7391d 
     7392:def 
     7393s/\\$// 
     7394t bsnl 
     7395s/["\\]/\\&/g 
     7396s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7397D["\1"]=" \3"/p 
     7398s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
     7399d 
     7400:bsnl 
     7401s/["\\]/\\&/g 
     7402s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7403D["\1"]=" \3\\\\\\n"\\/p 
     7404t cont 
     7405s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
     7406t cont 
     7407d 
     7408:cont 
     7409n 
     7410s/.\{148\}/&'"$ac_delim"'/g 
     7411t clear 
     7412:clear 
     7413s/\\$// 
     7414t bsnlc 
     7415s/["\\]/\\&/g; s/^/"/; s/$/"/p 
     7416d 
     7417:bsnlc 
     7418s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
     7419b cont 
     7420' <confdefs.h | sed ' 
     7421s/'"$ac_delim"'/"\\\ 
     7422"/g' >>$CONFIG_STATUS || ac_write_fail=1 
     7423 
     7424cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7425  for (key in D) D_is_set[key] = 1 
     7426  FS = "" 
     7427} 
     7428/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
     7429  line = \$ 0 
     7430  split(line, arg, " ") 
     7431  if (arg[1] == "#") { 
     7432    defundef = arg[2] 
     7433    mac1 = arg[3] 
     7434  } else { 
     7435    defundef = substr(arg[1], 2) 
     7436    mac1 = arg[2] 
     7437  } 
     7438  split(mac1, mac2, "(") #) 
     7439  macro = mac2[1] 
     7440  prefix = substr(line, 1, index(line, defundef) - 1) 
     7441  if (D_is_set[macro]) { 
     7442    # Preserve the white space surrounding the "#". 
     7443    print prefix "define", macro P[macro] D[macro] 
     7444    next 
     7445  } else { 
     7446    # Replace #undef with comments.  This is necessary, for example, 
     7447    # in the case of _POSIX_SOURCE, which is predefined and required 
     7448    # on some systems where configure will not decide to define it. 
     7449    if (defundef == "undef") { 
     7450      print "/*", prefix defundef, macro, "*/" 
     7451      next 
     7452    } 
     7453  } 
     7454} 
     7455{ print } 
     7456_ACAWK 
     7457_ACEOF 
     7458cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7459  as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     7460fi # test -n "$CONFIG_HEADERS" 
     7461 
     7462 
     7463eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
     7464shift 
     7465for ac_tag 
     7466do 
     7467  case $ac_tag in 
     7468  :[FHLC]) ac_mode=$ac_tag; continue;; 
     7469  esac 
     7470  case $ac_mode$ac_tag in 
     7471  :[FHL]*:*);; 
     7472  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     7473  :[FH]-) ac_tag=-:-;; 
     7474  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     7475  esac 
     7476  ac_save_IFS=$IFS 
     7477  IFS=: 
     7478  set x $ac_tag 
     7479  IFS=$ac_save_IFS 
     7480  shift 
     7481  ac_file=$1 
     7482  shift 
     7483 
     7484  case $ac_mode in 
     7485  :L) ac_source=$1;; 
     7486  :[FH]) 
     7487    ac_file_inputs= 
     7488    for ac_f 
     7489    do 
     7490      case $ac_f in 
     7491      -) ac_f="$tmp/stdin";; 
     7492      *) # Look for the file first in the build tree, then in the source tree 
     7493         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     7494         # because $ac_f cannot contain `:'. 
     7495         test -f "$ac_f" || 
     7496           case $ac_f in 
     7497           [\\/$]*) false;; 
     7498           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     7499           esac || 
     7500           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     7501      esac 
     7502      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     7503      as_fn_append ac_file_inputs " '$ac_f'" 
     7504    done 
     7505 
     7506    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     7507    # use $as_me), people would be surprised to read: 
     7508    #    /* config.h.  Generated by config.status.  */ 
     7509    configure_input='Generated from '` 
     7510          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
     7511        `' by configure.' 
     7512    if test x"$ac_file" != x-; then 
     7513      configure_input="$ac_file.  $configure_input" 
     7514      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
     7515$as_echo "$as_me: creating $ac_file" >&6;} 
     7516    fi 
     7517    # Neutralize special characters interpreted by sed in replacement strings. 
     7518    case $configure_input in #( 
     7519    *\&* | *\|* | *\\* ) 
     7520       ac_sed_conf_input=`$as_echo "$configure_input" | 
     7521       sed 's/[\\\\&|]/\\\\&/g'`;; #( 
     7522    *) ac_sed_conf_input=$configure_input;; 
     7523    esac 
     7524 
     7525    case $ac_tag in 
     7526    *:-:* | *:-) cat >"$tmp/stdin" \ 
     7527      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     7528    esac 
     7529    ;; 
     7530  esac 
     7531 
     7532  ac_dir=`$as_dirname -- "$ac_file" || 
     7533$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     7534         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     7535         X"$ac_file" : 'X\(//\)$' \| \ 
     7536         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     7537$as_echo X"$ac_file" | 
     7538    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     7539            s//\1/ 
     7540            q 
     7541          } 
     7542          /^X\(\/\/\)[^/].*/{ 
     7543            s//\1/ 
     7544            q 
     7545          } 
     7546          /^X\(\/\/\)$/{ 
     7547            s//\1/ 
     7548            q 
     7549          } 
     7550          /^X\(\/\).*/{ 
     7551            s//\1/ 
     7552            q 
     7553          } 
     7554          s/.*/./; q'` 
     7555  as_dir="$ac_dir"; as_fn_mkdir_p 
    139117556  ac_builddir=. 
    139127557 
     
    139147559.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    139157560*) 
    13916   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     7561  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    139177562  # A ".." for each directory in $ac_dir_suffix. 
    13918   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     7563  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    139197564  case $ac_top_builddir_sub in 
    139207565  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    139527597_ACEOF 
    139537598 
    13954 cat >>$CONFIG_STATUS <<\_ACEOF 
     7599cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    139557600# If the template does not know about datarootdir, expand it. 
    139567601# FIXME: This hack should be removed a few years after 2.60. 
    139577602ac_datarootdir_hack=; ac_datarootdir_seen= 
    13958  
    13959 case `sed -n '/datarootdir/ { 
     7603ac_sed_dataroot=' 
     7604/datarootdir/ { 
    139607605  p 
    139617606  q 
     
    139657610/@infodir@/p 
    139667611/@localedir@/p 
    13967 /@mandir@/p 
    13968 ' $ac_file_inputs` in 
     7612/@mandir@/p' 
     7613case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
    139697614*datarootdir*) ac_datarootdir_seen=yes;; 
    139707615*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    13971   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    13972 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    13973 _ACEOF 
    13974 cat >>$CONFIG_STATUS <<_ACEOF 
     7616  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     7617$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     7618_ACEOF 
     7619cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    139757620  ac_datarootdir_hack=' 
    139767621  s&@datadir@&$datadir&g 
     
    139797624  s&@localedir@&$localedir&g 
    139807625  s&@mandir@&$mandir&g 
    13981     s&\\\${datarootdir}&$datarootdir&g' ;; 
     7626  s&\\\${datarootdir}&$datarootdir&g' ;; 
    139827627esac 
    139837628_ACEOF 
     
    139867631# Shell code in configure.ac might set extrasub. 
    139877632# FIXME: do we really want to maintain this feature? 
    13988 cat >>$CONFIG_STATUS <<_ACEOF 
    13989   sed "$ac_vpsub 
     7633cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7634ac_sed_extra="$ac_vpsub 
    139907635$extrasub 
    139917636_ACEOF 
    13992 cat >>$CONFIG_STATUS <<\_ACEOF 
     7637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    139937638:t 
    139947639/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    13995 s&@configure_input@&$configure_input&;t t 
     7640s|@configure_input@|$ac_sed_conf_input|;t t 
    139967641s&@top_builddir@&$ac_top_builddir_sub&;t t 
     7642s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    139977643s&@srcdir@&$ac_srcdir&;t t 
    139987644s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    140037649s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    140047650$ac_datarootdir_hack 
    14005 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
     7651" 
     7652eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
     7653  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    140067654 
    140077655test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    140087656  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    140097657  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    14010   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     7658  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    140117659which seems to be undefined.  Please make sure it is defined." >&5 
    14012 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     7660$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    140137661which seems to be undefined.  Please make sure it is defined." >&2;} 
    140147662 
    140157663  rm -f "$tmp/stdin" 
    140167664  case $ac_file in 
    14017   -) cat "$tmp/out"; rm -f "$tmp/out";; 
    14018   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
    14019   esac 
     7665  -) cat "$tmp/out" && rm -f "$tmp/out";; 
     7666  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     7667  esac \ 
     7668  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    140207669 ;; 
    140217670  :H) 
     
    140237672  # CONFIG_HEADER 
    140247673  # 
    14025 _ACEOF 
    14026  
    14027 # Transform confdefs.h into a sed script `conftest.defines', that 
    14028 # substitutes the proper values into config.h.in to produce config.h. 
    14029 rm -f conftest.defines conftest.tail 
    14030 # First, append a space to every undef/define line, to ease matching. 
    14031 echo 's/$/ /' >conftest.defines 
    14032 # Then, protect against being on the right side of a sed subst, or in 
    14033 # an unquoted here document, in config.status.  If some macros were 
    14034 # called several times there might be several #defines for the same 
    14035 # symbol, which is useless.  But do not sort them, since the last 
    14036 # AC_DEFINE must be honored. 
    14037 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    14038 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
    14039 # NAME is the cpp macro being defined, VALUE is the value it is being given. 
    14040 # PARAMS is the parameter list in the macro definition--in most cases, it's 
    14041 # just an empty string. 
    14042 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
    14043 ac_dB='\\)[      (].*,\\1define\\2' 
    14044 ac_dC=' ' 
    14045 ac_dD=' ,' 
    14046  
    14047 uniq confdefs.h | 
    14048   sed -n ' 
    14049         t rset 
    14050         :rset 
    14051         s/^[     ]*#[    ]*define[       ][      ]*// 
    14052         t ok 
    14053         d 
    14054         :ok 
    14055         s/[\\&,]/\\&/g 
    14056         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
    14057         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
    14058   ' >>conftest.defines 
    14059  
    14060 # Remove the space that was appended to ease matching. 
    14061 # Then replace #undef with comments.  This is necessary, for 
    14062 # example, in the case of _POSIX_SOURCE, which is predefined and required 
    14063 # on some systems where configure will not decide to define it. 
    14064 # (The regexp can be short, since the line contains either #define or #undef.) 
    14065 echo 's/ $// 
    14066 s,^[     #]*u.*,/* & */,' >>conftest.defines 
    14067  
    14068 # Break up conftest.defines: 
    14069 ac_max_sed_lines=50 
    14070  
    14071 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
    14072 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
    14073 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
    14074 # et cetera. 
    14075 ac_in='$ac_file_inputs' 
    14076 ac_out='"$tmp/out1"' 
    14077 ac_nxt='"$tmp/out2"' 
    14078  
    14079 while : 
    14080 do 
    14081   # Write a here document: 
    14082     cat >>$CONFIG_STATUS <<_ACEOF 
    14083     # First, check the format of the line: 
    14084     cat >"\$tmp/defines.sed" <<\\CEOF 
    14085 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*/b def 
    14086 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
    14087 b 
    14088 :def 
    14089 _ACEOF 
    14090   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
    14091   echo 'CEOF 
    14092     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
    14093   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
    14094   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
    14095   grep . conftest.tail >/dev/null || break 
    14096   rm -f conftest.defines 
    14097   mv conftest.tail conftest.defines 
    14098 done 
    14099 rm -f conftest.defines conftest.tail 
    14100  
    14101 echo "ac_result=$ac_in" >>$CONFIG_STATUS 
    14102 cat >>$CONFIG_STATUS <<\_ACEOF 
    141037674  if test x"$ac_file" != x-; then 
    14104     echo "/* $configure_input  */" >"$tmp/config.h" 
    14105     cat "$ac_result" >>"$tmp/config.h" 
    14106     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
    14107       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    14108 echo "$as_me: $ac_file is unchanged" >&6;} 
     7675    { 
     7676      $as_echo "/* $configure_input  */" \ 
     7677      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
     7678    } >"$tmp/config.h" \ 
     7679      || as_fn_error "could not create $ac_file" "$LINENO" 5 
     7680    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     7681      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
     7682$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    141097683    else 
    14110       rm -f $ac_file 
    14111       mv "$tmp/config.h" $ac_file 
     7684      rm -f "$ac_file" 
     7685      mv "$tmp/config.h" "$ac_file" \ 
     7686        || as_fn_error "could not create $ac_file" "$LINENO" 5 
    141127687    fi 
    141137688  else 
    14114     echo "/* $configure_input  */" 
    14115     cat "$ac_result" 
     7689    $as_echo "/* $configure_input  */" \ 
     7690      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
     7691      || as_fn_error "could not create -" "$LINENO" 5 
    141167692  fi 
    14117   rm -f "$tmp/out12" 
    141187693 ;; 
    141197694 
     
    141247699 
    141257700 
    14126 { (exit 0); exit 0; } 
    14127 _ACEOF 
    14128 chmod +x $CONFIG_STATUS 
     7701as_fn_exit 0 
     7702_ACEOF 
    141297703ac_clean_files=$ac_clean_files_save 
     7704 
     7705test $ac_write_fail = 0 || 
     7706  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    141307707 
    141317708 
     
    141487725  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    141497726  # would make configure fail if this is the last instruction. 
    14150   $ac_cs_success || { (exit 1); exit 1; } 
    14151 fi 
    14152  
    14153  
    14154  
    14155 { echo "$as_me:$LINENO: result: 
     7727  $ac_cs_success || as_fn_exit $? 
     7728fi 
     7729if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
     7730  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
     7731$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
     7732fi 
     7733 
     7734 
     7735 
     7736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
    141567737 
    141577738Configurations 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. 
     
    141637744The next step now is to run 'make dep' and 'make'. 
    141647745" >&5 
    14165 echo "${ECHO_T} 
     7746$as_echo " 
    141667747 
    141677748Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 
  • pjproject/branches/1.x/aconfigure.ac

    r3820 r3967  
    732732             ) 
    733733 
     734dnl # Include libsamplerate 
     735AC_SUBST(ac_resample_dll) 
     736AC_ARG_ENABLE(resample_dll, 
     737              AC_HELP_STRING([--enable-resample-dll], 
     738                             [Build libresample as shared library]), 
     739              [if test "$enable_resample_dll" = "yes"; then 
     740                [ac_resample_dll=1] 
     741                AC_MSG_RESULT([Building libresample as shared library... yes]) 
     742               fi], 
     743              AC_MSG_RESULT([Building libresample as shared library... no]) 
     744              ) 
    734745 
    735746dnl ######################################################## 
     
    10321043              ]) 
    10331044 
    1034  
    10351045dnl ########################################## 
    10361046dnl # 
  • pjproject/branches/1.x/build.mak.in

    r3295 r3967  
     1export PJDIR := @ac_pjdir@ 
     2include $(PJDIR)/version.mak 
     3 
    14# @configure_input@ 
    25export MACHINE_NAME := auto 
     
    1316 
    1417# Determine which party libraries to use 
    15 export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) -lmilenage-$(TARGET_NAME) -lsrtp-$(TARGET_NAME) 
     18export APP_THIRD_PARTY_LIBS := -lmilenage-$(TARGET_NAME) -lsrtp-$(TARGET_NAME) 
    1619export APP_THIRD_PARTY_EXT := 
    17 export APP_THIRD_PARTY_LIB_FILES = $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX) $(PJ_DIR)/third_party/lib/libmilenage-$(LIB_SUFFIX) $(PJ_DIR)/third_party/lib/libsrtp-$(LIB_SUFFIX) 
     20export APP_THIRD_PARTY_LIB_FILES = $(PJ_DIR)/third_party/lib/libmilenage-$(LIB_SUFFIX) $(PJ_DIR)/third_party/lib/libsrtp-$(LIB_SUFFIX) 
     21 
     22ifeq (@ac_resample_dll@,1) 
     23export PJ_RESAMPLE_DLL := 1 
     24export APP_THIRD_PARTY_LIBS := -lresample $(APP_THIRD_PARTY_LIBS) 
     25export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libresample.so $(APP_THIRD_PARTY_LIB_FILES) 
     26else 
     27export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) $(APP_THIRD_PARTY_LIBS) 
     28export APP_THIRD_PARTY_LIB_FILES := $(PJ_DIR)/third_party/lib/libresample-$(LIB_SUFFIX) $(APP_THIRD_PARTY_LIB_FILES) 
     29endif 
    1830 
    1931ifneq (@ac_no_gsm_codec@,1) 
     
    6072 
    6173# CFLAGS, LDFLAGS, and LIBS to be used by applications 
    62 export PJDIR := @ac_pjdir@ 
    6374export APP_CC := @CC@ 
    6475export APP_CXX := @CXX@ 
  • pjproject/branches/1.x/build/rules.mak

    r3428 r3967  
    1010# 
    1111LIB = $($(APP)_LIB) 
     12 
     13# 
     14# The full path of output lib file (e.g. ../lib/libapp.a). 
     15# 
     16SHLIB = $($(APP)_SHLIB) 
    1217 
    1318# 
     
    8287        $(AR) $(LIB) $(OBJS) 
    8388        $(RANLIB) $(LIB) 
     89 
     90$(SHLIB): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 
     91        if test ! -d $(LIBDIR); then $(subst @@,$(subst /,$(HOST_PSEP),$(LIBDIR)),$(HOST_MKDIR)); fi 
     92        $(LD) $(LDOUT)$(subst /,$(HOST_PSEP),$(SHLIB)) \ 
     93            $(subst /,$(HOST_PSEP),$(OBJS)) $($(APP)_LDFLAGS) 
    8494 
    8595$(EXE): $(OBJDIRS) $(OBJS) $($(APP)_EXTRA_DEP) 
  • pjproject/branches/1.x/third_party/build/resample/Makefile

    r2183 r3967  
    66RULES_MAK := $(PJDIR)/build/rules.mak 
    77 
    8 export RESAMPLE_LIB := ../../lib/libresample-$(TARGET_NAME)$(LIBEXT) 
    98 
    109############################################################################### 
     
    2322export RESAMPLE_CFLAGS = $(_CFLAGS) 
    2423 
     24SHLIB_NAME := libresample.so 
     25export RESAMPLE_SHLIB := ../../lib/$(SHLIB_NAME).$(PJ_VERSION_MAJOR) 
     26export RESAMPLE_LIB := ../../lib/libresample-$(TARGET_NAME)$(LIBEXT) 
    2527 
    2628export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT  
     
    3032# $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. 
    3133# 
     34ifeq ($(PJ_RESAMPLE_DLL),1) 
     35TARGETS := ../../lib/$(SHLIB_NAME) 
     36SONAME_OPT := -Wl,-soname,$(SHLIB_NAME).$(PJ_VERSION_MAJOR) 
     37#SONAME_OPT :=  
     38export RESAMPLE_CFLAGS := -fPIC $(RESAMPLE_CFLAGS) 
     39export RESAMPLE_LDFLAGS := -shared $(SONAME_OPT) $(RESAMPLE_LDFLAGS) 
     40else 
    3241TARGETS := libresample 
     42endif 
    3343 
    3444all: $(TARGETS) 
     
    4555        $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $(RESAMPLE_LIB) 
    4656 
     57../../lib/$(SHLIB_NAME): $(RESAMPLE_SHLIB) 
     58        ln -s $(SHLIB_NAME).$(PJ_VERSION_MAJOR) $@ 
     59 
     60$(RESAMPLE_SHLIB): 
     61        $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $(RESAMPLE_SHLIB) 
     62         
    4763clean print_lib: 
    4864        $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $@ 
    4965 
    5066realclean: 
    51         $(subst @@,$(subst /,$(HOST_PSEP),.ilbc-$(TARGET_NAME).depend),$(HOST_RMR)) 
    52          
     67        $(subst @@,$(subst /,$(HOST_PSEP),../../lib/$(SHLIB_NAME)),$(HOST_RMR)) 
     68        $(subst @@,$(subst /,$(HOST_PSEP),$(RESAMPLE_SHLIB)),$(HOST_RMR)) 
    5369        $(MAKE) -f $(RULES_MAK) APP=RESAMPLE app=libresample $@ 
    5470 
  • pjproject/branches/1.x/version.mak

    r3886 r3967  
    1 export PJ_VERSION := 1.12-svn 
     1export PJ_VERSION_MAJOR  := 1 
     2export PJ_VERSION_MINOR  := 12 
     3export PJ_VERSION_REV    := 
     4export PJ_VERSION_SUFFIX := svn 
     5 
     6export PJ_VERSION := $(PJ_VERSION_MAJOR).$(PJ_VERSION_MINOR) 
     7 
     8ifneq ($(PJ_VERSION_REV),) 
     9export PJ_VERSION := $(PJ_VERSION).$(PJ_VERSION_REV) 
     10endif 
     11 
     12ifneq ($(PJ_VERSION_SUFFIX),) 
     13export PJ_VERSION := $(PJ_VERSION)-$(PJ_VERSION_SUFFIX) 
     14endif 
     15 
Note: See TracChangeset for help on using the changeset viewer.