Changeset 3827


Ignore:
Timestamp:
Oct 18, 2011 11:17:23 AM (12 years ago)
Author:
bennylp
Message:

Added libz in aconfigure as this is needed by newer ffmpeg (re #1390)

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3718 r3827  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 
     3# Generated by GNU Autoconf 2.65 for pjproject 1.x. 
     4# 
    45# 
    56# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
     8# Inc. 
     9# 
     10# 
    711# This configure script is free software; the Free Software Foundation 
    812# gives unlimited permission to copy, distribute and modify it. 
    9 ## --------------------- ## 
    10 ## M4sh Initialization.  ## 
    11 ## --------------------- ## 
     13## -------------------- ## 
     14## M4sh Initialization. ## 
     15## -------------------- ## 
    1216 
    1317# Be more Bourne compatible 
    1418DUALCASE=1; export DUALCASE # for MKS sh 
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    1620  emulate sh 
    1721  NULLCMD=: 
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    1923  # is contrary to our usage.  Disable this feature. 
    2024  alias -g '${1+"$@"}'='"$@"' 
    2125  setopt NO_GLOB_SUBST 
    2226else 
    23   case `(set -o) 2>/dev/null` in 
    24   *posix*) set -o posix ;; 
     27  case `(set -o) 2>/dev/null` in #( 
     28  *posix*) : 
     29    set -o posix ;; #( 
     30  *) : 
     31     ;; 
    2532esac 
    26  
    27 fi 
    28  
    29  
    30  
    31  
    32 # PATH needs CR 
    33 # Avoid depending upon Character Ranges. 
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    37 as_cr_digits='0123456789' 
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     33fi 
     34 
     35 
     36as_nl=' 
     37' 
     38export as_nl 
     39# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     43# Prefer a ksh shell builtin over an external printf program on Solaris, 
     44# but without wasting forks for bash or zsh. 
     45if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     47  as_echo='print -r --' 
     48  as_echo_n='print -rn --' 
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     50  as_echo='printf %s\n' 
     51  as_echo_n='printf %s' 
     52else 
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     55    as_echo_n='/usr/ucb/echo -n' 
     56  else 
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     58    as_echo_n_body='eval 
     59      arg=$1; 
     60      case $arg in #( 
     61      *"$as_nl"*) 
     62        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     64      esac; 
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     66    ' 
     67    export as_echo_n_body 
     68    as_echo_n='sh -c $as_echo_n_body as_echo' 
     69  fi 
     70  export as_echo_body 
     71  as_echo='sh -c $as_echo_body as_echo' 
     72fi 
    3973 
    4074# The user is always right. 
    4175if test "${PATH_SEPARATOR+set}" != set; then 
    42   echo "#! /bin/sh" >conf$$.sh 
    43   echo  "exit 0"   >>conf$$.sh 
    44   chmod +x conf$$.sh 
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    46     PATH_SEPARATOR=';' 
    47   else 
    48     PATH_SEPARATOR=: 
    49   fi 
    50   rm -f conf$$.sh 
    51 fi 
    52  
    53 # Support unset when possible. 
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    55   as_unset=unset 
    56 else 
    57   as_unset=false 
     76  PATH_SEPARATOR=: 
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     79      PATH_SEPARATOR=';' 
     80  } 
    5881fi 
    5982 
     
    6487# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    6588# splitting by setting IFS to empty value.) 
    66 as_nl=' 
    67 ' 
    6889IFS=" ""        $as_nl" 
    6990 
    7091# Find who we are.  Look in the path if we contain no directory separator. 
    71 case $0 in 
     92case $0 in #(( 
    7293  *[\\/]* ) as_myself=$0 ;; 
    7394  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    7697  IFS=$as_save_IFS 
    7798  test -z "$as_dir" && as_dir=. 
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    79 done 
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     100  done 
    80101IFS=$as_save_IFS 
    81102 
     
    88109fi 
    89110if test ! -f "$as_myself"; then 
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    91   { (exit 1); exit 1; } 
    92 fi 
    93  
    94 # Work around bugs in pre-3.0 UWIN ksh. 
    95 for as_var in ENV MAIL MAILPATH 
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     112  exit 1 
     113fi 
     114 
     115# Unset variables that we do not need and which cause bugs (e.g. in 
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     117# suppresses any "Segmentation fault" message there.  '((' could 
     118# trigger a bug in pdksh 5.2.14. 
     119for as_var in BASH_ENV ENV MAIL MAILPATH 
     120do eval test x\${$as_var+set} = xset \ 
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    97122done 
    98123PS1='$ ' 
     
    101126 
    102127# NLS nuisances. 
    103 for as_var in \ 
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    106   LC_TELEPHONE LC_TIME 
     128LC_ALL=C 
     129export LC_ALL 
     130LANGUAGE=C 
     131export LANGUAGE 
     132 
     133# CDPATH. 
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     135 
     136if test "x$CONFIG_SHELL" = x; then 
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     138  emulate sh 
     139  NULLCMD=: 
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
     141  # is contrary to our usage.  Disable this feature. 
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     143  setopt NO_GLOB_SUBST 
     144else 
     145  case \`(set -o) 2>/dev/null\` in #( 
     146  *posix*) : 
     147    set -o posix ;; #( 
     148  *) : 
     149     ;; 
     150esac 
     151fi 
     152" 
     153  as_required="as_fn_return () { (exit \$1); } 
     154as_fn_success () { as_fn_return 0; } 
     155as_fn_failure () { as_fn_return 1; } 
     156as_fn_ret_success () { return 0; } 
     157as_fn_ret_failure () { return 1; } 
     158 
     159exitcode=0 
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
     165 
     166else 
     167  exitcode=1; echo positional parameters were not saved. 
     168fi 
     169test x\$exitcode = x0 || exit 1" 
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
     174test \$(( 1 + 1 )) = 2 || exit 1" 
     175  if (eval "$as_required") 2>/dev/null; then : 
     176  as_have_required=yes 
     177else 
     178  as_have_required=no 
     179fi 
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
     181 
     182else 
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     184as_found=false 
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    107186do 
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    109     eval $as_var=C; export $as_var 
     187  IFS=$as_save_IFS 
     188  test -z "$as_dir" && as_dir=. 
     189  as_found=: 
     190  case $as_dir in #( 
     191         /*) 
     192           for as_base in sh bash ksh sh5; do 
     193             # Try only shells that exist, to save several forks. 
     194             as_shell=$as_dir/$as_base 
     195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     197  CONFIG_SHELL=$as_shell as_have_required=yes 
     198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     199  break 2 
     200fi 
     201fi 
     202           done;; 
     203       esac 
     204  as_found=false 
     205done 
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
     207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
     208  CONFIG_SHELL=$SHELL as_have_required=yes 
     209fi; } 
     210IFS=$as_save_IFS 
     211 
     212 
     213      if test "x$CONFIG_SHELL" != x; then : 
     214  # We cannot yet assume a decent shell, so we have to provide a 
     215        # neutralization value for shells without unset; and this also 
     216        # works around shells that cannot unset nonexistent variables. 
     217        BASH_ENV=/dev/null 
     218        ENV=/dev/null 
     219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     220        export CONFIG_SHELL 
     221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     222fi 
     223 
     224    if test x$as_have_required = xno; then : 
     225  $as_echo "$0: This script requires a shell more modern than all" 
     226  $as_echo "$0: the shells that I found on your system." 
     227  if test x${ZSH_VERSION+set} = xset ; then 
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
    110230  else 
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
     232$0: including any error possibly output before this 
     233$0: message. Then install a modern shell, or manually run 
     234$0: the script under such a shell if you do have one." 
    112235  fi 
    113 done 
    114  
    115 # Required to use basename. 
     236  exit 1 
     237fi 
     238fi 
     239fi 
     240SHELL=${CONFIG_SHELL-/bin/sh} 
     241export SHELL 
     242# Unset more variables known to interfere with behavior of common tools. 
     243CLICOLOR_FORCE= GREP_OPTIONS= 
     244unset CLICOLOR_FORCE GREP_OPTIONS 
     245 
     246## --------------------- ## 
     247## M4sh Shell Functions. ## 
     248## --------------------- ## 
     249# as_fn_unset VAR 
     250# --------------- 
     251# Portably unset VAR. 
     252as_fn_unset () 
     253{ 
     254  { eval $1=; unset $1;} 
     255} 
     256as_unset=as_fn_unset 
     257 
     258# as_fn_set_status STATUS 
     259# ----------------------- 
     260# Set $? to STATUS, without forking. 
     261as_fn_set_status () 
     262{ 
     263  return $1 
     264} # as_fn_set_status 
     265 
     266# as_fn_exit STATUS 
     267# ----------------- 
     268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     269as_fn_exit () 
     270{ 
     271  set +e 
     272  as_fn_set_status $1 
     273  exit $1 
     274} # as_fn_exit 
     275 
     276# as_fn_mkdir_p 
     277# ------------- 
     278# Create "$as_dir" as a directory, including parents if necessary. 
     279as_fn_mkdir_p () 
     280{ 
     281 
     282  case $as_dir in #( 
     283  -*) as_dir=./$as_dir;; 
     284  esac 
     285  test -d "$as_dir" || eval $as_mkdir_p || { 
     286    as_dirs= 
     287    while :; do 
     288      case $as_dir in #( 
     289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     290      *) as_qdir=$as_dir;; 
     291      esac 
     292      as_dirs="'$as_qdir' $as_dirs" 
     293      as_dir=`$as_dirname -- "$as_dir" || 
     294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     295         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     296         X"$as_dir" : 'X\(//\)$' \| \ 
     297         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     298$as_echo X"$as_dir" | 
     299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     300            s//\1/ 
     301            q 
     302          } 
     303          /^X\(\/\/\)[^/].*/{ 
     304            s//\1/ 
     305            q 
     306          } 
     307          /^X\(\/\/\)$/{ 
     308            s//\1/ 
     309            q 
     310          } 
     311          /^X\(\/\).*/{ 
     312            s//\1/ 
     313            q 
     314          } 
     315          s/.*/./; q'` 
     316      test -d "$as_dir" && break 
     317    done 
     318    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     320 
     321 
     322} # as_fn_mkdir_p 
     323# as_fn_append VAR VALUE 
     324# ---------------------- 
     325# Append the text in VALUE to the end of the definition contained in VAR. Take 
     326# advantage of any shell optimizations that allow amortized linear growth over 
     327# repeated appends, instead of the typical quadratic growth present in naive 
     328# implementations. 
     329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     330  eval 'as_fn_append () 
     331  { 
     332    eval $1+=\$2 
     333  }' 
     334else 
     335  as_fn_append () 
     336  { 
     337    eval $1=\$$1\$2 
     338  } 
     339fi # as_fn_append 
     340 
     341# as_fn_arith ARG... 
     342# ------------------ 
     343# Perform arithmetic evaluation on the ARGs, and store the result in the 
     344# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     345# must be portable across $(()) and expr. 
     346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     347  eval 'as_fn_arith () 
     348  { 
     349    as_val=$(( $* )) 
     350  }' 
     351else 
     352  as_fn_arith () 
     353  { 
     354    as_val=`expr "$@" || test $? -eq 1` 
     355  } 
     356fi # as_fn_arith 
     357 
     358 
     359# as_fn_error ERROR [LINENO LOG_FD] 
     360# --------------------------------- 
     361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     363# script with status $?, using 1 if that was 0. 
     364as_fn_error () 
     365{ 
     366  as_status=$?; test $as_status -eq 0 && as_status=1 
     367  if test "$3"; then 
     368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     370  fi 
     371  $as_echo "$as_me: error: $1" >&2 
     372  as_fn_exit $as_status 
     373} # as_fn_error 
     374 
    116375if expr a : '\(a\)' >/dev/null 2>&1 && 
    117376   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    127386fi 
    128387 
    129  
    130 # Name of the executable. 
     388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     389  as_dirname=dirname 
     390else 
     391  as_dirname=false 
     392fi 
     393 
    131394as_me=`$as_basename -- "$0" || 
    132395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    133396         X"$0" : 'X\(//\)$' \| \ 
    134397         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    135 echo X/"$0" | 
     398$as_echo X/"$0" | 
    136399    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    137400            s//\1/ 
     
    148411          s/.*/./; q'` 
    149412 
    150 # CDPATH. 
    151 $as_unset CDPATH 
    152  
    153  
    154 if test "x$CONFIG_SHELL" = x; then 
    155   if (eval ":") 2>/dev/null; then 
    156   as_have_required=yes 
    157 else 
    158   as_have_required=no 
    159 fi 
    160  
    161   if test $as_have_required = yes &&     (eval ": 
    162 (as_func_return () { 
    163   (exit \$1) 
    164 } 
    165 as_func_success () { 
    166   as_func_return 0 
    167 } 
    168 as_func_failure () { 
    169   as_func_return 1 
    170 } 
    171 as_func_ret_success () { 
    172   return 0 
    173 } 
    174 as_func_ret_failure () { 
    175   return 1 
    176 } 
    177  
    178 exitcode=0 
    179 if as_func_success; then 
    180   : 
    181 else 
    182   exitcode=1 
    183   echo as_func_success failed. 
    184 fi 
    185  
    186 if as_func_failure; then 
    187   exitcode=1 
    188   echo as_func_failure succeeded. 
    189 fi 
    190  
    191 if as_func_ret_success; then 
    192   : 
    193 else 
    194   exitcode=1 
    195   echo as_func_ret_success failed. 
    196 fi 
    197  
    198 if as_func_ret_failure; then 
    199   exitcode=1 
    200   echo as_func_ret_failure succeeded. 
    201 fi 
    202  
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    204   : 
    205 else 
    206   exitcode=1 
    207   echo positional parameters were not saved. 
    208 fi 
    209  
    210 test \$exitcode = 0) || { (exit 1); exit 1; } 
    211  
    212 ( 
    213   as_lineno_1=\$LINENO 
    214   as_lineno_2=\$LINENO 
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    217 ") 2> /dev/null; then 
    218   : 
    219 else 
    220   as_candidate_shells= 
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    223 do 
    224   IFS=$as_save_IFS 
    225   test -z "$as_dir" && as_dir=. 
    226   case $as_dir in 
    227          /*) 
    228            for as_base in sh bash ksh sh5; do 
    229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    230            done;; 
    231        esac 
    232 done 
    233 IFS=$as_save_IFS 
    234  
    235  
    236       for as_shell in $as_candidate_shells $SHELL; do 
    237          # Try only shells that exist, to save several forks. 
    238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    239                 { ("$as_shell") 2> /dev/null <<\_ASEOF 
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    241   emulate sh 
    242   NULLCMD=: 
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    244   # is contrary to our usage.  Disable this feature. 
    245   alias -g '${1+"$@"}'='"$@"' 
    246   setopt NO_GLOB_SUBST 
    247 else 
    248   case `(set -o) 2>/dev/null` in 
    249   *posix*) set -o posix ;; 
    250 esac 
    251  
    252 fi 
    253  
    254  
    255 : 
    256 _ASEOF 
    257 }; then 
    258   CONFIG_SHELL=$as_shell 
    259                as_have_required=yes 
    260                if { "$as_shell" 2> /dev/null <<\_ASEOF 
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    262   emulate sh 
    263   NULLCMD=: 
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    265   # is contrary to our usage.  Disable this feature. 
    266   alias -g '${1+"$@"}'='"$@"' 
    267   setopt NO_GLOB_SUBST 
    268 else 
    269   case `(set -o) 2>/dev/null` in 
    270   *posix*) set -o posix ;; 
    271 esac 
    272  
    273 fi 
    274  
    275  
    276 : 
    277 (as_func_return () { 
    278   (exit $1) 
    279 } 
    280 as_func_success () { 
    281   as_func_return 0 
    282 } 
    283 as_func_failure () { 
    284   as_func_return 1 
    285 } 
    286 as_func_ret_success () { 
    287   return 0 
    288 } 
    289 as_func_ret_failure () { 
    290   return 1 
    291 } 
    292  
    293 exitcode=0 
    294 if as_func_success; then 
    295   : 
    296 else 
    297   exitcode=1 
    298   echo as_func_success failed. 
    299 fi 
    300  
    301 if as_func_failure; then 
    302   exitcode=1 
    303   echo as_func_failure succeeded. 
    304 fi 
    305  
    306 if as_func_ret_success; then 
    307   : 
    308 else 
    309   exitcode=1 
    310   echo as_func_ret_success failed. 
    311 fi 
    312  
    313 if as_func_ret_failure; then 
    314   exitcode=1 
    315   echo as_func_ret_failure succeeded. 
    316 fi 
    317  
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then 
    319   : 
    320 else 
    321   exitcode=1 
    322   echo positional parameters were not saved. 
    323 fi 
    324  
    325 test $exitcode = 0) || { (exit 1); exit 1; } 
    326  
    327 ( 
    328   as_lineno_1=$LINENO 
    329   as_lineno_2=$LINENO 
    330   test "x$as_lineno_1" != "x$as_lineno_2" && 
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    332  
    333 _ASEOF 
    334 }; then 
    335   break 
    336 fi 
    337  
    338 fi 
    339  
    340       done 
    341  
    342       if test "x$CONFIG_SHELL" != x; then 
    343   for as_var in BASH_ENV ENV 
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    345         done 
    346         export CONFIG_SHELL 
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    348 fi 
    349  
    350  
    351     if test $as_have_required = no; then 
    352   echo This script requires a shell more modern than all the 
    353       echo shells that I found on your system.  Please install a 
    354       echo modern shell, or manually run the script under such a 
    355       echo shell if you do have one. 
    356       { (exit 1); exit 1; } 
    357 fi 
    358  
    359  
    360 fi 
    361  
    362 fi 
    363  
    364  
    365  
    366 (eval "as_func_return () { 
    367   (exit \$1) 
    368 } 
    369 as_func_success () { 
    370   as_func_return 0 
    371 } 
    372 as_func_failure () { 
    373   as_func_return 1 
    374 } 
    375 as_func_ret_success () { 
    376   return 0 
    377 } 
    378 as_func_ret_failure () { 
    379   return 1 
    380 } 
    381  
    382 exitcode=0 
    383 if as_func_success; then 
    384   : 
    385 else 
    386   exitcode=1 
    387   echo as_func_success failed. 
    388 fi 
    389  
    390 if as_func_failure; then 
    391   exitcode=1 
    392   echo as_func_failure succeeded. 
    393 fi 
    394  
    395 if as_func_ret_success; then 
    396   : 
    397 else 
    398   exitcode=1 
    399   echo as_func_ret_success failed. 
    400 fi 
    401  
    402 if as_func_ret_failure; then 
    403   exitcode=1 
    404   echo as_func_ret_failure succeeded. 
    405 fi 
    406  
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    408   : 
    409 else 
    410   exitcode=1 
    411   echo positional parameters were not saved. 
    412 fi 
    413  
    414 test \$exitcode = 0") || { 
    415   echo No shell found that supports shell functions. 
    416   echo Please tell autoconf@gnu.org about your system, 
    417   echo including any error possibly output before this 
    418   echo message 
    419 } 
    420  
    421  
    422  
    423   as_lineno_1=$LINENO 
    424   as_lineno_2=$LINENO 
    425   test "x$as_lineno_1" != "x$as_lineno_2" && 
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    427  
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    429   # uniformly replaced by the line number.  The first 'sed' inserts a 
    430   # line-number line after each line using $LINENO; the second 'sed' 
    431   # does the real work.  The second script uses 'N' to pair each 
    432   # line-number line with the line containing $LINENO, and appends 
    433   # trailing '-' during substitution so that $LINENO is not a special 
    434   # case at line end. 
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    437   # E. McMahon (1931-1989) for sed's syntax.  :-) 
     413# Avoid depending upon Character Ranges. 
     414as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     416as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     417as_cr_digits='0123456789' 
     418as_cr_alnum=$as_cr_Letters$as_cr_digits 
     419 
     420 
     421  as_lineno_1=$LINENO as_lineno_1a=$LINENO 
     422  as_lineno_2=$LINENO as_lineno_2a=$LINENO 
     423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
     424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
     425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
    438426  sed -n ' 
    439427    p 
     
    452440    ' >$as_me.lineno && 
    453441  chmod +x "$as_me.lineno" || 
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    455    { (exit 1); exit 1; }; } 
     442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    456443 
    457444  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    463450} 
    464451 
    465  
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    467   as_dirname=dirname 
    468 else 
    469   as_dirname=false 
    470 fi 
    471  
    472452ECHO_C= ECHO_N= ECHO_T= 
    473 case `echo -n x` in 
     453case `echo -n x` in #((((( 
    474454-n*) 
    475   case `echo 'x\c'` in 
     455  case `echo 'xy\c'` in 
    476456  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    477   *)   ECHO_C='\c';; 
     457  xy)  ECHO_C='\c';; 
     458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     459       ECHO_T=' ';; 
    478460  esac;; 
    479461*) 
     
    481463esac 
    482464 
    483 if expr a : '\(a\)' >/dev/null 2>&1 && 
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    485   as_expr=expr 
    486 else 
    487   as_expr=false 
    488 fi 
    489  
    490465rm -f conf$$ conf$$.exe conf$$.file 
    491466if test -d conf$$.dir; then 
     
    493468else 
    494469  rm -f conf$$.dir 
    495   mkdir conf$$.dir 
    496 fi 
    497 echo >conf$$.file 
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    499   as_ln_s='ln -s' 
    500   # ... but there are two gotchas: 
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    503   # In both cases, we have to default to `cp -p'. 
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     470  mkdir conf$$.dir 2>/dev/null 
     471fi 
     472if (echo >conf$$.file) 2>/dev/null; then 
     473  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     474    as_ln_s='ln -s' 
     475    # ... but there are two gotchas: 
     476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     478    # In both cases, we have to default to `cp -p'. 
     479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     480      as_ln_s='cp -p' 
     481  elif ln conf$$.file conf$$ 2>/dev/null; then 
     482    as_ln_s=ln 
     483  else 
    505484    as_ln_s='cp -p' 
    506 elif ln conf$$.file conf$$ 2>/dev/null; then 
    507   as_ln_s=ln 
     485  fi 
    508486else 
    509487  as_ln_s='cp -p' 
     
    513491 
    514492if mkdir -p . 2>/dev/null; then 
    515   as_mkdir_p=: 
     493  as_mkdir_p='mkdir -p "$as_dir"' 
    516494else 
    517495  test -d ./-p && rmdir ./-p 
     
    530508    eval sh -c '\'' 
    531509      if test -d "$1"; then 
    532         test -d "$1/."; 
     510        test -d "$1/."; 
    533511      else 
    534         case $1 in 
    535         -*)set "./$1";; 
     512        case $1 in #( 
     513        -*)set "./$1";; 
    536514        esac; 
    537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     515        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    538516        ???[sx]*):;;*)false;;esac;fi 
    539517    '\'' sh 
     
    549527 
    550528 
    551  
    552 exec 7<&0 </dev/null 6>&1 
     529test -n "$DJDIR" || exec 7<&0 </dev/null 
     530exec 6>&1 
    553531 
    554532# Name of the host. 
     
    568546MFLAGS= 
    569547MAKEFLAGS= 
    570 SHELL=${CONFIG_SHELL-/bin/sh} 
    571548 
    572549# Identity of this package. 
     
    576553PACKAGE_STRING='pjproject 1.x' 
    577554PACKAGE_BUGREPORT='' 
     555PACKAGE_URL='' 
    578556 
    579557# Factoring default headers for most tests. 
     
    613591#endif" 
    614592 
    615 ac_subst_vars='SHELL 
     593ac_subst_vars='LTLIBOBJS 
     594LIBOBJS 
     595ac_main_obj 
     596ac_host 
     597ac_linux_poll 
     598ac_cross_compile 
     599libcrypto_present 
     600libssl_present 
     601openssl_h_present 
     602ac_no_ssl 
     603ac_v4l2_ldflags 
     604ac_v4l2_cflags 
     605ac_ffmpeg_ldflags 
     606ac_ffmpeg_cflags 
     607ac_has_ffmpeg 
     608ac_sdl_ldflags 
     609ac_sdl_cflags 
     610ac_no_ilbc_codec 
     611ac_no_speex_codec 
     612ac_no_g7221_codec 
     613ac_no_g722_codec 
     614ac_no_gsm_codec 
     615ac_no_l16_codec 
     616ac_no_g711_codec 
     617ac_no_speex_aec 
     618ac_no_large_filter 
     619ac_no_small_filter 
     620ac_qt_cflags 
     621ac_pjmedia_video_has_qt 
     622ac_ios_cflags 
     623ac_pjmedia_video_has_ios 
     624ac_pjmedia_video 
     625ac_pa_use_oss 
     626ac_pa_use_alsa 
     627ac_pa_cflags 
     628ac_external_pa 
     629ac_pjmedia_snd 
     630ac_external_gsm 
     631ac_external_speex 
     632ac_os_objs 
     633EGREP 
     634GREP 
     635CPP 
     636ac_build_mak_vars 
     637ac_pjdir 
     638CC_CFLAGS 
     639CC_OPTIMIZE 
     640CC_DEF 
     641CC_INC 
     642CC_OUT 
     643LIBEXT2 
     644LIBEXT 
     645RANLIB 
     646LDOUT 
     647LD 
     648AR 
     649ac_ct_CXX 
     650CXXFLAGS 
     651CXX 
     652OBJEXT 
     653EXEEXT 
     654ac_ct_CC 
     655CPPFLAGS 
     656LDFLAGS 
     657CFLAGS 
     658CC 
     659target_os 
     660target_vendor 
     661target_cpu 
     662target 
     663host_os 
     664host_vendor 
     665host_cpu 
     666host 
     667build_os 
     668build_vendor 
     669build_cpu 
     670build 
     671target_alias 
     672host_alias 
     673build_alias 
     674LIBS 
     675ECHO_T 
     676ECHO_N 
     677ECHO_C 
     678DEFS 
     679mandir 
     680localedir 
     681libdir 
     682psdir 
     683pdfdir 
     684dvidir 
     685htmldir 
     686infodir 
     687docdir 
     688oldincludedir 
     689includedir 
     690localstatedir 
     691sharedstatedir 
     692sysconfdir 
     693datadir 
     694datarootdir 
     695libexecdir 
     696sbindir 
     697bindir 
     698program_transform_name 
     699prefix 
     700exec_prefix 
     701PACKAGE_URL 
     702PACKAGE_BUGREPORT 
     703PACKAGE_STRING 
     704PACKAGE_VERSION 
     705PACKAGE_TARNAME 
     706PACKAGE_NAME 
    616707PATH_SEPARATOR 
    617 PACKAGE_NAME 
    618 PACKAGE_TARNAME 
    619 PACKAGE_VERSION 
    620 PACKAGE_STRING 
    621 PACKAGE_BUGREPORT 
    622 exec_prefix 
    623 prefix 
    624 program_transform_name 
    625 bindir 
    626 sbindir 
    627 libexecdir 
    628 datarootdir 
    629 datadir 
    630 sysconfdir 
    631 sharedstatedir 
    632 localstatedir 
    633 includedir 
    634 oldincludedir 
    635 docdir 
    636 infodir 
    637 htmldir 
    638 dvidir 
    639 pdfdir 
    640 psdir 
    641 libdir 
    642 localedir 
    643 mandir 
    644 DEFS 
    645 ECHO_C 
    646 ECHO_N 
    647 ECHO_T 
    648 LIBS 
    649 build_alias 
    650 host_alias 
    651 target_alias 
    652 build 
    653 build_cpu 
    654 build_vendor 
    655 build_os 
    656 host 
    657 host_cpu 
    658 host_vendor 
    659 host_os 
    660 target 
    661 target_cpu 
    662 target_vendor 
    663 target_os 
    664 CC 
    665 CFLAGS 
    666 LDFLAGS 
    667 CPPFLAGS 
    668 ac_ct_CC 
    669 EXEEXT 
    670 OBJEXT 
    671 CXX 
    672 CXXFLAGS 
    673 ac_ct_CXX 
    674 AR 
    675 LD 
    676 LDOUT 
    677 RANLIB 
    678 LIBEXT 
    679 LIBEXT2 
    680 CC_OUT 
    681 CC_INC 
    682 CC_DEF 
    683 CC_OPTIMIZE 
    684 CC_CFLAGS 
    685 ac_pjdir 
    686 ac_build_mak_vars 
    687 CPP 
    688 GREP 
    689 EGREP 
    690 ac_os_objs 
    691 ac_external_speex 
    692 ac_external_gsm 
    693 ac_pjmedia_snd 
    694 ac_external_pa 
    695 ac_pa_cflags 
    696 ac_pa_use_alsa 
    697 ac_pa_use_oss 
    698 ac_pjmedia_video 
    699 ac_pjmedia_video_has_ios 
    700 ac_ios_cflags 
    701 ac_pjmedia_video_has_qt 
    702 ac_qt_cflags 
    703 ac_no_small_filter 
    704 ac_no_large_filter 
    705 ac_no_speex_aec 
    706 ac_no_g711_codec 
    707 ac_no_l16_codec 
    708 ac_no_gsm_codec 
    709 ac_no_g722_codec 
    710 ac_no_g7221_codec 
    711 ac_no_speex_codec 
    712 ac_no_ilbc_codec 
    713 ac_sdl_cflags 
    714 ac_sdl_ldflags 
    715 ac_has_ffmpeg 
    716 ac_ffmpeg_cflags 
    717 ac_ffmpeg_ldflags 
    718 ac_v4l2_cflags 
    719 ac_v4l2_ldflags 
    720 ac_no_ssl 
    721 openssl_h_present 
    722 libssl_present 
    723 libcrypto_present 
    724 ac_cross_compile 
    725 ac_linux_poll 
    726 ac_host 
    727 ac_main_obj 
    728 LIBOBJS 
    729 LTLIBOBJS' 
     708SHELL' 
    730709ac_subst_files='' 
     710ac_user_opts=' 
     711enable_option_checking 
     712enable_floating_point 
     713enable_epoll 
     714with_external_speex 
     715with_external_gsm 
     716enable_sound 
     717with_external_pa 
     718enable_oss 
     719enable_ext_sound 
     720enable_small_filter 
     721enable_large_filter 
     722enable_speex_aec 
     723enable_g711_codec 
     724enable_l16_codec 
     725enable_gsm_codec 
     726enable_g722_codec 
     727enable_g7221_codec 
     728enable_speex_codec 
     729enable_ilbc_codec 
     730enable_libsamplerate 
     731with_sdl 
     732enable_sdl 
     733enable_ffmpeg 
     734with_ffmpeg 
     735enable_v4l2 
     736enable_ipp 
     737with_ipp 
     738with_ipp_samples 
     739with_ipp_arch 
     740enable_ssl 
     741' 
    731742      ac_precious_vars='build_alias 
    732743host_alias 
     
    746757ac_init_help= 
    747758ac_init_version=false 
     759ac_unrecognized_opts= 
     760ac_unrecognized_sep= 
    748761# The variables have the same names as the options, with 
    749762# dashes changed to underlines. 
     
    844857 
    845858  -disable-* | --disable-*) 
    846     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     859    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    847860    # Reject names that are not valid shell variable names. 
    848     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    849       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    850    { (exit 1); exit 1; }; } 
    851     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    852     eval enable_$ac_feature=no ;; 
     861    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     862      as_fn_error "invalid feature name: $ac_useropt" 
     863    ac_useropt_orig=$ac_useropt 
     864    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     865    case $ac_user_opts in 
     866      *" 
     867"enable_$ac_useropt" 
     868"*) ;; 
     869      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
     870         ac_unrecognized_sep=', ';; 
     871    esac 
     872    eval enable_$ac_useropt=no ;; 
    853873 
    854874  -docdir | --docdir | --docdi | --doc | --do) 
     
    863883 
    864884  -enable-* | --enable-*) 
    865     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     885    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    866886    # Reject names that are not valid shell variable names. 
    867     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    868       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    869    { (exit 1); exit 1; }; } 
    870     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    871     eval enable_$ac_feature=\$ac_optarg ;; 
     887    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     888      as_fn_error "invalid feature name: $ac_useropt" 
     889    ac_useropt_orig=$ac_useropt 
     890    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     891    case $ac_user_opts in 
     892      *" 
     893"enable_$ac_useropt" 
     894"*) ;; 
     895      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
     896         ac_unrecognized_sep=', ';; 
     897    esac 
     898    eval enable_$ac_useropt=\$ac_optarg ;; 
    872899 
    873900  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10601087 
    10611088  -with-* | --with-*) 
    1062     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1089    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10631090    # 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=\$ac_optarg ;; 
     1091    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1092      as_fn_error "invalid package name: $ac_useropt" 
     1093    ac_useropt_orig=$ac_useropt 
     1094    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1095    case $ac_user_opts in 
     1096      *" 
     1097"with_$ac_useropt" 
     1098"*) ;; 
     1099      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
     1100         ac_unrecognized_sep=', ';; 
     1101    esac 
     1102    eval with_$ac_useropt=\$ac_optarg ;; 
    10691103 
    10701104  -without-* | --without-*) 
    1071     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1105    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10721106    # Reject names that are not valid shell variable names. 
    1073     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1074       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1075    { (exit 1); exit 1; }; } 
    1076     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1077     eval with_$ac_package=no ;; 
     1107    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1108      as_fn_error "invalid package name: $ac_useropt" 
     1109    ac_useropt_orig=$ac_useropt 
     1110    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1111    case $ac_user_opts in 
     1112      *" 
     1113"with_$ac_useropt" 
     1114"*) ;; 
     1115      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
     1116         ac_unrecognized_sep=', ';; 
     1117    esac 
     1118    eval with_$ac_useropt=no ;; 
    10781119 
    10791120  --x) 
     
    10951136    x_libraries=$ac_optarg ;; 
    10961137 
    1097   -*) { echo "$as_me: error: unrecognized option: $ac_option 
    1098 Try \`$0 --help' for more information." >&2 
    1099    { (exit 1); exit 1; }; } 
     1138  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1139Try \`$0 --help' for more information." 
    11001140    ;; 
    11011141 
     
    11031143    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11041144    # Reject names that are not valid shell variable names. 
    1105     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1106       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1107    { (exit 1); exit 1; }; } 
     1145    case $ac_envvar in #( 
     1146      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1147      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1148    esac 
    11081149    eval $ac_envvar=\$ac_optarg 
    11091150    export $ac_envvar ;; 
     
    11111152  *) 
    11121153    # FIXME: should be removed in autoconf 3.0. 
    1113     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1154    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11141155    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1115       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1156      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11161157    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11171158    ;; 
     
    11221163if test -n "$ac_prev"; then 
    11231164  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1124   { echo "$as_me: error: missing argument to $ac_option" >&2 
    1125    { (exit 1); exit 1; }; } 
    1126 fi 
    1127  
    1128 # Be sure to have absolute directory names. 
     1165  as_fn_error "missing argument to $ac_option" 
     1166fi 
     1167 
     1168if test -n "$ac_unrecognized_opts"; then 
     1169  case $enable_option_checking in 
     1170    no) ;; 
     1171    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1172    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1173  esac 
     1174fi 
     1175 
     1176# Check all directory arguments for consistency. 
    11291177for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11301178                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11331181do 
    11341182  eval ac_val=\$$ac_var 
     1183  # Remove trailing slashes. 
     1184  case $ac_val in 
     1185    */ ) 
     1186      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
     1187      eval $ac_var=\$ac_val;; 
     1188  esac 
     1189  # Be sure to have absolute directory names. 
    11351190  case $ac_val in 
    11361191    [\\/$]* | ?:[\\/]* )  continue;; 
    11371192    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11381193  esac 
    1139   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1140    { (exit 1); exit 1; }; } 
     1194  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    11411195done 
    11421196 
     
    11521206  if test "x$build_alias" = x; then 
    11531207    cross_compiling=maybe 
    1154     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1208    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11551209    If a cross compiler is detected then cross compile mode will be used." >&2 
    11561210  elif test "x$build_alias" != "x$host_alias"; then 
     
    11681222ac_ls_di=`ls -di .` && 
    11691223ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1170   { echo "$as_me: error: Working directory cannot be determined" >&2 
    1171    { (exit 1); exit 1; }; } 
     1224  as_fn_error "working directory cannot be determined" 
    11721225test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1173   { echo "$as_me: error: pwd does not report name of working directory" >&2 
    1174    { (exit 1); exit 1; }; } 
     1226  as_fn_error "pwd does not report name of working directory" 
    11751227 
    11761228 
     
    11791231  ac_srcdir_defaulted=yes 
    11801232  # Try the directory containing this script, then the parent directory. 
    1181   ac_confdir=`$as_dirname -- "$0" || 
    1182 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1183          X"$0" : 'X\(//\)[^/]' \| \ 
    1184          X"$0" : 'X\(//\)$' \| \ 
    1185          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    1186 echo X"$0" | 
     1233  ac_confdir=`$as_dirname -- "$as_myself" || 
     1234$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1235         X"$as_myself" : 'X\(//\)[^/]' \| \ 
     1236         X"$as_myself" : 'X\(//\)$' \| \ 
     1237         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
     1238$as_echo X"$as_myself" | 
    11871239    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    11881240            s//\1/ 
     
    12111263if test ! -r "$srcdir/$ac_unique_file"; then 
    12121264  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1213   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1214    { (exit 1); exit 1; }; } 
     1265  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12151266fi 
    12161267ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12171268ac_abs_confdir=`( 
    1218         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    1219    { (exit 1); exit 1; }; } 
     1269        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12201270        pwd)` 
    12211271# When building in place, set srcdir=. 
     
    12651315Installation directories: 
    12661316  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1267                           [$ac_default_prefix] 
     1317                          [$ac_default_prefix] 
    12681318  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1269                           [PREFIX] 
     1319                          [PREFIX] 
    12701320 
    12711321By default, \`make install' will install all the files in 
     
    12771327 
    12781328Fine tuning of the installation directories: 
    1279   --bindir=DIR           user executables [EPREFIX/bin] 
    1280   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    1281   --libexecdir=DIR       program executables [EPREFIX/libexec] 
    1282   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    1283   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    1284   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    1285   --libdir=DIR           object code libraries [EPREFIX/lib] 
    1286   --includedir=DIR       C header files [PREFIX/include] 
    1287   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    1288   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    1289   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    1290   --infodir=DIR          info documentation [DATAROOTDIR/info] 
    1291   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    1292   --mandir=DIR           man documentation [DATAROOTDIR/man] 
    1293   --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
    1294   --htmldir=DIR          html documentation [DOCDIR] 
    1295   --dvidir=DIR           dvi documentation [DOCDIR] 
    1296   --pdfdir=DIR           pdf documentation [DOCDIR] 
    1297   --psdir=DIR            ps documentation [DOCDIR] 
     1329  --bindir=DIR            user executables [EPREFIX/bin] 
     1330  --sbindir=DIR           system admin executables [EPREFIX/sbin] 
     1331  --libexecdir=DIR        program executables [EPREFIX/libexec] 
     1332  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
     1333  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
     1334  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1335  --libdir=DIR            object code libraries [EPREFIX/lib] 
     1336  --includedir=DIR        C header files [PREFIX/include] 
     1337  --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
     1338  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
     1339  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
     1340  --infodir=DIR           info documentation [DATAROOTDIR/info] 
     1341  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
     1342  --mandir=DIR            man documentation [DATAROOTDIR/man] 
     1343  --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
     1344  --htmldir=DIR           html documentation [DOCDIR] 
     1345  --dvidir=DIR            dvi documentation [DOCDIR] 
     1346  --pdfdir=DIR            pdf documentation [DOCDIR] 
     1347  --psdir=DIR             ps documentation [DOCDIR] 
    12981348_ACEOF 
    12991349 
     
    13141364 
    13151365Optional Features: 
     1366  --disable-option-checking  ignore unrecognized --enable/--with options 
    13161367  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13171368  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    13751426              nonstandard directory <lib dir> 
    13761427  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1377   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
     1428  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
    13781429              you have headers in a nonstandard directory <include dir> 
    13791430  CXX         C++ compiler command 
     
    13841435it to find libraries and programs with nonstandard names/locations. 
    13851436 
     1437Report bugs to the package provider. 
    13861438_ACEOF 
    13871439ac_status=$? 
     
    13911443  # If there are subdirs, report their specific --help. 
    13921444  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1393     test -d "$ac_dir" || continue 
     1445    test -d "$ac_dir" || 
     1446      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
     1447      continue 
    13941448    ac_builddir=. 
    13951449 
     
    13971451.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    13981452*) 
    1399   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     1453  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    14001454  # A ".." for each directory in $ac_dir_suffix. 
    1401   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     1455  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    14021456  case $ac_top_builddir_sub in 
    14031457  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14351489      $SHELL "$ac_srcdir/configure" --help=recursive 
    14361490    else 
    1437       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1491      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14381492    fi || ac_status=$? 
    14391493    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14451499  cat <<\_ACEOF 
    14461500pjproject configure 1.x 
    1447 generated by GNU Autoconf 2.61 
    1448  
    1449 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1450 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     1501generated by GNU Autoconf 2.65 
     1502 
     1503Copyright (C) 2009 Free Software Foundation, Inc. 
    14511504This configure script is free software; the Free Software Foundation 
    14521505gives unlimited permission to copy, distribute and modify it. 
     
    14541507  exit 
    14551508fi 
     1509 
     1510## ------------------------ ## 
     1511## Autoconf initialization. ## 
     1512## ------------------------ ## 
     1513 
     1514# ac_fn_c_try_compile LINENO 
     1515# -------------------------- 
     1516# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1517ac_fn_c_try_compile () 
     1518{ 
     1519  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1520  rm -f conftest.$ac_objext 
     1521  if { { ac_try="$ac_compile" 
     1522case "(($ac_try" in 
     1523  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1524  *) ac_try_echo=$ac_try;; 
     1525esac 
     1526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1527$as_echo "$ac_try_echo"; } >&5 
     1528  (eval "$ac_compile") 2>conftest.err 
     1529  ac_status=$? 
     1530  if test -s conftest.err; then 
     1531    grep -v '^ *+' conftest.err >conftest.er1 
     1532    cat conftest.er1 >&5 
     1533    mv -f conftest.er1 conftest.err 
     1534  fi 
     1535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1536  test $ac_status = 0; } && { 
     1537         test -z "$ac_c_werror_flag" || 
     1538         test ! -s conftest.err 
     1539       } && test -s conftest.$ac_objext; then : 
     1540  ac_retval=0 
     1541else 
     1542  $as_echo "$as_me: failed program was:" >&5 
     1543sed 's/^/| /' conftest.$ac_ext >&5 
     1544 
     1545        ac_retval=1 
     1546fi 
     1547  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1548  as_fn_set_status $ac_retval 
     1549 
     1550} # ac_fn_c_try_compile 
     1551 
     1552# ac_fn_cxx_try_compile LINENO 
     1553# ---------------------------- 
     1554# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1555ac_fn_cxx_try_compile () 
     1556{ 
     1557  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1558  rm -f conftest.$ac_objext 
     1559  if { { ac_try="$ac_compile" 
     1560case "(($ac_try" in 
     1561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1562  *) ac_try_echo=$ac_try;; 
     1563esac 
     1564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1565$as_echo "$ac_try_echo"; } >&5 
     1566  (eval "$ac_compile") 2>conftest.err 
     1567  ac_status=$? 
     1568  if test -s conftest.err; then 
     1569    grep -v '^ *+' conftest.err >conftest.er1 
     1570    cat conftest.er1 >&5 
     1571    mv -f conftest.er1 conftest.err 
     1572  fi 
     1573  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1574  test $ac_status = 0; } && { 
     1575         test -z "$ac_cxx_werror_flag" || 
     1576         test ! -s conftest.err 
     1577       } && test -s conftest.$ac_objext; then : 
     1578  ac_retval=0 
     1579else 
     1580  $as_echo "$as_me: failed program was:" >&5 
     1581sed 's/^/| /' conftest.$ac_ext >&5 
     1582 
     1583        ac_retval=1 
     1584fi 
     1585  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1586  as_fn_set_status $ac_retval 
     1587 
     1588} # ac_fn_cxx_try_compile 
     1589 
     1590# ac_fn_c_try_link LINENO 
     1591# ----------------------- 
     1592# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1593ac_fn_c_try_link () 
     1594{ 
     1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1596  rm -f conftest.$ac_objext conftest$ac_exeext 
     1597  if { { ac_try="$ac_link" 
     1598case "(($ac_try" in 
     1599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1600  *) ac_try_echo=$ac_try;; 
     1601esac 
     1602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1603$as_echo "$ac_try_echo"; } >&5 
     1604  (eval "$ac_link") 2>conftest.err 
     1605  ac_status=$? 
     1606  if test -s conftest.err; then 
     1607    grep -v '^ *+' conftest.err >conftest.er1 
     1608    cat conftest.er1 >&5 
     1609    mv -f conftest.er1 conftest.err 
     1610  fi 
     1611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1612  test $ac_status = 0; } && { 
     1613         test -z "$ac_c_werror_flag" || 
     1614         test ! -s conftest.err 
     1615       } && test -s conftest$ac_exeext && { 
     1616         test "$cross_compiling" = yes || 
     1617         $as_test_x conftest$ac_exeext 
     1618       }; then : 
     1619  ac_retval=0 
     1620else 
     1621  $as_echo "$as_me: failed program was:" >&5 
     1622sed 's/^/| /' conftest.$ac_ext >&5 
     1623 
     1624        ac_retval=1 
     1625fi 
     1626  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1627  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1628  # interfere with the next link command; also delete a directory that is 
     1629  # left behind by Apple's compiler.  We do this before executing the actions. 
     1630  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1631  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1632  as_fn_set_status $ac_retval 
     1633 
     1634} # ac_fn_c_try_link 
     1635 
     1636# ac_fn_c_try_run LINENO 
     1637# ---------------------- 
     1638# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1639# that executables *can* be run. 
     1640ac_fn_c_try_run () 
     1641{ 
     1642  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1643  if { { ac_try="$ac_link" 
     1644case "(($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_link") 2>&5 
     1651  ac_status=$? 
     1652  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1653  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1654  { { case "(($ac_try" in 
     1655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1656  *) ac_try_echo=$ac_try;; 
     1657esac 
     1658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1659$as_echo "$ac_try_echo"; } >&5 
     1660  (eval "$ac_try") 2>&5 
     1661  ac_status=$? 
     1662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1663  test $ac_status = 0; }; }; then : 
     1664  ac_retval=0 
     1665else 
     1666  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1667       $as_echo "$as_me: failed program was:" >&5 
     1668sed 's/^/| /' conftest.$ac_ext >&5 
     1669 
     1670       ac_retval=$ac_status 
     1671fi 
     1672  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1673  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1674  as_fn_set_status $ac_retval 
     1675 
     1676} # ac_fn_c_try_run 
     1677 
     1678# ac_fn_c_try_cpp LINENO 
     1679# ---------------------- 
     1680# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1681ac_fn_c_try_cpp () 
     1682{ 
     1683  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1684  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1685case "(($ac_try" in 
     1686  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1687  *) ac_try_echo=$ac_try;; 
     1688esac 
     1689eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1690$as_echo "$ac_try_echo"; } >&5 
     1691  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1692  ac_status=$? 
     1693  if test -s conftest.err; then 
     1694    grep -v '^ *+' conftest.err >conftest.er1 
     1695    cat conftest.er1 >&5 
     1696    mv -f conftest.er1 conftest.err 
     1697  fi 
     1698  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1699  test $ac_status = 0; } >/dev/null && { 
     1700         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1701         test ! -s conftest.err 
     1702       }; then : 
     1703  ac_retval=0 
     1704else 
     1705  $as_echo "$as_me: failed program was:" >&5 
     1706sed 's/^/| /' conftest.$ac_ext >&5 
     1707 
     1708    ac_retval=1 
     1709fi 
     1710  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1711  as_fn_set_status $ac_retval 
     1712 
     1713} # ac_fn_c_try_cpp 
     1714 
     1715# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1716# ------------------------------------------------------- 
     1717# Tests whether HEADER exists and can be compiled using the include files in 
     1718# INCLUDES, setting the cache variable VAR accordingly. 
     1719ac_fn_c_check_header_compile () 
     1720{ 
     1721  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1723$as_echo_n "checking for $2... " >&6; } 
     1724if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1725  $as_echo_n "(cached) " >&6 
     1726else 
     1727  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1728/* end confdefs.h.  */ 
     1729$4 
     1730#include <$2> 
     1731_ACEOF 
     1732if ac_fn_c_try_compile "$LINENO"; then : 
     1733  eval "$3=yes" 
     1734else 
     1735  eval "$3=no" 
     1736fi 
     1737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1738fi 
     1739eval ac_res=\$$3 
     1740               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1741$as_echo "$ac_res" >&6; } 
     1742  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1743 
     1744} # ac_fn_c_check_header_compile 
     1745 
     1746# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1747# ------------------------------------------------------- 
     1748# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1749# the include files in INCLUDES and setting the cache variable VAR 
     1750# accordingly. 
     1751ac_fn_c_check_header_mongrel () 
     1752{ 
     1753  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1754  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1756$as_echo_n "checking for $2... " >&6; } 
     1757if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1758  $as_echo_n "(cached) " >&6 
     1759fi 
     1760eval ac_res=\$$3 
     1761               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1762$as_echo "$ac_res" >&6; } 
     1763else 
     1764  # Is the header compilable? 
     1765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1766$as_echo_n "checking $2 usability... " >&6; } 
     1767cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1768/* end confdefs.h.  */ 
     1769$4 
     1770#include <$2> 
     1771_ACEOF 
     1772if ac_fn_c_try_compile "$LINENO"; then : 
     1773  ac_header_compiler=yes 
     1774else 
     1775  ac_header_compiler=no 
     1776fi 
     1777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1779$as_echo "$ac_header_compiler" >&6; } 
     1780 
     1781# Is the header present? 
     1782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1783$as_echo_n "checking $2 presence... " >&6; } 
     1784cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1785/* end confdefs.h.  */ 
     1786#include <$2> 
     1787_ACEOF 
     1788if ac_fn_c_try_cpp "$LINENO"; then : 
     1789  ac_header_preproc=yes 
     1790else 
     1791  ac_header_preproc=no 
     1792fi 
     1793rm -f conftest.err conftest.$ac_ext 
     1794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1795$as_echo "$ac_header_preproc" >&6; } 
     1796 
     1797# So?  What about this header? 
     1798case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1799  yes:no: ) 
     1800    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1801$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1802    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1803$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1804    ;; 
     1805  no:yes:* ) 
     1806    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1807$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1808    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1809$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1810    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1811$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1812    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1813$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1814    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1815$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1816    ;; 
     1817esac 
     1818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1819$as_echo_n "checking for $2... " >&6; } 
     1820if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1821  $as_echo_n "(cached) " >&6 
     1822else 
     1823  eval "$3=\$ac_header_compiler" 
     1824fi 
     1825eval ac_res=\$$3 
     1826               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1827$as_echo "$ac_res" >&6; } 
     1828fi 
     1829  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1830 
     1831} # ac_fn_c_check_header_mongrel 
     1832 
     1833# ac_fn_c_check_func LINENO FUNC VAR 
     1834# ---------------------------------- 
     1835# Tests whether FUNC exists, setting the cache variable VAR accordingly 
     1836ac_fn_c_check_func () 
     1837{ 
     1838  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1840$as_echo_n "checking for $2... " >&6; } 
     1841if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1842  $as_echo_n "(cached) " >&6 
     1843else 
     1844  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1845/* end confdefs.h.  */ 
     1846/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
     1847   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     1848#define $2 innocuous_$2 
     1849 
     1850/* System header to define __stub macros and hopefully few prototypes, 
     1851    which can conflict with char $2 (); below. 
     1852    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     1853    <limits.h> exists even on freestanding compilers.  */ 
     1854 
     1855#ifdef __STDC__ 
     1856# include <limits.h> 
     1857#else 
     1858# include <assert.h> 
     1859#endif 
     1860 
     1861#undef $2 
     1862 
     1863/* Override any GCC internal prototype to avoid an error. 
     1864   Use char because int might match the return type of a GCC 
     1865   builtin and then its argument prototype would still apply.  */ 
     1866#ifdef __cplusplus 
     1867extern "C" 
     1868#endif 
     1869char $2 (); 
     1870/* The GNU C library defines this for functions which it implements 
     1871    to always fail with ENOSYS.  Some functions are actually named 
     1872    something starting with __ and the normal name is an alias.  */ 
     1873#if defined __stub_$2 || defined __stub___$2 
     1874choke me 
     1875#endif 
     1876 
     1877int 
     1878main () 
     1879{ 
     1880return $2 (); 
     1881  ; 
     1882  return 0; 
     1883} 
     1884_ACEOF 
     1885if ac_fn_c_try_link "$LINENO"; then : 
     1886  eval "$3=yes" 
     1887else 
     1888  eval "$3=no" 
     1889fi 
     1890rm -f core conftest.err conftest.$ac_objext \ 
     1891    conftest$ac_exeext conftest.$ac_ext 
     1892fi 
     1893eval ac_res=\$$3 
     1894               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1895$as_echo "$ac_res" >&6; } 
     1896  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1897 
     1898} # ac_fn_c_check_func 
    14561899cat >config.log <<_ACEOF 
    14571900This file contains any messages produced by compilers while 
     
    14591902 
    14601903It was created by pjproject $as_me 1.x, which was 
    1461 generated by GNU Autoconf 2.61.  Invocation command line was 
     1904generated by GNU Autoconf 2.65.  Invocation command line was 
    14621905 
    14631906  $ $0 $@ 
     
    14951938  IFS=$as_save_IFS 
    14961939  test -z "$as_dir" && as_dir=. 
    1497   echo "PATH: $as_dir" 
    1498 done 
     1940    $as_echo "PATH: $as_dir" 
     1941  done 
    14991942IFS=$as_save_IFS 
    15001943 
     
    15301973      continue ;; 
    15311974    *\'*) 
    1532       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1975      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    15331976    esac 
    15341977    case $ac_pass in 
    1535     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1978    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15361979    2) 
    1537       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1980      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15381981      if test $ac_must_keep_next = true; then 
    15391982        ac_must_keep_next=false # Got value, back to normal. 
     
    15511994        esac 
    15521995      fi 
    1553       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1996      as_fn_append ac_configure_args " '$ac_arg'" 
    15541997      ;; 
    15551998    esac 
    15561999  done 
    15572000done 
    1558 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1559 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     2001{ ac_configure_args0=; unset ac_configure_args0;} 
     2002{ ac_configure_args1=; unset ac_configure_args1;} 
    15602003 
    15612004# When interrupted or exit'd, cleanup temporary files, and complete 
     
    15822025    *${as_nl}*) 
    15832026      case $ac_var in #( 
    1584       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     2027      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     2028$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    15862029      esac 
    15872030      case $ac_var in #( 
    15882031      _ | IFS | as_nl) ;; #( 
    1589       *) $as_unset $ac_var ;; 
     2032      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     2033      *) { eval $ac_var=; unset $ac_var;} ;; 
    15902034      esac ;; 
    15912035    esac 
     
    16162060      eval ac_val=\$$ac_var 
    16172061      case $ac_val in 
    1618       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2062      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16192063      esac 
    1620       echo "$ac_var='\''$ac_val'\''" 
     2064      $as_echo "$ac_var='\''$ac_val'\''" 
    16212065    done | sort 
    16222066    echo 
     
    16332077        eval ac_val=\$$ac_var 
    16342078        case $ac_val in 
    1635         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2079        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16362080        esac 
    1637         echo "$ac_var='\''$ac_val'\''" 
     2081        $as_echo "$ac_var='\''$ac_val'\''" 
    16382082      done | sort 
    16392083      echo 
     
    16512095    fi 
    16522096    test "$ac_signal" != 0 && 
    1653       echo "$as_me: caught signal $ac_signal" 
    1654     echo "$as_me: exit $exit_status" 
     2097      $as_echo "$as_me: caught signal $ac_signal" 
     2098    $as_echo "$as_me: exit $exit_status" 
    16552099  } >&5 
    16562100  rm -f core *.core core.conftest.* && 
     
    16592103' 0 
    16602104for ac_signal in 1 2 13 15; do 
    1661   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     2105  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    16622106done 
    16632107ac_signal=0 
     
    16662110rm -f -r conftest* confdefs.h 
    16672111 
     2112$as_echo "/* confdefs.h */" > confdefs.h 
     2113 
    16682114# Predefined preprocessor variables. 
    16692115 
     
    16722118_ACEOF 
    16732119 
    1674  
    16752120cat >>confdefs.h <<_ACEOF 
    16762121#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    16772122_ACEOF 
    16782123 
    1679  
    16802124cat >>confdefs.h <<_ACEOF 
    16812125#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    16822126_ACEOF 
    16832127 
    1684  
    16852128cat >>confdefs.h <<_ACEOF 
    16862129#define PACKAGE_STRING "$PACKAGE_STRING" 
    16872130_ACEOF 
    16882131 
    1689  
    16902132cat >>confdefs.h <<_ACEOF 
    16912133#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    16922134_ACEOF 
    16932135 
     2136cat >>confdefs.h <<_ACEOF 
     2137#define PACKAGE_URL "$PACKAGE_URL" 
     2138_ACEOF 
     2139 
    16942140 
    16952141# Let the site file select an alternate cache file if it wants to. 
    1696 # Prefer explicitly selected file to automatically selected ones. 
     2142# Prefer an explicitly selected file to automatically selected ones. 
     2143ac_site_file1=NONE 
     2144ac_site_file2=NONE 
    16972145if test -n "$CONFIG_SITE"; then 
    1698   set x "$CONFIG_SITE" 
     2146  ac_site_file1=$CONFIG_SITE 
    16992147elif test "x$prefix" != xNONE; then 
    1700   set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    1701 else 
    1702   set x "$ac_default_prefix/share/config.site" \ 
    1703         "$ac_default_prefix/etc/config.site" 
    1704 fi 
    1705 shift 
    1706 for ac_site_file 
     2148  ac_site_file1=$prefix/share/config.site 
     2149  ac_site_file2=$prefix/etc/config.site 
     2150else 
     2151  ac_site_file1=$ac_default_prefix/share/config.site 
     2152  ac_site_file2=$ac_default_prefix/etc/config.site 
     2153fi 
     2154for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
    17072155do 
    1708   if test -r "$ac_site_file"; then 
    1709     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    1710 echo "$as_me: loading site script $ac_site_file" >&6;} 
     2156  test "x$ac_site_file" = xNONE && continue 
     2157  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
     2158    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
     2159$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17112160    sed 's/^/| /' "$ac_site_file" >&5 
    17122161    . "$ac_site_file" 
     
    17152164 
    17162165if test -r "$cache_file"; then 
    1717   # Some versions of bash will fail to source /dev/null (special 
    1718   # files actually), so we avoid doing that. 
    1719   if test -f "$cache_file"; then 
    1720     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    1721 echo "$as_me: loading cache $cache_file" >&6;} 
     2166  # Some versions of bash will fail to source /dev/null (special files 
     2167  # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
     2168  if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
     2169    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
     2170$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17222171    case $cache_file in 
    17232172      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    17262175  fi 
    17272176else 
    1728   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    1729 echo "$as_me: creating cache $cache_file" >&6;} 
     2177  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
     2178$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17302179  >$cache_file 
    17312180fi 
     
    17412190  case $ac_old_set,$ac_new_set in 
    17422191    set,) 
    1743       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1744 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     2192      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2193$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17452194      ac_cache_corrupted=: ;; 
    17462195    ,set) 
    1747       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    1748 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     2196      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
     2197$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17492198      ac_cache_corrupted=: ;; 
    17502199    ,);; 
    17512200    *) 
    17522201      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1753         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    1754 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1755         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    1756 echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1757         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    1758 echo "$as_me:   current value: $ac_new_val" >&2;} 
    1759         ac_cache_corrupted=: 
     2202        # differences in whitespace do not lead to failure. 
     2203        ac_old_val_w=`echo x $ac_old_val` 
     2204        ac_new_val_w=`echo x $ac_new_val` 
     2205        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
     2206          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
     2207$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     2208          ac_cache_corrupted=: 
     2209        else 
     2210          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2211$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
     2212          eval $ac_var=\$ac_old_val 
     2213        fi 
     2214        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
     2215$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
     2216        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
     2217$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    17602218      fi;; 
    17612219  esac 
     
    17632221  if test "$ac_new_set" = set; then 
    17642222    case $ac_new_val in 
    1765     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     2223    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    17662224    *) ac_arg=$ac_var=$ac_new_val ;; 
    17672225    esac 
    17682226    case " $ac_configure_args " in 
    17692227      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1770       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2228      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    17712229    esac 
    17722230  fi 
    17732231done 
    17742232if $ac_cache_corrupted; then 
    1775   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    1776 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1777   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1778 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1779    { (exit 1); exit 1; }; } 
    1780 fi 
    1781  
    1782  
    1783  
    1784  
    1785  
    1786  
    1787  
    1788  
    1789  
    1790  
    1791  
    1792  
    1793  
    1794  
    1795  
    1796  
    1797  
    1798  
    1799  
    1800  
    1801  
    1802  
    1803  
    1804  
     2233  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2235  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
     2236$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     2237  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2238fi 
     2239## -------------------- ## 
     2240## Main body of script. ## 
     2241## -------------------- ## 
    18052242 
    18062243ac_ext=c 
     
    18162253ac_aux_dir= 
    18172254for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1818   if test -f "$ac_dir/install-sh"; then 
    1819     ac_aux_dir=$ac_dir 
    1820     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1821     break 
    1822   elif test -f "$ac_dir/install.sh"; then 
    1823     ac_aux_dir=$ac_dir 
    1824     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1825     break 
    1826   elif test -f "$ac_dir/shtool"; then 
    1827     ac_aux_dir=$ac_dir 
    1828     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1829     break 
    1830   fi 
     2255  for ac_t in install-sh install.sh shtool; do 
     2256    if test -f "$ac_dir/$ac_t"; then 
     2257      ac_aux_dir=$ac_dir 
     2258      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2259      break 2 
     2260    fi 
     2261  done 
    18312262done 
    18322263if test -z "$ac_aux_dir"; then 
    1833   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1834 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1835    { (exit 1); exit 1; }; } 
     2264  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18362265fi 
    18372266 
     
    18472276# Make sure we can run config.sub. 
    18482277$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1849   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1850 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1851    { (exit 1); exit 1; }; } 
    1852  
    1853 { echo "$as_me:$LINENO: checking build system type" >&5 
    1854 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    1855 if test "${ac_cv_build+set}" = set; then 
    1856   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2278  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2279 
     2280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     2281$as_echo_n "checking build system type... " >&6; } 
     2282if test "${ac_cv_build+set}" = set; then : 
     2283  $as_echo_n "(cached) " >&6 
    18572284else 
    18582285  ac_build_alias=$build_alias 
     
    18602287  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    18612288test "x$ac_build_alias" = x && 
    1862   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1863 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1864    { (exit 1); exit 1; }; } 
     2289  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    18652290ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1866   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1867 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1868    { (exit 1); exit 1; }; } 
    1869  
    1870 fi 
    1871 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    1872 echo "${ECHO_T}$ac_cv_build" >&6; } 
     2291  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2292 
     2293fi 
     2294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
     2295$as_echo "$ac_cv_build" >&6; } 
    18732296case $ac_cv_build in 
    18742297*-*-*) ;; 
    1875 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1876 echo "$as_me: error: invalid value of canonical build" >&2;} 
    1877    { (exit 1); exit 1; }; };; 
     2298*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    18782299esac 
    18792300build=$ac_cv_build 
     
    18912312 
    18922313 
    1893 { echo "$as_me:$LINENO: checking host system type" >&5 
    1894 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    1895 if test "${ac_cv_host+set}" = set; then 
    1896   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
     2315$as_echo_n "checking host system type... " >&6; } 
     2316if test "${ac_cv_host+set}" = set; then : 
     2317  $as_echo_n "(cached) " >&6 
    18972318else 
    18982319  if test "x$host_alias" = x; then 
     
    19002321else 
    19012322  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1902     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1904    { (exit 1); exit 1; }; } 
    1905 fi 
    1906  
    1907 fi 
    1908 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    1909 echo "${ECHO_T}$ac_cv_host" >&6; } 
     2323    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2324fi 
     2325 
     2326fi 
     2327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
     2328$as_echo "$ac_cv_host" >&6; } 
    19102329case $ac_cv_host in 
    19112330*-*-*) ;; 
    1912 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1913 echo "$as_me: error: invalid value of canonical host" >&2;} 
    1914    { (exit 1); exit 1; }; };; 
     2331*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19152332esac 
    19162333host=$ac_cv_host 
     
    19282345 
    19292346 
    1930 { echo "$as_me:$LINENO: checking target system type" >&5 
    1931 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    1932 if test "${ac_cv_target+set}" = set; then 
    1933   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
     2348$as_echo_n "checking target system type... " >&6; } 
     2349if test "${ac_cv_target+set}" = set; then : 
     2350  $as_echo_n "(cached) " >&6 
    19342351else 
    19352352  if test "x$target_alias" = x; then 
     
    19372354else 
    19382355  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1939     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1940 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    1941    { (exit 1); exit 1; }; } 
    1942 fi 
    1943  
    1944 fi 
    1945 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    1946 echo "${ECHO_T}$ac_cv_target" >&6; } 
     2356    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2357fi 
     2358 
     2359fi 
     2360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
     2361$as_echo "$ac_cv_target" >&6; } 
    19472362case $ac_cv_target in 
    19482363*-*-*) ;; 
    1949 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    1950 echo "$as_me: error: invalid value of canonical target" >&2;} 
    1951    { (exit 1); exit 1; }; };; 
     2364*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    19522365esac 
    19532366target=$ac_cv_target 
     
    19932406  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    19942407set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1995 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    1997 if test "${ac_cv_prog_CC+set}" = set; then 
    1998   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2409$as_echo_n "checking for $ac_word... " >&6; } 
     2410if test "${ac_cv_prog_CC+set}" = set; then : 
     2411  $as_echo_n "(cached) " >&6 
    19992412else 
    20002413  if test -n "$CC"; then 
     
    20062419  IFS=$as_save_IFS 
    20072420  test -z "$as_dir" && as_dir=. 
    2008   for ac_exec_ext in '' $ac_executable_extensions; do 
     2421    for ac_exec_ext in '' $ac_executable_extensions; do 
    20092422  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20102423    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2011     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2424    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20122425    break 2 
    20132426  fi 
    20142427done 
    2015 done 
     2428  done 
    20162429IFS=$as_save_IFS 
    20172430 
     
    20202433CC=$ac_cv_prog_CC 
    20212434if test -n "$CC"; then 
    2022   { echo "$as_me:$LINENO: result: $CC" >&5 
    2023 echo "${ECHO_T}$CC" >&6; } 
    2024 else 
    2025   { echo "$as_me:$LINENO: result: no" >&5 
    2026 echo "${ECHO_T}no" >&6; } 
     2435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2436$as_echo "$CC" >&6; } 
     2437else 
     2438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2439$as_echo "no" >&6; } 
    20272440fi 
    20282441 
     
    20332446  # Extract the first word of "gcc", so it can be a program name with args. 
    20342447set dummy gcc; ac_word=$2 
    2035 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2037 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2038   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2449$as_echo_n "checking for $ac_word... " >&6; } 
     2450if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2451  $as_echo_n "(cached) " >&6 
    20392452else 
    20402453  if test -n "$ac_ct_CC"; then 
     
    20462459  IFS=$as_save_IFS 
    20472460  test -z "$as_dir" && as_dir=. 
    2048   for ac_exec_ext in '' $ac_executable_extensions; do 
     2461    for ac_exec_ext in '' $ac_executable_extensions; do 
    20492462  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20502463    ac_cv_prog_ac_ct_CC="gcc" 
    2051     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2464    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20522465    break 2 
    20532466  fi 
    20542467done 
    2055 done 
     2468  done 
    20562469IFS=$as_save_IFS 
    20572470 
     
    20602473ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    20612474if test -n "$ac_ct_CC"; then 
    2062   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2063 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2064 else 
    2065   { echo "$as_me:$LINENO: result: no" >&5 
    2066 echo "${ECHO_T}no" >&6; } 
     2475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2476$as_echo "$ac_ct_CC" >&6; } 
     2477else 
     2478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2479$as_echo "no" >&6; } 
    20672480fi 
    20682481 
     
    20722485    case $cross_compiling:$ac_tool_warned in 
    20732486yes:) 
    2074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2075 whose name does not start with the host triplet.  If you think this 
    2076 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2078 whose name does not start with the host triplet.  If you think this 
    2079 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2487{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2488$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    20802489ac_tool_warned=yes ;; 
    20812490esac 
     
    20902499    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    20912500set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2092 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2094 if test "${ac_cv_prog_CC+set}" = set; then 
    2095   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2502$as_echo_n "checking for $ac_word... " >&6; } 
     2503if test "${ac_cv_prog_CC+set}" = set; then : 
     2504  $as_echo_n "(cached) " >&6 
    20962505else 
    20972506  if test -n "$CC"; then 
     
    21032512  IFS=$as_save_IFS 
    21042513  test -z "$as_dir" && as_dir=. 
    2105   for ac_exec_ext in '' $ac_executable_extensions; do 
     2514    for ac_exec_ext in '' $ac_executable_extensions; do 
    21062515  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21072516    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2108     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21092518    break 2 
    21102519  fi 
    21112520done 
    2112 done 
     2521  done 
    21132522IFS=$as_save_IFS 
    21142523 
     
    21172526CC=$ac_cv_prog_CC 
    21182527if test -n "$CC"; then 
    2119   { echo "$as_me:$LINENO: result: $CC" >&5 
    2120 echo "${ECHO_T}$CC" >&6; } 
    2121 else 
    2122   { echo "$as_me:$LINENO: result: no" >&5 
    2123 echo "${ECHO_T}no" >&6; } 
     2528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2529$as_echo "$CC" >&6; } 
     2530else 
     2531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2532$as_echo "no" >&6; } 
    21242533fi 
    21252534 
     
    21302539  # Extract the first word of "cc", so it can be a program name with args. 
    21312540set dummy cc; ac_word=$2 
    2132 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2134 if test "${ac_cv_prog_CC+set}" = set; then 
    2135   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2542$as_echo_n "checking for $ac_word... " >&6; } 
     2543if test "${ac_cv_prog_CC+set}" = set; then : 
     2544  $as_echo_n "(cached) " >&6 
    21362545else 
    21372546  if test -n "$CC"; then 
     
    21442553  IFS=$as_save_IFS 
    21452554  test -z "$as_dir" && as_dir=. 
    2146   for ac_exec_ext in '' $ac_executable_extensions; do 
     2555    for ac_exec_ext in '' $ac_executable_extensions; do 
    21472556  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21482557    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    21512560     fi 
    21522561    ac_cv_prog_CC="cc" 
    2153     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2562    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21542563    break 2 
    21552564  fi 
    21562565done 
    2157 done 
     2566  done 
    21582567IFS=$as_save_IFS 
    21592568 
     
    21742583CC=$ac_cv_prog_CC 
    21752584if test -n "$CC"; then 
    2176   { echo "$as_me:$LINENO: result: $CC" >&5 
    2177 echo "${ECHO_T}$CC" >&6; } 
    2178 else 
    2179   { echo "$as_me:$LINENO: result: no" >&5 
    2180 echo "${ECHO_T}no" >&6; } 
     2585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2586$as_echo "$CC" >&6; } 
     2587else 
     2588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2589$as_echo "no" >&6; } 
    21812590fi 
    21822591 
     
    21892598    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    21902599set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2191 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2193 if test "${ac_cv_prog_CC+set}" = set; then 
    2194   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2601$as_echo_n "checking for $ac_word... " >&6; } 
     2602if test "${ac_cv_prog_CC+set}" = set; then : 
     2603  $as_echo_n "(cached) " >&6 
    21952604else 
    21962605  if test -n "$CC"; then 
     
    22022611  IFS=$as_save_IFS 
    22032612  test -z "$as_dir" && as_dir=. 
    2204   for ac_exec_ext in '' $ac_executable_extensions; do 
     2613    for ac_exec_ext in '' $ac_executable_extensions; do 
    22052614  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22062615    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2207     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22082617    break 2 
    22092618  fi 
    22102619done 
    2211 done 
     2620  done 
    22122621IFS=$as_save_IFS 
    22132622 
     
    22162625CC=$ac_cv_prog_CC 
    22172626if test -n "$CC"; then 
    2218   { echo "$as_me:$LINENO: result: $CC" >&5 
    2219 echo "${ECHO_T}$CC" >&6; } 
    2220 else 
    2221   { echo "$as_me:$LINENO: result: no" >&5 
    2222 echo "${ECHO_T}no" >&6; } 
     2627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2628$as_echo "$CC" >&6; } 
     2629else 
     2630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2631$as_echo "no" >&6; } 
    22232632fi 
    22242633 
     
    22332642  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22342643set dummy $ac_prog; ac_word=$2 
    2235 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2237 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2238   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2645$as_echo_n "checking for $ac_word... " >&6; } 
     2646if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2647  $as_echo_n "(cached) " >&6 
    22392648else 
    22402649  if test -n "$ac_ct_CC"; then 
     
    22462655  IFS=$as_save_IFS 
    22472656  test -z "$as_dir" && as_dir=. 
    2248   for ac_exec_ext in '' $ac_executable_extensions; do 
     2657    for ac_exec_ext in '' $ac_executable_extensions; do 
    22492658  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22502659    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2251     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2660    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22522661    break 2 
    22532662  fi 
    22542663done 
    2255 done 
     2664  done 
    22562665IFS=$as_save_IFS 
    22572666 
     
    22602669ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    22612670if test -n "$ac_ct_CC"; then 
    2262   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2263 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2264 else 
    2265   { echo "$as_me:$LINENO: result: no" >&5 
    2266 echo "${ECHO_T}no" >&6; } 
     2671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2672$as_echo "$ac_ct_CC" >&6; } 
     2673else 
     2674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2675$as_echo "no" >&6; } 
    22672676fi 
    22682677 
     
    22762685    case $cross_compiling:$ac_tool_warned in 
    22772686yes:) 
    2278 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2279 whose name does not start with the host triplet.  If you think this 
    2280 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2281 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2282 whose name does not start with the host triplet.  If you think this 
    2283 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    22842689ac_tool_warned=yes ;; 
    22852690esac 
     
    22912696 
    22922697 
    2293 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2294 See \`config.log' for more details." >&5 
    2295 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2296 See \`config.log' for more details." >&2;} 
    2297    { (exit 1); exit 1; }; } 
     2698test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2699$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2700as_fn_error "no acceptable C compiler found in \$PATH 
     2701See \`config.log' for more details." "$LINENO" 5; } 
    22982702 
    22992703# Provide some information about the compiler. 
    2300 echo "$as_me:$LINENO: checking for C compiler version" >&5 
    2301 ac_compiler=`set X $ac_compile; echo $2` 
    2302 { (ac_try="$ac_compiler --version >&5" 
     2704$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
     2705set X $ac_compile 
     2706ac_compiler=$2 
     2707for ac_option in --version -v -V -qversion; do 
     2708  { { ac_try="$ac_compiler $ac_option >&5" 
    23032709case "(($ac_try" in 
    23042710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23052711  *) ac_try_echo=$ac_try;; 
    23062712esac 
    2307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2308   (eval "$ac_compiler --version >&5") 2>&5 
     2713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2714$as_echo "$ac_try_echo"; } >&5 
     2715  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23092716  ac_status=$? 
    2310   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2311   (exit $ac_status); } 
    2312 { (ac_try="$ac_compiler -v >&5" 
     2717  if test -s conftest.err; then 
     2718    sed '10a\ 
     2719... rest of stderr output deleted ... 
     2720         10q' conftest.err >conftest.er1 
     2721    cat conftest.er1 >&5 
     2722  fi 
     2723  rm -f conftest.er1 conftest.err 
     2724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2725  test $ac_status = 0; } 
     2726done 
     2727 
     2728cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2729/* end confdefs.h.  */ 
     2730 
     2731int 
     2732main () 
     2733{ 
     2734 
     2735  ; 
     2736  return 0; 
     2737} 
     2738_ACEOF 
     2739ac_clean_files_save=$ac_clean_files 
     2740ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2741# Try to create an executable without -o first, disregard a.out. 
     2742# It will help us diagnose broken compilers, and finding out an intuition 
     2743# of exeext. 
     2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
     2745$as_echo_n "checking whether the C compiler works... " >&6; } 
     2746ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2747 
     2748# The possible output files: 
     2749ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
     2750 
     2751ac_rmfiles= 
     2752for ac_file in $ac_files 
     2753do 
     2754  case $ac_file in 
     2755    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2756    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
     2757  esac 
     2758done 
     2759rm -f $ac_rmfiles 
     2760 
     2761if { { ac_try="$ac_link_default" 
    23132762case "(($ac_try" in 
    23142763  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23152764  *) ac_try_echo=$ac_try;; 
    23162765esac 
    2317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2318   (eval "$ac_compiler -v >&5") 2>&5 
    2319   ac_status=$? 
    2320   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2321   (exit $ac_status); } 
    2322 { (ac_try="$ac_compiler -V >&5" 
    2323 case "(($ac_try" in 
    2324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2325   *) ac_try_echo=$ac_try;; 
    2326 esac 
    2327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2328   (eval "$ac_compiler -V >&5") 2>&5 
    2329   ac_status=$? 
    2330   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2331   (exit $ac_status); } 
    2332  
    2333 cat >conftest.$ac_ext <<_ACEOF 
    2334 /* confdefs.h.  */ 
    2335 _ACEOF 
    2336 cat confdefs.h >>conftest.$ac_ext 
    2337 cat >>conftest.$ac_ext <<_ACEOF 
    2338 /* end confdefs.h.  */ 
    2339  
    2340 int 
    2341 main () 
    2342 { 
    2343  
    2344   ; 
    2345   return 0; 
    2346 } 
    2347 _ACEOF 
    2348 ac_clean_files_save=$ac_clean_files 
    2349 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    2350 # Try to create an executable without -o first, disregard a.out. 
    2351 # It will help us diagnose broken compilers, and finding out an intuition 
    2352 # of exeext. 
    2353 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    2354 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
    2355 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2356 # 
    2357 # List of possible output files, starting from the most likely. 
    2358 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
    2359 # only as a last resort.  b.out is created by i960 compilers. 
    2360 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
    2361 # 
    2362 # The IRIX 6 linker writes into existing files which may not be 
    2363 # executable, retaining their permissions.  Remove them first so a 
    2364 # subsequent execution test works. 
    2365 ac_rmfiles= 
    2366 for ac_file in $ac_files 
    2367 do 
    2368   case $ac_file in 
    2369     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    2370     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    2371   esac 
    2372 done 
    2373 rm -f $ac_rmfiles 
    2374  
    2375 if { (ac_try="$ac_link_default" 
    2376 case "(($ac_try" in 
    2377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2378   *) ac_try_echo=$ac_try;; 
    2379 esac 
    2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2766eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2767$as_echo "$ac_try_echo"; } >&5 
    23812768  (eval "$ac_link_default") 2>&5 
    23822769  ac_status=$? 
    2383   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2384   (exit $ac_status); }; then 
     2770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2771  test $ac_status = 0; }; then : 
    23852772  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    23862773# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    23922779  test -f "$ac_file" || continue 
    23932780  case $ac_file in 
    2394     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
     2781    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
    23952782        ;; 
    23962783    [ab].out ) 
     
    23992786        break;; 
    24002787    *.* ) 
    2401         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2788        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    24022789        then :; else 
    24032790           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24182805  ac_file='' 
    24192806fi 
    2420  
    2421 { echo "$as_me:$LINENO: result: $ac_file" >&5 
    2422 echo "${ECHO_T}$ac_file" >&6; } 
    2423 if test -z "$ac_file"; then 
    2424   echo "$as_me: failed program was:" >&5 
     2807if test -z "$ac_file"; then : 
     2808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2809$as_echo "no" >&6; } 
     2810$as_echo "$as_me: failed program was:" >&5 
    24252811sed 's/^/| /' conftest.$ac_ext >&5 
    24262812 
    2427 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2428 See \`config.log' for more details." >&5 
    2429 echo "$as_me: error: C compiler cannot create executables 
    2430 See \`config.log' for more details." >&2;} 
    2431    { (exit 77); exit 77; }; } 
    2432 fi 
    2433  
     2813{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2815{ as_fn_set_status 77 
     2816as_fn_error "C compiler cannot create executables 
     2817See \`config.log' for more details." "$LINENO" 5; }; } 
     2818else 
     2819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     2820$as_echo "yes" >&6; } 
     2821fi 
     2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
     2823$as_echo_n "checking for C compiler default output file name... " >&6; } 
     2824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
     2825$as_echo "$ac_file" >&6; } 
    24342826ac_exeext=$ac_cv_exeext 
    24352827 
    2436 # Check that the compiler produces executables we can run.  If not, either 
    2437 # the compiler is broken, or we cross compile. 
    2438 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    2439 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
    2440 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    2441 # If not cross compiling, check that we can run a simple program. 
    2442 if test "$cross_compiling" != yes; then 
    2443   if { ac_try='./$ac_file' 
    2444   { (case "(($ac_try" in 
    2445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2446   *) ac_try_echo=$ac_try;; 
    2447 esac 
    2448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2449   (eval "$ac_try") 2>&5 
    2450   ac_status=$? 
    2451   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2452   (exit $ac_status); }; }; then 
    2453     cross_compiling=no 
    2454   else 
    2455     if test "$cross_compiling" = maybe; then 
    2456         cross_compiling=yes 
    2457     else 
    2458         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    2459 If you meant to cross compile, use \`--host'. 
    2460 See \`config.log' for more details." >&5 
    2461 echo "$as_me: error: cannot run C compiled programs. 
    2462 If you meant to cross compile, use \`--host'. 
    2463 See \`config.log' for more details." >&2;} 
    2464    { (exit 1); exit 1; }; } 
    2465     fi 
    2466   fi 
    2467 fi 
    2468 { echo "$as_me:$LINENO: result: yes" >&5 
    2469 echo "${ECHO_T}yes" >&6; } 
    2470  
    2471 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     2828rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
    24722829ac_clean_files=$ac_clean_files_save 
    2473 # Check that the compiler produces executables we can run.  If not, either 
    2474 # the compiler is broken, or we cross compile. 
    2475 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    2476 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
    2477 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    2478 echo "${ECHO_T}$cross_compiling" >&6; } 
    2479  
    2480 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    2481 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
    2482 if { (ac_try="$ac_link" 
     2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
     2831$as_echo_n "checking for suffix of executables... " >&6; } 
     2832if { { ac_try="$ac_link" 
    24832833case "(($ac_try" in 
    24842834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24852835  *) ac_try_echo=$ac_try;; 
    24862836esac 
    2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2837eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2838$as_echo "$ac_try_echo"; } >&5 
    24882839  (eval "$ac_link") 2>&5 
    24892840  ac_status=$? 
    2490   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2491   (exit $ac_status); }; then 
     2841  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2842  test $ac_status = 0; }; then : 
    24922843  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    24932844# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    24972848  test -f "$ac_file" || continue 
    24982849  case $ac_file in 
    2499     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
     2850    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
    25002851    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    25012852          break;; 
     
    25042855done 
    25052856else 
    2506   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2507 See \`config.log' for more details." >&5 
    2508 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2509 See \`config.log' for more details." >&2;} 
    2510    { (exit 1); exit 1; }; } 
    2511 fi 
    2512  
    2513 rm -f conftest$ac_cv_exeext 
    2514 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    2515 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
     2857  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2858$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2859as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2860See \`config.log' for more details." "$LINENO" 5; } 
     2861fi 
     2862rm -f conftest conftest$ac_cv_exeext 
     2863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
     2864$as_echo "$ac_cv_exeext" >&6; } 
    25162865 
    25172866rm -f conftest.$ac_ext 
    25182867EXEEXT=$ac_cv_exeext 
    25192868ac_exeext=$EXEEXT 
    2520 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    2521 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
    2522 if test "${ac_cv_objext+set}" = set; then 
    2523   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2524 else 
    2525   cat >conftest.$ac_ext <<_ACEOF 
    2526 /* confdefs.h.  */ 
    2527 _ACEOF 
    2528 cat confdefs.h >>conftest.$ac_ext 
    2529 cat >>conftest.$ac_ext <<_ACEOF 
     2869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25302870/* end confdefs.h.  */ 
    2531  
     2871#include <stdio.h> 
    25322872int 
    25332873main () 
    25342874{ 
     2875FILE *f = fopen ("conftest.out", "w"); 
     2876 return ferror (f) || fclose (f) != 0; 
    25352877 
    25362878  ; 
     
    25382880} 
    25392881_ACEOF 
    2540 rm -f conftest.o conftest.obj 
    2541 if { (ac_try="$ac_compile" 
     2882ac_clean_files="$ac_clean_files conftest.out" 
     2883# Check that the compiler produces executables we can run.  If not, either 
     2884# the compiler is broken, or we cross compile. 
     2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
     2886$as_echo_n "checking whether we are cross compiling... " >&6; } 
     2887if test "$cross_compiling" != yes; then 
     2888  { { ac_try="$ac_link" 
    25422889case "(($ac_try" in 
    25432890  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25442891  *) ac_try_echo=$ac_try;; 
    25452892esac 
    2546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2893eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2894$as_echo "$ac_try_echo"; } >&5 
     2895  (eval "$ac_link") 2>&5 
     2896  ac_status=$? 
     2897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2898  test $ac_status = 0; } 
     2899  if { ac_try='./conftest$ac_cv_exeext' 
     2900  { { case "(($ac_try" in 
     2901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2902  *) ac_try_echo=$ac_try;; 
     2903esac 
     2904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2905$as_echo "$ac_try_echo"; } >&5 
     2906  (eval "$ac_try") 2>&5 
     2907  ac_status=$? 
     2908  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2909  test $ac_status = 0; }; }; then 
     2910    cross_compiling=no 
     2911  else 
     2912    if test "$cross_compiling" = maybe; then 
     2913        cross_compiling=yes 
     2914    else 
     2915        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2917as_fn_error "cannot run C compiled programs. 
     2918If you meant to cross compile, use \`--host'. 
     2919See \`config.log' for more details." "$LINENO" 5; } 
     2920    fi 
     2921  fi 
     2922fi 
     2923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
     2924$as_echo "$cross_compiling" >&6; } 
     2925 
     2926rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
     2927ac_clean_files=$ac_clean_files_save 
     2928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
     2929$as_echo_n "checking for suffix of object files... " >&6; } 
     2930if test "${ac_cv_objext+set}" = set; then : 
     2931  $as_echo_n "(cached) " >&6 
     2932else 
     2933  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2934/* end confdefs.h.  */ 
     2935 
     2936int 
     2937main () 
     2938{ 
     2939 
     2940  ; 
     2941  return 0; 
     2942} 
     2943_ACEOF 
     2944rm -f conftest.o conftest.obj 
     2945if { { ac_try="$ac_compile" 
     2946case "(($ac_try" in 
     2947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2948  *) ac_try_echo=$ac_try;; 
     2949esac 
     2950eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2951$as_echo "$ac_try_echo"; } >&5 
    25472952  (eval "$ac_compile") 2>&5 
    25482953  ac_status=$? 
    2549   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2550   (exit $ac_status); }; then 
     2954  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2955  test $ac_status = 0; }; then : 
    25512956  for ac_file in conftest.o conftest.obj conftest.*; do 
    25522957  test -f "$ac_file" || continue; 
    25532958  case $ac_file in 
    2554     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
     2959    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
    25552960    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    25562961       break;; 
     
    25582963done 
    25592964else 
    2560   echo "$as_me: failed program was:" >&5 
     2965  $as_echo "$as_me: failed program was:" >&5 
    25612966sed 's/^/| /' conftest.$ac_ext >&5 
    25622967 
    2563 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2564 See \`config.log' for more details." >&5 
    2565 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2566 See \`config.log' for more details." >&2;} 
    2567    { (exit 1); exit 1; }; } 
    2568 fi 
    2569  
     2968{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2969$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2970as_fn_error "cannot compute suffix of object files: cannot compile 
     2971See \`config.log' for more details." "$LINENO" 5; } 
     2972fi 
    25702973rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    25712974fi 
    2572 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    2573 echo "${ECHO_T}$ac_cv_objext" >&6; } 
     2975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
     2976$as_echo "$ac_cv_objext" >&6; } 
    25742977OBJEXT=$ac_cv_objext 
    25752978ac_objext=$OBJEXT 
    2576 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    2577 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
    2578 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
    2579   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2580 else 
    2581   cat >conftest.$ac_ext <<_ACEOF 
    2582 /* confdefs.h.  */ 
    2583 _ACEOF 
    2584 cat confdefs.h >>conftest.$ac_ext 
    2585 cat >>conftest.$ac_ext <<_ACEOF 
     2979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
     2980$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
     2981if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     2982  $as_echo_n "(cached) " >&6 
     2983else 
     2984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25862985/* end confdefs.h.  */ 
    25872986 
     
    25972996} 
    25982997_ACEOF 
    2599 rm -f conftest.$ac_objext 
    2600 if { (ac_try="$ac_compile" 
    2601 case "(($ac_try" in 
    2602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2603   *) ac_try_echo=$ac_try;; 
    2604 esac 
    2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2606   (eval "$ac_compile") 2>conftest.er1 
    2607   ac_status=$? 
    2608   grep -v '^ *+' conftest.er1 >conftest.err 
    2609   rm -f conftest.er1 
    2610   cat conftest.err >&5 
    2611   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2612   (exit $ac_status); } && { 
    2613          test -z "$ac_c_werror_flag" || 
    2614          test ! -s conftest.err 
    2615        } && test -s conftest.$ac_objext; then 
     2998if ac_fn_c_try_compile "$LINENO"; then : 
    26162999  ac_compiler_gnu=yes 
    26173000else 
    2618   echo "$as_me: failed program was:" >&5 
    2619 sed 's/^/| /' conftest.$ac_ext >&5 
    2620  
    2621         ac_compiler_gnu=no 
    2622 fi 
    2623  
     3001  ac_compiler_gnu=no 
     3002fi 
    26243003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26253004ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26263005 
    26273006fi 
    2628 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    2629 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
    2630 GCC=`test $ac_compiler_gnu = yes && echo yes` 
     3007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
     3008$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
     3009if test $ac_compiler_gnu = yes; then 
     3010  GCC=yes 
     3011else 
     3012  GCC= 
     3013fi 
    26313014ac_test_CFLAGS=${CFLAGS+set} 
    26323015ac_save_CFLAGS=$CFLAGS 
    2633 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    2634 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
    2635 if test "${ac_cv_prog_cc_g+set}" = set; then 
    2636   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
     3017$as_echo_n "checking whether $CC accepts -g... " >&6; } 
     3018if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3019  $as_echo_n "(cached) " >&6 
    26373020else 
    26383021  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    26403023   ac_cv_prog_cc_g=no 
    26413024   CFLAGS="-g" 
    2642    cat >conftest.$ac_ext <<_ACEOF 
    2643 /* confdefs.h.  */ 
    2644 _ACEOF 
    2645 cat confdefs.h >>conftest.$ac_ext 
    2646 cat >>conftest.$ac_ext <<_ACEOF 
     3025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26473026/* end confdefs.h.  */ 
    26483027 
     
    26553034} 
    26563035_ACEOF 
    2657 rm -f conftest.$ac_objext 
    2658 if { (ac_try="$ac_compile" 
    2659 case "(($ac_try" in 
    2660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2661   *) ac_try_echo=$ac_try;; 
    2662 esac 
    2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2664   (eval "$ac_compile") 2>conftest.er1 
    2665   ac_status=$? 
    2666   grep -v '^ *+' conftest.er1 >conftest.err 
    2667   rm -f conftest.er1 
    2668   cat conftest.err >&5 
    2669   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2670   (exit $ac_status); } && { 
    2671          test -z "$ac_c_werror_flag" || 
    2672          test ! -s conftest.err 
    2673        } && test -s conftest.$ac_objext; then 
     3036if ac_fn_c_try_compile "$LINENO"; then : 
    26743037  ac_cv_prog_cc_g=yes 
    26753038else 
    2676   echo "$as_me: failed program was:" >&5 
    2677 sed 's/^/| /' conftest.$ac_ext >&5 
    2678  
    2679         CFLAGS="" 
    2680       cat >conftest.$ac_ext <<_ACEOF 
    2681 /* confdefs.h.  */ 
    2682 _ACEOF 
    2683 cat confdefs.h >>conftest.$ac_ext 
    2684 cat >>conftest.$ac_ext <<_ACEOF 
     3039  CFLAGS="" 
     3040      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26853041/* end confdefs.h.  */ 
    26863042 
     
    26933049} 
    26943050_ACEOF 
    2695 rm -f conftest.$ac_objext 
    2696 if { (ac_try="$ac_compile" 
    2697 case "(($ac_try" in 
    2698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2699   *) ac_try_echo=$ac_try;; 
    2700 esac 
    2701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2702   (eval "$ac_compile") 2>conftest.er1 
    2703   ac_status=$? 
    2704   grep -v '^ *+' conftest.er1 >conftest.err 
    2705   rm -f conftest.er1 
    2706   cat conftest.err >&5 
    2707   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2708   (exit $ac_status); } && { 
    2709          test -z "$ac_c_werror_flag" || 
    2710          test ! -s conftest.err 
    2711        } && test -s conftest.$ac_objext; then 
    2712   : 
    2713 else 
    2714   echo "$as_me: failed program was:" >&5 
    2715 sed 's/^/| /' conftest.$ac_ext >&5 
    2716  
    2717         ac_c_werror_flag=$ac_save_c_werror_flag 
     3051if ac_fn_c_try_compile "$LINENO"; then : 
     3052 
     3053else 
     3054  ac_c_werror_flag=$ac_save_c_werror_flag 
    27183055         CFLAGS="-g" 
    2719          cat >conftest.$ac_ext <<_ACEOF 
    2720 /* confdefs.h.  */ 
    2721 _ACEOF 
    2722 cat confdefs.h >>conftest.$ac_ext 
    2723 cat >>conftest.$ac_ext <<_ACEOF 
     3056         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27243057/* end confdefs.h.  */ 
    27253058 
     
    27323065} 
    27333066_ACEOF 
    2734 rm -f conftest.$ac_objext 
    2735 if { (ac_try="$ac_compile" 
    2736 case "(($ac_try" in 
    2737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2738   *) ac_try_echo=$ac_try;; 
    2739 esac 
    2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2741   (eval "$ac_compile") 2>conftest.er1 
    2742   ac_status=$? 
    2743   grep -v '^ *+' conftest.er1 >conftest.err 
    2744   rm -f conftest.er1 
    2745   cat conftest.err >&5 
    2746   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2747   (exit $ac_status); } && { 
    2748          test -z "$ac_c_werror_flag" || 
    2749          test ! -s conftest.err 
    2750        } && test -s conftest.$ac_objext; then 
     3067if ac_fn_c_try_compile "$LINENO"; then : 
    27513068  ac_cv_prog_cc_g=yes 
    2752 else 
    2753   echo "$as_me: failed program was:" >&5 
    2754 sed 's/^/| /' conftest.$ac_ext >&5 
    2755  
    2756  
    2757 fi 
    2758  
     3069fi 
    27593070rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27603071fi 
    2761  
    27623072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27633073fi 
    2764  
    27653074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27663075   ac_c_werror_flag=$ac_save_c_werror_flag 
    27673076fi 
    2768 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    2769 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
     3077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
     3078$as_echo "$ac_cv_prog_cc_g" >&6; } 
    27703079if test "$ac_test_CFLAGS" = set; then 
    27713080  CFLAGS=$ac_save_CFLAGS 
     
    27833092  fi 
    27843093fi 
    2785 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
    2786 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
    2787 if test "${ac_cv_prog_cc_c89+set}" = set; then 
    2788   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
     3095$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
     3096if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3097  $as_echo_n "(cached) " >&6 
    27893098else 
    27903099  ac_cv_prog_cc_c89=no 
    27913100ac_save_CC=$CC 
    2792 cat >conftest.$ac_ext <<_ACEOF 
    2793 /* confdefs.h.  */ 
    2794 _ACEOF 
    2795 cat confdefs.h >>conftest.$ac_ext 
    2796 cat >>conftest.$ac_ext <<_ACEOF 
     3101cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27973102/* end confdefs.h.  */ 
    27983103#include <stdarg.h> 
     
    28513156do 
    28523157  CC="$ac_save_CC $ac_arg" 
    2853   rm -f conftest.$ac_objext 
    2854 if { (ac_try="$ac_compile" 
    2855 case "(($ac_try" in 
    2856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2857   *) ac_try_echo=$ac_try;; 
    2858 esac 
    2859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2860   (eval "$ac_compile") 2>conftest.er1 
    2861   ac_status=$? 
    2862   grep -v '^ *+' conftest.er1 >conftest.err 
    2863   rm -f conftest.er1 
    2864   cat conftest.err >&5 
    2865   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2866   (exit $ac_status); } && { 
    2867          test -z "$ac_c_werror_flag" || 
    2868          test ! -s conftest.err 
    2869        } && test -s conftest.$ac_objext; then 
     3158  if ac_fn_c_try_compile "$LINENO"; then : 
    28703159  ac_cv_prog_cc_c89=$ac_arg 
    2871 else 
    2872   echo "$as_me: failed program was:" >&5 
    2873 sed 's/^/| /' conftest.$ac_ext >&5 
    2874  
    2875  
    2876 fi 
    2877  
     3160fi 
    28783161rm -f core conftest.err conftest.$ac_objext 
    28793162  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    28863169case "x$ac_cv_prog_cc_c89" in 
    28873170  x) 
    2888     { echo "$as_me:$LINENO: result: none needed" >&5 
    2889 echo "${ECHO_T}none needed" >&6; } ;; 
     3171    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
     3172$as_echo "none needed" >&6; } ;; 
    28903173  xno) 
    2891     { echo "$as_me:$LINENO: result: unsupported" >&5 
    2892 echo "${ECHO_T}unsupported" >&6; } ;; 
     3174    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
     3175$as_echo "unsupported" >&6; } ;; 
    28933176  *) 
    28943177    CC="$CC $ac_cv_prog_cc_c89" 
    2895     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
    2896 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     3178    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
     3179$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    28973180esac 
    2898  
     3181if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3182 
     3183fi 
    28993184 
    29003185ac_ext=c 
     
    29183203    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29193204set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2920 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2922 if test "${ac_cv_prog_CXX+set}" = set; then 
    2923   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3206$as_echo_n "checking for $ac_word... " >&6; } 
     3207if test "${ac_cv_prog_CXX+set}" = set; then : 
     3208  $as_echo_n "(cached) " >&6 
    29243209else 
    29253210  if test -n "$CXX"; then 
     
    29313216  IFS=$as_save_IFS 
    29323217  test -z "$as_dir" && as_dir=. 
    2933   for ac_exec_ext in '' $ac_executable_extensions; do 
     3218    for ac_exec_ext in '' $ac_executable_extensions; do 
    29343219  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29353220    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2936     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3221    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29373222    break 2 
    29383223  fi 
    29393224done 
    2940 done 
     3225  done 
    29413226IFS=$as_save_IFS 
    29423227 
     
    29453230CXX=$ac_cv_prog_CXX 
    29463231if test -n "$CXX"; then 
    2947   { echo "$as_me:$LINENO: result: $CXX" >&5 
    2948 echo "${ECHO_T}$CXX" >&6; } 
    2949 else 
    2950   { echo "$as_me:$LINENO: result: no" >&5 
    2951 echo "${ECHO_T}no" >&6; } 
     3232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
     3233$as_echo "$CXX" >&6; } 
     3234else 
     3235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3236$as_echo "no" >&6; } 
    29523237fi 
    29533238 
     
    29623247  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    29633248set dummy $ac_prog; ac_word=$2 
    2964 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2966 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
    2967   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3250$as_echo_n "checking for $ac_word... " >&6; } 
     3251if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3252  $as_echo_n "(cached) " >&6 
    29683253else 
    29693254  if test -n "$ac_ct_CXX"; then 
     
    29753260  IFS=$as_save_IFS 
    29763261  test -z "$as_dir" && as_dir=. 
    2977   for ac_exec_ext in '' $ac_executable_extensions; do 
     3262    for ac_exec_ext in '' $ac_executable_extensions; do 
    29783263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29793264    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29813266    break 2 
    29823267  fi 
    29833268done 
    2984 done 
     3269  done 
    29853270IFS=$as_save_IFS 
    29863271 
     
    29893274ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    29903275if test -n "$ac_ct_CXX"; then 
    2991   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    2992 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
    2993 else 
    2994   { echo "$as_me:$LINENO: result: no" >&5 
    2995 echo "${ECHO_T}no" >&6; } 
     3276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
     3277$as_echo "$ac_ct_CXX" >&6; } 
     3278else 
     3279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3280$as_echo "no" >&6; } 
    29963281fi 
    29973282 
     
    30053290    case $cross_compiling:$ac_tool_warned in 
    30063291yes:) 
    3007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    3008 whose name does not start with the host triplet.  If you think this 
    3009 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3011 whose name does not start with the host triplet.  If you think this 
    3012 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3292{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3293$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30133294ac_tool_warned=yes ;; 
    30143295esac 
     
    30203301fi 
    30213302# Provide some information about the compiler. 
    3022 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
    3023 ac_compiler=`set X $ac_compile; echo $2` 
    3024 { (ac_try="$ac_compiler --version >&5" 
     3303$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
     3304set X $ac_compile 
     3305ac_compiler=$2 
     3306for ac_option in --version -v -V -qversion; do 
     3307  { { ac_try="$ac_compiler $ac_option >&5" 
    30253308case "(($ac_try" in 
    30263309  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30273310  *) ac_try_echo=$ac_try;; 
    30283311esac 
    3029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3030   (eval "$ac_compiler --version >&5") 2>&5 
     3312eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3313$as_echo "$ac_try_echo"; } >&5 
     3314  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    30313315  ac_status=$? 
    3032   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3033   (exit $ac_status); } 
    3034 { (ac_try="$ac_compiler -v >&5" 
    3035 case "(($ac_try" in 
    3036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3037   *) ac_try_echo=$ac_try;; 
    3038 esac 
    3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3040   (eval "$ac_compiler -v >&5") 2>&5 
    3041   ac_status=$? 
    3042   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3043   (exit $ac_status); } 
    3044 { (ac_try="$ac_compiler -V >&5" 
    3045 case "(($ac_try" in 
    3046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3047   *) ac_try_echo=$ac_try;; 
    3048 esac 
    3049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3050   (eval "$ac_compiler -V >&5") 2>&5 
    3051   ac_status=$? 
    3052   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3053   (exit $ac_status); } 
    3054  
    3055 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    3056 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
    3057 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
    3058   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3059 else 
    3060   cat >conftest.$ac_ext <<_ACEOF 
    3061 /* confdefs.h.  */ 
    3062 _ACEOF 
    3063 cat confdefs.h >>conftest.$ac_ext 
    3064 cat >>conftest.$ac_ext <<_ACEOF 
     3316  if test -s conftest.err; then 
     3317    sed '10a\ 
     3318... rest of stderr output deleted ... 
     3319         10q' conftest.err >conftest.er1 
     3320    cat conftest.er1 >&5 
     3321  fi 
     3322  rm -f conftest.er1 conftest.err 
     3323  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3324  test $ac_status = 0; } 
     3325done 
     3326 
     3327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
     3328$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
     3329if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3330  $as_echo_n "(cached) " >&6 
     3331else 
     3332  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    30653333/* end confdefs.h.  */ 
    30663334 
     
    30763344} 
    30773345_ACEOF 
    3078 rm -f conftest.$ac_objext 
    3079 if { (ac_try="$ac_compile" 
    3080 case "(($ac_try" in 
    3081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3082   *) ac_try_echo=$ac_try;; 
    3083 esac 
    3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3085   (eval "$ac_compile") 2>conftest.er1 
    3086   ac_status=$? 
    3087   grep -v '^ *+' conftest.er1 >conftest.err 
    3088   rm -f conftest.er1 
    3089   cat conftest.err >&5 
    3090   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3091   (exit $ac_status); } && { 
    3092          test -z "$ac_cxx_werror_flag" || 
    3093          test ! -s conftest.err 
    3094        } && test -s conftest.$ac_objext; then 
     3346if ac_fn_cxx_try_compile "$LINENO"; then : 
    30953347  ac_compiler_gnu=yes 
    30963348else 
    3097   echo "$as_me: failed program was:" >&5 
    3098 sed 's/^/| /' conftest.$ac_ext >&5 
    3099  
    3100         ac_compiler_gnu=no 
    3101 fi 
    3102  
     3349  ac_compiler_gnu=no 
     3350fi 
    31033351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    31043352ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    31053353 
    31063354fi 
    3107 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    3108 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
    3109 GXX=`test $ac_compiler_gnu = yes && echo yes` 
     3355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
     3356$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
     3357if test $ac_compiler_gnu = yes; then 
     3358  GXX=yes 
     3359else 
     3360  GXX= 
     3361fi 
    31103362ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31113363ac_save_CXXFLAGS=$CXXFLAGS 
    3112 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    3113 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
    3114 if test "${ac_cv_prog_cxx_g+set}" = set; then 
    3115   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
     3365$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
     3366if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3367  $as_echo_n "(cached) " >&6 
    31163368else 
    31173369  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    31193371   ac_cv_prog_cxx_g=no 
    31203372   CXXFLAGS="-g" 
    3121    cat >conftest.$ac_ext <<_ACEOF 
    3122 /* confdefs.h.  */ 
    3123 _ACEOF 
    3124 cat confdefs.h >>conftest.$ac_ext 
    3125 cat >>conftest.$ac_ext <<_ACEOF 
     3373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31263374/* end confdefs.h.  */ 
    31273375 
     
    31343382} 
    31353383_ACEOF 
    3136 rm -f conftest.$ac_objext 
    3137 if { (ac_try="$ac_compile" 
    3138 case "(($ac_try" in 
    3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3140   *) ac_try_echo=$ac_try;; 
    3141 esac 
    3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3143   (eval "$ac_compile") 2>conftest.er1 
    3144   ac_status=$? 
    3145   grep -v '^ *+' conftest.er1 >conftest.err 
    3146   rm -f conftest.er1 
    3147   cat conftest.err >&5 
    3148   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3149   (exit $ac_status); } && { 
    3150          test -z "$ac_cxx_werror_flag" || 
    3151          test ! -s conftest.err 
    3152        } && test -s conftest.$ac_objext; then 
     3384if ac_fn_cxx_try_compile "$LINENO"; then : 
    31533385  ac_cv_prog_cxx_g=yes 
    31543386else 
    3155   echo "$as_me: failed program was:" >&5 
    3156 sed 's/^/| /' conftest.$ac_ext >&5 
    3157  
    3158         CXXFLAGS="" 
    3159       cat >conftest.$ac_ext <<_ACEOF 
    3160 /* confdefs.h.  */ 
    3161 _ACEOF 
    3162 cat confdefs.h >>conftest.$ac_ext 
    3163 cat >>conftest.$ac_ext <<_ACEOF 
     3387  CXXFLAGS="" 
     3388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31643389/* end confdefs.h.  */ 
    31653390 
     
    31723397} 
    31733398_ACEOF 
    3174 rm -f conftest.$ac_objext 
    3175 if { (ac_try="$ac_compile" 
    3176 case "(($ac_try" in 
    3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3178   *) ac_try_echo=$ac_try;; 
    3179 esac 
    3180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3181   (eval "$ac_compile") 2>conftest.er1 
    3182   ac_status=$? 
    3183   grep -v '^ *+' conftest.er1 >conftest.err 
    3184   rm -f conftest.er1 
    3185   cat conftest.err >&5 
    3186   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3187   (exit $ac_status); } && { 
    3188          test -z "$ac_cxx_werror_flag" || 
    3189          test ! -s conftest.err 
    3190        } && test -s conftest.$ac_objext; then 
    3191   : 
    3192 else 
    3193   echo "$as_me: failed program was:" >&5 
    3194 sed 's/^/| /' conftest.$ac_ext >&5 
    3195  
    3196         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3399if ac_fn_cxx_try_compile "$LINENO"; then : 
     3400 
     3401else 
     3402  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    31973403         CXXFLAGS="-g" 
    3198          cat >conftest.$ac_ext <<_ACEOF 
    3199 /* confdefs.h.  */ 
    3200 _ACEOF 
    3201 cat confdefs.h >>conftest.$ac_ext 
    3202 cat >>conftest.$ac_ext <<_ACEOF 
     3404         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32033405/* end confdefs.h.  */ 
    32043406 
     
    32113413} 
    32123414_ACEOF 
    3213 rm -f conftest.$ac_objext 
    3214 if { (ac_try="$ac_compile" 
    3215 case "(($ac_try" in 
    3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3217   *) ac_try_echo=$ac_try;; 
    3218 esac 
    3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3220   (eval "$ac_compile") 2>conftest.er1 
    3221   ac_status=$? 
    3222   grep -v '^ *+' conftest.er1 >conftest.err 
    3223   rm -f conftest.er1 
    3224   cat conftest.err >&5 
    3225   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3226   (exit $ac_status); } && { 
    3227          test -z "$ac_cxx_werror_flag" || 
    3228          test ! -s conftest.err 
    3229        } && test -s conftest.$ac_objext; then 
     3415if ac_fn_cxx_try_compile "$LINENO"; then : 
    32303416  ac_cv_prog_cxx_g=yes 
    3231 else 
    3232   echo "$as_me: failed program was:" >&5 
    3233 sed 's/^/| /' conftest.$ac_ext >&5 
    3234  
    3235  
    3236 fi 
    3237  
     3417fi 
    32383418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32393419fi 
    3240  
    32413420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32423421fi 
    3243  
    32443422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32453423   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32463424fi 
    3247 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    3248 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
     3425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
     3426$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    32493427if test "$ac_test_CXXFLAGS" = set; then 
    32503428  CXXFLAGS=$ac_save_CXXFLAGS 
     
    33243502 
    33253503 
    3326  
    3327 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    3328 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
    3329 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
    3330   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
     3505$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
     3506if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3507  $as_echo_n "(cached) " >&6 
    33313508else 
    33323509  ac_check_lib_save_LIBS=$LIBS 
    33333510LIBS="-lpthread  $LIBS" 
    3334 cat >conftest.$ac_ext <<_ACEOF 
    3335 /* confdefs.h.  */ 
    3336 _ACEOF 
    3337 cat confdefs.h >>conftest.$ac_ext 
    3338 cat >>conftest.$ac_ext <<_ACEOF 
     3511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33393512/* end confdefs.h.  */ 
    33403513 
     
    33543527} 
    33553528_ACEOF 
    3356 rm -f conftest.$ac_objext conftest$ac_exeext 
    3357 if { (ac_try="$ac_link" 
    3358 case "(($ac_try" in 
    3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3360   *) ac_try_echo=$ac_try;; 
    3361 esac 
    3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3363   (eval "$ac_link") 2>conftest.er1 
    3364   ac_status=$? 
    3365   grep -v '^ *+' conftest.er1 >conftest.err 
    3366   rm -f conftest.er1 
    3367   cat conftest.err >&5 
    3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3369   (exit $ac_status); } && { 
    3370          test -z "$ac_c_werror_flag" || 
    3371          test ! -s conftest.err 
    3372        } && test -s conftest$ac_exeext && 
    3373        $as_test_x conftest$ac_exeext; then 
     3529if ac_fn_c_try_link "$LINENO"; then : 
    33743530  ac_cv_lib_pthread_pthread_create=yes 
    33753531else 
    3376   echo "$as_me: failed program was:" >&5 
    3377 sed 's/^/| /' conftest.$ac_ext >&5 
    3378  
    3379         ac_cv_lib_pthread_pthread_create=no 
    3380 fi 
    3381  
    3382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3383       conftest$ac_exeext conftest.$ac_ext 
     3532  ac_cv_lib_pthread_pthread_create=no 
     3533fi 
     3534rm -f core conftest.err conftest.$ac_objext \ 
     3535    conftest$ac_exeext conftest.$ac_ext 
    33843536LIBS=$ac_check_lib_save_LIBS 
    33853537fi 
    3386 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3387 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
    3388 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3539$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
     3540if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    33893541  cat >>confdefs.h <<_ACEOF 
    33903542#define HAVE_LIBPTHREAD 1 
     
    33953547fi 
    33963548 
    3397  
    3398 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    3399 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
    3400 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
    3401   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
     3550$as_echo_n "checking for puts in -lwsock32... " >&6; } 
     3551if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3552  $as_echo_n "(cached) " >&6 
    34023553else 
    34033554  ac_check_lib_save_LIBS=$LIBS 
    34043555LIBS="-lwsock32  $LIBS" 
    3405 cat >conftest.$ac_ext <<_ACEOF 
    3406 /* confdefs.h.  */ 
    3407 _ACEOF 
    3408 cat confdefs.h >>conftest.$ac_ext 
    3409 cat >>conftest.$ac_ext <<_ACEOF 
     3556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34103557/* end confdefs.h.  */ 
    34113558 
     
    34253572} 
    34263573_ACEOF 
    3427 rm -f conftest.$ac_objext conftest$ac_exeext 
    3428 if { (ac_try="$ac_link" 
    3429 case "(($ac_try" in 
    3430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3431   *) ac_try_echo=$ac_try;; 
    3432 esac 
    3433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3434   (eval "$ac_link") 2>conftest.er1 
    3435   ac_status=$? 
    3436   grep -v '^ *+' conftest.er1 >conftest.err 
    3437   rm -f conftest.er1 
    3438   cat conftest.err >&5 
    3439   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3440   (exit $ac_status); } && { 
    3441          test -z "$ac_c_werror_flag" || 
    3442          test ! -s conftest.err 
    3443        } && test -s conftest$ac_exeext && 
    3444        $as_test_x conftest$ac_exeext; then 
     3574if ac_fn_c_try_link "$LINENO"; then : 
    34453575  ac_cv_lib_wsock32_puts=yes 
    34463576else 
    3447   echo "$as_me: failed program was:" >&5 
    3448 sed 's/^/| /' conftest.$ac_ext >&5 
    3449  
    3450         ac_cv_lib_wsock32_puts=no 
    3451 fi 
    3452  
    3453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3454       conftest$ac_exeext conftest.$ac_ext 
     3577  ac_cv_lib_wsock32_puts=no 
     3578fi 
     3579rm -f core conftest.err conftest.$ac_objext \ 
     3580    conftest$ac_exeext conftest.$ac_ext 
    34553581LIBS=$ac_check_lib_save_LIBS 
    34563582fi 
    3457 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    3458 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
    3459 if test $ac_cv_lib_wsock32_puts = yes; then 
     3583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
     3584$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
     3585if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    34603586  cat >>confdefs.h <<_ACEOF 
    34613587#define HAVE_LIBWSOCK32 1 
     
    34663592fi 
    34673593 
    3468  
    3469 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    3470 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
    3471 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
    3472   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
     3595$as_echo_n "checking for puts in -lws2_32... " >&6; } 
     3596if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3597  $as_echo_n "(cached) " >&6 
    34733598else 
    34743599  ac_check_lib_save_LIBS=$LIBS 
    34753600LIBS="-lws2_32  $LIBS" 
    3476 cat >conftest.$ac_ext <<_ACEOF 
    3477 /* confdefs.h.  */ 
    3478 _ACEOF 
    3479 cat confdefs.h >>conftest.$ac_ext 
    3480 cat >>conftest.$ac_ext <<_ACEOF 
     3601cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34813602/* end confdefs.h.  */ 
    34823603 
     
    34963617} 
    34973618_ACEOF 
    3498 rm -f conftest.$ac_objext conftest$ac_exeext 
    3499 if { (ac_try="$ac_link" 
    3500 case "(($ac_try" in 
    3501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3502   *) ac_try_echo=$ac_try;; 
    3503 esac 
    3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3505   (eval "$ac_link") 2>conftest.er1 
    3506   ac_status=$? 
    3507   grep -v '^ *+' conftest.er1 >conftest.err 
    3508   rm -f conftest.er1 
    3509   cat conftest.err >&5 
    3510   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3511   (exit $ac_status); } && { 
    3512          test -z "$ac_c_werror_flag" || 
    3513          test ! -s conftest.err 
    3514        } && test -s conftest$ac_exeext && 
    3515        $as_test_x conftest$ac_exeext; then 
     3619if ac_fn_c_try_link "$LINENO"; then : 
    35163620  ac_cv_lib_ws2_32_puts=yes 
    35173621else 
    3518   echo "$as_me: failed program was:" >&5 
    3519 sed 's/^/| /' conftest.$ac_ext >&5 
    3520  
    3521         ac_cv_lib_ws2_32_puts=no 
    3522 fi 
    3523  
    3524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3525       conftest$ac_exeext conftest.$ac_ext 
     3622  ac_cv_lib_ws2_32_puts=no 
     3623fi 
     3624rm -f core conftest.err conftest.$ac_objext \ 
     3625    conftest$ac_exeext conftest.$ac_ext 
    35263626LIBS=$ac_check_lib_save_LIBS 
    35273627fi 
    3528 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    3529 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
    3530 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
     3629$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
     3630if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35313631  cat >>confdefs.h <<_ACEOF 
    35323632#define HAVE_LIBWS2_32 1 
     
    35373637fi 
    35383638 
    3539  
    3540 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    3541 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
    3542 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
    3543   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
     3640$as_echo_n "checking for puts in -lole32... " >&6; } 
     3641if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3642  $as_echo_n "(cached) " >&6 
    35443643else 
    35453644  ac_check_lib_save_LIBS=$LIBS 
    35463645LIBS="-lole32  $LIBS" 
    3547 cat >conftest.$ac_ext <<_ACEOF 
    3548 /* confdefs.h.  */ 
    3549 _ACEOF 
    3550 cat confdefs.h >>conftest.$ac_ext 
    3551 cat >>conftest.$ac_ext <<_ACEOF 
     3646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35523647/* end confdefs.h.  */ 
    35533648 
     
    35673662} 
    35683663_ACEOF 
    3569 rm -f conftest.$ac_objext conftest$ac_exeext 
    3570 if { (ac_try="$ac_link" 
    3571 case "(($ac_try" in 
    3572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3573   *) ac_try_echo=$ac_try;; 
    3574 esac 
    3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3576   (eval "$ac_link") 2>conftest.er1 
    3577   ac_status=$? 
    3578   grep -v '^ *+' conftest.er1 >conftest.err 
    3579   rm -f conftest.er1 
    3580   cat conftest.err >&5 
    3581   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3582   (exit $ac_status); } && { 
    3583          test -z "$ac_c_werror_flag" || 
    3584          test ! -s conftest.err 
    3585        } && test -s conftest$ac_exeext && 
    3586        $as_test_x conftest$ac_exeext; then 
     3664if ac_fn_c_try_link "$LINENO"; then : 
    35873665  ac_cv_lib_ole32_puts=yes 
    35883666else 
    3589   echo "$as_me: failed program was:" >&5 
    3590 sed 's/^/| /' conftest.$ac_ext >&5 
    3591  
    3592         ac_cv_lib_ole32_puts=no 
    3593 fi 
    3594  
    3595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3596       conftest$ac_exeext conftest.$ac_ext 
     3667  ac_cv_lib_ole32_puts=no 
     3668fi 
     3669rm -f core conftest.err conftest.$ac_objext \ 
     3670    conftest$ac_exeext conftest.$ac_ext 
    35973671LIBS=$ac_check_lib_save_LIBS 
    35983672fi 
    3599 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    3600 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
    3601 if test $ac_cv_lib_ole32_puts = yes; then 
     3673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
     3674$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
     3675if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    36023676  cat >>confdefs.h <<_ACEOF 
    36033677#define HAVE_LIBOLE32 1 
     
    36083682fi 
    36093683 
    3610  
    3611 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    3612 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
    3613 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
    3614   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
     3685$as_echo_n "checking for puts in -lwinmm... " >&6; } 
     3686if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3687  $as_echo_n "(cached) " >&6 
    36153688else 
    36163689  ac_check_lib_save_LIBS=$LIBS 
    36173690LIBS="-lwinmm  $LIBS" 
    3618 cat >conftest.$ac_ext <<_ACEOF 
    3619 /* confdefs.h.  */ 
    3620 _ACEOF 
    3621 cat confdefs.h >>conftest.$ac_ext 
    3622 cat >>conftest.$ac_ext <<_ACEOF 
     3691cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36233692/* end confdefs.h.  */ 
    36243693 
     
    36383707} 
    36393708_ACEOF 
    3640 rm -f conftest.$ac_objext conftest$ac_exeext 
    3641 if { (ac_try="$ac_link" 
    3642 case "(($ac_try" in 
    3643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3644   *) ac_try_echo=$ac_try;; 
    3645 esac 
    3646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3647   (eval "$ac_link") 2>conftest.er1 
    3648   ac_status=$? 
    3649   grep -v '^ *+' conftest.er1 >conftest.err 
    3650   rm -f conftest.er1 
    3651   cat conftest.err >&5 
    3652   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3653   (exit $ac_status); } && { 
    3654          test -z "$ac_c_werror_flag" || 
    3655          test ! -s conftest.err 
    3656        } && test -s conftest$ac_exeext && 
    3657        $as_test_x conftest$ac_exeext; then 
     3709if ac_fn_c_try_link "$LINENO"; then : 
    36583710  ac_cv_lib_winmm_puts=yes 
    36593711else 
    3660   echo "$as_me: failed program was:" >&5 
    3661 sed 's/^/| /' conftest.$ac_ext >&5 
    3662  
    3663         ac_cv_lib_winmm_puts=no 
    3664 fi 
    3665  
    3666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3667       conftest$ac_exeext conftest.$ac_ext 
     3712  ac_cv_lib_winmm_puts=no 
     3713fi 
     3714rm -f core conftest.err conftest.$ac_objext \ 
     3715    conftest$ac_exeext conftest.$ac_ext 
    36683716LIBS=$ac_check_lib_save_LIBS 
    36693717fi 
    3670 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    3671 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
    3672 if test $ac_cv_lib_winmm_puts = yes; then 
     3718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
     3719$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
     3720if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    36733721  cat >>confdefs.h <<_ACEOF 
    36743722#define HAVE_LIBWINMM 1 
     
    36793727fi 
    36803728 
    3681  
    3682 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    3683 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
    3684 if test "${ac_cv_lib_socket_puts+set}" = set; then 
    3685   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
     3730$as_echo_n "checking for puts in -lsocket... " >&6; } 
     3731if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3732  $as_echo_n "(cached) " >&6 
    36863733else 
    36873734  ac_check_lib_save_LIBS=$LIBS 
    36883735LIBS="-lsocket  $LIBS" 
    3689 cat >conftest.$ac_ext <<_ACEOF 
    3690 /* confdefs.h.  */ 
    3691 _ACEOF 
    3692 cat confdefs.h >>conftest.$ac_ext 
    3693 cat >>conftest.$ac_ext <<_ACEOF 
     3736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36943737/* end confdefs.h.  */ 
    36953738 
     
    37093752} 
    37103753_ACEOF 
    3711 rm -f conftest.$ac_objext conftest$ac_exeext 
    3712 if { (ac_try="$ac_link" 
    3713 case "(($ac_try" in 
    3714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3715   *) ac_try_echo=$ac_try;; 
    3716 esac 
    3717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3718   (eval "$ac_link") 2>conftest.er1 
    3719   ac_status=$? 
    3720   grep -v '^ *+' conftest.er1 >conftest.err 
    3721   rm -f conftest.er1 
    3722   cat conftest.err >&5 
    3723   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3724   (exit $ac_status); } && { 
    3725          test -z "$ac_c_werror_flag" || 
    3726          test ! -s conftest.err 
    3727        } && test -s conftest$ac_exeext && 
    3728        $as_test_x conftest$ac_exeext; then 
     3754if ac_fn_c_try_link "$LINENO"; then : 
    37293755  ac_cv_lib_socket_puts=yes 
    37303756else 
    3731   echo "$as_me: failed program was:" >&5 
    3732 sed 's/^/| /' conftest.$ac_ext >&5 
    3733  
    3734         ac_cv_lib_socket_puts=no 
    3735 fi 
    3736  
    3737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3738       conftest$ac_exeext conftest.$ac_ext 
     3757  ac_cv_lib_socket_puts=no 
     3758fi 
     3759rm -f core conftest.err conftest.$ac_objext \ 
     3760    conftest$ac_exeext conftest.$ac_ext 
    37393761LIBS=$ac_check_lib_save_LIBS 
    37403762fi 
    3741 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    3742 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
    3743 if test $ac_cv_lib_socket_puts = yes; then 
     3763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
     3764$as_echo "$ac_cv_lib_socket_puts" >&6; } 
     3765if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    37443766  cat >>confdefs.h <<_ACEOF 
    37453767#define HAVE_LIBSOCKET 1 
     
    37503772fi 
    37513773 
    3752  
    3753 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    3754 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
    3755 if test "${ac_cv_lib_rt_puts+set}" = set; then 
    3756   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
     3775$as_echo_n "checking for puts in -lrt... " >&6; } 
     3776if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3777  $as_echo_n "(cached) " >&6 
    37573778else 
    37583779  ac_check_lib_save_LIBS=$LIBS 
    37593780LIBS="-lrt  $LIBS" 
    3760 cat >conftest.$ac_ext <<_ACEOF 
    3761 /* confdefs.h.  */ 
    3762 _ACEOF 
    3763 cat confdefs.h >>conftest.$ac_ext 
    3764 cat >>conftest.$ac_ext <<_ACEOF 
     3781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37653782/* end confdefs.h.  */ 
    37663783 
     
    37803797} 
    37813798_ACEOF 
    3782 rm -f conftest.$ac_objext conftest$ac_exeext 
    3783 if { (ac_try="$ac_link" 
    3784 case "(($ac_try" in 
    3785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3786   *) ac_try_echo=$ac_try;; 
    3787 esac 
    3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3789   (eval "$ac_link") 2>conftest.er1 
    3790   ac_status=$? 
    3791   grep -v '^ *+' conftest.er1 >conftest.err 
    3792   rm -f conftest.er1 
    3793   cat conftest.err >&5 
    3794   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3795   (exit $ac_status); } && { 
    3796          test -z "$ac_c_werror_flag" || 
    3797          test ! -s conftest.err 
    3798        } && test -s conftest$ac_exeext && 
    3799        $as_test_x conftest$ac_exeext; then 
     3799if ac_fn_c_try_link "$LINENO"; then : 
    38003800  ac_cv_lib_rt_puts=yes 
    38013801else 
    3802   echo "$as_me: failed program was:" >&5 
    3803 sed 's/^/| /' conftest.$ac_ext >&5 
    3804  
    3805         ac_cv_lib_rt_puts=no 
    3806 fi 
    3807  
    3808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3809       conftest$ac_exeext conftest.$ac_ext 
     3802  ac_cv_lib_rt_puts=no 
     3803fi 
     3804rm -f core conftest.err conftest.$ac_objext \ 
     3805    conftest$ac_exeext conftest.$ac_ext 
    38103806LIBS=$ac_check_lib_save_LIBS 
    38113807fi 
    3812 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    3813 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
    3814 if test $ac_cv_lib_rt_puts = yes; then 
     3808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
     3809$as_echo "$ac_cv_lib_rt_puts" >&6; } 
     3810if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38153811  cat >>confdefs.h <<_ACEOF 
    38163812#define HAVE_LIBRT 1 
     
    38213817fi 
    38223818 
    3823  
    3824 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    3825 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
    3826 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
    3827   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
     3820$as_echo_n "checking for puts in -lnsl... " >&6; } 
     3821if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3822  $as_echo_n "(cached) " >&6 
    38283823else 
    38293824  ac_check_lib_save_LIBS=$LIBS 
    38303825LIBS="-lnsl  $LIBS" 
    3831 cat >conftest.$ac_ext <<_ACEOF 
    3832 /* confdefs.h.  */ 
    3833 _ACEOF 
    3834 cat confdefs.h >>conftest.$ac_ext 
    3835 cat >>conftest.$ac_ext <<_ACEOF 
     3826cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38363827/* end confdefs.h.  */ 
    38373828 
     
    38513842} 
    38523843_ACEOF 
    3853 rm -f conftest.$ac_objext conftest$ac_exeext 
    3854 if { (ac_try="$ac_link" 
    3855 case "(($ac_try" in 
    3856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3857   *) ac_try_echo=$ac_try;; 
    3858 esac 
    3859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3860   (eval "$ac_link") 2>conftest.er1 
    3861   ac_status=$? 
    3862   grep -v '^ *+' conftest.er1 >conftest.err 
    3863   rm -f conftest.er1 
    3864   cat conftest.err >&5 
    3865   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3866   (exit $ac_status); } && { 
    3867          test -z "$ac_c_werror_flag" || 
    3868          test ! -s conftest.err 
    3869        } && test -s conftest$ac_exeext && 
    3870        $as_test_x conftest$ac_exeext; then 
     3844if ac_fn_c_try_link "$LINENO"; then : 
    38713845  ac_cv_lib_nsl_puts=yes 
    38723846else 
    3873   echo "$as_me: failed program was:" >&5 
    3874 sed 's/^/| /' conftest.$ac_ext >&5 
    3875  
    3876         ac_cv_lib_nsl_puts=no 
    3877 fi 
    3878  
    3879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3880       conftest$ac_exeext conftest.$ac_ext 
     3847  ac_cv_lib_nsl_puts=no 
     3848fi 
     3849rm -f core conftest.err conftest.$ac_objext \ 
     3850    conftest$ac_exeext conftest.$ac_ext 
    38813851LIBS=$ac_check_lib_save_LIBS 
    38823852fi 
    3883 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    3884 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
    3885 if test $ac_cv_lib_nsl_puts = yes; then 
     3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
     3854$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
     3855if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    38863856  cat >>confdefs.h <<_ACEOF 
    38873857#define HAVE_LIBNSL 1 
     
    38923862fi 
    38933863 
    3894  
    3895 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3896 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3897 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3898   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3865$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3866if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3867  $as_echo_n "(cached) " >&6 
    38993868else 
    39003869  ac_check_lib_save_LIBS=$LIBS 
    39013870LIBS="-luuid  $LIBS" 
    3902 cat >conftest.$ac_ext <<_ACEOF 
    3903 /* confdefs.h.  */ 
    3904 _ACEOF 
    3905 cat confdefs.h >>conftest.$ac_ext 
    3906 cat >>conftest.$ac_ext <<_ACEOF 
     3871cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39073872/* end confdefs.h.  */ 
    39083873 
     
    39223887} 
    39233888_ACEOF 
    3924 rm -f conftest.$ac_objext conftest$ac_exeext 
    3925 if { (ac_try="$ac_link" 
    3926 case "(($ac_try" in 
    3927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3928   *) ac_try_echo=$ac_try;; 
    3929 esac 
    3930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3931   (eval "$ac_link") 2>conftest.er1 
    3932   ac_status=$? 
    3933   grep -v '^ *+' conftest.er1 >conftest.err 
    3934   rm -f conftest.er1 
    3935   cat conftest.err >&5 
    3936   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3937   (exit $ac_status); } && { 
    3938          test -z "$ac_c_werror_flag" || 
    3939          test ! -s conftest.err 
    3940        } && test -s conftest$ac_exeext && 
    3941        $as_test_x conftest$ac_exeext; then 
     3889if ac_fn_c_try_link "$LINENO"; then : 
    39423890  ac_cv_lib_uuid_uuid_generate=yes 
    39433891else 
    3944   echo "$as_me: failed program was:" >&5 
    3945 sed 's/^/| /' conftest.$ac_ext >&5 
    3946  
    3947         ac_cv_lib_uuid_uuid_generate=no 
    3948 fi 
    3949  
    3950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3951       conftest$ac_exeext conftest.$ac_ext 
     3892  ac_cv_lib_uuid_uuid_generate=no 
     3893fi 
     3894rm -f core conftest.err conftest.$ac_objext \ 
     3895    conftest$ac_exeext conftest.$ac_ext 
    39523896LIBS=$ac_check_lib_save_LIBS 
    39533897fi 
    3954 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3955 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3956 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3899$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3900if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    39573901  cat >>confdefs.h <<_ACEOF 
    39583902#define HAVE_LIBUUID 1 
     
    39633907fi 
    39643908 
    3965 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3966 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3967 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3968   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3910$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3911if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3912  $as_echo_n "(cached) " >&6 
    39693913else 
    39703914  ac_check_lib_save_LIBS=$LIBS 
    39713915LIBS="-luuid  $LIBS" 
    3972 cat >conftest.$ac_ext <<_ACEOF 
    3973 /* confdefs.h.  */ 
    3974 _ACEOF 
    3975 cat confdefs.h >>conftest.$ac_ext 
    3976 cat >>conftest.$ac_ext <<_ACEOF 
     3916cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39773917/* end confdefs.h.  */ 
    39783918 
     
    39923932} 
    39933933_ACEOF 
    3994 rm -f conftest.$ac_objext conftest$ac_exeext 
    3995 if { (ac_try="$ac_link" 
    3996 case "(($ac_try" in 
    3997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3998   *) ac_try_echo=$ac_try;; 
    3999 esac 
    4000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4001   (eval "$ac_link") 2>conftest.er1 
    4002   ac_status=$? 
    4003   grep -v '^ *+' conftest.er1 >conftest.err 
    4004   rm -f conftest.er1 
    4005   cat conftest.err >&5 
    4006   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4007   (exit $ac_status); } && { 
    4008          test -z "$ac_c_werror_flag" || 
    4009          test ! -s conftest.err 
    4010        } && test -s conftest$ac_exeext && 
    4011        $as_test_x conftest$ac_exeext; then 
     3934if ac_fn_c_try_link "$LINENO"; then : 
    40123935  ac_cv_lib_uuid_uuid_generate=yes 
    40133936else 
    4014   echo "$as_me: failed program was:" >&5 
    4015 sed 's/^/| /' conftest.$ac_ext >&5 
    4016  
    4017         ac_cv_lib_uuid_uuid_generate=no 
    4018 fi 
    4019  
    4020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4021       conftest$ac_exeext conftest.$ac_ext 
     3937  ac_cv_lib_uuid_uuid_generate=no 
     3938fi 
     3939rm -f core conftest.err conftest.$ac_objext \ 
     3940    conftest$ac_exeext conftest.$ac_ext 
    40223941LIBS=$ac_check_lib_save_LIBS 
    40233942fi 
    4024 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    4025 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4026 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3944$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3945if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40273946  ac_has_uuid_lib=1 
    40283947fi 
    40293948 
    40303949 
    4031 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    4032 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
     3950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3951$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    40333952cat >>confdefs.h <<_ACEOF 
    40343953#define PJ_M_NAME "$target_cpu" 
     
    40363955 
    40373956 
    4038 { echo "$as_me:$LINENO: checking memory alignment" >&5 
    4039 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
     3957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
     3958$as_echo_n "checking memory alignment... " >&6; } 
    40403959case $target in 
    40413960    sparc64-* | ia64-* | x86_64-* ) 
    4042         cat >>confdefs.h <<\_ACEOF 
    4043 #define PJ_POOL_ALIGNMENT 8 
    4044 _ACEOF 
    4045  
    4046         { echo "$as_me:$LINENO: result: 8 bytes" >&5 
    4047 echo "${ECHO_T}8 bytes" >&6; } 
     3961        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3962 
     3963        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
     3964$as_echo "8 bytes" >&6; } 
    40483965        ;; 
    40493966    * ) 
    4050         cat >>confdefs.h <<\_ACEOF 
    4051 #define PJ_POOL_ALIGNMENT 4 
    4052 _ACEOF 
    4053  
    4054         { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    4055 echo "${ECHO_T}4 bytes (default)" >&6; } 
     3967        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3968 
     3969        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
     3970$as_echo "4 bytes (default)" >&6; } 
    40563971        ;; 
    40573972esac 
     
    40633978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    40643979ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4065 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    4066 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
     3980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
     3981$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    40673982# On Suns, sometimes $CPP names a directory. 
    40683983if test -n "$CPP" && test -d "$CPP"; then 
     
    40703985fi 
    40713986if test -z "$CPP"; then 
    4072   if test "${ac_cv_prog_CPP+set}" = set; then 
    4073   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3987  if test "${ac_cv_prog_CPP+set}" = set; then : 
     3988  $as_echo_n "(cached) " >&6 
    40743989else 
    40753990      # Double quotes because CPP needs to be expanded 
     
    40854000  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40864001  # not just through cpp. "Syntax error" is here to catch this case. 
    4087   cat >conftest.$ac_ext <<_ACEOF 
    4088 /* confdefs.h.  */ 
    4089 _ACEOF 
    4090 cat confdefs.h >>conftest.$ac_ext 
    4091 cat >>conftest.$ac_ext <<_ACEOF 
     4002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40924003/* end confdefs.h.  */ 
    40934004#ifdef __STDC__ 
     
    40984009                     Syntax error 
    40994010_ACEOF 
    4100 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4101 case "(($ac_try" in 
    4102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4103   *) ac_try_echo=$ac_try;; 
    4104 esac 
    4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4106   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4107   ac_status=$? 
    4108   grep -v '^ *+' conftest.er1 >conftest.err 
    4109   rm -f conftest.er1 
    4110   cat conftest.err >&5 
    4111   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4112   (exit $ac_status); } >/dev/null && { 
    4113          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4114          test ! -s conftest.err 
    4115        }; then 
    4116   : 
    4117 else 
    4118   echo "$as_me: failed program was:" >&5 
    4119 sed 's/^/| /' conftest.$ac_ext >&5 
    4120  
     4011if ac_fn_c_try_cpp "$LINENO"; then : 
     4012 
     4013else 
    41214014  # Broken: fails on valid input. 
    41224015continue 
    41234016fi 
    4124  
    41254017rm -f conftest.err conftest.$ac_ext 
    41264018 
    41274019  # OK, works on sane cases.  Now check whether nonexistent headers 
    41284020  # can be detected and how. 
    4129   cat >conftest.$ac_ext <<_ACEOF 
    4130 /* confdefs.h.  */ 
    4131 _ACEOF 
    4132 cat confdefs.h >>conftest.$ac_ext 
    4133 cat >>conftest.$ac_ext <<_ACEOF 
     4021  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41344022/* end confdefs.h.  */ 
    41354023#include <ac_nonexistent.h> 
    41364024_ACEOF 
    4137 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4138 case "(($ac_try" in 
    4139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4140   *) ac_try_echo=$ac_try;; 
    4141 esac 
    4142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4143   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4144   ac_status=$? 
    4145   grep -v '^ *+' conftest.er1 >conftest.err 
    4146   rm -f conftest.er1 
    4147   cat conftest.err >&5 
    4148   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4149   (exit $ac_status); } >/dev/null && { 
    4150          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4151          test ! -s conftest.err 
    4152        }; then 
     4025if ac_fn_c_try_cpp "$LINENO"; then : 
    41534026  # Broken: success on invalid input. 
    41544027continue 
    41554028else 
    4156   echo "$as_me: failed program was:" >&5 
    4157 sed 's/^/| /' conftest.$ac_ext >&5 
    4158  
    41594029  # Passes both tests. 
    41604030ac_preproc_ok=: 
    41614031break 
    41624032fi 
    4163  
    41644033rm -f conftest.err conftest.$ac_ext 
    41654034 
     
    41674036# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    41684037rm -f conftest.err conftest.$ac_ext 
    4169 if $ac_preproc_ok; then 
     4038if $ac_preproc_ok; then : 
    41704039  break 
    41714040fi 
     
    41794048  ac_cv_prog_CPP=$CPP 
    41804049fi 
    4181 { echo "$as_me:$LINENO: result: $CPP" >&5 
    4182 echo "${ECHO_T}$CPP" >&6; } 
     4050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
     4051$as_echo "$CPP" >&6; } 
    41834052ac_preproc_ok=false 
    41844053for ac_c_preproc_warn_flag in '' yes 
     
    41904059  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41914060  # not just through cpp. "Syntax error" is here to catch this case. 
    4192   cat >conftest.$ac_ext <<_ACEOF 
    4193 /* confdefs.h.  */ 
    4194 _ACEOF 
    4195 cat confdefs.h >>conftest.$ac_ext 
    4196 cat >>conftest.$ac_ext <<_ACEOF 
     4061  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41974062/* end confdefs.h.  */ 
    41984063#ifdef __STDC__ 
     
    42034068                     Syntax error 
    42044069_ACEOF 
    4205 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4206 case "(($ac_try" in 
    4207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4208   *) ac_try_echo=$ac_try;; 
    4209 esac 
    4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4211   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4212   ac_status=$? 
    4213   grep -v '^ *+' conftest.er1 >conftest.err 
    4214   rm -f conftest.er1 
    4215   cat conftest.err >&5 
    4216   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4217   (exit $ac_status); } >/dev/null && { 
    4218          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4219          test ! -s conftest.err 
    4220        }; then 
    4221   : 
    4222 else 
    4223   echo "$as_me: failed program was:" >&5 
    4224 sed 's/^/| /' conftest.$ac_ext >&5 
    4225  
     4070if ac_fn_c_try_cpp "$LINENO"; then : 
     4071 
     4072else 
    42264073  # Broken: fails on valid input. 
    42274074continue 
    42284075fi 
    4229  
    42304076rm -f conftest.err conftest.$ac_ext 
    42314077 
    42324078  # OK, works on sane cases.  Now check whether nonexistent headers 
    42334079  # can be detected and how. 
    4234   cat >conftest.$ac_ext <<_ACEOF 
    4235 /* confdefs.h.  */ 
    4236 _ACEOF 
    4237 cat confdefs.h >>conftest.$ac_ext 
    4238 cat >>conftest.$ac_ext <<_ACEOF 
     4080  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42394081/* end confdefs.h.  */ 
    42404082#include <ac_nonexistent.h> 
    42414083_ACEOF 
    4242 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4243 case "(($ac_try" in 
    4244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4245   *) ac_try_echo=$ac_try;; 
    4246 esac 
    4247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4248   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4249   ac_status=$? 
    4250   grep -v '^ *+' conftest.er1 >conftest.err 
    4251   rm -f conftest.er1 
    4252   cat conftest.err >&5 
    4253   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4254   (exit $ac_status); } >/dev/null && { 
    4255          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4256          test ! -s conftest.err 
    4257        }; then 
     4084if ac_fn_c_try_cpp "$LINENO"; then : 
    42584085  # Broken: success on invalid input. 
    42594086continue 
    42604087else 
    4261   echo "$as_me: failed program was:" >&5 
    4262 sed 's/^/| /' conftest.$ac_ext >&5 
    4263  
    42644088  # Passes both tests. 
    42654089ac_preproc_ok=: 
    42664090break 
    42674091fi 
    4268  
    42694092rm -f conftest.err conftest.$ac_ext 
    42704093 
     
    42724095# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42734096rm -f conftest.err conftest.$ac_ext 
    4274 if $ac_preproc_ok; then 
    4275   : 
    4276 else 
    4277   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4278 See \`config.log' for more details." >&5 
    4279 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4280 See \`config.log' for more details." >&2;} 
    4281    { (exit 1); exit 1; }; } 
     4097if $ac_preproc_ok; then : 
     4098 
     4099else 
     4100  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     4101$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     4102as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     4103See \`config.log' for more details." "$LINENO" 5; } 
    42824104fi 
    42834105 
     
    42894111 
    42904112 
    4291 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
    4292 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
    4293 if test "${ac_cv_path_GREP+set}" = set; then 
    4294   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4295 else 
    4296   # Extract the first word of "grep ggrep" to use in msg output 
    4297 if test -z "$GREP"; then 
    4298 set dummy grep ggrep; ac_prog_name=$2 
    4299 if test "${ac_cv_path_GREP+set}" = set; then 
    4300   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4301 else 
     4113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
     4114$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
     4115if test "${ac_cv_path_GREP+set}" = set; then : 
     4116  $as_echo_n "(cached) " >&6 
     4117else 
     4118  if test -z "$GREP"; then 
    43024119  ac_path_GREP_found=false 
    4303 # Loop through the user's path and test for each of PROGNAME-LIST 
    4304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4120  # Loop through the user's path and test for each of PROGNAME-LIST 
     4121  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43054122for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43064123do 
    43074124  IFS=$as_save_IFS 
    43084125  test -z "$as_dir" && as_dir=. 
    4309   for ac_prog in grep ggrep; do 
    4310   for ac_exec_ext in '' $ac_executable_extensions; do 
    4311     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4312     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4313     # Check for GNU ac_path_GREP and select it if it is found. 
     4126    for ac_prog in grep ggrep; do 
     4127    for ac_exec_ext in '' $ac_executable_extensions; do 
     4128      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4129      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4130# Check for GNU ac_path_GREP and select it if it is found. 
    43144131  # Check for GNU $ac_path_GREP 
    43154132case `"$ac_path_GREP" --version 2>&1` in 
     
    43184135*) 
    43194136  ac_count=0 
    4320   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4137  $as_echo_n 0123456789 >"conftest.in" 
    43214138  while : 
    43224139  do 
     
    43244141    mv "conftest.tmp" "conftest.in" 
    43254142    cp "conftest.in" "conftest.nl" 
    4326     echo 'GREP' >> "conftest.nl" 
     4143    $as_echo 'GREP' >> "conftest.nl" 
    43274144    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43284145    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4329     ac_count=`expr $ac_count + 1` 
     4146    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43304147    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    43314148      # Best one so far, save it but keep looking for a better one 
     
    43394156esac 
    43404157 
    4341  
    4342     $ac_path_GREP_found && break 3 
     4158      $ac_path_GREP_found && break 3 
     4159    done 
    43434160  done 
    4344 done 
    4345  
    4346 done 
     4161  done 
    43474162IFS=$as_save_IFS 
    4348  
    4349  
    4350 fi 
    4351  
    4352 GREP="$ac_cv_path_GREP" 
    4353 if test -z "$GREP"; then 
    4354   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4355 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4356    { (exit 1); exit 1; }; } 
    4357 fi 
    4358  
     4163  if test -z "$ac_cv_path_GREP"; then 
     4164    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4165  fi 
    43594166else 
    43604167  ac_cv_path_GREP=$GREP 
    43614168fi 
    43624169 
    4363  
    4364 fi 
    4365 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
    4366 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
     4170fi 
     4171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
     4172$as_echo "$ac_cv_path_GREP" >&6; } 
    43674173 GREP="$ac_cv_path_GREP" 
    43684174 
    43694175 
    4370 { echo "$as_me:$LINENO: checking for egrep" >&5 
    4371 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
    4372 if test "${ac_cv_path_EGREP+set}" = set; then 
    4373   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
     4177$as_echo_n "checking for egrep... " >&6; } 
     4178if test "${ac_cv_path_EGREP+set}" = set; then : 
     4179  $as_echo_n "(cached) " >&6 
    43744180else 
    43754181  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    43764182   then ac_cv_path_EGREP="$GREP -E" 
    43774183   else 
    4378      # Extract the first word of "egrep" to use in msg output 
    4379 if test -z "$EGREP"; then 
    4380 set dummy egrep; ac_prog_name=$2 
    4381 if test "${ac_cv_path_EGREP+set}" = set; then 
    4382   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4383 else 
     4184     if test -z "$EGREP"; then 
    43844185  ac_path_EGREP_found=false 
    4385 # Loop through the user's path and test for each of PROGNAME-LIST 
    4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4186  # Loop through the user's path and test for each of PROGNAME-LIST 
     4187  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43874188for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43884189do 
    43894190  IFS=$as_save_IFS 
    43904191  test -z "$as_dir" && as_dir=. 
    4391   for ac_prog in egrep; do 
    4392   for ac_exec_ext in '' $ac_executable_extensions; do 
    4393     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4394     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4395     # Check for GNU ac_path_EGREP and select it if it is found. 
     4192    for ac_prog in egrep; do 
     4193    for ac_exec_ext in '' $ac_executable_extensions; do 
     4194      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4195      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4196# Check for GNU ac_path_EGREP and select it if it is found. 
    43964197  # Check for GNU $ac_path_EGREP 
    43974198case `"$ac_path_EGREP" --version 2>&1` in 
     
    44004201*) 
    44014202  ac_count=0 
    4402   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4203  $as_echo_n 0123456789 >"conftest.in" 
    44034204  while : 
    44044205  do 
     
    44064207    mv "conftest.tmp" "conftest.in" 
    44074208    cp "conftest.in" "conftest.nl" 
    4408     echo 'EGREP' >> "conftest.nl" 
     4209    $as_echo 'EGREP' >> "conftest.nl" 
    44094210    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44104211    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4411     ac_count=`expr $ac_count + 1` 
     4212    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44124213    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44134214      # Best one so far, save it but keep looking for a better one 
     
    44214222esac 
    44224223 
    4423  
    4424     $ac_path_EGREP_found && break 3 
     4224      $ac_path_EGREP_found && break 3 
     4225    done 
    44254226  done 
    4426 done 
    4427  
    4428 done 
     4227  done 
    44294228IFS=$as_save_IFS 
    4430  
    4431  
    4432 fi 
    4433  
    4434 EGREP="$ac_cv_path_EGREP" 
    4435 if test -z "$EGREP"; then 
    4436   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4437 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4438    { (exit 1); exit 1; }; } 
    4439 fi 
    4440  
     4229  if test -z "$ac_cv_path_EGREP"; then 
     4230    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4231  fi 
    44414232else 
    44424233  ac_cv_path_EGREP=$EGREP 
    44434234fi 
    44444235 
    4445  
    44464236   fi 
    44474237fi 
    4448 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
    4449 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
     4238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
     4239$as_echo "$ac_cv_path_EGREP" >&6; } 
    44504240 EGREP="$ac_cv_path_EGREP" 
    44514241 
    44524242 
    4453 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    4454 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
    4455 if test "${ac_cv_header_stdc+set}" = set; then 
    4456   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4457 else 
    4458   cat >conftest.$ac_ext <<_ACEOF 
    4459 /* confdefs.h.  */ 
    4460 _ACEOF 
    4461 cat confdefs.h >>conftest.$ac_ext 
    4462 cat >>conftest.$ac_ext <<_ACEOF 
     4243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
     4244$as_echo_n "checking for ANSI C header files... " >&6; } 
     4245if test "${ac_cv_header_stdc+set}" = set; then : 
     4246  $as_echo_n "(cached) " >&6 
     4247else 
     4248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44634249/* end confdefs.h.  */ 
    44644250#include <stdlib.h> 
     
    44754261} 
    44764262_ACEOF 
    4477 rm -f conftest.$ac_objext 
    4478 if { (ac_try="$ac_compile" 
    4479 case "(($ac_try" in 
    4480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4481   *) ac_try_echo=$ac_try;; 
    4482 esac 
    4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4484   (eval "$ac_compile") 2>conftest.er1 
    4485   ac_status=$? 
    4486   grep -v '^ *+' conftest.er1 >conftest.err 
    4487   rm -f conftest.er1 
    4488   cat conftest.err >&5 
    4489   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4490   (exit $ac_status); } && { 
    4491          test -z "$ac_c_werror_flag" || 
    4492          test ! -s conftest.err 
    4493        } && test -s conftest.$ac_objext; then 
     4263if ac_fn_c_try_compile "$LINENO"; then : 
    44944264  ac_cv_header_stdc=yes 
    44954265else 
    4496   echo "$as_me: failed program was:" >&5 
    4497 sed 's/^/| /' conftest.$ac_ext >&5 
    4498  
    4499         ac_cv_header_stdc=no 
    4500 fi 
    4501  
     4266  ac_cv_header_stdc=no 
     4267fi 
    45024268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    45034269 
    45044270if test $ac_cv_header_stdc = yes; then 
    45054271  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4506   cat >conftest.$ac_ext <<_ACEOF 
    4507 /* confdefs.h.  */ 
    4508 _ACEOF 
    4509 cat confdefs.h >>conftest.$ac_ext 
    4510 cat >>conftest.$ac_ext <<_ACEOF 
     4272  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45114273/* end confdefs.h.  */ 
    45124274#include <string.h> 
     
    45144276_ACEOF 
    45154277if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4516   $EGREP "memchr" >/dev/null 2>&1; then 
    4517   : 
     4278  $EGREP "memchr" >/dev/null 2>&1; then : 
     4279 
    45184280else 
    45194281  ac_cv_header_stdc=no 
    45204282fi 
    4521 rm -f -r conftest* 
     4283rm -f conftest* 
    45224284 
    45234285fi 
     
    45254287if test $ac_cv_header_stdc = yes; then 
    45264288  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4527   cat >conftest.$ac_ext <<_ACEOF 
    4528 /* confdefs.h.  */ 
    4529 _ACEOF 
    4530 cat confdefs.h >>conftest.$ac_ext 
    4531 cat >>conftest.$ac_ext <<_ACEOF 
     4289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45324290/* end confdefs.h.  */ 
    45334291#include <stdlib.h> 
     
    45354293_ACEOF 
    45364294if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4537   $EGREP "free" >/dev/null 2>&1; then 
    4538   : 
     4295  $EGREP "free" >/dev/null 2>&1; then : 
     4296 
    45394297else 
    45404298  ac_cv_header_stdc=no 
    45414299fi 
    4542 rm -f -r conftest* 
     4300rm -f conftest* 
    45434301 
    45444302fi 
     
    45464304if test $ac_cv_header_stdc = yes; then 
    45474305  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4548   if test "$cross_compiling" = yes; then 
     4306  if test "$cross_compiling" = yes; then : 
    45494307  : 
    45504308else 
    4551   cat >conftest.$ac_ext <<_ACEOF 
    4552 /* confdefs.h.  */ 
    4553 _ACEOF 
    4554 cat confdefs.h >>conftest.$ac_ext 
    4555 cat >>conftest.$ac_ext <<_ACEOF 
     4309  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45564310/* end confdefs.h.  */ 
    45574311#include <ctype.h> 
     
    45804334} 
    45814335_ACEOF 
    4582 rm -f conftest$ac_exeext 
    4583 if { (ac_try="$ac_link" 
    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_link") 2>&5 
    4590   ac_status=$? 
    4591   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4592   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4593   { (case "(($ac_try" in 
    4594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4595   *) ac_try_echo=$ac_try;; 
    4596 esac 
    4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4598   (eval "$ac_try") 2>&5 
    4599   ac_status=$? 
    4600   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4601   (exit $ac_status); }; }; then 
    4602   : 
    4603 else 
    4604   echo "$as_me: program exited with status $ac_status" >&5 
    4605 echo "$as_me: failed program was:" >&5 
    4606 sed 's/^/| /' conftest.$ac_ext >&5 
    4607  
    4608 ( exit $ac_status ) 
    4609 ac_cv_header_stdc=no 
    4610 fi 
    4611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4612 fi 
    4613  
    4614  
    4615 fi 
    4616 fi 
    4617 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    4618 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
     4336if ac_fn_c_try_run "$LINENO"; then : 
     4337 
     4338else 
     4339  ac_cv_header_stdc=no 
     4340fi 
     4341rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4342  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4343fi 
     4344 
     4345fi 
     4346fi 
     4347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
     4348$as_echo "$ac_cv_header_stdc" >&6; } 
    46194349if test $ac_cv_header_stdc = yes; then 
    46204350 
    4621 cat >>confdefs.h <<\_ACEOF 
    4622 #define STDC_HEADERS 1 
    4623 _ACEOF 
     4351$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46244352 
    46254353fi 
    46264354 
    46274355# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4628  
    4629  
    4630  
    4631  
    4632  
    4633  
    4634  
    4635  
    4636  
    46374356for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    46384357                  inttypes.h stdint.h unistd.h 
    4639 do 
    4640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4641 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
    4643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4644   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4645 else 
    4646   cat >conftest.$ac_ext <<_ACEOF 
    4647 /* confdefs.h.  */ 
    4648 _ACEOF 
    4649 cat confdefs.h >>conftest.$ac_ext 
    4650 cat >>conftest.$ac_ext <<_ACEOF 
     4358do : 
     4359  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4360ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4361" 
     4362eval as_val=\$$as_ac_Header 
     4363   if test "x$as_val" = x""yes; then : 
     4364  cat >>confdefs.h <<_ACEOF 
     4365#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4366_ACEOF 
     4367 
     4368fi 
     4369 
     4370done 
     4371 
     4372 
     4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
     4374$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
     4375if test "${ac_cv_c_bigendian+set}" = set; then : 
     4376  $as_echo_n "(cached) " >&6 
     4377else 
     4378  ac_cv_c_bigendian=unknown 
     4379    # See if we're dealing with a universal compiler. 
     4380    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46514381/* end confdefs.h.  */ 
    4652 $ac_includes_default 
    4653  
    4654 #include <$ac_header> 
    4655 _ACEOF 
    4656 rm -f conftest.$ac_objext 
    4657 if { (ac_try="$ac_compile" 
    4658 case "(($ac_try" in 
    4659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4660   *) ac_try_echo=$ac_try;; 
    4661 esac 
    4662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4663   (eval "$ac_compile") 2>conftest.er1 
    4664   ac_status=$? 
    4665   grep -v '^ *+' conftest.er1 >conftest.err 
    4666   rm -f conftest.er1 
    4667   cat conftest.err >&5 
    4668   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4669   (exit $ac_status); } && { 
    4670          test -z "$ac_c_werror_flag" || 
    4671          test ! -s conftest.err 
    4672        } && test -s conftest.$ac_objext; then 
    4673   eval "$as_ac_Header=yes" 
    4674 else 
    4675   echo "$as_me: failed program was:" >&5 
    4676 sed 's/^/| /' conftest.$ac_ext >&5 
    4677  
    4678         eval "$as_ac_Header=no" 
    4679 fi 
    4680  
     4382#ifndef __APPLE_CC__ 
     4383               not a universal capable compiler 
     4384             #endif 
     4385             typedef int dummy; 
     4386 
     4387_ACEOF 
     4388if ac_fn_c_try_compile "$LINENO"; then : 
     4389 
     4390        # Check for potential -arch flags.  It is not universal unless 
     4391        # there are at least two -arch flags with different values. 
     4392        ac_arch= 
     4393        ac_prev= 
     4394        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4395         if test -n "$ac_prev"; then 
     4396           case $ac_word in 
     4397             i?86 | x86_64 | ppc | ppc64) 
     4398               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4399                 ac_arch=$ac_word 
     4400               else 
     4401                 ac_cv_c_bigendian=universal 
     4402                 break 
     4403               fi 
     4404               ;; 
     4405           esac 
     4406           ac_prev= 
     4407         elif test "x$ac_word" = "x-arch"; then 
     4408           ac_prev=arch 
     4409         fi 
     4410       done 
     4411fi 
    46814412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4682 fi 
    4683 ac_res=`eval echo '${'$as_ac_Header'}'` 
    4684                { echo "$as_me:$LINENO: result: $ac_res" >&5 
    4685 echo "${ECHO_T}$ac_res" >&6; } 
    4686 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    4687   cat >>confdefs.h <<_ACEOF 
    4688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    4689 _ACEOF 
    4690  
    4691 fi 
    4692  
    4693 done 
    4694  
    4695  
    4696 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    4697 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
    4698 if test "${ac_cv_c_bigendian+set}" = set; then 
    4699   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4700 else 
    4701   # See if sys/param.h defines the BYTE_ORDER macro. 
    4702 cat >conftest.$ac_ext <<_ACEOF 
    4703 /* confdefs.h.  */ 
    4704 _ACEOF 
    4705 cat confdefs.h >>conftest.$ac_ext 
    4706 cat >>conftest.$ac_ext <<_ACEOF 
     4413    if test $ac_cv_c_bigendian = unknown; then 
     4414      # See if sys/param.h defines the BYTE_ORDER macro. 
     4415      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47074416/* end confdefs.h.  */ 
    47084417#include <sys/types.h> 
    4709 #include <sys/param.h> 
     4418             #include <sys/param.h> 
    47104419 
    47114420int 
    47124421main () 
    47134422{ 
    4714 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
    4715         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
    4716  bogus endian macros 
    4717 #endif 
     4423#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
     4424                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
     4425                     && LITTLE_ENDIAN) 
     4426              bogus endian macros 
     4427             #endif 
    47184428 
    47194429  ; 
     
    47214431} 
    47224432_ACEOF 
    4723 rm -f conftest.$ac_objext 
    4724 if { (ac_try="$ac_compile" 
    4725 case "(($ac_try" in 
    4726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4727   *) ac_try_echo=$ac_try;; 
    4728 esac 
    4729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4730   (eval "$ac_compile") 2>conftest.er1 
    4731   ac_status=$? 
    4732   grep -v '^ *+' conftest.er1 >conftest.err 
    4733   rm -f conftest.er1 
    4734   cat conftest.err >&5 
    4735   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4736   (exit $ac_status); } && { 
    4737          test -z "$ac_c_werror_flag" || 
    4738          test ! -s conftest.err 
    4739        } && test -s conftest.$ac_objext; then 
     4433if ac_fn_c_try_compile "$LINENO"; then : 
    47404434  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4741 cat >conftest.$ac_ext <<_ACEOF 
    4742 /* confdefs.h.  */ 
    4743 _ACEOF 
    4744 cat confdefs.h >>conftest.$ac_ext 
    4745 cat >>conftest.$ac_ext <<_ACEOF 
     4435         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47464436/* end confdefs.h.  */ 
    47474437#include <sys/types.h> 
    4748 #include <sys/param.h> 
     4438                #include <sys/param.h> 
    47494439 
    47504440int 
     
    47524442{ 
    47534443#if BYTE_ORDER != BIG_ENDIAN 
    4754  not big endian 
    4755 #endif 
     4444                not big endian 
     4445                #endif 
    47564446 
    47574447  ; 
     
    47594449} 
    47604450_ACEOF 
    4761 rm -f conftest.$ac_objext 
    4762 if { (ac_try="$ac_compile" 
    4763 case "(($ac_try" in 
    4764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4765   *) ac_try_echo=$ac_try;; 
    4766 esac 
    4767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4768   (eval "$ac_compile") 2>conftest.er1 
    4769   ac_status=$? 
    4770   grep -v '^ *+' conftest.er1 >conftest.err 
    4771   rm -f conftest.er1 
    4772   cat conftest.err >&5 
    4773   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4774   (exit $ac_status); } && { 
    4775          test -z "$ac_c_werror_flag" || 
    4776          test ! -s conftest.err 
    4777        } && test -s conftest.$ac_objext; then 
     4451if ac_fn_c_try_compile "$LINENO"; then : 
    47784452  ac_cv_c_bigendian=yes 
    47794453else 
    4780   echo "$as_me: failed program was:" >&5 
    4781 sed 's/^/| /' conftest.$ac_ext >&5 
    4782  
    4783         ac_cv_c_bigendian=no 
    4784 fi 
    4785  
     4454  ac_cv_c_bigendian=no 
     4455fi 
    47864456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4787 else 
    4788   echo "$as_me: failed program was:" >&5 
    4789 sed 's/^/| /' conftest.$ac_ext >&5 
    4790  
    4791         # It does not; compile a test program. 
    4792 if test "$cross_compiling" = yes; then 
    4793   # try to guess the endianness by grepping values into an object file 
    4794   ac_cv_c_bigendian=unknown 
    4795   cat >conftest.$ac_ext <<_ACEOF 
    4796 /* confdefs.h.  */ 
    4797 _ACEOF 
    4798 cat confdefs.h >>conftest.$ac_ext 
    4799 cat >>conftest.$ac_ext <<_ACEOF 
     4457fi 
     4458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4459    fi 
     4460    if test $ac_cv_c_bigendian = unknown; then 
     4461      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
     4462      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48004463/* end confdefs.h.  */ 
    4801 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4802 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4803 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    4804 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4805 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4806 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     4464#include <limits.h> 
     4465 
    48074466int 
    48084467main () 
    48094468{ 
    4810  _ascii (); _ebcdic (); 
     4469#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
     4470              bogus endian macros 
     4471             #endif 
     4472 
    48114473  ; 
    48124474  return 0; 
    48134475} 
    48144476_ACEOF 
    4815 rm -f conftest.$ac_objext 
    4816 if { (ac_try="$ac_compile" 
    4817 case "(($ac_try" in 
    4818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4819   *) ac_try_echo=$ac_try;; 
    4820 esac 
    4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4822   (eval "$ac_compile") 2>conftest.er1 
    4823   ac_status=$? 
    4824   grep -v '^ *+' conftest.er1 >conftest.err 
    4825   rm -f conftest.er1 
    4826   cat conftest.err >&5 
    4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4828   (exit $ac_status); } && { 
    4829          test -z "$ac_c_werror_flag" || 
    4830          test ! -s conftest.err 
    4831        } && test -s conftest.$ac_objext; then 
    4832   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     4477if ac_fn_c_try_compile "$LINENO"; then : 
     4478  # It does; now see whether it defined to _BIG_ENDIAN or not. 
     4479         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4480/* end confdefs.h.  */ 
     4481#include <limits.h> 
     4482 
     4483int 
     4484main () 
     4485{ 
     4486#ifndef _BIG_ENDIAN 
     4487                 not big endian 
     4488                #endif 
     4489 
     4490  ; 
     4491  return 0; 
     4492} 
     4493_ACEOF 
     4494if ac_fn_c_try_compile "$LINENO"; then : 
    48334495  ac_cv_c_bigendian=yes 
    4834 fi 
    4835 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4836   if test "$ac_cv_c_bigendian" = unknown; then 
    4837     ac_cv_c_bigendian=no 
    4838   else 
    4839     # finding both strings is unlikely to happen, but who knows? 
    4840     ac_cv_c_bigendian=unknown 
    4841   fi 
    4842 fi 
    4843 else 
    4844   echo "$as_me: failed program was:" >&5 
    4845 sed 's/^/| /' conftest.$ac_ext >&5 
    4846  
    4847  
    4848 fi 
    4849  
     4496else 
     4497  ac_cv_c_bigendian=no 
     4498fi 
    48504499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4851 else 
    4852   cat >conftest.$ac_ext <<_ACEOF 
    4853 /* confdefs.h.  */ 
    4854 _ACEOF 
    4855 cat confdefs.h >>conftest.$ac_ext 
    4856 cat >>conftest.$ac_ext <<_ACEOF 
     4500fi 
     4501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4502    fi 
     4503    if test $ac_cv_c_bigendian = unknown; then 
     4504      # Compile a test program. 
     4505      if test "$cross_compiling" = yes; then : 
     4506  # Try to guess by grepping values from an object file. 
     4507         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4508/* end confdefs.h.  */ 
     4509short int ascii_mm[] = 
     4510                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4511                short int ascii_ii[] = 
     4512                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4513                int use_ascii (int i) { 
     4514                  return ascii_mm[i] + ascii_ii[i]; 
     4515                } 
     4516                short int ebcdic_ii[] = 
     4517                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4518                short int ebcdic_mm[] = 
     4519                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4520                int use_ebcdic (int i) { 
     4521                  return ebcdic_mm[i] + ebcdic_ii[i]; 
     4522                } 
     4523                extern int foo; 
     4524 
     4525int 
     4526main () 
     4527{ 
     4528return use_ascii (foo) == use_ebcdic (foo); 
     4529  ; 
     4530  return 0; 
     4531} 
     4532_ACEOF 
     4533if ac_fn_c_try_compile "$LINENO"; then : 
     4534  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
     4535              ac_cv_c_bigendian=yes 
     4536            fi 
     4537            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4538              if test "$ac_cv_c_bigendian" = unknown; then 
     4539                ac_cv_c_bigendian=no 
     4540              else 
     4541                # finding both strings is unlikely to happen, but who knows? 
     4542                ac_cv_c_bigendian=unknown 
     4543              fi 
     4544            fi 
     4545fi 
     4546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4547else 
     4548  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48574549/* end confdefs.h.  */ 
    48584550$ac_includes_default 
     
    48614553{ 
    48624554 
    4863   /* Are we little or big endian?  From Harbison&Steele.  */ 
    4864   union 
    4865   { 
    4866     long int l; 
    4867     char c[sizeof (long int)]; 
    4868   } u; 
    4869   u.l = 1; 
    4870   return u.c[sizeof (long int) - 1] == 1; 
     4555             /* Are we little or big endian?  From Harbison&Steele.  */ 
     4556             union 
     4557             { 
     4558               long int l; 
     4559               char c[sizeof (long int)]; 
     4560             } u; 
     4561             u.l = 1; 
     4562             return u.c[sizeof (long int) - 1] == 1; 
    48714563 
    48724564  ; 
     
    48744566} 
    48754567_ACEOF 
    4876 rm -f conftest$ac_exeext 
    4877 if { (ac_try="$ac_link" 
    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_link") 2>&5 
    4884   ac_status=$? 
    4885   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4886   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4887   { (case "(($ac_try" in 
    4888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4889   *) ac_try_echo=$ac_try;; 
    4890 esac 
    4891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4892   (eval "$ac_try") 2>&5 
    4893   ac_status=$? 
    4894   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4895   (exit $ac_status); }; }; then 
     4568if ac_fn_c_try_run "$LINENO"; then : 
    48964569  ac_cv_c_bigendian=no 
    48974570else 
    4898   echo "$as_me: program exited with status $ac_status" >&5 
    4899 echo "$as_me: failed program was:" >&5 
    4900 sed 's/^/| /' conftest.$ac_ext >&5 
    4901  
    4902 ( exit $ac_status ) 
    4903 ac_cv_c_bigendian=yes 
    4904 fi 
    4905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4906 fi 
    4907  
    4908  
    4909 fi 
    4910  
    4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4912 fi 
    4913 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    4914 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
    4915 case $ac_cv_c_bigendian in 
    4916   yes) 
    4917  
    4918 cat >>confdefs.h <<\_ACEOF 
    4919 #define WORDS_BIGENDIAN 1 
    4920 _ACEOF 
    4921  ;; 
    4922   no) 
    4923      ;; 
    4924   *) 
    4925     { { echo "$as_me:$LINENO: error: unknown endianness 
    4926 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    4927 echo "$as_me: error: unknown endianness 
    4928 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    4929    { (exit 1); exit 1; }; } ;; 
    4930 esac 
     4571  ac_cv_c_bigendian=yes 
     4572fi 
     4573rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4574  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4575fi 
     4576 
     4577    fi 
     4578fi 
     4579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
     4580$as_echo "$ac_cv_c_bigendian" >&6; } 
     4581 case $ac_cv_c_bigendian in #( 
     4582   yes) 
     4583     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
     4584;; #( 
     4585   no) 
     4586      ;; #( 
     4587   universal) 
     4588 
     4589$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
     4590 
     4591     ;; #( 
     4592   *) 
     4593     as_fn_error "unknown endianness 
     4594 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     4595 esac 
    49314596 
    49324597 
    49334598case $target in 
    49344599    *mingw* | *cygw* | *win32* | *w32* ) 
    4935         cat >>confdefs.h <<\_ACEOF 
    4936 #define PJ_WIN32 1 
    4937 _ACEOF 
    4938  
    4939         cat >>confdefs.h <<\_ACEOF 
    4940 #define PJ_WIN32_WINNT 0x0400 
    4941 _ACEOF 
    4942  
    4943         cat >>confdefs.h <<\_ACEOF 
    4944 #define WIN32_LEAN_AND_MEAN 1 
    4945 _ACEOF 
     4600        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4601 
     4602        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4603 
     4604        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    49464605 
    49474606        ;; 
    49484607    *darwin*) 
    4949         cat >>confdefs.h <<\_ACEOF 
    4950 #define PJ_DARWINOS 1 
    4951 _ACEOF 
     4608        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    49524609 
    49534610        ;; 
    49544611    *linux*) 
    4955         cat >>confdefs.h <<\_ACEOF 
    4956 #define PJ_LINUX 1 
    4957 _ACEOF 
     4612        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    49584613 
    49594614        ;; 
    49604615    *rtems*) 
    4961         cat >>confdefs.h <<\_ACEOF 
    4962 #define PJ_RTEMS 1 
    4963 _ACEOF 
     4616        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    49644617 
    49654618        ;; 
    49664619    *sunos* | *solaris* ) 
    4967         cat >>confdefs.h <<\_ACEOF 
    4968 #define PJ_SUNOS 1 
    4969 _ACEOF 
     4620        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    49704621 
    49714622        ;; 
     
    49784629 
    49794630# Check whether --enable-floating-point was given. 
    4980 if test "${enable_floating_point+set}" = set; then 
     4631if test "${enable_floating_point+set}" = set; then : 
    49814632  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4982                 cat >>confdefs.h <<\_ACEOF 
    4983 #define PJ_HAS_FLOATING_POINT 0 
    4984 _ACEOF 
    4985  
    4986                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    4987 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
     4633                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4634 
     4635                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
     4636$as_echo "Checking if floating point is disabled... yes" >&6; } 
    49884637               fi 
    49894638else 
    49904639 
    4991                 cat >>confdefs.h <<\_ACEOF 
    4992 #define PJ_HAS_FLOATING_POINT 1 
    4993 _ACEOF 
    4994  
    4995                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    4996 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
    4997  
    4998 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    4999 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
    5000 if test "${ac_cv_lib_m_fmod+set}" = set; then 
    5001   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4640                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4641 
     4642                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
     4643$as_echo "Checking if floating point is disabled... no" >&6; } 
     4644                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
     4645$as_echo_n "checking for fmod in -lm... " >&6; } 
     4646if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4647  $as_echo_n "(cached) " >&6 
    50024648else 
    50034649  ac_check_lib_save_LIBS=$LIBS 
    50044650LIBS="-lm  $LIBS" 
    5005 cat >conftest.$ac_ext <<_ACEOF 
    5006 /* confdefs.h.  */ 
    5007 _ACEOF 
    5008 cat confdefs.h >>conftest.$ac_ext 
    5009 cat >>conftest.$ac_ext <<_ACEOF 
     4651cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50104652/* end confdefs.h.  */ 
    50114653 
     
    50254667} 
    50264668_ACEOF 
    5027 rm -f conftest.$ac_objext conftest$ac_exeext 
    5028 if { (ac_try="$ac_link" 
    5029 case "(($ac_try" in 
    5030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5031   *) ac_try_echo=$ac_try;; 
    5032 esac 
    5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5034   (eval "$ac_link") 2>conftest.er1 
    5035   ac_status=$? 
    5036   grep -v '^ *+' conftest.er1 >conftest.err 
    5037   rm -f conftest.er1 
    5038   cat conftest.err >&5 
    5039   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5040   (exit $ac_status); } && { 
    5041          test -z "$ac_c_werror_flag" || 
    5042          test ! -s conftest.err 
    5043        } && test -s conftest$ac_exeext && 
    5044        $as_test_x conftest$ac_exeext; then 
     4669if ac_fn_c_try_link "$LINENO"; then : 
    50454670  ac_cv_lib_m_fmod=yes 
    50464671else 
    5047   echo "$as_me: failed program was:" >&5 
    5048 sed 's/^/| /' conftest.$ac_ext >&5 
    5049  
    5050         ac_cv_lib_m_fmod=no 
    5051 fi 
    5052  
    5053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5054       conftest$ac_exeext conftest.$ac_ext 
     4672  ac_cv_lib_m_fmod=no 
     4673fi 
     4674rm -f core conftest.err conftest.$ac_objext \ 
     4675    conftest$ac_exeext conftest.$ac_ext 
    50554676LIBS=$ac_check_lib_save_LIBS 
    50564677fi 
    5057 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    5058 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
    5059 if test $ac_cv_lib_m_fmod = yes; then 
     4678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
     4679$as_echo "$ac_cv_lib_m_fmod" >&6; } 
     4680if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    50604681  cat >>confdefs.h <<_ACEOF 
    50614682#define HAVE_LIBM 1 
     
    50714692 
    50724693 
    5073 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5074   { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5075 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5076 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5077   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5078 fi 
    5079 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5080 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5081 else 
    5082   # Is the header compilable? 
    5083 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5084 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
    5085 cat >conftest.$ac_ext <<_ACEOF 
    5086 /* confdefs.h.  */ 
    5087 _ACEOF 
    5088 cat confdefs.h >>conftest.$ac_ext 
    5089 cat >>conftest.$ac_ext <<_ACEOF 
    5090 /* end confdefs.h.  */ 
    5091 $ac_includes_default 
    5092 #include <arpa/inet.h> 
    5093 _ACEOF 
    5094 rm -f conftest.$ac_objext 
    5095 if { (ac_try="$ac_compile" 
    5096 case "(($ac_try" in 
    5097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5098   *) ac_try_echo=$ac_try;; 
    5099 esac 
    5100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5101   (eval "$ac_compile") 2>conftest.er1 
    5102   ac_status=$? 
    5103   grep -v '^ *+' conftest.er1 >conftest.err 
    5104   rm -f conftest.er1 
    5105   cat conftest.err >&5 
    5106   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5107   (exit $ac_status); } && { 
    5108          test -z "$ac_c_werror_flag" || 
    5109          test ! -s conftest.err 
    5110        } && test -s conftest.$ac_objext; then 
    5111   ac_header_compiler=yes 
    5112 else 
    5113   echo "$as_me: failed program was:" >&5 
    5114 sed 's/^/| /' conftest.$ac_ext >&5 
    5115  
    5116         ac_header_compiler=no 
    5117 fi 
    5118  
    5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5121 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5122  
    5123 # Is the header present? 
    5124 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5125 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
    5126 cat >conftest.$ac_ext <<_ACEOF 
    5127 /* confdefs.h.  */ 
    5128 _ACEOF 
    5129 cat confdefs.h >>conftest.$ac_ext 
    5130 cat >>conftest.$ac_ext <<_ACEOF 
    5131 /* end confdefs.h.  */ 
    5132 #include <arpa/inet.h> 
    5133 _ACEOF 
    5134 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5135 case "(($ac_try" in 
    5136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5137   *) ac_try_echo=$ac_try;; 
    5138 esac 
    5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5140   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5141   ac_status=$? 
    5142   grep -v '^ *+' conftest.er1 >conftest.err 
    5143   rm -f conftest.er1 
    5144   cat conftest.err >&5 
    5145   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5146   (exit $ac_status); } >/dev/null && { 
    5147          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5148          test ! -s conftest.err 
    5149        }; then 
    5150   ac_header_preproc=yes 
    5151 else 
    5152   echo "$as_me: failed program was:" >&5 
    5153 sed 's/^/| /' conftest.$ac_ext >&5 
    5154  
    5155   ac_header_preproc=no 
    5156 fi 
    5157  
    5158 rm -f conftest.err conftest.$ac_ext 
    5159 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5160 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5161  
    5162 # So?  What about this header? 
    5163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5164   yes:no: ) 
    5165     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5166 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5167     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5168 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5169     ac_header_preproc=yes 
    5170     ;; 
    5171   no:yes:* ) 
    5172     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5173 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5174     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5175 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5176     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5177 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5178     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5179 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5180     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5181 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5182     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5183 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5184  
    5185     ;; 
    5186 esac 
    5187 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5188 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5189 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5190   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5191 else 
    5192   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5193 fi 
    5194 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5195 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5196  
    5197 fi 
    5198 if test $ac_cv_header_arpa_inet_h = yes; then 
    5199   cat >>confdefs.h <<\_ACEOF 
    5200 #define PJ_HAS_ARPA_INET_H 1 
    5201 _ACEOF 
    5202  
    5203 fi 
    5204  
    5205  
    5206 if test "${ac_cv_header_assert_h+set}" = set; then 
    5207   { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5208 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5209 if test "${ac_cv_header_assert_h+set}" = set; then 
    5210   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5211 fi 
    5212 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5213 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5214 else 
    5215   # Is the header compilable? 
    5216 { echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5217 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
    5218 cat >conftest.$ac_ext <<_ACEOF 
    5219 /* confdefs.h.  */ 
    5220 _ACEOF 
    5221 cat confdefs.h >>conftest.$ac_ext 
    5222 cat >>conftest.$ac_ext <<_ACEOF 
    5223 /* end confdefs.h.  */ 
    5224 $ac_includes_default 
    5225 #include <assert.h> 
    5226 _ACEOF 
    5227 rm -f conftest.$ac_objext 
    5228 if { (ac_try="$ac_compile" 
    5229 case "(($ac_try" in 
    5230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5231   *) ac_try_echo=$ac_try;; 
    5232 esac 
    5233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5234   (eval "$ac_compile") 2>conftest.er1 
    5235   ac_status=$? 
    5236   grep -v '^ *+' conftest.er1 >conftest.err 
    5237   rm -f conftest.er1 
    5238   cat conftest.err >&5 
    5239   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5240   (exit $ac_status); } && { 
    5241          test -z "$ac_c_werror_flag" || 
    5242          test ! -s conftest.err 
    5243        } && test -s conftest.$ac_objext; then 
    5244   ac_header_compiler=yes 
    5245 else 
    5246   echo "$as_me: failed program was:" >&5 
    5247 sed 's/^/| /' conftest.$ac_ext >&5 
    5248  
    5249         ac_header_compiler=no 
    5250 fi 
    5251  
    5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5254 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5255  
    5256 # Is the header present? 
    5257 { echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5258 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
    5259 cat >conftest.$ac_ext <<_ACEOF 
    5260 /* confdefs.h.  */ 
    5261 _ACEOF 
    5262 cat confdefs.h >>conftest.$ac_ext 
    5263 cat >>conftest.$ac_ext <<_ACEOF 
    5264 /* end confdefs.h.  */ 
    5265 #include <assert.h> 
    5266 _ACEOF 
    5267 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5268 case "(($ac_try" in 
    5269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5270   *) ac_try_echo=$ac_try;; 
    5271 esac 
    5272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5273   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5274   ac_status=$? 
    5275   grep -v '^ *+' conftest.er1 >conftest.err 
    5276   rm -f conftest.er1 
    5277   cat conftest.err >&5 
    5278   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5279   (exit $ac_status); } >/dev/null && { 
    5280          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5281          test ! -s conftest.err 
    5282        }; then 
    5283   ac_header_preproc=yes 
    5284 else 
    5285   echo "$as_me: failed program was:" >&5 
    5286 sed 's/^/| /' conftest.$ac_ext >&5 
    5287  
    5288   ac_header_preproc=no 
    5289 fi 
    5290  
    5291 rm -f conftest.err conftest.$ac_ext 
    5292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5293 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5294  
    5295 # So?  What about this header? 
    5296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5297   yes:no: ) 
    5298     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5299 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5300     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5301 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5302     ac_header_preproc=yes 
    5303     ;; 
    5304   no:yes:* ) 
    5305     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5306 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5307     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5308 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5309     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5310 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5311     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5312 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5313     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5314 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5315     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5316 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5317  
    5318     ;; 
    5319 esac 
    5320 { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5321 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5322 if test "${ac_cv_header_assert_h+set}" = set; then 
    5323   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5324 else 
    5325   ac_cv_header_assert_h=$ac_header_preproc 
    5326 fi 
    5327 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5328 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5329  
    5330 fi 
    5331 if test $ac_cv_header_assert_h = yes; then 
    5332   cat >>confdefs.h <<\_ACEOF 
    5333 #define PJ_HAS_ASSERT_H 1 
    5334 _ACEOF 
    5335  
    5336 fi 
    5337  
    5338  
    5339 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5340   { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5341 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5342 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5343   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5344 fi 
    5345 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5346 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5347 else 
    5348   # Is the header compilable? 
    5349 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5350 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
    5351 cat >conftest.$ac_ext <<_ACEOF 
    5352 /* confdefs.h.  */ 
    5353 _ACEOF 
    5354 cat confdefs.h >>conftest.$ac_ext 
    5355 cat >>conftest.$ac_ext <<_ACEOF 
    5356 /* end confdefs.h.  */ 
    5357 $ac_includes_default 
    5358 #include <ctype.h> 
    5359 _ACEOF 
    5360 rm -f conftest.$ac_objext 
    5361 if { (ac_try="$ac_compile" 
    5362 case "(($ac_try" in 
    5363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5364   *) ac_try_echo=$ac_try;; 
    5365 esac 
    5366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5367   (eval "$ac_compile") 2>conftest.er1 
    5368   ac_status=$? 
    5369   grep -v '^ *+' conftest.er1 >conftest.err 
    5370   rm -f conftest.er1 
    5371   cat conftest.err >&5 
    5372   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5373   (exit $ac_status); } && { 
    5374          test -z "$ac_c_werror_flag" || 
    5375          test ! -s conftest.err 
    5376        } && test -s conftest.$ac_objext; then 
    5377   ac_header_compiler=yes 
    5378 else 
    5379   echo "$as_me: failed program was:" >&5 
    5380 sed 's/^/| /' conftest.$ac_ext >&5 
    5381  
    5382         ac_header_compiler=no 
    5383 fi 
    5384  
    5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5386 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5387 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5388  
    5389 # Is the header present? 
    5390 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5391 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
    5392 cat >conftest.$ac_ext <<_ACEOF 
    5393 /* confdefs.h.  */ 
    5394 _ACEOF 
    5395 cat confdefs.h >>conftest.$ac_ext 
    5396 cat >>conftest.$ac_ext <<_ACEOF 
    5397 /* end confdefs.h.  */ 
    5398 #include <ctype.h> 
    5399 _ACEOF 
    5400 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5401 case "(($ac_try" in 
    5402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5403   *) ac_try_echo=$ac_try;; 
    5404 esac 
    5405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5406   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5407   ac_status=$? 
    5408   grep -v '^ *+' conftest.er1 >conftest.err 
    5409   rm -f conftest.er1 
    5410   cat conftest.err >&5 
    5411   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5412   (exit $ac_status); } >/dev/null && { 
    5413          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5414          test ! -s conftest.err 
    5415        }; then 
    5416   ac_header_preproc=yes 
    5417 else 
    5418   echo "$as_me: failed program was:" >&5 
    5419 sed 's/^/| /' conftest.$ac_ext >&5 
    5420  
    5421   ac_header_preproc=no 
    5422 fi 
    5423  
    5424 rm -f conftest.err conftest.$ac_ext 
    5425 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5426 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5427  
    5428 # So?  What about this header? 
    5429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5430   yes:no: ) 
    5431     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5432 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5433     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5434 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5435     ac_header_preproc=yes 
    5436     ;; 
    5437   no:yes:* ) 
    5438     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5439 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5440     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5441 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5442     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5443 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5444     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5445 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5446     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5447 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5448     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5449 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5450  
    5451     ;; 
    5452 esac 
    5453 { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5454 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5455 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5456   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5457 else 
    5458   ac_cv_header_ctype_h=$ac_header_preproc 
    5459 fi 
    5460 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5461 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5462  
    5463 fi 
    5464 if test $ac_cv_header_ctype_h = yes; then 
    5465   cat >>confdefs.h <<\_ACEOF 
    5466 #define PJ_HAS_CTYPE_H 1 
    5467 _ACEOF 
     4694ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4695if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4696  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4697 
     4698fi 
     4699 
     4700 
     4701ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4702if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4703  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4704 
     4705fi 
     4706 
     4707 
     4708ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4709if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4710  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    54684711 
    54694712fi 
     
    54734716case $target in 
    54744717    *mingw* | *cygw* | *win32* | *w32* ) 
    5475         cat >>confdefs.h <<\_ACEOF 
    5476 #define PJ_HAS_ERRNO_H 0 
    5477 _ACEOF 
     4718        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    54784719 
    54794720        ;; 
    54804721    *) 
    5481         if test "${ac_cv_header_errno_h+set}" = set; then 
    5482   { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5483 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5484 if test "${ac_cv_header_errno_h+set}" = set; then 
    5485   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5486 fi 
    5487 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5488 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5489 else 
    5490   # Is the header compilable? 
    5491 { echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5492 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
    5493 cat >conftest.$ac_ext <<_ACEOF 
    5494 /* confdefs.h.  */ 
    5495 _ACEOF 
    5496 cat confdefs.h >>conftest.$ac_ext 
    5497 cat >>conftest.$ac_ext <<_ACEOF 
    5498 /* end confdefs.h.  */ 
    5499 $ac_includes_default 
    5500 #include <errno.h> 
    5501 _ACEOF 
    5502 rm -f conftest.$ac_objext 
    5503 if { (ac_try="$ac_compile" 
    5504 case "(($ac_try" in 
    5505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5506   *) ac_try_echo=$ac_try;; 
    5507 esac 
    5508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5509   (eval "$ac_compile") 2>conftest.er1 
    5510   ac_status=$? 
    5511   grep -v '^ *+' conftest.er1 >conftest.err 
    5512   rm -f conftest.er1 
    5513   cat conftest.err >&5 
    5514   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5515   (exit $ac_status); } && { 
    5516          test -z "$ac_c_werror_flag" || 
    5517          test ! -s conftest.err 
    5518        } && test -s conftest.$ac_objext; then 
    5519   ac_header_compiler=yes 
    5520 else 
    5521   echo "$as_me: failed program was:" >&5 
    5522 sed 's/^/| /' conftest.$ac_ext >&5 
    5523  
    5524         ac_header_compiler=no 
    5525 fi 
    5526  
    5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5528 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5529 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5530  
    5531 # Is the header present? 
    5532 { echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5533 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
    5534 cat >conftest.$ac_ext <<_ACEOF 
    5535 /* confdefs.h.  */ 
    5536 _ACEOF 
    5537 cat confdefs.h >>conftest.$ac_ext 
    5538 cat >>conftest.$ac_ext <<_ACEOF 
    5539 /* end confdefs.h.  */ 
    5540 #include <errno.h> 
    5541 _ACEOF 
    5542 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5543 case "(($ac_try" in 
    5544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5545   *) ac_try_echo=$ac_try;; 
    5546 esac 
    5547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5548   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5549   ac_status=$? 
    5550   grep -v '^ *+' conftest.er1 >conftest.err 
    5551   rm -f conftest.er1 
    5552   cat conftest.err >&5 
    5553   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5554   (exit $ac_status); } >/dev/null && { 
    5555          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5556          test ! -s conftest.err 
    5557        }; then 
    5558   ac_header_preproc=yes 
    5559 else 
    5560   echo "$as_me: failed program was:" >&5 
    5561 sed 's/^/| /' conftest.$ac_ext >&5 
    5562  
    5563   ac_header_preproc=no 
    5564 fi 
    5565  
    5566 rm -f conftest.err conftest.$ac_ext 
    5567 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5568 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5569  
    5570 # So?  What about this header? 
    5571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5572   yes:no: ) 
    5573     { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5574 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5575     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5576 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5577     ac_header_preproc=yes 
    5578     ;; 
    5579   no:yes:* ) 
    5580     { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5581 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5582     { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5583 echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5584     { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5585 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5586     { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5587 echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5588     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5589 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5590     { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5591 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5592  
    5593     ;; 
    5594 esac 
    5595 { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5596 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5597 if test "${ac_cv_header_errno_h+set}" = set; then 
    5598   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5599 else 
    5600   ac_cv_header_errno_h=$ac_header_preproc 
    5601 fi 
    5602 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5603 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5604  
    5605 fi 
    5606 if test $ac_cv_header_errno_h = yes; then 
    5607   cat >>confdefs.h <<\_ACEOF 
    5608 #define PJ_HAS_ERRNO_H 1 
    5609 _ACEOF 
     4722        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4723if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4724  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    56104725 
    56114726fi 
     
    56154730esac 
    56164731 
    5617 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5618   { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5619 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5620 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5621   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5622 fi 
    5623 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5624 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5625 else 
    5626   # Is the header compilable? 
    5627 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5628 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
    5629 cat >conftest.$ac_ext <<_ACEOF 
    5630 /* confdefs.h.  */ 
    5631 _ACEOF 
    5632 cat confdefs.h >>conftest.$ac_ext 
    5633 cat >>conftest.$ac_ext <<_ACEOF 
    5634 /* end confdefs.h.  */ 
    5635 $ac_includes_default 
    5636 #include <fcntl.h> 
    5637 _ACEOF 
    5638 rm -f conftest.$ac_objext 
    5639 if { (ac_try="$ac_compile" 
    5640 case "(($ac_try" in 
    5641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5642   *) ac_try_echo=$ac_try;; 
    5643 esac 
    5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5645   (eval "$ac_compile") 2>conftest.er1 
    5646   ac_status=$? 
    5647   grep -v '^ *+' conftest.er1 >conftest.err 
    5648   rm -f conftest.er1 
    5649   cat conftest.err >&5 
    5650   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5651   (exit $ac_status); } && { 
    5652          test -z "$ac_c_werror_flag" || 
    5653          test ! -s conftest.err 
    5654        } && test -s conftest.$ac_objext; then 
    5655   ac_header_compiler=yes 
    5656 else 
    5657   echo "$as_me: failed program was:" >&5 
    5658 sed 's/^/| /' conftest.$ac_ext >&5 
    5659  
    5660         ac_header_compiler=no 
    5661 fi 
    5662  
    5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5664 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5665 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5666  
    5667 # Is the header present? 
    5668 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5669 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
    5670 cat >conftest.$ac_ext <<_ACEOF 
    5671 /* confdefs.h.  */ 
    5672 _ACEOF 
    5673 cat confdefs.h >>conftest.$ac_ext 
    5674 cat >>conftest.$ac_ext <<_ACEOF 
    5675 /* end confdefs.h.  */ 
    5676 #include <fcntl.h> 
    5677 _ACEOF 
    5678 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5679 case "(($ac_try" in 
    5680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5681   *) ac_try_echo=$ac_try;; 
    5682 esac 
    5683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5684   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5685   ac_status=$? 
    5686   grep -v '^ *+' conftest.er1 >conftest.err 
    5687   rm -f conftest.er1 
    5688   cat conftest.err >&5 
    5689   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5690   (exit $ac_status); } >/dev/null && { 
    5691          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5692          test ! -s conftest.err 
    5693        }; then 
    5694   ac_header_preproc=yes 
    5695 else 
    5696   echo "$as_me: failed program was:" >&5 
    5697 sed 's/^/| /' conftest.$ac_ext >&5 
    5698  
    5699   ac_header_preproc=no 
    5700 fi 
    5701  
    5702 rm -f conftest.err conftest.$ac_ext 
    5703 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5704 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5705  
    5706 # So?  What about this header? 
    5707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5708   yes:no: ) 
    5709     { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5710 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5711     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5712 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5713     ac_header_preproc=yes 
    5714     ;; 
    5715   no:yes:* ) 
    5716     { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5717 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5718     { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5719 echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5720     { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5721 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5722     { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5723 echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5724     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5725 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5726     { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5727 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5728  
    5729     ;; 
    5730 esac 
    5731 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5732 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5733 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5734   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5735 else 
    5736   ac_cv_header_fcntl_h=$ac_header_preproc 
    5737 fi 
    5738 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5739 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5740  
    5741 fi 
    5742 if test $ac_cv_header_fcntl_h = yes; then 
    5743   cat >>confdefs.h <<\_ACEOF 
    5744 #define PJ_HAS_FCNTL_H 1 
    5745 _ACEOF 
    5746  
    5747 fi 
    5748  
    5749  
    5750 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5751   { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5752 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5753 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5754   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5755 fi 
    5756 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5757 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5758 else 
    5759   # Is the header compilable? 
    5760 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    5761 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
    5762 cat >conftest.$ac_ext <<_ACEOF 
    5763 /* confdefs.h.  */ 
    5764 _ACEOF 
    5765 cat confdefs.h >>conftest.$ac_ext 
    5766 cat >>conftest.$ac_ext <<_ACEOF 
    5767 /* end confdefs.h.  */ 
    5768 $ac_includes_default 
    5769 #include <linux/socket.h> 
    5770 _ACEOF 
    5771 rm -f conftest.$ac_objext 
    5772 if { (ac_try="$ac_compile" 
    5773 case "(($ac_try" in 
    5774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5775   *) ac_try_echo=$ac_try;; 
    5776 esac 
    5777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5778   (eval "$ac_compile") 2>conftest.er1 
    5779   ac_status=$? 
    5780   grep -v '^ *+' conftest.er1 >conftest.err 
    5781   rm -f conftest.er1 
    5782   cat conftest.err >&5 
    5783   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5784   (exit $ac_status); } && { 
    5785          test -z "$ac_c_werror_flag" || 
    5786          test ! -s conftest.err 
    5787        } && test -s conftest.$ac_objext; then 
    5788   ac_header_compiler=yes 
    5789 else 
    5790   echo "$as_me: failed program was:" >&5 
    5791 sed 's/^/| /' conftest.$ac_ext >&5 
    5792  
    5793         ac_header_compiler=no 
    5794 fi 
    5795  
    5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5797 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5798 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5799  
    5800 # Is the header present? 
    5801 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    5802 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
    5803 cat >conftest.$ac_ext <<_ACEOF 
    5804 /* confdefs.h.  */ 
    5805 _ACEOF 
    5806 cat confdefs.h >>conftest.$ac_ext 
    5807 cat >>conftest.$ac_ext <<_ACEOF 
    5808 /* end confdefs.h.  */ 
    5809 #include <linux/socket.h> 
    5810 _ACEOF 
    5811 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5812 case "(($ac_try" in 
    5813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5814   *) ac_try_echo=$ac_try;; 
    5815 esac 
    5816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5817   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5818   ac_status=$? 
    5819   grep -v '^ *+' conftest.er1 >conftest.err 
    5820   rm -f conftest.er1 
    5821   cat conftest.err >&5 
    5822   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5823   (exit $ac_status); } >/dev/null && { 
    5824          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5825          test ! -s conftest.err 
    5826        }; then 
    5827   ac_header_preproc=yes 
    5828 else 
    5829   echo "$as_me: failed program was:" >&5 
    5830 sed 's/^/| /' conftest.$ac_ext >&5 
    5831  
    5832   ac_header_preproc=no 
    5833 fi 
    5834  
    5835 rm -f conftest.err conftest.$ac_ext 
    5836 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5837 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5838  
    5839 # So?  What about this header? 
    5840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5841   yes:no: ) 
    5842     { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5843 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5844     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    5845 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    5846     ac_header_preproc=yes 
    5847     ;; 
    5848   no:yes:* ) 
    5849     { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    5850 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    5851     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    5852 echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    5853     { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    5854 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    5855     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5856 echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5857     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    5858 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    5859     { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    5860 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    5861  
    5862     ;; 
    5863 esac 
    5864 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5865 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5866 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5867   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5868 else 
    5869   ac_cv_header_linux_socket_h=$ac_header_preproc 
    5870 fi 
    5871 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5872 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5873  
    5874 fi 
    5875 if test $ac_cv_header_linux_socket_h = yes; then 
    5876   cat >>confdefs.h <<\_ACEOF 
    5877 #define PJ_HAS_LINUX_SOCKET_H 1 
    5878 _ACEOF 
    5879  
    5880 fi 
    5881  
    5882  
    5883 if test "${ac_cv_header_limits_h+set}" = set; then 
    5884   { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5885 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5886 if test "${ac_cv_header_limits_h+set}" = set; then 
    5887   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5888 fi 
    5889 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    5890 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    5891 else 
    5892   # Is the header compilable? 
    5893 { echo "$as_me:$LINENO: checking limits.h usability" >&5 
    5894 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 
    5895 cat >conftest.$ac_ext <<_ACEOF 
    5896 /* confdefs.h.  */ 
    5897 _ACEOF 
    5898 cat confdefs.h >>conftest.$ac_ext 
    5899 cat >>conftest.$ac_ext <<_ACEOF 
    5900 /* end confdefs.h.  */ 
    5901 $ac_includes_default 
    5902 #include <limits.h> 
    5903 _ACEOF 
    5904 rm -f conftest.$ac_objext 
    5905 if { (ac_try="$ac_compile" 
    5906 case "(($ac_try" in 
    5907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5908   *) ac_try_echo=$ac_try;; 
    5909 esac 
    5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5911   (eval "$ac_compile") 2>conftest.er1 
    5912   ac_status=$? 
    5913   grep -v '^ *+' conftest.er1 >conftest.err 
    5914   rm -f conftest.er1 
    5915   cat conftest.err >&5 
    5916   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5917   (exit $ac_status); } && { 
    5918          test -z "$ac_c_werror_flag" || 
    5919          test ! -s conftest.err 
    5920        } && test -s conftest.$ac_objext; then 
    5921   ac_header_compiler=yes 
    5922 else 
    5923   echo "$as_me: failed program was:" >&5 
    5924 sed 's/^/| /' conftest.$ac_ext >&5 
    5925  
    5926         ac_header_compiler=no 
    5927 fi 
    5928  
    5929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5930 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5931 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5932  
    5933 # Is the header present? 
    5934 { echo "$as_me:$LINENO: checking limits.h presence" >&5 
    5935 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 
    5936 cat >conftest.$ac_ext <<_ACEOF 
    5937 /* confdefs.h.  */ 
    5938 _ACEOF 
    5939 cat confdefs.h >>conftest.$ac_ext 
    5940 cat >>conftest.$ac_ext <<_ACEOF 
    5941 /* end confdefs.h.  */ 
    5942 #include <limits.h> 
    5943 _ACEOF 
    5944 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5945 case "(($ac_try" in 
    5946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5947   *) ac_try_echo=$ac_try;; 
    5948 esac 
    5949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5950   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5951   ac_status=$? 
    5952   grep -v '^ *+' conftest.er1 >conftest.err 
    5953   rm -f conftest.er1 
    5954   cat conftest.err >&5 
    5955   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5956   (exit $ac_status); } >/dev/null && { 
    5957          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5958          test ! -s conftest.err 
    5959        }; then 
    5960   ac_header_preproc=yes 
    5961 else 
    5962   echo "$as_me: failed program was:" >&5 
    5963 sed 's/^/| /' conftest.$ac_ext >&5 
    5964  
    5965   ac_header_preproc=no 
    5966 fi 
    5967  
    5968 rm -f conftest.err conftest.$ac_ext 
    5969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5970 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5971  
    5972 # So?  What about this header? 
    5973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5974   yes:no: ) 
    5975     { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5976 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5977     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 
    5978 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 
    5979     ac_header_preproc=yes 
    5980     ;; 
    5981   no:yes:* ) 
    5982     { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 
    5983 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 
    5984     { echo "$as_me:$LINENO: WARNING: limits.h:     check for missing prerequisite headers?" >&5 
    5985 echo "$as_me: WARNING: limits.h:     check for missing prerequisite headers?" >&2;} 
    5986     { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 
    5987 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 
    5988     { echo "$as_me:$LINENO: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5989 echo "$as_me: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5990     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 
    5991 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 
    5992     { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 
    5993 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 
    5994  
    5995     ;; 
    5996 esac 
    5997 { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5998 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5999 if test "${ac_cv_header_limits_h+set}" = set; then 
    6000   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6001 else 
    6002   ac_cv_header_limits_h=$ac_header_preproc 
    6003 fi 
    6004 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    6005 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    6006  
    6007 fi 
    6008 if test $ac_cv_header_limits_h = yes; then 
    6009   cat >>confdefs.h <<\_ACEOF 
    6010 #define PJ_HAS_LIMITS_H 1 
    6011 _ACEOF 
    6012  
    6013 fi 
    6014  
    6015  
    6016 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6017   { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6018 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6019 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6020   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6021 fi 
    6022 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6023 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6024 else 
    6025   # Is the header compilable? 
    6026 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    6027 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
    6028 cat >conftest.$ac_ext <<_ACEOF 
    6029 /* confdefs.h.  */ 
    6030 _ACEOF 
    6031 cat confdefs.h >>conftest.$ac_ext 
    6032 cat >>conftest.$ac_ext <<_ACEOF 
    6033 /* end confdefs.h.  */ 
    6034 $ac_includes_default 
    6035 #include <malloc.h> 
    6036 _ACEOF 
    6037 rm -f conftest.$ac_objext 
    6038 if { (ac_try="$ac_compile" 
    6039 case "(($ac_try" in 
    6040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6041   *) ac_try_echo=$ac_try;; 
    6042 esac 
    6043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6044   (eval "$ac_compile") 2>conftest.er1 
    6045   ac_status=$? 
    6046   grep -v '^ *+' conftest.er1 >conftest.err 
    6047   rm -f conftest.er1 
    6048   cat conftest.err >&5 
    6049   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6050   (exit $ac_status); } && { 
    6051          test -z "$ac_c_werror_flag" || 
    6052          test ! -s conftest.err 
    6053        } && test -s conftest.$ac_objext; then 
    6054   ac_header_compiler=yes 
    6055 else 
    6056   echo "$as_me: failed program was:" >&5 
    6057 sed 's/^/| /' conftest.$ac_ext >&5 
    6058  
    6059         ac_header_compiler=no 
    6060 fi 
    6061  
    6062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6063 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6064 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6065  
    6066 # Is the header present? 
    6067 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    6068 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
    6069 cat >conftest.$ac_ext <<_ACEOF 
    6070 /* confdefs.h.  */ 
    6071 _ACEOF 
    6072 cat confdefs.h >>conftest.$ac_ext 
    6073 cat >>conftest.$ac_ext <<_ACEOF 
    6074 /* end confdefs.h.  */ 
    6075 #include <malloc.h> 
    6076 _ACEOF 
    6077 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6078 case "(($ac_try" in 
    6079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6080   *) ac_try_echo=$ac_try;; 
    6081 esac 
    6082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6083   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6084   ac_status=$? 
    6085   grep -v '^ *+' conftest.er1 >conftest.err 
    6086   rm -f conftest.er1 
    6087   cat conftest.err >&5 
    6088   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6089   (exit $ac_status); } >/dev/null && { 
    6090          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6091          test ! -s conftest.err 
    6092        }; then 
    6093   ac_header_preproc=yes 
    6094 else 
    6095   echo "$as_me: failed program was:" >&5 
    6096 sed 's/^/| /' conftest.$ac_ext >&5 
    6097  
    6098   ac_header_preproc=no 
    6099 fi 
    6100  
    6101 rm -f conftest.err conftest.$ac_ext 
    6102 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6103 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6104  
    6105 # So?  What about this header? 
    6106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6107   yes:no: ) 
    6108     { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6109 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6110     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    6111 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    6112     ac_header_preproc=yes 
    6113     ;; 
    6114   no:yes:* ) 
    6115     { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    6116 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    6117     { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    6118 echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    6119     { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    6120 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    6121     { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6122 echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6123     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    6124 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    6125     { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    6126 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    6127  
    6128     ;; 
    6129 esac 
    6130 { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6131 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6132 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6133   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6134 else 
    6135   ac_cv_header_malloc_h=$ac_header_preproc 
    6136 fi 
    6137 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6138 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6139  
    6140 fi 
    6141 if test $ac_cv_header_malloc_h = yes; then 
    6142   cat >>confdefs.h <<\_ACEOF 
    6143 #define PJ_HAS_MALLOC_H 1 
    6144 _ACEOF 
    6145  
    6146 fi 
    6147  
    6148  
    6149 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6150   { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6151 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6152 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6153   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6154 fi 
    6155 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6156 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6157 else 
    6158   # Is the header compilable? 
    6159 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6160 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
    6161 cat >conftest.$ac_ext <<_ACEOF 
    6162 /* confdefs.h.  */ 
    6163 _ACEOF 
    6164 cat confdefs.h >>conftest.$ac_ext 
    6165 cat >>conftest.$ac_ext <<_ACEOF 
    6166 /* end confdefs.h.  */ 
    6167 $ac_includes_default 
    6168 #include <netdb.h> 
    6169 _ACEOF 
    6170 rm -f conftest.$ac_objext 
    6171 if { (ac_try="$ac_compile" 
    6172 case "(($ac_try" in 
    6173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6174   *) ac_try_echo=$ac_try;; 
    6175 esac 
    6176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6177   (eval "$ac_compile") 2>conftest.er1 
    6178   ac_status=$? 
    6179   grep -v '^ *+' conftest.er1 >conftest.err 
    6180   rm -f conftest.er1 
    6181   cat conftest.err >&5 
    6182   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6183   (exit $ac_status); } && { 
    6184          test -z "$ac_c_werror_flag" || 
    6185          test ! -s conftest.err 
    6186        } && test -s conftest.$ac_objext; then 
    6187   ac_header_compiler=yes 
    6188 else 
    6189   echo "$as_me: failed program was:" >&5 
    6190 sed 's/^/| /' conftest.$ac_ext >&5 
    6191  
    6192         ac_header_compiler=no 
    6193 fi 
    6194  
    6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6196 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6197 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6198  
    6199 # Is the header present? 
    6200 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6201 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
    6202 cat >conftest.$ac_ext <<_ACEOF 
    6203 /* confdefs.h.  */ 
    6204 _ACEOF 
    6205 cat confdefs.h >>conftest.$ac_ext 
    6206 cat >>conftest.$ac_ext <<_ACEOF 
    6207 /* end confdefs.h.  */ 
    6208 #include <netdb.h> 
    6209 _ACEOF 
    6210 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6211 case "(($ac_try" in 
    6212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6213   *) ac_try_echo=$ac_try;; 
    6214 esac 
    6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6216   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6217   ac_status=$? 
    6218   grep -v '^ *+' conftest.er1 >conftest.err 
    6219   rm -f conftest.er1 
    6220   cat conftest.err >&5 
    6221   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6222   (exit $ac_status); } >/dev/null && { 
    6223          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6224          test ! -s conftest.err 
    6225        }; then 
    6226   ac_header_preproc=yes 
    6227 else 
    6228   echo "$as_me: failed program was:" >&5 
    6229 sed 's/^/| /' conftest.$ac_ext >&5 
    6230  
    6231   ac_header_preproc=no 
    6232 fi 
    6233  
    6234 rm -f conftest.err conftest.$ac_ext 
    6235 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6236 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6237  
    6238 # So?  What about this header? 
    6239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6240   yes:no: ) 
    6241     { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6242 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6243     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6244 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6245     ac_header_preproc=yes 
    6246     ;; 
    6247   no:yes:* ) 
    6248     { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6249 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6250     { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6251 echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6252     { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6253 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6254     { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6255 echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6256     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6257 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6258     { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6259 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6260  
    6261     ;; 
    6262 esac 
    6263 { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6264 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6265 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6266   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6267 else 
    6268   ac_cv_header_netdb_h=$ac_header_preproc 
    6269 fi 
    6270 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6271 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6272  
    6273 fi 
    6274 if test $ac_cv_header_netdb_h = yes; then 
    6275   cat >>confdefs.h <<\_ACEOF 
    6276 #define PJ_HAS_NETDB_H 1 
    6277 _ACEOF 
    6278  
    6279 fi 
    6280  
    6281  
    6282 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6283   { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6284 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6285 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6286   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6287 fi 
    6288 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6289 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6290 else 
    6291   # Is the header compilable? 
    6292 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6293 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
    6294 cat >conftest.$ac_ext <<_ACEOF 
    6295 /* confdefs.h.  */ 
    6296 _ACEOF 
    6297 cat confdefs.h >>conftest.$ac_ext 
    6298 cat >>conftest.$ac_ext <<_ACEOF 
    6299 /* end confdefs.h.  */ 
    6300 $ac_includes_default 
    6301 #include <netinet/in_systm.h> 
    6302 _ACEOF 
    6303 rm -f conftest.$ac_objext 
    6304 if { (ac_try="$ac_compile" 
    6305 case "(($ac_try" in 
    6306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6307   *) ac_try_echo=$ac_try;; 
    6308 esac 
    6309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6310   (eval "$ac_compile") 2>conftest.er1 
    6311   ac_status=$? 
    6312   grep -v '^ *+' conftest.er1 >conftest.err 
    6313   rm -f conftest.er1 
    6314   cat conftest.err >&5 
    6315   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6316   (exit $ac_status); } && { 
    6317          test -z "$ac_c_werror_flag" || 
    6318          test ! -s conftest.err 
    6319        } && test -s conftest.$ac_objext; then 
    6320   ac_header_compiler=yes 
    6321 else 
    6322   echo "$as_me: failed program was:" >&5 
    6323 sed 's/^/| /' conftest.$ac_ext >&5 
    6324  
    6325         ac_header_compiler=no 
    6326 fi 
    6327  
    6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6329 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6330 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6331  
    6332 # Is the header present? 
    6333 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6334 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
    6335 cat >conftest.$ac_ext <<_ACEOF 
    6336 /* confdefs.h.  */ 
    6337 _ACEOF 
    6338 cat confdefs.h >>conftest.$ac_ext 
    6339 cat >>conftest.$ac_ext <<_ACEOF 
    6340 /* end confdefs.h.  */ 
    6341 #include <netinet/in_systm.h> 
    6342 _ACEOF 
    6343 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6344 case "(($ac_try" in 
    6345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6346   *) ac_try_echo=$ac_try;; 
    6347 esac 
    6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6349   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6350   ac_status=$? 
    6351   grep -v '^ *+' conftest.er1 >conftest.err 
    6352   rm -f conftest.er1 
    6353   cat conftest.err >&5 
    6354   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6355   (exit $ac_status); } >/dev/null && { 
    6356          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6357          test ! -s conftest.err 
    6358        }; then 
    6359   ac_header_preproc=yes 
    6360 else 
    6361   echo "$as_me: failed program was:" >&5 
    6362 sed 's/^/| /' conftest.$ac_ext >&5 
    6363  
    6364   ac_header_preproc=no 
    6365 fi 
    6366  
    6367 rm -f conftest.err conftest.$ac_ext 
    6368 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6369 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6370  
    6371 # So?  What about this header? 
    6372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6373   yes:no: ) 
    6374     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6375 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6376     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6377 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6378     ac_header_preproc=yes 
    6379     ;; 
    6380   no:yes:* ) 
    6381     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6382 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6383     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6384 echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6385     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6386 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6387     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6388 echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6389     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6390 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6391     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6392 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6393  
    6394     ;; 
    6395 esac 
    6396 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6397 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6398 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6399   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6400 else 
    6401   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6402 fi 
    6403 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6404 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6405  
    6406 fi 
    6407 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6408   cat >>confdefs.h <<\_ACEOF 
    6409 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6410 _ACEOF 
    6411  
    6412 fi 
    6413  
    6414  
    6415 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6416   { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6417 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6418 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6419   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6420 fi 
    6421 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6422 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6423 else 
    6424   # Is the header compilable? 
    6425 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6426 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
    6427 cat >conftest.$ac_ext <<_ACEOF 
    6428 /* confdefs.h.  */ 
    6429 _ACEOF 
    6430 cat confdefs.h >>conftest.$ac_ext 
    6431 cat >>conftest.$ac_ext <<_ACEOF 
    6432 /* end confdefs.h.  */ 
    6433 $ac_includes_default 
    6434 #include <netinet/in.h> 
    6435 _ACEOF 
    6436 rm -f conftest.$ac_objext 
    6437 if { (ac_try="$ac_compile" 
    6438 case "(($ac_try" in 
    6439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6440   *) ac_try_echo=$ac_try;; 
    6441 esac 
    6442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6443   (eval "$ac_compile") 2>conftest.er1 
    6444   ac_status=$? 
    6445   grep -v '^ *+' conftest.er1 >conftest.err 
    6446   rm -f conftest.er1 
    6447   cat conftest.err >&5 
    6448   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6449   (exit $ac_status); } && { 
    6450          test -z "$ac_c_werror_flag" || 
    6451          test ! -s conftest.err 
    6452        } && test -s conftest.$ac_objext; then 
    6453   ac_header_compiler=yes 
    6454 else 
    6455   echo "$as_me: failed program was:" >&5 
    6456 sed 's/^/| /' conftest.$ac_ext >&5 
    6457  
    6458         ac_header_compiler=no 
    6459 fi 
    6460  
    6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6462 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6463 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6464  
    6465 # Is the header present? 
    6466 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6467 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
    6468 cat >conftest.$ac_ext <<_ACEOF 
    6469 /* confdefs.h.  */ 
    6470 _ACEOF 
    6471 cat confdefs.h >>conftest.$ac_ext 
    6472 cat >>conftest.$ac_ext <<_ACEOF 
    6473 /* end confdefs.h.  */ 
    6474 #include <netinet/in.h> 
    6475 _ACEOF 
    6476 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6477 case "(($ac_try" in 
    6478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6479   *) ac_try_echo=$ac_try;; 
    6480 esac 
    6481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6482   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6483   ac_status=$? 
    6484   grep -v '^ *+' conftest.er1 >conftest.err 
    6485   rm -f conftest.er1 
    6486   cat conftest.err >&5 
    6487   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6488   (exit $ac_status); } >/dev/null && { 
    6489          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6490          test ! -s conftest.err 
    6491        }; then 
    6492   ac_header_preproc=yes 
    6493 else 
    6494   echo "$as_me: failed program was:" >&5 
    6495 sed 's/^/| /' conftest.$ac_ext >&5 
    6496  
    6497   ac_header_preproc=no 
    6498 fi 
    6499  
    6500 rm -f conftest.err conftest.$ac_ext 
    6501 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6502 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6503  
    6504 # So?  What about this header? 
    6505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6506   yes:no: ) 
    6507     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6508 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6509     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    6510 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    6511     ac_header_preproc=yes 
    6512     ;; 
    6513   no:yes:* ) 
    6514     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    6515 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    6516     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    6517 echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    6518     { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    6519 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    6520     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6521 echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6522     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    6523 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    6524     { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    6525 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    6526  
    6527     ;; 
    6528 esac 
    6529 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6530 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6531 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6532   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6533 else 
    6534   ac_cv_header_netinet_in_h=$ac_header_preproc 
    6535 fi 
    6536 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6537 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6538  
    6539 fi 
    6540 if test $ac_cv_header_netinet_in_h = yes; then 
    6541   cat >>confdefs.h <<\_ACEOF 
    6542 #define PJ_HAS_NETINET_IN_H 1 
    6543 _ACEOF 
    6544  
    6545 fi 
    6546  
    6547  
    6548 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
    6549 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
    6550 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
    6551   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6552 else 
    6553   cat >conftest.$ac_ext <<_ACEOF 
    6554 /* confdefs.h.  */ 
    6555 _ACEOF 
    6556 cat confdefs.h >>conftest.$ac_ext 
    6557 cat >>conftest.$ac_ext <<_ACEOF 
    6558 /* end confdefs.h.  */ 
    6559 #if PJ_HAS_SYS_TYPES_H 
     4732ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
     4733if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4734  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
     4735 
     4736fi 
     4737 
     4738 
     4739ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
     4740if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4741  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
     4742 
     4743fi 
     4744 
     4745 
     4746ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 
     4747if test "x$ac_cv_header_limits_h" = x""yes; then : 
     4748  $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 
     4749 
     4750fi 
     4751 
     4752 
     4753ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
     4754if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4755  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
     4756 
     4757fi 
     4758 
     4759 
     4760ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
     4761if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4762  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
     4763 
     4764fi 
     4765 
     4766 
     4767ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
     4768if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4769  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
     4770 
     4771fi 
     4772 
     4773 
     4774ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
     4775if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4776  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
     4777 
     4778fi 
     4779 
     4780 
     4781ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
    65604782                  #     include <sys/types.h> 
    65614783                  #endif 
     
    65674789                  #endif 
    65684790 
    6569  
    6570 #include <netinet/ip.h> 
    6571 _ACEOF 
    6572 rm -f conftest.$ac_objext 
    6573 if { (ac_try="$ac_compile" 
    6574 case "(($ac_try" in 
    6575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6576   *) ac_try_echo=$ac_try;; 
    6577 esac 
    6578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6579   (eval "$ac_compile") 2>conftest.er1 
    6580   ac_status=$? 
    6581   grep -v '^ *+' conftest.er1 >conftest.err 
    6582   rm -f conftest.er1 
    6583   cat conftest.err >&5 
    6584   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6585   (exit $ac_status); } && { 
    6586          test -z "$ac_c_werror_flag" || 
    6587          test ! -s conftest.err 
    6588        } && test -s conftest.$ac_objext; then 
    6589   ac_cv_header_netinet_ip_h=yes 
    6590 else 
    6591   echo "$as_me: failed program was:" >&5 
    6592 sed 's/^/| /' conftest.$ac_ext >&5 
    6593  
    6594         ac_cv_header_netinet_ip_h=no 
    6595 fi 
    6596  
    6597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6598 fi 
    6599 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
    6600 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
    6601 if test $ac_cv_header_netinet_ip_h = yes; then 
    6602   cat >>confdefs.h <<\_ACEOF 
    6603 #define PJ_HAS_NETINET_IP_H 1 
    6604 _ACEOF 
    6605  
    6606 fi 
    6607  
    6608  
    6609 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6610   { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6611 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6612 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6613   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6614 fi 
    6615 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6616 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6617 else 
    6618   # Is the header compilable? 
    6619 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
    6620 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
    6621 cat >conftest.$ac_ext <<_ACEOF 
    6622 /* confdefs.h.  */ 
    6623 _ACEOF 
    6624 cat confdefs.h >>conftest.$ac_ext 
    6625 cat >>conftest.$ac_ext <<_ACEOF 
    6626 /* end confdefs.h.  */ 
    6627 $ac_includes_default 
    6628 #include <netinet/tcp.h> 
    6629 _ACEOF 
    6630 rm -f conftest.$ac_objext 
    6631 if { (ac_try="$ac_compile" 
    6632 case "(($ac_try" in 
    6633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6634   *) ac_try_echo=$ac_try;; 
    6635 esac 
    6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6637   (eval "$ac_compile") 2>conftest.er1 
    6638   ac_status=$? 
    6639   grep -v '^ *+' conftest.er1 >conftest.err 
    6640   rm -f conftest.er1 
    6641   cat conftest.err >&5 
    6642   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6643   (exit $ac_status); } && { 
    6644          test -z "$ac_c_werror_flag" || 
    6645          test ! -s conftest.err 
    6646        } && test -s conftest.$ac_objext; then 
    6647   ac_header_compiler=yes 
    6648 else 
    6649   echo "$as_me: failed program was:" >&5 
    6650 sed 's/^/| /' conftest.$ac_ext >&5 
    6651  
    6652         ac_header_compiler=no 
    6653 fi 
    6654  
    6655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6656 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6657 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6658  
    6659 # Is the header present? 
    6660 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
    6661 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
    6662 cat >conftest.$ac_ext <<_ACEOF 
    6663 /* confdefs.h.  */ 
    6664 _ACEOF 
    6665 cat confdefs.h >>conftest.$ac_ext 
    6666 cat >>conftest.$ac_ext <<_ACEOF 
    6667 /* end confdefs.h.  */ 
    6668 #include <netinet/tcp.h> 
    6669 _ACEOF 
    6670 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6671 case "(($ac_try" in 
    6672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6673   *) ac_try_echo=$ac_try;; 
    6674 esac 
    6675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6676   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6677   ac_status=$? 
    6678   grep -v '^ *+' conftest.er1 >conftest.err 
    6679   rm -f conftest.er1 
    6680   cat conftest.err >&5 
    6681   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6682   (exit $ac_status); } >/dev/null && { 
    6683          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6684          test ! -s conftest.err 
    6685        }; then 
    6686   ac_header_preproc=yes 
    6687 else 
    6688   echo "$as_me: failed program was:" >&5 
    6689 sed 's/^/| /' conftest.$ac_ext >&5 
    6690  
    6691   ac_header_preproc=no 
    6692 fi 
    6693  
    6694 rm -f conftest.err conftest.$ac_ext 
    6695 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6696 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6697  
    6698 # So?  What about this header? 
    6699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6700   yes:no: ) 
    6701     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6702 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6703     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
    6704 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
    6705     ac_header_preproc=yes 
    6706     ;; 
    6707   no:yes:* ) 
    6708     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
    6709 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
    6710     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
    6711 echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
    6712     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
    6713 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
    6714     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6715 echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6716     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
    6717 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
    6718     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
    6719 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
    6720  
    6721     ;; 
    6722 esac 
    6723 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6724 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6725 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6726   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6727 else 
    6728   ac_cv_header_netinet_tcp_h=$ac_header_preproc 
    6729 fi 
    6730 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6731 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6732  
    6733 fi 
    6734 if test $ac_cv_header_netinet_tcp_h = yes; then 
    6735   cat >>confdefs.h <<\_ACEOF 
    6736 #define PJ_HAS_NETINET_TCP_H 1 
    6737 _ACEOF 
    6738  
    6739 fi 
    6740  
    6741  
    6742 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6743   { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6744 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6745 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6746   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6747 fi 
    6748 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6749 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6750 else 
    6751   # Is the header compilable? 
    6752 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
    6753 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
    6754 cat >conftest.$ac_ext <<_ACEOF 
    6755 /* confdefs.h.  */ 
    6756 _ACEOF 
    6757 cat confdefs.h >>conftest.$ac_ext 
    6758 cat >>conftest.$ac_ext <<_ACEOF 
    6759 /* end confdefs.h.  */ 
    6760 $ac_includes_default 
    6761 #include <ifaddrs.h> 
    6762 _ACEOF 
    6763 rm -f conftest.$ac_objext 
    6764 if { (ac_try="$ac_compile" 
    6765 case "(($ac_try" in 
    6766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6767   *) ac_try_echo=$ac_try;; 
    6768 esac 
    6769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6770   (eval "$ac_compile") 2>conftest.er1 
    6771   ac_status=$? 
    6772   grep -v '^ *+' conftest.er1 >conftest.err 
    6773   rm -f conftest.er1 
    6774   cat conftest.err >&5 
    6775   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6776   (exit $ac_status); } && { 
    6777          test -z "$ac_c_werror_flag" || 
    6778          test ! -s conftest.err 
    6779        } && test -s conftest.$ac_objext; then 
    6780   ac_header_compiler=yes 
    6781 else 
    6782   echo "$as_me: failed program was:" >&5 
    6783 sed 's/^/| /' conftest.$ac_ext >&5 
    6784  
    6785         ac_header_compiler=no 
    6786 fi 
    6787  
    6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6789 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6790 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6791  
    6792 # Is the header present? 
    6793 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
    6794 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
    6795 cat >conftest.$ac_ext <<_ACEOF 
    6796 /* confdefs.h.  */ 
    6797 _ACEOF 
    6798 cat confdefs.h >>conftest.$ac_ext 
    6799 cat >>conftest.$ac_ext <<_ACEOF 
    6800 /* end confdefs.h.  */ 
    6801 #include <ifaddrs.h> 
    6802 _ACEOF 
    6803 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6804 case "(($ac_try" in 
    6805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6806   *) ac_try_echo=$ac_try;; 
    6807 esac 
    6808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6809   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6810   ac_status=$? 
    6811   grep -v '^ *+' conftest.er1 >conftest.err 
    6812   rm -f conftest.er1 
    6813   cat conftest.err >&5 
    6814   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6815   (exit $ac_status); } >/dev/null && { 
    6816          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6817          test ! -s conftest.err 
    6818        }; then 
    6819   ac_header_preproc=yes 
    6820 else 
    6821   echo "$as_me: failed program was:" >&5 
    6822 sed 's/^/| /' conftest.$ac_ext >&5 
    6823  
    6824   ac_header_preproc=no 
    6825 fi 
    6826  
    6827 rm -f conftest.err conftest.$ac_ext 
    6828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6829 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6830  
    6831 # So?  What about this header? 
    6832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6833   yes:no: ) 
    6834     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6835 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6836     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
    6837 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
    6838     ac_header_preproc=yes 
    6839     ;; 
    6840   no:yes:* ) 
    6841     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
    6842 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
    6843     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
    6844 echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
    6845     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
    6846 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
    6847     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6848 echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6849     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
    6850 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
    6851     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
    6852 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
    6853  
    6854     ;; 
    6855 esac 
    6856 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6857 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6858 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6859   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6860 else 
    6861   ac_cv_header_ifaddrs_h=$ac_header_preproc 
    6862 fi 
    6863 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6864 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6865  
    6866 fi 
    6867 if test $ac_cv_header_ifaddrs_h = yes; then 
    6868   { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
    6869 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
    6870 if test "${ac_cv_func_getifaddrs+set}" = set; then 
    6871   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6872 else 
    6873   cat >conftest.$ac_ext <<_ACEOF 
    6874 /* confdefs.h.  */ 
    6875 _ACEOF 
    6876 cat confdefs.h >>conftest.$ac_ext 
    6877 cat >>conftest.$ac_ext <<_ACEOF 
    6878 /* end confdefs.h.  */ 
    6879 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
    6880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    6881 #define getifaddrs innocuous_getifaddrs 
    6882  
    6883 /* System header to define __stub macros and hopefully few prototypes, 
    6884     which can conflict with char getifaddrs (); below. 
    6885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6886     <limits.h> exists even on freestanding compilers.  */ 
    6887  
    6888 #ifdef __STDC__ 
    6889 # include <limits.h> 
    6890 #else 
    6891 # include <assert.h> 
    6892 #endif 
    6893  
    6894 #undef getifaddrs 
    6895  
    6896 /* Override any GCC internal prototype to avoid an error. 
    6897    Use char because int might match the return type of a GCC 
    6898    builtin and then its argument prototype would still apply.  */ 
    6899 #ifdef __cplusplus 
    6900 extern "C" 
    6901 #endif 
    6902 char getifaddrs (); 
    6903 /* The GNU C library defines this for functions which it implements 
    6904     to always fail with ENOSYS.  Some functions are actually named 
    6905     something starting with __ and the normal name is an alias.  */ 
    6906 #if defined __stub_getifaddrs || defined __stub___getifaddrs 
    6907 choke me 
    6908 #endif 
    6909  
    6910 int 
    6911 main () 
    6912 { 
    6913 return getifaddrs (); 
    6914   ; 
    6915   return 0; 
    6916 } 
    6917 _ACEOF 
    6918 rm -f conftest.$ac_objext conftest$ac_exeext 
    6919 if { (ac_try="$ac_link" 
    6920 case "(($ac_try" in 
    6921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6922   *) ac_try_echo=$ac_try;; 
    6923 esac 
    6924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6925   (eval "$ac_link") 2>conftest.er1 
    6926   ac_status=$? 
    6927   grep -v '^ *+' conftest.er1 >conftest.err 
    6928   rm -f conftest.er1 
    6929   cat conftest.err >&5 
    6930   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6931   (exit $ac_status); } && { 
    6932          test -z "$ac_c_werror_flag" || 
    6933          test ! -s conftest.err 
    6934        } && test -s conftest$ac_exeext && 
    6935        $as_test_x conftest$ac_exeext; then 
    6936   ac_cv_func_getifaddrs=yes 
    6937 else 
    6938   echo "$as_me: failed program was:" >&5 
    6939 sed 's/^/| /' conftest.$ac_ext >&5 
    6940  
    6941         ac_cv_func_getifaddrs=no 
    6942 fi 
    6943  
    6944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    6945       conftest$ac_exeext conftest.$ac_ext 
    6946 fi 
    6947 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
    6948 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
    6949 if test $ac_cv_func_getifaddrs = yes; then 
    6950   cat >>confdefs.h <<\_ACEOF 
    6951 #define PJ_HAS_IFADDRS_H 1 
    6952 _ACEOF 
    6953  
    6954 fi 
    6955  
    6956 fi 
    6957  
    6958  
    6959 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6960   { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    6961 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    6962 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6963   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6964 fi 
    6965 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    6966 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    6967 else 
    6968   # Is the header compilable? 
    6969 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
    6970 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
    6971 cat >conftest.$ac_ext <<_ACEOF 
    6972 /* confdefs.h.  */ 
    6973 _ACEOF 
    6974 cat confdefs.h >>conftest.$ac_ext 
    6975 cat >>conftest.$ac_ext <<_ACEOF 
    6976 /* end confdefs.h.  */ 
    6977 $ac_includes_default 
    6978 #include <semaphore.h> 
    6979 _ACEOF 
    6980 rm -f conftest.$ac_objext 
    6981 if { (ac_try="$ac_compile" 
    6982 case "(($ac_try" in 
    6983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6984   *) ac_try_echo=$ac_try;; 
    6985 esac 
    6986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6987   (eval "$ac_compile") 2>conftest.er1 
    6988   ac_status=$? 
    6989   grep -v '^ *+' conftest.er1 >conftest.err 
    6990   rm -f conftest.er1 
    6991   cat conftest.err >&5 
    6992   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6993   (exit $ac_status); } && { 
    6994          test -z "$ac_c_werror_flag" || 
    6995          test ! -s conftest.err 
    6996        } && test -s conftest.$ac_objext; then 
    6997   ac_header_compiler=yes 
    6998 else 
    6999   echo "$as_me: failed program was:" >&5 
    7000 sed 's/^/| /' conftest.$ac_ext >&5 
    7001  
    7002         ac_header_compiler=no 
    7003 fi 
    7004  
    7005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7006 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7007 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7008  
    7009 # Is the header present? 
    7010 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
    7011 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
    7012 cat >conftest.$ac_ext <<_ACEOF 
    7013 /* confdefs.h.  */ 
    7014 _ACEOF 
    7015 cat confdefs.h >>conftest.$ac_ext 
    7016 cat >>conftest.$ac_ext <<_ACEOF 
    7017 /* end confdefs.h.  */ 
    7018 #include <semaphore.h> 
    7019 _ACEOF 
    7020 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7021 case "(($ac_try" in 
    7022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7023   *) ac_try_echo=$ac_try;; 
    7024 esac 
    7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7026   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7027   ac_status=$? 
    7028   grep -v '^ *+' conftest.er1 >conftest.err 
    7029   rm -f conftest.er1 
    7030   cat conftest.err >&5 
    7031   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7032   (exit $ac_status); } >/dev/null && { 
    7033          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7034          test ! -s conftest.err 
    7035        }; then 
    7036   ac_header_preproc=yes 
    7037 else 
    7038   echo "$as_me: failed program was:" >&5 
    7039 sed 's/^/| /' conftest.$ac_ext >&5 
    7040  
    7041   ac_header_preproc=no 
    7042 fi 
    7043  
    7044 rm -f conftest.err conftest.$ac_ext 
    7045 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7046 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7047  
    7048 # So?  What about this header? 
    7049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7050   yes:no: ) 
    7051     { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7052 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7053     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
    7054 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
    7055     ac_header_preproc=yes 
    7056     ;; 
    7057   no:yes:* ) 
    7058     { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
    7059 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
    7060     { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
    7061 echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
    7062     { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
    7063 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
    7064     { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7065 echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7066     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
    7067 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
    7068     { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
    7069 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
    7070  
    7071     ;; 
    7072 esac 
    7073 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    7074 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    7075 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7076   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7077 else 
    7078   ac_cv_header_semaphore_h=$ac_header_preproc 
    7079 fi 
    7080 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    7081 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    7082  
    7083 fi 
    7084 if test $ac_cv_header_semaphore_h = yes; then 
    7085   cat >>confdefs.h <<\_ACEOF 
    7086 #define PJ_HAS_SEMAPHORE_H 1 
    7087 _ACEOF 
    7088  
    7089 fi 
    7090  
    7091  
    7092 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7093   { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7094 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7095 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7096   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7097 fi 
    7098 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7099 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7100 else 
    7101   # Is the header compilable? 
    7102 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    7103 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
    7104 cat >conftest.$ac_ext <<_ACEOF 
    7105 /* confdefs.h.  */ 
    7106 _ACEOF 
    7107 cat confdefs.h >>conftest.$ac_ext 
    7108 cat >>conftest.$ac_ext <<_ACEOF 
    7109 /* end confdefs.h.  */ 
    7110 $ac_includes_default 
    7111 #include <setjmp.h> 
    7112 _ACEOF 
    7113 rm -f conftest.$ac_objext 
    7114 if { (ac_try="$ac_compile" 
    7115 case "(($ac_try" in 
    7116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7117   *) ac_try_echo=$ac_try;; 
    7118 esac 
    7119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7120   (eval "$ac_compile") 2>conftest.er1 
    7121   ac_status=$? 
    7122   grep -v '^ *+' conftest.er1 >conftest.err 
    7123   rm -f conftest.er1 
    7124   cat conftest.err >&5 
    7125   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7126   (exit $ac_status); } && { 
    7127          test -z "$ac_c_werror_flag" || 
    7128          test ! -s conftest.err 
    7129        } && test -s conftest.$ac_objext; then 
    7130   ac_header_compiler=yes 
    7131 else 
    7132   echo "$as_me: failed program was:" >&5 
    7133 sed 's/^/| /' conftest.$ac_ext >&5 
    7134  
    7135         ac_header_compiler=no 
    7136 fi 
    7137  
    7138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7139 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7140 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7141  
    7142 # Is the header present? 
    7143 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    7144 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
    7145 cat >conftest.$ac_ext <<_ACEOF 
    7146 /* confdefs.h.  */ 
    7147 _ACEOF 
    7148 cat confdefs.h >>conftest.$ac_ext 
    7149 cat >>conftest.$ac_ext <<_ACEOF 
    7150 /* end confdefs.h.  */ 
    7151 #include <setjmp.h> 
    7152 _ACEOF 
    7153 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7154 case "(($ac_try" in 
    7155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7156   *) ac_try_echo=$ac_try;; 
    7157 esac 
    7158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7159   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7160   ac_status=$? 
    7161   grep -v '^ *+' conftest.er1 >conftest.err 
    7162   rm -f conftest.er1 
    7163   cat conftest.err >&5 
    7164   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7165   (exit $ac_status); } >/dev/null && { 
    7166          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7167          test ! -s conftest.err 
    7168        }; then 
    7169   ac_header_preproc=yes 
    7170 else 
    7171   echo "$as_me: failed program was:" >&5 
    7172 sed 's/^/| /' conftest.$ac_ext >&5 
    7173  
    7174   ac_header_preproc=no 
    7175 fi 
    7176  
    7177 rm -f conftest.err conftest.$ac_ext 
    7178 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7179 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7180  
    7181 # So?  What about this header? 
    7182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7183   yes:no: ) 
    7184     { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7185 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7186     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    7187 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    7188     ac_header_preproc=yes 
    7189     ;; 
    7190   no:yes:* ) 
    7191     { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    7192 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    7193     { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    7194 echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    7195     { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    7196 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    7197     { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7198 echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7199     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    7200 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    7201     { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    7202 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    7203  
    7204     ;; 
    7205 esac 
    7206 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7207 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7208 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7209   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7210 else 
    7211   ac_cv_header_setjmp_h=$ac_header_preproc 
    7212 fi 
    7213 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7214 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7215  
    7216 fi 
    7217 if test $ac_cv_header_setjmp_h = yes; then 
    7218   cat >>confdefs.h <<\_ACEOF 
    7219 #define PJ_HAS_SETJMP_H 1 
    7220 _ACEOF 
    7221  
    7222 fi 
    7223  
    7224  
    7225 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7226   { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7227 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7228 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7229   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7230 fi 
    7231 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7232 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7233 else 
    7234   # Is the header compilable? 
    7235 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    7236 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
    7237 cat >conftest.$ac_ext <<_ACEOF 
    7238 /* confdefs.h.  */ 
    7239 _ACEOF 
    7240 cat confdefs.h >>conftest.$ac_ext 
    7241 cat >>conftest.$ac_ext <<_ACEOF 
    7242 /* end confdefs.h.  */ 
    7243 $ac_includes_default 
    7244 #include <stdarg.h> 
    7245 _ACEOF 
    7246 rm -f conftest.$ac_objext 
    7247 if { (ac_try="$ac_compile" 
    7248 case "(($ac_try" in 
    7249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7250   *) ac_try_echo=$ac_try;; 
    7251 esac 
    7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7253   (eval "$ac_compile") 2>conftest.er1 
    7254   ac_status=$? 
    7255   grep -v '^ *+' conftest.er1 >conftest.err 
    7256   rm -f conftest.er1 
    7257   cat conftest.err >&5 
    7258   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7259   (exit $ac_status); } && { 
    7260          test -z "$ac_c_werror_flag" || 
    7261          test ! -s conftest.err 
    7262        } && test -s conftest.$ac_objext; then 
    7263   ac_header_compiler=yes 
    7264 else 
    7265   echo "$as_me: failed program was:" >&5 
    7266 sed 's/^/| /' conftest.$ac_ext >&5 
    7267  
    7268         ac_header_compiler=no 
    7269 fi 
    7270  
    7271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7272 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7273 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7274  
    7275 # Is the header present? 
    7276 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    7277 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
    7278 cat >conftest.$ac_ext <<_ACEOF 
    7279 /* confdefs.h.  */ 
    7280 _ACEOF 
    7281 cat confdefs.h >>conftest.$ac_ext 
    7282 cat >>conftest.$ac_ext <<_ACEOF 
    7283 /* end confdefs.h.  */ 
    7284 #include <stdarg.h> 
    7285 _ACEOF 
    7286 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7287 case "(($ac_try" in 
    7288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7289   *) ac_try_echo=$ac_try;; 
    7290 esac 
    7291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7292   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7293   ac_status=$? 
    7294   grep -v '^ *+' conftest.er1 >conftest.err 
    7295   rm -f conftest.er1 
    7296   cat conftest.err >&5 
    7297   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7298   (exit $ac_status); } >/dev/null && { 
    7299          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7300          test ! -s conftest.err 
    7301        }; then 
    7302   ac_header_preproc=yes 
    7303 else 
    7304   echo "$as_me: failed program was:" >&5 
    7305 sed 's/^/| /' conftest.$ac_ext >&5 
    7306  
    7307   ac_header_preproc=no 
    7308 fi 
    7309  
    7310 rm -f conftest.err conftest.$ac_ext 
    7311 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7312 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7313  
    7314 # So?  What about this header? 
    7315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7316   yes:no: ) 
    7317     { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7318 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7319     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    7320 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    7321     ac_header_preproc=yes 
    7322     ;; 
    7323   no:yes:* ) 
    7324     { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    7325 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    7326     { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    7327 echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    7328     { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    7329 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    7330     { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7331 echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7332     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    7333 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    7334     { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    7335 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    7336  
    7337     ;; 
    7338 esac 
    7339 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7340 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7341 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7342   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7343 else 
    7344   ac_cv_header_stdarg_h=$ac_header_preproc 
    7345 fi 
    7346 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7347 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7348  
    7349 fi 
    7350 if test $ac_cv_header_stdarg_h = yes; then 
    7351   cat >>confdefs.h <<\_ACEOF 
    7352 #define PJ_HAS_STDARG_H 1 
    7353 _ACEOF 
    7354  
    7355 fi 
    7356  
    7357  
    7358 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7359   { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7360 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7361 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7362   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7363 fi 
    7364 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7365 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7366 else 
    7367   # Is the header compilable? 
    7368 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    7369 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
    7370 cat >conftest.$ac_ext <<_ACEOF 
    7371 /* confdefs.h.  */ 
    7372 _ACEOF 
    7373 cat confdefs.h >>conftest.$ac_ext 
    7374 cat >>conftest.$ac_ext <<_ACEOF 
    7375 /* end confdefs.h.  */ 
    7376 $ac_includes_default 
    7377 #include <stddef.h> 
    7378 _ACEOF 
    7379 rm -f conftest.$ac_objext 
    7380 if { (ac_try="$ac_compile" 
    7381 case "(($ac_try" in 
    7382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7383   *) ac_try_echo=$ac_try;; 
    7384 esac 
    7385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7386   (eval "$ac_compile") 2>conftest.er1 
    7387   ac_status=$? 
    7388   grep -v '^ *+' conftest.er1 >conftest.err 
    7389   rm -f conftest.er1 
    7390   cat conftest.err >&5 
    7391   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7392   (exit $ac_status); } && { 
    7393          test -z "$ac_c_werror_flag" || 
    7394          test ! -s conftest.err 
    7395        } && test -s conftest.$ac_objext; then 
    7396   ac_header_compiler=yes 
    7397 else 
    7398   echo "$as_me: failed program was:" >&5 
    7399 sed 's/^/| /' conftest.$ac_ext >&5 
    7400  
    7401         ac_header_compiler=no 
    7402 fi 
    7403  
    7404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7405 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7406 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7407  
    7408 # Is the header present? 
    7409 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    7410 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
    7411 cat >conftest.$ac_ext <<_ACEOF 
    7412 /* confdefs.h.  */ 
    7413 _ACEOF 
    7414 cat confdefs.h >>conftest.$ac_ext 
    7415 cat >>conftest.$ac_ext <<_ACEOF 
    7416 /* end confdefs.h.  */ 
    7417 #include <stddef.h> 
    7418 _ACEOF 
    7419 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7420 case "(($ac_try" in 
    7421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7422   *) ac_try_echo=$ac_try;; 
    7423 esac 
    7424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7425   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7426   ac_status=$? 
    7427   grep -v '^ *+' conftest.er1 >conftest.err 
    7428   rm -f conftest.er1 
    7429   cat conftest.err >&5 
    7430   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7431   (exit $ac_status); } >/dev/null && { 
    7432          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7433          test ! -s conftest.err 
    7434        }; then 
    7435   ac_header_preproc=yes 
    7436 else 
    7437   echo "$as_me: failed program was:" >&5 
    7438 sed 's/^/| /' conftest.$ac_ext >&5 
    7439  
    7440   ac_header_preproc=no 
    7441 fi 
    7442  
    7443 rm -f conftest.err conftest.$ac_ext 
    7444 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7445 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7446  
    7447 # So?  What about this header? 
    7448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7449   yes:no: ) 
    7450     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7451 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7452     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    7453 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    7454     ac_header_preproc=yes 
    7455     ;; 
    7456   no:yes:* ) 
    7457     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    7458 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    7459     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    7460 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    7461     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    7462 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    7463     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7464 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7465     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    7466 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    7467     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    7468 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    7469  
    7470     ;; 
    7471 esac 
    7472 { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7473 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7474 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7475   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7476 else 
    7477   ac_cv_header_stddef_h=$ac_header_preproc 
    7478 fi 
    7479 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7480 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7481  
    7482 fi 
    7483 if test $ac_cv_header_stddef_h = yes; then 
    7484   cat >>confdefs.h <<\_ACEOF 
    7485 #define PJ_HAS_STDDEF_H 1 
    7486 _ACEOF 
    7487  
    7488 fi 
    7489  
    7490  
    7491 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7492   { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7493 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7494 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7495   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7496 fi 
    7497 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7498 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7499 else 
    7500   # Is the header compilable? 
    7501 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    7502 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
    7503 cat >conftest.$ac_ext <<_ACEOF 
    7504 /* confdefs.h.  */ 
    7505 _ACEOF 
    7506 cat confdefs.h >>conftest.$ac_ext 
    7507 cat >>conftest.$ac_ext <<_ACEOF 
    7508 /* end confdefs.h.  */ 
    7509 $ac_includes_default 
    7510 #include <stdio.h> 
    7511 _ACEOF 
    7512 rm -f conftest.$ac_objext 
    7513 if { (ac_try="$ac_compile" 
    7514 case "(($ac_try" in 
    7515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7516   *) ac_try_echo=$ac_try;; 
    7517 esac 
    7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7519   (eval "$ac_compile") 2>conftest.er1 
    7520   ac_status=$? 
    7521   grep -v '^ *+' conftest.er1 >conftest.err 
    7522   rm -f conftest.er1 
    7523   cat conftest.err >&5 
    7524   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7525   (exit $ac_status); } && { 
    7526          test -z "$ac_c_werror_flag" || 
    7527          test ! -s conftest.err 
    7528        } && test -s conftest.$ac_objext; then 
    7529   ac_header_compiler=yes 
    7530 else 
    7531   echo "$as_me: failed program was:" >&5 
    7532 sed 's/^/| /' conftest.$ac_ext >&5 
    7533  
    7534         ac_header_compiler=no 
    7535 fi 
    7536  
    7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7538 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7539 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7540  
    7541 # Is the header present? 
    7542 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    7543 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
    7544 cat >conftest.$ac_ext <<_ACEOF 
    7545 /* confdefs.h.  */ 
    7546 _ACEOF 
    7547 cat confdefs.h >>conftest.$ac_ext 
    7548 cat >>conftest.$ac_ext <<_ACEOF 
    7549 /* end confdefs.h.  */ 
    7550 #include <stdio.h> 
    7551 _ACEOF 
    7552 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7553 case "(($ac_try" in 
    7554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7555   *) ac_try_echo=$ac_try;; 
    7556 esac 
    7557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7558   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7559   ac_status=$? 
    7560   grep -v '^ *+' conftest.er1 >conftest.err 
    7561   rm -f conftest.er1 
    7562   cat conftest.err >&5 
    7563   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7564   (exit $ac_status); } >/dev/null && { 
    7565          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7566          test ! -s conftest.err 
    7567        }; then 
    7568   ac_header_preproc=yes 
    7569 else 
    7570   echo "$as_me: failed program was:" >&5 
    7571 sed 's/^/| /' conftest.$ac_ext >&5 
    7572  
    7573   ac_header_preproc=no 
    7574 fi 
    7575  
    7576 rm -f conftest.err conftest.$ac_ext 
    7577 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7578 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7579  
    7580 # So?  What about this header? 
    7581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7582   yes:no: ) 
    7583     { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7584 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7585     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    7586 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    7587     ac_header_preproc=yes 
    7588     ;; 
    7589   no:yes:* ) 
    7590     { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    7591 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    7592     { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    7593 echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    7594     { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    7595 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    7596     { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7597 echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7598     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    7599 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    7600     { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    7601 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    7602  
    7603     ;; 
    7604 esac 
    7605 { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7606 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7607 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7608   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7609 else 
    7610   ac_cv_header_stdio_h=$ac_header_preproc 
    7611 fi 
    7612 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7613 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7614  
    7615 fi 
    7616 if test $ac_cv_header_stdio_h = yes; then 
    7617   cat >>confdefs.h <<\_ACEOF 
    7618 #define PJ_HAS_STDIO_H 1 
    7619 _ACEOF 
    7620  
    7621 fi 
    7622  
    7623  
    7624 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7625   { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7626 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7627 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7628   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7629 fi 
    7630 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7631 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7632 else 
    7633   # Is the header compilable? 
    7634 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 
    7635 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
    7636 cat >conftest.$ac_ext <<_ACEOF 
    7637 /* confdefs.h.  */ 
    7638 _ACEOF 
    7639 cat confdefs.h >>conftest.$ac_ext 
    7640 cat >>conftest.$ac_ext <<_ACEOF 
    7641 /* end confdefs.h.  */ 
    7642 $ac_includes_default 
    7643 #include <stdint.h> 
    7644 _ACEOF 
    7645 rm -f conftest.$ac_objext 
    7646 if { (ac_try="$ac_compile" 
    7647 case "(($ac_try" in 
    7648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7649   *) ac_try_echo=$ac_try;; 
    7650 esac 
    7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7652   (eval "$ac_compile") 2>conftest.er1 
    7653   ac_status=$? 
    7654   grep -v '^ *+' conftest.er1 >conftest.err 
    7655   rm -f conftest.er1 
    7656   cat conftest.err >&5 
    7657   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7658   (exit $ac_status); } && { 
    7659          test -z "$ac_c_werror_flag" || 
    7660          test ! -s conftest.err 
    7661        } && test -s conftest.$ac_objext; then 
    7662   ac_header_compiler=yes 
    7663 else 
    7664   echo "$as_me: failed program was:" >&5 
    7665 sed 's/^/| /' conftest.$ac_ext >&5 
    7666  
    7667         ac_header_compiler=no 
    7668 fi 
    7669  
    7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7671 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7672 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7673  
    7674 # Is the header present? 
    7675 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 
    7676 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
    7677 cat >conftest.$ac_ext <<_ACEOF 
    7678 /* confdefs.h.  */ 
    7679 _ACEOF 
    7680 cat confdefs.h >>conftest.$ac_ext 
    7681 cat >>conftest.$ac_ext <<_ACEOF 
    7682 /* end confdefs.h.  */ 
    7683 #include <stdint.h> 
    7684 _ACEOF 
    7685 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7686 case "(($ac_try" in 
    7687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7688   *) ac_try_echo=$ac_try;; 
    7689 esac 
    7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7691   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7692   ac_status=$? 
    7693   grep -v '^ *+' conftest.er1 >conftest.err 
    7694   rm -f conftest.er1 
    7695   cat conftest.err >&5 
    7696   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7697   (exit $ac_status); } >/dev/null && { 
    7698          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7699          test ! -s conftest.err 
    7700        }; then 
    7701   ac_header_preproc=yes 
    7702 else 
    7703   echo "$as_me: failed program was:" >&5 
    7704 sed 's/^/| /' conftest.$ac_ext >&5 
    7705  
    7706   ac_header_preproc=no 
    7707 fi 
    7708  
    7709 rm -f conftest.err conftest.$ac_ext 
    7710 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7711 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7712  
    7713 # So?  What about this header? 
    7714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7715   yes:no: ) 
    7716     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7717 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7718     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
    7719 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
    7720     ac_header_preproc=yes 
    7721     ;; 
    7722   no:yes:* ) 
    7723     { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
    7724 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
    7725     { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
    7726 echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
    7727     { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
    7728 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
    7729     { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7730 echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7731     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
    7732 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
    7733     { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
    7734 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
    7735  
    7736     ;; 
    7737 esac 
    7738 { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7739 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7740 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7741   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7742 else 
    7743   ac_cv_header_stdint_h=$ac_header_preproc 
    7744 fi 
    7745 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7746 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7747  
    7748 fi 
    7749 if test $ac_cv_header_stdint_h = yes; then 
    7750   cat >>confdefs.h <<\_ACEOF 
    7751 #define PJ_HAS_STDINT_H 1 
    7752 _ACEOF 
    7753  
    7754 fi 
    7755  
    7756  
    7757 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7758   { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7759 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7760 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7761   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7762 fi 
    7763 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7764 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7765 else 
    7766   # Is the header compilable? 
    7767 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    7768 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
    7769 cat >conftest.$ac_ext <<_ACEOF 
    7770 /* confdefs.h.  */ 
    7771 _ACEOF 
    7772 cat confdefs.h >>conftest.$ac_ext 
    7773 cat >>conftest.$ac_ext <<_ACEOF 
    7774 /* end confdefs.h.  */ 
    7775 $ac_includes_default 
    7776 #include <stdlib.h> 
    7777 _ACEOF 
    7778 rm -f conftest.$ac_objext 
    7779 if { (ac_try="$ac_compile" 
    7780 case "(($ac_try" in 
    7781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7782   *) ac_try_echo=$ac_try;; 
    7783 esac 
    7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7785   (eval "$ac_compile") 2>conftest.er1 
    7786   ac_status=$? 
    7787   grep -v '^ *+' conftest.er1 >conftest.err 
    7788   rm -f conftest.er1 
    7789   cat conftest.err >&5 
    7790   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7791   (exit $ac_status); } && { 
    7792          test -z "$ac_c_werror_flag" || 
    7793          test ! -s conftest.err 
    7794        } && test -s conftest.$ac_objext; then 
    7795   ac_header_compiler=yes 
    7796 else 
    7797   echo "$as_me: failed program was:" >&5 
    7798 sed 's/^/| /' conftest.$ac_ext >&5 
    7799  
    7800         ac_header_compiler=no 
    7801 fi 
    7802  
    7803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7804 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7805 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7806  
    7807 # Is the header present? 
    7808 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    7809 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
    7810 cat >conftest.$ac_ext <<_ACEOF 
    7811 /* confdefs.h.  */ 
    7812 _ACEOF 
    7813 cat confdefs.h >>conftest.$ac_ext 
    7814 cat >>conftest.$ac_ext <<_ACEOF 
    7815 /* end confdefs.h.  */ 
    7816 #include <stdlib.h> 
    7817 _ACEOF 
    7818 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7819 case "(($ac_try" in 
    7820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7821   *) ac_try_echo=$ac_try;; 
    7822 esac 
    7823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7824   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7825   ac_status=$? 
    7826   grep -v '^ *+' conftest.er1 >conftest.err 
    7827   rm -f conftest.er1 
    7828   cat conftest.err >&5 
    7829   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7830   (exit $ac_status); } >/dev/null && { 
    7831          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7832          test ! -s conftest.err 
    7833        }; then 
    7834   ac_header_preproc=yes 
    7835 else 
    7836   echo "$as_me: failed program was:" >&5 
    7837 sed 's/^/| /' conftest.$ac_ext >&5 
    7838  
    7839   ac_header_preproc=no 
    7840 fi 
    7841  
    7842 rm -f conftest.err conftest.$ac_ext 
    7843 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7844 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7845  
    7846 # So?  What about this header? 
    7847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7848   yes:no: ) 
    7849     { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7850 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7851     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    7852 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    7853     ac_header_preproc=yes 
    7854     ;; 
    7855   no:yes:* ) 
    7856     { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    7857 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    7858     { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    7859 echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    7860     { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    7861 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    7862     { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7863 echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7864     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    7865 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    7866     { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    7867 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    7868  
    7869     ;; 
    7870 esac 
    7871 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7872 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7873 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7874   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7875 else 
    7876   ac_cv_header_stdlib_h=$ac_header_preproc 
    7877 fi 
    7878 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7879 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7880  
    7881 fi 
    7882 if test $ac_cv_header_stdlib_h = yes; then 
    7883   cat >>confdefs.h <<\_ACEOF 
    7884 #define PJ_HAS_STDLIB_H 1 
    7885 _ACEOF 
    7886  
    7887 fi 
    7888  
    7889  
    7890 if test "${ac_cv_header_string_h+set}" = set; then 
    7891   { echo "$as_me:$LINENO: checking for string.h" >&5 
    7892 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7893 if test "${ac_cv_header_string_h+set}" = set; then 
    7894   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7895 fi 
    7896 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7897 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7898 else 
    7899   # Is the header compilable? 
    7900 { echo "$as_me:$LINENO: checking string.h usability" >&5 
    7901 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
    7902 cat >conftest.$ac_ext <<_ACEOF 
    7903 /* confdefs.h.  */ 
    7904 _ACEOF 
    7905 cat confdefs.h >>conftest.$ac_ext 
    7906 cat >>conftest.$ac_ext <<_ACEOF 
    7907 /* end confdefs.h.  */ 
    7908 $ac_includes_default 
    7909 #include <string.h> 
    7910 _ACEOF 
    7911 rm -f conftest.$ac_objext 
    7912 if { (ac_try="$ac_compile" 
    7913 case "(($ac_try" in 
    7914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7915   *) ac_try_echo=$ac_try;; 
    7916 esac 
    7917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7918   (eval "$ac_compile") 2>conftest.er1 
    7919   ac_status=$? 
    7920   grep -v '^ *+' conftest.er1 >conftest.err 
    7921   rm -f conftest.er1 
    7922   cat conftest.err >&5 
    7923   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7924   (exit $ac_status); } && { 
    7925          test -z "$ac_c_werror_flag" || 
    7926          test ! -s conftest.err 
    7927        } && test -s conftest.$ac_objext; then 
    7928   ac_header_compiler=yes 
    7929 else 
    7930   echo "$as_me: failed program was:" >&5 
    7931 sed 's/^/| /' conftest.$ac_ext >&5 
    7932  
    7933         ac_header_compiler=no 
    7934 fi 
    7935  
    7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7938 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7939  
    7940 # Is the header present? 
    7941 { echo "$as_me:$LINENO: checking string.h presence" >&5 
    7942 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
    7943 cat >conftest.$ac_ext <<_ACEOF 
    7944 /* confdefs.h.  */ 
    7945 _ACEOF 
    7946 cat confdefs.h >>conftest.$ac_ext 
    7947 cat >>conftest.$ac_ext <<_ACEOF 
    7948 /* end confdefs.h.  */ 
    7949 #include <string.h> 
    7950 _ACEOF 
    7951 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7952 case "(($ac_try" in 
    7953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7954   *) ac_try_echo=$ac_try;; 
    7955 esac 
    7956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7957   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7958   ac_status=$? 
    7959   grep -v '^ *+' conftest.er1 >conftest.err 
    7960   rm -f conftest.er1 
    7961   cat conftest.err >&5 
    7962   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7963   (exit $ac_status); } >/dev/null && { 
    7964          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7965          test ! -s conftest.err 
    7966        }; then 
    7967   ac_header_preproc=yes 
    7968 else 
    7969   echo "$as_me: failed program was:" >&5 
    7970 sed 's/^/| /' conftest.$ac_ext >&5 
    7971  
    7972   ac_header_preproc=no 
    7973 fi 
    7974  
    7975 rm -f conftest.err conftest.$ac_ext 
    7976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7977 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7978  
    7979 # So?  What about this header? 
    7980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7981   yes:no: ) 
    7982     { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7983 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7984     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    7985 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    7986     ac_header_preproc=yes 
    7987     ;; 
    7988   no:yes:* ) 
    7989     { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    7990 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    7991     { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    7992 echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    7993     { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    7994 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    7995     { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7996 echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7997     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    7998 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    7999     { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    8000 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    8001  
    8002     ;; 
    8003 esac 
    8004 { echo "$as_me:$LINENO: checking for string.h" >&5 
    8005 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    8006 if test "${ac_cv_header_string_h+set}" = set; then 
    8007   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8008 else 
    8009   ac_cv_header_string_h=$ac_header_preproc 
    8010 fi 
    8011 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    8012 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    8013  
    8014 fi 
    8015 if test $ac_cv_header_string_h = yes; then 
    8016   cat >>confdefs.h <<\_ACEOF 
    8017 #define PJ_HAS_STRING_H 1 
    8018 _ACEOF 
    8019  
    8020 fi 
    8021  
    8022  
    8023 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8024   { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8025 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8026 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8027   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8028 fi 
    8029 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8030 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8031 else 
    8032   # Is the header compilable? 
    8033 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    8034 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
    8035 cat >conftest.$ac_ext <<_ACEOF 
    8036 /* confdefs.h.  */ 
    8037 _ACEOF 
    8038 cat confdefs.h >>conftest.$ac_ext 
    8039 cat >>conftest.$ac_ext <<_ACEOF 
    8040 /* end confdefs.h.  */ 
    8041 $ac_includes_default 
    8042 #include <sys/ioctl.h> 
    8043 _ACEOF 
    8044 rm -f conftest.$ac_objext 
    8045 if { (ac_try="$ac_compile" 
    8046 case "(($ac_try" in 
    8047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8048   *) ac_try_echo=$ac_try;; 
    8049 esac 
    8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8051   (eval "$ac_compile") 2>conftest.er1 
    8052   ac_status=$? 
    8053   grep -v '^ *+' conftest.er1 >conftest.err 
    8054   rm -f conftest.er1 
    8055   cat conftest.err >&5 
    8056   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8057   (exit $ac_status); } && { 
    8058          test -z "$ac_c_werror_flag" || 
    8059          test ! -s conftest.err 
    8060        } && test -s conftest.$ac_objext; then 
    8061   ac_header_compiler=yes 
    8062 else 
    8063   echo "$as_me: failed program was:" >&5 
    8064 sed 's/^/| /' conftest.$ac_ext >&5 
    8065  
    8066         ac_header_compiler=no 
    8067 fi 
    8068  
    8069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8070 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8071 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8072  
    8073 # Is the header present? 
    8074 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    8075 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
    8076 cat >conftest.$ac_ext <<_ACEOF 
    8077 /* confdefs.h.  */ 
    8078 _ACEOF 
    8079 cat confdefs.h >>conftest.$ac_ext 
    8080 cat >>conftest.$ac_ext <<_ACEOF 
    8081 /* end confdefs.h.  */ 
    8082 #include <sys/ioctl.h> 
    8083 _ACEOF 
    8084 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8085 case "(($ac_try" in 
    8086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8087   *) ac_try_echo=$ac_try;; 
    8088 esac 
    8089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8090   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8091   ac_status=$? 
    8092   grep -v '^ *+' conftest.er1 >conftest.err 
    8093   rm -f conftest.er1 
    8094   cat conftest.err >&5 
    8095   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8096   (exit $ac_status); } >/dev/null && { 
    8097          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8098          test ! -s conftest.err 
    8099        }; then 
    8100   ac_header_preproc=yes 
    8101 else 
    8102   echo "$as_me: failed program was:" >&5 
    8103 sed 's/^/| /' conftest.$ac_ext >&5 
    8104  
    8105   ac_header_preproc=no 
    8106 fi 
    8107  
    8108 rm -f conftest.err conftest.$ac_ext 
    8109 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8110 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8111  
    8112 # So?  What about this header? 
    8113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8114   yes:no: ) 
    8115     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8116 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8117     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    8118 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    8119     ac_header_preproc=yes 
    8120     ;; 
    8121   no:yes:* ) 
    8122     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    8123 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    8124     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    8125 echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    8126     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    8127 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    8128     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8129 echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8130     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    8131 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    8132     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    8133 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    8134  
    8135     ;; 
    8136 esac 
    8137 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8138 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8139 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8140   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8141 else 
    8142   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    8143 fi 
    8144 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8145 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8146  
    8147 fi 
    8148 if test $ac_cv_header_sys_ioctl_h = yes; then 
    8149   cat >>confdefs.h <<\_ACEOF 
    8150 #define PJ_HAS_SYS_IOCTL_H 1 
    8151 _ACEOF 
    8152  
    8153 fi 
    8154  
    8155  
    8156 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8157   { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8158 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8159 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8160   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8161 fi 
    8162 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8163 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8164 else 
    8165   # Is the header compilable? 
    8166 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    8167 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
    8168 cat >conftest.$ac_ext <<_ACEOF 
    8169 /* confdefs.h.  */ 
    8170 _ACEOF 
    8171 cat confdefs.h >>conftest.$ac_ext 
    8172 cat >>conftest.$ac_ext <<_ACEOF 
    8173 /* end confdefs.h.  */ 
    8174 $ac_includes_default 
    8175 #include <sys/select.h> 
    8176 _ACEOF 
    8177 rm -f conftest.$ac_objext 
    8178 if { (ac_try="$ac_compile" 
    8179 case "(($ac_try" in 
    8180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8181   *) ac_try_echo=$ac_try;; 
    8182 esac 
    8183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8184   (eval "$ac_compile") 2>conftest.er1 
    8185   ac_status=$? 
    8186   grep -v '^ *+' conftest.er1 >conftest.err 
    8187   rm -f conftest.er1 
    8188   cat conftest.err >&5 
    8189   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8190   (exit $ac_status); } && { 
    8191          test -z "$ac_c_werror_flag" || 
    8192          test ! -s conftest.err 
    8193        } && test -s conftest.$ac_objext; then 
    8194   ac_header_compiler=yes 
    8195 else 
    8196   echo "$as_me: failed program was:" >&5 
    8197 sed 's/^/| /' conftest.$ac_ext >&5 
    8198  
    8199         ac_header_compiler=no 
    8200 fi 
    8201  
    8202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8203 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8204 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8205  
    8206 # Is the header present? 
    8207 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    8208 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
    8209 cat >conftest.$ac_ext <<_ACEOF 
    8210 /* confdefs.h.  */ 
    8211 _ACEOF 
    8212 cat confdefs.h >>conftest.$ac_ext 
    8213 cat >>conftest.$ac_ext <<_ACEOF 
    8214 /* end confdefs.h.  */ 
    8215 #include <sys/select.h> 
    8216 _ACEOF 
    8217 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8218 case "(($ac_try" in 
    8219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8220   *) ac_try_echo=$ac_try;; 
    8221 esac 
    8222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8223   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8224   ac_status=$? 
    8225   grep -v '^ *+' conftest.er1 >conftest.err 
    8226   rm -f conftest.er1 
    8227   cat conftest.err >&5 
    8228   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8229   (exit $ac_status); } >/dev/null && { 
    8230          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8231          test ! -s conftest.err 
    8232        }; then 
    8233   ac_header_preproc=yes 
    8234 else 
    8235   echo "$as_me: failed program was:" >&5 
    8236 sed 's/^/| /' conftest.$ac_ext >&5 
    8237  
    8238   ac_header_preproc=no 
    8239 fi 
    8240  
    8241 rm -f conftest.err conftest.$ac_ext 
    8242 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8243 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8244  
    8245 # So?  What about this header? 
    8246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8247   yes:no: ) 
    8248     { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8249 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8250     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    8251 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    8252     ac_header_preproc=yes 
    8253     ;; 
    8254   no:yes:* ) 
    8255     { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    8256 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    8257     { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    8258 echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    8259     { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    8260 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    8261     { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8262 echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8263     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    8264 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    8265     { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    8266 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    8267  
    8268     ;; 
    8269 esac 
    8270 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8271 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8272 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8273   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8274 else 
    8275   ac_cv_header_sys_select_h=$ac_header_preproc 
    8276 fi 
    8277 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8278 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8279  
    8280 fi 
    8281 if test $ac_cv_header_sys_select_h = yes; then 
    8282   cat >>confdefs.h <<\_ACEOF 
    8283 #define PJ_HAS_SYS_SELECT_H 1 
    8284 _ACEOF 
    8285  
    8286 fi 
    8287  
    8288  
    8289 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8290   { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8291 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8292 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8293   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8294 fi 
    8295 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8296 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8297 else 
    8298   # Is the header compilable? 
    8299 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    8300 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
    8301 cat >conftest.$ac_ext <<_ACEOF 
    8302 /* confdefs.h.  */ 
    8303 _ACEOF 
    8304 cat confdefs.h >>conftest.$ac_ext 
    8305 cat >>conftest.$ac_ext <<_ACEOF 
    8306 /* end confdefs.h.  */ 
    8307 $ac_includes_default 
    8308 #include <sys/socket.h> 
    8309 _ACEOF 
    8310 rm -f conftest.$ac_objext 
    8311 if { (ac_try="$ac_compile" 
    8312 case "(($ac_try" in 
    8313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8314   *) ac_try_echo=$ac_try;; 
    8315 esac 
    8316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8317   (eval "$ac_compile") 2>conftest.er1 
    8318   ac_status=$? 
    8319   grep -v '^ *+' conftest.er1 >conftest.err 
    8320   rm -f conftest.er1 
    8321   cat conftest.err >&5 
    8322   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8323   (exit $ac_status); } && { 
    8324          test -z "$ac_c_werror_flag" || 
    8325          test ! -s conftest.err 
    8326        } && test -s conftest.$ac_objext; then 
    8327   ac_header_compiler=yes 
    8328 else 
    8329   echo "$as_me: failed program was:" >&5 
    8330 sed 's/^/| /' conftest.$ac_ext >&5 
    8331  
    8332         ac_header_compiler=no 
    8333 fi 
    8334  
    8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8336 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8337 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8338  
    8339 # Is the header present? 
    8340 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    8341 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
    8342 cat >conftest.$ac_ext <<_ACEOF 
    8343 /* confdefs.h.  */ 
    8344 _ACEOF 
    8345 cat confdefs.h >>conftest.$ac_ext 
    8346 cat >>conftest.$ac_ext <<_ACEOF 
    8347 /* end confdefs.h.  */ 
    8348 #include <sys/socket.h> 
    8349 _ACEOF 
    8350 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8351 case "(($ac_try" in 
    8352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8353   *) ac_try_echo=$ac_try;; 
    8354 esac 
    8355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8356   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8357   ac_status=$? 
    8358   grep -v '^ *+' conftest.er1 >conftest.err 
    8359   rm -f conftest.er1 
    8360   cat conftest.err >&5 
    8361   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8362   (exit $ac_status); } >/dev/null && { 
    8363          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8364          test ! -s conftest.err 
    8365        }; then 
    8366   ac_header_preproc=yes 
    8367 else 
    8368   echo "$as_me: failed program was:" >&5 
    8369 sed 's/^/| /' conftest.$ac_ext >&5 
    8370  
    8371   ac_header_preproc=no 
    8372 fi 
    8373  
    8374 rm -f conftest.err conftest.$ac_ext 
    8375 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8376 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8377  
    8378 # So?  What about this header? 
    8379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8380   yes:no: ) 
    8381     { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8382 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8383     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    8384 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    8385     ac_header_preproc=yes 
    8386     ;; 
    8387   no:yes:* ) 
    8388     { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    8389 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    8390     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    8391 echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    8392     { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    8393 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    8394     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8395 echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8396     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    8397 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    8398     { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    8399 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    8400  
    8401     ;; 
    8402 esac 
    8403 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8404 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8405 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8406   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8407 else 
    8408   ac_cv_header_sys_socket_h=$ac_header_preproc 
    8409 fi 
    8410 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8411 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8412  
    8413 fi 
    8414 if test $ac_cv_header_sys_socket_h = yes; then 
    8415   cat >>confdefs.h <<\_ACEOF 
    8416 #define PJ_HAS_SYS_SOCKET_H 1 
    8417 _ACEOF 
    8418  
    8419 fi 
    8420  
    8421  
    8422 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8423   { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8424 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8425 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8426   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8427 fi 
    8428 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8429 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8430 else 
    8431   # Is the header compilable? 
    8432 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    8433 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
    8434 cat >conftest.$ac_ext <<_ACEOF 
    8435 /* confdefs.h.  */ 
    8436 _ACEOF 
    8437 cat confdefs.h >>conftest.$ac_ext 
    8438 cat >>conftest.$ac_ext <<_ACEOF 
    8439 /* end confdefs.h.  */ 
    8440 $ac_includes_default 
    8441 #include <sys/time.h> 
    8442 _ACEOF 
    8443 rm -f conftest.$ac_objext 
    8444 if { (ac_try="$ac_compile" 
    8445 case "(($ac_try" in 
    8446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8447   *) ac_try_echo=$ac_try;; 
    8448 esac 
    8449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8450   (eval "$ac_compile") 2>conftest.er1 
    8451   ac_status=$? 
    8452   grep -v '^ *+' conftest.er1 >conftest.err 
    8453   rm -f conftest.er1 
    8454   cat conftest.err >&5 
    8455   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8456   (exit $ac_status); } && { 
    8457          test -z "$ac_c_werror_flag" || 
    8458          test ! -s conftest.err 
    8459        } && test -s conftest.$ac_objext; then 
    8460   ac_header_compiler=yes 
    8461 else 
    8462   echo "$as_me: failed program was:" >&5 
    8463 sed 's/^/| /' conftest.$ac_ext >&5 
    8464  
    8465         ac_header_compiler=no 
    8466 fi 
    8467  
    8468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8470 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8471  
    8472 # Is the header present? 
    8473 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    8474 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
    8475 cat >conftest.$ac_ext <<_ACEOF 
    8476 /* confdefs.h.  */ 
    8477 _ACEOF 
    8478 cat confdefs.h >>conftest.$ac_ext 
    8479 cat >>conftest.$ac_ext <<_ACEOF 
    8480 /* end confdefs.h.  */ 
    8481 #include <sys/time.h> 
    8482 _ACEOF 
    8483 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8484 case "(($ac_try" in 
    8485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8486   *) ac_try_echo=$ac_try;; 
    8487 esac 
    8488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8489   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8490   ac_status=$? 
    8491   grep -v '^ *+' conftest.er1 >conftest.err 
    8492   rm -f conftest.er1 
    8493   cat conftest.err >&5 
    8494   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8495   (exit $ac_status); } >/dev/null && { 
    8496          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8497          test ! -s conftest.err 
    8498        }; then 
    8499   ac_header_preproc=yes 
    8500 else 
    8501   echo "$as_me: failed program was:" >&5 
    8502 sed 's/^/| /' conftest.$ac_ext >&5 
    8503  
    8504   ac_header_preproc=no 
    8505 fi 
    8506  
    8507 rm -f conftest.err conftest.$ac_ext 
    8508 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8509 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8510  
    8511 # So?  What about this header? 
    8512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8513   yes:no: ) 
    8514     { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8515 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8516     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    8517 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    8518     ac_header_preproc=yes 
    8519     ;; 
    8520   no:yes:* ) 
    8521     { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    8522 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    8523     { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    8524 echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    8525     { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    8526 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    8527     { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8528 echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8529     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    8530 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    8531     { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    8532 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    8533  
    8534     ;; 
    8535 esac 
    8536 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8537 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8538 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8539   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8540 else 
    8541   ac_cv_header_sys_time_h=$ac_header_preproc 
    8542 fi 
    8543 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8544 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8545  
    8546 fi 
    8547 if test $ac_cv_header_sys_time_h = yes; then 
    8548   cat >>confdefs.h <<\_ACEOF 
    8549 #define PJ_HAS_SYS_TIME_H 1 
    8550 _ACEOF 
    8551  
    8552 fi 
    8553  
    8554  
    8555 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8556   { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8557 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8558 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8559   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8560 fi 
    8561 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8562 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8563 else 
    8564   # Is the header compilable? 
    8565 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    8566 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
    8567 cat >conftest.$ac_ext <<_ACEOF 
    8568 /* confdefs.h.  */ 
    8569 _ACEOF 
    8570 cat confdefs.h >>conftest.$ac_ext 
    8571 cat >>conftest.$ac_ext <<_ACEOF 
    8572 /* end confdefs.h.  */ 
    8573 $ac_includes_default 
    8574 #include <sys/timeb.h> 
    8575 _ACEOF 
    8576 rm -f conftest.$ac_objext 
    8577 if { (ac_try="$ac_compile" 
    8578 case "(($ac_try" in 
    8579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8580   *) ac_try_echo=$ac_try;; 
    8581 esac 
    8582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8583   (eval "$ac_compile") 2>conftest.er1 
    8584   ac_status=$? 
    8585   grep -v '^ *+' conftest.er1 >conftest.err 
    8586   rm -f conftest.er1 
    8587   cat conftest.err >&5 
    8588   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8589   (exit $ac_status); } && { 
    8590          test -z "$ac_c_werror_flag" || 
    8591          test ! -s conftest.err 
    8592        } && test -s conftest.$ac_objext; then 
    8593   ac_header_compiler=yes 
    8594 else 
    8595   echo "$as_me: failed program was:" >&5 
    8596 sed 's/^/| /' conftest.$ac_ext >&5 
    8597  
    8598         ac_header_compiler=no 
    8599 fi 
    8600  
    8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8602 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8603 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8604  
    8605 # Is the header present? 
    8606 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    8607 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
    8608 cat >conftest.$ac_ext <<_ACEOF 
    8609 /* confdefs.h.  */ 
    8610 _ACEOF 
    8611 cat confdefs.h >>conftest.$ac_ext 
    8612 cat >>conftest.$ac_ext <<_ACEOF 
    8613 /* end confdefs.h.  */ 
    8614 #include <sys/timeb.h> 
    8615 _ACEOF 
    8616 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8617 case "(($ac_try" in 
    8618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8619   *) ac_try_echo=$ac_try;; 
    8620 esac 
    8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8622   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8623   ac_status=$? 
    8624   grep -v '^ *+' conftest.er1 >conftest.err 
    8625   rm -f conftest.er1 
    8626   cat conftest.err >&5 
    8627   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8628   (exit $ac_status); } >/dev/null && { 
    8629          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8630          test ! -s conftest.err 
    8631        }; then 
    8632   ac_header_preproc=yes 
    8633 else 
    8634   echo "$as_me: failed program was:" >&5 
    8635 sed 's/^/| /' conftest.$ac_ext >&5 
    8636  
    8637   ac_header_preproc=no 
    8638 fi 
    8639  
    8640 rm -f conftest.err conftest.$ac_ext 
    8641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8642 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8643  
    8644 # So?  What about this header? 
    8645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8646   yes:no: ) 
    8647     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8648 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8649     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    8650 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    8651     ac_header_preproc=yes 
    8652     ;; 
    8653   no:yes:* ) 
    8654     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    8655 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    8656     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    8657 echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    8658     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    8659 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    8660     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8661 echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8662     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    8663 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    8664     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    8665 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    8666  
    8667     ;; 
    8668 esac 
    8669 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8670 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8671 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8672   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8673 else 
    8674   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    8675 fi 
    8676 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8677 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8678  
    8679 fi 
    8680 if test $ac_cv_header_sys_timeb_h = yes; then 
    8681   cat >>confdefs.h <<\_ACEOF 
    8682 #define PJ_HAS_SYS_TIMEB_H 1 
    8683 _ACEOF 
    8684  
    8685 fi 
    8686  
    8687  
    8688 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8689   { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8690 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8691 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8692   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8693 fi 
    8694 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8695 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8696 else 
    8697   # Is the header compilable? 
    8698 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    8699 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
    8700 cat >conftest.$ac_ext <<_ACEOF 
    8701 /* confdefs.h.  */ 
    8702 _ACEOF 
    8703 cat confdefs.h >>conftest.$ac_ext 
    8704 cat >>conftest.$ac_ext <<_ACEOF 
    8705 /* end confdefs.h.  */ 
    8706 $ac_includes_default 
    8707 #include <sys/types.h> 
    8708 _ACEOF 
    8709 rm -f conftest.$ac_objext 
    8710 if { (ac_try="$ac_compile" 
    8711 case "(($ac_try" in 
    8712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8713   *) ac_try_echo=$ac_try;; 
    8714 esac 
    8715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8716   (eval "$ac_compile") 2>conftest.er1 
    8717   ac_status=$? 
    8718   grep -v '^ *+' conftest.er1 >conftest.err 
    8719   rm -f conftest.er1 
    8720   cat conftest.err >&5 
    8721   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8722   (exit $ac_status); } && { 
    8723          test -z "$ac_c_werror_flag" || 
    8724          test ! -s conftest.err 
    8725        } && test -s conftest.$ac_objext; then 
    8726   ac_header_compiler=yes 
    8727 else 
    8728   echo "$as_me: failed program was:" >&5 
    8729 sed 's/^/| /' conftest.$ac_ext >&5 
    8730  
    8731         ac_header_compiler=no 
    8732 fi 
    8733  
    8734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8735 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8736 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8737  
    8738 # Is the header present? 
    8739 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    8740 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
    8741 cat >conftest.$ac_ext <<_ACEOF 
    8742 /* confdefs.h.  */ 
    8743 _ACEOF 
    8744 cat confdefs.h >>conftest.$ac_ext 
    8745 cat >>conftest.$ac_ext <<_ACEOF 
    8746 /* end confdefs.h.  */ 
    8747 #include <sys/types.h> 
    8748 _ACEOF 
    8749 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8750 case "(($ac_try" in 
    8751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8752   *) ac_try_echo=$ac_try;; 
    8753 esac 
    8754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8755   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8756   ac_status=$? 
    8757   grep -v '^ *+' conftest.er1 >conftest.err 
    8758   rm -f conftest.er1 
    8759   cat conftest.err >&5 
    8760   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8761   (exit $ac_status); } >/dev/null && { 
    8762          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8763          test ! -s conftest.err 
    8764        }; then 
    8765   ac_header_preproc=yes 
    8766 else 
    8767   echo "$as_me: failed program was:" >&5 
    8768 sed 's/^/| /' conftest.$ac_ext >&5 
    8769  
    8770   ac_header_preproc=no 
    8771 fi 
    8772  
    8773 rm -f conftest.err conftest.$ac_ext 
    8774 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8775 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8776  
    8777 # So?  What about this header? 
    8778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8779   yes:no: ) 
    8780     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8781 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8782     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    8783 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    8784     ac_header_preproc=yes 
    8785     ;; 
    8786   no:yes:* ) 
    8787     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    8788 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    8789     { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    8790 echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    8791     { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    8792 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    8793     { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8794 echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8795     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    8796 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    8797     { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    8798 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    8799  
    8800     ;; 
    8801 esac 
    8802 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8803 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8804 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8805   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8806 else 
    8807   ac_cv_header_sys_types_h=$ac_header_preproc 
    8808 fi 
    8809 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8810 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8811  
    8812 fi 
    8813 if test $ac_cv_header_sys_types_h = yes; then 
    8814   cat >>confdefs.h <<\_ACEOF 
    8815 #define PJ_HAS_SYS_TYPES_H 1 
    8816 _ACEOF 
    8817  
    8818 fi 
    8819  
    8820  
    8821 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8822   { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8823 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8824 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8825   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8826 fi 
    8827 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8828 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8829 else 
    8830   # Is the header compilable? 
    8831 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
    8832 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
    8833 cat >conftest.$ac_ext <<_ACEOF 
    8834 /* confdefs.h.  */ 
    8835 _ACEOF 
    8836 cat confdefs.h >>conftest.$ac_ext 
    8837 cat >>conftest.$ac_ext <<_ACEOF 
    8838 /* end confdefs.h.  */ 
    8839 $ac_includes_default 
    8840 #include <sys/filio.h> 
    8841 _ACEOF 
    8842 rm -f conftest.$ac_objext 
    8843 if { (ac_try="$ac_compile" 
    8844 case "(($ac_try" in 
    8845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8846   *) ac_try_echo=$ac_try;; 
    8847 esac 
    8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8849   (eval "$ac_compile") 2>conftest.er1 
    8850   ac_status=$? 
    8851   grep -v '^ *+' conftest.er1 >conftest.err 
    8852   rm -f conftest.er1 
    8853   cat conftest.err >&5 
    8854   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8855   (exit $ac_status); } && { 
    8856          test -z "$ac_c_werror_flag" || 
    8857          test ! -s conftest.err 
    8858        } && test -s conftest.$ac_objext; then 
    8859   ac_header_compiler=yes 
    8860 else 
    8861   echo "$as_me: failed program was:" >&5 
    8862 sed 's/^/| /' conftest.$ac_ext >&5 
    8863  
    8864         ac_header_compiler=no 
    8865 fi 
    8866  
    8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8868 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8869 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8870  
    8871 # Is the header present? 
    8872 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
    8873 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
    8874 cat >conftest.$ac_ext <<_ACEOF 
    8875 /* confdefs.h.  */ 
    8876 _ACEOF 
    8877 cat confdefs.h >>conftest.$ac_ext 
    8878 cat >>conftest.$ac_ext <<_ACEOF 
    8879 /* end confdefs.h.  */ 
    8880 #include <sys/filio.h> 
    8881 _ACEOF 
    8882 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8883 case "(($ac_try" in 
    8884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8885   *) ac_try_echo=$ac_try;; 
    8886 esac 
    8887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8888   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8889   ac_status=$? 
    8890   grep -v '^ *+' conftest.er1 >conftest.err 
    8891   rm -f conftest.er1 
    8892   cat conftest.err >&5 
    8893   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8894   (exit $ac_status); } >/dev/null && { 
    8895          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8896          test ! -s conftest.err 
    8897        }; then 
    8898   ac_header_preproc=yes 
    8899 else 
    8900   echo "$as_me: failed program was:" >&5 
    8901 sed 's/^/| /' conftest.$ac_ext >&5 
    8902  
    8903   ac_header_preproc=no 
    8904 fi 
    8905  
    8906 rm -f conftest.err conftest.$ac_ext 
    8907 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8908 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8909  
    8910 # So?  What about this header? 
    8911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8912   yes:no: ) 
    8913     { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8914 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8915     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
    8916 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
    8917     ac_header_preproc=yes 
    8918     ;; 
    8919   no:yes:* ) 
    8920     { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
    8921 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
    8922     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
    8923 echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
    8924     { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
    8925 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
    8926     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8927 echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8928     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
    8929 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
    8930     { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
    8931 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
    8932  
    8933     ;; 
    8934 esac 
    8935 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8936 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8937 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8938   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8939 else 
    8940   ac_cv_header_sys_filio_h=$ac_header_preproc 
    8941 fi 
    8942 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8943 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8944  
    8945 fi 
    8946 if test $ac_cv_header_sys_filio_h = yes; then 
    8947   cat >>confdefs.h <<\_ACEOF 
    8948 #define PJ_HAS_SYS_FILIO_H 1 
    8949 _ACEOF 
    8950  
    8951 fi 
    8952  
    8953  
    8954 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8955   { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    8956 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    8957 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8958   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8959 fi 
    8960 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    8961 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    8962 else 
    8963   # Is the header compilable? 
    8964 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
    8965 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
    8966 cat >conftest.$ac_ext <<_ACEOF 
    8967 /* confdefs.h.  */ 
    8968 _ACEOF 
    8969 cat confdefs.h >>conftest.$ac_ext 
    8970 cat >>conftest.$ac_ext <<_ACEOF 
    8971 /* end confdefs.h.  */ 
    8972 $ac_includes_default 
    8973 #include <sys/sockio.h> 
    8974 _ACEOF 
    8975 rm -f conftest.$ac_objext 
    8976 if { (ac_try="$ac_compile" 
    8977 case "(($ac_try" in 
    8978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8979   *) ac_try_echo=$ac_try;; 
    8980 esac 
    8981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8982   (eval "$ac_compile") 2>conftest.er1 
    8983   ac_status=$? 
    8984   grep -v '^ *+' conftest.er1 >conftest.err 
    8985   rm -f conftest.er1 
    8986   cat conftest.err >&5 
    8987   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8988   (exit $ac_status); } && { 
    8989          test -z "$ac_c_werror_flag" || 
    8990          test ! -s conftest.err 
    8991        } && test -s conftest.$ac_objext; then 
    8992   ac_header_compiler=yes 
    8993 else 
    8994   echo "$as_me: failed program was:" >&5 
    8995 sed 's/^/| /' conftest.$ac_ext >&5 
    8996  
    8997         ac_header_compiler=no 
    8998 fi 
    8999  
    9000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9001 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9002 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9003  
    9004 # Is the header present? 
    9005 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
    9006 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
    9007 cat >conftest.$ac_ext <<_ACEOF 
    9008 /* confdefs.h.  */ 
    9009 _ACEOF 
    9010 cat confdefs.h >>conftest.$ac_ext 
    9011 cat >>conftest.$ac_ext <<_ACEOF 
    9012 /* end confdefs.h.  */ 
    9013 #include <sys/sockio.h> 
    9014 _ACEOF 
    9015 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9016 case "(($ac_try" in 
    9017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9018   *) ac_try_echo=$ac_try;; 
    9019 esac 
    9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9021   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9022   ac_status=$? 
    9023   grep -v '^ *+' conftest.er1 >conftest.err 
    9024   rm -f conftest.er1 
    9025   cat conftest.err >&5 
    9026   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9027   (exit $ac_status); } >/dev/null && { 
    9028          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9029          test ! -s conftest.err 
    9030        }; then 
    9031   ac_header_preproc=yes 
    9032 else 
    9033   echo "$as_me: failed program was:" >&5 
    9034 sed 's/^/| /' conftest.$ac_ext >&5 
    9035  
    9036   ac_header_preproc=no 
    9037 fi 
    9038  
    9039 rm -f conftest.err conftest.$ac_ext 
    9040 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9041 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9042  
    9043 # So?  What about this header? 
    9044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9045   yes:no: ) 
    9046     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9047 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9048     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
    9049 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
    9050     ac_header_preproc=yes 
    9051     ;; 
    9052   no:yes:* ) 
    9053     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
    9054 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
    9055     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
    9056 echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
    9057     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
    9058 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
    9059     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9060 echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9061     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
    9062 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
    9063     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
    9064 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
    9065  
    9066     ;; 
    9067 esac 
    9068 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    9069 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    9070 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    9071   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9072 else 
    9073   ac_cv_header_sys_sockio_h=$ac_header_preproc 
    9074 fi 
    9075 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    9076 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    9077  
    9078 fi 
    9079 if test $ac_cv_header_sys_sockio_h = yes; then 
    9080   cat >>confdefs.h <<\_ACEOF 
    9081 #define PJ_HAS_SYS_SOCKIO_H 1 
    9082 _ACEOF 
    9083  
    9084 fi 
    9085  
    9086  
    9087 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9088   { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9089 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9090 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9091   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9092 fi 
    9093 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9094 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9095 else 
    9096   # Is the header compilable? 
    9097 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 
    9098 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 
    9099 cat >conftest.$ac_ext <<_ACEOF 
    9100 /* confdefs.h.  */ 
    9101 _ACEOF 
    9102 cat confdefs.h >>conftest.$ac_ext 
    9103 cat >>conftest.$ac_ext <<_ACEOF 
    9104 /* end confdefs.h.  */ 
    9105 $ac_includes_default 
    9106 #include <sys/utsname.h> 
    9107 _ACEOF 
    9108 rm -f conftest.$ac_objext 
    9109 if { (ac_try="$ac_compile" 
    9110 case "(($ac_try" in 
    9111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9112   *) ac_try_echo=$ac_try;; 
    9113 esac 
    9114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9115   (eval "$ac_compile") 2>conftest.er1 
    9116   ac_status=$? 
    9117   grep -v '^ *+' conftest.er1 >conftest.err 
    9118   rm -f conftest.er1 
    9119   cat conftest.err >&5 
    9120   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9121   (exit $ac_status); } && { 
    9122          test -z "$ac_c_werror_flag" || 
    9123          test ! -s conftest.err 
    9124        } && test -s conftest.$ac_objext; then 
    9125   ac_header_compiler=yes 
    9126 else 
    9127   echo "$as_me: failed program was:" >&5 
    9128 sed 's/^/| /' conftest.$ac_ext >&5 
    9129  
    9130         ac_header_compiler=no 
    9131 fi 
    9132  
    9133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9134 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9135 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9136  
    9137 # Is the header present? 
    9138 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 
    9139 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 
    9140 cat >conftest.$ac_ext <<_ACEOF 
    9141 /* confdefs.h.  */ 
    9142 _ACEOF 
    9143 cat confdefs.h >>conftest.$ac_ext 
    9144 cat >>conftest.$ac_ext <<_ACEOF 
    9145 /* end confdefs.h.  */ 
    9146 #include <sys/utsname.h> 
    9147 _ACEOF 
    9148 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9149 case "(($ac_try" in 
    9150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9151   *) ac_try_echo=$ac_try;; 
    9152 esac 
    9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9154   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9155   ac_status=$? 
    9156   grep -v '^ *+' conftest.er1 >conftest.err 
    9157   rm -f conftest.er1 
    9158   cat conftest.err >&5 
    9159   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9160   (exit $ac_status); } >/dev/null && { 
    9161          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9162          test ! -s conftest.err 
    9163        }; then 
    9164   ac_header_preproc=yes 
    9165 else 
    9166   echo "$as_me: failed program was:" >&5 
    9167 sed 's/^/| /' conftest.$ac_ext >&5 
    9168  
    9169   ac_header_preproc=no 
    9170 fi 
    9171  
    9172 rm -f conftest.err conftest.$ac_ext 
    9173 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9174 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9175  
    9176 # So?  What about this header? 
    9177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9178   yes:no: ) 
    9179     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9180 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9181     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 
    9182 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 
    9183     ac_header_preproc=yes 
    9184     ;; 
    9185   no:yes:* ) 
    9186     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 
    9187 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 
    9188     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&5 
    9189 echo "$as_me: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&2;} 
    9190     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 
    9191 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 
    9192     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9193 echo "$as_me: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9194     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 
    9195 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 
    9196     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 
    9197 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 
    9198  
    9199     ;; 
    9200 esac 
    9201 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9202 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9203 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9204   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9205 else 
    9206   ac_cv_header_sys_utsname_h=$ac_header_preproc 
    9207 fi 
    9208 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9209 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9210  
    9211 fi 
    9212 if test $ac_cv_header_sys_utsname_h = yes; then 
    9213   cat >>confdefs.h <<\_ACEOF 
    9214 #define PJ_HAS_SYS_UTSNAME_H 1 
    9215 _ACEOF 
    9216  
    9217 fi 
    9218  
    9219  
    9220 if test "${ac_cv_header_time_h+set}" = set; then 
    9221   { echo "$as_me:$LINENO: checking for time.h" >&5 
    9222 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9223 if test "${ac_cv_header_time_h+set}" = set; then 
    9224   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9225 fi 
    9226 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9227 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9228 else 
    9229   # Is the header compilable? 
    9230 { echo "$as_me:$LINENO: checking time.h usability" >&5 
    9231 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
    9232 cat >conftest.$ac_ext <<_ACEOF 
    9233 /* confdefs.h.  */ 
    9234 _ACEOF 
    9235 cat confdefs.h >>conftest.$ac_ext 
    9236 cat >>conftest.$ac_ext <<_ACEOF 
    9237 /* end confdefs.h.  */ 
    9238 $ac_includes_default 
    9239 #include <time.h> 
    9240 _ACEOF 
    9241 rm -f conftest.$ac_objext 
    9242 if { (ac_try="$ac_compile" 
    9243 case "(($ac_try" in 
    9244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9245   *) ac_try_echo=$ac_try;; 
    9246 esac 
    9247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9248   (eval "$ac_compile") 2>conftest.er1 
    9249   ac_status=$? 
    9250   grep -v '^ *+' conftest.er1 >conftest.err 
    9251   rm -f conftest.er1 
    9252   cat conftest.err >&5 
    9253   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9254   (exit $ac_status); } && { 
    9255          test -z "$ac_c_werror_flag" || 
    9256          test ! -s conftest.err 
    9257        } && test -s conftest.$ac_objext; then 
    9258   ac_header_compiler=yes 
    9259 else 
    9260   echo "$as_me: failed program was:" >&5 
    9261 sed 's/^/| /' conftest.$ac_ext >&5 
    9262  
    9263         ac_header_compiler=no 
    9264 fi 
    9265  
    9266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9267 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9268 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9269  
    9270 # Is the header present? 
    9271 { echo "$as_me:$LINENO: checking time.h presence" >&5 
    9272 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
    9273 cat >conftest.$ac_ext <<_ACEOF 
    9274 /* confdefs.h.  */ 
    9275 _ACEOF 
    9276 cat confdefs.h >>conftest.$ac_ext 
    9277 cat >>conftest.$ac_ext <<_ACEOF 
    9278 /* end confdefs.h.  */ 
    9279 #include <time.h> 
    9280 _ACEOF 
    9281 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9282 case "(($ac_try" in 
    9283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9284   *) ac_try_echo=$ac_try;; 
    9285 esac 
    9286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9287   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9288   ac_status=$? 
    9289   grep -v '^ *+' conftest.er1 >conftest.err 
    9290   rm -f conftest.er1 
    9291   cat conftest.err >&5 
    9292   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9293   (exit $ac_status); } >/dev/null && { 
    9294          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9295          test ! -s conftest.err 
    9296        }; then 
    9297   ac_header_preproc=yes 
    9298 else 
    9299   echo "$as_me: failed program was:" >&5 
    9300 sed 's/^/| /' conftest.$ac_ext >&5 
    9301  
    9302   ac_header_preproc=no 
    9303 fi 
    9304  
    9305 rm -f conftest.err conftest.$ac_ext 
    9306 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9307 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9308  
    9309 # So?  What about this header? 
    9310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9311   yes:no: ) 
    9312     { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9313 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9314     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    9315 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    9316     ac_header_preproc=yes 
    9317     ;; 
    9318   no:yes:* ) 
    9319     { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    9320 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    9321     { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    9322 echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    9323     { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    9324 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    9325     { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9326 echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9327     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    9328 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    9329     { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    9330 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    9331  
    9332     ;; 
    9333 esac 
    9334 { echo "$as_me:$LINENO: checking for time.h" >&5 
    9335 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9336 if test "${ac_cv_header_time_h+set}" = set; then 
    9337   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9338 else 
    9339   ac_cv_header_time_h=$ac_header_preproc 
    9340 fi 
    9341 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9342 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9343  
    9344 fi 
    9345 if test $ac_cv_header_time_h = yes; then 
    9346   cat >>confdefs.h <<\_ACEOF 
    9347 #define PJ_HAS_TIME_H 1 
    9348 _ACEOF 
    9349  
    9350 fi 
    9351  
    9352  
    9353 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9354   { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9355 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9356 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9357   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9358 fi 
    9359 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9360 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9361 else 
    9362   # Is the header compilable? 
    9363 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    9364 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
    9365 cat >conftest.$ac_ext <<_ACEOF 
    9366 /* confdefs.h.  */ 
    9367 _ACEOF 
    9368 cat confdefs.h >>conftest.$ac_ext 
    9369 cat >>conftest.$ac_ext <<_ACEOF 
    9370 /* end confdefs.h.  */ 
    9371 $ac_includes_default 
    9372 #include <unistd.h> 
    9373 _ACEOF 
    9374 rm -f conftest.$ac_objext 
    9375 if { (ac_try="$ac_compile" 
    9376 case "(($ac_try" in 
    9377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9378   *) ac_try_echo=$ac_try;; 
    9379 esac 
    9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9381   (eval "$ac_compile") 2>conftest.er1 
    9382   ac_status=$? 
    9383   grep -v '^ *+' conftest.er1 >conftest.err 
    9384   rm -f conftest.er1 
    9385   cat conftest.err >&5 
    9386   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9387   (exit $ac_status); } && { 
    9388          test -z "$ac_c_werror_flag" || 
    9389          test ! -s conftest.err 
    9390        } && test -s conftest.$ac_objext; then 
    9391   ac_header_compiler=yes 
    9392 else 
    9393   echo "$as_me: failed program was:" >&5 
    9394 sed 's/^/| /' conftest.$ac_ext >&5 
    9395  
    9396         ac_header_compiler=no 
    9397 fi 
    9398  
    9399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9400 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9401 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9402  
    9403 # Is the header present? 
    9404 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    9405 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
    9406 cat >conftest.$ac_ext <<_ACEOF 
    9407 /* confdefs.h.  */ 
    9408 _ACEOF 
    9409 cat confdefs.h >>conftest.$ac_ext 
    9410 cat >>conftest.$ac_ext <<_ACEOF 
    9411 /* end confdefs.h.  */ 
    9412 #include <unistd.h> 
    9413 _ACEOF 
    9414 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9415 case "(($ac_try" in 
    9416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9417   *) ac_try_echo=$ac_try;; 
    9418 esac 
    9419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9420   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9421   ac_status=$? 
    9422   grep -v '^ *+' conftest.er1 >conftest.err 
    9423   rm -f conftest.er1 
    9424   cat conftest.err >&5 
    9425   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9426   (exit $ac_status); } >/dev/null && { 
    9427          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9428          test ! -s conftest.err 
    9429        }; then 
    9430   ac_header_preproc=yes 
    9431 else 
    9432   echo "$as_me: failed program was:" >&5 
    9433 sed 's/^/| /' conftest.$ac_ext >&5 
    9434  
    9435   ac_header_preproc=no 
    9436 fi 
    9437  
    9438 rm -f conftest.err conftest.$ac_ext 
    9439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9440 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9441  
    9442 # So?  What about this header? 
    9443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9444   yes:no: ) 
    9445     { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9446 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9447     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    9448 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    9449     ac_header_preproc=yes 
    9450     ;; 
    9451   no:yes:* ) 
    9452     { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    9453 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    9454     { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    9455 echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    9456     { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    9457 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    9458     { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9459 echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9460     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    9461 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    9462     { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    9463 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    9464  
    9465     ;; 
    9466 esac 
    9467 { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9468 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9469 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9470   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9471 else 
    9472   ac_cv_header_unistd_h=$ac_header_preproc 
    9473 fi 
    9474 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9475 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9476  
    9477 fi 
    9478 if test $ac_cv_header_unistd_h = yes; then 
    9479   cat >>confdefs.h <<\_ACEOF 
    9480 #define PJ_HAS_UNISTD_H 1 
    9481 _ACEOF 
    9482  
    9483 fi 
    9484  
    9485  
    9486 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9487   { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9488 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9489 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9490   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9491 fi 
    9492 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9493 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9494 else 
    9495   # Is the header compilable? 
    9496 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    9497 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
    9498 cat >conftest.$ac_ext <<_ACEOF 
    9499 /* confdefs.h.  */ 
    9500 _ACEOF 
    9501 cat confdefs.h >>conftest.$ac_ext 
    9502 cat >>conftest.$ac_ext <<_ACEOF 
    9503 /* end confdefs.h.  */ 
    9504 $ac_includes_default 
    9505 #include <winsock.h> 
    9506 _ACEOF 
    9507 rm -f conftest.$ac_objext 
    9508 if { (ac_try="$ac_compile" 
    9509 case "(($ac_try" in 
    9510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9511   *) ac_try_echo=$ac_try;; 
    9512 esac 
    9513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9514   (eval "$ac_compile") 2>conftest.er1 
    9515   ac_status=$? 
    9516   grep -v '^ *+' conftest.er1 >conftest.err 
    9517   rm -f conftest.er1 
    9518   cat conftest.err >&5 
    9519   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9520   (exit $ac_status); } && { 
    9521          test -z "$ac_c_werror_flag" || 
    9522          test ! -s conftest.err 
    9523        } && test -s conftest.$ac_objext; then 
    9524   ac_header_compiler=yes 
    9525 else 
    9526   echo "$as_me: failed program was:" >&5 
    9527 sed 's/^/| /' conftest.$ac_ext >&5 
    9528  
    9529         ac_header_compiler=no 
    9530 fi 
    9531  
    9532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9533 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9534 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9535  
    9536 # Is the header present? 
    9537 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    9538 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
    9539 cat >conftest.$ac_ext <<_ACEOF 
    9540 /* confdefs.h.  */ 
    9541 _ACEOF 
    9542 cat confdefs.h >>conftest.$ac_ext 
    9543 cat >>conftest.$ac_ext <<_ACEOF 
    9544 /* end confdefs.h.  */ 
    9545 #include <winsock.h> 
    9546 _ACEOF 
    9547 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9548 case "(($ac_try" in 
    9549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9550   *) ac_try_echo=$ac_try;; 
    9551 esac 
    9552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9553   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9554   ac_status=$? 
    9555   grep -v '^ *+' conftest.er1 >conftest.err 
    9556   rm -f conftest.er1 
    9557   cat conftest.err >&5 
    9558   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9559   (exit $ac_status); } >/dev/null && { 
    9560          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9561          test ! -s conftest.err 
    9562        }; then 
    9563   ac_header_preproc=yes 
    9564 else 
    9565   echo "$as_me: failed program was:" >&5 
    9566 sed 's/^/| /' conftest.$ac_ext >&5 
    9567  
    9568   ac_header_preproc=no 
    9569 fi 
    9570  
    9571 rm -f conftest.err conftest.$ac_ext 
    9572 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9573 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9574  
    9575 # So?  What about this header? 
    9576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9577   yes:no: ) 
    9578     { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9579 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9580     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    9581 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    9582     ac_header_preproc=yes 
    9583     ;; 
    9584   no:yes:* ) 
    9585     { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    9586 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    9587     { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    9588 echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    9589     { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    9590 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    9591     { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9592 echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9593     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    9594 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    9595     { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    9596 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    9597  
    9598     ;; 
    9599 esac 
    9600 { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9601 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9602 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9603   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9604 else 
    9605   ac_cv_header_winsock_h=$ac_header_preproc 
    9606 fi 
    9607 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9608 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9609  
    9610 fi 
    9611 if test $ac_cv_header_winsock_h = yes; then 
    9612   cat >>confdefs.h <<\_ACEOF 
    9613 #define PJ_HAS_WINSOCK_H 1 
    9614 _ACEOF 
    9615  
    9616 fi 
    9617  
    9618  
    9619 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9620   { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9621 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9622 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9623   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9624 fi 
    9625 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9626 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9627 else 
    9628   # Is the header compilable? 
    9629 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    9630 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
    9631 cat >conftest.$ac_ext <<_ACEOF 
    9632 /* confdefs.h.  */ 
    9633 _ACEOF 
    9634 cat confdefs.h >>conftest.$ac_ext 
    9635 cat >>conftest.$ac_ext <<_ACEOF 
    9636 /* end confdefs.h.  */ 
    9637 $ac_includes_default 
    9638 #include <winsock2.h> 
    9639 _ACEOF 
    9640 rm -f conftest.$ac_objext 
    9641 if { (ac_try="$ac_compile" 
    9642 case "(($ac_try" in 
    9643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9644   *) ac_try_echo=$ac_try;; 
    9645 esac 
    9646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9647   (eval "$ac_compile") 2>conftest.er1 
    9648   ac_status=$? 
    9649   grep -v '^ *+' conftest.er1 >conftest.err 
    9650   rm -f conftest.er1 
    9651   cat conftest.err >&5 
    9652   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9653   (exit $ac_status); } && { 
    9654          test -z "$ac_c_werror_flag" || 
    9655          test ! -s conftest.err 
    9656        } && test -s conftest.$ac_objext; then 
    9657   ac_header_compiler=yes 
    9658 else 
    9659   echo "$as_me: failed program was:" >&5 
    9660 sed 's/^/| /' conftest.$ac_ext >&5 
    9661  
    9662         ac_header_compiler=no 
    9663 fi 
    9664  
    9665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9666 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9667 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9668  
    9669 # Is the header present? 
    9670 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    9671 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
    9672 cat >conftest.$ac_ext <<_ACEOF 
    9673 /* confdefs.h.  */ 
    9674 _ACEOF 
    9675 cat confdefs.h >>conftest.$ac_ext 
    9676 cat >>conftest.$ac_ext <<_ACEOF 
    9677 /* end confdefs.h.  */ 
    9678 #include <winsock2.h> 
    9679 _ACEOF 
    9680 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9681 case "(($ac_try" in 
    9682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9683   *) ac_try_echo=$ac_try;; 
    9684 esac 
    9685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9686   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9687   ac_status=$? 
    9688   grep -v '^ *+' conftest.er1 >conftest.err 
    9689   rm -f conftest.er1 
    9690   cat conftest.err >&5 
    9691   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9692   (exit $ac_status); } >/dev/null && { 
    9693          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9694          test ! -s conftest.err 
    9695        }; then 
    9696   ac_header_preproc=yes 
    9697 else 
    9698   echo "$as_me: failed program was:" >&5 
    9699 sed 's/^/| /' conftest.$ac_ext >&5 
    9700  
    9701   ac_header_preproc=no 
    9702 fi 
    9703  
    9704 rm -f conftest.err conftest.$ac_ext 
    9705 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9706 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9707  
    9708 # So?  What about this header? 
    9709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9710   yes:no: ) 
    9711     { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9712 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9713     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    9714 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    9715     ac_header_preproc=yes 
    9716     ;; 
    9717   no:yes:* ) 
    9718     { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    9719 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    9720     { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    9721 echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    9722     { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    9723 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    9724     { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9725 echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9726     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    9727 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    9728     { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    9729 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    9730  
    9731     ;; 
    9732 esac 
    9733 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9734 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9735 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9736   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9737 else 
    9738   ac_cv_header_winsock2_h=$ac_header_preproc 
    9739 fi 
    9740 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9741 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9742  
    9743 fi 
    9744 if test $ac_cv_header_winsock2_h = yes; then 
    9745   cat >>confdefs.h <<\_ACEOF 
    9746 #define PJ_HAS_WINSOCK2_H 1 
    9747 _ACEOF 
    9748  
    9749 fi 
    9750  
    9751  
    9752 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    9753 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
    9754 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    9755   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9756 else 
    9757   cat >conftest.$ac_ext <<_ACEOF 
    9758 /* confdefs.h.  */ 
    9759 _ACEOF 
    9760 cat confdefs.h >>conftest.$ac_ext 
    9761 cat >>conftest.$ac_ext <<_ACEOF 
    9762 /* end confdefs.h.  */ 
    9763 #if PJ_HAS_WINSOCK2_H 
     4791" 
     4792if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4793  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
     4794 
     4795fi 
     4796 
     4797 
     4798ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
     4799if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4800  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
     4801 
     4802fi 
     4803 
     4804 
     4805ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
     4806if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4807  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
     4808if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4809  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
     4810 
     4811fi 
     4812 
     4813fi 
     4814 
     4815 
     4816ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
     4817if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4818  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
     4819 
     4820fi 
     4821 
     4822 
     4823ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
     4824if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4825  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
     4826 
     4827fi 
     4828 
     4829 
     4830ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
     4831if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4832  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
     4833 
     4834fi 
     4835 
     4836 
     4837ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
     4838if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4839  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
     4840 
     4841fi 
     4842 
     4843 
     4844ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
     4845if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4846  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
     4847 
     4848fi 
     4849 
     4850 
     4851ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
     4852if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4853  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
     4854 
     4855fi 
     4856 
     4857 
     4858ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
     4859if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4860  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
     4861 
     4862fi 
     4863 
     4864 
     4865ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
     4866if test "x$ac_cv_header_string_h" = x""yes; then : 
     4867  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
     4868 
     4869fi 
     4870 
     4871 
     4872ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
     4873if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4874  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
     4875 
     4876fi 
     4877 
     4878 
     4879ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
     4880if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4881  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
     4882 
     4883fi 
     4884 
     4885 
     4886ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
     4887if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4888  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
     4889 
     4890fi 
     4891 
     4892 
     4893ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
     4894if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4895  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
     4896 
     4897fi 
     4898 
     4899 
     4900ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
     4901if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4902  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
     4903 
     4904fi 
     4905 
     4906 
     4907ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
     4908if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4909  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
     4910 
     4911fi 
     4912 
     4913 
     4914ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
     4915if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4916  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
     4917 
     4918fi 
     4919 
     4920 
     4921ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
     4922if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     4923  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
     4924 
     4925fi 
     4926 
     4927 
     4928ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 
     4929if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 
     4930  $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 
     4931 
     4932fi 
     4933 
     4934 
     4935ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
     4936if test "x$ac_cv_header_time_h" = x""yes; then : 
     4937  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
     4938 
     4939fi 
     4940 
     4941 
     4942ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
     4943if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     4944  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
     4945 
     4946fi 
     4947 
     4948 
     4949ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
     4950if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     4951  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
     4952 
     4953fi 
     4954 
     4955 
     4956ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
     4957if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     4958  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
     4959 
     4960fi 
     4961 
     4962 
     4963ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
    97644964                  #     include <winsock2.h> 
    97654965                  #elif PJ_HAS_WINSOCK_H 
     
    97674967                  #endif 
    97684968 
    9769  
    9770 #include <mswsock.h> 
    9771 _ACEOF 
    9772 rm -f conftest.$ac_objext 
    9773 if { (ac_try="$ac_compile" 
    9774 case "(($ac_try" in 
    9775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9776   *) ac_try_echo=$ac_try;; 
    9777 esac 
    9778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9779   (eval "$ac_compile") 2>conftest.er1 
    9780   ac_status=$? 
    9781   grep -v '^ *+' conftest.er1 >conftest.err 
    9782   rm -f conftest.er1 
    9783   cat conftest.err >&5 
    9784   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9785   (exit $ac_status); } && { 
    9786          test -z "$ac_c_werror_flag" || 
    9787          test ! -s conftest.err 
    9788        } && test -s conftest.$ac_objext; then 
    9789   ac_cv_header_mswsock_h=yes 
    9790 else 
    9791   echo "$as_me: failed program was:" >&5 
    9792 sed 's/^/| /' conftest.$ac_ext >&5 
    9793  
    9794         ac_cv_header_mswsock_h=no 
    9795 fi 
    9796  
    9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9798 fi 
    9799 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    9800 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
    9801 if test $ac_cv_header_mswsock_h = yes; then 
    9802   cat >>confdefs.h <<\_ACEOF 
    9803 #define PJ_HAS_MSWSOCK_H 1 
    9804 _ACEOF 
    9805  
    9806 fi 
    9807  
    9808  
    9809 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9810   { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9811 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9812 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9813   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9814 fi 
    9815 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9816 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9817 else 
    9818   # Is the header compilable? 
    9819 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
    9820 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
    9821 cat >conftest.$ac_ext <<_ACEOF 
    9822 /* confdefs.h.  */ 
    9823 _ACEOF 
    9824 cat confdefs.h >>conftest.$ac_ext 
    9825 cat >>conftest.$ac_ext <<_ACEOF 
    9826 /* end confdefs.h.  */ 
    9827 $ac_includes_default 
    9828 #include <ws2tcpip.h> 
    9829 _ACEOF 
    9830 rm -f conftest.$ac_objext 
    9831 if { (ac_try="$ac_compile" 
    9832 case "(($ac_try" in 
    9833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9834   *) ac_try_echo=$ac_try;; 
    9835 esac 
    9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9837   (eval "$ac_compile") 2>conftest.er1 
    9838   ac_status=$? 
    9839   grep -v '^ *+' conftest.er1 >conftest.err 
    9840   rm -f conftest.er1 
    9841   cat conftest.err >&5 
    9842   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9843   (exit $ac_status); } && { 
    9844          test -z "$ac_c_werror_flag" || 
    9845          test ! -s conftest.err 
    9846        } && test -s conftest.$ac_objext; then 
    9847   ac_header_compiler=yes 
    9848 else 
    9849   echo "$as_me: failed program was:" >&5 
    9850 sed 's/^/| /' conftest.$ac_ext >&5 
    9851  
    9852         ac_header_compiler=no 
    9853 fi 
    9854  
    9855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9856 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9857 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9858  
    9859 # Is the header present? 
    9860 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
    9861 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
    9862 cat >conftest.$ac_ext <<_ACEOF 
    9863 /* confdefs.h.  */ 
    9864 _ACEOF 
    9865 cat confdefs.h >>conftest.$ac_ext 
    9866 cat >>conftest.$ac_ext <<_ACEOF 
    9867 /* end confdefs.h.  */ 
    9868 #include <ws2tcpip.h> 
    9869 _ACEOF 
    9870 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9871 case "(($ac_try" in 
    9872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9873   *) ac_try_echo=$ac_try;; 
    9874 esac 
    9875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9876   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9877   ac_status=$? 
    9878   grep -v '^ *+' conftest.er1 >conftest.err 
    9879   rm -f conftest.er1 
    9880   cat conftest.err >&5 
    9881   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9882   (exit $ac_status); } >/dev/null && { 
    9883          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9884          test ! -s conftest.err 
    9885        }; then 
    9886   ac_header_preproc=yes 
    9887 else 
    9888   echo "$as_me: failed program was:" >&5 
    9889 sed 's/^/| /' conftest.$ac_ext >&5 
    9890  
    9891   ac_header_preproc=no 
    9892 fi 
    9893  
    9894 rm -f conftest.err conftest.$ac_ext 
    9895 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9896 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9897  
    9898 # So?  What about this header? 
    9899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9900   yes:no: ) 
    9901     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9902 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9903     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
    9904 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
    9905     ac_header_preproc=yes 
    9906     ;; 
    9907   no:yes:* ) 
    9908     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
    9909 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
    9910     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
    9911 echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
    9912     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
    9913 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
    9914     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9915 echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9916     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
    9917 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
    9918     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
    9919 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
    9920  
    9921     ;; 
    9922 esac 
    9923 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9924 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9925 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9926   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9927 else 
    9928   ac_cv_header_ws2tcpip_h=$ac_header_preproc 
    9929 fi 
    9930 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9931 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9932  
    9933 fi 
    9934 if test $ac_cv_header_ws2tcpip_h = yes; then 
    9935   cat >>confdefs.h <<\_ACEOF 
    9936 #define PJ_HAS_WS2TCPIP_H 1 
    9937 _ACEOF 
    9938  
    9939 fi 
    9940  
    9941  
    9942 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9943   { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9944 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    9945 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9946   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9947 fi 
    9948 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9949 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    9950 else 
    9951   # Is the header compilable? 
    9952 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
    9953 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
    9954 cat >conftest.$ac_ext <<_ACEOF 
    9955 /* confdefs.h.  */ 
    9956 _ACEOF 
    9957 cat confdefs.h >>conftest.$ac_ext 
    9958 cat >>conftest.$ac_ext <<_ACEOF 
    9959 /* end confdefs.h.  */ 
    9960 $ac_includes_default 
    9961 #include <uuid/uuid.h> 
    9962 _ACEOF 
    9963 rm -f conftest.$ac_objext 
    9964 if { (ac_try="$ac_compile" 
    9965 case "(($ac_try" in 
    9966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9967   *) ac_try_echo=$ac_try;; 
    9968 esac 
    9969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9970   (eval "$ac_compile") 2>conftest.er1 
    9971   ac_status=$? 
    9972   grep -v '^ *+' conftest.er1 >conftest.err 
    9973   rm -f conftest.er1 
    9974   cat conftest.err >&5 
    9975   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9976   (exit $ac_status); } && { 
    9977          test -z "$ac_c_werror_flag" || 
    9978          test ! -s conftest.err 
    9979        } && test -s conftest.$ac_objext; then 
    9980   ac_header_compiler=yes 
    9981 else 
    9982   echo "$as_me: failed program was:" >&5 
    9983 sed 's/^/| /' conftest.$ac_ext >&5 
    9984  
    9985         ac_header_compiler=no 
    9986 fi 
    9987  
    9988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9989 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9990 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9991  
    9992 # Is the header present? 
    9993 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
    9994 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
    9995 cat >conftest.$ac_ext <<_ACEOF 
    9996 /* confdefs.h.  */ 
    9997 _ACEOF 
    9998 cat confdefs.h >>conftest.$ac_ext 
    9999 cat >>conftest.$ac_ext <<_ACEOF 
    10000 /* end confdefs.h.  */ 
    10001 #include <uuid/uuid.h> 
    10002 _ACEOF 
    10003 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10004 case "(($ac_try" in 
    10005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10006   *) ac_try_echo=$ac_try;; 
    10007 esac 
    10008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10009   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10010   ac_status=$? 
    10011   grep -v '^ *+' conftest.er1 >conftest.err 
    10012   rm -f conftest.er1 
    10013   cat conftest.err >&5 
    10014   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10015   (exit $ac_status); } >/dev/null && { 
    10016          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10017          test ! -s conftest.err 
    10018        }; then 
    10019   ac_header_preproc=yes 
    10020 else 
    10021   echo "$as_me: failed program was:" >&5 
    10022 sed 's/^/| /' conftest.$ac_ext >&5 
    10023  
    10024   ac_header_preproc=no 
    10025 fi 
    10026  
    10027 rm -f conftest.err conftest.$ac_ext 
    10028 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10029 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    10030  
    10031 # So?  What about this header? 
    10032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10033   yes:no: ) 
    10034     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10035 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10036     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
    10037 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
    10038     ac_header_preproc=yes 
    10039     ;; 
    10040   no:yes:* ) 
    10041     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
    10042 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
    10043     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
    10044 echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
    10045     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
    10046 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
    10047     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10048 echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10049     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
    10050 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
    10051     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
    10052 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
    10053  
    10054     ;; 
    10055 esac 
    10056 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    10057 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    10058 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    10059   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10060 else 
    10061   ac_cv_header_uuid_uuid_h=$ac_header_preproc 
    10062 fi 
    10063 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    10064 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    10065  
    10066 fi 
    10067 if test $ac_cv_header_uuid_uuid_h = yes; then 
     4969" 
     4970if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     4971  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
     4972 
     4973fi 
     4974 
     4975 
     4976ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
     4977if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     4978  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
     4979 
     4980fi 
     4981 
     4982 
     4983ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
     4984if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
    100684985  ac_has_uuid_h=1 
    100694986fi 
    100704987 
    100714988 
    10072 { echo "$as_me:$LINENO: checking for net/if.h" >&5 
    10073 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
    10074 if test "${ac_cv_header_net_if_h+set}" = set; then 
    10075   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10076 else 
    10077   cat >conftest.$ac_ext <<_ACEOF 
    10078 /* confdefs.h.  */ 
    10079 _ACEOF 
    10080 cat confdefs.h >>conftest.$ac_ext 
    10081 cat >>conftest.$ac_ext <<_ACEOF 
    10082 /* end confdefs.h.  */ 
    10083 #if PJ_HAS_SYS_TYPES_H 
     4989ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
    100844990                  #     include <sys/types.h> 
    100854991                  #endif 
     
    100894995                  #endif 
    100904996 
    10091  
    10092 #include <net/if.h> 
    10093 _ACEOF 
    10094 rm -f conftest.$ac_objext 
    10095 if { (ac_try="$ac_compile" 
    10096 case "(($ac_try" in 
    10097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10098   *) ac_try_echo=$ac_try;; 
    10099 esac 
    10100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10101   (eval "$ac_compile") 2>conftest.er1 
    10102   ac_status=$? 
    10103   grep -v '^ *+' conftest.er1 >conftest.err 
    10104   rm -f conftest.er1 
    10105   cat conftest.err >&5 
    10106   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10107   (exit $ac_status); } && { 
    10108          test -z "$ac_c_werror_flag" || 
    10109          test ! -s conftest.err 
    10110        } && test -s conftest.$ac_objext; then 
    10111   ac_cv_header_net_if_h=yes 
    10112 else 
    10113   echo "$as_me: failed program was:" >&5 
    10114 sed 's/^/| /' conftest.$ac_ext >&5 
    10115  
    10116         ac_cv_header_net_if_h=no 
    10117 fi 
    10118  
    10119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10120 fi 
    10121 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
    10122 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
    10123 if test $ac_cv_header_net_if_h = yes; then 
    10124   cat >>confdefs.h <<\_ACEOF 
    10125 #define PJ_HAS_NET_IF_H 1 
    10126 _ACEOF 
    10127  
    10128 fi 
    10129  
    10130  
    10131 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    10132 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
     4997" 
     4998if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     4999  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
     5000 
     5001fi 
     5002 
     5003 
     5004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
     5005$as_echo "Setting PJ_OS_NAME to $target" >&6; } 
    101335006cat >>confdefs.h <<_ACEOF 
    101345007#define PJ_OS_NAME "$target" 
     
    101365009 
    101375010 
    10138 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    10139 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    10140 cat >>confdefs.h <<\_ACEOF 
    10141 #define PJ_HAS_ERRNO_VAR 1 
    10142 _ACEOF 
    10143  
    10144  
    10145 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    10146 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    10147 cat >>confdefs.h <<\_ACEOF 
    10148 #define PJ_HAS_HIGH_RES_TIMER 1 
    10149 _ACEOF 
    10150  
    10151  
    10152 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    10153 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
    10154 cat >>confdefs.h <<\_ACEOF 
    10155 #define PJ_HAS_MALLOC 1 
    10156 _ACEOF 
    10157  
    10158  
    10159 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    10160 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    10161 cat >>confdefs.h <<\_ACEOF 
    10162 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    10163 _ACEOF 
    10164  
    10165  
    10166 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    10167 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    10168 cat >>confdefs.h <<\_ACEOF 
    10169 #define PJ_ATOMIC_VALUE_TYPE long 
    10170 _ACEOF 
    10171  
    10172  
    10173 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
    10174 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
    10175 cat >conftest.$ac_ext <<_ACEOF 
    10176 /* confdefs.h.  */ 
    10177 _ACEOF 
    10178 cat confdefs.h >>conftest.$ac_ext 
    10179 cat >>conftest.$ac_ext <<_ACEOF 
     5011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     5012$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     5013$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
     5014 
     5015 
     5016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     5017$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     5018$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
     5019 
     5020 
     5021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
     5022$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
     5023$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
     5024 
     5025 
     5026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     5027$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     5028$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
     5029 
     5030 
     5031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     5032$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     5033$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
     5034 
     5035 
     5036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
     5037$as_echo_n "checking if inet_aton() is available... " >&6; } 
     5038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101805039/* end confdefs.h.  */ 
    101815040#include <sys/types.h> 
     
    101905049} 
    101915050_ACEOF 
    10192 rm -f conftest.$ac_objext 
    10193 if { (ac_try="$ac_compile" 
    10194 case "(($ac_try" in 
    10195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10196   *) ac_try_echo=$ac_try;; 
    10197 esac 
    10198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10199   (eval "$ac_compile") 2>conftest.er1 
    10200   ac_status=$? 
    10201   grep -v '^ *+' conftest.er1 >conftest.err 
    10202   rm -f conftest.er1 
    10203   cat conftest.err >&5 
    10204   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10205   (exit $ac_status); } && { 
    10206          test -z "$ac_c_werror_flag" || 
    10207          test ! -s conftest.err 
    10208        } && test -s conftest.$ac_objext; then 
    10209   cat >>confdefs.h <<\_ACEOF 
    10210 #define PJ_SOCK_HAS_INET_ATON 1 
    10211 _ACEOF 
    10212  
    10213                    { echo "$as_me:$LINENO: result: yes" >&5 
    10214 echo "${ECHO_T}yes" >&6; } 
    10215 else 
    10216   echo "$as_me: failed program was:" >&5 
    10217 sed 's/^/| /' conftest.$ac_ext >&5 
    10218  
    10219         { echo "$as_me:$LINENO: result: no" >&5 
    10220 echo "${ECHO_T}no" >&6; } 
    10221 fi 
    10222  
     5051if ac_fn_c_try_compile "$LINENO"; then : 
     5052  $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
     5053 
     5054                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5055$as_echo "yes" >&6; } 
     5056else 
     5057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5058$as_echo "no" >&6; } 
     5059fi 
    102235060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102245061 
    10225 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
    10226 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
    10227 cat >conftest.$ac_ext <<_ACEOF 
    10228 /* confdefs.h.  */ 
    10229 _ACEOF 
    10230 cat confdefs.h >>conftest.$ac_ext 
    10231 cat >>conftest.$ac_ext <<_ACEOF 
     5062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
     5063$as_echo_n "checking if inet_pton() is available... " >&6; } 
     5064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102325065/* end confdefs.h.  */ 
    102335066#include <sys/types.h> 
     
    102425075} 
    102435076_ACEOF 
    10244 rm -f conftest.$ac_objext 
    10245 if { (ac_try="$ac_compile" 
    10246 case "(($ac_try" in 
    10247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10248   *) ac_try_echo=$ac_try;; 
    10249 esac 
    10250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10251   (eval "$ac_compile") 2>conftest.er1 
    10252   ac_status=$? 
    10253   grep -v '^ *+' conftest.er1 >conftest.err 
    10254   rm -f conftest.er1 
    10255   cat conftest.err >&5 
    10256   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10257   (exit $ac_status); } && { 
    10258          test -z "$ac_c_werror_flag" || 
    10259          test ! -s conftest.err 
    10260        } && test -s conftest.$ac_objext; then 
    10261   cat >>confdefs.h <<\_ACEOF 
    10262 #define PJ_SOCK_HAS_INET_PTON 1 
    10263 _ACEOF 
    10264  
    10265                    { echo "$as_me:$LINENO: result: yes" >&5 
    10266 echo "${ECHO_T}yes" >&6; } 
    10267 else 
    10268   echo "$as_me: failed program was:" >&5 
    10269 sed 's/^/| /' conftest.$ac_ext >&5 
    10270  
    10271         { echo "$as_me:$LINENO: result: no" >&5 
    10272 echo "${ECHO_T}no" >&6; } 
    10273 fi 
    10274  
     5077if ac_fn_c_try_compile "$LINENO"; then : 
     5078  $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
     5079 
     5080                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5081$as_echo "yes" >&6; } 
     5082else 
     5083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5084$as_echo "no" >&6; } 
     5085fi 
    102755086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102765087 
    10277 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
    10278 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
    10279 cat >conftest.$ac_ext <<_ACEOF 
    10280 /* confdefs.h.  */ 
    10281 _ACEOF 
    10282 cat confdefs.h >>conftest.$ac_ext 
    10283 cat >>conftest.$ac_ext <<_ACEOF 
     5088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
     5089$as_echo_n "checking if inet_ntop() is available... " >&6; } 
     5090cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102845091/* end confdefs.h.  */ 
    102855092#include <sys/types.h> 
     
    102945101} 
    102955102_ACEOF 
    10296 rm -f conftest.$ac_objext 
    10297 if { (ac_try="$ac_compile" 
    10298 case "(($ac_try" in 
    10299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10300   *) ac_try_echo=$ac_try;; 
    10301 esac 
    10302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10303   (eval "$ac_compile") 2>conftest.er1 
    10304   ac_status=$? 
    10305   grep -v '^ *+' conftest.er1 >conftest.err 
    10306   rm -f conftest.er1 
    10307   cat conftest.err >&5 
    10308   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10309   (exit $ac_status); } && { 
    10310          test -z "$ac_c_werror_flag" || 
    10311          test ! -s conftest.err 
    10312        } && test -s conftest.$ac_objext; then 
    10313   cat >>confdefs.h <<\_ACEOF 
    10314 #define PJ_SOCK_HAS_INET_NTOP 1 
    10315 _ACEOF 
    10316  
    10317                    { echo "$as_me:$LINENO: result: yes" >&5 
    10318 echo "${ECHO_T}yes" >&6; } 
    10319 else 
    10320   echo "$as_me: failed program was:" >&5 
    10321 sed 's/^/| /' conftest.$ac_ext >&5 
    10322  
    10323         { echo "$as_me:$LINENO: result: no" >&5 
    10324 echo "${ECHO_T}no" >&6; } 
    10325 fi 
    10326  
     5103if ac_fn_c_try_compile "$LINENO"; then : 
     5104  $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
     5105 
     5106                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5107$as_echo "yes" >&6; } 
     5108else 
     5109  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5110$as_echo "no" >&6; } 
     5111fi 
    103275112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103285113 
    10329 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
    10330 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
    10331 cat >conftest.$ac_ext <<_ACEOF 
    10332 /* confdefs.h.  */ 
    10333 _ACEOF 
    10334 cat confdefs.h >>conftest.$ac_ext 
    10335 cat >>conftest.$ac_ext <<_ACEOF 
     5114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
     5115$as_echo_n "checking if getaddrinfo() is available... " >&6; } 
     5116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103365117/* end confdefs.h.  */ 
    103375118#include <sys/types.h> 
     
    103465127} 
    103475128_ACEOF 
    10348 rm -f conftest.$ac_objext 
    10349 if { (ac_try="$ac_compile" 
    10350 case "(($ac_try" in 
    10351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10352   *) ac_try_echo=$ac_try;; 
    10353 esac 
    10354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10355   (eval "$ac_compile") 2>conftest.er1 
    10356   ac_status=$? 
    10357   grep -v '^ *+' conftest.er1 >conftest.err 
    10358   rm -f conftest.er1 
    10359   cat conftest.err >&5 
    10360   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10361   (exit $ac_status); } && { 
    10362          test -z "$ac_c_werror_flag" || 
    10363          test ! -s conftest.err 
    10364        } && test -s conftest.$ac_objext; then 
    10365   cat >>confdefs.h <<\_ACEOF 
    10366 #define PJ_SOCK_HAS_GETADDRINFO 1 
    10367 _ACEOF 
    10368  
    10369                    { echo "$as_me:$LINENO: result: yes" >&5 
    10370 echo "${ECHO_T}yes" >&6; } 
    10371 else 
    10372   echo "$as_me: failed program was:" >&5 
    10373 sed 's/^/| /' conftest.$ac_ext >&5 
    10374  
    10375         { echo "$as_me:$LINENO: result: no" >&5 
    10376 echo "${ECHO_T}no" >&6; } 
    10377 fi 
    10378  
     5129if ac_fn_c_try_compile "$LINENO"; then : 
     5130  $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
     5131 
     5132                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5133$as_echo "yes" >&6; } 
     5134else 
     5135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5136$as_echo "no" >&6; } 
     5137fi 
    103795138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103805139 
    10381 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    10382 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
    10383 cat >conftest.$ac_ext <<_ACEOF 
    10384 /* confdefs.h.  */ 
    10385 _ACEOF 
    10386 cat confdefs.h >>conftest.$ac_ext 
    10387 cat >>conftest.$ac_ext <<_ACEOF 
     5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
     5141$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
     5142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103885143/* end confdefs.h.  */ 
    103895144#include <sys/types.h> 
     
    103995154} 
    104005155_ACEOF 
    10401 rm -f conftest.$ac_objext 
    10402 if { (ac_try="$ac_compile" 
    10403 case "(($ac_try" in 
    10404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10405   *) ac_try_echo=$ac_try;; 
    10406 esac 
    10407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10408   (eval "$ac_compile") 2>conftest.er1 
    10409   ac_status=$? 
    10410   grep -v '^ *+' conftest.er1 >conftest.err 
    10411   rm -f conftest.er1 
    10412   cat conftest.err >&5 
    10413   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10414   (exit $ac_status); } && { 
    10415          test -z "$ac_c_werror_flag" || 
    10416          test ! -s conftest.err 
    10417        } && test -s conftest.$ac_objext; then 
    10418   cat >>confdefs.h <<\_ACEOF 
    10419 #define PJ_SOCKADDR_HAS_LEN 1 
    10420 _ACEOF 
    10421  
    10422                    { echo "$as_me:$LINENO: result: yes" >&5 
    10423 echo "${ECHO_T}yes" >&6; } 
    10424 else 
    10425   echo "$as_me: failed program was:" >&5 
    10426 sed 's/^/| /' conftest.$ac_ext >&5 
    10427  
    10428         { echo "$as_me:$LINENO: result: no" >&5 
    10429 echo "${ECHO_T}no" >&6; } 
    10430 fi 
    10431  
     5156if ac_fn_c_try_compile "$LINENO"; then : 
     5157  $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
     5158 
     5159                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5160$as_echo "yes" >&6; } 
     5161else 
     5162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5163$as_echo "no" >&6; } 
     5164fi 
    104325165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104335166 
    10434 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    10435 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
    10436 cat >conftest.$ac_ext <<_ACEOF 
    10437 /* confdefs.h.  */ 
    10438 _ACEOF 
    10439 cat confdefs.h >>conftest.$ac_ext 
    10440 cat >>conftest.$ac_ext <<_ACEOF 
     5167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
     5168$as_echo_n "checking if socklen_t is available... " >&6; } 
     5169cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104415170/* end confdefs.h.  */ 
    104425171#include <sys/types.h> 
     
    104505179} 
    104515180_ACEOF 
    10452 rm -f conftest.$ac_objext 
    10453 if { (ac_try="$ac_compile" 
    10454 case "(($ac_try" in 
    10455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10456   *) ac_try_echo=$ac_try;; 
    10457 esac 
    10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10459   (eval "$ac_compile") 2>conftest.er1 
    10460   ac_status=$? 
    10461   grep -v '^ *+' conftest.er1 >conftest.err 
    10462   rm -f conftest.er1 
    10463   cat conftest.err >&5 
    10464   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10465   (exit $ac_status); } && { 
    10466          test -z "$ac_c_werror_flag" || 
    10467          test ! -s conftest.err 
    10468        } && test -s conftest.$ac_objext; then 
    10469   cat >>confdefs.h <<\_ACEOF 
    10470 #define PJ_HAS_SOCKLEN_T 1 
    10471 _ACEOF 
    10472  
    10473                    { echo "$as_me:$LINENO: result: yes" >&5 
    10474 echo "${ECHO_T}yes" >&6; } 
    10475 else 
    10476   echo "$as_me: failed program was:" >&5 
    10477 sed 's/^/| /' conftest.$ac_ext >&5 
    10478  
    10479         { echo "$as_me:$LINENO: result: no" >&5 
    10480 echo "${ECHO_T}no" >&6; } 
    10481 fi 
    10482  
     5181if ac_fn_c_try_compile "$LINENO"; then : 
     5182  $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
     5183 
     5184                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5185$as_echo "yes" >&6; } 
     5186else 
     5187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5188$as_echo "no" >&6; } 
     5189fi 
    104835190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104845191 
    10485 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    10486 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
     5192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
     5193$as_echo_n "checking if SO_ERROR is available... " >&6; } 
    104875194case $target in 
    104885195    *mingw* | *cygw* | *win32* | *w32* ) 
    10489         cat >>confdefs.h <<\_ACEOF 
    10490 #define PJ_HAS_SO_ERROR 1 
    10491 _ACEOF 
    10492  
    10493         { echo "$as_me:$LINENO: result: yes" >&5 
    10494 echo "${ECHO_T}yes" >&6; } 
     5196        $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5197 
     5198        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5199$as_echo "yes" >&6; } 
    104955200        ;; 
    104965201    *) 
    10497         cat >conftest.$ac_ext <<_ACEOF 
    10498 /* confdefs.h.  */ 
    10499 _ACEOF 
    10500 cat confdefs.h >>conftest.$ac_ext 
    10501 cat >>conftest.$ac_ext <<_ACEOF 
     5202        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105025203/* end confdefs.h.  */ 
    105035204#include <sys/types.h> 
     
    105135214} 
    105145215_ACEOF 
    10515 rm -f conftest.$ac_objext 
    10516 if { (ac_try="$ac_compile" 
    10517 case "(($ac_try" in 
    10518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10519   *) ac_try_echo=$ac_try;; 
    10520 esac 
    10521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10522   (eval "$ac_compile") 2>conftest.er1 
    10523   ac_status=$? 
    10524   grep -v '^ *+' conftest.er1 >conftest.err 
    10525   rm -f conftest.er1 
    10526   cat conftest.err >&5 
    10527   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10528   (exit $ac_status); } && { 
    10529          test -z "$ac_c_werror_flag" || 
    10530          test ! -s conftest.err 
    10531        } && test -s conftest.$ac_objext; then 
    10532   cat >>confdefs.h <<\_ACEOF 
    10533 #define PJ_HAS_SO_ERROR 1 
    10534 _ACEOF 
    10535  
    10536                            { echo "$as_me:$LINENO: result: yes" >&5 
    10537 echo "${ECHO_T}yes" >&6; } 
    10538 else 
    10539   echo "$as_me: failed program was:" >&5 
    10540 sed 's/^/| /' conftest.$ac_ext >&5 
    10541  
    10542         { echo "$as_me:$LINENO: result: no" >&5 
    10543 echo "${ECHO_T}no" >&6; } 
    10544 fi 
    10545  
     5216if ac_fn_c_try_compile "$LINENO"; then : 
     5217  $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5218 
     5219                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5220$as_echo "yes" >&6; } 
     5221else 
     5222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5223$as_echo "no" >&6; } 
     5224fi 
    105465225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    105475226        ;; 
     
    105495228 
    105505229 
    10551 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    10552 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
    10553 cat >conftest.$ac_ext <<_ACEOF 
    10554 /* confdefs.h.  */ 
    10555 _ACEOF 
    10556 cat confdefs.h >>conftest.$ac_ext 
    10557 cat >>conftest.$ac_ext <<_ACEOF 
     5230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
     5231$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
     5232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105585233/* end confdefs.h.  */ 
    105595234#include <pthread.h> 
     
    105665241} 
    105675242_ACEOF 
    10568 rm -f conftest.$ac_objext 
    10569 if { (ac_try="$ac_compile" 
    10570 case "(($ac_try" in 
    10571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10572   *) ac_try_echo=$ac_try;; 
    10573 esac 
    10574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10575   (eval "$ac_compile") 2>conftest.er1 
    10576   ac_status=$? 
    10577   grep -v '^ *+' conftest.er1 >conftest.err 
    10578   rm -f conftest.er1 
    10579   cat conftest.err >&5 
    10580   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10581   (exit $ac_status); } && { 
    10582          test -z "$ac_c_werror_flag" || 
    10583          test ! -s conftest.err 
    10584        } && test -s conftest.$ac_objext; then 
    10585   cat >>confdefs.h <<\_ACEOF 
    10586 #define PJ_EMULATE_RWMUTEX 0 
    10587 _ACEOF 
     5243if ac_fn_c_try_compile "$LINENO"; then : 
     5244  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    105885245 
    105895246                   ac_rwmutex="yes" 
    10590                    { echo "$as_me:$LINENO: result: yes" >&5 
    10591 echo "${ECHO_T}yes" >&6; } 
    10592 else 
    10593   echo "$as_me: failed program was:" >&5 
    10594 sed 's/^/| /' conftest.$ac_ext >&5 
    10595  
    10596         cat >>confdefs.h <<\_ACEOF 
    10597 #define PJ_EMULATE_RWMUTEX 1 
    10598 _ACEOF 
     5247                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5248$as_echo "yes" >&6; } 
     5249else 
     5250  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    105995251 
    106005252                   ac_rwmutex="no" 
    10601                    { echo "$as_me:$LINENO: result: no" >&5 
    10602 echo "${ECHO_T}no" >&6; } 
    10603 fi 
    10604  
     5253                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5254$as_echo "no" >&6; } 
     5255fi 
    106055256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106065257 
    106075258if test "$ac_rwmutex" = "no"; then 
    10608     { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    10609 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
    10610     cat >conftest.$ac_ext <<_ACEOF 
    10611 /* confdefs.h.  */ 
    10612 _ACEOF 
    10613 cat confdefs.h >>conftest.$ac_ext 
    10614 cat >>conftest.$ac_ext <<_ACEOF 
     5259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     5260$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
     5261    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106155262/* end confdefs.h.  */ 
    106165263#define _POSIX_READER_WRITER_LOCKS 
     
    106245271} 
    106255272_ACEOF 
    10626 rm -f conftest.$ac_objext 
    10627 if { (ac_try="$ac_compile" 
    10628 case "(($ac_try" in 
    10629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10630   *) ac_try_echo=$ac_try;; 
    10631 esac 
    10632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10633   (eval "$ac_compile") 2>conftest.er1 
    10634   ac_status=$? 
    10635   grep -v '^ *+' conftest.er1 >conftest.err 
    10636   rm -f conftest.er1 
    10637   cat conftest.err >&5 
    10638   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10639   (exit $ac_status); } && { 
    10640          test -z "$ac_c_werror_flag" || 
    10641          test ! -s conftest.err 
    10642        } && test -s conftest.$ac_objext; then 
    10643   cat >>confdefs.h <<\_ACEOF 
    10644 #define PJ_EMULATE_RWMUTEX 0 
    10645 _ACEOF 
     5273if ac_fn_c_try_compile "$LINENO"; then : 
     5274  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    106465275 
    106475276                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    10648                        { echo "$as_me:$LINENO: result: yes" >&5 
    10649 echo "${ECHO_T}yes" >&6; } 
    10650 else 
    10651   echo "$as_me: failed program was:" >&5 
    10652 sed 's/^/| /' conftest.$ac_ext >&5 
    10653  
    10654         cat >>confdefs.h <<\_ACEOF 
    10655 #define PJ_EMULATE_RWMUTEX 1 
    10656 _ACEOF 
    10657  
    10658                        { echo "$as_me:$LINENO: result: no" >&5 
    10659 echo "${ECHO_T}no" >&6; } 
    10660 fi 
    10661  
     5277                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5278$as_echo "yes" >&6; } 
     5279else 
     5280  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     5281 
     5282                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5283$as_echo "no" >&6; } 
     5284fi 
    106625285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106635286fi 
    106645287 
    10665 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
    10666 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
    10667 cat >conftest.$ac_ext <<_ACEOF 
    10668 /* confdefs.h.  */ 
    10669 _ACEOF 
    10670 cat confdefs.h >>conftest.$ac_ext 
    10671 cat >>conftest.$ac_ext <<_ACEOF 
     5288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
     5289$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
     5290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106725291/* end confdefs.h.  */ 
    106735292#include <pthread.h> 
     
    106805299} 
    106815300_ACEOF 
    10682 rm -f conftest.$ac_objext 
    10683 if { (ac_try="$ac_compile" 
    10684 case "(($ac_try" in 
    10685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10686   *) ac_try_echo=$ac_try;; 
    10687 esac 
    10688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10689   (eval "$ac_compile") 2>conftest.er1 
    10690   ac_status=$? 
    10691   grep -v '^ *+' conftest.er1 >conftest.err 
    10692   rm -f conftest.er1 
    10693   cat conftest.err >&5 
    10694   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10695   (exit $ac_status); } && { 
    10696          test -z "$ac_c_werror_flag" || 
    10697          test ! -s conftest.err 
    10698        } && test -s conftest.$ac_objext; then 
    10699   cat >>confdefs.h <<\_ACEOF 
    10700 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
    10701 _ACEOF 
    10702  
    10703                    { echo "$as_me:$LINENO: result: yes" >&5 
    10704 echo "${ECHO_T}yes" >&6; } 
    10705 else 
    10706   echo "$as_me: failed program was:" >&5 
    10707 sed 's/^/| /' conftest.$ac_ext >&5 
    10708  
    10709         { echo "$as_me:$LINENO: result: no" >&5 
    10710 echo "${ECHO_T}no" >&6; } 
    10711 fi 
    10712  
     5301if ac_fn_c_try_compile "$LINENO"; then : 
     5302  $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
     5303 
     5304                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5305$as_echo "yes" >&6; } 
     5306else 
     5307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5308$as_echo "no" >&6; } 
     5309fi 
    107135310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107145311 
    10715 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
    10716 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
    10717 cat >conftest.$ac_ext <<_ACEOF 
    10718 /* confdefs.h.  */ 
    10719 _ACEOF 
    10720 cat confdefs.h >>conftest.$ac_ext 
    10721 cat >>conftest.$ac_ext <<_ACEOF 
     5312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
     5313$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
     5314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    107225315/* end confdefs.h.  */ 
    107235316#include <pthread.h> 
     
    107315324} 
    107325325_ACEOF 
    10733 rm -f conftest.$ac_objext 
    10734 if { (ac_try="$ac_compile" 
    10735 case "(($ac_try" in 
    10736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10737   *) ac_try_echo=$ac_try;; 
    10738 esac 
    10739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10740   (eval "$ac_compile") 2>conftest.er1 
    10741   ac_status=$? 
    10742   grep -v '^ *+' conftest.er1 >conftest.err 
    10743   rm -f conftest.er1 
    10744   cat conftest.err >&5 
    10745   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10746   (exit $ac_status); } && { 
    10747          test -z "$ac_c_werror_flag" || 
    10748          test ! -s conftest.err 
    10749        } && test -s conftest.$ac_objext; then 
    10750   cat >>confdefs.h <<\_ACEOF 
    10751 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
    10752 _ACEOF 
    10753  
    10754                    { echo "$as_me:$LINENO: result: yes" >&5 
    10755 echo "${ECHO_T}yes" >&6; } 
    10756 else 
    10757   echo "$as_me: failed program was:" >&5 
    10758 sed 's/^/| /' conftest.$ac_ext >&5 
    10759  
    10760         { echo "$as_me:$LINENO: result: no" >&5 
    10761 echo "${ECHO_T}no" >&6; } 
    10762 fi 
    10763  
     5326if ac_fn_c_try_compile "$LINENO"; then : 
     5327  $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
     5328 
     5329                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5330$as_echo "yes" >&6; } 
     5331else 
     5332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5333$as_echo "no" >&6; } 
     5334fi 
    107645335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107655336 
    107665337 
    10767 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 
    10768 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
     5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
     5339$as_echo_n "checking ioqueue backend... " >&6; } 
    107695340# Check whether --enable-epoll was given. 
    10770 if test "${enable_epoll+set}" = set; then 
     5341if test "${enable_epoll+set}" = set; then : 
    107715342  enableval=$enable_epoll; 
    107725343                ac_os_objs=ioqueue_epoll.o 
    10773                 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
    10774 echo "${ECHO_T}/dev/epoll" >&6; } 
     5344                { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
     5345$as_echo "/dev/epoll" >&6; } 
    107755346 
    107765347else 
    107775348 
    107785349                ac_os_objs=ioqueue_select.o 
    10779                 { echo "$as_me:$LINENO: result: select()" >&5 
    10780 echo "${ECHO_T}select()" >&6; } 
     5350                { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
     5351$as_echo "select()" >&6; } 
    107815352 
    107825353fi 
     
    108155386 
    108165387# Check whether --with-external-speex was given. 
    10817 if test "${with_external_speex+set}" = set; then 
     5388if test "${with_external_speex+set}" = set; then : 
    108185389  withval=$with_external_speex; 
    108195390        if test "x$with_external_speex" != "xno"; then 
    108205391                # Test Speex installation 
    10821                 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
    10822 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
    10823                 cat >conftest.$ac_ext <<_ACEOF 
    10824 /* confdefs.h.  */ 
    10825 _ACEOF 
    10826 cat confdefs.h >>conftest.$ac_ext 
    10827 cat >>conftest.$ac_ext <<_ACEOF 
     5392                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
     5393$as_echo_n "checking if external Speex devkit is installed... " >&6; } 
     5394                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108285395/* end confdefs.h.  */ 
    108295396#include <speex/speex.h> 
     
    108385405} 
    108395406_ACEOF 
    10840 rm -f conftest.$ac_objext 
    10841 if { (ac_try="$ac_compile" 
    10842 case "(($ac_try" in 
    10843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10844   *) ac_try_echo=$ac_try;; 
    10845 esac 
    10846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10847   (eval "$ac_compile") 2>conftest.er1 
    10848   ac_status=$? 
    10849   grep -v '^ *+' conftest.er1 >conftest.err 
    10850   rm -f conftest.er1 
    10851   cat conftest.err >&5 
    10852   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10853   (exit $ac_status); } && { 
    10854          test -z "$ac_c_werror_flag" || 
    10855          test ! -s conftest.err 
    10856        } && test -s conftest.$ac_objext; then 
    10857   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10858 echo "${ECHO_T}yes!!" >&6; } 
    10859                                    cat >>confdefs.h <<\_ACEOF 
    10860 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
    10861 _ACEOF 
     5407if ac_fn_c_try_compile "$LINENO"; then : 
     5408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5409$as_echo "yes!!" >&6; } 
     5410                                   $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
    108625411 
    108635412                                   ac_external_speex="1" 
    108645413 
    108655414else 
    10866   echo "$as_me: failed program was:" >&5 
    10867 sed 's/^/| /' conftest.$ac_ext >&5 
    10868  
    10869         { { 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 
    10870 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;} 
    10871    { (exit 1); exit 1; }; } 
    10872 fi 
    10873  
     5415  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 
     5416fi 
    108745417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    108755418        fi 
     
    108835426 
    108845427# Check whether --with-external-gsm was given. 
    10885 if test "${with_external_gsm+set}" = set; then 
     5428if test "${with_external_gsm+set}" = set; then : 
    108865429  withval=$with_external_gsm; 
    108875430        if test "x$with_external_gsm" != "xno"; then 
    108885431                # Test GSM library installation 
    10889                 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    10890 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
    10891                 cat >conftest.$ac_ext <<_ACEOF 
    10892 /* confdefs.h.  */ 
    10893 _ACEOF 
    10894 cat confdefs.h >>conftest.$ac_ext 
    10895 cat >>conftest.$ac_ext <<_ACEOF 
     5432                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     5433$as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
     5434                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108965435/* end confdefs.h.  */ 
    108975436#include <gsm/gsm.h> 
     
    109045443} 
    109055444_ACEOF 
    10906 rm -f conftest.$ac_objext 
    10907 if { (ac_try="$ac_compile" 
    10908 case "(($ac_try" in 
    10909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10910   *) ac_try_echo=$ac_try;; 
    10911 esac 
    10912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10913   (eval "$ac_compile") 2>conftest.er1 
    10914   ac_status=$? 
    10915   grep -v '^ *+' conftest.er1 >conftest.err 
    10916   rm -f conftest.er1 
    10917   cat conftest.err >&5 
    10918   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10919   (exit $ac_status); } && { 
    10920          test -z "$ac_c_werror_flag" || 
    10921          test ! -s conftest.err 
    10922        } && test -s conftest.$ac_objext; then 
    10923   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10924 echo "${ECHO_T}yes!!" >&6; } 
    10925                      cat >>confdefs.h <<\_ACEOF 
    10926 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10927 _ACEOF 
    10928  
    10929                      cat >>confdefs.h <<\_ACEOF 
    10930 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
    10931 _ACEOF 
     5445if ac_fn_c_try_compile "$LINENO"; then : 
     5446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5447$as_echo "yes!!" >&6; } 
     5448                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5449 
     5450                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
    109325451 
    109335452                     ac_external_gsm="1" 
    109345453 
    109355454else 
    10936   echo "$as_me: failed program was:" >&5 
    10937 sed 's/^/| /' conftest.$ac_ext >&5 
    10938  
    10939  
    10940                      { echo "$as_me:$LINENO: result: no" >&5 
    10941 echo "${ECHO_T}no" >&6; } 
    10942                      { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
    10943 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
    10944                      cat >conftest.$ac_ext <<_ACEOF 
    10945 /* confdefs.h.  */ 
    10946 _ACEOF 
    10947 cat confdefs.h >>conftest.$ac_ext 
    10948 cat >>conftest.$ac_ext <<_ACEOF 
     5455 
     5456                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5457$as_echo "no" >&6; } 
     5458                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
     5459$as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
     5460                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    109495461/* end confdefs.h.  */ 
    109505462#include <gsm.h> 
     
    109575469} 
    109585470_ACEOF 
    10959 rm -f conftest.$ac_objext 
    10960 if { (ac_try="$ac_compile" 
    10961 case "(($ac_try" in 
    10962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10963   *) ac_try_echo=$ac_try;; 
    10964 esac 
    10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10966   (eval "$ac_compile") 2>conftest.er1 
    10967   ac_status=$? 
    10968   grep -v '^ *+' conftest.er1 >conftest.err 
    10969   rm -f conftest.er1 
    10970   cat conftest.err >&5 
    10971   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10972   (exit $ac_status); } && { 
    10973          test -z "$ac_c_werror_flag" || 
    10974          test ! -s conftest.err 
    10975        } && test -s conftest.$ac_objext; then 
    10976   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10977 echo "${ECHO_T}yes!!" >&6; } 
    10978                          cat >>confdefs.h <<\_ACEOF 
    10979 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10980 _ACEOF 
    10981  
    10982                          cat >>confdefs.h <<\_ACEOF 
    10983 #define PJMEDIA_EXTERNAL_GSM_H 1 
    10984 _ACEOF 
     5471if ac_fn_c_try_compile "$LINENO"; then : 
     5472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5473$as_echo "yes!!" >&6; } 
     5474                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5475 
     5476                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
    109855477 
    109865478                         ac_external_gsm="1" 
    109875479 
    109885480else 
    10989   echo "$as_me: failed program was:" >&5 
    10990 sed 's/^/| /' conftest.$ac_ext >&5 
    10991  
    10992         { { 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 
    10993 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;} 
    10994    { (exit 1); exit 1; }; } 
    10995  
    10996  
    10997 fi 
    10998  
     5481  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 
     5482 
     5483 
     5484fi 
    109995485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110005486 
    110015487 
    110025488fi 
    11003  
    110045489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110055490        fi 
     
    110135498 
    110145499# Check whether --enable-sound was given. 
    11015 if test "${enable_sound+set}" = set; then 
     5500if test "${enable_sound+set}" = set; then : 
    110165501  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    110175502                ac_pjmedia_snd=null 
    11018                 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
    11019 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
     5503                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
     5504$as_echo "Checking if sound is disabled... yes" >&6; } 
    110205505               fi 
    110215506 
     
    110275512 
    110285513# Check whether --with-external-pa was given. 
    11029 if test "${with_external_pa+set}" = set; then 
     5514if test "${with_external_pa+set}" = set; then : 
    110305515  withval=$with_external_pa; 
    110315516        if test "x$with_external_pa" != "xno"; then 
    110325517                # Test PortAudio installation 
    11033                 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
    11034 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
    11035                 cat >conftest.$ac_ext <<_ACEOF 
    11036 /* confdefs.h.  */ 
    11037 _ACEOF 
    11038 cat confdefs.h >>conftest.$ac_ext 
    11039 cat >>conftest.$ac_ext <<_ACEOF 
     5518                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
     5519$as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
     5520                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    110405521/* end confdefs.h.  */ 
    110415522#include <portaudio.h> 
     
    110495530} 
    110505531_ACEOF 
    11051 rm -f conftest.$ac_objext 
    11052 if { (ac_try="$ac_compile" 
    11053 case "(($ac_try" in 
    11054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11055   *) ac_try_echo=$ac_try;; 
    11056 esac 
    11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11058   (eval "$ac_compile") 2>conftest.er1 
    11059   ac_status=$? 
    11060   grep -v '^ *+' conftest.er1 >conftest.err 
    11061   rm -f conftest.er1 
    11062   cat conftest.err >&5 
    11063   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11064   (exit $ac_status); } && { 
    11065          test -z "$ac_c_werror_flag" || 
    11066          test ! -s conftest.err 
    11067        } && test -s conftest.$ac_objext; then 
    11068   { echo "$as_me:$LINENO: result: yes!!" >&5 
    11069 echo "${ECHO_T}yes!!" >&6; } 
     5532if ac_fn_c_try_compile "$LINENO"; then : 
     5533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5534$as_echo "yes!!" >&6; } 
    110705535                                   ac_external_pa="1" 
    110715536 
    110725537else 
    11073   echo "$as_me: failed program was:" >&5 
    11074 sed 's/^/| /' conftest.$ac_ext >&5 
    11075  
    11076         { { 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 
    11077 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;} 
    11078    { (exit 1); exit 1; }; } 
    11079 fi 
    11080  
     5538  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 
     5539fi 
    110815540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110825541        fi 
     
    110875546 
    110885547 
    11089 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11090   { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11091 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11092 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11093   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11094 fi 
    11095 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11096 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11097 else 
    11098   # Is the header compilable? 
    11099 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
    11100 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
    11101 cat >conftest.$ac_ext <<_ACEOF 
    11102 /* confdefs.h.  */ 
    11103 _ACEOF 
    11104 cat confdefs.h >>conftest.$ac_ext 
    11105 cat >>conftest.$ac_ext <<_ACEOF 
    11106 /* end confdefs.h.  */ 
    11107 $ac_includes_default 
    11108 #include <sys/soundcard.h> 
    11109 _ACEOF 
    11110 rm -f conftest.$ac_objext 
    11111 if { (ac_try="$ac_compile" 
    11112 case "(($ac_try" in 
    11113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11114   *) ac_try_echo=$ac_try;; 
    11115 esac 
    11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11117   (eval "$ac_compile") 2>conftest.er1 
    11118   ac_status=$? 
    11119   grep -v '^ *+' conftest.er1 >conftest.err 
    11120   rm -f conftest.er1 
    11121   cat conftest.err >&5 
    11122   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11123   (exit $ac_status); } && { 
    11124          test -z "$ac_c_werror_flag" || 
    11125          test ! -s conftest.err 
    11126        } && test -s conftest.$ac_objext; then 
    11127   ac_header_compiler=yes 
    11128 else 
    11129   echo "$as_me: failed program was:" >&5 
    11130 sed 's/^/| /' conftest.$ac_ext >&5 
    11131  
    11132         ac_header_compiler=no 
    11133 fi 
    11134  
    11135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11136 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11137 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11138  
    11139 # Is the header present? 
    11140 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
    11141 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
    11142 cat >conftest.$ac_ext <<_ACEOF 
    11143 /* confdefs.h.  */ 
    11144 _ACEOF 
    11145 cat confdefs.h >>conftest.$ac_ext 
    11146 cat >>conftest.$ac_ext <<_ACEOF 
    11147 /* end confdefs.h.  */ 
    11148 #include <sys/soundcard.h> 
    11149 _ACEOF 
    11150 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11151 case "(($ac_try" in 
    11152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11153   *) ac_try_echo=$ac_try;; 
    11154 esac 
    11155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11156   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11157   ac_status=$? 
    11158   grep -v '^ *+' conftest.er1 >conftest.err 
    11159   rm -f conftest.er1 
    11160   cat conftest.err >&5 
    11161   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11162   (exit $ac_status); } >/dev/null && { 
    11163          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11164          test ! -s conftest.err 
    11165        }; then 
    11166   ac_header_preproc=yes 
    11167 else 
    11168   echo "$as_me: failed program was:" >&5 
    11169 sed 's/^/| /' conftest.$ac_ext >&5 
    11170  
    11171   ac_header_preproc=no 
    11172 fi 
    11173  
    11174 rm -f conftest.err conftest.$ac_ext 
    11175 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11176 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11177  
    11178 # So?  What about this header? 
    11179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11180   yes:no: ) 
    11181     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11182 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11183     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
    11184 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
    11185     ac_header_preproc=yes 
    11186     ;; 
    11187   no:yes:* ) 
    11188     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
    11189 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
    11190     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
    11191 echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11192     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
    11193 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
    11194     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11195 echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11196     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
    11197 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11198     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
    11199 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11200  
    11201     ;; 
    11202 esac 
    11203 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11204 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11205 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11206   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11207 else 
    11208   ac_cv_header_sys_soundcard_h=$ac_header_preproc 
    11209 fi 
    11210 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11211 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11212  
    11213 fi 
    11214 if test $ac_cv_header_sys_soundcard_h = yes; then 
     5548ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
     5549if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
    112155550  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    112165551fi 
    112175552 
    112185553 
    11219 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11220   { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11221 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11222 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11223   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11224 fi 
    11225 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11226 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11227 else 
    11228   # Is the header compilable? 
    11229 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
    11230 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
    11231 cat >conftest.$ac_ext <<_ACEOF 
    11232 /* confdefs.h.  */ 
    11233 _ACEOF 
    11234 cat confdefs.h >>conftest.$ac_ext 
    11235 cat >>conftest.$ac_ext <<_ACEOF 
    11236 /* end confdefs.h.  */ 
    11237 $ac_includes_default 
    11238 #include <linux/soundcard.h> 
    11239 _ACEOF 
    11240 rm -f conftest.$ac_objext 
    11241 if { (ac_try="$ac_compile" 
    11242 case "(($ac_try" in 
    11243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11244   *) ac_try_echo=$ac_try;; 
    11245 esac 
    11246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11247   (eval "$ac_compile") 2>conftest.er1 
    11248   ac_status=$? 
    11249   grep -v '^ *+' conftest.er1 >conftest.err 
    11250   rm -f conftest.er1 
    11251   cat conftest.err >&5 
    11252   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11253   (exit $ac_status); } && { 
    11254          test -z "$ac_c_werror_flag" || 
    11255          test ! -s conftest.err 
    11256        } && test -s conftest.$ac_objext; then 
    11257   ac_header_compiler=yes 
    11258 else 
    11259   echo "$as_me: failed program was:" >&5 
    11260 sed 's/^/| /' conftest.$ac_ext >&5 
    11261  
    11262         ac_header_compiler=no 
    11263 fi 
    11264  
    11265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11266 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11267 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11268  
    11269 # Is the header present? 
    11270 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
    11271 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
    11272 cat >conftest.$ac_ext <<_ACEOF 
    11273 /* confdefs.h.  */ 
    11274 _ACEOF 
    11275 cat confdefs.h >>conftest.$ac_ext 
    11276 cat >>conftest.$ac_ext <<_ACEOF 
    11277 /* end confdefs.h.  */ 
    11278 #include <linux/soundcard.h> 
    11279 _ACEOF 
    11280 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11281 case "(($ac_try" in 
    11282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11283   *) ac_try_echo=$ac_try;; 
    11284 esac 
    11285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11286   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11287   ac_status=$? 
    11288   grep -v '^ *+' conftest.er1 >conftest.err 
    11289   rm -f conftest.er1 
    11290   cat conftest.err >&5 
    11291   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11292   (exit $ac_status); } >/dev/null && { 
    11293          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11294          test ! -s conftest.err 
    11295        }; then 
    11296   ac_header_preproc=yes 
    11297 else 
    11298   echo "$as_me: failed program was:" >&5 
    11299 sed 's/^/| /' conftest.$ac_ext >&5 
    11300  
    11301   ac_header_preproc=no 
    11302 fi 
    11303  
    11304 rm -f conftest.err conftest.$ac_ext 
    11305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11306 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11307  
    11308 # So?  What about this header? 
    11309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11310   yes:no: ) 
    11311     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11312 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11313     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
    11314 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
    11315     ac_header_preproc=yes 
    11316     ;; 
    11317   no:yes:* ) 
    11318     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
    11319 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
    11320     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
    11321 echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11322     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
    11323 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
    11324     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11325 echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11326     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
    11327 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11328     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
    11329 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11330  
    11331     ;; 
    11332 esac 
    11333 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11334 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11335 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11336   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11337 else 
    11338   ac_cv_header_linux_soundcard_h=$ac_header_preproc 
    11339 fi 
    11340 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11341 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11342  
    11343 fi 
    11344 if test $ac_cv_header_linux_soundcard_h = yes; then 
     5554ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
     5555if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
    113455556  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    113465557fi 
    113475558 
    113485559 
    11349 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11350   { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11351 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11352 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11353   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11354 fi 
    11355 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11356 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11357 else 
    11358   # Is the header compilable? 
    11359 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
    11360 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
    11361 cat >conftest.$ac_ext <<_ACEOF 
    11362 /* confdefs.h.  */ 
    11363 _ACEOF 
    11364 cat confdefs.h >>conftest.$ac_ext 
    11365 cat >>conftest.$ac_ext <<_ACEOF 
    11366 /* end confdefs.h.  */ 
    11367 $ac_includes_default 
    11368 #include <machine/soundcard.h> 
    11369 _ACEOF 
    11370 rm -f conftest.$ac_objext 
    11371 if { (ac_try="$ac_compile" 
    11372 case "(($ac_try" in 
    11373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11374   *) ac_try_echo=$ac_try;; 
    11375 esac 
    11376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11377   (eval "$ac_compile") 2>conftest.er1 
    11378   ac_status=$? 
    11379   grep -v '^ *+' conftest.er1 >conftest.err 
    11380   rm -f conftest.er1 
    11381   cat conftest.err >&5 
    11382   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11383   (exit $ac_status); } && { 
    11384          test -z "$ac_c_werror_flag" || 
    11385          test ! -s conftest.err 
    11386        } && test -s conftest.$ac_objext; then 
    11387   ac_header_compiler=yes 
    11388 else 
    11389   echo "$as_me: failed program was:" >&5 
    11390 sed 's/^/| /' conftest.$ac_ext >&5 
    11391  
    11392         ac_header_compiler=no 
    11393 fi 
    11394  
    11395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11396 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11397 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11398  
    11399 # Is the header present? 
    11400 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
    11401 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
    11402 cat >conftest.$ac_ext <<_ACEOF 
    11403 /* confdefs.h.  */ 
    11404 _ACEOF 
    11405 cat confdefs.h >>conftest.$ac_ext 
    11406 cat >>conftest.$ac_ext <<_ACEOF 
    11407 /* end confdefs.h.  */ 
    11408 #include <machine/soundcard.h> 
    11409 _ACEOF 
    11410 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11411 case "(($ac_try" in 
    11412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11413   *) ac_try_echo=$ac_try;; 
    11414 esac 
    11415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11416   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11417   ac_status=$? 
    11418   grep -v '^ *+' conftest.er1 >conftest.err 
    11419   rm -f conftest.er1 
    11420   cat conftest.err >&5 
    11421   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11422   (exit $ac_status); } >/dev/null && { 
    11423          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11424          test ! -s conftest.err 
    11425        }; then 
    11426   ac_header_preproc=yes 
    11427 else 
    11428   echo "$as_me: failed program was:" >&5 
    11429 sed 's/^/| /' conftest.$ac_ext >&5 
    11430  
    11431   ac_header_preproc=no 
    11432 fi 
    11433  
    11434 rm -f conftest.err conftest.$ac_ext 
    11435 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11436 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11437  
    11438 # So?  What about this header? 
    11439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11440   yes:no: ) 
    11441     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11442 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11443     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
    11444 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
    11445     ac_header_preproc=yes 
    11446     ;; 
    11447   no:yes:* ) 
    11448     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
    11449 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
    11450     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
    11451 echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11452     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
    11453 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
    11454     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11455 echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11456     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
    11457 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11458     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
    11459 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11460  
    11461     ;; 
    11462 esac 
    11463 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11464 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11465 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11466   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11467 else 
    11468   ac_cv_header_machine_soundcard_h=$ac_header_preproc 
    11469 fi 
    11470 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11471 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11472  
    11473 fi 
    11474 if test $ac_cv_header_machine_soundcard_h = yes; then 
     5560ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
     5561if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
    114755562  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    114765563fi 
     
    114905577  arm-apple-darwin*) 
    114915578        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
    11492         { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
    11493 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
     5579        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
     5580$as_echo "Checking sound device backend... AudioUnit" >&6; } 
    114945581        ;; 
    114955582  *darwin*) 
     
    114995586                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    115005587                ac_pjmedia_snd=pa_old_darwinos 
    11501                 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
    11502 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
     5588                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
     5589$as_echo "Checking sound device backend... old coreaudio" >&6; } 
    115035590        else 
    115045591                ac_pjmedia_snd=pa_darwinos 
    11505                 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    11506 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
     5592                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
     5593$as_echo "Checking sound device backend... coreaudio" >&6; } 
    115075594        fi 
    115085595        ;; 
    115095596  *cygwin* | *mingw*) 
    115105597        ac_pjmedia_snd=pa_win32 
    11511         { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    11512 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
     5598        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
     5599$as_echo "Checking sound device backend... win32 sound" >&6; } 
    115135600        ;; 
    115145601  *rtems*) 
    115155602        ac_pjmedia_snd=null 
    11516         { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    11517 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
     5603        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
     5604$as_echo "Checking sound device backend... null sound" >&6; } 
    115185605        ;; 
    115195606  *) 
    115205607                ac_pjmedia_snd=pa_unix 
    11521         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11522   { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11523 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11524 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11525   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11526 fi 
    11527 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11528 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11529 else 
    11530   # Is the header compilable? 
    11531 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    11532 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
    11533 cat >conftest.$ac_ext <<_ACEOF 
    11534 /* confdefs.h.  */ 
    11535 _ACEOF 
    11536 cat confdefs.h >>conftest.$ac_ext 
    11537 cat >>conftest.$ac_ext <<_ACEOF 
    11538 /* end confdefs.h.  */ 
    11539 $ac_includes_default 
    11540 #include <alsa/version.h> 
    11541 _ACEOF 
    11542 rm -f conftest.$ac_objext 
    11543 if { (ac_try="$ac_compile" 
    11544 case "(($ac_try" in 
    11545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11546   *) ac_try_echo=$ac_try;; 
    11547 esac 
    11548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11549   (eval "$ac_compile") 2>conftest.er1 
    11550   ac_status=$? 
    11551   grep -v '^ *+' conftest.er1 >conftest.err 
    11552   rm -f conftest.er1 
    11553   cat conftest.err >&5 
    11554   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11555   (exit $ac_status); } && { 
    11556          test -z "$ac_c_werror_flag" || 
    11557          test ! -s conftest.err 
    11558        } && test -s conftest.$ac_objext; then 
    11559   ac_header_compiler=yes 
    11560 else 
    11561   echo "$as_me: failed program was:" >&5 
    11562 sed 's/^/| /' conftest.$ac_ext >&5 
    11563  
    11564         ac_header_compiler=no 
    11565 fi 
    11566  
    11567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11568 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11569 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11570  
    11571 # Is the header present? 
    11572 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    11573 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
    11574 cat >conftest.$ac_ext <<_ACEOF 
    11575 /* confdefs.h.  */ 
    11576 _ACEOF 
    11577 cat confdefs.h >>conftest.$ac_ext 
    11578 cat >>conftest.$ac_ext <<_ACEOF 
    11579 /* end confdefs.h.  */ 
    11580 #include <alsa/version.h> 
    11581 _ACEOF 
    11582 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11583 case "(($ac_try" in 
    11584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11585   *) ac_try_echo=$ac_try;; 
    11586 esac 
    11587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11588   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11589   ac_status=$? 
    11590   grep -v '^ *+' conftest.er1 >conftest.err 
    11591   rm -f conftest.er1 
    11592   cat conftest.err >&5 
    11593   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11594   (exit $ac_status); } >/dev/null && { 
    11595          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11596          test ! -s conftest.err 
    11597        }; then 
    11598   ac_header_preproc=yes 
    11599 else 
    11600   echo "$as_me: failed program was:" >&5 
    11601 sed 's/^/| /' conftest.$ac_ext >&5 
    11602  
    11603   ac_header_preproc=no 
    11604 fi 
    11605  
    11606 rm -f conftest.err conftest.$ac_ext 
    11607 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11608 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11609  
    11610 # So?  What about this header? 
    11611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11612   yes:no: ) 
    11613     { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11614 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11615     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    11616 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    11617     ac_header_preproc=yes 
    11618     ;; 
    11619   no:yes:* ) 
    11620     { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    11621 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    11622     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    11623 echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    11624     { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    11625 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    11626     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11627 echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11628     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    11629 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    11630     { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    11631 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    11632  
    11633     ;; 
    11634 esac 
    11635 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11636 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11637 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11638   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11639 else 
    11640   ac_cv_header_alsa_version_h=$ac_header_preproc 
    11641 fi 
    11642 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11643 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11644  
    11645 fi 
    11646 if test $ac_cv_header_alsa_version_h = yes; then 
     5608        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
     5609if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
    116475610  ac_pa_use_alsa=1 
    116485611 
     
    116555618 
    116565619 
    11657         { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    11658 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
     5620        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
     5621$as_echo "Checking sound device backend... unix" >&6; } 
    116595622 
    116605623                ac_pa_use_oss=1 
    116615624 
    116625625        # Check whether --enable-oss was given. 
    11663 if test "${enable_oss+set}" = set; then 
     5626if test "${enable_oss+set}" = set; then : 
    116645627  enableval=$enable_oss; 
    116655628                        if test "$enable_oss" = "no"; then 
    116665629                         ac_pa_use_oss=0 
    11667                          { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
    11668 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
     5630                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
     5631$as_echo "Checking if OSS audio is disabled... yes" >&6; } 
    116695632                        fi 
    116705633 
     
    116865649        SAVED_LIBS="$LIBS" 
    116875650        LIBS="-framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
    11688         cat >conftest.$ac_ext <<_ACEOF 
    11689 /* confdefs.h.  */ 
    11690 _ACEOF 
    11691 cat confdefs.h >>conftest.$ac_ext 
    11692 cat >>conftest.$ac_ext <<_ACEOF 
     5651        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    116935652/* end confdefs.h.  */ 
    116945653 
     
    117015660} 
    117025661_ACEOF 
    11703 rm -f conftest.$ac_objext conftest$ac_exeext 
    11704 if { (ac_try="$ac_link" 
    11705 case "(($ac_try" in 
    11706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11707   *) ac_try_echo=$ac_try;; 
    11708 esac 
    11709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11710   (eval "$ac_link") 2>conftest.er1 
    11711   ac_status=$? 
    11712   grep -v '^ *+' conftest.er1 >conftest.err 
    11713   rm -f conftest.er1 
    11714   cat conftest.err >&5 
    11715   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11716   (exit $ac_status); } && { 
    11717          test -z "$ac_c_werror_flag" || 
    11718          test ! -s conftest.err 
    11719        } && test -s conftest$ac_exeext && 
    11720        $as_test_x conftest$ac_exeext; then 
     5662if ac_fn_c_try_link "$LINENO"; then : 
    117215663  ac_pjmedia_video_has_ios=yes 
    117225664else 
    11723   echo "$as_me: failed program was:" >&5 
    11724 sed 's/^/| /' conftest.$ac_ext >&5 
    11725  
    11726         ac_pjmedia_video_has_ios=no 
    11727 fi 
    11728  
    11729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11730       conftest$ac_exeext conftest.$ac_ext 
     5665  ac_pjmedia_video_has_ios=no 
     5666fi 
     5667rm -f core conftest.err conftest.$ac_objext \ 
     5668    conftest$ac_exeext conftest.$ac_ext 
    117315669        LIBS="$SAVED_LIBS" 
    117325670        if test "$ac_pjmedia_video_has_ios" = "yes"; then 
    117335671          ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 
    117345672          LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
    11735           { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... yes" >&5 
    11736 echo "${ECHO_T}Checking if AVFoundation framework is available... yes" >&6; } 
     5673          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... yes" >&5 
     5674$as_echo "Checking if AVFoundation framework is available... yes" >&6; } 
    117375675        else 
    11738           { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... no" >&5 
    11739 echo "${ECHO_T}Checking if AVFoundation framework is available... no" >&6; } 
     5676          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... no" >&5 
     5677$as_echo "Checking if AVFoundation framework is available... no" >&6; } 
    117405678        fi 
    117415679        ;; 
     
    117465684        SAVED_LIBS="$LIBS" 
    117475685        LIBS="-framework QTKit" 
    11748         cat >conftest.$ac_ext <<_ACEOF 
    11749 /* confdefs.h.  */ 
    11750 _ACEOF 
    11751 cat confdefs.h >>conftest.$ac_ext 
    11752 cat >>conftest.$ac_ext <<_ACEOF 
     5686        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    117535687/* end confdefs.h.  */ 
    117545688 
     
    117615695} 
    117625696_ACEOF 
    11763 rm -f conftest.$ac_objext conftest$ac_exeext 
    11764 if { (ac_try="$ac_link" 
    11765 case "(($ac_try" in 
    11766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11767   *) ac_try_echo=$ac_try;; 
    11768 esac 
    11769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11770   (eval "$ac_link") 2>conftest.er1 
    11771   ac_status=$? 
    11772   grep -v '^ *+' conftest.er1 >conftest.err 
    11773   rm -f conftest.er1 
    11774   cat conftest.err >&5 
    11775   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11776   (exit $ac_status); } && { 
    11777          test -z "$ac_c_werror_flag" || 
    11778          test ! -s conftest.err 
    11779        } && test -s conftest$ac_exeext && 
    11780        $as_test_x conftest$ac_exeext; then 
     5697if ac_fn_c_try_link "$LINENO"; then : 
    117815698  ac_pjmedia_video_has_qt=yes 
    117825699else 
    11783   echo "$as_me: failed program was:" >&5 
    11784 sed 's/^/| /' conftest.$ac_ext >&5 
    11785  
    11786         ac_pjmedia_video_has_qt=no 
    11787 fi 
    11788  
    11789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11790       conftest$ac_exeext conftest.$ac_ext 
     5700  ac_pjmedia_video_has_qt=no 
     5701fi 
     5702rm -f core conftest.err conftest.$ac_objext \ 
     5703    conftest$ac_exeext conftest.$ac_ext 
    117915704        LIBS="$SAVED_LIBS" 
    117925705        if test "$ac_pjmedia_video_has_qt" = "yes"; then 
    117935706          ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 
    117945707          LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 
    11795           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 
    11796 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 
     5708          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 
     5709$as_echo "Checking if QTKit framework is available... yes" >&6; } 
    117975710        else 
    11798           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 
    11799 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 
     5711          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 
     5712$as_echo "Checking if QTKit framework is available... no" >&6; } 
    118005713        fi 
    118015714        ;; 
     
    118045717 
    118055718# Check whether --enable-ext_sound was given. 
    11806 if test "${enable_ext_sound+set}" = set; then 
     5719if test "${enable_ext_sound+set}" = set; then : 
    118075720  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    118085721                ac_pjmedia_snd=external 
    11809                 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
    11810 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
     5722                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
     5723$as_echo "Checking if external sound is set... yes" >&6; } 
    118115724               fi 
    118125725 
     
    118165729 
    118175730# Check whether --enable-small-filter was given. 
    11818 if test "${enable_small_filter+set}" = set; then 
     5731if test "${enable_small_filter+set}" = set; then : 
    118195732  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    118205733                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    11821                 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    11822 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
     5734                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
     5735$as_echo "Checking if small filter is disabled... yes" >&6; } 
    118235736               fi 
    118245737else 
    11825   { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    11826 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
     5738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
     5739$as_echo "Checking if small filter is disabled... no" >&6; } 
    118275740fi 
    118285741 
     
    118305743 
    118315744# Check whether --enable-large-filter was given. 
    11832 if test "${enable_large_filter+set}" = set; then 
     5745if test "${enable_large_filter+set}" = set; then : 
    118335746  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    118345747                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    11835                 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    11836 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
     5748                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
     5749$as_echo "Checking if large filter is disabled... yes" >&6; } 
    118375750               fi 
    118385751else 
    11839   { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    11840 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
     5752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
     5753$as_echo "Checking if large filter is disabled... no" >&6; } 
    118415754fi 
    118425755 
     
    118445757 
    118455758# Check whether --enable-speex-aec was given. 
    11846 if test "${enable_speex_aec+set}" = set; then 
     5759if test "${enable_speex_aec+set}" = set; then : 
    118475760  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    118485761                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    11849                 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    11850 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
     5762                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
     5763$as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
    118515764               fi 
    118525765else 
    11853   { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    11854 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
     5766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
     5767$as_echo "Checking if Speex AEC is disabled...no" >&6; } 
    118555768fi 
    118565769 
     
    118585771 
    118595772# Check whether --enable-g711-codec was given. 
    11860 if test "${enable_g711_codec+set}" = set; then 
     5773if test "${enable_g711_codec+set}" = set; then : 
    118615774  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    118625775                ac_no_g711_codec=1 
    11863                 cat >>confdefs.h <<\_ACEOF 
    11864 #define PJMEDIA_HAS_G711_CODEC 0 
    11865 _ACEOF 
    11866  
    11867                 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    11868 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
     5776                $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
     5777 
     5778                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
     5779$as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
    118695780               fi 
    118705781else 
    11871   { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    11872 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
     5782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
     5783$as_echo "Checking if G.711 codec is disabled...no" >&6; } 
    118735784fi 
    118745785 
     
    118775788 
    118785789# Check whether --enable-l16-codec was given. 
    11879 if test "${enable_l16_codec+set}" = set; then 
     5790if test "${enable_l16_codec+set}" = set; then : 
    118805791  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    118815792                ac_no_l16_codec=1 
    11882                 cat >>confdefs.h <<\_ACEOF 
    11883 #define PJMEDIA_HAS_L16_CODEC 0 
    11884 _ACEOF 
    11885  
    11886                 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    11887 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
     5793                $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
     5794 
     5795                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
     5796$as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
    118885797               fi 
    118895798else 
    11890   { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
    11891 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
     5799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
     5800$as_echo "Checking if L16 codec is disabled...no" >&6; } 
    118925801fi 
    118935802 
     
    118965805 
    118975806# Check whether --enable-gsm-codec was given. 
    11898 if test "${enable_gsm_codec+set}" = set; then 
     5807if test "${enable_gsm_codec+set}" = set; then : 
    118995808  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    119005809                ac_no_gsm_codec=1 
    11901                 cat >>confdefs.h <<\_ACEOF 
    11902 #define PJMEDIA_HAS_GSM_CODEC 0 
    11903 _ACEOF 
    11904  
    11905                 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    11906 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
     5810                $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
     5811 
     5812                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
     5813$as_echo "Checking if GSM codec is disabled...yes" >&6; } 
    119075814               fi 
    119085815else 
    11909   { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    11910 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
     5816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
     5817$as_echo "Checking if GSM codec is disabled...no" >&6; } 
    119115818fi 
    119125819 
     
    119145821 
    119155822# Check whether --enable-g722-codec was given. 
    11916 if test "${enable_g722_codec+set}" = set; then 
     5823if test "${enable_g722_codec+set}" = set; then : 
    119175824  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    119185825                ac_no_g722_codec=1 
    11919                 cat >>confdefs.h <<\_ACEOF 
    11920 #define PJMEDIA_HAS_G722_CODEC 0 
    11921 _ACEOF 
    11922  
    11923                 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
    11924 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
     5826                $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
     5827 
     5828                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
     5829$as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
    119255830               fi 
    119265831else 
    11927   { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
    11928 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
     5832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
     5833$as_echo "Checking if G.722 codec is disabled...no" >&6; } 
    119295834fi 
    119305835 
     
    119325837 
    119335838# Check whether --enable-g7221-codec was given. 
    11934 if test "${enable_g7221_codec+set}" = set; then 
     5839if test "${enable_g7221_codec+set}" = set; then : 
    119355840  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    119365841                ac_no_g7221_codec=1 
    11937                 cat >>confdefs.h <<\_ACEOF 
    11938 #define PJMEDIA_HAS_G7221_CODEC 0 
    11939 _ACEOF 
    11940  
    11941                 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
    11942 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
     5842                $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
     5843 
     5844                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
     5845$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
    119435846               fi 
    119445847else 
    11945   { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
    11946 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
     5848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
     5849$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
    119475850fi 
    119485851 
     
    119505853 
    119515854# Check whether --enable-speex-codec was given. 
    11952 if test "${enable_speex_codec+set}" = set; then 
     5855if test "${enable_speex_codec+set}" = set; then : 
    119535856  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    119545857                ac_no_speex_codec=1 
    11955                 cat >>confdefs.h <<\_ACEOF 
    11956 #define PJMEDIA_HAS_SPEEX_CODEC 0 
    11957 _ACEOF 
    11958  
    11959                 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    11960 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
     5858                $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
     5859 
     5860                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
     5861$as_echo "Checking if Speex codec is disabled...yes" >&6; } 
    119615862               fi 
    119625863else 
    11963   { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    11964 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
     5864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
     5865$as_echo "Checking if Speex codec is disabled...no" >&6; } 
    119655866fi 
    119665867 
     
    119685869 
    119695870# Check whether --enable-ilbc-codec was given. 
    11970 if test "${enable_ilbc_codec+set}" = set; then 
     5871if test "${enable_ilbc_codec+set}" = set; then : 
    119715872  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    119725873                ac_no_ilbc_codec=1 
    11973                 cat >>confdefs.h <<\_ACEOF 
    11974 #define PJMEDIA_HAS_ILBC_CODEC 0 
    11975 _ACEOF 
    11976  
    11977                 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    11978 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
     5874                $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
     5875 
     5876                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
     5877$as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
    119795878               fi 
    119805879else 
    11981   { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    11982 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
     5880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
     5881$as_echo "Checking if iLBC codec is disabled...no" >&6; } 
    119835882fi 
    119845883 
    119855884 
    119865885# Check whether --enable-libsamplerate was given. 
    11987 if test "${enable_libsamplerate+set}" = set; then 
    11988   enableval=$enable_libsamplerate; 
    11989 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
    11990 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
    11991 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
    11992   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5886if test "${enable_libsamplerate+set}" = set; then : 
     5887  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
     5888$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
     5889if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5890  $as_echo_n "(cached) " >&6 
    119935891else 
    119945892  ac_check_lib_save_LIBS=$LIBS 
    119955893LIBS="-lsamplerate  $LIBS" 
    11996 cat >conftest.$ac_ext <<_ACEOF 
    11997 /* confdefs.h.  */ 
    11998 _ACEOF 
    11999 cat confdefs.h >>conftest.$ac_ext 
    12000 cat >>conftest.$ac_ext <<_ACEOF 
     5894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    120015895/* end confdefs.h.  */ 
    120025896 
     
    120165910} 
    120175911_ACEOF 
    12018 rm -f conftest.$ac_objext conftest$ac_exeext 
    12019 if { (ac_try="$ac_link" 
    12020 case "(($ac_try" in 
    12021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12022   *) ac_try_echo=$ac_try;; 
    12023 esac 
    12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12025   (eval "$ac_link") 2>conftest.er1 
    12026   ac_status=$? 
    12027   grep -v '^ *+' conftest.er1 >conftest.err 
    12028   rm -f conftest.er1 
    12029   cat conftest.err >&5 
    12030   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12031   (exit $ac_status); } && { 
    12032          test -z "$ac_c_werror_flag" || 
    12033          test ! -s conftest.err 
    12034        } && test -s conftest$ac_exeext && 
    12035        $as_test_x conftest$ac_exeext; then 
     5912if ac_fn_c_try_link "$LINENO"; then : 
    120365913  ac_cv_lib_samplerate_src_new=yes 
    120375914else 
    12038   echo "$as_me: failed program was:" >&5 
    12039 sed 's/^/| /' conftest.$ac_ext >&5 
    12040  
    12041         ac_cv_lib_samplerate_src_new=no 
    12042 fi 
    12043  
    12044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12045       conftest$ac_exeext conftest.$ac_ext 
     5915  ac_cv_lib_samplerate_src_new=no 
     5916fi 
     5917rm -f core conftest.err conftest.$ac_objext \ 
     5918    conftest$ac_exeext conftest.$ac_ext 
    120465919LIBS=$ac_check_lib_save_LIBS 
    120475920fi 
    12048 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
    12049 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
    12050 if test $ac_cv_lib_samplerate_src_new = yes; then 
     5921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
     5922$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
     5923if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
    120515924  cat >>confdefs.h <<_ACEOF 
    120525925#define HAVE_LIBSAMPLERATE 1 
     
    120585931 
    120595932else 
    12060   { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
    12061 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
     5933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
     5934$as_echo "Skipping libsamplerate detection" >&6; } 
    120625935 
    120635936fi 
     
    120665939 
    120675940# Check whether --with-sdl was given. 
    12068 if test "${with_sdl+set}" = set; then 
     5941if test "${with_sdl+set}" = set; then : 
    120695942  withval=$with_sdl; 
    120705943else 
     
    120755948 
    120765949# Check whether --enable-sdl was given. 
    12077 if test "${enable_sdl+set}" = set; then 
     5950if test "${enable_sdl+set}" = set; then : 
    120785951  enableval=$enable_sdl; 
    120795952                if test "$enable_sdl" = "no"; then 
    12080                   { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 
    12081 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 
     5953                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 
     5954$as_echo "Checking if SDL is disabled... yes" >&6; } 
    120825955                fi 
    120835956 
     
    120875960                  if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 
    120885961                        SDL_CONFIG=$with_sdl/bin/sdl-config 
    12089                         { echo "$as_me:$LINENO: result: Using SDL prefix... $with_sdl" >&5 
    12090 echo "${ECHO_T}Using SDL prefix... $with_sdl" >&6; } 
     5962                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&5 
     5963$as_echo "Using SDL prefix... $with_sdl" >&6; } 
    120915964                  fi 
    120925965 
    12093                   { echo "$as_me:$LINENO: checking SDL availability.." >&5 
    12094 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 
     5966                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 
     5967$as_echo_n "checking SDL availability..... " >&6; } 
    120955968                  if (sh -c "$SDL_CONFIG --version" | grep 1.3) then 
    120965969 
     
    121015974                          LIBS="$LIBS $ac_sdl_ldflags" 
    121025975                   else 
    12103                         { echo "$as_me:$LINENO: result: Unsupported SDL version" >&5 
    12104 echo "${ECHO_T}Unsupported SDL version" >&6; } 
     5976                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unsupported SDL version" >&5 
     5977$as_echo "Unsupported SDL version" >&6; } 
    121055978                   fi 
    121065979 
     
    121105983 
    121115984# Check whether --enable-ffmpeg was given. 
    12112 if test "${enable_ffmpeg+set}" = set; then 
     5985if test "${enable_ffmpeg+set}" = set; then : 
    121135986  enableval=$enable_ffmpeg; 
    121145987                ac_has_ffmpeg=0 
    121155988 
    121165989                if test "$enable_ffmpeg" = "no"; then 
    12117                         { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 
    12118 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 
     5990                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 
     5991$as_echo "Checking if ffmpeg is disabled... yes" >&6; } 
    121195992                fi 
    121205993 
     
    121225995 
    121235996 
     5997 
     5998 
     5999                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 
     6000$as_echo_n "checking for deflate in -lz... " >&6; } 
     6001if test "${ac_cv_lib_z_deflate+set}" = set; then : 
     6002  $as_echo_n "(cached) " >&6 
     6003else 
     6004  ac_check_lib_save_LIBS=$LIBS 
     6005LIBS="-lz  $LIBS" 
     6006cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     6007/* end confdefs.h.  */ 
     6008 
     6009/* Override any GCC internal prototype to avoid an error. 
     6010   Use char because int might match the return type of a GCC 
     6011   builtin and then its argument prototype would still apply.  */ 
     6012#ifdef __cplusplus 
     6013extern "C" 
     6014#endif 
     6015char deflate (); 
     6016int 
     6017main () 
     6018{ 
     6019return deflate (); 
     6020  ; 
     6021  return 0; 
     6022} 
     6023_ACEOF 
     6024if ac_fn_c_try_link "$LINENO"; then : 
     6025  ac_cv_lib_z_deflate=yes 
     6026else 
     6027  ac_cv_lib_z_deflate=no 
     6028fi 
     6029rm -f core conftest.err conftest.$ac_objext \ 
     6030    conftest$ac_exeext conftest.$ac_ext 
     6031LIBS=$ac_check_lib_save_LIBS 
     6032fi 
     6033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 
     6034$as_echo "$ac_cv_lib_z_deflate" >&6; } 
     6035if test "x$ac_cv_lib_z_deflate" = x""yes; then : 
     6036  cat >>confdefs.h <<_ACEOF 
     6037#define HAVE_LIBZ 1 
     6038_ACEOF 
     6039 
     6040  LIBS="-lz $LIBS" 
     6041 
     6042fi 
    121246043 
    121256044 
     
    121276046                if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then 
    121286047                        FFMPEG_PREFIX=$with_ffmpeg 
    12129                         { echo "$as_me:$LINENO: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
    12130 echo "${ECHO_T}Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
     6048                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
     6049$as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
    121316050                        LIBS="-L$FFMPEG_PREFIX/lib $LIBS" 
    121326051                        LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" 
     
    121346053                fi 
    121356054 
    12136                 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 
    12137 echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 
    12138 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 
    12139   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6055                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
     6056$as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
     6057if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
     6058  $as_echo_n "(cached) " >&6 
    121406059else 
    121416060  ac_check_lib_save_LIBS=$LIBS 
    121426061LIBS="-lavdevice  $LIBS" 
    12143 cat >conftest.$ac_ext <<_ACEOF 
    12144 /* confdefs.h.  */ 
    12145 _ACEOF 
    12146 cat confdefs.h >>conftest.$ac_ext 
    12147 cat >>conftest.$ac_ext <<_ACEOF 
     6062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    121486063/* end confdefs.h.  */ 
    121496064 
     
    121636078} 
    121646079_ACEOF 
    12165 rm -f conftest.$ac_objext conftest$ac_exeext 
    12166 if { (ac_try="$ac_link" 
    12167 case "(($ac_try" in 
    12168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12169   *) ac_try_echo=$ac_try;; 
    12170 esac 
    12171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12172   (eval "$ac_link") 2>conftest.er1 
    12173   ac_status=$? 
    12174   grep -v '^ *+' conftest.er1 >conftest.err 
    12175   rm -f conftest.er1 
    12176   cat conftest.err >&5 
    12177   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12178   (exit $ac_status); } && { 
    12179          test -z "$ac_c_werror_flag" || 
    12180          test ! -s conftest.err 
    12181        } && test -s conftest$ac_exeext && 
    12182        $as_test_x conftest$ac_exeext; then 
     6080if ac_fn_c_try_link "$LINENO"; then : 
    121836081  ac_cv_lib_avdevice_avdevice_version=yes 
    121846082else 
    12185   echo "$as_me: failed program was:" >&5 
    12186 sed 's/^/| /' conftest.$ac_ext >&5 
    12187  
    12188         ac_cv_lib_avdevice_avdevice_version=no 
    12189 fi 
    12190  
    12191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12192       conftest$ac_exeext conftest.$ac_ext 
     6083  ac_cv_lib_avdevice_avdevice_version=no 
     6084fi 
     6085rm -f core conftest.err conftest.$ac_objext \ 
     6086    conftest$ac_exeext conftest.$ac_ext 
    121936087LIBS=$ac_check_lib_save_LIBS 
    121946088fi 
    12195 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    12196 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    12197 if test $ac_cv_lib_avdevice_avdevice_version = yes; then 
     6089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
     6090$as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
     6091if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
    121986092  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    121996093                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    122026096fi 
    122036097 
    12204                 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 
    12205 echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 
    12206 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 
    12207   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6098                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
     6099$as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
     6100if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
     6101  $as_echo_n "(cached) " >&6 
    122086102else 
    122096103  ac_check_lib_save_LIBS=$LIBS 
    122106104LIBS="-lavformat -lavcodec -lavutil 
    122116105                              $LIBS" 
    12212 cat >conftest.$ac_ext <<_ACEOF 
    12213 /* confdefs.h.  */ 
    12214 _ACEOF 
    12215 cat confdefs.h >>conftest.$ac_ext 
    12216 cat >>conftest.$ac_ext <<_ACEOF 
     6106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122176107/* end confdefs.h.  */ 
    122186108 
     
    122326122} 
    122336123_ACEOF 
    12234 rm -f conftest.$ac_objext conftest$ac_exeext 
    12235 if { (ac_try="$ac_link" 
    12236 case "(($ac_try" in 
    12237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12238   *) ac_try_echo=$ac_try;; 
    12239 esac 
    12240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12241   (eval "$ac_link") 2>conftest.er1 
    12242   ac_status=$? 
    12243   grep -v '^ *+' conftest.er1 >conftest.err 
    12244   rm -f conftest.er1 
    12245   cat conftest.err >&5 
    12246   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12247   (exit $ac_status); } && { 
    12248          test -z "$ac_c_werror_flag" || 
    12249          test ! -s conftest.err 
    12250        } && test -s conftest$ac_exeext && 
    12251        $as_test_x conftest$ac_exeext; then 
     6124if ac_fn_c_try_link "$LINENO"; then : 
    122526125  ac_cv_lib_avformat_av_register_all=yes 
    122536126else 
    12254   echo "$as_me: failed program was:" >&5 
    12255 sed 's/^/| /' conftest.$ac_ext >&5 
    12256  
    12257         ac_cv_lib_avformat_av_register_all=no 
    12258 fi 
    12259  
    12260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12261       conftest$ac_exeext conftest.$ac_ext 
     6127  ac_cv_lib_avformat_av_register_all=no 
     6128fi 
     6129rm -f core conftest.err conftest.$ac_objext \ 
     6130    conftest$ac_exeext conftest.$ac_ext 
    122626131LIBS=$ac_check_lib_save_LIBS 
    122636132fi 
    12264 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 
    12265 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 
    12266 if test $ac_cv_lib_avformat_av_register_all = yes; then 
     6133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
     6134$as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
     6135if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
    122676136  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    122686137                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    122706139fi 
    122716140 
    12272                 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 
    12273 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 
    12274 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 
    12275   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6141                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
     6142$as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
     6143if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
     6144  $as_echo_n "(cached) " >&6 
    122766145else 
    122776146  ac_check_lib_save_LIBS=$LIBS 
    122786147LIBS="-lavcodec -lavutil 
    122796148                              $LIBS" 
    12280 cat >conftest.$ac_ext <<_ACEOF 
    12281 /* confdefs.h.  */ 
    12282 _ACEOF 
    12283 cat confdefs.h >>conftest.$ac_ext 
    12284 cat >>conftest.$ac_ext <<_ACEOF 
     6149cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122856150/* end confdefs.h.  */ 
    122866151 
     
    123006165} 
    123016166_ACEOF 
    12302 rm -f conftest.$ac_objext conftest$ac_exeext 
    12303 if { (ac_try="$ac_link" 
    12304 case "(($ac_try" in 
    12305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12306   *) ac_try_echo=$ac_try;; 
    12307 esac 
    12308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12309   (eval "$ac_link") 2>conftest.er1 
    12310   ac_status=$? 
    12311   grep -v '^ *+' conftest.er1 >conftest.err 
    12312   rm -f conftest.er1 
    12313   cat conftest.err >&5 
    12314   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12315   (exit $ac_status); } && { 
    12316          test -z "$ac_c_werror_flag" || 
    12317          test ! -s conftest.err 
    12318        } && test -s conftest$ac_exeext && 
    12319        $as_test_x conftest$ac_exeext; then 
     6167if ac_fn_c_try_link "$LINENO"; then : 
    123206168  ac_cv_lib_avcodec_avcodec_init=yes 
    123216169else 
    12322   echo "$as_me: failed program was:" >&5 
    12323 sed 's/^/| /' conftest.$ac_ext >&5 
    12324  
    12325         ac_cv_lib_avcodec_avcodec_init=no 
    12326 fi 
    12327  
    12328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12329       conftest$ac_exeext conftest.$ac_ext 
     6170  ac_cv_lib_avcodec_avcodec_init=no 
     6171fi 
     6172rm -f core conftest.err conftest.$ac_objext \ 
     6173    conftest$ac_exeext conftest.$ac_ext 
    123306174LIBS=$ac_check_lib_save_LIBS 
    123316175fi 
    12332 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    12333 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    12334 if test $ac_cv_lib_avcodec_avcodec_init = yes; then 
     6176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
     6177$as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
     6178if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
    123356179  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    123366180                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    123386182fi 
    123396183 
    12340                 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 
    12341 echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 
    12342 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 
    12343   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6184                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
     6185$as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
     6186if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
     6187  $as_echo_n "(cached) " >&6 
    123446188else 
    123456189  ac_check_lib_save_LIBS=$LIBS 
    123466190LIBS="-lswscale -lavutil 
    123476191                              $LIBS" 
    12348 cat >conftest.$ac_ext <<_ACEOF 
    12349 /* confdefs.h.  */ 
    12350 _ACEOF 
    12351 cat confdefs.h >>conftest.$ac_ext 
    12352 cat >>conftest.$ac_ext <<_ACEOF 
     6192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    123536193/* end confdefs.h.  */ 
    123546194 
     
    123686208} 
    123696209_ACEOF 
    12370 rm -f conftest.$ac_objext conftest$ac_exeext 
    12371 if { (ac_try="$ac_link" 
    12372 case "(($ac_try" in 
    12373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12374   *) ac_try_echo=$ac_try;; 
    12375 esac 
    12376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12377   (eval "$ac_link") 2>conftest.er1 
    12378   ac_status=$? 
    12379   grep -v '^ *+' conftest.er1 >conftest.err 
    12380   rm -f conftest.er1 
    12381   cat conftest.err >&5 
    12382   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12383   (exit $ac_status); } && { 
    12384          test -z "$ac_c_werror_flag" || 
    12385          test ! -s conftest.err 
    12386        } && test -s conftest$ac_exeext && 
    12387        $as_test_x conftest$ac_exeext; then 
     6210if ac_fn_c_try_link "$LINENO"; then : 
    123886211  ac_cv_lib_swscale_sws_scale=yes 
    123896212else 
    12390   echo "$as_me: failed program was:" >&5 
    12391 sed 's/^/| /' conftest.$ac_ext >&5 
    12392  
    12393         ac_cv_lib_swscale_sws_scale=no 
    12394 fi 
    12395  
    12396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12397       conftest$ac_exeext conftest.$ac_ext 
     6213  ac_cv_lib_swscale_sws_scale=no 
     6214fi 
     6215rm -f core conftest.err conftest.$ac_objext \ 
     6216    conftest$ac_exeext conftest.$ac_ext 
    123986217LIBS=$ac_check_lib_save_LIBS 
    123996218fi 
    12400 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 
    12401 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 
    12402 if test $ac_cv_lib_swscale_sws_scale = yes; then 
     6219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
     6220$as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
     6221if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
    124036222  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    124046223                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    124066225fi 
    124076226 
    12408                 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 
    12409 echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 
    12410 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 
    12411   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6227                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
     6228$as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
     6229if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
     6230  $as_echo_n "(cached) " >&6 
    124126231else 
    124136232  ac_check_lib_save_LIBS=$LIBS 
    124146233LIBS="-lavutil  $LIBS" 
    12415 cat >conftest.$ac_ext <<_ACEOF 
    12416 /* confdefs.h.  */ 
    12417 _ACEOF 
    12418 cat confdefs.h >>conftest.$ac_ext 
    12419 cat >>conftest.$ac_ext <<_ACEOF 
     6234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    124206235/* end confdefs.h.  */ 
    124216236 
     
    124356250} 
    124366251_ACEOF 
    12437 rm -f conftest.$ac_objext conftest$ac_exeext 
    12438 if { (ac_try="$ac_link" 
    12439 case "(($ac_try" in 
    12440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12441   *) ac_try_echo=$ac_try;; 
    12442 esac 
    12443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12444   (eval "$ac_link") 2>conftest.er1 
    12445   ac_status=$? 
    12446   grep -v '^ *+' conftest.er1 >conftest.err 
    12447   rm -f conftest.er1 
    12448   cat conftest.err >&5 
    12449   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12450   (exit $ac_status); } && { 
    12451          test -z "$ac_c_werror_flag" || 
    12452          test ! -s conftest.err 
    12453        } && test -s conftest$ac_exeext && 
    12454        $as_test_x conftest$ac_exeext; then 
     6252if ac_fn_c_try_link "$LINENO"; then : 
    124556253  ac_cv_lib_avutil_av_malloc=yes 
    124566254else 
    12457   echo "$as_me: failed program was:" >&5 
    12458 sed 's/^/| /' conftest.$ac_ext >&5 
    12459  
    12460         ac_cv_lib_avutil_av_malloc=no 
    12461 fi 
    12462  
    12463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12464       conftest$ac_exeext conftest.$ac_ext 
     6255  ac_cv_lib_avutil_av_malloc=no 
     6256fi 
     6257rm -f core conftest.err conftest.$ac_objext \ 
     6258    conftest$ac_exeext conftest.$ac_ext 
    124656259LIBS=$ac_check_lib_save_LIBS 
    124666260fi 
    12467 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 
    12468 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 
    12469 if test $ac_cv_lib_avutil_av_malloc = yes; then 
     6261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
     6262$as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
     6263if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
    124706264  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    124716265                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    124746268fi 
    124756269 
    12476                 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 
    12477 echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 
    12478 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 
    12479   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6270                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
     6271$as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
     6272if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
     6273  $as_echo_n "(cached) " >&6 
    124806274else 
    124816275  ac_check_lib_save_LIBS=$LIBS 
    124826276LIBS="-lavcore  $LIBS" 
    12483 cat >conftest.$ac_ext <<_ACEOF 
    12484 /* confdefs.h.  */ 
    12485 _ACEOF 
    12486 cat confdefs.h >>conftest.$ac_ext 
    12487 cat >>conftest.$ac_ext <<_ACEOF 
     6277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    124886278/* end confdefs.h.  */ 
    124896279 
     
    125036293} 
    125046294_ACEOF 
    12505 rm -f conftest.$ac_objext conftest$ac_exeext 
    12506 if { (ac_try="$ac_link" 
    12507 case "(($ac_try" in 
    12508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12509   *) ac_try_echo=$ac_try;; 
    12510 esac 
    12511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12512   (eval "$ac_link") 2>conftest.er1 
    12513   ac_status=$? 
    12514   grep -v '^ *+' conftest.er1 >conftest.err 
    12515   rm -f conftest.er1 
    12516   cat conftest.err >&5 
    12517   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12518   (exit $ac_status); } && { 
    12519          test -z "$ac_c_werror_flag" || 
    12520          test ! -s conftest.err 
    12521        } && test -s conftest$ac_exeext && 
    12522        $as_test_x conftest$ac_exeext; then 
     6295if ac_fn_c_try_link "$LINENO"; then : 
    125236296  ac_cv_lib_avcore_avcore_version=yes 
    125246297else 
    12525   echo "$as_me: failed program was:" >&5 
    12526 sed 's/^/| /' conftest.$ac_ext >&5 
    12527  
    12528         ac_cv_lib_avcore_avcore_version=no 
    12529 fi 
    12530  
    12531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12532       conftest$ac_exeext conftest.$ac_ext 
     6298  ac_cv_lib_avcore_avcore_version=no 
     6299fi 
     6300rm -f core conftest.err conftest.$ac_objext \ 
     6301    conftest$ac_exeext conftest.$ac_ext 
    125336302LIBS=$ac_check_lib_save_LIBS 
    125346303fi 
    12535 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 
    12536 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 
    12537 if test $ac_cv_lib_avcore_avcore_version = yes; then 
     6304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
     6305$as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
     6306if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
    125386307  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    125396308                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    125506319 
    125516320# Check whether --with-ffmpeg was given. 
    12552 if test "${with_ffmpeg+set}" = set; then 
     6321if test "${with_ffmpeg+set}" = set; then : 
    125536322  withval=$with_ffmpeg; 
    125546323else 
     
    125606329 
    125616330# Check whether --enable-v4l2 was given. 
    12562 if test "${enable_v4l2+set}" = set; then 
     6331if test "${enable_v4l2+set}" = set; then : 
    125636332  enableval=$enable_v4l2; 
    125646333                if test "$enable_v4l2" = "no"; then 
    12565                   { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 
    12566 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 
     6334                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 
     6335$as_echo "Checking if V4L2 is disabled... yes" >&6; } 
    125676336                fi 
    125686337 
     
    125716340 
    125726341 
    12573                 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 
    12574 echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 
    12575 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 
    12576   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6342                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
     6343$as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
     6344if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
     6345  $as_echo_n "(cached) " >&6 
    125776346else 
    125786347  ac_check_lib_save_LIBS=$LIBS 
    125796348LIBS="-lv4l2  $LIBS" 
    12580 cat >conftest.$ac_ext <<_ACEOF 
    12581 /* confdefs.h.  */ 
    12582 _ACEOF 
    12583 cat confdefs.h >>conftest.$ac_ext 
    12584 cat >>conftest.$ac_ext <<_ACEOF 
     6349cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    125856350/* end confdefs.h.  */ 
    125866351 
     
    126006365} 
    126016366_ACEOF 
    12602 rm -f conftest.$ac_objext conftest$ac_exeext 
    12603 if { (ac_try="$ac_link" 
    12604 case "(($ac_try" in 
    12605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12606   *) ac_try_echo=$ac_try;; 
    12607 esac 
    12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12609   (eval "$ac_link") 2>conftest.er1 
    12610   ac_status=$? 
    12611   grep -v '^ *+' conftest.er1 >conftest.err 
    12612   rm -f conftest.er1 
    12613   cat conftest.err >&5 
    12614   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12615   (exit $ac_status); } && { 
    12616          test -z "$ac_c_werror_flag" || 
    12617          test ! -s conftest.err 
    12618        } && test -s conftest$ac_exeext && 
    12619        $as_test_x conftest$ac_exeext; then 
     6367if ac_fn_c_try_link "$LINENO"; then : 
    126206368  ac_cv_lib_v4l2_v4l2_open=yes 
    126216369else 
    12622   echo "$as_me: failed program was:" >&5 
    12623 sed 's/^/| /' conftest.$ac_ext >&5 
    12624  
    12625         ac_cv_lib_v4l2_v4l2_open=no 
    12626 fi 
    12627  
    12628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12629       conftest$ac_exeext conftest.$ac_ext 
     6370  ac_cv_lib_v4l2_v4l2_open=no 
     6371fi 
     6372rm -f core conftest.err conftest.$ac_objext \ 
     6373    conftest$ac_exeext conftest.$ac_ext 
    126306374LIBS=$ac_check_lib_save_LIBS 
    126316375fi 
    12632 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    12633 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    12634 if test $ac_cv_lib_v4l2_v4l2_open = yes; then 
     6376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
     6377$as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
     6378if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
    126356379  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    126366380                              ac_v4l2_ldflags="-lv4l2" 
     
    126456389 
    126466390# Check whether --enable-ipp was given. 
    12647 if test "${enable_ipp+set}" = set; then 
     6391if test "${enable_ipp+set}" = set; then : 
    126486392  enableval=$enable_ipp; 
    126496393else 
     
    126556399 
    126566400# Check whether --with-ipp was given. 
    12657 if test "${with_ipp+set}" = set; then 
     6401if test "${with_ipp+set}" = set; then : 
    126586402  withval=$with_ipp; 
    126596403else 
     
    126656409 
    126666410# Check whether --with-ipp-samples was given. 
    12667 if test "${with_ipp_samples+set}" = set; then 
     6411if test "${with_ipp_samples+set}" = set; then : 
    126686412  withval=$with_ipp_samples; 
    126696413else 
     
    126756419 
    126766420# Check whether --with-ipp-arch was given. 
    12677 if test "${with_ipp_arch+set}" = set; then 
     6421if test "${with_ipp_arch+set}" = set; then : 
    126786422  withval=$with_ipp_arch; 
    126796423else 
     
    126846428 
    126856429if test "x$enable_ipp" != "xno"; then 
    12686                 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
    12687 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
     6430                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
     6431$as_echo_n "checking Intel IPP location... " >&6; } 
    126886432 
    126896433    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    12690         { echo "$as_me:$LINENO: result: $with_ipp" >&5 
    12691 echo "${ECHO_T}$with_ipp" >&6; } 
     6434        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
     6435$as_echo "$with_ipp" >&6; } 
    126926436        IPPROOT=$with_ipp 
    126936437    elif test "x$IPPROOT" = "x"; then 
    126946438        if test -d /opt/intel/ipp; then 
    126956439            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    12696             { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
    12697 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
     6440            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
     6441$as_echo "autodetected in $IPPROOT" >&6; } 
    126986442        fi 
    126996443    else 
    12700         { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
    12701 echo "${ECHO_T}$IPPROOT" >&6; } 
     6444        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
     6445$as_echo "$IPPROOT" >&6; } 
    127026446    fi 
    127036447 
    127046448    if test "x$with_ipp_arch" != "xno"; then 
    127056449        IPP_SUFFIX=$with_ipp_arch 
    12706         { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    12707 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     6450        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     6451$as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    127086452    else 
    127096453        IPP_SUFFIX="" 
    12710         { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
    12711 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
     6454        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
     6455$as_echo "IPP arch suffix is set to empty" >&6; } 
    127126456    fi 
    127136457 
    127146458    if test x$IPPROOT = x; then 
    12715         { { 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 
    12716 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;} 
    12717    { (exit 1); exit 1; }; } 
     6459        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 
    127186460    elif test ! -d $IPPROOT; then 
    12719         { { echo "$as_me:$LINENO: error: not found" >&5 
    12720 echo "$as_me: error: not found" >&2;} 
    12721    { (exit 1); exit 1; }; } 
     6461        as_fn_error "not found" "$LINENO" 5 
    127226462    elif test ! -d $IPPROOT/include; then 
    12723         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12724 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12725    { (exit 1); exit 1; }; } 
     6463        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    127266464    else 
    127276465        # IPP directory looks okay. 
     
    127606498                   # IPP7 
    127616499                   if ! test -d $IPPROOT/../compiler; then 
    12762                         { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 
    12763 echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 
    12764    { (exit 1); exit 1; }; } 
     6500                        as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
    127656501                   fi 
    127666502                   IPP_CFLAGS="$IPP_CFLAGS" 
     
    127806516 
    127816517 
    12782         { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
    12783 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
    12784         cat >conftest.$ac_ext <<_ACEOF 
    12785 /* confdefs.h.  */ 
    12786 _ACEOF 
    12787 cat confdefs.h >>conftest.$ac_ext 
    12788 cat >>conftest.$ac_ext <<_ACEOF 
     6518        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
     6519$as_echo_n "checking Intel IPP usability... " >&6; } 
     6520        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    127896521/* end confdefs.h.  */ 
    127906522#include <ippcore.h> 
     
    127986530} 
    127996531_ACEOF 
    12800 rm -f conftest.$ac_objext conftest$ac_exeext 
    12801 if { (ac_try="$ac_link" 
    12802 case "(($ac_try" in 
    12803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12804   *) ac_try_echo=$ac_try;; 
    12805 esac 
    12806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12807   (eval "$ac_link") 2>conftest.er1 
    12808   ac_status=$? 
    12809   grep -v '^ *+' conftest.er1 >conftest.err 
    12810   rm -f conftest.er1 
    12811   cat conftest.err >&5 
    12812   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12813   (exit $ac_status); } && { 
    12814          test -z "$ac_c_werror_flag" || 
    12815          test ! -s conftest.err 
    12816        } && test -s conftest$ac_exeext && 
    12817        $as_test_x conftest$ac_exeext; then 
    12818   { echo "$as_me:$LINENO: result: ok" >&5 
    12819 echo "${ECHO_T}ok" >&6; } 
    12820 else 
    12821   echo "$as_me: failed program was:" >&5 
    12822 sed 's/^/| /' conftest.$ac_ext >&5 
    12823  
    12824         { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12825 See \`config.log' for more details." >&5 
    12826 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12827 See \`config.log' for more details." >&2;} 
    12828    { (exit run with --help for more info); exit run with --help for more info; }; } 
    12829 fi 
    12830  
    12831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12832       conftest$ac_exeext conftest.$ac_ext 
     6532if ac_fn_c_try_link "$LINENO"; then : 
     6533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6534$as_echo "ok" >&6; } 
     6535else 
     6536  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6538{ as_fn_set_status run with --help for more info 
     6539as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     6540See \`config.log' for more details." "$LINENO" 5; }; } 
     6541fi 
     6542rm -f core conftest.err conftest.$ac_objext \ 
     6543    conftest$ac_exeext conftest.$ac_ext 
    128336544 
    128346545        CFLAGS="$SAVED_CFLAGS" 
     
    128376548    fi 
    128386549 
    12839                 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
    12840 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
     6550                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
     6551$as_echo_n "checking Intel IPP samples location... " >&6; } 
    128416552 
    128426553    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    12843         { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
    12844 echo "${ECHO_T}$with_ipp_samples" >&6; } 
     6554        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
     6555$as_echo "$with_ipp_samples" >&6; } 
    128456556        IPPSAMPLES=$with_ipp_samples 
    128466557    elif test "x$IPPSAMPLES" = "x"; then 
    128476558        if test -d /opt/intel/ipp-samples; then 
    128486559            IPPSAMPLES=/opt/intel/ipp-samples 
    12849             { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
    12850 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
     6560            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
     6561$as_echo "autodetected in $IPPSAMPLES" >&6; } 
    128516562        fi 
    128526563    else 
    12853         { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
    12854 echo "${ECHO_T}$IPPSAMPLES" >&6; } 
     6564        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
     6565$as_echo "$IPPSAMPLES" >&6; } 
    128556566    fi 
    128566567 
    128576568    if test x$IPPSAMPLES = x; then 
    12858         { { 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 
    12859 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;} 
    12860    { (exit 1); exit 1; }; } 
     6569        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 
    128616570    elif test ! -d $IPPSAMPLES; then 
    12862         { { echo "$as_me:$LINENO: error: not found" >&5 
    12863 echo "$as_me: error: not found" >&2;} 
    12864    { (exit 1); exit 1; }; } 
     6571        as_fn_error "not found" "$LINENO" 5 
    128656572    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    12866         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12867 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12868    { (exit 1); exit 1; }; } 
     6573        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    128696574    else 
    128706575        # Remove trailing backslash 
     
    128726577 
    128736578        # Guess the libusc.a/libspeech.a build location 
    12874         { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
    12875 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
     6579        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
     6580$as_echo_n "checking Intel IPP USC build location... " >&6; } 
    128766581        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    128776582            IPPVER=5 
     
    128866591                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    128876592            else 
    12888                 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12889 See \`config.log' for more details." >&5 
    12890 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12891 See \`config.log' for more details." >&2;} 
    12892    { (exit 1); exit 1; }; } 
     6593                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6594$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6595as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     6596See \`config.log' for more details." "$LINENO" 5; } 
    128936597            fi 
    128946598        else 
    12895             { { 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? 
    12896 See \`config.log' for more details." >&5 
    12897 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? 
    12898 See \`config.log' for more details." >&2;} 
    12899    { (exit 1); exit 1; }; } 
     6599            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6601as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     6602See \`config.log' for more details." "$LINENO" 5; } 
    129006603        fi 
    129016604 
    129026605        # Test the directory 
    129036606        if test ! -d $IPPSAMP_DIR; then 
    12904             { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12905 See \`config.log' for more details." >&5 
    12906 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12907 See \`config.log' for more details." >&2;} 
    12908    { (exit 1); exit 1; }; } 
     6607            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6609as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     6610See \`config.log' for more details." "$LINENO" 5; } 
    129096611            exit 1; 
    129106612        fi 
     
    129176619            IPPSAMP_LDLIBS="-lspeech" 
    129186620        else 
    12919             { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
    12920 See \`config.log' for more details." >&5 
    12921 echo "$as_me: error: bug in this script: unsupported IPP version 
    12922 See \`config.log' for more details." >&2;} 
    12923    { (exit 1); exit 1; }; } 
     6621            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6622$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6623as_fn_error "bug in this script: unsupported IPP version 
     6624See \`config.log' for more details." "$LINENO" 5; } 
    129246625        fi 
    129256626 
    129266627        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    12927             { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12928 See \`config.log' for more details." >&5 
    12929 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12930 See \`config.log' for more details." >&2;} 
    12931    { (exit 1); exit 1; }; } 
     6628            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6629$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6630as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     6631See \`config.log' for more details." "$LINENO" 5; } 
    129326632        fi 
    129336633 
    12934         { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
    12935 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
     6634        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
     6635$as_echo "$IPPSAMP_DIR" >&6; } 
    129366636 
    129376637        SAVED_CFLAGS="$CFLAGS" 
     
    129446644        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    129456645 
    12946         { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
    12947 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
    12948         cat >conftest.$ac_ext <<_ACEOF 
    12949 /* confdefs.h.  */ 
    12950 _ACEOF 
    12951 cat confdefs.h >>conftest.$ac_ext 
    12952 cat >>conftest.$ac_ext <<_ACEOF 
     6646        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
     6647$as_echo_n "checking Intel IPP USC usability... " >&6; } 
     6648        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    129536649/* end confdefs.h.  */ 
    129546650#include <usc.h> 
     
    129626658} 
    129636659_ACEOF 
    12964 rm -f conftest.$ac_objext conftest$ac_exeext 
    12965 if { (ac_try="$ac_link" 
    12966 case "(($ac_try" in 
    12967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12968   *) ac_try_echo=$ac_try;; 
    12969 esac 
    12970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12971   (eval "$ac_link") 2>conftest.er1 
    12972   ac_status=$? 
    12973   grep -v '^ *+' conftest.er1 >conftest.err 
    12974   rm -f conftest.er1 
    12975   cat conftest.err >&5 
    12976   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12977   (exit $ac_status); } && { 
    12978          test -z "$ac_c_werror_flag" || 
    12979          test ! -s conftest.err 
    12980        } && test -s conftest$ac_exeext && 
    12981        $as_test_x conftest$ac_exeext; then 
    12982   { echo "$as_me:$LINENO: result: ok" >&5 
    12983 echo "${ECHO_T}ok" >&6; } 
    12984 else 
    12985   echo "$as_me: failed program was:" >&5 
    12986 sed 's/^/| /' conftest.$ac_ext >&5 
    12987  
    12988         { { echo "$as_me:$LINENO: error: failed 
    12989 See \`config.log' for more details." >&5 
    12990 echo "$as_me: error: failed 
    12991 See \`config.log' for more details." >&2;} 
    12992    { (exit 1); exit 1; }; } 
    12993 fi 
    12994  
    12995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12996       conftest$ac_exeext conftest.$ac_ext 
     6660if ac_fn_c_try_link "$LINENO"; then : 
     6661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6662$as_echo "ok" >&6; } 
     6663else 
     6664  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6665$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6666as_fn_error "failed 
     6667See \`config.log' for more details." "$LINENO" 5; } 
     6668fi 
     6669rm -f core conftest.err conftest.$ac_objext \ 
     6670    conftest$ac_exeext conftest.$ac_ext 
    129976671 
    129986672        CFLAGS="$SAVED_CFLAGS" 
     
    130146688export IPP_LIBS=$IPP_LIBS" 
    130156689else 
    13016     { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
    13017 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
     6690    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
     6691$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
    130186692fi 
    130196693 
     
    130226696 
    130236697# Check whether --enable-ssl was given. 
    13024 if test "${enable_ssl+set}" = set; then 
     6698if test "${enable_ssl+set}" = set; then : 
    130256699  enableval=$enable_ssl; 
    130266700                if test "$enable_ssl" = "no"; then 
    130276701                 ac_no_ssl=1 
    13028                  { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
    13029 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
     6702                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
     6703$as_echo "Checking if SSL support is disabled... yes" >&6; } 
    130306704                fi 
    130316705 
    130326706else 
    130336707 
    13034                 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
    13035 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
    13036  
    13037  
    13038  
    13039                 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    13040   { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    13041 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    13042 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    13043   echo $ECHO_N "(cached) $ECHO_C" >&6 
    13044 fi 
    13045 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    13046 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    13047 else 
    13048   # Is the header compilable? 
    13049 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
    13050 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
    13051 cat >conftest.$ac_ext <<_ACEOF 
    13052 /* confdefs.h.  */ 
    13053 _ACEOF 
    13054 cat confdefs.h >>conftest.$ac_ext 
    13055 cat >>conftest.$ac_ext <<_ACEOF 
    13056 /* end confdefs.h.  */ 
    13057 $ac_includes_default 
    13058 #include <openssl/ssl.h> 
    13059 _ACEOF 
    13060 rm -f conftest.$ac_objext 
    13061 if { (ac_try="$ac_compile" 
    13062 case "(($ac_try" in 
    13063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13064   *) ac_try_echo=$ac_try;; 
    13065 esac 
    13066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13067   (eval "$ac_compile") 2>conftest.er1 
    13068   ac_status=$? 
    13069   grep -v '^ *+' conftest.er1 >conftest.err 
    13070   rm -f conftest.er1 
    13071   cat conftest.err >&5 
    13072   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13073   (exit $ac_status); } && { 
    13074          test -z "$ac_c_werror_flag" || 
    13075          test ! -s conftest.err 
    13076        } && test -s conftest.$ac_objext; then 
    13077   ac_header_compiler=yes 
    13078 else 
    13079   echo "$as_me: failed program was:" >&5 
    13080 sed 's/^/| /' conftest.$ac_ext >&5 
    13081  
    13082         ac_header_compiler=no 
    13083 fi 
    13084  
    13085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    13086 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    13087 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    13088  
    13089 # Is the header present? 
    13090 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
    13091 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
    13092 cat >conftest.$ac_ext <<_ACEOF 
    13093 /* confdefs.h.  */ 
    13094 _ACEOF 
    13095 cat confdefs.h >>conftest.$ac_ext 
    13096 cat >>conftest.$ac_ext <<_ACEOF 
    13097 /* end confdefs.h.  */ 
    13098 #include <openssl/ssl.h> 
    13099 _ACEOF 
    13100 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    13101 case "(($ac_try" in 
    13102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13103   *) ac_try_echo=$ac_try;; 
    13104 esac 
    13105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13106   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    13107   ac_status=$? 
    13108   grep -v '^ *+' conftest.er1 >conftest.err 
    13109   rm -f conftest.er1 
    13110   cat conftest.err >&5 
    13111   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13112   (exit $ac_status); } >/dev/null && { 
    13113          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    13114          test ! -s conftest.err 
    13115        }; then 
    13116   ac_header_preproc=yes 
    13117 else 
    13118   echo "$as_me: failed program was:" >&5 
    13119 sed 's/^/| /' conftest.$ac_ext >&5 
    13120  
    13121   ac_header_preproc=no 
    13122 fi 
    13123  
    13124 rm -f conftest.err conftest.$ac_ext 
    13125 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    13126 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    13127  
    13128 # So?  What about this header? 
    13129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    13130   yes:no: ) 
    13131     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    13132 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    13133     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
    13134 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
    13135     ac_header_preproc=yes 
    13136     ;; 
    13137   no:yes:* ) 
    13138     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
    13139 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
    13140     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
    13141 echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
    13142     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
    13143 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
    13144     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    13145 echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    13146     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
    13147 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
    13148     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
    13149 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
    13150  
    13151     ;; 
    13152 esac 
    13153 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    13154 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    13155 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    13156   echo $ECHO_N "(cached) $ECHO_C" >&6 
    13157 else 
    13158   ac_cv_header_openssl_ssl_h=$ac_header_preproc 
    13159 fi 
    13160 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    13161 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    13162  
    13163 fi 
    13164 if test $ac_cv_header_openssl_ssl_h = yes; then 
     6708                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
     6709$as_echo "checking for OpenSSL installations.." >&6; } 
     6710 
     6711 
     6712 
     6713                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
     6714if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
    131656715  openssl_h_present=1 
    131666716fi 
    131676717 
    131686718 
    13169                 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    13170 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
    13171 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
    13172   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6719                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     6720$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
     6721if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     6722  $as_echo_n "(cached) " >&6 
    131736723else 
    131746724  ac_check_lib_save_LIBS=$LIBS 
    131756725LIBS="-lcrypto  $LIBS" 
    13176 cat >conftest.$ac_ext <<_ACEOF 
    13177 /* confdefs.h.  */ 
    13178 _ACEOF 
    13179 cat confdefs.h >>conftest.$ac_ext 
    13180 cat >>conftest.$ac_ext <<_ACEOF 
     6726cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    131816727/* end confdefs.h.  */ 
    131826728 
     
    131966742} 
    131976743_ACEOF 
    13198 rm -f conftest.$ac_objext conftest$ac_exeext 
    13199 if { (ac_try="$ac_link" 
    13200 case "(($ac_try" in 
    13201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13202   *) ac_try_echo=$ac_try;; 
    13203 esac 
    13204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13205   (eval "$ac_link") 2>conftest.er1 
    13206   ac_status=$? 
    13207   grep -v '^ *+' conftest.er1 >conftest.err 
    13208   rm -f conftest.er1 
    13209   cat conftest.err >&5 
    13210   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13211   (exit $ac_status); } && { 
    13212          test -z "$ac_c_werror_flag" || 
    13213          test ! -s conftest.err 
    13214        } && test -s conftest$ac_exeext && 
    13215        $as_test_x conftest$ac_exeext; then 
     6744if ac_fn_c_try_link "$LINENO"; then : 
    132166745  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    132176746else 
    13218   echo "$as_me: failed program was:" >&5 
    13219 sed 's/^/| /' conftest.$ac_ext >&5 
    13220  
    13221         ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    13222 fi 
    13223  
    13224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13225       conftest$ac_exeext conftest.$ac_ext 
     6747  ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     6748fi 
     6749rm -f core conftest.err conftest.$ac_objext \ 
     6750    conftest$ac_exeext conftest.$ac_ext 
    132266751LIBS=$ac_check_lib_save_LIBS 
    132276752fi 
    13228 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    13229 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    13230 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     6753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     6754$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     6755if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
    132316756  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    132326757fi 
    132336758 
    13234                 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
    13235 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
    13236 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
    13237   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6759                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
     6760$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
     6761if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     6762  $as_echo_n "(cached) " >&6 
    132386763else 
    132396764  ac_check_lib_save_LIBS=$LIBS 
    132406765LIBS="-lssl  $LIBS" 
    13241 cat >conftest.$ac_ext <<_ACEOF 
    13242 /* confdefs.h.  */ 
    13243 _ACEOF 
    13244 cat confdefs.h >>conftest.$ac_ext 
    13245 cat >>conftest.$ac_ext <<_ACEOF 
     6766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    132466767/* end confdefs.h.  */ 
    132476768 
     
    132616782} 
    132626783_ACEOF 
    13263 rm -f conftest.$ac_objext conftest$ac_exeext 
    13264 if { (ac_try="$ac_link" 
    13265 case "(($ac_try" in 
    13266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13267   *) ac_try_echo=$ac_try;; 
    13268 esac 
    13269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13270   (eval "$ac_link") 2>conftest.er1 
    13271   ac_status=$? 
    13272   grep -v '^ *+' conftest.er1 >conftest.err 
    13273   rm -f conftest.er1 
    13274   cat conftest.err >&5 
    13275   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13276   (exit $ac_status); } && { 
    13277          test -z "$ac_c_werror_flag" || 
    13278          test ! -s conftest.err 
    13279        } && test -s conftest$ac_exeext && 
    13280        $as_test_x conftest$ac_exeext; then 
     6784if ac_fn_c_try_link "$LINENO"; then : 
    132816785  ac_cv_lib_ssl_SSL_library_init=yes 
    132826786else 
    13283   echo "$as_me: failed program was:" >&5 
    13284 sed 's/^/| /' conftest.$ac_ext >&5 
    13285  
    13286         ac_cv_lib_ssl_SSL_library_init=no 
    13287 fi 
    13288  
    13289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13290       conftest$ac_exeext conftest.$ac_ext 
     6787  ac_cv_lib_ssl_SSL_library_init=no 
     6788fi 
     6789rm -f core conftest.err conftest.$ac_objext \ 
     6790    conftest$ac_exeext conftest.$ac_ext 
    132916791LIBS=$ac_check_lib_save_LIBS 
    132926792fi 
    13293 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    13294 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    13295 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     6793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     6794$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     6795if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
    132966796  libssl_present=1 && LIBS="$LIBS -lssl" 
    132976797fi 
    132986798 
    132996799                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    13300                         { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
    13301 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
     6800                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
     6801$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
    133026802                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    133036803                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    13304                         cat >>confdefs.h <<\_ACEOF 
    13305 #define PJ_HAS_SSL_SOCK 1 
    13306 _ACEOF 
     6804                        $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
    133076805 
    133086806                else 
    13309                         { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    13310 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     6807                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     6808$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    133116809                fi 
    133126810 
     
    133176815 
    133186816 
    13319 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    13320 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
     6817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
     6818$as_echo_n "checking if select() needs correct nfds... " >&6; } 
    133216819case $target in 
    13322   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13323 #define PJ_SELECT_NEEDS_NFDS 1 
    13324 _ACEOF 
    13325  
    13326            { echo "$as_me:$LINENO: result: yes" >&5 
    13327 echo "${ECHO_T}yes" >&6; } 
     6820  *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
     6821 
     6822           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6823$as_echo "yes" >&6; } 
    133286824        ;; 
    13329   *) cat >>confdefs.h <<\_ACEOF 
    13330 #define PJ_SELECT_NEEDS_NFDS 0 
    13331 _ACEOF 
    13332  
    13333      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13334 echo "${ECHO_T}no (default)" >&6; } 
    13335      { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    13336 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     6825  *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
     6826 
     6827     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6828$as_echo "no (default)" >&6; } 
     6829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     6830$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    133376831        ;; 
    133386832esac 
    133396833 
    13340 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    13341 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
     6834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
     6835$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
    133426836case $target in 
    13343   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13344 #define PJ_THREAD_SET_STACK_SIZE 1 
    13345 _ACEOF 
    13346  
    13347            { echo "$as_me:$LINENO: result: yes" >&5 
    13348 echo "${ECHO_T}yes" >&6; } 
     6837  *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
     6838 
     6839           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6840$as_echo "yes" >&6; } 
    133496841        ;; 
    13350   *) cat >>confdefs.h <<\_ACEOF 
    13351 #define PJ_THREAD_SET_STACK_SIZE 0 
    13352 _ACEOF 
    13353  
    13354      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13355 echo "${ECHO_T}no (default)" >&6; } 
     6842  *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
     6843 
     6844     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6845$as_echo "no (default)" >&6; } 
    133566846        ;; 
    133576847esac 
    133586848 
    13359 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    13360 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
     6849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
     6850$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
    133616851case $target in 
    13362   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13363 #define PJ_THREAD_ALLOCATE_STACK 1 
    13364 _ACEOF 
    13365  
    13366            { echo "$as_me:$LINENO: result: yes" >&5 
    13367 echo "${ECHO_T}yes" >&6; } 
     6852  *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
     6853 
     6854           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6855$as_echo "yes" >&6; } 
    133686856        ;; 
    13369   *) cat >>confdefs.h <<\_ACEOF 
    13370 #define PJ_THREAD_ALLOCATE_STACK 0 
    13371 _ACEOF 
    13372  
    13373      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13374 echo "${ECHO_T}no (default)" >&6; } 
     6857  *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
     6858 
     6859     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6860$as_echo "no (default)" >&6; } 
    133756861        ;; 
    133766862esac 
     
    133786864case $target in 
    133796865  *mingw* | *cygw* | *win32* | *w32* ) 
    13380         cat >>confdefs.h <<\_ACEOF 
    13381 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    13382 _ACEOF 
     6866        $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    133836867 
    133846868        ;; 
    13385   *) cat >>confdefs.h <<\_ACEOF 
    13386 #define PJ_BLOCKING_ERROR_VAL EAGAIN 
    13387 _ACEOF 
    13388  
    13389      { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    13390 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     6869  *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
     6870 
     6871     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     6872$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    133916873        ;; 
    133926874esac 
     
    133946876case $target in 
    133956877  *mingw* | *cygw* | *win32* | *w32* ) 
    13396         cat >>confdefs.h <<\_ACEOF 
    13397 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    13398 _ACEOF 
     6878        $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    133996879 
    134006880        ;; 
    13401   *) cat >>confdefs.h <<\_ACEOF 
    13402 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    13403 _ACEOF 
    13404  
    13405      { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    13406 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     6881  *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
     6882 
     6883     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     6884$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    134076885        ;; 
    134086886esac 
     
    134596937    *${as_nl}*) 
    134606938      case $ac_var in #( 
    13461       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    13462 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     6939      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     6940$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    134636941      esac 
    134646942      case $ac_var in #( 
    134656943      _ | IFS | as_nl) ;; #( 
    13466       *) $as_unset $ac_var ;; 
     6944      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     6945      *) { eval $ac_var=; unset $ac_var;} ;; 
    134676946      esac ;; 
    134686947    esac 
     
    134726951    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    134736952    *${as_nl}ac_space=\ *) 
    13474       # `set' does not quote correctly, so add quotes (double-quote 
    13475       # substitution turns \\\\ into \\, and sed turns \\ into \). 
     6953      # `set' does not quote correctly, so add quotes: double-quote 
     6954      # substitution turns \\\\ into \\, and sed turns \\ into \. 
    134766955      sed -n \ 
    134776956        "s/'/'\\\\''/g; 
     
    134966975  if test -w "$cache_file"; then 
    134976976    test "x$cache_file" != "x/dev/null" && 
    13498       { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
    13499 echo "$as_me: updating cache $cache_file" >&6;} 
     6977      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
     6978$as_echo "$as_me: updating cache $cache_file" >&6;} 
    135006979    cat confcache >$cache_file 
    135016980  else 
    13502     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
    13503 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     6981    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     6982$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    135046983  fi 
    135056984fi 
     
    135176996  # 1. Remove the extension, and $U if already installed. 
    135186997  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    13519   ac_i=`echo "$ac_i" | sed "$ac_script"` 
     6998  ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
    135206999  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    135217000  #    will be set to the directory where LIBOBJS objects are built. 
    13522   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    13523   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
     7001  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     7002  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
    135247003done 
    135257004LIBOBJS=$ac_libobjs 
     
    135297008 
    135307009 
     7010 
    135317011: ${CONFIG_STATUS=./config.status} 
     7012ac_write_fail=0 
    135327013ac_clean_files_save=$ac_clean_files 
    135337014ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    13534 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    13535 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    13536 cat >$CONFIG_STATUS <<_ACEOF 
     7015{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
     7016$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     7017as_write_fail=0 
     7018cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
    135377019#! $SHELL 
    135387020# Generated by $as_me. 
     
    135447026ac_cs_recheck=false 
    135457027ac_cs_silent=false 
     7028 
    135467029SHELL=\${CONFIG_SHELL-$SHELL} 
    13547 _ACEOF 
    13548  
    13549 cat >>$CONFIG_STATUS <<\_ACEOF 
    13550 ## --------------------- ## 
    13551 ## M4sh Initialization.  ## 
    13552 ## --------------------- ## 
     7030export SHELL 
     7031_ASEOF 
     7032cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
     7033## -------------------- ## 
     7034## M4sh Initialization. ## 
     7035## -------------------- ## 
    135537036 
    135547037# Be more Bourne compatible 
    135557038DUALCASE=1; export DUALCASE # for MKS sh 
    13556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     7039if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    135577040  emulate sh 
    135587041  NULLCMD=: 
    13559   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     7042  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    135607043  # is contrary to our usage.  Disable this feature. 
    135617044  alias -g '${1+"$@"}'='"$@"' 
    135627045  setopt NO_GLOB_SUBST 
    135637046else 
    13564   case `(set -o) 2>/dev/null` in 
    13565   *posix*) set -o posix ;; 
     7047  case `(set -o) 2>/dev/null` in #( 
     7048  *posix*) : 
     7049    set -o posix ;; #( 
     7050  *) : 
     7051     ;; 
    135667052esac 
    13567  
    13568 fi 
    13569  
    13570  
    13571  
    13572  
    13573 # PATH needs CR 
    13574 # Avoid depending upon Character Ranges. 
    13575 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    13576 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    13577 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    13578 as_cr_digits='0123456789' 
    13579 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     7053fi 
     7054 
     7055 
     7056as_nl=' 
     7057' 
     7058export as_nl 
     7059# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     7060as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     7061as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     7062as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     7063# Prefer a ksh shell builtin over an external printf program on Solaris, 
     7064# but without wasting forks for bash or zsh. 
     7065if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     7066    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     7067  as_echo='print -r --' 
     7068  as_echo_n='print -rn --' 
     7069elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     7070  as_echo='printf %s\n' 
     7071  as_echo_n='printf %s' 
     7072else 
     7073  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     7074    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     7075    as_echo_n='/usr/ucb/echo -n' 
     7076  else 
     7077    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     7078    as_echo_n_body='eval 
     7079      arg=$1; 
     7080      case $arg in #( 
     7081      *"$as_nl"*) 
     7082        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     7083        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     7084      esac; 
     7085      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     7086    ' 
     7087    export as_echo_n_body 
     7088    as_echo_n='sh -c $as_echo_n_body as_echo' 
     7089  fi 
     7090  export as_echo_body 
     7091  as_echo='sh -c $as_echo_body as_echo' 
     7092fi 
    135807093 
    135817094# The user is always right. 
    135827095if test "${PATH_SEPARATOR+set}" != set; then 
    13583   echo "#! /bin/sh" >conf$$.sh 
    13584   echo  "exit 0"   >>conf$$.sh 
    13585   chmod +x conf$$.sh 
    13586   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    13587     PATH_SEPARATOR=';' 
    13588   else 
    13589     PATH_SEPARATOR=: 
    13590   fi 
    13591   rm -f conf$$.sh 
    13592 fi 
    13593  
    13594 # Support unset when possible. 
    13595 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    13596   as_unset=unset 
    13597 else 
    13598   as_unset=false 
     7096  PATH_SEPARATOR=: 
     7097  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     7098    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     7099      PATH_SEPARATOR=';' 
     7100  } 
    135997101fi 
    136007102 
     
    136057107# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    136067108# splitting by setting IFS to empty value.) 
    13607 as_nl=' 
    13608 ' 
    136097109IFS=" ""        $as_nl" 
    136107110 
    136117111# Find who we are.  Look in the path if we contain no directory separator. 
    13612 case $0 in 
     7112case $0 in #(( 
    136137113  *[\\/]* ) as_myself=$0 ;; 
    136147114  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    136177117  IFS=$as_save_IFS 
    136187118  test -z "$as_dir" && as_dir=. 
    13619   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    13620 done 
     7119    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     7120  done 
    136217121IFS=$as_save_IFS 
    136227122 
     
    136297129fi 
    136307130if test ! -f "$as_myself"; then 
    13631   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    13632   { (exit 1); exit 1; } 
    13633 fi 
    13634  
    13635 # Work around bugs in pre-3.0 UWIN ksh. 
    13636 for as_var in ENV MAIL MAILPATH 
    13637 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     7131  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     7132  exit 1 
     7133fi 
     7134 
     7135# Unset variables that we do not need and which cause bugs (e.g. in 
     7136# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     7137# suppresses any "Segmentation fault" message there.  '((' could 
     7138# trigger a bug in pdksh 5.2.14. 
     7139for as_var in BASH_ENV ENV MAIL MAILPATH 
     7140do eval test x\${$as_var+set} = xset \ 
     7141  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    136387142done 
    136397143PS1='$ ' 
     
    136427146 
    136437147# NLS nuisances. 
    13644 for as_var in \ 
    13645   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    13646   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    13647   LC_TELEPHONE LC_TIME 
    13648 do 
    13649   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    13650     eval $as_var=C; export $as_var 
    13651   else 
    13652     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     7148LC_ALL=C 
     7149export LC_ALL 
     7150LANGUAGE=C 
     7151export LANGUAGE 
     7152 
     7153# CDPATH. 
     7154(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     7155 
     7156 
     7157# as_fn_error ERROR [LINENO LOG_FD] 
     7158# --------------------------------- 
     7159# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     7160# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     7161# script with status $?, using 1 if that was 0. 
     7162as_fn_error () 
     7163{ 
     7164  as_status=$?; test $as_status -eq 0 && as_status=1 
     7165  if test "$3"; then 
     7166    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     7167    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
    136537168  fi 
    13654 done 
    13655  
    13656 # Required to use basename. 
     7169  $as_echo "$as_me: error: $1" >&2 
     7170  as_fn_exit $as_status 
     7171} # as_fn_error 
     7172 
     7173 
     7174# as_fn_set_status STATUS 
     7175# ----------------------- 
     7176# Set $? to STATUS, without forking. 
     7177as_fn_set_status () 
     7178{ 
     7179  return $1 
     7180} # as_fn_set_status 
     7181 
     7182# as_fn_exit STATUS 
     7183# ----------------- 
     7184# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     7185as_fn_exit () 
     7186{ 
     7187  set +e 
     7188  as_fn_set_status $1 
     7189  exit $1 
     7190} # as_fn_exit 
     7191 
     7192# as_fn_unset VAR 
     7193# --------------- 
     7194# Portably unset VAR. 
     7195as_fn_unset () 
     7196{ 
     7197  { eval $1=; unset $1;} 
     7198} 
     7199as_unset=as_fn_unset 
     7200# as_fn_append VAR VALUE 
     7201# ---------------------- 
     7202# Append the text in VALUE to the end of the definition contained in VAR. Take 
     7203# advantage of any shell optimizations that allow amortized linear growth over 
     7204# repeated appends, instead of the typical quadratic growth present in naive 
     7205# implementations. 
     7206if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     7207  eval 'as_fn_append () 
     7208  { 
     7209    eval $1+=\$2 
     7210  }' 
     7211else 
     7212  as_fn_append () 
     7213  { 
     7214    eval $1=\$$1\$2 
     7215  } 
     7216fi # as_fn_append 
     7217 
     7218# as_fn_arith ARG... 
     7219# ------------------ 
     7220# Perform arithmetic evaluation on the ARGs, and store the result in the 
     7221# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     7222# must be portable across $(()) and expr. 
     7223if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     7224  eval 'as_fn_arith () 
     7225  { 
     7226    as_val=$(( $* )) 
     7227  }' 
     7228else 
     7229  as_fn_arith () 
     7230  { 
     7231    as_val=`expr "$@" || test $? -eq 1` 
     7232  } 
     7233fi # as_fn_arith 
     7234 
     7235 
    136577236if expr a : '\(a\)' >/dev/null 2>&1 && 
    136587237   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    136687247fi 
    136697248 
    13670  
    13671 # Name of the executable. 
     7249if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     7250  as_dirname=dirname 
     7251else 
     7252  as_dirname=false 
     7253fi 
     7254 
    136727255as_me=`$as_basename -- "$0" || 
    136737256$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    136747257         X"$0" : 'X\(//\)$' \| \ 
    136757258         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    13676 echo X/"$0" | 
     7259$as_echo X/"$0" | 
    136777260    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    136787261            s//\1/ 
     
    136897272          s/.*/./; q'` 
    136907273 
    13691 # CDPATH. 
    13692 $as_unset CDPATH 
    13693  
    13694  
    13695  
    13696   as_lineno_1=$LINENO 
    13697   as_lineno_2=$LINENO 
    13698   test "x$as_lineno_1" != "x$as_lineno_2" && 
    13699   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    13700  
    13701   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    13702   # uniformly replaced by the line number.  The first 'sed' inserts a 
    13703   # line-number line after each line using $LINENO; the second 'sed' 
    13704   # does the real work.  The second script uses 'N' to pair each 
    13705   # line-number line with the line containing $LINENO, and appends 
    13706   # trailing '-' during substitution so that $LINENO is not a special 
    13707   # case at line end. 
    13708   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    13709   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    13710   # E. McMahon (1931-1989) for sed's syntax.  :-) 
    13711   sed -n ' 
    13712     p 
    13713     /[$]LINENO/= 
    13714   ' <$as_myself | 
    13715     sed ' 
    13716       s/[$]LINENO.*/&-/ 
    13717       t lineno 
    13718       b 
    13719       :lineno 
    13720       N 
    13721       :loop 
    13722       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    13723       t loop 
    13724       s/-\n.*// 
    13725     ' >$as_me.lineno && 
    13726   chmod +x "$as_me.lineno" || 
    13727     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    13728    { (exit 1); exit 1; }; } 
    13729  
    13730   # Don't try to exec as it changes $[0], causing all sort of problems 
    13731   # (the dirname of $[0] is not the place where we might find the 
    13732   # original and so on.  Autoconf is especially sensitive to this). 
    13733   . "./$as_me.lineno" 
    13734   # Exit status is that of the last command. 
    13735   exit 
    13736 } 
    13737  
    13738  
    13739 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    13740   as_dirname=dirname 
    13741 else 
    13742   as_dirname=false 
    13743 fi 
     7274# Avoid depending upon Character Ranges. 
     7275as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     7276as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     7277as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     7278as_cr_digits='0123456789' 
     7279as_cr_alnum=$as_cr_Letters$as_cr_digits 
    137447280 
    137457281ECHO_C= ECHO_N= ECHO_T= 
    13746 case `echo -n x` in 
     7282case `echo -n x` in #((((( 
    137477283-n*) 
    13748   case `echo 'x\c'` in 
     7284  case `echo 'xy\c'` in 
    137497285  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    13750   *)   ECHO_C='\c';; 
     7286  xy)  ECHO_C='\c';; 
     7287  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     7288       ECHO_T=' ';; 
    137517289  esac;; 
    137527290*) 
     
    137547292esac 
    137557293 
    13756 if expr a : '\(a\)' >/dev/null 2>&1 && 
    13757    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    13758   as_expr=expr 
    13759 else 
    13760   as_expr=false 
    13761 fi 
    13762  
    137637294rm -f conf$$ conf$$.exe conf$$.file 
    137647295if test -d conf$$.dir; then 
     
    137667297else 
    137677298  rm -f conf$$.dir 
    13768   mkdir conf$$.dir 
    13769 fi 
    13770 echo >conf$$.file 
    13771 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    13772   as_ln_s='ln -s' 
    13773   # ... but there are two gotchas: 
    13774   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    13775   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    13776   # In both cases, we have to default to `cp -p'. 
    13777   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7299  mkdir conf$$.dir 2>/dev/null 
     7300fi 
     7301if (echo >conf$$.file) 2>/dev/null; then 
     7302  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     7303    as_ln_s='ln -s' 
     7304    # ... but there are two gotchas: 
     7305    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     7306    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     7307    # In both cases, we have to default to `cp -p'. 
     7308    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7309      as_ln_s='cp -p' 
     7310  elif ln conf$$.file conf$$ 2>/dev/null; then 
     7311    as_ln_s=ln 
     7312  else 
    137787313    as_ln_s='cp -p' 
    13779 elif ln conf$$.file conf$$ 2>/dev/null; then 
    13780   as_ln_s=ln 
     7314  fi 
    137817315else 
    137827316  as_ln_s='cp -p' 
     
    137857319rmdir conf$$.dir 2>/dev/null 
    137867320 
    13787 if mkdir -p . 2>/dev/null; then 
    13788   as_mkdir_p=: 
    13789 else 
    13790   test -d ./-p && rmdir ./-p 
    13791   as_mkdir_p=false 
    13792 fi 
    13793  
    13794 if test -x / >/dev/null 2>&1; then 
    13795   as_test_x='test -x' 
    13796 else 
    13797   if ls -dL / >/dev/null 2>&1; then 
    13798     as_ls_L_option=L 
    13799   else 
    13800     as_ls_L_option= 
    13801   fi 
    13802   as_test_x=' 
    13803     eval sh -c '\'' 
    13804       if test -d "$1"; then 
    13805         test -d "$1/."; 
    13806       else 
    13807         case $1 in 
    13808         -*)set "./$1";; 
    13809         esac; 
    13810         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    13811         ???[sx]*):;;*)false;;esac;fi 
    13812     '\'' sh 
    13813   ' 
    13814 fi 
    13815 as_executable_p=$as_test_x 
    13816  
    13817 # Sed expression to map a string onto a valid CPP name. 
    13818 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    13819  
    13820 # Sed expression to map a string onto a valid variable name. 
    13821 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    13822  
    13823  
    13824 exec 6>&1 
    13825  
    13826 # Save the log message, to keep $[0] and so on meaningful, and to 
    13827 # report actual input values of CONFIG_FILES etc. instead of their 
    13828 # values after options handling. 
    13829 ac_log=" 
    13830 This file was extended by pjproject $as_me 1.x, which was 
    13831 generated by GNU Autoconf 2.61.  Invocation command line was 
    13832  
    13833   CONFIG_FILES    = $CONFIG_FILES 
    13834   CONFIG_HEADERS  = $CONFIG_HEADERS 
    13835   CONFIG_LINKS    = $CONFIG_LINKS 
    13836   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    13837   $ $0 $@ 
    13838  
    13839 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    13840 " 
    13841  
    13842 _ACEOF 
    13843  
    13844 cat >>$CONFIG_STATUS <<_ACEOF 
    13845 # Files that config.status was made for. 
    13846 config_files="$ac_config_files" 
    13847 config_headers="$ac_config_headers" 
    13848  
    13849 _ACEOF 
    13850  
    13851 cat >>$CONFIG_STATUS <<\_ACEOF 
    13852 ac_cs_usage="\ 
    13853 \`$as_me' instantiates files from templates according to the 
    13854 current configuration. 
    13855  
    13856 Usage: $0 [OPTIONS] [FILE]... 
    13857  
    13858   -h, --help       print this help, then exit 
    13859   -V, --version    print version number and configuration settings, then exit 
    13860   -q, --quiet      do not print progress messages 
    13861   -d, --debug      don't remove temporary files 
    13862       --recheck    update $as_me by reconfiguring in the same conditions 
    13863   --file=FILE[:TEMPLATE] 
    13864                    instantiate the configuration file FILE 
    13865   --header=FILE[:TEMPLATE] 
    13866                    instantiate the configuration header FILE 
    13867  
    13868 Configuration files: 
    13869 $config_files 
    13870  
    13871 Configuration headers: 
    13872 $config_headers 
    13873  
    13874 Report bugs to <bug-autoconf@gnu.org>." 
    13875  
    13876 _ACEOF 
    13877 cat >>$CONFIG_STATUS <<_ACEOF 
    13878 ac_cs_version="\\ 
    13879 pjproject config.status 1.x 
    13880 configured by $0, generated by GNU Autoconf 2.61, 
    13881   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
    13882  
    13883 Copyright (C) 2006 Free Software Foundation, Inc. 
    13884 This config.status script is free software; the Free Software Foundation 
    13885 gives unlimited permission to copy, distribute and modify it." 
    13886  
    13887 ac_pwd='$ac_pwd' 
    13888 srcdir='$srcdir' 
    13889 _ACEOF 
    13890  
    13891 cat >>$CONFIG_STATUS <<\_ACEOF 
    13892 # If no file are specified by the user, then we need to provide default 
    13893 # value.  By we need to know if files were specified by the user. 
    13894 ac_need_defaults=: 
    13895 while test $# != 0 
    13896 do 
    13897   case $1 in 
    13898   --*=*) 
    13899     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    13900     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    13901     ac_shift=: 
    13902     ;; 
    13903   *) 
    13904     ac_option=$1 
    13905     ac_optarg=$2 
    13906     ac_shift=shift 
    13907     ;; 
    13908   esac 
    13909  
    13910   case $ac_option in 
    13911   # Handling of the options. 
    13912   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    13913     ac_cs_recheck=: ;; 
    13914   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    13915     echo "$ac_cs_version"; exit ;; 
    13916   --debug | --debu | --deb | --de | --d | -d ) 
    13917     debug=: ;; 
    13918   --file | --fil | --fi | --f ) 
    13919     $ac_shift 
    13920     CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    13921     ac_need_defaults=false;; 
    13922   --header | --heade | --head | --hea ) 
    13923     $ac_shift 
    13924     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    13925     ac_need_defaults=false;; 
    13926   --he | --h) 
    13927     # Conflict between --help and --header 
    13928     { echo "$as_me: error: ambiguous option: $1 
    13929 Try \`$0 --help' for more information." >&2 
    13930    { (exit 1); exit 1; }; };; 
    13931   --help | --hel | -h ) 
    13932     echo "$ac_cs_usage"; exit ;; 
    13933   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    13934   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    13935     ac_cs_silent=: ;; 
    13936  
    13937   # This is an error. 
    13938   -*) { echo "$as_me: error: unrecognized option: $1 
    13939 Try \`$0 --help' for more information." >&2 
    13940    { (exit 1); exit 1; }; } ;; 
    13941  
    13942   *) ac_config_targets="$ac_config_targets $1" 
    13943      ac_need_defaults=false ;; 
    13944  
    13945   esac 
    13946   shift 
    13947 done 
    13948  
    13949 ac_configure_extra_args= 
    13950  
    13951 if $ac_cs_silent; then 
    13952   exec 6>/dev/null 
    13953   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    13954 fi 
    13955  
    13956 _ACEOF 
    13957 cat >>$CONFIG_STATUS <<_ACEOF 
    13958 if \$ac_cs_recheck; then 
    13959   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
    13960   CONFIG_SHELL=$SHELL 
    13961   export CONFIG_SHELL 
    13962   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    13963 fi 
    13964  
    13965 _ACEOF 
    13966 cat >>$CONFIG_STATUS <<\_ACEOF 
    13967 exec 5>>config.log 
    13968 { 
    13969   echo 
    13970   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    13971 ## Running $as_me. ## 
    13972 _ASBOX 
    13973   echo "$ac_log" 
    13974 } >&5 
    13975  
    13976 _ACEOF 
    13977 cat >>$CONFIG_STATUS <<_ACEOF 
    13978 _ACEOF 
    13979  
    13980 cat >>$CONFIG_STATUS <<\_ACEOF 
    13981  
    13982 # Handling of arguments. 
    13983 for ac_config_target in $ac_config_targets 
    13984 do 
    13985   case $ac_config_target in 
    13986     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    13987     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    13988     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    13989     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    13990     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    13991     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    13992     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    13993     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    13994     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    13995     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    13996     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    13997     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    13998     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    13999     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    14000  
    14001   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    14002 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    14003    { (exit 1); exit 1; }; };; 
    14004   esac 
    14005 done 
    14006  
    14007  
    14008 # If the user did not use the arguments to specify the items to instantiate, 
    14009 # then the envvar interface is used.  Set only those that are not. 
    14010 # We use the long form for the default assignment because of an extremely 
    14011 # bizarre bug on SunOS 4.1.3. 
    14012 if $ac_need_defaults; then 
    14013   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    14014   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    14015 fi 
    14016  
    14017 # Have a temporary directory for convenience.  Make it in the build tree 
    14018 # simply because there is no reason against having it here, and in addition, 
    14019 # creating and moving files from /tmp can sometimes cause problems. 
    14020 # Hook for its removal unless debugging. 
    14021 # Note that there is a small window in which the directory will not be cleaned: 
    14022 # after its creation but before its name has been assigned to `$tmp'. 
    14023 $debug || 
    14024 { 
    14025   tmp= 
    14026   trap 'exit_status=$? 
    14027   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    14028 ' 0 
    14029   trap '{ (exit 1); exit 1; }' 1 2 13 15 
    14030 } 
    14031 # Create a (secure) tmp directory for tmp files. 
    14032  
    14033 { 
    14034   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    14035   test -n "$tmp" && test -d "$tmp" 
    14036 }  || 
    14037 { 
    14038   tmp=./conf$$-$RANDOM 
    14039   (umask 077 && mkdir "$tmp") 
    14040 } || 
    14041 { 
    14042    echo "$me: cannot create a temporary directory in ." >&2 
    14043    { (exit 1); exit 1; } 
    14044 } 
    14045  
    14046 # 
    14047 # Set up the sed scripts for CONFIG_FILES section. 
    14048 # 
    14049  
    14050 # No need to generate the scripts if there are no CONFIG_FILES. 
    14051 # This happens for instance when ./config.status config.h 
    14052 if test -n "$CONFIG_FILES"; then 
    14053  
    14054 _ACEOF 
    14055  
    14056  
    14057  
    14058 ac_delim='%!_!# ' 
    14059 for ac_last_try in false false false false false :; do 
    14060   cat >conf$$subs.sed <<_ACEOF 
    14061 SHELL!$SHELL$ac_delim 
    14062 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
    14063 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
    14064 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
    14065 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
    14066 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
    14067 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
    14068 exec_prefix!$exec_prefix$ac_delim 
    14069 prefix!$prefix$ac_delim 
    14070 program_transform_name!$program_transform_name$ac_delim 
    14071 bindir!$bindir$ac_delim 
    14072 sbindir!$sbindir$ac_delim 
    14073 libexecdir!$libexecdir$ac_delim 
    14074 datarootdir!$datarootdir$ac_delim 
    14075 datadir!$datadir$ac_delim 
    14076 sysconfdir!$sysconfdir$ac_delim 
    14077 sharedstatedir!$sharedstatedir$ac_delim 
    14078 localstatedir!$localstatedir$ac_delim 
    14079 includedir!$includedir$ac_delim 
    14080 oldincludedir!$oldincludedir$ac_delim 
    14081 docdir!$docdir$ac_delim 
    14082 infodir!$infodir$ac_delim 
    14083 htmldir!$htmldir$ac_delim 
    14084 dvidir!$dvidir$ac_delim 
    14085 pdfdir!$pdfdir$ac_delim 
    14086 psdir!$psdir$ac_delim 
    14087 libdir!$libdir$ac_delim 
    14088 localedir!$localedir$ac_delim 
    14089 mandir!$mandir$ac_delim 
    14090 DEFS!$DEFS$ac_delim 
    14091 ECHO_C!$ECHO_C$ac_delim 
    14092 ECHO_N!$ECHO_N$ac_delim 
    14093 ECHO_T!$ECHO_T$ac_delim 
    14094 LIBS!$LIBS$ac_delim 
    14095 build_alias!$build_alias$ac_delim 
    14096 host_alias!$host_alias$ac_delim 
    14097 target_alias!$target_alias$ac_delim 
    14098 build!$build$ac_delim 
    14099 build_cpu!$build_cpu$ac_delim 
    14100 build_vendor!$build_vendor$ac_delim 
    14101 build_os!$build_os$ac_delim 
    14102 host!$host$ac_delim 
    14103 host_cpu!$host_cpu$ac_delim 
    14104 host_vendor!$host_vendor$ac_delim 
    14105 host_os!$host_os$ac_delim 
    14106 target!$target$ac_delim 
    14107 target_cpu!$target_cpu$ac_delim 
    14108 target_vendor!$target_vendor$ac_delim 
    14109 target_os!$target_os$ac_delim 
    14110 CC!$CC$ac_delim 
    14111 CFLAGS!$CFLAGS$ac_delim 
    14112 LDFLAGS!$LDFLAGS$ac_delim 
    14113 CPPFLAGS!$CPPFLAGS$ac_delim 
    14114 ac_ct_CC!$ac_ct_CC$ac_delim 
    14115 EXEEXT!$EXEEXT$ac_delim 
    14116 OBJEXT!$OBJEXT$ac_delim 
    14117 CXX!$CXX$ac_delim 
    14118 CXXFLAGS!$CXXFLAGS$ac_delim 
    14119 ac_ct_CXX!$ac_ct_CXX$ac_delim 
    14120 AR!$AR$ac_delim 
    14121 LD!$LD$ac_delim 
    14122 LDOUT!$LDOUT$ac_delim 
    14123 RANLIB!$RANLIB$ac_delim 
    14124 LIBEXT!$LIBEXT$ac_delim 
    14125 LIBEXT2!$LIBEXT2$ac_delim 
    14126 CC_OUT!$CC_OUT$ac_delim 
    14127 CC_INC!$CC_INC$ac_delim 
    14128 CC_DEF!$CC_DEF$ac_delim 
    14129 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
    14130 CC_CFLAGS!$CC_CFLAGS$ac_delim 
    14131 ac_pjdir!$ac_pjdir$ac_delim 
    14132 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
    14133 CPP!$CPP$ac_delim 
    14134 GREP!$GREP$ac_delim 
    14135 EGREP!$EGREP$ac_delim 
    14136 ac_os_objs!$ac_os_objs$ac_delim 
    14137 ac_external_speex!$ac_external_speex$ac_delim 
    14138 ac_external_gsm!$ac_external_gsm$ac_delim 
    14139 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
    14140 ac_external_pa!$ac_external_pa$ac_delim 
    14141 ac_pa_cflags!$ac_pa_cflags$ac_delim 
    14142 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
    14143 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
    14144 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 
    14145 ac_pjmedia_video_has_ios!$ac_pjmedia_video_has_ios$ac_delim 
    14146 ac_ios_cflags!$ac_ios_cflags$ac_delim 
    14147 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 
    14148 ac_qt_cflags!$ac_qt_cflags$ac_delim 
    14149 ac_no_small_filter!$ac_no_small_filter$ac_delim 
    14150 ac_no_large_filter!$ac_no_large_filter$ac_delim 
    14151 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
    14152 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
    14153 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
    14154 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
    14155 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
    14156 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
    14157 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
    14158 _ACEOF 
    14159  
    14160   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
    14161     break 
    14162   elif $ac_last_try; then 
    14163     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    14164 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    14165    { (exit 1); exit 1; }; } 
    14166   else 
    14167     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    14168   fi 
    14169 done 
    14170  
    14171 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    14172 if test -n "$ac_eof"; then 
    14173   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    14174   ac_eof=`expr $ac_eof + 1` 
    14175 fi 
    14176  
    14177 cat >>$CONFIG_STATUS <<_ACEOF 
    14178 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
    14179 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    14180 _ACEOF 
    14181 sed ' 
    14182 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    14183 s/^/s,@/; s/!/@,|#_!!_#|/ 
    14184 :n 
    14185 t n 
    14186 s/'"$ac_delim"'$/,g/; t 
    14187 s/$/\\/; p 
    14188 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    14189 ' >>$CONFIG_STATUS <conf$$subs.sed 
    14190 rm -f conf$$subs.sed 
    14191 cat >>$CONFIG_STATUS <<_ACEOF 
    14192 CEOF$ac_eof 
    14193 _ACEOF 
    14194  
    14195  
    14196 ac_delim='%!_!# ' 
    14197 for ac_last_try in false false false false false :; do 
    14198   cat >conf$$subs.sed <<_ACEOF 
    14199 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
    14200 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 
    14201 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 
    14202 ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 
    14203 ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 
    14204 ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 
    14205 ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 
    14206 ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 
    14207 ac_no_ssl!$ac_no_ssl$ac_delim 
    14208 openssl_h_present!$openssl_h_present$ac_delim 
    14209 libssl_present!$libssl_present$ac_delim 
    14210 libcrypto_present!$libcrypto_present$ac_delim 
    14211 ac_cross_compile!$ac_cross_compile$ac_delim 
    14212 ac_linux_poll!$ac_linux_poll$ac_delim 
    14213 ac_host!$ac_host$ac_delim 
    14214 ac_main_obj!$ac_main_obj$ac_delim 
    14215 LIBOBJS!$LIBOBJS$ac_delim 
    14216 LTLIBOBJS!$LTLIBOBJS$ac_delim 
    14217 _ACEOF 
    14218  
    14219   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then 
    14220     break 
    14221   elif $ac_last_try; then 
    14222     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    14223 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    14224    { (exit 1); exit 1; }; } 
    14225   else 
    14226     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    14227   fi 
    14228 done 
    14229  
    14230 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    14231 if test -n "$ac_eof"; then 
    14232   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    14233   ac_eof=`expr $ac_eof + 1` 
    14234 fi 
    14235  
    14236 cat >>$CONFIG_STATUS <<_ACEOF 
    14237 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
    14238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
    14239 _ACEOF 
    14240 sed ' 
    14241 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    14242 s/^/s,@/; s/!/@,|#_!!_#|/ 
    14243 :n 
    14244 t n 
    14245 s/'"$ac_delim"'$/,g/; t 
    14246 s/$/\\/; p 
    14247 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    14248 ' >>$CONFIG_STATUS <conf$$subs.sed 
    14249 rm -f conf$$subs.sed 
    14250 cat >>$CONFIG_STATUS <<_ACEOF 
    14251 :end 
    14252 s/|#_!!_#|//g 
    14253 CEOF$ac_eof 
    14254 _ACEOF 
    14255  
    14256  
    14257 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    14258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    14259 # trailing colons and then remove the whole line if VPATH becomes empty 
    14260 # (actually we leave an empty line to preserve line numbers). 
    14261 if test "x$srcdir" = x.; then 
    14262   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    14263 s/:*\$(srcdir):*/:/ 
    14264 s/:*\${srcdir}:*/:/ 
    14265 s/:*@srcdir@:*/:/ 
    14266 s/^\([^=]*=[     ]*\):*/\1/ 
    14267 s/:*$// 
    14268 s/^[^=]*=[       ]*$// 
    14269 }' 
    14270 fi 
    14271  
    14272 cat >>$CONFIG_STATUS <<\_ACEOF 
    14273 fi # test -n "$CONFIG_FILES" 
    14274  
    14275  
    14276 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
    14277 do 
    14278   case $ac_tag in 
    14279   :[FHLC]) ac_mode=$ac_tag; continue;; 
    14280   esac 
    14281   case $ac_mode$ac_tag in 
    14282   :[FHL]*:*);; 
    14283   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
    14284 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
    14285    { (exit 1); exit 1; }; };; 
    14286   :[FH]-) ac_tag=-:-;; 
    14287   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    14288   esac 
    14289   ac_save_IFS=$IFS 
    14290   IFS=: 
    14291   set x $ac_tag 
    14292   IFS=$ac_save_IFS 
    14293   shift 
    14294   ac_file=$1 
    14295   shift 
    14296  
    14297   case $ac_mode in 
    14298   :L) ac_source=$1;; 
    14299   :[FH]) 
    14300     ac_file_inputs= 
    14301     for ac_f 
    14302     do 
    14303       case $ac_f in 
    14304       -) ac_f="$tmp/stdin";; 
    14305       *) # Look for the file first in the build tree, then in the source tree 
    14306          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    14307          # because $ac_f cannot contain `:'. 
    14308          test -f "$ac_f" || 
    14309            case $ac_f in 
    14310            [\\/$]*) false;; 
    14311            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    14312            esac || 
    14313            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
    14314 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
    14315    { (exit 1); exit 1; }; };; 
    14316       esac 
    14317       ac_file_inputs="$ac_file_inputs $ac_f" 
    14318     done 
    14319  
    14320     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    14321     # use $as_me), people would be surprised to read: 
    14322     #    /* config.h.  Generated by config.status.  */ 
    14323     configure_input="Generated from "`IFS=: 
    14324           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
    14325     if test x"$ac_file" != x-; then 
    14326       configure_input="$ac_file.  $configure_input" 
    14327       { echo "$as_me:$LINENO: creating $ac_file" >&5 
    14328 echo "$as_me: creating $ac_file" >&6;} 
    14329     fi 
    14330  
    14331     case $ac_tag in 
    14332     *:-:* | *:-) cat >"$tmp/stdin";; 
    14333     esac 
    14334     ;; 
    14335   esac 
    14336  
    14337   ac_dir=`$as_dirname -- "$ac_file" || 
    14338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    14339          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    14340          X"$ac_file" : 'X\(//\)$' \| \ 
    14341          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    14342 echo X"$ac_file" | 
    14343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    14344             s//\1/ 
    14345             q 
    14346           } 
    14347           /^X\(\/\/\)[^/].*/{ 
    14348             s//\1/ 
    14349             q 
    14350           } 
    14351           /^X\(\/\/\)$/{ 
    14352             s//\1/ 
    14353             q 
    14354           } 
    14355           /^X\(\/\).*/{ 
    14356             s//\1/ 
    14357             q 
    14358           } 
    14359           s/.*/./; q'` 
    14360   { as_dir="$ac_dir" 
     7321 
     7322# as_fn_mkdir_p 
     7323# ------------- 
     7324# Create "$as_dir" as a directory, including parents if necessary. 
     7325as_fn_mkdir_p () 
     7326{ 
     7327 
    143617328  case $as_dir in #( 
    143627329  -*) as_dir=./$as_dir;; 
    143637330  esac 
    14364   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
     7331  test -d "$as_dir" || eval $as_mkdir_p || { 
    143657332    as_dirs= 
    143667333    while :; do 
    143677334      case $as_dir in #( 
    14368       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
     7335      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    143697336      *) as_qdir=$as_dir;; 
    143707337      esac 
     
    143757342         X"$as_dir" : 'X\(//\)$' \| \ 
    143767343         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    14377 echo X"$as_dir" | 
     7344$as_echo X"$as_dir" | 
    143787345    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    143797346            s//\1/ 
     
    143967363    done 
    143977364    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    14398   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
    14399 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    14400    { (exit 1); exit 1; }; }; } 
     7365  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     7366 
     7367 
     7368} # as_fn_mkdir_p 
     7369if mkdir -p . 2>/dev/null; then 
     7370  as_mkdir_p='mkdir -p "$as_dir"' 
     7371else 
     7372  test -d ./-p && rmdir ./-p 
     7373  as_mkdir_p=false 
     7374fi 
     7375 
     7376if test -x / >/dev/null 2>&1; then 
     7377  as_test_x='test -x' 
     7378else 
     7379  if ls -dL / >/dev/null 2>&1; then 
     7380    as_ls_L_option=L 
     7381  else 
     7382    as_ls_L_option= 
     7383  fi 
     7384  as_test_x=' 
     7385    eval sh -c '\'' 
     7386      if test -d "$1"; then 
     7387        test -d "$1/."; 
     7388      else 
     7389        case $1 in #( 
     7390        -*)set "./$1";; 
     7391        esac; 
     7392        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
     7393        ???[sx]*):;;*)false;;esac;fi 
     7394    '\'' sh 
     7395  ' 
     7396fi 
     7397as_executable_p=$as_test_x 
     7398 
     7399# Sed expression to map a string onto a valid CPP name. 
     7400as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     7401 
     7402# Sed expression to map a string onto a valid variable name. 
     7403as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     7404 
     7405 
     7406exec 6>&1 
     7407## ----------------------------------- ## 
     7408## Main body of $CONFIG_STATUS script. ## 
     7409## ----------------------------------- ## 
     7410_ASEOF 
     7411test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
     7412 
     7413cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7414# Save the log message, to keep $0 and so on meaningful, and to 
     7415# report actual input values of CONFIG_FILES etc. instead of their 
     7416# values after options handling. 
     7417ac_log=" 
     7418This file was extended by pjproject $as_me 1.x, which was 
     7419generated by GNU Autoconf 2.65.  Invocation command line was 
     7420 
     7421  CONFIG_FILES    = $CONFIG_FILES 
     7422  CONFIG_HEADERS  = $CONFIG_HEADERS 
     7423  CONFIG_LINKS    = $CONFIG_LINKS 
     7424  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     7425  $ $0 $@ 
     7426 
     7427on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     7428" 
     7429 
     7430_ACEOF 
     7431 
     7432case $ac_config_files in *" 
     7433"*) set x $ac_config_files; shift; ac_config_files=$*;; 
     7434esac 
     7435 
     7436case $ac_config_headers in *" 
     7437"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
     7438esac 
     7439 
     7440 
     7441cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7442# Files that config.status was made for. 
     7443config_files="$ac_config_files" 
     7444config_headers="$ac_config_headers" 
     7445 
     7446_ACEOF 
     7447 
     7448cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7449ac_cs_usage="\ 
     7450\`$as_me' instantiates files and other configuration actions 
     7451from templates according to the current configuration.  Unless the files 
     7452and actions are specified as TAGs, all are instantiated by default. 
     7453 
     7454Usage: $0 [OPTION]... [TAG]... 
     7455 
     7456  -h, --help       print this help, then exit 
     7457  -V, --version    print version number and configuration settings, then exit 
     7458      --config     print configuration, then exit 
     7459  -q, --quiet, --silent 
     7460                   do not print progress messages 
     7461  -d, --debug      don't remove temporary files 
     7462      --recheck    update $as_me by reconfiguring in the same conditions 
     7463      --file=FILE[:TEMPLATE] 
     7464                   instantiate the configuration file FILE 
     7465      --header=FILE[:TEMPLATE] 
     7466                   instantiate the configuration header FILE 
     7467 
     7468Configuration files: 
     7469$config_files 
     7470 
     7471Configuration headers: 
     7472$config_headers 
     7473 
     7474Report bugs to the package provider." 
     7475 
     7476_ACEOF 
     7477cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7478ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
     7479ac_cs_version="\\ 
     7480pjproject config.status 1.x 
     7481configured by $0, generated by GNU Autoconf 2.65, 
     7482  with options \\"\$ac_cs_config\\" 
     7483 
     7484Copyright (C) 2009 Free Software Foundation, Inc. 
     7485This config.status script is free software; the Free Software Foundation 
     7486gives unlimited permission to copy, distribute and modify it." 
     7487 
     7488ac_pwd='$ac_pwd' 
     7489srcdir='$srcdir' 
     7490test -n "\$AWK" || AWK=awk 
     7491_ACEOF 
     7492 
     7493cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7494# The default lists apply if the user does not specify any file. 
     7495ac_need_defaults=: 
     7496while test $# != 0 
     7497do 
     7498  case $1 in 
     7499  --*=*) 
     7500    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     7501    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     7502    ac_shift=: 
     7503    ;; 
     7504  *) 
     7505    ac_option=$1 
     7506    ac_optarg=$2 
     7507    ac_shift=shift 
     7508    ;; 
     7509  esac 
     7510 
     7511  case $ac_option in 
     7512  # Handling of the options. 
     7513  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     7514    ac_cs_recheck=: ;; 
     7515  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     7516    $as_echo "$ac_cs_version"; exit ;; 
     7517  --config | --confi | --conf | --con | --co | --c ) 
     7518    $as_echo "$ac_cs_config"; exit ;; 
     7519  --debug | --debu | --deb | --de | --d | -d ) 
     7520    debug=: ;; 
     7521  --file | --fil | --fi | --f ) 
     7522    $ac_shift 
     7523    case $ac_optarg in 
     7524    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7525    esac 
     7526    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     7527    ac_need_defaults=false;; 
     7528  --header | --heade | --head | --hea ) 
     7529    $ac_shift 
     7530    case $ac_optarg in 
     7531    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7532    esac 
     7533    as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
     7534    ac_need_defaults=false;; 
     7535  --he | --h) 
     7536    # Conflict between --help and --header 
     7537    as_fn_error "ambiguous option: \`$1' 
     7538Try \`$0 --help' for more information.";; 
     7539  --help | --hel | -h ) 
     7540    $as_echo "$ac_cs_usage"; exit ;; 
     7541  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     7542  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     7543    ac_cs_silent=: ;; 
     7544 
     7545  # This is an error. 
     7546  -*) as_fn_error "unrecognized option: \`$1' 
     7547Try \`$0 --help' for more information." ;; 
     7548 
     7549  *) as_fn_append ac_config_targets " $1" 
     7550     ac_need_defaults=false ;; 
     7551 
     7552  esac 
     7553  shift 
     7554done 
     7555 
     7556ac_configure_extra_args= 
     7557 
     7558if $ac_cs_silent; then 
     7559  exec 6>/dev/null 
     7560  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     7561fi 
     7562 
     7563_ACEOF 
     7564cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7565if \$ac_cs_recheck; then 
     7566  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7567  shift 
     7568  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     7569  CONFIG_SHELL='$SHELL' 
     7570  export CONFIG_SHELL 
     7571  exec "\$@" 
     7572fi 
     7573 
     7574_ACEOF 
     7575cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7576exec 5>>config.log 
     7577{ 
     7578  echo 
     7579  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     7580## Running $as_me. ## 
     7581_ASBOX 
     7582  $as_echo "$ac_log" 
     7583} >&5 
     7584 
     7585_ACEOF 
     7586cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7587_ACEOF 
     7588 
     7589cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7590 
     7591# Handling of arguments. 
     7592for ac_config_target in $ac_config_targets 
     7593do 
     7594  case $ac_config_target in 
     7595    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     7596    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     7597    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     7598    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     7599    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     7600    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     7601    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     7602    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     7603    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     7604    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     7605    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     7606    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     7607    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     7608    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     7609 
     7610  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     7611  esac 
     7612done 
     7613 
     7614 
     7615# If the user did not use the arguments to specify the items to instantiate, 
     7616# then the envvar interface is used.  Set only those that are not. 
     7617# We use the long form for the default assignment because of an extremely 
     7618# bizarre bug on SunOS 4.1.3. 
     7619if $ac_need_defaults; then 
     7620  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     7621  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     7622fi 
     7623 
     7624# Have a temporary directory for convenience.  Make it in the build tree 
     7625# simply because there is no reason against having it here, and in addition, 
     7626# creating and moving files from /tmp can sometimes cause problems. 
     7627# Hook for its removal unless debugging. 
     7628# Note that there is a small window in which the directory will not be cleaned: 
     7629# after its creation but before its name has been assigned to `$tmp'. 
     7630$debug || 
     7631{ 
     7632  tmp= 
     7633  trap 'exit_status=$? 
     7634  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     7635' 0 
     7636  trap 'as_fn_exit 1' 1 2 13 15 
     7637} 
     7638# Create a (secure) tmp directory for tmp files. 
     7639 
     7640{ 
     7641  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     7642  test -n "$tmp" && test -d "$tmp" 
     7643}  || 
     7644{ 
     7645  tmp=./conf$$-$RANDOM 
     7646  (umask 077 && mkdir "$tmp") 
     7647} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     7648 
     7649# Set up the scripts for CONFIG_FILES section. 
     7650# No need to generate them if there are no CONFIG_FILES. 
     7651# This happens for instance with `./config.status config.h'. 
     7652if test -n "$CONFIG_FILES"; then 
     7653 
     7654 
     7655ac_cr=`echo X | tr X '\015'` 
     7656# On cygwin, bash can eat \r inside `` if the user requested igncr. 
     7657# But we know of no other shell where ac_cr would be empty at this 
     7658# point, so we can use a bashism as a fallback. 
     7659if test "x$ac_cr" = x; then 
     7660  eval ac_cr=\$\'\\r\' 
     7661fi 
     7662ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
     7663if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
     7664  ac_cs_awk_cr='\r' 
     7665else 
     7666  ac_cs_awk_cr=$ac_cr 
     7667fi 
     7668 
     7669echo 'BEGIN {' >"$tmp/subs1.awk" && 
     7670_ACEOF 
     7671 
     7672 
     7673{ 
     7674  echo "cat >conf$$subs.awk <<_ACEOF" && 
     7675  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
     7676  echo "_ACEOF" 
     7677} >conf$$subs.sh || 
     7678  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7679ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     7680ac_delim='%!_!# ' 
     7681for ac_last_try in false false false false false :; do 
     7682  . ./conf$$subs.sh || 
     7683    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7684 
     7685  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     7686  if test $ac_delim_n = $ac_delim_num; then 
     7687    break 
     7688  elif $ac_last_try; then 
     7689    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7690  else 
     7691    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7692  fi 
     7693done 
     7694rm -f conf$$subs.sh 
     7695 
     7696cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7697cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     7698_ACEOF 
     7699sed -n ' 
     7700h 
     7701s/^/S["/; s/!.*/"]=/ 
     7702p 
     7703g 
     7704s/^[^!]*!// 
     7705:repl 
     7706t repl 
     7707s/'"$ac_delim"'$// 
     7708t delim 
     7709:nl 
     7710h 
     7711s/\(.\{148\}\)..*/\1/ 
     7712t more1 
     7713s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
     7714p 
     7715n 
     7716b repl 
     7717:more1 
     7718s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7719p 
     7720g 
     7721s/.\{148\}// 
     7722t nl 
     7723:delim 
     7724h 
     7725s/\(.\{148\}\)..*/\1/ 
     7726t more2 
     7727s/["\\]/\\&/g; s/^/"/; s/$/"/ 
     7728p 
     7729b 
     7730:more2 
     7731s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7732p 
     7733g 
     7734s/.\{148\}// 
     7735t delim 
     7736' <conf$$subs.awk | sed ' 
     7737/^[^""]/{ 
     7738  N 
     7739  s/\n// 
     7740} 
     7741' >>$CONFIG_STATUS || ac_write_fail=1 
     7742rm -f conf$$subs.awk 
     7743cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7744_ACAWK 
     7745cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     7746  for (key in S) S_is_set[key] = 1 
     7747  FS = "" 
     7748 
     7749} 
     7750{ 
     7751  line = $ 0 
     7752  nfields = split(line, field, "@") 
     7753  substed = 0 
     7754  len = length(field[1]) 
     7755  for (i = 2; i < nfields; i++) { 
     7756    key = field[i] 
     7757    keylen = length(key) 
     7758    if (S_is_set[key]) { 
     7759      value = S[key] 
     7760      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
     7761      len += length(value) + length(field[++i]) 
     7762      substed = 1 
     7763    } else 
     7764      len += 1 + keylen 
     7765  } 
     7766 
     7767  print line 
     7768} 
     7769 
     7770_ACAWK 
     7771_ACEOF 
     7772cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7773if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
     7774  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
     7775else 
     7776  cat 
     7777fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
     7778  || as_fn_error "could not setup config files machinery" "$LINENO" 5 
     7779_ACEOF 
     7780 
     7781# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     7782# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     7783# trailing colons and then remove the whole line if VPATH becomes empty 
     7784# (actually we leave an empty line to preserve line numbers). 
     7785if test "x$srcdir" = x.; then 
     7786  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     7787s/:*\$(srcdir):*/:/ 
     7788s/:*\${srcdir}:*/:/ 
     7789s/:*@srcdir@:*/:/ 
     7790s/^\([^=]*=[     ]*\):*/\1/ 
     7791s/:*$// 
     7792s/^[^=]*=[       ]*$// 
     7793}' 
     7794fi 
     7795 
     7796cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7797fi # test -n "$CONFIG_FILES" 
     7798 
     7799# Set up the scripts for CONFIG_HEADERS section. 
     7800# No need to generate them if there are no CONFIG_HEADERS. 
     7801# This happens for instance with `./config.status Makefile'. 
     7802if test -n "$CONFIG_HEADERS"; then 
     7803cat >"$tmp/defines.awk" <<\_ACAWK || 
     7804BEGIN { 
     7805_ACEOF 
     7806 
     7807# Transform confdefs.h into an awk script `defines.awk', embedded as 
     7808# here-document in config.status, that substitutes the proper values into 
     7809# config.h.in to produce config.h. 
     7810 
     7811# Create a delimiter string that does not exist in confdefs.h, to ease 
     7812# handling of long lines. 
     7813ac_delim='%!_!# ' 
     7814for ac_last_try in false false :; do 
     7815  ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
     7816  if test -z "$ac_t"; then 
     7817    break 
     7818  elif $ac_last_try; then 
     7819    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     7820  else 
     7821    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7822  fi 
     7823done 
     7824 
     7825# For the awk script, D is an array of macro values keyed by name, 
     7826# likewise P contains macro parameters if any.  Preserve backslash 
     7827# newline sequences. 
     7828 
     7829ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     7830sed -n ' 
     7831s/.\{148\}/&'"$ac_delim"'/g 
     7832t rset 
     7833:rset 
     7834s/^[     ]*#[    ]*define[       ][      ]*/ / 
     7835t def 
     7836d 
     7837:def 
     7838s/\\$// 
     7839t bsnl 
     7840s/["\\]/\\&/g 
     7841s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7842D["\1"]=" \3"/p 
     7843s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
     7844d 
     7845:bsnl 
     7846s/["\\]/\\&/g 
     7847s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7848D["\1"]=" \3\\\\\\n"\\/p 
     7849t cont 
     7850s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
     7851t cont 
     7852d 
     7853:cont 
     7854n 
     7855s/.\{148\}/&'"$ac_delim"'/g 
     7856t clear 
     7857:clear 
     7858s/\\$// 
     7859t bsnlc 
     7860s/["\\]/\\&/g; s/^/"/; s/$/"/p 
     7861d 
     7862:bsnlc 
     7863s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
     7864b cont 
     7865' <confdefs.h | sed ' 
     7866s/'"$ac_delim"'/"\\\ 
     7867"/g' >>$CONFIG_STATUS || ac_write_fail=1 
     7868 
     7869cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7870  for (key in D) D_is_set[key] = 1 
     7871  FS = "" 
     7872} 
     7873/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
     7874  line = \$ 0 
     7875  split(line, arg, " ") 
     7876  if (arg[1] == "#") { 
     7877    defundef = arg[2] 
     7878    mac1 = arg[3] 
     7879  } else { 
     7880    defundef = substr(arg[1], 2) 
     7881    mac1 = arg[2] 
     7882  } 
     7883  split(mac1, mac2, "(") #) 
     7884  macro = mac2[1] 
     7885  prefix = substr(line, 1, index(line, defundef) - 1) 
     7886  if (D_is_set[macro]) { 
     7887    # Preserve the white space surrounding the "#". 
     7888    print prefix "define", macro P[macro] D[macro] 
     7889    next 
     7890  } else { 
     7891    # Replace #undef with comments.  This is necessary, for example, 
     7892    # in the case of _POSIX_SOURCE, which is predefined and required 
     7893    # on some systems where configure will not decide to define it. 
     7894    if (defundef == "undef") { 
     7895      print "/*", prefix defundef, macro, "*/" 
     7896      next 
     7897    } 
     7898  } 
     7899} 
     7900{ print } 
     7901_ACAWK 
     7902_ACEOF 
     7903cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7904  as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     7905fi # test -n "$CONFIG_HEADERS" 
     7906 
     7907 
     7908eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
     7909shift 
     7910for ac_tag 
     7911do 
     7912  case $ac_tag in 
     7913  :[FHLC]) ac_mode=$ac_tag; continue;; 
     7914  esac 
     7915  case $ac_mode$ac_tag in 
     7916  :[FHL]*:*);; 
     7917  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     7918  :[FH]-) ac_tag=-:-;; 
     7919  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     7920  esac 
     7921  ac_save_IFS=$IFS 
     7922  IFS=: 
     7923  set x $ac_tag 
     7924  IFS=$ac_save_IFS 
     7925  shift 
     7926  ac_file=$1 
     7927  shift 
     7928 
     7929  case $ac_mode in 
     7930  :L) ac_source=$1;; 
     7931  :[FH]) 
     7932    ac_file_inputs= 
     7933    for ac_f 
     7934    do 
     7935      case $ac_f in 
     7936      -) ac_f="$tmp/stdin";; 
     7937      *) # Look for the file first in the build tree, then in the source tree 
     7938         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     7939         # because $ac_f cannot contain `:'. 
     7940         test -f "$ac_f" || 
     7941           case $ac_f in 
     7942           [\\/$]*) false;; 
     7943           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     7944           esac || 
     7945           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     7946      esac 
     7947      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     7948      as_fn_append ac_file_inputs " '$ac_f'" 
     7949    done 
     7950 
     7951    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     7952    # use $as_me), people would be surprised to read: 
     7953    #    /* config.h.  Generated by config.status.  */ 
     7954    configure_input='Generated from '` 
     7955          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
     7956        `' by configure.' 
     7957    if test x"$ac_file" != x-; then 
     7958      configure_input="$ac_file.  $configure_input" 
     7959      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
     7960$as_echo "$as_me: creating $ac_file" >&6;} 
     7961    fi 
     7962    # Neutralize special characters interpreted by sed in replacement strings. 
     7963    case $configure_input in #( 
     7964    *\&* | *\|* | *\\* ) 
     7965       ac_sed_conf_input=`$as_echo "$configure_input" | 
     7966       sed 's/[\\\\&|]/\\\\&/g'`;; #( 
     7967    *) ac_sed_conf_input=$configure_input;; 
     7968    esac 
     7969 
     7970    case $ac_tag in 
     7971    *:-:* | *:-) cat >"$tmp/stdin" \ 
     7972      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     7973    esac 
     7974    ;; 
     7975  esac 
     7976 
     7977  ac_dir=`$as_dirname -- "$ac_file" || 
     7978$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     7979         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     7980         X"$ac_file" : 'X\(//\)$' \| \ 
     7981         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     7982$as_echo X"$ac_file" | 
     7983    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     7984            s//\1/ 
     7985            q 
     7986          } 
     7987          /^X\(\/\/\)[^/].*/{ 
     7988            s//\1/ 
     7989            q 
     7990          } 
     7991          /^X\(\/\/\)$/{ 
     7992            s//\1/ 
     7993            q 
     7994          } 
     7995          /^X\(\/\).*/{ 
     7996            s//\1/ 
     7997            q 
     7998          } 
     7999          s/.*/./; q'` 
     8000  as_dir="$ac_dir"; as_fn_mkdir_p 
    144018001  ac_builddir=. 
    144028002 
     
    144048004.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    144058005*) 
    14406   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     8006  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    144078007  # A ".." for each directory in $ac_dir_suffix. 
    14408   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     8008  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    144098009  case $ac_top_builddir_sub in 
    144108010  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    144428042_ACEOF 
    144438043 
    14444 cat >>$CONFIG_STATUS <<\_ACEOF 
     8044cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    144458045# If the template does not know about datarootdir, expand it. 
    144468046# FIXME: This hack should be removed a few years after 2.60. 
    144478047ac_datarootdir_hack=; ac_datarootdir_seen= 
    14448  
    14449 case `sed -n '/datarootdir/ { 
     8048ac_sed_dataroot=' 
     8049/datarootdir/ { 
    144508050  p 
    144518051  q 
     
    144558055/@infodir@/p 
    144568056/@localedir@/p 
    14457 /@mandir@/p 
    14458 ' $ac_file_inputs` in 
     8057/@mandir@/p' 
     8058case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
    144598059*datarootdir*) ac_datarootdir_seen=yes;; 
    144608060*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    14461   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    14462 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    14463 _ACEOF 
    14464 cat >>$CONFIG_STATUS <<_ACEOF 
     8061  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     8062$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     8063_ACEOF 
     8064cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    144658065  ac_datarootdir_hack=' 
    144668066  s&@datadir@&$datadir&g 
     
    144698069  s&@localedir@&$localedir&g 
    144708070  s&@mandir@&$mandir&g 
    14471     s&\\\${datarootdir}&$datarootdir&g' ;; 
     8071  s&\\\${datarootdir}&$datarootdir&g' ;; 
    144728072esac 
    144738073_ACEOF 
     
    144768076# Shell code in configure.ac might set extrasub. 
    144778077# FIXME: do we really want to maintain this feature? 
    14478 cat >>$CONFIG_STATUS <<_ACEOF 
    14479   sed "$ac_vpsub 
     8078cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     8079ac_sed_extra="$ac_vpsub 
    144808080$extrasub 
    144818081_ACEOF 
    14482 cat >>$CONFIG_STATUS <<\_ACEOF 
     8082cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    144838083:t 
    144848084/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    14485 s&@configure_input@&$configure_input&;t t 
     8085s|@configure_input@|$ac_sed_conf_input|;t t 
    144868086s&@top_builddir@&$ac_top_builddir_sub&;t t 
     8087s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    144878088s&@srcdir@&$ac_srcdir&;t t 
    144888089s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    144938094s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    144948095$ac_datarootdir_hack 
    14495 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
     8096" 
     8097eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
     8098  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    144968099 
    144978100test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    144988101  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    144998102  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    14500   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     8103  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    145018104which seems to be undefined.  Please make sure it is defined." >&5 
    14502 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     8105$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    145038106which seems to be undefined.  Please make sure it is defined." >&2;} 
    145048107 
    145058108  rm -f "$tmp/stdin" 
    145068109  case $ac_file in 
    14507   -) cat "$tmp/out"; rm -f "$tmp/out";; 
    14508   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
    14509   esac 
     8110  -) cat "$tmp/out" && rm -f "$tmp/out";; 
     8111  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     8112  esac \ 
     8113  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    145108114 ;; 
    145118115  :H) 
     
    145138117  # CONFIG_HEADER 
    145148118  # 
    14515 _ACEOF 
    14516  
    14517 # Transform confdefs.h into a sed script `conftest.defines', that 
    14518 # substitutes the proper values into config.h.in to produce config.h. 
    14519 rm -f conftest.defines conftest.tail 
    14520 # First, append a space to every undef/define line, to ease matching. 
    14521 echo 's/$/ /' >conftest.defines 
    14522 # Then, protect against being on the right side of a sed subst, or in 
    14523 # an unquoted here document, in config.status.  If some macros were 
    14524 # called several times there might be several #defines for the same 
    14525 # symbol, which is useless.  But do not sort them, since the last 
    14526 # AC_DEFINE must be honored. 
    14527 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    14528 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
    14529 # NAME is the cpp macro being defined, VALUE is the value it is being given. 
    14530 # PARAMS is the parameter list in the macro definition--in most cases, it's 
    14531 # just an empty string. 
    14532 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
    14533 ac_dB='\\)[      (].*,\\1define\\2' 
    14534 ac_dC=' ' 
    14535 ac_dD=' ,' 
    14536  
    14537 uniq confdefs.h | 
    14538   sed -n ' 
    14539         t rset 
    14540         :rset 
    14541         s/^[     ]*#[    ]*define[       ][      ]*// 
    14542         t ok 
    14543         d 
    14544         :ok 
    14545         s/[\\&,]/\\&/g 
    14546         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
    14547         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
    14548   ' >>conftest.defines 
    14549  
    14550 # Remove the space that was appended to ease matching. 
    14551 # Then replace #undef with comments.  This is necessary, for 
    14552 # example, in the case of _POSIX_SOURCE, which is predefined and required 
    14553 # on some systems where configure will not decide to define it. 
    14554 # (The regexp can be short, since the line contains either #define or #undef.) 
    14555 echo 's/ $// 
    14556 s,^[     #]*u.*,/* & */,' >>conftest.defines 
    14557  
    14558 # Break up conftest.defines: 
    14559 ac_max_sed_lines=50 
    14560  
    14561 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
    14562 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
    14563 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
    14564 # et cetera. 
    14565 ac_in='$ac_file_inputs' 
    14566 ac_out='"$tmp/out1"' 
    14567 ac_nxt='"$tmp/out2"' 
    14568  
    14569 while : 
    14570 do 
    14571   # Write a here document: 
    14572     cat >>$CONFIG_STATUS <<_ACEOF 
    14573     # First, check the format of the line: 
    14574     cat >"\$tmp/defines.sed" <<\\CEOF 
    14575 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
    14576 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
    14577 b 
    14578 :def 
    14579 _ACEOF 
    14580   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
    14581   echo 'CEOF 
    14582     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
    14583   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
    14584   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
    14585   grep . conftest.tail >/dev/null || break 
    14586   rm -f conftest.defines 
    14587   mv conftest.tail conftest.defines 
    14588 done 
    14589 rm -f conftest.defines conftest.tail 
    14590  
    14591 echo "ac_result=$ac_in" >>$CONFIG_STATUS 
    14592 cat >>$CONFIG_STATUS <<\_ACEOF 
    145938119  if test x"$ac_file" != x-; then 
    14594     echo "/* $configure_input  */" >"$tmp/config.h" 
    14595     cat "$ac_result" >>"$tmp/config.h" 
    14596     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
    14597       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    14598 echo "$as_me: $ac_file is unchanged" >&6;} 
     8120    { 
     8121      $as_echo "/* $configure_input  */" \ 
     8122      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
     8123    } >"$tmp/config.h" \ 
     8124      || as_fn_error "could not create $ac_file" "$LINENO" 5 
     8125    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     8126      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
     8127$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    145998128    else 
    14600       rm -f $ac_file 
    14601       mv "$tmp/config.h" $ac_file 
     8129      rm -f "$ac_file" 
     8130      mv "$tmp/config.h" "$ac_file" \ 
     8131        || as_fn_error "could not create $ac_file" "$LINENO" 5 
    146028132    fi 
    146038133  else 
    14604     echo "/* $configure_input  */" 
    14605     cat "$ac_result" 
     8134    $as_echo "/* $configure_input  */" \ 
     8135      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
     8136      || as_fn_error "could not create -" "$LINENO" 5 
    146068137  fi 
    14607   rm -f "$tmp/out12" 
    146088138 ;; 
    146098139 
     
    146148144 
    146158145 
    14616 { (exit 0); exit 0; } 
    14617 _ACEOF 
    14618 chmod +x $CONFIG_STATUS 
     8146as_fn_exit 0 
     8147_ACEOF 
    146198148ac_clean_files=$ac_clean_files_save 
     8149 
     8150test $ac_write_fail = 0 || 
     8151  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    146208152 
    146218153 
     
    146388170  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    146398171  # would make configure fail if this is the last instruction. 
    14640   $ac_cs_success || { (exit 1); exit 1; } 
    14641 fi 
    14642  
    14643  
    14644  
    14645 { echo "$as_me:$LINENO: result: 
     8172  $ac_cs_success || as_fn_exit $? 
     8173fi 
     8174if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
     8175  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
     8176$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
     8177fi 
     8178 
     8179 
     8180 
     8181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
    146468182 
    146478183Configurations 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. 
     
    146538189The next step now is to run 'make dep' and 'make'. 
    146548190" >&5 
    14655 echo "${ECHO_T} 
     8191$as_echo " 
    146568192 
    146578193Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. 
  • pjproject/trunk/aconfigure.ac

    r3718 r3827  
    821821                AC_SUBST(ac_ffmpeg_ldflags) 
    822822 
     823                dnl # libz, needed by newer ffmpeg 
     824                AC_CHECK_LIB(z, deflate) 
     825 
    823826                FFMPEG_PREFIX="" 
    824827                if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then 
Note: See TracChangeset for help on using the changeset viewer.