Changeset 3859 for pjproject


Ignore:
Timestamp:
Oct 26, 2011 6:49:34 AM (13 years ago)
Author:
bennylp
Message:

More H.264 (re #1390): added x264 in aconfigure

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3841 r3859  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 
     3# Generated by GNU Autoconf 2.65 for pjproject 1.x. 
     4# 
    45# 
    56# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
     8# Inc. 
     9# 
     10# 
    711# This configure script is free software; the Free Software Foundation 
    812# gives unlimited permission to copy, distribute and modify it. 
    9 ## --------------------- ## 
    10 ## M4sh Initialization.  ## 
    11 ## --------------------- ## 
     13## -------------------- ## 
     14## M4sh Initialization. ## 
     15## -------------------- ## 
    1216 
    1317# Be more Bourne compatible 
    1418DUALCASE=1; export DUALCASE # for MKS sh 
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    1620  emulate sh 
    1721  NULLCMD=: 
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    1923  # is contrary to our usage.  Disable this feature. 
    2024  alias -g '${1+"$@"}'='"$@"' 
    2125  setopt NO_GLOB_SUBST 
    2226else 
    23   case `(set -o) 2>/dev/null` in 
    24   *posix*) set -o posix ;; 
     27  case `(set -o) 2>/dev/null` in #( 
     28  *posix*) : 
     29    set -o posix ;; #( 
     30  *) : 
     31     ;; 
    2532esac 
    26  
    27 fi 
    28  
    29  
    30  
    31  
    32 # PATH needs CR 
    33 # Avoid depending upon Character Ranges. 
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    37 as_cr_digits='0123456789' 
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     33fi 
     34 
     35 
     36as_nl=' 
     37' 
     38export as_nl 
     39# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     43# Prefer a ksh shell builtin over an external printf program on Solaris, 
     44# but without wasting forks for bash or zsh. 
     45if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     47  as_echo='print -r --' 
     48  as_echo_n='print -rn --' 
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     50  as_echo='printf %s\n' 
     51  as_echo_n='printf %s' 
     52else 
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     55    as_echo_n='/usr/ucb/echo -n' 
     56  else 
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     58    as_echo_n_body='eval 
     59      arg=$1; 
     60      case $arg in #( 
     61      *"$as_nl"*) 
     62        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     64      esac; 
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     66    ' 
     67    export as_echo_n_body 
     68    as_echo_n='sh -c $as_echo_n_body as_echo' 
     69  fi 
     70  export as_echo_body 
     71  as_echo='sh -c $as_echo_body as_echo' 
     72fi 
    3973 
    4074# The user is always right. 
    4175if test "${PATH_SEPARATOR+set}" != set; then 
    42   echo "#! /bin/sh" >conf$$.sh 
    43   echo  "exit 0"   >>conf$$.sh 
    44   chmod +x conf$$.sh 
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    46     PATH_SEPARATOR=';' 
    47   else 
    48     PATH_SEPARATOR=: 
    49   fi 
    50   rm -f conf$$.sh 
    51 fi 
    52  
    53 # Support unset when possible. 
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    55   as_unset=unset 
    56 else 
    57   as_unset=false 
     76  PATH_SEPARATOR=: 
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     79      PATH_SEPARATOR=';' 
     80  } 
    5881fi 
    5982 
     
    6487# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    6588# splitting by setting IFS to empty value.) 
    66 as_nl=' 
    67 ' 
    6889IFS=" ""        $as_nl" 
    6990 
    7091# Find who we are.  Look in the path if we contain no directory separator. 
    71 case $0 in 
     92case $0 in #(( 
    7293  *[\\/]* ) as_myself=$0 ;; 
    7394  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    7697  IFS=$as_save_IFS 
    7798  test -z "$as_dir" && as_dir=. 
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    79 done 
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     100  done 
    80101IFS=$as_save_IFS 
    81102 
     
    88109fi 
    89110if test ! -f "$as_myself"; then 
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    91   { (exit 1); exit 1; } 
    92 fi 
    93  
    94 # Work around bugs in pre-3.0 UWIN ksh. 
    95 for as_var in ENV MAIL MAILPATH 
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     112  exit 1 
     113fi 
     114 
     115# Unset variables that we do not need and which cause bugs (e.g. in 
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     117# suppresses any "Segmentation fault" message there.  '((' could 
     118# trigger a bug in pdksh 5.2.14. 
     119for as_var in BASH_ENV ENV MAIL MAILPATH 
     120do eval test x\${$as_var+set} = xset \ 
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    97122done 
    98123PS1='$ ' 
     
    101126 
    102127# NLS nuisances. 
    103 for as_var in \ 
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    106   LC_TELEPHONE LC_TIME 
     128LC_ALL=C 
     129export LC_ALL 
     130LANGUAGE=C 
     131export LANGUAGE 
     132 
     133# CDPATH. 
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     135 
     136if test "x$CONFIG_SHELL" = x; then 
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     138  emulate sh 
     139  NULLCMD=: 
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
     141  # is contrary to our usage.  Disable this feature. 
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     143  setopt NO_GLOB_SUBST 
     144else 
     145  case \`(set -o) 2>/dev/null\` in #( 
     146  *posix*) : 
     147    set -o posix ;; #( 
     148  *) : 
     149     ;; 
     150esac 
     151fi 
     152" 
     153  as_required="as_fn_return () { (exit \$1); } 
     154as_fn_success () { as_fn_return 0; } 
     155as_fn_failure () { as_fn_return 1; } 
     156as_fn_ret_success () { return 0; } 
     157as_fn_ret_failure () { return 1; } 
     158 
     159exitcode=0 
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
     165 
     166else 
     167  exitcode=1; echo positional parameters were not saved. 
     168fi 
     169test x\$exitcode = x0 || exit 1" 
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
     174test \$(( 1 + 1 )) = 2 || exit 1" 
     175  if (eval "$as_required") 2>/dev/null; then : 
     176  as_have_required=yes 
     177else 
     178  as_have_required=no 
     179fi 
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
     181 
     182else 
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     184as_found=false 
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    107186do 
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    109     eval $as_var=C; export $as_var 
     187  IFS=$as_save_IFS 
     188  test -z "$as_dir" && as_dir=. 
     189  as_found=: 
     190  case $as_dir in #( 
     191         /*) 
     192           for as_base in sh bash ksh sh5; do 
     193             # Try only shells that exist, to save several forks. 
     194             as_shell=$as_dir/$as_base 
     195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     197  CONFIG_SHELL=$as_shell as_have_required=yes 
     198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     199  break 2 
     200fi 
     201fi 
     202           done;; 
     203       esac 
     204  as_found=false 
     205done 
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
     207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
     208  CONFIG_SHELL=$SHELL as_have_required=yes 
     209fi; } 
     210IFS=$as_save_IFS 
     211 
     212 
     213      if test "x$CONFIG_SHELL" != x; then : 
     214  # We cannot yet assume a decent shell, so we have to provide a 
     215        # neutralization value for shells without unset; and this also 
     216        # works around shells that cannot unset nonexistent variables. 
     217        BASH_ENV=/dev/null 
     218        ENV=/dev/null 
     219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     220        export CONFIG_SHELL 
     221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     222fi 
     223 
     224    if test x$as_have_required = xno; then : 
     225  $as_echo "$0: This script requires a shell more modern than all" 
     226  $as_echo "$0: the shells that I found on your system." 
     227  if test x${ZSH_VERSION+set} = xset ; then 
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
    110230  else 
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
     232$0: including any error possibly output before this 
     233$0: message. Then install a modern shell, or manually run 
     234$0: the script under such a shell if you do have one." 
    112235  fi 
    113 done 
    114  
    115 # Required to use basename. 
     236  exit 1 
     237fi 
     238fi 
     239fi 
     240SHELL=${CONFIG_SHELL-/bin/sh} 
     241export SHELL 
     242# Unset more variables known to interfere with behavior of common tools. 
     243CLICOLOR_FORCE= GREP_OPTIONS= 
     244unset CLICOLOR_FORCE GREP_OPTIONS 
     245 
     246## --------------------- ## 
     247## M4sh Shell Functions. ## 
     248## --------------------- ## 
     249# as_fn_unset VAR 
     250# --------------- 
     251# Portably unset VAR. 
     252as_fn_unset () 
     253{ 
     254  { eval $1=; unset $1;} 
     255} 
     256as_unset=as_fn_unset 
     257 
     258# as_fn_set_status STATUS 
     259# ----------------------- 
     260# Set $? to STATUS, without forking. 
     261as_fn_set_status () 
     262{ 
     263  return $1 
     264} # as_fn_set_status 
     265 
     266# as_fn_exit STATUS 
     267# ----------------- 
     268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     269as_fn_exit () 
     270{ 
     271  set +e 
     272  as_fn_set_status $1 
     273  exit $1 
     274} # as_fn_exit 
     275 
     276# as_fn_mkdir_p 
     277# ------------- 
     278# Create "$as_dir" as a directory, including parents if necessary. 
     279as_fn_mkdir_p () 
     280{ 
     281 
     282  case $as_dir in #( 
     283  -*) as_dir=./$as_dir;; 
     284  esac 
     285  test -d "$as_dir" || eval $as_mkdir_p || { 
     286    as_dirs= 
     287    while :; do 
     288      case $as_dir in #( 
     289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     290      *) as_qdir=$as_dir;; 
     291      esac 
     292      as_dirs="'$as_qdir' $as_dirs" 
     293      as_dir=`$as_dirname -- "$as_dir" || 
     294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     295         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     296         X"$as_dir" : 'X\(//\)$' \| \ 
     297         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     298$as_echo X"$as_dir" | 
     299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     300            s//\1/ 
     301            q 
     302          } 
     303          /^X\(\/\/\)[^/].*/{ 
     304            s//\1/ 
     305            q 
     306          } 
     307          /^X\(\/\/\)$/{ 
     308            s//\1/ 
     309            q 
     310          } 
     311          /^X\(\/\).*/{ 
     312            s//\1/ 
     313            q 
     314          } 
     315          s/.*/./; q'` 
     316      test -d "$as_dir" && break 
     317    done 
     318    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     320 
     321 
     322} # as_fn_mkdir_p 
     323# as_fn_append VAR VALUE 
     324# ---------------------- 
     325# Append the text in VALUE to the end of the definition contained in VAR. Take 
     326# advantage of any shell optimizations that allow amortized linear growth over 
     327# repeated appends, instead of the typical quadratic growth present in naive 
     328# implementations. 
     329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     330  eval 'as_fn_append () 
     331  { 
     332    eval $1+=\$2 
     333  }' 
     334else 
     335  as_fn_append () 
     336  { 
     337    eval $1=\$$1\$2 
     338  } 
     339fi # as_fn_append 
     340 
     341# as_fn_arith ARG... 
     342# ------------------ 
     343# Perform arithmetic evaluation on the ARGs, and store the result in the 
     344# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     345# must be portable across $(()) and expr. 
     346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     347  eval 'as_fn_arith () 
     348  { 
     349    as_val=$(( $* )) 
     350  }' 
     351else 
     352  as_fn_arith () 
     353  { 
     354    as_val=`expr "$@" || test $? -eq 1` 
     355  } 
     356fi # as_fn_arith 
     357 
     358 
     359# as_fn_error ERROR [LINENO LOG_FD] 
     360# --------------------------------- 
     361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     363# script with status $?, using 1 if that was 0. 
     364as_fn_error () 
     365{ 
     366  as_status=$?; test $as_status -eq 0 && as_status=1 
     367  if test "$3"; then 
     368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     370  fi 
     371  $as_echo "$as_me: error: $1" >&2 
     372  as_fn_exit $as_status 
     373} # as_fn_error 
     374 
    116375if expr a : '\(a\)' >/dev/null 2>&1 && 
    117376   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    127386fi 
    128387 
    129  
    130 # Name of the executable. 
     388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     389  as_dirname=dirname 
     390else 
     391  as_dirname=false 
     392fi 
     393 
    131394as_me=`$as_basename -- "$0" || 
    132395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    133396         X"$0" : 'X\(//\)$' \| \ 
    134397         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    135 echo X/"$0" | 
     398$as_echo X/"$0" | 
    136399    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    137400            s//\1/ 
     
    148411          s/.*/./; q'` 
    149412 
    150 # CDPATH. 
    151 $as_unset CDPATH 
    152  
    153  
    154 if test "x$CONFIG_SHELL" = x; then 
    155   if (eval ":") 2>/dev/null; then 
    156   as_have_required=yes 
    157 else 
    158   as_have_required=no 
    159 fi 
    160  
    161   if test $as_have_required = yes &&     (eval ": 
    162 (as_func_return () { 
    163   (exit \$1) 
    164 } 
    165 as_func_success () { 
    166   as_func_return 0 
    167 } 
    168 as_func_failure () { 
    169   as_func_return 1 
    170 } 
    171 as_func_ret_success () { 
    172   return 0 
    173 } 
    174 as_func_ret_failure () { 
    175   return 1 
    176 } 
    177  
    178 exitcode=0 
    179 if as_func_success; then 
    180   : 
    181 else 
    182   exitcode=1 
    183   echo as_func_success failed. 
    184 fi 
    185  
    186 if as_func_failure; then 
    187   exitcode=1 
    188   echo as_func_failure succeeded. 
    189 fi 
    190  
    191 if as_func_ret_success; then 
    192   : 
    193 else 
    194   exitcode=1 
    195   echo as_func_ret_success failed. 
    196 fi 
    197  
    198 if as_func_ret_failure; then 
    199   exitcode=1 
    200   echo as_func_ret_failure succeeded. 
    201 fi 
    202  
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    204   : 
    205 else 
    206   exitcode=1 
    207   echo positional parameters were not saved. 
    208 fi 
    209  
    210 test \$exitcode = 0) || { (exit 1); exit 1; } 
    211  
    212 ( 
    213   as_lineno_1=\$LINENO 
    214   as_lineno_2=\$LINENO 
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    217 ") 2> /dev/null; then 
    218   : 
    219 else 
    220   as_candidate_shells= 
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    223 do 
    224   IFS=$as_save_IFS 
    225   test -z "$as_dir" && as_dir=. 
    226   case $as_dir in 
    227          /*) 
    228            for as_base in sh bash ksh sh5; do 
    229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    230            done;; 
    231        esac 
    232 done 
    233 IFS=$as_save_IFS 
    234  
    235  
    236       for as_shell in $as_candidate_shells $SHELL; do 
    237          # Try only shells that exist, to save several forks. 
    238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    239                 { ("$as_shell") 2> /dev/null <<\_ASEOF 
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    241   emulate sh 
    242   NULLCMD=: 
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    244   # is contrary to our usage.  Disable this feature. 
    245   alias -g '${1+"$@"}'='"$@"' 
    246   setopt NO_GLOB_SUBST 
    247 else 
    248   case `(set -o) 2>/dev/null` in 
    249   *posix*) set -o posix ;; 
    250 esac 
    251  
    252 fi 
    253  
    254  
    255 : 
    256 _ASEOF 
    257 }; then 
    258   CONFIG_SHELL=$as_shell 
    259                as_have_required=yes 
    260                if { "$as_shell" 2> /dev/null <<\_ASEOF 
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    262   emulate sh 
    263   NULLCMD=: 
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    265   # is contrary to our usage.  Disable this feature. 
    266   alias -g '${1+"$@"}'='"$@"' 
    267   setopt NO_GLOB_SUBST 
    268 else 
    269   case `(set -o) 2>/dev/null` in 
    270   *posix*) set -o posix ;; 
    271 esac 
    272  
    273 fi 
    274  
    275  
    276 : 
    277 (as_func_return () { 
    278   (exit $1) 
    279 } 
    280 as_func_success () { 
    281   as_func_return 0 
    282 } 
    283 as_func_failure () { 
    284   as_func_return 1 
    285 } 
    286 as_func_ret_success () { 
    287   return 0 
    288 } 
    289 as_func_ret_failure () { 
    290   return 1 
    291 } 
    292  
    293 exitcode=0 
    294 if as_func_success; then 
    295   : 
    296 else 
    297   exitcode=1 
    298   echo as_func_success failed. 
    299 fi 
    300  
    301 if as_func_failure; then 
    302   exitcode=1 
    303   echo as_func_failure succeeded. 
    304 fi 
    305  
    306 if as_func_ret_success; then 
    307   : 
    308 else 
    309   exitcode=1 
    310   echo as_func_ret_success failed. 
    311 fi 
    312  
    313 if as_func_ret_failure; then 
    314   exitcode=1 
    315   echo as_func_ret_failure succeeded. 
    316 fi 
    317  
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then 
    319   : 
    320 else 
    321   exitcode=1 
    322   echo positional parameters were not saved. 
    323 fi 
    324  
    325 test $exitcode = 0) || { (exit 1); exit 1; } 
    326  
    327 ( 
    328   as_lineno_1=$LINENO 
    329   as_lineno_2=$LINENO 
    330   test "x$as_lineno_1" != "x$as_lineno_2" && 
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    332  
    333 _ASEOF 
    334 }; then 
    335   break 
    336 fi 
    337  
    338 fi 
    339  
    340       done 
    341  
    342       if test "x$CONFIG_SHELL" != x; then 
    343   for as_var in BASH_ENV ENV 
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    345         done 
    346         export CONFIG_SHELL 
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    348 fi 
    349  
    350  
    351     if test $as_have_required = no; then 
    352   echo This script requires a shell more modern than all the 
    353       echo shells that I found on your system.  Please install a 
    354       echo modern shell, or manually run the script under such a 
    355       echo shell if you do have one. 
    356       { (exit 1); exit 1; } 
    357 fi 
    358  
    359  
    360 fi 
    361  
    362 fi 
    363  
    364  
    365  
    366 (eval "as_func_return () { 
    367   (exit \$1) 
    368 } 
    369 as_func_success () { 
    370   as_func_return 0 
    371 } 
    372 as_func_failure () { 
    373   as_func_return 1 
    374 } 
    375 as_func_ret_success () { 
    376   return 0 
    377 } 
    378 as_func_ret_failure () { 
    379   return 1 
    380 } 
    381  
    382 exitcode=0 
    383 if as_func_success; then 
    384   : 
    385 else 
    386   exitcode=1 
    387   echo as_func_success failed. 
    388 fi 
    389  
    390 if as_func_failure; then 
    391   exitcode=1 
    392   echo as_func_failure succeeded. 
    393 fi 
    394  
    395 if as_func_ret_success; then 
    396   : 
    397 else 
    398   exitcode=1 
    399   echo as_func_ret_success failed. 
    400 fi 
    401  
    402 if as_func_ret_failure; then 
    403   exitcode=1 
    404   echo as_func_ret_failure succeeded. 
    405 fi 
    406  
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    408   : 
    409 else 
    410   exitcode=1 
    411   echo positional parameters were not saved. 
    412 fi 
    413  
    414 test \$exitcode = 0") || { 
    415   echo No shell found that supports shell functions. 
    416   echo Please tell autoconf@gnu.org about your system, 
    417   echo including any error possibly output before this 
    418   echo message 
    419 } 
    420  
    421  
    422  
    423   as_lineno_1=$LINENO 
    424   as_lineno_2=$LINENO 
    425   test "x$as_lineno_1" != "x$as_lineno_2" && 
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    427  
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    429   # uniformly replaced by the line number.  The first 'sed' inserts a 
    430   # line-number line after each line using $LINENO; the second 'sed' 
    431   # does the real work.  The second script uses 'N' to pair each 
    432   # line-number line with the line containing $LINENO, and appends 
    433   # trailing '-' during substitution so that $LINENO is not a special 
    434   # case at line end. 
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    437   # E. McMahon (1931-1989) for sed's syntax.  :-) 
     413# Avoid depending upon Character Ranges. 
     414as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     416as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     417as_cr_digits='0123456789' 
     418as_cr_alnum=$as_cr_Letters$as_cr_digits 
     419 
     420 
     421  as_lineno_1=$LINENO as_lineno_1a=$LINENO 
     422  as_lineno_2=$LINENO as_lineno_2a=$LINENO 
     423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
     424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
     425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
    438426  sed -n ' 
    439427    p 
     
    452440    ' >$as_me.lineno && 
    453441  chmod +x "$as_me.lineno" || 
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    455    { (exit 1); exit 1; }; } 
     442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    456443 
    457444  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    463450} 
    464451 
    465  
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    467   as_dirname=dirname 
    468 else 
    469   as_dirname=false 
    470 fi 
    471  
    472452ECHO_C= ECHO_N= ECHO_T= 
    473 case `echo -n x` in 
     453case `echo -n x` in #((((( 
    474454-n*) 
    475   case `echo 'x\c'` in 
     455  case `echo 'xy\c'` in 
    476456  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    477   *)   ECHO_C='\c';; 
     457  xy)  ECHO_C='\c';; 
     458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     459       ECHO_T=' ';; 
    478460  esac;; 
    479461*) 
     
    481463esac 
    482464 
    483 if expr a : '\(a\)' >/dev/null 2>&1 && 
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    485   as_expr=expr 
    486 else 
    487   as_expr=false 
    488 fi 
    489  
    490465rm -f conf$$ conf$$.exe conf$$.file 
    491466if test -d conf$$.dir; then 
     
    493468else 
    494469  rm -f conf$$.dir 
    495   mkdir conf$$.dir 
    496 fi 
    497 echo >conf$$.file 
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    499   as_ln_s='ln -s' 
    500   # ... but there are two gotchas: 
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    503   # In both cases, we have to default to `cp -p'. 
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     470  mkdir conf$$.dir 2>/dev/null 
     471fi 
     472if (echo >conf$$.file) 2>/dev/null; then 
     473  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     474    as_ln_s='ln -s' 
     475    # ... but there are two gotchas: 
     476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     478    # In both cases, we have to default to `cp -p'. 
     479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     480      as_ln_s='cp -p' 
     481  elif ln conf$$.file conf$$ 2>/dev/null; then 
     482    as_ln_s=ln 
     483  else 
    505484    as_ln_s='cp -p' 
    506 elif ln conf$$.file conf$$ 2>/dev/null; then 
    507   as_ln_s=ln 
     485  fi 
    508486else 
    509487  as_ln_s='cp -p' 
     
    513491 
    514492if mkdir -p . 2>/dev/null; then 
    515   as_mkdir_p=: 
     493  as_mkdir_p='mkdir -p "$as_dir"' 
    516494else 
    517495  test -d ./-p && rmdir ./-p 
     
    530508    eval sh -c '\'' 
    531509      if test -d "$1"; then 
    532         test -d "$1/."; 
     510        test -d "$1/."; 
    533511      else 
    534         case $1 in 
    535         -*)set "./$1";; 
     512        case $1 in #( 
     513        -*)set "./$1";; 
    536514        esac; 
    537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     515        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    538516        ???[sx]*):;;*)false;;esac;fi 
    539517    '\'' sh 
     
    549527 
    550528 
    551  
    552 exec 7<&0 </dev/null 6>&1 
     529test -n "$DJDIR" || exec 7<&0 </dev/null 
     530exec 6>&1 
    553531 
    554532# Name of the host. 
     
    568546MFLAGS= 
    569547MAKEFLAGS= 
    570 SHELL=${CONFIG_SHELL-/bin/sh} 
    571548 
    572549# Identity of this package. 
     
    576553PACKAGE_STRING='pjproject 1.x' 
    577554PACKAGE_BUGREPORT='' 
     555PACKAGE_URL='' 
    578556 
    579557# Factoring default headers for most tests. 
     
    613591#endif" 
    614592 
    615 ac_subst_vars='SHELL 
     593ac_subst_vars='LTLIBOBJS 
     594LIBOBJS 
     595ac_main_obj 
     596ac_host 
     597ac_linux_poll 
     598ac_cross_compile 
     599opencore_amrnb_present 
     600opencore_amrnb_h_present 
     601ac_no_opencore_amrnb 
     602libcrypto_present 
     603libssl_present 
     604openssl_h_present 
     605ac_no_ssl 
     606ac_v4l2_ldflags 
     607ac_v4l2_cflags 
     608ac_ffmpeg_ldflags 
     609ac_ffmpeg_cflags 
     610ac_has_ffmpeg 
     611ac_sdl_ldflags 
     612ac_sdl_cflags 
     613ac_no_ilbc_codec 
     614ac_no_speex_codec 
     615ac_no_g7221_codec 
     616ac_no_g722_codec 
     617ac_no_gsm_codec 
     618ac_no_l16_codec 
     619ac_no_g711_codec 
     620ac_no_speex_aec 
     621ac_no_large_filter 
     622ac_no_small_filter 
     623ac_qt_cflags 
     624ac_pjmedia_video_has_qt 
     625ac_ios_cflags 
     626ac_pjmedia_video_has_ios 
     627ac_pjmedia_video 
     628ac_pa_use_oss 
     629ac_pa_use_alsa 
     630ac_pa_cflags 
     631ac_external_pa 
     632ac_pjmedia_snd 
     633ac_external_gsm 
     634ac_external_speex 
     635ac_os_objs 
     636EGREP 
     637GREP 
     638CPP 
     639ac_build_mak_vars 
     640ac_pjdir 
     641CC_CFLAGS 
     642CC_OPTIMIZE 
     643CC_DEF 
     644CC_INC 
     645CC_OUT 
     646LIBEXT2 
     647LIBEXT 
     648RANLIB 
     649LDOUT 
     650LD 
     651AR 
     652ac_ct_CXX 
     653CXXFLAGS 
     654CXX 
     655OBJEXT 
     656EXEEXT 
     657ac_ct_CC 
     658CPPFLAGS 
     659LDFLAGS 
     660CFLAGS 
     661CC 
     662target_os 
     663target_vendor 
     664target_cpu 
     665target 
     666host_os 
     667host_vendor 
     668host_cpu 
     669host 
     670build_os 
     671build_vendor 
     672build_cpu 
     673build 
     674target_alias 
     675host_alias 
     676build_alias 
     677LIBS 
     678ECHO_T 
     679ECHO_N 
     680ECHO_C 
     681DEFS 
     682mandir 
     683localedir 
     684libdir 
     685psdir 
     686pdfdir 
     687dvidir 
     688htmldir 
     689infodir 
     690docdir 
     691oldincludedir 
     692includedir 
     693localstatedir 
     694sharedstatedir 
     695sysconfdir 
     696datadir 
     697datarootdir 
     698libexecdir 
     699sbindir 
     700bindir 
     701program_transform_name 
     702prefix 
     703exec_prefix 
     704PACKAGE_URL 
     705PACKAGE_BUGREPORT 
     706PACKAGE_STRING 
     707PACKAGE_VERSION 
     708PACKAGE_TARNAME 
     709PACKAGE_NAME 
    616710PATH_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_no_opencore_amrnb 
    725 opencore_amrnb_h_present 
    726 opencore_amrnb_present 
    727 ac_cross_compile 
    728 ac_linux_poll 
    729 ac_host 
    730 ac_main_obj 
    731 LIBOBJS 
    732 LTLIBOBJS' 
     711SHELL' 
    733712ac_subst_files='' 
     713ac_user_opts=' 
     714enable_option_checking 
     715enable_floating_point 
     716enable_epoll 
     717with_external_speex 
     718with_external_gsm 
     719enable_sound 
     720with_external_pa 
     721enable_oss 
     722enable_ext_sound 
     723enable_small_filter 
     724enable_large_filter 
     725enable_speex_aec 
     726enable_g711_codec 
     727enable_l16_codec 
     728enable_gsm_codec 
     729enable_g722_codec 
     730enable_g7221_codec 
     731enable_speex_codec 
     732enable_ilbc_codec 
     733enable_libsamplerate 
     734with_sdl 
     735enable_sdl 
     736enable_ffmpeg 
     737with_ffmpeg 
     738enable_v4l2 
     739enable_ipp 
     740with_ipp 
     741with_ipp_samples 
     742with_ipp_arch 
     743enable_ssl 
     744enable_opencore_amrnb 
     745' 
    734746      ac_precious_vars='build_alias 
    735747host_alias 
     
    749761ac_init_help= 
    750762ac_init_version=false 
     763ac_unrecognized_opts= 
     764ac_unrecognized_sep= 
    751765# The variables have the same names as the options, with 
    752766# dashes changed to underlines. 
     
    847861 
    848862  -disable-* | --disable-*) 
    849     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     863    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    850864    # Reject names that are not valid shell variable names. 
    851     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    852       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    853    { (exit 1); exit 1; }; } 
    854     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    855     eval enable_$ac_feature=no ;; 
     865    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     866      as_fn_error "invalid feature name: $ac_useropt" 
     867    ac_useropt_orig=$ac_useropt 
     868    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     869    case $ac_user_opts in 
     870      *" 
     871"enable_$ac_useropt" 
     872"*) ;; 
     873      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
     874         ac_unrecognized_sep=', ';; 
     875    esac 
     876    eval enable_$ac_useropt=no ;; 
    856877 
    857878  -docdir | --docdir | --docdi | --doc | --do) 
     
    866887 
    867888  -enable-* | --enable-*) 
    868     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     889    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    869890    # Reject names that are not valid shell variable names. 
    870     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    871       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    872    { (exit 1); exit 1; }; } 
    873     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    874     eval enable_$ac_feature=\$ac_optarg ;; 
     891    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     892      as_fn_error "invalid feature name: $ac_useropt" 
     893    ac_useropt_orig=$ac_useropt 
     894    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     895    case $ac_user_opts in 
     896      *" 
     897"enable_$ac_useropt" 
     898"*) ;; 
     899      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
     900         ac_unrecognized_sep=', ';; 
     901    esac 
     902    eval enable_$ac_useropt=\$ac_optarg ;; 
    875903 
    876904  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10631091 
    10641092  -with-* | --with-*) 
    1065     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1093    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10661094    # Reject names that are not valid shell variable names. 
    1067     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1068       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1069    { (exit 1); exit 1; }; } 
    1070     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1071     eval with_$ac_package=\$ac_optarg ;; 
     1095    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1096      as_fn_error "invalid package name: $ac_useropt" 
     1097    ac_useropt_orig=$ac_useropt 
     1098    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1099    case $ac_user_opts in 
     1100      *" 
     1101"with_$ac_useropt" 
     1102"*) ;; 
     1103      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
     1104         ac_unrecognized_sep=', ';; 
     1105    esac 
     1106    eval with_$ac_useropt=\$ac_optarg ;; 
    10721107 
    10731108  -without-* | --without-*) 
    1074     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1109    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10751110    # Reject names that are not valid shell variable names. 
    1076     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1077       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1078    { (exit 1); exit 1; }; } 
    1079     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1080     eval with_$ac_package=no ;; 
     1111    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1112      as_fn_error "invalid package name: $ac_useropt" 
     1113    ac_useropt_orig=$ac_useropt 
     1114    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1115    case $ac_user_opts in 
     1116      *" 
     1117"with_$ac_useropt" 
     1118"*) ;; 
     1119      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
     1120         ac_unrecognized_sep=', ';; 
     1121    esac 
     1122    eval with_$ac_useropt=no ;; 
    10811123 
    10821124  --x) 
     
    10981140    x_libraries=$ac_optarg ;; 
    10991141 
    1100   -*) { echo "$as_me: error: unrecognized option: $ac_option 
    1101 Try \`$0 --help' for more information." >&2 
    1102    { (exit 1); exit 1; }; } 
     1142  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1143Try \`$0 --help' for more information." 
    11031144    ;; 
    11041145 
     
    11061147    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11071148    # Reject names that are not valid shell variable names. 
    1108     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1109       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1110    { (exit 1); exit 1; }; } 
     1149    case $ac_envvar in #( 
     1150      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1151      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1152    esac 
    11111153    eval $ac_envvar=\$ac_optarg 
    11121154    export $ac_envvar ;; 
     
    11141156  *) 
    11151157    # FIXME: should be removed in autoconf 3.0. 
    1116     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1158    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11171159    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1118       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1160      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11191161    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11201162    ;; 
     
    11251167if test -n "$ac_prev"; then 
    11261168  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1127   { echo "$as_me: error: missing argument to $ac_option" >&2 
    1128    { (exit 1); exit 1; }; } 
    1129 fi 
    1130  
    1131 # Be sure to have absolute directory names. 
     1169  as_fn_error "missing argument to $ac_option" 
     1170fi 
     1171 
     1172if test -n "$ac_unrecognized_opts"; then 
     1173  case $enable_option_checking in 
     1174    no) ;; 
     1175    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1176    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1177  esac 
     1178fi 
     1179 
     1180# Check all directory arguments for consistency. 
    11321181for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11331182                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11361185do 
    11371186  eval ac_val=\$$ac_var 
     1187  # Remove trailing slashes. 
     1188  case $ac_val in 
     1189    */ ) 
     1190      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
     1191      eval $ac_var=\$ac_val;; 
     1192  esac 
     1193  # Be sure to have absolute directory names. 
    11381194  case $ac_val in 
    11391195    [\\/$]* | ?:[\\/]* )  continue;; 
    11401196    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11411197  esac 
    1142   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1143    { (exit 1); exit 1; }; } 
     1198  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    11441199done 
    11451200 
     
    11551210  if test "x$build_alias" = x; then 
    11561211    cross_compiling=maybe 
    1157     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1212    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11581213    If a cross compiler is detected then cross compile mode will be used." >&2 
    11591214  elif test "x$build_alias" != "x$host_alias"; then 
     
    11711226ac_ls_di=`ls -di .` && 
    11721227ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1173   { echo "$as_me: error: Working directory cannot be determined" >&2 
    1174    { (exit 1); exit 1; }; } 
     1228  as_fn_error "working directory cannot be determined" 
    11751229test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1176   { echo "$as_me: error: pwd does not report name of working directory" >&2 
    1177    { (exit 1); exit 1; }; } 
     1230  as_fn_error "pwd does not report name of working directory" 
    11781231 
    11791232 
     
    11821235  ac_srcdir_defaulted=yes 
    11831236  # Try the directory containing this script, then the parent directory. 
    1184   ac_confdir=`$as_dirname -- "$0" || 
    1185 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1186          X"$0" : 'X\(//\)[^/]' \| \ 
    1187          X"$0" : 'X\(//\)$' \| \ 
    1188          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    1189 echo X"$0" | 
     1237  ac_confdir=`$as_dirname -- "$as_myself" || 
     1238$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1239         X"$as_myself" : 'X\(//\)[^/]' \| \ 
     1240         X"$as_myself" : 'X\(//\)$' \| \ 
     1241         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
     1242$as_echo X"$as_myself" | 
    11901243    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    11911244            s//\1/ 
     
    12141267if test ! -r "$srcdir/$ac_unique_file"; then 
    12151268  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1216   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1217    { (exit 1); exit 1; }; } 
     1269  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12181270fi 
    12191271ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12201272ac_abs_confdir=`( 
    1221         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    1222    { (exit 1); exit 1; }; } 
     1273        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12231274        pwd)` 
    12241275# When building in place, set srcdir=. 
     
    12681319Installation directories: 
    12691320  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1270                           [$ac_default_prefix] 
     1321                          [$ac_default_prefix] 
    12711322  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1272                           [PREFIX] 
     1323                          [PREFIX] 
    12731324 
    12741325By default, \`make install' will install all the files in 
     
    12801331 
    12811332Fine tuning of the installation directories: 
    1282   --bindir=DIR           user executables [EPREFIX/bin] 
    1283   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    1284   --libexecdir=DIR       program executables [EPREFIX/libexec] 
    1285   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    1286   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    1287   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    1288   --libdir=DIR           object code libraries [EPREFIX/lib] 
    1289   --includedir=DIR       C header files [PREFIX/include] 
    1290   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    1291   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    1292   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    1293   --infodir=DIR          info documentation [DATAROOTDIR/info] 
    1294   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    1295   --mandir=DIR           man documentation [DATAROOTDIR/man] 
    1296   --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
    1297   --htmldir=DIR          html documentation [DOCDIR] 
    1298   --dvidir=DIR           dvi documentation [DOCDIR] 
    1299   --pdfdir=DIR           pdf documentation [DOCDIR] 
    1300   --psdir=DIR            ps documentation [DOCDIR] 
     1333  --bindir=DIR            user executables [EPREFIX/bin] 
     1334  --sbindir=DIR           system admin executables [EPREFIX/sbin] 
     1335  --libexecdir=DIR        program executables [EPREFIX/libexec] 
     1336  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
     1337  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
     1338  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1339  --libdir=DIR            object code libraries [EPREFIX/lib] 
     1340  --includedir=DIR        C header files [PREFIX/include] 
     1341  --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
     1342  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
     1343  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
     1344  --infodir=DIR           info documentation [DATAROOTDIR/info] 
     1345  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
     1346  --mandir=DIR            man documentation [DATAROOTDIR/man] 
     1347  --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
     1348  --htmldir=DIR           html documentation [DOCDIR] 
     1349  --dvidir=DIR            dvi documentation [DOCDIR] 
     1350  --pdfdir=DIR            pdf documentation [DOCDIR] 
     1351  --psdir=DIR             ps documentation [DOCDIR] 
    13011352_ACEOF 
    13021353 
     
    13171368 
    13181369Optional Features: 
     1370  --disable-option-checking  ignore unrecognized --enable/--with options 
    13191371  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13201372  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    13821434              nonstandard directory <lib dir> 
    13831435  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1384   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
     1436  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
    13851437              you have headers in a nonstandard directory <include dir> 
    13861438  CXX         C++ compiler command 
     
    13911443it to find libraries and programs with nonstandard names/locations. 
    13921444 
     1445Report bugs to the package provider. 
    13931446_ACEOF 
    13941447ac_status=$? 
     
    13981451  # If there are subdirs, report their specific --help. 
    13991452  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1400     test -d "$ac_dir" || continue 
     1453    test -d "$ac_dir" || 
     1454      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
     1455      continue 
    14011456    ac_builddir=. 
    14021457 
     
    14041459.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    14051460*) 
    1406   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     1461  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    14071462  # A ".." for each directory in $ac_dir_suffix. 
    1408   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     1463  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    14091464  case $ac_top_builddir_sub in 
    14101465  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14421497      $SHELL "$ac_srcdir/configure" --help=recursive 
    14431498    else 
    1444       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1499      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14451500    fi || ac_status=$? 
    14461501    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14521507  cat <<\_ACEOF 
    14531508pjproject configure 1.x 
    1454 generated by GNU Autoconf 2.61 
    1455  
    1456 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1457 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     1509generated by GNU Autoconf 2.65 
     1510 
     1511Copyright (C) 2009 Free Software Foundation, Inc. 
    14581512This configure script is free software; the Free Software Foundation 
    14591513gives unlimited permission to copy, distribute and modify it. 
     
    14611515  exit 
    14621516fi 
     1517 
     1518## ------------------------ ## 
     1519## Autoconf initialization. ## 
     1520## ------------------------ ## 
     1521 
     1522# ac_fn_c_try_compile LINENO 
     1523# -------------------------- 
     1524# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1525ac_fn_c_try_compile () 
     1526{ 
     1527  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1528  rm -f conftest.$ac_objext 
     1529  if { { ac_try="$ac_compile" 
     1530case "(($ac_try" in 
     1531  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1532  *) ac_try_echo=$ac_try;; 
     1533esac 
     1534eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1535$as_echo "$ac_try_echo"; } >&5 
     1536  (eval "$ac_compile") 2>conftest.err 
     1537  ac_status=$? 
     1538  if test -s conftest.err; then 
     1539    grep -v '^ *+' conftest.err >conftest.er1 
     1540    cat conftest.er1 >&5 
     1541    mv -f conftest.er1 conftest.err 
     1542  fi 
     1543  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1544  test $ac_status = 0; } && { 
     1545         test -z "$ac_c_werror_flag" || 
     1546         test ! -s conftest.err 
     1547       } && test -s conftest.$ac_objext; then : 
     1548  ac_retval=0 
     1549else 
     1550  $as_echo "$as_me: failed program was:" >&5 
     1551sed 's/^/| /' conftest.$ac_ext >&5 
     1552 
     1553        ac_retval=1 
     1554fi 
     1555  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1556  as_fn_set_status $ac_retval 
     1557 
     1558} # ac_fn_c_try_compile 
     1559 
     1560# ac_fn_cxx_try_compile LINENO 
     1561# ---------------------------- 
     1562# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1563ac_fn_cxx_try_compile () 
     1564{ 
     1565  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1566  rm -f conftest.$ac_objext 
     1567  if { { ac_try="$ac_compile" 
     1568case "(($ac_try" in 
     1569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1570  *) ac_try_echo=$ac_try;; 
     1571esac 
     1572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1573$as_echo "$ac_try_echo"; } >&5 
     1574  (eval "$ac_compile") 2>conftest.err 
     1575  ac_status=$? 
     1576  if test -s conftest.err; then 
     1577    grep -v '^ *+' conftest.err >conftest.er1 
     1578    cat conftest.er1 >&5 
     1579    mv -f conftest.er1 conftest.err 
     1580  fi 
     1581  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1582  test $ac_status = 0; } && { 
     1583         test -z "$ac_cxx_werror_flag" || 
     1584         test ! -s conftest.err 
     1585       } && test -s conftest.$ac_objext; then : 
     1586  ac_retval=0 
     1587else 
     1588  $as_echo "$as_me: failed program was:" >&5 
     1589sed 's/^/| /' conftest.$ac_ext >&5 
     1590 
     1591        ac_retval=1 
     1592fi 
     1593  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1594  as_fn_set_status $ac_retval 
     1595 
     1596} # ac_fn_cxx_try_compile 
     1597 
     1598# ac_fn_c_try_link LINENO 
     1599# ----------------------- 
     1600# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1601ac_fn_c_try_link () 
     1602{ 
     1603  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1604  rm -f conftest.$ac_objext conftest$ac_exeext 
     1605  if { { ac_try="$ac_link" 
     1606case "(($ac_try" in 
     1607  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1608  *) ac_try_echo=$ac_try;; 
     1609esac 
     1610eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1611$as_echo "$ac_try_echo"; } >&5 
     1612  (eval "$ac_link") 2>conftest.err 
     1613  ac_status=$? 
     1614  if test -s conftest.err; then 
     1615    grep -v '^ *+' conftest.err >conftest.er1 
     1616    cat conftest.er1 >&5 
     1617    mv -f conftest.er1 conftest.err 
     1618  fi 
     1619  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1620  test $ac_status = 0; } && { 
     1621         test -z "$ac_c_werror_flag" || 
     1622         test ! -s conftest.err 
     1623       } && test -s conftest$ac_exeext && { 
     1624         test "$cross_compiling" = yes || 
     1625         $as_test_x conftest$ac_exeext 
     1626       }; then : 
     1627  ac_retval=0 
     1628else 
     1629  $as_echo "$as_me: failed program was:" >&5 
     1630sed 's/^/| /' conftest.$ac_ext >&5 
     1631 
     1632        ac_retval=1 
     1633fi 
     1634  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1635  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1636  # interfere with the next link command; also delete a directory that is 
     1637  # left behind by Apple's compiler.  We do this before executing the actions. 
     1638  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1639  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1640  as_fn_set_status $ac_retval 
     1641 
     1642} # ac_fn_c_try_link 
     1643 
     1644# ac_fn_c_try_run LINENO 
     1645# ---------------------- 
     1646# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1647# that executables *can* be run. 
     1648ac_fn_c_try_run () 
     1649{ 
     1650  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1651  if { { ac_try="$ac_link" 
     1652case "(($ac_try" in 
     1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1654  *) ac_try_echo=$ac_try;; 
     1655esac 
     1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1657$as_echo "$ac_try_echo"; } >&5 
     1658  (eval "$ac_link") 2>&5 
     1659  ac_status=$? 
     1660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1661  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1662  { { case "(($ac_try" in 
     1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1664  *) ac_try_echo=$ac_try;; 
     1665esac 
     1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1667$as_echo "$ac_try_echo"; } >&5 
     1668  (eval "$ac_try") 2>&5 
     1669  ac_status=$? 
     1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1671  test $ac_status = 0; }; }; then : 
     1672  ac_retval=0 
     1673else 
     1674  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1675       $as_echo "$as_me: failed program was:" >&5 
     1676sed 's/^/| /' conftest.$ac_ext >&5 
     1677 
     1678       ac_retval=$ac_status 
     1679fi 
     1680  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1681  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1682  as_fn_set_status $ac_retval 
     1683 
     1684} # ac_fn_c_try_run 
     1685 
     1686# ac_fn_c_try_cpp LINENO 
     1687# ---------------------- 
     1688# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1689ac_fn_c_try_cpp () 
     1690{ 
     1691  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1692  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1693case "(($ac_try" in 
     1694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1695  *) ac_try_echo=$ac_try;; 
     1696esac 
     1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1698$as_echo "$ac_try_echo"; } >&5 
     1699  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1700  ac_status=$? 
     1701  if test -s conftest.err; then 
     1702    grep -v '^ *+' conftest.err >conftest.er1 
     1703    cat conftest.er1 >&5 
     1704    mv -f conftest.er1 conftest.err 
     1705  fi 
     1706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1707  test $ac_status = 0; } >/dev/null && { 
     1708         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1709         test ! -s conftest.err 
     1710       }; then : 
     1711  ac_retval=0 
     1712else 
     1713  $as_echo "$as_me: failed program was:" >&5 
     1714sed 's/^/| /' conftest.$ac_ext >&5 
     1715 
     1716    ac_retval=1 
     1717fi 
     1718  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1719  as_fn_set_status $ac_retval 
     1720 
     1721} # ac_fn_c_try_cpp 
     1722 
     1723# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1724# ------------------------------------------------------- 
     1725# Tests whether HEADER exists and can be compiled using the include files in 
     1726# INCLUDES, setting the cache variable VAR accordingly. 
     1727ac_fn_c_check_header_compile () 
     1728{ 
     1729  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1731$as_echo_n "checking for $2... " >&6; } 
     1732if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1733  $as_echo_n "(cached) " >&6 
     1734else 
     1735  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1736/* end confdefs.h.  */ 
     1737$4 
     1738#include <$2> 
     1739_ACEOF 
     1740if ac_fn_c_try_compile "$LINENO"; then : 
     1741  eval "$3=yes" 
     1742else 
     1743  eval "$3=no" 
     1744fi 
     1745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1746fi 
     1747eval ac_res=\$$3 
     1748               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1749$as_echo "$ac_res" >&6; } 
     1750  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1751 
     1752} # ac_fn_c_check_header_compile 
     1753 
     1754# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1755# ------------------------------------------------------- 
     1756# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1757# the include files in INCLUDES and setting the cache variable VAR 
     1758# accordingly. 
     1759ac_fn_c_check_header_mongrel () 
     1760{ 
     1761  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1762  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1764$as_echo_n "checking for $2... " >&6; } 
     1765if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1766  $as_echo_n "(cached) " >&6 
     1767fi 
     1768eval ac_res=\$$3 
     1769               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1770$as_echo "$ac_res" >&6; } 
     1771else 
     1772  # Is the header compilable? 
     1773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1774$as_echo_n "checking $2 usability... " >&6; } 
     1775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1776/* end confdefs.h.  */ 
     1777$4 
     1778#include <$2> 
     1779_ACEOF 
     1780if ac_fn_c_try_compile "$LINENO"; then : 
     1781  ac_header_compiler=yes 
     1782else 
     1783  ac_header_compiler=no 
     1784fi 
     1785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1787$as_echo "$ac_header_compiler" >&6; } 
     1788 
     1789# Is the header present? 
     1790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1791$as_echo_n "checking $2 presence... " >&6; } 
     1792cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1793/* end confdefs.h.  */ 
     1794#include <$2> 
     1795_ACEOF 
     1796if ac_fn_c_try_cpp "$LINENO"; then : 
     1797  ac_header_preproc=yes 
     1798else 
     1799  ac_header_preproc=no 
     1800fi 
     1801rm -f conftest.err conftest.$ac_ext 
     1802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1803$as_echo "$ac_header_preproc" >&6; } 
     1804 
     1805# So?  What about this header? 
     1806case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1807  yes:no: ) 
     1808    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1809$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1810    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1811$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1812    ;; 
     1813  no:yes:* ) 
     1814    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1815$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1816    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1817$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1818    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1819$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1820    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1821$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1822    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1823$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1824    ;; 
     1825esac 
     1826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1827$as_echo_n "checking for $2... " >&6; } 
     1828if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1829  $as_echo_n "(cached) " >&6 
     1830else 
     1831  eval "$3=\$ac_header_compiler" 
     1832fi 
     1833eval ac_res=\$$3 
     1834               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1835$as_echo "$ac_res" >&6; } 
     1836fi 
     1837  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1838 
     1839} # ac_fn_c_check_header_mongrel 
     1840 
     1841# ac_fn_c_check_func LINENO FUNC VAR 
     1842# ---------------------------------- 
     1843# Tests whether FUNC exists, setting the cache variable VAR accordingly 
     1844ac_fn_c_check_func () 
     1845{ 
     1846  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1847  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1848$as_echo_n "checking for $2... " >&6; } 
     1849if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1850  $as_echo_n "(cached) " >&6 
     1851else 
     1852  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1853/* end confdefs.h.  */ 
     1854/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
     1855   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     1856#define $2 innocuous_$2 
     1857 
     1858/* System header to define __stub macros and hopefully few prototypes, 
     1859    which can conflict with char $2 (); below. 
     1860    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     1861    <limits.h> exists even on freestanding compilers.  */ 
     1862 
     1863#ifdef __STDC__ 
     1864# include <limits.h> 
     1865#else 
     1866# include <assert.h> 
     1867#endif 
     1868 
     1869#undef $2 
     1870 
     1871/* Override any GCC internal prototype to avoid an error. 
     1872   Use char because int might match the return type of a GCC 
     1873   builtin and then its argument prototype would still apply.  */ 
     1874#ifdef __cplusplus 
     1875extern "C" 
     1876#endif 
     1877char $2 (); 
     1878/* The GNU C library defines this for functions which it implements 
     1879    to always fail with ENOSYS.  Some functions are actually named 
     1880    something starting with __ and the normal name is an alias.  */ 
     1881#if defined __stub_$2 || defined __stub___$2 
     1882choke me 
     1883#endif 
     1884 
     1885int 
     1886main () 
     1887{ 
     1888return $2 (); 
     1889  ; 
     1890  return 0; 
     1891} 
     1892_ACEOF 
     1893if ac_fn_c_try_link "$LINENO"; then : 
     1894  eval "$3=yes" 
     1895else 
     1896  eval "$3=no" 
     1897fi 
     1898rm -f core conftest.err conftest.$ac_objext \ 
     1899    conftest$ac_exeext conftest.$ac_ext 
     1900fi 
     1901eval ac_res=\$$3 
     1902               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1903$as_echo "$ac_res" >&6; } 
     1904  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1905 
     1906} # ac_fn_c_check_func 
    14631907cat >config.log <<_ACEOF 
    14641908This file contains any messages produced by compilers while 
     
    14661910 
    14671911It was created by pjproject $as_me 1.x, which was 
    1468 generated by GNU Autoconf 2.61.  Invocation command line was 
     1912generated by GNU Autoconf 2.65.  Invocation command line was 
    14691913 
    14701914  $ $0 $@ 
     
    15021946  IFS=$as_save_IFS 
    15031947  test -z "$as_dir" && as_dir=. 
    1504   echo "PATH: $as_dir" 
    1505 done 
     1948    $as_echo "PATH: $as_dir" 
     1949  done 
    15061950IFS=$as_save_IFS 
    15071951 
     
    15371981      continue ;; 
    15381982    *\'*) 
    1539       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1983      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    15401984    esac 
    15411985    case $ac_pass in 
    1542     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1986    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15431987    2) 
    1544       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1988      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15451989      if test $ac_must_keep_next = true; then 
    15461990        ac_must_keep_next=false # Got value, back to normal. 
     
    15582002        esac 
    15592003      fi 
    1560       ac_configure_args="$ac_configure_args '$ac_arg'" 
     2004      as_fn_append ac_configure_args " '$ac_arg'" 
    15612005      ;; 
    15622006    esac 
    15632007  done 
    15642008done 
    1565 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1566 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     2009{ ac_configure_args0=; unset ac_configure_args0;} 
     2010{ ac_configure_args1=; unset ac_configure_args1;} 
    15672011 
    15682012# When interrupted or exit'd, cleanup temporary files, and complete 
     
    15892033    *${as_nl}*) 
    15902034      case $ac_var in #( 
    1591       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1592 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     2035      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     2036$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    15932037      esac 
    15942038      case $ac_var in #( 
    15952039      _ | IFS | as_nl) ;; #( 
    1596       *) $as_unset $ac_var ;; 
     2040      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     2041      *) { eval $ac_var=; unset $ac_var;} ;; 
    15972042      esac ;; 
    15982043    esac 
     
    16232068      eval ac_val=\$$ac_var 
    16242069      case $ac_val in 
    1625       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2070      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16262071      esac 
    1627       echo "$ac_var='\''$ac_val'\''" 
     2072      $as_echo "$ac_var='\''$ac_val'\''" 
    16282073    done | sort 
    16292074    echo 
     
    16402085        eval ac_val=\$$ac_var 
    16412086        case $ac_val in 
    1642         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2087        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16432088        esac 
    1644         echo "$ac_var='\''$ac_val'\''" 
     2089        $as_echo "$ac_var='\''$ac_val'\''" 
    16452090      done | sort 
    16462091      echo 
     
    16582103    fi 
    16592104    test "$ac_signal" != 0 && 
    1660       echo "$as_me: caught signal $ac_signal" 
    1661     echo "$as_me: exit $exit_status" 
     2105      $as_echo "$as_me: caught signal $ac_signal" 
     2106    $as_echo "$as_me: exit $exit_status" 
    16622107  } >&5 
    16632108  rm -f core *.core core.conftest.* && 
     
    16662111' 0 
    16672112for ac_signal in 1 2 13 15; do 
    1668   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     2113  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    16692114done 
    16702115ac_signal=0 
     
    16732118rm -f -r conftest* confdefs.h 
    16742119 
     2120$as_echo "/* confdefs.h */" > confdefs.h 
     2121 
    16752122# Predefined preprocessor variables. 
    16762123 
     
    16792126_ACEOF 
    16802127 
    1681  
    16822128cat >>confdefs.h <<_ACEOF 
    16832129#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    16842130_ACEOF 
    16852131 
    1686  
    16872132cat >>confdefs.h <<_ACEOF 
    16882133#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    16892134_ACEOF 
    16902135 
    1691  
    16922136cat >>confdefs.h <<_ACEOF 
    16932137#define PACKAGE_STRING "$PACKAGE_STRING" 
    16942138_ACEOF 
    16952139 
    1696  
    16972140cat >>confdefs.h <<_ACEOF 
    16982141#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    16992142_ACEOF 
    17002143 
     2144cat >>confdefs.h <<_ACEOF 
     2145#define PACKAGE_URL "$PACKAGE_URL" 
     2146_ACEOF 
     2147 
    17012148 
    17022149# Let the site file select an alternate cache file if it wants to. 
    1703 # Prefer explicitly selected file to automatically selected ones. 
     2150# Prefer an explicitly selected file to automatically selected ones. 
     2151ac_site_file1=NONE 
     2152ac_site_file2=NONE 
    17042153if test -n "$CONFIG_SITE"; then 
    1705   set x "$CONFIG_SITE" 
     2154  ac_site_file1=$CONFIG_SITE 
    17062155elif test "x$prefix" != xNONE; then 
    1707   set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    1708 else 
    1709   set x "$ac_default_prefix/share/config.site" \ 
    1710         "$ac_default_prefix/etc/config.site" 
    1711 fi 
    1712 shift 
    1713 for ac_site_file 
     2156  ac_site_file1=$prefix/share/config.site 
     2157  ac_site_file2=$prefix/etc/config.site 
     2158else 
     2159  ac_site_file1=$ac_default_prefix/share/config.site 
     2160  ac_site_file2=$ac_default_prefix/etc/config.site 
     2161fi 
     2162for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
    17142163do 
    1715   if test -r "$ac_site_file"; then 
    1716     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    1717 echo "$as_me: loading site script $ac_site_file" >&6;} 
     2164  test "x$ac_site_file" = xNONE && continue 
     2165  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
     2166    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
     2167$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17182168    sed 's/^/| /' "$ac_site_file" >&5 
    17192169    . "$ac_site_file" 
     
    17222172 
    17232173if test -r "$cache_file"; then 
    1724   # Some versions of bash will fail to source /dev/null (special 
    1725   # files actually), so we avoid doing that. 
    1726   if test -f "$cache_file"; then 
    1727     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    1728 echo "$as_me: loading cache $cache_file" >&6;} 
     2174  # Some versions of bash will fail to source /dev/null (special files 
     2175  # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
     2176  if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
     2177    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
     2178$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17292179    case $cache_file in 
    17302180      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    17332183  fi 
    17342184else 
    1735   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    1736 echo "$as_me: creating cache $cache_file" >&6;} 
     2185  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
     2186$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17372187  >$cache_file 
    17382188fi 
     
    17482198  case $ac_old_set,$ac_new_set in 
    17492199    set,) 
    1750       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1751 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     2200      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2201$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17522202      ac_cache_corrupted=: ;; 
    17532203    ,set) 
    1754       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    1755 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     2204      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
     2205$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17562206      ac_cache_corrupted=: ;; 
    17572207    ,);; 
    17582208    *) 
    17592209      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1760         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    1761 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1762         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    1763 echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1764         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    1765 echo "$as_me:   current value: $ac_new_val" >&2;} 
    1766         ac_cache_corrupted=: 
     2210        # differences in whitespace do not lead to failure. 
     2211        ac_old_val_w=`echo x $ac_old_val` 
     2212        ac_new_val_w=`echo x $ac_new_val` 
     2213        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
     2214          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
     2215$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     2216          ac_cache_corrupted=: 
     2217        else 
     2218          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2219$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
     2220          eval $ac_var=\$ac_old_val 
     2221        fi 
     2222        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
     2223$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
     2224        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
     2225$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    17672226      fi;; 
    17682227  esac 
     
    17702229  if test "$ac_new_set" = set; then 
    17712230    case $ac_new_val in 
    1772     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     2231    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    17732232    *) ac_arg=$ac_var=$ac_new_val ;; 
    17742233    esac 
    17752234    case " $ac_configure_args " in 
    17762235      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1777       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2236      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    17782237    esac 
    17792238  fi 
    17802239done 
    17812240if $ac_cache_corrupted; then 
    1782   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    1783 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1784   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1785 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1786    { (exit 1); exit 1; }; } 
    1787 fi 
    1788  
    1789  
    1790  
    1791  
    1792  
    1793  
    1794  
    1795  
    1796  
    1797  
    1798  
    1799  
    1800  
    1801  
    1802  
    1803  
    1804  
    1805  
    1806  
    1807  
    1808  
    1809  
    1810  
    1811  
     2241  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2242$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2243  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
     2244$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     2245  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2246fi 
     2247## -------------------- ## 
     2248## Main body of script. ## 
     2249## -------------------- ## 
    18122250 
    18132251ac_ext=c 
     
    18232261ac_aux_dir= 
    18242262for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1825   if test -f "$ac_dir/install-sh"; then 
    1826     ac_aux_dir=$ac_dir 
    1827     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1828     break 
    1829   elif test -f "$ac_dir/install.sh"; then 
    1830     ac_aux_dir=$ac_dir 
    1831     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1832     break 
    1833   elif test -f "$ac_dir/shtool"; then 
    1834     ac_aux_dir=$ac_dir 
    1835     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1836     break 
    1837   fi 
     2263  for ac_t in install-sh install.sh shtool; do 
     2264    if test -f "$ac_dir/$ac_t"; then 
     2265      ac_aux_dir=$ac_dir 
     2266      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2267      break 2 
     2268    fi 
     2269  done 
    18382270done 
    18392271if test -z "$ac_aux_dir"; then 
    1840   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1841 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1842    { (exit 1); exit 1; }; } 
     2272  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18432273fi 
    18442274 
     
    18542284# Make sure we can run config.sub. 
    18552285$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1856   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1857 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1858    { (exit 1); exit 1; }; } 
    1859  
    1860 { echo "$as_me:$LINENO: checking build system type" >&5 
    1861 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    1862 if test "${ac_cv_build+set}" = set; then 
    1863   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2286  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2287 
     2288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     2289$as_echo_n "checking build system type... " >&6; } 
     2290if test "${ac_cv_build+set}" = set; then : 
     2291  $as_echo_n "(cached) " >&6 
    18642292else 
    18652293  ac_build_alias=$build_alias 
     
    18672295  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    18682296test "x$ac_build_alias" = x && 
    1869   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1870 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1871    { (exit 1); exit 1; }; } 
     2297  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    18722298ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1873   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1874 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1875    { (exit 1); exit 1; }; } 
    1876  
    1877 fi 
    1878 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    1879 echo "${ECHO_T}$ac_cv_build" >&6; } 
     2299  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2300 
     2301fi 
     2302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
     2303$as_echo "$ac_cv_build" >&6; } 
    18802304case $ac_cv_build in 
    18812305*-*-*) ;; 
    1882 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1883 echo "$as_me: error: invalid value of canonical build" >&2;} 
    1884    { (exit 1); exit 1; }; };; 
     2306*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    18852307esac 
    18862308build=$ac_cv_build 
     
    18982320 
    18992321 
    1900 { echo "$as_me:$LINENO: checking host system type" >&5 
    1901 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    1902 if test "${ac_cv_host+set}" = set; then 
    1903   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
     2323$as_echo_n "checking host system type... " >&6; } 
     2324if test "${ac_cv_host+set}" = set; then : 
     2325  $as_echo_n "(cached) " >&6 
    19042326else 
    19052327  if test "x$host_alias" = x; then 
     
    19072329else 
    19082330  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1909     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1911    { (exit 1); exit 1; }; } 
    1912 fi 
    1913  
    1914 fi 
    1915 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    1916 echo "${ECHO_T}$ac_cv_host" >&6; } 
     2331    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2332fi 
     2333 
     2334fi 
     2335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
     2336$as_echo "$ac_cv_host" >&6; } 
    19172337case $ac_cv_host in 
    19182338*-*-*) ;; 
    1919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1920 echo "$as_me: error: invalid value of canonical host" >&2;} 
    1921    { (exit 1); exit 1; }; };; 
     2339*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19222340esac 
    19232341host=$ac_cv_host 
     
    19352353 
    19362354 
    1937 { echo "$as_me:$LINENO: checking target system type" >&5 
    1938 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    1939 if test "${ac_cv_target+set}" = set; then 
    1940   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
     2356$as_echo_n "checking target system type... " >&6; } 
     2357if test "${ac_cv_target+set}" = set; then : 
     2358  $as_echo_n "(cached) " >&6 
    19412359else 
    19422360  if test "x$target_alias" = x; then 
     
    19442362else 
    19452363  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1946     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    1948    { (exit 1); exit 1; }; } 
    1949 fi 
    1950  
    1951 fi 
    1952 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    1953 echo "${ECHO_T}$ac_cv_target" >&6; } 
     2364    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2365fi 
     2366 
     2367fi 
     2368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
     2369$as_echo "$ac_cv_target" >&6; } 
    19542370case $ac_cv_target in 
    19552371*-*-*) ;; 
    1956 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    1957 echo "$as_me: error: invalid value of canonical target" >&2;} 
    1958    { (exit 1); exit 1; }; };; 
     2372*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    19592373esac 
    19602374target=$ac_cv_target 
     
    20002414  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    20012415set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    2002 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2004 if test "${ac_cv_prog_CC+set}" = set; then 
    2005   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2417$as_echo_n "checking for $ac_word... " >&6; } 
     2418if test "${ac_cv_prog_CC+set}" = set; then : 
     2419  $as_echo_n "(cached) " >&6 
    20062420else 
    20072421  if test -n "$CC"; then 
     
    20132427  IFS=$as_save_IFS 
    20142428  test -z "$as_dir" && as_dir=. 
    2015   for ac_exec_ext in '' $ac_executable_extensions; do 
     2429    for ac_exec_ext in '' $ac_executable_extensions; do 
    20162430  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20172431    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2018     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2432    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20192433    break 2 
    20202434  fi 
    20212435done 
    2022 done 
     2436  done 
    20232437IFS=$as_save_IFS 
    20242438 
     
    20272441CC=$ac_cv_prog_CC 
    20282442if test -n "$CC"; then 
    2029   { echo "$as_me:$LINENO: result: $CC" >&5 
    2030 echo "${ECHO_T}$CC" >&6; } 
    2031 else 
    2032   { echo "$as_me:$LINENO: result: no" >&5 
    2033 echo "${ECHO_T}no" >&6; } 
     2443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2444$as_echo "$CC" >&6; } 
     2445else 
     2446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2447$as_echo "no" >&6; } 
    20342448fi 
    20352449 
     
    20402454  # Extract the first word of "gcc", so it can be a program name with args. 
    20412455set dummy gcc; ac_word=$2 
    2042 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2044 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2045   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2457$as_echo_n "checking for $ac_word... " >&6; } 
     2458if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2459  $as_echo_n "(cached) " >&6 
    20462460else 
    20472461  if test -n "$ac_ct_CC"; then 
     
    20532467  IFS=$as_save_IFS 
    20542468  test -z "$as_dir" && as_dir=. 
    2055   for ac_exec_ext in '' $ac_executable_extensions; do 
     2469    for ac_exec_ext in '' $ac_executable_extensions; do 
    20562470  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20572471    ac_cv_prog_ac_ct_CC="gcc" 
    2058     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20592473    break 2 
    20602474  fi 
    20612475done 
    2062 done 
     2476  done 
    20632477IFS=$as_save_IFS 
    20642478 
     
    20672481ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    20682482if test -n "$ac_ct_CC"; then 
    2069   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2070 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2071 else 
    2072   { echo "$as_me:$LINENO: result: no" >&5 
    2073 echo "${ECHO_T}no" >&6; } 
     2483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2484$as_echo "$ac_ct_CC" >&6; } 
     2485else 
     2486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2487$as_echo "no" >&6; } 
    20742488fi 
    20752489 
     
    20792493    case $cross_compiling:$ac_tool_warned in 
    20802494yes:) 
    2081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2082 whose name does not start with the host triplet.  If you think this 
    2083 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2085 whose name does not start with the host triplet.  If you think this 
    2086 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2495{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2496$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    20872497ac_tool_warned=yes ;; 
    20882498esac 
     
    20972507    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    20982508set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2099 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2101 if test "${ac_cv_prog_CC+set}" = set; then 
    2102   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2510$as_echo_n "checking for $ac_word... " >&6; } 
     2511if test "${ac_cv_prog_CC+set}" = set; then : 
     2512  $as_echo_n "(cached) " >&6 
    21032513else 
    21042514  if test -n "$CC"; then 
     
    21102520  IFS=$as_save_IFS 
    21112521  test -z "$as_dir" && as_dir=. 
    2112   for ac_exec_ext in '' $ac_executable_extensions; do 
     2522    for ac_exec_ext in '' $ac_executable_extensions; do 
    21132523  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21142524    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2115     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21162526    break 2 
    21172527  fi 
    21182528done 
    2119 done 
     2529  done 
    21202530IFS=$as_save_IFS 
    21212531 
     
    21242534CC=$ac_cv_prog_CC 
    21252535if test -n "$CC"; then 
    2126   { echo "$as_me:$LINENO: result: $CC" >&5 
    2127 echo "${ECHO_T}$CC" >&6; } 
    2128 else 
    2129   { echo "$as_me:$LINENO: result: no" >&5 
    2130 echo "${ECHO_T}no" >&6; } 
     2536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2537$as_echo "$CC" >&6; } 
     2538else 
     2539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2540$as_echo "no" >&6; } 
    21312541fi 
    21322542 
     
    21372547  # Extract the first word of "cc", so it can be a program name with args. 
    21382548set dummy cc; ac_word=$2 
    2139 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2141 if test "${ac_cv_prog_CC+set}" = set; then 
    2142   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2550$as_echo_n "checking for $ac_word... " >&6; } 
     2551if test "${ac_cv_prog_CC+set}" = set; then : 
     2552  $as_echo_n "(cached) " >&6 
    21432553else 
    21442554  if test -n "$CC"; then 
     
    21512561  IFS=$as_save_IFS 
    21522562  test -z "$as_dir" && as_dir=. 
    2153   for ac_exec_ext in '' $ac_executable_extensions; do 
     2563    for ac_exec_ext in '' $ac_executable_extensions; do 
    21542564  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21552565    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    21582568     fi 
    21592569    ac_cv_prog_CC="cc" 
    2160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2570    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21612571    break 2 
    21622572  fi 
    21632573done 
    2164 done 
     2574  done 
    21652575IFS=$as_save_IFS 
    21662576 
     
    21812591CC=$ac_cv_prog_CC 
    21822592if test -n "$CC"; then 
    2183   { echo "$as_me:$LINENO: result: $CC" >&5 
    2184 echo "${ECHO_T}$CC" >&6; } 
    2185 else 
    2186   { echo "$as_me:$LINENO: result: no" >&5 
    2187 echo "${ECHO_T}no" >&6; } 
     2593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2594$as_echo "$CC" >&6; } 
     2595else 
     2596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2597$as_echo "no" >&6; } 
    21882598fi 
    21892599 
     
    21962606    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    21972607set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2198 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2200 if test "${ac_cv_prog_CC+set}" = set; then 
    2201   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2609$as_echo_n "checking for $ac_word... " >&6; } 
     2610if test "${ac_cv_prog_CC+set}" = set; then : 
     2611  $as_echo_n "(cached) " >&6 
    22022612else 
    22032613  if test -n "$CC"; then 
     
    22092619  IFS=$as_save_IFS 
    22102620  test -z "$as_dir" && as_dir=. 
    2211   for ac_exec_ext in '' $ac_executable_extensions; do 
     2621    for ac_exec_ext in '' $ac_executable_extensions; do 
    22122622  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22132623    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2214     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2624    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22152625    break 2 
    22162626  fi 
    22172627done 
    2218 done 
     2628  done 
    22192629IFS=$as_save_IFS 
    22202630 
     
    22232633CC=$ac_cv_prog_CC 
    22242634if test -n "$CC"; then 
    2225   { echo "$as_me:$LINENO: result: $CC" >&5 
    2226 echo "${ECHO_T}$CC" >&6; } 
    2227 else 
    2228   { echo "$as_me:$LINENO: result: no" >&5 
    2229 echo "${ECHO_T}no" >&6; } 
     2635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2636$as_echo "$CC" >&6; } 
     2637else 
     2638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2639$as_echo "no" >&6; } 
    22302640fi 
    22312641 
     
    22402650  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22412651set dummy $ac_prog; ac_word=$2 
    2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2244 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2245   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2653$as_echo_n "checking for $ac_word... " >&6; } 
     2654if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2655  $as_echo_n "(cached) " >&6 
    22462656else 
    22472657  if test -n "$ac_ct_CC"; then 
     
    22532663  IFS=$as_save_IFS 
    22542664  test -z "$as_dir" && as_dir=. 
    2255   for ac_exec_ext in '' $ac_executable_extensions; do 
     2665    for ac_exec_ext in '' $ac_executable_extensions; do 
    22562666  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22572667    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2258     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22592669    break 2 
    22602670  fi 
    22612671done 
    2262 done 
     2672  done 
    22632673IFS=$as_save_IFS 
    22642674 
     
    22672677ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    22682678if test -n "$ac_ct_CC"; then 
    2269   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2270 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2271 else 
    2272   { echo "$as_me:$LINENO: result: no" >&5 
    2273 echo "${ECHO_T}no" >&6; } 
     2679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2680$as_echo "$ac_ct_CC" >&6; } 
     2681else 
     2682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2683$as_echo "no" >&6; } 
    22742684fi 
    22752685 
     
    22832693    case $cross_compiling:$ac_tool_warned in 
    22842694yes:) 
    2285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2286 whose name does not start with the host triplet.  If you think this 
    2287 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2289 whose name does not start with the host triplet.  If you think this 
    2290 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2695{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    22912697ac_tool_warned=yes ;; 
    22922698esac 
     
    22982704 
    22992705 
    2300 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2301 See \`config.log' for more details." >&5 
    2302 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2303 See \`config.log' for more details." >&2;} 
    2304    { (exit 1); exit 1; }; } 
     2706test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2707$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2708as_fn_error "no acceptable C compiler found in \$PATH 
     2709See \`config.log' for more details." "$LINENO" 5; } 
    23052710 
    23062711# Provide some information about the compiler. 
    2307 echo "$as_me:$LINENO: checking for C compiler version" >&5 
    2308 ac_compiler=`set X $ac_compile; echo $2` 
    2309 { (ac_try="$ac_compiler --version >&5" 
     2712$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
     2713set X $ac_compile 
     2714ac_compiler=$2 
     2715for ac_option in --version -v -V -qversion; do 
     2716  { { ac_try="$ac_compiler $ac_option >&5" 
    23102717case "(($ac_try" in 
    23112718  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23122719  *) ac_try_echo=$ac_try;; 
    23132720esac 
    2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2315   (eval "$ac_compiler --version >&5") 2>&5 
     2721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2722$as_echo "$ac_try_echo"; } >&5 
     2723  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23162724  ac_status=$? 
    2317   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2318   (exit $ac_status); } 
    2319 { (ac_try="$ac_compiler -v >&5" 
     2725  if test -s conftest.err; then 
     2726    sed '10a\ 
     2727... rest of stderr output deleted ... 
     2728         10q' conftest.err >conftest.er1 
     2729    cat conftest.er1 >&5 
     2730  fi 
     2731  rm -f conftest.er1 conftest.err 
     2732  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2733  test $ac_status = 0; } 
     2734done 
     2735 
     2736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2737/* end confdefs.h.  */ 
     2738 
     2739int 
     2740main () 
     2741{ 
     2742 
     2743  ; 
     2744  return 0; 
     2745} 
     2746_ACEOF 
     2747ac_clean_files_save=$ac_clean_files 
     2748ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2749# Try to create an executable without -o first, disregard a.out. 
     2750# It will help us diagnose broken compilers, and finding out an intuition 
     2751# of exeext. 
     2752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
     2753$as_echo_n "checking whether the C compiler works... " >&6; } 
     2754ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2755 
     2756# The possible output files: 
     2757ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
     2758 
     2759ac_rmfiles= 
     2760for ac_file in $ac_files 
     2761do 
     2762  case $ac_file in 
     2763    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2764    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
     2765  esac 
     2766done 
     2767rm -f $ac_rmfiles 
     2768 
     2769if { { ac_try="$ac_link_default" 
    23202770case "(($ac_try" in 
    23212771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23222772  *) ac_try_echo=$ac_try;; 
    23232773esac 
    2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2325   (eval "$ac_compiler -v >&5") 2>&5 
    2326   ac_status=$? 
    2327   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2328   (exit $ac_status); } 
    2329 { (ac_try="$ac_compiler -V >&5" 
    2330 case "(($ac_try" in 
    2331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2332   *) ac_try_echo=$ac_try;; 
    2333 esac 
    2334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2335   (eval "$ac_compiler -V >&5") 2>&5 
    2336   ac_status=$? 
    2337   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2338   (exit $ac_status); } 
    2339  
    2340 cat >conftest.$ac_ext <<_ACEOF 
    2341 /* confdefs.h.  */ 
    2342 _ACEOF 
    2343 cat confdefs.h >>conftest.$ac_ext 
    2344 cat >>conftest.$ac_ext <<_ACEOF 
    2345 /* end confdefs.h.  */ 
    2346  
    2347 int 
    2348 main () 
    2349 { 
    2350  
    2351   ; 
    2352   return 0; 
    2353 } 
    2354 _ACEOF 
    2355 ac_clean_files_save=$ac_clean_files 
    2356 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    2357 # Try to create an executable without -o first, disregard a.out. 
    2358 # It will help us diagnose broken compilers, and finding out an intuition 
    2359 # of exeext. 
    2360 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    2361 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
    2362 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2363 # 
    2364 # List of possible output files, starting from the most likely. 
    2365 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
    2366 # only as a last resort.  b.out is created by i960 compilers. 
    2367 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
    2368 # 
    2369 # The IRIX 6 linker writes into existing files which may not be 
    2370 # executable, retaining their permissions.  Remove them first so a 
    2371 # subsequent execution test works. 
    2372 ac_rmfiles= 
    2373 for ac_file in $ac_files 
    2374 do 
    2375   case $ac_file in 
    2376     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    2377     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    2378   esac 
    2379 done 
    2380 rm -f $ac_rmfiles 
    2381  
    2382 if { (ac_try="$ac_link_default" 
    2383 case "(($ac_try" in 
    2384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2385   *) ac_try_echo=$ac_try;; 
    2386 esac 
    2387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2775$as_echo "$ac_try_echo"; } >&5 
    23882776  (eval "$ac_link_default") 2>&5 
    23892777  ac_status=$? 
    2390   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2391   (exit $ac_status); }; then 
     2778  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2779  test $ac_status = 0; }; then : 
    23922780  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    23932781# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    23992787  test -f "$ac_file" || continue 
    24002788  case $ac_file in 
    2401     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
     2789    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
    24022790        ;; 
    24032791    [ab].out ) 
     
    24062794        break;; 
    24072795    *.* ) 
    2408         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2796        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    24092797        then :; else 
    24102798           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24252813  ac_file='' 
    24262814fi 
    2427  
    2428 { echo "$as_me:$LINENO: result: $ac_file" >&5 
    2429 echo "${ECHO_T}$ac_file" >&6; } 
    2430 if test -z "$ac_file"; then 
    2431   echo "$as_me: failed program was:" >&5 
     2815if test -z "$ac_file"; then : 
     2816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2817$as_echo "no" >&6; } 
     2818$as_echo "$as_me: failed program was:" >&5 
    24322819sed 's/^/| /' conftest.$ac_ext >&5 
    24332820 
    2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2435 See \`config.log' for more details." >&5 
    2436 echo "$as_me: error: C compiler cannot create executables 
    2437 See \`config.log' for more details." >&2;} 
    2438    { (exit 77); exit 77; }; } 
    2439 fi 
    2440  
     2821{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2822$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2823{ as_fn_set_status 77 
     2824as_fn_error "C compiler cannot create executables 
     2825See \`config.log' for more details." "$LINENO" 5; }; } 
     2826else 
     2827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     2828$as_echo "yes" >&6; } 
     2829fi 
     2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
     2831$as_echo_n "checking for C compiler default output file name... " >&6; } 
     2832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
     2833$as_echo "$ac_file" >&6; } 
    24412834ac_exeext=$ac_cv_exeext 
    24422835 
    2443 # Check that the compiler produces executables we can run.  If not, either 
    2444 # the compiler is broken, or we cross compile. 
    2445 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    2446 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
    2447 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    2448 # If not cross compiling, check that we can run a simple program. 
    2449 if test "$cross_compiling" != yes; then 
    2450   if { ac_try='./$ac_file' 
    2451   { (case "(($ac_try" in 
    2452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2453   *) ac_try_echo=$ac_try;; 
    2454 esac 
    2455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2456   (eval "$ac_try") 2>&5 
    2457   ac_status=$? 
    2458   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2459   (exit $ac_status); }; }; then 
    2460     cross_compiling=no 
    2461   else 
    2462     if test "$cross_compiling" = maybe; then 
    2463         cross_compiling=yes 
    2464     else 
    2465         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    2466 If you meant to cross compile, use \`--host'. 
    2467 See \`config.log' for more details." >&5 
    2468 echo "$as_me: error: cannot run C compiled programs. 
    2469 If you meant to cross compile, use \`--host'. 
    2470 See \`config.log' for more details." >&2;} 
    2471    { (exit 1); exit 1; }; } 
    2472     fi 
    2473   fi 
    2474 fi 
    2475 { echo "$as_me:$LINENO: result: yes" >&5 
    2476 echo "${ECHO_T}yes" >&6; } 
    2477  
    2478 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     2836rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
    24792837ac_clean_files=$ac_clean_files_save 
    2480 # Check that the compiler produces executables we can run.  If not, either 
    2481 # the compiler is broken, or we cross compile. 
    2482 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    2483 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
    2484 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    2485 echo "${ECHO_T}$cross_compiling" >&6; } 
    2486  
    2487 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    2488 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
    2489 if { (ac_try="$ac_link" 
     2838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
     2839$as_echo_n "checking for suffix of executables... " >&6; } 
     2840if { { ac_try="$ac_link" 
    24902841case "(($ac_try" in 
    24912842  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24922843  *) ac_try_echo=$ac_try;; 
    24932844esac 
    2494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2845eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2846$as_echo "$ac_try_echo"; } >&5 
    24952847  (eval "$ac_link") 2>&5 
    24962848  ac_status=$? 
    2497   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2498   (exit $ac_status); }; then 
     2849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2850  test $ac_status = 0; }; then : 
    24992851  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    25002852# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    25042856  test -f "$ac_file" || continue 
    25052857  case $ac_file in 
    2506     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
     2858    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
    25072859    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    25082860          break;; 
     
    25112863done 
    25122864else 
    2513   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2514 See \`config.log' for more details." >&5 
    2515 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2516 See \`config.log' for more details." >&2;} 
    2517    { (exit 1); exit 1; }; } 
    2518 fi 
    2519  
    2520 rm -f conftest$ac_cv_exeext 
    2521 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    2522 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
     2865  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2866$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2867as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2868See \`config.log' for more details." "$LINENO" 5; } 
     2869fi 
     2870rm -f conftest conftest$ac_cv_exeext 
     2871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
     2872$as_echo "$ac_cv_exeext" >&6; } 
    25232873 
    25242874rm -f conftest.$ac_ext 
    25252875EXEEXT=$ac_cv_exeext 
    25262876ac_exeext=$EXEEXT 
    2527 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    2528 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
    2529 if test "${ac_cv_objext+set}" = set; then 
    2530   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2531 else 
    2532   cat >conftest.$ac_ext <<_ACEOF 
    2533 /* confdefs.h.  */ 
    2534 _ACEOF 
    2535 cat confdefs.h >>conftest.$ac_ext 
    2536 cat >>conftest.$ac_ext <<_ACEOF 
     2877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25372878/* end confdefs.h.  */ 
    2538  
     2879#include <stdio.h> 
    25392880int 
    25402881main () 
    25412882{ 
     2883FILE *f = fopen ("conftest.out", "w"); 
     2884 return ferror (f) || fclose (f) != 0; 
    25422885 
    25432886  ; 
     
    25452888} 
    25462889_ACEOF 
    2547 rm -f conftest.o conftest.obj 
    2548 if { (ac_try="$ac_compile" 
     2890ac_clean_files="$ac_clean_files conftest.out" 
     2891# Check that the compiler produces executables we can run.  If not, either 
     2892# the compiler is broken, or we cross compile. 
     2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
     2894$as_echo_n "checking whether we are cross compiling... " >&6; } 
     2895if test "$cross_compiling" != yes; then 
     2896  { { ac_try="$ac_link" 
    25492897case "(($ac_try" in 
    25502898  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25512899  *) ac_try_echo=$ac_try;; 
    25522900esac 
    2553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2901eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2902$as_echo "$ac_try_echo"; } >&5 
     2903  (eval "$ac_link") 2>&5 
     2904  ac_status=$? 
     2905  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2906  test $ac_status = 0; } 
     2907  if { ac_try='./conftest$ac_cv_exeext' 
     2908  { { case "(($ac_try" in 
     2909  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2910  *) ac_try_echo=$ac_try;; 
     2911esac 
     2912eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2913$as_echo "$ac_try_echo"; } >&5 
     2914  (eval "$ac_try") 2>&5 
     2915  ac_status=$? 
     2916  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2917  test $ac_status = 0; }; }; then 
     2918    cross_compiling=no 
     2919  else 
     2920    if test "$cross_compiling" = maybe; then 
     2921        cross_compiling=yes 
     2922    else 
     2923        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2924$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2925as_fn_error "cannot run C compiled programs. 
     2926If you meant to cross compile, use \`--host'. 
     2927See \`config.log' for more details." "$LINENO" 5; } 
     2928    fi 
     2929  fi 
     2930fi 
     2931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
     2932$as_echo "$cross_compiling" >&6; } 
     2933 
     2934rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
     2935ac_clean_files=$ac_clean_files_save 
     2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
     2937$as_echo_n "checking for suffix of object files... " >&6; } 
     2938if test "${ac_cv_objext+set}" = set; then : 
     2939  $as_echo_n "(cached) " >&6 
     2940else 
     2941  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2942/* end confdefs.h.  */ 
     2943 
     2944int 
     2945main () 
     2946{ 
     2947 
     2948  ; 
     2949  return 0; 
     2950} 
     2951_ACEOF 
     2952rm -f conftest.o conftest.obj 
     2953if { { ac_try="$ac_compile" 
     2954case "(($ac_try" in 
     2955  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2956  *) ac_try_echo=$ac_try;; 
     2957esac 
     2958eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2959$as_echo "$ac_try_echo"; } >&5 
    25542960  (eval "$ac_compile") 2>&5 
    25552961  ac_status=$? 
    2556   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2557   (exit $ac_status); }; then 
     2962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2963  test $ac_status = 0; }; then : 
    25582964  for ac_file in conftest.o conftest.obj conftest.*; do 
    25592965  test -f "$ac_file" || continue; 
    25602966  case $ac_file in 
    2561     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
     2967    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
    25622968    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    25632969       break;; 
     
    25652971done 
    25662972else 
    2567   echo "$as_me: failed program was:" >&5 
     2973  $as_echo "$as_me: failed program was:" >&5 
    25682974sed 's/^/| /' conftest.$ac_ext >&5 
    25692975 
    2570 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2571 See \`config.log' for more details." >&5 
    2572 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2573 See \`config.log' for more details." >&2;} 
    2574    { (exit 1); exit 1; }; } 
    2575 fi 
    2576  
     2976{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2977$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2978as_fn_error "cannot compute suffix of object files: cannot compile 
     2979See \`config.log' for more details." "$LINENO" 5; } 
     2980fi 
    25772981rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    25782982fi 
    2579 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    2580 echo "${ECHO_T}$ac_cv_objext" >&6; } 
     2983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
     2984$as_echo "$ac_cv_objext" >&6; } 
    25812985OBJEXT=$ac_cv_objext 
    25822986ac_objext=$OBJEXT 
    2583 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    2584 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
    2585 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
    2586   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2587 else 
    2588   cat >conftest.$ac_ext <<_ACEOF 
    2589 /* confdefs.h.  */ 
    2590 _ACEOF 
    2591 cat confdefs.h >>conftest.$ac_ext 
    2592 cat >>conftest.$ac_ext <<_ACEOF 
     2987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
     2988$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
     2989if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     2990  $as_echo_n "(cached) " >&6 
     2991else 
     2992  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25932993/* end confdefs.h.  */ 
    25942994 
     
    26043004} 
    26053005_ACEOF 
    2606 rm -f conftest.$ac_objext 
    2607 if { (ac_try="$ac_compile" 
    2608 case "(($ac_try" in 
    2609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2610   *) ac_try_echo=$ac_try;; 
    2611 esac 
    2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2613   (eval "$ac_compile") 2>conftest.er1 
    2614   ac_status=$? 
    2615   grep -v '^ *+' conftest.er1 >conftest.err 
    2616   rm -f conftest.er1 
    2617   cat conftest.err >&5 
    2618   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2619   (exit $ac_status); } && { 
    2620          test -z "$ac_c_werror_flag" || 
    2621          test ! -s conftest.err 
    2622        } && test -s conftest.$ac_objext; then 
     3006if ac_fn_c_try_compile "$LINENO"; then : 
    26233007  ac_compiler_gnu=yes 
    26243008else 
    2625   echo "$as_me: failed program was:" >&5 
    2626 sed 's/^/| /' conftest.$ac_ext >&5 
    2627  
    2628         ac_compiler_gnu=no 
    2629 fi 
    2630  
     3009  ac_compiler_gnu=no 
     3010fi 
    26313011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26323012ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26333013 
    26343014fi 
    2635 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    2636 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
    2637 GCC=`test $ac_compiler_gnu = yes && echo yes` 
     3015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
     3016$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
     3017if test $ac_compiler_gnu = yes; then 
     3018  GCC=yes 
     3019else 
     3020  GCC= 
     3021fi 
    26383022ac_test_CFLAGS=${CFLAGS+set} 
    26393023ac_save_CFLAGS=$CFLAGS 
    2640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    2641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
    2642 if test "${ac_cv_prog_cc_g+set}" = set; then 
    2643   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
     3025$as_echo_n "checking whether $CC accepts -g... " >&6; } 
     3026if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3027  $as_echo_n "(cached) " >&6 
    26443028else 
    26453029  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    26473031   ac_cv_prog_cc_g=no 
    26483032   CFLAGS="-g" 
    2649    cat >conftest.$ac_ext <<_ACEOF 
    2650 /* confdefs.h.  */ 
    2651 _ACEOF 
    2652 cat confdefs.h >>conftest.$ac_ext 
    2653 cat >>conftest.$ac_ext <<_ACEOF 
     3033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26543034/* end confdefs.h.  */ 
    26553035 
     
    26623042} 
    26633043_ACEOF 
    2664 rm -f conftest.$ac_objext 
    2665 if { (ac_try="$ac_compile" 
    2666 case "(($ac_try" in 
    2667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2668   *) ac_try_echo=$ac_try;; 
    2669 esac 
    2670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2671   (eval "$ac_compile") 2>conftest.er1 
    2672   ac_status=$? 
    2673   grep -v '^ *+' conftest.er1 >conftest.err 
    2674   rm -f conftest.er1 
    2675   cat conftest.err >&5 
    2676   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2677   (exit $ac_status); } && { 
    2678          test -z "$ac_c_werror_flag" || 
    2679          test ! -s conftest.err 
    2680        } && test -s conftest.$ac_objext; then 
     3044if ac_fn_c_try_compile "$LINENO"; then : 
    26813045  ac_cv_prog_cc_g=yes 
    26823046else 
    2683   echo "$as_me: failed program was:" >&5 
    2684 sed 's/^/| /' conftest.$ac_ext >&5 
    2685  
    2686         CFLAGS="" 
    2687       cat >conftest.$ac_ext <<_ACEOF 
    2688 /* confdefs.h.  */ 
    2689 _ACEOF 
    2690 cat confdefs.h >>conftest.$ac_ext 
    2691 cat >>conftest.$ac_ext <<_ACEOF 
     3047  CFLAGS="" 
     3048      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26923049/* end confdefs.h.  */ 
    26933050 
     
    27003057} 
    27013058_ACEOF 
    2702 rm -f conftest.$ac_objext 
    2703 if { (ac_try="$ac_compile" 
    2704 case "(($ac_try" in 
    2705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2706   *) ac_try_echo=$ac_try;; 
    2707 esac 
    2708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2709   (eval "$ac_compile") 2>conftest.er1 
    2710   ac_status=$? 
    2711   grep -v '^ *+' conftest.er1 >conftest.err 
    2712   rm -f conftest.er1 
    2713   cat conftest.err >&5 
    2714   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2715   (exit $ac_status); } && { 
    2716          test -z "$ac_c_werror_flag" || 
    2717          test ! -s conftest.err 
    2718        } && test -s conftest.$ac_objext; then 
    2719   : 
    2720 else 
    2721   echo "$as_me: failed program was:" >&5 
    2722 sed 's/^/| /' conftest.$ac_ext >&5 
    2723  
    2724         ac_c_werror_flag=$ac_save_c_werror_flag 
     3059if ac_fn_c_try_compile "$LINENO"; then : 
     3060 
     3061else 
     3062  ac_c_werror_flag=$ac_save_c_werror_flag 
    27253063         CFLAGS="-g" 
    2726          cat >conftest.$ac_ext <<_ACEOF 
    2727 /* confdefs.h.  */ 
    2728 _ACEOF 
    2729 cat confdefs.h >>conftest.$ac_ext 
    2730 cat >>conftest.$ac_ext <<_ACEOF 
     3064         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27313065/* end confdefs.h.  */ 
    27323066 
     
    27393073} 
    27403074_ACEOF 
    2741 rm -f conftest.$ac_objext 
    2742 if { (ac_try="$ac_compile" 
    2743 case "(($ac_try" in 
    2744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2745   *) ac_try_echo=$ac_try;; 
    2746 esac 
    2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2748   (eval "$ac_compile") 2>conftest.er1 
    2749   ac_status=$? 
    2750   grep -v '^ *+' conftest.er1 >conftest.err 
    2751   rm -f conftest.er1 
    2752   cat conftest.err >&5 
    2753   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2754   (exit $ac_status); } && { 
    2755          test -z "$ac_c_werror_flag" || 
    2756          test ! -s conftest.err 
    2757        } && test -s conftest.$ac_objext; then 
     3075if ac_fn_c_try_compile "$LINENO"; then : 
    27583076  ac_cv_prog_cc_g=yes 
    2759 else 
    2760   echo "$as_me: failed program was:" >&5 
    2761 sed 's/^/| /' conftest.$ac_ext >&5 
    2762  
    2763  
    2764 fi 
    2765  
     3077fi 
    27663078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27673079fi 
    2768  
    27693080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27703081fi 
    2771  
    27723082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27733083   ac_c_werror_flag=$ac_save_c_werror_flag 
    27743084fi 
    2775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    2776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
     3085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
     3086$as_echo "$ac_cv_prog_cc_g" >&6; } 
    27773087if test "$ac_test_CFLAGS" = set; then 
    27783088  CFLAGS=$ac_save_CFLAGS 
     
    27903100  fi 
    27913101fi 
    2792 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
    2793 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
    2794 if test "${ac_cv_prog_cc_c89+set}" = set; then 
    2795   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
     3103$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
     3104if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3105  $as_echo_n "(cached) " >&6 
    27963106else 
    27973107  ac_cv_prog_cc_c89=no 
    27983108ac_save_CC=$CC 
    2799 cat >conftest.$ac_ext <<_ACEOF 
    2800 /* confdefs.h.  */ 
    2801 _ACEOF 
    2802 cat confdefs.h >>conftest.$ac_ext 
    2803 cat >>conftest.$ac_ext <<_ACEOF 
     3109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    28043110/* end confdefs.h.  */ 
    28053111#include <stdarg.h> 
     
    28583164do 
    28593165  CC="$ac_save_CC $ac_arg" 
    2860   rm -f conftest.$ac_objext 
    2861 if { (ac_try="$ac_compile" 
    2862 case "(($ac_try" in 
    2863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2864   *) ac_try_echo=$ac_try;; 
    2865 esac 
    2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2867   (eval "$ac_compile") 2>conftest.er1 
    2868   ac_status=$? 
    2869   grep -v '^ *+' conftest.er1 >conftest.err 
    2870   rm -f conftest.er1 
    2871   cat conftest.err >&5 
    2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2873   (exit $ac_status); } && { 
    2874          test -z "$ac_c_werror_flag" || 
    2875          test ! -s conftest.err 
    2876        } && test -s conftest.$ac_objext; then 
     3166  if ac_fn_c_try_compile "$LINENO"; then : 
    28773167  ac_cv_prog_cc_c89=$ac_arg 
    2878 else 
    2879   echo "$as_me: failed program was:" >&5 
    2880 sed 's/^/| /' conftest.$ac_ext >&5 
    2881  
    2882  
    2883 fi 
    2884  
     3168fi 
    28853169rm -f core conftest.err conftest.$ac_objext 
    28863170  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    28933177case "x$ac_cv_prog_cc_c89" in 
    28943178  x) 
    2895     { echo "$as_me:$LINENO: result: none needed" >&5 
    2896 echo "${ECHO_T}none needed" >&6; } ;; 
     3179    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
     3180$as_echo "none needed" >&6; } ;; 
    28973181  xno) 
    2898     { echo "$as_me:$LINENO: result: unsupported" >&5 
    2899 echo "${ECHO_T}unsupported" >&6; } ;; 
     3182    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
     3183$as_echo "unsupported" >&6; } ;; 
    29003184  *) 
    29013185    CC="$CC $ac_cv_prog_cc_c89" 
    2902     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
    2903 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     3186    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
     3187$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    29043188esac 
    2905  
     3189if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3190 
     3191fi 
    29063192 
    29073193ac_ext=c 
     
    29253211    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29263212set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2927 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2929 if test "${ac_cv_prog_CXX+set}" = set; then 
    2930   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3214$as_echo_n "checking for $ac_word... " >&6; } 
     3215if test "${ac_cv_prog_CXX+set}" = set; then : 
     3216  $as_echo_n "(cached) " >&6 
    29313217else 
    29323218  if test -n "$CXX"; then 
     
    29383224  IFS=$as_save_IFS 
    29393225  test -z "$as_dir" && as_dir=. 
    2940   for ac_exec_ext in '' $ac_executable_extensions; do 
     3226    for ac_exec_ext in '' $ac_executable_extensions; do 
    29413227  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29423228    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2943     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3229    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29443230    break 2 
    29453231  fi 
    29463232done 
    2947 done 
     3233  done 
    29483234IFS=$as_save_IFS 
    29493235 
     
    29523238CXX=$ac_cv_prog_CXX 
    29533239if test -n "$CXX"; then 
    2954   { echo "$as_me:$LINENO: result: $CXX" >&5 
    2955 echo "${ECHO_T}$CXX" >&6; } 
    2956 else 
    2957   { echo "$as_me:$LINENO: result: no" >&5 
    2958 echo "${ECHO_T}no" >&6; } 
     3240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
     3241$as_echo "$CXX" >&6; } 
     3242else 
     3243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3244$as_echo "no" >&6; } 
    29593245fi 
    29603246 
     
    29693255  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    29703256set dummy $ac_prog; ac_word=$2 
    2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2973 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
    2974   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3258$as_echo_n "checking for $ac_word... " >&6; } 
     3259if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3260  $as_echo_n "(cached) " >&6 
    29753261else 
    29763262  if test -n "$ac_ct_CXX"; then 
     
    29823268  IFS=$as_save_IFS 
    29833269  test -z "$as_dir" && as_dir=. 
    2984   for ac_exec_ext in '' $ac_executable_extensions; do 
     3270    for ac_exec_ext in '' $ac_executable_extensions; do 
    29853271  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29863272    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2987     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3273    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29883274    break 2 
    29893275  fi 
    29903276done 
    2991 done 
     3277  done 
    29923278IFS=$as_save_IFS 
    29933279 
     
    29963282ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    29973283if test -n "$ac_ct_CXX"; then 
    2998   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    2999 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
    3000 else 
    3001   { echo "$as_me:$LINENO: result: no" >&5 
    3002 echo "${ECHO_T}no" >&6; } 
     3284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
     3285$as_echo "$ac_ct_CXX" >&6; } 
     3286else 
     3287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3288$as_echo "no" >&6; } 
    30033289fi 
    30043290 
     
    30123298    case $cross_compiling:$ac_tool_warned in 
    30133299yes:) 
    3014 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    3015 whose name does not start with the host triplet.  If you think this 
    3016 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3017 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3018 whose name does not start with the host triplet.  If you think this 
    3019 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3300{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3301$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30203302ac_tool_warned=yes ;; 
    30213303esac 
     
    30273309fi 
    30283310# Provide some information about the compiler. 
    3029 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
    3030 ac_compiler=`set X $ac_compile; echo $2` 
    3031 { (ac_try="$ac_compiler --version >&5" 
     3311$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
     3312set X $ac_compile 
     3313ac_compiler=$2 
     3314for ac_option in --version -v -V -qversion; do 
     3315  { { ac_try="$ac_compiler $ac_option >&5" 
    30323316case "(($ac_try" in 
    30333317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30343318  *) ac_try_echo=$ac_try;; 
    30353319esac 
    3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3037   (eval "$ac_compiler --version >&5") 2>&5 
     3320eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3321$as_echo "$ac_try_echo"; } >&5 
     3322  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    30383323  ac_status=$? 
    3039   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3040   (exit $ac_status); } 
    3041 { (ac_try="$ac_compiler -v >&5" 
    3042 case "(($ac_try" in 
    3043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3044   *) ac_try_echo=$ac_try;; 
    3045 esac 
    3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3047   (eval "$ac_compiler -v >&5") 2>&5 
    3048   ac_status=$? 
    3049   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3050   (exit $ac_status); } 
    3051 { (ac_try="$ac_compiler -V >&5" 
    3052 case "(($ac_try" in 
    3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3054   *) ac_try_echo=$ac_try;; 
    3055 esac 
    3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3057   (eval "$ac_compiler -V >&5") 2>&5 
    3058   ac_status=$? 
    3059   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3060   (exit $ac_status); } 
    3061  
    3062 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    3063 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
    3064 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
    3065   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3066 else 
    3067   cat >conftest.$ac_ext <<_ACEOF 
    3068 /* confdefs.h.  */ 
    3069 _ACEOF 
    3070 cat confdefs.h >>conftest.$ac_ext 
    3071 cat >>conftest.$ac_ext <<_ACEOF 
     3324  if test -s conftest.err; then 
     3325    sed '10a\ 
     3326... rest of stderr output deleted ... 
     3327         10q' conftest.err >conftest.er1 
     3328    cat conftest.er1 >&5 
     3329  fi 
     3330  rm -f conftest.er1 conftest.err 
     3331  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3332  test $ac_status = 0; } 
     3333done 
     3334 
     3335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
     3336$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
     3337if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3338  $as_echo_n "(cached) " >&6 
     3339else 
     3340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    30723341/* end confdefs.h.  */ 
    30733342 
     
    30833352} 
    30843353_ACEOF 
    3085 rm -f conftest.$ac_objext 
    3086 if { (ac_try="$ac_compile" 
    3087 case "(($ac_try" in 
    3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3089   *) ac_try_echo=$ac_try;; 
    3090 esac 
    3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3092   (eval "$ac_compile") 2>conftest.er1 
    3093   ac_status=$? 
    3094   grep -v '^ *+' conftest.er1 >conftest.err 
    3095   rm -f conftest.er1 
    3096   cat conftest.err >&5 
    3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3098   (exit $ac_status); } && { 
    3099          test -z "$ac_cxx_werror_flag" || 
    3100          test ! -s conftest.err 
    3101        } && test -s conftest.$ac_objext; then 
     3354if ac_fn_cxx_try_compile "$LINENO"; then : 
    31023355  ac_compiler_gnu=yes 
    31033356else 
    3104   echo "$as_me: failed program was:" >&5 
    3105 sed 's/^/| /' conftest.$ac_ext >&5 
    3106  
    3107         ac_compiler_gnu=no 
    3108 fi 
    3109  
     3357  ac_compiler_gnu=no 
     3358fi 
    31103359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    31113360ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    31123361 
    31133362fi 
    3114 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    3115 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
    3116 GXX=`test $ac_compiler_gnu = yes && echo yes` 
     3363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
     3364$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
     3365if test $ac_compiler_gnu = yes; then 
     3366  GXX=yes 
     3367else 
     3368  GXX= 
     3369fi 
    31173370ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31183371ac_save_CXXFLAGS=$CXXFLAGS 
    3119 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    3120 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
    3121 if test "${ac_cv_prog_cxx_g+set}" = set; then 
    3122   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
     3373$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
     3374if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3375  $as_echo_n "(cached) " >&6 
    31233376else 
    31243377  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    31263379   ac_cv_prog_cxx_g=no 
    31273380   CXXFLAGS="-g" 
    3128    cat >conftest.$ac_ext <<_ACEOF 
    3129 /* confdefs.h.  */ 
    3130 _ACEOF 
    3131 cat confdefs.h >>conftest.$ac_ext 
    3132 cat >>conftest.$ac_ext <<_ACEOF 
     3381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31333382/* end confdefs.h.  */ 
    31343383 
     
    31413390} 
    31423391_ACEOF 
    3143 rm -f conftest.$ac_objext 
    3144 if { (ac_try="$ac_compile" 
    3145 case "(($ac_try" in 
    3146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3147   *) ac_try_echo=$ac_try;; 
    3148 esac 
    3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3150   (eval "$ac_compile") 2>conftest.er1 
    3151   ac_status=$? 
    3152   grep -v '^ *+' conftest.er1 >conftest.err 
    3153   rm -f conftest.er1 
    3154   cat conftest.err >&5 
    3155   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3156   (exit $ac_status); } && { 
    3157          test -z "$ac_cxx_werror_flag" || 
    3158          test ! -s conftest.err 
    3159        } && test -s conftest.$ac_objext; then 
     3392if ac_fn_cxx_try_compile "$LINENO"; then : 
    31603393  ac_cv_prog_cxx_g=yes 
    31613394else 
    3162   echo "$as_me: failed program was:" >&5 
    3163 sed 's/^/| /' conftest.$ac_ext >&5 
    3164  
    3165         CXXFLAGS="" 
    3166       cat >conftest.$ac_ext <<_ACEOF 
    3167 /* confdefs.h.  */ 
    3168 _ACEOF 
    3169 cat confdefs.h >>conftest.$ac_ext 
    3170 cat >>conftest.$ac_ext <<_ACEOF 
     3395  CXXFLAGS="" 
     3396      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31713397/* end confdefs.h.  */ 
    31723398 
     
    31793405} 
    31803406_ACEOF 
    3181 rm -f conftest.$ac_objext 
    3182 if { (ac_try="$ac_compile" 
    3183 case "(($ac_try" in 
    3184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3185   *) ac_try_echo=$ac_try;; 
    3186 esac 
    3187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3188   (eval "$ac_compile") 2>conftest.er1 
    3189   ac_status=$? 
    3190   grep -v '^ *+' conftest.er1 >conftest.err 
    3191   rm -f conftest.er1 
    3192   cat conftest.err >&5 
    3193   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3194   (exit $ac_status); } && { 
    3195          test -z "$ac_cxx_werror_flag" || 
    3196          test ! -s conftest.err 
    3197        } && test -s conftest.$ac_objext; then 
    3198   : 
    3199 else 
    3200   echo "$as_me: failed program was:" >&5 
    3201 sed 's/^/| /' conftest.$ac_ext >&5 
    3202  
    3203         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3407if ac_fn_cxx_try_compile "$LINENO"; then : 
     3408 
     3409else 
     3410  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32043411         CXXFLAGS="-g" 
    3205          cat >conftest.$ac_ext <<_ACEOF 
    3206 /* confdefs.h.  */ 
    3207 _ACEOF 
    3208 cat confdefs.h >>conftest.$ac_ext 
    3209 cat >>conftest.$ac_ext <<_ACEOF 
     3412         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32103413/* end confdefs.h.  */ 
    32113414 
     
    32183421} 
    32193422_ACEOF 
    3220 rm -f conftest.$ac_objext 
    3221 if { (ac_try="$ac_compile" 
    3222 case "(($ac_try" in 
    3223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3224   *) ac_try_echo=$ac_try;; 
    3225 esac 
    3226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3227   (eval "$ac_compile") 2>conftest.er1 
    3228   ac_status=$? 
    3229   grep -v '^ *+' conftest.er1 >conftest.err 
    3230   rm -f conftest.er1 
    3231   cat conftest.err >&5 
    3232   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3233   (exit $ac_status); } && { 
    3234          test -z "$ac_cxx_werror_flag" || 
    3235          test ! -s conftest.err 
    3236        } && test -s conftest.$ac_objext; then 
     3423if ac_fn_cxx_try_compile "$LINENO"; then : 
    32373424  ac_cv_prog_cxx_g=yes 
    3238 else 
    3239   echo "$as_me: failed program was:" >&5 
    3240 sed 's/^/| /' conftest.$ac_ext >&5 
    3241  
    3242  
    3243 fi 
    3244  
     3425fi 
    32453426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32463427fi 
    3247  
    32483428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32493429fi 
    3250  
    32513430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32523431   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32533432fi 
    3254 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    3255 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
     3433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
     3434$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    32563435if test "$ac_test_CXXFLAGS" = set; then 
    32573436  CXXFLAGS=$ac_save_CXXFLAGS 
     
    33313510 
    33323511 
    3333  
    3334 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    3335 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
    3336 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
    3337   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
     3513$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
     3514if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3515  $as_echo_n "(cached) " >&6 
    33383516else 
    33393517  ac_check_lib_save_LIBS=$LIBS 
    33403518LIBS="-lpthread  $LIBS" 
    3341 cat >conftest.$ac_ext <<_ACEOF 
    3342 /* confdefs.h.  */ 
    3343 _ACEOF 
    3344 cat confdefs.h >>conftest.$ac_ext 
    3345 cat >>conftest.$ac_ext <<_ACEOF 
     3519cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33463520/* end confdefs.h.  */ 
    33473521 
     
    33613535} 
    33623536_ACEOF 
    3363 rm -f conftest.$ac_objext conftest$ac_exeext 
    3364 if { (ac_try="$ac_link" 
    3365 case "(($ac_try" in 
    3366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3367   *) ac_try_echo=$ac_try;; 
    3368 esac 
    3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3370   (eval "$ac_link") 2>conftest.er1 
    3371   ac_status=$? 
    3372   grep -v '^ *+' conftest.er1 >conftest.err 
    3373   rm -f conftest.er1 
    3374   cat conftest.err >&5 
    3375   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3376   (exit $ac_status); } && { 
    3377          test -z "$ac_c_werror_flag" || 
    3378          test ! -s conftest.err 
    3379        } && test -s conftest$ac_exeext && 
    3380        $as_test_x conftest$ac_exeext; then 
     3537if ac_fn_c_try_link "$LINENO"; then : 
    33813538  ac_cv_lib_pthread_pthread_create=yes 
    33823539else 
    3383   echo "$as_me: failed program was:" >&5 
    3384 sed 's/^/| /' conftest.$ac_ext >&5 
    3385  
    3386         ac_cv_lib_pthread_pthread_create=no 
    3387 fi 
    3388  
    3389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3390       conftest$ac_exeext conftest.$ac_ext 
     3540  ac_cv_lib_pthread_pthread_create=no 
     3541fi 
     3542rm -f core conftest.err conftest.$ac_objext \ 
     3543    conftest$ac_exeext conftest.$ac_ext 
    33913544LIBS=$ac_check_lib_save_LIBS 
    33923545fi 
    3393 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3394 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
    3395 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3547$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
     3548if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    33963549  cat >>confdefs.h <<_ACEOF 
    33973550#define HAVE_LIBPTHREAD 1 
     
    34023555fi 
    34033556 
    3404  
    3405 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    3406 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
    3407 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
    3408   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
     3558$as_echo_n "checking for puts in -lwsock32... " >&6; } 
     3559if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3560  $as_echo_n "(cached) " >&6 
    34093561else 
    34103562  ac_check_lib_save_LIBS=$LIBS 
    34113563LIBS="-lwsock32  $LIBS" 
    3412 cat >conftest.$ac_ext <<_ACEOF 
    3413 /* confdefs.h.  */ 
    3414 _ACEOF 
    3415 cat confdefs.h >>conftest.$ac_ext 
    3416 cat >>conftest.$ac_ext <<_ACEOF 
     3564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34173565/* end confdefs.h.  */ 
    34183566 
     
    34323580} 
    34333581_ACEOF 
    3434 rm -f conftest.$ac_objext conftest$ac_exeext 
    3435 if { (ac_try="$ac_link" 
    3436 case "(($ac_try" in 
    3437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3438   *) ac_try_echo=$ac_try;; 
    3439 esac 
    3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3441   (eval "$ac_link") 2>conftest.er1 
    3442   ac_status=$? 
    3443   grep -v '^ *+' conftest.er1 >conftest.err 
    3444   rm -f conftest.er1 
    3445   cat conftest.err >&5 
    3446   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3447   (exit $ac_status); } && { 
    3448          test -z "$ac_c_werror_flag" || 
    3449          test ! -s conftest.err 
    3450        } && test -s conftest$ac_exeext && 
    3451        $as_test_x conftest$ac_exeext; then 
     3582if ac_fn_c_try_link "$LINENO"; then : 
    34523583  ac_cv_lib_wsock32_puts=yes 
    34533584else 
    3454   echo "$as_me: failed program was:" >&5 
    3455 sed 's/^/| /' conftest.$ac_ext >&5 
    3456  
    3457         ac_cv_lib_wsock32_puts=no 
    3458 fi 
    3459  
    3460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3461       conftest$ac_exeext conftest.$ac_ext 
     3585  ac_cv_lib_wsock32_puts=no 
     3586fi 
     3587rm -f core conftest.err conftest.$ac_objext \ 
     3588    conftest$ac_exeext conftest.$ac_ext 
    34623589LIBS=$ac_check_lib_save_LIBS 
    34633590fi 
    3464 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    3465 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
    3466 if test $ac_cv_lib_wsock32_puts = yes; then 
     3591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
     3592$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
     3593if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    34673594  cat >>confdefs.h <<_ACEOF 
    34683595#define HAVE_LIBWSOCK32 1 
     
    34733600fi 
    34743601 
    3475  
    3476 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    3477 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
    3478 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
    3479   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
     3603$as_echo_n "checking for puts in -lws2_32... " >&6; } 
     3604if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3605  $as_echo_n "(cached) " >&6 
    34803606else 
    34813607  ac_check_lib_save_LIBS=$LIBS 
    34823608LIBS="-lws2_32  $LIBS" 
    3483 cat >conftest.$ac_ext <<_ACEOF 
    3484 /* confdefs.h.  */ 
    3485 _ACEOF 
    3486 cat confdefs.h >>conftest.$ac_ext 
    3487 cat >>conftest.$ac_ext <<_ACEOF 
     3609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34883610/* end confdefs.h.  */ 
    34893611 
     
    35033625} 
    35043626_ACEOF 
    3505 rm -f conftest.$ac_objext conftest$ac_exeext 
    3506 if { (ac_try="$ac_link" 
    3507 case "(($ac_try" in 
    3508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3509   *) ac_try_echo=$ac_try;; 
    3510 esac 
    3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3512   (eval "$ac_link") 2>conftest.er1 
    3513   ac_status=$? 
    3514   grep -v '^ *+' conftest.er1 >conftest.err 
    3515   rm -f conftest.er1 
    3516   cat conftest.err >&5 
    3517   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3518   (exit $ac_status); } && { 
    3519          test -z "$ac_c_werror_flag" || 
    3520          test ! -s conftest.err 
    3521        } && test -s conftest$ac_exeext && 
    3522        $as_test_x conftest$ac_exeext; then 
     3627if ac_fn_c_try_link "$LINENO"; then : 
    35233628  ac_cv_lib_ws2_32_puts=yes 
    35243629else 
    3525   echo "$as_me: failed program was:" >&5 
    3526 sed 's/^/| /' conftest.$ac_ext >&5 
    3527  
    3528         ac_cv_lib_ws2_32_puts=no 
    3529 fi 
    3530  
    3531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3532       conftest$ac_exeext conftest.$ac_ext 
     3630  ac_cv_lib_ws2_32_puts=no 
     3631fi 
     3632rm -f core conftest.err conftest.$ac_objext \ 
     3633    conftest$ac_exeext conftest.$ac_ext 
    35333634LIBS=$ac_check_lib_save_LIBS 
    35343635fi 
    3535 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    3536 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
    3537 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
     3637$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
     3638if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35383639  cat >>confdefs.h <<_ACEOF 
    35393640#define HAVE_LIBWS2_32 1 
     
    35443645fi 
    35453646 
    3546  
    3547 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    3548 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
    3549 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
    3550   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
     3648$as_echo_n "checking for puts in -lole32... " >&6; } 
     3649if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3650  $as_echo_n "(cached) " >&6 
    35513651else 
    35523652  ac_check_lib_save_LIBS=$LIBS 
    35533653LIBS="-lole32  $LIBS" 
    3554 cat >conftest.$ac_ext <<_ACEOF 
    3555 /* confdefs.h.  */ 
    3556 _ACEOF 
    3557 cat confdefs.h >>conftest.$ac_ext 
    3558 cat >>conftest.$ac_ext <<_ACEOF 
     3654cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35593655/* end confdefs.h.  */ 
    35603656 
     
    35743670} 
    35753671_ACEOF 
    3576 rm -f conftest.$ac_objext conftest$ac_exeext 
    3577 if { (ac_try="$ac_link" 
    3578 case "(($ac_try" in 
    3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3580   *) ac_try_echo=$ac_try;; 
    3581 esac 
    3582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3583   (eval "$ac_link") 2>conftest.er1 
    3584   ac_status=$? 
    3585   grep -v '^ *+' conftest.er1 >conftest.err 
    3586   rm -f conftest.er1 
    3587   cat conftest.err >&5 
    3588   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3589   (exit $ac_status); } && { 
    3590          test -z "$ac_c_werror_flag" || 
    3591          test ! -s conftest.err 
    3592        } && test -s conftest$ac_exeext && 
    3593        $as_test_x conftest$ac_exeext; then 
     3672if ac_fn_c_try_link "$LINENO"; then : 
    35943673  ac_cv_lib_ole32_puts=yes 
    35953674else 
    3596   echo "$as_me: failed program was:" >&5 
    3597 sed 's/^/| /' conftest.$ac_ext >&5 
    3598  
    3599         ac_cv_lib_ole32_puts=no 
    3600 fi 
    3601  
    3602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3603       conftest$ac_exeext conftest.$ac_ext 
     3675  ac_cv_lib_ole32_puts=no 
     3676fi 
     3677rm -f core conftest.err conftest.$ac_objext \ 
     3678    conftest$ac_exeext conftest.$ac_ext 
    36043679LIBS=$ac_check_lib_save_LIBS 
    36053680fi 
    3606 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    3607 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
    3608 if test $ac_cv_lib_ole32_puts = yes; then 
     3681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
     3682$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
     3683if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    36093684  cat >>confdefs.h <<_ACEOF 
    36103685#define HAVE_LIBOLE32 1 
     
    36153690fi 
    36163691 
    3617  
    3618 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    3619 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
    3620 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
    3621   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
     3693$as_echo_n "checking for puts in -lwinmm... " >&6; } 
     3694if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3695  $as_echo_n "(cached) " >&6 
    36223696else 
    36233697  ac_check_lib_save_LIBS=$LIBS 
    36243698LIBS="-lwinmm  $LIBS" 
    3625 cat >conftest.$ac_ext <<_ACEOF 
    3626 /* confdefs.h.  */ 
    3627 _ACEOF 
    3628 cat confdefs.h >>conftest.$ac_ext 
    3629 cat >>conftest.$ac_ext <<_ACEOF 
     3699cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36303700/* end confdefs.h.  */ 
    36313701 
     
    36453715} 
    36463716_ACEOF 
    3647 rm -f conftest.$ac_objext conftest$ac_exeext 
    3648 if { (ac_try="$ac_link" 
    3649 case "(($ac_try" in 
    3650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3651   *) ac_try_echo=$ac_try;; 
    3652 esac 
    3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3654   (eval "$ac_link") 2>conftest.er1 
    3655   ac_status=$? 
    3656   grep -v '^ *+' conftest.er1 >conftest.err 
    3657   rm -f conftest.er1 
    3658   cat conftest.err >&5 
    3659   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3660   (exit $ac_status); } && { 
    3661          test -z "$ac_c_werror_flag" || 
    3662          test ! -s conftest.err 
    3663        } && test -s conftest$ac_exeext && 
    3664        $as_test_x conftest$ac_exeext; then 
     3717if ac_fn_c_try_link "$LINENO"; then : 
    36653718  ac_cv_lib_winmm_puts=yes 
    36663719else 
    3667   echo "$as_me: failed program was:" >&5 
    3668 sed 's/^/| /' conftest.$ac_ext >&5 
    3669  
    3670         ac_cv_lib_winmm_puts=no 
    3671 fi 
    3672  
    3673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3674       conftest$ac_exeext conftest.$ac_ext 
     3720  ac_cv_lib_winmm_puts=no 
     3721fi 
     3722rm -f core conftest.err conftest.$ac_objext \ 
     3723    conftest$ac_exeext conftest.$ac_ext 
    36753724LIBS=$ac_check_lib_save_LIBS 
    36763725fi 
    3677 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    3678 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
    3679 if test $ac_cv_lib_winmm_puts = yes; then 
     3726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
     3727$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
     3728if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    36803729  cat >>confdefs.h <<_ACEOF 
    36813730#define HAVE_LIBWINMM 1 
     
    36863735fi 
    36873736 
    3688  
    3689 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    3690 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
    3691 if test "${ac_cv_lib_socket_puts+set}" = set; then 
    3692   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
     3738$as_echo_n "checking for puts in -lsocket... " >&6; } 
     3739if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3740  $as_echo_n "(cached) " >&6 
    36933741else 
    36943742  ac_check_lib_save_LIBS=$LIBS 
    36953743LIBS="-lsocket  $LIBS" 
    3696 cat >conftest.$ac_ext <<_ACEOF 
    3697 /* confdefs.h.  */ 
    3698 _ACEOF 
    3699 cat confdefs.h >>conftest.$ac_ext 
    3700 cat >>conftest.$ac_ext <<_ACEOF 
     3744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37013745/* end confdefs.h.  */ 
    37023746 
     
    37163760} 
    37173761_ACEOF 
    3718 rm -f conftest.$ac_objext conftest$ac_exeext 
    3719 if { (ac_try="$ac_link" 
    3720 case "(($ac_try" in 
    3721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3722   *) ac_try_echo=$ac_try;; 
    3723 esac 
    3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3725   (eval "$ac_link") 2>conftest.er1 
    3726   ac_status=$? 
    3727   grep -v '^ *+' conftest.er1 >conftest.err 
    3728   rm -f conftest.er1 
    3729   cat conftest.err >&5 
    3730   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3731   (exit $ac_status); } && { 
    3732          test -z "$ac_c_werror_flag" || 
    3733          test ! -s conftest.err 
    3734        } && test -s conftest$ac_exeext && 
    3735        $as_test_x conftest$ac_exeext; then 
     3762if ac_fn_c_try_link "$LINENO"; then : 
    37363763  ac_cv_lib_socket_puts=yes 
    37373764else 
    3738   echo "$as_me: failed program was:" >&5 
    3739 sed 's/^/| /' conftest.$ac_ext >&5 
    3740  
    3741         ac_cv_lib_socket_puts=no 
    3742 fi 
    3743  
    3744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3745       conftest$ac_exeext conftest.$ac_ext 
     3765  ac_cv_lib_socket_puts=no 
     3766fi 
     3767rm -f core conftest.err conftest.$ac_objext \ 
     3768    conftest$ac_exeext conftest.$ac_ext 
    37463769LIBS=$ac_check_lib_save_LIBS 
    37473770fi 
    3748 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    3749 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
    3750 if test $ac_cv_lib_socket_puts = yes; then 
     3771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
     3772$as_echo "$ac_cv_lib_socket_puts" >&6; } 
     3773if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    37513774  cat >>confdefs.h <<_ACEOF 
    37523775#define HAVE_LIBSOCKET 1 
     
    37573780fi 
    37583781 
    3759  
    3760 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    3761 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
    3762 if test "${ac_cv_lib_rt_puts+set}" = set; then 
    3763   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
     3783$as_echo_n "checking for puts in -lrt... " >&6; } 
     3784if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3785  $as_echo_n "(cached) " >&6 
    37643786else 
    37653787  ac_check_lib_save_LIBS=$LIBS 
    37663788LIBS="-lrt  $LIBS" 
    3767 cat >conftest.$ac_ext <<_ACEOF 
    3768 /* confdefs.h.  */ 
    3769 _ACEOF 
    3770 cat confdefs.h >>conftest.$ac_ext 
    3771 cat >>conftest.$ac_ext <<_ACEOF 
     3789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37723790/* end confdefs.h.  */ 
    37733791 
     
    37873805} 
    37883806_ACEOF 
    3789 rm -f conftest.$ac_objext conftest$ac_exeext 
    3790 if { (ac_try="$ac_link" 
    3791 case "(($ac_try" in 
    3792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3793   *) ac_try_echo=$ac_try;; 
    3794 esac 
    3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3796   (eval "$ac_link") 2>conftest.er1 
    3797   ac_status=$? 
    3798   grep -v '^ *+' conftest.er1 >conftest.err 
    3799   rm -f conftest.er1 
    3800   cat conftest.err >&5 
    3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3802   (exit $ac_status); } && { 
    3803          test -z "$ac_c_werror_flag" || 
    3804          test ! -s conftest.err 
    3805        } && test -s conftest$ac_exeext && 
    3806        $as_test_x conftest$ac_exeext; then 
     3807if ac_fn_c_try_link "$LINENO"; then : 
    38073808  ac_cv_lib_rt_puts=yes 
    38083809else 
    3809   echo "$as_me: failed program was:" >&5 
    3810 sed 's/^/| /' conftest.$ac_ext >&5 
    3811  
    3812         ac_cv_lib_rt_puts=no 
    3813 fi 
    3814  
    3815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3816       conftest$ac_exeext conftest.$ac_ext 
     3810  ac_cv_lib_rt_puts=no 
     3811fi 
     3812rm -f core conftest.err conftest.$ac_objext \ 
     3813    conftest$ac_exeext conftest.$ac_ext 
    38173814LIBS=$ac_check_lib_save_LIBS 
    38183815fi 
    3819 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    3820 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
    3821 if test $ac_cv_lib_rt_puts = yes; then 
     3816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
     3817$as_echo "$ac_cv_lib_rt_puts" >&6; } 
     3818if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38223819  cat >>confdefs.h <<_ACEOF 
    38233820#define HAVE_LIBRT 1 
     
    38283825fi 
    38293826 
    3830  
    3831 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    3832 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
    3833 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
    3834   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
     3828$as_echo_n "checking for puts in -lnsl... " >&6; } 
     3829if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3830  $as_echo_n "(cached) " >&6 
    38353831else 
    38363832  ac_check_lib_save_LIBS=$LIBS 
    38373833LIBS="-lnsl  $LIBS" 
    3838 cat >conftest.$ac_ext <<_ACEOF 
    3839 /* confdefs.h.  */ 
    3840 _ACEOF 
    3841 cat confdefs.h >>conftest.$ac_ext 
    3842 cat >>conftest.$ac_ext <<_ACEOF 
     3834cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38433835/* end confdefs.h.  */ 
    38443836 
     
    38583850} 
    38593851_ACEOF 
    3860 rm -f conftest.$ac_objext conftest$ac_exeext 
    3861 if { (ac_try="$ac_link" 
    3862 case "(($ac_try" in 
    3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3864   *) ac_try_echo=$ac_try;; 
    3865 esac 
    3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3867   (eval "$ac_link") 2>conftest.er1 
    3868   ac_status=$? 
    3869   grep -v '^ *+' conftest.er1 >conftest.err 
    3870   rm -f conftest.er1 
    3871   cat conftest.err >&5 
    3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3873   (exit $ac_status); } && { 
    3874          test -z "$ac_c_werror_flag" || 
    3875          test ! -s conftest.err 
    3876        } && test -s conftest$ac_exeext && 
    3877        $as_test_x conftest$ac_exeext; then 
     3852if ac_fn_c_try_link "$LINENO"; then : 
    38783853  ac_cv_lib_nsl_puts=yes 
    38793854else 
    3880   echo "$as_me: failed program was:" >&5 
    3881 sed 's/^/| /' conftest.$ac_ext >&5 
    3882  
    3883         ac_cv_lib_nsl_puts=no 
    3884 fi 
    3885  
    3886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3887       conftest$ac_exeext conftest.$ac_ext 
     3855  ac_cv_lib_nsl_puts=no 
     3856fi 
     3857rm -f core conftest.err conftest.$ac_objext \ 
     3858    conftest$ac_exeext conftest.$ac_ext 
    38883859LIBS=$ac_check_lib_save_LIBS 
    38893860fi 
    3890 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    3891 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
    3892 if test $ac_cv_lib_nsl_puts = yes; then 
     3861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
     3862$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
     3863if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    38933864  cat >>confdefs.h <<_ACEOF 
    38943865#define HAVE_LIBNSL 1 
     
    38993870fi 
    39003871 
    3901  
    3902 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3903 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3904 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3905   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3873$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3874if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3875  $as_echo_n "(cached) " >&6 
    39063876else 
    39073877  ac_check_lib_save_LIBS=$LIBS 
    39083878LIBS="-luuid  $LIBS" 
    3909 cat >conftest.$ac_ext <<_ACEOF 
    3910 /* confdefs.h.  */ 
    3911 _ACEOF 
    3912 cat confdefs.h >>conftest.$ac_ext 
    3913 cat >>conftest.$ac_ext <<_ACEOF 
     3879cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39143880/* end confdefs.h.  */ 
    39153881 
     
    39293895} 
    39303896_ACEOF 
    3931 rm -f conftest.$ac_objext conftest$ac_exeext 
    3932 if { (ac_try="$ac_link" 
    3933 case "(($ac_try" in 
    3934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3935   *) ac_try_echo=$ac_try;; 
    3936 esac 
    3937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3938   (eval "$ac_link") 2>conftest.er1 
    3939   ac_status=$? 
    3940   grep -v '^ *+' conftest.er1 >conftest.err 
    3941   rm -f conftest.er1 
    3942   cat conftest.err >&5 
    3943   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3944   (exit $ac_status); } && { 
    3945          test -z "$ac_c_werror_flag" || 
    3946          test ! -s conftest.err 
    3947        } && test -s conftest$ac_exeext && 
    3948        $as_test_x conftest$ac_exeext; then 
     3897if ac_fn_c_try_link "$LINENO"; then : 
    39493898  ac_cv_lib_uuid_uuid_generate=yes 
    39503899else 
    3951   echo "$as_me: failed program was:" >&5 
    3952 sed 's/^/| /' conftest.$ac_ext >&5 
    3953  
    3954         ac_cv_lib_uuid_uuid_generate=no 
    3955 fi 
    3956  
    3957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3958       conftest$ac_exeext conftest.$ac_ext 
     3900  ac_cv_lib_uuid_uuid_generate=no 
     3901fi 
     3902rm -f core conftest.err conftest.$ac_objext \ 
     3903    conftest$ac_exeext conftest.$ac_ext 
    39593904LIBS=$ac_check_lib_save_LIBS 
    39603905fi 
    3961 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3962 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3963 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3907$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3908if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    39643909  cat >>confdefs.h <<_ACEOF 
    39653910#define HAVE_LIBUUID 1 
     
    39703915fi 
    39713916 
    3972 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3973 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3974 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3975   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3918$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3919if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3920  $as_echo_n "(cached) " >&6 
    39763921else 
    39773922  ac_check_lib_save_LIBS=$LIBS 
    39783923LIBS="-luuid  $LIBS" 
    3979 cat >conftest.$ac_ext <<_ACEOF 
    3980 /* confdefs.h.  */ 
    3981 _ACEOF 
    3982 cat confdefs.h >>conftest.$ac_ext 
    3983 cat >>conftest.$ac_ext <<_ACEOF 
     3924cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39843925/* end confdefs.h.  */ 
    39853926 
     
    39993940} 
    40003941_ACEOF 
    4001 rm -f conftest.$ac_objext conftest$ac_exeext 
    4002 if { (ac_try="$ac_link" 
    4003 case "(($ac_try" in 
    4004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4005   *) ac_try_echo=$ac_try;; 
    4006 esac 
    4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4008   (eval "$ac_link") 2>conftest.er1 
    4009   ac_status=$? 
    4010   grep -v '^ *+' conftest.er1 >conftest.err 
    4011   rm -f conftest.er1 
    4012   cat conftest.err >&5 
    4013   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4014   (exit $ac_status); } && { 
    4015          test -z "$ac_c_werror_flag" || 
    4016          test ! -s conftest.err 
    4017        } && test -s conftest$ac_exeext && 
    4018        $as_test_x conftest$ac_exeext; then 
     3942if ac_fn_c_try_link "$LINENO"; then : 
    40193943  ac_cv_lib_uuid_uuid_generate=yes 
    40203944else 
    4021   echo "$as_me: failed program was:" >&5 
    4022 sed 's/^/| /' conftest.$ac_ext >&5 
    4023  
    4024         ac_cv_lib_uuid_uuid_generate=no 
    4025 fi 
    4026  
    4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4028       conftest$ac_exeext conftest.$ac_ext 
     3945  ac_cv_lib_uuid_uuid_generate=no 
     3946fi 
     3947rm -f core conftest.err conftest.$ac_objext \ 
     3948    conftest$ac_exeext conftest.$ac_ext 
    40293949LIBS=$ac_check_lib_save_LIBS 
    40303950fi 
    4031 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    4032 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4033 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3952$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3953if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40343954  ac_has_uuid_lib=1 
    40353955fi 
    40363956 
    40373957 
    4038 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    4039 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
     3958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3959$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    40403960cat >>confdefs.h <<_ACEOF 
    40413961#define PJ_M_NAME "$target_cpu" 
     
    40433963 
    40443964 
    4045 { echo "$as_me:$LINENO: checking memory alignment" >&5 
    4046 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
     3965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
     3966$as_echo_n "checking memory alignment... " >&6; } 
    40473967case $target in 
    40483968    sparc64-* | ia64-* | x86_64-* ) 
    4049         cat >>confdefs.h <<\_ACEOF 
    4050 #define PJ_POOL_ALIGNMENT 8 
    4051 _ACEOF 
    4052  
    4053         { echo "$as_me:$LINENO: result: 8 bytes" >&5 
    4054 echo "${ECHO_T}8 bytes" >&6; } 
     3969        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3970 
     3971        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
     3972$as_echo "8 bytes" >&6; } 
    40553973        ;; 
    40563974    * ) 
    4057         cat >>confdefs.h <<\_ACEOF 
    4058 #define PJ_POOL_ALIGNMENT 4 
    4059 _ACEOF 
    4060  
    4061         { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    4062 echo "${ECHO_T}4 bytes (default)" >&6; } 
     3975        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3976 
     3977        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
     3978$as_echo "4 bytes (default)" >&6; } 
    40633979        ;; 
    40643980esac 
     
    40703986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    40713987ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4072 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    4073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
     3988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
     3989$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    40743990# On Suns, sometimes $CPP names a directory. 
    40753991if test -n "$CPP" && test -d "$CPP"; then 
     
    40773993fi 
    40783994if test -z "$CPP"; then 
    4079   if test "${ac_cv_prog_CPP+set}" = set; then 
    4080   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3995  if test "${ac_cv_prog_CPP+set}" = set; then : 
     3996  $as_echo_n "(cached) " >&6 
    40813997else 
    40823998      # Double quotes because CPP needs to be expanded 
     
    40924008  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40934009  # not just through cpp. "Syntax error" is here to catch this case. 
    4094   cat >conftest.$ac_ext <<_ACEOF 
    4095 /* confdefs.h.  */ 
    4096 _ACEOF 
    4097 cat confdefs.h >>conftest.$ac_ext 
    4098 cat >>conftest.$ac_ext <<_ACEOF 
     4010  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40994011/* end confdefs.h.  */ 
    41004012#ifdef __STDC__ 
     
    41054017                     Syntax error 
    41064018_ACEOF 
    4107 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4108 case "(($ac_try" in 
    4109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4110   *) ac_try_echo=$ac_try;; 
    4111 esac 
    4112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4113   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4114   ac_status=$? 
    4115   grep -v '^ *+' conftest.er1 >conftest.err 
    4116   rm -f conftest.er1 
    4117   cat conftest.err >&5 
    4118   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4119   (exit $ac_status); } >/dev/null && { 
    4120          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4121          test ! -s conftest.err 
    4122        }; then 
    4123   : 
    4124 else 
    4125   echo "$as_me: failed program was:" >&5 
    4126 sed 's/^/| /' conftest.$ac_ext >&5 
    4127  
     4019if ac_fn_c_try_cpp "$LINENO"; then : 
     4020 
     4021else 
    41284022  # Broken: fails on valid input. 
    41294023continue 
    41304024fi 
    4131  
    41324025rm -f conftest.err conftest.$ac_ext 
    41334026 
    41344027  # OK, works on sane cases.  Now check whether nonexistent headers 
    41354028  # can be detected and how. 
    4136   cat >conftest.$ac_ext <<_ACEOF 
    4137 /* confdefs.h.  */ 
    4138 _ACEOF 
    4139 cat confdefs.h >>conftest.$ac_ext 
    4140 cat >>conftest.$ac_ext <<_ACEOF 
     4029  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41414030/* end confdefs.h.  */ 
    41424031#include <ac_nonexistent.h> 
    41434032_ACEOF 
    4144 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4145 case "(($ac_try" in 
    4146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4147   *) ac_try_echo=$ac_try;; 
    4148 esac 
    4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4150   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4151   ac_status=$? 
    4152   grep -v '^ *+' conftest.er1 >conftest.err 
    4153   rm -f conftest.er1 
    4154   cat conftest.err >&5 
    4155   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4156   (exit $ac_status); } >/dev/null && { 
    4157          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4158          test ! -s conftest.err 
    4159        }; then 
     4033if ac_fn_c_try_cpp "$LINENO"; then : 
    41604034  # Broken: success on invalid input. 
    41614035continue 
    41624036else 
    4163   echo "$as_me: failed program was:" >&5 
    4164 sed 's/^/| /' conftest.$ac_ext >&5 
    4165  
    41664037  # Passes both tests. 
    41674038ac_preproc_ok=: 
    41684039break 
    41694040fi 
    4170  
    41714041rm -f conftest.err conftest.$ac_ext 
    41724042 
     
    41744044# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    41754045rm -f conftest.err conftest.$ac_ext 
    4176 if $ac_preproc_ok; then 
     4046if $ac_preproc_ok; then : 
    41774047  break 
    41784048fi 
     
    41864056  ac_cv_prog_CPP=$CPP 
    41874057fi 
    4188 { echo "$as_me:$LINENO: result: $CPP" >&5 
    4189 echo "${ECHO_T}$CPP" >&6; } 
     4058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
     4059$as_echo "$CPP" >&6; } 
    41904060ac_preproc_ok=false 
    41914061for ac_c_preproc_warn_flag in '' yes 
     
    41974067  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41984068  # not just through cpp. "Syntax error" is here to catch this case. 
    4199   cat >conftest.$ac_ext <<_ACEOF 
    4200 /* confdefs.h.  */ 
    4201 _ACEOF 
    4202 cat confdefs.h >>conftest.$ac_ext 
    4203 cat >>conftest.$ac_ext <<_ACEOF 
     4069  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42044070/* end confdefs.h.  */ 
    42054071#ifdef __STDC__ 
     
    42104076                     Syntax error 
    42114077_ACEOF 
    4212 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4213 case "(($ac_try" in 
    4214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4215   *) ac_try_echo=$ac_try;; 
    4216 esac 
    4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4218   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4219   ac_status=$? 
    4220   grep -v '^ *+' conftest.er1 >conftest.err 
    4221   rm -f conftest.er1 
    4222   cat conftest.err >&5 
    4223   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4224   (exit $ac_status); } >/dev/null && { 
    4225          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4226          test ! -s conftest.err 
    4227        }; then 
    4228   : 
    4229 else 
    4230   echo "$as_me: failed program was:" >&5 
    4231 sed 's/^/| /' conftest.$ac_ext >&5 
    4232  
     4078if ac_fn_c_try_cpp "$LINENO"; then : 
     4079 
     4080else 
    42334081  # Broken: fails on valid input. 
    42344082continue 
    42354083fi 
    4236  
    42374084rm -f conftest.err conftest.$ac_ext 
    42384085 
    42394086  # OK, works on sane cases.  Now check whether nonexistent headers 
    42404087  # can be detected and how. 
    4241   cat >conftest.$ac_ext <<_ACEOF 
    4242 /* confdefs.h.  */ 
    4243 _ACEOF 
    4244 cat confdefs.h >>conftest.$ac_ext 
    4245 cat >>conftest.$ac_ext <<_ACEOF 
     4088  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42464089/* end confdefs.h.  */ 
    42474090#include <ac_nonexistent.h> 
    42484091_ACEOF 
    4249 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4250 case "(($ac_try" in 
    4251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4252   *) ac_try_echo=$ac_try;; 
    4253 esac 
    4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4255   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4256   ac_status=$? 
    4257   grep -v '^ *+' conftest.er1 >conftest.err 
    4258   rm -f conftest.er1 
    4259   cat conftest.err >&5 
    4260   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4261   (exit $ac_status); } >/dev/null && { 
    4262          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4263          test ! -s conftest.err 
    4264        }; then 
     4092if ac_fn_c_try_cpp "$LINENO"; then : 
    42654093  # Broken: success on invalid input. 
    42664094continue 
    42674095else 
    4268   echo "$as_me: failed program was:" >&5 
    4269 sed 's/^/| /' conftest.$ac_ext >&5 
    4270  
    42714096  # Passes both tests. 
    42724097ac_preproc_ok=: 
    42734098break 
    42744099fi 
    4275  
    42764100rm -f conftest.err conftest.$ac_ext 
    42774101 
     
    42794103# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42804104rm -f conftest.err conftest.$ac_ext 
    4281 if $ac_preproc_ok; then 
    4282   : 
    4283 else 
    4284   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4285 See \`config.log' for more details." >&5 
    4286 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4287 See \`config.log' for more details." >&2;} 
    4288    { (exit 1); exit 1; }; } 
     4105if $ac_preproc_ok; then : 
     4106 
     4107else 
     4108  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     4109$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     4110as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     4111See \`config.log' for more details." "$LINENO" 5; } 
    42894112fi 
    42904113 
     
    42964119 
    42974120 
    4298 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
    4299 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
    4300 if test "${ac_cv_path_GREP+set}" = set; then 
    4301   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4302 else 
    4303   # Extract the first word of "grep ggrep" to use in msg output 
    4304 if test -z "$GREP"; then 
    4305 set dummy grep ggrep; ac_prog_name=$2 
    4306 if test "${ac_cv_path_GREP+set}" = set; then 
    4307   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4308 else 
     4121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
     4122$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
     4123if test "${ac_cv_path_GREP+set}" = set; then : 
     4124  $as_echo_n "(cached) " >&6 
     4125else 
     4126  if test -z "$GREP"; then 
    43094127  ac_path_GREP_found=false 
    4310 # Loop through the user's path and test for each of PROGNAME-LIST 
    4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4128  # Loop through the user's path and test for each of PROGNAME-LIST 
     4129  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43124130for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43134131do 
    43144132  IFS=$as_save_IFS 
    43154133  test -z "$as_dir" && as_dir=. 
    4316   for ac_prog in grep ggrep; do 
    4317   for ac_exec_ext in '' $ac_executable_extensions; do 
    4318     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4319     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4320     # Check for GNU ac_path_GREP and select it if it is found. 
     4134    for ac_prog in grep ggrep; do 
     4135    for ac_exec_ext in '' $ac_executable_extensions; do 
     4136      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4137      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4138# Check for GNU ac_path_GREP and select it if it is found. 
    43214139  # Check for GNU $ac_path_GREP 
    43224140case `"$ac_path_GREP" --version 2>&1` in 
     
    43254143*) 
    43264144  ac_count=0 
    4327   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4145  $as_echo_n 0123456789 >"conftest.in" 
    43284146  while : 
    43294147  do 
     
    43314149    mv "conftest.tmp" "conftest.in" 
    43324150    cp "conftest.in" "conftest.nl" 
    4333     echo 'GREP' >> "conftest.nl" 
     4151    $as_echo 'GREP' >> "conftest.nl" 
    43344152    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43354153    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4336     ac_count=`expr $ac_count + 1` 
     4154    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43374155    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    43384156      # Best one so far, save it but keep looking for a better one 
     
    43464164esac 
    43474165 
    4348  
    4349     $ac_path_GREP_found && break 3 
     4166      $ac_path_GREP_found && break 3 
     4167    done 
    43504168  done 
    4351 done 
    4352  
    4353 done 
     4169  done 
    43544170IFS=$as_save_IFS 
    4355  
    4356  
    4357 fi 
    4358  
    4359 GREP="$ac_cv_path_GREP" 
    4360 if test -z "$GREP"; then 
    4361   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4363    { (exit 1); exit 1; }; } 
    4364 fi 
    4365  
     4171  if test -z "$ac_cv_path_GREP"; then 
     4172    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4173  fi 
    43664174else 
    43674175  ac_cv_path_GREP=$GREP 
    43684176fi 
    43694177 
    4370  
    4371 fi 
    4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
    4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
     4178fi 
     4179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
     4180$as_echo "$ac_cv_path_GREP" >&6; } 
    43744181 GREP="$ac_cv_path_GREP" 
    43754182 
    43764183 
    4377 { echo "$as_me:$LINENO: checking for egrep" >&5 
    4378 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
    4379 if test "${ac_cv_path_EGREP+set}" = set; then 
    4380   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
     4185$as_echo_n "checking for egrep... " >&6; } 
     4186if test "${ac_cv_path_EGREP+set}" = set; then : 
     4187  $as_echo_n "(cached) " >&6 
    43814188else 
    43824189  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    43834190   then ac_cv_path_EGREP="$GREP -E" 
    43844191   else 
    4385      # Extract the first word of "egrep" to use in msg output 
    4386 if test -z "$EGREP"; then 
    4387 set dummy egrep; ac_prog_name=$2 
    4388 if test "${ac_cv_path_EGREP+set}" = set; then 
    4389   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4390 else 
     4192     if test -z "$EGREP"; then 
    43914193  ac_path_EGREP_found=false 
    4392 # Loop through the user's path and test for each of PROGNAME-LIST 
    4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4194  # Loop through the user's path and test for each of PROGNAME-LIST 
     4195  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43944196for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43954197do 
    43964198  IFS=$as_save_IFS 
    43974199  test -z "$as_dir" && as_dir=. 
    4398   for ac_prog in egrep; do 
    4399   for ac_exec_ext in '' $ac_executable_extensions; do 
    4400     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4401     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4402     # Check for GNU ac_path_EGREP and select it if it is found. 
     4200    for ac_prog in egrep; do 
     4201    for ac_exec_ext in '' $ac_executable_extensions; do 
     4202      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4203      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4204# Check for GNU ac_path_EGREP and select it if it is found. 
    44034205  # Check for GNU $ac_path_EGREP 
    44044206case `"$ac_path_EGREP" --version 2>&1` in 
     
    44074209*) 
    44084210  ac_count=0 
    4409   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4211  $as_echo_n 0123456789 >"conftest.in" 
    44104212  while : 
    44114213  do 
     
    44134215    mv "conftest.tmp" "conftest.in" 
    44144216    cp "conftest.in" "conftest.nl" 
    4415     echo 'EGREP' >> "conftest.nl" 
     4217    $as_echo 'EGREP' >> "conftest.nl" 
    44164218    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44174219    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4418     ac_count=`expr $ac_count + 1` 
     4220    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44194221    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44204222      # Best one so far, save it but keep looking for a better one 
     
    44284230esac 
    44294231 
    4430  
    4431     $ac_path_EGREP_found && break 3 
     4232      $ac_path_EGREP_found && break 3 
     4233    done 
    44324234  done 
    4433 done 
    4434  
    4435 done 
     4235  done 
    44364236IFS=$as_save_IFS 
    4437  
    4438  
    4439 fi 
    4440  
    4441 EGREP="$ac_cv_path_EGREP" 
    4442 if test -z "$EGREP"; then 
    4443   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4444 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4445    { (exit 1); exit 1; }; } 
    4446 fi 
    4447  
     4237  if test -z "$ac_cv_path_EGREP"; then 
     4238    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4239  fi 
    44484240else 
    44494241  ac_cv_path_EGREP=$EGREP 
    44504242fi 
    44514243 
    4452  
    44534244   fi 
    44544245fi 
    4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
    4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
     4246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
     4247$as_echo "$ac_cv_path_EGREP" >&6; } 
    44574248 EGREP="$ac_cv_path_EGREP" 
    44584249 
    44594250 
    4460 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    4461 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
    4462 if test "${ac_cv_header_stdc+set}" = set; then 
    4463   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4464 else 
    4465   cat >conftest.$ac_ext <<_ACEOF 
    4466 /* confdefs.h.  */ 
    4467 _ACEOF 
    4468 cat confdefs.h >>conftest.$ac_ext 
    4469 cat >>conftest.$ac_ext <<_ACEOF 
     4251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
     4252$as_echo_n "checking for ANSI C header files... " >&6; } 
     4253if test "${ac_cv_header_stdc+set}" = set; then : 
     4254  $as_echo_n "(cached) " >&6 
     4255else 
     4256  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44704257/* end confdefs.h.  */ 
    44714258#include <stdlib.h> 
     
    44824269} 
    44834270_ACEOF 
    4484 rm -f conftest.$ac_objext 
    4485 if { (ac_try="$ac_compile" 
    4486 case "(($ac_try" in 
    4487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4488   *) ac_try_echo=$ac_try;; 
    4489 esac 
    4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4491   (eval "$ac_compile") 2>conftest.er1 
    4492   ac_status=$? 
    4493   grep -v '^ *+' conftest.er1 >conftest.err 
    4494   rm -f conftest.er1 
    4495   cat conftest.err >&5 
    4496   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4497   (exit $ac_status); } && { 
    4498          test -z "$ac_c_werror_flag" || 
    4499          test ! -s conftest.err 
    4500        } && test -s conftest.$ac_objext; then 
     4271if ac_fn_c_try_compile "$LINENO"; then : 
    45014272  ac_cv_header_stdc=yes 
    45024273else 
    4503   echo "$as_me: failed program was:" >&5 
    4504 sed 's/^/| /' conftest.$ac_ext >&5 
    4505  
    4506         ac_cv_header_stdc=no 
    4507 fi 
    4508  
     4274  ac_cv_header_stdc=no 
     4275fi 
    45094276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    45104277 
    45114278if test $ac_cv_header_stdc = yes; then 
    45124279  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4513   cat >conftest.$ac_ext <<_ACEOF 
    4514 /* confdefs.h.  */ 
    4515 _ACEOF 
    4516 cat confdefs.h >>conftest.$ac_ext 
    4517 cat >>conftest.$ac_ext <<_ACEOF 
     4280  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45184281/* end confdefs.h.  */ 
    45194282#include <string.h> 
     
    45214284_ACEOF 
    45224285if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4523   $EGREP "memchr" >/dev/null 2>&1; then 
    4524   : 
     4286  $EGREP "memchr" >/dev/null 2>&1; then : 
     4287 
    45254288else 
    45264289  ac_cv_header_stdc=no 
    45274290fi 
    4528 rm -f -r conftest* 
     4291rm -f conftest* 
    45294292 
    45304293fi 
     
    45324295if test $ac_cv_header_stdc = yes; then 
    45334296  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4534   cat >conftest.$ac_ext <<_ACEOF 
    4535 /* confdefs.h.  */ 
    4536 _ACEOF 
    4537 cat confdefs.h >>conftest.$ac_ext 
    4538 cat >>conftest.$ac_ext <<_ACEOF 
     4297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45394298/* end confdefs.h.  */ 
    45404299#include <stdlib.h> 
     
    45424301_ACEOF 
    45434302if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4544   $EGREP "free" >/dev/null 2>&1; then 
    4545   : 
     4303  $EGREP "free" >/dev/null 2>&1; then : 
     4304 
    45464305else 
    45474306  ac_cv_header_stdc=no 
    45484307fi 
    4549 rm -f -r conftest* 
     4308rm -f conftest* 
    45504309 
    45514310fi 
     
    45534312if test $ac_cv_header_stdc = yes; then 
    45544313  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4555   if test "$cross_compiling" = yes; then 
     4314  if test "$cross_compiling" = yes; then : 
    45564315  : 
    45574316else 
    4558   cat >conftest.$ac_ext <<_ACEOF 
    4559 /* confdefs.h.  */ 
    4560 _ACEOF 
    4561 cat confdefs.h >>conftest.$ac_ext 
    4562 cat >>conftest.$ac_ext <<_ACEOF 
     4317  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45634318/* end confdefs.h.  */ 
    45644319#include <ctype.h> 
     
    45874342} 
    45884343_ACEOF 
    4589 rm -f conftest$ac_exeext 
    4590 if { (ac_try="$ac_link" 
    4591 case "(($ac_try" in 
    4592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4593   *) ac_try_echo=$ac_try;; 
    4594 esac 
    4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4596   (eval "$ac_link") 2>&5 
    4597   ac_status=$? 
    4598   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4599   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4600   { (case "(($ac_try" in 
    4601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4602   *) ac_try_echo=$ac_try;; 
    4603 esac 
    4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4605   (eval "$ac_try") 2>&5 
    4606   ac_status=$? 
    4607   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4608   (exit $ac_status); }; }; then 
    4609   : 
    4610 else 
    4611   echo "$as_me: program exited with status $ac_status" >&5 
    4612 echo "$as_me: failed program was:" >&5 
    4613 sed 's/^/| /' conftest.$ac_ext >&5 
    4614  
    4615 ( exit $ac_status ) 
    4616 ac_cv_header_stdc=no 
    4617 fi 
    4618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4619 fi 
    4620  
    4621  
    4622 fi 
    4623 fi 
    4624 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
     4344if ac_fn_c_try_run "$LINENO"; then : 
     4345 
     4346else 
     4347  ac_cv_header_stdc=no 
     4348fi 
     4349rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4350  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4351fi 
     4352 
     4353fi 
     4354fi 
     4355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
     4356$as_echo "$ac_cv_header_stdc" >&6; } 
    46264357if test $ac_cv_header_stdc = yes; then 
    46274358 
    4628 cat >>confdefs.h <<\_ACEOF 
    4629 #define STDC_HEADERS 1 
    4630 _ACEOF 
     4359$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46314360 
    46324361fi 
    46334362 
    46344363# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4635  
    4636  
    4637  
    4638  
    4639  
    4640  
    4641  
    4642  
    4643  
    46444364for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    46454365                  inttypes.h stdint.h unistd.h 
    4646 do 
    4647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
    4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4651   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4652 else 
    4653   cat >conftest.$ac_ext <<_ACEOF 
    4654 /* confdefs.h.  */ 
    4655 _ACEOF 
    4656 cat confdefs.h >>conftest.$ac_ext 
    4657 cat >>conftest.$ac_ext <<_ACEOF 
     4366do : 
     4367  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4368ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4369" 
     4370eval as_val=\$$as_ac_Header 
     4371   if test "x$as_val" = x""yes; then : 
     4372  cat >>confdefs.h <<_ACEOF 
     4373#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4374_ACEOF 
     4375 
     4376fi 
     4377 
     4378done 
     4379 
     4380 
     4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
     4382$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
     4383if test "${ac_cv_c_bigendian+set}" = set; then : 
     4384  $as_echo_n "(cached) " >&6 
     4385else 
     4386  ac_cv_c_bigendian=unknown 
     4387    # See if we're dealing with a universal compiler. 
     4388    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46584389/* end confdefs.h.  */ 
    4659 $ac_includes_default 
    4660  
    4661 #include <$ac_header> 
    4662 _ACEOF 
    4663 rm -f conftest.$ac_objext 
    4664 if { (ac_try="$ac_compile" 
    4665 case "(($ac_try" in 
    4666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4667   *) ac_try_echo=$ac_try;; 
    4668 esac 
    4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4670   (eval "$ac_compile") 2>conftest.er1 
    4671   ac_status=$? 
    4672   grep -v '^ *+' conftest.er1 >conftest.err 
    4673   rm -f conftest.er1 
    4674   cat conftest.err >&5 
    4675   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4676   (exit $ac_status); } && { 
    4677          test -z "$ac_c_werror_flag" || 
    4678          test ! -s conftest.err 
    4679        } && test -s conftest.$ac_objext; then 
    4680   eval "$as_ac_Header=yes" 
    4681 else 
    4682   echo "$as_me: failed program was:" >&5 
    4683 sed 's/^/| /' conftest.$ac_ext >&5 
    4684  
    4685         eval "$as_ac_Header=no" 
    4686 fi 
    4687  
     4390#ifndef __APPLE_CC__ 
     4391               not a universal capable compiler 
     4392             #endif 
     4393             typedef int dummy; 
     4394 
     4395_ACEOF 
     4396if ac_fn_c_try_compile "$LINENO"; then : 
     4397 
     4398        # Check for potential -arch flags.  It is not universal unless 
     4399        # there are at least two -arch flags with different values. 
     4400        ac_arch= 
     4401        ac_prev= 
     4402        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4403         if test -n "$ac_prev"; then 
     4404           case $ac_word in 
     4405             i?86 | x86_64 | ppc | ppc64) 
     4406               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4407                 ac_arch=$ac_word 
     4408               else 
     4409                 ac_cv_c_bigendian=universal 
     4410                 break 
     4411               fi 
     4412               ;; 
     4413           esac 
     4414           ac_prev= 
     4415         elif test "x$ac_word" = "x-arch"; then 
     4416           ac_prev=arch 
     4417         fi 
     4418       done 
     4419fi 
    46884420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4689 fi 
    4690 ac_res=`eval echo '${'$as_ac_Header'}'` 
    4691                { echo "$as_me:$LINENO: result: $ac_res" >&5 
    4692 echo "${ECHO_T}$ac_res" >&6; } 
    4693 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    4694   cat >>confdefs.h <<_ACEOF 
    4695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    4696 _ACEOF 
    4697  
    4698 fi 
    4699  
    4700 done 
    4701  
    4702  
    4703 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    4704 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
    4705 if test "${ac_cv_c_bigendian+set}" = set; then 
    4706   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4707 else 
    4708   # See if sys/param.h defines the BYTE_ORDER macro. 
    4709 cat >conftest.$ac_ext <<_ACEOF 
    4710 /* confdefs.h.  */ 
    4711 _ACEOF 
    4712 cat confdefs.h >>conftest.$ac_ext 
    4713 cat >>conftest.$ac_ext <<_ACEOF 
     4421    if test $ac_cv_c_bigendian = unknown; then 
     4422      # See if sys/param.h defines the BYTE_ORDER macro. 
     4423      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47144424/* end confdefs.h.  */ 
    47154425#include <sys/types.h> 
    4716 #include <sys/param.h> 
     4426             #include <sys/param.h> 
    47174427 
    47184428int 
    47194429main () 
    47204430{ 
    4721 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
    4722         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
    4723  bogus endian macros 
    4724 #endif 
     4431#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
     4432                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
     4433                     && LITTLE_ENDIAN) 
     4434              bogus endian macros 
     4435             #endif 
    47254436 
    47264437  ; 
     
    47284439} 
    47294440_ACEOF 
    4730 rm -f conftest.$ac_objext 
    4731 if { (ac_try="$ac_compile" 
    4732 case "(($ac_try" in 
    4733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4734   *) ac_try_echo=$ac_try;; 
    4735 esac 
    4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4737   (eval "$ac_compile") 2>conftest.er1 
    4738   ac_status=$? 
    4739   grep -v '^ *+' conftest.er1 >conftest.err 
    4740   rm -f conftest.er1 
    4741   cat conftest.err >&5 
    4742   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4743   (exit $ac_status); } && { 
    4744          test -z "$ac_c_werror_flag" || 
    4745          test ! -s conftest.err 
    4746        } && test -s conftest.$ac_objext; then 
     4441if ac_fn_c_try_compile "$LINENO"; then : 
    47474442  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4748 cat >conftest.$ac_ext <<_ACEOF 
    4749 /* confdefs.h.  */ 
    4750 _ACEOF 
    4751 cat confdefs.h >>conftest.$ac_ext 
    4752 cat >>conftest.$ac_ext <<_ACEOF 
     4443         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47534444/* end confdefs.h.  */ 
    47544445#include <sys/types.h> 
    4755 #include <sys/param.h> 
     4446                #include <sys/param.h> 
    47564447 
    47574448int 
     
    47594450{ 
    47604451#if BYTE_ORDER != BIG_ENDIAN 
    4761  not big endian 
    4762 #endif 
     4452                not big endian 
     4453                #endif 
    47634454 
    47644455  ; 
     
    47664457} 
    47674458_ACEOF 
    4768 rm -f conftest.$ac_objext 
    4769 if { (ac_try="$ac_compile" 
    4770 case "(($ac_try" in 
    4771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4772   *) ac_try_echo=$ac_try;; 
    4773 esac 
    4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4775   (eval "$ac_compile") 2>conftest.er1 
    4776   ac_status=$? 
    4777   grep -v '^ *+' conftest.er1 >conftest.err 
    4778   rm -f conftest.er1 
    4779   cat conftest.err >&5 
    4780   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4781   (exit $ac_status); } && { 
    4782          test -z "$ac_c_werror_flag" || 
    4783          test ! -s conftest.err 
    4784        } && test -s conftest.$ac_objext; then 
     4459if ac_fn_c_try_compile "$LINENO"; then : 
    47854460  ac_cv_c_bigendian=yes 
    47864461else 
    4787   echo "$as_me: failed program was:" >&5 
    4788 sed 's/^/| /' conftest.$ac_ext >&5 
    4789  
    4790         ac_cv_c_bigendian=no 
    4791 fi 
    4792  
     4462  ac_cv_c_bigendian=no 
     4463fi 
    47934464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4794 else 
    4795   echo "$as_me: failed program was:" >&5 
    4796 sed 's/^/| /' conftest.$ac_ext >&5 
    4797  
    4798         # It does not; compile a test program. 
    4799 if test "$cross_compiling" = yes; then 
    4800   # try to guess the endianness by grepping values into an object file 
    4801   ac_cv_c_bigendian=unknown 
    4802   cat >conftest.$ac_ext <<_ACEOF 
    4803 /* confdefs.h.  */ 
    4804 _ACEOF 
    4805 cat confdefs.h >>conftest.$ac_ext 
    4806 cat >>conftest.$ac_ext <<_ACEOF 
     4465fi 
     4466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4467    fi 
     4468    if test $ac_cv_c_bigendian = unknown; then 
     4469      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
     4470      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48074471/* end confdefs.h.  */ 
    4808 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4809 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4810 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    4811 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4812 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4813 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     4472#include <limits.h> 
     4473 
    48144474int 
    48154475main () 
    48164476{ 
    4817  _ascii (); _ebcdic (); 
     4477#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
     4478              bogus endian macros 
     4479             #endif 
     4480 
    48184481  ; 
    48194482  return 0; 
    48204483} 
    48214484_ACEOF 
    4822 rm -f conftest.$ac_objext 
    4823 if { (ac_try="$ac_compile" 
    4824 case "(($ac_try" in 
    4825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4826   *) ac_try_echo=$ac_try;; 
    4827 esac 
    4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4829   (eval "$ac_compile") 2>conftest.er1 
    4830   ac_status=$? 
    4831   grep -v '^ *+' conftest.er1 >conftest.err 
    4832   rm -f conftest.er1 
    4833   cat conftest.err >&5 
    4834   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4835   (exit $ac_status); } && { 
    4836          test -z "$ac_c_werror_flag" || 
    4837          test ! -s conftest.err 
    4838        } && test -s conftest.$ac_objext; then 
    4839   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     4485if ac_fn_c_try_compile "$LINENO"; then : 
     4486  # It does; now see whether it defined to _BIG_ENDIAN or not. 
     4487         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4488/* end confdefs.h.  */ 
     4489#include <limits.h> 
     4490 
     4491int 
     4492main () 
     4493{ 
     4494#ifndef _BIG_ENDIAN 
     4495                 not big endian 
     4496                #endif 
     4497 
     4498  ; 
     4499  return 0; 
     4500} 
     4501_ACEOF 
     4502if ac_fn_c_try_compile "$LINENO"; then : 
    48404503  ac_cv_c_bigendian=yes 
    4841 fi 
    4842 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4843   if test "$ac_cv_c_bigendian" = unknown; then 
    4844     ac_cv_c_bigendian=no 
    4845   else 
    4846     # finding both strings is unlikely to happen, but who knows? 
    4847     ac_cv_c_bigendian=unknown 
    4848   fi 
    4849 fi 
    4850 else 
    4851   echo "$as_me: failed program was:" >&5 
    4852 sed 's/^/| /' conftest.$ac_ext >&5 
    4853  
    4854  
    4855 fi 
    4856  
     4504else 
     4505  ac_cv_c_bigendian=no 
     4506fi 
    48574507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4858 else 
    4859   cat >conftest.$ac_ext <<_ACEOF 
    4860 /* confdefs.h.  */ 
    4861 _ACEOF 
    4862 cat confdefs.h >>conftest.$ac_ext 
    4863 cat >>conftest.$ac_ext <<_ACEOF 
     4508fi 
     4509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4510    fi 
     4511    if test $ac_cv_c_bigendian = unknown; then 
     4512      # Compile a test program. 
     4513      if test "$cross_compiling" = yes; then : 
     4514  # Try to guess by grepping values from an object file. 
     4515         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4516/* end confdefs.h.  */ 
     4517short int ascii_mm[] = 
     4518                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4519                short int ascii_ii[] = 
     4520                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4521                int use_ascii (int i) { 
     4522                  return ascii_mm[i] + ascii_ii[i]; 
     4523                } 
     4524                short int ebcdic_ii[] = 
     4525                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4526                short int ebcdic_mm[] = 
     4527                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4528                int use_ebcdic (int i) { 
     4529                  return ebcdic_mm[i] + ebcdic_ii[i]; 
     4530                } 
     4531                extern int foo; 
     4532 
     4533int 
     4534main () 
     4535{ 
     4536return use_ascii (foo) == use_ebcdic (foo); 
     4537  ; 
     4538  return 0; 
     4539} 
     4540_ACEOF 
     4541if ac_fn_c_try_compile "$LINENO"; then : 
     4542  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
     4543              ac_cv_c_bigendian=yes 
     4544            fi 
     4545            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4546              if test "$ac_cv_c_bigendian" = unknown; then 
     4547                ac_cv_c_bigendian=no 
     4548              else 
     4549                # finding both strings is unlikely to happen, but who knows? 
     4550                ac_cv_c_bigendian=unknown 
     4551              fi 
     4552            fi 
     4553fi 
     4554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4555else 
     4556  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48644557/* end confdefs.h.  */ 
    48654558$ac_includes_default 
     
    48684561{ 
    48694562 
    4870   /* Are we little or big endian?  From Harbison&Steele.  */ 
    4871   union 
    4872   { 
    4873     long int l; 
    4874     char c[sizeof (long int)]; 
    4875   } u; 
    4876   u.l = 1; 
    4877   return u.c[sizeof (long int) - 1] == 1; 
     4563             /* Are we little or big endian?  From Harbison&Steele.  */ 
     4564             union 
     4565             { 
     4566               long int l; 
     4567               char c[sizeof (long int)]; 
     4568             } u; 
     4569             u.l = 1; 
     4570             return u.c[sizeof (long int) - 1] == 1; 
    48784571 
    48794572  ; 
     
    48814574} 
    48824575_ACEOF 
    4883 rm -f conftest$ac_exeext 
    4884 if { (ac_try="$ac_link" 
    4885 case "(($ac_try" in 
    4886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4887   *) ac_try_echo=$ac_try;; 
    4888 esac 
    4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4890   (eval "$ac_link") 2>&5 
    4891   ac_status=$? 
    4892   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4894   { (case "(($ac_try" in 
    4895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4896   *) ac_try_echo=$ac_try;; 
    4897 esac 
    4898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4899   (eval "$ac_try") 2>&5 
    4900   ac_status=$? 
    4901   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4902   (exit $ac_status); }; }; then 
     4576if ac_fn_c_try_run "$LINENO"; then : 
    49034577  ac_cv_c_bigendian=no 
    49044578else 
    4905   echo "$as_me: program exited with status $ac_status" >&5 
    4906 echo "$as_me: failed program was:" >&5 
    4907 sed 's/^/| /' conftest.$ac_ext >&5 
    4908  
    4909 ( exit $ac_status ) 
    4910 ac_cv_c_bigendian=yes 
    4911 fi 
    4912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4913 fi 
    4914  
    4915  
    4916 fi 
    4917  
    4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4919 fi 
    4920 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    4921 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
    4922 case $ac_cv_c_bigendian in 
    4923   yes) 
    4924  
    4925 cat >>confdefs.h <<\_ACEOF 
    4926 #define WORDS_BIGENDIAN 1 
    4927 _ACEOF 
    4928  ;; 
    4929   no) 
    4930      ;; 
    4931   *) 
    4932     { { echo "$as_me:$LINENO: error: unknown endianness 
    4933 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    4934 echo "$as_me: error: unknown endianness 
    4935 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    4936    { (exit 1); exit 1; }; } ;; 
    4937 esac 
     4579  ac_cv_c_bigendian=yes 
     4580fi 
     4581rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4582  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4583fi 
     4584 
     4585    fi 
     4586fi 
     4587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
     4588$as_echo "$ac_cv_c_bigendian" >&6; } 
     4589 case $ac_cv_c_bigendian in #( 
     4590   yes) 
     4591     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
     4592;; #( 
     4593   no) 
     4594      ;; #( 
     4595   universal) 
     4596 
     4597$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
     4598 
     4599     ;; #( 
     4600   *) 
     4601     as_fn_error "unknown endianness 
     4602 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     4603 esac 
    49384604 
    49394605 
     
    49464612case $target in 
    49474613    *mingw* | *cygw* | *win32* | *w32* ) 
    4948         cat >>confdefs.h <<\_ACEOF 
    4949 #define PJ_WIN32 1 
    4950 _ACEOF 
    4951  
    4952         cat >>confdefs.h <<\_ACEOF 
    4953 #define PJ_WIN32_WINNT 0x0400 
    4954 _ACEOF 
    4955  
    4956         cat >>confdefs.h <<\_ACEOF 
    4957 #define WIN32_LEAN_AND_MEAN 1 
    4958 _ACEOF 
     4614        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4615 
     4616        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4617 
     4618        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    49594619 
    49604620        ;; 
    49614621    *darwin*) 
    4962         cat >>confdefs.h <<\_ACEOF 
    4963 #define PJ_DARWINOS 1 
    4964 _ACEOF 
     4622        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    49654623 
    49664624        ;; 
    49674625    *linux*) 
    4968         cat >>confdefs.h <<\_ACEOF 
    4969 #define PJ_LINUX 1 
    4970 _ACEOF 
     4626        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    49714627 
    49724628        ;; 
    49734629    *rtems*) 
    4974         cat >>confdefs.h <<\_ACEOF 
    4975 #define PJ_RTEMS 1 
    4976 _ACEOF 
     4630        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    49774631 
    49784632        ;; 
    49794633    *sunos* | *solaris* ) 
    4980         cat >>confdefs.h <<\_ACEOF 
    4981 #define PJ_SUNOS 1 
    4982 _ACEOF 
     4634        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    49834635 
    49844636        ;; 
     
    49914643 
    49924644# Check whether --enable-floating-point was given. 
    4993 if test "${enable_floating_point+set}" = set; then 
     4645if test "${enable_floating_point+set}" = set; then : 
    49944646  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4995                 cat >>confdefs.h <<\_ACEOF 
    4996 #define PJ_HAS_FLOATING_POINT 0 
    4997 _ACEOF 
    4998  
    4999                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    5000 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
     4647                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4648 
     4649                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
     4650$as_echo "Checking if floating point is disabled... yes" >&6; } 
    50014651               fi 
    50024652else 
    50034653 
    5004                 cat >>confdefs.h <<\_ACEOF 
    5005 #define PJ_HAS_FLOATING_POINT 1 
    5006 _ACEOF 
    5007  
    5008                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    5009 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
    5010  
    5011 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    5012 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
    5013 if test "${ac_cv_lib_m_fmod+set}" = set; then 
    5014   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4654                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4655 
     4656                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
     4657$as_echo "Checking if floating point is disabled... no" >&6; } 
     4658                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
     4659$as_echo_n "checking for fmod in -lm... " >&6; } 
     4660if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4661  $as_echo_n "(cached) " >&6 
    50154662else 
    50164663  ac_check_lib_save_LIBS=$LIBS 
    50174664LIBS="-lm  $LIBS" 
    5018 cat >conftest.$ac_ext <<_ACEOF 
    5019 /* confdefs.h.  */ 
    5020 _ACEOF 
    5021 cat confdefs.h >>conftest.$ac_ext 
    5022 cat >>conftest.$ac_ext <<_ACEOF 
     4665cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50234666/* end confdefs.h.  */ 
    50244667 
     
    50384681} 
    50394682_ACEOF 
    5040 rm -f conftest.$ac_objext conftest$ac_exeext 
    5041 if { (ac_try="$ac_link" 
    5042 case "(($ac_try" in 
    5043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5044   *) ac_try_echo=$ac_try;; 
    5045 esac 
    5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5047   (eval "$ac_link") 2>conftest.er1 
    5048   ac_status=$? 
    5049   grep -v '^ *+' conftest.er1 >conftest.err 
    5050   rm -f conftest.er1 
    5051   cat conftest.err >&5 
    5052   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5053   (exit $ac_status); } && { 
    5054          test -z "$ac_c_werror_flag" || 
    5055          test ! -s conftest.err 
    5056        } && test -s conftest$ac_exeext && 
    5057        $as_test_x conftest$ac_exeext; then 
     4683if ac_fn_c_try_link "$LINENO"; then : 
    50584684  ac_cv_lib_m_fmod=yes 
    50594685else 
    5060   echo "$as_me: failed program was:" >&5 
    5061 sed 's/^/| /' conftest.$ac_ext >&5 
    5062  
    5063         ac_cv_lib_m_fmod=no 
    5064 fi 
    5065  
    5066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5067       conftest$ac_exeext conftest.$ac_ext 
     4686  ac_cv_lib_m_fmod=no 
     4687fi 
     4688rm -f core conftest.err conftest.$ac_objext \ 
     4689    conftest$ac_exeext conftest.$ac_ext 
    50684690LIBS=$ac_check_lib_save_LIBS 
    50694691fi 
    5070 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    5071 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
    5072 if test $ac_cv_lib_m_fmod = yes; then 
     4692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
     4693$as_echo "$ac_cv_lib_m_fmod" >&6; } 
     4694if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    50734695  cat >>confdefs.h <<_ACEOF 
    50744696#define HAVE_LIBM 1 
     
    50844706 
    50854707 
    5086 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5087   { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5088 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5089 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5090   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5091 fi 
    5092 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5093 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5094 else 
    5095   # Is the header compilable? 
    5096 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5097 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
    5098 cat >conftest.$ac_ext <<_ACEOF 
    5099 /* confdefs.h.  */ 
    5100 _ACEOF 
    5101 cat confdefs.h >>conftest.$ac_ext 
    5102 cat >>conftest.$ac_ext <<_ACEOF 
    5103 /* end confdefs.h.  */ 
    5104 $ac_includes_default 
    5105 #include <arpa/inet.h> 
    5106 _ACEOF 
    5107 rm -f conftest.$ac_objext 
    5108 if { (ac_try="$ac_compile" 
    5109 case "(($ac_try" in 
    5110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5111   *) ac_try_echo=$ac_try;; 
    5112 esac 
    5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5114   (eval "$ac_compile") 2>conftest.er1 
    5115   ac_status=$? 
    5116   grep -v '^ *+' conftest.er1 >conftest.err 
    5117   rm -f conftest.er1 
    5118   cat conftest.err >&5 
    5119   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5120   (exit $ac_status); } && { 
    5121          test -z "$ac_c_werror_flag" || 
    5122          test ! -s conftest.err 
    5123        } && test -s conftest.$ac_objext; then 
    5124   ac_header_compiler=yes 
    5125 else 
    5126   echo "$as_me: failed program was:" >&5 
    5127 sed 's/^/| /' conftest.$ac_ext >&5 
    5128  
    5129         ac_header_compiler=no 
    5130 fi 
    5131  
    5132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5133 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5134 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5135  
    5136 # Is the header present? 
    5137 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5138 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
    5139 cat >conftest.$ac_ext <<_ACEOF 
    5140 /* confdefs.h.  */ 
    5141 _ACEOF 
    5142 cat confdefs.h >>conftest.$ac_ext 
    5143 cat >>conftest.$ac_ext <<_ACEOF 
    5144 /* end confdefs.h.  */ 
    5145 #include <arpa/inet.h> 
    5146 _ACEOF 
    5147 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5148 case "(($ac_try" in 
    5149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5150   *) ac_try_echo=$ac_try;; 
    5151 esac 
    5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5153   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5154   ac_status=$? 
    5155   grep -v '^ *+' conftest.er1 >conftest.err 
    5156   rm -f conftest.er1 
    5157   cat conftest.err >&5 
    5158   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5159   (exit $ac_status); } >/dev/null && { 
    5160          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5161          test ! -s conftest.err 
    5162        }; then 
    5163   ac_header_preproc=yes 
    5164 else 
    5165   echo "$as_me: failed program was:" >&5 
    5166 sed 's/^/| /' conftest.$ac_ext >&5 
    5167  
    5168   ac_header_preproc=no 
    5169 fi 
    5170  
    5171 rm -f conftest.err conftest.$ac_ext 
    5172 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5173 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5174  
    5175 # So?  What about this header? 
    5176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5177   yes:no: ) 
    5178     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5179 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5180     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5181 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5182     ac_header_preproc=yes 
    5183     ;; 
    5184   no:yes:* ) 
    5185     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5186 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5187     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5188 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5189     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5190 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5191     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5192 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5193     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5194 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5195     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5196 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5197  
    5198     ;; 
    5199 esac 
    5200 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5201 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5202 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5203   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5204 else 
    5205   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5206 fi 
    5207 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5208 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5209  
    5210 fi 
    5211 if test $ac_cv_header_arpa_inet_h = yes; then 
    5212   cat >>confdefs.h <<\_ACEOF 
    5213 #define PJ_HAS_ARPA_INET_H 1 
    5214 _ACEOF 
    5215  
    5216 fi 
    5217  
    5218  
    5219 if test "${ac_cv_header_assert_h+set}" = set; then 
    5220   { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5221 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5222 if test "${ac_cv_header_assert_h+set}" = set; then 
    5223   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5224 fi 
    5225 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5226 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5227 else 
    5228   # Is the header compilable? 
    5229 { echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5230 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
    5231 cat >conftest.$ac_ext <<_ACEOF 
    5232 /* confdefs.h.  */ 
    5233 _ACEOF 
    5234 cat confdefs.h >>conftest.$ac_ext 
    5235 cat >>conftest.$ac_ext <<_ACEOF 
    5236 /* end confdefs.h.  */ 
    5237 $ac_includes_default 
    5238 #include <assert.h> 
    5239 _ACEOF 
    5240 rm -f conftest.$ac_objext 
    5241 if { (ac_try="$ac_compile" 
    5242 case "(($ac_try" in 
    5243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5244   *) ac_try_echo=$ac_try;; 
    5245 esac 
    5246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5247   (eval "$ac_compile") 2>conftest.er1 
    5248   ac_status=$? 
    5249   grep -v '^ *+' conftest.er1 >conftest.err 
    5250   rm -f conftest.er1 
    5251   cat conftest.err >&5 
    5252   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5253   (exit $ac_status); } && { 
    5254          test -z "$ac_c_werror_flag" || 
    5255          test ! -s conftest.err 
    5256        } && test -s conftest.$ac_objext; then 
    5257   ac_header_compiler=yes 
    5258 else 
    5259   echo "$as_me: failed program was:" >&5 
    5260 sed 's/^/| /' conftest.$ac_ext >&5 
    5261  
    5262         ac_header_compiler=no 
    5263 fi 
    5264  
    5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5266 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5267 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5268  
    5269 # Is the header present? 
    5270 { echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5271 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
    5272 cat >conftest.$ac_ext <<_ACEOF 
    5273 /* confdefs.h.  */ 
    5274 _ACEOF 
    5275 cat confdefs.h >>conftest.$ac_ext 
    5276 cat >>conftest.$ac_ext <<_ACEOF 
    5277 /* end confdefs.h.  */ 
    5278 #include <assert.h> 
    5279 _ACEOF 
    5280 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5281 case "(($ac_try" in 
    5282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5283   *) ac_try_echo=$ac_try;; 
    5284 esac 
    5285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5286   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5287   ac_status=$? 
    5288   grep -v '^ *+' conftest.er1 >conftest.err 
    5289   rm -f conftest.er1 
    5290   cat conftest.err >&5 
    5291   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5292   (exit $ac_status); } >/dev/null && { 
    5293          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5294          test ! -s conftest.err 
    5295        }; then 
    5296   ac_header_preproc=yes 
    5297 else 
    5298   echo "$as_me: failed program was:" >&5 
    5299 sed 's/^/| /' conftest.$ac_ext >&5 
    5300  
    5301   ac_header_preproc=no 
    5302 fi 
    5303  
    5304 rm -f conftest.err conftest.$ac_ext 
    5305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5306 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5307  
    5308 # So?  What about this header? 
    5309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5310   yes:no: ) 
    5311     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5312 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5313     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5314 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5315     ac_header_preproc=yes 
    5316     ;; 
    5317   no:yes:* ) 
    5318     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5319 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5320     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5321 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5322     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5323 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5324     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5325 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5326     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5327 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5328     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5329 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5330  
    5331     ;; 
    5332 esac 
    5333 { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5334 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5335 if test "${ac_cv_header_assert_h+set}" = set; then 
    5336   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5337 else 
    5338   ac_cv_header_assert_h=$ac_header_preproc 
    5339 fi 
    5340 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5341 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5342  
    5343 fi 
    5344 if test $ac_cv_header_assert_h = yes; then 
    5345   cat >>confdefs.h <<\_ACEOF 
    5346 #define PJ_HAS_ASSERT_H 1 
    5347 _ACEOF 
    5348  
    5349 fi 
    5350  
    5351  
    5352 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5353   { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5354 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5355 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5356   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5357 fi 
    5358 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5359 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5360 else 
    5361   # Is the header compilable? 
    5362 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5363 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
    5364 cat >conftest.$ac_ext <<_ACEOF 
    5365 /* confdefs.h.  */ 
    5366 _ACEOF 
    5367 cat confdefs.h >>conftest.$ac_ext 
    5368 cat >>conftest.$ac_ext <<_ACEOF 
    5369 /* end confdefs.h.  */ 
    5370 $ac_includes_default 
    5371 #include <ctype.h> 
    5372 _ACEOF 
    5373 rm -f conftest.$ac_objext 
    5374 if { (ac_try="$ac_compile" 
    5375 case "(($ac_try" in 
    5376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5377   *) ac_try_echo=$ac_try;; 
    5378 esac 
    5379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5380   (eval "$ac_compile") 2>conftest.er1 
    5381   ac_status=$? 
    5382   grep -v '^ *+' conftest.er1 >conftest.err 
    5383   rm -f conftest.er1 
    5384   cat conftest.err >&5 
    5385   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5386   (exit $ac_status); } && { 
    5387          test -z "$ac_c_werror_flag" || 
    5388          test ! -s conftest.err 
    5389        } && test -s conftest.$ac_objext; then 
    5390   ac_header_compiler=yes 
    5391 else 
    5392   echo "$as_me: failed program was:" >&5 
    5393 sed 's/^/| /' conftest.$ac_ext >&5 
    5394  
    5395         ac_header_compiler=no 
    5396 fi 
    5397  
    5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5400 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5401  
    5402 # Is the header present? 
    5403 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5404 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
    5405 cat >conftest.$ac_ext <<_ACEOF 
    5406 /* confdefs.h.  */ 
    5407 _ACEOF 
    5408 cat confdefs.h >>conftest.$ac_ext 
    5409 cat >>conftest.$ac_ext <<_ACEOF 
    5410 /* end confdefs.h.  */ 
    5411 #include <ctype.h> 
    5412 _ACEOF 
    5413 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5414 case "(($ac_try" in 
    5415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5416   *) ac_try_echo=$ac_try;; 
    5417 esac 
    5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5419   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5420   ac_status=$? 
    5421   grep -v '^ *+' conftest.er1 >conftest.err 
    5422   rm -f conftest.er1 
    5423   cat conftest.err >&5 
    5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5425   (exit $ac_status); } >/dev/null && { 
    5426          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5427          test ! -s conftest.err 
    5428        }; then 
    5429   ac_header_preproc=yes 
    5430 else 
    5431   echo "$as_me: failed program was:" >&5 
    5432 sed 's/^/| /' conftest.$ac_ext >&5 
    5433  
    5434   ac_header_preproc=no 
    5435 fi 
    5436  
    5437 rm -f conftest.err conftest.$ac_ext 
    5438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5439 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5440  
    5441 # So?  What about this header? 
    5442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5443   yes:no: ) 
    5444     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5445 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5446     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5447 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5448     ac_header_preproc=yes 
    5449     ;; 
    5450   no:yes:* ) 
    5451     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5452 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5453     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5454 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5455     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5456 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5457     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5458 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5459     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5460 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5461     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5462 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5463  
    5464     ;; 
    5465 esac 
    5466 { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5467 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5468 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5469   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5470 else 
    5471   ac_cv_header_ctype_h=$ac_header_preproc 
    5472 fi 
    5473 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5474 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5475  
    5476 fi 
    5477 if test $ac_cv_header_ctype_h = yes; then 
    5478   cat >>confdefs.h <<\_ACEOF 
    5479 #define PJ_HAS_CTYPE_H 1 
    5480 _ACEOF 
     4708ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4709if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4710  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4711 
     4712fi 
     4713 
     4714 
     4715ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4716if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4717  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4718 
     4719fi 
     4720 
     4721 
     4722ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4723if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4724  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    54814725 
    54824726fi 
     
    54864730case $target in 
    54874731    *mingw* | *cygw* | *win32* | *w32* ) 
    5488         cat >>confdefs.h <<\_ACEOF 
    5489 #define PJ_HAS_ERRNO_H 0 
    5490 _ACEOF 
     4732        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    54914733 
    54924734        ;; 
    54934735    *) 
    5494         if test "${ac_cv_header_errno_h+set}" = set; then 
    5495   { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5496 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5497 if test "${ac_cv_header_errno_h+set}" = set; then 
    5498   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5499 fi 
    5500 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5501 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5502 else 
    5503   # Is the header compilable? 
    5504 { echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5505 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
    5506 cat >conftest.$ac_ext <<_ACEOF 
    5507 /* confdefs.h.  */ 
    5508 _ACEOF 
    5509 cat confdefs.h >>conftest.$ac_ext 
    5510 cat >>conftest.$ac_ext <<_ACEOF 
    5511 /* end confdefs.h.  */ 
    5512 $ac_includes_default 
    5513 #include <errno.h> 
    5514 _ACEOF 
    5515 rm -f conftest.$ac_objext 
    5516 if { (ac_try="$ac_compile" 
    5517 case "(($ac_try" in 
    5518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5519   *) ac_try_echo=$ac_try;; 
    5520 esac 
    5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5522   (eval "$ac_compile") 2>conftest.er1 
    5523   ac_status=$? 
    5524   grep -v '^ *+' conftest.er1 >conftest.err 
    5525   rm -f conftest.er1 
    5526   cat conftest.err >&5 
    5527   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5528   (exit $ac_status); } && { 
    5529          test -z "$ac_c_werror_flag" || 
    5530          test ! -s conftest.err 
    5531        } && test -s conftest.$ac_objext; then 
    5532   ac_header_compiler=yes 
    5533 else 
    5534   echo "$as_me: failed program was:" >&5 
    5535 sed 's/^/| /' conftest.$ac_ext >&5 
    5536  
    5537         ac_header_compiler=no 
    5538 fi 
    5539  
    5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5542 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5543  
    5544 # Is the header present? 
    5545 { echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5546 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
    5547 cat >conftest.$ac_ext <<_ACEOF 
    5548 /* confdefs.h.  */ 
    5549 _ACEOF 
    5550 cat confdefs.h >>conftest.$ac_ext 
    5551 cat >>conftest.$ac_ext <<_ACEOF 
    5552 /* end confdefs.h.  */ 
    5553 #include <errno.h> 
    5554 _ACEOF 
    5555 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5556 case "(($ac_try" in 
    5557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5558   *) ac_try_echo=$ac_try;; 
    5559 esac 
    5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5561   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5562   ac_status=$? 
    5563   grep -v '^ *+' conftest.er1 >conftest.err 
    5564   rm -f conftest.er1 
    5565   cat conftest.err >&5 
    5566   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5567   (exit $ac_status); } >/dev/null && { 
    5568          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5569          test ! -s conftest.err 
    5570        }; then 
    5571   ac_header_preproc=yes 
    5572 else 
    5573   echo "$as_me: failed program was:" >&5 
    5574 sed 's/^/| /' conftest.$ac_ext >&5 
    5575  
    5576   ac_header_preproc=no 
    5577 fi 
    5578  
    5579 rm -f conftest.err conftest.$ac_ext 
    5580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5581 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5582  
    5583 # So?  What about this header? 
    5584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5585   yes:no: ) 
    5586     { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5587 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5588     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5589 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5590     ac_header_preproc=yes 
    5591     ;; 
    5592   no:yes:* ) 
    5593     { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5594 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5595     { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5596 echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5597     { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5598 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5599     { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5600 echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5601     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5602 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5603     { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5604 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5605  
    5606     ;; 
    5607 esac 
    5608 { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5609 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5610 if test "${ac_cv_header_errno_h+set}" = set; then 
    5611   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5612 else 
    5613   ac_cv_header_errno_h=$ac_header_preproc 
    5614 fi 
    5615 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5616 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5617  
    5618 fi 
    5619 if test $ac_cv_header_errno_h = yes; then 
    5620   cat >>confdefs.h <<\_ACEOF 
    5621 #define PJ_HAS_ERRNO_H 1 
    5622 _ACEOF 
     4736        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4737if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4738  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    56234739 
    56244740fi 
     
    56284744esac 
    56294745 
    5630 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5631   { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5632 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5633 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5634   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5635 fi 
    5636 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5637 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5638 else 
    5639   # Is the header compilable? 
    5640 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5641 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
    5642 cat >conftest.$ac_ext <<_ACEOF 
    5643 /* confdefs.h.  */ 
    5644 _ACEOF 
    5645 cat confdefs.h >>conftest.$ac_ext 
    5646 cat >>conftest.$ac_ext <<_ACEOF 
    5647 /* end confdefs.h.  */ 
    5648 $ac_includes_default 
    5649 #include <fcntl.h> 
    5650 _ACEOF 
    5651 rm -f conftest.$ac_objext 
    5652 if { (ac_try="$ac_compile" 
    5653 case "(($ac_try" in 
    5654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5655   *) ac_try_echo=$ac_try;; 
    5656 esac 
    5657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5658   (eval "$ac_compile") 2>conftest.er1 
    5659   ac_status=$? 
    5660   grep -v '^ *+' conftest.er1 >conftest.err 
    5661   rm -f conftest.er1 
    5662   cat conftest.err >&5 
    5663   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5664   (exit $ac_status); } && { 
    5665          test -z "$ac_c_werror_flag" || 
    5666          test ! -s conftest.err 
    5667        } && test -s conftest.$ac_objext; then 
    5668   ac_header_compiler=yes 
    5669 else 
    5670   echo "$as_me: failed program was:" >&5 
    5671 sed 's/^/| /' conftest.$ac_ext >&5 
    5672  
    5673         ac_header_compiler=no 
    5674 fi 
    5675  
    5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5677 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5678 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5679  
    5680 # Is the header present? 
    5681 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5682 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
    5683 cat >conftest.$ac_ext <<_ACEOF 
    5684 /* confdefs.h.  */ 
    5685 _ACEOF 
    5686 cat confdefs.h >>conftest.$ac_ext 
    5687 cat >>conftest.$ac_ext <<_ACEOF 
    5688 /* end confdefs.h.  */ 
    5689 #include <fcntl.h> 
    5690 _ACEOF 
    5691 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5692 case "(($ac_try" in 
    5693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5694   *) ac_try_echo=$ac_try;; 
    5695 esac 
    5696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5697   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5698   ac_status=$? 
    5699   grep -v '^ *+' conftest.er1 >conftest.err 
    5700   rm -f conftest.er1 
    5701   cat conftest.err >&5 
    5702   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5703   (exit $ac_status); } >/dev/null && { 
    5704          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5705          test ! -s conftest.err 
    5706        }; then 
    5707   ac_header_preproc=yes 
    5708 else 
    5709   echo "$as_me: failed program was:" >&5 
    5710 sed 's/^/| /' conftest.$ac_ext >&5 
    5711  
    5712   ac_header_preproc=no 
    5713 fi 
    5714  
    5715 rm -f conftest.err conftest.$ac_ext 
    5716 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5717 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5718  
    5719 # So?  What about this header? 
    5720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5721   yes:no: ) 
    5722     { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5723 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5724     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5725 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5726     ac_header_preproc=yes 
    5727     ;; 
    5728   no:yes:* ) 
    5729     { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5730 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5731     { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5732 echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5733     { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5734 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5735     { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5736 echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5737     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5738 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5739     { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5740 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5741  
    5742     ;; 
    5743 esac 
    5744 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5745 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5746 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5747   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5748 else 
    5749   ac_cv_header_fcntl_h=$ac_header_preproc 
    5750 fi 
    5751 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5752 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5753  
    5754 fi 
    5755 if test $ac_cv_header_fcntl_h = yes; then 
    5756   cat >>confdefs.h <<\_ACEOF 
    5757 #define PJ_HAS_FCNTL_H 1 
    5758 _ACEOF 
    5759  
    5760 fi 
    5761  
    5762  
    5763 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5764   { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5765 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5766 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5767   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5768 fi 
    5769 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5770 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5771 else 
    5772   # Is the header compilable? 
    5773 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    5774 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
    5775 cat >conftest.$ac_ext <<_ACEOF 
    5776 /* confdefs.h.  */ 
    5777 _ACEOF 
    5778 cat confdefs.h >>conftest.$ac_ext 
    5779 cat >>conftest.$ac_ext <<_ACEOF 
    5780 /* end confdefs.h.  */ 
    5781 $ac_includes_default 
    5782 #include <linux/socket.h> 
    5783 _ACEOF 
    5784 rm -f conftest.$ac_objext 
    5785 if { (ac_try="$ac_compile" 
    5786 case "(($ac_try" in 
    5787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5788   *) ac_try_echo=$ac_try;; 
    5789 esac 
    5790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5791   (eval "$ac_compile") 2>conftest.er1 
    5792   ac_status=$? 
    5793   grep -v '^ *+' conftest.er1 >conftest.err 
    5794   rm -f conftest.er1 
    5795   cat conftest.err >&5 
    5796   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5797   (exit $ac_status); } && { 
    5798          test -z "$ac_c_werror_flag" || 
    5799          test ! -s conftest.err 
    5800        } && test -s conftest.$ac_objext; then 
    5801   ac_header_compiler=yes 
    5802 else 
    5803   echo "$as_me: failed program was:" >&5 
    5804 sed 's/^/| /' conftest.$ac_ext >&5 
    5805  
    5806         ac_header_compiler=no 
    5807 fi 
    5808  
    5809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5810 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5811 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5812  
    5813 # Is the header present? 
    5814 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    5815 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
    5816 cat >conftest.$ac_ext <<_ACEOF 
    5817 /* confdefs.h.  */ 
    5818 _ACEOF 
    5819 cat confdefs.h >>conftest.$ac_ext 
    5820 cat >>conftest.$ac_ext <<_ACEOF 
    5821 /* end confdefs.h.  */ 
    5822 #include <linux/socket.h> 
    5823 _ACEOF 
    5824 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5825 case "(($ac_try" in 
    5826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5827   *) ac_try_echo=$ac_try;; 
    5828 esac 
    5829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5830   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5831   ac_status=$? 
    5832   grep -v '^ *+' conftest.er1 >conftest.err 
    5833   rm -f conftest.er1 
    5834   cat conftest.err >&5 
    5835   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5836   (exit $ac_status); } >/dev/null && { 
    5837          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5838          test ! -s conftest.err 
    5839        }; then 
    5840   ac_header_preproc=yes 
    5841 else 
    5842   echo "$as_me: failed program was:" >&5 
    5843 sed 's/^/| /' conftest.$ac_ext >&5 
    5844  
    5845   ac_header_preproc=no 
    5846 fi 
    5847  
    5848 rm -f conftest.err conftest.$ac_ext 
    5849 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5850 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5851  
    5852 # So?  What about this header? 
    5853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5854   yes:no: ) 
    5855     { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5856 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5857     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    5858 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    5859     ac_header_preproc=yes 
    5860     ;; 
    5861   no:yes:* ) 
    5862     { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    5863 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    5864     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    5865 echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    5866     { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    5867 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    5868     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5869 echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5870     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    5871 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    5872     { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    5873 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    5874  
    5875     ;; 
    5876 esac 
    5877 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5878 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5879 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5880   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5881 else 
    5882   ac_cv_header_linux_socket_h=$ac_header_preproc 
    5883 fi 
    5884 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5885 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5886  
    5887 fi 
    5888 if test $ac_cv_header_linux_socket_h = yes; then 
    5889   cat >>confdefs.h <<\_ACEOF 
    5890 #define PJ_HAS_LINUX_SOCKET_H 1 
    5891 _ACEOF 
    5892  
    5893 fi 
    5894  
    5895  
    5896 if test "${ac_cv_header_limits_h+set}" = set; then 
    5897   { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5898 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5899 if test "${ac_cv_header_limits_h+set}" = set; then 
    5900   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5901 fi 
    5902 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    5903 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    5904 else 
    5905   # Is the header compilable? 
    5906 { echo "$as_me:$LINENO: checking limits.h usability" >&5 
    5907 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 
    5908 cat >conftest.$ac_ext <<_ACEOF 
    5909 /* confdefs.h.  */ 
    5910 _ACEOF 
    5911 cat confdefs.h >>conftest.$ac_ext 
    5912 cat >>conftest.$ac_ext <<_ACEOF 
    5913 /* end confdefs.h.  */ 
    5914 $ac_includes_default 
    5915 #include <limits.h> 
    5916 _ACEOF 
    5917 rm -f conftest.$ac_objext 
    5918 if { (ac_try="$ac_compile" 
    5919 case "(($ac_try" in 
    5920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5921   *) ac_try_echo=$ac_try;; 
    5922 esac 
    5923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5924   (eval "$ac_compile") 2>conftest.er1 
    5925   ac_status=$? 
    5926   grep -v '^ *+' conftest.er1 >conftest.err 
    5927   rm -f conftest.er1 
    5928   cat conftest.err >&5 
    5929   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5930   (exit $ac_status); } && { 
    5931          test -z "$ac_c_werror_flag" || 
    5932          test ! -s conftest.err 
    5933        } && test -s conftest.$ac_objext; then 
    5934   ac_header_compiler=yes 
    5935 else 
    5936   echo "$as_me: failed program was:" >&5 
    5937 sed 's/^/| /' conftest.$ac_ext >&5 
    5938  
    5939         ac_header_compiler=no 
    5940 fi 
    5941  
    5942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5943 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5944 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5945  
    5946 # Is the header present? 
    5947 { echo "$as_me:$LINENO: checking limits.h presence" >&5 
    5948 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 
    5949 cat >conftest.$ac_ext <<_ACEOF 
    5950 /* confdefs.h.  */ 
    5951 _ACEOF 
    5952 cat confdefs.h >>conftest.$ac_ext 
    5953 cat >>conftest.$ac_ext <<_ACEOF 
    5954 /* end confdefs.h.  */ 
    5955 #include <limits.h> 
    5956 _ACEOF 
    5957 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5958 case "(($ac_try" in 
    5959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5960   *) ac_try_echo=$ac_try;; 
    5961 esac 
    5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5963   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5964   ac_status=$? 
    5965   grep -v '^ *+' conftest.er1 >conftest.err 
    5966   rm -f conftest.er1 
    5967   cat conftest.err >&5 
    5968   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5969   (exit $ac_status); } >/dev/null && { 
    5970          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5971          test ! -s conftest.err 
    5972        }; then 
    5973   ac_header_preproc=yes 
    5974 else 
    5975   echo "$as_me: failed program was:" >&5 
    5976 sed 's/^/| /' conftest.$ac_ext >&5 
    5977  
    5978   ac_header_preproc=no 
    5979 fi 
    5980  
    5981 rm -f conftest.err conftest.$ac_ext 
    5982 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5983 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5984  
    5985 # So?  What about this header? 
    5986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5987   yes:no: ) 
    5988     { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5989 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5990     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 
    5991 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 
    5992     ac_header_preproc=yes 
    5993     ;; 
    5994   no:yes:* ) 
    5995     { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 
    5996 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 
    5997     { echo "$as_me:$LINENO: WARNING: limits.h:     check for missing prerequisite headers?" >&5 
    5998 echo "$as_me: WARNING: limits.h:     check for missing prerequisite headers?" >&2;} 
    5999     { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 
    6000 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 
    6001     { echo "$as_me:$LINENO: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6002 echo "$as_me: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6003     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 
    6004 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 
    6005     { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 
    6006 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 
    6007  
    6008     ;; 
    6009 esac 
    6010 { echo "$as_me:$LINENO: checking for limits.h" >&5 
    6011 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    6012 if test "${ac_cv_header_limits_h+set}" = set; then 
    6013   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6014 else 
    6015   ac_cv_header_limits_h=$ac_header_preproc 
    6016 fi 
    6017 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    6018 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    6019  
    6020 fi 
    6021 if test $ac_cv_header_limits_h = yes; then 
    6022   cat >>confdefs.h <<\_ACEOF 
    6023 #define PJ_HAS_LIMITS_H 1 
    6024 _ACEOF 
    6025  
    6026 fi 
    6027  
    6028  
    6029 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6030   { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6031 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6032 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6033   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6034 fi 
    6035 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6036 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6037 else 
    6038   # Is the header compilable? 
    6039 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    6040 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
    6041 cat >conftest.$ac_ext <<_ACEOF 
    6042 /* confdefs.h.  */ 
    6043 _ACEOF 
    6044 cat confdefs.h >>conftest.$ac_ext 
    6045 cat >>conftest.$ac_ext <<_ACEOF 
    6046 /* end confdefs.h.  */ 
    6047 $ac_includes_default 
    6048 #include <malloc.h> 
    6049 _ACEOF 
    6050 rm -f conftest.$ac_objext 
    6051 if { (ac_try="$ac_compile" 
    6052 case "(($ac_try" in 
    6053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6054   *) ac_try_echo=$ac_try;; 
    6055 esac 
    6056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6057   (eval "$ac_compile") 2>conftest.er1 
    6058   ac_status=$? 
    6059   grep -v '^ *+' conftest.er1 >conftest.err 
    6060   rm -f conftest.er1 
    6061   cat conftest.err >&5 
    6062   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6063   (exit $ac_status); } && { 
    6064          test -z "$ac_c_werror_flag" || 
    6065          test ! -s conftest.err 
    6066        } && test -s conftest.$ac_objext; then 
    6067   ac_header_compiler=yes 
    6068 else 
    6069   echo "$as_me: failed program was:" >&5 
    6070 sed 's/^/| /' conftest.$ac_ext >&5 
    6071  
    6072         ac_header_compiler=no 
    6073 fi 
    6074  
    6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6077 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6078  
    6079 # Is the header present? 
    6080 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    6081 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
    6082 cat >conftest.$ac_ext <<_ACEOF 
    6083 /* confdefs.h.  */ 
    6084 _ACEOF 
    6085 cat confdefs.h >>conftest.$ac_ext 
    6086 cat >>conftest.$ac_ext <<_ACEOF 
    6087 /* end confdefs.h.  */ 
    6088 #include <malloc.h> 
    6089 _ACEOF 
    6090 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6091 case "(($ac_try" in 
    6092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6093   *) ac_try_echo=$ac_try;; 
    6094 esac 
    6095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6096   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6097   ac_status=$? 
    6098   grep -v '^ *+' conftest.er1 >conftest.err 
    6099   rm -f conftest.er1 
    6100   cat conftest.err >&5 
    6101   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6102   (exit $ac_status); } >/dev/null && { 
    6103          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6104          test ! -s conftest.err 
    6105        }; then 
    6106   ac_header_preproc=yes 
    6107 else 
    6108   echo "$as_me: failed program was:" >&5 
    6109 sed 's/^/| /' conftest.$ac_ext >&5 
    6110  
    6111   ac_header_preproc=no 
    6112 fi 
    6113  
    6114 rm -f conftest.err conftest.$ac_ext 
    6115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6116 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6117  
    6118 # So?  What about this header? 
    6119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6120   yes:no: ) 
    6121     { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6122 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6123     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    6124 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    6125     ac_header_preproc=yes 
    6126     ;; 
    6127   no:yes:* ) 
    6128     { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    6129 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    6130     { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    6131 echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    6132     { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    6133 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    6134     { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6135 echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6136     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    6137 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    6138     { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    6139 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    6140  
    6141     ;; 
    6142 esac 
    6143 { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6144 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6145 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6146   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6147 else 
    6148   ac_cv_header_malloc_h=$ac_header_preproc 
    6149 fi 
    6150 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6151 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6152  
    6153 fi 
    6154 if test $ac_cv_header_malloc_h = yes; then 
    6155   cat >>confdefs.h <<\_ACEOF 
    6156 #define PJ_HAS_MALLOC_H 1 
    6157 _ACEOF 
    6158  
    6159 fi 
    6160  
    6161  
    6162 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6163   { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6164 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6165 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6166   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6167 fi 
    6168 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6169 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6170 else 
    6171   # Is the header compilable? 
    6172 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6173 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
    6174 cat >conftest.$ac_ext <<_ACEOF 
    6175 /* confdefs.h.  */ 
    6176 _ACEOF 
    6177 cat confdefs.h >>conftest.$ac_ext 
    6178 cat >>conftest.$ac_ext <<_ACEOF 
    6179 /* end confdefs.h.  */ 
    6180 $ac_includes_default 
    6181 #include <netdb.h> 
    6182 _ACEOF 
    6183 rm -f conftest.$ac_objext 
    6184 if { (ac_try="$ac_compile" 
    6185 case "(($ac_try" in 
    6186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6187   *) ac_try_echo=$ac_try;; 
    6188 esac 
    6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6190   (eval "$ac_compile") 2>conftest.er1 
    6191   ac_status=$? 
    6192   grep -v '^ *+' conftest.er1 >conftest.err 
    6193   rm -f conftest.er1 
    6194   cat conftest.err >&5 
    6195   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6196   (exit $ac_status); } && { 
    6197          test -z "$ac_c_werror_flag" || 
    6198          test ! -s conftest.err 
    6199        } && test -s conftest.$ac_objext; then 
    6200   ac_header_compiler=yes 
    6201 else 
    6202   echo "$as_me: failed program was:" >&5 
    6203 sed 's/^/| /' conftest.$ac_ext >&5 
    6204  
    6205         ac_header_compiler=no 
    6206 fi 
    6207  
    6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6209 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6210 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6211  
    6212 # Is the header present? 
    6213 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6214 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
    6215 cat >conftest.$ac_ext <<_ACEOF 
    6216 /* confdefs.h.  */ 
    6217 _ACEOF 
    6218 cat confdefs.h >>conftest.$ac_ext 
    6219 cat >>conftest.$ac_ext <<_ACEOF 
    6220 /* end confdefs.h.  */ 
    6221 #include <netdb.h> 
    6222 _ACEOF 
    6223 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6224 case "(($ac_try" in 
    6225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6226   *) ac_try_echo=$ac_try;; 
    6227 esac 
    6228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6229   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6230   ac_status=$? 
    6231   grep -v '^ *+' conftest.er1 >conftest.err 
    6232   rm -f conftest.er1 
    6233   cat conftest.err >&5 
    6234   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6235   (exit $ac_status); } >/dev/null && { 
    6236          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6237          test ! -s conftest.err 
    6238        }; then 
    6239   ac_header_preproc=yes 
    6240 else 
    6241   echo "$as_me: failed program was:" >&5 
    6242 sed 's/^/| /' conftest.$ac_ext >&5 
    6243  
    6244   ac_header_preproc=no 
    6245 fi 
    6246  
    6247 rm -f conftest.err conftest.$ac_ext 
    6248 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6249 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6250  
    6251 # So?  What about this header? 
    6252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6253   yes:no: ) 
    6254     { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6255 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6256     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6257 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6258     ac_header_preproc=yes 
    6259     ;; 
    6260   no:yes:* ) 
    6261     { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6262 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6263     { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6264 echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6265     { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6266 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6267     { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6268 echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6269     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6270 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6271     { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6272 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6273  
    6274     ;; 
    6275 esac 
    6276 { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6277 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6278 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6279   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6280 else 
    6281   ac_cv_header_netdb_h=$ac_header_preproc 
    6282 fi 
    6283 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6284 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6285  
    6286 fi 
    6287 if test $ac_cv_header_netdb_h = yes; then 
    6288   cat >>confdefs.h <<\_ACEOF 
    6289 #define PJ_HAS_NETDB_H 1 
    6290 _ACEOF 
    6291  
    6292 fi 
    6293  
    6294  
    6295 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6296   { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6297 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6298 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6299   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6300 fi 
    6301 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6302 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6303 else 
    6304   # Is the header compilable? 
    6305 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6306 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
    6307 cat >conftest.$ac_ext <<_ACEOF 
    6308 /* confdefs.h.  */ 
    6309 _ACEOF 
    6310 cat confdefs.h >>conftest.$ac_ext 
    6311 cat >>conftest.$ac_ext <<_ACEOF 
    6312 /* end confdefs.h.  */ 
    6313 $ac_includes_default 
    6314 #include <netinet/in_systm.h> 
    6315 _ACEOF 
    6316 rm -f conftest.$ac_objext 
    6317 if { (ac_try="$ac_compile" 
    6318 case "(($ac_try" in 
    6319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6320   *) ac_try_echo=$ac_try;; 
    6321 esac 
    6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6323   (eval "$ac_compile") 2>conftest.er1 
    6324   ac_status=$? 
    6325   grep -v '^ *+' conftest.er1 >conftest.err 
    6326   rm -f conftest.er1 
    6327   cat conftest.err >&5 
    6328   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6329   (exit $ac_status); } && { 
    6330          test -z "$ac_c_werror_flag" || 
    6331          test ! -s conftest.err 
    6332        } && test -s conftest.$ac_objext; then 
    6333   ac_header_compiler=yes 
    6334 else 
    6335   echo "$as_me: failed program was:" >&5 
    6336 sed 's/^/| /' conftest.$ac_ext >&5 
    6337  
    6338         ac_header_compiler=no 
    6339 fi 
    6340  
    6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6342 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6343 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6344  
    6345 # Is the header present? 
    6346 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6347 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
    6348 cat >conftest.$ac_ext <<_ACEOF 
    6349 /* confdefs.h.  */ 
    6350 _ACEOF 
    6351 cat confdefs.h >>conftest.$ac_ext 
    6352 cat >>conftest.$ac_ext <<_ACEOF 
    6353 /* end confdefs.h.  */ 
    6354 #include <netinet/in_systm.h> 
    6355 _ACEOF 
    6356 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6357 case "(($ac_try" in 
    6358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6359   *) ac_try_echo=$ac_try;; 
    6360 esac 
    6361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6362   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6363   ac_status=$? 
    6364   grep -v '^ *+' conftest.er1 >conftest.err 
    6365   rm -f conftest.er1 
    6366   cat conftest.err >&5 
    6367   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6368   (exit $ac_status); } >/dev/null && { 
    6369          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6370          test ! -s conftest.err 
    6371        }; then 
    6372   ac_header_preproc=yes 
    6373 else 
    6374   echo "$as_me: failed program was:" >&5 
    6375 sed 's/^/| /' conftest.$ac_ext >&5 
    6376  
    6377   ac_header_preproc=no 
    6378 fi 
    6379  
    6380 rm -f conftest.err conftest.$ac_ext 
    6381 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6382 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6383  
    6384 # So?  What about this header? 
    6385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6386   yes:no: ) 
    6387     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6388 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6389     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6390 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6391     ac_header_preproc=yes 
    6392     ;; 
    6393   no:yes:* ) 
    6394     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6395 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6396     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6397 echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6398     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6399 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6400     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6401 echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6402     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6403 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6404     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6405 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6406  
    6407     ;; 
    6408 esac 
    6409 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6410 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6411 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6412   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6413 else 
    6414   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6415 fi 
    6416 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6417 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6418  
    6419 fi 
    6420 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6421   cat >>confdefs.h <<\_ACEOF 
    6422 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6423 _ACEOF 
    6424  
    6425 fi 
    6426  
    6427  
    6428 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6429   { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6430 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6431 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6432   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6433 fi 
    6434 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6435 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6436 else 
    6437   # Is the header compilable? 
    6438 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6439 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
    6440 cat >conftest.$ac_ext <<_ACEOF 
    6441 /* confdefs.h.  */ 
    6442 _ACEOF 
    6443 cat confdefs.h >>conftest.$ac_ext 
    6444 cat >>conftest.$ac_ext <<_ACEOF 
    6445 /* end confdefs.h.  */ 
    6446 $ac_includes_default 
    6447 #include <netinet/in.h> 
    6448 _ACEOF 
    6449 rm -f conftest.$ac_objext 
    6450 if { (ac_try="$ac_compile" 
    6451 case "(($ac_try" in 
    6452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6453   *) ac_try_echo=$ac_try;; 
    6454 esac 
    6455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6456   (eval "$ac_compile") 2>conftest.er1 
    6457   ac_status=$? 
    6458   grep -v '^ *+' conftest.er1 >conftest.err 
    6459   rm -f conftest.er1 
    6460   cat conftest.err >&5 
    6461   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6462   (exit $ac_status); } && { 
    6463          test -z "$ac_c_werror_flag" || 
    6464          test ! -s conftest.err 
    6465        } && test -s conftest.$ac_objext; then 
    6466   ac_header_compiler=yes 
    6467 else 
    6468   echo "$as_me: failed program was:" >&5 
    6469 sed 's/^/| /' conftest.$ac_ext >&5 
    6470  
    6471         ac_header_compiler=no 
    6472 fi 
    6473  
    6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6475 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6476 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6477  
    6478 # Is the header present? 
    6479 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6480 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
    6481 cat >conftest.$ac_ext <<_ACEOF 
    6482 /* confdefs.h.  */ 
    6483 _ACEOF 
    6484 cat confdefs.h >>conftest.$ac_ext 
    6485 cat >>conftest.$ac_ext <<_ACEOF 
    6486 /* end confdefs.h.  */ 
    6487 #include <netinet/in.h> 
    6488 _ACEOF 
    6489 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6490 case "(($ac_try" in 
    6491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6492   *) ac_try_echo=$ac_try;; 
    6493 esac 
    6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6495   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6496   ac_status=$? 
    6497   grep -v '^ *+' conftest.er1 >conftest.err 
    6498   rm -f conftest.er1 
    6499   cat conftest.err >&5 
    6500   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6501   (exit $ac_status); } >/dev/null && { 
    6502          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6503          test ! -s conftest.err 
    6504        }; then 
    6505   ac_header_preproc=yes 
    6506 else 
    6507   echo "$as_me: failed program was:" >&5 
    6508 sed 's/^/| /' conftest.$ac_ext >&5 
    6509  
    6510   ac_header_preproc=no 
    6511 fi 
    6512  
    6513 rm -f conftest.err conftest.$ac_ext 
    6514 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6515 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6516  
    6517 # So?  What about this header? 
    6518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6519   yes:no: ) 
    6520     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6521 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6522     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    6523 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    6524     ac_header_preproc=yes 
    6525     ;; 
    6526   no:yes:* ) 
    6527     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    6528 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    6529     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    6530 echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    6531     { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    6532 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    6533     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6534 echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6535     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    6536 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    6537     { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    6538 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    6539  
    6540     ;; 
    6541 esac 
    6542 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6543 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6544 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6545   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6546 else 
    6547   ac_cv_header_netinet_in_h=$ac_header_preproc 
    6548 fi 
    6549 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6550 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6551  
    6552 fi 
    6553 if test $ac_cv_header_netinet_in_h = yes; then 
    6554   cat >>confdefs.h <<\_ACEOF 
    6555 #define PJ_HAS_NETINET_IN_H 1 
    6556 _ACEOF 
    6557  
    6558 fi 
    6559  
    6560  
    6561 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
    6562 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
    6563 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
    6564   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6565 else 
    6566   cat >conftest.$ac_ext <<_ACEOF 
    6567 /* confdefs.h.  */ 
    6568 _ACEOF 
    6569 cat confdefs.h >>conftest.$ac_ext 
    6570 cat >>conftest.$ac_ext <<_ACEOF 
    6571 /* end confdefs.h.  */ 
    6572 #if PJ_HAS_SYS_TYPES_H 
     4746ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
     4747if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4748  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
     4749 
     4750fi 
     4751 
     4752 
     4753ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
     4754if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4755  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
     4756 
     4757fi 
     4758 
     4759 
     4760ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 
     4761if test "x$ac_cv_header_limits_h" = x""yes; then : 
     4762  $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 
     4763 
     4764fi 
     4765 
     4766 
     4767ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
     4768if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4769  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
     4770 
     4771fi 
     4772 
     4773 
     4774ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
     4775if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4776  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
     4777 
     4778fi 
     4779 
     4780 
     4781ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
     4782if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4783  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
     4784 
     4785fi 
     4786 
     4787 
     4788ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
     4789if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4790  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
     4791 
     4792fi 
     4793 
     4794 
     4795ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
    65734796                  #     include <sys/types.h> 
    65744797                  #endif 
     
    65804803                  #endif 
    65814804 
    6582  
    6583 #include <netinet/ip.h> 
    6584 _ACEOF 
    6585 rm -f conftest.$ac_objext 
    6586 if { (ac_try="$ac_compile" 
    6587 case "(($ac_try" in 
    6588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6589   *) ac_try_echo=$ac_try;; 
    6590 esac 
    6591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6592   (eval "$ac_compile") 2>conftest.er1 
    6593   ac_status=$? 
    6594   grep -v '^ *+' conftest.er1 >conftest.err 
    6595   rm -f conftest.er1 
    6596   cat conftest.err >&5 
    6597   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6598   (exit $ac_status); } && { 
    6599          test -z "$ac_c_werror_flag" || 
    6600          test ! -s conftest.err 
    6601        } && test -s conftest.$ac_objext; then 
    6602   ac_cv_header_netinet_ip_h=yes 
    6603 else 
    6604   echo "$as_me: failed program was:" >&5 
    6605 sed 's/^/| /' conftest.$ac_ext >&5 
    6606  
    6607         ac_cv_header_netinet_ip_h=no 
    6608 fi 
    6609  
    6610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6611 fi 
    6612 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
    6613 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
    6614 if test $ac_cv_header_netinet_ip_h = yes; then 
    6615   cat >>confdefs.h <<\_ACEOF 
    6616 #define PJ_HAS_NETINET_IP_H 1 
    6617 _ACEOF 
    6618  
    6619 fi 
    6620  
    6621  
    6622 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6623   { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6624 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6625 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6626   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6627 fi 
    6628 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6629 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6630 else 
    6631   # Is the header compilable? 
    6632 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
    6633 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
    6634 cat >conftest.$ac_ext <<_ACEOF 
    6635 /* confdefs.h.  */ 
    6636 _ACEOF 
    6637 cat confdefs.h >>conftest.$ac_ext 
    6638 cat >>conftest.$ac_ext <<_ACEOF 
    6639 /* end confdefs.h.  */ 
    6640 $ac_includes_default 
    6641 #include <netinet/tcp.h> 
    6642 _ACEOF 
    6643 rm -f conftest.$ac_objext 
    6644 if { (ac_try="$ac_compile" 
    6645 case "(($ac_try" in 
    6646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6647   *) ac_try_echo=$ac_try;; 
    6648 esac 
    6649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6650   (eval "$ac_compile") 2>conftest.er1 
    6651   ac_status=$? 
    6652   grep -v '^ *+' conftest.er1 >conftest.err 
    6653   rm -f conftest.er1 
    6654   cat conftest.err >&5 
    6655   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6656   (exit $ac_status); } && { 
    6657          test -z "$ac_c_werror_flag" || 
    6658          test ! -s conftest.err 
    6659        } && test -s conftest.$ac_objext; then 
    6660   ac_header_compiler=yes 
    6661 else 
    6662   echo "$as_me: failed program was:" >&5 
    6663 sed 's/^/| /' conftest.$ac_ext >&5 
    6664  
    6665         ac_header_compiler=no 
    6666 fi 
    6667  
    6668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6669 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6670 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6671  
    6672 # Is the header present? 
    6673 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
    6674 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
    6675 cat >conftest.$ac_ext <<_ACEOF 
    6676 /* confdefs.h.  */ 
    6677 _ACEOF 
    6678 cat confdefs.h >>conftest.$ac_ext 
    6679 cat >>conftest.$ac_ext <<_ACEOF 
    6680 /* end confdefs.h.  */ 
    6681 #include <netinet/tcp.h> 
    6682 _ACEOF 
    6683 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6684 case "(($ac_try" in 
    6685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6686   *) ac_try_echo=$ac_try;; 
    6687 esac 
    6688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6690   ac_status=$? 
    6691   grep -v '^ *+' conftest.er1 >conftest.err 
    6692   rm -f conftest.er1 
    6693   cat conftest.err >&5 
    6694   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6695   (exit $ac_status); } >/dev/null && { 
    6696          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6697          test ! -s conftest.err 
    6698        }; then 
    6699   ac_header_preproc=yes 
    6700 else 
    6701   echo "$as_me: failed program was:" >&5 
    6702 sed 's/^/| /' conftest.$ac_ext >&5 
    6703  
    6704   ac_header_preproc=no 
    6705 fi 
    6706  
    6707 rm -f conftest.err conftest.$ac_ext 
    6708 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6709 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6710  
    6711 # So?  What about this header? 
    6712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6713   yes:no: ) 
    6714     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6715 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6716     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
    6717 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
    6718     ac_header_preproc=yes 
    6719     ;; 
    6720   no:yes:* ) 
    6721     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
    6722 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
    6723     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
    6724 echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
    6725     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
    6726 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
    6727     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6728 echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6729     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
    6730 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
    6731     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
    6732 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
    6733  
    6734     ;; 
    6735 esac 
    6736 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6737 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6738 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6739   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6740 else 
    6741   ac_cv_header_netinet_tcp_h=$ac_header_preproc 
    6742 fi 
    6743 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6744 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6745  
    6746 fi 
    6747 if test $ac_cv_header_netinet_tcp_h = yes; then 
    6748   cat >>confdefs.h <<\_ACEOF 
    6749 #define PJ_HAS_NETINET_TCP_H 1 
    6750 _ACEOF 
    6751  
    6752 fi 
    6753  
    6754  
    6755 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6756   { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6757 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6758 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6759   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6760 fi 
    6761 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6762 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6763 else 
    6764   # Is the header compilable? 
    6765 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
    6766 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
    6767 cat >conftest.$ac_ext <<_ACEOF 
    6768 /* confdefs.h.  */ 
    6769 _ACEOF 
    6770 cat confdefs.h >>conftest.$ac_ext 
    6771 cat >>conftest.$ac_ext <<_ACEOF 
    6772 /* end confdefs.h.  */ 
    6773 $ac_includes_default 
    6774 #include <ifaddrs.h> 
    6775 _ACEOF 
    6776 rm -f conftest.$ac_objext 
    6777 if { (ac_try="$ac_compile" 
    6778 case "(($ac_try" in 
    6779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6780   *) ac_try_echo=$ac_try;; 
    6781 esac 
    6782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6783   (eval "$ac_compile") 2>conftest.er1 
    6784   ac_status=$? 
    6785   grep -v '^ *+' conftest.er1 >conftest.err 
    6786   rm -f conftest.er1 
    6787   cat conftest.err >&5 
    6788   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6789   (exit $ac_status); } && { 
    6790          test -z "$ac_c_werror_flag" || 
    6791          test ! -s conftest.err 
    6792        } && test -s conftest.$ac_objext; then 
    6793   ac_header_compiler=yes 
    6794 else 
    6795   echo "$as_me: failed program was:" >&5 
    6796 sed 's/^/| /' conftest.$ac_ext >&5 
    6797  
    6798         ac_header_compiler=no 
    6799 fi 
    6800  
    6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6802 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6803 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6804  
    6805 # Is the header present? 
    6806 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
    6807 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
    6808 cat >conftest.$ac_ext <<_ACEOF 
    6809 /* confdefs.h.  */ 
    6810 _ACEOF 
    6811 cat confdefs.h >>conftest.$ac_ext 
    6812 cat >>conftest.$ac_ext <<_ACEOF 
    6813 /* end confdefs.h.  */ 
    6814 #include <ifaddrs.h> 
    6815 _ACEOF 
    6816 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6817 case "(($ac_try" in 
    6818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6819   *) ac_try_echo=$ac_try;; 
    6820 esac 
    6821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6822   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6823   ac_status=$? 
    6824   grep -v '^ *+' conftest.er1 >conftest.err 
    6825   rm -f conftest.er1 
    6826   cat conftest.err >&5 
    6827   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6828   (exit $ac_status); } >/dev/null && { 
    6829          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6830          test ! -s conftest.err 
    6831        }; then 
    6832   ac_header_preproc=yes 
    6833 else 
    6834   echo "$as_me: failed program was:" >&5 
    6835 sed 's/^/| /' conftest.$ac_ext >&5 
    6836  
    6837   ac_header_preproc=no 
    6838 fi 
    6839  
    6840 rm -f conftest.err conftest.$ac_ext 
    6841 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6842 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6843  
    6844 # So?  What about this header? 
    6845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6846   yes:no: ) 
    6847     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6848 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6849     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
    6850 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
    6851     ac_header_preproc=yes 
    6852     ;; 
    6853   no:yes:* ) 
    6854     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
    6855 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
    6856     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
    6857 echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
    6858     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
    6859 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
    6860     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6861 echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6862     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
    6863 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
    6864     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
    6865 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
    6866  
    6867     ;; 
    6868 esac 
    6869 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6870 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6871 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6872   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6873 else 
    6874   ac_cv_header_ifaddrs_h=$ac_header_preproc 
    6875 fi 
    6876 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6877 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6878  
    6879 fi 
    6880 if test $ac_cv_header_ifaddrs_h = yes; then 
    6881   { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
    6882 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
    6883 if test "${ac_cv_func_getifaddrs+set}" = set; then 
    6884   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6885 else 
    6886   cat >conftest.$ac_ext <<_ACEOF 
    6887 /* confdefs.h.  */ 
    6888 _ACEOF 
    6889 cat confdefs.h >>conftest.$ac_ext 
    6890 cat >>conftest.$ac_ext <<_ACEOF 
    6891 /* end confdefs.h.  */ 
    6892 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
    6893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    6894 #define getifaddrs innocuous_getifaddrs 
    6895  
    6896 /* System header to define __stub macros and hopefully few prototypes, 
    6897     which can conflict with char getifaddrs (); below. 
    6898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6899     <limits.h> exists even on freestanding compilers.  */ 
    6900  
    6901 #ifdef __STDC__ 
    6902 # include <limits.h> 
    6903 #else 
    6904 # include <assert.h> 
    6905 #endif 
    6906  
    6907 #undef getifaddrs 
    6908  
    6909 /* Override any GCC internal prototype to avoid an error. 
    6910    Use char because int might match the return type of a GCC 
    6911    builtin and then its argument prototype would still apply.  */ 
    6912 #ifdef __cplusplus 
    6913 extern "C" 
    6914 #endif 
    6915 char getifaddrs (); 
    6916 /* The GNU C library defines this for functions which it implements 
    6917     to always fail with ENOSYS.  Some functions are actually named 
    6918     something starting with __ and the normal name is an alias.  */ 
    6919 #if defined __stub_getifaddrs || defined __stub___getifaddrs 
    6920 choke me 
    6921 #endif 
    6922  
    6923 int 
    6924 main () 
    6925 { 
    6926 return getifaddrs (); 
    6927   ; 
    6928   return 0; 
    6929 } 
    6930 _ACEOF 
    6931 rm -f conftest.$ac_objext conftest$ac_exeext 
    6932 if { (ac_try="$ac_link" 
    6933 case "(($ac_try" in 
    6934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6935   *) ac_try_echo=$ac_try;; 
    6936 esac 
    6937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6938   (eval "$ac_link") 2>conftest.er1 
    6939   ac_status=$? 
    6940   grep -v '^ *+' conftest.er1 >conftest.err 
    6941   rm -f conftest.er1 
    6942   cat conftest.err >&5 
    6943   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6944   (exit $ac_status); } && { 
    6945          test -z "$ac_c_werror_flag" || 
    6946          test ! -s conftest.err 
    6947        } && test -s conftest$ac_exeext && 
    6948        $as_test_x conftest$ac_exeext; then 
    6949   ac_cv_func_getifaddrs=yes 
    6950 else 
    6951   echo "$as_me: failed program was:" >&5 
    6952 sed 's/^/| /' conftest.$ac_ext >&5 
    6953  
    6954         ac_cv_func_getifaddrs=no 
    6955 fi 
    6956  
    6957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    6958       conftest$ac_exeext conftest.$ac_ext 
    6959 fi 
    6960 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
    6961 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
    6962 if test $ac_cv_func_getifaddrs = yes; then 
    6963   cat >>confdefs.h <<\_ACEOF 
    6964 #define PJ_HAS_IFADDRS_H 1 
    6965 _ACEOF 
    6966  
    6967 fi 
    6968  
    6969 fi 
    6970  
    6971  
    6972 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6973   { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    6974 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    6975 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6976   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6977 fi 
    6978 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    6979 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    6980 else 
    6981   # Is the header compilable? 
    6982 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
    6983 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
    6984 cat >conftest.$ac_ext <<_ACEOF 
    6985 /* confdefs.h.  */ 
    6986 _ACEOF 
    6987 cat confdefs.h >>conftest.$ac_ext 
    6988 cat >>conftest.$ac_ext <<_ACEOF 
    6989 /* end confdefs.h.  */ 
    6990 $ac_includes_default 
    6991 #include <semaphore.h> 
    6992 _ACEOF 
    6993 rm -f conftest.$ac_objext 
    6994 if { (ac_try="$ac_compile" 
    6995 case "(($ac_try" in 
    6996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6997   *) ac_try_echo=$ac_try;; 
    6998 esac 
    6999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7000   (eval "$ac_compile") 2>conftest.er1 
    7001   ac_status=$? 
    7002   grep -v '^ *+' conftest.er1 >conftest.err 
    7003   rm -f conftest.er1 
    7004   cat conftest.err >&5 
    7005   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7006   (exit $ac_status); } && { 
    7007          test -z "$ac_c_werror_flag" || 
    7008          test ! -s conftest.err 
    7009        } && test -s conftest.$ac_objext; then 
    7010   ac_header_compiler=yes 
    7011 else 
    7012   echo "$as_me: failed program was:" >&5 
    7013 sed 's/^/| /' conftest.$ac_ext >&5 
    7014  
    7015         ac_header_compiler=no 
    7016 fi 
    7017  
    7018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7019 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7020 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7021  
    7022 # Is the header present? 
    7023 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
    7024 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
    7025 cat >conftest.$ac_ext <<_ACEOF 
    7026 /* confdefs.h.  */ 
    7027 _ACEOF 
    7028 cat confdefs.h >>conftest.$ac_ext 
    7029 cat >>conftest.$ac_ext <<_ACEOF 
    7030 /* end confdefs.h.  */ 
    7031 #include <semaphore.h> 
    7032 _ACEOF 
    7033 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7034 case "(($ac_try" in 
    7035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7036   *) ac_try_echo=$ac_try;; 
    7037 esac 
    7038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7039   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7040   ac_status=$? 
    7041   grep -v '^ *+' conftest.er1 >conftest.err 
    7042   rm -f conftest.er1 
    7043   cat conftest.err >&5 
    7044   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7045   (exit $ac_status); } >/dev/null && { 
    7046          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7047          test ! -s conftest.err 
    7048        }; then 
    7049   ac_header_preproc=yes 
    7050 else 
    7051   echo "$as_me: failed program was:" >&5 
    7052 sed 's/^/| /' conftest.$ac_ext >&5 
    7053  
    7054   ac_header_preproc=no 
    7055 fi 
    7056  
    7057 rm -f conftest.err conftest.$ac_ext 
    7058 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7059 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7060  
    7061 # So?  What about this header? 
    7062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7063   yes:no: ) 
    7064     { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7065 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7066     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
    7067 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
    7068     ac_header_preproc=yes 
    7069     ;; 
    7070   no:yes:* ) 
    7071     { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
    7072 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
    7073     { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
    7074 echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
    7075     { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
    7076 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
    7077     { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7078 echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7079     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
    7080 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
    7081     { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
    7082 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
    7083  
    7084     ;; 
    7085 esac 
    7086 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    7087 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    7088 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7089   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7090 else 
    7091   ac_cv_header_semaphore_h=$ac_header_preproc 
    7092 fi 
    7093 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    7094 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    7095  
    7096 fi 
    7097 if test $ac_cv_header_semaphore_h = yes; then 
    7098   cat >>confdefs.h <<\_ACEOF 
    7099 #define PJ_HAS_SEMAPHORE_H 1 
    7100 _ACEOF 
    7101  
    7102 fi 
    7103  
    7104  
    7105 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7106   { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7107 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7108 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7109   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7110 fi 
    7111 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7112 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7113 else 
    7114   # Is the header compilable? 
    7115 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    7116 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
    7117 cat >conftest.$ac_ext <<_ACEOF 
    7118 /* confdefs.h.  */ 
    7119 _ACEOF 
    7120 cat confdefs.h >>conftest.$ac_ext 
    7121 cat >>conftest.$ac_ext <<_ACEOF 
    7122 /* end confdefs.h.  */ 
    7123 $ac_includes_default 
    7124 #include <setjmp.h> 
    7125 _ACEOF 
    7126 rm -f conftest.$ac_objext 
    7127 if { (ac_try="$ac_compile" 
    7128 case "(($ac_try" in 
    7129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7130   *) ac_try_echo=$ac_try;; 
    7131 esac 
    7132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7133   (eval "$ac_compile") 2>conftest.er1 
    7134   ac_status=$? 
    7135   grep -v '^ *+' conftest.er1 >conftest.err 
    7136   rm -f conftest.er1 
    7137   cat conftest.err >&5 
    7138   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7139   (exit $ac_status); } && { 
    7140          test -z "$ac_c_werror_flag" || 
    7141          test ! -s conftest.err 
    7142        } && test -s conftest.$ac_objext; then 
    7143   ac_header_compiler=yes 
    7144 else 
    7145   echo "$as_me: failed program was:" >&5 
    7146 sed 's/^/| /' conftest.$ac_ext >&5 
    7147  
    7148         ac_header_compiler=no 
    7149 fi 
    7150  
    7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7153 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7154  
    7155 # Is the header present? 
    7156 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    7157 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
    7158 cat >conftest.$ac_ext <<_ACEOF 
    7159 /* confdefs.h.  */ 
    7160 _ACEOF 
    7161 cat confdefs.h >>conftest.$ac_ext 
    7162 cat >>conftest.$ac_ext <<_ACEOF 
    7163 /* end confdefs.h.  */ 
    7164 #include <setjmp.h> 
    7165 _ACEOF 
    7166 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7167 case "(($ac_try" in 
    7168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7169   *) ac_try_echo=$ac_try;; 
    7170 esac 
    7171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7172   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7173   ac_status=$? 
    7174   grep -v '^ *+' conftest.er1 >conftest.err 
    7175   rm -f conftest.er1 
    7176   cat conftest.err >&5 
    7177   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7178   (exit $ac_status); } >/dev/null && { 
    7179          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7180          test ! -s conftest.err 
    7181        }; then 
    7182   ac_header_preproc=yes 
    7183 else 
    7184   echo "$as_me: failed program was:" >&5 
    7185 sed 's/^/| /' conftest.$ac_ext >&5 
    7186  
    7187   ac_header_preproc=no 
    7188 fi 
    7189  
    7190 rm -f conftest.err conftest.$ac_ext 
    7191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7192 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7193  
    7194 # So?  What about this header? 
    7195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7196   yes:no: ) 
    7197     { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7198 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7199     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    7200 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    7201     ac_header_preproc=yes 
    7202     ;; 
    7203   no:yes:* ) 
    7204     { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    7205 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    7206     { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    7207 echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    7208     { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    7209 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    7210     { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7211 echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7212     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    7213 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    7214     { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    7215 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    7216  
    7217     ;; 
    7218 esac 
    7219 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7220 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7221 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7222   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7223 else 
    7224   ac_cv_header_setjmp_h=$ac_header_preproc 
    7225 fi 
    7226 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7227 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7228  
    7229 fi 
    7230 if test $ac_cv_header_setjmp_h = yes; then 
    7231   cat >>confdefs.h <<\_ACEOF 
    7232 #define PJ_HAS_SETJMP_H 1 
    7233 _ACEOF 
    7234  
    7235 fi 
    7236  
    7237  
    7238 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7239   { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7240 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7241 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7242   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7243 fi 
    7244 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7245 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7246 else 
    7247   # Is the header compilable? 
    7248 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    7249 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
    7250 cat >conftest.$ac_ext <<_ACEOF 
    7251 /* confdefs.h.  */ 
    7252 _ACEOF 
    7253 cat confdefs.h >>conftest.$ac_ext 
    7254 cat >>conftest.$ac_ext <<_ACEOF 
    7255 /* end confdefs.h.  */ 
    7256 $ac_includes_default 
    7257 #include <stdarg.h> 
    7258 _ACEOF 
    7259 rm -f conftest.$ac_objext 
    7260 if { (ac_try="$ac_compile" 
    7261 case "(($ac_try" in 
    7262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7263   *) ac_try_echo=$ac_try;; 
    7264 esac 
    7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7266   (eval "$ac_compile") 2>conftest.er1 
    7267   ac_status=$? 
    7268   grep -v '^ *+' conftest.er1 >conftest.err 
    7269   rm -f conftest.er1 
    7270   cat conftest.err >&5 
    7271   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7272   (exit $ac_status); } && { 
    7273          test -z "$ac_c_werror_flag" || 
    7274          test ! -s conftest.err 
    7275        } && test -s conftest.$ac_objext; then 
    7276   ac_header_compiler=yes 
    7277 else 
    7278   echo "$as_me: failed program was:" >&5 
    7279 sed 's/^/| /' conftest.$ac_ext >&5 
    7280  
    7281         ac_header_compiler=no 
    7282 fi 
    7283  
    7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7285 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7286 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7287  
    7288 # Is the header present? 
    7289 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    7290 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
    7291 cat >conftest.$ac_ext <<_ACEOF 
    7292 /* confdefs.h.  */ 
    7293 _ACEOF 
    7294 cat confdefs.h >>conftest.$ac_ext 
    7295 cat >>conftest.$ac_ext <<_ACEOF 
    7296 /* end confdefs.h.  */ 
    7297 #include <stdarg.h> 
    7298 _ACEOF 
    7299 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7300 case "(($ac_try" in 
    7301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7302   *) ac_try_echo=$ac_try;; 
    7303 esac 
    7304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7305   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7306   ac_status=$? 
    7307   grep -v '^ *+' conftest.er1 >conftest.err 
    7308   rm -f conftest.er1 
    7309   cat conftest.err >&5 
    7310   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7311   (exit $ac_status); } >/dev/null && { 
    7312          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7313          test ! -s conftest.err 
    7314        }; then 
    7315   ac_header_preproc=yes 
    7316 else 
    7317   echo "$as_me: failed program was:" >&5 
    7318 sed 's/^/| /' conftest.$ac_ext >&5 
    7319  
    7320   ac_header_preproc=no 
    7321 fi 
    7322  
    7323 rm -f conftest.err conftest.$ac_ext 
    7324 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7325 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7326  
    7327 # So?  What about this header? 
    7328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7329   yes:no: ) 
    7330     { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7331 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7332     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    7333 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    7334     ac_header_preproc=yes 
    7335     ;; 
    7336   no:yes:* ) 
    7337     { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    7338 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    7339     { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    7340 echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    7341     { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    7342 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    7343     { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7344 echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7345     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    7346 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    7347     { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    7348 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    7349  
    7350     ;; 
    7351 esac 
    7352 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7353 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7354 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7355   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7356 else 
    7357   ac_cv_header_stdarg_h=$ac_header_preproc 
    7358 fi 
    7359 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7360 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7361  
    7362 fi 
    7363 if test $ac_cv_header_stdarg_h = yes; then 
    7364   cat >>confdefs.h <<\_ACEOF 
    7365 #define PJ_HAS_STDARG_H 1 
    7366 _ACEOF 
    7367  
    7368 fi 
    7369  
    7370  
    7371 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7372   { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7373 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7374 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7375   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7376 fi 
    7377 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7378 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7379 else 
    7380   # Is the header compilable? 
    7381 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    7382 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
    7383 cat >conftest.$ac_ext <<_ACEOF 
    7384 /* confdefs.h.  */ 
    7385 _ACEOF 
    7386 cat confdefs.h >>conftest.$ac_ext 
    7387 cat >>conftest.$ac_ext <<_ACEOF 
    7388 /* end confdefs.h.  */ 
    7389 $ac_includes_default 
    7390 #include <stddef.h> 
    7391 _ACEOF 
    7392 rm -f conftest.$ac_objext 
    7393 if { (ac_try="$ac_compile" 
    7394 case "(($ac_try" in 
    7395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7396   *) ac_try_echo=$ac_try;; 
    7397 esac 
    7398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7399   (eval "$ac_compile") 2>conftest.er1 
    7400   ac_status=$? 
    7401   grep -v '^ *+' conftest.er1 >conftest.err 
    7402   rm -f conftest.er1 
    7403   cat conftest.err >&5 
    7404   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7405   (exit $ac_status); } && { 
    7406          test -z "$ac_c_werror_flag" || 
    7407          test ! -s conftest.err 
    7408        } && test -s conftest.$ac_objext; then 
    7409   ac_header_compiler=yes 
    7410 else 
    7411   echo "$as_me: failed program was:" >&5 
    7412 sed 's/^/| /' conftest.$ac_ext >&5 
    7413  
    7414         ac_header_compiler=no 
    7415 fi 
    7416  
    7417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7418 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7419 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7420  
    7421 # Is the header present? 
    7422 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    7423 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
    7424 cat >conftest.$ac_ext <<_ACEOF 
    7425 /* confdefs.h.  */ 
    7426 _ACEOF 
    7427 cat confdefs.h >>conftest.$ac_ext 
    7428 cat >>conftest.$ac_ext <<_ACEOF 
    7429 /* end confdefs.h.  */ 
    7430 #include <stddef.h> 
    7431 _ACEOF 
    7432 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7433 case "(($ac_try" in 
    7434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7435   *) ac_try_echo=$ac_try;; 
    7436 esac 
    7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7438   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7439   ac_status=$? 
    7440   grep -v '^ *+' conftest.er1 >conftest.err 
    7441   rm -f conftest.er1 
    7442   cat conftest.err >&5 
    7443   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7444   (exit $ac_status); } >/dev/null && { 
    7445          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7446          test ! -s conftest.err 
    7447        }; then 
    7448   ac_header_preproc=yes 
    7449 else 
    7450   echo "$as_me: failed program was:" >&5 
    7451 sed 's/^/| /' conftest.$ac_ext >&5 
    7452  
    7453   ac_header_preproc=no 
    7454 fi 
    7455  
    7456 rm -f conftest.err conftest.$ac_ext 
    7457 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7458 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7459  
    7460 # So?  What about this header? 
    7461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7462   yes:no: ) 
    7463     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7464 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7465     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    7466 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    7467     ac_header_preproc=yes 
    7468     ;; 
    7469   no:yes:* ) 
    7470     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    7471 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    7472     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    7473 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    7474     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    7475 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    7476     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7477 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7478     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    7479 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    7480     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    7481 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    7482  
    7483     ;; 
    7484 esac 
    7485 { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7486 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7487 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7488   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7489 else 
    7490   ac_cv_header_stddef_h=$ac_header_preproc 
    7491 fi 
    7492 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7493 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7494  
    7495 fi 
    7496 if test $ac_cv_header_stddef_h = yes; then 
    7497   cat >>confdefs.h <<\_ACEOF 
    7498 #define PJ_HAS_STDDEF_H 1 
    7499 _ACEOF 
    7500  
    7501 fi 
    7502  
    7503  
    7504 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7505   { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7506 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7507 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7508   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7509 fi 
    7510 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7511 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7512 else 
    7513   # Is the header compilable? 
    7514 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    7515 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
    7516 cat >conftest.$ac_ext <<_ACEOF 
    7517 /* confdefs.h.  */ 
    7518 _ACEOF 
    7519 cat confdefs.h >>conftest.$ac_ext 
    7520 cat >>conftest.$ac_ext <<_ACEOF 
    7521 /* end confdefs.h.  */ 
    7522 $ac_includes_default 
    7523 #include <stdio.h> 
    7524 _ACEOF 
    7525 rm -f conftest.$ac_objext 
    7526 if { (ac_try="$ac_compile" 
    7527 case "(($ac_try" in 
    7528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7529   *) ac_try_echo=$ac_try;; 
    7530 esac 
    7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7532   (eval "$ac_compile") 2>conftest.er1 
    7533   ac_status=$? 
    7534   grep -v '^ *+' conftest.er1 >conftest.err 
    7535   rm -f conftest.er1 
    7536   cat conftest.err >&5 
    7537   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7538   (exit $ac_status); } && { 
    7539          test -z "$ac_c_werror_flag" || 
    7540          test ! -s conftest.err 
    7541        } && test -s conftest.$ac_objext; then 
    7542   ac_header_compiler=yes 
    7543 else 
    7544   echo "$as_me: failed program was:" >&5 
    7545 sed 's/^/| /' conftest.$ac_ext >&5 
    7546  
    7547         ac_header_compiler=no 
    7548 fi 
    7549  
    7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7551 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7552 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7553  
    7554 # Is the header present? 
    7555 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    7556 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
    7557 cat >conftest.$ac_ext <<_ACEOF 
    7558 /* confdefs.h.  */ 
    7559 _ACEOF 
    7560 cat confdefs.h >>conftest.$ac_ext 
    7561 cat >>conftest.$ac_ext <<_ACEOF 
    7562 /* end confdefs.h.  */ 
    7563 #include <stdio.h> 
    7564 _ACEOF 
    7565 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7566 case "(($ac_try" in 
    7567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7568   *) ac_try_echo=$ac_try;; 
    7569 esac 
    7570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7571   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7572   ac_status=$? 
    7573   grep -v '^ *+' conftest.er1 >conftest.err 
    7574   rm -f conftest.er1 
    7575   cat conftest.err >&5 
    7576   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7577   (exit $ac_status); } >/dev/null && { 
    7578          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7579          test ! -s conftest.err 
    7580        }; then 
    7581   ac_header_preproc=yes 
    7582 else 
    7583   echo "$as_me: failed program was:" >&5 
    7584 sed 's/^/| /' conftest.$ac_ext >&5 
    7585  
    7586   ac_header_preproc=no 
    7587 fi 
    7588  
    7589 rm -f conftest.err conftest.$ac_ext 
    7590 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7591 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7592  
    7593 # So?  What about this header? 
    7594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7595   yes:no: ) 
    7596     { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7597 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7598     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    7599 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    7600     ac_header_preproc=yes 
    7601     ;; 
    7602   no:yes:* ) 
    7603     { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    7604 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    7605     { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    7606 echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    7607     { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    7608 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    7609     { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7610 echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7611     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    7612 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    7613     { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    7614 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    7615  
    7616     ;; 
    7617 esac 
    7618 { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7619 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7620 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7621   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7622 else 
    7623   ac_cv_header_stdio_h=$ac_header_preproc 
    7624 fi 
    7625 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7626 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7627  
    7628 fi 
    7629 if test $ac_cv_header_stdio_h = yes; then 
    7630   cat >>confdefs.h <<\_ACEOF 
    7631 #define PJ_HAS_STDIO_H 1 
    7632 _ACEOF 
    7633  
    7634 fi 
    7635  
    7636  
    7637 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7638   { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7639 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7640 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7641   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7642 fi 
    7643 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7644 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7645 else 
    7646   # Is the header compilable? 
    7647 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 
    7648 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
    7649 cat >conftest.$ac_ext <<_ACEOF 
    7650 /* confdefs.h.  */ 
    7651 _ACEOF 
    7652 cat confdefs.h >>conftest.$ac_ext 
    7653 cat >>conftest.$ac_ext <<_ACEOF 
    7654 /* end confdefs.h.  */ 
    7655 $ac_includes_default 
    7656 #include <stdint.h> 
    7657 _ACEOF 
    7658 rm -f conftest.$ac_objext 
    7659 if { (ac_try="$ac_compile" 
    7660 case "(($ac_try" in 
    7661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7662   *) ac_try_echo=$ac_try;; 
    7663 esac 
    7664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7665   (eval "$ac_compile") 2>conftest.er1 
    7666   ac_status=$? 
    7667   grep -v '^ *+' conftest.er1 >conftest.err 
    7668   rm -f conftest.er1 
    7669   cat conftest.err >&5 
    7670   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7671   (exit $ac_status); } && { 
    7672          test -z "$ac_c_werror_flag" || 
    7673          test ! -s conftest.err 
    7674        } && test -s conftest.$ac_objext; then 
    7675   ac_header_compiler=yes 
    7676 else 
    7677   echo "$as_me: failed program was:" >&5 
    7678 sed 's/^/| /' conftest.$ac_ext >&5 
    7679  
    7680         ac_header_compiler=no 
    7681 fi 
    7682  
    7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7684 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7685 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7686  
    7687 # Is the header present? 
    7688 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 
    7689 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
    7690 cat >conftest.$ac_ext <<_ACEOF 
    7691 /* confdefs.h.  */ 
    7692 _ACEOF 
    7693 cat confdefs.h >>conftest.$ac_ext 
    7694 cat >>conftest.$ac_ext <<_ACEOF 
    7695 /* end confdefs.h.  */ 
    7696 #include <stdint.h> 
    7697 _ACEOF 
    7698 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7699 case "(($ac_try" in 
    7700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7701   *) ac_try_echo=$ac_try;; 
    7702 esac 
    7703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7704   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7705   ac_status=$? 
    7706   grep -v '^ *+' conftest.er1 >conftest.err 
    7707   rm -f conftest.er1 
    7708   cat conftest.err >&5 
    7709   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7710   (exit $ac_status); } >/dev/null && { 
    7711          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7712          test ! -s conftest.err 
    7713        }; then 
    7714   ac_header_preproc=yes 
    7715 else 
    7716   echo "$as_me: failed program was:" >&5 
    7717 sed 's/^/| /' conftest.$ac_ext >&5 
    7718  
    7719   ac_header_preproc=no 
    7720 fi 
    7721  
    7722 rm -f conftest.err conftest.$ac_ext 
    7723 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7724 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7725  
    7726 # So?  What about this header? 
    7727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7728   yes:no: ) 
    7729     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7730 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7731     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
    7732 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
    7733     ac_header_preproc=yes 
    7734     ;; 
    7735   no:yes:* ) 
    7736     { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
    7737 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
    7738     { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
    7739 echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
    7740     { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
    7741 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
    7742     { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7743 echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7744     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
    7745 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
    7746     { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
    7747 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
    7748  
    7749     ;; 
    7750 esac 
    7751 { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7752 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7753 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7754   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7755 else 
    7756   ac_cv_header_stdint_h=$ac_header_preproc 
    7757 fi 
    7758 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7759 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7760  
    7761 fi 
    7762 if test $ac_cv_header_stdint_h = yes; then 
    7763   cat >>confdefs.h <<\_ACEOF 
    7764 #define PJ_HAS_STDINT_H 1 
    7765 _ACEOF 
    7766  
    7767 fi 
    7768  
    7769  
    7770 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7771   { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7772 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7773 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7774   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7775 fi 
    7776 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7777 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7778 else 
    7779   # Is the header compilable? 
    7780 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    7781 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
    7782 cat >conftest.$ac_ext <<_ACEOF 
    7783 /* confdefs.h.  */ 
    7784 _ACEOF 
    7785 cat confdefs.h >>conftest.$ac_ext 
    7786 cat >>conftest.$ac_ext <<_ACEOF 
    7787 /* end confdefs.h.  */ 
    7788 $ac_includes_default 
    7789 #include <stdlib.h> 
    7790 _ACEOF 
    7791 rm -f conftest.$ac_objext 
    7792 if { (ac_try="$ac_compile" 
    7793 case "(($ac_try" in 
    7794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7795   *) ac_try_echo=$ac_try;; 
    7796 esac 
    7797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7798   (eval "$ac_compile") 2>conftest.er1 
    7799   ac_status=$? 
    7800   grep -v '^ *+' conftest.er1 >conftest.err 
    7801   rm -f conftest.er1 
    7802   cat conftest.err >&5 
    7803   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7804   (exit $ac_status); } && { 
    7805          test -z "$ac_c_werror_flag" || 
    7806          test ! -s conftest.err 
    7807        } && test -s conftest.$ac_objext; then 
    7808   ac_header_compiler=yes 
    7809 else 
    7810   echo "$as_me: failed program was:" >&5 
    7811 sed 's/^/| /' conftest.$ac_ext >&5 
    7812  
    7813         ac_header_compiler=no 
    7814 fi 
    7815  
    7816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7817 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7818 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7819  
    7820 # Is the header present? 
    7821 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    7822 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
    7823 cat >conftest.$ac_ext <<_ACEOF 
    7824 /* confdefs.h.  */ 
    7825 _ACEOF 
    7826 cat confdefs.h >>conftest.$ac_ext 
    7827 cat >>conftest.$ac_ext <<_ACEOF 
    7828 /* end confdefs.h.  */ 
    7829 #include <stdlib.h> 
    7830 _ACEOF 
    7831 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7832 case "(($ac_try" in 
    7833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7834   *) ac_try_echo=$ac_try;; 
    7835 esac 
    7836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7837   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7838   ac_status=$? 
    7839   grep -v '^ *+' conftest.er1 >conftest.err 
    7840   rm -f conftest.er1 
    7841   cat conftest.err >&5 
    7842   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7843   (exit $ac_status); } >/dev/null && { 
    7844          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7845          test ! -s conftest.err 
    7846        }; then 
    7847   ac_header_preproc=yes 
    7848 else 
    7849   echo "$as_me: failed program was:" >&5 
    7850 sed 's/^/| /' conftest.$ac_ext >&5 
    7851  
    7852   ac_header_preproc=no 
    7853 fi 
    7854  
    7855 rm -f conftest.err conftest.$ac_ext 
    7856 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7857 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7858  
    7859 # So?  What about this header? 
    7860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7861   yes:no: ) 
    7862     { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7863 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7864     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    7865 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    7866     ac_header_preproc=yes 
    7867     ;; 
    7868   no:yes:* ) 
    7869     { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    7870 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    7871     { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    7872 echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    7873     { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    7874 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    7875     { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7876 echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7877     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    7878 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    7879     { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    7880 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    7881  
    7882     ;; 
    7883 esac 
    7884 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7885 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7886 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7887   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7888 else 
    7889   ac_cv_header_stdlib_h=$ac_header_preproc 
    7890 fi 
    7891 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7892 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7893  
    7894 fi 
    7895 if test $ac_cv_header_stdlib_h = yes; then 
    7896   cat >>confdefs.h <<\_ACEOF 
    7897 #define PJ_HAS_STDLIB_H 1 
    7898 _ACEOF 
    7899  
    7900 fi 
    7901  
    7902  
    7903 if test "${ac_cv_header_string_h+set}" = set; then 
    7904   { echo "$as_me:$LINENO: checking for string.h" >&5 
    7905 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7906 if test "${ac_cv_header_string_h+set}" = set; then 
    7907   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7908 fi 
    7909 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7910 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7911 else 
    7912   # Is the header compilable? 
    7913 { echo "$as_me:$LINENO: checking string.h usability" >&5 
    7914 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
    7915 cat >conftest.$ac_ext <<_ACEOF 
    7916 /* confdefs.h.  */ 
    7917 _ACEOF 
    7918 cat confdefs.h >>conftest.$ac_ext 
    7919 cat >>conftest.$ac_ext <<_ACEOF 
    7920 /* end confdefs.h.  */ 
    7921 $ac_includes_default 
    7922 #include <string.h> 
    7923 _ACEOF 
    7924 rm -f conftest.$ac_objext 
    7925 if { (ac_try="$ac_compile" 
    7926 case "(($ac_try" in 
    7927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7928   *) ac_try_echo=$ac_try;; 
    7929 esac 
    7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7931   (eval "$ac_compile") 2>conftest.er1 
    7932   ac_status=$? 
    7933   grep -v '^ *+' conftest.er1 >conftest.err 
    7934   rm -f conftest.er1 
    7935   cat conftest.err >&5 
    7936   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7937   (exit $ac_status); } && { 
    7938          test -z "$ac_c_werror_flag" || 
    7939          test ! -s conftest.err 
    7940        } && test -s conftest.$ac_objext; then 
    7941   ac_header_compiler=yes 
    7942 else 
    7943   echo "$as_me: failed program was:" >&5 
    7944 sed 's/^/| /' conftest.$ac_ext >&5 
    7945  
    7946         ac_header_compiler=no 
    7947 fi 
    7948  
    7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7950 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7951 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7952  
    7953 # Is the header present? 
    7954 { echo "$as_me:$LINENO: checking string.h presence" >&5 
    7955 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
    7956 cat >conftest.$ac_ext <<_ACEOF 
    7957 /* confdefs.h.  */ 
    7958 _ACEOF 
    7959 cat confdefs.h >>conftest.$ac_ext 
    7960 cat >>conftest.$ac_ext <<_ACEOF 
    7961 /* end confdefs.h.  */ 
    7962 #include <string.h> 
    7963 _ACEOF 
    7964 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7965 case "(($ac_try" in 
    7966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7967   *) ac_try_echo=$ac_try;; 
    7968 esac 
    7969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7970   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7971   ac_status=$? 
    7972   grep -v '^ *+' conftest.er1 >conftest.err 
    7973   rm -f conftest.er1 
    7974   cat conftest.err >&5 
    7975   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7976   (exit $ac_status); } >/dev/null && { 
    7977          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7978          test ! -s conftest.err 
    7979        }; then 
    7980   ac_header_preproc=yes 
    7981 else 
    7982   echo "$as_me: failed program was:" >&5 
    7983 sed 's/^/| /' conftest.$ac_ext >&5 
    7984  
    7985   ac_header_preproc=no 
    7986 fi 
    7987  
    7988 rm -f conftest.err conftest.$ac_ext 
    7989 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7990 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7991  
    7992 # So?  What about this header? 
    7993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7994   yes:no: ) 
    7995     { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7996 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7997     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    7998 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    7999     ac_header_preproc=yes 
    8000     ;; 
    8001   no:yes:* ) 
    8002     { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    8003 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    8004     { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    8005 echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    8006     { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    8007 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    8008     { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8009 echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8010     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    8011 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    8012     { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    8013 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    8014  
    8015     ;; 
    8016 esac 
    8017 { echo "$as_me:$LINENO: checking for string.h" >&5 
    8018 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    8019 if test "${ac_cv_header_string_h+set}" = set; then 
    8020   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8021 else 
    8022   ac_cv_header_string_h=$ac_header_preproc 
    8023 fi 
    8024 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    8025 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    8026  
    8027 fi 
    8028 if test $ac_cv_header_string_h = yes; then 
    8029   cat >>confdefs.h <<\_ACEOF 
    8030 #define PJ_HAS_STRING_H 1 
    8031 _ACEOF 
    8032  
    8033 fi 
    8034  
    8035  
    8036 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8037   { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8038 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8039 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8040   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8041 fi 
    8042 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8043 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8044 else 
    8045   # Is the header compilable? 
    8046 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    8047 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
    8048 cat >conftest.$ac_ext <<_ACEOF 
    8049 /* confdefs.h.  */ 
    8050 _ACEOF 
    8051 cat confdefs.h >>conftest.$ac_ext 
    8052 cat >>conftest.$ac_ext <<_ACEOF 
    8053 /* end confdefs.h.  */ 
    8054 $ac_includes_default 
    8055 #include <sys/ioctl.h> 
    8056 _ACEOF 
    8057 rm -f conftest.$ac_objext 
    8058 if { (ac_try="$ac_compile" 
    8059 case "(($ac_try" in 
    8060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8061   *) ac_try_echo=$ac_try;; 
    8062 esac 
    8063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8064   (eval "$ac_compile") 2>conftest.er1 
    8065   ac_status=$? 
    8066   grep -v '^ *+' conftest.er1 >conftest.err 
    8067   rm -f conftest.er1 
    8068   cat conftest.err >&5 
    8069   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8070   (exit $ac_status); } && { 
    8071          test -z "$ac_c_werror_flag" || 
    8072          test ! -s conftest.err 
    8073        } && test -s conftest.$ac_objext; then 
    8074   ac_header_compiler=yes 
    8075 else 
    8076   echo "$as_me: failed program was:" >&5 
    8077 sed 's/^/| /' conftest.$ac_ext >&5 
    8078  
    8079         ac_header_compiler=no 
    8080 fi 
    8081  
    8082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8083 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8084 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8085  
    8086 # Is the header present? 
    8087 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    8088 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
    8089 cat >conftest.$ac_ext <<_ACEOF 
    8090 /* confdefs.h.  */ 
    8091 _ACEOF 
    8092 cat confdefs.h >>conftest.$ac_ext 
    8093 cat >>conftest.$ac_ext <<_ACEOF 
    8094 /* end confdefs.h.  */ 
    8095 #include <sys/ioctl.h> 
    8096 _ACEOF 
    8097 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8098 case "(($ac_try" in 
    8099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8100   *) ac_try_echo=$ac_try;; 
    8101 esac 
    8102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8103   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8104   ac_status=$? 
    8105   grep -v '^ *+' conftest.er1 >conftest.err 
    8106   rm -f conftest.er1 
    8107   cat conftest.err >&5 
    8108   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8109   (exit $ac_status); } >/dev/null && { 
    8110          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8111          test ! -s conftest.err 
    8112        }; then 
    8113   ac_header_preproc=yes 
    8114 else 
    8115   echo "$as_me: failed program was:" >&5 
    8116 sed 's/^/| /' conftest.$ac_ext >&5 
    8117  
    8118   ac_header_preproc=no 
    8119 fi 
    8120  
    8121 rm -f conftest.err conftest.$ac_ext 
    8122 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8123 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8124  
    8125 # So?  What about this header? 
    8126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8127   yes:no: ) 
    8128     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8129 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8130     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    8131 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    8132     ac_header_preproc=yes 
    8133     ;; 
    8134   no:yes:* ) 
    8135     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    8136 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    8137     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    8138 echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    8139     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    8140 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    8141     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8142 echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8143     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    8144 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    8145     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    8146 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    8147  
    8148     ;; 
    8149 esac 
    8150 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8151 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8152 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8153   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8154 else 
    8155   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    8156 fi 
    8157 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8158 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8159  
    8160 fi 
    8161 if test $ac_cv_header_sys_ioctl_h = yes; then 
    8162   cat >>confdefs.h <<\_ACEOF 
    8163 #define PJ_HAS_SYS_IOCTL_H 1 
    8164 _ACEOF 
    8165  
    8166 fi 
    8167  
    8168  
    8169 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8170   { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8171 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8172 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8173   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8174 fi 
    8175 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8176 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8177 else 
    8178   # Is the header compilable? 
    8179 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    8180 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
    8181 cat >conftest.$ac_ext <<_ACEOF 
    8182 /* confdefs.h.  */ 
    8183 _ACEOF 
    8184 cat confdefs.h >>conftest.$ac_ext 
    8185 cat >>conftest.$ac_ext <<_ACEOF 
    8186 /* end confdefs.h.  */ 
    8187 $ac_includes_default 
    8188 #include <sys/select.h> 
    8189 _ACEOF 
    8190 rm -f conftest.$ac_objext 
    8191 if { (ac_try="$ac_compile" 
    8192 case "(($ac_try" in 
    8193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8194   *) ac_try_echo=$ac_try;; 
    8195 esac 
    8196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8197   (eval "$ac_compile") 2>conftest.er1 
    8198   ac_status=$? 
    8199   grep -v '^ *+' conftest.er1 >conftest.err 
    8200   rm -f conftest.er1 
    8201   cat conftest.err >&5 
    8202   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8203   (exit $ac_status); } && { 
    8204          test -z "$ac_c_werror_flag" || 
    8205          test ! -s conftest.err 
    8206        } && test -s conftest.$ac_objext; then 
    8207   ac_header_compiler=yes 
    8208 else 
    8209   echo "$as_me: failed program was:" >&5 
    8210 sed 's/^/| /' conftest.$ac_ext >&5 
    8211  
    8212         ac_header_compiler=no 
    8213 fi 
    8214  
    8215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8216 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8217 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8218  
    8219 # Is the header present? 
    8220 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    8221 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
    8222 cat >conftest.$ac_ext <<_ACEOF 
    8223 /* confdefs.h.  */ 
    8224 _ACEOF 
    8225 cat confdefs.h >>conftest.$ac_ext 
    8226 cat >>conftest.$ac_ext <<_ACEOF 
    8227 /* end confdefs.h.  */ 
    8228 #include <sys/select.h> 
    8229 _ACEOF 
    8230 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8231 case "(($ac_try" in 
    8232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8233   *) ac_try_echo=$ac_try;; 
    8234 esac 
    8235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8236   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8237   ac_status=$? 
    8238   grep -v '^ *+' conftest.er1 >conftest.err 
    8239   rm -f conftest.er1 
    8240   cat conftest.err >&5 
    8241   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8242   (exit $ac_status); } >/dev/null && { 
    8243          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8244          test ! -s conftest.err 
    8245        }; then 
    8246   ac_header_preproc=yes 
    8247 else 
    8248   echo "$as_me: failed program was:" >&5 
    8249 sed 's/^/| /' conftest.$ac_ext >&5 
    8250  
    8251   ac_header_preproc=no 
    8252 fi 
    8253  
    8254 rm -f conftest.err conftest.$ac_ext 
    8255 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8256 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8257  
    8258 # So?  What about this header? 
    8259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8260   yes:no: ) 
    8261     { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8262 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8263     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    8264 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    8265     ac_header_preproc=yes 
    8266     ;; 
    8267   no:yes:* ) 
    8268     { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    8269 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    8270     { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    8271 echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    8272     { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    8273 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    8274     { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8275 echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8276     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    8277 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    8278     { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    8279 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    8280  
    8281     ;; 
    8282 esac 
    8283 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8284 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8285 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8286   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8287 else 
    8288   ac_cv_header_sys_select_h=$ac_header_preproc 
    8289 fi 
    8290 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8291 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8292  
    8293 fi 
    8294 if test $ac_cv_header_sys_select_h = yes; then 
    8295   cat >>confdefs.h <<\_ACEOF 
    8296 #define PJ_HAS_SYS_SELECT_H 1 
    8297 _ACEOF 
    8298  
    8299 fi 
    8300  
    8301  
    8302 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8303   { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8304 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8305 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8306   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8307 fi 
    8308 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8309 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8310 else 
    8311   # Is the header compilable? 
    8312 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    8313 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
    8314 cat >conftest.$ac_ext <<_ACEOF 
    8315 /* confdefs.h.  */ 
    8316 _ACEOF 
    8317 cat confdefs.h >>conftest.$ac_ext 
    8318 cat >>conftest.$ac_ext <<_ACEOF 
    8319 /* end confdefs.h.  */ 
    8320 $ac_includes_default 
    8321 #include <sys/socket.h> 
    8322 _ACEOF 
    8323 rm -f conftest.$ac_objext 
    8324 if { (ac_try="$ac_compile" 
    8325 case "(($ac_try" in 
    8326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8327   *) ac_try_echo=$ac_try;; 
    8328 esac 
    8329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8330   (eval "$ac_compile") 2>conftest.er1 
    8331   ac_status=$? 
    8332   grep -v '^ *+' conftest.er1 >conftest.err 
    8333   rm -f conftest.er1 
    8334   cat conftest.err >&5 
    8335   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8336   (exit $ac_status); } && { 
    8337          test -z "$ac_c_werror_flag" || 
    8338          test ! -s conftest.err 
    8339        } && test -s conftest.$ac_objext; then 
    8340   ac_header_compiler=yes 
    8341 else 
    8342   echo "$as_me: failed program was:" >&5 
    8343 sed 's/^/| /' conftest.$ac_ext >&5 
    8344  
    8345         ac_header_compiler=no 
    8346 fi 
    8347  
    8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8349 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8350 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8351  
    8352 # Is the header present? 
    8353 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    8354 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
    8355 cat >conftest.$ac_ext <<_ACEOF 
    8356 /* confdefs.h.  */ 
    8357 _ACEOF 
    8358 cat confdefs.h >>conftest.$ac_ext 
    8359 cat >>conftest.$ac_ext <<_ACEOF 
    8360 /* end confdefs.h.  */ 
    8361 #include <sys/socket.h> 
    8362 _ACEOF 
    8363 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8364 case "(($ac_try" in 
    8365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8366   *) ac_try_echo=$ac_try;; 
    8367 esac 
    8368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8369   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8370   ac_status=$? 
    8371   grep -v '^ *+' conftest.er1 >conftest.err 
    8372   rm -f conftest.er1 
    8373   cat conftest.err >&5 
    8374   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8375   (exit $ac_status); } >/dev/null && { 
    8376          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8377          test ! -s conftest.err 
    8378        }; then 
    8379   ac_header_preproc=yes 
    8380 else 
    8381   echo "$as_me: failed program was:" >&5 
    8382 sed 's/^/| /' conftest.$ac_ext >&5 
    8383  
    8384   ac_header_preproc=no 
    8385 fi 
    8386  
    8387 rm -f conftest.err conftest.$ac_ext 
    8388 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8389 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8390  
    8391 # So?  What about this header? 
    8392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8393   yes:no: ) 
    8394     { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8395 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8396     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    8397 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    8398     ac_header_preproc=yes 
    8399     ;; 
    8400   no:yes:* ) 
    8401     { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    8402 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    8403     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    8404 echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    8405     { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    8406 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    8407     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8408 echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8409     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    8410 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    8411     { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    8412 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    8413  
    8414     ;; 
    8415 esac 
    8416 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8417 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8418 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8419   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8420 else 
    8421   ac_cv_header_sys_socket_h=$ac_header_preproc 
    8422 fi 
    8423 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8424 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8425  
    8426 fi 
    8427 if test $ac_cv_header_sys_socket_h = yes; then 
    8428   cat >>confdefs.h <<\_ACEOF 
    8429 #define PJ_HAS_SYS_SOCKET_H 1 
    8430 _ACEOF 
    8431  
    8432 fi 
    8433  
    8434  
    8435 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8436   { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8437 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8438 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8439   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8440 fi 
    8441 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8442 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8443 else 
    8444   # Is the header compilable? 
    8445 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    8446 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
    8447 cat >conftest.$ac_ext <<_ACEOF 
    8448 /* confdefs.h.  */ 
    8449 _ACEOF 
    8450 cat confdefs.h >>conftest.$ac_ext 
    8451 cat >>conftest.$ac_ext <<_ACEOF 
    8452 /* end confdefs.h.  */ 
    8453 $ac_includes_default 
    8454 #include <sys/time.h> 
    8455 _ACEOF 
    8456 rm -f conftest.$ac_objext 
    8457 if { (ac_try="$ac_compile" 
    8458 case "(($ac_try" in 
    8459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8460   *) ac_try_echo=$ac_try;; 
    8461 esac 
    8462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8463   (eval "$ac_compile") 2>conftest.er1 
    8464   ac_status=$? 
    8465   grep -v '^ *+' conftest.er1 >conftest.err 
    8466   rm -f conftest.er1 
    8467   cat conftest.err >&5 
    8468   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8469   (exit $ac_status); } && { 
    8470          test -z "$ac_c_werror_flag" || 
    8471          test ! -s conftest.err 
    8472        } && test -s conftest.$ac_objext; then 
    8473   ac_header_compiler=yes 
    8474 else 
    8475   echo "$as_me: failed program was:" >&5 
    8476 sed 's/^/| /' conftest.$ac_ext >&5 
    8477  
    8478         ac_header_compiler=no 
    8479 fi 
    8480  
    8481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8483 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8484  
    8485 # Is the header present? 
    8486 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    8487 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
    8488 cat >conftest.$ac_ext <<_ACEOF 
    8489 /* confdefs.h.  */ 
    8490 _ACEOF 
    8491 cat confdefs.h >>conftest.$ac_ext 
    8492 cat >>conftest.$ac_ext <<_ACEOF 
    8493 /* end confdefs.h.  */ 
    8494 #include <sys/time.h> 
    8495 _ACEOF 
    8496 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8497 case "(($ac_try" in 
    8498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8499   *) ac_try_echo=$ac_try;; 
    8500 esac 
    8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8502   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8503   ac_status=$? 
    8504   grep -v '^ *+' conftest.er1 >conftest.err 
    8505   rm -f conftest.er1 
    8506   cat conftest.err >&5 
    8507   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8508   (exit $ac_status); } >/dev/null && { 
    8509          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8510          test ! -s conftest.err 
    8511        }; then 
    8512   ac_header_preproc=yes 
    8513 else 
    8514   echo "$as_me: failed program was:" >&5 
    8515 sed 's/^/| /' conftest.$ac_ext >&5 
    8516  
    8517   ac_header_preproc=no 
    8518 fi 
    8519  
    8520 rm -f conftest.err conftest.$ac_ext 
    8521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8522 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8523  
    8524 # So?  What about this header? 
    8525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8526   yes:no: ) 
    8527     { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8528 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8529     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    8530 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    8531     ac_header_preproc=yes 
    8532     ;; 
    8533   no:yes:* ) 
    8534     { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    8535 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    8536     { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    8537 echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    8538     { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    8539 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    8540     { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8541 echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8542     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    8543 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    8544     { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    8545 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    8546  
    8547     ;; 
    8548 esac 
    8549 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8550 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8551 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8552   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8553 else 
    8554   ac_cv_header_sys_time_h=$ac_header_preproc 
    8555 fi 
    8556 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8557 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8558  
    8559 fi 
    8560 if test $ac_cv_header_sys_time_h = yes; then 
    8561   cat >>confdefs.h <<\_ACEOF 
    8562 #define PJ_HAS_SYS_TIME_H 1 
    8563 _ACEOF 
    8564  
    8565 fi 
    8566  
    8567  
    8568 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8569   { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8570 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8571 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8572   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8573 fi 
    8574 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8575 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8576 else 
    8577   # Is the header compilable? 
    8578 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    8579 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
    8580 cat >conftest.$ac_ext <<_ACEOF 
    8581 /* confdefs.h.  */ 
    8582 _ACEOF 
    8583 cat confdefs.h >>conftest.$ac_ext 
    8584 cat >>conftest.$ac_ext <<_ACEOF 
    8585 /* end confdefs.h.  */ 
    8586 $ac_includes_default 
    8587 #include <sys/timeb.h> 
    8588 _ACEOF 
    8589 rm -f conftest.$ac_objext 
    8590 if { (ac_try="$ac_compile" 
    8591 case "(($ac_try" in 
    8592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8593   *) ac_try_echo=$ac_try;; 
    8594 esac 
    8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8596   (eval "$ac_compile") 2>conftest.er1 
    8597   ac_status=$? 
    8598   grep -v '^ *+' conftest.er1 >conftest.err 
    8599   rm -f conftest.er1 
    8600   cat conftest.err >&5 
    8601   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8602   (exit $ac_status); } && { 
    8603          test -z "$ac_c_werror_flag" || 
    8604          test ! -s conftest.err 
    8605        } && test -s conftest.$ac_objext; then 
    8606   ac_header_compiler=yes 
    8607 else 
    8608   echo "$as_me: failed program was:" >&5 
    8609 sed 's/^/| /' conftest.$ac_ext >&5 
    8610  
    8611         ac_header_compiler=no 
    8612 fi 
    8613  
    8614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8616 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8617  
    8618 # Is the header present? 
    8619 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    8620 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
    8621 cat >conftest.$ac_ext <<_ACEOF 
    8622 /* confdefs.h.  */ 
    8623 _ACEOF 
    8624 cat confdefs.h >>conftest.$ac_ext 
    8625 cat >>conftest.$ac_ext <<_ACEOF 
    8626 /* end confdefs.h.  */ 
    8627 #include <sys/timeb.h> 
    8628 _ACEOF 
    8629 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8630 case "(($ac_try" in 
    8631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8632   *) ac_try_echo=$ac_try;; 
    8633 esac 
    8634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8635   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8636   ac_status=$? 
    8637   grep -v '^ *+' conftest.er1 >conftest.err 
    8638   rm -f conftest.er1 
    8639   cat conftest.err >&5 
    8640   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8641   (exit $ac_status); } >/dev/null && { 
    8642          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8643          test ! -s conftest.err 
    8644        }; then 
    8645   ac_header_preproc=yes 
    8646 else 
    8647   echo "$as_me: failed program was:" >&5 
    8648 sed 's/^/| /' conftest.$ac_ext >&5 
    8649  
    8650   ac_header_preproc=no 
    8651 fi 
    8652  
    8653 rm -f conftest.err conftest.$ac_ext 
    8654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8655 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8656  
    8657 # So?  What about this header? 
    8658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8659   yes:no: ) 
    8660     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8661 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8662     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    8663 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    8664     ac_header_preproc=yes 
    8665     ;; 
    8666   no:yes:* ) 
    8667     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    8668 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    8669     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    8670 echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    8671     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    8672 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    8673     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8674 echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8675     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    8676 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    8677     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    8678 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    8679  
    8680     ;; 
    8681 esac 
    8682 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8683 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8684 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8685   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8686 else 
    8687   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    8688 fi 
    8689 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8690 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8691  
    8692 fi 
    8693 if test $ac_cv_header_sys_timeb_h = yes; then 
    8694   cat >>confdefs.h <<\_ACEOF 
    8695 #define PJ_HAS_SYS_TIMEB_H 1 
    8696 _ACEOF 
    8697  
    8698 fi 
    8699  
    8700  
    8701 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8702   { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8703 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8704 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8705   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8706 fi 
    8707 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8708 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8709 else 
    8710   # Is the header compilable? 
    8711 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    8712 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
    8713 cat >conftest.$ac_ext <<_ACEOF 
    8714 /* confdefs.h.  */ 
    8715 _ACEOF 
    8716 cat confdefs.h >>conftest.$ac_ext 
    8717 cat >>conftest.$ac_ext <<_ACEOF 
    8718 /* end confdefs.h.  */ 
    8719 $ac_includes_default 
    8720 #include <sys/types.h> 
    8721 _ACEOF 
    8722 rm -f conftest.$ac_objext 
    8723 if { (ac_try="$ac_compile" 
    8724 case "(($ac_try" in 
    8725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8726   *) ac_try_echo=$ac_try;; 
    8727 esac 
    8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8729   (eval "$ac_compile") 2>conftest.er1 
    8730   ac_status=$? 
    8731   grep -v '^ *+' conftest.er1 >conftest.err 
    8732   rm -f conftest.er1 
    8733   cat conftest.err >&5 
    8734   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8735   (exit $ac_status); } && { 
    8736          test -z "$ac_c_werror_flag" || 
    8737          test ! -s conftest.err 
    8738        } && test -s conftest.$ac_objext; then 
    8739   ac_header_compiler=yes 
    8740 else 
    8741   echo "$as_me: failed program was:" >&5 
    8742 sed 's/^/| /' conftest.$ac_ext >&5 
    8743  
    8744         ac_header_compiler=no 
    8745 fi 
    8746  
    8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8748 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8749 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8750  
    8751 # Is the header present? 
    8752 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    8753 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
    8754 cat >conftest.$ac_ext <<_ACEOF 
    8755 /* confdefs.h.  */ 
    8756 _ACEOF 
    8757 cat confdefs.h >>conftest.$ac_ext 
    8758 cat >>conftest.$ac_ext <<_ACEOF 
    8759 /* end confdefs.h.  */ 
    8760 #include <sys/types.h> 
    8761 _ACEOF 
    8762 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8763 case "(($ac_try" in 
    8764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8765   *) ac_try_echo=$ac_try;; 
    8766 esac 
    8767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8768   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8769   ac_status=$? 
    8770   grep -v '^ *+' conftest.er1 >conftest.err 
    8771   rm -f conftest.er1 
    8772   cat conftest.err >&5 
    8773   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8774   (exit $ac_status); } >/dev/null && { 
    8775          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8776          test ! -s conftest.err 
    8777        }; then 
    8778   ac_header_preproc=yes 
    8779 else 
    8780   echo "$as_me: failed program was:" >&5 
    8781 sed 's/^/| /' conftest.$ac_ext >&5 
    8782  
    8783   ac_header_preproc=no 
    8784 fi 
    8785  
    8786 rm -f conftest.err conftest.$ac_ext 
    8787 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8788 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8789  
    8790 # So?  What about this header? 
    8791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8792   yes:no: ) 
    8793     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8794 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8795     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    8796 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    8797     ac_header_preproc=yes 
    8798     ;; 
    8799   no:yes:* ) 
    8800     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    8801 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    8802     { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    8803 echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    8804     { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    8805 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    8806     { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8807 echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8808     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    8809 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    8810     { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    8811 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    8812  
    8813     ;; 
    8814 esac 
    8815 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8816 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8817 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8818   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8819 else 
    8820   ac_cv_header_sys_types_h=$ac_header_preproc 
    8821 fi 
    8822 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8823 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8824  
    8825 fi 
    8826 if test $ac_cv_header_sys_types_h = yes; then 
    8827   cat >>confdefs.h <<\_ACEOF 
    8828 #define PJ_HAS_SYS_TYPES_H 1 
    8829 _ACEOF 
    8830  
    8831 fi 
    8832  
    8833  
    8834 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8835   { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8836 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8837 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8838   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8839 fi 
    8840 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8841 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8842 else 
    8843   # Is the header compilable? 
    8844 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
    8845 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
    8846 cat >conftest.$ac_ext <<_ACEOF 
    8847 /* confdefs.h.  */ 
    8848 _ACEOF 
    8849 cat confdefs.h >>conftest.$ac_ext 
    8850 cat >>conftest.$ac_ext <<_ACEOF 
    8851 /* end confdefs.h.  */ 
    8852 $ac_includes_default 
    8853 #include <sys/filio.h> 
    8854 _ACEOF 
    8855 rm -f conftest.$ac_objext 
    8856 if { (ac_try="$ac_compile" 
    8857 case "(($ac_try" in 
    8858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8859   *) ac_try_echo=$ac_try;; 
    8860 esac 
    8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8862   (eval "$ac_compile") 2>conftest.er1 
    8863   ac_status=$? 
    8864   grep -v '^ *+' conftest.er1 >conftest.err 
    8865   rm -f conftest.er1 
    8866   cat conftest.err >&5 
    8867   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8868   (exit $ac_status); } && { 
    8869          test -z "$ac_c_werror_flag" || 
    8870          test ! -s conftest.err 
    8871        } && test -s conftest.$ac_objext; then 
    8872   ac_header_compiler=yes 
    8873 else 
    8874   echo "$as_me: failed program was:" >&5 
    8875 sed 's/^/| /' conftest.$ac_ext >&5 
    8876  
    8877         ac_header_compiler=no 
    8878 fi 
    8879  
    8880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8881 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8882 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8883  
    8884 # Is the header present? 
    8885 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
    8886 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
    8887 cat >conftest.$ac_ext <<_ACEOF 
    8888 /* confdefs.h.  */ 
    8889 _ACEOF 
    8890 cat confdefs.h >>conftest.$ac_ext 
    8891 cat >>conftest.$ac_ext <<_ACEOF 
    8892 /* end confdefs.h.  */ 
    8893 #include <sys/filio.h> 
    8894 _ACEOF 
    8895 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8896 case "(($ac_try" in 
    8897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8898   *) ac_try_echo=$ac_try;; 
    8899 esac 
    8900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8901   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8902   ac_status=$? 
    8903   grep -v '^ *+' conftest.er1 >conftest.err 
    8904   rm -f conftest.er1 
    8905   cat conftest.err >&5 
    8906   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8907   (exit $ac_status); } >/dev/null && { 
    8908          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8909          test ! -s conftest.err 
    8910        }; then 
    8911   ac_header_preproc=yes 
    8912 else 
    8913   echo "$as_me: failed program was:" >&5 
    8914 sed 's/^/| /' conftest.$ac_ext >&5 
    8915  
    8916   ac_header_preproc=no 
    8917 fi 
    8918  
    8919 rm -f conftest.err conftest.$ac_ext 
    8920 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8921 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8922  
    8923 # So?  What about this header? 
    8924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8925   yes:no: ) 
    8926     { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8927 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8928     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
    8929 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
    8930     ac_header_preproc=yes 
    8931     ;; 
    8932   no:yes:* ) 
    8933     { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
    8934 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
    8935     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
    8936 echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
    8937     { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
    8938 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
    8939     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8940 echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8941     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
    8942 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
    8943     { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
    8944 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
    8945  
    8946     ;; 
    8947 esac 
    8948 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8949 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8950 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8951   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8952 else 
    8953   ac_cv_header_sys_filio_h=$ac_header_preproc 
    8954 fi 
    8955 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8956 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8957  
    8958 fi 
    8959 if test $ac_cv_header_sys_filio_h = yes; then 
    8960   cat >>confdefs.h <<\_ACEOF 
    8961 #define PJ_HAS_SYS_FILIO_H 1 
    8962 _ACEOF 
    8963  
    8964 fi 
    8965  
    8966  
    8967 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8968   { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    8969 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    8970 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8971   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8972 fi 
    8973 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    8974 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    8975 else 
    8976   # Is the header compilable? 
    8977 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
    8978 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
    8979 cat >conftest.$ac_ext <<_ACEOF 
    8980 /* confdefs.h.  */ 
    8981 _ACEOF 
    8982 cat confdefs.h >>conftest.$ac_ext 
    8983 cat >>conftest.$ac_ext <<_ACEOF 
    8984 /* end confdefs.h.  */ 
    8985 $ac_includes_default 
    8986 #include <sys/sockio.h> 
    8987 _ACEOF 
    8988 rm -f conftest.$ac_objext 
    8989 if { (ac_try="$ac_compile" 
    8990 case "(($ac_try" in 
    8991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8992   *) ac_try_echo=$ac_try;; 
    8993 esac 
    8994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8995   (eval "$ac_compile") 2>conftest.er1 
    8996   ac_status=$? 
    8997   grep -v '^ *+' conftest.er1 >conftest.err 
    8998   rm -f conftest.er1 
    8999   cat conftest.err >&5 
    9000   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9001   (exit $ac_status); } && { 
    9002          test -z "$ac_c_werror_flag" || 
    9003          test ! -s conftest.err 
    9004        } && test -s conftest.$ac_objext; then 
    9005   ac_header_compiler=yes 
    9006 else 
    9007   echo "$as_me: failed program was:" >&5 
    9008 sed 's/^/| /' conftest.$ac_ext >&5 
    9009  
    9010         ac_header_compiler=no 
    9011 fi 
    9012  
    9013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9014 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9015 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9016  
    9017 # Is the header present? 
    9018 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
    9019 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
    9020 cat >conftest.$ac_ext <<_ACEOF 
    9021 /* confdefs.h.  */ 
    9022 _ACEOF 
    9023 cat confdefs.h >>conftest.$ac_ext 
    9024 cat >>conftest.$ac_ext <<_ACEOF 
    9025 /* end confdefs.h.  */ 
    9026 #include <sys/sockio.h> 
    9027 _ACEOF 
    9028 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9029 case "(($ac_try" in 
    9030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9031   *) ac_try_echo=$ac_try;; 
    9032 esac 
    9033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9034   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9035   ac_status=$? 
    9036   grep -v '^ *+' conftest.er1 >conftest.err 
    9037   rm -f conftest.er1 
    9038   cat conftest.err >&5 
    9039   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9040   (exit $ac_status); } >/dev/null && { 
    9041          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9042          test ! -s conftest.err 
    9043        }; then 
    9044   ac_header_preproc=yes 
    9045 else 
    9046   echo "$as_me: failed program was:" >&5 
    9047 sed 's/^/| /' conftest.$ac_ext >&5 
    9048  
    9049   ac_header_preproc=no 
    9050 fi 
    9051  
    9052 rm -f conftest.err conftest.$ac_ext 
    9053 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9054 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9055  
    9056 # So?  What about this header? 
    9057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9058   yes:no: ) 
    9059     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9060 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9061     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
    9062 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
    9063     ac_header_preproc=yes 
    9064     ;; 
    9065   no:yes:* ) 
    9066     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
    9067 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
    9068     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
    9069 echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
    9070     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
    9071 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
    9072     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9073 echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9074     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
    9075 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
    9076     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
    9077 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
    9078  
    9079     ;; 
    9080 esac 
    9081 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    9082 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    9083 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    9084   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9085 else 
    9086   ac_cv_header_sys_sockio_h=$ac_header_preproc 
    9087 fi 
    9088 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    9089 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    9090  
    9091 fi 
    9092 if test $ac_cv_header_sys_sockio_h = yes; then 
    9093   cat >>confdefs.h <<\_ACEOF 
    9094 #define PJ_HAS_SYS_SOCKIO_H 1 
    9095 _ACEOF 
    9096  
    9097 fi 
    9098  
    9099  
    9100 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9101   { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9102 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9103 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9104   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9105 fi 
    9106 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9107 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9108 else 
    9109   # Is the header compilable? 
    9110 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 
    9111 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 
    9112 cat >conftest.$ac_ext <<_ACEOF 
    9113 /* confdefs.h.  */ 
    9114 _ACEOF 
    9115 cat confdefs.h >>conftest.$ac_ext 
    9116 cat >>conftest.$ac_ext <<_ACEOF 
    9117 /* end confdefs.h.  */ 
    9118 $ac_includes_default 
    9119 #include <sys/utsname.h> 
    9120 _ACEOF 
    9121 rm -f conftest.$ac_objext 
    9122 if { (ac_try="$ac_compile" 
    9123 case "(($ac_try" in 
    9124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9125   *) ac_try_echo=$ac_try;; 
    9126 esac 
    9127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9128   (eval "$ac_compile") 2>conftest.er1 
    9129   ac_status=$? 
    9130   grep -v '^ *+' conftest.er1 >conftest.err 
    9131   rm -f conftest.er1 
    9132   cat conftest.err >&5 
    9133   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9134   (exit $ac_status); } && { 
    9135          test -z "$ac_c_werror_flag" || 
    9136          test ! -s conftest.err 
    9137        } && test -s conftest.$ac_objext; then 
    9138   ac_header_compiler=yes 
    9139 else 
    9140   echo "$as_me: failed program was:" >&5 
    9141 sed 's/^/| /' conftest.$ac_ext >&5 
    9142  
    9143         ac_header_compiler=no 
    9144 fi 
    9145  
    9146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9147 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9148 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9149  
    9150 # Is the header present? 
    9151 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 
    9152 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 
    9153 cat >conftest.$ac_ext <<_ACEOF 
    9154 /* confdefs.h.  */ 
    9155 _ACEOF 
    9156 cat confdefs.h >>conftest.$ac_ext 
    9157 cat >>conftest.$ac_ext <<_ACEOF 
    9158 /* end confdefs.h.  */ 
    9159 #include <sys/utsname.h> 
    9160 _ACEOF 
    9161 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9162 case "(($ac_try" in 
    9163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9164   *) ac_try_echo=$ac_try;; 
    9165 esac 
    9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9167   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9168   ac_status=$? 
    9169   grep -v '^ *+' conftest.er1 >conftest.err 
    9170   rm -f conftest.er1 
    9171   cat conftest.err >&5 
    9172   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9173   (exit $ac_status); } >/dev/null && { 
    9174          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9175          test ! -s conftest.err 
    9176        }; then 
    9177   ac_header_preproc=yes 
    9178 else 
    9179   echo "$as_me: failed program was:" >&5 
    9180 sed 's/^/| /' conftest.$ac_ext >&5 
    9181  
    9182   ac_header_preproc=no 
    9183 fi 
    9184  
    9185 rm -f conftest.err conftest.$ac_ext 
    9186 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9187 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9188  
    9189 # So?  What about this header? 
    9190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9191   yes:no: ) 
    9192     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9193 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9194     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 
    9195 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 
    9196     ac_header_preproc=yes 
    9197     ;; 
    9198   no:yes:* ) 
    9199     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 
    9200 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 
    9201     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&5 
    9202 echo "$as_me: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&2;} 
    9203     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 
    9204 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 
    9205     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9206 echo "$as_me: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9207     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 
    9208 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 
    9209     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 
    9210 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 
    9211  
    9212     ;; 
    9213 esac 
    9214 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9215 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9216 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9217   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9218 else 
    9219   ac_cv_header_sys_utsname_h=$ac_header_preproc 
    9220 fi 
    9221 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9222 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9223  
    9224 fi 
    9225 if test $ac_cv_header_sys_utsname_h = yes; then 
    9226   cat >>confdefs.h <<\_ACEOF 
    9227 #define PJ_HAS_SYS_UTSNAME_H 1 
    9228 _ACEOF 
    9229  
    9230 fi 
    9231  
    9232  
    9233 if test "${ac_cv_header_time_h+set}" = set; then 
    9234   { echo "$as_me:$LINENO: checking for time.h" >&5 
    9235 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9236 if test "${ac_cv_header_time_h+set}" = set; then 
    9237   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9238 fi 
    9239 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9240 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9241 else 
    9242   # Is the header compilable? 
    9243 { echo "$as_me:$LINENO: checking time.h usability" >&5 
    9244 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
    9245 cat >conftest.$ac_ext <<_ACEOF 
    9246 /* confdefs.h.  */ 
    9247 _ACEOF 
    9248 cat confdefs.h >>conftest.$ac_ext 
    9249 cat >>conftest.$ac_ext <<_ACEOF 
    9250 /* end confdefs.h.  */ 
    9251 $ac_includes_default 
    9252 #include <time.h> 
    9253 _ACEOF 
    9254 rm -f conftest.$ac_objext 
    9255 if { (ac_try="$ac_compile" 
    9256 case "(($ac_try" in 
    9257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9258   *) ac_try_echo=$ac_try;; 
    9259 esac 
    9260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9261   (eval "$ac_compile") 2>conftest.er1 
    9262   ac_status=$? 
    9263   grep -v '^ *+' conftest.er1 >conftest.err 
    9264   rm -f conftest.er1 
    9265   cat conftest.err >&5 
    9266   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9267   (exit $ac_status); } && { 
    9268          test -z "$ac_c_werror_flag" || 
    9269          test ! -s conftest.err 
    9270        } && test -s conftest.$ac_objext; then 
    9271   ac_header_compiler=yes 
    9272 else 
    9273   echo "$as_me: failed program was:" >&5 
    9274 sed 's/^/| /' conftest.$ac_ext >&5 
    9275  
    9276         ac_header_compiler=no 
    9277 fi 
    9278  
    9279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9280 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9281 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9282  
    9283 # Is the header present? 
    9284 { echo "$as_me:$LINENO: checking time.h presence" >&5 
    9285 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
    9286 cat >conftest.$ac_ext <<_ACEOF 
    9287 /* confdefs.h.  */ 
    9288 _ACEOF 
    9289 cat confdefs.h >>conftest.$ac_ext 
    9290 cat >>conftest.$ac_ext <<_ACEOF 
    9291 /* end confdefs.h.  */ 
    9292 #include <time.h> 
    9293 _ACEOF 
    9294 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9295 case "(($ac_try" in 
    9296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9297   *) ac_try_echo=$ac_try;; 
    9298 esac 
    9299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9300   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9301   ac_status=$? 
    9302   grep -v '^ *+' conftest.er1 >conftest.err 
    9303   rm -f conftest.er1 
    9304   cat conftest.err >&5 
    9305   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9306   (exit $ac_status); } >/dev/null && { 
    9307          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9308          test ! -s conftest.err 
    9309        }; then 
    9310   ac_header_preproc=yes 
    9311 else 
    9312   echo "$as_me: failed program was:" >&5 
    9313 sed 's/^/| /' conftest.$ac_ext >&5 
    9314  
    9315   ac_header_preproc=no 
    9316 fi 
    9317  
    9318 rm -f conftest.err conftest.$ac_ext 
    9319 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9320 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9321  
    9322 # So?  What about this header? 
    9323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9324   yes:no: ) 
    9325     { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9326 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9327     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    9328 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    9329     ac_header_preproc=yes 
    9330     ;; 
    9331   no:yes:* ) 
    9332     { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    9333 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    9334     { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    9335 echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    9336     { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    9337 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    9338     { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9339 echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9340     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    9341 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    9342     { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    9343 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    9344  
    9345     ;; 
    9346 esac 
    9347 { echo "$as_me:$LINENO: checking for time.h" >&5 
    9348 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9349 if test "${ac_cv_header_time_h+set}" = set; then 
    9350   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9351 else 
    9352   ac_cv_header_time_h=$ac_header_preproc 
    9353 fi 
    9354 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9355 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9356  
    9357 fi 
    9358 if test $ac_cv_header_time_h = yes; then 
    9359   cat >>confdefs.h <<\_ACEOF 
    9360 #define PJ_HAS_TIME_H 1 
    9361 _ACEOF 
    9362  
    9363 fi 
    9364  
    9365  
    9366 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9367   { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9368 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9369 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9370   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9371 fi 
    9372 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9373 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9374 else 
    9375   # Is the header compilable? 
    9376 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    9377 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
    9378 cat >conftest.$ac_ext <<_ACEOF 
    9379 /* confdefs.h.  */ 
    9380 _ACEOF 
    9381 cat confdefs.h >>conftest.$ac_ext 
    9382 cat >>conftest.$ac_ext <<_ACEOF 
    9383 /* end confdefs.h.  */ 
    9384 $ac_includes_default 
    9385 #include <unistd.h> 
    9386 _ACEOF 
    9387 rm -f conftest.$ac_objext 
    9388 if { (ac_try="$ac_compile" 
    9389 case "(($ac_try" in 
    9390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9391   *) ac_try_echo=$ac_try;; 
    9392 esac 
    9393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9394   (eval "$ac_compile") 2>conftest.er1 
    9395   ac_status=$? 
    9396   grep -v '^ *+' conftest.er1 >conftest.err 
    9397   rm -f conftest.er1 
    9398   cat conftest.err >&5 
    9399   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9400   (exit $ac_status); } && { 
    9401          test -z "$ac_c_werror_flag" || 
    9402          test ! -s conftest.err 
    9403        } && test -s conftest.$ac_objext; then 
    9404   ac_header_compiler=yes 
    9405 else 
    9406   echo "$as_me: failed program was:" >&5 
    9407 sed 's/^/| /' conftest.$ac_ext >&5 
    9408  
    9409         ac_header_compiler=no 
    9410 fi 
    9411  
    9412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9413 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9414 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9415  
    9416 # Is the header present? 
    9417 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    9418 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
    9419 cat >conftest.$ac_ext <<_ACEOF 
    9420 /* confdefs.h.  */ 
    9421 _ACEOF 
    9422 cat confdefs.h >>conftest.$ac_ext 
    9423 cat >>conftest.$ac_ext <<_ACEOF 
    9424 /* end confdefs.h.  */ 
    9425 #include <unistd.h> 
    9426 _ACEOF 
    9427 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9428 case "(($ac_try" in 
    9429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9430   *) ac_try_echo=$ac_try;; 
    9431 esac 
    9432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9433   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9434   ac_status=$? 
    9435   grep -v '^ *+' conftest.er1 >conftest.err 
    9436   rm -f conftest.er1 
    9437   cat conftest.err >&5 
    9438   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9439   (exit $ac_status); } >/dev/null && { 
    9440          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9441          test ! -s conftest.err 
    9442        }; then 
    9443   ac_header_preproc=yes 
    9444 else 
    9445   echo "$as_me: failed program was:" >&5 
    9446 sed 's/^/| /' conftest.$ac_ext >&5 
    9447  
    9448   ac_header_preproc=no 
    9449 fi 
    9450  
    9451 rm -f conftest.err conftest.$ac_ext 
    9452 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9453 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9454  
    9455 # So?  What about this header? 
    9456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9457   yes:no: ) 
    9458     { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9459 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9460     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    9461 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    9462     ac_header_preproc=yes 
    9463     ;; 
    9464   no:yes:* ) 
    9465     { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    9466 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    9467     { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    9468 echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    9469     { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    9470 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    9471     { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9472 echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9473     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    9474 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    9475     { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    9476 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    9477  
    9478     ;; 
    9479 esac 
    9480 { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9481 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9482 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9483   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9484 else 
    9485   ac_cv_header_unistd_h=$ac_header_preproc 
    9486 fi 
    9487 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9488 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9489  
    9490 fi 
    9491 if test $ac_cv_header_unistd_h = yes; then 
    9492   cat >>confdefs.h <<\_ACEOF 
    9493 #define PJ_HAS_UNISTD_H 1 
    9494 _ACEOF 
    9495  
    9496 fi 
    9497  
    9498  
    9499 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9500   { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9501 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9502 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9503   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9504 fi 
    9505 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9506 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9507 else 
    9508   # Is the header compilable? 
    9509 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    9510 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
    9511 cat >conftest.$ac_ext <<_ACEOF 
    9512 /* confdefs.h.  */ 
    9513 _ACEOF 
    9514 cat confdefs.h >>conftest.$ac_ext 
    9515 cat >>conftest.$ac_ext <<_ACEOF 
    9516 /* end confdefs.h.  */ 
    9517 $ac_includes_default 
    9518 #include <winsock.h> 
    9519 _ACEOF 
    9520 rm -f conftest.$ac_objext 
    9521 if { (ac_try="$ac_compile" 
    9522 case "(($ac_try" in 
    9523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9524   *) ac_try_echo=$ac_try;; 
    9525 esac 
    9526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9527   (eval "$ac_compile") 2>conftest.er1 
    9528   ac_status=$? 
    9529   grep -v '^ *+' conftest.er1 >conftest.err 
    9530   rm -f conftest.er1 
    9531   cat conftest.err >&5 
    9532   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9533   (exit $ac_status); } && { 
    9534          test -z "$ac_c_werror_flag" || 
    9535          test ! -s conftest.err 
    9536        } && test -s conftest.$ac_objext; then 
    9537   ac_header_compiler=yes 
    9538 else 
    9539   echo "$as_me: failed program was:" >&5 
    9540 sed 's/^/| /' conftest.$ac_ext >&5 
    9541  
    9542         ac_header_compiler=no 
    9543 fi 
    9544  
    9545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9547 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9548  
    9549 # Is the header present? 
    9550 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    9551 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
    9552 cat >conftest.$ac_ext <<_ACEOF 
    9553 /* confdefs.h.  */ 
    9554 _ACEOF 
    9555 cat confdefs.h >>conftest.$ac_ext 
    9556 cat >>conftest.$ac_ext <<_ACEOF 
    9557 /* end confdefs.h.  */ 
    9558 #include <winsock.h> 
    9559 _ACEOF 
    9560 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9561 case "(($ac_try" in 
    9562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9563   *) ac_try_echo=$ac_try;; 
    9564 esac 
    9565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9566   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9567   ac_status=$? 
    9568   grep -v '^ *+' conftest.er1 >conftest.err 
    9569   rm -f conftest.er1 
    9570   cat conftest.err >&5 
    9571   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9572   (exit $ac_status); } >/dev/null && { 
    9573          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9574          test ! -s conftest.err 
    9575        }; then 
    9576   ac_header_preproc=yes 
    9577 else 
    9578   echo "$as_me: failed program was:" >&5 
    9579 sed 's/^/| /' conftest.$ac_ext >&5 
    9580  
    9581   ac_header_preproc=no 
    9582 fi 
    9583  
    9584 rm -f conftest.err conftest.$ac_ext 
    9585 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9586 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9587  
    9588 # So?  What about this header? 
    9589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9590   yes:no: ) 
    9591     { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9592 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9593     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    9594 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    9595     ac_header_preproc=yes 
    9596     ;; 
    9597   no:yes:* ) 
    9598     { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    9599 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    9600     { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    9601 echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    9602     { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    9603 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    9604     { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9605 echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9606     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    9607 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    9608     { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    9609 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    9610  
    9611     ;; 
    9612 esac 
    9613 { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9614 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9615 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9616   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9617 else 
    9618   ac_cv_header_winsock_h=$ac_header_preproc 
    9619 fi 
    9620 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9621 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9622  
    9623 fi 
    9624 if test $ac_cv_header_winsock_h = yes; then 
    9625   cat >>confdefs.h <<\_ACEOF 
    9626 #define PJ_HAS_WINSOCK_H 1 
    9627 _ACEOF 
    9628  
    9629 fi 
    9630  
    9631  
    9632 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9633   { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9634 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9635 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9636   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9637 fi 
    9638 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9639 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9640 else 
    9641   # Is the header compilable? 
    9642 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    9643 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
    9644 cat >conftest.$ac_ext <<_ACEOF 
    9645 /* confdefs.h.  */ 
    9646 _ACEOF 
    9647 cat confdefs.h >>conftest.$ac_ext 
    9648 cat >>conftest.$ac_ext <<_ACEOF 
    9649 /* end confdefs.h.  */ 
    9650 $ac_includes_default 
    9651 #include <winsock2.h> 
    9652 _ACEOF 
    9653 rm -f conftest.$ac_objext 
    9654 if { (ac_try="$ac_compile" 
    9655 case "(($ac_try" in 
    9656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9657   *) ac_try_echo=$ac_try;; 
    9658 esac 
    9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9660   (eval "$ac_compile") 2>conftest.er1 
    9661   ac_status=$? 
    9662   grep -v '^ *+' conftest.er1 >conftest.err 
    9663   rm -f conftest.er1 
    9664   cat conftest.err >&5 
    9665   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9666   (exit $ac_status); } && { 
    9667          test -z "$ac_c_werror_flag" || 
    9668          test ! -s conftest.err 
    9669        } && test -s conftest.$ac_objext; then 
    9670   ac_header_compiler=yes 
    9671 else 
    9672   echo "$as_me: failed program was:" >&5 
    9673 sed 's/^/| /' conftest.$ac_ext >&5 
    9674  
    9675         ac_header_compiler=no 
    9676 fi 
    9677  
    9678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9680 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9681  
    9682 # Is the header present? 
    9683 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    9684 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
    9685 cat >conftest.$ac_ext <<_ACEOF 
    9686 /* confdefs.h.  */ 
    9687 _ACEOF 
    9688 cat confdefs.h >>conftest.$ac_ext 
    9689 cat >>conftest.$ac_ext <<_ACEOF 
    9690 /* end confdefs.h.  */ 
    9691 #include <winsock2.h> 
    9692 _ACEOF 
    9693 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9694 case "(($ac_try" in 
    9695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9696   *) ac_try_echo=$ac_try;; 
    9697 esac 
    9698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9699   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9700   ac_status=$? 
    9701   grep -v '^ *+' conftest.er1 >conftest.err 
    9702   rm -f conftest.er1 
    9703   cat conftest.err >&5 
    9704   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9705   (exit $ac_status); } >/dev/null && { 
    9706          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9707          test ! -s conftest.err 
    9708        }; then 
    9709   ac_header_preproc=yes 
    9710 else 
    9711   echo "$as_me: failed program was:" >&5 
    9712 sed 's/^/| /' conftest.$ac_ext >&5 
    9713  
    9714   ac_header_preproc=no 
    9715 fi 
    9716  
    9717 rm -f conftest.err conftest.$ac_ext 
    9718 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9719 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9720  
    9721 # So?  What about this header? 
    9722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9723   yes:no: ) 
    9724     { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9725 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9726     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    9727 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    9728     ac_header_preproc=yes 
    9729     ;; 
    9730   no:yes:* ) 
    9731     { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    9732 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    9733     { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    9734 echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    9735     { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    9736 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    9737     { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9738 echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9739     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    9740 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    9741     { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    9742 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    9743  
    9744     ;; 
    9745 esac 
    9746 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9747 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9748 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9749   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9750 else 
    9751   ac_cv_header_winsock2_h=$ac_header_preproc 
    9752 fi 
    9753 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9754 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9755  
    9756 fi 
    9757 if test $ac_cv_header_winsock2_h = yes; then 
    9758   cat >>confdefs.h <<\_ACEOF 
    9759 #define PJ_HAS_WINSOCK2_H 1 
    9760 _ACEOF 
    9761  
    9762 fi 
    9763  
    9764  
    9765 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    9766 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
    9767 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    9768   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9769 else 
    9770   cat >conftest.$ac_ext <<_ACEOF 
    9771 /* confdefs.h.  */ 
    9772 _ACEOF 
    9773 cat confdefs.h >>conftest.$ac_ext 
    9774 cat >>conftest.$ac_ext <<_ACEOF 
    9775 /* end confdefs.h.  */ 
    9776 #if PJ_HAS_WINSOCK2_H 
     4805" 
     4806if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4807  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
     4808 
     4809fi 
     4810 
     4811 
     4812ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
     4813if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4814  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
     4815 
     4816fi 
     4817 
     4818 
     4819ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
     4820if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4821  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
     4822if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4823  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
     4824 
     4825fi 
     4826 
     4827fi 
     4828 
     4829 
     4830ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
     4831if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4832  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
     4833 
     4834fi 
     4835 
     4836 
     4837ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
     4838if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4839  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
     4840 
     4841fi 
     4842 
     4843 
     4844ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
     4845if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4846  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
     4847 
     4848fi 
     4849 
     4850 
     4851ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
     4852if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4853  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
     4854 
     4855fi 
     4856 
     4857 
     4858ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
     4859if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4860  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
     4861 
     4862fi 
     4863 
     4864 
     4865ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
     4866if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4867  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
     4868 
     4869fi 
     4870 
     4871 
     4872ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
     4873if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4874  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
     4875 
     4876fi 
     4877 
     4878 
     4879ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
     4880if test "x$ac_cv_header_string_h" = x""yes; then : 
     4881  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
     4882 
     4883fi 
     4884 
     4885 
     4886ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
     4887if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4888  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
     4889 
     4890fi 
     4891 
     4892 
     4893ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
     4894if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4895  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
     4896 
     4897fi 
     4898 
     4899 
     4900ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
     4901if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4902  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
     4903 
     4904fi 
     4905 
     4906 
     4907ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
     4908if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4909  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
     4910 
     4911fi 
     4912 
     4913 
     4914ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
     4915if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4916  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
     4917 
     4918fi 
     4919 
     4920 
     4921ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
     4922if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4923  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
     4924 
     4925fi 
     4926 
     4927 
     4928ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
     4929if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4930  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
     4931 
     4932fi 
     4933 
     4934 
     4935ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
     4936if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     4937  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
     4938 
     4939fi 
     4940 
     4941 
     4942ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 
     4943if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 
     4944  $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 
     4945 
     4946fi 
     4947 
     4948 
     4949ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
     4950if test "x$ac_cv_header_time_h" = x""yes; then : 
     4951  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
     4952 
     4953fi 
     4954 
     4955 
     4956ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
     4957if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     4958  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
     4959 
     4960fi 
     4961 
     4962 
     4963ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
     4964if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     4965  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
     4966 
     4967fi 
     4968 
     4969 
     4970ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
     4971if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     4972  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
     4973 
     4974fi 
     4975 
     4976 
     4977ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
    97774978                  #     include <winsock2.h> 
    97784979                  #elif PJ_HAS_WINSOCK_H 
     
    97804981                  #endif 
    97814982 
    9782  
    9783 #include <mswsock.h> 
    9784 _ACEOF 
    9785 rm -f conftest.$ac_objext 
    9786 if { (ac_try="$ac_compile" 
    9787 case "(($ac_try" in 
    9788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9789   *) ac_try_echo=$ac_try;; 
    9790 esac 
    9791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9792   (eval "$ac_compile") 2>conftest.er1 
    9793   ac_status=$? 
    9794   grep -v '^ *+' conftest.er1 >conftest.err 
    9795   rm -f conftest.er1 
    9796   cat conftest.err >&5 
    9797   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9798   (exit $ac_status); } && { 
    9799          test -z "$ac_c_werror_flag" || 
    9800          test ! -s conftest.err 
    9801        } && test -s conftest.$ac_objext; then 
    9802   ac_cv_header_mswsock_h=yes 
    9803 else 
    9804   echo "$as_me: failed program was:" >&5 
    9805 sed 's/^/| /' conftest.$ac_ext >&5 
    9806  
    9807         ac_cv_header_mswsock_h=no 
    9808 fi 
    9809  
    9810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9811 fi 
    9812 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    9813 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
    9814 if test $ac_cv_header_mswsock_h = yes; then 
    9815   cat >>confdefs.h <<\_ACEOF 
    9816 #define PJ_HAS_MSWSOCK_H 1 
    9817 _ACEOF 
    9818  
    9819 fi 
    9820  
    9821  
    9822 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9823   { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9824 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9825 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9826   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9827 fi 
    9828 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9829 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9830 else 
    9831   # Is the header compilable? 
    9832 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
    9833 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
    9834 cat >conftest.$ac_ext <<_ACEOF 
    9835 /* confdefs.h.  */ 
    9836 _ACEOF 
    9837 cat confdefs.h >>conftest.$ac_ext 
    9838 cat >>conftest.$ac_ext <<_ACEOF 
    9839 /* end confdefs.h.  */ 
    9840 $ac_includes_default 
    9841 #include <ws2tcpip.h> 
    9842 _ACEOF 
    9843 rm -f conftest.$ac_objext 
    9844 if { (ac_try="$ac_compile" 
    9845 case "(($ac_try" in 
    9846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9847   *) ac_try_echo=$ac_try;; 
    9848 esac 
    9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9850   (eval "$ac_compile") 2>conftest.er1 
    9851   ac_status=$? 
    9852   grep -v '^ *+' conftest.er1 >conftest.err 
    9853   rm -f conftest.er1 
    9854   cat conftest.err >&5 
    9855   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9856   (exit $ac_status); } && { 
    9857          test -z "$ac_c_werror_flag" || 
    9858          test ! -s conftest.err 
    9859        } && test -s conftest.$ac_objext; then 
    9860   ac_header_compiler=yes 
    9861 else 
    9862   echo "$as_me: failed program was:" >&5 
    9863 sed 's/^/| /' conftest.$ac_ext >&5 
    9864  
    9865         ac_header_compiler=no 
    9866 fi 
    9867  
    9868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9870 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9871  
    9872 # Is the header present? 
    9873 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
    9874 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
    9875 cat >conftest.$ac_ext <<_ACEOF 
    9876 /* confdefs.h.  */ 
    9877 _ACEOF 
    9878 cat confdefs.h >>conftest.$ac_ext 
    9879 cat >>conftest.$ac_ext <<_ACEOF 
    9880 /* end confdefs.h.  */ 
    9881 #include <ws2tcpip.h> 
    9882 _ACEOF 
    9883 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9884 case "(($ac_try" in 
    9885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9886   *) ac_try_echo=$ac_try;; 
    9887 esac 
    9888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9889   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9890   ac_status=$? 
    9891   grep -v '^ *+' conftest.er1 >conftest.err 
    9892   rm -f conftest.er1 
    9893   cat conftest.err >&5 
    9894   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9895   (exit $ac_status); } >/dev/null && { 
    9896          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9897          test ! -s conftest.err 
    9898        }; then 
    9899   ac_header_preproc=yes 
    9900 else 
    9901   echo "$as_me: failed program was:" >&5 
    9902 sed 's/^/| /' conftest.$ac_ext >&5 
    9903  
    9904   ac_header_preproc=no 
    9905 fi 
    9906  
    9907 rm -f conftest.err conftest.$ac_ext 
    9908 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9909 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9910  
    9911 # So?  What about this header? 
    9912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9913   yes:no: ) 
    9914     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9915 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9916     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
    9917 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
    9918     ac_header_preproc=yes 
    9919     ;; 
    9920   no:yes:* ) 
    9921     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
    9922 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
    9923     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
    9924 echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
    9925     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
    9926 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
    9927     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9928 echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9929     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
    9930 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
    9931     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
    9932 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
    9933  
    9934     ;; 
    9935 esac 
    9936 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9937 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9938 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9939   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9940 else 
    9941   ac_cv_header_ws2tcpip_h=$ac_header_preproc 
    9942 fi 
    9943 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9944 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9945  
    9946 fi 
    9947 if test $ac_cv_header_ws2tcpip_h = yes; then 
    9948   cat >>confdefs.h <<\_ACEOF 
    9949 #define PJ_HAS_WS2TCPIP_H 1 
    9950 _ACEOF 
    9951  
    9952 fi 
    9953  
    9954  
    9955 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9956   { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9957 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    9958 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9959   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9960 fi 
    9961 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9962 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    9963 else 
    9964   # Is the header compilable? 
    9965 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
    9966 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
    9967 cat >conftest.$ac_ext <<_ACEOF 
    9968 /* confdefs.h.  */ 
    9969 _ACEOF 
    9970 cat confdefs.h >>conftest.$ac_ext 
    9971 cat >>conftest.$ac_ext <<_ACEOF 
    9972 /* end confdefs.h.  */ 
    9973 $ac_includes_default 
    9974 #include <uuid/uuid.h> 
    9975 _ACEOF 
    9976 rm -f conftest.$ac_objext 
    9977 if { (ac_try="$ac_compile" 
    9978 case "(($ac_try" in 
    9979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9980   *) ac_try_echo=$ac_try;; 
    9981 esac 
    9982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9983   (eval "$ac_compile") 2>conftest.er1 
    9984   ac_status=$? 
    9985   grep -v '^ *+' conftest.er1 >conftest.err 
    9986   rm -f conftest.er1 
    9987   cat conftest.err >&5 
    9988   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9989   (exit $ac_status); } && { 
    9990          test -z "$ac_c_werror_flag" || 
    9991          test ! -s conftest.err 
    9992        } && test -s conftest.$ac_objext; then 
    9993   ac_header_compiler=yes 
    9994 else 
    9995   echo "$as_me: failed program was:" >&5 
    9996 sed 's/^/| /' conftest.$ac_ext >&5 
    9997  
    9998         ac_header_compiler=no 
    9999 fi 
    10000  
    10001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10002 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    10003 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    10004  
    10005 # Is the header present? 
    10006 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
    10007 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
    10008 cat >conftest.$ac_ext <<_ACEOF 
    10009 /* confdefs.h.  */ 
    10010 _ACEOF 
    10011 cat confdefs.h >>conftest.$ac_ext 
    10012 cat >>conftest.$ac_ext <<_ACEOF 
    10013 /* end confdefs.h.  */ 
    10014 #include <uuid/uuid.h> 
    10015 _ACEOF 
    10016 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10017 case "(($ac_try" in 
    10018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10019   *) ac_try_echo=$ac_try;; 
    10020 esac 
    10021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10022   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10023   ac_status=$? 
    10024   grep -v '^ *+' conftest.er1 >conftest.err 
    10025   rm -f conftest.er1 
    10026   cat conftest.err >&5 
    10027   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10028   (exit $ac_status); } >/dev/null && { 
    10029          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10030          test ! -s conftest.err 
    10031        }; then 
    10032   ac_header_preproc=yes 
    10033 else 
    10034   echo "$as_me: failed program was:" >&5 
    10035 sed 's/^/| /' conftest.$ac_ext >&5 
    10036  
    10037   ac_header_preproc=no 
    10038 fi 
    10039  
    10040 rm -f conftest.err conftest.$ac_ext 
    10041 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10042 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    10043  
    10044 # So?  What about this header? 
    10045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10046   yes:no: ) 
    10047     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10048 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10049     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
    10050 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
    10051     ac_header_preproc=yes 
    10052     ;; 
    10053   no:yes:* ) 
    10054     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
    10055 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
    10056     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
    10057 echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
    10058     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
    10059 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
    10060     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10061 echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10062     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
    10063 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
    10064     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
    10065 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
    10066  
    10067     ;; 
    10068 esac 
    10069 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    10070 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    10071 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    10072   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10073 else 
    10074   ac_cv_header_uuid_uuid_h=$ac_header_preproc 
    10075 fi 
    10076 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    10077 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    10078  
    10079 fi 
    10080 if test $ac_cv_header_uuid_uuid_h = yes; then 
     4983" 
     4984if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     4985  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
     4986 
     4987fi 
     4988 
     4989 
     4990ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
     4991if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     4992  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
     4993 
     4994fi 
     4995 
     4996 
     4997ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
     4998if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
    100814999  ac_has_uuid_h=1 
    100825000fi 
    100835001 
    100845002 
    10085 { echo "$as_me:$LINENO: checking for net/if.h" >&5 
    10086 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
    10087 if test "${ac_cv_header_net_if_h+set}" = set; then 
    10088   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10089 else 
    10090   cat >conftest.$ac_ext <<_ACEOF 
    10091 /* confdefs.h.  */ 
    10092 _ACEOF 
    10093 cat confdefs.h >>conftest.$ac_ext 
    10094 cat >>conftest.$ac_ext <<_ACEOF 
    10095 /* end confdefs.h.  */ 
    10096 #if PJ_HAS_SYS_TYPES_H 
     5003ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
    100975004                  #     include <sys/types.h> 
    100985005                  #endif 
     
    101025009                  #endif 
    101035010 
    10104  
    10105 #include <net/if.h> 
    10106 _ACEOF 
    10107 rm -f conftest.$ac_objext 
    10108 if { (ac_try="$ac_compile" 
    10109 case "(($ac_try" in 
    10110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10111   *) ac_try_echo=$ac_try;; 
    10112 esac 
    10113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10114   (eval "$ac_compile") 2>conftest.er1 
    10115   ac_status=$? 
    10116   grep -v '^ *+' conftest.er1 >conftest.err 
    10117   rm -f conftest.er1 
    10118   cat conftest.err >&5 
    10119   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10120   (exit $ac_status); } && { 
    10121          test -z "$ac_c_werror_flag" || 
    10122          test ! -s conftest.err 
    10123        } && test -s conftest.$ac_objext; then 
    10124   ac_cv_header_net_if_h=yes 
    10125 else 
    10126   echo "$as_me: failed program was:" >&5 
    10127 sed 's/^/| /' conftest.$ac_ext >&5 
    10128  
    10129         ac_cv_header_net_if_h=no 
    10130 fi 
    10131  
    10132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10133 fi 
    10134 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
    10135 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
    10136 if test $ac_cv_header_net_if_h = yes; then 
    10137   cat >>confdefs.h <<\_ACEOF 
    10138 #define PJ_HAS_NET_IF_H 1 
    10139 _ACEOF 
    10140  
    10141 fi 
    10142  
    10143  
    10144 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    10145 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
     5011" 
     5012if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     5013  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
     5014 
     5015fi 
     5016 
     5017 
     5018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
     5019$as_echo "Setting PJ_OS_NAME to $target" >&6; } 
    101465020cat >>confdefs.h <<_ACEOF 
    101475021#define PJ_OS_NAME "$target" 
     
    101495023 
    101505024 
    10151 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    10152 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    10153 cat >>confdefs.h <<\_ACEOF 
    10154 #define PJ_HAS_ERRNO_VAR 1 
    10155 _ACEOF 
    10156  
    10157  
    10158 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    10159 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    10160 cat >>confdefs.h <<\_ACEOF 
    10161 #define PJ_HAS_HIGH_RES_TIMER 1 
    10162 _ACEOF 
    10163  
    10164  
    10165 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    10166 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
    10167 cat >>confdefs.h <<\_ACEOF 
    10168 #define PJ_HAS_MALLOC 1 
    10169 _ACEOF 
    10170  
    10171  
    10172 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    10173 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    10174 cat >>confdefs.h <<\_ACEOF 
    10175 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    10176 _ACEOF 
    10177  
    10178  
    10179 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    10180 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    10181 cat >>confdefs.h <<\_ACEOF 
    10182 #define PJ_ATOMIC_VALUE_TYPE long 
    10183 _ACEOF 
    10184  
    10185  
    10186 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
    10187 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
    10188 cat >conftest.$ac_ext <<_ACEOF 
    10189 /* confdefs.h.  */ 
    10190 _ACEOF 
    10191 cat confdefs.h >>conftest.$ac_ext 
    10192 cat >>conftest.$ac_ext <<_ACEOF 
     5025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     5026$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     5027$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
     5028 
     5029 
     5030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     5031$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     5032$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
     5033 
     5034 
     5035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
     5036$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
     5037$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
     5038 
     5039 
     5040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     5041$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     5042$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
     5043 
     5044 
     5045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     5046$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     5047$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
     5048 
     5049 
     5050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
     5051$as_echo_n "checking if inet_aton() is available... " >&6; } 
     5052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101935053/* end confdefs.h.  */ 
    101945054#include <sys/types.h> 
     
    102035063} 
    102045064_ACEOF 
    10205 rm -f conftest.$ac_objext 
    10206 if { (ac_try="$ac_compile" 
    10207 case "(($ac_try" in 
    10208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10209   *) ac_try_echo=$ac_try;; 
    10210 esac 
    10211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10212   (eval "$ac_compile") 2>conftest.er1 
    10213   ac_status=$? 
    10214   grep -v '^ *+' conftest.er1 >conftest.err 
    10215   rm -f conftest.er1 
    10216   cat conftest.err >&5 
    10217   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10218   (exit $ac_status); } && { 
    10219          test -z "$ac_c_werror_flag" || 
    10220          test ! -s conftest.err 
    10221        } && test -s conftest.$ac_objext; then 
    10222   cat >>confdefs.h <<\_ACEOF 
    10223 #define PJ_SOCK_HAS_INET_ATON 1 
    10224 _ACEOF 
    10225  
    10226                    { echo "$as_me:$LINENO: result: yes" >&5 
    10227 echo "${ECHO_T}yes" >&6; } 
    10228 else 
    10229   echo "$as_me: failed program was:" >&5 
    10230 sed 's/^/| /' conftest.$ac_ext >&5 
    10231  
    10232         { echo "$as_me:$LINENO: result: no" >&5 
    10233 echo "${ECHO_T}no" >&6; } 
    10234 fi 
    10235  
     5065if ac_fn_c_try_compile "$LINENO"; then : 
     5066  $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
     5067 
     5068                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5069$as_echo "yes" >&6; } 
     5070else 
     5071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5072$as_echo "no" >&6; } 
     5073fi 
    102365074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102375075 
    10238 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
    10239 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
    10240 cat >conftest.$ac_ext <<_ACEOF 
    10241 /* confdefs.h.  */ 
    10242 _ACEOF 
    10243 cat confdefs.h >>conftest.$ac_ext 
    10244 cat >>conftest.$ac_ext <<_ACEOF 
     5076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
     5077$as_echo_n "checking if inet_pton() is available... " >&6; } 
     5078cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102455079/* end confdefs.h.  */ 
    102465080#include <sys/types.h> 
     
    102555089} 
    102565090_ACEOF 
    10257 rm -f conftest.$ac_objext 
    10258 if { (ac_try="$ac_compile" 
    10259 case "(($ac_try" in 
    10260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10261   *) ac_try_echo=$ac_try;; 
    10262 esac 
    10263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10264   (eval "$ac_compile") 2>conftest.er1 
    10265   ac_status=$? 
    10266   grep -v '^ *+' conftest.er1 >conftest.err 
    10267   rm -f conftest.er1 
    10268   cat conftest.err >&5 
    10269   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10270   (exit $ac_status); } && { 
    10271          test -z "$ac_c_werror_flag" || 
    10272          test ! -s conftest.err 
    10273        } && test -s conftest.$ac_objext; then 
    10274   cat >>confdefs.h <<\_ACEOF 
    10275 #define PJ_SOCK_HAS_INET_PTON 1 
    10276 _ACEOF 
    10277  
    10278                    { echo "$as_me:$LINENO: result: yes" >&5 
    10279 echo "${ECHO_T}yes" >&6; } 
    10280 else 
    10281   echo "$as_me: failed program was:" >&5 
    10282 sed 's/^/| /' conftest.$ac_ext >&5 
    10283  
    10284         { echo "$as_me:$LINENO: result: no" >&5 
    10285 echo "${ECHO_T}no" >&6; } 
    10286 fi 
    10287  
     5091if ac_fn_c_try_compile "$LINENO"; then : 
     5092  $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
     5093 
     5094                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5095$as_echo "yes" >&6; } 
     5096else 
     5097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5098$as_echo "no" >&6; } 
     5099fi 
    102885100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102895101 
    10290 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
    10291 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
    10292 cat >conftest.$ac_ext <<_ACEOF 
    10293 /* confdefs.h.  */ 
    10294 _ACEOF 
    10295 cat confdefs.h >>conftest.$ac_ext 
    10296 cat >>conftest.$ac_ext <<_ACEOF 
     5102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
     5103$as_echo_n "checking if inet_ntop() is available... " >&6; } 
     5104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102975105/* end confdefs.h.  */ 
    102985106#include <sys/types.h> 
     
    103075115} 
    103085116_ACEOF 
    10309 rm -f conftest.$ac_objext 
    10310 if { (ac_try="$ac_compile" 
    10311 case "(($ac_try" in 
    10312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10313   *) ac_try_echo=$ac_try;; 
    10314 esac 
    10315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10316   (eval "$ac_compile") 2>conftest.er1 
    10317   ac_status=$? 
    10318   grep -v '^ *+' conftest.er1 >conftest.err 
    10319   rm -f conftest.er1 
    10320   cat conftest.err >&5 
    10321   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10322   (exit $ac_status); } && { 
    10323          test -z "$ac_c_werror_flag" || 
    10324          test ! -s conftest.err 
    10325        } && test -s conftest.$ac_objext; then 
    10326   cat >>confdefs.h <<\_ACEOF 
    10327 #define PJ_SOCK_HAS_INET_NTOP 1 
    10328 _ACEOF 
    10329  
    10330                    { echo "$as_me:$LINENO: result: yes" >&5 
    10331 echo "${ECHO_T}yes" >&6; } 
    10332 else 
    10333   echo "$as_me: failed program was:" >&5 
    10334 sed 's/^/| /' conftest.$ac_ext >&5 
    10335  
    10336         { echo "$as_me:$LINENO: result: no" >&5 
    10337 echo "${ECHO_T}no" >&6; } 
    10338 fi 
    10339  
     5117if ac_fn_c_try_compile "$LINENO"; then : 
     5118  $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
     5119 
     5120                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5121$as_echo "yes" >&6; } 
     5122else 
     5123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5124$as_echo "no" >&6; } 
     5125fi 
    103405126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103415127 
    10342 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
    10343 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
    10344 cat >conftest.$ac_ext <<_ACEOF 
    10345 /* confdefs.h.  */ 
    10346 _ACEOF 
    10347 cat confdefs.h >>conftest.$ac_ext 
    10348 cat >>conftest.$ac_ext <<_ACEOF 
     5128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
     5129$as_echo_n "checking if getaddrinfo() is available... " >&6; } 
     5130cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103495131/* end confdefs.h.  */ 
    103505132#include <sys/types.h> 
     
    103595141} 
    103605142_ACEOF 
    10361 rm -f conftest.$ac_objext 
    10362 if { (ac_try="$ac_compile" 
    10363 case "(($ac_try" in 
    10364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10365   *) ac_try_echo=$ac_try;; 
    10366 esac 
    10367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10368   (eval "$ac_compile") 2>conftest.er1 
    10369   ac_status=$? 
    10370   grep -v '^ *+' conftest.er1 >conftest.err 
    10371   rm -f conftest.er1 
    10372   cat conftest.err >&5 
    10373   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10374   (exit $ac_status); } && { 
    10375          test -z "$ac_c_werror_flag" || 
    10376          test ! -s conftest.err 
    10377        } && test -s conftest.$ac_objext; then 
    10378   cat >>confdefs.h <<\_ACEOF 
    10379 #define PJ_SOCK_HAS_GETADDRINFO 1 
    10380 _ACEOF 
    10381  
    10382                    { echo "$as_me:$LINENO: result: yes" >&5 
    10383 echo "${ECHO_T}yes" >&6; } 
    10384 else 
    10385   echo "$as_me: failed program was:" >&5 
    10386 sed 's/^/| /' conftest.$ac_ext >&5 
    10387  
    10388         { echo "$as_me:$LINENO: result: no" >&5 
    10389 echo "${ECHO_T}no" >&6; } 
    10390 fi 
    10391  
     5143if ac_fn_c_try_compile "$LINENO"; then : 
     5144  $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
     5145 
     5146                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5147$as_echo "yes" >&6; } 
     5148else 
     5149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5150$as_echo "no" >&6; } 
     5151fi 
    103925152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103935153 
    10394 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    10395 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
    10396 cat >conftest.$ac_ext <<_ACEOF 
    10397 /* confdefs.h.  */ 
    10398 _ACEOF 
    10399 cat confdefs.h >>conftest.$ac_ext 
    10400 cat >>conftest.$ac_ext <<_ACEOF 
     5154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
     5155$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
     5156cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104015157/* end confdefs.h.  */ 
    104025158#include <sys/types.h> 
     
    104125168} 
    104135169_ACEOF 
    10414 rm -f conftest.$ac_objext 
    10415 if { (ac_try="$ac_compile" 
    10416 case "(($ac_try" in 
    10417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10418   *) ac_try_echo=$ac_try;; 
    10419 esac 
    10420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10421   (eval "$ac_compile") 2>conftest.er1 
    10422   ac_status=$? 
    10423   grep -v '^ *+' conftest.er1 >conftest.err 
    10424   rm -f conftest.er1 
    10425   cat conftest.err >&5 
    10426   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10427   (exit $ac_status); } && { 
    10428          test -z "$ac_c_werror_flag" || 
    10429          test ! -s conftest.err 
    10430        } && test -s conftest.$ac_objext; then 
    10431   cat >>confdefs.h <<\_ACEOF 
    10432 #define PJ_SOCKADDR_HAS_LEN 1 
    10433 _ACEOF 
    10434  
    10435                    { echo "$as_me:$LINENO: result: yes" >&5 
    10436 echo "${ECHO_T}yes" >&6; } 
    10437 else 
    10438   echo "$as_me: failed program was:" >&5 
    10439 sed 's/^/| /' conftest.$ac_ext >&5 
    10440  
    10441         { echo "$as_me:$LINENO: result: no" >&5 
    10442 echo "${ECHO_T}no" >&6; } 
    10443 fi 
    10444  
     5170if ac_fn_c_try_compile "$LINENO"; then : 
     5171  $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
     5172 
     5173                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5174$as_echo "yes" >&6; } 
     5175else 
     5176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5177$as_echo "no" >&6; } 
     5178fi 
    104455179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104465180 
    10447 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    10448 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
    10449 cat >conftest.$ac_ext <<_ACEOF 
    10450 /* confdefs.h.  */ 
    10451 _ACEOF 
    10452 cat confdefs.h >>conftest.$ac_ext 
    10453 cat >>conftest.$ac_ext <<_ACEOF 
     5181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
     5182$as_echo_n "checking if socklen_t is available... " >&6; } 
     5183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104545184/* end confdefs.h.  */ 
    104555185#include <sys/types.h> 
     
    104635193} 
    104645194_ACEOF 
    10465 rm -f conftest.$ac_objext 
    10466 if { (ac_try="$ac_compile" 
    10467 case "(($ac_try" in 
    10468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10469   *) ac_try_echo=$ac_try;; 
    10470 esac 
    10471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10472   (eval "$ac_compile") 2>conftest.er1 
    10473   ac_status=$? 
    10474   grep -v '^ *+' conftest.er1 >conftest.err 
    10475   rm -f conftest.er1 
    10476   cat conftest.err >&5 
    10477   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10478   (exit $ac_status); } && { 
    10479          test -z "$ac_c_werror_flag" || 
    10480          test ! -s conftest.err 
    10481        } && test -s conftest.$ac_objext; then 
    10482   cat >>confdefs.h <<\_ACEOF 
    10483 #define PJ_HAS_SOCKLEN_T 1 
    10484 _ACEOF 
    10485  
    10486                    { echo "$as_me:$LINENO: result: yes" >&5 
    10487 echo "${ECHO_T}yes" >&6; } 
    10488 else 
    10489   echo "$as_me: failed program was:" >&5 
    10490 sed 's/^/| /' conftest.$ac_ext >&5 
    10491  
    10492         { echo "$as_me:$LINENO: result: no" >&5 
    10493 echo "${ECHO_T}no" >&6; } 
    10494 fi 
    10495  
     5195if ac_fn_c_try_compile "$LINENO"; then : 
     5196  $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
     5197 
     5198                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5199$as_echo "yes" >&6; } 
     5200else 
     5201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5202$as_echo "no" >&6; } 
     5203fi 
    104965204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104975205 
    10498 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    10499 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
     5206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
     5207$as_echo_n "checking if SO_ERROR is available... " >&6; } 
    105005208case $target in 
    105015209    *mingw* | *cygw* | *win32* | *w32* ) 
    10502         cat >>confdefs.h <<\_ACEOF 
    10503 #define PJ_HAS_SO_ERROR 1 
    10504 _ACEOF 
    10505  
    10506         { echo "$as_me:$LINENO: result: yes" >&5 
    10507 echo "${ECHO_T}yes" >&6; } 
     5210        $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5211 
     5212        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5213$as_echo "yes" >&6; } 
    105085214        ;; 
    105095215    *) 
    10510         cat >conftest.$ac_ext <<_ACEOF 
    10511 /* confdefs.h.  */ 
    10512 _ACEOF 
    10513 cat confdefs.h >>conftest.$ac_ext 
    10514 cat >>conftest.$ac_ext <<_ACEOF 
     5216        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105155217/* end confdefs.h.  */ 
    105165218#include <sys/types.h> 
     
    105265228} 
    105275229_ACEOF 
    10528 rm -f conftest.$ac_objext 
    10529 if { (ac_try="$ac_compile" 
    10530 case "(($ac_try" in 
    10531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10532   *) ac_try_echo=$ac_try;; 
    10533 esac 
    10534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10535   (eval "$ac_compile") 2>conftest.er1 
    10536   ac_status=$? 
    10537   grep -v '^ *+' conftest.er1 >conftest.err 
    10538   rm -f conftest.er1 
    10539   cat conftest.err >&5 
    10540   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10541   (exit $ac_status); } && { 
    10542          test -z "$ac_c_werror_flag" || 
    10543          test ! -s conftest.err 
    10544        } && test -s conftest.$ac_objext; then 
    10545   cat >>confdefs.h <<\_ACEOF 
    10546 #define PJ_HAS_SO_ERROR 1 
    10547 _ACEOF 
    10548  
    10549                            { echo "$as_me:$LINENO: result: yes" >&5 
    10550 echo "${ECHO_T}yes" >&6; } 
    10551 else 
    10552   echo "$as_me: failed program was:" >&5 
    10553 sed 's/^/| /' conftest.$ac_ext >&5 
    10554  
    10555         { echo "$as_me:$LINENO: result: no" >&5 
    10556 echo "${ECHO_T}no" >&6; } 
    10557 fi 
    10558  
     5230if ac_fn_c_try_compile "$LINENO"; then : 
     5231  $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5232 
     5233                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5234$as_echo "yes" >&6; } 
     5235else 
     5236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5237$as_echo "no" >&6; } 
     5238fi 
    105595239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    105605240        ;; 
     
    105625242 
    105635243 
    10564 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    10565 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
    10566 cat >conftest.$ac_ext <<_ACEOF 
    10567 /* confdefs.h.  */ 
    10568 _ACEOF 
    10569 cat confdefs.h >>conftest.$ac_ext 
    10570 cat >>conftest.$ac_ext <<_ACEOF 
     5244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
     5245$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
     5246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105715247/* end confdefs.h.  */ 
    105725248#include <pthread.h> 
     
    105795255} 
    105805256_ACEOF 
    10581 rm -f conftest.$ac_objext 
    10582 if { (ac_try="$ac_compile" 
    10583 case "(($ac_try" in 
    10584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10585   *) ac_try_echo=$ac_try;; 
    10586 esac 
    10587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10588   (eval "$ac_compile") 2>conftest.er1 
    10589   ac_status=$? 
    10590   grep -v '^ *+' conftest.er1 >conftest.err 
    10591   rm -f conftest.er1 
    10592   cat conftest.err >&5 
    10593   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10594   (exit $ac_status); } && { 
    10595          test -z "$ac_c_werror_flag" || 
    10596          test ! -s conftest.err 
    10597        } && test -s conftest.$ac_objext; then 
    10598   cat >>confdefs.h <<\_ACEOF 
    10599 #define PJ_EMULATE_RWMUTEX 0 
    10600 _ACEOF 
     5257if ac_fn_c_try_compile "$LINENO"; then : 
     5258  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    106015259 
    106025260                   ac_rwmutex="yes" 
    10603                    { echo "$as_me:$LINENO: result: yes" >&5 
    10604 echo "${ECHO_T}yes" >&6; } 
    10605 else 
    10606   echo "$as_me: failed program was:" >&5 
    10607 sed 's/^/| /' conftest.$ac_ext >&5 
    10608  
    10609         cat >>confdefs.h <<\_ACEOF 
    10610 #define PJ_EMULATE_RWMUTEX 1 
    10611 _ACEOF 
     5261                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5262$as_echo "yes" >&6; } 
     5263else 
     5264  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    106125265 
    106135266                   ac_rwmutex="no" 
    10614                    { echo "$as_me:$LINENO: result: no" >&5 
    10615 echo "${ECHO_T}no" >&6; } 
    10616 fi 
    10617  
     5267                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5268$as_echo "no" >&6; } 
     5269fi 
    106185270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106195271 
    106205272if test "$ac_rwmutex" = "no"; then 
    10621     { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    10622 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
    10623     cat >conftest.$ac_ext <<_ACEOF 
    10624 /* confdefs.h.  */ 
    10625 _ACEOF 
    10626 cat confdefs.h >>conftest.$ac_ext 
    10627 cat >>conftest.$ac_ext <<_ACEOF 
     5273    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     5274$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
     5275    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106285276/* end confdefs.h.  */ 
    106295277#define _POSIX_READER_WRITER_LOCKS 
     
    106375285} 
    106385286_ACEOF 
    10639 rm -f conftest.$ac_objext 
    10640 if { (ac_try="$ac_compile" 
    10641 case "(($ac_try" in 
    10642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10643   *) ac_try_echo=$ac_try;; 
    10644 esac 
    10645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10646   (eval "$ac_compile") 2>conftest.er1 
    10647   ac_status=$? 
    10648   grep -v '^ *+' conftest.er1 >conftest.err 
    10649   rm -f conftest.er1 
    10650   cat conftest.err >&5 
    10651   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10652   (exit $ac_status); } && { 
    10653          test -z "$ac_c_werror_flag" || 
    10654          test ! -s conftest.err 
    10655        } && test -s conftest.$ac_objext; then 
    10656   cat >>confdefs.h <<\_ACEOF 
    10657 #define PJ_EMULATE_RWMUTEX 0 
    10658 _ACEOF 
     5287if ac_fn_c_try_compile "$LINENO"; then : 
     5288  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    106595289 
    106605290                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    10661                        { echo "$as_me:$LINENO: result: yes" >&5 
    10662 echo "${ECHO_T}yes" >&6; } 
    10663 else 
    10664   echo "$as_me: failed program was:" >&5 
    10665 sed 's/^/| /' conftest.$ac_ext >&5 
    10666  
    10667         cat >>confdefs.h <<\_ACEOF 
    10668 #define PJ_EMULATE_RWMUTEX 1 
    10669 _ACEOF 
    10670  
    10671                        { echo "$as_me:$LINENO: result: no" >&5 
    10672 echo "${ECHO_T}no" >&6; } 
    10673 fi 
    10674  
     5291                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5292$as_echo "yes" >&6; } 
     5293else 
     5294  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     5295 
     5296                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5297$as_echo "no" >&6; } 
     5298fi 
    106755299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106765300fi 
    106775301 
    10678 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
    10679 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
    10680 cat >conftest.$ac_ext <<_ACEOF 
    10681 /* confdefs.h.  */ 
    10682 _ACEOF 
    10683 cat confdefs.h >>conftest.$ac_ext 
    10684 cat >>conftest.$ac_ext <<_ACEOF 
     5302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
     5303$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
     5304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106855305/* end confdefs.h.  */ 
    106865306#include <pthread.h> 
     
    106935313} 
    106945314_ACEOF 
    10695 rm -f conftest.$ac_objext 
    10696 if { (ac_try="$ac_compile" 
    10697 case "(($ac_try" in 
    10698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10699   *) ac_try_echo=$ac_try;; 
    10700 esac 
    10701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10702   (eval "$ac_compile") 2>conftest.er1 
    10703   ac_status=$? 
    10704   grep -v '^ *+' conftest.er1 >conftest.err 
    10705   rm -f conftest.er1 
    10706   cat conftest.err >&5 
    10707   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10708   (exit $ac_status); } && { 
    10709          test -z "$ac_c_werror_flag" || 
    10710          test ! -s conftest.err 
    10711        } && test -s conftest.$ac_objext; then 
    10712   cat >>confdefs.h <<\_ACEOF 
    10713 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
    10714 _ACEOF 
    10715  
    10716                    { echo "$as_me:$LINENO: result: yes" >&5 
    10717 echo "${ECHO_T}yes" >&6; } 
    10718 else 
    10719   echo "$as_me: failed program was:" >&5 
    10720 sed 's/^/| /' conftest.$ac_ext >&5 
    10721  
    10722         { echo "$as_me:$LINENO: result: no" >&5 
    10723 echo "${ECHO_T}no" >&6; } 
    10724 fi 
    10725  
     5315if ac_fn_c_try_compile "$LINENO"; then : 
     5316  $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
     5317 
     5318                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5319$as_echo "yes" >&6; } 
     5320else 
     5321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5322$as_echo "no" >&6; } 
     5323fi 
    107265324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107275325 
    10728 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
    10729 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
    10730 cat >conftest.$ac_ext <<_ACEOF 
    10731 /* confdefs.h.  */ 
    10732 _ACEOF 
    10733 cat confdefs.h >>conftest.$ac_ext 
    10734 cat >>conftest.$ac_ext <<_ACEOF 
     5326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
     5327$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
     5328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    107355329/* end confdefs.h.  */ 
    107365330#include <pthread.h> 
     
    107445338} 
    107455339_ACEOF 
    10746 rm -f conftest.$ac_objext 
    10747 if { (ac_try="$ac_compile" 
    10748 case "(($ac_try" in 
    10749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10750   *) ac_try_echo=$ac_try;; 
    10751 esac 
    10752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10753   (eval "$ac_compile") 2>conftest.er1 
    10754   ac_status=$? 
    10755   grep -v '^ *+' conftest.er1 >conftest.err 
    10756   rm -f conftest.er1 
    10757   cat conftest.err >&5 
    10758   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10759   (exit $ac_status); } && { 
    10760          test -z "$ac_c_werror_flag" || 
    10761          test ! -s conftest.err 
    10762        } && test -s conftest.$ac_objext; then 
    10763   cat >>confdefs.h <<\_ACEOF 
    10764 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
    10765 _ACEOF 
    10766  
    10767                    { echo "$as_me:$LINENO: result: yes" >&5 
    10768 echo "${ECHO_T}yes" >&6; } 
    10769 else 
    10770   echo "$as_me: failed program was:" >&5 
    10771 sed 's/^/| /' conftest.$ac_ext >&5 
    10772  
    10773         { echo "$as_me:$LINENO: result: no" >&5 
    10774 echo "${ECHO_T}no" >&6; } 
    10775 fi 
    10776  
     5340if ac_fn_c_try_compile "$LINENO"; then : 
     5341  $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
     5342 
     5343                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5344$as_echo "yes" >&6; } 
     5345else 
     5346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5347$as_echo "no" >&6; } 
     5348fi 
    107775349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107785350 
    107795351 
    10780 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 
    10781 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
     5352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
     5353$as_echo_n "checking ioqueue backend... " >&6; } 
    107825354# Check whether --enable-epoll was given. 
    10783 if test "${enable_epoll+set}" = set; then 
     5355if test "${enable_epoll+set}" = set; then : 
    107845356  enableval=$enable_epoll; 
    107855357                ac_os_objs=ioqueue_epoll.o 
    10786                 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
    10787 echo "${ECHO_T}/dev/epoll" >&6; } 
     5358                { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
     5359$as_echo "/dev/epoll" >&6; } 
    107885360 
    107895361else 
    107905362 
    107915363                ac_os_objs=ioqueue_select.o 
    10792                 { echo "$as_me:$LINENO: result: select()" >&5 
    10793 echo "${ECHO_T}select()" >&6; } 
     5364                { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
     5365$as_echo "select()" >&6; } 
    107945366 
    107955367fi 
     
    108285400 
    108295401# Check whether --with-external-speex was given. 
    10830 if test "${with_external_speex+set}" = set; then 
     5402if test "${with_external_speex+set}" = set; then : 
    108315403  withval=$with_external_speex; 
    108325404        if test "x$with_external_speex" != "xno"; then 
    108335405                # Test Speex installation 
    10834                 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
    10835 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
    10836                 cat >conftest.$ac_ext <<_ACEOF 
    10837 /* confdefs.h.  */ 
    10838 _ACEOF 
    10839 cat confdefs.h >>conftest.$ac_ext 
    10840 cat >>conftest.$ac_ext <<_ACEOF 
     5406                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
     5407$as_echo_n "checking if external Speex devkit is installed... " >&6; } 
     5408                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108415409/* end confdefs.h.  */ 
    108425410#include <speex/speex.h> 
     
    108515419} 
    108525420_ACEOF 
    10853 rm -f conftest.$ac_objext 
    10854 if { (ac_try="$ac_compile" 
    10855 case "(($ac_try" in 
    10856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10857   *) ac_try_echo=$ac_try;; 
    10858 esac 
    10859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10860   (eval "$ac_compile") 2>conftest.er1 
    10861   ac_status=$? 
    10862   grep -v '^ *+' conftest.er1 >conftest.err 
    10863   rm -f conftest.er1 
    10864   cat conftest.err >&5 
    10865   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10866   (exit $ac_status); } && { 
    10867          test -z "$ac_c_werror_flag" || 
    10868          test ! -s conftest.err 
    10869        } && test -s conftest.$ac_objext; then 
    10870   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10871 echo "${ECHO_T}yes!!" >&6; } 
    10872                                    cat >>confdefs.h <<\_ACEOF 
    10873 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
    10874 _ACEOF 
     5421if ac_fn_c_try_compile "$LINENO"; then : 
     5422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5423$as_echo "yes!!" >&6; } 
     5424                                   $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
    108755425 
    108765426                                   ac_external_speex="1" 
    108775427 
    108785428else 
    10879   echo "$as_me: failed program was:" >&5 
    10880 sed 's/^/| /' conftest.$ac_ext >&5 
    10881  
    10882         { { 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 
    10883 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;} 
    10884    { (exit 1); exit 1; }; } 
    10885 fi 
    10886  
     5429  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 
     5430fi 
    108875431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    108885432        fi 
     
    108965440 
    108975441# Check whether --with-external-gsm was given. 
    10898 if test "${with_external_gsm+set}" = set; then 
     5442if test "${with_external_gsm+set}" = set; then : 
    108995443  withval=$with_external_gsm; 
    109005444        if test "x$with_external_gsm" != "xno"; then 
    109015445                # Test GSM library installation 
    10902                 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    10903 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
    10904                 cat >conftest.$ac_ext <<_ACEOF 
    10905 /* confdefs.h.  */ 
    10906 _ACEOF 
    10907 cat confdefs.h >>conftest.$ac_ext 
    10908 cat >>conftest.$ac_ext <<_ACEOF 
     5446                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     5447$as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
     5448                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    109095449/* end confdefs.h.  */ 
    109105450#include <gsm/gsm.h> 
     
    109175457} 
    109185458_ACEOF 
    10919 rm -f conftest.$ac_objext 
    10920 if { (ac_try="$ac_compile" 
    10921 case "(($ac_try" in 
    10922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10923   *) ac_try_echo=$ac_try;; 
    10924 esac 
    10925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10926   (eval "$ac_compile") 2>conftest.er1 
    10927   ac_status=$? 
    10928   grep -v '^ *+' conftest.er1 >conftest.err 
    10929   rm -f conftest.er1 
    10930   cat conftest.err >&5 
    10931   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10932   (exit $ac_status); } && { 
    10933          test -z "$ac_c_werror_flag" || 
    10934          test ! -s conftest.err 
    10935        } && test -s conftest.$ac_objext; then 
    10936   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10937 echo "${ECHO_T}yes!!" >&6; } 
    10938                      cat >>confdefs.h <<\_ACEOF 
    10939 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10940 _ACEOF 
    10941  
    10942                      cat >>confdefs.h <<\_ACEOF 
    10943 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
    10944 _ACEOF 
     5459if ac_fn_c_try_compile "$LINENO"; then : 
     5460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5461$as_echo "yes!!" >&6; } 
     5462                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5463 
     5464                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
    109455465 
    109465466                     ac_external_gsm="1" 
    109475467 
    109485468else 
    10949   echo "$as_me: failed program was:" >&5 
    10950 sed 's/^/| /' conftest.$ac_ext >&5 
    10951  
    10952  
    10953                      { echo "$as_me:$LINENO: result: no" >&5 
    10954 echo "${ECHO_T}no" >&6; } 
    10955                      { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
    10956 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
    10957                      cat >conftest.$ac_ext <<_ACEOF 
    10958 /* confdefs.h.  */ 
    10959 _ACEOF 
    10960 cat confdefs.h >>conftest.$ac_ext 
    10961 cat >>conftest.$ac_ext <<_ACEOF 
     5469 
     5470                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5471$as_echo "no" >&6; } 
     5472                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
     5473$as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
     5474                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    109625475/* end confdefs.h.  */ 
    109635476#include <gsm.h> 
     
    109705483} 
    109715484_ACEOF 
    10972 rm -f conftest.$ac_objext 
    10973 if { (ac_try="$ac_compile" 
    10974 case "(($ac_try" in 
    10975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10976   *) ac_try_echo=$ac_try;; 
    10977 esac 
    10978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10979   (eval "$ac_compile") 2>conftest.er1 
    10980   ac_status=$? 
    10981   grep -v '^ *+' conftest.er1 >conftest.err 
    10982   rm -f conftest.er1 
    10983   cat conftest.err >&5 
    10984   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10985   (exit $ac_status); } && { 
    10986          test -z "$ac_c_werror_flag" || 
    10987          test ! -s conftest.err 
    10988        } && test -s conftest.$ac_objext; then 
    10989   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10990 echo "${ECHO_T}yes!!" >&6; } 
    10991                          cat >>confdefs.h <<\_ACEOF 
    10992 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10993 _ACEOF 
    10994  
    10995                          cat >>confdefs.h <<\_ACEOF 
    10996 #define PJMEDIA_EXTERNAL_GSM_H 1 
    10997 _ACEOF 
     5485if ac_fn_c_try_compile "$LINENO"; then : 
     5486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5487$as_echo "yes!!" >&6; } 
     5488                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5489 
     5490                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
    109985491 
    109995492                         ac_external_gsm="1" 
    110005493 
    110015494else 
    11002   echo "$as_me: failed program was:" >&5 
    11003 sed 's/^/| /' conftest.$ac_ext >&5 
    11004  
    11005         { { 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 
    11006 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;} 
    11007    { (exit 1); exit 1; }; } 
    11008  
    11009  
    11010 fi 
    11011  
     5495  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 
     5496 
     5497 
     5498fi 
    110125499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110135500 
    110145501 
    110155502fi 
    11016  
    110175503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110185504        fi 
     
    110265512 
    110275513# Check whether --enable-sound was given. 
    11028 if test "${enable_sound+set}" = set; then 
     5514if test "${enable_sound+set}" = set; then : 
    110295515  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    110305516                ac_pjmedia_snd=null 
    11031                 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
    11032 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
     5517                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
     5518$as_echo "Checking if sound is disabled... yes" >&6; } 
    110335519               fi 
    110345520 
     
    110405526 
    110415527# Check whether --with-external-pa was given. 
    11042 if test "${with_external_pa+set}" = set; then 
     5528if test "${with_external_pa+set}" = set; then : 
    110435529  withval=$with_external_pa; 
    110445530        if test "x$with_external_pa" != "xno"; then 
    110455531                # Test PortAudio installation 
    11046                 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
    11047 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
    11048                 cat >conftest.$ac_ext <<_ACEOF 
    11049 /* confdefs.h.  */ 
    11050 _ACEOF 
    11051 cat confdefs.h >>conftest.$ac_ext 
    11052 cat >>conftest.$ac_ext <<_ACEOF 
     5532                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
     5533$as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
     5534                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    110535535/* end confdefs.h.  */ 
    110545536#include <portaudio.h> 
     
    110625544} 
    110635545_ACEOF 
    11064 rm -f conftest.$ac_objext 
    11065 if { (ac_try="$ac_compile" 
    11066 case "(($ac_try" in 
    11067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11068   *) ac_try_echo=$ac_try;; 
    11069 esac 
    11070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11071   (eval "$ac_compile") 2>conftest.er1 
    11072   ac_status=$? 
    11073   grep -v '^ *+' conftest.er1 >conftest.err 
    11074   rm -f conftest.er1 
    11075   cat conftest.err >&5 
    11076   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11077   (exit $ac_status); } && { 
    11078          test -z "$ac_c_werror_flag" || 
    11079          test ! -s conftest.err 
    11080        } && test -s conftest.$ac_objext; then 
    11081   { echo "$as_me:$LINENO: result: yes!!" >&5 
    11082 echo "${ECHO_T}yes!!" >&6; } 
     5546if ac_fn_c_try_compile "$LINENO"; then : 
     5547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5548$as_echo "yes!!" >&6; } 
    110835549                                   ac_external_pa="1" 
    110845550 
    110855551else 
    11086   echo "$as_me: failed program was:" >&5 
    11087 sed 's/^/| /' conftest.$ac_ext >&5 
    11088  
    11089         { { 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 
    11090 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;} 
    11091    { (exit 1); exit 1; }; } 
    11092 fi 
    11093  
     5552  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 
     5553fi 
    110945554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110955555        fi 
     
    111005560 
    111015561 
    11102 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11103   { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11104 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11105 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11106   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11107 fi 
    11108 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11109 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11110 else 
    11111   # Is the header compilable? 
    11112 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
    11113 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
    11114 cat >conftest.$ac_ext <<_ACEOF 
    11115 /* confdefs.h.  */ 
    11116 _ACEOF 
    11117 cat confdefs.h >>conftest.$ac_ext 
    11118 cat >>conftest.$ac_ext <<_ACEOF 
    11119 /* end confdefs.h.  */ 
    11120 $ac_includes_default 
    11121 #include <sys/soundcard.h> 
    11122 _ACEOF 
    11123 rm -f conftest.$ac_objext 
    11124 if { (ac_try="$ac_compile" 
    11125 case "(($ac_try" in 
    11126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11127   *) ac_try_echo=$ac_try;; 
    11128 esac 
    11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11130   (eval "$ac_compile") 2>conftest.er1 
    11131   ac_status=$? 
    11132   grep -v '^ *+' conftest.er1 >conftest.err 
    11133   rm -f conftest.er1 
    11134   cat conftest.err >&5 
    11135   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11136   (exit $ac_status); } && { 
    11137          test -z "$ac_c_werror_flag" || 
    11138          test ! -s conftest.err 
    11139        } && test -s conftest.$ac_objext; then 
    11140   ac_header_compiler=yes 
    11141 else 
    11142   echo "$as_me: failed program was:" >&5 
    11143 sed 's/^/| /' conftest.$ac_ext >&5 
    11144  
    11145         ac_header_compiler=no 
    11146 fi 
    11147  
    11148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11149 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11150 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11151  
    11152 # Is the header present? 
    11153 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
    11154 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
    11155 cat >conftest.$ac_ext <<_ACEOF 
    11156 /* confdefs.h.  */ 
    11157 _ACEOF 
    11158 cat confdefs.h >>conftest.$ac_ext 
    11159 cat >>conftest.$ac_ext <<_ACEOF 
    11160 /* end confdefs.h.  */ 
    11161 #include <sys/soundcard.h> 
    11162 _ACEOF 
    11163 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11164 case "(($ac_try" in 
    11165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11166   *) ac_try_echo=$ac_try;; 
    11167 esac 
    11168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11169   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11170   ac_status=$? 
    11171   grep -v '^ *+' conftest.er1 >conftest.err 
    11172   rm -f conftest.er1 
    11173   cat conftest.err >&5 
    11174   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11175   (exit $ac_status); } >/dev/null && { 
    11176          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11177          test ! -s conftest.err 
    11178        }; then 
    11179   ac_header_preproc=yes 
    11180 else 
    11181   echo "$as_me: failed program was:" >&5 
    11182 sed 's/^/| /' conftest.$ac_ext >&5 
    11183  
    11184   ac_header_preproc=no 
    11185 fi 
    11186  
    11187 rm -f conftest.err conftest.$ac_ext 
    11188 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11189 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11190  
    11191 # So?  What about this header? 
    11192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11193   yes:no: ) 
    11194     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11195 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11196     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
    11197 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
    11198     ac_header_preproc=yes 
    11199     ;; 
    11200   no:yes:* ) 
    11201     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
    11202 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
    11203     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
    11204 echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11205     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
    11206 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
    11207     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11208 echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11209     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
    11210 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11211     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
    11212 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11213  
    11214     ;; 
    11215 esac 
    11216 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11217 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11218 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11219   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11220 else 
    11221   ac_cv_header_sys_soundcard_h=$ac_header_preproc 
    11222 fi 
    11223 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11224 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11225  
    11226 fi 
    11227 if test $ac_cv_header_sys_soundcard_h = yes; then 
     5562ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
     5563if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
    112285564  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    112295565fi 
    112305566 
    112315567 
    11232 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11233   { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11234 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11235 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11236   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11237 fi 
    11238 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11239 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11240 else 
    11241   # Is the header compilable? 
    11242 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
    11243 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
    11244 cat >conftest.$ac_ext <<_ACEOF 
    11245 /* confdefs.h.  */ 
    11246 _ACEOF 
    11247 cat confdefs.h >>conftest.$ac_ext 
    11248 cat >>conftest.$ac_ext <<_ACEOF 
    11249 /* end confdefs.h.  */ 
    11250 $ac_includes_default 
    11251 #include <linux/soundcard.h> 
    11252 _ACEOF 
    11253 rm -f conftest.$ac_objext 
    11254 if { (ac_try="$ac_compile" 
    11255 case "(($ac_try" in 
    11256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11257   *) ac_try_echo=$ac_try;; 
    11258 esac 
    11259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11260   (eval "$ac_compile") 2>conftest.er1 
    11261   ac_status=$? 
    11262   grep -v '^ *+' conftest.er1 >conftest.err 
    11263   rm -f conftest.er1 
    11264   cat conftest.err >&5 
    11265   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11266   (exit $ac_status); } && { 
    11267          test -z "$ac_c_werror_flag" || 
    11268          test ! -s conftest.err 
    11269        } && test -s conftest.$ac_objext; then 
    11270   ac_header_compiler=yes 
    11271 else 
    11272   echo "$as_me: failed program was:" >&5 
    11273 sed 's/^/| /' conftest.$ac_ext >&5 
    11274  
    11275         ac_header_compiler=no 
    11276 fi 
    11277  
    11278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11279 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11280 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11281  
    11282 # Is the header present? 
    11283 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
    11284 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
    11285 cat >conftest.$ac_ext <<_ACEOF 
    11286 /* confdefs.h.  */ 
    11287 _ACEOF 
    11288 cat confdefs.h >>conftest.$ac_ext 
    11289 cat >>conftest.$ac_ext <<_ACEOF 
    11290 /* end confdefs.h.  */ 
    11291 #include <linux/soundcard.h> 
    11292 _ACEOF 
    11293 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11294 case "(($ac_try" in 
    11295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11296   *) ac_try_echo=$ac_try;; 
    11297 esac 
    11298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11299   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11300   ac_status=$? 
    11301   grep -v '^ *+' conftest.er1 >conftest.err 
    11302   rm -f conftest.er1 
    11303   cat conftest.err >&5 
    11304   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11305   (exit $ac_status); } >/dev/null && { 
    11306          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11307          test ! -s conftest.err 
    11308        }; then 
    11309   ac_header_preproc=yes 
    11310 else 
    11311   echo "$as_me: failed program was:" >&5 
    11312 sed 's/^/| /' conftest.$ac_ext >&5 
    11313  
    11314   ac_header_preproc=no 
    11315 fi 
    11316  
    11317 rm -f conftest.err conftest.$ac_ext 
    11318 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11319 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11320  
    11321 # So?  What about this header? 
    11322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11323   yes:no: ) 
    11324     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11325 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11326     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
    11327 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
    11328     ac_header_preproc=yes 
    11329     ;; 
    11330   no:yes:* ) 
    11331     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
    11332 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
    11333     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
    11334 echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11335     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
    11336 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
    11337     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11338 echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11339     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
    11340 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11341     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
    11342 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11343  
    11344     ;; 
    11345 esac 
    11346 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11347 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11348 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11349   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11350 else 
    11351   ac_cv_header_linux_soundcard_h=$ac_header_preproc 
    11352 fi 
    11353 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11354 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11355  
    11356 fi 
    11357 if test $ac_cv_header_linux_soundcard_h = yes; then 
     5568ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
     5569if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
    113585570  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    113595571fi 
    113605572 
    113615573 
    11362 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11363   { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11364 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11365 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11366   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11367 fi 
    11368 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11369 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11370 else 
    11371   # Is the header compilable? 
    11372 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
    11373 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
    11374 cat >conftest.$ac_ext <<_ACEOF 
    11375 /* confdefs.h.  */ 
    11376 _ACEOF 
    11377 cat confdefs.h >>conftest.$ac_ext 
    11378 cat >>conftest.$ac_ext <<_ACEOF 
    11379 /* end confdefs.h.  */ 
    11380 $ac_includes_default 
    11381 #include <machine/soundcard.h> 
    11382 _ACEOF 
    11383 rm -f conftest.$ac_objext 
    11384 if { (ac_try="$ac_compile" 
    11385 case "(($ac_try" in 
    11386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11387   *) ac_try_echo=$ac_try;; 
    11388 esac 
    11389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11390   (eval "$ac_compile") 2>conftest.er1 
    11391   ac_status=$? 
    11392   grep -v '^ *+' conftest.er1 >conftest.err 
    11393   rm -f conftest.er1 
    11394   cat conftest.err >&5 
    11395   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11396   (exit $ac_status); } && { 
    11397          test -z "$ac_c_werror_flag" || 
    11398          test ! -s conftest.err 
    11399        } && test -s conftest.$ac_objext; then 
    11400   ac_header_compiler=yes 
    11401 else 
    11402   echo "$as_me: failed program was:" >&5 
    11403 sed 's/^/| /' conftest.$ac_ext >&5 
    11404  
    11405         ac_header_compiler=no 
    11406 fi 
    11407  
    11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11409 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11410 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11411  
    11412 # Is the header present? 
    11413 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
    11414 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
    11415 cat >conftest.$ac_ext <<_ACEOF 
    11416 /* confdefs.h.  */ 
    11417 _ACEOF 
    11418 cat confdefs.h >>conftest.$ac_ext 
    11419 cat >>conftest.$ac_ext <<_ACEOF 
    11420 /* end confdefs.h.  */ 
    11421 #include <machine/soundcard.h> 
    11422 _ACEOF 
    11423 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11424 case "(($ac_try" in 
    11425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11426   *) ac_try_echo=$ac_try;; 
    11427 esac 
    11428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11429   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11430   ac_status=$? 
    11431   grep -v '^ *+' conftest.er1 >conftest.err 
    11432   rm -f conftest.er1 
    11433   cat conftest.err >&5 
    11434   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11435   (exit $ac_status); } >/dev/null && { 
    11436          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11437          test ! -s conftest.err 
    11438        }; then 
    11439   ac_header_preproc=yes 
    11440 else 
    11441   echo "$as_me: failed program was:" >&5 
    11442 sed 's/^/| /' conftest.$ac_ext >&5 
    11443  
    11444   ac_header_preproc=no 
    11445 fi 
    11446  
    11447 rm -f conftest.err conftest.$ac_ext 
    11448 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11449 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11450  
    11451 # So?  What about this header? 
    11452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11453   yes:no: ) 
    11454     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11455 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11456     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
    11457 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
    11458     ac_header_preproc=yes 
    11459     ;; 
    11460   no:yes:* ) 
    11461     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
    11462 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
    11463     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
    11464 echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11465     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
    11466 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
    11467     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11468 echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11469     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
    11470 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11471     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
    11472 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11473  
    11474     ;; 
    11475 esac 
    11476 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11477 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11478 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11479   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11480 else 
    11481   ac_cv_header_machine_soundcard_h=$ac_header_preproc 
    11482 fi 
    11483 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11484 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11485  
    11486 fi 
    11487 if test $ac_cv_header_machine_soundcard_h = yes; then 
     5574ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
     5575if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
    114885576  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    114895577fi 
     
    115035591  arm-apple-darwin*) 
    115045592        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
    11505         { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
    11506 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
     5593        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
     5594$as_echo "Checking sound device backend... AudioUnit" >&6; } 
    115075595        ;; 
    115085596  *darwin*) 
     
    115125600                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    115135601                ac_pjmedia_snd=pa_old_darwinos 
    11514                 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
    11515 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
     5602                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
     5603$as_echo "Checking sound device backend... old coreaudio" >&6; } 
    115165604        else 
    115175605                ac_pjmedia_snd=pa_darwinos 
    11518                 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    11519 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
     5606                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
     5607$as_echo "Checking sound device backend... coreaudio" >&6; } 
    115205608        fi 
    115215609        ;; 
    115225610  *cygwin* | *mingw*) 
    115235611        ac_pjmedia_snd=pa_win32 
    11524         { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    11525 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
     5612        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
     5613$as_echo "Checking sound device backend... win32 sound" >&6; } 
    115265614        ;; 
    115275615  *rtems*) 
    115285616        ac_pjmedia_snd=null 
    11529         { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    11530 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
     5617        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
     5618$as_echo "Checking sound device backend... null sound" >&6; } 
    115315619        ;; 
    115325620  *) 
    115335621                ac_pjmedia_snd=pa_unix 
    11534         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11535   { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11536 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11537 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11538   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11539 fi 
    11540 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11541 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11542 else 
    11543   # Is the header compilable? 
    11544 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    11545 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
    11546 cat >conftest.$ac_ext <<_ACEOF 
    11547 /* confdefs.h.  */ 
    11548 _ACEOF 
    11549 cat confdefs.h >>conftest.$ac_ext 
    11550 cat >>conftest.$ac_ext <<_ACEOF 
    11551 /* end confdefs.h.  */ 
    11552 $ac_includes_default 
    11553 #include <alsa/version.h> 
    11554 _ACEOF 
    11555 rm -f conftest.$ac_objext 
    11556 if { (ac_try="$ac_compile" 
    11557 case "(($ac_try" in 
    11558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11559   *) ac_try_echo=$ac_try;; 
    11560 esac 
    11561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11562   (eval "$ac_compile") 2>conftest.er1 
    11563   ac_status=$? 
    11564   grep -v '^ *+' conftest.er1 >conftest.err 
    11565   rm -f conftest.er1 
    11566   cat conftest.err >&5 
    11567   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11568   (exit $ac_status); } && { 
    11569          test -z "$ac_c_werror_flag" || 
    11570          test ! -s conftest.err 
    11571        } && test -s conftest.$ac_objext; then 
    11572   ac_header_compiler=yes 
    11573 else 
    11574   echo "$as_me: failed program was:" >&5 
    11575 sed 's/^/| /' conftest.$ac_ext >&5 
    11576  
    11577         ac_header_compiler=no 
    11578 fi 
    11579  
    11580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11582 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11583  
    11584 # Is the header present? 
    11585 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    11586 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
    11587 cat >conftest.$ac_ext <<_ACEOF 
    11588 /* confdefs.h.  */ 
    11589 _ACEOF 
    11590 cat confdefs.h >>conftest.$ac_ext 
    11591 cat >>conftest.$ac_ext <<_ACEOF 
    11592 /* end confdefs.h.  */ 
    11593 #include <alsa/version.h> 
    11594 _ACEOF 
    11595 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11596 case "(($ac_try" in 
    11597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11598   *) ac_try_echo=$ac_try;; 
    11599 esac 
    11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11601   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11602   ac_status=$? 
    11603   grep -v '^ *+' conftest.er1 >conftest.err 
    11604   rm -f conftest.er1 
    11605   cat conftest.err >&5 
    11606   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11607   (exit $ac_status); } >/dev/null && { 
    11608          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11609          test ! -s conftest.err 
    11610        }; then 
    11611   ac_header_preproc=yes 
    11612 else 
    11613   echo "$as_me: failed program was:" >&5 
    11614 sed 's/^/| /' conftest.$ac_ext >&5 
    11615  
    11616   ac_header_preproc=no 
    11617 fi 
    11618  
    11619 rm -f conftest.err conftest.$ac_ext 
    11620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11621 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11622  
    11623 # So?  What about this header? 
    11624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11625   yes:no: ) 
    11626     { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11627 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11628     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    11629 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    11630     ac_header_preproc=yes 
    11631     ;; 
    11632   no:yes:* ) 
    11633     { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    11634 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    11635     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    11636 echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    11637     { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    11638 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    11639     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11640 echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11641     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    11642 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    11643     { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    11644 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    11645  
    11646     ;; 
    11647 esac 
    11648 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11649 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11650 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11651   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11652 else 
    11653   ac_cv_header_alsa_version_h=$ac_header_preproc 
    11654 fi 
    11655 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11656 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11657  
    11658 fi 
    11659 if test $ac_cv_header_alsa_version_h = yes; then 
     5622        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
     5623if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
    116605624  ac_pa_use_alsa=1 
    116615625 
     
    116685632 
    116695633 
    11670         { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    11671 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
     5634        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
     5635$as_echo "Checking sound device backend... unix" >&6; } 
    116725636 
    116735637                ac_pa_use_oss=1 
    116745638 
    116755639        # Check whether --enable-oss was given. 
    11676 if test "${enable_oss+set}" = set; then 
     5640if test "${enable_oss+set}" = set; then : 
    116775641  enableval=$enable_oss; 
    116785642                        if test "$enable_oss" = "no"; then 
    116795643                         ac_pa_use_oss=0 
    11680                          { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
    11681 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
     5644                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
     5645$as_echo "Checking if OSS audio is disabled... yes" >&6; } 
    116825646                        fi 
    116835647 
     
    116995663        SAVED_LIBS="$LIBS" 
    117005664        LIBS="-framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
    11701         cat >conftest.$ac_ext <<_ACEOF 
    11702 /* confdefs.h.  */ 
    11703 _ACEOF 
    11704 cat confdefs.h >>conftest.$ac_ext 
    11705 cat >>conftest.$ac_ext <<_ACEOF 
     5665        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    117065666/* end confdefs.h.  */ 
    117075667 
     
    117145674} 
    117155675_ACEOF 
    11716 rm -f conftest.$ac_objext conftest$ac_exeext 
    11717 if { (ac_try="$ac_link" 
    11718 case "(($ac_try" in 
    11719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11720   *) ac_try_echo=$ac_try;; 
    11721 esac 
    11722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11723   (eval "$ac_link") 2>conftest.er1 
    11724   ac_status=$? 
    11725   grep -v '^ *+' conftest.er1 >conftest.err 
    11726   rm -f conftest.er1 
    11727   cat conftest.err >&5 
    11728   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11729   (exit $ac_status); } && { 
    11730          test -z "$ac_c_werror_flag" || 
    11731          test ! -s conftest.err 
    11732        } && test -s conftest$ac_exeext && 
    11733        $as_test_x conftest$ac_exeext; then 
     5676if ac_fn_c_try_link "$LINENO"; then : 
    117345677  ac_pjmedia_video_has_ios=yes 
    117355678else 
    11736   echo "$as_me: failed program was:" >&5 
    11737 sed 's/^/| /' conftest.$ac_ext >&5 
    11738  
    11739         ac_pjmedia_video_has_ios=no 
    11740 fi 
    11741  
    11742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11743       conftest$ac_exeext conftest.$ac_ext 
     5679  ac_pjmedia_video_has_ios=no 
     5680fi 
     5681rm -f core conftest.err conftest.$ac_objext \ 
     5682    conftest$ac_exeext conftest.$ac_ext 
    117445683        LIBS="$SAVED_LIBS" 
    117455684        if test "$ac_pjmedia_video_has_ios" = "yes"; then 
    117465685          ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 
    117475686          LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
    11748           { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... yes" >&5 
    11749 echo "${ECHO_T}Checking if AVFoundation framework is available... yes" >&6; } 
     5687          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... yes" >&5 
     5688$as_echo "Checking if AVFoundation framework is available... yes" >&6; } 
    117505689        else 
    11751           { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... no" >&5 
    11752 echo "${ECHO_T}Checking if AVFoundation framework is available... no" >&6; } 
     5690          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... no" >&5 
     5691$as_echo "Checking if AVFoundation framework is available... no" >&6; } 
    117535692        fi 
    117545693        ;; 
     
    117595698        SAVED_LIBS="$LIBS" 
    117605699        LIBS="-framework QTKit" 
    11761         cat >conftest.$ac_ext <<_ACEOF 
    11762 /* confdefs.h.  */ 
    11763 _ACEOF 
    11764 cat confdefs.h >>conftest.$ac_ext 
    11765 cat >>conftest.$ac_ext <<_ACEOF 
     5700        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    117665701/* end confdefs.h.  */ 
    117675702 
     
    117745709} 
    117755710_ACEOF 
    11776 rm -f conftest.$ac_objext conftest$ac_exeext 
    11777 if { (ac_try="$ac_link" 
    11778 case "(($ac_try" in 
    11779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11780   *) ac_try_echo=$ac_try;; 
    11781 esac 
    11782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11783   (eval "$ac_link") 2>conftest.er1 
    11784   ac_status=$? 
    11785   grep -v '^ *+' conftest.er1 >conftest.err 
    11786   rm -f conftest.er1 
    11787   cat conftest.err >&5 
    11788   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11789   (exit $ac_status); } && { 
    11790          test -z "$ac_c_werror_flag" || 
    11791          test ! -s conftest.err 
    11792        } && test -s conftest$ac_exeext && 
    11793        $as_test_x conftest$ac_exeext; then 
     5711if ac_fn_c_try_link "$LINENO"; then : 
    117945712  ac_pjmedia_video_has_qt=yes 
    117955713else 
    11796   echo "$as_me: failed program was:" >&5 
    11797 sed 's/^/| /' conftest.$ac_ext >&5 
    11798  
    11799         ac_pjmedia_video_has_qt=no 
    11800 fi 
    11801  
    11802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11803       conftest$ac_exeext conftest.$ac_ext 
     5714  ac_pjmedia_video_has_qt=no 
     5715fi 
     5716rm -f core conftest.err conftest.$ac_objext \ 
     5717    conftest$ac_exeext conftest.$ac_ext 
    118045718        LIBS="$SAVED_LIBS" 
    118055719        if test "$ac_pjmedia_video_has_qt" = "yes"; then 
    118065720          ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 
    118075721          LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 
    11808           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 
    11809 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 
     5722          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 
     5723$as_echo "Checking if QTKit framework is available... yes" >&6; } 
    118105724        else 
    11811           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 
    11812 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 
     5725          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 
     5726$as_echo "Checking if QTKit framework is available... no" >&6; } 
    118135727        fi 
    118145728        ;; 
     
    118175731 
    118185732# Check whether --enable-ext_sound was given. 
    11819 if test "${enable_ext_sound+set}" = set; then 
     5733if test "${enable_ext_sound+set}" = set; then : 
    118205734  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    118215735                ac_pjmedia_snd=external 
    11822                 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
    11823 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
     5736                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
     5737$as_echo "Checking if external sound is set... yes" >&6; } 
    118245738               fi 
    118255739 
     
    118295743 
    118305744# Check whether --enable-small-filter was given. 
    11831 if test "${enable_small_filter+set}" = set; then 
     5745if test "${enable_small_filter+set}" = set; then : 
    118325746  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    118335747                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    11834                 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    11835 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
     5748                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
     5749$as_echo "Checking if small filter is disabled... yes" >&6; } 
    118365750               fi 
    118375751else 
    11838   { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    11839 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
     5752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
     5753$as_echo "Checking if small filter is disabled... no" >&6; } 
    118405754fi 
    118415755 
     
    118435757 
    118445758# Check whether --enable-large-filter was given. 
    11845 if test "${enable_large_filter+set}" = set; then 
     5759if test "${enable_large_filter+set}" = set; then : 
    118465760  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    118475761                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    11848                 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    11849 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
     5762                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
     5763$as_echo "Checking if large filter is disabled... yes" >&6; } 
    118505764               fi 
    118515765else 
    11852   { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    11853 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
     5766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
     5767$as_echo "Checking if large filter is disabled... no" >&6; } 
    118545768fi 
    118555769 
     
    118575771 
    118585772# Check whether --enable-speex-aec was given. 
    11859 if test "${enable_speex_aec+set}" = set; then 
     5773if test "${enable_speex_aec+set}" = set; then : 
    118605774  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    118615775                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    11862                 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    11863 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
     5776                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
     5777$as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
    118645778               fi 
    118655779else 
    11866   { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    11867 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
     5780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
     5781$as_echo "Checking if Speex AEC is disabled...no" >&6; } 
    118685782fi 
    118695783 
     
    118715785 
    118725786# Check whether --enable-g711-codec was given. 
    11873 if test "${enable_g711_codec+set}" = set; then 
     5787if test "${enable_g711_codec+set}" = set; then : 
    118745788  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    118755789                ac_no_g711_codec=1 
    11876                 cat >>confdefs.h <<\_ACEOF 
    11877 #define PJMEDIA_HAS_G711_CODEC 0 
    11878 _ACEOF 
    11879  
    11880                 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    11881 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
     5790                $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
     5791 
     5792                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
     5793$as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
    118825794               fi 
    118835795else 
    11884   { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    11885 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
     5796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
     5797$as_echo "Checking if G.711 codec is disabled...no" >&6; } 
    118865798fi 
    118875799 
     
    118905802 
    118915803# Check whether --enable-l16-codec was given. 
    11892 if test "${enable_l16_codec+set}" = set; then 
     5804if test "${enable_l16_codec+set}" = set; then : 
    118935805  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    118945806                ac_no_l16_codec=1 
    11895                 cat >>confdefs.h <<\_ACEOF 
    11896 #define PJMEDIA_HAS_L16_CODEC 0 
    11897 _ACEOF 
    11898  
    11899                 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    11900 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
     5807                $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
     5808 
     5809                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
     5810$as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
    119015811               fi 
    119025812else 
    11903   { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
    11904 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
     5813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
     5814$as_echo "Checking if L16 codec is disabled...no" >&6; } 
    119055815fi 
    119065816 
     
    119095819 
    119105820# Check whether --enable-gsm-codec was given. 
    11911 if test "${enable_gsm_codec+set}" = set; then 
     5821if test "${enable_gsm_codec+set}" = set; then : 
    119125822  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    119135823                ac_no_gsm_codec=1 
    11914                 cat >>confdefs.h <<\_ACEOF 
    11915 #define PJMEDIA_HAS_GSM_CODEC 0 
    11916 _ACEOF 
    11917  
    11918                 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    11919 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
     5824                $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
     5825 
     5826                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
     5827$as_echo "Checking if GSM codec is disabled...yes" >&6; } 
    119205828               fi 
    119215829else 
    11922   { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    11923 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
     5830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
     5831$as_echo "Checking if GSM codec is disabled...no" >&6; } 
    119245832fi 
    119255833 
     
    119275835 
    119285836# Check whether --enable-g722-codec was given. 
    11929 if test "${enable_g722_codec+set}" = set; then 
     5837if test "${enable_g722_codec+set}" = set; then : 
    119305838  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    119315839                ac_no_g722_codec=1 
    11932                 cat >>confdefs.h <<\_ACEOF 
    11933 #define PJMEDIA_HAS_G722_CODEC 0 
    11934 _ACEOF 
    11935  
    11936                 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
    11937 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
     5840                $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
     5841 
     5842                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
     5843$as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
    119385844               fi 
    119395845else 
    11940   { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
    11941 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
     5846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
     5847$as_echo "Checking if G.722 codec is disabled...no" >&6; } 
    119425848fi 
    119435849 
     
    119455851 
    119465852# Check whether --enable-g7221-codec was given. 
    11947 if test "${enable_g7221_codec+set}" = set; then 
     5853if test "${enable_g7221_codec+set}" = set; then : 
    119485854  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    119495855                ac_no_g7221_codec=1 
    11950                 cat >>confdefs.h <<\_ACEOF 
    11951 #define PJMEDIA_HAS_G7221_CODEC 0 
    11952 _ACEOF 
    11953  
    11954                 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
    11955 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
     5856                $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
     5857 
     5858                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
     5859$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
    119565860               fi 
    119575861else 
    11958   { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
    11959 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
     5862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
     5863$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
    119605864fi 
    119615865 
     
    119635867 
    119645868# Check whether --enable-speex-codec was given. 
    11965 if test "${enable_speex_codec+set}" = set; then 
     5869if test "${enable_speex_codec+set}" = set; then : 
    119665870  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    119675871                ac_no_speex_codec=1 
    11968                 cat >>confdefs.h <<\_ACEOF 
    11969 #define PJMEDIA_HAS_SPEEX_CODEC 0 
    11970 _ACEOF 
    11971  
    11972                 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    11973 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
     5872                $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
     5873 
     5874                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
     5875$as_echo "Checking if Speex codec is disabled...yes" >&6; } 
    119745876               fi 
    119755877else 
    11976   { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    11977 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
     5878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
     5879$as_echo "Checking if Speex codec is disabled...no" >&6; } 
    119785880fi 
    119795881 
     
    119815883 
    119825884# Check whether --enable-ilbc-codec was given. 
    11983 if test "${enable_ilbc_codec+set}" = set; then 
     5885if test "${enable_ilbc_codec+set}" = set; then : 
    119845886  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    119855887                ac_no_ilbc_codec=1 
    11986                 cat >>confdefs.h <<\_ACEOF 
    11987 #define PJMEDIA_HAS_ILBC_CODEC 0 
    11988 _ACEOF 
    11989  
    11990                 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    11991 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
     5888                $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
     5889 
     5890                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
     5891$as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
    119925892               fi 
    119935893else 
    11994   { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    11995 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
     5894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
     5895$as_echo "Checking if iLBC codec is disabled...no" >&6; } 
    119965896fi 
    119975897 
    119985898 
    119995899# Check whether --enable-libsamplerate was given. 
    12000 if test "${enable_libsamplerate+set}" = set; then 
    12001   enableval=$enable_libsamplerate; 
    12002 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
    12003 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
    12004 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
    12005   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5900if test "${enable_libsamplerate+set}" = set; then : 
     5901  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
     5902$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
     5903if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5904  $as_echo_n "(cached) " >&6 
    120065905else 
    120075906  ac_check_lib_save_LIBS=$LIBS 
    120085907LIBS="-lsamplerate  $LIBS" 
    12009 cat >conftest.$ac_ext <<_ACEOF 
    12010 /* confdefs.h.  */ 
    12011 _ACEOF 
    12012 cat confdefs.h >>conftest.$ac_ext 
    12013 cat >>conftest.$ac_ext <<_ACEOF 
     5908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    120145909/* end confdefs.h.  */ 
    120155910 
     
    120295924} 
    120305925_ACEOF 
    12031 rm -f conftest.$ac_objext conftest$ac_exeext 
    12032 if { (ac_try="$ac_link" 
    12033 case "(($ac_try" in 
    12034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12035   *) ac_try_echo=$ac_try;; 
    12036 esac 
    12037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12038   (eval "$ac_link") 2>conftest.er1 
    12039   ac_status=$? 
    12040   grep -v '^ *+' conftest.er1 >conftest.err 
    12041   rm -f conftest.er1 
    12042   cat conftest.err >&5 
    12043   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12044   (exit $ac_status); } && { 
    12045          test -z "$ac_c_werror_flag" || 
    12046          test ! -s conftest.err 
    12047        } && test -s conftest$ac_exeext && 
    12048        $as_test_x conftest$ac_exeext; then 
     5926if ac_fn_c_try_link "$LINENO"; then : 
    120495927  ac_cv_lib_samplerate_src_new=yes 
    120505928else 
    12051   echo "$as_me: failed program was:" >&5 
    12052 sed 's/^/| /' conftest.$ac_ext >&5 
    12053  
    12054         ac_cv_lib_samplerate_src_new=no 
    12055 fi 
    12056  
    12057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12058       conftest$ac_exeext conftest.$ac_ext 
     5929  ac_cv_lib_samplerate_src_new=no 
     5930fi 
     5931rm -f core conftest.err conftest.$ac_objext \ 
     5932    conftest$ac_exeext conftest.$ac_ext 
    120595933LIBS=$ac_check_lib_save_LIBS 
    120605934fi 
    12061 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
    12062 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
    12063 if test $ac_cv_lib_samplerate_src_new = yes; then 
     5935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
     5936$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
     5937if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
    120645938  cat >>confdefs.h <<_ACEOF 
    120655939#define HAVE_LIBSAMPLERATE 1 
     
    120715945 
    120725946else 
    12073   { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
    12074 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
     5947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
     5948$as_echo "Skipping libsamplerate detection" >&6; } 
    120755949 
    120765950fi 
     
    120795953 
    120805954# Check whether --with-sdl was given. 
    12081 if test "${with_sdl+set}" = set; then 
     5955if test "${with_sdl+set}" = set; then : 
    120825956  withval=$with_sdl; 
    120835957else 
     
    120885962 
    120895963# Check whether --enable-sdl was given. 
    12090 if test "${enable_sdl+set}" = set; then 
     5964if test "${enable_sdl+set}" = set; then : 
    120915965  enableval=$enable_sdl; 
    120925966                if test "$enable_sdl" = "no"; then 
    12093                   { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 
    12094 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 
     5967                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 
     5968$as_echo "Checking if SDL is disabled... yes" >&6; } 
    120955969                fi 
    120965970 
     
    121005974                  if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 
    121015975                        SDL_CONFIG=$with_sdl/bin/sdl-config 
    12102                         { echo "$as_me:$LINENO: result: Using SDL prefix... $with_sdl" >&5 
    12103 echo "${ECHO_T}Using SDL prefix... $with_sdl" >&6; } 
     5976                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&5 
     5977$as_echo "Using SDL prefix... $with_sdl" >&6; } 
    121045978                  fi 
    121055979 
    12106                   { echo "$as_me:$LINENO: checking SDL availability.." >&5 
    12107 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 
     5980                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 
     5981$as_echo_n "checking SDL availability..... " >&6; } 
    121085982                  if (sh -c "$SDL_CONFIG --version" | grep 1.3) then 
    121095983 
     
    121145988                          LIBS="$LIBS $ac_sdl_ldflags" 
    121155989                   else 
    12116                         { echo "$as_me:$LINENO: result: Unsupported SDL version" >&5 
    12117 echo "${ECHO_T}Unsupported SDL version" >&6; } 
     5990                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unsupported SDL version" >&5 
     5991$as_echo "Unsupported SDL version" >&6; } 
    121185992                   fi 
    121195993 
     
    121235997 
    121245998# Check whether --enable-ffmpeg was given. 
    12125 if test "${enable_ffmpeg+set}" = set; then 
     5999if test "${enable_ffmpeg+set}" = set; then : 
    121266000  enableval=$enable_ffmpeg; 
    121276001                ac_has_ffmpeg=0 
    121286002 
    121296003                if test "$enable_ffmpeg" = "no"; then 
    12130                         { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 
    12131 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 
     6004                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 
     6005$as_echo "Checking if ffmpeg is disabled... yes" >&6; } 
    121326006                fi 
    121336007 
     
    121376011 
    121386012 
    12139  
    12140 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5 
    12141 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; } 
    12142 if test "${ac_cv_lib_z_deflate+set}" = set; then 
    12143   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6013                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 
     6014$as_echo_n "checking for deflate in -lz... " >&6; } 
     6015if test "${ac_cv_lib_z_deflate+set}" = set; then : 
     6016  $as_echo_n "(cached) " >&6 
    121446017else 
    121456018  ac_check_lib_save_LIBS=$LIBS 
    121466019LIBS="-lz  $LIBS" 
    12147 cat >conftest.$ac_ext <<_ACEOF 
    12148 /* confdefs.h.  */ 
    12149 _ACEOF 
    12150 cat confdefs.h >>conftest.$ac_ext 
    12151 cat >>conftest.$ac_ext <<_ACEOF 
     6020cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    121526021/* end confdefs.h.  */ 
    121536022 
     
    121676036} 
    121686037_ACEOF 
    12169 rm -f conftest.$ac_objext conftest$ac_exeext 
    12170 if { (ac_try="$ac_link" 
    12171 case "(($ac_try" in 
    12172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12173   *) ac_try_echo=$ac_try;; 
    12174 esac 
    12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12176   (eval "$ac_link") 2>conftest.er1 
    12177   ac_status=$? 
    12178   grep -v '^ *+' conftest.er1 >conftest.err 
    12179   rm -f conftest.er1 
    12180   cat conftest.err >&5 
    12181   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12182   (exit $ac_status); } && { 
    12183          test -z "$ac_c_werror_flag" || 
    12184          test ! -s conftest.err 
    12185        } && test -s conftest$ac_exeext && 
    12186        $as_test_x conftest$ac_exeext; then 
     6038if ac_fn_c_try_link "$LINENO"; then : 
    121876039  ac_cv_lib_z_deflate=yes 
    121886040else 
    12189   echo "$as_me: failed program was:" >&5 
    12190 sed 's/^/| /' conftest.$ac_ext >&5 
    12191  
    12192         ac_cv_lib_z_deflate=no 
    12193 fi 
    12194  
    12195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12196       conftest$ac_exeext conftest.$ac_ext 
     6041  ac_cv_lib_z_deflate=no 
     6042fi 
     6043rm -f core conftest.err conftest.$ac_objext \ 
     6044    conftest$ac_exeext conftest.$ac_ext 
    121976045LIBS=$ac_check_lib_save_LIBS 
    121986046fi 
    12199 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 
    12200 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; } 
    12201 if test $ac_cv_lib_z_deflate = yes; then 
     6047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 
     6048$as_echo "$ac_cv_lib_z_deflate" >&6; } 
     6049if test "x$ac_cv_lib_z_deflate" = x""yes; then : 
    122026050  cat >>confdefs.h <<_ACEOF 
    122036051#define HAVE_LIBZ 1 
     
    122056053 
    122066054  LIBS="-lz $LIBS" 
     6055 
     6056fi 
     6057 
     6058                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x264_free in -lx264" >&5 
     6059$as_echo_n "checking for x264_free in -lx264... " >&6; } 
     6060if test "${ac_cv_lib_x264_x264_free+set}" = set; then : 
     6061  $as_echo_n "(cached) " >&6 
     6062else 
     6063  ac_check_lib_save_LIBS=$LIBS 
     6064LIBS="-lx264  $LIBS" 
     6065cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     6066/* end confdefs.h.  */ 
     6067 
     6068/* Override any GCC internal prototype to avoid an error. 
     6069   Use char because int might match the return type of a GCC 
     6070   builtin and then its argument prototype would still apply.  */ 
     6071#ifdef __cplusplus 
     6072extern "C" 
     6073#endif 
     6074char x264_free (); 
     6075int 
     6076main () 
     6077{ 
     6078return x264_free (); 
     6079  ; 
     6080  return 0; 
     6081} 
     6082_ACEOF 
     6083if ac_fn_c_try_link "$LINENO"; then : 
     6084  ac_cv_lib_x264_x264_free=yes 
     6085else 
     6086  ac_cv_lib_x264_x264_free=no 
     6087fi 
     6088rm -f core conftest.err conftest.$ac_objext \ 
     6089    conftest$ac_exeext conftest.$ac_ext 
     6090LIBS=$ac_check_lib_save_LIBS 
     6091fi 
     6092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_x264_x264_free" >&5 
     6093$as_echo "$ac_cv_lib_x264_x264_free" >&6; } 
     6094if test "x$ac_cv_lib_x264_x264_free" = x""yes; then : 
     6095  cat >>confdefs.h <<_ACEOF 
     6096#define HAVE_LIBX264 1 
     6097_ACEOF 
     6098 
     6099  LIBS="-lx264 $LIBS" 
    122076100 
    122086101fi 
     
    122126105                if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then 
    122136106                        FFMPEG_PREFIX=$with_ffmpeg 
    12214                         { echo "$as_me:$LINENO: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
    12215 echo "${ECHO_T}Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
     6107                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
     6108$as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
    122166109                        LIBS="-L$FFMPEG_PREFIX/lib $LIBS" 
    122176110                        LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" 
     
    122196112                fi 
    122206113 
    12221                 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 
    12222 echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 
    12223 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 
    12224   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6114                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
     6115$as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
     6116if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
     6117  $as_echo_n "(cached) " >&6 
    122256118else 
    122266119  ac_check_lib_save_LIBS=$LIBS 
    122276120LIBS="-lavdevice  $LIBS" 
    12228 cat >conftest.$ac_ext <<_ACEOF 
    12229 /* confdefs.h.  */ 
    12230 _ACEOF 
    12231 cat confdefs.h >>conftest.$ac_ext 
    12232 cat >>conftest.$ac_ext <<_ACEOF 
     6121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122336122/* end confdefs.h.  */ 
    122346123 
     
    122486137} 
    122496138_ACEOF 
    12250 rm -f conftest.$ac_objext conftest$ac_exeext 
    12251 if { (ac_try="$ac_link" 
    12252 case "(($ac_try" in 
    12253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12254   *) ac_try_echo=$ac_try;; 
    12255 esac 
    12256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12257   (eval "$ac_link") 2>conftest.er1 
    12258   ac_status=$? 
    12259   grep -v '^ *+' conftest.er1 >conftest.err 
    12260   rm -f conftest.er1 
    12261   cat conftest.err >&5 
    12262   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12263   (exit $ac_status); } && { 
    12264          test -z "$ac_c_werror_flag" || 
    12265          test ! -s conftest.err 
    12266        } && test -s conftest$ac_exeext && 
    12267        $as_test_x conftest$ac_exeext; then 
     6139if ac_fn_c_try_link "$LINENO"; then : 
    122686140  ac_cv_lib_avdevice_avdevice_version=yes 
    122696141else 
    12270   echo "$as_me: failed program was:" >&5 
    12271 sed 's/^/| /' conftest.$ac_ext >&5 
    12272  
    12273         ac_cv_lib_avdevice_avdevice_version=no 
    12274 fi 
    12275  
    12276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12277       conftest$ac_exeext conftest.$ac_ext 
     6142  ac_cv_lib_avdevice_avdevice_version=no 
     6143fi 
     6144rm -f core conftest.err conftest.$ac_objext \ 
     6145    conftest$ac_exeext conftest.$ac_ext 
    122786146LIBS=$ac_check_lib_save_LIBS 
    122796147fi 
    12280 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    12281 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    12282 if test $ac_cv_lib_avdevice_avdevice_version = yes; then 
     6148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
     6149$as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
     6150if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
    122836151  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    122846152                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    122876155fi 
    122886156 
    12289                 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 
    12290 echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 
    12291 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 
    12292   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6157                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
     6158$as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
     6159if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
     6160  $as_echo_n "(cached) " >&6 
    122936161else 
    122946162  ac_check_lib_save_LIBS=$LIBS 
    122956163LIBS="-lavformat -lavcodec -lavutil 
    122966164                              $LIBS" 
    12297 cat >conftest.$ac_ext <<_ACEOF 
    12298 /* confdefs.h.  */ 
    12299 _ACEOF 
    12300 cat confdefs.h >>conftest.$ac_ext 
    12301 cat >>conftest.$ac_ext <<_ACEOF 
     6165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    123026166/* end confdefs.h.  */ 
    123036167 
     
    123176181} 
    123186182_ACEOF 
    12319 rm -f conftest.$ac_objext conftest$ac_exeext 
    12320 if { (ac_try="$ac_link" 
    12321 case "(($ac_try" in 
    12322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12323   *) ac_try_echo=$ac_try;; 
    12324 esac 
    12325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12326   (eval "$ac_link") 2>conftest.er1 
    12327   ac_status=$? 
    12328   grep -v '^ *+' conftest.er1 >conftest.err 
    12329   rm -f conftest.er1 
    12330   cat conftest.err >&5 
    12331   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12332   (exit $ac_status); } && { 
    12333          test -z "$ac_c_werror_flag" || 
    12334          test ! -s conftest.err 
    12335        } && test -s conftest$ac_exeext && 
    12336        $as_test_x conftest$ac_exeext; then 
     6183if ac_fn_c_try_link "$LINENO"; then : 
    123376184  ac_cv_lib_avformat_av_register_all=yes 
    123386185else 
    12339   echo "$as_me: failed program was:" >&5 
    12340 sed 's/^/| /' conftest.$ac_ext >&5 
    12341  
    12342         ac_cv_lib_avformat_av_register_all=no 
    12343 fi 
    12344  
    12345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12346       conftest$ac_exeext conftest.$ac_ext 
     6186  ac_cv_lib_avformat_av_register_all=no 
     6187fi 
     6188rm -f core conftest.err conftest.$ac_objext \ 
     6189    conftest$ac_exeext conftest.$ac_ext 
    123476190LIBS=$ac_check_lib_save_LIBS 
    123486191fi 
    12349 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 
    12350 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 
    12351 if test $ac_cv_lib_avformat_av_register_all = yes; then 
     6192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
     6193$as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
     6194if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
    123526195  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    123536196                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    123556198fi 
    123566199 
    12357                 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 
    12358 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 
    12359 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 
    12360   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6200                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
     6201$as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
     6202if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
     6203  $as_echo_n "(cached) " >&6 
    123616204else 
    123626205  ac_check_lib_save_LIBS=$LIBS 
    123636206LIBS="-lavcodec -lavutil 
    123646207                              $LIBS" 
    12365 cat >conftest.$ac_ext <<_ACEOF 
    12366 /* confdefs.h.  */ 
    12367 _ACEOF 
    12368 cat confdefs.h >>conftest.$ac_ext 
    12369 cat >>conftest.$ac_ext <<_ACEOF 
     6208cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    123706209/* end confdefs.h.  */ 
    123716210 
     
    123856224} 
    123866225_ACEOF 
    12387 rm -f conftest.$ac_objext conftest$ac_exeext 
    12388 if { (ac_try="$ac_link" 
    12389 case "(($ac_try" in 
    12390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12391   *) ac_try_echo=$ac_try;; 
    12392 esac 
    12393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12394   (eval "$ac_link") 2>conftest.er1 
    12395   ac_status=$? 
    12396   grep -v '^ *+' conftest.er1 >conftest.err 
    12397   rm -f conftest.er1 
    12398   cat conftest.err >&5 
    12399   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12400   (exit $ac_status); } && { 
    12401          test -z "$ac_c_werror_flag" || 
    12402          test ! -s conftest.err 
    12403        } && test -s conftest$ac_exeext && 
    12404        $as_test_x conftest$ac_exeext; then 
     6226if ac_fn_c_try_link "$LINENO"; then : 
    124056227  ac_cv_lib_avcodec_avcodec_init=yes 
    124066228else 
    12407   echo "$as_me: failed program was:" >&5 
    12408 sed 's/^/| /' conftest.$ac_ext >&5 
    12409  
    12410         ac_cv_lib_avcodec_avcodec_init=no 
    12411 fi 
    12412  
    12413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12414       conftest$ac_exeext conftest.$ac_ext 
     6229  ac_cv_lib_avcodec_avcodec_init=no 
     6230fi 
     6231rm -f core conftest.err conftest.$ac_objext \ 
     6232    conftest$ac_exeext conftest.$ac_ext 
    124156233LIBS=$ac_check_lib_save_LIBS 
    124166234fi 
    12417 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    12418 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    12419 if test $ac_cv_lib_avcodec_avcodec_init = yes; then 
     6235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
     6236$as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
     6237if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
    124206238  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    124216239                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    124236241fi 
    124246242 
    12425                 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 
    12426 echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 
    12427 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 
    12428   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6243                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
     6244$as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
     6245if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
     6246  $as_echo_n "(cached) " >&6 
    124296247else 
    124306248  ac_check_lib_save_LIBS=$LIBS 
    124316249LIBS="-lswscale -lavutil 
    124326250                              $LIBS" 
    12433 cat >conftest.$ac_ext <<_ACEOF 
    12434 /* confdefs.h.  */ 
    12435 _ACEOF 
    12436 cat confdefs.h >>conftest.$ac_ext 
    12437 cat >>conftest.$ac_ext <<_ACEOF 
     6251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    124386252/* end confdefs.h.  */ 
    124396253 
     
    124536267} 
    124546268_ACEOF 
    12455 rm -f conftest.$ac_objext conftest$ac_exeext 
    12456 if { (ac_try="$ac_link" 
    12457 case "(($ac_try" in 
    12458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12459   *) ac_try_echo=$ac_try;; 
    12460 esac 
    12461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12462   (eval "$ac_link") 2>conftest.er1 
    12463   ac_status=$? 
    12464   grep -v '^ *+' conftest.er1 >conftest.err 
    12465   rm -f conftest.er1 
    12466   cat conftest.err >&5 
    12467   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12468   (exit $ac_status); } && { 
    12469          test -z "$ac_c_werror_flag" || 
    12470          test ! -s conftest.err 
    12471        } && test -s conftest$ac_exeext && 
    12472        $as_test_x conftest$ac_exeext; then 
     6269if ac_fn_c_try_link "$LINENO"; then : 
    124736270  ac_cv_lib_swscale_sws_scale=yes 
    124746271else 
    12475   echo "$as_me: failed program was:" >&5 
    12476 sed 's/^/| /' conftest.$ac_ext >&5 
    12477  
    12478         ac_cv_lib_swscale_sws_scale=no 
    12479 fi 
    12480  
    12481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12482       conftest$ac_exeext conftest.$ac_ext 
     6272  ac_cv_lib_swscale_sws_scale=no 
     6273fi 
     6274rm -f core conftest.err conftest.$ac_objext \ 
     6275    conftest$ac_exeext conftest.$ac_ext 
    124836276LIBS=$ac_check_lib_save_LIBS 
    124846277fi 
    12485 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 
    12486 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 
    12487 if test $ac_cv_lib_swscale_sws_scale = yes; then 
     6278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
     6279$as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
     6280if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
    124886281  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    124896282                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    124916284fi 
    124926285 
    12493                 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 
    12494 echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 
    12495 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 
    12496   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6286                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
     6287$as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
     6288if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
     6289  $as_echo_n "(cached) " >&6 
    124976290else 
    124986291  ac_check_lib_save_LIBS=$LIBS 
    124996292LIBS="-lavutil  $LIBS" 
    12500 cat >conftest.$ac_ext <<_ACEOF 
    12501 /* confdefs.h.  */ 
    12502 _ACEOF 
    12503 cat confdefs.h >>conftest.$ac_ext 
    12504 cat >>conftest.$ac_ext <<_ACEOF 
     6293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    125056294/* end confdefs.h.  */ 
    125066295 
     
    125206309} 
    125216310_ACEOF 
    12522 rm -f conftest.$ac_objext conftest$ac_exeext 
    12523 if { (ac_try="$ac_link" 
    12524 case "(($ac_try" in 
    12525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12526   *) ac_try_echo=$ac_try;; 
    12527 esac 
    12528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12529   (eval "$ac_link") 2>conftest.er1 
    12530   ac_status=$? 
    12531   grep -v '^ *+' conftest.er1 >conftest.err 
    12532   rm -f conftest.er1 
    12533   cat conftest.err >&5 
    12534   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12535   (exit $ac_status); } && { 
    12536          test -z "$ac_c_werror_flag" || 
    12537          test ! -s conftest.err 
    12538        } && test -s conftest$ac_exeext && 
    12539        $as_test_x conftest$ac_exeext; then 
     6311if ac_fn_c_try_link "$LINENO"; then : 
    125406312  ac_cv_lib_avutil_av_malloc=yes 
    125416313else 
    12542   echo "$as_me: failed program was:" >&5 
    12543 sed 's/^/| /' conftest.$ac_ext >&5 
    12544  
    12545         ac_cv_lib_avutil_av_malloc=no 
    12546 fi 
    12547  
    12548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12549       conftest$ac_exeext conftest.$ac_ext 
     6314  ac_cv_lib_avutil_av_malloc=no 
     6315fi 
     6316rm -f core conftest.err conftest.$ac_objext \ 
     6317    conftest$ac_exeext conftest.$ac_ext 
    125506318LIBS=$ac_check_lib_save_LIBS 
    125516319fi 
    12552 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 
    12553 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 
    12554 if test $ac_cv_lib_avutil_av_malloc = yes; then 
     6320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
     6321$as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
     6322if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
    125556323  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    125566324                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    125596327fi 
    125606328 
    12561                 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 
    12562 echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 
    12563 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 
    12564   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6329                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
     6330$as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
     6331if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
     6332  $as_echo_n "(cached) " >&6 
    125656333else 
    125666334  ac_check_lib_save_LIBS=$LIBS 
    125676335LIBS="-lavcore  $LIBS" 
    12568 cat >conftest.$ac_ext <<_ACEOF 
    12569 /* confdefs.h.  */ 
    12570 _ACEOF 
    12571 cat confdefs.h >>conftest.$ac_ext 
    12572 cat >>conftest.$ac_ext <<_ACEOF 
     6336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    125736337/* end confdefs.h.  */ 
    125746338 
     
    125886352} 
    125896353_ACEOF 
    12590 rm -f conftest.$ac_objext conftest$ac_exeext 
    12591 if { (ac_try="$ac_link" 
    12592 case "(($ac_try" in 
    12593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12594   *) ac_try_echo=$ac_try;; 
    12595 esac 
    12596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12597   (eval "$ac_link") 2>conftest.er1 
    12598   ac_status=$? 
    12599   grep -v '^ *+' conftest.er1 >conftest.err 
    12600   rm -f conftest.er1 
    12601   cat conftest.err >&5 
    12602   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12603   (exit $ac_status); } && { 
    12604          test -z "$ac_c_werror_flag" || 
    12605          test ! -s conftest.err 
    12606        } && test -s conftest$ac_exeext && 
    12607        $as_test_x conftest$ac_exeext; then 
     6354if ac_fn_c_try_link "$LINENO"; then : 
    126086355  ac_cv_lib_avcore_avcore_version=yes 
    126096356else 
    12610   echo "$as_me: failed program was:" >&5 
    12611 sed 's/^/| /' conftest.$ac_ext >&5 
    12612  
    12613         ac_cv_lib_avcore_avcore_version=no 
    12614 fi 
    12615  
    12616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12617       conftest$ac_exeext conftest.$ac_ext 
     6357  ac_cv_lib_avcore_avcore_version=no 
     6358fi 
     6359rm -f core conftest.err conftest.$ac_objext \ 
     6360    conftest$ac_exeext conftest.$ac_ext 
    126186361LIBS=$ac_check_lib_save_LIBS 
    126196362fi 
    12620 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 
    12621 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 
    12622 if test $ac_cv_lib_avcore_avcore_version = yes; then 
     6363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
     6364$as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
     6365if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
    126236366  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    126246367                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    126356378 
    126366379# Check whether --with-ffmpeg was given. 
    12637 if test "${with_ffmpeg+set}" = set; then 
     6380if test "${with_ffmpeg+set}" = set; then : 
    126386381  withval=$with_ffmpeg; 
    126396382else 
     
    126456388 
    126466389# Check whether --enable-v4l2 was given. 
    12647 if test "${enable_v4l2+set}" = set; then 
     6390if test "${enable_v4l2+set}" = set; then : 
    126486391  enableval=$enable_v4l2; 
    126496392                if test "$enable_v4l2" = "no"; then 
    12650                   { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 
    12651 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 
     6393                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 
     6394$as_echo "Checking if V4L2 is disabled... yes" >&6; } 
    126526395                fi 
    126536396 
     
    126566399 
    126576400 
    12658                 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 
    12659 echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 
    12660 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 
    12661   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6401                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
     6402$as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
     6403if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
     6404  $as_echo_n "(cached) " >&6 
    126626405else 
    126636406  ac_check_lib_save_LIBS=$LIBS 
    126646407LIBS="-lv4l2  $LIBS" 
    12665 cat >conftest.$ac_ext <<_ACEOF 
    12666 /* confdefs.h.  */ 
    12667 _ACEOF 
    12668 cat confdefs.h >>conftest.$ac_ext 
    12669 cat >>conftest.$ac_ext <<_ACEOF 
     6408cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    126706409/* end confdefs.h.  */ 
    126716410 
     
    126856424} 
    126866425_ACEOF 
    12687 rm -f conftest.$ac_objext conftest$ac_exeext 
    12688 if { (ac_try="$ac_link" 
    12689 case "(($ac_try" in 
    12690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12691   *) ac_try_echo=$ac_try;; 
    12692 esac 
    12693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12694   (eval "$ac_link") 2>conftest.er1 
    12695   ac_status=$? 
    12696   grep -v '^ *+' conftest.er1 >conftest.err 
    12697   rm -f conftest.er1 
    12698   cat conftest.err >&5 
    12699   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12700   (exit $ac_status); } && { 
    12701          test -z "$ac_c_werror_flag" || 
    12702          test ! -s conftest.err 
    12703        } && test -s conftest$ac_exeext && 
    12704        $as_test_x conftest$ac_exeext; then 
     6426if ac_fn_c_try_link "$LINENO"; then : 
    127056427  ac_cv_lib_v4l2_v4l2_open=yes 
    127066428else 
    12707   echo "$as_me: failed program was:" >&5 
    12708 sed 's/^/| /' conftest.$ac_ext >&5 
    12709  
    12710         ac_cv_lib_v4l2_v4l2_open=no 
    12711 fi 
    12712  
    12713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12714       conftest$ac_exeext conftest.$ac_ext 
     6429  ac_cv_lib_v4l2_v4l2_open=no 
     6430fi 
     6431rm -f core conftest.err conftest.$ac_objext \ 
     6432    conftest$ac_exeext conftest.$ac_ext 
    127156433LIBS=$ac_check_lib_save_LIBS 
    127166434fi 
    12717 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    12718 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    12719 if test $ac_cv_lib_v4l2_v4l2_open = yes; then 
     6435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
     6436$as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
     6437if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
    127206438  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    127216439                              ac_v4l2_ldflags="-lv4l2" 
     
    127306448 
    127316449# Check whether --enable-ipp was given. 
    12732 if test "${enable_ipp+set}" = set; then 
     6450if test "${enable_ipp+set}" = set; then : 
    127336451  enableval=$enable_ipp; 
    127346452else 
     
    127406458 
    127416459# Check whether --with-ipp was given. 
    12742 if test "${with_ipp+set}" = set; then 
     6460if test "${with_ipp+set}" = set; then : 
    127436461  withval=$with_ipp; 
    127446462else 
     
    127506468 
    127516469# Check whether --with-ipp-samples was given. 
    12752 if test "${with_ipp_samples+set}" = set; then 
     6470if test "${with_ipp_samples+set}" = set; then : 
    127536471  withval=$with_ipp_samples; 
    127546472else 
     
    127606478 
    127616479# Check whether --with-ipp-arch was given. 
    12762 if test "${with_ipp_arch+set}" = set; then 
     6480if test "${with_ipp_arch+set}" = set; then : 
    127636481  withval=$with_ipp_arch; 
    127646482else 
     
    127696487 
    127706488if test "x$enable_ipp" != "xno"; then 
    12771                 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
    12772 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
     6489                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
     6490$as_echo_n "checking Intel IPP location... " >&6; } 
    127736491 
    127746492    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    12775         { echo "$as_me:$LINENO: result: $with_ipp" >&5 
    12776 echo "${ECHO_T}$with_ipp" >&6; } 
     6493        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
     6494$as_echo "$with_ipp" >&6; } 
    127776495        IPPROOT=$with_ipp 
    127786496    elif test "x$IPPROOT" = "x"; then 
    127796497        if test -d /opt/intel/ipp; then 
    127806498            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    12781             { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
    12782 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
     6499            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
     6500$as_echo "autodetected in $IPPROOT" >&6; } 
    127836501        fi 
    127846502    else 
    12785         { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
    12786 echo "${ECHO_T}$IPPROOT" >&6; } 
     6503        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
     6504$as_echo "$IPPROOT" >&6; } 
    127876505    fi 
    127886506 
    127896507    if test "x$with_ipp_arch" != "xno"; then 
    127906508        IPP_SUFFIX=$with_ipp_arch 
    12791         { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    12792 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     6509        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     6510$as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    127936511    else 
    127946512        IPP_SUFFIX="" 
    12795         { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
    12796 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
     6513        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
     6514$as_echo "IPP arch suffix is set to empty" >&6; } 
    127976515    fi 
    127986516 
    127996517    if test x$IPPROOT = x; then 
    12800         { { 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 
    12801 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;} 
    12802    { (exit 1); exit 1; }; } 
     6518        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 
    128036519    elif test ! -d $IPPROOT; then 
    12804         { { echo "$as_me:$LINENO: error: not found" >&5 
    12805 echo "$as_me: error: not found" >&2;} 
    12806    { (exit 1); exit 1; }; } 
     6520        as_fn_error "not found" "$LINENO" 5 
    128076521    elif test ! -d $IPPROOT/include; then 
    12808         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12809 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12810    { (exit 1); exit 1; }; } 
     6522        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    128116523    else 
    128126524        # IPP directory looks okay. 
     
    128456557                   # IPP7 
    128466558                   if ! test -d $IPPROOT/../compiler; then 
    12847                         { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 
    12848 echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 
    12849    { (exit 1); exit 1; }; } 
     6559                        as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
    128506560                   fi 
    128516561                   IPP_CFLAGS="$IPP_CFLAGS" 
     
    128656575 
    128666576 
    12867         { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
    12868 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
    12869         cat >conftest.$ac_ext <<_ACEOF 
    12870 /* confdefs.h.  */ 
    12871 _ACEOF 
    12872 cat confdefs.h >>conftest.$ac_ext 
    12873 cat >>conftest.$ac_ext <<_ACEOF 
     6577        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
     6578$as_echo_n "checking Intel IPP usability... " >&6; } 
     6579        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    128746580/* end confdefs.h.  */ 
    128756581#include <ippcore.h> 
     
    128836589} 
    128846590_ACEOF 
    12885 rm -f conftest.$ac_objext conftest$ac_exeext 
    12886 if { (ac_try="$ac_link" 
    12887 case "(($ac_try" in 
    12888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12889   *) ac_try_echo=$ac_try;; 
    12890 esac 
    12891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12892   (eval "$ac_link") 2>conftest.er1 
    12893   ac_status=$? 
    12894   grep -v '^ *+' conftest.er1 >conftest.err 
    12895   rm -f conftest.er1 
    12896   cat conftest.err >&5 
    12897   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12898   (exit $ac_status); } && { 
    12899          test -z "$ac_c_werror_flag" || 
    12900          test ! -s conftest.err 
    12901        } && test -s conftest$ac_exeext && 
    12902        $as_test_x conftest$ac_exeext; then 
    12903   { echo "$as_me:$LINENO: result: ok" >&5 
    12904 echo "${ECHO_T}ok" >&6; } 
    12905 else 
    12906   echo "$as_me: failed program was:" >&5 
    12907 sed 's/^/| /' conftest.$ac_ext >&5 
    12908  
    12909         { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12910 See \`config.log' for more details." >&5 
    12911 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12912 See \`config.log' for more details." >&2;} 
    12913    { (exit run with --help for more info); exit run with --help for more info; }; } 
    12914 fi 
    12915  
    12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12917       conftest$ac_exeext conftest.$ac_ext 
     6591if ac_fn_c_try_link "$LINENO"; then : 
     6592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6593$as_echo "ok" >&6; } 
     6594else 
     6595  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6596$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6597{ as_fn_set_status run with --help for more info 
     6598as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     6599See \`config.log' for more details." "$LINENO" 5; }; } 
     6600fi 
     6601rm -f core conftest.err conftest.$ac_objext \ 
     6602    conftest$ac_exeext conftest.$ac_ext 
    129186603 
    129196604        CFLAGS="$SAVED_CFLAGS" 
     
    129226607    fi 
    129236608 
    12924                 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
    12925 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
     6609                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
     6610$as_echo_n "checking Intel IPP samples location... " >&6; } 
    129266611 
    129276612    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    12928         { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
    12929 echo "${ECHO_T}$with_ipp_samples" >&6; } 
     6613        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
     6614$as_echo "$with_ipp_samples" >&6; } 
    129306615        IPPSAMPLES=$with_ipp_samples 
    129316616    elif test "x$IPPSAMPLES" = "x"; then 
    129326617        if test -d /opt/intel/ipp-samples; then 
    129336618            IPPSAMPLES=/opt/intel/ipp-samples 
    12934             { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
    12935 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
     6619            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
     6620$as_echo "autodetected in $IPPSAMPLES" >&6; } 
    129366621        fi 
    129376622    else 
    12938         { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
    12939 echo "${ECHO_T}$IPPSAMPLES" >&6; } 
     6623        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
     6624$as_echo "$IPPSAMPLES" >&6; } 
    129406625    fi 
    129416626 
    129426627    if test x$IPPSAMPLES = x; then 
    12943         { { 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 
    12944 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;} 
    12945    { (exit 1); exit 1; }; } 
     6628        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 
    129466629    elif test ! -d $IPPSAMPLES; then 
    12947         { { echo "$as_me:$LINENO: error: not found" >&5 
    12948 echo "$as_me: error: not found" >&2;} 
    12949    { (exit 1); exit 1; }; } 
     6630        as_fn_error "not found" "$LINENO" 5 
    129506631    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    12951         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12952 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12953    { (exit 1); exit 1; }; } 
     6632        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    129546633    else 
    129556634        # Remove trailing backslash 
     
    129576636 
    129586637        # Guess the libusc.a/libspeech.a build location 
    12959         { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
    12960 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
     6638        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
     6639$as_echo_n "checking Intel IPP USC build location... " >&6; } 
    129616640        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    129626641            IPPVER=5 
     
    129716650                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    129726651            else 
    12973                 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12974 See \`config.log' for more details." >&5 
    12975 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12976 See \`config.log' for more details." >&2;} 
    12977    { (exit 1); exit 1; }; } 
     6652                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6653$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6654as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     6655See \`config.log' for more details." "$LINENO" 5; } 
    129786656            fi 
    129796657        else 
    12980             { { 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? 
    12981 See \`config.log' for more details." >&5 
    12982 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? 
    12983 See \`config.log' for more details." >&2;} 
    12984    { (exit 1); exit 1; }; } 
     6658            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6660as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     6661See \`config.log' for more details." "$LINENO" 5; } 
    129856662        fi 
    129866663 
    129876664        # Test the directory 
    129886665        if test ! -d $IPPSAMP_DIR; then 
    12989             { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12990 See \`config.log' for more details." >&5 
    12991 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12992 See \`config.log' for more details." >&2;} 
    12993    { (exit 1); exit 1; }; } 
     6666            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6667$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6668as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     6669See \`config.log' for more details." "$LINENO" 5; } 
    129946670            exit 1; 
    129956671        fi 
     
    130026678            IPPSAMP_LDLIBS="-lspeech" 
    130036679        else 
    13004             { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
    13005 See \`config.log' for more details." >&5 
    13006 echo "$as_me: error: bug in this script: unsupported IPP version 
    13007 See \`config.log' for more details." >&2;} 
    13008    { (exit 1); exit 1; }; } 
     6680            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6682as_fn_error "bug in this script: unsupported IPP version 
     6683See \`config.log' for more details." "$LINENO" 5; } 
    130096684        fi 
    130106685 
    130116686        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    13012             { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    13013 See \`config.log' for more details." >&5 
    13014 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    13015 See \`config.log' for more details." >&2;} 
    13016    { (exit 1); exit 1; }; } 
     6687            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6688$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6689as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     6690See \`config.log' for more details." "$LINENO" 5; } 
    130176691        fi 
    130186692 
    13019         { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
    13020 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
     6693        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
     6694$as_echo "$IPPSAMP_DIR" >&6; } 
    130216695 
    130226696        SAVED_CFLAGS="$CFLAGS" 
     
    130296703        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    130306704 
    13031         { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
    13032 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
    13033         cat >conftest.$ac_ext <<_ACEOF 
    13034 /* confdefs.h.  */ 
    13035 _ACEOF 
    13036 cat confdefs.h >>conftest.$ac_ext 
    13037 cat >>conftest.$ac_ext <<_ACEOF 
     6705        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
     6706$as_echo_n "checking Intel IPP USC usability... " >&6; } 
     6707        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    130386708/* end confdefs.h.  */ 
    130396709#include <usc.h> 
     
    130476717} 
    130486718_ACEOF 
    13049 rm -f conftest.$ac_objext conftest$ac_exeext 
    13050 if { (ac_try="$ac_link" 
    13051 case "(($ac_try" in 
    13052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13053   *) ac_try_echo=$ac_try;; 
    13054 esac 
    13055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13056   (eval "$ac_link") 2>conftest.er1 
    13057   ac_status=$? 
    13058   grep -v '^ *+' conftest.er1 >conftest.err 
    13059   rm -f conftest.er1 
    13060   cat conftest.err >&5 
    13061   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13062   (exit $ac_status); } && { 
    13063          test -z "$ac_c_werror_flag" || 
    13064          test ! -s conftest.err 
    13065        } && test -s conftest$ac_exeext && 
    13066        $as_test_x conftest$ac_exeext; then 
    13067   { echo "$as_me:$LINENO: result: ok" >&5 
    13068 echo "${ECHO_T}ok" >&6; } 
    13069 else 
    13070   echo "$as_me: failed program was:" >&5 
    13071 sed 's/^/| /' conftest.$ac_ext >&5 
    13072  
    13073         { { echo "$as_me:$LINENO: error: failed 
    13074 See \`config.log' for more details." >&5 
    13075 echo "$as_me: error: failed 
    13076 See \`config.log' for more details." >&2;} 
    13077    { (exit 1); exit 1; }; } 
    13078 fi 
    13079  
    13080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13081       conftest$ac_exeext conftest.$ac_ext 
     6719if ac_fn_c_try_link "$LINENO"; then : 
     6720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6721$as_echo "ok" >&6; } 
     6722else 
     6723  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6725as_fn_error "failed 
     6726See \`config.log' for more details." "$LINENO" 5; } 
     6727fi 
     6728rm -f core conftest.err conftest.$ac_objext \ 
     6729    conftest$ac_exeext conftest.$ac_ext 
    130826730 
    130836731        CFLAGS="$SAVED_CFLAGS" 
     
    130996747export IPP_LIBS=$IPP_LIBS" 
    131006748else 
    13101     { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
    13102 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
     6749    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
     6750$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
    131036751fi 
    131046752 
     
    131076755 
    131086756# Check whether --enable-ssl was given. 
    13109 if test "${enable_ssl+set}" = set; then 
     6757if test "${enable_ssl+set}" = set; then : 
    131106758  enableval=$enable_ssl; 
    131116759                if test "$enable_ssl" = "no"; then 
    131126760                 ac_no_ssl=1 
    13113                  { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
    13114 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
     6761                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
     6762$as_echo "Checking if SSL support is disabled... yes" >&6; } 
    131156763                fi 
    131166764 
    131176765else 
    131186766 
    13119                 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
    13120 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
    13121  
    13122  
    13123  
    13124                 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    13125   { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    13126 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    13127 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    13128   echo $ECHO_N "(cached) $ECHO_C" >&6 
    13129 fi 
    13130 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    13131 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    13132 else 
    13133   # Is the header compilable? 
    13134 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
    13135 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
    13136 cat >conftest.$ac_ext <<_ACEOF 
    13137 /* confdefs.h.  */ 
    13138 _ACEOF 
    13139 cat confdefs.h >>conftest.$ac_ext 
    13140 cat >>conftest.$ac_ext <<_ACEOF 
    13141 /* end confdefs.h.  */ 
    13142 $ac_includes_default 
    13143 #include <openssl/ssl.h> 
    13144 _ACEOF 
    13145 rm -f conftest.$ac_objext 
    13146 if { (ac_try="$ac_compile" 
    13147 case "(($ac_try" in 
    13148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13149   *) ac_try_echo=$ac_try;; 
    13150 esac 
    13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13152   (eval "$ac_compile") 2>conftest.er1 
    13153   ac_status=$? 
    13154   grep -v '^ *+' conftest.er1 >conftest.err 
    13155   rm -f conftest.er1 
    13156   cat conftest.err >&5 
    13157   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13158   (exit $ac_status); } && { 
    13159          test -z "$ac_c_werror_flag" || 
    13160          test ! -s conftest.err 
    13161        } && test -s conftest.$ac_objext; then 
    13162   ac_header_compiler=yes 
    13163 else 
    13164   echo "$as_me: failed program was:" >&5 
    13165 sed 's/^/| /' conftest.$ac_ext >&5 
    13166  
    13167         ac_header_compiler=no 
    13168 fi 
    13169  
    13170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    13171 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    13172 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    13173  
    13174 # Is the header present? 
    13175 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
    13176 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
    13177 cat >conftest.$ac_ext <<_ACEOF 
    13178 /* confdefs.h.  */ 
    13179 _ACEOF 
    13180 cat confdefs.h >>conftest.$ac_ext 
    13181 cat >>conftest.$ac_ext <<_ACEOF 
    13182 /* end confdefs.h.  */ 
    13183 #include <openssl/ssl.h> 
    13184 _ACEOF 
    13185 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    13186 case "(($ac_try" in 
    13187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13188   *) ac_try_echo=$ac_try;; 
    13189 esac 
    13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13191   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    13192   ac_status=$? 
    13193   grep -v '^ *+' conftest.er1 >conftest.err 
    13194   rm -f conftest.er1 
    13195   cat conftest.err >&5 
    13196   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13197   (exit $ac_status); } >/dev/null && { 
    13198          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    13199          test ! -s conftest.err 
    13200        }; then 
    13201   ac_header_preproc=yes 
    13202 else 
    13203   echo "$as_me: failed program was:" >&5 
    13204 sed 's/^/| /' conftest.$ac_ext >&5 
    13205  
    13206   ac_header_preproc=no 
    13207 fi 
    13208  
    13209 rm -f conftest.err conftest.$ac_ext 
    13210 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    13211 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    13212  
    13213 # So?  What about this header? 
    13214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    13215   yes:no: ) 
    13216     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    13217 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    13218     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
    13219 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
    13220     ac_header_preproc=yes 
    13221     ;; 
    13222   no:yes:* ) 
    13223     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
    13224 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
    13225     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
    13226 echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
    13227     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
    13228 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
    13229     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    13230 echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    13231     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
    13232 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
    13233     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
    13234 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
    13235  
    13236     ;; 
    13237 esac 
    13238 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    13239 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    13240 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    13241   echo $ECHO_N "(cached) $ECHO_C" >&6 
    13242 else 
    13243   ac_cv_header_openssl_ssl_h=$ac_header_preproc 
    13244 fi 
    13245 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    13246 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    13247  
    13248 fi 
    13249 if test $ac_cv_header_openssl_ssl_h = yes; then 
     6767                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
     6768$as_echo "checking for OpenSSL installations.." >&6; } 
     6769 
     6770 
     6771 
     6772                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
     6773if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
    132506774  openssl_h_present=1 
    132516775fi 
    132526776 
    132536777 
    13254                 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    13255 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
    13256 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
    13257   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6778                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     6779$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
     6780if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     6781  $as_echo_n "(cached) " >&6 
    132586782else 
    132596783  ac_check_lib_save_LIBS=$LIBS 
    132606784LIBS="-lcrypto  $LIBS" 
    13261 cat >conftest.$ac_ext <<_ACEOF 
    13262 /* confdefs.h.  */ 
    13263 _ACEOF 
    13264 cat confdefs.h >>conftest.$ac_ext 
    13265 cat >>conftest.$ac_ext <<_ACEOF 
     6785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    132666786/* end confdefs.h.  */ 
    132676787 
     
    132816801} 
    132826802_ACEOF 
    13283 rm -f conftest.$ac_objext conftest$ac_exeext 
    13284 if { (ac_try="$ac_link" 
    13285 case "(($ac_try" in 
    13286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13287   *) ac_try_echo=$ac_try;; 
    13288 esac 
    13289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13290   (eval "$ac_link") 2>conftest.er1 
    13291   ac_status=$? 
    13292   grep -v '^ *+' conftest.er1 >conftest.err 
    13293   rm -f conftest.er1 
    13294   cat conftest.err >&5 
    13295   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13296   (exit $ac_status); } && { 
    13297          test -z "$ac_c_werror_flag" || 
    13298          test ! -s conftest.err 
    13299        } && test -s conftest$ac_exeext && 
    13300        $as_test_x conftest$ac_exeext; then 
     6803if ac_fn_c_try_link "$LINENO"; then : 
    133016804  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    133026805else 
    13303   echo "$as_me: failed program was:" >&5 
    13304 sed 's/^/| /' conftest.$ac_ext >&5 
    13305  
    13306         ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    13307 fi 
    13308  
    13309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13310       conftest$ac_exeext conftest.$ac_ext 
     6806  ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     6807fi 
     6808rm -f core conftest.err conftest.$ac_objext \ 
     6809    conftest$ac_exeext conftest.$ac_ext 
    133116810LIBS=$ac_check_lib_save_LIBS 
    133126811fi 
    13313 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    13314 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    13315 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     6812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     6813$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     6814if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
    133166815  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    133176816fi 
    133186817 
    13319                 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
    13320 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
    13321 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
    13322   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6818                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
     6819$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
     6820if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     6821  $as_echo_n "(cached) " >&6 
    133236822else 
    133246823  ac_check_lib_save_LIBS=$LIBS 
    133256824LIBS="-lssl  $LIBS" 
    13326 cat >conftest.$ac_ext <<_ACEOF 
    13327 /* confdefs.h.  */ 
    13328 _ACEOF 
    13329 cat confdefs.h >>conftest.$ac_ext 
    13330 cat >>conftest.$ac_ext <<_ACEOF 
     6825cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    133316826/* end confdefs.h.  */ 
    133326827 
     
    133466841} 
    133476842_ACEOF 
    13348 rm -f conftest.$ac_objext conftest$ac_exeext 
    13349 if { (ac_try="$ac_link" 
    13350 case "(($ac_try" in 
    13351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13352   *) ac_try_echo=$ac_try;; 
    13353 esac 
    13354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13355   (eval "$ac_link") 2>conftest.er1 
    13356   ac_status=$? 
    13357   grep -v '^ *+' conftest.er1 >conftest.err 
    13358   rm -f conftest.er1 
    13359   cat conftest.err >&5 
    13360   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13361   (exit $ac_status); } && { 
    13362          test -z "$ac_c_werror_flag" || 
    13363          test ! -s conftest.err 
    13364        } && test -s conftest$ac_exeext && 
    13365        $as_test_x conftest$ac_exeext; then 
     6843if ac_fn_c_try_link "$LINENO"; then : 
    133666844  ac_cv_lib_ssl_SSL_library_init=yes 
    133676845else 
    13368   echo "$as_me: failed program was:" >&5 
    13369 sed 's/^/| /' conftest.$ac_ext >&5 
    13370  
    13371         ac_cv_lib_ssl_SSL_library_init=no 
    13372 fi 
    13373  
    13374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13375       conftest$ac_exeext conftest.$ac_ext 
     6846  ac_cv_lib_ssl_SSL_library_init=no 
     6847fi 
     6848rm -f core conftest.err conftest.$ac_objext \ 
     6849    conftest$ac_exeext conftest.$ac_ext 
    133766850LIBS=$ac_check_lib_save_LIBS 
    133776851fi 
    13378 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    13379 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    13380 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     6852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     6853$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     6854if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
    133816855  libssl_present=1 && LIBS="$LIBS -lssl" 
    133826856fi 
    133836857 
    133846858                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    13385                         { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
    13386 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
     6859                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
     6860$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
    133876861                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    133886862                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    13389                         cat >>confdefs.h <<\_ACEOF 
    13390 #define PJ_HAS_SSL_SOCK 1 
    13391 _ACEOF 
     6863                        $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
    133926864 
    133936865                else 
    13394                         { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    13395 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     6866                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     6867$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    133966868                fi 
    133976869 
     
    134016873 
    134026874# Check whether --enable-opencore_amrnb was given. 
    13403 if test "${enable_opencore_amrnb+set}" = set; then 
     6875if test "${enable_opencore_amrnb+set}" = set; then : 
    134046876  enableval=$enable_opencore_amrnb; 
    134056877                if test "$enable_opencore_amrnb" = "no"; then 
    134066878                 ac_no_opencore_amrnb=1 
    13407                  cat >>confdefs.h <<\_ACEOF 
    13408 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 
    13409 _ACEOF 
    13410  
    13411                  { echo "$as_me:$LINENO: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 
    13412 echo "${ECHO_T}Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 
     6879                 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 
     6880 
     6881                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 
     6882$as_echo "Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 
    134136883                fi 
    134146884 
    134156885else 
    134166886 
    13417                 { echo "$as_me:$LINENO: result: checking for OpenCORE AMR-NB installations.." >&5 
    13418 echo "${ECHO_T}checking for OpenCORE AMR-NB installations.." >&6; } 
    13419  
    13420  
    13421                 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 
    13422   { echo "$as_me:$LINENO: checking for opencore-amrnb/interf_enc.h" >&5 
    13423 echo $ECHO_N "checking for opencore-amrnb/interf_enc.h... $ECHO_C" >&6; } 
    13424 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 
    13425   echo $ECHO_N "(cached) $ECHO_C" >&6 
    13426 fi 
    13427 { echo "$as_me:$LINENO: result: $ac_cv_header_opencore_amrnb_interf_enc_h" >&5 
    13428 echo "${ECHO_T}$ac_cv_header_opencore_amrnb_interf_enc_h" >&6; } 
    13429 else 
    13430   # Is the header compilable? 
    13431 { echo "$as_me:$LINENO: checking opencore-amrnb/interf_enc.h usability" >&5 
    13432 echo $ECHO_N "checking opencore-amrnb/interf_enc.h usability... $ECHO_C" >&6; } 
    13433 cat >conftest.$ac_ext <<_ACEOF 
    13434 /* confdefs.h.  */ 
    13435 _ACEOF 
    13436 cat confdefs.h >>conftest.$ac_ext 
    13437 cat >>conftest.$ac_ext <<_ACEOF 
    13438 /* end confdefs.h.  */ 
    13439 $ac_includes_default 
    13440 #include <opencore-amrnb/interf_enc.h> 
    13441 _ACEOF 
    13442 rm -f conftest.$ac_objext 
    13443 if { (ac_try="$ac_compile" 
    13444 case "(($ac_try" in 
    13445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13446   *) ac_try_echo=$ac_try;; 
    13447 esac 
    13448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13449   (eval "$ac_compile") 2>conftest.er1 
    13450   ac_status=$? 
    13451   grep -v '^ *+' conftest.er1 >conftest.err 
    13452   rm -f conftest.er1 
    13453   cat conftest.err >&5 
    13454   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13455   (exit $ac_status); } && { 
    13456          test -z "$ac_c_werror_flag" || 
    13457          test ! -s conftest.err 
    13458        } && test -s conftest.$ac_objext; then 
    13459   ac_header_compiler=yes 
    13460 else 
    13461   echo "$as_me: failed program was:" >&5 
    13462 sed 's/^/| /' conftest.$ac_ext >&5 
    13463  
    13464         ac_header_compiler=no 
    13465 fi 
    13466  
    13467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    13468 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    13469 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    13470  
    13471 # Is the header present? 
    13472 { echo "$as_me:$LINENO: checking opencore-amrnb/interf_enc.h presence" >&5 
    13473 echo $ECHO_N "checking opencore-amrnb/interf_enc.h presence... $ECHO_C" >&6; } 
    13474 cat >conftest.$ac_ext <<_ACEOF 
    13475 /* confdefs.h.  */ 
    13476 _ACEOF 
    13477 cat confdefs.h >>conftest.$ac_ext 
    13478 cat >>conftest.$ac_ext <<_ACEOF 
    13479 /* end confdefs.h.  */ 
    13480 #include <opencore-amrnb/interf_enc.h> 
    13481 _ACEOF 
    13482 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    13483 case "(($ac_try" in 
    13484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13485   *) ac_try_echo=$ac_try;; 
    13486 esac 
    13487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13488   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    13489   ac_status=$? 
    13490   grep -v '^ *+' conftest.er1 >conftest.err 
    13491   rm -f conftest.er1 
    13492   cat conftest.err >&5 
    13493   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13494   (exit $ac_status); } >/dev/null && { 
    13495          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    13496          test ! -s conftest.err 
    13497        }; then 
    13498   ac_header_preproc=yes 
    13499 else 
    13500   echo "$as_me: failed program was:" >&5 
    13501 sed 's/^/| /' conftest.$ac_ext >&5 
    13502  
    13503   ac_header_preproc=no 
    13504 fi 
    13505  
    13506 rm -f conftest.err conftest.$ac_ext 
    13507 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    13508 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    13509  
    13510 # So?  What about this header? 
    13511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    13512   yes:no: ) 
    13513     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    13514 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    13515     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: proceeding with the compiler's result" >&5 
    13516 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: proceeding with the compiler's result" >&2;} 
    13517     ac_header_preproc=yes 
    13518     ;; 
    13519   no:yes:* ) 
    13520     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: present but cannot be compiled" >&5 
    13521 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: present but cannot be compiled" >&2;} 
    13522     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h:     check for missing prerequisite headers?" >&5 
    13523 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h:     check for missing prerequisite headers?" >&2;} 
    13524     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: see the Autoconf documentation" >&5 
    13525 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: see the Autoconf documentation" >&2;} 
    13526     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    13527 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    13528     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: proceeding with the preprocessor's result" >&5 
    13529 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: proceeding with the preprocessor's result" >&2;} 
    13530     { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: in the future, the compiler will take precedence" >&5 
    13531 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: in the future, the compiler will take precedence" >&2;} 
    13532  
    13533     ;; 
    13534 esac 
    13535 { echo "$as_me:$LINENO: checking for opencore-amrnb/interf_enc.h" >&5 
    13536 echo $ECHO_N "checking for opencore-amrnb/interf_enc.h... $ECHO_C" >&6; } 
    13537 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 
    13538   echo $ECHO_N "(cached) $ECHO_C" >&6 
    13539 else 
    13540   ac_cv_header_opencore_amrnb_interf_enc_h=$ac_header_preproc 
    13541 fi 
    13542 { echo "$as_me:$LINENO: result: $ac_cv_header_opencore_amrnb_interf_enc_h" >&5 
    13543 echo "${ECHO_T}$ac_cv_header_opencore_amrnb_interf_enc_h" >&6; } 
    13544  
    13545 fi 
    13546 if test $ac_cv_header_opencore_amrnb_interf_enc_h = yes; then 
     6887                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 
     6888$as_echo "checking for OpenCORE AMR-NB installations.." >&6; } 
     6889 
     6890 
     6891                ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 
     6892if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : 
    135476893  opencore_amrnb_h_present=1 
    135486894fi 
    135496895 
    135506896 
    13551                 { echo "$as_me:$LINENO: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 
    13552 echo $ECHO_N "checking for Encoder_Interface_init in -lopencore-amrnb... $ECHO_C" >&6; } 
    13553 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then 
    13554   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6897                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 
     6898$as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 
     6899if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : 
     6900  $as_echo_n "(cached) " >&6 
    135556901else 
    135566902  ac_check_lib_save_LIBS=$LIBS 
    135576903LIBS="-lopencore-amrnb  $LIBS" 
    13558 cat >conftest.$ac_ext <<_ACEOF 
    13559 /* confdefs.h.  */ 
    13560 _ACEOF 
    13561 cat confdefs.h >>conftest.$ac_ext 
    13562 cat >>conftest.$ac_ext <<_ACEOF 
     6904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    135636905/* end confdefs.h.  */ 
    135646906 
     
    135786920} 
    135796921_ACEOF 
    13580 rm -f conftest.$ac_objext conftest$ac_exeext 
    13581 if { (ac_try="$ac_link" 
    13582 case "(($ac_try" in 
    13583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13584   *) ac_try_echo=$ac_try;; 
    13585 esac 
    13586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13587   (eval "$ac_link") 2>conftest.er1 
    13588   ac_status=$? 
    13589   grep -v '^ *+' conftest.er1 >conftest.err 
    13590   rm -f conftest.er1 
    13591   cat conftest.err >&5 
    13592   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13593   (exit $ac_status); } && { 
    13594          test -z "$ac_c_werror_flag" || 
    13595          test ! -s conftest.err 
    13596        } && test -s conftest$ac_exeext && 
    13597        $as_test_x conftest$ac_exeext; then 
     6922if ac_fn_c_try_link "$LINENO"; then : 
    135986923  ac_cv_lib_opencore_amrnb_Encoder_Interface_init=yes 
    135996924else 
    13600   echo "$as_me: failed program was:" >&5 
    13601 sed 's/^/| /' conftest.$ac_ext >&5 
    13602  
    13603         ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no 
    13604 fi 
    13605  
    13606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13607       conftest$ac_exeext conftest.$ac_ext 
     6925  ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no 
     6926fi 
     6927rm -f core conftest.err conftest.$ac_objext \ 
     6928    conftest$ac_exeext conftest.$ac_ext 
    136086929LIBS=$ac_check_lib_save_LIBS 
    136096930fi 
    13610 { echo "$as_me:$LINENO: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 
    13611 echo "${ECHO_T}$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 
    13612 if test $ac_cv_lib_opencore_amrnb_Encoder_Interface_init = yes; then 
     6931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 
     6932$as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 
     6933if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : 
    136136934  opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 
    136146935fi 
    136156936 
    136166937                if test "x$opencore_amrnb_h_present" = "x1" -a "x$opencore_amrnb_present" = "x1"; then 
    13617                         { echo "$as_me:$LINENO: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 
    13618 echo "${ECHO_T}OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } 
    13619                         cat >>confdefs.h <<\_ACEOF 
    13620 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1 
    13621 _ACEOF 
     6938                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 
     6939$as_echo "OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } 
     6940                        $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1" >>confdefs.h 
    136226941 
    136236942                else 
    136246943                        ac_no_opencore_amrnb=1 
    13625                         cat >>confdefs.h <<\_ACEOF 
    13626 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 
    13627 _ACEOF 
     6944                        $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 
    136286945 
    136296946                fi 
     
    136356952 
    136366953 
    13637 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    13638 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
     6954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
     6955$as_echo_n "checking if select() needs correct nfds... " >&6; } 
    136396956case $target in 
    13640   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13641 #define PJ_SELECT_NEEDS_NFDS 1 
    13642 _ACEOF 
    13643  
    13644            { echo "$as_me:$LINENO: result: yes" >&5 
    13645 echo "${ECHO_T}yes" >&6; } 
     6957  *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
     6958 
     6959           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6960$as_echo "yes" >&6; } 
    136466961        ;; 
    13647   *) cat >>confdefs.h <<\_ACEOF 
    13648 #define PJ_SELECT_NEEDS_NFDS 0 
    13649 _ACEOF 
    13650  
    13651      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13652 echo "${ECHO_T}no (default)" >&6; } 
    13653      { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    13654 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     6962  *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
     6963 
     6964     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6965$as_echo "no (default)" >&6; } 
     6966     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     6967$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    136556968        ;; 
    136566969esac 
    136576970 
    13658 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    13659 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
     6971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
     6972$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
    136606973case $target in 
    13661   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13662 #define PJ_THREAD_SET_STACK_SIZE 1 
    13663 _ACEOF 
    13664  
    13665            { echo "$as_me:$LINENO: result: yes" >&5 
    13666 echo "${ECHO_T}yes" >&6; } 
     6974  *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
     6975 
     6976           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6977$as_echo "yes" >&6; } 
    136676978        ;; 
    13668   *) cat >>confdefs.h <<\_ACEOF 
    13669 #define PJ_THREAD_SET_STACK_SIZE 0 
    13670 _ACEOF 
    13671  
    13672      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13673 echo "${ECHO_T}no (default)" >&6; } 
     6979  *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
     6980 
     6981     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6982$as_echo "no (default)" >&6; } 
    136746983        ;; 
    136756984esac 
    136766985 
    13677 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    13678 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
     6986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
     6987$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
    136796988case $target in 
    13680   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13681 #define PJ_THREAD_ALLOCATE_STACK 1 
    13682 _ACEOF 
    13683  
    13684            { echo "$as_me:$LINENO: result: yes" >&5 
    13685 echo "${ECHO_T}yes" >&6; } 
     6989  *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
     6990 
     6991           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6992$as_echo "yes" >&6; } 
    136866993        ;; 
    13687   *) cat >>confdefs.h <<\_ACEOF 
    13688 #define PJ_THREAD_ALLOCATE_STACK 0 
    13689 _ACEOF 
    13690  
    13691      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13692 echo "${ECHO_T}no (default)" >&6; } 
     6994  *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
     6995 
     6996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6997$as_echo "no (default)" >&6; } 
    136936998        ;; 
    136946999esac 
     
    136967001case $target in 
    136977002  *mingw* | *cygw* | *win32* | *w32* ) 
    13698         cat >>confdefs.h <<\_ACEOF 
    13699 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    13700 _ACEOF 
     7003        $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    137017004 
    137027005        ;; 
    13703   *) cat >>confdefs.h <<\_ACEOF 
    13704 #define PJ_BLOCKING_ERROR_VAL EAGAIN 
    13705 _ACEOF 
    13706  
    13707      { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    13708 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     7006  *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
     7007 
     7008     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     7009$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    137097010        ;; 
    137107011esac 
     
    137127013case $target in 
    137137014  *mingw* | *cygw* | *win32* | *w32* ) 
    13714         cat >>confdefs.h <<\_ACEOF 
    13715 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    13716 _ACEOF 
     7015        $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    137177016 
    137187017        ;; 
    13719   *) cat >>confdefs.h <<\_ACEOF 
    13720 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    13721 _ACEOF 
    13722  
    13723      { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    13724 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     7018  *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
     7019 
     7020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     7021$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    137257022        ;; 
    137267023esac 
     
    137777074    *${as_nl}*) 
    137787075      case $ac_var in #( 
    13779       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    13780 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     7076      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     7077$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    137817078      esac 
    137827079      case $ac_var in #( 
    137837080      _ | IFS | as_nl) ;; #( 
    13784       *) $as_unset $ac_var ;; 
     7081      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     7082      *) { eval $ac_var=; unset $ac_var;} ;; 
    137857083      esac ;; 
    137867084    esac 
     
    137907088    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    137917089    *${as_nl}ac_space=\ *) 
    13792       # `set' does not quote correctly, so add quotes (double-quote 
    13793       # substitution turns \\\\ into \\, and sed turns \\ into \). 
     7090      # `set' does not quote correctly, so add quotes: double-quote 
     7091      # substitution turns \\\\ into \\, and sed turns \\ into \. 
    137947092      sed -n \ 
    137957093        "s/'/'\\\\''/g; 
     
    138147112  if test -w "$cache_file"; then 
    138157113    test "x$cache_file" != "x/dev/null" && 
    13816       { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
    13817 echo "$as_me: updating cache $cache_file" >&6;} 
     7114      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
     7115$as_echo "$as_me: updating cache $cache_file" >&6;} 
    138187116    cat confcache >$cache_file 
    138197117  else 
    13820     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
    13821 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     7118    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     7119$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    138227120  fi 
    138237121fi 
     
    138357133  # 1. Remove the extension, and $U if already installed. 
    138367134  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    13837   ac_i=`echo "$ac_i" | sed "$ac_script"` 
     7135  ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
    138387136  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    138397137  #    will be set to the directory where LIBOBJS objects are built. 
    13840   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    13841   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
     7138  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     7139  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
    138427140done 
    138437141LIBOBJS=$ac_libobjs 
     
    138477145 
    138487146 
     7147 
    138497148: ${CONFIG_STATUS=./config.status} 
     7149ac_write_fail=0 
    138507150ac_clean_files_save=$ac_clean_files 
    138517151ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    13852 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    13853 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    13854 cat >$CONFIG_STATUS <<_ACEOF 
     7152{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
     7153$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     7154as_write_fail=0 
     7155cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
    138557156#! $SHELL 
    138567157# Generated by $as_me. 
     
    138627163ac_cs_recheck=false 
    138637164ac_cs_silent=false 
     7165 
    138647166SHELL=\${CONFIG_SHELL-$SHELL} 
    13865 _ACEOF 
    13866  
    13867 cat >>$CONFIG_STATUS <<\_ACEOF 
    13868 ## --------------------- ## 
    13869 ## M4sh Initialization.  ## 
    13870 ## --------------------- ## 
     7167export SHELL 
     7168_ASEOF 
     7169cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
     7170## -------------------- ## 
     7171## M4sh Initialization. ## 
     7172## -------------------- ## 
    138717173 
    138727174# Be more Bourne compatible 
    138737175DUALCASE=1; export DUALCASE # for MKS sh 
    13874 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     7176if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    138757177  emulate sh 
    138767178  NULLCMD=: 
    13877   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     7179  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    138787180  # is contrary to our usage.  Disable this feature. 
    138797181  alias -g '${1+"$@"}'='"$@"' 
    138807182  setopt NO_GLOB_SUBST 
    138817183else 
    13882   case `(set -o) 2>/dev/null` in 
    13883   *posix*) set -o posix ;; 
     7184  case `(set -o) 2>/dev/null` in #( 
     7185  *posix*) : 
     7186    set -o posix ;; #( 
     7187  *) : 
     7188     ;; 
    138847189esac 
    13885  
    13886 fi 
    13887  
    13888  
    13889  
    13890  
    13891 # PATH needs CR 
    13892 # Avoid depending upon Character Ranges. 
    13893 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    13894 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    13895 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    13896 as_cr_digits='0123456789' 
    13897 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     7190fi 
     7191 
     7192 
     7193as_nl=' 
     7194' 
     7195export as_nl 
     7196# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     7197as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     7198as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     7199as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     7200# Prefer a ksh shell builtin over an external printf program on Solaris, 
     7201# but without wasting forks for bash or zsh. 
     7202if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     7203    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     7204  as_echo='print -r --' 
     7205  as_echo_n='print -rn --' 
     7206elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     7207  as_echo='printf %s\n' 
     7208  as_echo_n='printf %s' 
     7209else 
     7210  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     7211    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     7212    as_echo_n='/usr/ucb/echo -n' 
     7213  else 
     7214    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     7215    as_echo_n_body='eval 
     7216      arg=$1; 
     7217      case $arg in #( 
     7218      *"$as_nl"*) 
     7219        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     7220        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     7221      esac; 
     7222      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     7223    ' 
     7224    export as_echo_n_body 
     7225    as_echo_n='sh -c $as_echo_n_body as_echo' 
     7226  fi 
     7227  export as_echo_body 
     7228  as_echo='sh -c $as_echo_body as_echo' 
     7229fi 
    138987230 
    138997231# The user is always right. 
    139007232if test "${PATH_SEPARATOR+set}" != set; then 
    13901   echo "#! /bin/sh" >conf$$.sh 
    13902   echo  "exit 0"   >>conf$$.sh 
    13903   chmod +x conf$$.sh 
    13904   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    13905     PATH_SEPARATOR=';' 
    13906   else 
    13907     PATH_SEPARATOR=: 
    13908   fi 
    13909   rm -f conf$$.sh 
    13910 fi 
    13911  
    13912 # Support unset when possible. 
    13913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    13914   as_unset=unset 
    13915 else 
    13916   as_unset=false 
     7233  PATH_SEPARATOR=: 
     7234  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     7235    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     7236      PATH_SEPARATOR=';' 
     7237  } 
    139177238fi 
    139187239 
     
    139237244# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    139247245# splitting by setting IFS to empty value.) 
    13925 as_nl=' 
    13926 ' 
    139277246IFS=" ""        $as_nl" 
    139287247 
    139297248# Find who we are.  Look in the path if we contain no directory separator. 
    13930 case $0 in 
     7249case $0 in #(( 
    139317250  *[\\/]* ) as_myself=$0 ;; 
    139327251  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    139357254  IFS=$as_save_IFS 
    139367255  test -z "$as_dir" && as_dir=. 
    13937   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    13938 done 
     7256    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     7257  done 
    139397258IFS=$as_save_IFS 
    139407259 
     
    139477266fi 
    139487267if test ! -f "$as_myself"; then 
    13949   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    13950   { (exit 1); exit 1; } 
    13951 fi 
    13952  
    13953 # Work around bugs in pre-3.0 UWIN ksh. 
    13954 for as_var in ENV MAIL MAILPATH 
    13955 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     7268  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     7269  exit 1 
     7270fi 
     7271 
     7272# Unset variables that we do not need and which cause bugs (e.g. in 
     7273# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     7274# suppresses any "Segmentation fault" message there.  '((' could 
     7275# trigger a bug in pdksh 5.2.14. 
     7276for as_var in BASH_ENV ENV MAIL MAILPATH 
     7277do eval test x\${$as_var+set} = xset \ 
     7278  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    139567279done 
    139577280PS1='$ ' 
     
    139607283 
    139617284# NLS nuisances. 
    13962 for as_var in \ 
    13963   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    13964   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    13965   LC_TELEPHONE LC_TIME 
    13966 do 
    13967   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    13968     eval $as_var=C; export $as_var 
    13969   else 
    13970     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     7285LC_ALL=C 
     7286export LC_ALL 
     7287LANGUAGE=C 
     7288export LANGUAGE 
     7289 
     7290# CDPATH. 
     7291(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     7292 
     7293 
     7294# as_fn_error ERROR [LINENO LOG_FD] 
     7295# --------------------------------- 
     7296# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     7297# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     7298# script with status $?, using 1 if that was 0. 
     7299as_fn_error () 
     7300{ 
     7301  as_status=$?; test $as_status -eq 0 && as_status=1 
     7302  if test "$3"; then 
     7303    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     7304    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
    139717305  fi 
    13972 done 
    13973  
    13974 # Required to use basename. 
     7306  $as_echo "$as_me: error: $1" >&2 
     7307  as_fn_exit $as_status 
     7308} # as_fn_error 
     7309 
     7310 
     7311# as_fn_set_status STATUS 
     7312# ----------------------- 
     7313# Set $? to STATUS, without forking. 
     7314as_fn_set_status () 
     7315{ 
     7316  return $1 
     7317} # as_fn_set_status 
     7318 
     7319# as_fn_exit STATUS 
     7320# ----------------- 
     7321# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     7322as_fn_exit () 
     7323{ 
     7324  set +e 
     7325  as_fn_set_status $1 
     7326  exit $1 
     7327} # as_fn_exit 
     7328 
     7329# as_fn_unset VAR 
     7330# --------------- 
     7331# Portably unset VAR. 
     7332as_fn_unset () 
     7333{ 
     7334  { eval $1=; unset $1;} 
     7335} 
     7336as_unset=as_fn_unset 
     7337# as_fn_append VAR VALUE 
     7338# ---------------------- 
     7339# Append the text in VALUE to the end of the definition contained in VAR. Take 
     7340# advantage of any shell optimizations that allow amortized linear growth over 
     7341# repeated appends, instead of the typical quadratic growth present in naive 
     7342# implementations. 
     7343if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     7344  eval 'as_fn_append () 
     7345  { 
     7346    eval $1+=\$2 
     7347  }' 
     7348else 
     7349  as_fn_append () 
     7350  { 
     7351    eval $1=\$$1\$2 
     7352  } 
     7353fi # as_fn_append 
     7354 
     7355# as_fn_arith ARG... 
     7356# ------------------ 
     7357# Perform arithmetic evaluation on the ARGs, and store the result in the 
     7358# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     7359# must be portable across $(()) and expr. 
     7360if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     7361  eval 'as_fn_arith () 
     7362  { 
     7363    as_val=$(( $* )) 
     7364  }' 
     7365else 
     7366  as_fn_arith () 
     7367  { 
     7368    as_val=`expr "$@" || test $? -eq 1` 
     7369  } 
     7370fi # as_fn_arith 
     7371 
     7372 
    139757373if expr a : '\(a\)' >/dev/null 2>&1 && 
    139767374   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    139867384fi 
    139877385 
    13988  
    13989 # Name of the executable. 
     7386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     7387  as_dirname=dirname 
     7388else 
     7389  as_dirname=false 
     7390fi 
     7391 
    139907392as_me=`$as_basename -- "$0" || 
    139917393$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    139927394         X"$0" : 'X\(//\)$' \| \ 
    139937395         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    13994 echo X/"$0" | 
     7396$as_echo X/"$0" | 
    139957397    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    139967398            s//\1/ 
     
    140077409          s/.*/./; q'` 
    140087410 
    14009 # CDPATH. 
    14010 $as_unset CDPATH 
    14011  
    14012  
    14013  
    14014   as_lineno_1=$LINENO 
    14015   as_lineno_2=$LINENO 
    14016   test "x$as_lineno_1" != "x$as_lineno_2" && 
    14017   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    14018  
    14019   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    14020   # uniformly replaced by the line number.  The first 'sed' inserts a 
    14021   # line-number line after each line using $LINENO; the second 'sed' 
    14022   # does the real work.  The second script uses 'N' to pair each 
    14023   # line-number line with the line containing $LINENO, and appends 
    14024   # trailing '-' during substitution so that $LINENO is not a special 
    14025   # case at line end. 
    14026   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    14027   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    14028   # E. McMahon (1931-1989) for sed's syntax.  :-) 
    14029   sed -n ' 
    14030     p 
    14031     /[$]LINENO/= 
    14032   ' <$as_myself | 
    14033     sed ' 
    14034       s/[$]LINENO.*/&-/ 
    14035       t lineno 
    14036       b 
    14037       :lineno 
    14038       N 
    14039       :loop 
    14040       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    14041       t loop 
    14042       s/-\n.*// 
    14043     ' >$as_me.lineno && 
    14044   chmod +x "$as_me.lineno" || 
    14045     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    14046    { (exit 1); exit 1; }; } 
    14047  
    14048   # Don't try to exec as it changes $[0], causing all sort of problems 
    14049   # (the dirname of $[0] is not the place where we might find the 
    14050   # original and so on.  Autoconf is especially sensitive to this). 
    14051   . "./$as_me.lineno" 
    14052   # Exit status is that of the last command. 
    14053   exit 
    14054 } 
    14055  
    14056  
    14057 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    14058   as_dirname=dirname 
    14059 else 
    14060   as_dirname=false 
    14061 fi 
     7411# Avoid depending upon Character Ranges. 
     7412as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     7413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     7414as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     7415as_cr_digits='0123456789' 
     7416as_cr_alnum=$as_cr_Letters$as_cr_digits 
    140627417 
    140637418ECHO_C= ECHO_N= ECHO_T= 
    14064 case `echo -n x` in 
     7419case `echo -n x` in #((((( 
    140657420-n*) 
    14066   case `echo 'x\c'` in 
     7421  case `echo 'xy\c'` in 
    140677422  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    14068   *)   ECHO_C='\c';; 
     7423  xy)  ECHO_C='\c';; 
     7424  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     7425       ECHO_T=' ';; 
    140697426  esac;; 
    140707427*) 
     
    140727429esac 
    140737430 
    14074 if expr a : '\(a\)' >/dev/null 2>&1 && 
    14075    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    14076   as_expr=expr 
    14077 else 
    14078   as_expr=false 
    14079 fi 
    14080  
    140817431rm -f conf$$ conf$$.exe conf$$.file 
    140827432if test -d conf$$.dir; then 
     
    140847434else 
    140857435  rm -f conf$$.dir 
    14086   mkdir conf$$.dir 
    14087 fi 
    14088 echo >conf$$.file 
    14089 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    14090   as_ln_s='ln -s' 
    14091   # ... but there are two gotchas: 
    14092   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    14093   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    14094   # In both cases, we have to default to `cp -p'. 
    14095   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7436  mkdir conf$$.dir 2>/dev/null 
     7437fi 
     7438if (echo >conf$$.file) 2>/dev/null; then 
     7439  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     7440    as_ln_s='ln -s' 
     7441    # ... but there are two gotchas: 
     7442    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     7443    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     7444    # In both cases, we have to default to `cp -p'. 
     7445    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7446      as_ln_s='cp -p' 
     7447  elif ln conf$$.file conf$$ 2>/dev/null; then 
     7448    as_ln_s=ln 
     7449  else 
    140967450    as_ln_s='cp -p' 
    14097 elif ln conf$$.file conf$$ 2>/dev/null; then 
    14098   as_ln_s=ln 
     7451  fi 
    140997452else 
    141007453  as_ln_s='cp -p' 
     
    141037456rmdir conf$$.dir 2>/dev/null 
    141047457 
    14105 if mkdir -p . 2>/dev/null; then 
    14106   as_mkdir_p=: 
    14107 else 
    14108   test -d ./-p && rmdir ./-p 
    14109   as_mkdir_p=false 
    14110 fi 
    14111  
    14112 if test -x / >/dev/null 2>&1; then 
    14113   as_test_x='test -x' 
    14114 else 
    14115   if ls -dL / >/dev/null 2>&1; then 
    14116     as_ls_L_option=L 
    14117   else 
    14118     as_ls_L_option= 
    14119   fi 
    14120   as_test_x=' 
    14121     eval sh -c '\'' 
    14122       if test -d "$1"; then 
    14123         test -d "$1/."; 
    14124       else 
    14125         case $1 in 
    14126         -*)set "./$1";; 
    14127         esac; 
    14128         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    14129         ???[sx]*):;;*)false;;esac;fi 
    14130     '\'' sh 
    14131   ' 
    14132 fi 
    14133 as_executable_p=$as_test_x 
    14134  
    14135 # Sed expression to map a string onto a valid CPP name. 
    14136 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    14137  
    14138 # Sed expression to map a string onto a valid variable name. 
    14139 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    14140  
    14141  
    14142 exec 6>&1 
    14143  
    14144 # Save the log message, to keep $[0] and so on meaningful, and to 
    14145 # report actual input values of CONFIG_FILES etc. instead of their 
    14146 # values after options handling. 
    14147 ac_log=" 
    14148 This file was extended by pjproject $as_me 1.x, which was 
    14149 generated by GNU Autoconf 2.61.  Invocation command line was 
    14150  
    14151   CONFIG_FILES    = $CONFIG_FILES 
    14152   CONFIG_HEADERS  = $CONFIG_HEADERS 
    14153   CONFIG_LINKS    = $CONFIG_LINKS 
    14154   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    14155   $ $0 $@ 
    14156  
    14157 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    14158 " 
    14159  
    14160 _ACEOF 
    14161  
    14162 cat >>$CONFIG_STATUS <<_ACEOF 
    14163 # Files that config.status was made for. 
    14164 config_files="$ac_config_files" 
    14165 config_headers="$ac_config_headers" 
    14166  
    14167 _ACEOF 
    14168  
    14169 cat >>$CONFIG_STATUS <<\_ACEOF 
    14170 ac_cs_usage="\ 
    14171 \`$as_me' instantiates files from templates according to the 
    14172 current configuration. 
    14173  
    14174 Usage: $0 [OPTIONS] [FILE]... 
    14175  
    14176   -h, --help       print this help, then exit 
    14177   -V, --version    print version number and configuration settings, then exit 
    14178   -q, --quiet      do not print progress messages 
    14179   -d, --debug      don't remove temporary files 
    14180       --recheck    update $as_me by reconfiguring in the same conditions 
    14181   --file=FILE[:TEMPLATE] 
    14182                    instantiate the configuration file FILE 
    14183   --header=FILE[:TEMPLATE] 
    14184                    instantiate the configuration header FILE 
    14185  
    14186 Configuration files: 
    14187 $config_files 
    14188  
    14189 Configuration headers: 
    14190 $config_headers 
    14191  
    14192 Report bugs to <bug-autoconf@gnu.org>." 
    14193  
    14194 _ACEOF 
    14195 cat >>$CONFIG_STATUS <<_ACEOF 
    14196 ac_cs_version="\\ 
    14197 pjproject config.status 1.x 
    14198 configured by $0, generated by GNU Autoconf 2.61, 
    14199   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
    14200  
    14201 Copyright (C) 2006 Free Software Foundation, Inc. 
    14202 This config.status script is free software; the Free Software Foundation 
    14203 gives unlimited permission to copy, distribute and modify it." 
    14204  
    14205 ac_pwd='$ac_pwd' 
    14206 srcdir='$srcdir' 
    14207 _ACEOF 
    14208  
    14209 cat >>$CONFIG_STATUS <<\_ACEOF 
    14210 # If no file are specified by the user, then we need to provide default 
    14211 # value.  By we need to know if files were specified by the user. 
    14212 ac_need_defaults=: 
    14213 while test $# != 0 
    14214 do 
    14215   case $1 in 
    14216   --*=*) 
    14217     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    14218     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    14219     ac_shift=: 
    14220     ;; 
    14221   *) 
    14222     ac_option=$1 
    14223     ac_optarg=$2 
    14224     ac_shift=shift 
    14225     ;; 
    14226   esac 
    14227  
    14228   case $ac_option in 
    14229   # Handling of the options. 
    14230   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    14231     ac_cs_recheck=: ;; 
    14232   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    14233     echo "$ac_cs_version"; exit ;; 
    14234   --debug | --debu | --deb | --de | --d | -d ) 
    14235     debug=: ;; 
    14236   --file | --fil | --fi | --f ) 
    14237     $ac_shift 
    14238     CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    14239     ac_need_defaults=false;; 
    14240   --header | --heade | --head | --hea ) 
    14241     $ac_shift 
    14242     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    14243     ac_need_defaults=false;; 
    14244   --he | --h) 
    14245     # Conflict between --help and --header 
    14246     { echo "$as_me: error: ambiguous option: $1 
    14247 Try \`$0 --help' for more information." >&2 
    14248    { (exit 1); exit 1; }; };; 
    14249   --help | --hel | -h ) 
    14250     echo "$ac_cs_usage"; exit ;; 
    14251   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    14252   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    14253     ac_cs_silent=: ;; 
    14254  
    14255   # This is an error. 
    14256   -*) { echo "$as_me: error: unrecognized option: $1 
    14257 Try \`$0 --help' for more information." >&2 
    14258    { (exit 1); exit 1; }; } ;; 
    14259  
    14260   *) ac_config_targets="$ac_config_targets $1" 
    14261      ac_need_defaults=false ;; 
    14262  
    14263   esac 
    14264   shift 
    14265 done 
    14266  
    14267 ac_configure_extra_args= 
    14268  
    14269 if $ac_cs_silent; then 
    14270   exec 6>/dev/null 
    14271   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    14272 fi 
    14273  
    14274 _ACEOF 
    14275 cat >>$CONFIG_STATUS <<_ACEOF 
    14276 if \$ac_cs_recheck; then 
    14277   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
    14278   CONFIG_SHELL=$SHELL 
    14279   export CONFIG_SHELL 
    14280   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    14281 fi 
    14282  
    14283 _ACEOF 
    14284 cat >>$CONFIG_STATUS <<\_ACEOF 
    14285 exec 5>>config.log 
    14286 { 
    14287   echo 
    14288   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    14289 ## Running $as_me. ## 
    14290 _ASBOX 
    14291   echo "$ac_log" 
    14292 } >&5 
    14293  
    14294 _ACEOF 
    14295 cat >>$CONFIG_STATUS <<_ACEOF 
    14296 _ACEOF 
    14297  
    14298 cat >>$CONFIG_STATUS <<\_ACEOF 
    14299  
    14300 # Handling of arguments. 
    14301 for ac_config_target in $ac_config_targets 
    14302 do 
    14303   case $ac_config_target in 
    14304     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    14305     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    14306     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    14307     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    14308     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    14309     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    14310     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    14311     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    14312     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    14313     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    14314     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    14315     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    14316     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    14317     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    14318  
    14319   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    14320 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    14321    { (exit 1); exit 1; }; };; 
    14322   esac 
    14323 done 
    14324  
    14325  
    14326 # If the user did not use the arguments to specify the items to instantiate, 
    14327 # then the envvar interface is used.  Set only those that are not. 
    14328 # We use the long form for the default assignment because of an extremely 
    14329 # bizarre bug on SunOS 4.1.3. 
    14330 if $ac_need_defaults; then 
    14331   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    14332   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    14333 fi 
    14334  
    14335 # Have a temporary directory for convenience.  Make it in the build tree 
    14336 # simply because there is no reason against having it here, and in addition, 
    14337 # creating and moving files from /tmp can sometimes cause problems. 
    14338 # Hook for its removal unless debugging. 
    14339 # Note that there is a small window in which the directory will not be cleaned: 
    14340 # after its creation but before its name has been assigned to `$tmp'. 
    14341 $debug || 
    14342 { 
    14343   tmp= 
    14344   trap 'exit_status=$? 
    14345   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    14346 ' 0 
    14347   trap '{ (exit 1); exit 1; }' 1 2 13 15 
    14348 } 
    14349 # Create a (secure) tmp directory for tmp files. 
    14350  
    14351 { 
    14352   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    14353   test -n "$tmp" && test -d "$tmp" 
    14354 }  || 
    14355 { 
    14356   tmp=./conf$$-$RANDOM 
    14357   (umask 077 && mkdir "$tmp") 
    14358 } || 
    14359 { 
    14360    echo "$me: cannot create a temporary directory in ." >&2 
    14361    { (exit 1); exit 1; } 
    14362 } 
    14363  
    14364 # 
    14365 # Set up the sed scripts for CONFIG_FILES section. 
    14366 # 
    14367  
    14368 # No need to generate the scripts if there are no CONFIG_FILES. 
    14369 # This happens for instance when ./config.status config.h 
    14370 if test -n "$CONFIG_FILES"; then 
    14371  
    14372 _ACEOF 
    14373  
    14374  
    14375  
    14376 ac_delim='%!_!# ' 
    14377 for ac_last_try in false false false false false :; do 
    14378   cat >conf$$subs.sed <<_ACEOF 
    14379 SHELL!$SHELL$ac_delim 
    14380 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
    14381 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
    14382 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
    14383 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
    14384 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
    14385 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
    14386 exec_prefix!$exec_prefix$ac_delim 
    14387 prefix!$prefix$ac_delim 
    14388 program_transform_name!$program_transform_name$ac_delim 
    14389 bindir!$bindir$ac_delim 
    14390 sbindir!$sbindir$ac_delim 
    14391 libexecdir!$libexecdir$ac_delim 
    14392 datarootdir!$datarootdir$ac_delim 
    14393 datadir!$datadir$ac_delim 
    14394 sysconfdir!$sysconfdir$ac_delim 
    14395 sharedstatedir!$sharedstatedir$ac_delim 
    14396 localstatedir!$localstatedir$ac_delim 
    14397 includedir!$includedir$ac_delim 
    14398 oldincludedir!$oldincludedir$ac_delim 
    14399 docdir!$docdir$ac_delim 
    14400 infodir!$infodir$ac_delim 
    14401 htmldir!$htmldir$ac_delim 
    14402 dvidir!$dvidir$ac_delim 
    14403 pdfdir!$pdfdir$ac_delim 
    14404 psdir!$psdir$ac_delim 
    14405 libdir!$libdir$ac_delim 
    14406 localedir!$localedir$ac_delim 
    14407 mandir!$mandir$ac_delim 
    14408 DEFS!$DEFS$ac_delim 
    14409 ECHO_C!$ECHO_C$ac_delim 
    14410 ECHO_N!$ECHO_N$ac_delim 
    14411 ECHO_T!$ECHO_T$ac_delim 
    14412 LIBS!$LIBS$ac_delim 
    14413 build_alias!$build_alias$ac_delim 
    14414 host_alias!$host_alias$ac_delim 
    14415 target_alias!$target_alias$ac_delim 
    14416 build!$build$ac_delim 
    14417 build_cpu!$build_cpu$ac_delim 
    14418 build_vendor!$build_vendor$ac_delim 
    14419 build_os!$build_os$ac_delim 
    14420 host!$host$ac_delim 
    14421 host_cpu!$host_cpu$ac_delim 
    14422 host_vendor!$host_vendor$ac_delim 
    14423 host_os!$host_os$ac_delim 
    14424 target!$target$ac_delim 
    14425 target_cpu!$target_cpu$ac_delim 
    14426 target_vendor!$target_vendor$ac_delim 
    14427 target_os!$target_os$ac_delim 
    14428 CC!$CC$ac_delim 
    14429 CFLAGS!$CFLAGS$ac_delim 
    14430 LDFLAGS!$LDFLAGS$ac_delim 
    14431 CPPFLAGS!$CPPFLAGS$ac_delim 
    14432 ac_ct_CC!$ac_ct_CC$ac_delim 
    14433 EXEEXT!$EXEEXT$ac_delim 
    14434 OBJEXT!$OBJEXT$ac_delim 
    14435 CXX!$CXX$ac_delim 
    14436 CXXFLAGS!$CXXFLAGS$ac_delim 
    14437 ac_ct_CXX!$ac_ct_CXX$ac_delim 
    14438 AR!$AR$ac_delim 
    14439 LD!$LD$ac_delim 
    14440 LDOUT!$LDOUT$ac_delim 
    14441 RANLIB!$RANLIB$ac_delim 
    14442 LIBEXT!$LIBEXT$ac_delim 
    14443 LIBEXT2!$LIBEXT2$ac_delim 
    14444 CC_OUT!$CC_OUT$ac_delim 
    14445 CC_INC!$CC_INC$ac_delim 
    14446 CC_DEF!$CC_DEF$ac_delim 
    14447 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
    14448 CC_CFLAGS!$CC_CFLAGS$ac_delim 
    14449 ac_pjdir!$ac_pjdir$ac_delim 
    14450 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
    14451 CPP!$CPP$ac_delim 
    14452 GREP!$GREP$ac_delim 
    14453 EGREP!$EGREP$ac_delim 
    14454 ac_os_objs!$ac_os_objs$ac_delim 
    14455 ac_external_speex!$ac_external_speex$ac_delim 
    14456 ac_external_gsm!$ac_external_gsm$ac_delim 
    14457 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
    14458 ac_external_pa!$ac_external_pa$ac_delim 
    14459 ac_pa_cflags!$ac_pa_cflags$ac_delim 
    14460 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
    14461 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
    14462 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 
    14463 ac_pjmedia_video_has_ios!$ac_pjmedia_video_has_ios$ac_delim 
    14464 ac_ios_cflags!$ac_ios_cflags$ac_delim 
    14465 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 
    14466 ac_qt_cflags!$ac_qt_cflags$ac_delim 
    14467 ac_no_small_filter!$ac_no_small_filter$ac_delim 
    14468 ac_no_large_filter!$ac_no_large_filter$ac_delim 
    14469 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
    14470 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
    14471 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
    14472 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
    14473 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
    14474 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
    14475 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
    14476 _ACEOF 
    14477  
    14478   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
    14479     break 
    14480   elif $ac_last_try; then 
    14481     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    14482 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    14483    { (exit 1); exit 1; }; } 
    14484   else 
    14485     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    14486   fi 
    14487 done 
    14488  
    14489 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    14490 if test -n "$ac_eof"; then 
    14491   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    14492   ac_eof=`expr $ac_eof + 1` 
    14493 fi 
    14494  
    14495 cat >>$CONFIG_STATUS <<_ACEOF 
    14496 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
    14497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    14498 _ACEOF 
    14499 sed ' 
    14500 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    14501 s/^/s,@/; s/!/@,|#_!!_#|/ 
    14502 :n 
    14503 t n 
    14504 s/'"$ac_delim"'$/,g/; t 
    14505 s/$/\\/; p 
    14506 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    14507 ' >>$CONFIG_STATUS <conf$$subs.sed 
    14508 rm -f conf$$subs.sed 
    14509 cat >>$CONFIG_STATUS <<_ACEOF 
    14510 CEOF$ac_eof 
    14511 _ACEOF 
    14512  
    14513  
    14514 ac_delim='%!_!# ' 
    14515 for ac_last_try in false false false false false :; do 
    14516   cat >conf$$subs.sed <<_ACEOF 
    14517 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
    14518 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 
    14519 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 
    14520 ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 
    14521 ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 
    14522 ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 
    14523 ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 
    14524 ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 
    14525 ac_no_ssl!$ac_no_ssl$ac_delim 
    14526 openssl_h_present!$openssl_h_present$ac_delim 
    14527 libssl_present!$libssl_present$ac_delim 
    14528 libcrypto_present!$libcrypto_present$ac_delim 
    14529 ac_no_opencore_amrnb!$ac_no_opencore_amrnb$ac_delim 
    14530 opencore_amrnb_h_present!$opencore_amrnb_h_present$ac_delim 
    14531 opencore_amrnb_present!$opencore_amrnb_present$ac_delim 
    14532 ac_cross_compile!$ac_cross_compile$ac_delim 
    14533 ac_linux_poll!$ac_linux_poll$ac_delim 
    14534 ac_host!$ac_host$ac_delim 
    14535 ac_main_obj!$ac_main_obj$ac_delim 
    14536 LIBOBJS!$LIBOBJS$ac_delim 
    14537 LTLIBOBJS!$LTLIBOBJS$ac_delim 
    14538 _ACEOF 
    14539  
    14540   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then 
    14541     break 
    14542   elif $ac_last_try; then 
    14543     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    14544 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    14545    { (exit 1); exit 1; }; } 
    14546   else 
    14547     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    14548   fi 
    14549 done 
    14550  
    14551 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    14552 if test -n "$ac_eof"; then 
    14553   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    14554   ac_eof=`expr $ac_eof + 1` 
    14555 fi 
    14556  
    14557 cat >>$CONFIG_STATUS <<_ACEOF 
    14558 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
    14559 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
    14560 _ACEOF 
    14561 sed ' 
    14562 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    14563 s/^/s,@/; s/!/@,|#_!!_#|/ 
    14564 :n 
    14565 t n 
    14566 s/'"$ac_delim"'$/,g/; t 
    14567 s/$/\\/; p 
    14568 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    14569 ' >>$CONFIG_STATUS <conf$$subs.sed 
    14570 rm -f conf$$subs.sed 
    14571 cat >>$CONFIG_STATUS <<_ACEOF 
    14572 :end 
    14573 s/|#_!!_#|//g 
    14574 CEOF$ac_eof 
    14575 _ACEOF 
    14576  
    14577  
    14578 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    14579 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    14580 # trailing colons and then remove the whole line if VPATH becomes empty 
    14581 # (actually we leave an empty line to preserve line numbers). 
    14582 if test "x$srcdir" = x.; then 
    14583   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    14584 s/:*\$(srcdir):*/:/ 
    14585 s/:*\${srcdir}:*/:/ 
    14586 s/:*@srcdir@:*/:/ 
    14587 s/^\([^=]*=[     ]*\):*/\1/ 
    14588 s/:*$// 
    14589 s/^[^=]*=[       ]*$// 
    14590 }' 
    14591 fi 
    14592  
    14593 cat >>$CONFIG_STATUS <<\_ACEOF 
    14594 fi # test -n "$CONFIG_FILES" 
    14595  
    14596  
    14597 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
    14598 do 
    14599   case $ac_tag in 
    14600   :[FHLC]) ac_mode=$ac_tag; continue;; 
    14601   esac 
    14602   case $ac_mode$ac_tag in 
    14603   :[FHL]*:*);; 
    14604   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
    14605 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
    14606    { (exit 1); exit 1; }; };; 
    14607   :[FH]-) ac_tag=-:-;; 
    14608   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    14609   esac 
    14610   ac_save_IFS=$IFS 
    14611   IFS=: 
    14612   set x $ac_tag 
    14613   IFS=$ac_save_IFS 
    14614   shift 
    14615   ac_file=$1 
    14616   shift 
    14617  
    14618   case $ac_mode in 
    14619   :L) ac_source=$1;; 
    14620   :[FH]) 
    14621     ac_file_inputs= 
    14622     for ac_f 
    14623     do 
    14624       case $ac_f in 
    14625       -) ac_f="$tmp/stdin";; 
    14626       *) # Look for the file first in the build tree, then in the source tree 
    14627          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    14628          # because $ac_f cannot contain `:'. 
    14629          test -f "$ac_f" || 
    14630            case $ac_f in 
    14631            [\\/$]*) false;; 
    14632            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    14633            esac || 
    14634            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
    14635 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
    14636    { (exit 1); exit 1; }; };; 
    14637       esac 
    14638       ac_file_inputs="$ac_file_inputs $ac_f" 
    14639     done 
    14640  
    14641     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    14642     # use $as_me), people would be surprised to read: 
    14643     #    /* config.h.  Generated by config.status.  */ 
    14644     configure_input="Generated from "`IFS=: 
    14645           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
    14646     if test x"$ac_file" != x-; then 
    14647       configure_input="$ac_file.  $configure_input" 
    14648       { echo "$as_me:$LINENO: creating $ac_file" >&5 
    14649 echo "$as_me: creating $ac_file" >&6;} 
    14650     fi 
    14651  
    14652     case $ac_tag in 
    14653     *:-:* | *:-) cat >"$tmp/stdin";; 
    14654     esac 
    14655     ;; 
    14656   esac 
    14657  
    14658   ac_dir=`$as_dirname -- "$ac_file" || 
    14659 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    14660          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    14661          X"$ac_file" : 'X\(//\)$' \| \ 
    14662          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    14663 echo X"$ac_file" | 
    14664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    14665             s//\1/ 
    14666             q 
    14667           } 
    14668           /^X\(\/\/\)[^/].*/{ 
    14669             s//\1/ 
    14670             q 
    14671           } 
    14672           /^X\(\/\/\)$/{ 
    14673             s//\1/ 
    14674             q 
    14675           } 
    14676           /^X\(\/\).*/{ 
    14677             s//\1/ 
    14678             q 
    14679           } 
    14680           s/.*/./; q'` 
    14681   { as_dir="$ac_dir" 
     7458 
     7459# as_fn_mkdir_p 
     7460# ------------- 
     7461# Create "$as_dir" as a directory, including parents if necessary. 
     7462as_fn_mkdir_p () 
     7463{ 
     7464 
    146827465  case $as_dir in #( 
    146837466  -*) as_dir=./$as_dir;; 
    146847467  esac 
    14685   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
     7468  test -d "$as_dir" || eval $as_mkdir_p || { 
    146867469    as_dirs= 
    146877470    while :; do 
    146887471      case $as_dir in #( 
    14689       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
     7472      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    146907473      *) as_qdir=$as_dir;; 
    146917474      esac 
     
    146967479         X"$as_dir" : 'X\(//\)$' \| \ 
    146977480         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    14698 echo X"$as_dir" | 
     7481$as_echo X"$as_dir" | 
    146997482    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    147007483            s//\1/ 
     
    147177500    done 
    147187501    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    14719   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
    14720 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    14721    { (exit 1); exit 1; }; }; } 
     7502  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     7503 
     7504 
     7505} # as_fn_mkdir_p 
     7506if mkdir -p . 2>/dev/null; then 
     7507  as_mkdir_p='mkdir -p "$as_dir"' 
     7508else 
     7509  test -d ./-p && rmdir ./-p 
     7510  as_mkdir_p=false 
     7511fi 
     7512 
     7513if test -x / >/dev/null 2>&1; then 
     7514  as_test_x='test -x' 
     7515else 
     7516  if ls -dL / >/dev/null 2>&1; then 
     7517    as_ls_L_option=L 
     7518  else 
     7519    as_ls_L_option= 
     7520  fi 
     7521  as_test_x=' 
     7522    eval sh -c '\'' 
     7523      if test -d "$1"; then 
     7524        test -d "$1/."; 
     7525      else 
     7526        case $1 in #( 
     7527        -*)set "./$1";; 
     7528        esac; 
     7529        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
     7530        ???[sx]*):;;*)false;;esac;fi 
     7531    '\'' sh 
     7532  ' 
     7533fi 
     7534as_executable_p=$as_test_x 
     7535 
     7536# Sed expression to map a string onto a valid CPP name. 
     7537as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     7538 
     7539# Sed expression to map a string onto a valid variable name. 
     7540as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     7541 
     7542 
     7543exec 6>&1 
     7544## ----------------------------------- ## 
     7545## Main body of $CONFIG_STATUS script. ## 
     7546## ----------------------------------- ## 
     7547_ASEOF 
     7548test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
     7549 
     7550cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7551# Save the log message, to keep $0 and so on meaningful, and to 
     7552# report actual input values of CONFIG_FILES etc. instead of their 
     7553# values after options handling. 
     7554ac_log=" 
     7555This file was extended by pjproject $as_me 1.x, which was 
     7556generated by GNU Autoconf 2.65.  Invocation command line was 
     7557 
     7558  CONFIG_FILES    = $CONFIG_FILES 
     7559  CONFIG_HEADERS  = $CONFIG_HEADERS 
     7560  CONFIG_LINKS    = $CONFIG_LINKS 
     7561  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     7562  $ $0 $@ 
     7563 
     7564on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     7565" 
     7566 
     7567_ACEOF 
     7568 
     7569case $ac_config_files in *" 
     7570"*) set x $ac_config_files; shift; ac_config_files=$*;; 
     7571esac 
     7572 
     7573case $ac_config_headers in *" 
     7574"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
     7575esac 
     7576 
     7577 
     7578cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7579# Files that config.status was made for. 
     7580config_files="$ac_config_files" 
     7581config_headers="$ac_config_headers" 
     7582 
     7583_ACEOF 
     7584 
     7585cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7586ac_cs_usage="\ 
     7587\`$as_me' instantiates files and other configuration actions 
     7588from templates according to the current configuration.  Unless the files 
     7589and actions are specified as TAGs, all are instantiated by default. 
     7590 
     7591Usage: $0 [OPTION]... [TAG]... 
     7592 
     7593  -h, --help       print this help, then exit 
     7594  -V, --version    print version number and configuration settings, then exit 
     7595      --config     print configuration, then exit 
     7596  -q, --quiet, --silent 
     7597                   do not print progress messages 
     7598  -d, --debug      don't remove temporary files 
     7599      --recheck    update $as_me by reconfiguring in the same conditions 
     7600      --file=FILE[:TEMPLATE] 
     7601                   instantiate the configuration file FILE 
     7602      --header=FILE[:TEMPLATE] 
     7603                   instantiate the configuration header FILE 
     7604 
     7605Configuration files: 
     7606$config_files 
     7607 
     7608Configuration headers: 
     7609$config_headers 
     7610 
     7611Report bugs to the package provider." 
     7612 
     7613_ACEOF 
     7614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7615ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
     7616ac_cs_version="\\ 
     7617pjproject config.status 1.x 
     7618configured by $0, generated by GNU Autoconf 2.65, 
     7619  with options \\"\$ac_cs_config\\" 
     7620 
     7621Copyright (C) 2009 Free Software Foundation, Inc. 
     7622This config.status script is free software; the Free Software Foundation 
     7623gives unlimited permission to copy, distribute and modify it." 
     7624 
     7625ac_pwd='$ac_pwd' 
     7626srcdir='$srcdir' 
     7627test -n "\$AWK" || AWK=awk 
     7628_ACEOF 
     7629 
     7630cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7631# The default lists apply if the user does not specify any file. 
     7632ac_need_defaults=: 
     7633while test $# != 0 
     7634do 
     7635  case $1 in 
     7636  --*=*) 
     7637    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     7638    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     7639    ac_shift=: 
     7640    ;; 
     7641  *) 
     7642    ac_option=$1 
     7643    ac_optarg=$2 
     7644    ac_shift=shift 
     7645    ;; 
     7646  esac 
     7647 
     7648  case $ac_option in 
     7649  # Handling of the options. 
     7650  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     7651    ac_cs_recheck=: ;; 
     7652  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     7653    $as_echo "$ac_cs_version"; exit ;; 
     7654  --config | --confi | --conf | --con | --co | --c ) 
     7655    $as_echo "$ac_cs_config"; exit ;; 
     7656  --debug | --debu | --deb | --de | --d | -d ) 
     7657    debug=: ;; 
     7658  --file | --fil | --fi | --f ) 
     7659    $ac_shift 
     7660    case $ac_optarg in 
     7661    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7662    esac 
     7663    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     7664    ac_need_defaults=false;; 
     7665  --header | --heade | --head | --hea ) 
     7666    $ac_shift 
     7667    case $ac_optarg in 
     7668    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7669    esac 
     7670    as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
     7671    ac_need_defaults=false;; 
     7672  --he | --h) 
     7673    # Conflict between --help and --header 
     7674    as_fn_error "ambiguous option: \`$1' 
     7675Try \`$0 --help' for more information.";; 
     7676  --help | --hel | -h ) 
     7677    $as_echo "$ac_cs_usage"; exit ;; 
     7678  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     7679  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     7680    ac_cs_silent=: ;; 
     7681 
     7682  # This is an error. 
     7683  -*) as_fn_error "unrecognized option: \`$1' 
     7684Try \`$0 --help' for more information." ;; 
     7685 
     7686  *) as_fn_append ac_config_targets " $1" 
     7687     ac_need_defaults=false ;; 
     7688 
     7689  esac 
     7690  shift 
     7691done 
     7692 
     7693ac_configure_extra_args= 
     7694 
     7695if $ac_cs_silent; then 
     7696  exec 6>/dev/null 
     7697  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     7698fi 
     7699 
     7700_ACEOF 
     7701cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7702if \$ac_cs_recheck; then 
     7703  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7704  shift 
     7705  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     7706  CONFIG_SHELL='$SHELL' 
     7707  export CONFIG_SHELL 
     7708  exec "\$@" 
     7709fi 
     7710 
     7711_ACEOF 
     7712cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7713exec 5>>config.log 
     7714{ 
     7715  echo 
     7716  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     7717## Running $as_me. ## 
     7718_ASBOX 
     7719  $as_echo "$ac_log" 
     7720} >&5 
     7721 
     7722_ACEOF 
     7723cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7724_ACEOF 
     7725 
     7726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7727 
     7728# Handling of arguments. 
     7729for ac_config_target in $ac_config_targets 
     7730do 
     7731  case $ac_config_target in 
     7732    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     7733    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     7734    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     7735    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     7736    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     7737    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     7738    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     7739    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     7740    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     7741    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     7742    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     7743    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     7744    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     7745    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     7746 
     7747  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     7748  esac 
     7749done 
     7750 
     7751 
     7752# If the user did not use the arguments to specify the items to instantiate, 
     7753# then the envvar interface is used.  Set only those that are not. 
     7754# We use the long form for the default assignment because of an extremely 
     7755# bizarre bug on SunOS 4.1.3. 
     7756if $ac_need_defaults; then 
     7757  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     7758  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     7759fi 
     7760 
     7761# Have a temporary directory for convenience.  Make it in the build tree 
     7762# simply because there is no reason against having it here, and in addition, 
     7763# creating and moving files from /tmp can sometimes cause problems. 
     7764# Hook for its removal unless debugging. 
     7765# Note that there is a small window in which the directory will not be cleaned: 
     7766# after its creation but before its name has been assigned to `$tmp'. 
     7767$debug || 
     7768{ 
     7769  tmp= 
     7770  trap 'exit_status=$? 
     7771  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     7772' 0 
     7773  trap 'as_fn_exit 1' 1 2 13 15 
     7774} 
     7775# Create a (secure) tmp directory for tmp files. 
     7776 
     7777{ 
     7778  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     7779  test -n "$tmp" && test -d "$tmp" 
     7780}  || 
     7781{ 
     7782  tmp=./conf$$-$RANDOM 
     7783  (umask 077 && mkdir "$tmp") 
     7784} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     7785 
     7786# Set up the scripts for CONFIG_FILES section. 
     7787# No need to generate them if there are no CONFIG_FILES. 
     7788# This happens for instance with `./config.status config.h'. 
     7789if test -n "$CONFIG_FILES"; then 
     7790 
     7791 
     7792ac_cr=`echo X | tr X '\015'` 
     7793# On cygwin, bash can eat \r inside `` if the user requested igncr. 
     7794# But we know of no other shell where ac_cr would be empty at this 
     7795# point, so we can use a bashism as a fallback. 
     7796if test "x$ac_cr" = x; then 
     7797  eval ac_cr=\$\'\\r\' 
     7798fi 
     7799ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
     7800if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
     7801  ac_cs_awk_cr='\r' 
     7802else 
     7803  ac_cs_awk_cr=$ac_cr 
     7804fi 
     7805 
     7806echo 'BEGIN {' >"$tmp/subs1.awk" && 
     7807_ACEOF 
     7808 
     7809 
     7810{ 
     7811  echo "cat >conf$$subs.awk <<_ACEOF" && 
     7812  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
     7813  echo "_ACEOF" 
     7814} >conf$$subs.sh || 
     7815  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7816ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     7817ac_delim='%!_!# ' 
     7818for ac_last_try in false false false false false :; do 
     7819  . ./conf$$subs.sh || 
     7820    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7821 
     7822  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     7823  if test $ac_delim_n = $ac_delim_num; then 
     7824    break 
     7825  elif $ac_last_try; then 
     7826    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7827  else 
     7828    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7829  fi 
     7830done 
     7831rm -f conf$$subs.sh 
     7832 
     7833cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7834cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     7835_ACEOF 
     7836sed -n ' 
     7837h 
     7838s/^/S["/; s/!.*/"]=/ 
     7839p 
     7840g 
     7841s/^[^!]*!// 
     7842:repl 
     7843t repl 
     7844s/'"$ac_delim"'$// 
     7845t delim 
     7846:nl 
     7847h 
     7848s/\(.\{148\}\)..*/\1/ 
     7849t more1 
     7850s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
     7851p 
     7852n 
     7853b repl 
     7854:more1 
     7855s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7856p 
     7857g 
     7858s/.\{148\}// 
     7859t nl 
     7860:delim 
     7861h 
     7862s/\(.\{148\}\)..*/\1/ 
     7863t more2 
     7864s/["\\]/\\&/g; s/^/"/; s/$/"/ 
     7865p 
     7866b 
     7867:more2 
     7868s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7869p 
     7870g 
     7871s/.\{148\}// 
     7872t delim 
     7873' <conf$$subs.awk | sed ' 
     7874/^[^""]/{ 
     7875  N 
     7876  s/\n// 
     7877} 
     7878' >>$CONFIG_STATUS || ac_write_fail=1 
     7879rm -f conf$$subs.awk 
     7880cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7881_ACAWK 
     7882cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     7883  for (key in S) S_is_set[key] = 1 
     7884  FS = "" 
     7885 
     7886} 
     7887{ 
     7888  line = $ 0 
     7889  nfields = split(line, field, "@") 
     7890  substed = 0 
     7891  len = length(field[1]) 
     7892  for (i = 2; i < nfields; i++) { 
     7893    key = field[i] 
     7894    keylen = length(key) 
     7895    if (S_is_set[key]) { 
     7896      value = S[key] 
     7897      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
     7898      len += length(value) + length(field[++i]) 
     7899      substed = 1 
     7900    } else 
     7901      len += 1 + keylen 
     7902  } 
     7903 
     7904  print line 
     7905} 
     7906 
     7907_ACAWK 
     7908_ACEOF 
     7909cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7910if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
     7911  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
     7912else 
     7913  cat 
     7914fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
     7915  || as_fn_error "could not setup config files machinery" "$LINENO" 5 
     7916_ACEOF 
     7917 
     7918# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     7919# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     7920# trailing colons and then remove the whole line if VPATH becomes empty 
     7921# (actually we leave an empty line to preserve line numbers). 
     7922if test "x$srcdir" = x.; then 
     7923  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     7924s/:*\$(srcdir):*/:/ 
     7925s/:*\${srcdir}:*/:/ 
     7926s/:*@srcdir@:*/:/ 
     7927s/^\([^=]*=[     ]*\):*/\1/ 
     7928s/:*$// 
     7929s/^[^=]*=[       ]*$// 
     7930}' 
     7931fi 
     7932 
     7933cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7934fi # test -n "$CONFIG_FILES" 
     7935 
     7936# Set up the scripts for CONFIG_HEADERS section. 
     7937# No need to generate them if there are no CONFIG_HEADERS. 
     7938# This happens for instance with `./config.status Makefile'. 
     7939if test -n "$CONFIG_HEADERS"; then 
     7940cat >"$tmp/defines.awk" <<\_ACAWK || 
     7941BEGIN { 
     7942_ACEOF 
     7943 
     7944# Transform confdefs.h into an awk script `defines.awk', embedded as 
     7945# here-document in config.status, that substitutes the proper values into 
     7946# config.h.in to produce config.h. 
     7947 
     7948# Create a delimiter string that does not exist in confdefs.h, to ease 
     7949# handling of long lines. 
     7950ac_delim='%!_!# ' 
     7951for ac_last_try in false false :; do 
     7952  ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
     7953  if test -z "$ac_t"; then 
     7954    break 
     7955  elif $ac_last_try; then 
     7956    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     7957  else 
     7958    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7959  fi 
     7960done 
     7961 
     7962# For the awk script, D is an array of macro values keyed by name, 
     7963# likewise P contains macro parameters if any.  Preserve backslash 
     7964# newline sequences. 
     7965 
     7966ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     7967sed -n ' 
     7968s/.\{148\}/&'"$ac_delim"'/g 
     7969t rset 
     7970:rset 
     7971s/^[     ]*#[    ]*define[       ][      ]*/ / 
     7972t def 
     7973d 
     7974:def 
     7975s/\\$// 
     7976t bsnl 
     7977s/["\\]/\\&/g 
     7978s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7979D["\1"]=" \3"/p 
     7980s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
     7981d 
     7982:bsnl 
     7983s/["\\]/\\&/g 
     7984s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7985D["\1"]=" \3\\\\\\n"\\/p 
     7986t cont 
     7987s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
     7988t cont 
     7989d 
     7990:cont 
     7991n 
     7992s/.\{148\}/&'"$ac_delim"'/g 
     7993t clear 
     7994:clear 
     7995s/\\$// 
     7996t bsnlc 
     7997s/["\\]/\\&/g; s/^/"/; s/$/"/p 
     7998d 
     7999:bsnlc 
     8000s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
     8001b cont 
     8002' <confdefs.h | sed ' 
     8003s/'"$ac_delim"'/"\\\ 
     8004"/g' >>$CONFIG_STATUS || ac_write_fail=1 
     8005 
     8006cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     8007  for (key in D) D_is_set[key] = 1 
     8008  FS = "" 
     8009} 
     8010/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
     8011  line = \$ 0 
     8012  split(line, arg, " ") 
     8013  if (arg[1] == "#") { 
     8014    defundef = arg[2] 
     8015    mac1 = arg[3] 
     8016  } else { 
     8017    defundef = substr(arg[1], 2) 
     8018    mac1 = arg[2] 
     8019  } 
     8020  split(mac1, mac2, "(") #) 
     8021  macro = mac2[1] 
     8022  prefix = substr(line, 1, index(line, defundef) - 1) 
     8023  if (D_is_set[macro]) { 
     8024    # Preserve the white space surrounding the "#". 
     8025    print prefix "define", macro P[macro] D[macro] 
     8026    next 
     8027  } else { 
     8028    # Replace #undef with comments.  This is necessary, for example, 
     8029    # in the case of _POSIX_SOURCE, which is predefined and required 
     8030    # on some systems where configure will not decide to define it. 
     8031    if (defundef == "undef") { 
     8032      print "/*", prefix defundef, macro, "*/" 
     8033      next 
     8034    } 
     8035  } 
     8036} 
     8037{ print } 
     8038_ACAWK 
     8039_ACEOF 
     8040cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     8041  as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     8042fi # test -n "$CONFIG_HEADERS" 
     8043 
     8044 
     8045eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
     8046shift 
     8047for ac_tag 
     8048do 
     8049  case $ac_tag in 
     8050  :[FHLC]) ac_mode=$ac_tag; continue;; 
     8051  esac 
     8052  case $ac_mode$ac_tag in 
     8053  :[FHL]*:*);; 
     8054  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     8055  :[FH]-) ac_tag=-:-;; 
     8056  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     8057  esac 
     8058  ac_save_IFS=$IFS 
     8059  IFS=: 
     8060  set x $ac_tag 
     8061  IFS=$ac_save_IFS 
     8062  shift 
     8063  ac_file=$1 
     8064  shift 
     8065 
     8066  case $ac_mode in 
     8067  :L) ac_source=$1;; 
     8068  :[FH]) 
     8069    ac_file_inputs= 
     8070    for ac_f 
     8071    do 
     8072      case $ac_f in 
     8073      -) ac_f="$tmp/stdin";; 
     8074      *) # Look for the file first in the build tree, then in the source tree 
     8075         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     8076         # because $ac_f cannot contain `:'. 
     8077         test -f "$ac_f" || 
     8078           case $ac_f in 
     8079           [\\/$]*) false;; 
     8080           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     8081           esac || 
     8082           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     8083      esac 
     8084      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     8085      as_fn_append ac_file_inputs " '$ac_f'" 
     8086    done 
     8087 
     8088    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     8089    # use $as_me), people would be surprised to read: 
     8090    #    /* config.h.  Generated by config.status.  */ 
     8091    configure_input='Generated from '` 
     8092          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
     8093        `' by configure.' 
     8094    if test x"$ac_file" != x-; then 
     8095      configure_input="$ac_file.  $configure_input" 
     8096      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
     8097$as_echo "$as_me: creating $ac_file" >&6;} 
     8098    fi 
     8099    # Neutralize special characters interpreted by sed in replacement strings. 
     8100    case $configure_input in #( 
     8101    *\&* | *\|* | *\\* ) 
     8102       ac_sed_conf_input=`$as_echo "$configure_input" | 
     8103       sed 's/[\\\\&|]/\\\\&/g'`;; #( 
     8104    *) ac_sed_conf_input=$configure_input;; 
     8105    esac 
     8106 
     8107    case $ac_tag in 
     8108    *:-:* | *:-) cat >"$tmp/stdin" \ 
     8109      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     8110    esac 
     8111    ;; 
     8112  esac 
     8113 
     8114  ac_dir=`$as_dirname -- "$ac_file" || 
     8115$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     8116         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     8117         X"$ac_file" : 'X\(//\)$' \| \ 
     8118         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     8119$as_echo X"$ac_file" | 
     8120    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     8121            s//\1/ 
     8122            q 
     8123          } 
     8124          /^X\(\/\/\)[^/].*/{ 
     8125            s//\1/ 
     8126            q 
     8127          } 
     8128          /^X\(\/\/\)$/{ 
     8129            s//\1/ 
     8130            q 
     8131          } 
     8132          /^X\(\/\).*/{ 
     8133            s//\1/ 
     8134            q 
     8135          } 
     8136          s/.*/./; q'` 
     8137  as_dir="$ac_dir"; as_fn_mkdir_p 
    147228138  ac_builddir=. 
    147238139 
     
    147258141.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    147268142*) 
    14727   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     8143  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    147288144  # A ".." for each directory in $ac_dir_suffix. 
    14729   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     8145  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    147308146  case $ac_top_builddir_sub in 
    147318147  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    147638179_ACEOF 
    147648180 
    14765 cat >>$CONFIG_STATUS <<\_ACEOF 
     8181cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    147668182# If the template does not know about datarootdir, expand it. 
    147678183# FIXME: This hack should be removed a few years after 2.60. 
    147688184ac_datarootdir_hack=; ac_datarootdir_seen= 
    14769  
    14770 case `sed -n '/datarootdir/ { 
     8185ac_sed_dataroot=' 
     8186/datarootdir/ { 
    147718187  p 
    147728188  q 
     
    147768192/@infodir@/p 
    147778193/@localedir@/p 
    14778 /@mandir@/p 
    14779 ' $ac_file_inputs` in 
     8194/@mandir@/p' 
     8195case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
    147808196*datarootdir*) ac_datarootdir_seen=yes;; 
    147818197*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    14782   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    14783 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    14784 _ACEOF 
    14785 cat >>$CONFIG_STATUS <<_ACEOF 
     8198  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     8199$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     8200_ACEOF 
     8201cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    147868202  ac_datarootdir_hack=' 
    147878203  s&@datadir@&$datadir&g 
     
    147908206  s&@localedir@&$localedir&g 
    147918207  s&@mandir@&$mandir&g 
    14792     s&\\\${datarootdir}&$datarootdir&g' ;; 
     8208  s&\\\${datarootdir}&$datarootdir&g' ;; 
    147938209esac 
    147948210_ACEOF 
     
    147978213# Shell code in configure.ac might set extrasub. 
    147988214# FIXME: do we really want to maintain this feature? 
    14799 cat >>$CONFIG_STATUS <<_ACEOF 
    14800   sed "$ac_vpsub 
     8215cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     8216ac_sed_extra="$ac_vpsub 
    148018217$extrasub 
    148028218_ACEOF 
    14803 cat >>$CONFIG_STATUS <<\_ACEOF 
     8219cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    148048220:t 
    148058221/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    14806 s&@configure_input@&$configure_input&;t t 
     8222s|@configure_input@|$ac_sed_conf_input|;t t 
    148078223s&@top_builddir@&$ac_top_builddir_sub&;t t 
     8224s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    148088225s&@srcdir@&$ac_srcdir&;t t 
    148098226s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    148148231s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    148158232$ac_datarootdir_hack 
    14816 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
     8233" 
     8234eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
     8235  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    148178236 
    148188237test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    148198238  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    148208239  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    14821   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     8240  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    148228241which seems to be undefined.  Please make sure it is defined." >&5 
    14823 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     8242$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    148248243which seems to be undefined.  Please make sure it is defined." >&2;} 
    148258244 
    148268245  rm -f "$tmp/stdin" 
    148278246  case $ac_file in 
    14828   -) cat "$tmp/out"; rm -f "$tmp/out";; 
    14829   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
    14830   esac 
     8247  -) cat "$tmp/out" && rm -f "$tmp/out";; 
     8248  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     8249  esac \ 
     8250  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    148318251 ;; 
    148328252  :H) 
     
    148348254  # CONFIG_HEADER 
    148358255  # 
    14836 _ACEOF 
    14837  
    14838 # Transform confdefs.h into a sed script `conftest.defines', that 
    14839 # substitutes the proper values into config.h.in to produce config.h. 
    14840 rm -f conftest.defines conftest.tail 
    14841 # First, append a space to every undef/define line, to ease matching. 
    14842 echo 's/$/ /' >conftest.defines 
    14843 # Then, protect against being on the right side of a sed subst, or in 
    14844 # an unquoted here document, in config.status.  If some macros were 
    14845 # called several times there might be several #defines for the same 
    14846 # symbol, which is useless.  But do not sort them, since the last 
    14847 # AC_DEFINE must be honored. 
    14848 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    14849 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
    14850 # NAME is the cpp macro being defined, VALUE is the value it is being given. 
    14851 # PARAMS is the parameter list in the macro definition--in most cases, it's 
    14852 # just an empty string. 
    14853 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
    14854 ac_dB='\\)[      (].*,\\1define\\2' 
    14855 ac_dC=' ' 
    14856 ac_dD=' ,' 
    14857  
    14858 uniq confdefs.h | 
    14859   sed -n ' 
    14860         t rset 
    14861         :rset 
    14862         s/^[     ]*#[    ]*define[       ][      ]*// 
    14863         t ok 
    14864         d 
    14865         :ok 
    14866         s/[\\&,]/\\&/g 
    14867         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
    14868         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
    14869   ' >>conftest.defines 
    14870  
    14871 # Remove the space that was appended to ease matching. 
    14872 # Then replace #undef with comments.  This is necessary, for 
    14873 # example, in the case of _POSIX_SOURCE, which is predefined and required 
    14874 # on some systems where configure will not decide to define it. 
    14875 # (The regexp can be short, since the line contains either #define or #undef.) 
    14876 echo 's/ $// 
    14877 s,^[     #]*u.*,/* & */,' >>conftest.defines 
    14878  
    14879 # Break up conftest.defines: 
    14880 ac_max_sed_lines=50 
    14881  
    14882 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
    14883 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
    14884 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
    14885 # et cetera. 
    14886 ac_in='$ac_file_inputs' 
    14887 ac_out='"$tmp/out1"' 
    14888 ac_nxt='"$tmp/out2"' 
    14889  
    14890 while : 
    14891 do 
    14892   # Write a here document: 
    14893     cat >>$CONFIG_STATUS <<_ACEOF 
    14894     # First, check the format of the line: 
    14895     cat >"\$tmp/defines.sed" <<\\CEOF 
    14896 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*/b def 
    14897 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
    14898 b 
    14899 :def 
    14900 _ACEOF 
    14901   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
    14902   echo 'CEOF 
    14903     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
    14904   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
    14905   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
    14906   grep . conftest.tail >/dev/null || break 
    14907   rm -f conftest.defines 
    14908   mv conftest.tail conftest.defines 
    14909 done 
    14910 rm -f conftest.defines conftest.tail 
    14911  
    14912 echo "ac_result=$ac_in" >>$CONFIG_STATUS 
    14913 cat >>$CONFIG_STATUS <<\_ACEOF 
    149148256  if test x"$ac_file" != x-; then 
    14915     echo "/* $configure_input  */" >"$tmp/config.h" 
    14916     cat "$ac_result" >>"$tmp/config.h" 
    14917     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
    14918       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    14919 echo "$as_me: $ac_file is unchanged" >&6;} 
     8257    { 
     8258      $as_echo "/* $configure_input  */" \ 
     8259      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
     8260    } >"$tmp/config.h" \ 
     8261      || as_fn_error "could not create $ac_file" "$LINENO" 5 
     8262    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     8263      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
     8264$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    149208265    else 
    14921       rm -f $ac_file 
    14922       mv "$tmp/config.h" $ac_file 
     8266      rm -f "$ac_file" 
     8267      mv "$tmp/config.h" "$ac_file" \ 
     8268        || as_fn_error "could not create $ac_file" "$LINENO" 5 
    149238269    fi 
    149248270  else 
    14925     echo "/* $configure_input  */" 
    14926     cat "$ac_result" 
     8271    $as_echo "/* $configure_input  */" \ 
     8272      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
     8273      || as_fn_error "could not create -" "$LINENO" 5 
    149278274  fi 
    14928   rm -f "$tmp/out12" 
    149298275 ;; 
    149308276 
     
    149358281 
    149368282 
    14937 { (exit 0); exit 0; } 
    14938 _ACEOF 
    14939 chmod +x $CONFIG_STATUS 
     8283as_fn_exit 0 
     8284_ACEOF 
    149408285ac_clean_files=$ac_clean_files_save 
     8286 
     8287test $ac_write_fail = 0 || 
     8288  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    149418289 
    149428290 
     
    149598307  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    149608308  # would make configure fail if this is the last instruction. 
    14961   $ac_cs_success || { (exit 1); exit 1; } 
    14962 fi 
    14963  
    14964  
    14965  
    14966 { echo "$as_me:$LINENO: result: 
     8309  $ac_cs_success || as_fn_exit $? 
     8310fi 
     8311if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
     8312  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
     8313$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
     8314fi 
     8315 
     8316 
     8317 
     8318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
    149678319 
    149688320Configurations 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. 
     
    149748326The next step now is to run 'make dep' and 'make'. 
    149758327" >&5 
    14976 echo "${ECHO_T} 
     8328$as_echo " 
    149778329 
    149788330Configurations 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

    r3841 r3859  
    829829                dnl # libz, needed by newer ffmpeg 
    830830                AC_CHECK_LIB(z, deflate) 
     831                AC_CHECK_LIB(x264, x264_free) 
    831832 
    832833                FFMPEG_PREFIX="" 
Note: See TracChangeset for help on using the changeset viewer.