Changeset 3672


Ignore:
Timestamp:
Jul 20, 2011 3:16:25 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1329: Added --with-sdl option in aconfigure script to specify alternate libSDL location

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r3670 r3672  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 
     3# Generated by GNU Autoconf 2.65 for pjproject 1.x. 
     4# 
    45# 
    56# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
     8# Inc. 
     9# 
     10# 
    711# This configure script is free software; the Free Software Foundation 
    812# gives unlimited permission to copy, distribute and modify it. 
    9 ## --------------------- ## 
    10 ## M4sh Initialization.  ## 
    11 ## --------------------- ## 
     13## -------------------- ## 
     14## M4sh Initialization. ## 
     15## -------------------- ## 
    1216 
    1317# Be more Bourne compatible 
    1418DUALCASE=1; export DUALCASE # for MKS sh 
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    1620  emulate sh 
    1721  NULLCMD=: 
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    1923  # is contrary to our usage.  Disable this feature. 
    2024  alias -g '${1+"$@"}'='"$@"' 
    2125  setopt NO_GLOB_SUBST 
    2226else 
    23   case `(set -o) 2>/dev/null` in 
    24   *posix*) set -o posix ;; 
     27  case `(set -o) 2>/dev/null` in #( 
     28  *posix*) : 
     29    set -o posix ;; #( 
     30  *) : 
     31     ;; 
    2532esac 
    26  
    27 fi 
    28  
    29  
    30  
    31  
    32 # PATH needs CR 
    33 # Avoid depending upon Character Ranges. 
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    37 as_cr_digits='0123456789' 
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     33fi 
     34 
     35 
     36as_nl=' 
     37' 
     38export as_nl 
     39# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     43# Prefer a ksh shell builtin over an external printf program on Solaris, 
     44# but without wasting forks for bash or zsh. 
     45if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     47  as_echo='print -r --' 
     48  as_echo_n='print -rn --' 
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     50  as_echo='printf %s\n' 
     51  as_echo_n='printf %s' 
     52else 
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     55    as_echo_n='/usr/ucb/echo -n' 
     56  else 
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     58    as_echo_n_body='eval 
     59      arg=$1; 
     60      case $arg in #( 
     61      *"$as_nl"*) 
     62        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     64      esac; 
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     66    ' 
     67    export as_echo_n_body 
     68    as_echo_n='sh -c $as_echo_n_body as_echo' 
     69  fi 
     70  export as_echo_body 
     71  as_echo='sh -c $as_echo_body as_echo' 
     72fi 
    3973 
    4074# The user is always right. 
    4175if test "${PATH_SEPARATOR+set}" != set; then 
    42   echo "#! /bin/sh" >conf$$.sh 
    43   echo  "exit 0"   >>conf$$.sh 
    44   chmod +x conf$$.sh 
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    46     PATH_SEPARATOR=';' 
    47   else 
    48     PATH_SEPARATOR=: 
    49   fi 
    50   rm -f conf$$.sh 
    51 fi 
    52  
    53 # Support unset when possible. 
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    55   as_unset=unset 
    56 else 
    57   as_unset=false 
     76  PATH_SEPARATOR=: 
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     79      PATH_SEPARATOR=';' 
     80  } 
    5881fi 
    5982 
     
    6487# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    6588# splitting by setting IFS to empty value.) 
    66 as_nl=' 
    67 ' 
    6889IFS=" ""        $as_nl" 
    6990 
    7091# Find who we are.  Look in the path if we contain no directory separator. 
    71 case $0 in 
     92case $0 in #(( 
    7293  *[\\/]* ) as_myself=$0 ;; 
    7394  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    7697  IFS=$as_save_IFS 
    7798  test -z "$as_dir" && as_dir=. 
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    79 done 
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     100  done 
    80101IFS=$as_save_IFS 
    81102 
     
    88109fi 
    89110if test ! -f "$as_myself"; then 
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    91   { (exit 1); exit 1; } 
    92 fi 
    93  
    94 # Work around bugs in pre-3.0 UWIN ksh. 
    95 for as_var in ENV MAIL MAILPATH 
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     112  exit 1 
     113fi 
     114 
     115# Unset variables that we do not need and which cause bugs (e.g. in 
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     117# suppresses any "Segmentation fault" message there.  '((' could 
     118# trigger a bug in pdksh 5.2.14. 
     119for as_var in BASH_ENV ENV MAIL MAILPATH 
     120do eval test x\${$as_var+set} = xset \ 
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    97122done 
    98123PS1='$ ' 
     
    101126 
    102127# NLS nuisances. 
    103 for as_var in \ 
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    106   LC_TELEPHONE LC_TIME 
     128LC_ALL=C 
     129export LC_ALL 
     130LANGUAGE=C 
     131export LANGUAGE 
     132 
     133# CDPATH. 
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     135 
     136if test "x$CONFIG_SHELL" = x; then 
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     138  emulate sh 
     139  NULLCMD=: 
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
     141  # is contrary to our usage.  Disable this feature. 
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     143  setopt NO_GLOB_SUBST 
     144else 
     145  case \`(set -o) 2>/dev/null\` in #( 
     146  *posix*) : 
     147    set -o posix ;; #( 
     148  *) : 
     149     ;; 
     150esac 
     151fi 
     152" 
     153  as_required="as_fn_return () { (exit \$1); } 
     154as_fn_success () { as_fn_return 0; } 
     155as_fn_failure () { as_fn_return 1; } 
     156as_fn_ret_success () { return 0; } 
     157as_fn_ret_failure () { return 1; } 
     158 
     159exitcode=0 
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
     165 
     166else 
     167  exitcode=1; echo positional parameters were not saved. 
     168fi 
     169test x\$exitcode = x0 || exit 1" 
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
     174test \$(( 1 + 1 )) = 2 || exit 1" 
     175  if (eval "$as_required") 2>/dev/null; then : 
     176  as_have_required=yes 
     177else 
     178  as_have_required=no 
     179fi 
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
     181 
     182else 
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     184as_found=false 
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    107186do 
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    109     eval $as_var=C; export $as_var 
     187  IFS=$as_save_IFS 
     188  test -z "$as_dir" && as_dir=. 
     189  as_found=: 
     190  case $as_dir in #( 
     191         /*) 
     192           for as_base in sh bash ksh sh5; do 
     193             # Try only shells that exist, to save several forks. 
     194             as_shell=$as_dir/$as_base 
     195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     197  CONFIG_SHELL=$as_shell as_have_required=yes 
     198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     199  break 2 
     200fi 
     201fi 
     202           done;; 
     203       esac 
     204  as_found=false 
     205done 
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
     207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
     208  CONFIG_SHELL=$SHELL as_have_required=yes 
     209fi; } 
     210IFS=$as_save_IFS 
     211 
     212 
     213      if test "x$CONFIG_SHELL" != x; then : 
     214  # We cannot yet assume a decent shell, so we have to provide a 
     215        # neutralization value for shells without unset; and this also 
     216        # works around shells that cannot unset nonexistent variables. 
     217        BASH_ENV=/dev/null 
     218        ENV=/dev/null 
     219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     220        export CONFIG_SHELL 
     221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     222fi 
     223 
     224    if test x$as_have_required = xno; then : 
     225  $as_echo "$0: This script requires a shell more modern than all" 
     226  $as_echo "$0: the shells that I found on your system." 
     227  if test x${ZSH_VERSION+set} = xset ; then 
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
    110230  else 
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
     232$0: including any error possibly output before this 
     233$0: message. Then install a modern shell, or manually run 
     234$0: the script under such a shell if you do have one." 
    112235  fi 
    113 done 
    114  
    115 # Required to use basename. 
     236  exit 1 
     237fi 
     238fi 
     239fi 
     240SHELL=${CONFIG_SHELL-/bin/sh} 
     241export SHELL 
     242# Unset more variables known to interfere with behavior of common tools. 
     243CLICOLOR_FORCE= GREP_OPTIONS= 
     244unset CLICOLOR_FORCE GREP_OPTIONS 
     245 
     246## --------------------- ## 
     247## M4sh Shell Functions. ## 
     248## --------------------- ## 
     249# as_fn_unset VAR 
     250# --------------- 
     251# Portably unset VAR. 
     252as_fn_unset () 
     253{ 
     254  { eval $1=; unset $1;} 
     255} 
     256as_unset=as_fn_unset 
     257 
     258# as_fn_set_status STATUS 
     259# ----------------------- 
     260# Set $? to STATUS, without forking. 
     261as_fn_set_status () 
     262{ 
     263  return $1 
     264} # as_fn_set_status 
     265 
     266# as_fn_exit STATUS 
     267# ----------------- 
     268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     269as_fn_exit () 
     270{ 
     271  set +e 
     272  as_fn_set_status $1 
     273  exit $1 
     274} # as_fn_exit 
     275 
     276# as_fn_mkdir_p 
     277# ------------- 
     278# Create "$as_dir" as a directory, including parents if necessary. 
     279as_fn_mkdir_p () 
     280{ 
     281 
     282  case $as_dir in #( 
     283  -*) as_dir=./$as_dir;; 
     284  esac 
     285  test -d "$as_dir" || eval $as_mkdir_p || { 
     286    as_dirs= 
     287    while :; do 
     288      case $as_dir in #( 
     289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     290      *) as_qdir=$as_dir;; 
     291      esac 
     292      as_dirs="'$as_qdir' $as_dirs" 
     293      as_dir=`$as_dirname -- "$as_dir" || 
     294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     295         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     296         X"$as_dir" : 'X\(//\)$' \| \ 
     297         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     298$as_echo X"$as_dir" | 
     299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     300            s//\1/ 
     301            q 
     302          } 
     303          /^X\(\/\/\)[^/].*/{ 
     304            s//\1/ 
     305            q 
     306          } 
     307          /^X\(\/\/\)$/{ 
     308            s//\1/ 
     309            q 
     310          } 
     311          /^X\(\/\).*/{ 
     312            s//\1/ 
     313            q 
     314          } 
     315          s/.*/./; q'` 
     316      test -d "$as_dir" && break 
     317    done 
     318    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     320 
     321 
     322} # as_fn_mkdir_p 
     323# as_fn_append VAR VALUE 
     324# ---------------------- 
     325# Append the text in VALUE to the end of the definition contained in VAR. Take 
     326# advantage of any shell optimizations that allow amortized linear growth over 
     327# repeated appends, instead of the typical quadratic growth present in naive 
     328# implementations. 
     329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     330  eval 'as_fn_append () 
     331  { 
     332    eval $1+=\$2 
     333  }' 
     334else 
     335  as_fn_append () 
     336  { 
     337    eval $1=\$$1\$2 
     338  } 
     339fi # as_fn_append 
     340 
     341# as_fn_arith ARG... 
     342# ------------------ 
     343# Perform arithmetic evaluation on the ARGs, and store the result in the 
     344# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     345# must be portable across $(()) and expr. 
     346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     347  eval 'as_fn_arith () 
     348  { 
     349    as_val=$(( $* )) 
     350  }' 
     351else 
     352  as_fn_arith () 
     353  { 
     354    as_val=`expr "$@" || test $? -eq 1` 
     355  } 
     356fi # as_fn_arith 
     357 
     358 
     359# as_fn_error ERROR [LINENO LOG_FD] 
     360# --------------------------------- 
     361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     363# script with status $?, using 1 if that was 0. 
     364as_fn_error () 
     365{ 
     366  as_status=$?; test $as_status -eq 0 && as_status=1 
     367  if test "$3"; then 
     368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     370  fi 
     371  $as_echo "$as_me: error: $1" >&2 
     372  as_fn_exit $as_status 
     373} # as_fn_error 
     374 
    116375if expr a : '\(a\)' >/dev/null 2>&1 && 
    117376   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    127386fi 
    128387 
    129  
    130 # Name of the executable. 
     388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     389  as_dirname=dirname 
     390else 
     391  as_dirname=false 
     392fi 
     393 
    131394as_me=`$as_basename -- "$0" || 
    132395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    133396         X"$0" : 'X\(//\)$' \| \ 
    134397         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    135 echo X/"$0" | 
     398$as_echo X/"$0" | 
    136399    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    137400            s//\1/ 
     
    148411          s/.*/./; q'` 
    149412 
    150 # CDPATH. 
    151 $as_unset CDPATH 
    152  
    153  
    154 if test "x$CONFIG_SHELL" = x; then 
    155   if (eval ":") 2>/dev/null; then 
    156   as_have_required=yes 
    157 else 
    158   as_have_required=no 
    159 fi 
    160  
    161   if test $as_have_required = yes &&     (eval ": 
    162 (as_func_return () { 
    163   (exit \$1) 
    164 } 
    165 as_func_success () { 
    166   as_func_return 0 
    167 } 
    168 as_func_failure () { 
    169   as_func_return 1 
    170 } 
    171 as_func_ret_success () { 
    172   return 0 
    173 } 
    174 as_func_ret_failure () { 
    175   return 1 
    176 } 
    177  
    178 exitcode=0 
    179 if as_func_success; then 
    180   : 
    181 else 
    182   exitcode=1 
    183   echo as_func_success failed. 
    184 fi 
    185  
    186 if as_func_failure; then 
    187   exitcode=1 
    188   echo as_func_failure succeeded. 
    189 fi 
    190  
    191 if as_func_ret_success; then 
    192   : 
    193 else 
    194   exitcode=1 
    195   echo as_func_ret_success failed. 
    196 fi 
    197  
    198 if as_func_ret_failure; then 
    199   exitcode=1 
    200   echo as_func_ret_failure succeeded. 
    201 fi 
    202  
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    204   : 
    205 else 
    206   exitcode=1 
    207   echo positional parameters were not saved. 
    208 fi 
    209  
    210 test \$exitcode = 0) || { (exit 1); exit 1; } 
    211  
    212 ( 
    213   as_lineno_1=\$LINENO 
    214   as_lineno_2=\$LINENO 
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    217 ") 2> /dev/null; then 
    218   : 
    219 else 
    220   as_candidate_shells= 
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    223 do 
    224   IFS=$as_save_IFS 
    225   test -z "$as_dir" && as_dir=. 
    226   case $as_dir in 
    227          /*) 
    228            for as_base in sh bash ksh sh5; do 
    229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    230            done;; 
    231        esac 
    232 done 
    233 IFS=$as_save_IFS 
    234  
    235  
    236       for as_shell in $as_candidate_shells $SHELL; do 
    237          # Try only shells that exist, to save several forks. 
    238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    239                 { ("$as_shell") 2> /dev/null <<\_ASEOF 
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    241   emulate sh 
    242   NULLCMD=: 
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    244   # is contrary to our usage.  Disable this feature. 
    245   alias -g '${1+"$@"}'='"$@"' 
    246   setopt NO_GLOB_SUBST 
    247 else 
    248   case `(set -o) 2>/dev/null` in 
    249   *posix*) set -o posix ;; 
    250 esac 
    251  
    252 fi 
    253  
    254  
    255 : 
    256 _ASEOF 
    257 }; then 
    258   CONFIG_SHELL=$as_shell 
    259                as_have_required=yes 
    260                if { "$as_shell" 2> /dev/null <<\_ASEOF 
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    262   emulate sh 
    263   NULLCMD=: 
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    265   # is contrary to our usage.  Disable this feature. 
    266   alias -g '${1+"$@"}'='"$@"' 
    267   setopt NO_GLOB_SUBST 
    268 else 
    269   case `(set -o) 2>/dev/null` in 
    270   *posix*) set -o posix ;; 
    271 esac 
    272  
    273 fi 
    274  
    275  
    276 : 
    277 (as_func_return () { 
    278   (exit $1) 
    279 } 
    280 as_func_success () { 
    281   as_func_return 0 
    282 } 
    283 as_func_failure () { 
    284   as_func_return 1 
    285 } 
    286 as_func_ret_success () { 
    287   return 0 
    288 } 
    289 as_func_ret_failure () { 
    290   return 1 
    291 } 
    292  
    293 exitcode=0 
    294 if as_func_success; then 
    295   : 
    296 else 
    297   exitcode=1 
    298   echo as_func_success failed. 
    299 fi 
    300  
    301 if as_func_failure; then 
    302   exitcode=1 
    303   echo as_func_failure succeeded. 
    304 fi 
    305  
    306 if as_func_ret_success; then 
    307   : 
    308 else 
    309   exitcode=1 
    310   echo as_func_ret_success failed. 
    311 fi 
    312  
    313 if as_func_ret_failure; then 
    314   exitcode=1 
    315   echo as_func_ret_failure succeeded. 
    316 fi 
    317  
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then 
    319   : 
    320 else 
    321   exitcode=1 
    322   echo positional parameters were not saved. 
    323 fi 
    324  
    325 test $exitcode = 0) || { (exit 1); exit 1; } 
    326  
    327 ( 
    328   as_lineno_1=$LINENO 
    329   as_lineno_2=$LINENO 
    330   test "x$as_lineno_1" != "x$as_lineno_2" && 
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    332  
    333 _ASEOF 
    334 }; then 
    335   break 
    336 fi 
    337  
    338 fi 
    339  
    340       done 
    341  
    342       if test "x$CONFIG_SHELL" != x; then 
    343   for as_var in BASH_ENV ENV 
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    345         done 
    346         export CONFIG_SHELL 
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    348 fi 
    349  
    350  
    351     if test $as_have_required = no; then 
    352   echo This script requires a shell more modern than all the 
    353       echo shells that I found on your system.  Please install a 
    354       echo modern shell, or manually run the script under such a 
    355       echo shell if you do have one. 
    356       { (exit 1); exit 1; } 
    357 fi 
    358  
    359  
    360 fi 
    361  
    362 fi 
    363  
    364  
    365  
    366 (eval "as_func_return () { 
    367   (exit \$1) 
    368 } 
    369 as_func_success () { 
    370   as_func_return 0 
    371 } 
    372 as_func_failure () { 
    373   as_func_return 1 
    374 } 
    375 as_func_ret_success () { 
    376   return 0 
    377 } 
    378 as_func_ret_failure () { 
    379   return 1 
    380 } 
    381  
    382 exitcode=0 
    383 if as_func_success; then 
    384   : 
    385 else 
    386   exitcode=1 
    387   echo as_func_success failed. 
    388 fi 
    389  
    390 if as_func_failure; then 
    391   exitcode=1 
    392   echo as_func_failure succeeded. 
    393 fi 
    394  
    395 if as_func_ret_success; then 
    396   : 
    397 else 
    398   exitcode=1 
    399   echo as_func_ret_success failed. 
    400 fi 
    401  
    402 if as_func_ret_failure; then 
    403   exitcode=1 
    404   echo as_func_ret_failure succeeded. 
    405 fi 
    406  
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    408   : 
    409 else 
    410   exitcode=1 
    411   echo positional parameters were not saved. 
    412 fi 
    413  
    414 test \$exitcode = 0") || { 
    415   echo No shell found that supports shell functions. 
    416   echo Please tell autoconf@gnu.org about your system, 
    417   echo including any error possibly output before this 
    418   echo message 
    419 } 
    420  
    421  
    422  
    423   as_lineno_1=$LINENO 
    424   as_lineno_2=$LINENO 
    425   test "x$as_lineno_1" != "x$as_lineno_2" && 
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    427  
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    429   # uniformly replaced by the line number.  The first 'sed' inserts a 
    430   # line-number line after each line using $LINENO; the second 'sed' 
    431   # does the real work.  The second script uses 'N' to pair each 
    432   # line-number line with the line containing $LINENO, and appends 
    433   # trailing '-' during substitution so that $LINENO is not a special 
    434   # case at line end. 
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    437   # E. McMahon (1931-1989) for sed's syntax.  :-) 
     413# Avoid depending upon Character Ranges. 
     414as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     416as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     417as_cr_digits='0123456789' 
     418as_cr_alnum=$as_cr_Letters$as_cr_digits 
     419 
     420 
     421  as_lineno_1=$LINENO as_lineno_1a=$LINENO 
     422  as_lineno_2=$LINENO as_lineno_2a=$LINENO 
     423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
     424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
     425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
    438426  sed -n ' 
    439427    p 
     
    452440    ' >$as_me.lineno && 
    453441  chmod +x "$as_me.lineno" || 
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    455    { (exit 1); exit 1; }; } 
     442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    456443 
    457444  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    463450} 
    464451 
    465  
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    467   as_dirname=dirname 
    468 else 
    469   as_dirname=false 
    470 fi 
    471  
    472452ECHO_C= ECHO_N= ECHO_T= 
    473 case `echo -n x` in 
     453case `echo -n x` in #((((( 
    474454-n*) 
    475   case `echo 'x\c'` in 
     455  case `echo 'xy\c'` in 
    476456  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    477   *)   ECHO_C='\c';; 
     457  xy)  ECHO_C='\c';; 
     458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     459       ECHO_T=' ';; 
    478460  esac;; 
    479461*) 
     
    481463esac 
    482464 
    483 if expr a : '\(a\)' >/dev/null 2>&1 && 
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    485   as_expr=expr 
    486 else 
    487   as_expr=false 
    488 fi 
    489  
    490465rm -f conf$$ conf$$.exe conf$$.file 
    491466if test -d conf$$.dir; then 
     
    493468else 
    494469  rm -f conf$$.dir 
    495   mkdir conf$$.dir 
    496 fi 
    497 echo >conf$$.file 
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    499   as_ln_s='ln -s' 
    500   # ... but there are two gotchas: 
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    503   # In both cases, we have to default to `cp -p'. 
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     470  mkdir conf$$.dir 2>/dev/null 
     471fi 
     472if (echo >conf$$.file) 2>/dev/null; then 
     473  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     474    as_ln_s='ln -s' 
     475    # ... but there are two gotchas: 
     476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     478    # In both cases, we have to default to `cp -p'. 
     479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     480      as_ln_s='cp -p' 
     481  elif ln conf$$.file conf$$ 2>/dev/null; then 
     482    as_ln_s=ln 
     483  else 
    505484    as_ln_s='cp -p' 
    506 elif ln conf$$.file conf$$ 2>/dev/null; then 
    507   as_ln_s=ln 
     485  fi 
    508486else 
    509487  as_ln_s='cp -p' 
     
    513491 
    514492if mkdir -p . 2>/dev/null; then 
    515   as_mkdir_p=: 
     493  as_mkdir_p='mkdir -p "$as_dir"' 
    516494else 
    517495  test -d ./-p && rmdir ./-p 
     
    530508    eval sh -c '\'' 
    531509      if test -d "$1"; then 
    532         test -d "$1/."; 
     510        test -d "$1/."; 
    533511      else 
    534         case $1 in 
    535         -*)set "./$1";; 
     512        case $1 in #( 
     513        -*)set "./$1";; 
    536514        esac; 
    537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     515        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    538516        ???[sx]*):;;*)false;;esac;fi 
    539517    '\'' sh 
     
    549527 
    550528 
    551  
    552 exec 7<&0 </dev/null 6>&1 
     529test -n "$DJDIR" || exec 7<&0 </dev/null 
     530exec 6>&1 
    553531 
    554532# Name of the host. 
     
    568546MFLAGS= 
    569547MAKEFLAGS= 
    570 SHELL=${CONFIG_SHELL-/bin/sh} 
    571548 
    572549# Identity of this package. 
     
    576553PACKAGE_STRING='pjproject 1.x' 
    577554PACKAGE_BUGREPORT='' 
     555PACKAGE_URL='' 
    578556 
    579557# Factoring default headers for most tests. 
     
    613591#endif" 
    614592 
    615 ac_subst_vars='SHELL 
     593ac_subst_vars='LTLIBOBJS 
     594LIBOBJS 
     595ac_main_obj 
     596ac_host 
     597ac_linux_poll 
     598ac_cross_compile 
     599libcrypto_present 
     600libssl_present 
     601openssl_h_present 
     602ac_no_ssl 
     603ac_v4l2_ldflags 
     604ac_v4l2_cflags 
     605ac_ffmpeg_ldflags 
     606ac_ffmpeg_cflags 
     607ac_has_ffmpeg 
     608ac_sdl_ldflags 
     609ac_sdl_cflags 
     610ac_no_ilbc_codec 
     611ac_no_speex_codec 
     612ac_no_g7221_codec 
     613ac_no_g722_codec 
     614ac_no_gsm_codec 
     615ac_no_l16_codec 
     616ac_no_g711_codec 
     617ac_no_speex_aec 
     618ac_no_large_filter 
     619ac_no_small_filter 
     620ac_qt_cflags 
     621ac_pjmedia_video_has_qt 
     622ac_ios_cflags 
     623ac_pjmedia_video 
     624ac_pa_use_oss 
     625ac_pa_use_alsa 
     626ac_pa_cflags 
     627ac_external_pa 
     628ac_pjmedia_snd 
     629ac_external_gsm 
     630ac_external_speex 
     631ac_os_objs 
     632EGREP 
     633GREP 
     634CPP 
     635ac_build_mak_vars 
     636ac_pjdir 
     637CC_CFLAGS 
     638CC_OPTIMIZE 
     639CC_DEF 
     640CC_INC 
     641CC_OUT 
     642LIBEXT2 
     643LIBEXT 
     644RANLIB 
     645LDOUT 
     646LD 
     647AR 
     648ac_ct_CXX 
     649CXXFLAGS 
     650CXX 
     651OBJEXT 
     652EXEEXT 
     653ac_ct_CC 
     654CPPFLAGS 
     655LDFLAGS 
     656CFLAGS 
     657CC 
     658target_os 
     659target_vendor 
     660target_cpu 
     661target 
     662host_os 
     663host_vendor 
     664host_cpu 
     665host 
     666build_os 
     667build_vendor 
     668build_cpu 
     669build 
     670target_alias 
     671host_alias 
     672build_alias 
     673LIBS 
     674ECHO_T 
     675ECHO_N 
     676ECHO_C 
     677DEFS 
     678mandir 
     679localedir 
     680libdir 
     681psdir 
     682pdfdir 
     683dvidir 
     684htmldir 
     685infodir 
     686docdir 
     687oldincludedir 
     688includedir 
     689localstatedir 
     690sharedstatedir 
     691sysconfdir 
     692datadir 
     693datarootdir 
     694libexecdir 
     695sbindir 
     696bindir 
     697program_transform_name 
     698prefix 
     699exec_prefix 
     700PACKAGE_URL 
     701PACKAGE_BUGREPORT 
     702PACKAGE_STRING 
     703PACKAGE_VERSION 
     704PACKAGE_TARNAME 
     705PACKAGE_NAME 
    616706PATH_SEPARATOR 
    617 PACKAGE_NAME 
    618 PACKAGE_TARNAME 
    619 PACKAGE_VERSION 
    620 PACKAGE_STRING 
    621 PACKAGE_BUGREPORT 
    622 exec_prefix 
    623 prefix 
    624 program_transform_name 
    625 bindir 
    626 sbindir 
    627 libexecdir 
    628 datarootdir 
    629 datadir 
    630 sysconfdir 
    631 sharedstatedir 
    632 localstatedir 
    633 includedir 
    634 oldincludedir 
    635 docdir 
    636 infodir 
    637 htmldir 
    638 dvidir 
    639 pdfdir 
    640 psdir 
    641 libdir 
    642 localedir 
    643 mandir 
    644 DEFS 
    645 ECHO_C 
    646 ECHO_N 
    647 ECHO_T 
    648 LIBS 
    649 build_alias 
    650 host_alias 
    651 target_alias 
    652 build 
    653 build_cpu 
    654 build_vendor 
    655 build_os 
    656 host 
    657 host_cpu 
    658 host_vendor 
    659 host_os 
    660 target 
    661 target_cpu 
    662 target_vendor 
    663 target_os 
    664 CC 
    665 CFLAGS 
    666 LDFLAGS 
    667 CPPFLAGS 
    668 ac_ct_CC 
    669 EXEEXT 
    670 OBJEXT 
    671 CXX 
    672 CXXFLAGS 
    673 ac_ct_CXX 
    674 AR 
    675 LD 
    676 LDOUT 
    677 RANLIB 
    678 LIBEXT 
    679 LIBEXT2 
    680 CC_OUT 
    681 CC_INC 
    682 CC_DEF 
    683 CC_OPTIMIZE 
    684 CC_CFLAGS 
    685 ac_pjdir 
    686 ac_build_mak_vars 
    687 CPP 
    688 GREP 
    689 EGREP 
    690 ac_os_objs 
    691 ac_external_speex 
    692 ac_external_gsm 
    693 ac_pjmedia_snd 
    694 ac_external_pa 
    695 ac_pa_cflags 
    696 ac_pa_use_alsa 
    697 ac_pa_use_oss 
    698 ac_pjmedia_video 
    699 ac_ios_cflags 
    700 ac_pjmedia_video_has_qt 
    701 ac_qt_cflags 
    702 ac_no_small_filter 
    703 ac_no_large_filter 
    704 ac_no_speex_aec 
    705 ac_no_g711_codec 
    706 ac_no_l16_codec 
    707 ac_no_gsm_codec 
    708 ac_no_g722_codec 
    709 ac_no_g7221_codec 
    710 ac_no_speex_codec 
    711 ac_no_ilbc_codec 
    712 ac_sdl_cflags 
    713 ac_sdl_ldflags 
    714 ac_has_ffmpeg 
    715 ac_ffmpeg_cflags 
    716 ac_ffmpeg_ldflags 
    717 ac_v4l2_cflags 
    718 ac_v4l2_ldflags 
    719 ac_no_ssl 
    720 openssl_h_present 
    721 libssl_present 
    722 libcrypto_present 
    723 ac_cross_compile 
    724 ac_linux_poll 
    725 ac_host 
    726 ac_main_obj 
    727 LIBOBJS 
    728 LTLIBOBJS' 
     707SHELL' 
    729708ac_subst_files='' 
     709ac_user_opts=' 
     710enable_option_checking 
     711enable_floating_point 
     712enable_epoll 
     713with_external_speex 
     714with_external_gsm 
     715enable_sound 
     716with_external_pa 
     717enable_oss 
     718enable_ext_sound 
     719enable_small_filter 
     720enable_large_filter 
     721enable_speex_aec 
     722enable_g711_codec 
     723enable_l16_codec 
     724enable_gsm_codec 
     725enable_g722_codec 
     726enable_g7221_codec 
     727enable_speex_codec 
     728enable_ilbc_codec 
     729enable_libsamplerate 
     730with_sdl 
     731enable_sdl 
     732enable_ffmpeg 
     733with_ffmpeg 
     734enable_v4l2 
     735enable_ipp 
     736with_ipp 
     737with_ipp_samples 
     738with_ipp_arch 
     739enable_ssl 
     740' 
    730741      ac_precious_vars='build_alias 
    731742host_alias 
     
    745756ac_init_help= 
    746757ac_init_version=false 
     758ac_unrecognized_opts= 
     759ac_unrecognized_sep= 
    747760# The variables have the same names as the options, with 
    748761# dashes changed to underlines. 
     
    843856 
    844857  -disable-* | --disable-*) 
    845     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     858    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    846859    # Reject names that are not valid shell variable names. 
    847     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    848       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    849    { (exit 1); exit 1; }; } 
    850     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    851     eval enable_$ac_feature=no ;; 
     860    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     861      as_fn_error "invalid feature name: $ac_useropt" 
     862    ac_useropt_orig=$ac_useropt 
     863    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     864    case $ac_user_opts in 
     865      *" 
     866"enable_$ac_useropt" 
     867"*) ;; 
     868      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
     869         ac_unrecognized_sep=', ';; 
     870    esac 
     871    eval enable_$ac_useropt=no ;; 
    852872 
    853873  -docdir | --docdir | --docdi | --doc | --do) 
     
    862882 
    863883  -enable-* | --enable-*) 
    864     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     884    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    865885    # Reject names that are not valid shell variable names. 
    866     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    867       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    868    { (exit 1); exit 1; }; } 
    869     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    870     eval enable_$ac_feature=\$ac_optarg ;; 
     886    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     887      as_fn_error "invalid feature name: $ac_useropt" 
     888    ac_useropt_orig=$ac_useropt 
     889    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     890    case $ac_user_opts in 
     891      *" 
     892"enable_$ac_useropt" 
     893"*) ;; 
     894      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
     895         ac_unrecognized_sep=', ';; 
     896    esac 
     897    eval enable_$ac_useropt=\$ac_optarg ;; 
    871898 
    872899  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10591086 
    10601087  -with-* | --with-*) 
    1061     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1088    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10621089    # Reject names that are not valid shell variable names. 
    1063     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1064       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1065    { (exit 1); exit 1; }; } 
    1066     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1067     eval with_$ac_package=\$ac_optarg ;; 
     1090    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1091      as_fn_error "invalid package name: $ac_useropt" 
     1092    ac_useropt_orig=$ac_useropt 
     1093    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1094    case $ac_user_opts in 
     1095      *" 
     1096"with_$ac_useropt" 
     1097"*) ;; 
     1098      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
     1099         ac_unrecognized_sep=', ';; 
     1100    esac 
     1101    eval with_$ac_useropt=\$ac_optarg ;; 
    10681102 
    10691103  -without-* | --without-*) 
    1070     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1104    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10711105    # Reject names that are not valid shell variable names. 
    1072     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1073       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1074    { (exit 1); exit 1; }; } 
    1075     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1076     eval with_$ac_package=no ;; 
     1106    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1107      as_fn_error "invalid package name: $ac_useropt" 
     1108    ac_useropt_orig=$ac_useropt 
     1109    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1110    case $ac_user_opts in 
     1111      *" 
     1112"with_$ac_useropt" 
     1113"*) ;; 
     1114      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
     1115         ac_unrecognized_sep=', ';; 
     1116    esac 
     1117    eval with_$ac_useropt=no ;; 
    10771118 
    10781119  --x) 
     
    10941135    x_libraries=$ac_optarg ;; 
    10951136 
    1096   -*) { echo "$as_me: error: unrecognized option: $ac_option 
    1097 Try \`$0 --help' for more information." >&2 
    1098    { (exit 1); exit 1; }; } 
     1137  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1138Try \`$0 --help' for more information." 
    10991139    ;; 
    11001140 
     
    11021142    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    11031143    # Reject names that are not valid shell variable names. 
    1104     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1105       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1106    { (exit 1); exit 1; }; } 
     1144    case $ac_envvar in #( 
     1145      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1146      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1147    esac 
    11071148    eval $ac_envvar=\$ac_optarg 
    11081149    export $ac_envvar ;; 
     
    11101151  *) 
    11111152    # FIXME: should be removed in autoconf 3.0. 
    1112     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1153    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11131154    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1114       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1155      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11151156    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11161157    ;; 
     
    11211162if test -n "$ac_prev"; then 
    11221163  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1123   { echo "$as_me: error: missing argument to $ac_option" >&2 
    1124    { (exit 1); exit 1; }; } 
    1125 fi 
    1126  
    1127 # Be sure to have absolute directory names. 
     1164  as_fn_error "missing argument to $ac_option" 
     1165fi 
     1166 
     1167if test -n "$ac_unrecognized_opts"; then 
     1168  case $enable_option_checking in 
     1169    no) ;; 
     1170    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1171    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1172  esac 
     1173fi 
     1174 
     1175# Check all directory arguments for consistency. 
    11281176for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11291177                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11321180do 
    11331181  eval ac_val=\$$ac_var 
     1182  # Remove trailing slashes. 
     1183  case $ac_val in 
     1184    */ ) 
     1185      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
     1186      eval $ac_var=\$ac_val;; 
     1187  esac 
     1188  # Be sure to have absolute directory names. 
    11341189  case $ac_val in 
    11351190    [\\/$]* | ?:[\\/]* )  continue;; 
    11361191    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11371192  esac 
    1138   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1139    { (exit 1); exit 1; }; } 
     1193  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    11401194done 
    11411195 
     
    11511205  if test "x$build_alias" = x; then 
    11521206    cross_compiling=maybe 
    1153     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1207    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11541208    If a cross compiler is detected then cross compile mode will be used." >&2 
    11551209  elif test "x$build_alias" != "x$host_alias"; then 
     
    11671221ac_ls_di=`ls -di .` && 
    11681222ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1169   { echo "$as_me: error: Working directory cannot be determined" >&2 
    1170    { (exit 1); exit 1; }; } 
     1223  as_fn_error "working directory cannot be determined" 
    11711224test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1172   { echo "$as_me: error: pwd does not report name of working directory" >&2 
    1173    { (exit 1); exit 1; }; } 
     1225  as_fn_error "pwd does not report name of working directory" 
    11741226 
    11751227 
     
    11781230  ac_srcdir_defaulted=yes 
    11791231  # Try the directory containing this script, then the parent directory. 
    1180   ac_confdir=`$as_dirname -- "$0" || 
    1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1182          X"$0" : 'X\(//\)[^/]' \| \ 
    1183          X"$0" : 'X\(//\)$' \| \ 
    1184          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    1185 echo X"$0" | 
     1232  ac_confdir=`$as_dirname -- "$as_myself" || 
     1233$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1234         X"$as_myself" : 'X\(//\)[^/]' \| \ 
     1235         X"$as_myself" : 'X\(//\)$' \| \ 
     1236         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
     1237$as_echo X"$as_myself" | 
    11861238    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    11871239            s//\1/ 
     
    12101262if test ! -r "$srcdir/$ac_unique_file"; then 
    12111263  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1212   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1213    { (exit 1); exit 1; }; } 
     1264  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12141265fi 
    12151266ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12161267ac_abs_confdir=`( 
    1217         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    1218    { (exit 1); exit 1; }; } 
     1268        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12191269        pwd)` 
    12201270# When building in place, set srcdir=. 
     
    12641314Installation directories: 
    12651315  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1266                           [$ac_default_prefix] 
     1316                          [$ac_default_prefix] 
    12671317  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1268                           [PREFIX] 
     1318                          [PREFIX] 
    12691319 
    12701320By default, \`make install' will install all the files in 
     
    12761326 
    12771327Fine tuning of the installation directories: 
    1278   --bindir=DIR           user executables [EPREFIX/bin] 
    1279   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    1280   --libexecdir=DIR       program executables [EPREFIX/libexec] 
    1281   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    1282   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    1283   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    1284   --libdir=DIR           object code libraries [EPREFIX/lib] 
    1285   --includedir=DIR       C header files [PREFIX/include] 
    1286   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    1287   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    1288   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    1289   --infodir=DIR          info documentation [DATAROOTDIR/info] 
    1290   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    1291   --mandir=DIR           man documentation [DATAROOTDIR/man] 
    1292   --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
    1293   --htmldir=DIR          html documentation [DOCDIR] 
    1294   --dvidir=DIR           dvi documentation [DOCDIR] 
    1295   --pdfdir=DIR           pdf documentation [DOCDIR] 
    1296   --psdir=DIR            ps documentation [DOCDIR] 
     1328  --bindir=DIR            user executables [EPREFIX/bin] 
     1329  --sbindir=DIR           system admin executables [EPREFIX/sbin] 
     1330  --libexecdir=DIR        program executables [EPREFIX/libexec] 
     1331  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
     1332  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
     1333  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1334  --libdir=DIR            object code libraries [EPREFIX/lib] 
     1335  --includedir=DIR        C header files [PREFIX/include] 
     1336  --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
     1337  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
     1338  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
     1339  --infodir=DIR           info documentation [DATAROOTDIR/info] 
     1340  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
     1341  --mandir=DIR            man documentation [DATAROOTDIR/man] 
     1342  --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
     1343  --htmldir=DIR           html documentation [DOCDIR] 
     1344  --dvidir=DIR            dvi documentation [DOCDIR] 
     1345  --pdfdir=DIR            pdf documentation [DOCDIR] 
     1346  --psdir=DIR             ps documentation [DOCDIR] 
    12971347_ACEOF 
    12981348 
     
    13131363 
    13141364Optional Features: 
     1365  --disable-option-checking  ignore unrecognized --enable/--with options 
    13151366  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13161367  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    13611412                          (hint: use CFLAGS and LDFLAGS env var to set the 
    13621413                          include/lib paths) 
     1414  --with-sdl=DIR          Specify alternate libSDL prefix 
    13631415  --with-ffmpeg=DIR       Specify alternate FFMPEG prefix 
    13641416  --with-ipp=DIR          Specify the Intel IPP location 
     
    13731425              nonstandard directory <lib dir> 
    13741426  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1375   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
     1427  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
    13761428              you have headers in a nonstandard directory <include dir> 
    13771429  CXX         C++ compiler command 
     
    13821434it to find libraries and programs with nonstandard names/locations. 
    13831435 
     1436Report bugs to the package provider. 
    13841437_ACEOF 
    13851438ac_status=$? 
     
    13891442  # If there are subdirs, report their specific --help. 
    13901443  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1391     test -d "$ac_dir" || continue 
     1444    test -d "$ac_dir" || 
     1445      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
     1446      continue 
    13921447    ac_builddir=. 
    13931448 
     
    13951450.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    13961451*) 
    1397   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     1452  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    13981453  # A ".." for each directory in $ac_dir_suffix. 
    1399   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     1454  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    14001455  case $ac_top_builddir_sub in 
    14011456  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14331488      $SHELL "$ac_srcdir/configure" --help=recursive 
    14341489    else 
    1435       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1490      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14361491    fi || ac_status=$? 
    14371492    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14431498  cat <<\_ACEOF 
    14441499pjproject configure 1.x 
    1445 generated by GNU Autoconf 2.61 
    1446  
    1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     1500generated by GNU Autoconf 2.65 
     1501 
     1502Copyright (C) 2009 Free Software Foundation, Inc. 
    14491503This configure script is free software; the Free Software Foundation 
    14501504gives unlimited permission to copy, distribute and modify it. 
     
    14521506  exit 
    14531507fi 
     1508 
     1509## ------------------------ ## 
     1510## Autoconf initialization. ## 
     1511## ------------------------ ## 
     1512 
     1513# ac_fn_c_try_compile LINENO 
     1514# -------------------------- 
     1515# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1516ac_fn_c_try_compile () 
     1517{ 
     1518  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1519  rm -f conftest.$ac_objext 
     1520  if { { ac_try="$ac_compile" 
     1521case "(($ac_try" in 
     1522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1523  *) ac_try_echo=$ac_try;; 
     1524esac 
     1525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1526$as_echo "$ac_try_echo"; } >&5 
     1527  (eval "$ac_compile") 2>conftest.err 
     1528  ac_status=$? 
     1529  if test -s conftest.err; then 
     1530    grep -v '^ *+' conftest.err >conftest.er1 
     1531    cat conftest.er1 >&5 
     1532    mv -f conftest.er1 conftest.err 
     1533  fi 
     1534  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1535  test $ac_status = 0; } && { 
     1536         test -z "$ac_c_werror_flag" || 
     1537         test ! -s conftest.err 
     1538       } && test -s conftest.$ac_objext; then : 
     1539  ac_retval=0 
     1540else 
     1541  $as_echo "$as_me: failed program was:" >&5 
     1542sed 's/^/| /' conftest.$ac_ext >&5 
     1543 
     1544        ac_retval=1 
     1545fi 
     1546  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1547  as_fn_set_status $ac_retval 
     1548 
     1549} # ac_fn_c_try_compile 
     1550 
     1551# ac_fn_cxx_try_compile LINENO 
     1552# ---------------------------- 
     1553# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1554ac_fn_cxx_try_compile () 
     1555{ 
     1556  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1557  rm -f conftest.$ac_objext 
     1558  if { { ac_try="$ac_compile" 
     1559case "(($ac_try" in 
     1560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1561  *) ac_try_echo=$ac_try;; 
     1562esac 
     1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1564$as_echo "$ac_try_echo"; } >&5 
     1565  (eval "$ac_compile") 2>conftest.err 
     1566  ac_status=$? 
     1567  if test -s conftest.err; then 
     1568    grep -v '^ *+' conftest.err >conftest.er1 
     1569    cat conftest.er1 >&5 
     1570    mv -f conftest.er1 conftest.err 
     1571  fi 
     1572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1573  test $ac_status = 0; } && { 
     1574         test -z "$ac_cxx_werror_flag" || 
     1575         test ! -s conftest.err 
     1576       } && test -s conftest.$ac_objext; then : 
     1577  ac_retval=0 
     1578else 
     1579  $as_echo "$as_me: failed program was:" >&5 
     1580sed 's/^/| /' conftest.$ac_ext >&5 
     1581 
     1582        ac_retval=1 
     1583fi 
     1584  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1585  as_fn_set_status $ac_retval 
     1586 
     1587} # ac_fn_cxx_try_compile 
     1588 
     1589# ac_fn_c_try_link LINENO 
     1590# ----------------------- 
     1591# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1592ac_fn_c_try_link () 
     1593{ 
     1594  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1595  rm -f conftest.$ac_objext conftest$ac_exeext 
     1596  if { { ac_try="$ac_link" 
     1597case "(($ac_try" in 
     1598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1599  *) ac_try_echo=$ac_try;; 
     1600esac 
     1601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1602$as_echo "$ac_try_echo"; } >&5 
     1603  (eval "$ac_link") 2>conftest.err 
     1604  ac_status=$? 
     1605  if test -s conftest.err; then 
     1606    grep -v '^ *+' conftest.err >conftest.er1 
     1607    cat conftest.er1 >&5 
     1608    mv -f conftest.er1 conftest.err 
     1609  fi 
     1610  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1611  test $ac_status = 0; } && { 
     1612         test -z "$ac_c_werror_flag" || 
     1613         test ! -s conftest.err 
     1614       } && test -s conftest$ac_exeext && { 
     1615         test "$cross_compiling" = yes || 
     1616         $as_test_x conftest$ac_exeext 
     1617       }; then : 
     1618  ac_retval=0 
     1619else 
     1620  $as_echo "$as_me: failed program was:" >&5 
     1621sed 's/^/| /' conftest.$ac_ext >&5 
     1622 
     1623        ac_retval=1 
     1624fi 
     1625  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1626  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1627  # interfere with the next link command; also delete a directory that is 
     1628  # left behind by Apple's compiler.  We do this before executing the actions. 
     1629  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1630  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1631  as_fn_set_status $ac_retval 
     1632 
     1633} # ac_fn_c_try_link 
     1634 
     1635# ac_fn_c_try_run LINENO 
     1636# ---------------------- 
     1637# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1638# that executables *can* be run. 
     1639ac_fn_c_try_run () 
     1640{ 
     1641  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1642  if { { ac_try="$ac_link" 
     1643case "(($ac_try" in 
     1644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1645  *) ac_try_echo=$ac_try;; 
     1646esac 
     1647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1648$as_echo "$ac_try_echo"; } >&5 
     1649  (eval "$ac_link") 2>&5 
     1650  ac_status=$? 
     1651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1652  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1653  { { case "(($ac_try" in 
     1654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1655  *) ac_try_echo=$ac_try;; 
     1656esac 
     1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1658$as_echo "$ac_try_echo"; } >&5 
     1659  (eval "$ac_try") 2>&5 
     1660  ac_status=$? 
     1661  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1662  test $ac_status = 0; }; }; then : 
     1663  ac_retval=0 
     1664else 
     1665  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1666       $as_echo "$as_me: failed program was:" >&5 
     1667sed 's/^/| /' conftest.$ac_ext >&5 
     1668 
     1669       ac_retval=$ac_status 
     1670fi 
     1671  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1672  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1673  as_fn_set_status $ac_retval 
     1674 
     1675} # ac_fn_c_try_run 
     1676 
     1677# ac_fn_c_try_cpp LINENO 
     1678# ---------------------- 
     1679# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1680ac_fn_c_try_cpp () 
     1681{ 
     1682  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1683  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1684case "(($ac_try" in 
     1685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1686  *) ac_try_echo=$ac_try;; 
     1687esac 
     1688eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1689$as_echo "$ac_try_echo"; } >&5 
     1690  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1691  ac_status=$? 
     1692  if test -s conftest.err; then 
     1693    grep -v '^ *+' conftest.err >conftest.er1 
     1694    cat conftest.er1 >&5 
     1695    mv -f conftest.er1 conftest.err 
     1696  fi 
     1697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1698  test $ac_status = 0; } >/dev/null && { 
     1699         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1700         test ! -s conftest.err 
     1701       }; then : 
     1702  ac_retval=0 
     1703else 
     1704  $as_echo "$as_me: failed program was:" >&5 
     1705sed 's/^/| /' conftest.$ac_ext >&5 
     1706 
     1707    ac_retval=1 
     1708fi 
     1709  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1710  as_fn_set_status $ac_retval 
     1711 
     1712} # ac_fn_c_try_cpp 
     1713 
     1714# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1715# ------------------------------------------------------- 
     1716# Tests whether HEADER exists and can be compiled using the include files in 
     1717# INCLUDES, setting the cache variable VAR accordingly. 
     1718ac_fn_c_check_header_compile () 
     1719{ 
     1720  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1722$as_echo_n "checking for $2... " >&6; } 
     1723if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1724  $as_echo_n "(cached) " >&6 
     1725else 
     1726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1727/* end confdefs.h.  */ 
     1728$4 
     1729#include <$2> 
     1730_ACEOF 
     1731if ac_fn_c_try_compile "$LINENO"; then : 
     1732  eval "$3=yes" 
     1733else 
     1734  eval "$3=no" 
     1735fi 
     1736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1737fi 
     1738eval ac_res=\$$3 
     1739               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1740$as_echo "$ac_res" >&6; } 
     1741  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1742 
     1743} # ac_fn_c_check_header_compile 
     1744 
     1745# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1746# ------------------------------------------------------- 
     1747# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1748# the include files in INCLUDES and setting the cache variable VAR 
     1749# accordingly. 
     1750ac_fn_c_check_header_mongrel () 
     1751{ 
     1752  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1753  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1755$as_echo_n "checking for $2... " >&6; } 
     1756if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1757  $as_echo_n "(cached) " >&6 
     1758fi 
     1759eval ac_res=\$$3 
     1760               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1761$as_echo "$ac_res" >&6; } 
     1762else 
     1763  # Is the header compilable? 
     1764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1765$as_echo_n "checking $2 usability... " >&6; } 
     1766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1767/* end confdefs.h.  */ 
     1768$4 
     1769#include <$2> 
     1770_ACEOF 
     1771if ac_fn_c_try_compile "$LINENO"; then : 
     1772  ac_header_compiler=yes 
     1773else 
     1774  ac_header_compiler=no 
     1775fi 
     1776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1778$as_echo "$ac_header_compiler" >&6; } 
     1779 
     1780# Is the header present? 
     1781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1782$as_echo_n "checking $2 presence... " >&6; } 
     1783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1784/* end confdefs.h.  */ 
     1785#include <$2> 
     1786_ACEOF 
     1787if ac_fn_c_try_cpp "$LINENO"; then : 
     1788  ac_header_preproc=yes 
     1789else 
     1790  ac_header_preproc=no 
     1791fi 
     1792rm -f conftest.err conftest.$ac_ext 
     1793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1794$as_echo "$ac_header_preproc" >&6; } 
     1795 
     1796# So?  What about this header? 
     1797case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1798  yes:no: ) 
     1799    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1800$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1801    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1802$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1803    ;; 
     1804  no:yes:* ) 
     1805    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1806$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1807    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1808$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1809    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1810$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1811    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1812$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1813    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1814$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1815    ;; 
     1816esac 
     1817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1818$as_echo_n "checking for $2... " >&6; } 
     1819if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1820  $as_echo_n "(cached) " >&6 
     1821else 
     1822  eval "$3=\$ac_header_compiler" 
     1823fi 
     1824eval ac_res=\$$3 
     1825               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1826$as_echo "$ac_res" >&6; } 
     1827fi 
     1828  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1829 
     1830} # ac_fn_c_check_header_mongrel 
     1831 
     1832# ac_fn_c_check_func LINENO FUNC VAR 
     1833# ---------------------------------- 
     1834# Tests whether FUNC exists, setting the cache variable VAR accordingly 
     1835ac_fn_c_check_func () 
     1836{ 
     1837  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1839$as_echo_n "checking for $2... " >&6; } 
     1840if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1841  $as_echo_n "(cached) " >&6 
     1842else 
     1843  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1844/* end confdefs.h.  */ 
     1845/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
     1846   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     1847#define $2 innocuous_$2 
     1848 
     1849/* System header to define __stub macros and hopefully few prototypes, 
     1850    which can conflict with char $2 (); below. 
     1851    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     1852    <limits.h> exists even on freestanding compilers.  */ 
     1853 
     1854#ifdef __STDC__ 
     1855# include <limits.h> 
     1856#else 
     1857# include <assert.h> 
     1858#endif 
     1859 
     1860#undef $2 
     1861 
     1862/* Override any GCC internal prototype to avoid an error. 
     1863   Use char because int might match the return type of a GCC 
     1864   builtin and then its argument prototype would still apply.  */ 
     1865#ifdef __cplusplus 
     1866extern "C" 
     1867#endif 
     1868char $2 (); 
     1869/* The GNU C library defines this for functions which it implements 
     1870    to always fail with ENOSYS.  Some functions are actually named 
     1871    something starting with __ and the normal name is an alias.  */ 
     1872#if defined __stub_$2 || defined __stub___$2 
     1873choke me 
     1874#endif 
     1875 
     1876int 
     1877main () 
     1878{ 
     1879return $2 (); 
     1880  ; 
     1881  return 0; 
     1882} 
     1883_ACEOF 
     1884if ac_fn_c_try_link "$LINENO"; then : 
     1885  eval "$3=yes" 
     1886else 
     1887  eval "$3=no" 
     1888fi 
     1889rm -f core conftest.err conftest.$ac_objext \ 
     1890    conftest$ac_exeext conftest.$ac_ext 
     1891fi 
     1892eval ac_res=\$$3 
     1893               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1894$as_echo "$ac_res" >&6; } 
     1895  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1896 
     1897} # ac_fn_c_check_func 
    14541898cat >config.log <<_ACEOF 
    14551899This file contains any messages produced by compilers while 
     
    14571901 
    14581902It was created by pjproject $as_me 1.x, which was 
    1459 generated by GNU Autoconf 2.61.  Invocation command line was 
     1903generated by GNU Autoconf 2.65.  Invocation command line was 
    14601904 
    14611905  $ $0 $@ 
     
    14931937  IFS=$as_save_IFS 
    14941938  test -z "$as_dir" && as_dir=. 
    1495   echo "PATH: $as_dir" 
    1496 done 
     1939    $as_echo "PATH: $as_dir" 
     1940  done 
    14971941IFS=$as_save_IFS 
    14981942 
     
    15281972      continue ;; 
    15291973    *\'*) 
    1530       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1974      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    15311975    esac 
    15321976    case $ac_pass in 
    1533     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1977    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15341978    2) 
    1535       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1979      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15361980      if test $ac_must_keep_next = true; then 
    15371981        ac_must_keep_next=false # Got value, back to normal. 
     
    15491993        esac 
    15501994      fi 
    1551       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1995      as_fn_append ac_configure_args " '$ac_arg'" 
    15521996      ;; 
    15531997    esac 
    15541998  done 
    15551999done 
    1556 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1557 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     2000{ ac_configure_args0=; unset ac_configure_args0;} 
     2001{ ac_configure_args1=; unset ac_configure_args1;} 
    15582002 
    15592003# When interrupted or exit'd, cleanup temporary files, and complete 
     
    15802024    *${as_nl}*) 
    15812025      case $ac_var in #( 
    1582       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     2026      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     2027$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    15842028      esac 
    15852029      case $ac_var in #( 
    15862030      _ | IFS | as_nl) ;; #( 
    1587       *) $as_unset $ac_var ;; 
     2031      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     2032      *) { eval $ac_var=; unset $ac_var;} ;; 
    15882033      esac ;; 
    15892034    esac 
     
    16142059      eval ac_val=\$$ac_var 
    16152060      case $ac_val in 
    1616       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2061      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16172062      esac 
    1618       echo "$ac_var='\''$ac_val'\''" 
     2063      $as_echo "$ac_var='\''$ac_val'\''" 
    16192064    done | sort 
    16202065    echo 
     
    16312076        eval ac_val=\$$ac_var 
    16322077        case $ac_val in 
    1633         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2078        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16342079        esac 
    1635         echo "$ac_var='\''$ac_val'\''" 
     2080        $as_echo "$ac_var='\''$ac_val'\''" 
    16362081      done | sort 
    16372082      echo 
     
    16492094    fi 
    16502095    test "$ac_signal" != 0 && 
    1651       echo "$as_me: caught signal $ac_signal" 
    1652     echo "$as_me: exit $exit_status" 
     2096      $as_echo "$as_me: caught signal $ac_signal" 
     2097    $as_echo "$as_me: exit $exit_status" 
    16532098  } >&5 
    16542099  rm -f core *.core core.conftest.* && 
     
    16572102' 0 
    16582103for ac_signal in 1 2 13 15; do 
    1659   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     2104  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    16602105done 
    16612106ac_signal=0 
     
    16642109rm -f -r conftest* confdefs.h 
    16652110 
     2111$as_echo "/* confdefs.h */" > confdefs.h 
     2112 
    16662113# Predefined preprocessor variables. 
    16672114 
     
    16702117_ACEOF 
    16712118 
    1672  
    16732119cat >>confdefs.h <<_ACEOF 
    16742120#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    16752121_ACEOF 
    16762122 
    1677  
    16782123cat >>confdefs.h <<_ACEOF 
    16792124#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    16802125_ACEOF 
    16812126 
    1682  
    16832127cat >>confdefs.h <<_ACEOF 
    16842128#define PACKAGE_STRING "$PACKAGE_STRING" 
    16852129_ACEOF 
    16862130 
    1687  
    16882131cat >>confdefs.h <<_ACEOF 
    16892132#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    16902133_ACEOF 
    16912134 
     2135cat >>confdefs.h <<_ACEOF 
     2136#define PACKAGE_URL "$PACKAGE_URL" 
     2137_ACEOF 
     2138 
    16922139 
    16932140# Let the site file select an alternate cache file if it wants to. 
    1694 # Prefer explicitly selected file to automatically selected ones. 
     2141# Prefer an explicitly selected file to automatically selected ones. 
     2142ac_site_file1=NONE 
     2143ac_site_file2=NONE 
    16952144if test -n "$CONFIG_SITE"; then 
    1696   set x "$CONFIG_SITE" 
     2145  ac_site_file1=$CONFIG_SITE 
    16972146elif test "x$prefix" != xNONE; then 
    1698   set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    1699 else 
    1700   set x "$ac_default_prefix/share/config.site" \ 
    1701         "$ac_default_prefix/etc/config.site" 
    1702 fi 
    1703 shift 
    1704 for ac_site_file 
     2147  ac_site_file1=$prefix/share/config.site 
     2148  ac_site_file2=$prefix/etc/config.site 
     2149else 
     2150  ac_site_file1=$ac_default_prefix/share/config.site 
     2151  ac_site_file2=$ac_default_prefix/etc/config.site 
     2152fi 
     2153for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
    17052154do 
    1706   if test -r "$ac_site_file"; then 
    1707     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    1708 echo "$as_me: loading site script $ac_site_file" >&6;} 
     2155  test "x$ac_site_file" = xNONE && continue 
     2156  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
     2157    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
     2158$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17092159    sed 's/^/| /' "$ac_site_file" >&5 
    17102160    . "$ac_site_file" 
     
    17132163 
    17142164if test -r "$cache_file"; then 
    1715   # Some versions of bash will fail to source /dev/null (special 
    1716   # files actually), so we avoid doing that. 
    1717   if test -f "$cache_file"; then 
    1718     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    1719 echo "$as_me: loading cache $cache_file" >&6;} 
     2165  # Some versions of bash will fail to source /dev/null (special files 
     2166  # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
     2167  if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
     2168    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
     2169$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17202170    case $cache_file in 
    17212171      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    17242174  fi 
    17252175else 
    1726   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    1727 echo "$as_me: creating cache $cache_file" >&6;} 
     2176  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
     2177$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17282178  >$cache_file 
    17292179fi 
     
    17392189  case $ac_old_set,$ac_new_set in 
    17402190    set,) 
    1741       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     2191      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2192$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17432193      ac_cache_corrupted=: ;; 
    17442194    ,set) 
    1745       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    1746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     2195      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
     2196$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17472197      ac_cache_corrupted=: ;; 
    17482198    ,);; 
    17492199    *) 
    17502200      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1751         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1753         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    1754 echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1755         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    1756 echo "$as_me:   current value: $ac_new_val" >&2;} 
    1757         ac_cache_corrupted=: 
     2201        # differences in whitespace do not lead to failure. 
     2202        ac_old_val_w=`echo x $ac_old_val` 
     2203        ac_new_val_w=`echo x $ac_new_val` 
     2204        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
     2205          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
     2206$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     2207          ac_cache_corrupted=: 
     2208        else 
     2209          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2210$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
     2211          eval $ac_var=\$ac_old_val 
     2212        fi 
     2213        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
     2214$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
     2215        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
     2216$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    17582217      fi;; 
    17592218  esac 
     
    17612220  if test "$ac_new_set" = set; then 
    17622221    case $ac_new_val in 
    1763     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     2222    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    17642223    *) ac_arg=$ac_var=$ac_new_val ;; 
    17652224    esac 
    17662225    case " $ac_configure_args " in 
    17672226      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1768       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2227      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    17692228    esac 
    17702229  fi 
    17712230done 
    17722231if $ac_cache_corrupted; then 
    1773   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1775   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1777    { (exit 1); exit 1; }; } 
    1778 fi 
    1779  
    1780  
    1781  
    1782  
    1783  
    1784  
    1785  
    1786  
    1787  
    1788  
    1789  
    1790  
    1791  
    1792  
    1793  
    1794  
    1795  
    1796  
    1797  
    1798  
    1799  
    1800  
    1801  
    1802  
     2232  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2233$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2234  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
     2235$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     2236  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2237fi 
     2238## -------------------- ## 
     2239## Main body of script. ## 
     2240## -------------------- ## 
    18032241 
    18042242ac_ext=c 
     
    18142252ac_aux_dir= 
    18152253for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1816   if test -f "$ac_dir/install-sh"; then 
    1817     ac_aux_dir=$ac_dir 
    1818     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1819     break 
    1820   elif test -f "$ac_dir/install.sh"; then 
    1821     ac_aux_dir=$ac_dir 
    1822     ac_install_sh="$ac_aux_dir/install.sh -c" 
    1823     break 
    1824   elif test -f "$ac_dir/shtool"; then 
    1825     ac_aux_dir=$ac_dir 
    1826     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1827     break 
    1828   fi 
     2254  for ac_t in install-sh install.sh shtool; do 
     2255    if test -f "$ac_dir/$ac_t"; then 
     2256      ac_aux_dir=$ac_dir 
     2257      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2258      break 2 
     2259    fi 
     2260  done 
    18292261done 
    18302262if test -z "$ac_aux_dir"; then 
    1831   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1832 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1833    { (exit 1); exit 1; }; } 
     2263  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18342264fi 
    18352265 
     
    18452275# Make sure we can run config.sub. 
    18462276$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1847   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1848 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1849    { (exit 1); exit 1; }; } 
    1850  
    1851 { echo "$as_me:$LINENO: checking build system type" >&5 
    1852 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    1853 if test "${ac_cv_build+set}" = set; then 
    1854   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2277  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2278 
     2279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     2280$as_echo_n "checking build system type... " >&6; } 
     2281if test "${ac_cv_build+set}" = set; then : 
     2282  $as_echo_n "(cached) " >&6 
    18552283else 
    18562284  ac_build_alias=$build_alias 
     
    18582286  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    18592287test "x$ac_build_alias" = x && 
    1860   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1861 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1862    { (exit 1); exit 1; }; } 
     2288  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    18632289ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1864   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1865 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1866    { (exit 1); exit 1; }; } 
    1867  
    1868 fi 
    1869 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    1870 echo "${ECHO_T}$ac_cv_build" >&6; } 
     2290  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2291 
     2292fi 
     2293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
     2294$as_echo "$ac_cv_build" >&6; } 
    18712295case $ac_cv_build in 
    18722296*-*-*) ;; 
    1873 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1874 echo "$as_me: error: invalid value of canonical build" >&2;} 
    1875    { (exit 1); exit 1; }; };; 
     2297*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    18762298esac 
    18772299build=$ac_cv_build 
     
    18892311 
    18902312 
    1891 { echo "$as_me:$LINENO: checking host system type" >&5 
    1892 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    1893 if test "${ac_cv_host+set}" = set; then 
    1894   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
     2314$as_echo_n "checking host system type... " >&6; } 
     2315if test "${ac_cv_host+set}" = set; then : 
     2316  $as_echo_n "(cached) " >&6 
    18952317else 
    18962318  if test "x$host_alias" = x; then 
     
    18982320else 
    18992321  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1900     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1901 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1902    { (exit 1); exit 1; }; } 
    1903 fi 
    1904  
    1905 fi 
    1906 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    1907 echo "${ECHO_T}$ac_cv_host" >&6; } 
     2322    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2323fi 
     2324 
     2325fi 
     2326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
     2327$as_echo "$ac_cv_host" >&6; } 
    19082328case $ac_cv_host in 
    19092329*-*-*) ;; 
    1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1911 echo "$as_me: error: invalid value of canonical host" >&2;} 
    1912    { (exit 1); exit 1; }; };; 
     2330*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19132331esac 
    19142332host=$ac_cv_host 
     
    19262344 
    19272345 
    1928 { echo "$as_me:$LINENO: checking target system type" >&5 
    1929 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    1930 if test "${ac_cv_target+set}" = set; then 
    1931   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
     2347$as_echo_n "checking target system type... " >&6; } 
     2348if test "${ac_cv_target+set}" = set; then : 
     2349  $as_echo_n "(cached) " >&6 
    19322350else 
    19332351  if test "x$target_alias" = x; then 
     
    19352353else 
    19362354  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1937     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    1939    { (exit 1); exit 1; }; } 
    1940 fi 
    1941  
    1942 fi 
    1943 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    1944 echo "${ECHO_T}$ac_cv_target" >&6; } 
     2355    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2356fi 
     2357 
     2358fi 
     2359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
     2360$as_echo "$ac_cv_target" >&6; } 
    19452361case $ac_cv_target in 
    19462362*-*-*) ;; 
    1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    1948 echo "$as_me: error: invalid value of canonical target" >&2;} 
    1949    { (exit 1); exit 1; }; };; 
     2363*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    19502364esac 
    19512365target=$ac_cv_target 
     
    19912405  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    19922406set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1993 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    1995 if test "${ac_cv_prog_CC+set}" = set; then 
    1996   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2408$as_echo_n "checking for $ac_word... " >&6; } 
     2409if test "${ac_cv_prog_CC+set}" = set; then : 
     2410  $as_echo_n "(cached) " >&6 
    19972411else 
    19982412  if test -n "$CC"; then 
     
    20042418  IFS=$as_save_IFS 
    20052419  test -z "$as_dir" && as_dir=. 
    2006   for ac_exec_ext in '' $ac_executable_extensions; do 
     2420    for ac_exec_ext in '' $ac_executable_extensions; do 
    20072421  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20082422    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2009     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20102424    break 2 
    20112425  fi 
    20122426done 
    2013 done 
     2427  done 
    20142428IFS=$as_save_IFS 
    20152429 
     
    20182432CC=$ac_cv_prog_CC 
    20192433if test -n "$CC"; then 
    2020   { echo "$as_me:$LINENO: result: $CC" >&5 
    2021 echo "${ECHO_T}$CC" >&6; } 
    2022 else 
    2023   { echo "$as_me:$LINENO: result: no" >&5 
    2024 echo "${ECHO_T}no" >&6; } 
     2434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2435$as_echo "$CC" >&6; } 
     2436else 
     2437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2438$as_echo "no" >&6; } 
    20252439fi 
    20262440 
     
    20312445  # Extract the first word of "gcc", so it can be a program name with args. 
    20322446set dummy gcc; ac_word=$2 
    2033 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2036   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2448$as_echo_n "checking for $ac_word... " >&6; } 
     2449if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2450  $as_echo_n "(cached) " >&6 
    20372451else 
    20382452  if test -n "$ac_ct_CC"; then 
     
    20442458  IFS=$as_save_IFS 
    20452459  test -z "$as_dir" && as_dir=. 
    2046   for ac_exec_ext in '' $ac_executable_extensions; do 
     2460    for ac_exec_ext in '' $ac_executable_extensions; do 
    20472461  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20482462    ac_cv_prog_ac_ct_CC="gcc" 
    2049     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20502464    break 2 
    20512465  fi 
    20522466done 
    2053 done 
     2467  done 
    20542468IFS=$as_save_IFS 
    20552469 
     
    20582472ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    20592473if test -n "$ac_ct_CC"; then 
    2060   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2061 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2062 else 
    2063   { echo "$as_me:$LINENO: result: no" >&5 
    2064 echo "${ECHO_T}no" >&6; } 
     2474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2475$as_echo "$ac_ct_CC" >&6; } 
     2476else 
     2477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2478$as_echo "no" >&6; } 
    20652479fi 
    20662480 
     
    20702484    case $cross_compiling:$ac_tool_warned in 
    20712485yes:) 
    2072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2073 whose name does not start with the host triplet.  If you think this 
    2074 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2076 whose name does not start with the host triplet.  If you think this 
    2077 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    20782488ac_tool_warned=yes ;; 
    20792489esac 
     
    20882498    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    20892499set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2090 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2092 if test "${ac_cv_prog_CC+set}" = set; then 
    2093   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2501$as_echo_n "checking for $ac_word... " >&6; } 
     2502if test "${ac_cv_prog_CC+set}" = set; then : 
     2503  $as_echo_n "(cached) " >&6 
    20942504else 
    20952505  if test -n "$CC"; then 
     
    21012511  IFS=$as_save_IFS 
    21022512  test -z "$as_dir" && as_dir=. 
    2103   for ac_exec_ext in '' $ac_executable_extensions; do 
     2513    for ac_exec_ext in '' $ac_executable_extensions; do 
    21042514  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21052515    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2106     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21072517    break 2 
    21082518  fi 
    21092519done 
    2110 done 
     2520  done 
    21112521IFS=$as_save_IFS 
    21122522 
     
    21152525CC=$ac_cv_prog_CC 
    21162526if test -n "$CC"; then 
    2117   { echo "$as_me:$LINENO: result: $CC" >&5 
    2118 echo "${ECHO_T}$CC" >&6; } 
    2119 else 
    2120   { echo "$as_me:$LINENO: result: no" >&5 
    2121 echo "${ECHO_T}no" >&6; } 
     2527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2528$as_echo "$CC" >&6; } 
     2529else 
     2530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2531$as_echo "no" >&6; } 
    21222532fi 
    21232533 
     
    21282538  # Extract the first word of "cc", so it can be a program name with args. 
    21292539set dummy cc; ac_word=$2 
    2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2132 if test "${ac_cv_prog_CC+set}" = set; then 
    2133   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2541$as_echo_n "checking for $ac_word... " >&6; } 
     2542if test "${ac_cv_prog_CC+set}" = set; then : 
     2543  $as_echo_n "(cached) " >&6 
    21342544else 
    21352545  if test -n "$CC"; then 
     
    21422552  IFS=$as_save_IFS 
    21432553  test -z "$as_dir" && as_dir=. 
    2144   for ac_exec_ext in '' $ac_executable_extensions; do 
     2554    for ac_exec_ext in '' $ac_executable_extensions; do 
    21452555  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21462556    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    21492559     fi 
    21502560    ac_cv_prog_CC="cc" 
    2151     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2561    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21522562    break 2 
    21532563  fi 
    21542564done 
    2155 done 
     2565  done 
    21562566IFS=$as_save_IFS 
    21572567 
     
    21722582CC=$ac_cv_prog_CC 
    21732583if test -n "$CC"; then 
    2174   { echo "$as_me:$LINENO: result: $CC" >&5 
    2175 echo "${ECHO_T}$CC" >&6; } 
    2176 else 
    2177   { echo "$as_me:$LINENO: result: no" >&5 
    2178 echo "${ECHO_T}no" >&6; } 
     2584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2585$as_echo "$CC" >&6; } 
     2586else 
     2587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2588$as_echo "no" >&6; } 
    21792589fi 
    21802590 
     
    21872597    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    21882598set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2189 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2191 if test "${ac_cv_prog_CC+set}" = set; then 
    2192   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2600$as_echo_n "checking for $ac_word... " >&6; } 
     2601if test "${ac_cv_prog_CC+set}" = set; then : 
     2602  $as_echo_n "(cached) " >&6 
    21932603else 
    21942604  if test -n "$CC"; then 
     
    22002610  IFS=$as_save_IFS 
    22012611  test -z "$as_dir" && as_dir=. 
    2202   for ac_exec_ext in '' $ac_executable_extensions; do 
     2612    for ac_exec_ext in '' $ac_executable_extensions; do 
    22032613  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22042614    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22062616    break 2 
    22072617  fi 
    22082618done 
    2209 done 
     2619  done 
    22102620IFS=$as_save_IFS 
    22112621 
     
    22142624CC=$ac_cv_prog_CC 
    22152625if test -n "$CC"; then 
    2216   { echo "$as_me:$LINENO: result: $CC" >&5 
    2217 echo "${ECHO_T}$CC" >&6; } 
    2218 else 
    2219   { echo "$as_me:$LINENO: result: no" >&5 
    2220 echo "${ECHO_T}no" >&6; } 
     2626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2627$as_echo "$CC" >&6; } 
     2628else 
     2629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2630$as_echo "no" >&6; } 
    22212631fi 
    22222632 
     
    22312641  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22322642set dummy $ac_prog; ac_word=$2 
    2233 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2236   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2644$as_echo_n "checking for $ac_word... " >&6; } 
     2645if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2646  $as_echo_n "(cached) " >&6 
    22372647else 
    22382648  if test -n "$ac_ct_CC"; then 
     
    22442654  IFS=$as_save_IFS 
    22452655  test -z "$as_dir" && as_dir=. 
    2246   for ac_exec_ext in '' $ac_executable_extensions; do 
     2656    for ac_exec_ext in '' $ac_executable_extensions; do 
    22472657  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22482658    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2249     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22502660    break 2 
    22512661  fi 
    22522662done 
    2253 done 
     2663  done 
    22542664IFS=$as_save_IFS 
    22552665 
     
    22582668ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    22592669if test -n "$ac_ct_CC"; then 
    2260   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2261 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2262 else 
    2263   { echo "$as_me:$LINENO: result: no" >&5 
    2264 echo "${ECHO_T}no" >&6; } 
     2670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2671$as_echo "$ac_ct_CC" >&6; } 
     2672else 
     2673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2674$as_echo "no" >&6; } 
    22652675fi 
    22662676 
     
    22742684    case $cross_compiling:$ac_tool_warned in 
    22752685yes:) 
    2276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2277 whose name does not start with the host triplet.  If you think this 
    2278 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2280 whose name does not start with the host triplet.  If you think this 
    2281 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    22822688ac_tool_warned=yes ;; 
    22832689esac 
     
    22892695 
    22902696 
    2291 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2292 See \`config.log' for more details." >&5 
    2293 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2294 See \`config.log' for more details." >&2;} 
    2295    { (exit 1); exit 1; }; } 
     2697test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2698$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2699as_fn_error "no acceptable C compiler found in \$PATH 
     2700See \`config.log' for more details." "$LINENO" 5; } 
    22962701 
    22972702# Provide some information about the compiler. 
    2298 echo "$as_me:$LINENO: checking for C compiler version" >&5 
    2299 ac_compiler=`set X $ac_compile; echo $2` 
    2300 { (ac_try="$ac_compiler --version >&5" 
     2703$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
     2704set X $ac_compile 
     2705ac_compiler=$2 
     2706for ac_option in --version -v -V -qversion; do 
     2707  { { ac_try="$ac_compiler $ac_option >&5" 
    23012708case "(($ac_try" in 
    23022709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23032710  *) ac_try_echo=$ac_try;; 
    23042711esac 
    2305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2306   (eval "$ac_compiler --version >&5") 2>&5 
     2712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2713$as_echo "$ac_try_echo"; } >&5 
     2714  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23072715  ac_status=$? 
    2308   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2309   (exit $ac_status); } 
    2310 { (ac_try="$ac_compiler -v >&5" 
     2716  if test -s conftest.err; then 
     2717    sed '10a\ 
     2718... rest of stderr output deleted ... 
     2719         10q' conftest.err >conftest.er1 
     2720    cat conftest.er1 >&5 
     2721  fi 
     2722  rm -f conftest.er1 conftest.err 
     2723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2724  test $ac_status = 0; } 
     2725done 
     2726 
     2727cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2728/* end confdefs.h.  */ 
     2729 
     2730int 
     2731main () 
     2732{ 
     2733 
     2734  ; 
     2735  return 0; 
     2736} 
     2737_ACEOF 
     2738ac_clean_files_save=$ac_clean_files 
     2739ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2740# Try to create an executable without -o first, disregard a.out. 
     2741# It will help us diagnose broken compilers, and finding out an intuition 
     2742# of exeext. 
     2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
     2744$as_echo_n "checking whether the C compiler works... " >&6; } 
     2745ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2746 
     2747# The possible output files: 
     2748ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
     2749 
     2750ac_rmfiles= 
     2751for ac_file in $ac_files 
     2752do 
     2753  case $ac_file in 
     2754    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2755    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
     2756  esac 
     2757done 
     2758rm -f $ac_rmfiles 
     2759 
     2760if { { ac_try="$ac_link_default" 
    23112761case "(($ac_try" in 
    23122762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23132763  *) ac_try_echo=$ac_try;; 
    23142764esac 
    2315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2316   (eval "$ac_compiler -v >&5") 2>&5 
    2317   ac_status=$? 
    2318   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2319   (exit $ac_status); } 
    2320 { (ac_try="$ac_compiler -V >&5" 
    2321 case "(($ac_try" in 
    2322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2323   *) ac_try_echo=$ac_try;; 
    2324 esac 
    2325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2326   (eval "$ac_compiler -V >&5") 2>&5 
    2327   ac_status=$? 
    2328   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2329   (exit $ac_status); } 
    2330  
    2331 cat >conftest.$ac_ext <<_ACEOF 
    2332 /* confdefs.h.  */ 
    2333 _ACEOF 
    2334 cat confdefs.h >>conftest.$ac_ext 
    2335 cat >>conftest.$ac_ext <<_ACEOF 
    2336 /* end confdefs.h.  */ 
    2337  
    2338 int 
    2339 main () 
    2340 { 
    2341  
    2342   ; 
    2343   return 0; 
    2344 } 
    2345 _ACEOF 
    2346 ac_clean_files_save=$ac_clean_files 
    2347 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    2348 # Try to create an executable without -o first, disregard a.out. 
    2349 # It will help us diagnose broken compilers, and finding out an intuition 
    2350 # of exeext. 
    2351 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    2352 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
    2353 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2354 # 
    2355 # List of possible output files, starting from the most likely. 
    2356 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
    2357 # only as a last resort.  b.out is created by i960 compilers. 
    2358 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
    2359 # 
    2360 # The IRIX 6 linker writes into existing files which may not be 
    2361 # executable, retaining their permissions.  Remove them first so a 
    2362 # subsequent execution test works. 
    2363 ac_rmfiles= 
    2364 for ac_file in $ac_files 
    2365 do 
    2366   case $ac_file in 
    2367     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    2368     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    2369   esac 
    2370 done 
    2371 rm -f $ac_rmfiles 
    2372  
    2373 if { (ac_try="$ac_link_default" 
    2374 case "(($ac_try" in 
    2375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2376   *) ac_try_echo=$ac_try;; 
    2377 esac 
    2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2765eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2766$as_echo "$ac_try_echo"; } >&5 
    23792767  (eval "$ac_link_default") 2>&5 
    23802768  ac_status=$? 
    2381   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2382   (exit $ac_status); }; then 
     2769  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2770  test $ac_status = 0; }; then : 
    23832771  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    23842772# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    23902778  test -f "$ac_file" || continue 
    23912779  case $ac_file in 
    2392     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
     2780    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
    23932781        ;; 
    23942782    [ab].out ) 
     
    23972785        break;; 
    23982786    *.* ) 
    2399         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2787        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    24002788        then :; else 
    24012789           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24162804  ac_file='' 
    24172805fi 
    2418  
    2419 { echo "$as_me:$LINENO: result: $ac_file" >&5 
    2420 echo "${ECHO_T}$ac_file" >&6; } 
    2421 if test -z "$ac_file"; then 
    2422   echo "$as_me: failed program was:" >&5 
     2806if test -z "$ac_file"; then : 
     2807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2808$as_echo "no" >&6; } 
     2809$as_echo "$as_me: failed program was:" >&5 
    24232810sed 's/^/| /' conftest.$ac_ext >&5 
    24242811 
    2425 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2426 See \`config.log' for more details." >&5 
    2427 echo "$as_me: error: C compiler cannot create executables 
    2428 See \`config.log' for more details." >&2;} 
    2429    { (exit 77); exit 77; }; } 
    2430 fi 
    2431  
     2812{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2813$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2814{ as_fn_set_status 77 
     2815as_fn_error "C compiler cannot create executables 
     2816See \`config.log' for more details." "$LINENO" 5; }; } 
     2817else 
     2818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     2819$as_echo "yes" >&6; } 
     2820fi 
     2821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
     2822$as_echo_n "checking for C compiler default output file name... " >&6; } 
     2823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
     2824$as_echo "$ac_file" >&6; } 
    24322825ac_exeext=$ac_cv_exeext 
    24332826 
    2434 # Check that the compiler produces executables we can run.  If not, either 
    2435 # the compiler is broken, or we cross compile. 
    2436 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    2437 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
    2438 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    2439 # If not cross compiling, check that we can run a simple program. 
    2440 if test "$cross_compiling" != yes; then 
    2441   if { ac_try='./$ac_file' 
    2442   { (case "(($ac_try" in 
    2443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2444   *) ac_try_echo=$ac_try;; 
    2445 esac 
    2446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2447   (eval "$ac_try") 2>&5 
    2448   ac_status=$? 
    2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2450   (exit $ac_status); }; }; then 
    2451     cross_compiling=no 
    2452   else 
    2453     if test "$cross_compiling" = maybe; then 
    2454         cross_compiling=yes 
    2455     else 
    2456         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    2457 If you meant to cross compile, use \`--host'. 
    2458 See \`config.log' for more details." >&5 
    2459 echo "$as_me: error: cannot run C compiled programs. 
    2460 If you meant to cross compile, use \`--host'. 
    2461 See \`config.log' for more details." >&2;} 
    2462    { (exit 1); exit 1; }; } 
    2463     fi 
    2464   fi 
    2465 fi 
    2466 { echo "$as_me:$LINENO: result: yes" >&5 
    2467 echo "${ECHO_T}yes" >&6; } 
    2468  
    2469 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     2827rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
    24702828ac_clean_files=$ac_clean_files_save 
    2471 # Check that the compiler produces executables we can run.  If not, either 
    2472 # the compiler is broken, or we cross compile. 
    2473 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    2474 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
    2475 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    2476 echo "${ECHO_T}$cross_compiling" >&6; } 
    2477  
    2478 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    2479 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
    2480 if { (ac_try="$ac_link" 
     2829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
     2830$as_echo_n "checking for suffix of executables... " >&6; } 
     2831if { { ac_try="$ac_link" 
    24812832case "(($ac_try" in 
    24822833  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24832834  *) ac_try_echo=$ac_try;; 
    24842835esac 
    2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2836eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2837$as_echo "$ac_try_echo"; } >&5 
    24862838  (eval "$ac_link") 2>&5 
    24872839  ac_status=$? 
    2488   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2489   (exit $ac_status); }; then 
     2840  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2841  test $ac_status = 0; }; then : 
    24902842  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    24912843# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    24952847  test -f "$ac_file" || continue 
    24962848  case $ac_file in 
    2497     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
     2849    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
    24982850    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    24992851          break;; 
     
    25022854done 
    25032855else 
    2504   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2505 See \`config.log' for more details." >&5 
    2506 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2507 See \`config.log' for more details." >&2;} 
    2508    { (exit 1); exit 1; }; } 
    2509 fi 
    2510  
    2511 rm -f conftest$ac_cv_exeext 
    2512 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    2513 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
     2856  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2857$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2858as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2859See \`config.log' for more details." "$LINENO" 5; } 
     2860fi 
     2861rm -f conftest conftest$ac_cv_exeext 
     2862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
     2863$as_echo "$ac_cv_exeext" >&6; } 
    25142864 
    25152865rm -f conftest.$ac_ext 
    25162866EXEEXT=$ac_cv_exeext 
    25172867ac_exeext=$EXEEXT 
    2518 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    2519 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
    2520 if test "${ac_cv_objext+set}" = set; then 
    2521   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2522 else 
    2523   cat >conftest.$ac_ext <<_ACEOF 
    2524 /* confdefs.h.  */ 
    2525 _ACEOF 
    2526 cat confdefs.h >>conftest.$ac_ext 
    2527 cat >>conftest.$ac_ext <<_ACEOF 
     2868cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25282869/* end confdefs.h.  */ 
    2529  
     2870#include <stdio.h> 
    25302871int 
    25312872main () 
    25322873{ 
     2874FILE *f = fopen ("conftest.out", "w"); 
     2875 return ferror (f) || fclose (f) != 0; 
    25332876 
    25342877  ; 
     
    25362879} 
    25372880_ACEOF 
    2538 rm -f conftest.o conftest.obj 
    2539 if { (ac_try="$ac_compile" 
     2881ac_clean_files="$ac_clean_files conftest.out" 
     2882# Check that the compiler produces executables we can run.  If not, either 
     2883# the compiler is broken, or we cross compile. 
     2884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
     2885$as_echo_n "checking whether we are cross compiling... " >&6; } 
     2886if test "$cross_compiling" != yes; then 
     2887  { { ac_try="$ac_link" 
    25402888case "(($ac_try" in 
    25412889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25422890  *) ac_try_echo=$ac_try;; 
    25432891esac 
    2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2893$as_echo "$ac_try_echo"; } >&5 
     2894  (eval "$ac_link") 2>&5 
     2895  ac_status=$? 
     2896  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2897  test $ac_status = 0; } 
     2898  if { ac_try='./conftest$ac_cv_exeext' 
     2899  { { case "(($ac_try" in 
     2900  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2901  *) ac_try_echo=$ac_try;; 
     2902esac 
     2903eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2904$as_echo "$ac_try_echo"; } >&5 
     2905  (eval "$ac_try") 2>&5 
     2906  ac_status=$? 
     2907  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2908  test $ac_status = 0; }; }; then 
     2909    cross_compiling=no 
     2910  else 
     2911    if test "$cross_compiling" = maybe; then 
     2912        cross_compiling=yes 
     2913    else 
     2914        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2915$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2916as_fn_error "cannot run C compiled programs. 
     2917If you meant to cross compile, use \`--host'. 
     2918See \`config.log' for more details." "$LINENO" 5; } 
     2919    fi 
     2920  fi 
     2921fi 
     2922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
     2923$as_echo "$cross_compiling" >&6; } 
     2924 
     2925rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
     2926ac_clean_files=$ac_clean_files_save 
     2927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
     2928$as_echo_n "checking for suffix of object files... " >&6; } 
     2929if test "${ac_cv_objext+set}" = set; then : 
     2930  $as_echo_n "(cached) " >&6 
     2931else 
     2932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2933/* end confdefs.h.  */ 
     2934 
     2935int 
     2936main () 
     2937{ 
     2938 
     2939  ; 
     2940  return 0; 
     2941} 
     2942_ACEOF 
     2943rm -f conftest.o conftest.obj 
     2944if { { ac_try="$ac_compile" 
     2945case "(($ac_try" in 
     2946  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2947  *) ac_try_echo=$ac_try;; 
     2948esac 
     2949eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2950$as_echo "$ac_try_echo"; } >&5 
    25452951  (eval "$ac_compile") 2>&5 
    25462952  ac_status=$? 
    2547   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2548   (exit $ac_status); }; then 
     2953  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2954  test $ac_status = 0; }; then : 
    25492955  for ac_file in conftest.o conftest.obj conftest.*; do 
    25502956  test -f "$ac_file" || continue; 
    25512957  case $ac_file in 
    2552     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
     2958    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
    25532959    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    25542960       break;; 
     
    25562962done 
    25572963else 
    2558   echo "$as_me: failed program was:" >&5 
     2964  $as_echo "$as_me: failed program was:" >&5 
    25592965sed 's/^/| /' conftest.$ac_ext >&5 
    25602966 
    2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2562 See \`config.log' for more details." >&5 
    2563 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2564 See \`config.log' for more details." >&2;} 
    2565    { (exit 1); exit 1; }; } 
    2566 fi 
    2567  
     2967{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2968$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2969as_fn_error "cannot compute suffix of object files: cannot compile 
     2970See \`config.log' for more details." "$LINENO" 5; } 
     2971fi 
    25682972rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    25692973fi 
    2570 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    2571 echo "${ECHO_T}$ac_cv_objext" >&6; } 
     2974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
     2975$as_echo "$ac_cv_objext" >&6; } 
    25722976OBJEXT=$ac_cv_objext 
    25732977ac_objext=$OBJEXT 
    2574 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    2575 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
    2576 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
    2577   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2578 else 
    2579   cat >conftest.$ac_ext <<_ACEOF 
    2580 /* confdefs.h.  */ 
    2581 _ACEOF 
    2582 cat confdefs.h >>conftest.$ac_ext 
    2583 cat >>conftest.$ac_ext <<_ACEOF 
     2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
     2979$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
     2980if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     2981  $as_echo_n "(cached) " >&6 
     2982else 
     2983  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25842984/* end confdefs.h.  */ 
    25852985 
     
    25952995} 
    25962996_ACEOF 
    2597 rm -f conftest.$ac_objext 
    2598 if { (ac_try="$ac_compile" 
    2599 case "(($ac_try" in 
    2600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2601   *) ac_try_echo=$ac_try;; 
    2602 esac 
    2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2604   (eval "$ac_compile") 2>conftest.er1 
    2605   ac_status=$? 
    2606   grep -v '^ *+' conftest.er1 >conftest.err 
    2607   rm -f conftest.er1 
    2608   cat conftest.err >&5 
    2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2610   (exit $ac_status); } && { 
    2611          test -z "$ac_c_werror_flag" || 
    2612          test ! -s conftest.err 
    2613        } && test -s conftest.$ac_objext; then 
     2997if ac_fn_c_try_compile "$LINENO"; then : 
    26142998  ac_compiler_gnu=yes 
    26152999else 
    2616   echo "$as_me: failed program was:" >&5 
    2617 sed 's/^/| /' conftest.$ac_ext >&5 
    2618  
    2619         ac_compiler_gnu=no 
    2620 fi 
    2621  
     3000  ac_compiler_gnu=no 
     3001fi 
    26223002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26233003ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26243004 
    26253005fi 
    2626 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    2627 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
    2628 GCC=`test $ac_compiler_gnu = yes && echo yes` 
     3006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
     3007$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
     3008if test $ac_compiler_gnu = yes; then 
     3009  GCC=yes 
     3010else 
     3011  GCC= 
     3012fi 
    26293013ac_test_CFLAGS=${CFLAGS+set} 
    26303014ac_save_CFLAGS=$CFLAGS 
    2631 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    2632 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
    2633 if test "${ac_cv_prog_cc_g+set}" = set; then 
    2634   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
     3016$as_echo_n "checking whether $CC accepts -g... " >&6; } 
     3017if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3018  $as_echo_n "(cached) " >&6 
    26353019else 
    26363020  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    26383022   ac_cv_prog_cc_g=no 
    26393023   CFLAGS="-g" 
    2640    cat >conftest.$ac_ext <<_ACEOF 
    2641 /* confdefs.h.  */ 
    2642 _ACEOF 
    2643 cat confdefs.h >>conftest.$ac_ext 
    2644 cat >>conftest.$ac_ext <<_ACEOF 
     3024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26453025/* end confdefs.h.  */ 
    26463026 
     
    26533033} 
    26543034_ACEOF 
    2655 rm -f conftest.$ac_objext 
    2656 if { (ac_try="$ac_compile" 
    2657 case "(($ac_try" in 
    2658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2659   *) ac_try_echo=$ac_try;; 
    2660 esac 
    2661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2662   (eval "$ac_compile") 2>conftest.er1 
    2663   ac_status=$? 
    2664   grep -v '^ *+' conftest.er1 >conftest.err 
    2665   rm -f conftest.er1 
    2666   cat conftest.err >&5 
    2667   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2668   (exit $ac_status); } && { 
    2669          test -z "$ac_c_werror_flag" || 
    2670          test ! -s conftest.err 
    2671        } && test -s conftest.$ac_objext; then 
     3035if ac_fn_c_try_compile "$LINENO"; then : 
    26723036  ac_cv_prog_cc_g=yes 
    26733037else 
    2674   echo "$as_me: failed program was:" >&5 
    2675 sed 's/^/| /' conftest.$ac_ext >&5 
    2676  
    2677         CFLAGS="" 
    2678       cat >conftest.$ac_ext <<_ACEOF 
    2679 /* confdefs.h.  */ 
    2680 _ACEOF 
    2681 cat confdefs.h >>conftest.$ac_ext 
    2682 cat >>conftest.$ac_ext <<_ACEOF 
     3038  CFLAGS="" 
     3039      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26833040/* end confdefs.h.  */ 
    26843041 
     
    26913048} 
    26923049_ACEOF 
    2693 rm -f conftest.$ac_objext 
    2694 if { (ac_try="$ac_compile" 
    2695 case "(($ac_try" in 
    2696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2697   *) ac_try_echo=$ac_try;; 
    2698 esac 
    2699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2700   (eval "$ac_compile") 2>conftest.er1 
    2701   ac_status=$? 
    2702   grep -v '^ *+' conftest.er1 >conftest.err 
    2703   rm -f conftest.er1 
    2704   cat conftest.err >&5 
    2705   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2706   (exit $ac_status); } && { 
    2707          test -z "$ac_c_werror_flag" || 
    2708          test ! -s conftest.err 
    2709        } && test -s conftest.$ac_objext; then 
    2710   : 
    2711 else 
    2712   echo "$as_me: failed program was:" >&5 
    2713 sed 's/^/| /' conftest.$ac_ext >&5 
    2714  
    2715         ac_c_werror_flag=$ac_save_c_werror_flag 
     3050if ac_fn_c_try_compile "$LINENO"; then : 
     3051 
     3052else 
     3053  ac_c_werror_flag=$ac_save_c_werror_flag 
    27163054         CFLAGS="-g" 
    2717          cat >conftest.$ac_ext <<_ACEOF 
    2718 /* confdefs.h.  */ 
    2719 _ACEOF 
    2720 cat confdefs.h >>conftest.$ac_ext 
    2721 cat >>conftest.$ac_ext <<_ACEOF 
     3055         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27223056/* end confdefs.h.  */ 
    27233057 
     
    27303064} 
    27313065_ACEOF 
    2732 rm -f conftest.$ac_objext 
    2733 if { (ac_try="$ac_compile" 
    2734 case "(($ac_try" in 
    2735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2736   *) ac_try_echo=$ac_try;; 
    2737 esac 
    2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2739   (eval "$ac_compile") 2>conftest.er1 
    2740   ac_status=$? 
    2741   grep -v '^ *+' conftest.er1 >conftest.err 
    2742   rm -f conftest.er1 
    2743   cat conftest.err >&5 
    2744   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2745   (exit $ac_status); } && { 
    2746          test -z "$ac_c_werror_flag" || 
    2747          test ! -s conftest.err 
    2748        } && test -s conftest.$ac_objext; then 
     3066if ac_fn_c_try_compile "$LINENO"; then : 
    27493067  ac_cv_prog_cc_g=yes 
    2750 else 
    2751   echo "$as_me: failed program was:" >&5 
    2752 sed 's/^/| /' conftest.$ac_ext >&5 
    2753  
    2754  
    2755 fi 
    2756  
     3068fi 
    27573069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27583070fi 
    2759  
    27603071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27613072fi 
    2762  
    27633073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27643074   ac_c_werror_flag=$ac_save_c_werror_flag 
    27653075fi 
    2766 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    2767 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
     3076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
     3077$as_echo "$ac_cv_prog_cc_g" >&6; } 
    27683078if test "$ac_test_CFLAGS" = set; then 
    27693079  CFLAGS=$ac_save_CFLAGS 
     
    27813091  fi 
    27823092fi 
    2783 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
    2784 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
    2785 if test "${ac_cv_prog_cc_c89+set}" = set; then 
    2786   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
     3094$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
     3095if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3096  $as_echo_n "(cached) " >&6 
    27873097else 
    27883098  ac_cv_prog_cc_c89=no 
    27893099ac_save_CC=$CC 
    2790 cat >conftest.$ac_ext <<_ACEOF 
    2791 /* confdefs.h.  */ 
    2792 _ACEOF 
    2793 cat confdefs.h >>conftest.$ac_ext 
    2794 cat >>conftest.$ac_ext <<_ACEOF 
     3100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27953101/* end confdefs.h.  */ 
    27963102#include <stdarg.h> 
     
    28493155do 
    28503156  CC="$ac_save_CC $ac_arg" 
    2851   rm -f conftest.$ac_objext 
    2852 if { (ac_try="$ac_compile" 
    2853 case "(($ac_try" in 
    2854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2855   *) ac_try_echo=$ac_try;; 
    2856 esac 
    2857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2858   (eval "$ac_compile") 2>conftest.er1 
    2859   ac_status=$? 
    2860   grep -v '^ *+' conftest.er1 >conftest.err 
    2861   rm -f conftest.er1 
    2862   cat conftest.err >&5 
    2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2864   (exit $ac_status); } && { 
    2865          test -z "$ac_c_werror_flag" || 
    2866          test ! -s conftest.err 
    2867        } && test -s conftest.$ac_objext; then 
     3157  if ac_fn_c_try_compile "$LINENO"; then : 
    28683158  ac_cv_prog_cc_c89=$ac_arg 
    2869 else 
    2870   echo "$as_me: failed program was:" >&5 
    2871 sed 's/^/| /' conftest.$ac_ext >&5 
    2872  
    2873  
    2874 fi 
    2875  
     3159fi 
    28763160rm -f core conftest.err conftest.$ac_objext 
    28773161  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    28843168case "x$ac_cv_prog_cc_c89" in 
    28853169  x) 
    2886     { echo "$as_me:$LINENO: result: none needed" >&5 
    2887 echo "${ECHO_T}none needed" >&6; } ;; 
     3170    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
     3171$as_echo "none needed" >&6; } ;; 
    28883172  xno) 
    2889     { echo "$as_me:$LINENO: result: unsupported" >&5 
    2890 echo "${ECHO_T}unsupported" >&6; } ;; 
     3173    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
     3174$as_echo "unsupported" >&6; } ;; 
    28913175  *) 
    28923176    CC="$CC $ac_cv_prog_cc_c89" 
    2893     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
    2894 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     3177    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
     3178$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    28953179esac 
    2896  
     3180if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3181 
     3182fi 
    28973183 
    28983184ac_ext=c 
     
    29163202    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29173203set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2918 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2920 if test "${ac_cv_prog_CXX+set}" = set; then 
    2921   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3205$as_echo_n "checking for $ac_word... " >&6; } 
     3206if test "${ac_cv_prog_CXX+set}" = set; then : 
     3207  $as_echo_n "(cached) " >&6 
    29223208else 
    29233209  if test -n "$CXX"; then 
     
    29293215  IFS=$as_save_IFS 
    29303216  test -z "$as_dir" && as_dir=. 
    2931   for ac_exec_ext in '' $ac_executable_extensions; do 
     3217    for ac_exec_ext in '' $ac_executable_extensions; do 
    29323218  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29333219    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29353221    break 2 
    29363222  fi 
    29373223done 
    2938 done 
     3224  done 
    29393225IFS=$as_save_IFS 
    29403226 
     
    29433229CXX=$ac_cv_prog_CXX 
    29443230if test -n "$CXX"; then 
    2945   { echo "$as_me:$LINENO: result: $CXX" >&5 
    2946 echo "${ECHO_T}$CXX" >&6; } 
    2947 else 
    2948   { echo "$as_me:$LINENO: result: no" >&5 
    2949 echo "${ECHO_T}no" >&6; } 
     3231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
     3232$as_echo "$CXX" >&6; } 
     3233else 
     3234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3235$as_echo "no" >&6; } 
    29503236fi 
    29513237 
     
    29603246  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    29613247set dummy $ac_prog; ac_word=$2 
    2962 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2964 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
    2965   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3249$as_echo_n "checking for $ac_word... " >&6; } 
     3250if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3251  $as_echo_n "(cached) " >&6 
    29663252else 
    29673253  if test -n "$ac_ct_CXX"; then 
     
    29733259  IFS=$as_save_IFS 
    29743260  test -z "$as_dir" && as_dir=. 
    2975   for ac_exec_ext in '' $ac_executable_extensions; do 
     3261    for ac_exec_ext in '' $ac_executable_extensions; do 
    29763262  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29773263    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2978     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3264    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29793265    break 2 
    29803266  fi 
    29813267done 
    2982 done 
     3268  done 
    29833269IFS=$as_save_IFS 
    29843270 
     
    29873273ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    29883274if test -n "$ac_ct_CXX"; then 
    2989   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    2990 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
    2991 else 
    2992   { echo "$as_me:$LINENO: result: no" >&5 
    2993 echo "${ECHO_T}no" >&6; } 
     3275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
     3276$as_echo "$ac_ct_CXX" >&6; } 
     3277else 
     3278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3279$as_echo "no" >&6; } 
    29943280fi 
    29953281 
     
    30033289    case $cross_compiling:$ac_tool_warned in 
    30043290yes:) 
    3005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    3006 whose name does not start with the host triplet.  If you think this 
    3007 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3009 whose name does not start with the host triplet.  If you think this 
    3010 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3291{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3292$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30113293ac_tool_warned=yes ;; 
    30123294esac 
     
    30183300fi 
    30193301# Provide some information about the compiler. 
    3020 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
    3021 ac_compiler=`set X $ac_compile; echo $2` 
    3022 { (ac_try="$ac_compiler --version >&5" 
     3302$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
     3303set X $ac_compile 
     3304ac_compiler=$2 
     3305for ac_option in --version -v -V -qversion; do 
     3306  { { ac_try="$ac_compiler $ac_option >&5" 
    30233307case "(($ac_try" in 
    30243308  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30253309  *) ac_try_echo=$ac_try;; 
    30263310esac 
    3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3028   (eval "$ac_compiler --version >&5") 2>&5 
     3311eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3312$as_echo "$ac_try_echo"; } >&5 
     3313  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    30293314  ac_status=$? 
    3030   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3031   (exit $ac_status); } 
    3032 { (ac_try="$ac_compiler -v >&5" 
    3033 case "(($ac_try" in 
    3034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3035   *) ac_try_echo=$ac_try;; 
    3036 esac 
    3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3038   (eval "$ac_compiler -v >&5") 2>&5 
    3039   ac_status=$? 
    3040   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3041   (exit $ac_status); } 
    3042 { (ac_try="$ac_compiler -V >&5" 
    3043 case "(($ac_try" in 
    3044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3045   *) ac_try_echo=$ac_try;; 
    3046 esac 
    3047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3048   (eval "$ac_compiler -V >&5") 2>&5 
    3049   ac_status=$? 
    3050   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3051   (exit $ac_status); } 
    3052  
    3053 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    3054 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
    3055 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
    3056   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3057 else 
    3058   cat >conftest.$ac_ext <<_ACEOF 
    3059 /* confdefs.h.  */ 
    3060 _ACEOF 
    3061 cat confdefs.h >>conftest.$ac_ext 
    3062 cat >>conftest.$ac_ext <<_ACEOF 
     3315  if test -s conftest.err; then 
     3316    sed '10a\ 
     3317... rest of stderr output deleted ... 
     3318         10q' conftest.err >conftest.er1 
     3319    cat conftest.er1 >&5 
     3320  fi 
     3321  rm -f conftest.er1 conftest.err 
     3322  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3323  test $ac_status = 0; } 
     3324done 
     3325 
     3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
     3327$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
     3328if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3329  $as_echo_n "(cached) " >&6 
     3330else 
     3331  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    30633332/* end confdefs.h.  */ 
    30643333 
     
    30743343} 
    30753344_ACEOF 
    3076 rm -f conftest.$ac_objext 
    3077 if { (ac_try="$ac_compile" 
    3078 case "(($ac_try" in 
    3079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3080   *) ac_try_echo=$ac_try;; 
    3081 esac 
    3082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3083   (eval "$ac_compile") 2>conftest.er1 
    3084   ac_status=$? 
    3085   grep -v '^ *+' conftest.er1 >conftest.err 
    3086   rm -f conftest.er1 
    3087   cat conftest.err >&5 
    3088   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3089   (exit $ac_status); } && { 
    3090          test -z "$ac_cxx_werror_flag" || 
    3091          test ! -s conftest.err 
    3092        } && test -s conftest.$ac_objext; then 
     3345if ac_fn_cxx_try_compile "$LINENO"; then : 
    30933346  ac_compiler_gnu=yes 
    30943347else 
    3095   echo "$as_me: failed program was:" >&5 
    3096 sed 's/^/| /' conftest.$ac_ext >&5 
    3097  
    3098         ac_compiler_gnu=no 
    3099 fi 
    3100  
     3348  ac_compiler_gnu=no 
     3349fi 
    31013350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    31023351ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    31033352 
    31043353fi 
    3105 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    3106 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
    3107 GXX=`test $ac_compiler_gnu = yes && echo yes` 
     3354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
     3355$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
     3356if test $ac_compiler_gnu = yes; then 
     3357  GXX=yes 
     3358else 
     3359  GXX= 
     3360fi 
    31083361ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31093362ac_save_CXXFLAGS=$CXXFLAGS 
    3110 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    3111 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
    3112 if test "${ac_cv_prog_cxx_g+set}" = set; then 
    3113   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
     3364$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
     3365if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3366  $as_echo_n "(cached) " >&6 
    31143367else 
    31153368  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    31173370   ac_cv_prog_cxx_g=no 
    31183371   CXXFLAGS="-g" 
    3119    cat >conftest.$ac_ext <<_ACEOF 
    3120 /* confdefs.h.  */ 
    3121 _ACEOF 
    3122 cat confdefs.h >>conftest.$ac_ext 
    3123 cat >>conftest.$ac_ext <<_ACEOF 
     3372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31243373/* end confdefs.h.  */ 
    31253374 
     
    31323381} 
    31333382_ACEOF 
    3134 rm -f conftest.$ac_objext 
    3135 if { (ac_try="$ac_compile" 
    3136 case "(($ac_try" in 
    3137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3138   *) ac_try_echo=$ac_try;; 
    3139 esac 
    3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3141   (eval "$ac_compile") 2>conftest.er1 
    3142   ac_status=$? 
    3143   grep -v '^ *+' conftest.er1 >conftest.err 
    3144   rm -f conftest.er1 
    3145   cat conftest.err >&5 
    3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3147   (exit $ac_status); } && { 
    3148          test -z "$ac_cxx_werror_flag" || 
    3149          test ! -s conftest.err 
    3150        } && test -s conftest.$ac_objext; then 
     3383if ac_fn_cxx_try_compile "$LINENO"; then : 
    31513384  ac_cv_prog_cxx_g=yes 
    31523385else 
    3153   echo "$as_me: failed program was:" >&5 
    3154 sed 's/^/| /' conftest.$ac_ext >&5 
    3155  
    3156         CXXFLAGS="" 
    3157       cat >conftest.$ac_ext <<_ACEOF 
    3158 /* confdefs.h.  */ 
    3159 _ACEOF 
    3160 cat confdefs.h >>conftest.$ac_ext 
    3161 cat >>conftest.$ac_ext <<_ACEOF 
     3386  CXXFLAGS="" 
     3387      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31623388/* end confdefs.h.  */ 
    31633389 
     
    31703396} 
    31713397_ACEOF 
    3172 rm -f conftest.$ac_objext 
    3173 if { (ac_try="$ac_compile" 
    3174 case "(($ac_try" in 
    3175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3176   *) ac_try_echo=$ac_try;; 
    3177 esac 
    3178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3179   (eval "$ac_compile") 2>conftest.er1 
    3180   ac_status=$? 
    3181   grep -v '^ *+' conftest.er1 >conftest.err 
    3182   rm -f conftest.er1 
    3183   cat conftest.err >&5 
    3184   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3185   (exit $ac_status); } && { 
    3186          test -z "$ac_cxx_werror_flag" || 
    3187          test ! -s conftest.err 
    3188        } && test -s conftest.$ac_objext; then 
    3189   : 
    3190 else 
    3191   echo "$as_me: failed program was:" >&5 
    3192 sed 's/^/| /' conftest.$ac_ext >&5 
    3193  
    3194         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3398if ac_fn_cxx_try_compile "$LINENO"; then : 
     3399 
     3400else 
     3401  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    31953402         CXXFLAGS="-g" 
    3196          cat >conftest.$ac_ext <<_ACEOF 
    3197 /* confdefs.h.  */ 
    3198 _ACEOF 
    3199 cat confdefs.h >>conftest.$ac_ext 
    3200 cat >>conftest.$ac_ext <<_ACEOF 
     3403         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    32013404/* end confdefs.h.  */ 
    32023405 
     
    32093412} 
    32103413_ACEOF 
    3211 rm -f conftest.$ac_objext 
    3212 if { (ac_try="$ac_compile" 
    3213 case "(($ac_try" in 
    3214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3215   *) ac_try_echo=$ac_try;; 
    3216 esac 
    3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3218   (eval "$ac_compile") 2>conftest.er1 
    3219   ac_status=$? 
    3220   grep -v '^ *+' conftest.er1 >conftest.err 
    3221   rm -f conftest.er1 
    3222   cat conftest.err >&5 
    3223   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3224   (exit $ac_status); } && { 
    3225          test -z "$ac_cxx_werror_flag" || 
    3226          test ! -s conftest.err 
    3227        } && test -s conftest.$ac_objext; then 
     3414if ac_fn_cxx_try_compile "$LINENO"; then : 
    32283415  ac_cv_prog_cxx_g=yes 
    3229 else 
    3230   echo "$as_me: failed program was:" >&5 
    3231 sed 's/^/| /' conftest.$ac_ext >&5 
    3232  
    3233  
    3234 fi 
    3235  
     3416fi 
    32363417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32373418fi 
    3238  
    32393419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32403420fi 
    3241  
    32423421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32433422   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32443423fi 
    3245 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    3246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
     3424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
     3425$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    32473426if test "$ac_test_CXXFLAGS" = set; then 
    32483427  CXXFLAGS=$ac_save_CXXFLAGS 
     
    33223501 
    33233502 
    3324  
    3325 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    3326 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
    3327 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
    3328   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
     3504$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
     3505if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3506  $as_echo_n "(cached) " >&6 
    33293507else 
    33303508  ac_check_lib_save_LIBS=$LIBS 
    33313509LIBS="-lpthread  $LIBS" 
    3332 cat >conftest.$ac_ext <<_ACEOF 
    3333 /* confdefs.h.  */ 
    3334 _ACEOF 
    3335 cat confdefs.h >>conftest.$ac_ext 
    3336 cat >>conftest.$ac_ext <<_ACEOF 
     3510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33373511/* end confdefs.h.  */ 
    33383512 
     
    33523526} 
    33533527_ACEOF 
    3354 rm -f conftest.$ac_objext conftest$ac_exeext 
    3355 if { (ac_try="$ac_link" 
    3356 case "(($ac_try" in 
    3357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3358   *) ac_try_echo=$ac_try;; 
    3359 esac 
    3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3361   (eval "$ac_link") 2>conftest.er1 
    3362   ac_status=$? 
    3363   grep -v '^ *+' conftest.er1 >conftest.err 
    3364   rm -f conftest.er1 
    3365   cat conftest.err >&5 
    3366   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3367   (exit $ac_status); } && { 
    3368          test -z "$ac_c_werror_flag" || 
    3369          test ! -s conftest.err 
    3370        } && test -s conftest$ac_exeext && 
    3371        $as_test_x conftest$ac_exeext; then 
     3528if ac_fn_c_try_link "$LINENO"; then : 
    33723529  ac_cv_lib_pthread_pthread_create=yes 
    33733530else 
    3374   echo "$as_me: failed program was:" >&5 
    3375 sed 's/^/| /' conftest.$ac_ext >&5 
    3376  
    3377         ac_cv_lib_pthread_pthread_create=no 
    3378 fi 
    3379  
    3380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3381       conftest$ac_exeext conftest.$ac_ext 
     3531  ac_cv_lib_pthread_pthread_create=no 
     3532fi 
     3533rm -f core conftest.err conftest.$ac_objext \ 
     3534    conftest$ac_exeext conftest.$ac_ext 
    33823535LIBS=$ac_check_lib_save_LIBS 
    33833536fi 
    3384 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3385 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
    3386 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3538$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
     3539if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    33873540  cat >>confdefs.h <<_ACEOF 
    33883541#define HAVE_LIBPTHREAD 1 
     
    33933546fi 
    33943547 
    3395  
    3396 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    3397 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
    3398 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
    3399   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
     3549$as_echo_n "checking for puts in -lwsock32... " >&6; } 
     3550if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3551  $as_echo_n "(cached) " >&6 
    34003552else 
    34013553  ac_check_lib_save_LIBS=$LIBS 
    34023554LIBS="-lwsock32  $LIBS" 
    3403 cat >conftest.$ac_ext <<_ACEOF 
    3404 /* confdefs.h.  */ 
    3405 _ACEOF 
    3406 cat confdefs.h >>conftest.$ac_ext 
    3407 cat >>conftest.$ac_ext <<_ACEOF 
     3555cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34083556/* end confdefs.h.  */ 
    34093557 
     
    34233571} 
    34243572_ACEOF 
    3425 rm -f conftest.$ac_objext conftest$ac_exeext 
    3426 if { (ac_try="$ac_link" 
    3427 case "(($ac_try" in 
    3428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3429   *) ac_try_echo=$ac_try;; 
    3430 esac 
    3431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3432   (eval "$ac_link") 2>conftest.er1 
    3433   ac_status=$? 
    3434   grep -v '^ *+' conftest.er1 >conftest.err 
    3435   rm -f conftest.er1 
    3436   cat conftest.err >&5 
    3437   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3438   (exit $ac_status); } && { 
    3439          test -z "$ac_c_werror_flag" || 
    3440          test ! -s conftest.err 
    3441        } && test -s conftest$ac_exeext && 
    3442        $as_test_x conftest$ac_exeext; then 
     3573if ac_fn_c_try_link "$LINENO"; then : 
    34433574  ac_cv_lib_wsock32_puts=yes 
    34443575else 
    3445   echo "$as_me: failed program was:" >&5 
    3446 sed 's/^/| /' conftest.$ac_ext >&5 
    3447  
    3448         ac_cv_lib_wsock32_puts=no 
    3449 fi 
    3450  
    3451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3452       conftest$ac_exeext conftest.$ac_ext 
     3576  ac_cv_lib_wsock32_puts=no 
     3577fi 
     3578rm -f core conftest.err conftest.$ac_objext \ 
     3579    conftest$ac_exeext conftest.$ac_ext 
    34533580LIBS=$ac_check_lib_save_LIBS 
    34543581fi 
    3455 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    3456 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
    3457 if test $ac_cv_lib_wsock32_puts = yes; then 
     3582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
     3583$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
     3584if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    34583585  cat >>confdefs.h <<_ACEOF 
    34593586#define HAVE_LIBWSOCK32 1 
     
    34643591fi 
    34653592 
    3466  
    3467 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    3468 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
    3469 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
    3470   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
     3594$as_echo_n "checking for puts in -lws2_32... " >&6; } 
     3595if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3596  $as_echo_n "(cached) " >&6 
    34713597else 
    34723598  ac_check_lib_save_LIBS=$LIBS 
    34733599LIBS="-lws2_32  $LIBS" 
    3474 cat >conftest.$ac_ext <<_ACEOF 
    3475 /* confdefs.h.  */ 
    3476 _ACEOF 
    3477 cat confdefs.h >>conftest.$ac_ext 
    3478 cat >>conftest.$ac_ext <<_ACEOF 
     3600cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34793601/* end confdefs.h.  */ 
    34803602 
     
    34943616} 
    34953617_ACEOF 
    3496 rm -f conftest.$ac_objext conftest$ac_exeext 
    3497 if { (ac_try="$ac_link" 
    3498 case "(($ac_try" in 
    3499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3500   *) ac_try_echo=$ac_try;; 
    3501 esac 
    3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3503   (eval "$ac_link") 2>conftest.er1 
    3504   ac_status=$? 
    3505   grep -v '^ *+' conftest.er1 >conftest.err 
    3506   rm -f conftest.er1 
    3507   cat conftest.err >&5 
    3508   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3509   (exit $ac_status); } && { 
    3510          test -z "$ac_c_werror_flag" || 
    3511          test ! -s conftest.err 
    3512        } && test -s conftest$ac_exeext && 
    3513        $as_test_x conftest$ac_exeext; then 
     3618if ac_fn_c_try_link "$LINENO"; then : 
    35143619  ac_cv_lib_ws2_32_puts=yes 
    35153620else 
    3516   echo "$as_me: failed program was:" >&5 
    3517 sed 's/^/| /' conftest.$ac_ext >&5 
    3518  
    3519         ac_cv_lib_ws2_32_puts=no 
    3520 fi 
    3521  
    3522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3523       conftest$ac_exeext conftest.$ac_ext 
     3621  ac_cv_lib_ws2_32_puts=no 
     3622fi 
     3623rm -f core conftest.err conftest.$ac_objext \ 
     3624    conftest$ac_exeext conftest.$ac_ext 
    35243625LIBS=$ac_check_lib_save_LIBS 
    35253626fi 
    3526 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    3527 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
    3528 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
     3628$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
     3629if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35293630  cat >>confdefs.h <<_ACEOF 
    35303631#define HAVE_LIBWS2_32 1 
     
    35353636fi 
    35363637 
    3537  
    3538 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    3539 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
    3540 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
    3541   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
     3639$as_echo_n "checking for puts in -lole32... " >&6; } 
     3640if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3641  $as_echo_n "(cached) " >&6 
    35423642else 
    35433643  ac_check_lib_save_LIBS=$LIBS 
    35443644LIBS="-lole32  $LIBS" 
    3545 cat >conftest.$ac_ext <<_ACEOF 
    3546 /* confdefs.h.  */ 
    3547 _ACEOF 
    3548 cat confdefs.h >>conftest.$ac_ext 
    3549 cat >>conftest.$ac_ext <<_ACEOF 
     3645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35503646/* end confdefs.h.  */ 
    35513647 
     
    35653661} 
    35663662_ACEOF 
    3567 rm -f conftest.$ac_objext conftest$ac_exeext 
    3568 if { (ac_try="$ac_link" 
    3569 case "(($ac_try" in 
    3570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3571   *) ac_try_echo=$ac_try;; 
    3572 esac 
    3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3574   (eval "$ac_link") 2>conftest.er1 
    3575   ac_status=$? 
    3576   grep -v '^ *+' conftest.er1 >conftest.err 
    3577   rm -f conftest.er1 
    3578   cat conftest.err >&5 
    3579   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3580   (exit $ac_status); } && { 
    3581          test -z "$ac_c_werror_flag" || 
    3582          test ! -s conftest.err 
    3583        } && test -s conftest$ac_exeext && 
    3584        $as_test_x conftest$ac_exeext; then 
     3663if ac_fn_c_try_link "$LINENO"; then : 
    35853664  ac_cv_lib_ole32_puts=yes 
    35863665else 
    3587   echo "$as_me: failed program was:" >&5 
    3588 sed 's/^/| /' conftest.$ac_ext >&5 
    3589  
    3590         ac_cv_lib_ole32_puts=no 
    3591 fi 
    3592  
    3593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3594       conftest$ac_exeext conftest.$ac_ext 
     3666  ac_cv_lib_ole32_puts=no 
     3667fi 
     3668rm -f core conftest.err conftest.$ac_objext \ 
     3669    conftest$ac_exeext conftest.$ac_ext 
    35953670LIBS=$ac_check_lib_save_LIBS 
    35963671fi 
    3597 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    3598 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
    3599 if test $ac_cv_lib_ole32_puts = yes; then 
     3672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
     3673$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
     3674if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    36003675  cat >>confdefs.h <<_ACEOF 
    36013676#define HAVE_LIBOLE32 1 
     
    36063681fi 
    36073682 
    3608  
    3609 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    3610 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
    3611 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
    3612   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
     3684$as_echo_n "checking for puts in -lwinmm... " >&6; } 
     3685if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3686  $as_echo_n "(cached) " >&6 
    36133687else 
    36143688  ac_check_lib_save_LIBS=$LIBS 
    36153689LIBS="-lwinmm  $LIBS" 
    3616 cat >conftest.$ac_ext <<_ACEOF 
    3617 /* confdefs.h.  */ 
    3618 _ACEOF 
    3619 cat confdefs.h >>conftest.$ac_ext 
    3620 cat >>conftest.$ac_ext <<_ACEOF 
     3690cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36213691/* end confdefs.h.  */ 
    36223692 
     
    36363706} 
    36373707_ACEOF 
    3638 rm -f conftest.$ac_objext conftest$ac_exeext 
    3639 if { (ac_try="$ac_link" 
    3640 case "(($ac_try" in 
    3641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3642   *) ac_try_echo=$ac_try;; 
    3643 esac 
    3644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3645   (eval "$ac_link") 2>conftest.er1 
    3646   ac_status=$? 
    3647   grep -v '^ *+' conftest.er1 >conftest.err 
    3648   rm -f conftest.er1 
    3649   cat conftest.err >&5 
    3650   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3651   (exit $ac_status); } && { 
    3652          test -z "$ac_c_werror_flag" || 
    3653          test ! -s conftest.err 
    3654        } && test -s conftest$ac_exeext && 
    3655        $as_test_x conftest$ac_exeext; then 
     3708if ac_fn_c_try_link "$LINENO"; then : 
    36563709  ac_cv_lib_winmm_puts=yes 
    36573710else 
    3658   echo "$as_me: failed program was:" >&5 
    3659 sed 's/^/| /' conftest.$ac_ext >&5 
    3660  
    3661         ac_cv_lib_winmm_puts=no 
    3662 fi 
    3663  
    3664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3665       conftest$ac_exeext conftest.$ac_ext 
     3711  ac_cv_lib_winmm_puts=no 
     3712fi 
     3713rm -f core conftest.err conftest.$ac_objext \ 
     3714    conftest$ac_exeext conftest.$ac_ext 
    36663715LIBS=$ac_check_lib_save_LIBS 
    36673716fi 
    3668 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    3669 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
    3670 if test $ac_cv_lib_winmm_puts = yes; then 
     3717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
     3718$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
     3719if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    36713720  cat >>confdefs.h <<_ACEOF 
    36723721#define HAVE_LIBWINMM 1 
     
    36773726fi 
    36783727 
    3679  
    3680 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    3681 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
    3682 if test "${ac_cv_lib_socket_puts+set}" = set; then 
    3683   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
     3729$as_echo_n "checking for puts in -lsocket... " >&6; } 
     3730if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3731  $as_echo_n "(cached) " >&6 
    36843732else 
    36853733  ac_check_lib_save_LIBS=$LIBS 
    36863734LIBS="-lsocket  $LIBS" 
    3687 cat >conftest.$ac_ext <<_ACEOF 
    3688 /* confdefs.h.  */ 
    3689 _ACEOF 
    3690 cat confdefs.h >>conftest.$ac_ext 
    3691 cat >>conftest.$ac_ext <<_ACEOF 
     3735cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36923736/* end confdefs.h.  */ 
    36933737 
     
    37073751} 
    37083752_ACEOF 
    3709 rm -f conftest.$ac_objext conftest$ac_exeext 
    3710 if { (ac_try="$ac_link" 
    3711 case "(($ac_try" in 
    3712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3713   *) ac_try_echo=$ac_try;; 
    3714 esac 
    3715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3716   (eval "$ac_link") 2>conftest.er1 
    3717   ac_status=$? 
    3718   grep -v '^ *+' conftest.er1 >conftest.err 
    3719   rm -f conftest.er1 
    3720   cat conftest.err >&5 
    3721   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3722   (exit $ac_status); } && { 
    3723          test -z "$ac_c_werror_flag" || 
    3724          test ! -s conftest.err 
    3725        } && test -s conftest$ac_exeext && 
    3726        $as_test_x conftest$ac_exeext; then 
     3753if ac_fn_c_try_link "$LINENO"; then : 
    37273754  ac_cv_lib_socket_puts=yes 
    37283755else 
    3729   echo "$as_me: failed program was:" >&5 
    3730 sed 's/^/| /' conftest.$ac_ext >&5 
    3731  
    3732         ac_cv_lib_socket_puts=no 
    3733 fi 
    3734  
    3735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3736       conftest$ac_exeext conftest.$ac_ext 
     3756  ac_cv_lib_socket_puts=no 
     3757fi 
     3758rm -f core conftest.err conftest.$ac_objext \ 
     3759    conftest$ac_exeext conftest.$ac_ext 
    37373760LIBS=$ac_check_lib_save_LIBS 
    37383761fi 
    3739 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    3740 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
    3741 if test $ac_cv_lib_socket_puts = yes; then 
     3762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
     3763$as_echo "$ac_cv_lib_socket_puts" >&6; } 
     3764if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    37423765  cat >>confdefs.h <<_ACEOF 
    37433766#define HAVE_LIBSOCKET 1 
     
    37483771fi 
    37493772 
    3750  
    3751 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    3752 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
    3753 if test "${ac_cv_lib_rt_puts+set}" = set; then 
    3754   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
     3774$as_echo_n "checking for puts in -lrt... " >&6; } 
     3775if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3776  $as_echo_n "(cached) " >&6 
    37553777else 
    37563778  ac_check_lib_save_LIBS=$LIBS 
    37573779LIBS="-lrt  $LIBS" 
    3758 cat >conftest.$ac_ext <<_ACEOF 
    3759 /* confdefs.h.  */ 
    3760 _ACEOF 
    3761 cat confdefs.h >>conftest.$ac_ext 
    3762 cat >>conftest.$ac_ext <<_ACEOF 
     3780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37633781/* end confdefs.h.  */ 
    37643782 
     
    37783796} 
    37793797_ACEOF 
    3780 rm -f conftest.$ac_objext conftest$ac_exeext 
    3781 if { (ac_try="$ac_link" 
    3782 case "(($ac_try" in 
    3783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3784   *) ac_try_echo=$ac_try;; 
    3785 esac 
    3786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3787   (eval "$ac_link") 2>conftest.er1 
    3788   ac_status=$? 
    3789   grep -v '^ *+' conftest.er1 >conftest.err 
    3790   rm -f conftest.er1 
    3791   cat conftest.err >&5 
    3792   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3793   (exit $ac_status); } && { 
    3794          test -z "$ac_c_werror_flag" || 
    3795          test ! -s conftest.err 
    3796        } && test -s conftest$ac_exeext && 
    3797        $as_test_x conftest$ac_exeext; then 
     3798if ac_fn_c_try_link "$LINENO"; then : 
    37983799  ac_cv_lib_rt_puts=yes 
    37993800else 
    3800   echo "$as_me: failed program was:" >&5 
    3801 sed 's/^/| /' conftest.$ac_ext >&5 
    3802  
    3803         ac_cv_lib_rt_puts=no 
    3804 fi 
    3805  
    3806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3807       conftest$ac_exeext conftest.$ac_ext 
     3801  ac_cv_lib_rt_puts=no 
     3802fi 
     3803rm -f core conftest.err conftest.$ac_objext \ 
     3804    conftest$ac_exeext conftest.$ac_ext 
    38083805LIBS=$ac_check_lib_save_LIBS 
    38093806fi 
    3810 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    3811 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
    3812 if test $ac_cv_lib_rt_puts = yes; then 
     3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
     3808$as_echo "$ac_cv_lib_rt_puts" >&6; } 
     3809if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38133810  cat >>confdefs.h <<_ACEOF 
    38143811#define HAVE_LIBRT 1 
     
    38193816fi 
    38203817 
    3821  
    3822 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    3823 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
    3824 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
    3825   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
     3819$as_echo_n "checking for puts in -lnsl... " >&6; } 
     3820if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3821  $as_echo_n "(cached) " >&6 
    38263822else 
    38273823  ac_check_lib_save_LIBS=$LIBS 
    38283824LIBS="-lnsl  $LIBS" 
    3829 cat >conftest.$ac_ext <<_ACEOF 
    3830 /* confdefs.h.  */ 
    3831 _ACEOF 
    3832 cat confdefs.h >>conftest.$ac_ext 
    3833 cat >>conftest.$ac_ext <<_ACEOF 
     3825cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38343826/* end confdefs.h.  */ 
    38353827 
     
    38493841} 
    38503842_ACEOF 
    3851 rm -f conftest.$ac_objext conftest$ac_exeext 
    3852 if { (ac_try="$ac_link" 
    3853 case "(($ac_try" in 
    3854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3855   *) ac_try_echo=$ac_try;; 
    3856 esac 
    3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3858   (eval "$ac_link") 2>conftest.er1 
    3859   ac_status=$? 
    3860   grep -v '^ *+' conftest.er1 >conftest.err 
    3861   rm -f conftest.er1 
    3862   cat conftest.err >&5 
    3863   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3864   (exit $ac_status); } && { 
    3865          test -z "$ac_c_werror_flag" || 
    3866          test ! -s conftest.err 
    3867        } && test -s conftest$ac_exeext && 
    3868        $as_test_x conftest$ac_exeext; then 
     3843if ac_fn_c_try_link "$LINENO"; then : 
    38693844  ac_cv_lib_nsl_puts=yes 
    38703845else 
    3871   echo "$as_me: failed program was:" >&5 
    3872 sed 's/^/| /' conftest.$ac_ext >&5 
    3873  
    3874         ac_cv_lib_nsl_puts=no 
    3875 fi 
    3876  
    3877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3878       conftest$ac_exeext conftest.$ac_ext 
     3846  ac_cv_lib_nsl_puts=no 
     3847fi 
     3848rm -f core conftest.err conftest.$ac_objext \ 
     3849    conftest$ac_exeext conftest.$ac_ext 
    38793850LIBS=$ac_check_lib_save_LIBS 
    38803851fi 
    3881 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    3882 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
    3883 if test $ac_cv_lib_nsl_puts = yes; then 
     3852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
     3853$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
     3854if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    38843855  cat >>confdefs.h <<_ACEOF 
    38853856#define HAVE_LIBNSL 1 
     
    38903861fi 
    38913862 
    3892  
    3893 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3894 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3895 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3896   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3864$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3865if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3866  $as_echo_n "(cached) " >&6 
    38973867else 
    38983868  ac_check_lib_save_LIBS=$LIBS 
    38993869LIBS="-luuid  $LIBS" 
    3900 cat >conftest.$ac_ext <<_ACEOF 
    3901 /* confdefs.h.  */ 
    3902 _ACEOF 
    3903 cat confdefs.h >>conftest.$ac_ext 
    3904 cat >>conftest.$ac_ext <<_ACEOF 
     3870cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39053871/* end confdefs.h.  */ 
    39063872 
     
    39203886} 
    39213887_ACEOF 
    3922 rm -f conftest.$ac_objext conftest$ac_exeext 
    3923 if { (ac_try="$ac_link" 
    3924 case "(($ac_try" in 
    3925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3926   *) ac_try_echo=$ac_try;; 
    3927 esac 
    3928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3929   (eval "$ac_link") 2>conftest.er1 
    3930   ac_status=$? 
    3931   grep -v '^ *+' conftest.er1 >conftest.err 
    3932   rm -f conftest.er1 
    3933   cat conftest.err >&5 
    3934   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3935   (exit $ac_status); } && { 
    3936          test -z "$ac_c_werror_flag" || 
    3937          test ! -s conftest.err 
    3938        } && test -s conftest$ac_exeext && 
    3939        $as_test_x conftest$ac_exeext; then 
     3888if ac_fn_c_try_link "$LINENO"; then : 
    39403889  ac_cv_lib_uuid_uuid_generate=yes 
    39413890else 
    3942   echo "$as_me: failed program was:" >&5 
    3943 sed 's/^/| /' conftest.$ac_ext >&5 
    3944  
    3945         ac_cv_lib_uuid_uuid_generate=no 
    3946 fi 
    3947  
    3948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3949       conftest$ac_exeext conftest.$ac_ext 
     3891  ac_cv_lib_uuid_uuid_generate=no 
     3892fi 
     3893rm -f core conftest.err conftest.$ac_objext \ 
     3894    conftest$ac_exeext conftest.$ac_ext 
    39503895LIBS=$ac_check_lib_save_LIBS 
    39513896fi 
    3952 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3953 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3954 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3898$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3899if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    39553900  cat >>confdefs.h <<_ACEOF 
    39563901#define HAVE_LIBUUID 1 
     
    39613906fi 
    39623907 
    3963 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3964 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3965 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3966   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3909$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3910if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3911  $as_echo_n "(cached) " >&6 
    39673912else 
    39683913  ac_check_lib_save_LIBS=$LIBS 
    39693914LIBS="-luuid  $LIBS" 
    3970 cat >conftest.$ac_ext <<_ACEOF 
    3971 /* confdefs.h.  */ 
    3972 _ACEOF 
    3973 cat confdefs.h >>conftest.$ac_ext 
    3974 cat >>conftest.$ac_ext <<_ACEOF 
     3915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39753916/* end confdefs.h.  */ 
    39763917 
     
    39903931} 
    39913932_ACEOF 
    3992 rm -f conftest.$ac_objext conftest$ac_exeext 
    3993 if { (ac_try="$ac_link" 
    3994 case "(($ac_try" in 
    3995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3996   *) ac_try_echo=$ac_try;; 
    3997 esac 
    3998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3999   (eval "$ac_link") 2>conftest.er1 
    4000   ac_status=$? 
    4001   grep -v '^ *+' conftest.er1 >conftest.err 
    4002   rm -f conftest.er1 
    4003   cat conftest.err >&5 
    4004   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4005   (exit $ac_status); } && { 
    4006          test -z "$ac_c_werror_flag" || 
    4007          test ! -s conftest.err 
    4008        } && test -s conftest$ac_exeext && 
    4009        $as_test_x conftest$ac_exeext; then 
     3933if ac_fn_c_try_link "$LINENO"; then : 
    40103934  ac_cv_lib_uuid_uuid_generate=yes 
    40113935else 
    4012   echo "$as_me: failed program was:" >&5 
    4013 sed 's/^/| /' conftest.$ac_ext >&5 
    4014  
    4015         ac_cv_lib_uuid_uuid_generate=no 
    4016 fi 
    4017  
    4018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4019       conftest$ac_exeext conftest.$ac_ext 
     3936  ac_cv_lib_uuid_uuid_generate=no 
     3937fi 
     3938rm -f core conftest.err conftest.$ac_objext \ 
     3939    conftest$ac_exeext conftest.$ac_ext 
    40203940LIBS=$ac_check_lib_save_LIBS 
    40213941fi 
    4022 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    4023 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4024 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3943$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3944if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40253945  ac_has_uuid_lib=1 
    40263946fi 
    40273947 
    40283948 
    4029 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    4030 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
     3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3950$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    40313951cat >>confdefs.h <<_ACEOF 
    40323952#define PJ_M_NAME "$target_cpu" 
     
    40343954 
    40353955 
    4036 { echo "$as_me:$LINENO: checking memory alignment" >&5 
    4037 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
     3956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
     3957$as_echo_n "checking memory alignment... " >&6; } 
    40383958case $target in 
    40393959    sparc64-* | ia64-* | x86_64-* ) 
    4040         cat >>confdefs.h <<\_ACEOF 
    4041 #define PJ_POOL_ALIGNMENT 8 
    4042 _ACEOF 
    4043  
    4044         { echo "$as_me:$LINENO: result: 8 bytes" >&5 
    4045 echo "${ECHO_T}8 bytes" >&6; } 
     3960        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3961 
     3962        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
     3963$as_echo "8 bytes" >&6; } 
    40463964        ;; 
    40473965    * ) 
    4048         cat >>confdefs.h <<\_ACEOF 
    4049 #define PJ_POOL_ALIGNMENT 4 
    4050 _ACEOF 
    4051  
    4052         { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    4053 echo "${ECHO_T}4 bytes (default)" >&6; } 
     3966        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3967 
     3968        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
     3969$as_echo "4 bytes (default)" >&6; } 
    40543970        ;; 
    40553971esac 
     
    40613977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    40623978ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4063 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    4064 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
     3979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
     3980$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    40653981# On Suns, sometimes $CPP names a directory. 
    40663982if test -n "$CPP" && test -d "$CPP"; then 
     
    40683984fi 
    40693985if test -z "$CPP"; then 
    4070   if test "${ac_cv_prog_CPP+set}" = set; then 
    4071   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3986  if test "${ac_cv_prog_CPP+set}" = set; then : 
     3987  $as_echo_n "(cached) " >&6 
    40723988else 
    40733989      # Double quotes because CPP needs to be expanded 
     
    40833999  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40844000  # not just through cpp. "Syntax error" is here to catch this case. 
    4085   cat >conftest.$ac_ext <<_ACEOF 
    4086 /* confdefs.h.  */ 
    4087 _ACEOF 
    4088 cat confdefs.h >>conftest.$ac_ext 
    4089 cat >>conftest.$ac_ext <<_ACEOF 
     4001  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40904002/* end confdefs.h.  */ 
    40914003#ifdef __STDC__ 
     
    40964008                     Syntax error 
    40974009_ACEOF 
    4098 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4099 case "(($ac_try" in 
    4100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4101   *) ac_try_echo=$ac_try;; 
    4102 esac 
    4103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4104   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4105   ac_status=$? 
    4106   grep -v '^ *+' conftest.er1 >conftest.err 
    4107   rm -f conftest.er1 
    4108   cat conftest.err >&5 
    4109   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4110   (exit $ac_status); } >/dev/null && { 
    4111          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4112          test ! -s conftest.err 
    4113        }; then 
    4114   : 
    4115 else 
    4116   echo "$as_me: failed program was:" >&5 
    4117 sed 's/^/| /' conftest.$ac_ext >&5 
    4118  
     4010if ac_fn_c_try_cpp "$LINENO"; then : 
     4011 
     4012else 
    41194013  # Broken: fails on valid input. 
    41204014continue 
    41214015fi 
    4122  
    41234016rm -f conftest.err conftest.$ac_ext 
    41244017 
    41254018  # OK, works on sane cases.  Now check whether nonexistent headers 
    41264019  # can be detected and how. 
    4127   cat >conftest.$ac_ext <<_ACEOF 
    4128 /* confdefs.h.  */ 
    4129 _ACEOF 
    4130 cat confdefs.h >>conftest.$ac_ext 
    4131 cat >>conftest.$ac_ext <<_ACEOF 
     4020  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41324021/* end confdefs.h.  */ 
    41334022#include <ac_nonexistent.h> 
    41344023_ACEOF 
    4135 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4136 case "(($ac_try" in 
    4137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4138   *) ac_try_echo=$ac_try;; 
    4139 esac 
    4140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4141   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4142   ac_status=$? 
    4143   grep -v '^ *+' conftest.er1 >conftest.err 
    4144   rm -f conftest.er1 
    4145   cat conftest.err >&5 
    4146   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4147   (exit $ac_status); } >/dev/null && { 
    4148          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4149          test ! -s conftest.err 
    4150        }; then 
     4024if ac_fn_c_try_cpp "$LINENO"; then : 
    41514025  # Broken: success on invalid input. 
    41524026continue 
    41534027else 
    4154   echo "$as_me: failed program was:" >&5 
    4155 sed 's/^/| /' conftest.$ac_ext >&5 
    4156  
    41574028  # Passes both tests. 
    41584029ac_preproc_ok=: 
    41594030break 
    41604031fi 
    4161  
    41624032rm -f conftest.err conftest.$ac_ext 
    41634033 
     
    41654035# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    41664036rm -f conftest.err conftest.$ac_ext 
    4167 if $ac_preproc_ok; then 
     4037if $ac_preproc_ok; then : 
    41684038  break 
    41694039fi 
     
    41774047  ac_cv_prog_CPP=$CPP 
    41784048fi 
    4179 { echo "$as_me:$LINENO: result: $CPP" >&5 
    4180 echo "${ECHO_T}$CPP" >&6; } 
     4049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
     4050$as_echo "$CPP" >&6; } 
    41814051ac_preproc_ok=false 
    41824052for ac_c_preproc_warn_flag in '' yes 
     
    41884058  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41894059  # not just through cpp. "Syntax error" is here to catch this case. 
    4190   cat >conftest.$ac_ext <<_ACEOF 
    4191 /* confdefs.h.  */ 
    4192 _ACEOF 
    4193 cat confdefs.h >>conftest.$ac_ext 
    4194 cat >>conftest.$ac_ext <<_ACEOF 
     4060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41954061/* end confdefs.h.  */ 
    41964062#ifdef __STDC__ 
     
    42014067                     Syntax error 
    42024068_ACEOF 
    4203 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4204 case "(($ac_try" in 
    4205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4206   *) ac_try_echo=$ac_try;; 
    4207 esac 
    4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4209   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4210   ac_status=$? 
    4211   grep -v '^ *+' conftest.er1 >conftest.err 
    4212   rm -f conftest.er1 
    4213   cat conftest.err >&5 
    4214   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4215   (exit $ac_status); } >/dev/null && { 
    4216          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4217          test ! -s conftest.err 
    4218        }; then 
    4219   : 
    4220 else 
    4221   echo "$as_me: failed program was:" >&5 
    4222 sed 's/^/| /' conftest.$ac_ext >&5 
    4223  
     4069if ac_fn_c_try_cpp "$LINENO"; then : 
     4070 
     4071else 
    42244072  # Broken: fails on valid input. 
    42254073continue 
    42264074fi 
    4227  
    42284075rm -f conftest.err conftest.$ac_ext 
    42294076 
    42304077  # OK, works on sane cases.  Now check whether nonexistent headers 
    42314078  # can be detected and how. 
    4232   cat >conftest.$ac_ext <<_ACEOF 
    4233 /* confdefs.h.  */ 
    4234 _ACEOF 
    4235 cat confdefs.h >>conftest.$ac_ext 
    4236 cat >>conftest.$ac_ext <<_ACEOF 
     4079  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42374080/* end confdefs.h.  */ 
    42384081#include <ac_nonexistent.h> 
    42394082_ACEOF 
    4240 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4241 case "(($ac_try" in 
    4242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4243   *) ac_try_echo=$ac_try;; 
    4244 esac 
    4245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4246   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4247   ac_status=$? 
    4248   grep -v '^ *+' conftest.er1 >conftest.err 
    4249   rm -f conftest.er1 
    4250   cat conftest.err >&5 
    4251   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4252   (exit $ac_status); } >/dev/null && { 
    4253          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4254          test ! -s conftest.err 
    4255        }; then 
     4083if ac_fn_c_try_cpp "$LINENO"; then : 
    42564084  # Broken: success on invalid input. 
    42574085continue 
    42584086else 
    4259   echo "$as_me: failed program was:" >&5 
    4260 sed 's/^/| /' conftest.$ac_ext >&5 
    4261  
    42624087  # Passes both tests. 
    42634088ac_preproc_ok=: 
    42644089break 
    42654090fi 
    4266  
    42674091rm -f conftest.err conftest.$ac_ext 
    42684092 
     
    42704094# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42714095rm -f conftest.err conftest.$ac_ext 
    4272 if $ac_preproc_ok; then 
    4273   : 
    4274 else 
    4275   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4276 See \`config.log' for more details." >&5 
    4277 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4278 See \`config.log' for more details." >&2;} 
    4279    { (exit 1); exit 1; }; } 
     4096if $ac_preproc_ok; then : 
     4097 
     4098else 
     4099  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     4100$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     4101as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     4102See \`config.log' for more details." "$LINENO" 5; } 
    42804103fi 
    42814104 
     
    42874110 
    42884111 
    4289 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
    4290 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
    4291 if test "${ac_cv_path_GREP+set}" = set; then 
    4292   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4293 else 
    4294   # Extract the first word of "grep ggrep" to use in msg output 
    4295 if test -z "$GREP"; then 
    4296 set dummy grep ggrep; ac_prog_name=$2 
    4297 if test "${ac_cv_path_GREP+set}" = set; then 
    4298   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4299 else 
     4112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
     4113$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
     4114if test "${ac_cv_path_GREP+set}" = set; then : 
     4115  $as_echo_n "(cached) " >&6 
     4116else 
     4117  if test -z "$GREP"; then 
    43004118  ac_path_GREP_found=false 
    4301 # Loop through the user's path and test for each of PROGNAME-LIST 
    4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4119  # Loop through the user's path and test for each of PROGNAME-LIST 
     4120  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43034121for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43044122do 
    43054123  IFS=$as_save_IFS 
    43064124  test -z "$as_dir" && as_dir=. 
    4307   for ac_prog in grep ggrep; do 
    4308   for ac_exec_ext in '' $ac_executable_extensions; do 
    4309     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4310     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4311     # Check for GNU ac_path_GREP and select it if it is found. 
     4125    for ac_prog in grep ggrep; do 
     4126    for ac_exec_ext in '' $ac_executable_extensions; do 
     4127      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4128      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4129# Check for GNU ac_path_GREP and select it if it is found. 
    43124130  # Check for GNU $ac_path_GREP 
    43134131case `"$ac_path_GREP" --version 2>&1` in 
     
    43164134*) 
    43174135  ac_count=0 
    4318   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4136  $as_echo_n 0123456789 >"conftest.in" 
    43194137  while : 
    43204138  do 
     
    43224140    mv "conftest.tmp" "conftest.in" 
    43234141    cp "conftest.in" "conftest.nl" 
    4324     echo 'GREP' >> "conftest.nl" 
     4142    $as_echo 'GREP' >> "conftest.nl" 
    43254143    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43264144    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4327     ac_count=`expr $ac_count + 1` 
     4145    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43284146    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    43294147      # Best one so far, save it but keep looking for a better one 
     
    43374155esac 
    43384156 
    4339  
    4340     $ac_path_GREP_found && break 3 
     4157      $ac_path_GREP_found && break 3 
     4158    done 
    43414159  done 
    4342 done 
    4343  
    4344 done 
     4160  done 
    43454161IFS=$as_save_IFS 
    4346  
    4347  
    4348 fi 
    4349  
    4350 GREP="$ac_cv_path_GREP" 
    4351 if test -z "$GREP"; then 
    4352   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4353 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4354    { (exit 1); exit 1; }; } 
    4355 fi 
    4356  
     4162  if test -z "$ac_cv_path_GREP"; then 
     4163    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4164  fi 
    43574165else 
    43584166  ac_cv_path_GREP=$GREP 
    43594167fi 
    43604168 
    4361  
    4362 fi 
    4363 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
    4364 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
     4169fi 
     4170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
     4171$as_echo "$ac_cv_path_GREP" >&6; } 
    43654172 GREP="$ac_cv_path_GREP" 
    43664173 
    43674174 
    4368 { echo "$as_me:$LINENO: checking for egrep" >&5 
    4369 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
    4370 if test "${ac_cv_path_EGREP+set}" = set; then 
    4371   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
     4176$as_echo_n "checking for egrep... " >&6; } 
     4177if test "${ac_cv_path_EGREP+set}" = set; then : 
     4178  $as_echo_n "(cached) " >&6 
    43724179else 
    43734180  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    43744181   then ac_cv_path_EGREP="$GREP -E" 
    43754182   else 
    4376      # Extract the first word of "egrep" to use in msg output 
    4377 if test -z "$EGREP"; then 
    4378 set dummy egrep; ac_prog_name=$2 
    4379 if test "${ac_cv_path_EGREP+set}" = set; then 
    4380   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4381 else 
     4183     if test -z "$EGREP"; then 
    43824184  ac_path_EGREP_found=false 
    4383 # Loop through the user's path and test for each of PROGNAME-LIST 
    4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4185  # Loop through the user's path and test for each of PROGNAME-LIST 
     4186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43854187for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43864188do 
    43874189  IFS=$as_save_IFS 
    43884190  test -z "$as_dir" && as_dir=. 
    4389   for ac_prog in egrep; do 
    4390   for ac_exec_ext in '' $ac_executable_extensions; do 
    4391     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4392     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4393     # Check for GNU ac_path_EGREP and select it if it is found. 
     4191    for ac_prog in egrep; do 
     4192    for ac_exec_ext in '' $ac_executable_extensions; do 
     4193      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4194      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4195# Check for GNU ac_path_EGREP and select it if it is found. 
    43944196  # Check for GNU $ac_path_EGREP 
    43954197case `"$ac_path_EGREP" --version 2>&1` in 
     
    43984200*) 
    43994201  ac_count=0 
    4400   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4202  $as_echo_n 0123456789 >"conftest.in" 
    44014203  while : 
    44024204  do 
     
    44044206    mv "conftest.tmp" "conftest.in" 
    44054207    cp "conftest.in" "conftest.nl" 
    4406     echo 'EGREP' >> "conftest.nl" 
     4208    $as_echo 'EGREP' >> "conftest.nl" 
    44074209    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44084210    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4409     ac_count=`expr $ac_count + 1` 
     4211    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44104212    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44114213      # Best one so far, save it but keep looking for a better one 
     
    44194221esac 
    44204222 
    4421  
    4422     $ac_path_EGREP_found && break 3 
     4223      $ac_path_EGREP_found && break 3 
     4224    done 
    44234225  done 
    4424 done 
    4425  
    4426 done 
     4226  done 
    44274227IFS=$as_save_IFS 
    4428  
    4429  
    4430 fi 
    4431  
    4432 EGREP="$ac_cv_path_EGREP" 
    4433 if test -z "$EGREP"; then 
    4434   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4435 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4436    { (exit 1); exit 1; }; } 
    4437 fi 
    4438  
     4228  if test -z "$ac_cv_path_EGREP"; then 
     4229    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4230  fi 
    44394231else 
    44404232  ac_cv_path_EGREP=$EGREP 
    44414233fi 
    44424234 
    4443  
    44444235   fi 
    44454236fi 
    4446 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
    4447 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
     4237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
     4238$as_echo "$ac_cv_path_EGREP" >&6; } 
    44484239 EGREP="$ac_cv_path_EGREP" 
    44494240 
    44504241 
    4451 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    4452 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
    4453 if test "${ac_cv_header_stdc+set}" = set; then 
    4454   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4455 else 
    4456   cat >conftest.$ac_ext <<_ACEOF 
    4457 /* confdefs.h.  */ 
    4458 _ACEOF 
    4459 cat confdefs.h >>conftest.$ac_ext 
    4460 cat >>conftest.$ac_ext <<_ACEOF 
     4242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
     4243$as_echo_n "checking for ANSI C header files... " >&6; } 
     4244if test "${ac_cv_header_stdc+set}" = set; then : 
     4245  $as_echo_n "(cached) " >&6 
     4246else 
     4247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44614248/* end confdefs.h.  */ 
    44624249#include <stdlib.h> 
     
    44734260} 
    44744261_ACEOF 
    4475 rm -f conftest.$ac_objext 
    4476 if { (ac_try="$ac_compile" 
    4477 case "(($ac_try" in 
    4478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4479   *) ac_try_echo=$ac_try;; 
    4480 esac 
    4481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4482   (eval "$ac_compile") 2>conftest.er1 
    4483   ac_status=$? 
    4484   grep -v '^ *+' conftest.er1 >conftest.err 
    4485   rm -f conftest.er1 
    4486   cat conftest.err >&5 
    4487   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4488   (exit $ac_status); } && { 
    4489          test -z "$ac_c_werror_flag" || 
    4490          test ! -s conftest.err 
    4491        } && test -s conftest.$ac_objext; then 
     4262if ac_fn_c_try_compile "$LINENO"; then : 
    44924263  ac_cv_header_stdc=yes 
    44934264else 
    4494   echo "$as_me: failed program was:" >&5 
    4495 sed 's/^/| /' conftest.$ac_ext >&5 
    4496  
    4497         ac_cv_header_stdc=no 
    4498 fi 
    4499  
     4265  ac_cv_header_stdc=no 
     4266fi 
    45004267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    45014268 
    45024269if test $ac_cv_header_stdc = yes; then 
    45034270  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4504   cat >conftest.$ac_ext <<_ACEOF 
    4505 /* confdefs.h.  */ 
    4506 _ACEOF 
    4507 cat confdefs.h >>conftest.$ac_ext 
    4508 cat >>conftest.$ac_ext <<_ACEOF 
     4271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45094272/* end confdefs.h.  */ 
    45104273#include <string.h> 
     
    45124275_ACEOF 
    45134276if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4514   $EGREP "memchr" >/dev/null 2>&1; then 
    4515   : 
     4277  $EGREP "memchr" >/dev/null 2>&1; then : 
     4278 
    45164279else 
    45174280  ac_cv_header_stdc=no 
    45184281fi 
    4519 rm -f -r conftest* 
     4282rm -f conftest* 
    45204283 
    45214284fi 
     
    45234286if test $ac_cv_header_stdc = yes; then 
    45244287  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4525   cat >conftest.$ac_ext <<_ACEOF 
    4526 /* confdefs.h.  */ 
    4527 _ACEOF 
    4528 cat confdefs.h >>conftest.$ac_ext 
    4529 cat >>conftest.$ac_ext <<_ACEOF 
     4288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45304289/* end confdefs.h.  */ 
    45314290#include <stdlib.h> 
     
    45334292_ACEOF 
    45344293if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4535   $EGREP "free" >/dev/null 2>&1; then 
    4536   : 
     4294  $EGREP "free" >/dev/null 2>&1; then : 
     4295 
    45374296else 
    45384297  ac_cv_header_stdc=no 
    45394298fi 
    4540 rm -f -r conftest* 
     4299rm -f conftest* 
    45414300 
    45424301fi 
     
    45444303if test $ac_cv_header_stdc = yes; then 
    45454304  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4546   if test "$cross_compiling" = yes; then 
     4305  if test "$cross_compiling" = yes; then : 
    45474306  : 
    45484307else 
    4549   cat >conftest.$ac_ext <<_ACEOF 
    4550 /* confdefs.h.  */ 
    4551 _ACEOF 
    4552 cat confdefs.h >>conftest.$ac_ext 
    4553 cat >>conftest.$ac_ext <<_ACEOF 
     4308  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45544309/* end confdefs.h.  */ 
    45554310#include <ctype.h> 
     
    45784333} 
    45794334_ACEOF 
    4580 rm -f conftest$ac_exeext 
    4581 if { (ac_try="$ac_link" 
    4582 case "(($ac_try" in 
    4583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4584   *) ac_try_echo=$ac_try;; 
    4585 esac 
    4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4587   (eval "$ac_link") 2>&5 
    4588   ac_status=$? 
    4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4590   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    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_try") 2>&5 
    4597   ac_status=$? 
    4598   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4599   (exit $ac_status); }; }; then 
    4600   : 
    4601 else 
    4602   echo "$as_me: program exited with status $ac_status" >&5 
    4603 echo "$as_me: failed program was:" >&5 
    4604 sed 's/^/| /' conftest.$ac_ext >&5 
    4605  
    4606 ( exit $ac_status ) 
    4607 ac_cv_header_stdc=no 
    4608 fi 
    4609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4610 fi 
    4611  
    4612  
    4613 fi 
    4614 fi 
    4615 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    4616 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
     4335if ac_fn_c_try_run "$LINENO"; then : 
     4336 
     4337else 
     4338  ac_cv_header_stdc=no 
     4339fi 
     4340rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4341  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4342fi 
     4343 
     4344fi 
     4345fi 
     4346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
     4347$as_echo "$ac_cv_header_stdc" >&6; } 
    46174348if test $ac_cv_header_stdc = yes; then 
    46184349 
    4619 cat >>confdefs.h <<\_ACEOF 
    4620 #define STDC_HEADERS 1 
    4621 _ACEOF 
     4350$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46224351 
    46234352fi 
    46244353 
    46254354# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4626  
    4627  
    4628  
    4629  
    4630  
    4631  
    4632  
    4633  
    4634  
    46354355for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    46364356                  inttypes.h stdint.h unistd.h 
    4637 do 
    4638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4639 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
    4641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4642   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4643 else 
    4644   cat >conftest.$ac_ext <<_ACEOF 
    4645 /* confdefs.h.  */ 
    4646 _ACEOF 
    4647 cat confdefs.h >>conftest.$ac_ext 
    4648 cat >>conftest.$ac_ext <<_ACEOF 
     4357do : 
     4358  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4359ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4360" 
     4361eval as_val=\$$as_ac_Header 
     4362   if test "x$as_val" = x""yes; then : 
     4363  cat >>confdefs.h <<_ACEOF 
     4364#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4365_ACEOF 
     4366 
     4367fi 
     4368 
     4369done 
     4370 
     4371 
     4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
     4373$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
     4374if test "${ac_cv_c_bigendian+set}" = set; then : 
     4375  $as_echo_n "(cached) " >&6 
     4376else 
     4377  ac_cv_c_bigendian=unknown 
     4378    # See if we're dealing with a universal compiler. 
     4379    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46494380/* end confdefs.h.  */ 
    4650 $ac_includes_default 
    4651  
    4652 #include <$ac_header> 
    4653 _ACEOF 
    4654 rm -f conftest.$ac_objext 
    4655 if { (ac_try="$ac_compile" 
    4656 case "(($ac_try" in 
    4657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4658   *) ac_try_echo=$ac_try;; 
    4659 esac 
    4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4661   (eval "$ac_compile") 2>conftest.er1 
    4662   ac_status=$? 
    4663   grep -v '^ *+' conftest.er1 >conftest.err 
    4664   rm -f conftest.er1 
    4665   cat conftest.err >&5 
    4666   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4667   (exit $ac_status); } && { 
    4668          test -z "$ac_c_werror_flag" || 
    4669          test ! -s conftest.err 
    4670        } && test -s conftest.$ac_objext; then 
    4671   eval "$as_ac_Header=yes" 
    4672 else 
    4673   echo "$as_me: failed program was:" >&5 
    4674 sed 's/^/| /' conftest.$ac_ext >&5 
    4675  
    4676         eval "$as_ac_Header=no" 
    4677 fi 
    4678  
     4381#ifndef __APPLE_CC__ 
     4382               not a universal capable compiler 
     4383             #endif 
     4384             typedef int dummy; 
     4385 
     4386_ACEOF 
     4387if ac_fn_c_try_compile "$LINENO"; then : 
     4388 
     4389        # Check for potential -arch flags.  It is not universal unless 
     4390        # there are at least two -arch flags with different values. 
     4391        ac_arch= 
     4392        ac_prev= 
     4393        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4394         if test -n "$ac_prev"; then 
     4395           case $ac_word in 
     4396             i?86 | x86_64 | ppc | ppc64) 
     4397               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4398                 ac_arch=$ac_word 
     4399               else 
     4400                 ac_cv_c_bigendian=universal 
     4401                 break 
     4402               fi 
     4403               ;; 
     4404           esac 
     4405           ac_prev= 
     4406         elif test "x$ac_word" = "x-arch"; then 
     4407           ac_prev=arch 
     4408         fi 
     4409       done 
     4410fi 
    46794411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4680 fi 
    4681 ac_res=`eval echo '${'$as_ac_Header'}'` 
    4682                { echo "$as_me:$LINENO: result: $ac_res" >&5 
    4683 echo "${ECHO_T}$ac_res" >&6; } 
    4684 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    4685   cat >>confdefs.h <<_ACEOF 
    4686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    4687 _ACEOF 
    4688  
    4689 fi 
    4690  
    4691 done 
    4692  
    4693  
    4694 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    4695 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
    4696 if test "${ac_cv_c_bigendian+set}" = set; then 
    4697   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4698 else 
    4699   # See if sys/param.h defines the BYTE_ORDER macro. 
    4700 cat >conftest.$ac_ext <<_ACEOF 
    4701 /* confdefs.h.  */ 
    4702 _ACEOF 
    4703 cat confdefs.h >>conftest.$ac_ext 
    4704 cat >>conftest.$ac_ext <<_ACEOF 
     4412    if test $ac_cv_c_bigendian = unknown; then 
     4413      # See if sys/param.h defines the BYTE_ORDER macro. 
     4414      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47054415/* end confdefs.h.  */ 
    47064416#include <sys/types.h> 
    4707 #include <sys/param.h> 
     4417             #include <sys/param.h> 
    47084418 
    47094419int 
    47104420main () 
    47114421{ 
    4712 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
    4713         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
    4714  bogus endian macros 
    4715 #endif 
     4422#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
     4423                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
     4424                     && LITTLE_ENDIAN) 
     4425              bogus endian macros 
     4426             #endif 
    47164427 
    47174428  ; 
     
    47194430} 
    47204431_ACEOF 
    4721 rm -f conftest.$ac_objext 
    4722 if { (ac_try="$ac_compile" 
    4723 case "(($ac_try" in 
    4724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4725   *) ac_try_echo=$ac_try;; 
    4726 esac 
    4727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4728   (eval "$ac_compile") 2>conftest.er1 
    4729   ac_status=$? 
    4730   grep -v '^ *+' conftest.er1 >conftest.err 
    4731   rm -f conftest.er1 
    4732   cat conftest.err >&5 
    4733   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4734   (exit $ac_status); } && { 
    4735          test -z "$ac_c_werror_flag" || 
    4736          test ! -s conftest.err 
    4737        } && test -s conftest.$ac_objext; then 
     4432if ac_fn_c_try_compile "$LINENO"; then : 
    47384433  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4739 cat >conftest.$ac_ext <<_ACEOF 
    4740 /* confdefs.h.  */ 
    4741 _ACEOF 
    4742 cat confdefs.h >>conftest.$ac_ext 
    4743 cat >>conftest.$ac_ext <<_ACEOF 
     4434         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47444435/* end confdefs.h.  */ 
    47454436#include <sys/types.h> 
    4746 #include <sys/param.h> 
     4437                #include <sys/param.h> 
    47474438 
    47484439int 
     
    47504441{ 
    47514442#if BYTE_ORDER != BIG_ENDIAN 
    4752  not big endian 
    4753 #endif 
     4443                not big endian 
     4444                #endif 
    47544445 
    47554446  ; 
     
    47574448} 
    47584449_ACEOF 
    4759 rm -f conftest.$ac_objext 
    4760 if { (ac_try="$ac_compile" 
    4761 case "(($ac_try" in 
    4762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4763   *) ac_try_echo=$ac_try;; 
    4764 esac 
    4765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4766   (eval "$ac_compile") 2>conftest.er1 
    4767   ac_status=$? 
    4768   grep -v '^ *+' conftest.er1 >conftest.err 
    4769   rm -f conftest.er1 
    4770   cat conftest.err >&5 
    4771   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4772   (exit $ac_status); } && { 
    4773          test -z "$ac_c_werror_flag" || 
    4774          test ! -s conftest.err 
    4775        } && test -s conftest.$ac_objext; then 
     4450if ac_fn_c_try_compile "$LINENO"; then : 
    47764451  ac_cv_c_bigendian=yes 
    47774452else 
    4778   echo "$as_me: failed program was:" >&5 
    4779 sed 's/^/| /' conftest.$ac_ext >&5 
    4780  
    4781         ac_cv_c_bigendian=no 
    4782 fi 
    4783  
     4453  ac_cv_c_bigendian=no 
     4454fi 
    47844455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4785 else 
    4786   echo "$as_me: failed program was:" >&5 
    4787 sed 's/^/| /' conftest.$ac_ext >&5 
    4788  
    4789         # It does not; compile a test program. 
    4790 if test "$cross_compiling" = yes; then 
    4791   # try to guess the endianness by grepping values into an object file 
    4792   ac_cv_c_bigendian=unknown 
    4793   cat >conftest.$ac_ext <<_ACEOF 
    4794 /* confdefs.h.  */ 
    4795 _ACEOF 
    4796 cat confdefs.h >>conftest.$ac_ext 
    4797 cat >>conftest.$ac_ext <<_ACEOF 
     4456fi 
     4457rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4458    fi 
     4459    if test $ac_cv_c_bigendian = unknown; then 
     4460      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
     4461      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47984462/* end confdefs.h.  */ 
    4799 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4800 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4801 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    4802 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4803 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4804 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     4463#include <limits.h> 
     4464 
    48054465int 
    48064466main () 
    48074467{ 
    4808  _ascii (); _ebcdic (); 
     4468#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
     4469              bogus endian macros 
     4470             #endif 
     4471 
    48094472  ; 
    48104473  return 0; 
    48114474} 
    48124475_ACEOF 
    4813 rm -f conftest.$ac_objext 
    4814 if { (ac_try="$ac_compile" 
    4815 case "(($ac_try" in 
    4816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4817   *) ac_try_echo=$ac_try;; 
    4818 esac 
    4819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4820   (eval "$ac_compile") 2>conftest.er1 
    4821   ac_status=$? 
    4822   grep -v '^ *+' conftest.er1 >conftest.err 
    4823   rm -f conftest.er1 
    4824   cat conftest.err >&5 
    4825   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4826   (exit $ac_status); } && { 
    4827          test -z "$ac_c_werror_flag" || 
    4828          test ! -s conftest.err 
    4829        } && test -s conftest.$ac_objext; then 
    4830   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     4476if ac_fn_c_try_compile "$LINENO"; then : 
     4477  # It does; now see whether it defined to _BIG_ENDIAN or not. 
     4478         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4479/* end confdefs.h.  */ 
     4480#include <limits.h> 
     4481 
     4482int 
     4483main () 
     4484{ 
     4485#ifndef _BIG_ENDIAN 
     4486                 not big endian 
     4487                #endif 
     4488 
     4489  ; 
     4490  return 0; 
     4491} 
     4492_ACEOF 
     4493if ac_fn_c_try_compile "$LINENO"; then : 
    48314494  ac_cv_c_bigendian=yes 
    4832 fi 
    4833 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4834   if test "$ac_cv_c_bigendian" = unknown; then 
    4835     ac_cv_c_bigendian=no 
    4836   else 
    4837     # finding both strings is unlikely to happen, but who knows? 
    4838     ac_cv_c_bigendian=unknown 
    4839   fi 
    4840 fi 
    4841 else 
    4842   echo "$as_me: failed program was:" >&5 
    4843 sed 's/^/| /' conftest.$ac_ext >&5 
    4844  
    4845  
    4846 fi 
    4847  
     4495else 
     4496  ac_cv_c_bigendian=no 
     4497fi 
    48484498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4849 else 
    4850   cat >conftest.$ac_ext <<_ACEOF 
    4851 /* confdefs.h.  */ 
    4852 _ACEOF 
    4853 cat confdefs.h >>conftest.$ac_ext 
    4854 cat >>conftest.$ac_ext <<_ACEOF 
     4499fi 
     4500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4501    fi 
     4502    if test $ac_cv_c_bigendian = unknown; then 
     4503      # Compile a test program. 
     4504      if test "$cross_compiling" = yes; then : 
     4505  # Try to guess by grepping values from an object file. 
     4506         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4507/* end confdefs.h.  */ 
     4508short int ascii_mm[] = 
     4509                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4510                short int ascii_ii[] = 
     4511                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4512                int use_ascii (int i) { 
     4513                  return ascii_mm[i] + ascii_ii[i]; 
     4514                } 
     4515                short int ebcdic_ii[] = 
     4516                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4517                short int ebcdic_mm[] = 
     4518                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4519                int use_ebcdic (int i) { 
     4520                  return ebcdic_mm[i] + ebcdic_ii[i]; 
     4521                } 
     4522                extern int foo; 
     4523 
     4524int 
     4525main () 
     4526{ 
     4527return use_ascii (foo) == use_ebcdic (foo); 
     4528  ; 
     4529  return 0; 
     4530} 
     4531_ACEOF 
     4532if ac_fn_c_try_compile "$LINENO"; then : 
     4533  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
     4534              ac_cv_c_bigendian=yes 
     4535            fi 
     4536            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4537              if test "$ac_cv_c_bigendian" = unknown; then 
     4538                ac_cv_c_bigendian=no 
     4539              else 
     4540                # finding both strings is unlikely to happen, but who knows? 
     4541                ac_cv_c_bigendian=unknown 
     4542              fi 
     4543            fi 
     4544fi 
     4545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4546else 
     4547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48554548/* end confdefs.h.  */ 
    48564549$ac_includes_default 
     
    48594552{ 
    48604553 
    4861   /* Are we little or big endian?  From Harbison&Steele.  */ 
    4862   union 
    4863   { 
    4864     long int l; 
    4865     char c[sizeof (long int)]; 
    4866   } u; 
    4867   u.l = 1; 
    4868   return u.c[sizeof (long int) - 1] == 1; 
     4554             /* Are we little or big endian?  From Harbison&Steele.  */ 
     4555             union 
     4556             { 
     4557               long int l; 
     4558               char c[sizeof (long int)]; 
     4559             } u; 
     4560             u.l = 1; 
     4561             return u.c[sizeof (long int) - 1] == 1; 
    48694562 
    48704563  ; 
     
    48724565} 
    48734566_ACEOF 
    4874 rm -f conftest$ac_exeext 
    4875 if { (ac_try="$ac_link" 
    4876 case "(($ac_try" in 
    4877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4878   *) ac_try_echo=$ac_try;; 
    4879 esac 
    4880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4881   (eval "$ac_link") 2>&5 
    4882   ac_status=$? 
    4883   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4884   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    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_try") 2>&5 
    4891   ac_status=$? 
    4892   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4893   (exit $ac_status); }; }; then 
     4567if ac_fn_c_try_run "$LINENO"; then : 
    48944568  ac_cv_c_bigendian=no 
    48954569else 
    4896   echo "$as_me: program exited with status $ac_status" >&5 
    4897 echo "$as_me: failed program was:" >&5 
    4898 sed 's/^/| /' conftest.$ac_ext >&5 
    4899  
    4900 ( exit $ac_status ) 
    4901 ac_cv_c_bigendian=yes 
    4902 fi 
    4903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4904 fi 
    4905  
    4906  
    4907 fi 
    4908  
    4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4910 fi 
    4911 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    4912 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
    4913 case $ac_cv_c_bigendian in 
    4914   yes) 
    4915  
    4916 cat >>confdefs.h <<\_ACEOF 
    4917 #define WORDS_BIGENDIAN 1 
    4918 _ACEOF 
    4919  ;; 
    4920   no) 
    4921      ;; 
    4922   *) 
    4923     { { echo "$as_me:$LINENO: error: unknown endianness 
    4924 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    4925 echo "$as_me: error: unknown endianness 
    4926 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    4927    { (exit 1); exit 1; }; } ;; 
    4928 esac 
     4570  ac_cv_c_bigendian=yes 
     4571fi 
     4572rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4573  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4574fi 
     4575 
     4576    fi 
     4577fi 
     4578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
     4579$as_echo "$ac_cv_c_bigendian" >&6; } 
     4580 case $ac_cv_c_bigendian in #( 
     4581   yes) 
     4582     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
     4583;; #( 
     4584   no) 
     4585      ;; #( 
     4586   universal) 
     4587 
     4588$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
     4589 
     4590     ;; #( 
     4591   *) 
     4592     as_fn_error "unknown endianness 
     4593 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     4594 esac 
    49294595 
    49304596 
    49314597case $target in 
    49324598    *mingw* | *cygw* | *win32* | *w32* ) 
    4933         cat >>confdefs.h <<\_ACEOF 
    4934 #define PJ_WIN32 1 
    4935 _ACEOF 
    4936  
    4937         cat >>confdefs.h <<\_ACEOF 
    4938 #define PJ_WIN32_WINNT 0x0400 
    4939 _ACEOF 
    4940  
    4941         cat >>confdefs.h <<\_ACEOF 
    4942 #define WIN32_LEAN_AND_MEAN 1 
    4943 _ACEOF 
     4599        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4600 
     4601        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4602 
     4603        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    49444604 
    49454605        ;; 
    49464606    *darwin*) 
    4947         cat >>confdefs.h <<\_ACEOF 
    4948 #define PJ_DARWINOS 1 
    4949 _ACEOF 
     4607        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    49504608 
    49514609        ;; 
    49524610    *linux*) 
    4953         cat >>confdefs.h <<\_ACEOF 
    4954 #define PJ_LINUX 1 
    4955 _ACEOF 
     4611        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    49564612 
    49574613        ;; 
    49584614    *rtems*) 
    4959         cat >>confdefs.h <<\_ACEOF 
    4960 #define PJ_RTEMS 1 
    4961 _ACEOF 
     4615        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    49624616 
    49634617        ;; 
    49644618    *sunos* | *solaris* ) 
    4965         cat >>confdefs.h <<\_ACEOF 
    4966 #define PJ_SUNOS 1 
    4967 _ACEOF 
     4619        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    49684620 
    49694621        ;; 
     
    49764628 
    49774629# Check whether --enable-floating-point was given. 
    4978 if test "${enable_floating_point+set}" = set; then 
     4630if test "${enable_floating_point+set}" = set; then : 
    49794631  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4980                 cat >>confdefs.h <<\_ACEOF 
    4981 #define PJ_HAS_FLOATING_POINT 0 
    4982 _ACEOF 
    4983  
    4984                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    4985 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
     4632                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4633 
     4634                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
     4635$as_echo "Checking if floating point is disabled... yes" >&6; } 
    49864636               fi 
    49874637else 
    49884638 
    4989                 cat >>confdefs.h <<\_ACEOF 
    4990 #define PJ_HAS_FLOATING_POINT 1 
    4991 _ACEOF 
    4992  
    4993                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    4994 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
    4995  
    4996 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    4997 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
    4998 if test "${ac_cv_lib_m_fmod+set}" = set; then 
    4999   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4639                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4640 
     4641                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
     4642$as_echo "Checking if floating point is disabled... no" >&6; } 
     4643                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
     4644$as_echo_n "checking for fmod in -lm... " >&6; } 
     4645if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4646  $as_echo_n "(cached) " >&6 
    50004647else 
    50014648  ac_check_lib_save_LIBS=$LIBS 
    50024649LIBS="-lm  $LIBS" 
    5003 cat >conftest.$ac_ext <<_ACEOF 
    5004 /* confdefs.h.  */ 
    5005 _ACEOF 
    5006 cat confdefs.h >>conftest.$ac_ext 
    5007 cat >>conftest.$ac_ext <<_ACEOF 
     4650cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50084651/* end confdefs.h.  */ 
    50094652 
     
    50234666} 
    50244667_ACEOF 
    5025 rm -f conftest.$ac_objext conftest$ac_exeext 
    5026 if { (ac_try="$ac_link" 
    5027 case "(($ac_try" in 
    5028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5029   *) ac_try_echo=$ac_try;; 
    5030 esac 
    5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5032   (eval "$ac_link") 2>conftest.er1 
    5033   ac_status=$? 
    5034   grep -v '^ *+' conftest.er1 >conftest.err 
    5035   rm -f conftest.er1 
    5036   cat conftest.err >&5 
    5037   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5038   (exit $ac_status); } && { 
    5039          test -z "$ac_c_werror_flag" || 
    5040          test ! -s conftest.err 
    5041        } && test -s conftest$ac_exeext && 
    5042        $as_test_x conftest$ac_exeext; then 
     4668if ac_fn_c_try_link "$LINENO"; then : 
    50434669  ac_cv_lib_m_fmod=yes 
    50444670else 
    5045   echo "$as_me: failed program was:" >&5 
    5046 sed 's/^/| /' conftest.$ac_ext >&5 
    5047  
    5048         ac_cv_lib_m_fmod=no 
    5049 fi 
    5050  
    5051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5052       conftest$ac_exeext conftest.$ac_ext 
     4671  ac_cv_lib_m_fmod=no 
     4672fi 
     4673rm -f core conftest.err conftest.$ac_objext \ 
     4674    conftest$ac_exeext conftest.$ac_ext 
    50534675LIBS=$ac_check_lib_save_LIBS 
    50544676fi 
    5055 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    5056 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
    5057 if test $ac_cv_lib_m_fmod = yes; then 
     4677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
     4678$as_echo "$ac_cv_lib_m_fmod" >&6; } 
     4679if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    50584680  cat >>confdefs.h <<_ACEOF 
    50594681#define HAVE_LIBM 1 
     
    50694691 
    50704692 
    5071 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5072   { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5073 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5074 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5075   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5076 fi 
    5077 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5078 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5079 else 
    5080   # Is the header compilable? 
    5081 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5082 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
    5083 cat >conftest.$ac_ext <<_ACEOF 
    5084 /* confdefs.h.  */ 
    5085 _ACEOF 
    5086 cat confdefs.h >>conftest.$ac_ext 
    5087 cat >>conftest.$ac_ext <<_ACEOF 
    5088 /* end confdefs.h.  */ 
    5089 $ac_includes_default 
    5090 #include <arpa/inet.h> 
    5091 _ACEOF 
    5092 rm -f conftest.$ac_objext 
    5093 if { (ac_try="$ac_compile" 
    5094 case "(($ac_try" in 
    5095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5096   *) ac_try_echo=$ac_try;; 
    5097 esac 
    5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5099   (eval "$ac_compile") 2>conftest.er1 
    5100   ac_status=$? 
    5101   grep -v '^ *+' conftest.er1 >conftest.err 
    5102   rm -f conftest.er1 
    5103   cat conftest.err >&5 
    5104   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5105   (exit $ac_status); } && { 
    5106          test -z "$ac_c_werror_flag" || 
    5107          test ! -s conftest.err 
    5108        } && test -s conftest.$ac_objext; then 
    5109   ac_header_compiler=yes 
    5110 else 
    5111   echo "$as_me: failed program was:" >&5 
    5112 sed 's/^/| /' conftest.$ac_ext >&5 
    5113  
    5114         ac_header_compiler=no 
    5115 fi 
    5116  
    5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5119 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5120  
    5121 # Is the header present? 
    5122 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5123 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
    5124 cat >conftest.$ac_ext <<_ACEOF 
    5125 /* confdefs.h.  */ 
    5126 _ACEOF 
    5127 cat confdefs.h >>conftest.$ac_ext 
    5128 cat >>conftest.$ac_ext <<_ACEOF 
    5129 /* end confdefs.h.  */ 
    5130 #include <arpa/inet.h> 
    5131 _ACEOF 
    5132 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5133 case "(($ac_try" in 
    5134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5135   *) ac_try_echo=$ac_try;; 
    5136 esac 
    5137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5138   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5139   ac_status=$? 
    5140   grep -v '^ *+' conftest.er1 >conftest.err 
    5141   rm -f conftest.er1 
    5142   cat conftest.err >&5 
    5143   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5144   (exit $ac_status); } >/dev/null && { 
    5145          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5146          test ! -s conftest.err 
    5147        }; then 
    5148   ac_header_preproc=yes 
    5149 else 
    5150   echo "$as_me: failed program was:" >&5 
    5151 sed 's/^/| /' conftest.$ac_ext >&5 
    5152  
    5153   ac_header_preproc=no 
    5154 fi 
    5155  
    5156 rm -f conftest.err conftest.$ac_ext 
    5157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5158 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5159  
    5160 # So?  What about this header? 
    5161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5162   yes:no: ) 
    5163     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5164 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5165     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5166 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5167     ac_header_preproc=yes 
    5168     ;; 
    5169   no:yes:* ) 
    5170     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5171 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5172     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5173 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5174     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5175 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5176     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5177 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5178     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5179 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5180     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5181 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5182  
    5183     ;; 
    5184 esac 
    5185 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5186 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5187 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5188   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5189 else 
    5190   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5191 fi 
    5192 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5193 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5194  
    5195 fi 
    5196 if test $ac_cv_header_arpa_inet_h = yes; then 
    5197   cat >>confdefs.h <<\_ACEOF 
    5198 #define PJ_HAS_ARPA_INET_H 1 
    5199 _ACEOF 
    5200  
    5201 fi 
    5202  
    5203  
    5204 if test "${ac_cv_header_assert_h+set}" = set; then 
    5205   { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5206 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5207 if test "${ac_cv_header_assert_h+set}" = set; then 
    5208   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5209 fi 
    5210 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5211 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5212 else 
    5213   # Is the header compilable? 
    5214 { echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5215 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
    5216 cat >conftest.$ac_ext <<_ACEOF 
    5217 /* confdefs.h.  */ 
    5218 _ACEOF 
    5219 cat confdefs.h >>conftest.$ac_ext 
    5220 cat >>conftest.$ac_ext <<_ACEOF 
    5221 /* end confdefs.h.  */ 
    5222 $ac_includes_default 
    5223 #include <assert.h> 
    5224 _ACEOF 
    5225 rm -f conftest.$ac_objext 
    5226 if { (ac_try="$ac_compile" 
    5227 case "(($ac_try" in 
    5228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5229   *) ac_try_echo=$ac_try;; 
    5230 esac 
    5231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5232   (eval "$ac_compile") 2>conftest.er1 
    5233   ac_status=$? 
    5234   grep -v '^ *+' conftest.er1 >conftest.err 
    5235   rm -f conftest.er1 
    5236   cat conftest.err >&5 
    5237   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5238   (exit $ac_status); } && { 
    5239          test -z "$ac_c_werror_flag" || 
    5240          test ! -s conftest.err 
    5241        } && test -s conftest.$ac_objext; then 
    5242   ac_header_compiler=yes 
    5243 else 
    5244   echo "$as_me: failed program was:" >&5 
    5245 sed 's/^/| /' conftest.$ac_ext >&5 
    5246  
    5247         ac_header_compiler=no 
    5248 fi 
    5249  
    5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5251 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5252 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5253  
    5254 # Is the header present? 
    5255 { echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5256 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
    5257 cat >conftest.$ac_ext <<_ACEOF 
    5258 /* confdefs.h.  */ 
    5259 _ACEOF 
    5260 cat confdefs.h >>conftest.$ac_ext 
    5261 cat >>conftest.$ac_ext <<_ACEOF 
    5262 /* end confdefs.h.  */ 
    5263 #include <assert.h> 
    5264 _ACEOF 
    5265 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5266 case "(($ac_try" in 
    5267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5268   *) ac_try_echo=$ac_try;; 
    5269 esac 
    5270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5271   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5272   ac_status=$? 
    5273   grep -v '^ *+' conftest.er1 >conftest.err 
    5274   rm -f conftest.er1 
    5275   cat conftest.err >&5 
    5276   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5277   (exit $ac_status); } >/dev/null && { 
    5278          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5279          test ! -s conftest.err 
    5280        }; then 
    5281   ac_header_preproc=yes 
    5282 else 
    5283   echo "$as_me: failed program was:" >&5 
    5284 sed 's/^/| /' conftest.$ac_ext >&5 
    5285  
    5286   ac_header_preproc=no 
    5287 fi 
    5288  
    5289 rm -f conftest.err conftest.$ac_ext 
    5290 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5291 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5292  
    5293 # So?  What about this header? 
    5294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5295   yes:no: ) 
    5296     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5297 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5298     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5299 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5300     ac_header_preproc=yes 
    5301     ;; 
    5302   no:yes:* ) 
    5303     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5304 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5305     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5306 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5307     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5308 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5309     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5310 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5311     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5312 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5313     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5314 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5315  
    5316     ;; 
    5317 esac 
    5318 { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5319 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5320 if test "${ac_cv_header_assert_h+set}" = set; then 
    5321   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5322 else 
    5323   ac_cv_header_assert_h=$ac_header_preproc 
    5324 fi 
    5325 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5326 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5327  
    5328 fi 
    5329 if test $ac_cv_header_assert_h = yes; then 
    5330   cat >>confdefs.h <<\_ACEOF 
    5331 #define PJ_HAS_ASSERT_H 1 
    5332 _ACEOF 
    5333  
    5334 fi 
    5335  
    5336  
    5337 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5338   { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5339 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5340 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5341   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5342 fi 
    5343 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5344 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5345 else 
    5346   # Is the header compilable? 
    5347 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5348 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
    5349 cat >conftest.$ac_ext <<_ACEOF 
    5350 /* confdefs.h.  */ 
    5351 _ACEOF 
    5352 cat confdefs.h >>conftest.$ac_ext 
    5353 cat >>conftest.$ac_ext <<_ACEOF 
    5354 /* end confdefs.h.  */ 
    5355 $ac_includes_default 
    5356 #include <ctype.h> 
    5357 _ACEOF 
    5358 rm -f conftest.$ac_objext 
    5359 if { (ac_try="$ac_compile" 
    5360 case "(($ac_try" in 
    5361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5362   *) ac_try_echo=$ac_try;; 
    5363 esac 
    5364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5365   (eval "$ac_compile") 2>conftest.er1 
    5366   ac_status=$? 
    5367   grep -v '^ *+' conftest.er1 >conftest.err 
    5368   rm -f conftest.er1 
    5369   cat conftest.err >&5 
    5370   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5371   (exit $ac_status); } && { 
    5372          test -z "$ac_c_werror_flag" || 
    5373          test ! -s conftest.err 
    5374        } && test -s conftest.$ac_objext; then 
    5375   ac_header_compiler=yes 
    5376 else 
    5377   echo "$as_me: failed program was:" >&5 
    5378 sed 's/^/| /' conftest.$ac_ext >&5 
    5379  
    5380         ac_header_compiler=no 
    5381 fi 
    5382  
    5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5384 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5385 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5386  
    5387 # Is the header present? 
    5388 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5389 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
    5390 cat >conftest.$ac_ext <<_ACEOF 
    5391 /* confdefs.h.  */ 
    5392 _ACEOF 
    5393 cat confdefs.h >>conftest.$ac_ext 
    5394 cat >>conftest.$ac_ext <<_ACEOF 
    5395 /* end confdefs.h.  */ 
    5396 #include <ctype.h> 
    5397 _ACEOF 
    5398 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5399 case "(($ac_try" in 
    5400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5401   *) ac_try_echo=$ac_try;; 
    5402 esac 
    5403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5404   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5405   ac_status=$? 
    5406   grep -v '^ *+' conftest.er1 >conftest.err 
    5407   rm -f conftest.er1 
    5408   cat conftest.err >&5 
    5409   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5410   (exit $ac_status); } >/dev/null && { 
    5411          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5412          test ! -s conftest.err 
    5413        }; then 
    5414   ac_header_preproc=yes 
    5415 else 
    5416   echo "$as_me: failed program was:" >&5 
    5417 sed 's/^/| /' conftest.$ac_ext >&5 
    5418  
    5419   ac_header_preproc=no 
    5420 fi 
    5421  
    5422 rm -f conftest.err conftest.$ac_ext 
    5423 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5424 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5425  
    5426 # So?  What about this header? 
    5427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5428   yes:no: ) 
    5429     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5430 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5431     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5432 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5433     ac_header_preproc=yes 
    5434     ;; 
    5435   no:yes:* ) 
    5436     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5437 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5438     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5439 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5440     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5441 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5442     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5443 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5444     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5445 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5446     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5447 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5448  
    5449     ;; 
    5450 esac 
    5451 { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5452 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5453 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5454   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5455 else 
    5456   ac_cv_header_ctype_h=$ac_header_preproc 
    5457 fi 
    5458 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5459 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5460  
    5461 fi 
    5462 if test $ac_cv_header_ctype_h = yes; then 
    5463   cat >>confdefs.h <<\_ACEOF 
    5464 #define PJ_HAS_CTYPE_H 1 
    5465 _ACEOF 
     4693ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4694if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4695  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4696 
     4697fi 
     4698 
     4699 
     4700ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4701if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4702  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4703 
     4704fi 
     4705 
     4706 
     4707ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4708if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4709  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    54664710 
    54674711fi 
     
    54714715case $target in 
    54724716    *mingw* | *cygw* | *win32* | *w32* ) 
    5473         cat >>confdefs.h <<\_ACEOF 
    5474 #define PJ_HAS_ERRNO_H 0 
    5475 _ACEOF 
     4717        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    54764718 
    54774719        ;; 
    54784720    *) 
    5479         if test "${ac_cv_header_errno_h+set}" = set; then 
    5480   { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5481 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5482 if test "${ac_cv_header_errno_h+set}" = set; then 
    5483   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5484 fi 
    5485 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5486 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5487 else 
    5488   # Is the header compilable? 
    5489 { echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5490 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
    5491 cat >conftest.$ac_ext <<_ACEOF 
    5492 /* confdefs.h.  */ 
    5493 _ACEOF 
    5494 cat confdefs.h >>conftest.$ac_ext 
    5495 cat >>conftest.$ac_ext <<_ACEOF 
    5496 /* end confdefs.h.  */ 
    5497 $ac_includes_default 
    5498 #include <errno.h> 
    5499 _ACEOF 
    5500 rm -f conftest.$ac_objext 
    5501 if { (ac_try="$ac_compile" 
    5502 case "(($ac_try" in 
    5503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5504   *) ac_try_echo=$ac_try;; 
    5505 esac 
    5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5507   (eval "$ac_compile") 2>conftest.er1 
    5508   ac_status=$? 
    5509   grep -v '^ *+' conftest.er1 >conftest.err 
    5510   rm -f conftest.er1 
    5511   cat conftest.err >&5 
    5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5513   (exit $ac_status); } && { 
    5514          test -z "$ac_c_werror_flag" || 
    5515          test ! -s conftest.err 
    5516        } && test -s conftest.$ac_objext; then 
    5517   ac_header_compiler=yes 
    5518 else 
    5519   echo "$as_me: failed program was:" >&5 
    5520 sed 's/^/| /' conftest.$ac_ext >&5 
    5521  
    5522         ac_header_compiler=no 
    5523 fi 
    5524  
    5525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5526 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5527 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5528  
    5529 # Is the header present? 
    5530 { echo "$as_me:$LINENO: checking errno.h presence" >&5 
    5531 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 
    5532 cat >conftest.$ac_ext <<_ACEOF 
    5533 /* confdefs.h.  */ 
    5534 _ACEOF 
    5535 cat confdefs.h >>conftest.$ac_ext 
    5536 cat >>conftest.$ac_ext <<_ACEOF 
    5537 /* end confdefs.h.  */ 
    5538 #include <errno.h> 
    5539 _ACEOF 
    5540 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5541 case "(($ac_try" in 
    5542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5543   *) ac_try_echo=$ac_try;; 
    5544 esac 
    5545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5546   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5547   ac_status=$? 
    5548   grep -v '^ *+' conftest.er1 >conftest.err 
    5549   rm -f conftest.er1 
    5550   cat conftest.err >&5 
    5551   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5552   (exit $ac_status); } >/dev/null && { 
    5553          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5554          test ! -s conftest.err 
    5555        }; then 
    5556   ac_header_preproc=yes 
    5557 else 
    5558   echo "$as_me: failed program was:" >&5 
    5559 sed 's/^/| /' conftest.$ac_ext >&5 
    5560  
    5561   ac_header_preproc=no 
    5562 fi 
    5563  
    5564 rm -f conftest.err conftest.$ac_ext 
    5565 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5566 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5567  
    5568 # So?  What about this header? 
    5569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5570   yes:no: ) 
    5571     { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5572 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5573     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    5574 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    5575     ac_header_preproc=yes 
    5576     ;; 
    5577   no:yes:* ) 
    5578     { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    5579 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    5580     { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    5581 echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    5582     { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    5583 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    5584     { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5585 echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5586     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    5587 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    5588     { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    5589 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    5590  
    5591     ;; 
    5592 esac 
    5593 { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5594 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5595 if test "${ac_cv_header_errno_h+set}" = set; then 
    5596   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5597 else 
    5598   ac_cv_header_errno_h=$ac_header_preproc 
    5599 fi 
    5600 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5601 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5602  
    5603 fi 
    5604 if test $ac_cv_header_errno_h = yes; then 
    5605   cat >>confdefs.h <<\_ACEOF 
    5606 #define PJ_HAS_ERRNO_H 1 
    5607 _ACEOF 
     4721        ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 
     4722if test "x$ac_cv_header_errno_h" = x""yes; then : 
     4723  $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 
    56084724 
    56094725fi 
     
    56134729esac 
    56144730 
    5615 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5616   { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5617 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5618 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5619   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5620 fi 
    5621 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5622 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5623 else 
    5624   # Is the header compilable? 
    5625 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 
    5626 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 
    5627 cat >conftest.$ac_ext <<_ACEOF 
    5628 /* confdefs.h.  */ 
    5629 _ACEOF 
    5630 cat confdefs.h >>conftest.$ac_ext 
    5631 cat >>conftest.$ac_ext <<_ACEOF 
    5632 /* end confdefs.h.  */ 
    5633 $ac_includes_default 
    5634 #include <fcntl.h> 
    5635 _ACEOF 
    5636 rm -f conftest.$ac_objext 
    5637 if { (ac_try="$ac_compile" 
    5638 case "(($ac_try" in 
    5639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5640   *) ac_try_echo=$ac_try;; 
    5641 esac 
    5642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5643   (eval "$ac_compile") 2>conftest.er1 
    5644   ac_status=$? 
    5645   grep -v '^ *+' conftest.er1 >conftest.err 
    5646   rm -f conftest.er1 
    5647   cat conftest.err >&5 
    5648   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5649   (exit $ac_status); } && { 
    5650          test -z "$ac_c_werror_flag" || 
    5651          test ! -s conftest.err 
    5652        } && test -s conftest.$ac_objext; then 
    5653   ac_header_compiler=yes 
    5654 else 
    5655   echo "$as_me: failed program was:" >&5 
    5656 sed 's/^/| /' conftest.$ac_ext >&5 
    5657  
    5658         ac_header_compiler=no 
    5659 fi 
    5660  
    5661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5662 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5663 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5664  
    5665 # Is the header present? 
    5666 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 
    5667 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 
    5668 cat >conftest.$ac_ext <<_ACEOF 
    5669 /* confdefs.h.  */ 
    5670 _ACEOF 
    5671 cat confdefs.h >>conftest.$ac_ext 
    5672 cat >>conftest.$ac_ext <<_ACEOF 
    5673 /* end confdefs.h.  */ 
    5674 #include <fcntl.h> 
    5675 _ACEOF 
    5676 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5677 case "(($ac_try" in 
    5678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5679   *) ac_try_echo=$ac_try;; 
    5680 esac 
    5681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5682   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5683   ac_status=$? 
    5684   grep -v '^ *+' conftest.er1 >conftest.err 
    5685   rm -f conftest.er1 
    5686   cat conftest.err >&5 
    5687   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5688   (exit $ac_status); } >/dev/null && { 
    5689          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5690          test ! -s conftest.err 
    5691        }; then 
    5692   ac_header_preproc=yes 
    5693 else 
    5694   echo "$as_me: failed program was:" >&5 
    5695 sed 's/^/| /' conftest.$ac_ext >&5 
    5696  
    5697   ac_header_preproc=no 
    5698 fi 
    5699  
    5700 rm -f conftest.err conftest.$ac_ext 
    5701 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5702 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5703  
    5704 # So?  What about this header? 
    5705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5706   yes:no: ) 
    5707     { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5708 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5709     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 
    5710 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 
    5711     ac_header_preproc=yes 
    5712     ;; 
    5713   no:yes:* ) 
    5714     { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 
    5715 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 
    5716     { echo "$as_me:$LINENO: WARNING: fcntl.h:     check for missing prerequisite headers?" >&5 
    5717 echo "$as_me: WARNING: fcntl.h:     check for missing prerequisite headers?" >&2;} 
    5718     { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 
    5719 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 
    5720     { echo "$as_me:$LINENO: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5721 echo "$as_me: WARNING: fcntl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5722     { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 
    5723 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 
    5724     { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 
    5725 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 
    5726  
    5727     ;; 
    5728 esac 
    5729 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 
    5730 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 
    5731 if test "${ac_cv_header_fcntl_h+set}" = set; then 
    5732   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5733 else 
    5734   ac_cv_header_fcntl_h=$ac_header_preproc 
    5735 fi 
    5736 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 
    5737 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 
    5738  
    5739 fi 
    5740 if test $ac_cv_header_fcntl_h = yes; then 
    5741   cat >>confdefs.h <<\_ACEOF 
    5742 #define PJ_HAS_FCNTL_H 1 
    5743 _ACEOF 
    5744  
    5745 fi 
    5746  
    5747  
    5748 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5749   { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5750 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5751 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5752   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5753 fi 
    5754 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5755 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5756 else 
    5757   # Is the header compilable? 
    5758 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    5759 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 
    5760 cat >conftest.$ac_ext <<_ACEOF 
    5761 /* confdefs.h.  */ 
    5762 _ACEOF 
    5763 cat confdefs.h >>conftest.$ac_ext 
    5764 cat >>conftest.$ac_ext <<_ACEOF 
    5765 /* end confdefs.h.  */ 
    5766 $ac_includes_default 
    5767 #include <linux/socket.h> 
    5768 _ACEOF 
    5769 rm -f conftest.$ac_objext 
    5770 if { (ac_try="$ac_compile" 
    5771 case "(($ac_try" in 
    5772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5773   *) ac_try_echo=$ac_try;; 
    5774 esac 
    5775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5776   (eval "$ac_compile") 2>conftest.er1 
    5777   ac_status=$? 
    5778   grep -v '^ *+' conftest.er1 >conftest.err 
    5779   rm -f conftest.er1 
    5780   cat conftest.err >&5 
    5781   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5782   (exit $ac_status); } && { 
    5783          test -z "$ac_c_werror_flag" || 
    5784          test ! -s conftest.err 
    5785        } && test -s conftest.$ac_objext; then 
    5786   ac_header_compiler=yes 
    5787 else 
    5788   echo "$as_me: failed program was:" >&5 
    5789 sed 's/^/| /' conftest.$ac_ext >&5 
    5790  
    5791         ac_header_compiler=no 
    5792 fi 
    5793  
    5794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5795 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5796 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5797  
    5798 # Is the header present? 
    5799 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    5800 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 
    5801 cat >conftest.$ac_ext <<_ACEOF 
    5802 /* confdefs.h.  */ 
    5803 _ACEOF 
    5804 cat confdefs.h >>conftest.$ac_ext 
    5805 cat >>conftest.$ac_ext <<_ACEOF 
    5806 /* end confdefs.h.  */ 
    5807 #include <linux/socket.h> 
    5808 _ACEOF 
    5809 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5810 case "(($ac_try" in 
    5811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5812   *) ac_try_echo=$ac_try;; 
    5813 esac 
    5814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5815   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5816   ac_status=$? 
    5817   grep -v '^ *+' conftest.er1 >conftest.err 
    5818   rm -f conftest.er1 
    5819   cat conftest.err >&5 
    5820   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5821   (exit $ac_status); } >/dev/null && { 
    5822          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5823          test ! -s conftest.err 
    5824        }; then 
    5825   ac_header_preproc=yes 
    5826 else 
    5827   echo "$as_me: failed program was:" >&5 
    5828 sed 's/^/| /' conftest.$ac_ext >&5 
    5829  
    5830   ac_header_preproc=no 
    5831 fi 
    5832  
    5833 rm -f conftest.err conftest.$ac_ext 
    5834 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5835 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5836  
    5837 # So?  What about this header? 
    5838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5839   yes:no: ) 
    5840     { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5841 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5842     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    5843 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    5844     ac_header_preproc=yes 
    5845     ;; 
    5846   no:yes:* ) 
    5847     { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    5848 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    5849     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    5850 echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    5851     { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    5852 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    5853     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5854 echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5855     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    5856 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    5857     { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    5858 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    5859  
    5860     ;; 
    5861 esac 
    5862 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    5863 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 
    5864 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    5865   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5866 else 
    5867   ac_cv_header_linux_socket_h=$ac_header_preproc 
    5868 fi 
    5869 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    5870 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 
    5871  
    5872 fi 
    5873 if test $ac_cv_header_linux_socket_h = yes; then 
    5874   cat >>confdefs.h <<\_ACEOF 
    5875 #define PJ_HAS_LINUX_SOCKET_H 1 
    5876 _ACEOF 
    5877  
    5878 fi 
    5879  
    5880  
    5881 if test "${ac_cv_header_limits_h+set}" = set; then 
    5882   { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5883 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5884 if test "${ac_cv_header_limits_h+set}" = set; then 
    5885   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5886 fi 
    5887 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    5888 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    5889 else 
    5890   # Is the header compilable? 
    5891 { echo "$as_me:$LINENO: checking limits.h usability" >&5 
    5892 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 
    5893 cat >conftest.$ac_ext <<_ACEOF 
    5894 /* confdefs.h.  */ 
    5895 _ACEOF 
    5896 cat confdefs.h >>conftest.$ac_ext 
    5897 cat >>conftest.$ac_ext <<_ACEOF 
    5898 /* end confdefs.h.  */ 
    5899 $ac_includes_default 
    5900 #include <limits.h> 
    5901 _ACEOF 
    5902 rm -f conftest.$ac_objext 
    5903 if { (ac_try="$ac_compile" 
    5904 case "(($ac_try" in 
    5905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5906   *) ac_try_echo=$ac_try;; 
    5907 esac 
    5908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5909   (eval "$ac_compile") 2>conftest.er1 
    5910   ac_status=$? 
    5911   grep -v '^ *+' conftest.er1 >conftest.err 
    5912   rm -f conftest.er1 
    5913   cat conftest.err >&5 
    5914   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5915   (exit $ac_status); } && { 
    5916          test -z "$ac_c_werror_flag" || 
    5917          test ! -s conftest.err 
    5918        } && test -s conftest.$ac_objext; then 
    5919   ac_header_compiler=yes 
    5920 else 
    5921   echo "$as_me: failed program was:" >&5 
    5922 sed 's/^/| /' conftest.$ac_ext >&5 
    5923  
    5924         ac_header_compiler=no 
    5925 fi 
    5926  
    5927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5928 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5929 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5930  
    5931 # Is the header present? 
    5932 { echo "$as_me:$LINENO: checking limits.h presence" >&5 
    5933 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 
    5934 cat >conftest.$ac_ext <<_ACEOF 
    5935 /* confdefs.h.  */ 
    5936 _ACEOF 
    5937 cat confdefs.h >>conftest.$ac_ext 
    5938 cat >>conftest.$ac_ext <<_ACEOF 
    5939 /* end confdefs.h.  */ 
    5940 #include <limits.h> 
    5941 _ACEOF 
    5942 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5943 case "(($ac_try" in 
    5944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5945   *) ac_try_echo=$ac_try;; 
    5946 esac 
    5947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5948   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5949   ac_status=$? 
    5950   grep -v '^ *+' conftest.er1 >conftest.err 
    5951   rm -f conftest.er1 
    5952   cat conftest.err >&5 
    5953   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5954   (exit $ac_status); } >/dev/null && { 
    5955          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5956          test ! -s conftest.err 
    5957        }; then 
    5958   ac_header_preproc=yes 
    5959 else 
    5960   echo "$as_me: failed program was:" >&5 
    5961 sed 's/^/| /' conftest.$ac_ext >&5 
    5962  
    5963   ac_header_preproc=no 
    5964 fi 
    5965  
    5966 rm -f conftest.err conftest.$ac_ext 
    5967 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5968 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5969  
    5970 # So?  What about this header? 
    5971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5972   yes:no: ) 
    5973     { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5974 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5975     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 
    5976 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 
    5977     ac_header_preproc=yes 
    5978     ;; 
    5979   no:yes:* ) 
    5980     { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 
    5981 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 
    5982     { echo "$as_me:$LINENO: WARNING: limits.h:     check for missing prerequisite headers?" >&5 
    5983 echo "$as_me: WARNING: limits.h:     check for missing prerequisite headers?" >&2;} 
    5984     { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 
    5985 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 
    5986     { echo "$as_me:$LINENO: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5987 echo "$as_me: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5988     { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 
    5989 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 
    5990     { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 
    5991 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 
    5992  
    5993     ;; 
    5994 esac 
    5995 { echo "$as_me:$LINENO: checking for limits.h" >&5 
    5996 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 
    5997 if test "${ac_cv_header_limits_h+set}" = set; then 
    5998   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5999 else 
    6000   ac_cv_header_limits_h=$ac_header_preproc 
    6001 fi 
    6002 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 
    6003 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 
    6004  
    6005 fi 
    6006 if test $ac_cv_header_limits_h = yes; then 
    6007   cat >>confdefs.h <<\_ACEOF 
    6008 #define PJ_HAS_LIMITS_H 1 
    6009 _ACEOF 
    6010  
    6011 fi 
    6012  
    6013  
    6014 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6015   { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6016 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6017 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6018   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6019 fi 
    6020 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6021 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6022 else 
    6023   # Is the header compilable? 
    6024 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    6025 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 
    6026 cat >conftest.$ac_ext <<_ACEOF 
    6027 /* confdefs.h.  */ 
    6028 _ACEOF 
    6029 cat confdefs.h >>conftest.$ac_ext 
    6030 cat >>conftest.$ac_ext <<_ACEOF 
    6031 /* end confdefs.h.  */ 
    6032 $ac_includes_default 
    6033 #include <malloc.h> 
    6034 _ACEOF 
    6035 rm -f conftest.$ac_objext 
    6036 if { (ac_try="$ac_compile" 
    6037 case "(($ac_try" in 
    6038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6039   *) ac_try_echo=$ac_try;; 
    6040 esac 
    6041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6042   (eval "$ac_compile") 2>conftest.er1 
    6043   ac_status=$? 
    6044   grep -v '^ *+' conftest.er1 >conftest.err 
    6045   rm -f conftest.er1 
    6046   cat conftest.err >&5 
    6047   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6048   (exit $ac_status); } && { 
    6049          test -z "$ac_c_werror_flag" || 
    6050          test ! -s conftest.err 
    6051        } && test -s conftest.$ac_objext; then 
    6052   ac_header_compiler=yes 
    6053 else 
    6054   echo "$as_me: failed program was:" >&5 
    6055 sed 's/^/| /' conftest.$ac_ext >&5 
    6056  
    6057         ac_header_compiler=no 
    6058 fi 
    6059  
    6060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6061 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6062 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6063  
    6064 # Is the header present? 
    6065 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    6066 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 
    6067 cat >conftest.$ac_ext <<_ACEOF 
    6068 /* confdefs.h.  */ 
    6069 _ACEOF 
    6070 cat confdefs.h >>conftest.$ac_ext 
    6071 cat >>conftest.$ac_ext <<_ACEOF 
    6072 /* end confdefs.h.  */ 
    6073 #include <malloc.h> 
    6074 _ACEOF 
    6075 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6076 case "(($ac_try" in 
    6077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6078   *) ac_try_echo=$ac_try;; 
    6079 esac 
    6080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6081   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6082   ac_status=$? 
    6083   grep -v '^ *+' conftest.er1 >conftest.err 
    6084   rm -f conftest.er1 
    6085   cat conftest.err >&5 
    6086   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6087   (exit $ac_status); } >/dev/null && { 
    6088          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6089          test ! -s conftest.err 
    6090        }; then 
    6091   ac_header_preproc=yes 
    6092 else 
    6093   echo "$as_me: failed program was:" >&5 
    6094 sed 's/^/| /' conftest.$ac_ext >&5 
    6095  
    6096   ac_header_preproc=no 
    6097 fi 
    6098  
    6099 rm -f conftest.err conftest.$ac_ext 
    6100 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6101 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6102  
    6103 # So?  What about this header? 
    6104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6105   yes:no: ) 
    6106     { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6107 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6108     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    6109 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    6110     ac_header_preproc=yes 
    6111     ;; 
    6112   no:yes:* ) 
    6113     { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    6114 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    6115     { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    6116 echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    6117     { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    6118 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    6119     { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6120 echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6121     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    6122 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    6123     { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    6124 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    6125  
    6126     ;; 
    6127 esac 
    6128 { echo "$as_me:$LINENO: checking for malloc.h" >&5 
    6129 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 
    6130 if test "${ac_cv_header_malloc_h+set}" = set; then 
    6131   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6132 else 
    6133   ac_cv_header_malloc_h=$ac_header_preproc 
    6134 fi 
    6135 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    6136 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 
    6137  
    6138 fi 
    6139 if test $ac_cv_header_malloc_h = yes; then 
    6140   cat >>confdefs.h <<\_ACEOF 
    6141 #define PJ_HAS_MALLOC_H 1 
    6142 _ACEOF 
    6143  
    6144 fi 
    6145  
    6146  
    6147 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6148   { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6149 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6150 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6151   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6152 fi 
    6153 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6154 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6155 else 
    6156   # Is the header compilable? 
    6157 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    6158 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 
    6159 cat >conftest.$ac_ext <<_ACEOF 
    6160 /* confdefs.h.  */ 
    6161 _ACEOF 
    6162 cat confdefs.h >>conftest.$ac_ext 
    6163 cat >>conftest.$ac_ext <<_ACEOF 
    6164 /* end confdefs.h.  */ 
    6165 $ac_includes_default 
    6166 #include <netdb.h> 
    6167 _ACEOF 
    6168 rm -f conftest.$ac_objext 
    6169 if { (ac_try="$ac_compile" 
    6170 case "(($ac_try" in 
    6171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6172   *) ac_try_echo=$ac_try;; 
    6173 esac 
    6174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6175   (eval "$ac_compile") 2>conftest.er1 
    6176   ac_status=$? 
    6177   grep -v '^ *+' conftest.er1 >conftest.err 
    6178   rm -f conftest.er1 
    6179   cat conftest.err >&5 
    6180   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6181   (exit $ac_status); } && { 
    6182          test -z "$ac_c_werror_flag" || 
    6183          test ! -s conftest.err 
    6184        } && test -s conftest.$ac_objext; then 
    6185   ac_header_compiler=yes 
    6186 else 
    6187   echo "$as_me: failed program was:" >&5 
    6188 sed 's/^/| /' conftest.$ac_ext >&5 
    6189  
    6190         ac_header_compiler=no 
    6191 fi 
    6192  
    6193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6194 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6195 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6196  
    6197 # Is the header present? 
    6198 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    6199 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 
    6200 cat >conftest.$ac_ext <<_ACEOF 
    6201 /* confdefs.h.  */ 
    6202 _ACEOF 
    6203 cat confdefs.h >>conftest.$ac_ext 
    6204 cat >>conftest.$ac_ext <<_ACEOF 
    6205 /* end confdefs.h.  */ 
    6206 #include <netdb.h> 
    6207 _ACEOF 
    6208 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6209 case "(($ac_try" in 
    6210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6211   *) ac_try_echo=$ac_try;; 
    6212 esac 
    6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6214   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6215   ac_status=$? 
    6216   grep -v '^ *+' conftest.er1 >conftest.err 
    6217   rm -f conftest.er1 
    6218   cat conftest.err >&5 
    6219   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6220   (exit $ac_status); } >/dev/null && { 
    6221          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6222          test ! -s conftest.err 
    6223        }; then 
    6224   ac_header_preproc=yes 
    6225 else 
    6226   echo "$as_me: failed program was:" >&5 
    6227 sed 's/^/| /' conftest.$ac_ext >&5 
    6228  
    6229   ac_header_preproc=no 
    6230 fi 
    6231  
    6232 rm -f conftest.err conftest.$ac_ext 
    6233 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6234 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6235  
    6236 # So?  What about this header? 
    6237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6238   yes:no: ) 
    6239     { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6240 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6241     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    6242 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    6243     ac_header_preproc=yes 
    6244     ;; 
    6245   no:yes:* ) 
    6246     { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    6247 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    6248     { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    6249 echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    6250     { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    6251 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    6252     { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6253 echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6254     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    6255 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    6256     { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    6257 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    6258  
    6259     ;; 
    6260 esac 
    6261 { echo "$as_me:$LINENO: checking for netdb.h" >&5 
    6262 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 
    6263 if test "${ac_cv_header_netdb_h+set}" = set; then 
    6264   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6265 else 
    6266   ac_cv_header_netdb_h=$ac_header_preproc 
    6267 fi 
    6268 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    6269 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 
    6270  
    6271 fi 
    6272 if test $ac_cv_header_netdb_h = yes; then 
    6273   cat >>confdefs.h <<\_ACEOF 
    6274 #define PJ_HAS_NETDB_H 1 
    6275 _ACEOF 
    6276  
    6277 fi 
    6278  
    6279  
    6280 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6281   { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6282 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6283 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6284   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6285 fi 
    6286 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6287 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6288 else 
    6289   # Is the header compilable? 
    6290 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 
    6291 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 
    6292 cat >conftest.$ac_ext <<_ACEOF 
    6293 /* confdefs.h.  */ 
    6294 _ACEOF 
    6295 cat confdefs.h >>conftest.$ac_ext 
    6296 cat >>conftest.$ac_ext <<_ACEOF 
    6297 /* end confdefs.h.  */ 
    6298 $ac_includes_default 
    6299 #include <netinet/in_systm.h> 
    6300 _ACEOF 
    6301 rm -f conftest.$ac_objext 
    6302 if { (ac_try="$ac_compile" 
    6303 case "(($ac_try" in 
    6304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6305   *) ac_try_echo=$ac_try;; 
    6306 esac 
    6307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6308   (eval "$ac_compile") 2>conftest.er1 
    6309   ac_status=$? 
    6310   grep -v '^ *+' conftest.er1 >conftest.err 
    6311   rm -f conftest.er1 
    6312   cat conftest.err >&5 
    6313   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6314   (exit $ac_status); } && { 
    6315          test -z "$ac_c_werror_flag" || 
    6316          test ! -s conftest.err 
    6317        } && test -s conftest.$ac_objext; then 
    6318   ac_header_compiler=yes 
    6319 else 
    6320   echo "$as_me: failed program was:" >&5 
    6321 sed 's/^/| /' conftest.$ac_ext >&5 
    6322  
    6323         ac_header_compiler=no 
    6324 fi 
    6325  
    6326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6327 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6328 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6329  
    6330 # Is the header present? 
    6331 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 
    6332 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 
    6333 cat >conftest.$ac_ext <<_ACEOF 
    6334 /* confdefs.h.  */ 
    6335 _ACEOF 
    6336 cat confdefs.h >>conftest.$ac_ext 
    6337 cat >>conftest.$ac_ext <<_ACEOF 
    6338 /* end confdefs.h.  */ 
    6339 #include <netinet/in_systm.h> 
    6340 _ACEOF 
    6341 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6342 case "(($ac_try" in 
    6343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6344   *) ac_try_echo=$ac_try;; 
    6345 esac 
    6346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6347   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6348   ac_status=$? 
    6349   grep -v '^ *+' conftest.er1 >conftest.err 
    6350   rm -f conftest.er1 
    6351   cat conftest.err >&5 
    6352   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6353   (exit $ac_status); } >/dev/null && { 
    6354          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6355          test ! -s conftest.err 
    6356        }; then 
    6357   ac_header_preproc=yes 
    6358 else 
    6359   echo "$as_me: failed program was:" >&5 
    6360 sed 's/^/| /' conftest.$ac_ext >&5 
    6361  
    6362   ac_header_preproc=no 
    6363 fi 
    6364  
    6365 rm -f conftest.err conftest.$ac_ext 
    6366 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6367 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6368  
    6369 # So?  What about this header? 
    6370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6371   yes:no: ) 
    6372     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6373 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6374     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 
    6375 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 
    6376     ac_header_preproc=yes 
    6377     ;; 
    6378   no:yes:* ) 
    6379     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 
    6380 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 
    6381     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&5 
    6382 echo "$as_me: WARNING: netinet/in_systm.h:     check for missing prerequisite headers?" >&2;} 
    6383     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 
    6384 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 
    6385     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6386 echo "$as_me: WARNING: netinet/in_systm.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6387     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 
    6388 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 
    6389     { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 
    6390 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 
    6391  
    6392     ;; 
    6393 esac 
    6394 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 
    6395 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 
    6396 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 
    6397   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6398 else 
    6399   ac_cv_header_netinet_in_systm_h=$ac_header_preproc 
    6400 fi 
    6401 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 
    6402 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 
    6403  
    6404 fi 
    6405 if test $ac_cv_header_netinet_in_systm_h = yes; then 
    6406   cat >>confdefs.h <<\_ACEOF 
    6407 #define PJ_HAS_NETINET_IN_SYSTM_H 1 
    6408 _ACEOF 
    6409  
    6410 fi 
    6411  
    6412  
    6413 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6414   { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6415 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6416 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6417   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6418 fi 
    6419 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6420 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6421 else 
    6422   # Is the header compilable? 
    6423 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    6424 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 
    6425 cat >conftest.$ac_ext <<_ACEOF 
    6426 /* confdefs.h.  */ 
    6427 _ACEOF 
    6428 cat confdefs.h >>conftest.$ac_ext 
    6429 cat >>conftest.$ac_ext <<_ACEOF 
    6430 /* end confdefs.h.  */ 
    6431 $ac_includes_default 
    6432 #include <netinet/in.h> 
    6433 _ACEOF 
    6434 rm -f conftest.$ac_objext 
    6435 if { (ac_try="$ac_compile" 
    6436 case "(($ac_try" in 
    6437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6438   *) ac_try_echo=$ac_try;; 
    6439 esac 
    6440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6441   (eval "$ac_compile") 2>conftest.er1 
    6442   ac_status=$? 
    6443   grep -v '^ *+' conftest.er1 >conftest.err 
    6444   rm -f conftest.er1 
    6445   cat conftest.err >&5 
    6446   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6447   (exit $ac_status); } && { 
    6448          test -z "$ac_c_werror_flag" || 
    6449          test ! -s conftest.err 
    6450        } && test -s conftest.$ac_objext; then 
    6451   ac_header_compiler=yes 
    6452 else 
    6453   echo "$as_me: failed program was:" >&5 
    6454 sed 's/^/| /' conftest.$ac_ext >&5 
    6455  
    6456         ac_header_compiler=no 
    6457 fi 
    6458  
    6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6460 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6461 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6462  
    6463 # Is the header present? 
    6464 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    6465 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 
    6466 cat >conftest.$ac_ext <<_ACEOF 
    6467 /* confdefs.h.  */ 
    6468 _ACEOF 
    6469 cat confdefs.h >>conftest.$ac_ext 
    6470 cat >>conftest.$ac_ext <<_ACEOF 
    6471 /* end confdefs.h.  */ 
    6472 #include <netinet/in.h> 
    6473 _ACEOF 
    6474 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6475 case "(($ac_try" in 
    6476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6477   *) ac_try_echo=$ac_try;; 
    6478 esac 
    6479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6480   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6481   ac_status=$? 
    6482   grep -v '^ *+' conftest.er1 >conftest.err 
    6483   rm -f conftest.er1 
    6484   cat conftest.err >&5 
    6485   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6486   (exit $ac_status); } >/dev/null && { 
    6487          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6488          test ! -s conftest.err 
    6489        }; then 
    6490   ac_header_preproc=yes 
    6491 else 
    6492   echo "$as_me: failed program was:" >&5 
    6493 sed 's/^/| /' conftest.$ac_ext >&5 
    6494  
    6495   ac_header_preproc=no 
    6496 fi 
    6497  
    6498 rm -f conftest.err conftest.$ac_ext 
    6499 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6500 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6501  
    6502 # So?  What about this header? 
    6503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6504   yes:no: ) 
    6505     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6506 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6507     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    6508 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    6509     ac_header_preproc=yes 
    6510     ;; 
    6511   no:yes:* ) 
    6512     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    6513 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    6514     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    6515 echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    6516     { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    6517 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    6518     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6519 echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6520     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    6521 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    6522     { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    6523 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    6524  
    6525     ;; 
    6526 esac 
    6527 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    6528 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 
    6529 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    6530   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6531 else 
    6532   ac_cv_header_netinet_in_h=$ac_header_preproc 
    6533 fi 
    6534 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    6535 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 
    6536  
    6537 fi 
    6538 if test $ac_cv_header_netinet_in_h = yes; then 
    6539   cat >>confdefs.h <<\_ACEOF 
    6540 #define PJ_HAS_NETINET_IN_H 1 
    6541 _ACEOF 
    6542  
    6543 fi 
    6544  
    6545  
    6546 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 
    6547 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 
    6548 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 
    6549   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6550 else 
    6551   cat >conftest.$ac_ext <<_ACEOF 
    6552 /* confdefs.h.  */ 
    6553 _ACEOF 
    6554 cat confdefs.h >>conftest.$ac_ext 
    6555 cat >>conftest.$ac_ext <<_ACEOF 
    6556 /* end confdefs.h.  */ 
    6557 #if PJ_HAS_SYS_TYPES_H 
     4731ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 
     4732if test "x$ac_cv_header_fcntl_h" = x""yes; then : 
     4733  $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 
     4734 
     4735fi 
     4736 
     4737 
     4738ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 
     4739if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 
     4740  $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 
     4741 
     4742fi 
     4743 
     4744 
     4745ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 
     4746if test "x$ac_cv_header_limits_h" = x""yes; then : 
     4747  $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 
     4748 
     4749fi 
     4750 
     4751 
     4752ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 
     4753if test "x$ac_cv_header_malloc_h" = x""yes; then : 
     4754  $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 
     4755 
     4756fi 
     4757 
     4758 
     4759ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 
     4760if test "x$ac_cv_header_netdb_h" = x""yes; then : 
     4761  $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 
     4762 
     4763fi 
     4764 
     4765 
     4766ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 
     4767if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 
     4768  $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 
     4769 
     4770fi 
     4771 
     4772 
     4773ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 
     4774if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 
     4775  $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 
     4776 
     4777fi 
     4778 
     4779 
     4780ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 
    65584781                  #     include <sys/types.h> 
    65594782                  #endif 
     
    65654788                  #endif 
    65664789 
    6567  
    6568 #include <netinet/ip.h> 
    6569 _ACEOF 
    6570 rm -f conftest.$ac_objext 
    6571 if { (ac_try="$ac_compile" 
    6572 case "(($ac_try" in 
    6573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6574   *) ac_try_echo=$ac_try;; 
    6575 esac 
    6576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6577   (eval "$ac_compile") 2>conftest.er1 
    6578   ac_status=$? 
    6579   grep -v '^ *+' conftest.er1 >conftest.err 
    6580   rm -f conftest.er1 
    6581   cat conftest.err >&5 
    6582   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6583   (exit $ac_status); } && { 
    6584          test -z "$ac_c_werror_flag" || 
    6585          test ! -s conftest.err 
    6586        } && test -s conftest.$ac_objext; then 
    6587   ac_cv_header_netinet_ip_h=yes 
    6588 else 
    6589   echo "$as_me: failed program was:" >&5 
    6590 sed 's/^/| /' conftest.$ac_ext >&5 
    6591  
    6592         ac_cv_header_netinet_ip_h=no 
    6593 fi 
    6594  
    6595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6596 fi 
    6597 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 
    6598 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 
    6599 if test $ac_cv_header_netinet_ip_h = yes; then 
    6600   cat >>confdefs.h <<\_ACEOF 
    6601 #define PJ_HAS_NETINET_IP_H 1 
    6602 _ACEOF 
    6603  
    6604 fi 
    6605  
    6606  
    6607 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6608   { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6609 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6610 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6611   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6612 fi 
    6613 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6614 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6615 else 
    6616   # Is the header compilable? 
    6617 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 
    6618 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 
    6619 cat >conftest.$ac_ext <<_ACEOF 
    6620 /* confdefs.h.  */ 
    6621 _ACEOF 
    6622 cat confdefs.h >>conftest.$ac_ext 
    6623 cat >>conftest.$ac_ext <<_ACEOF 
    6624 /* end confdefs.h.  */ 
    6625 $ac_includes_default 
    6626 #include <netinet/tcp.h> 
    6627 _ACEOF 
    6628 rm -f conftest.$ac_objext 
    6629 if { (ac_try="$ac_compile" 
    6630 case "(($ac_try" in 
    6631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6632   *) ac_try_echo=$ac_try;; 
    6633 esac 
    6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6635   (eval "$ac_compile") 2>conftest.er1 
    6636   ac_status=$? 
    6637   grep -v '^ *+' conftest.er1 >conftest.err 
    6638   rm -f conftest.er1 
    6639   cat conftest.err >&5 
    6640   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6641   (exit $ac_status); } && { 
    6642          test -z "$ac_c_werror_flag" || 
    6643          test ! -s conftest.err 
    6644        } && test -s conftest.$ac_objext; then 
    6645   ac_header_compiler=yes 
    6646 else 
    6647   echo "$as_me: failed program was:" >&5 
    6648 sed 's/^/| /' conftest.$ac_ext >&5 
    6649  
    6650         ac_header_compiler=no 
    6651 fi 
    6652  
    6653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6654 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6655 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6656  
    6657 # Is the header present? 
    6658 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 
    6659 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 
    6660 cat >conftest.$ac_ext <<_ACEOF 
    6661 /* confdefs.h.  */ 
    6662 _ACEOF 
    6663 cat confdefs.h >>conftest.$ac_ext 
    6664 cat >>conftest.$ac_ext <<_ACEOF 
    6665 /* end confdefs.h.  */ 
    6666 #include <netinet/tcp.h> 
    6667 _ACEOF 
    6668 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6669 case "(($ac_try" in 
    6670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6671   *) ac_try_echo=$ac_try;; 
    6672 esac 
    6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6674   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6675   ac_status=$? 
    6676   grep -v '^ *+' conftest.er1 >conftest.err 
    6677   rm -f conftest.er1 
    6678   cat conftest.err >&5 
    6679   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6680   (exit $ac_status); } >/dev/null && { 
    6681          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6682          test ! -s conftest.err 
    6683        }; then 
    6684   ac_header_preproc=yes 
    6685 else 
    6686   echo "$as_me: failed program was:" >&5 
    6687 sed 's/^/| /' conftest.$ac_ext >&5 
    6688  
    6689   ac_header_preproc=no 
    6690 fi 
    6691  
    6692 rm -f conftest.err conftest.$ac_ext 
    6693 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6694 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6695  
    6696 # So?  What about this header? 
    6697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6698   yes:no: ) 
    6699     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6700 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6701     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 
    6702 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 
    6703     ac_header_preproc=yes 
    6704     ;; 
    6705   no:yes:* ) 
    6706     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 
    6707 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 
    6708     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&5 
    6709 echo "$as_me: WARNING: netinet/tcp.h:     check for missing prerequisite headers?" >&2;} 
    6710     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 
    6711 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 
    6712     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6713 echo "$as_me: WARNING: netinet/tcp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6714     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 
    6715 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 
    6716     { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 
    6717 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 
    6718  
    6719     ;; 
    6720 esac 
    6721 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 
    6722 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 
    6723 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 
    6724   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6725 else 
    6726   ac_cv_header_netinet_tcp_h=$ac_header_preproc 
    6727 fi 
    6728 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 
    6729 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 
    6730  
    6731 fi 
    6732 if test $ac_cv_header_netinet_tcp_h = yes; then 
    6733   cat >>confdefs.h <<\_ACEOF 
    6734 #define PJ_HAS_NETINET_TCP_H 1 
    6735 _ACEOF 
    6736  
    6737 fi 
    6738  
    6739  
    6740 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6741   { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6742 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6743 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6744   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6745 fi 
    6746 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6747 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6748 else 
    6749   # Is the header compilable? 
    6750 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 
    6751 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 
    6752 cat >conftest.$ac_ext <<_ACEOF 
    6753 /* confdefs.h.  */ 
    6754 _ACEOF 
    6755 cat confdefs.h >>conftest.$ac_ext 
    6756 cat >>conftest.$ac_ext <<_ACEOF 
    6757 /* end confdefs.h.  */ 
    6758 $ac_includes_default 
    6759 #include <ifaddrs.h> 
    6760 _ACEOF 
    6761 rm -f conftest.$ac_objext 
    6762 if { (ac_try="$ac_compile" 
    6763 case "(($ac_try" in 
    6764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6765   *) ac_try_echo=$ac_try;; 
    6766 esac 
    6767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6768   (eval "$ac_compile") 2>conftest.er1 
    6769   ac_status=$? 
    6770   grep -v '^ *+' conftest.er1 >conftest.err 
    6771   rm -f conftest.er1 
    6772   cat conftest.err >&5 
    6773   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6774   (exit $ac_status); } && { 
    6775          test -z "$ac_c_werror_flag" || 
    6776          test ! -s conftest.err 
    6777        } && test -s conftest.$ac_objext; then 
    6778   ac_header_compiler=yes 
    6779 else 
    6780   echo "$as_me: failed program was:" >&5 
    6781 sed 's/^/| /' conftest.$ac_ext >&5 
    6782  
    6783         ac_header_compiler=no 
    6784 fi 
    6785  
    6786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    6787 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6788 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    6789  
    6790 # Is the header present? 
    6791 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 
    6792 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 
    6793 cat >conftest.$ac_ext <<_ACEOF 
    6794 /* confdefs.h.  */ 
    6795 _ACEOF 
    6796 cat confdefs.h >>conftest.$ac_ext 
    6797 cat >>conftest.$ac_ext <<_ACEOF 
    6798 /* end confdefs.h.  */ 
    6799 #include <ifaddrs.h> 
    6800 _ACEOF 
    6801 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    6802 case "(($ac_try" in 
    6803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6804   *) ac_try_echo=$ac_try;; 
    6805 esac 
    6806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6807   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    6808   ac_status=$? 
    6809   grep -v '^ *+' conftest.er1 >conftest.err 
    6810   rm -f conftest.er1 
    6811   cat conftest.err >&5 
    6812   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6813   (exit $ac_status); } >/dev/null && { 
    6814          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    6815          test ! -s conftest.err 
    6816        }; then 
    6817   ac_header_preproc=yes 
    6818 else 
    6819   echo "$as_me: failed program was:" >&5 
    6820 sed 's/^/| /' conftest.$ac_ext >&5 
    6821  
    6822   ac_header_preproc=no 
    6823 fi 
    6824  
    6825 rm -f conftest.err conftest.$ac_ext 
    6826 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6827 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    6828  
    6829 # So?  What about this header? 
    6830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6831   yes:no: ) 
    6832     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6833 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6834     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 
    6835 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 
    6836     ac_header_preproc=yes 
    6837     ;; 
    6838   no:yes:* ) 
    6839     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 
    6840 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 
    6841     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&5 
    6842 echo "$as_me: WARNING: ifaddrs.h:     check for missing prerequisite headers?" >&2;} 
    6843     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 
    6844 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 
    6845     { echo "$as_me:$LINENO: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6846 echo "$as_me: WARNING: ifaddrs.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6847     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 
    6848 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 
    6849     { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 
    6850 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 
    6851  
    6852     ;; 
    6853 esac 
    6854 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 
    6855 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 
    6856 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 
    6857   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6858 else 
    6859   ac_cv_header_ifaddrs_h=$ac_header_preproc 
    6860 fi 
    6861 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 
    6862 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 
    6863  
    6864 fi 
    6865 if test $ac_cv_header_ifaddrs_h = yes; then 
    6866   { echo "$as_me:$LINENO: checking for getifaddrs" >&5 
    6867 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 
    6868 if test "${ac_cv_func_getifaddrs+set}" = set; then 
    6869   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6870 else 
    6871   cat >conftest.$ac_ext <<_ACEOF 
    6872 /* confdefs.h.  */ 
    6873 _ACEOF 
    6874 cat confdefs.h >>conftest.$ac_ext 
    6875 cat >>conftest.$ac_ext <<_ACEOF 
    6876 /* end confdefs.h.  */ 
    6877 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 
    6878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    6879 #define getifaddrs innocuous_getifaddrs 
    6880  
    6881 /* System header to define __stub macros and hopefully few prototypes, 
    6882     which can conflict with char getifaddrs (); below. 
    6883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6884     <limits.h> exists even on freestanding compilers.  */ 
    6885  
    6886 #ifdef __STDC__ 
    6887 # include <limits.h> 
    6888 #else 
    6889 # include <assert.h> 
    6890 #endif 
    6891  
    6892 #undef getifaddrs 
    6893  
    6894 /* Override any GCC internal prototype to avoid an error. 
    6895    Use char because int might match the return type of a GCC 
    6896    builtin and then its argument prototype would still apply.  */ 
    6897 #ifdef __cplusplus 
    6898 extern "C" 
    6899 #endif 
    6900 char getifaddrs (); 
    6901 /* The GNU C library defines this for functions which it implements 
    6902     to always fail with ENOSYS.  Some functions are actually named 
    6903     something starting with __ and the normal name is an alias.  */ 
    6904 #if defined __stub_getifaddrs || defined __stub___getifaddrs 
    6905 choke me 
    6906 #endif 
    6907  
    6908 int 
    6909 main () 
    6910 { 
    6911 return getifaddrs (); 
    6912   ; 
    6913   return 0; 
    6914 } 
    6915 _ACEOF 
    6916 rm -f conftest.$ac_objext conftest$ac_exeext 
    6917 if { (ac_try="$ac_link" 
    6918 case "(($ac_try" in 
    6919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6920   *) ac_try_echo=$ac_try;; 
    6921 esac 
    6922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6923   (eval "$ac_link") 2>conftest.er1 
    6924   ac_status=$? 
    6925   grep -v '^ *+' conftest.er1 >conftest.err 
    6926   rm -f conftest.er1 
    6927   cat conftest.err >&5 
    6928   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6929   (exit $ac_status); } && { 
    6930          test -z "$ac_c_werror_flag" || 
    6931          test ! -s conftest.err 
    6932        } && test -s conftest$ac_exeext && 
    6933        $as_test_x conftest$ac_exeext; then 
    6934   ac_cv_func_getifaddrs=yes 
    6935 else 
    6936   echo "$as_me: failed program was:" >&5 
    6937 sed 's/^/| /' conftest.$ac_ext >&5 
    6938  
    6939         ac_cv_func_getifaddrs=no 
    6940 fi 
    6941  
    6942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    6943       conftest$ac_exeext conftest.$ac_ext 
    6944 fi 
    6945 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 
    6946 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 
    6947 if test $ac_cv_func_getifaddrs = yes; then 
    6948   cat >>confdefs.h <<\_ACEOF 
    6949 #define PJ_HAS_IFADDRS_H 1 
    6950 _ACEOF 
    6951  
    6952 fi 
    6953  
    6954 fi 
    6955  
    6956  
    6957 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6958   { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    6959 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    6960 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    6961   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6962 fi 
    6963 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    6964 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    6965 else 
    6966   # Is the header compilable? 
    6967 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 
    6968 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 
    6969 cat >conftest.$ac_ext <<_ACEOF 
    6970 /* confdefs.h.  */ 
    6971 _ACEOF 
    6972 cat confdefs.h >>conftest.$ac_ext 
    6973 cat >>conftest.$ac_ext <<_ACEOF 
    6974 /* end confdefs.h.  */ 
    6975 $ac_includes_default 
    6976 #include <semaphore.h> 
    6977 _ACEOF 
    6978 rm -f conftest.$ac_objext 
    6979 if { (ac_try="$ac_compile" 
    6980 case "(($ac_try" in 
    6981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    6982   *) ac_try_echo=$ac_try;; 
    6983 esac 
    6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    6985   (eval "$ac_compile") 2>conftest.er1 
    6986   ac_status=$? 
    6987   grep -v '^ *+' conftest.er1 >conftest.err 
    6988   rm -f conftest.er1 
    6989   cat conftest.err >&5 
    6990   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6991   (exit $ac_status); } && { 
    6992          test -z "$ac_c_werror_flag" || 
    6993          test ! -s conftest.err 
    6994        } && test -s conftest.$ac_objext; then 
    6995   ac_header_compiler=yes 
    6996 else 
    6997   echo "$as_me: failed program was:" >&5 
    6998 sed 's/^/| /' conftest.$ac_ext >&5 
    6999  
    7000         ac_header_compiler=no 
    7001 fi 
    7002  
    7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7004 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7005 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7006  
    7007 # Is the header present? 
    7008 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 
    7009 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 
    7010 cat >conftest.$ac_ext <<_ACEOF 
    7011 /* confdefs.h.  */ 
    7012 _ACEOF 
    7013 cat confdefs.h >>conftest.$ac_ext 
    7014 cat >>conftest.$ac_ext <<_ACEOF 
    7015 /* end confdefs.h.  */ 
    7016 #include <semaphore.h> 
    7017 _ACEOF 
    7018 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7019 case "(($ac_try" in 
    7020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7021   *) ac_try_echo=$ac_try;; 
    7022 esac 
    7023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7024   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7025   ac_status=$? 
    7026   grep -v '^ *+' conftest.er1 >conftest.err 
    7027   rm -f conftest.er1 
    7028   cat conftest.err >&5 
    7029   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7030   (exit $ac_status); } >/dev/null && { 
    7031          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7032          test ! -s conftest.err 
    7033        }; then 
    7034   ac_header_preproc=yes 
    7035 else 
    7036   echo "$as_me: failed program was:" >&5 
    7037 sed 's/^/| /' conftest.$ac_ext >&5 
    7038  
    7039   ac_header_preproc=no 
    7040 fi 
    7041  
    7042 rm -f conftest.err conftest.$ac_ext 
    7043 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7044 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7045  
    7046 # So?  What about this header? 
    7047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7048   yes:no: ) 
    7049     { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7050 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7051     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 
    7052 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 
    7053     ac_header_preproc=yes 
    7054     ;; 
    7055   no:yes:* ) 
    7056     { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 
    7057 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 
    7058     { echo "$as_me:$LINENO: WARNING: semaphore.h:     check for missing prerequisite headers?" >&5 
    7059 echo "$as_me: WARNING: semaphore.h:     check for missing prerequisite headers?" >&2;} 
    7060     { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 
    7061 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 
    7062     { echo "$as_me:$LINENO: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7063 echo "$as_me: WARNING: semaphore.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7064     { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 
    7065 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 
    7066     { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 
    7067 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 
    7068  
    7069     ;; 
    7070 esac 
    7071 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 
    7072 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 
    7073 if test "${ac_cv_header_semaphore_h+set}" = set; then 
    7074   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7075 else 
    7076   ac_cv_header_semaphore_h=$ac_header_preproc 
    7077 fi 
    7078 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 
    7079 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 
    7080  
    7081 fi 
    7082 if test $ac_cv_header_semaphore_h = yes; then 
    7083   cat >>confdefs.h <<\_ACEOF 
    7084 #define PJ_HAS_SEMAPHORE_H 1 
    7085 _ACEOF 
    7086  
    7087 fi 
    7088  
    7089  
    7090 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7091   { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7092 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7093 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7094   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7095 fi 
    7096 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7097 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7098 else 
    7099   # Is the header compilable? 
    7100 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    7101 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 
    7102 cat >conftest.$ac_ext <<_ACEOF 
    7103 /* confdefs.h.  */ 
    7104 _ACEOF 
    7105 cat confdefs.h >>conftest.$ac_ext 
    7106 cat >>conftest.$ac_ext <<_ACEOF 
    7107 /* end confdefs.h.  */ 
    7108 $ac_includes_default 
    7109 #include <setjmp.h> 
    7110 _ACEOF 
    7111 rm -f conftest.$ac_objext 
    7112 if { (ac_try="$ac_compile" 
    7113 case "(($ac_try" in 
    7114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7115   *) ac_try_echo=$ac_try;; 
    7116 esac 
    7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7118   (eval "$ac_compile") 2>conftest.er1 
    7119   ac_status=$? 
    7120   grep -v '^ *+' conftest.er1 >conftest.err 
    7121   rm -f conftest.er1 
    7122   cat conftest.err >&5 
    7123   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7124   (exit $ac_status); } && { 
    7125          test -z "$ac_c_werror_flag" || 
    7126          test ! -s conftest.err 
    7127        } && test -s conftest.$ac_objext; then 
    7128   ac_header_compiler=yes 
    7129 else 
    7130   echo "$as_me: failed program was:" >&5 
    7131 sed 's/^/| /' conftest.$ac_ext >&5 
    7132  
    7133         ac_header_compiler=no 
    7134 fi 
    7135  
    7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7137 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7138 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7139  
    7140 # Is the header present? 
    7141 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    7142 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 
    7143 cat >conftest.$ac_ext <<_ACEOF 
    7144 /* confdefs.h.  */ 
    7145 _ACEOF 
    7146 cat confdefs.h >>conftest.$ac_ext 
    7147 cat >>conftest.$ac_ext <<_ACEOF 
    7148 /* end confdefs.h.  */ 
    7149 #include <setjmp.h> 
    7150 _ACEOF 
    7151 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7152 case "(($ac_try" in 
    7153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7154   *) ac_try_echo=$ac_try;; 
    7155 esac 
    7156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7157   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7158   ac_status=$? 
    7159   grep -v '^ *+' conftest.er1 >conftest.err 
    7160   rm -f conftest.er1 
    7161   cat conftest.err >&5 
    7162   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7163   (exit $ac_status); } >/dev/null && { 
    7164          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7165          test ! -s conftest.err 
    7166        }; then 
    7167   ac_header_preproc=yes 
    7168 else 
    7169   echo "$as_me: failed program was:" >&5 
    7170 sed 's/^/| /' conftest.$ac_ext >&5 
    7171  
    7172   ac_header_preproc=no 
    7173 fi 
    7174  
    7175 rm -f conftest.err conftest.$ac_ext 
    7176 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7177 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7178  
    7179 # So?  What about this header? 
    7180 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7181   yes:no: ) 
    7182     { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7183 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7184     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    7185 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    7186     ac_header_preproc=yes 
    7187     ;; 
    7188   no:yes:* ) 
    7189     { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    7190 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    7191     { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    7192 echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    7193     { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    7194 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    7195     { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7196 echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7197     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    7198 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    7199     { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    7200 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    7201  
    7202     ;; 
    7203 esac 
    7204 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    7205 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 
    7206 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    7207   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7208 else 
    7209   ac_cv_header_setjmp_h=$ac_header_preproc 
    7210 fi 
    7211 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    7212 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 
    7213  
    7214 fi 
    7215 if test $ac_cv_header_setjmp_h = yes; then 
    7216   cat >>confdefs.h <<\_ACEOF 
    7217 #define PJ_HAS_SETJMP_H 1 
    7218 _ACEOF 
    7219  
    7220 fi 
    7221  
    7222  
    7223 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7224   { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7225 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7226 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7227   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7228 fi 
    7229 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7230 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7231 else 
    7232   # Is the header compilable? 
    7233 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    7234 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 
    7235 cat >conftest.$ac_ext <<_ACEOF 
    7236 /* confdefs.h.  */ 
    7237 _ACEOF 
    7238 cat confdefs.h >>conftest.$ac_ext 
    7239 cat >>conftest.$ac_ext <<_ACEOF 
    7240 /* end confdefs.h.  */ 
    7241 $ac_includes_default 
    7242 #include <stdarg.h> 
    7243 _ACEOF 
    7244 rm -f conftest.$ac_objext 
    7245 if { (ac_try="$ac_compile" 
    7246 case "(($ac_try" in 
    7247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7248   *) ac_try_echo=$ac_try;; 
    7249 esac 
    7250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7251   (eval "$ac_compile") 2>conftest.er1 
    7252   ac_status=$? 
    7253   grep -v '^ *+' conftest.er1 >conftest.err 
    7254   rm -f conftest.er1 
    7255   cat conftest.err >&5 
    7256   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7257   (exit $ac_status); } && { 
    7258          test -z "$ac_c_werror_flag" || 
    7259          test ! -s conftest.err 
    7260        } && test -s conftest.$ac_objext; then 
    7261   ac_header_compiler=yes 
    7262 else 
    7263   echo "$as_me: failed program was:" >&5 
    7264 sed 's/^/| /' conftest.$ac_ext >&5 
    7265  
    7266         ac_header_compiler=no 
    7267 fi 
    7268  
    7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7270 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7271 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7272  
    7273 # Is the header present? 
    7274 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    7275 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 
    7276 cat >conftest.$ac_ext <<_ACEOF 
    7277 /* confdefs.h.  */ 
    7278 _ACEOF 
    7279 cat confdefs.h >>conftest.$ac_ext 
    7280 cat >>conftest.$ac_ext <<_ACEOF 
    7281 /* end confdefs.h.  */ 
    7282 #include <stdarg.h> 
    7283 _ACEOF 
    7284 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7285 case "(($ac_try" in 
    7286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7287   *) ac_try_echo=$ac_try;; 
    7288 esac 
    7289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7290   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7291   ac_status=$? 
    7292   grep -v '^ *+' conftest.er1 >conftest.err 
    7293   rm -f conftest.er1 
    7294   cat conftest.err >&5 
    7295   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7296   (exit $ac_status); } >/dev/null && { 
    7297          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7298          test ! -s conftest.err 
    7299        }; then 
    7300   ac_header_preproc=yes 
    7301 else 
    7302   echo "$as_me: failed program was:" >&5 
    7303 sed 's/^/| /' conftest.$ac_ext >&5 
    7304  
    7305   ac_header_preproc=no 
    7306 fi 
    7307  
    7308 rm -f conftest.err conftest.$ac_ext 
    7309 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7310 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7311  
    7312 # So?  What about this header? 
    7313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7314   yes:no: ) 
    7315     { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7316 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7317     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    7318 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    7319     ac_header_preproc=yes 
    7320     ;; 
    7321   no:yes:* ) 
    7322     { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    7323 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    7324     { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    7325 echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    7326     { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    7327 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    7328     { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7329 echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7330     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    7331 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    7332     { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    7333 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    7334  
    7335     ;; 
    7336 esac 
    7337 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    7338 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 
    7339 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    7340   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7341 else 
    7342   ac_cv_header_stdarg_h=$ac_header_preproc 
    7343 fi 
    7344 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    7345 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 
    7346  
    7347 fi 
    7348 if test $ac_cv_header_stdarg_h = yes; then 
    7349   cat >>confdefs.h <<\_ACEOF 
    7350 #define PJ_HAS_STDARG_H 1 
    7351 _ACEOF 
    7352  
    7353 fi 
    7354  
    7355  
    7356 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7357   { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7358 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7359 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7360   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7361 fi 
    7362 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7363 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7364 else 
    7365   # Is the header compilable? 
    7366 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    7367 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 
    7368 cat >conftest.$ac_ext <<_ACEOF 
    7369 /* confdefs.h.  */ 
    7370 _ACEOF 
    7371 cat confdefs.h >>conftest.$ac_ext 
    7372 cat >>conftest.$ac_ext <<_ACEOF 
    7373 /* end confdefs.h.  */ 
    7374 $ac_includes_default 
    7375 #include <stddef.h> 
    7376 _ACEOF 
    7377 rm -f conftest.$ac_objext 
    7378 if { (ac_try="$ac_compile" 
    7379 case "(($ac_try" in 
    7380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7381   *) ac_try_echo=$ac_try;; 
    7382 esac 
    7383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7384   (eval "$ac_compile") 2>conftest.er1 
    7385   ac_status=$? 
    7386   grep -v '^ *+' conftest.er1 >conftest.err 
    7387   rm -f conftest.er1 
    7388   cat conftest.err >&5 
    7389   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7390   (exit $ac_status); } && { 
    7391          test -z "$ac_c_werror_flag" || 
    7392          test ! -s conftest.err 
    7393        } && test -s conftest.$ac_objext; then 
    7394   ac_header_compiler=yes 
    7395 else 
    7396   echo "$as_me: failed program was:" >&5 
    7397 sed 's/^/| /' conftest.$ac_ext >&5 
    7398  
    7399         ac_header_compiler=no 
    7400 fi 
    7401  
    7402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7403 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7404 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7405  
    7406 # Is the header present? 
    7407 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    7408 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 
    7409 cat >conftest.$ac_ext <<_ACEOF 
    7410 /* confdefs.h.  */ 
    7411 _ACEOF 
    7412 cat confdefs.h >>conftest.$ac_ext 
    7413 cat >>conftest.$ac_ext <<_ACEOF 
    7414 /* end confdefs.h.  */ 
    7415 #include <stddef.h> 
    7416 _ACEOF 
    7417 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7418 case "(($ac_try" in 
    7419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7420   *) ac_try_echo=$ac_try;; 
    7421 esac 
    7422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7423   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7424   ac_status=$? 
    7425   grep -v '^ *+' conftest.er1 >conftest.err 
    7426   rm -f conftest.er1 
    7427   cat conftest.err >&5 
    7428   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7429   (exit $ac_status); } >/dev/null && { 
    7430          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7431          test ! -s conftest.err 
    7432        }; then 
    7433   ac_header_preproc=yes 
    7434 else 
    7435   echo "$as_me: failed program was:" >&5 
    7436 sed 's/^/| /' conftest.$ac_ext >&5 
    7437  
    7438   ac_header_preproc=no 
    7439 fi 
    7440  
    7441 rm -f conftest.err conftest.$ac_ext 
    7442 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7443 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7444  
    7445 # So?  What about this header? 
    7446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7447   yes:no: ) 
    7448     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7449 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7450     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    7451 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    7452     ac_header_preproc=yes 
    7453     ;; 
    7454   no:yes:* ) 
    7455     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    7456 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    7457     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    7458 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    7459     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    7460 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    7461     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7462 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7463     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    7464 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    7465     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    7466 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    7467  
    7468     ;; 
    7469 esac 
    7470 { echo "$as_me:$LINENO: checking for stddef.h" >&5 
    7471 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 
    7472 if test "${ac_cv_header_stddef_h+set}" = set; then 
    7473   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7474 else 
    7475   ac_cv_header_stddef_h=$ac_header_preproc 
    7476 fi 
    7477 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    7478 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 
    7479  
    7480 fi 
    7481 if test $ac_cv_header_stddef_h = yes; then 
    7482   cat >>confdefs.h <<\_ACEOF 
    7483 #define PJ_HAS_STDDEF_H 1 
    7484 _ACEOF 
    7485  
    7486 fi 
    7487  
    7488  
    7489 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7490   { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7491 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7492 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7493   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7494 fi 
    7495 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7496 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7497 else 
    7498   # Is the header compilable? 
    7499 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    7500 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 
    7501 cat >conftest.$ac_ext <<_ACEOF 
    7502 /* confdefs.h.  */ 
    7503 _ACEOF 
    7504 cat confdefs.h >>conftest.$ac_ext 
    7505 cat >>conftest.$ac_ext <<_ACEOF 
    7506 /* end confdefs.h.  */ 
    7507 $ac_includes_default 
    7508 #include <stdio.h> 
    7509 _ACEOF 
    7510 rm -f conftest.$ac_objext 
    7511 if { (ac_try="$ac_compile" 
    7512 case "(($ac_try" in 
    7513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7514   *) ac_try_echo=$ac_try;; 
    7515 esac 
    7516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7517   (eval "$ac_compile") 2>conftest.er1 
    7518   ac_status=$? 
    7519   grep -v '^ *+' conftest.er1 >conftest.err 
    7520   rm -f conftest.er1 
    7521   cat conftest.err >&5 
    7522   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7523   (exit $ac_status); } && { 
    7524          test -z "$ac_c_werror_flag" || 
    7525          test ! -s conftest.err 
    7526        } && test -s conftest.$ac_objext; then 
    7527   ac_header_compiler=yes 
    7528 else 
    7529   echo "$as_me: failed program was:" >&5 
    7530 sed 's/^/| /' conftest.$ac_ext >&5 
    7531  
    7532         ac_header_compiler=no 
    7533 fi 
    7534  
    7535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7537 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7538  
    7539 # Is the header present? 
    7540 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    7541 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 
    7542 cat >conftest.$ac_ext <<_ACEOF 
    7543 /* confdefs.h.  */ 
    7544 _ACEOF 
    7545 cat confdefs.h >>conftest.$ac_ext 
    7546 cat >>conftest.$ac_ext <<_ACEOF 
    7547 /* end confdefs.h.  */ 
    7548 #include <stdio.h> 
    7549 _ACEOF 
    7550 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7551 case "(($ac_try" in 
    7552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7553   *) ac_try_echo=$ac_try;; 
    7554 esac 
    7555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7556   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7557   ac_status=$? 
    7558   grep -v '^ *+' conftest.er1 >conftest.err 
    7559   rm -f conftest.er1 
    7560   cat conftest.err >&5 
    7561   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7562   (exit $ac_status); } >/dev/null && { 
    7563          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7564          test ! -s conftest.err 
    7565        }; then 
    7566   ac_header_preproc=yes 
    7567 else 
    7568   echo "$as_me: failed program was:" >&5 
    7569 sed 's/^/| /' conftest.$ac_ext >&5 
    7570  
    7571   ac_header_preproc=no 
    7572 fi 
    7573  
    7574 rm -f conftest.err conftest.$ac_ext 
    7575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7576 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7577  
    7578 # So?  What about this header? 
    7579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7580   yes:no: ) 
    7581     { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7582 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7583     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    7584 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    7585     ac_header_preproc=yes 
    7586     ;; 
    7587   no:yes:* ) 
    7588     { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    7589 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    7590     { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    7591 echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    7592     { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    7593 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    7594     { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7595 echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7596     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    7597 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    7598     { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    7599 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    7600  
    7601     ;; 
    7602 esac 
    7603 { echo "$as_me:$LINENO: checking for stdio.h" >&5 
    7604 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 
    7605 if test "${ac_cv_header_stdio_h+set}" = set; then 
    7606   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7607 else 
    7608   ac_cv_header_stdio_h=$ac_header_preproc 
    7609 fi 
    7610 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    7611 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 
    7612  
    7613 fi 
    7614 if test $ac_cv_header_stdio_h = yes; then 
    7615   cat >>confdefs.h <<\_ACEOF 
    7616 #define PJ_HAS_STDIO_H 1 
    7617 _ACEOF 
    7618  
    7619 fi 
    7620  
    7621  
    7622 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7623   { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7624 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7625 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7626   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7627 fi 
    7628 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7629 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7630 else 
    7631   # Is the header compilable? 
    7632 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 
    7633 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 
    7634 cat >conftest.$ac_ext <<_ACEOF 
    7635 /* confdefs.h.  */ 
    7636 _ACEOF 
    7637 cat confdefs.h >>conftest.$ac_ext 
    7638 cat >>conftest.$ac_ext <<_ACEOF 
    7639 /* end confdefs.h.  */ 
    7640 $ac_includes_default 
    7641 #include <stdint.h> 
    7642 _ACEOF 
    7643 rm -f conftest.$ac_objext 
    7644 if { (ac_try="$ac_compile" 
    7645 case "(($ac_try" in 
    7646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7647   *) ac_try_echo=$ac_try;; 
    7648 esac 
    7649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7650   (eval "$ac_compile") 2>conftest.er1 
    7651   ac_status=$? 
    7652   grep -v '^ *+' conftest.er1 >conftest.err 
    7653   rm -f conftest.er1 
    7654   cat conftest.err >&5 
    7655   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7656   (exit $ac_status); } && { 
    7657          test -z "$ac_c_werror_flag" || 
    7658          test ! -s conftest.err 
    7659        } && test -s conftest.$ac_objext; then 
    7660   ac_header_compiler=yes 
    7661 else 
    7662   echo "$as_me: failed program was:" >&5 
    7663 sed 's/^/| /' conftest.$ac_ext >&5 
    7664  
    7665         ac_header_compiler=no 
    7666 fi 
    7667  
    7668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7669 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7670 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7671  
    7672 # Is the header present? 
    7673 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 
    7674 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 
    7675 cat >conftest.$ac_ext <<_ACEOF 
    7676 /* confdefs.h.  */ 
    7677 _ACEOF 
    7678 cat confdefs.h >>conftest.$ac_ext 
    7679 cat >>conftest.$ac_ext <<_ACEOF 
    7680 /* end confdefs.h.  */ 
    7681 #include <stdint.h> 
    7682 _ACEOF 
    7683 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7684 case "(($ac_try" in 
    7685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7686   *) ac_try_echo=$ac_try;; 
    7687 esac 
    7688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7690   ac_status=$? 
    7691   grep -v '^ *+' conftest.er1 >conftest.err 
    7692   rm -f conftest.er1 
    7693   cat conftest.err >&5 
    7694   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7695   (exit $ac_status); } >/dev/null && { 
    7696          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7697          test ! -s conftest.err 
    7698        }; then 
    7699   ac_header_preproc=yes 
    7700 else 
    7701   echo "$as_me: failed program was:" >&5 
    7702 sed 's/^/| /' conftest.$ac_ext >&5 
    7703  
    7704   ac_header_preproc=no 
    7705 fi 
    7706  
    7707 rm -f conftest.err conftest.$ac_ext 
    7708 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7709 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7710  
    7711 # So?  What about this header? 
    7712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7713   yes:no: ) 
    7714     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7715 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7716     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 
    7717 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 
    7718     ac_header_preproc=yes 
    7719     ;; 
    7720   no:yes:* ) 
    7721     { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 
    7722 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 
    7723     { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5 
    7724 echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;} 
    7725     { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 
    7726 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 
    7727     { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7728 echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7729     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 
    7730 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 
    7731     { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 
    7732 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 
    7733  
    7734     ;; 
    7735 esac 
    7736 { echo "$as_me:$LINENO: checking for stdint.h" >&5 
    7737 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 
    7738 if test "${ac_cv_header_stdint_h+set}" = set; then 
    7739   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7740 else 
    7741   ac_cv_header_stdint_h=$ac_header_preproc 
    7742 fi 
    7743 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 
    7744 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 
    7745  
    7746 fi 
    7747 if test $ac_cv_header_stdint_h = yes; then 
    7748   cat >>confdefs.h <<\_ACEOF 
    7749 #define PJ_HAS_STDINT_H 1 
    7750 _ACEOF 
    7751  
    7752 fi 
    7753  
    7754  
    7755 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7756   { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7757 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7758 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7759   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7760 fi 
    7761 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7762 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7763 else 
    7764   # Is the header compilable? 
    7765 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    7766 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 
    7767 cat >conftest.$ac_ext <<_ACEOF 
    7768 /* confdefs.h.  */ 
    7769 _ACEOF 
    7770 cat confdefs.h >>conftest.$ac_ext 
    7771 cat >>conftest.$ac_ext <<_ACEOF 
    7772 /* end confdefs.h.  */ 
    7773 $ac_includes_default 
    7774 #include <stdlib.h> 
    7775 _ACEOF 
    7776 rm -f conftest.$ac_objext 
    7777 if { (ac_try="$ac_compile" 
    7778 case "(($ac_try" in 
    7779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7780   *) ac_try_echo=$ac_try;; 
    7781 esac 
    7782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7783   (eval "$ac_compile") 2>conftest.er1 
    7784   ac_status=$? 
    7785   grep -v '^ *+' conftest.er1 >conftest.err 
    7786   rm -f conftest.er1 
    7787   cat conftest.err >&5 
    7788   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7789   (exit $ac_status); } && { 
    7790          test -z "$ac_c_werror_flag" || 
    7791          test ! -s conftest.err 
    7792        } && test -s conftest.$ac_objext; then 
    7793   ac_header_compiler=yes 
    7794 else 
    7795   echo "$as_me: failed program was:" >&5 
    7796 sed 's/^/| /' conftest.$ac_ext >&5 
    7797  
    7798         ac_header_compiler=no 
    7799 fi 
    7800  
    7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7802 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7803 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7804  
    7805 # Is the header present? 
    7806 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    7807 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 
    7808 cat >conftest.$ac_ext <<_ACEOF 
    7809 /* confdefs.h.  */ 
    7810 _ACEOF 
    7811 cat confdefs.h >>conftest.$ac_ext 
    7812 cat >>conftest.$ac_ext <<_ACEOF 
    7813 /* end confdefs.h.  */ 
    7814 #include <stdlib.h> 
    7815 _ACEOF 
    7816 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7817 case "(($ac_try" in 
    7818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7819   *) ac_try_echo=$ac_try;; 
    7820 esac 
    7821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7822   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7823   ac_status=$? 
    7824   grep -v '^ *+' conftest.er1 >conftest.err 
    7825   rm -f conftest.er1 
    7826   cat conftest.err >&5 
    7827   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7828   (exit $ac_status); } >/dev/null && { 
    7829          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7830          test ! -s conftest.err 
    7831        }; then 
    7832   ac_header_preproc=yes 
    7833 else 
    7834   echo "$as_me: failed program was:" >&5 
    7835 sed 's/^/| /' conftest.$ac_ext >&5 
    7836  
    7837   ac_header_preproc=no 
    7838 fi 
    7839  
    7840 rm -f conftest.err conftest.$ac_ext 
    7841 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7842 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7843  
    7844 # So?  What about this header? 
    7845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7846   yes:no: ) 
    7847     { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7848 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7849     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    7850 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    7851     ac_header_preproc=yes 
    7852     ;; 
    7853   no:yes:* ) 
    7854     { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    7855 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    7856     { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    7857 echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    7858     { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    7859 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    7860     { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7861 echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7862     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    7863 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    7864     { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    7865 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    7866  
    7867     ;; 
    7868 esac 
    7869 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    7870 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 
    7871 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    7872   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7873 else 
    7874   ac_cv_header_stdlib_h=$ac_header_preproc 
    7875 fi 
    7876 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    7877 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 
    7878  
    7879 fi 
    7880 if test $ac_cv_header_stdlib_h = yes; then 
    7881   cat >>confdefs.h <<\_ACEOF 
    7882 #define PJ_HAS_STDLIB_H 1 
    7883 _ACEOF 
    7884  
    7885 fi 
    7886  
    7887  
    7888 if test "${ac_cv_header_string_h+set}" = set; then 
    7889   { echo "$as_me:$LINENO: checking for string.h" >&5 
    7890 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    7891 if test "${ac_cv_header_string_h+set}" = set; then 
    7892   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7893 fi 
    7894 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    7895 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    7896 else 
    7897   # Is the header compilable? 
    7898 { echo "$as_me:$LINENO: checking string.h usability" >&5 
    7899 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 
    7900 cat >conftest.$ac_ext <<_ACEOF 
    7901 /* confdefs.h.  */ 
    7902 _ACEOF 
    7903 cat confdefs.h >>conftest.$ac_ext 
    7904 cat >>conftest.$ac_ext <<_ACEOF 
    7905 /* end confdefs.h.  */ 
    7906 $ac_includes_default 
    7907 #include <string.h> 
    7908 _ACEOF 
    7909 rm -f conftest.$ac_objext 
    7910 if { (ac_try="$ac_compile" 
    7911 case "(($ac_try" in 
    7912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7913   *) ac_try_echo=$ac_try;; 
    7914 esac 
    7915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7916   (eval "$ac_compile") 2>conftest.er1 
    7917   ac_status=$? 
    7918   grep -v '^ *+' conftest.er1 >conftest.err 
    7919   rm -f conftest.er1 
    7920   cat conftest.err >&5 
    7921   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7922   (exit $ac_status); } && { 
    7923          test -z "$ac_c_werror_flag" || 
    7924          test ! -s conftest.err 
    7925        } && test -s conftest.$ac_objext; then 
    7926   ac_header_compiler=yes 
    7927 else 
    7928   echo "$as_me: failed program was:" >&5 
    7929 sed 's/^/| /' conftest.$ac_ext >&5 
    7930  
    7931         ac_header_compiler=no 
    7932 fi 
    7933  
    7934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    7935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7936 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    7937  
    7938 # Is the header present? 
    7939 { echo "$as_me:$LINENO: checking string.h presence" >&5 
    7940 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 
    7941 cat >conftest.$ac_ext <<_ACEOF 
    7942 /* confdefs.h.  */ 
    7943 _ACEOF 
    7944 cat confdefs.h >>conftest.$ac_ext 
    7945 cat >>conftest.$ac_ext <<_ACEOF 
    7946 /* end confdefs.h.  */ 
    7947 #include <string.h> 
    7948 _ACEOF 
    7949 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    7950 case "(($ac_try" in 
    7951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    7952   *) ac_try_echo=$ac_try;; 
    7953 esac 
    7954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    7955   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    7956   ac_status=$? 
    7957   grep -v '^ *+' conftest.er1 >conftest.err 
    7958   rm -f conftest.er1 
    7959   cat conftest.err >&5 
    7960   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7961   (exit $ac_status); } >/dev/null && { 
    7962          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    7963          test ! -s conftest.err 
    7964        }; then 
    7965   ac_header_preproc=yes 
    7966 else 
    7967   echo "$as_me: failed program was:" >&5 
    7968 sed 's/^/| /' conftest.$ac_ext >&5 
    7969  
    7970   ac_header_preproc=no 
    7971 fi 
    7972  
    7973 rm -f conftest.err conftest.$ac_ext 
    7974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7975 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    7976  
    7977 # So?  What about this header? 
    7978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7979   yes:no: ) 
    7980     { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7981 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7982     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    7983 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    7984     ac_header_preproc=yes 
    7985     ;; 
    7986   no:yes:* ) 
    7987     { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    7988 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    7989     { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    7990 echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    7991     { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    7992 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    7993     { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7994 echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7995     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    7996 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    7997     { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    7998 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    7999  
    8000     ;; 
    8001 esac 
    8002 { echo "$as_me:$LINENO: checking for string.h" >&5 
    8003 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 
    8004 if test "${ac_cv_header_string_h+set}" = set; then 
    8005   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8006 else 
    8007   ac_cv_header_string_h=$ac_header_preproc 
    8008 fi 
    8009 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    8010 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 
    8011  
    8012 fi 
    8013 if test $ac_cv_header_string_h = yes; then 
    8014   cat >>confdefs.h <<\_ACEOF 
    8015 #define PJ_HAS_STRING_H 1 
    8016 _ACEOF 
    8017  
    8018 fi 
    8019  
    8020  
    8021 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8022   { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8023 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8024 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8025   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8026 fi 
    8027 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8028 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8029 else 
    8030   # Is the header compilable? 
    8031 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    8032 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 
    8033 cat >conftest.$ac_ext <<_ACEOF 
    8034 /* confdefs.h.  */ 
    8035 _ACEOF 
    8036 cat confdefs.h >>conftest.$ac_ext 
    8037 cat >>conftest.$ac_ext <<_ACEOF 
    8038 /* end confdefs.h.  */ 
    8039 $ac_includes_default 
    8040 #include <sys/ioctl.h> 
    8041 _ACEOF 
    8042 rm -f conftest.$ac_objext 
    8043 if { (ac_try="$ac_compile" 
    8044 case "(($ac_try" in 
    8045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8046   *) ac_try_echo=$ac_try;; 
    8047 esac 
    8048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8049   (eval "$ac_compile") 2>conftest.er1 
    8050   ac_status=$? 
    8051   grep -v '^ *+' conftest.er1 >conftest.err 
    8052   rm -f conftest.er1 
    8053   cat conftest.err >&5 
    8054   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8055   (exit $ac_status); } && { 
    8056          test -z "$ac_c_werror_flag" || 
    8057          test ! -s conftest.err 
    8058        } && test -s conftest.$ac_objext; then 
    8059   ac_header_compiler=yes 
    8060 else 
    8061   echo "$as_me: failed program was:" >&5 
    8062 sed 's/^/| /' conftest.$ac_ext >&5 
    8063  
    8064         ac_header_compiler=no 
    8065 fi 
    8066  
    8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8068 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8069 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8070  
    8071 # Is the header present? 
    8072 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    8073 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 
    8074 cat >conftest.$ac_ext <<_ACEOF 
    8075 /* confdefs.h.  */ 
    8076 _ACEOF 
    8077 cat confdefs.h >>conftest.$ac_ext 
    8078 cat >>conftest.$ac_ext <<_ACEOF 
    8079 /* end confdefs.h.  */ 
    8080 #include <sys/ioctl.h> 
    8081 _ACEOF 
    8082 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8083 case "(($ac_try" in 
    8084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8085   *) ac_try_echo=$ac_try;; 
    8086 esac 
    8087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8088   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8089   ac_status=$? 
    8090   grep -v '^ *+' conftest.er1 >conftest.err 
    8091   rm -f conftest.er1 
    8092   cat conftest.err >&5 
    8093   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8094   (exit $ac_status); } >/dev/null && { 
    8095          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8096          test ! -s conftest.err 
    8097        }; then 
    8098   ac_header_preproc=yes 
    8099 else 
    8100   echo "$as_me: failed program was:" >&5 
    8101 sed 's/^/| /' conftest.$ac_ext >&5 
    8102  
    8103   ac_header_preproc=no 
    8104 fi 
    8105  
    8106 rm -f conftest.err conftest.$ac_ext 
    8107 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8108 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8109  
    8110 # So?  What about this header? 
    8111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8112   yes:no: ) 
    8113     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8114 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8115     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    8116 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    8117     ac_header_preproc=yes 
    8118     ;; 
    8119   no:yes:* ) 
    8120     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    8121 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    8122     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    8123 echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    8124     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    8125 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    8126     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8127 echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8128     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    8129 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    8130     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    8131 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    8132  
    8133     ;; 
    8134 esac 
    8135 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    8136 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 
    8137 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    8138   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8139 else 
    8140   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    8141 fi 
    8142 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    8143 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 
    8144  
    8145 fi 
    8146 if test $ac_cv_header_sys_ioctl_h = yes; then 
    8147   cat >>confdefs.h <<\_ACEOF 
    8148 #define PJ_HAS_SYS_IOCTL_H 1 
    8149 _ACEOF 
    8150  
    8151 fi 
    8152  
    8153  
    8154 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8155   { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8156 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8157 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8158   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8159 fi 
    8160 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8161 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8162 else 
    8163   # Is the header compilable? 
    8164 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    8165 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 
    8166 cat >conftest.$ac_ext <<_ACEOF 
    8167 /* confdefs.h.  */ 
    8168 _ACEOF 
    8169 cat confdefs.h >>conftest.$ac_ext 
    8170 cat >>conftest.$ac_ext <<_ACEOF 
    8171 /* end confdefs.h.  */ 
    8172 $ac_includes_default 
    8173 #include <sys/select.h> 
    8174 _ACEOF 
    8175 rm -f conftest.$ac_objext 
    8176 if { (ac_try="$ac_compile" 
    8177 case "(($ac_try" in 
    8178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8179   *) ac_try_echo=$ac_try;; 
    8180 esac 
    8181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8182   (eval "$ac_compile") 2>conftest.er1 
    8183   ac_status=$? 
    8184   grep -v '^ *+' conftest.er1 >conftest.err 
    8185   rm -f conftest.er1 
    8186   cat conftest.err >&5 
    8187   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8188   (exit $ac_status); } && { 
    8189          test -z "$ac_c_werror_flag" || 
    8190          test ! -s conftest.err 
    8191        } && test -s conftest.$ac_objext; then 
    8192   ac_header_compiler=yes 
    8193 else 
    8194   echo "$as_me: failed program was:" >&5 
    8195 sed 's/^/| /' conftest.$ac_ext >&5 
    8196  
    8197         ac_header_compiler=no 
    8198 fi 
    8199  
    8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8201 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8202 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8203  
    8204 # Is the header present? 
    8205 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    8206 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 
    8207 cat >conftest.$ac_ext <<_ACEOF 
    8208 /* confdefs.h.  */ 
    8209 _ACEOF 
    8210 cat confdefs.h >>conftest.$ac_ext 
    8211 cat >>conftest.$ac_ext <<_ACEOF 
    8212 /* end confdefs.h.  */ 
    8213 #include <sys/select.h> 
    8214 _ACEOF 
    8215 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8216 case "(($ac_try" in 
    8217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8218   *) ac_try_echo=$ac_try;; 
    8219 esac 
    8220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8221   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8222   ac_status=$? 
    8223   grep -v '^ *+' conftest.er1 >conftest.err 
    8224   rm -f conftest.er1 
    8225   cat conftest.err >&5 
    8226   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8227   (exit $ac_status); } >/dev/null && { 
    8228          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8229          test ! -s conftest.err 
    8230        }; then 
    8231   ac_header_preproc=yes 
    8232 else 
    8233   echo "$as_me: failed program was:" >&5 
    8234 sed 's/^/| /' conftest.$ac_ext >&5 
    8235  
    8236   ac_header_preproc=no 
    8237 fi 
    8238  
    8239 rm -f conftest.err conftest.$ac_ext 
    8240 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8241 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8242  
    8243 # So?  What about this header? 
    8244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8245   yes:no: ) 
    8246     { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8247 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8248     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    8249 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    8250     ac_header_preproc=yes 
    8251     ;; 
    8252   no:yes:* ) 
    8253     { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    8254 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    8255     { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    8256 echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    8257     { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    8258 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    8259     { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8260 echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8261     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    8262 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    8263     { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    8264 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    8265  
    8266     ;; 
    8267 esac 
    8268 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    8269 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 
    8270 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    8271   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8272 else 
    8273   ac_cv_header_sys_select_h=$ac_header_preproc 
    8274 fi 
    8275 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    8276 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 
    8277  
    8278 fi 
    8279 if test $ac_cv_header_sys_select_h = yes; then 
    8280   cat >>confdefs.h <<\_ACEOF 
    8281 #define PJ_HAS_SYS_SELECT_H 1 
    8282 _ACEOF 
    8283  
    8284 fi 
    8285  
    8286  
    8287 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8288   { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8289 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8290 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8291   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8292 fi 
    8293 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8294 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8295 else 
    8296   # Is the header compilable? 
    8297 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    8298 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 
    8299 cat >conftest.$ac_ext <<_ACEOF 
    8300 /* confdefs.h.  */ 
    8301 _ACEOF 
    8302 cat confdefs.h >>conftest.$ac_ext 
    8303 cat >>conftest.$ac_ext <<_ACEOF 
    8304 /* end confdefs.h.  */ 
    8305 $ac_includes_default 
    8306 #include <sys/socket.h> 
    8307 _ACEOF 
    8308 rm -f conftest.$ac_objext 
    8309 if { (ac_try="$ac_compile" 
    8310 case "(($ac_try" in 
    8311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8312   *) ac_try_echo=$ac_try;; 
    8313 esac 
    8314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8315   (eval "$ac_compile") 2>conftest.er1 
    8316   ac_status=$? 
    8317   grep -v '^ *+' conftest.er1 >conftest.err 
    8318   rm -f conftest.er1 
    8319   cat conftest.err >&5 
    8320   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8321   (exit $ac_status); } && { 
    8322          test -z "$ac_c_werror_flag" || 
    8323          test ! -s conftest.err 
    8324        } && test -s conftest.$ac_objext; then 
    8325   ac_header_compiler=yes 
    8326 else 
    8327   echo "$as_me: failed program was:" >&5 
    8328 sed 's/^/| /' conftest.$ac_ext >&5 
    8329  
    8330         ac_header_compiler=no 
    8331 fi 
    8332  
    8333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8335 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8336  
    8337 # Is the header present? 
    8338 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    8339 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 
    8340 cat >conftest.$ac_ext <<_ACEOF 
    8341 /* confdefs.h.  */ 
    8342 _ACEOF 
    8343 cat confdefs.h >>conftest.$ac_ext 
    8344 cat >>conftest.$ac_ext <<_ACEOF 
    8345 /* end confdefs.h.  */ 
    8346 #include <sys/socket.h> 
    8347 _ACEOF 
    8348 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8349 case "(($ac_try" in 
    8350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8351   *) ac_try_echo=$ac_try;; 
    8352 esac 
    8353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8354   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8355   ac_status=$? 
    8356   grep -v '^ *+' conftest.er1 >conftest.err 
    8357   rm -f conftest.er1 
    8358   cat conftest.err >&5 
    8359   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8360   (exit $ac_status); } >/dev/null && { 
    8361          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8362          test ! -s conftest.err 
    8363        }; then 
    8364   ac_header_preproc=yes 
    8365 else 
    8366   echo "$as_me: failed program was:" >&5 
    8367 sed 's/^/| /' conftest.$ac_ext >&5 
    8368  
    8369   ac_header_preproc=no 
    8370 fi 
    8371  
    8372 rm -f conftest.err conftest.$ac_ext 
    8373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8374 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8375  
    8376 # So?  What about this header? 
    8377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8378   yes:no: ) 
    8379     { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8380 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8381     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    8382 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    8383     ac_header_preproc=yes 
    8384     ;; 
    8385   no:yes:* ) 
    8386     { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    8387 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    8388     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    8389 echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    8390     { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    8391 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    8392     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8393 echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8394     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    8395 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    8396     { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    8397 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    8398  
    8399     ;; 
    8400 esac 
    8401 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    8402 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 
    8403 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    8404   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8405 else 
    8406   ac_cv_header_sys_socket_h=$ac_header_preproc 
    8407 fi 
    8408 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    8409 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 
    8410  
    8411 fi 
    8412 if test $ac_cv_header_sys_socket_h = yes; then 
    8413   cat >>confdefs.h <<\_ACEOF 
    8414 #define PJ_HAS_SYS_SOCKET_H 1 
    8415 _ACEOF 
    8416  
    8417 fi 
    8418  
    8419  
    8420 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8421   { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8422 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8423 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8424   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8425 fi 
    8426 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8427 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8428 else 
    8429   # Is the header compilable? 
    8430 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    8431 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 
    8432 cat >conftest.$ac_ext <<_ACEOF 
    8433 /* confdefs.h.  */ 
    8434 _ACEOF 
    8435 cat confdefs.h >>conftest.$ac_ext 
    8436 cat >>conftest.$ac_ext <<_ACEOF 
    8437 /* end confdefs.h.  */ 
    8438 $ac_includes_default 
    8439 #include <sys/time.h> 
    8440 _ACEOF 
    8441 rm -f conftest.$ac_objext 
    8442 if { (ac_try="$ac_compile" 
    8443 case "(($ac_try" in 
    8444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8445   *) ac_try_echo=$ac_try;; 
    8446 esac 
    8447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8448   (eval "$ac_compile") 2>conftest.er1 
    8449   ac_status=$? 
    8450   grep -v '^ *+' conftest.er1 >conftest.err 
    8451   rm -f conftest.er1 
    8452   cat conftest.err >&5 
    8453   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8454   (exit $ac_status); } && { 
    8455          test -z "$ac_c_werror_flag" || 
    8456          test ! -s conftest.err 
    8457        } && test -s conftest.$ac_objext; then 
    8458   ac_header_compiler=yes 
    8459 else 
    8460   echo "$as_me: failed program was:" >&5 
    8461 sed 's/^/| /' conftest.$ac_ext >&5 
    8462  
    8463         ac_header_compiler=no 
    8464 fi 
    8465  
    8466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8467 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8468 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8469  
    8470 # Is the header present? 
    8471 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    8472 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 
    8473 cat >conftest.$ac_ext <<_ACEOF 
    8474 /* confdefs.h.  */ 
    8475 _ACEOF 
    8476 cat confdefs.h >>conftest.$ac_ext 
    8477 cat >>conftest.$ac_ext <<_ACEOF 
    8478 /* end confdefs.h.  */ 
    8479 #include <sys/time.h> 
    8480 _ACEOF 
    8481 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8482 case "(($ac_try" in 
    8483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8484   *) ac_try_echo=$ac_try;; 
    8485 esac 
    8486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8487   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8488   ac_status=$? 
    8489   grep -v '^ *+' conftest.er1 >conftest.err 
    8490   rm -f conftest.er1 
    8491   cat conftest.err >&5 
    8492   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8493   (exit $ac_status); } >/dev/null && { 
    8494          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8495          test ! -s conftest.err 
    8496        }; then 
    8497   ac_header_preproc=yes 
    8498 else 
    8499   echo "$as_me: failed program was:" >&5 
    8500 sed 's/^/| /' conftest.$ac_ext >&5 
    8501  
    8502   ac_header_preproc=no 
    8503 fi 
    8504  
    8505 rm -f conftest.err conftest.$ac_ext 
    8506 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8507 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8508  
    8509 # So?  What about this header? 
    8510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8511   yes:no: ) 
    8512     { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8513 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8514     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    8515 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    8516     ac_header_preproc=yes 
    8517     ;; 
    8518   no:yes:* ) 
    8519     { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    8520 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    8521     { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    8522 echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    8523     { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    8524 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    8525     { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8526 echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8527     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    8528 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    8529     { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    8530 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    8531  
    8532     ;; 
    8533 esac 
    8534 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    8535 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 
    8536 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    8537   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8538 else 
    8539   ac_cv_header_sys_time_h=$ac_header_preproc 
    8540 fi 
    8541 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    8542 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 
    8543  
    8544 fi 
    8545 if test $ac_cv_header_sys_time_h = yes; then 
    8546   cat >>confdefs.h <<\_ACEOF 
    8547 #define PJ_HAS_SYS_TIME_H 1 
    8548 _ACEOF 
    8549  
    8550 fi 
    8551  
    8552  
    8553 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8554   { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8555 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8556 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8557   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8558 fi 
    8559 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8560 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8561 else 
    8562   # Is the header compilable? 
    8563 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    8564 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 
    8565 cat >conftest.$ac_ext <<_ACEOF 
    8566 /* confdefs.h.  */ 
    8567 _ACEOF 
    8568 cat confdefs.h >>conftest.$ac_ext 
    8569 cat >>conftest.$ac_ext <<_ACEOF 
    8570 /* end confdefs.h.  */ 
    8571 $ac_includes_default 
    8572 #include <sys/timeb.h> 
    8573 _ACEOF 
    8574 rm -f conftest.$ac_objext 
    8575 if { (ac_try="$ac_compile" 
    8576 case "(($ac_try" in 
    8577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8578   *) ac_try_echo=$ac_try;; 
    8579 esac 
    8580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8581   (eval "$ac_compile") 2>conftest.er1 
    8582   ac_status=$? 
    8583   grep -v '^ *+' conftest.er1 >conftest.err 
    8584   rm -f conftest.er1 
    8585   cat conftest.err >&5 
    8586   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8587   (exit $ac_status); } && { 
    8588          test -z "$ac_c_werror_flag" || 
    8589          test ! -s conftest.err 
    8590        } && test -s conftest.$ac_objext; then 
    8591   ac_header_compiler=yes 
    8592 else 
    8593   echo "$as_me: failed program was:" >&5 
    8594 sed 's/^/| /' conftest.$ac_ext >&5 
    8595  
    8596         ac_header_compiler=no 
    8597 fi 
    8598  
    8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8600 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8601 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8602  
    8603 # Is the header present? 
    8604 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    8605 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 
    8606 cat >conftest.$ac_ext <<_ACEOF 
    8607 /* confdefs.h.  */ 
    8608 _ACEOF 
    8609 cat confdefs.h >>conftest.$ac_ext 
    8610 cat >>conftest.$ac_ext <<_ACEOF 
    8611 /* end confdefs.h.  */ 
    8612 #include <sys/timeb.h> 
    8613 _ACEOF 
    8614 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8615 case "(($ac_try" in 
    8616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8617   *) ac_try_echo=$ac_try;; 
    8618 esac 
    8619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8620   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8621   ac_status=$? 
    8622   grep -v '^ *+' conftest.er1 >conftest.err 
    8623   rm -f conftest.er1 
    8624   cat conftest.err >&5 
    8625   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8626   (exit $ac_status); } >/dev/null && { 
    8627          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8628          test ! -s conftest.err 
    8629        }; then 
    8630   ac_header_preproc=yes 
    8631 else 
    8632   echo "$as_me: failed program was:" >&5 
    8633 sed 's/^/| /' conftest.$ac_ext >&5 
    8634  
    8635   ac_header_preproc=no 
    8636 fi 
    8637  
    8638 rm -f conftest.err conftest.$ac_ext 
    8639 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8640 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8641  
    8642 # So?  What about this header? 
    8643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8644   yes:no: ) 
    8645     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8646 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8647     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    8648 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    8649     ac_header_preproc=yes 
    8650     ;; 
    8651   no:yes:* ) 
    8652     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    8653 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    8654     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    8655 echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    8656     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    8657 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    8658     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8659 echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8660     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    8661 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    8662     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    8663 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    8664  
    8665     ;; 
    8666 esac 
    8667 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    8668 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 
    8669 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    8670   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8671 else 
    8672   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    8673 fi 
    8674 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    8675 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 
    8676  
    8677 fi 
    8678 if test $ac_cv_header_sys_timeb_h = yes; then 
    8679   cat >>confdefs.h <<\_ACEOF 
    8680 #define PJ_HAS_SYS_TIMEB_H 1 
    8681 _ACEOF 
    8682  
    8683 fi 
    8684  
    8685  
    8686 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8687   { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8688 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8689 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8690   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8691 fi 
    8692 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8693 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8694 else 
    8695   # Is the header compilable? 
    8696 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    8697 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 
    8698 cat >conftest.$ac_ext <<_ACEOF 
    8699 /* confdefs.h.  */ 
    8700 _ACEOF 
    8701 cat confdefs.h >>conftest.$ac_ext 
    8702 cat >>conftest.$ac_ext <<_ACEOF 
    8703 /* end confdefs.h.  */ 
    8704 $ac_includes_default 
    8705 #include <sys/types.h> 
    8706 _ACEOF 
    8707 rm -f conftest.$ac_objext 
    8708 if { (ac_try="$ac_compile" 
    8709 case "(($ac_try" in 
    8710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8711   *) ac_try_echo=$ac_try;; 
    8712 esac 
    8713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8714   (eval "$ac_compile") 2>conftest.er1 
    8715   ac_status=$? 
    8716   grep -v '^ *+' conftest.er1 >conftest.err 
    8717   rm -f conftest.er1 
    8718   cat conftest.err >&5 
    8719   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8720   (exit $ac_status); } && { 
    8721          test -z "$ac_c_werror_flag" || 
    8722          test ! -s conftest.err 
    8723        } && test -s conftest.$ac_objext; then 
    8724   ac_header_compiler=yes 
    8725 else 
    8726   echo "$as_me: failed program was:" >&5 
    8727 sed 's/^/| /' conftest.$ac_ext >&5 
    8728  
    8729         ac_header_compiler=no 
    8730 fi 
    8731  
    8732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8733 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8734 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8735  
    8736 # Is the header present? 
    8737 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    8738 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 
    8739 cat >conftest.$ac_ext <<_ACEOF 
    8740 /* confdefs.h.  */ 
    8741 _ACEOF 
    8742 cat confdefs.h >>conftest.$ac_ext 
    8743 cat >>conftest.$ac_ext <<_ACEOF 
    8744 /* end confdefs.h.  */ 
    8745 #include <sys/types.h> 
    8746 _ACEOF 
    8747 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8748 case "(($ac_try" in 
    8749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8750   *) ac_try_echo=$ac_try;; 
    8751 esac 
    8752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8753   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8754   ac_status=$? 
    8755   grep -v '^ *+' conftest.er1 >conftest.err 
    8756   rm -f conftest.er1 
    8757   cat conftest.err >&5 
    8758   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8759   (exit $ac_status); } >/dev/null && { 
    8760          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8761          test ! -s conftest.err 
    8762        }; then 
    8763   ac_header_preproc=yes 
    8764 else 
    8765   echo "$as_me: failed program was:" >&5 
    8766 sed 's/^/| /' conftest.$ac_ext >&5 
    8767  
    8768   ac_header_preproc=no 
    8769 fi 
    8770  
    8771 rm -f conftest.err conftest.$ac_ext 
    8772 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8773 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8774  
    8775 # So?  What about this header? 
    8776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8777   yes:no: ) 
    8778     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8779 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8780     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    8781 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    8782     ac_header_preproc=yes 
    8783     ;; 
    8784   no:yes:* ) 
    8785     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    8786 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    8787     { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    8788 echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    8789     { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    8790 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    8791     { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8792 echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8793     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    8794 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    8795     { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    8796 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    8797  
    8798     ;; 
    8799 esac 
    8800 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    8801 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 
    8802 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    8803   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8804 else 
    8805   ac_cv_header_sys_types_h=$ac_header_preproc 
    8806 fi 
    8807 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    8808 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 
    8809  
    8810 fi 
    8811 if test $ac_cv_header_sys_types_h = yes; then 
    8812   cat >>confdefs.h <<\_ACEOF 
    8813 #define PJ_HAS_SYS_TYPES_H 1 
    8814 _ACEOF 
    8815  
    8816 fi 
    8817  
    8818  
    8819 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8820   { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8821 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8822 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8823   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8824 fi 
    8825 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8826 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8827 else 
    8828   # Is the header compilable? 
    8829 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 
    8830 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 
    8831 cat >conftest.$ac_ext <<_ACEOF 
    8832 /* confdefs.h.  */ 
    8833 _ACEOF 
    8834 cat confdefs.h >>conftest.$ac_ext 
    8835 cat >>conftest.$ac_ext <<_ACEOF 
    8836 /* end confdefs.h.  */ 
    8837 $ac_includes_default 
    8838 #include <sys/filio.h> 
    8839 _ACEOF 
    8840 rm -f conftest.$ac_objext 
    8841 if { (ac_try="$ac_compile" 
    8842 case "(($ac_try" in 
    8843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8844   *) ac_try_echo=$ac_try;; 
    8845 esac 
    8846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8847   (eval "$ac_compile") 2>conftest.er1 
    8848   ac_status=$? 
    8849   grep -v '^ *+' conftest.er1 >conftest.err 
    8850   rm -f conftest.er1 
    8851   cat conftest.err >&5 
    8852   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8853   (exit $ac_status); } && { 
    8854          test -z "$ac_c_werror_flag" || 
    8855          test ! -s conftest.err 
    8856        } && test -s conftest.$ac_objext; then 
    8857   ac_header_compiler=yes 
    8858 else 
    8859   echo "$as_me: failed program was:" >&5 
    8860 sed 's/^/| /' conftest.$ac_ext >&5 
    8861  
    8862         ac_header_compiler=no 
    8863 fi 
    8864  
    8865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8866 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    8867 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    8868  
    8869 # Is the header present? 
    8870 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 
    8871 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 
    8872 cat >conftest.$ac_ext <<_ACEOF 
    8873 /* confdefs.h.  */ 
    8874 _ACEOF 
    8875 cat confdefs.h >>conftest.$ac_ext 
    8876 cat >>conftest.$ac_ext <<_ACEOF 
    8877 /* end confdefs.h.  */ 
    8878 #include <sys/filio.h> 
    8879 _ACEOF 
    8880 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    8881 case "(($ac_try" in 
    8882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8883   *) ac_try_echo=$ac_try;; 
    8884 esac 
    8885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8886   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    8887   ac_status=$? 
    8888   grep -v '^ *+' conftest.er1 >conftest.err 
    8889   rm -f conftest.er1 
    8890   cat conftest.err >&5 
    8891   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8892   (exit $ac_status); } >/dev/null && { 
    8893          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    8894          test ! -s conftest.err 
    8895        }; then 
    8896   ac_header_preproc=yes 
    8897 else 
    8898   echo "$as_me: failed program was:" >&5 
    8899 sed 's/^/| /' conftest.$ac_ext >&5 
    8900  
    8901   ac_header_preproc=no 
    8902 fi 
    8903  
    8904 rm -f conftest.err conftest.$ac_ext 
    8905 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    8906 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    8907  
    8908 # So?  What about this header? 
    8909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    8910   yes:no: ) 
    8911     { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    8912 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    8913     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 
    8914 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 
    8915     ac_header_preproc=yes 
    8916     ;; 
    8917   no:yes:* ) 
    8918     { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 
    8919 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 
    8920     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&5 
    8921 echo "$as_me: WARNING: sys/filio.h:     check for missing prerequisite headers?" >&2;} 
    8922     { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 
    8923 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 
    8924     { echo "$as_me:$LINENO: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    8925 echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    8926     { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 
    8927 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 
    8928     { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 
    8929 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 
    8930  
    8931     ;; 
    8932 esac 
    8933 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 
    8934 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 
    8935 if test "${ac_cv_header_sys_filio_h+set}" = set; then 
    8936   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8937 else 
    8938   ac_cv_header_sys_filio_h=$ac_header_preproc 
    8939 fi 
    8940 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 
    8941 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 
    8942  
    8943 fi 
    8944 if test $ac_cv_header_sys_filio_h = yes; then 
    8945   cat >>confdefs.h <<\_ACEOF 
    8946 #define PJ_HAS_SYS_FILIO_H 1 
    8947 _ACEOF 
    8948  
    8949 fi 
    8950  
    8951  
    8952 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8953   { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    8954 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    8955 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    8956   echo $ECHO_N "(cached) $ECHO_C" >&6 
    8957 fi 
    8958 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    8959 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    8960 else 
    8961   # Is the header compilable? 
    8962 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 
    8963 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 
    8964 cat >conftest.$ac_ext <<_ACEOF 
    8965 /* confdefs.h.  */ 
    8966 _ACEOF 
    8967 cat confdefs.h >>conftest.$ac_ext 
    8968 cat >>conftest.$ac_ext <<_ACEOF 
    8969 /* end confdefs.h.  */ 
    8970 $ac_includes_default 
    8971 #include <sys/sockio.h> 
    8972 _ACEOF 
    8973 rm -f conftest.$ac_objext 
    8974 if { (ac_try="$ac_compile" 
    8975 case "(($ac_try" in 
    8976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    8977   *) ac_try_echo=$ac_try;; 
    8978 esac 
    8979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    8980   (eval "$ac_compile") 2>conftest.er1 
    8981   ac_status=$? 
    8982   grep -v '^ *+' conftest.er1 >conftest.err 
    8983   rm -f conftest.er1 
    8984   cat conftest.err >&5 
    8985   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    8986   (exit $ac_status); } && { 
    8987          test -z "$ac_c_werror_flag" || 
    8988          test ! -s conftest.err 
    8989        } && test -s conftest.$ac_objext; then 
    8990   ac_header_compiler=yes 
    8991 else 
    8992   echo "$as_me: failed program was:" >&5 
    8993 sed 's/^/| /' conftest.$ac_ext >&5 
    8994  
    8995         ac_header_compiler=no 
    8996 fi 
    8997  
    8998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    8999 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9000 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9001  
    9002 # Is the header present? 
    9003 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 
    9004 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 
    9005 cat >conftest.$ac_ext <<_ACEOF 
    9006 /* confdefs.h.  */ 
    9007 _ACEOF 
    9008 cat confdefs.h >>conftest.$ac_ext 
    9009 cat >>conftest.$ac_ext <<_ACEOF 
    9010 /* end confdefs.h.  */ 
    9011 #include <sys/sockio.h> 
    9012 _ACEOF 
    9013 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9014 case "(($ac_try" in 
    9015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9016   *) ac_try_echo=$ac_try;; 
    9017 esac 
    9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9019   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9020   ac_status=$? 
    9021   grep -v '^ *+' conftest.er1 >conftest.err 
    9022   rm -f conftest.er1 
    9023   cat conftest.err >&5 
    9024   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9025   (exit $ac_status); } >/dev/null && { 
    9026          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9027          test ! -s conftest.err 
    9028        }; then 
    9029   ac_header_preproc=yes 
    9030 else 
    9031   echo "$as_me: failed program was:" >&5 
    9032 sed 's/^/| /' conftest.$ac_ext >&5 
    9033  
    9034   ac_header_preproc=no 
    9035 fi 
    9036  
    9037 rm -f conftest.err conftest.$ac_ext 
    9038 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9039 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9040  
    9041 # So?  What about this header? 
    9042 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9043   yes:no: ) 
    9044     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9045 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9046     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 
    9047 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 
    9048     ac_header_preproc=yes 
    9049     ;; 
    9050   no:yes:* ) 
    9051     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 
    9052 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 
    9053     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&5 
    9054 echo "$as_me: WARNING: sys/sockio.h:     check for missing prerequisite headers?" >&2;} 
    9055     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 
    9056 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 
    9057     { echo "$as_me:$LINENO: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9058 echo "$as_me: WARNING: sys/sockio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9059     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 
    9060 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 
    9061     { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 
    9062 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 
    9063  
    9064     ;; 
    9065 esac 
    9066 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 
    9067 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 
    9068 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 
    9069   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9070 else 
    9071   ac_cv_header_sys_sockio_h=$ac_header_preproc 
    9072 fi 
    9073 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 
    9074 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 
    9075  
    9076 fi 
    9077 if test $ac_cv_header_sys_sockio_h = yes; then 
    9078   cat >>confdefs.h <<\_ACEOF 
    9079 #define PJ_HAS_SYS_SOCKIO_H 1 
    9080 _ACEOF 
    9081  
    9082 fi 
    9083  
    9084  
    9085 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9086   { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9087 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9088 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9089   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9090 fi 
    9091 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9092 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9093 else 
    9094   # Is the header compilable? 
    9095 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 
    9096 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 
    9097 cat >conftest.$ac_ext <<_ACEOF 
    9098 /* confdefs.h.  */ 
    9099 _ACEOF 
    9100 cat confdefs.h >>conftest.$ac_ext 
    9101 cat >>conftest.$ac_ext <<_ACEOF 
    9102 /* end confdefs.h.  */ 
    9103 $ac_includes_default 
    9104 #include <sys/utsname.h> 
    9105 _ACEOF 
    9106 rm -f conftest.$ac_objext 
    9107 if { (ac_try="$ac_compile" 
    9108 case "(($ac_try" in 
    9109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9110   *) ac_try_echo=$ac_try;; 
    9111 esac 
    9112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9113   (eval "$ac_compile") 2>conftest.er1 
    9114   ac_status=$? 
    9115   grep -v '^ *+' conftest.er1 >conftest.err 
    9116   rm -f conftest.er1 
    9117   cat conftest.err >&5 
    9118   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9119   (exit $ac_status); } && { 
    9120          test -z "$ac_c_werror_flag" || 
    9121          test ! -s conftest.err 
    9122        } && test -s conftest.$ac_objext; then 
    9123   ac_header_compiler=yes 
    9124 else 
    9125   echo "$as_me: failed program was:" >&5 
    9126 sed 's/^/| /' conftest.$ac_ext >&5 
    9127  
    9128         ac_header_compiler=no 
    9129 fi 
    9130  
    9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9132 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9133 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9134  
    9135 # Is the header present? 
    9136 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 
    9137 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 
    9138 cat >conftest.$ac_ext <<_ACEOF 
    9139 /* confdefs.h.  */ 
    9140 _ACEOF 
    9141 cat confdefs.h >>conftest.$ac_ext 
    9142 cat >>conftest.$ac_ext <<_ACEOF 
    9143 /* end confdefs.h.  */ 
    9144 #include <sys/utsname.h> 
    9145 _ACEOF 
    9146 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9147 case "(($ac_try" in 
    9148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9149   *) ac_try_echo=$ac_try;; 
    9150 esac 
    9151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9152   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9153   ac_status=$? 
    9154   grep -v '^ *+' conftest.er1 >conftest.err 
    9155   rm -f conftest.er1 
    9156   cat conftest.err >&5 
    9157   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9158   (exit $ac_status); } >/dev/null && { 
    9159          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9160          test ! -s conftest.err 
    9161        }; then 
    9162   ac_header_preproc=yes 
    9163 else 
    9164   echo "$as_me: failed program was:" >&5 
    9165 sed 's/^/| /' conftest.$ac_ext >&5 
    9166  
    9167   ac_header_preproc=no 
    9168 fi 
    9169  
    9170 rm -f conftest.err conftest.$ac_ext 
    9171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9172 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9173  
    9174 # So?  What about this header? 
    9175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9176   yes:no: ) 
    9177     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9178 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9179     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 
    9180 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 
    9181     ac_header_preproc=yes 
    9182     ;; 
    9183   no:yes:* ) 
    9184     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 
    9185 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 
    9186     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&5 
    9187 echo "$as_me: WARNING: sys/utsname.h:     check for missing prerequisite headers?" >&2;} 
    9188     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 
    9189 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 
    9190     { echo "$as_me:$LINENO: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9191 echo "$as_me: WARNING: sys/utsname.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9192     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 
    9193 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 
    9194     { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 
    9195 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 
    9196  
    9197     ;; 
    9198 esac 
    9199 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 
    9200 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 
    9201 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 
    9202   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9203 else 
    9204   ac_cv_header_sys_utsname_h=$ac_header_preproc 
    9205 fi 
    9206 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 
    9207 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 
    9208  
    9209 fi 
    9210 if test $ac_cv_header_sys_utsname_h = yes; then 
    9211   cat >>confdefs.h <<\_ACEOF 
    9212 #define PJ_HAS_SYS_UTSNAME_H 1 
    9213 _ACEOF 
    9214  
    9215 fi 
    9216  
    9217  
    9218 if test "${ac_cv_header_time_h+set}" = set; then 
    9219   { echo "$as_me:$LINENO: checking for time.h" >&5 
    9220 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9221 if test "${ac_cv_header_time_h+set}" = set; then 
    9222   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9223 fi 
    9224 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9225 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9226 else 
    9227   # Is the header compilable? 
    9228 { echo "$as_me:$LINENO: checking time.h usability" >&5 
    9229 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 
    9230 cat >conftest.$ac_ext <<_ACEOF 
    9231 /* confdefs.h.  */ 
    9232 _ACEOF 
    9233 cat confdefs.h >>conftest.$ac_ext 
    9234 cat >>conftest.$ac_ext <<_ACEOF 
    9235 /* end confdefs.h.  */ 
    9236 $ac_includes_default 
    9237 #include <time.h> 
    9238 _ACEOF 
    9239 rm -f conftest.$ac_objext 
    9240 if { (ac_try="$ac_compile" 
    9241 case "(($ac_try" in 
    9242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9243   *) ac_try_echo=$ac_try;; 
    9244 esac 
    9245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9246   (eval "$ac_compile") 2>conftest.er1 
    9247   ac_status=$? 
    9248   grep -v '^ *+' conftest.er1 >conftest.err 
    9249   rm -f conftest.er1 
    9250   cat conftest.err >&5 
    9251   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9252   (exit $ac_status); } && { 
    9253          test -z "$ac_c_werror_flag" || 
    9254          test ! -s conftest.err 
    9255        } && test -s conftest.$ac_objext; then 
    9256   ac_header_compiler=yes 
    9257 else 
    9258   echo "$as_me: failed program was:" >&5 
    9259 sed 's/^/| /' conftest.$ac_ext >&5 
    9260  
    9261         ac_header_compiler=no 
    9262 fi 
    9263  
    9264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9266 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9267  
    9268 # Is the header present? 
    9269 { echo "$as_me:$LINENO: checking time.h presence" >&5 
    9270 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 
    9271 cat >conftest.$ac_ext <<_ACEOF 
    9272 /* confdefs.h.  */ 
    9273 _ACEOF 
    9274 cat confdefs.h >>conftest.$ac_ext 
    9275 cat >>conftest.$ac_ext <<_ACEOF 
    9276 /* end confdefs.h.  */ 
    9277 #include <time.h> 
    9278 _ACEOF 
    9279 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9280 case "(($ac_try" in 
    9281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9282   *) ac_try_echo=$ac_try;; 
    9283 esac 
    9284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9285   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9286   ac_status=$? 
    9287   grep -v '^ *+' conftest.er1 >conftest.err 
    9288   rm -f conftest.er1 
    9289   cat conftest.err >&5 
    9290   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9291   (exit $ac_status); } >/dev/null && { 
    9292          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9293          test ! -s conftest.err 
    9294        }; then 
    9295   ac_header_preproc=yes 
    9296 else 
    9297   echo "$as_me: failed program was:" >&5 
    9298 sed 's/^/| /' conftest.$ac_ext >&5 
    9299  
    9300   ac_header_preproc=no 
    9301 fi 
    9302  
    9303 rm -f conftest.err conftest.$ac_ext 
    9304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9305 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9306  
    9307 # So?  What about this header? 
    9308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9309   yes:no: ) 
    9310     { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9311 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9312     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    9313 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    9314     ac_header_preproc=yes 
    9315     ;; 
    9316   no:yes:* ) 
    9317     { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    9318 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    9319     { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    9320 echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    9321     { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    9322 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    9323     { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9324 echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9325     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    9326 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    9327     { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    9328 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    9329  
    9330     ;; 
    9331 esac 
    9332 { echo "$as_me:$LINENO: checking for time.h" >&5 
    9333 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 
    9334 if test "${ac_cv_header_time_h+set}" = set; then 
    9335   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9336 else 
    9337   ac_cv_header_time_h=$ac_header_preproc 
    9338 fi 
    9339 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    9340 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 
    9341  
    9342 fi 
    9343 if test $ac_cv_header_time_h = yes; then 
    9344   cat >>confdefs.h <<\_ACEOF 
    9345 #define PJ_HAS_TIME_H 1 
    9346 _ACEOF 
    9347  
    9348 fi 
    9349  
    9350  
    9351 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9352   { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9353 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9354 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9355   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9356 fi 
    9357 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9358 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9359 else 
    9360   # Is the header compilable? 
    9361 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    9362 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 
    9363 cat >conftest.$ac_ext <<_ACEOF 
    9364 /* confdefs.h.  */ 
    9365 _ACEOF 
    9366 cat confdefs.h >>conftest.$ac_ext 
    9367 cat >>conftest.$ac_ext <<_ACEOF 
    9368 /* end confdefs.h.  */ 
    9369 $ac_includes_default 
    9370 #include <unistd.h> 
    9371 _ACEOF 
    9372 rm -f conftest.$ac_objext 
    9373 if { (ac_try="$ac_compile" 
    9374 case "(($ac_try" in 
    9375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9376   *) ac_try_echo=$ac_try;; 
    9377 esac 
    9378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9379   (eval "$ac_compile") 2>conftest.er1 
    9380   ac_status=$? 
    9381   grep -v '^ *+' conftest.er1 >conftest.err 
    9382   rm -f conftest.er1 
    9383   cat conftest.err >&5 
    9384   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9385   (exit $ac_status); } && { 
    9386          test -z "$ac_c_werror_flag" || 
    9387          test ! -s conftest.err 
    9388        } && test -s conftest.$ac_objext; then 
    9389   ac_header_compiler=yes 
    9390 else 
    9391   echo "$as_me: failed program was:" >&5 
    9392 sed 's/^/| /' conftest.$ac_ext >&5 
    9393  
    9394         ac_header_compiler=no 
    9395 fi 
    9396  
    9397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9398 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9399 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9400  
    9401 # Is the header present? 
    9402 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    9403 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 
    9404 cat >conftest.$ac_ext <<_ACEOF 
    9405 /* confdefs.h.  */ 
    9406 _ACEOF 
    9407 cat confdefs.h >>conftest.$ac_ext 
    9408 cat >>conftest.$ac_ext <<_ACEOF 
    9409 /* end confdefs.h.  */ 
    9410 #include <unistd.h> 
    9411 _ACEOF 
    9412 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9413 case "(($ac_try" in 
    9414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9415   *) ac_try_echo=$ac_try;; 
    9416 esac 
    9417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9418   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9419   ac_status=$? 
    9420   grep -v '^ *+' conftest.er1 >conftest.err 
    9421   rm -f conftest.er1 
    9422   cat conftest.err >&5 
    9423   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9424   (exit $ac_status); } >/dev/null && { 
    9425          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9426          test ! -s conftest.err 
    9427        }; then 
    9428   ac_header_preproc=yes 
    9429 else 
    9430   echo "$as_me: failed program was:" >&5 
    9431 sed 's/^/| /' conftest.$ac_ext >&5 
    9432  
    9433   ac_header_preproc=no 
    9434 fi 
    9435  
    9436 rm -f conftest.err conftest.$ac_ext 
    9437 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9438 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9439  
    9440 # So?  What about this header? 
    9441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9442   yes:no: ) 
    9443     { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9444 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9445     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    9446 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    9447     ac_header_preproc=yes 
    9448     ;; 
    9449   no:yes:* ) 
    9450     { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    9451 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    9452     { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    9453 echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    9454     { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    9455 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    9456     { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9457 echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9458     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    9459 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    9460     { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    9461 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    9462  
    9463     ;; 
    9464 esac 
    9465 { echo "$as_me:$LINENO: checking for unistd.h" >&5 
    9466 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 
    9467 if test "${ac_cv_header_unistd_h+set}" = set; then 
    9468   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9469 else 
    9470   ac_cv_header_unistd_h=$ac_header_preproc 
    9471 fi 
    9472 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    9473 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 
    9474  
    9475 fi 
    9476 if test $ac_cv_header_unistd_h = yes; then 
    9477   cat >>confdefs.h <<\_ACEOF 
    9478 #define PJ_HAS_UNISTD_H 1 
    9479 _ACEOF 
    9480  
    9481 fi 
    9482  
    9483  
    9484 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9485   { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9486 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9487 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9488   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9489 fi 
    9490 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9491 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9492 else 
    9493   # Is the header compilable? 
    9494 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    9495 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 
    9496 cat >conftest.$ac_ext <<_ACEOF 
    9497 /* confdefs.h.  */ 
    9498 _ACEOF 
    9499 cat confdefs.h >>conftest.$ac_ext 
    9500 cat >>conftest.$ac_ext <<_ACEOF 
    9501 /* end confdefs.h.  */ 
    9502 $ac_includes_default 
    9503 #include <winsock.h> 
    9504 _ACEOF 
    9505 rm -f conftest.$ac_objext 
    9506 if { (ac_try="$ac_compile" 
    9507 case "(($ac_try" in 
    9508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9509   *) ac_try_echo=$ac_try;; 
    9510 esac 
    9511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9512   (eval "$ac_compile") 2>conftest.er1 
    9513   ac_status=$? 
    9514   grep -v '^ *+' conftest.er1 >conftest.err 
    9515   rm -f conftest.er1 
    9516   cat conftest.err >&5 
    9517   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9518   (exit $ac_status); } && { 
    9519          test -z "$ac_c_werror_flag" || 
    9520          test ! -s conftest.err 
    9521        } && test -s conftest.$ac_objext; then 
    9522   ac_header_compiler=yes 
    9523 else 
    9524   echo "$as_me: failed program was:" >&5 
    9525 sed 's/^/| /' conftest.$ac_ext >&5 
    9526  
    9527         ac_header_compiler=no 
    9528 fi 
    9529  
    9530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9531 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9532 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9533  
    9534 # Is the header present? 
    9535 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    9536 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 
    9537 cat >conftest.$ac_ext <<_ACEOF 
    9538 /* confdefs.h.  */ 
    9539 _ACEOF 
    9540 cat confdefs.h >>conftest.$ac_ext 
    9541 cat >>conftest.$ac_ext <<_ACEOF 
    9542 /* end confdefs.h.  */ 
    9543 #include <winsock.h> 
    9544 _ACEOF 
    9545 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9546 case "(($ac_try" in 
    9547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9548   *) ac_try_echo=$ac_try;; 
    9549 esac 
    9550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9551   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9552   ac_status=$? 
    9553   grep -v '^ *+' conftest.er1 >conftest.err 
    9554   rm -f conftest.er1 
    9555   cat conftest.err >&5 
    9556   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9557   (exit $ac_status); } >/dev/null && { 
    9558          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9559          test ! -s conftest.err 
    9560        }; then 
    9561   ac_header_preproc=yes 
    9562 else 
    9563   echo "$as_me: failed program was:" >&5 
    9564 sed 's/^/| /' conftest.$ac_ext >&5 
    9565  
    9566   ac_header_preproc=no 
    9567 fi 
    9568  
    9569 rm -f conftest.err conftest.$ac_ext 
    9570 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9571 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9572  
    9573 # So?  What about this header? 
    9574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9575   yes:no: ) 
    9576     { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9577 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9578     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    9579 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    9580     ac_header_preproc=yes 
    9581     ;; 
    9582   no:yes:* ) 
    9583     { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    9584 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    9585     { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    9586 echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    9587     { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    9588 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    9589     { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9590 echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9591     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    9592 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    9593     { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    9594 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    9595  
    9596     ;; 
    9597 esac 
    9598 { echo "$as_me:$LINENO: checking for winsock.h" >&5 
    9599 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 
    9600 if test "${ac_cv_header_winsock_h+set}" = set; then 
    9601   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9602 else 
    9603   ac_cv_header_winsock_h=$ac_header_preproc 
    9604 fi 
    9605 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    9606 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 
    9607  
    9608 fi 
    9609 if test $ac_cv_header_winsock_h = yes; then 
    9610   cat >>confdefs.h <<\_ACEOF 
    9611 #define PJ_HAS_WINSOCK_H 1 
    9612 _ACEOF 
    9613  
    9614 fi 
    9615  
    9616  
    9617 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9618   { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9619 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9620 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9621   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9622 fi 
    9623 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9624 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9625 else 
    9626   # Is the header compilable? 
    9627 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    9628 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 
    9629 cat >conftest.$ac_ext <<_ACEOF 
    9630 /* confdefs.h.  */ 
    9631 _ACEOF 
    9632 cat confdefs.h >>conftest.$ac_ext 
    9633 cat >>conftest.$ac_ext <<_ACEOF 
    9634 /* end confdefs.h.  */ 
    9635 $ac_includes_default 
    9636 #include <winsock2.h> 
    9637 _ACEOF 
    9638 rm -f conftest.$ac_objext 
    9639 if { (ac_try="$ac_compile" 
    9640 case "(($ac_try" in 
    9641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9642   *) ac_try_echo=$ac_try;; 
    9643 esac 
    9644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9645   (eval "$ac_compile") 2>conftest.er1 
    9646   ac_status=$? 
    9647   grep -v '^ *+' conftest.er1 >conftest.err 
    9648   rm -f conftest.er1 
    9649   cat conftest.err >&5 
    9650   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9651   (exit $ac_status); } && { 
    9652          test -z "$ac_c_werror_flag" || 
    9653          test ! -s conftest.err 
    9654        } && test -s conftest.$ac_objext; then 
    9655   ac_header_compiler=yes 
    9656 else 
    9657   echo "$as_me: failed program was:" >&5 
    9658 sed 's/^/| /' conftest.$ac_ext >&5 
    9659  
    9660         ac_header_compiler=no 
    9661 fi 
    9662  
    9663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9664 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9665 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9666  
    9667 # Is the header present? 
    9668 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    9669 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 
    9670 cat >conftest.$ac_ext <<_ACEOF 
    9671 /* confdefs.h.  */ 
    9672 _ACEOF 
    9673 cat confdefs.h >>conftest.$ac_ext 
    9674 cat >>conftest.$ac_ext <<_ACEOF 
    9675 /* end confdefs.h.  */ 
    9676 #include <winsock2.h> 
    9677 _ACEOF 
    9678 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9679 case "(($ac_try" in 
    9680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9681   *) ac_try_echo=$ac_try;; 
    9682 esac 
    9683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9684   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9685   ac_status=$? 
    9686   grep -v '^ *+' conftest.er1 >conftest.err 
    9687   rm -f conftest.er1 
    9688   cat conftest.err >&5 
    9689   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9690   (exit $ac_status); } >/dev/null && { 
    9691          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9692          test ! -s conftest.err 
    9693        }; then 
    9694   ac_header_preproc=yes 
    9695 else 
    9696   echo "$as_me: failed program was:" >&5 
    9697 sed 's/^/| /' conftest.$ac_ext >&5 
    9698  
    9699   ac_header_preproc=no 
    9700 fi 
    9701  
    9702 rm -f conftest.err conftest.$ac_ext 
    9703 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9704 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9705  
    9706 # So?  What about this header? 
    9707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9708   yes:no: ) 
    9709     { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9710 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9711     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    9712 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    9713     ac_header_preproc=yes 
    9714     ;; 
    9715   no:yes:* ) 
    9716     { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    9717 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    9718     { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    9719 echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    9720     { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    9721 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    9722     { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9723 echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9724     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    9725 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    9726     { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    9727 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    9728  
    9729     ;; 
    9730 esac 
    9731 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    9732 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 
    9733 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    9734   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9735 else 
    9736   ac_cv_header_winsock2_h=$ac_header_preproc 
    9737 fi 
    9738 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    9739 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 
    9740  
    9741 fi 
    9742 if test $ac_cv_header_winsock2_h = yes; then 
    9743   cat >>confdefs.h <<\_ACEOF 
    9744 #define PJ_HAS_WINSOCK2_H 1 
    9745 _ACEOF 
    9746  
    9747 fi 
    9748  
    9749  
    9750 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    9751 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 
    9752 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    9753   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9754 else 
    9755   cat >conftest.$ac_ext <<_ACEOF 
    9756 /* confdefs.h.  */ 
    9757 _ACEOF 
    9758 cat confdefs.h >>conftest.$ac_ext 
    9759 cat >>conftest.$ac_ext <<_ACEOF 
    9760 /* end confdefs.h.  */ 
    9761 #if PJ_HAS_WINSOCK2_H 
     4790" 
     4791if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 
     4792  $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 
     4793 
     4794fi 
     4795 
     4796 
     4797ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 
     4798if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 
     4799  $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 
     4800 
     4801fi 
     4802 
     4803 
     4804ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 
     4805if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 
     4806  ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 
     4807if test "x$ac_cv_func_getifaddrs" = x""yes; then : 
     4808  $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 
     4809 
     4810fi 
     4811 
     4812fi 
     4813 
     4814 
     4815ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 
     4816if test "x$ac_cv_header_semaphore_h" = x""yes; then : 
     4817  $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 
     4818 
     4819fi 
     4820 
     4821 
     4822ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 
     4823if test "x$ac_cv_header_setjmp_h" = x""yes; then : 
     4824  $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 
     4825 
     4826fi 
     4827 
     4828 
     4829ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 
     4830if test "x$ac_cv_header_stdarg_h" = x""yes; then : 
     4831  $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 
     4832 
     4833fi 
     4834 
     4835 
     4836ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 
     4837if test "x$ac_cv_header_stddef_h" = x""yes; then : 
     4838  $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 
     4839 
     4840fi 
     4841 
     4842 
     4843ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 
     4844if test "x$ac_cv_header_stdio_h" = x""yes; then : 
     4845  $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 
     4846 
     4847fi 
     4848 
     4849 
     4850ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 
     4851if test "x$ac_cv_header_stdint_h" = x""yes; then : 
     4852  $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 
     4853 
     4854fi 
     4855 
     4856 
     4857ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 
     4858if test "x$ac_cv_header_stdlib_h" = x""yes; then : 
     4859  $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 
     4860 
     4861fi 
     4862 
     4863 
     4864ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 
     4865if test "x$ac_cv_header_string_h" = x""yes; then : 
     4866  $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 
     4867 
     4868fi 
     4869 
     4870 
     4871ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 
     4872if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 
     4873  $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 
     4874 
     4875fi 
     4876 
     4877 
     4878ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 
     4879if test "x$ac_cv_header_sys_select_h" = x""yes; then : 
     4880  $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 
     4881 
     4882fi 
     4883 
     4884 
     4885ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 
     4886if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 
     4887  $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 
     4888 
     4889fi 
     4890 
     4891 
     4892ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 
     4893if test "x$ac_cv_header_sys_time_h" = x""yes; then : 
     4894  $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 
     4895 
     4896fi 
     4897 
     4898 
     4899ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 
     4900if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 
     4901  $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 
     4902 
     4903fi 
     4904 
     4905 
     4906ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 
     4907if test "x$ac_cv_header_sys_types_h" = x""yes; then : 
     4908  $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 
     4909 
     4910fi 
     4911 
     4912 
     4913ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 
     4914if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 
     4915  $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 
     4916 
     4917fi 
     4918 
     4919 
     4920ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 
     4921if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 
     4922  $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 
     4923 
     4924fi 
     4925 
     4926 
     4927ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 
     4928if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 
     4929  $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 
     4930 
     4931fi 
     4932 
     4933 
     4934ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 
     4935if test "x$ac_cv_header_time_h" = x""yes; then : 
     4936  $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 
     4937 
     4938fi 
     4939 
     4940 
     4941ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 
     4942if test "x$ac_cv_header_unistd_h" = x""yes; then : 
     4943  $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 
     4944 
     4945fi 
     4946 
     4947 
     4948ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 
     4949if test "x$ac_cv_header_winsock_h" = x""yes; then : 
     4950  $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 
     4951 
     4952fi 
     4953 
     4954 
     4955ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 
     4956if test "x$ac_cv_header_winsock2_h" = x""yes; then : 
     4957  $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 
     4958 
     4959fi 
     4960 
     4961 
     4962ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 
    97624963                  #     include <winsock2.h> 
    97634964                  #elif PJ_HAS_WINSOCK_H 
     
    97654966                  #endif 
    97664967 
    9767  
    9768 #include <mswsock.h> 
    9769 _ACEOF 
    9770 rm -f conftest.$ac_objext 
    9771 if { (ac_try="$ac_compile" 
    9772 case "(($ac_try" in 
    9773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9774   *) ac_try_echo=$ac_try;; 
    9775 esac 
    9776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9777   (eval "$ac_compile") 2>conftest.er1 
    9778   ac_status=$? 
    9779   grep -v '^ *+' conftest.er1 >conftest.err 
    9780   rm -f conftest.er1 
    9781   cat conftest.err >&5 
    9782   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9783   (exit $ac_status); } && { 
    9784          test -z "$ac_c_werror_flag" || 
    9785          test ! -s conftest.err 
    9786        } && test -s conftest.$ac_objext; then 
    9787   ac_cv_header_mswsock_h=yes 
    9788 else 
    9789   echo "$as_me: failed program was:" >&5 
    9790 sed 's/^/| /' conftest.$ac_ext >&5 
    9791  
    9792         ac_cv_header_mswsock_h=no 
    9793 fi 
    9794  
    9795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9796 fi 
    9797 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    9798 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 
    9799 if test $ac_cv_header_mswsock_h = yes; then 
    9800   cat >>confdefs.h <<\_ACEOF 
    9801 #define PJ_HAS_MSWSOCK_H 1 
    9802 _ACEOF 
    9803  
    9804 fi 
    9805  
    9806  
    9807 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9808   { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9809 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9810 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9811   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9812 fi 
    9813 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9814 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9815 else 
    9816   # Is the header compilable? 
    9817 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 
    9818 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 
    9819 cat >conftest.$ac_ext <<_ACEOF 
    9820 /* confdefs.h.  */ 
    9821 _ACEOF 
    9822 cat confdefs.h >>conftest.$ac_ext 
    9823 cat >>conftest.$ac_ext <<_ACEOF 
    9824 /* end confdefs.h.  */ 
    9825 $ac_includes_default 
    9826 #include <ws2tcpip.h> 
    9827 _ACEOF 
    9828 rm -f conftest.$ac_objext 
    9829 if { (ac_try="$ac_compile" 
    9830 case "(($ac_try" in 
    9831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9832   *) ac_try_echo=$ac_try;; 
    9833 esac 
    9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9835   (eval "$ac_compile") 2>conftest.er1 
    9836   ac_status=$? 
    9837   grep -v '^ *+' conftest.er1 >conftest.err 
    9838   rm -f conftest.er1 
    9839   cat conftest.err >&5 
    9840   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9841   (exit $ac_status); } && { 
    9842          test -z "$ac_c_werror_flag" || 
    9843          test ! -s conftest.err 
    9844        } && test -s conftest.$ac_objext; then 
    9845   ac_header_compiler=yes 
    9846 else 
    9847   echo "$as_me: failed program was:" >&5 
    9848 sed 's/^/| /' conftest.$ac_ext >&5 
    9849  
    9850         ac_header_compiler=no 
    9851 fi 
    9852  
    9853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9854 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9855 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9856  
    9857 # Is the header present? 
    9858 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 
    9859 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 
    9860 cat >conftest.$ac_ext <<_ACEOF 
    9861 /* confdefs.h.  */ 
    9862 _ACEOF 
    9863 cat confdefs.h >>conftest.$ac_ext 
    9864 cat >>conftest.$ac_ext <<_ACEOF 
    9865 /* end confdefs.h.  */ 
    9866 #include <ws2tcpip.h> 
    9867 _ACEOF 
    9868 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    9869 case "(($ac_try" in 
    9870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9871   *) ac_try_echo=$ac_try;; 
    9872 esac 
    9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9874   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    9875   ac_status=$? 
    9876   grep -v '^ *+' conftest.er1 >conftest.err 
    9877   rm -f conftest.er1 
    9878   cat conftest.err >&5 
    9879   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9880   (exit $ac_status); } >/dev/null && { 
    9881          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    9882          test ! -s conftest.err 
    9883        }; then 
    9884   ac_header_preproc=yes 
    9885 else 
    9886   echo "$as_me: failed program was:" >&5 
    9887 sed 's/^/| /' conftest.$ac_ext >&5 
    9888  
    9889   ac_header_preproc=no 
    9890 fi 
    9891  
    9892 rm -f conftest.err conftest.$ac_ext 
    9893 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    9894 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    9895  
    9896 # So?  What about this header? 
    9897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    9898   yes:no: ) 
    9899     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    9900 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    9901     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 
    9902 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 
    9903     ac_header_preproc=yes 
    9904     ;; 
    9905   no:yes:* ) 
    9906     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 
    9907 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 
    9908     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&5 
    9909 echo "$as_me: WARNING: ws2tcpip.h:     check for missing prerequisite headers?" >&2;} 
    9910     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 
    9911 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 
    9912     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&5 
    9913 echo "$as_me: WARNING: ws2tcpip.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    9914     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 
    9915 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 
    9916     { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 
    9917 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 
    9918  
    9919     ;; 
    9920 esac 
    9921 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 
    9922 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 
    9923 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 
    9924   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9925 else 
    9926   ac_cv_header_ws2tcpip_h=$ac_header_preproc 
    9927 fi 
    9928 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 
    9929 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 
    9930  
    9931 fi 
    9932 if test $ac_cv_header_ws2tcpip_h = yes; then 
    9933   cat >>confdefs.h <<\_ACEOF 
    9934 #define PJ_HAS_WS2TCPIP_H 1 
    9935 _ACEOF 
    9936  
    9937 fi 
    9938  
    9939  
    9940 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9941   { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    9942 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    9943 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    9944   echo $ECHO_N "(cached) $ECHO_C" >&6 
    9945 fi 
    9946 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    9947 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    9948 else 
    9949   # Is the header compilable? 
    9950 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 
    9951 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 
    9952 cat >conftest.$ac_ext <<_ACEOF 
    9953 /* confdefs.h.  */ 
    9954 _ACEOF 
    9955 cat confdefs.h >>conftest.$ac_ext 
    9956 cat >>conftest.$ac_ext <<_ACEOF 
    9957 /* end confdefs.h.  */ 
    9958 $ac_includes_default 
    9959 #include <uuid/uuid.h> 
    9960 _ACEOF 
    9961 rm -f conftest.$ac_objext 
    9962 if { (ac_try="$ac_compile" 
    9963 case "(($ac_try" in 
    9964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    9965   *) ac_try_echo=$ac_try;; 
    9966 esac 
    9967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    9968   (eval "$ac_compile") 2>conftest.er1 
    9969   ac_status=$? 
    9970   grep -v '^ *+' conftest.er1 >conftest.err 
    9971   rm -f conftest.er1 
    9972   cat conftest.err >&5 
    9973   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    9974   (exit $ac_status); } && { 
    9975          test -z "$ac_c_werror_flag" || 
    9976          test ! -s conftest.err 
    9977        } && test -s conftest.$ac_objext; then 
    9978   ac_header_compiler=yes 
    9979 else 
    9980   echo "$as_me: failed program was:" >&5 
    9981 sed 's/^/| /' conftest.$ac_ext >&5 
    9982  
    9983         ac_header_compiler=no 
    9984 fi 
    9985  
    9986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    9987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    9988 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    9989  
    9990 # Is the header present? 
    9991 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 
    9992 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 
    9993 cat >conftest.$ac_ext <<_ACEOF 
    9994 /* confdefs.h.  */ 
    9995 _ACEOF 
    9996 cat confdefs.h >>conftest.$ac_ext 
    9997 cat >>conftest.$ac_ext <<_ACEOF 
    9998 /* end confdefs.h.  */ 
    9999 #include <uuid/uuid.h> 
    10000 _ACEOF 
    10001 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    10002 case "(($ac_try" in 
    10003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10004   *) ac_try_echo=$ac_try;; 
    10005 esac 
    10006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10007   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    10008   ac_status=$? 
    10009   grep -v '^ *+' conftest.er1 >conftest.err 
    10010   rm -f conftest.er1 
    10011   cat conftest.err >&5 
    10012   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10013   (exit $ac_status); } >/dev/null && { 
    10014          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    10015          test ! -s conftest.err 
    10016        }; then 
    10017   ac_header_preproc=yes 
    10018 else 
    10019   echo "$as_me: failed program was:" >&5 
    10020 sed 's/^/| /' conftest.$ac_ext >&5 
    10021  
    10022   ac_header_preproc=no 
    10023 fi 
    10024  
    10025 rm -f conftest.err conftest.$ac_ext 
    10026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    10027 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    10028  
    10029 # So?  What about this header? 
    10030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    10031   yes:no: ) 
    10032     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    10033 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    10034     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 
    10035 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 
    10036     ac_header_preproc=yes 
    10037     ;; 
    10038   no:yes:* ) 
    10039     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 
    10040 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 
    10041     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&5 
    10042 echo "$as_me: WARNING: uuid/uuid.h:     check for missing prerequisite headers?" >&2;} 
    10043     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 
    10044 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 
    10045     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&5 
    10046 echo "$as_me: WARNING: uuid/uuid.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    10047     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 
    10048 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 
    10049     { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 
    10050 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 
    10051  
    10052     ;; 
    10053 esac 
    10054 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 
    10055 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 
    10056 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 
    10057   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10058 else 
    10059   ac_cv_header_uuid_uuid_h=$ac_header_preproc 
    10060 fi 
    10061 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 
    10062 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 
    10063  
    10064 fi 
    10065 if test $ac_cv_header_uuid_uuid_h = yes; then 
     4968" 
     4969if test "x$ac_cv_header_mswsock_h" = x""yes; then : 
     4970  $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 
     4971 
     4972fi 
     4973 
     4974 
     4975ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 
     4976if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 
     4977  $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 
     4978 
     4979fi 
     4980 
     4981 
     4982ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 
     4983if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 
    100664984  ac_has_uuid_h=1 
    100674985fi 
    100684986 
    100694987 
    10070 { echo "$as_me:$LINENO: checking for net/if.h" >&5 
    10071 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 
    10072 if test "${ac_cv_header_net_if_h+set}" = set; then 
    10073   echo $ECHO_N "(cached) $ECHO_C" >&6 
    10074 else 
    10075   cat >conftest.$ac_ext <<_ACEOF 
    10076 /* confdefs.h.  */ 
    10077 _ACEOF 
    10078 cat confdefs.h >>conftest.$ac_ext 
    10079 cat >>conftest.$ac_ext <<_ACEOF 
    10080 /* end confdefs.h.  */ 
    10081 #if PJ_HAS_SYS_TYPES_H 
     4988ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 
    100824989                  #     include <sys/types.h> 
    100834990                  #endif 
     
    100874994                  #endif 
    100884995 
    10089  
    10090 #include <net/if.h> 
    10091 _ACEOF 
    10092 rm -f conftest.$ac_objext 
    10093 if { (ac_try="$ac_compile" 
    10094 case "(($ac_try" in 
    10095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10096   *) ac_try_echo=$ac_try;; 
    10097 esac 
    10098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10099   (eval "$ac_compile") 2>conftest.er1 
    10100   ac_status=$? 
    10101   grep -v '^ *+' conftest.er1 >conftest.err 
    10102   rm -f conftest.er1 
    10103   cat conftest.err >&5 
    10104   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10105   (exit $ac_status); } && { 
    10106          test -z "$ac_c_werror_flag" || 
    10107          test ! -s conftest.err 
    10108        } && test -s conftest.$ac_objext; then 
    10109   ac_cv_header_net_if_h=yes 
    10110 else 
    10111   echo "$as_me: failed program was:" >&5 
    10112 sed 's/^/| /' conftest.$ac_ext >&5 
    10113  
    10114         ac_cv_header_net_if_h=no 
    10115 fi 
    10116  
    10117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    10118 fi 
    10119 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 
    10120 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 
    10121 if test $ac_cv_header_net_if_h = yes; then 
    10122   cat >>confdefs.h <<\_ACEOF 
    10123 #define PJ_HAS_NET_IF_H 1 
    10124 _ACEOF 
    10125  
    10126 fi 
    10127  
    10128  
    10129 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    10130 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 
     4996" 
     4997if test "x$ac_cv_header_net_if_h" = x""yes; then : 
     4998  $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 
     4999 
     5000fi 
     5001 
     5002 
     5003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 
     5004$as_echo "Setting PJ_OS_NAME to $target" >&6; } 
    101315005cat >>confdefs.h <<_ACEOF 
    101325006#define PJ_OS_NAME "$target" 
     
    101345008 
    101355009 
    10136 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    10137 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
    10138 cat >>confdefs.h <<\_ACEOF 
    10139 #define PJ_HAS_ERRNO_VAR 1 
    10140 _ACEOF 
    10141  
    10142  
    10143 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    10144 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
    10145 cat >>confdefs.h <<\_ACEOF 
    10146 #define PJ_HAS_HIGH_RES_TIMER 1 
    10147 _ACEOF 
    10148  
    10149  
    10150 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    10151 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 
    10152 cat >>confdefs.h <<\_ACEOF 
    10153 #define PJ_HAS_MALLOC 1 
    10154 _ACEOF 
    10155  
    10156  
    10157 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    10158 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
    10159 cat >>confdefs.h <<\_ACEOF 
    10160 #define PJ_NATIVE_STRING_IS_UNICODE 0 
    10161 _ACEOF 
    10162  
    10163  
    10164 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    10165 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
    10166 cat >>confdefs.h <<\_ACEOF 
    10167 #define PJ_ATOMIC_VALUE_TYPE long 
    10168 _ACEOF 
    10169  
    10170  
    10171 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 
    10172 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 
    10173 cat >conftest.$ac_ext <<_ACEOF 
    10174 /* confdefs.h.  */ 
    10175 _ACEOF 
    10176 cat confdefs.h >>conftest.$ac_ext 
    10177 cat >>conftest.$ac_ext <<_ACEOF 
     5010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     5011$as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 
     5012$as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 
     5013 
     5014 
     5015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     5016$as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 
     5017$as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 
     5018 
     5019 
     5020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 
     5021$as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 
     5022$as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 
     5023 
     5024 
     5025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     5026$as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 
     5027$as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 
     5028 
     5029 
     5030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     5031$as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 
     5032$as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 
     5033 
     5034 
     5035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 
     5036$as_echo_n "checking if inet_aton() is available... " >&6; } 
     5037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    101785038/* end confdefs.h.  */ 
    101795039#include <sys/types.h> 
     
    101885048} 
    101895049_ACEOF 
    10190 rm -f conftest.$ac_objext 
    10191 if { (ac_try="$ac_compile" 
    10192 case "(($ac_try" in 
    10193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10194   *) ac_try_echo=$ac_try;; 
    10195 esac 
    10196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10197   (eval "$ac_compile") 2>conftest.er1 
    10198   ac_status=$? 
    10199   grep -v '^ *+' conftest.er1 >conftest.err 
    10200   rm -f conftest.er1 
    10201   cat conftest.err >&5 
    10202   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10203   (exit $ac_status); } && { 
    10204          test -z "$ac_c_werror_flag" || 
    10205          test ! -s conftest.err 
    10206        } && test -s conftest.$ac_objext; then 
    10207   cat >>confdefs.h <<\_ACEOF 
    10208 #define PJ_SOCK_HAS_INET_ATON 1 
    10209 _ACEOF 
    10210  
    10211                    { echo "$as_me:$LINENO: result: yes" >&5 
    10212 echo "${ECHO_T}yes" >&6; } 
    10213 else 
    10214   echo "$as_me: failed program was:" >&5 
    10215 sed 's/^/| /' conftest.$ac_ext >&5 
    10216  
    10217         { echo "$as_me:$LINENO: result: no" >&5 
    10218 echo "${ECHO_T}no" >&6; } 
    10219 fi 
    10220  
     5050if ac_fn_c_try_compile "$LINENO"; then : 
     5051  $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 
     5052 
     5053                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5054$as_echo "yes" >&6; } 
     5055else 
     5056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5057$as_echo "no" >&6; } 
     5058fi 
    102215059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102225060 
    10223 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 
    10224 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 
    10225 cat >conftest.$ac_ext <<_ACEOF 
    10226 /* confdefs.h.  */ 
    10227 _ACEOF 
    10228 cat confdefs.h >>conftest.$ac_ext 
    10229 cat >>conftest.$ac_ext <<_ACEOF 
     5061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 
     5062$as_echo_n "checking if inet_pton() is available... " >&6; } 
     5063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102305064/* end confdefs.h.  */ 
    102315065#include <sys/types.h> 
     
    102405074} 
    102415075_ACEOF 
    10242 rm -f conftest.$ac_objext 
    10243 if { (ac_try="$ac_compile" 
    10244 case "(($ac_try" in 
    10245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10246   *) ac_try_echo=$ac_try;; 
    10247 esac 
    10248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10249   (eval "$ac_compile") 2>conftest.er1 
    10250   ac_status=$? 
    10251   grep -v '^ *+' conftest.er1 >conftest.err 
    10252   rm -f conftest.er1 
    10253   cat conftest.err >&5 
    10254   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10255   (exit $ac_status); } && { 
    10256          test -z "$ac_c_werror_flag" || 
    10257          test ! -s conftest.err 
    10258        } && test -s conftest.$ac_objext; then 
    10259   cat >>confdefs.h <<\_ACEOF 
    10260 #define PJ_SOCK_HAS_INET_PTON 1 
    10261 _ACEOF 
    10262  
    10263                    { echo "$as_me:$LINENO: result: yes" >&5 
    10264 echo "${ECHO_T}yes" >&6; } 
    10265 else 
    10266   echo "$as_me: failed program was:" >&5 
    10267 sed 's/^/| /' conftest.$ac_ext >&5 
    10268  
    10269         { echo "$as_me:$LINENO: result: no" >&5 
    10270 echo "${ECHO_T}no" >&6; } 
    10271 fi 
    10272  
     5076if ac_fn_c_try_compile "$LINENO"; then : 
     5077  $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 
     5078 
     5079                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5080$as_echo "yes" >&6; } 
     5081else 
     5082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5083$as_echo "no" >&6; } 
     5084fi 
    102735085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    102745086 
    10275 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 
    10276 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 
    10277 cat >conftest.$ac_ext <<_ACEOF 
    10278 /* confdefs.h.  */ 
    10279 _ACEOF 
    10280 cat confdefs.h >>conftest.$ac_ext 
    10281 cat >>conftest.$ac_ext <<_ACEOF 
     5087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 
     5088$as_echo_n "checking if inet_ntop() is available... " >&6; } 
     5089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    102825090/* end confdefs.h.  */ 
    102835091#include <sys/types.h> 
     
    102925100} 
    102935101_ACEOF 
    10294 rm -f conftest.$ac_objext 
    10295 if { (ac_try="$ac_compile" 
    10296 case "(($ac_try" in 
    10297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10298   *) ac_try_echo=$ac_try;; 
    10299 esac 
    10300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10301   (eval "$ac_compile") 2>conftest.er1 
    10302   ac_status=$? 
    10303   grep -v '^ *+' conftest.er1 >conftest.err 
    10304   rm -f conftest.er1 
    10305   cat conftest.err >&5 
    10306   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10307   (exit $ac_status); } && { 
    10308          test -z "$ac_c_werror_flag" || 
    10309          test ! -s conftest.err 
    10310        } && test -s conftest.$ac_objext; then 
    10311   cat >>confdefs.h <<\_ACEOF 
    10312 #define PJ_SOCK_HAS_INET_NTOP 1 
    10313 _ACEOF 
    10314  
    10315                    { echo "$as_me:$LINENO: result: yes" >&5 
    10316 echo "${ECHO_T}yes" >&6; } 
    10317 else 
    10318   echo "$as_me: failed program was:" >&5 
    10319 sed 's/^/| /' conftest.$ac_ext >&5 
    10320  
    10321         { echo "$as_me:$LINENO: result: no" >&5 
    10322 echo "${ECHO_T}no" >&6; } 
    10323 fi 
    10324  
     5102if ac_fn_c_try_compile "$LINENO"; then : 
     5103  $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 
     5104 
     5105                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5106$as_echo "yes" >&6; } 
     5107else 
     5108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5109$as_echo "no" >&6; } 
     5110fi 
    103255111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103265112 
    10327 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 
    10328 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 
    10329 cat >conftest.$ac_ext <<_ACEOF 
    10330 /* confdefs.h.  */ 
    10331 _ACEOF 
    10332 cat confdefs.h >>conftest.$ac_ext 
    10333 cat >>conftest.$ac_ext <<_ACEOF 
     5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 
     5114$as_echo_n "checking if getaddrinfo() is available... " >&6; } 
     5115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103345116/* end confdefs.h.  */ 
    103355117#include <sys/types.h> 
     
    103445126} 
    103455127_ACEOF 
    10346 rm -f conftest.$ac_objext 
    10347 if { (ac_try="$ac_compile" 
    10348 case "(($ac_try" in 
    10349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10350   *) ac_try_echo=$ac_try;; 
    10351 esac 
    10352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10353   (eval "$ac_compile") 2>conftest.er1 
    10354   ac_status=$? 
    10355   grep -v '^ *+' conftest.er1 >conftest.err 
    10356   rm -f conftest.er1 
    10357   cat conftest.err >&5 
    10358   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10359   (exit $ac_status); } && { 
    10360          test -z "$ac_c_werror_flag" || 
    10361          test ! -s conftest.err 
    10362        } && test -s conftest.$ac_objext; then 
    10363   cat >>confdefs.h <<\_ACEOF 
    10364 #define PJ_SOCK_HAS_GETADDRINFO 1 
    10365 _ACEOF 
    10366  
    10367                    { echo "$as_me:$LINENO: result: yes" >&5 
    10368 echo "${ECHO_T}yes" >&6; } 
    10369 else 
    10370   echo "$as_me: failed program was:" >&5 
    10371 sed 's/^/| /' conftest.$ac_ext >&5 
    10372  
    10373         { echo "$as_me:$LINENO: result: no" >&5 
    10374 echo "${ECHO_T}no" >&6; } 
    10375 fi 
    10376  
     5128if ac_fn_c_try_compile "$LINENO"; then : 
     5129  $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 
     5130 
     5131                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5132$as_echo "yes" >&6; } 
     5133else 
     5134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5135$as_echo "no" >&6; } 
     5136fi 
    103775137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    103785138 
    10379 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    10380 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 
    10381 cat >conftest.$ac_ext <<_ACEOF 
    10382 /* confdefs.h.  */ 
    10383 _ACEOF 
    10384 cat confdefs.h >>conftest.$ac_ext 
    10385 cat >>conftest.$ac_ext <<_ACEOF 
     5139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 
     5140$as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 
     5141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    103865142/* end confdefs.h.  */ 
    103875143#include <sys/types.h> 
     
    103975153} 
    103985154_ACEOF 
    10399 rm -f conftest.$ac_objext 
    10400 if { (ac_try="$ac_compile" 
    10401 case "(($ac_try" in 
    10402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10403   *) ac_try_echo=$ac_try;; 
    10404 esac 
    10405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10406   (eval "$ac_compile") 2>conftest.er1 
    10407   ac_status=$? 
    10408   grep -v '^ *+' conftest.er1 >conftest.err 
    10409   rm -f conftest.er1 
    10410   cat conftest.err >&5 
    10411   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10412   (exit $ac_status); } && { 
    10413          test -z "$ac_c_werror_flag" || 
    10414          test ! -s conftest.err 
    10415        } && test -s conftest.$ac_objext; then 
    10416   cat >>confdefs.h <<\_ACEOF 
    10417 #define PJ_SOCKADDR_HAS_LEN 1 
    10418 _ACEOF 
    10419  
    10420                    { echo "$as_me:$LINENO: result: yes" >&5 
    10421 echo "${ECHO_T}yes" >&6; } 
    10422 else 
    10423   echo "$as_me: failed program was:" >&5 
    10424 sed 's/^/| /' conftest.$ac_ext >&5 
    10425  
    10426         { echo "$as_me:$LINENO: result: no" >&5 
    10427 echo "${ECHO_T}no" >&6; } 
    10428 fi 
    10429  
     5155if ac_fn_c_try_compile "$LINENO"; then : 
     5156  $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 
     5157 
     5158                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5159$as_echo "yes" >&6; } 
     5160else 
     5161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5162$as_echo "no" >&6; } 
     5163fi 
    104305164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104315165 
    10432 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    10433 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 
    10434 cat >conftest.$ac_ext <<_ACEOF 
    10435 /* confdefs.h.  */ 
    10436 _ACEOF 
    10437 cat confdefs.h >>conftest.$ac_ext 
    10438 cat >>conftest.$ac_ext <<_ACEOF 
     5166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 
     5167$as_echo_n "checking if socklen_t is available... " >&6; } 
     5168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    104395169/* end confdefs.h.  */ 
    104405170#include <sys/types.h> 
     
    104485178} 
    104495179_ACEOF 
    10450 rm -f conftest.$ac_objext 
    10451 if { (ac_try="$ac_compile" 
    10452 case "(($ac_try" in 
    10453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10454   *) ac_try_echo=$ac_try;; 
    10455 esac 
    10456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10457   (eval "$ac_compile") 2>conftest.er1 
    10458   ac_status=$? 
    10459   grep -v '^ *+' conftest.er1 >conftest.err 
    10460   rm -f conftest.er1 
    10461   cat conftest.err >&5 
    10462   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10463   (exit $ac_status); } && { 
    10464          test -z "$ac_c_werror_flag" || 
    10465          test ! -s conftest.err 
    10466        } && test -s conftest.$ac_objext; then 
    10467   cat >>confdefs.h <<\_ACEOF 
    10468 #define PJ_HAS_SOCKLEN_T 1 
    10469 _ACEOF 
    10470  
    10471                    { echo "$as_me:$LINENO: result: yes" >&5 
    10472 echo "${ECHO_T}yes" >&6; } 
    10473 else 
    10474   echo "$as_me: failed program was:" >&5 
    10475 sed 's/^/| /' conftest.$ac_ext >&5 
    10476  
    10477         { echo "$as_me:$LINENO: result: no" >&5 
    10478 echo "${ECHO_T}no" >&6; } 
    10479 fi 
    10480  
     5180if ac_fn_c_try_compile "$LINENO"; then : 
     5181  $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 
     5182 
     5183                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5184$as_echo "yes" >&6; } 
     5185else 
     5186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5187$as_echo "no" >&6; } 
     5188fi 
    104815189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    104825190 
    10483 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    10484 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 
     5191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 
     5192$as_echo_n "checking if SO_ERROR is available... " >&6; } 
    104855193case $target in 
    104865194    *mingw* | *cygw* | *win32* | *w32* ) 
    10487         cat >>confdefs.h <<\_ACEOF 
    10488 #define PJ_HAS_SO_ERROR 1 
    10489 _ACEOF 
    10490  
    10491         { echo "$as_me:$LINENO: result: yes" >&5 
    10492 echo "${ECHO_T}yes" >&6; } 
     5195        $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5196 
     5197        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5198$as_echo "yes" >&6; } 
    104935199        ;; 
    104945200    *) 
    10495         cat >conftest.$ac_ext <<_ACEOF 
    10496 /* confdefs.h.  */ 
    10497 _ACEOF 
    10498 cat confdefs.h >>conftest.$ac_ext 
    10499 cat >>conftest.$ac_ext <<_ACEOF 
     5201        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105005202/* end confdefs.h.  */ 
    105015203#include <sys/types.h> 
     
    105115213} 
    105125214_ACEOF 
    10513 rm -f conftest.$ac_objext 
    10514 if { (ac_try="$ac_compile" 
    10515 case "(($ac_try" in 
    10516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10517   *) ac_try_echo=$ac_try;; 
    10518 esac 
    10519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10520   (eval "$ac_compile") 2>conftest.er1 
    10521   ac_status=$? 
    10522   grep -v '^ *+' conftest.er1 >conftest.err 
    10523   rm -f conftest.er1 
    10524   cat conftest.err >&5 
    10525   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10526   (exit $ac_status); } && { 
    10527          test -z "$ac_c_werror_flag" || 
    10528          test ! -s conftest.err 
    10529        } && test -s conftest.$ac_objext; then 
    10530   cat >>confdefs.h <<\_ACEOF 
    10531 #define PJ_HAS_SO_ERROR 1 
    10532 _ACEOF 
    10533  
    10534                            { echo "$as_me:$LINENO: result: yes" >&5 
    10535 echo "${ECHO_T}yes" >&6; } 
    10536 else 
    10537   echo "$as_me: failed program was:" >&5 
    10538 sed 's/^/| /' conftest.$ac_ext >&5 
    10539  
    10540         { echo "$as_me:$LINENO: result: no" >&5 
    10541 echo "${ECHO_T}no" >&6; } 
    10542 fi 
    10543  
     5215if ac_fn_c_try_compile "$LINENO"; then : 
     5216  $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 
     5217 
     5218                           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5219$as_echo "yes" >&6; } 
     5220else 
     5221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5222$as_echo "no" >&6; } 
     5223fi 
    105445224rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    105455225        ;; 
     
    105475227 
    105485228 
    10549 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    10550 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 
    10551 cat >conftest.$ac_ext <<_ACEOF 
    10552 /* confdefs.h.  */ 
    10553 _ACEOF 
    10554 cat confdefs.h >>conftest.$ac_ext 
    10555 cat >>conftest.$ac_ext <<_ACEOF 
     5229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 
     5230$as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 
     5231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    105565232/* end confdefs.h.  */ 
    105575233#include <pthread.h> 
     
    105645240} 
    105655241_ACEOF 
    10566 rm -f conftest.$ac_objext 
    10567 if { (ac_try="$ac_compile" 
    10568 case "(($ac_try" in 
    10569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10570   *) ac_try_echo=$ac_try;; 
    10571 esac 
    10572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10573   (eval "$ac_compile") 2>conftest.er1 
    10574   ac_status=$? 
    10575   grep -v '^ *+' conftest.er1 >conftest.err 
    10576   rm -f conftest.er1 
    10577   cat conftest.err >&5 
    10578   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10579   (exit $ac_status); } && { 
    10580          test -z "$ac_c_werror_flag" || 
    10581          test ! -s conftest.err 
    10582        } && test -s conftest.$ac_objext; then 
    10583   cat >>confdefs.h <<\_ACEOF 
    10584 #define PJ_EMULATE_RWMUTEX 0 
    10585 _ACEOF 
     5242if ac_fn_c_try_compile "$LINENO"; then : 
     5243  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    105865244 
    105875245                   ac_rwmutex="yes" 
    10588                    { echo "$as_me:$LINENO: result: yes" >&5 
    10589 echo "${ECHO_T}yes" >&6; } 
    10590 else 
    10591   echo "$as_me: failed program was:" >&5 
    10592 sed 's/^/| /' conftest.$ac_ext >&5 
    10593  
    10594         cat >>confdefs.h <<\_ACEOF 
    10595 #define PJ_EMULATE_RWMUTEX 1 
    10596 _ACEOF 
     5246                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5247$as_echo "yes" >&6; } 
     5248else 
     5249  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
    105975250 
    105985251                   ac_rwmutex="no" 
    10599                    { echo "$as_me:$LINENO: result: no" >&5 
    10600 echo "${ECHO_T}no" >&6; } 
    10601 fi 
    10602  
     5252                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5253$as_echo "no" >&6; } 
     5254fi 
    106035255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106045256 
    106055257if test "$ac_rwmutex" = "no"; then 
    10606     { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
    10607 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 
    10608     cat >conftest.$ac_ext <<_ACEOF 
    10609 /* confdefs.h.  */ 
    10610 _ACEOF 
    10611 cat confdefs.h >>conftest.$ac_ext 
    10612 cat >>conftest.$ac_ext <<_ACEOF 
     5258    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 
     5259$as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 
     5260    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106135261/* end confdefs.h.  */ 
    106145262#define _POSIX_READER_WRITER_LOCKS 
     
    106225270} 
    106235271_ACEOF 
    10624 rm -f conftest.$ac_objext 
    10625 if { (ac_try="$ac_compile" 
    10626 case "(($ac_try" in 
    10627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10628   *) ac_try_echo=$ac_try;; 
    10629 esac 
    10630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10631   (eval "$ac_compile") 2>conftest.er1 
    10632   ac_status=$? 
    10633   grep -v '^ *+' conftest.er1 >conftest.err 
    10634   rm -f conftest.er1 
    10635   cat conftest.err >&5 
    10636   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10637   (exit $ac_status); } && { 
    10638          test -z "$ac_c_werror_flag" || 
    10639          test ! -s conftest.err 
    10640        } && test -s conftest.$ac_objext; then 
    10641   cat >>confdefs.h <<\_ACEOF 
    10642 #define PJ_EMULATE_RWMUTEX 0 
    10643 _ACEOF 
     5272if ac_fn_c_try_compile "$LINENO"; then : 
     5273  $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 
    106445274 
    106455275                       CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 
    10646                        { echo "$as_me:$LINENO: result: yes" >&5 
    10647 echo "${ECHO_T}yes" >&6; } 
    10648 else 
    10649   echo "$as_me: failed program was:" >&5 
    10650 sed 's/^/| /' conftest.$ac_ext >&5 
    10651  
    10652         cat >>confdefs.h <<\_ACEOF 
    10653 #define PJ_EMULATE_RWMUTEX 1 
    10654 _ACEOF 
    10655  
    10656                        { echo "$as_me:$LINENO: result: no" >&5 
    10657 echo "${ECHO_T}no" >&6; } 
    10658 fi 
    10659  
     5276                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5277$as_echo "yes" >&6; } 
     5278else 
     5279  $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 
     5280 
     5281                       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5282$as_echo "no" >&6; } 
     5283fi 
    106605284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    106615285fi 
    106625286 
    10663 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 
    10664 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 
    10665 cat >conftest.$ac_ext <<_ACEOF 
    10666 /* confdefs.h.  */ 
    10667 _ACEOF 
    10668 cat confdefs.h >>conftest.$ac_ext 
    10669 cat >>conftest.$ac_ext <<_ACEOF 
     5287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 
     5288$as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 
     5289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    106705290/* end confdefs.h.  */ 
    106715291#include <pthread.h> 
     
    106785298} 
    106795299_ACEOF 
    10680 rm -f conftest.$ac_objext 
    10681 if { (ac_try="$ac_compile" 
    10682 case "(($ac_try" in 
    10683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10684   *) ac_try_echo=$ac_try;; 
    10685 esac 
    10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10687   (eval "$ac_compile") 2>conftest.er1 
    10688   ac_status=$? 
    10689   grep -v '^ *+' conftest.er1 >conftest.err 
    10690   rm -f conftest.er1 
    10691   cat conftest.err >&5 
    10692   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10693   (exit $ac_status); } && { 
    10694          test -z "$ac_c_werror_flag" || 
    10695          test ! -s conftest.err 
    10696        } && test -s conftest.$ac_objext; then 
    10697   cat >>confdefs.h <<\_ACEOF 
    10698 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 
    10699 _ACEOF 
    10700  
    10701                    { echo "$as_me:$LINENO: result: yes" >&5 
    10702 echo "${ECHO_T}yes" >&6; } 
    10703 else 
    10704   echo "$as_me: failed program was:" >&5 
    10705 sed 's/^/| /' conftest.$ac_ext >&5 
    10706  
    10707         { echo "$as_me:$LINENO: result: no" >&5 
    10708 echo "${ECHO_T}no" >&6; } 
    10709 fi 
    10710  
     5300if ac_fn_c_try_compile "$LINENO"; then : 
     5301  $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 
     5302 
     5303                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5304$as_echo "yes" >&6; } 
     5305else 
     5306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5307$as_echo "no" >&6; } 
     5308fi 
    107115309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107125310 
    10713 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 
    10714 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 
    10715 cat >conftest.$ac_ext <<_ACEOF 
    10716 /* confdefs.h.  */ 
    10717 _ACEOF 
    10718 cat confdefs.h >>conftest.$ac_ext 
    10719 cat >>conftest.$ac_ext <<_ACEOF 
     5311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 
     5312$as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 
     5313cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    107205314/* end confdefs.h.  */ 
    107215315#include <pthread.h> 
     
    107295323} 
    107305324_ACEOF 
    10731 rm -f conftest.$ac_objext 
    10732 if { (ac_try="$ac_compile" 
    10733 case "(($ac_try" in 
    10734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10735   *) ac_try_echo=$ac_try;; 
    10736 esac 
    10737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10738   (eval "$ac_compile") 2>conftest.er1 
    10739   ac_status=$? 
    10740   grep -v '^ *+' conftest.er1 >conftest.err 
    10741   rm -f conftest.er1 
    10742   cat conftest.err >&5 
    10743   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10744   (exit $ac_status); } && { 
    10745          test -z "$ac_c_werror_flag" || 
    10746          test ! -s conftest.err 
    10747        } && test -s conftest.$ac_objext; then 
    10748   cat >>confdefs.h <<\_ACEOF 
    10749 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 
    10750 _ACEOF 
    10751  
    10752                    { echo "$as_me:$LINENO: result: yes" >&5 
    10753 echo "${ECHO_T}yes" >&6; } 
    10754 else 
    10755   echo "$as_me: failed program was:" >&5 
    10756 sed 's/^/| /' conftest.$ac_ext >&5 
    10757  
    10758         { echo "$as_me:$LINENO: result: no" >&5 
    10759 echo "${ECHO_T}no" >&6; } 
    10760 fi 
    10761  
     5325if ac_fn_c_try_compile "$LINENO"; then : 
     5326  $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 
     5327 
     5328                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     5329$as_echo "yes" >&6; } 
     5330else 
     5331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5332$as_echo "no" >&6; } 
     5333fi 
    107625334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    107635335 
    107645336 
    10765 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 
    10766 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 
     5337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 
     5338$as_echo_n "checking ioqueue backend... " >&6; } 
    107675339# Check whether --enable-epoll was given. 
    10768 if test "${enable_epoll+set}" = set; then 
     5340if test "${enable_epoll+set}" = set; then : 
    107695341  enableval=$enable_epoll; 
    107705342                ac_os_objs=ioqueue_epoll.o 
    10771                 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 
    10772 echo "${ECHO_T}/dev/epoll" >&6; } 
     5343                { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 
     5344$as_echo "/dev/epoll" >&6; } 
    107735345 
    107745346else 
    107755347 
    107765348                ac_os_objs=ioqueue_select.o 
    10777                 { echo "$as_me:$LINENO: result: select()" >&5 
    10778 echo "${ECHO_T}select()" >&6; } 
     5349                { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 
     5350$as_echo "select()" >&6; } 
    107795351 
    107805352fi 
     
    108135385 
    108145386# Check whether --with-external-speex was given. 
    10815 if test "${with_external_speex+set}" = set; then 
     5387if test "${with_external_speex+set}" = set; then : 
    108165388  withval=$with_external_speex; 
    108175389        if test "x$with_external_speex" != "xno"; then 
    108185390                # Test Speex installation 
    10819                 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 
    10820 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 
    10821                 cat >conftest.$ac_ext <<_ACEOF 
    10822 /* confdefs.h.  */ 
    10823 _ACEOF 
    10824 cat confdefs.h >>conftest.$ac_ext 
    10825 cat >>conftest.$ac_ext <<_ACEOF 
     5391                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 
     5392$as_echo_n "checking if external Speex devkit is installed... " >&6; } 
     5393                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108265394/* end confdefs.h.  */ 
    108275395#include <speex/speex.h> 
     
    108365404} 
    108375405_ACEOF 
    10838 rm -f conftest.$ac_objext 
    10839 if { (ac_try="$ac_compile" 
    10840 case "(($ac_try" in 
    10841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10842   *) ac_try_echo=$ac_try;; 
    10843 esac 
    10844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10845   (eval "$ac_compile") 2>conftest.er1 
    10846   ac_status=$? 
    10847   grep -v '^ *+' conftest.er1 >conftest.err 
    10848   rm -f conftest.er1 
    10849   cat conftest.err >&5 
    10850   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10851   (exit $ac_status); } && { 
    10852          test -z "$ac_c_werror_flag" || 
    10853          test ! -s conftest.err 
    10854        } && test -s conftest.$ac_objext; then 
    10855   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10856 echo "${ECHO_T}yes!!" >&6; } 
    10857                                    cat >>confdefs.h <<\_ACEOF 
    10858 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 
    10859 _ACEOF 
     5406if ac_fn_c_try_compile "$LINENO"; then : 
     5407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5408$as_echo "yes!!" >&6; } 
     5409                                   $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 
    108605410 
    108615411                                   ac_external_speex="1" 
    108625412 
    108635413else 
    10864   echo "$as_me: failed program was:" >&5 
    10865 sed 's/^/| /' conftest.$ac_ext >&5 
    10866  
    10867         { { 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 
    10868 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;} 
    10869    { (exit 1); exit 1; }; } 
    10870 fi 
    10871  
     5414  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 
     5415fi 
    108725416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    108735417        fi 
     
    108815425 
    108825426# Check whether --with-external-gsm was given. 
    10883 if test "${with_external_gsm+set}" = set; then 
     5427if test "${with_external_gsm+set}" = set; then : 
    108845428  withval=$with_external_gsm; 
    108855429        if test "x$with_external_gsm" != "xno"; then 
    108865430                # Test GSM library installation 
    10887                 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
    10888 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 
    10889                 cat >conftest.$ac_ext <<_ACEOF 
    10890 /* confdefs.h.  */ 
    10891 _ACEOF 
    10892 cat confdefs.h >>conftest.$ac_ext 
    10893 cat >>conftest.$ac_ext <<_ACEOF 
     5431                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 
     5432$as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 
     5433                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    108945434/* end confdefs.h.  */ 
    108955435#include <gsm/gsm.h> 
     
    109025442} 
    109035443_ACEOF 
    10904 rm -f conftest.$ac_objext 
    10905 if { (ac_try="$ac_compile" 
    10906 case "(($ac_try" in 
    10907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10908   *) ac_try_echo=$ac_try;; 
    10909 esac 
    10910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10911   (eval "$ac_compile") 2>conftest.er1 
    10912   ac_status=$? 
    10913   grep -v '^ *+' conftest.er1 >conftest.err 
    10914   rm -f conftest.er1 
    10915   cat conftest.err >&5 
    10916   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10917   (exit $ac_status); } && { 
    10918          test -z "$ac_c_werror_flag" || 
    10919          test ! -s conftest.err 
    10920        } && test -s conftest.$ac_objext; then 
    10921   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10922 echo "${ECHO_T}yes!!" >&6; } 
    10923                      cat >>confdefs.h <<\_ACEOF 
    10924 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10925 _ACEOF 
    10926  
    10927                      cat >>confdefs.h <<\_ACEOF 
    10928 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 
    10929 _ACEOF 
     5444if ac_fn_c_try_compile "$LINENO"; then : 
     5445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5446$as_echo "yes!!" >&6; } 
     5447                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5448 
     5449                     $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 
    109305450 
    109315451                     ac_external_gsm="1" 
    109325452 
    109335453else 
    10934   echo "$as_me: failed program was:" >&5 
    10935 sed 's/^/| /' conftest.$ac_ext >&5 
    10936  
    10937  
    10938                      { echo "$as_me:$LINENO: result: no" >&5 
    10939 echo "${ECHO_T}no" >&6; } 
    10940                      { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 
    10941 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 
    10942                      cat >conftest.$ac_ext <<_ACEOF 
    10943 /* confdefs.h.  */ 
    10944 _ACEOF 
    10945 cat confdefs.h >>conftest.$ac_ext 
    10946 cat >>conftest.$ac_ext <<_ACEOF 
     5454 
     5455                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5456$as_echo "no" >&6; } 
     5457                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 
     5458$as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 
     5459                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    109475460/* end confdefs.h.  */ 
    109485461#include <gsm.h> 
     
    109555468} 
    109565469_ACEOF 
    10957 rm -f conftest.$ac_objext 
    10958 if { (ac_try="$ac_compile" 
    10959 case "(($ac_try" in 
    10960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    10961   *) ac_try_echo=$ac_try;; 
    10962 esac 
    10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    10964   (eval "$ac_compile") 2>conftest.er1 
    10965   ac_status=$? 
    10966   grep -v '^ *+' conftest.er1 >conftest.err 
    10967   rm -f conftest.er1 
    10968   cat conftest.err >&5 
    10969   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    10970   (exit $ac_status); } && { 
    10971          test -z "$ac_c_werror_flag" || 
    10972          test ! -s conftest.err 
    10973        } && test -s conftest.$ac_objext; then 
    10974   { echo "$as_me:$LINENO: result: yes!!" >&5 
    10975 echo "${ECHO_T}yes!!" >&6; } 
    10976                          cat >>confdefs.h <<\_ACEOF 
    10977 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 
    10978 _ACEOF 
    10979  
    10980                          cat >>confdefs.h <<\_ACEOF 
    10981 #define PJMEDIA_EXTERNAL_GSM_H 1 
    10982 _ACEOF 
     5470if ac_fn_c_try_compile "$LINENO"; then : 
     5471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5472$as_echo "yes!!" >&6; } 
     5473                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 
     5474 
     5475                         $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 
    109835476 
    109845477                         ac_external_gsm="1" 
    109855478 
    109865479else 
    10987   echo "$as_me: failed program was:" >&5 
    10988 sed 's/^/| /' conftest.$ac_ext >&5 
    10989  
    10990         { { 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 
    10991 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;} 
    10992    { (exit 1); exit 1; }; } 
    10993  
    10994  
    10995 fi 
    10996  
     5480  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 
     5481 
     5482 
     5483fi 
    109975484rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    109985485 
    109995486 
    110005487fi 
    11001  
    110025488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110035489        fi 
     
    110115497 
    110125498# Check whether --enable-sound was given. 
    11013 if test "${enable_sound+set}" = set; then 
     5499if test "${enable_sound+set}" = set; then : 
    110145500  enableval=$enable_sound; if test "$enable_sound" = "no"; then 
    110155501                ac_pjmedia_snd=null 
    11016                 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
    11017 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 
     5502                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 
     5503$as_echo "Checking if sound is disabled... yes" >&6; } 
    110185504               fi 
    110195505 
     
    110255511 
    110265512# Check whether --with-external-pa was given. 
    11027 if test "${with_external_pa+set}" = set; then 
     5513if test "${with_external_pa+set}" = set; then : 
    110285514  withval=$with_external_pa; 
    110295515        if test "x$with_external_pa" != "xno"; then 
    110305516                # Test PortAudio installation 
    11031                 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 
    11032 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 
    11033                 cat >conftest.$ac_ext <<_ACEOF 
    11034 /* confdefs.h.  */ 
    11035 _ACEOF 
    11036 cat confdefs.h >>conftest.$ac_ext 
    11037 cat >>conftest.$ac_ext <<_ACEOF 
     5517                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 
     5518$as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 
     5519                cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    110385520/* end confdefs.h.  */ 
    110395521#include <portaudio.h> 
     
    110475529} 
    110485530_ACEOF 
    11049 rm -f conftest.$ac_objext 
    11050 if { (ac_try="$ac_compile" 
    11051 case "(($ac_try" in 
    11052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11053   *) ac_try_echo=$ac_try;; 
    11054 esac 
    11055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11056   (eval "$ac_compile") 2>conftest.er1 
    11057   ac_status=$? 
    11058   grep -v '^ *+' conftest.er1 >conftest.err 
    11059   rm -f conftest.er1 
    11060   cat conftest.err >&5 
    11061   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11062   (exit $ac_status); } && { 
    11063          test -z "$ac_c_werror_flag" || 
    11064          test ! -s conftest.err 
    11065        } && test -s conftest.$ac_objext; then 
    11066   { echo "$as_me:$LINENO: result: yes!!" >&5 
    11067 echo "${ECHO_T}yes!!" >&6; } 
     5531if ac_fn_c_try_compile "$LINENO"; then : 
     5532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 
     5533$as_echo "yes!!" >&6; } 
    110685534                                   ac_external_pa="1" 
    110695535 
    110705536else 
    11071   echo "$as_me: failed program was:" >&5 
    11072 sed 's/^/| /' conftest.$ac_ext >&5 
    11073  
    11074         { { 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 
    11075 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;} 
    11076    { (exit 1); exit 1; }; } 
    11077 fi 
    11078  
     5537  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 
     5538fi 
    110795539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    110805540        fi 
     
    110855545 
    110865546 
    11087 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11088   { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11089 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11090 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11091   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11092 fi 
    11093 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11094 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11095 else 
    11096   # Is the header compilable? 
    11097 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 
    11098 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 
    11099 cat >conftest.$ac_ext <<_ACEOF 
    11100 /* confdefs.h.  */ 
    11101 _ACEOF 
    11102 cat confdefs.h >>conftest.$ac_ext 
    11103 cat >>conftest.$ac_ext <<_ACEOF 
    11104 /* end confdefs.h.  */ 
    11105 $ac_includes_default 
    11106 #include <sys/soundcard.h> 
    11107 _ACEOF 
    11108 rm -f conftest.$ac_objext 
    11109 if { (ac_try="$ac_compile" 
    11110 case "(($ac_try" in 
    11111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11112   *) ac_try_echo=$ac_try;; 
    11113 esac 
    11114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11115   (eval "$ac_compile") 2>conftest.er1 
    11116   ac_status=$? 
    11117   grep -v '^ *+' conftest.er1 >conftest.err 
    11118   rm -f conftest.er1 
    11119   cat conftest.err >&5 
    11120   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11121   (exit $ac_status); } && { 
    11122          test -z "$ac_c_werror_flag" || 
    11123          test ! -s conftest.err 
    11124        } && test -s conftest.$ac_objext; then 
    11125   ac_header_compiler=yes 
    11126 else 
    11127   echo "$as_me: failed program was:" >&5 
    11128 sed 's/^/| /' conftest.$ac_ext >&5 
    11129  
    11130         ac_header_compiler=no 
    11131 fi 
    11132  
    11133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11134 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11135 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11136  
    11137 # Is the header present? 
    11138 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 
    11139 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 
    11140 cat >conftest.$ac_ext <<_ACEOF 
    11141 /* confdefs.h.  */ 
    11142 _ACEOF 
    11143 cat confdefs.h >>conftest.$ac_ext 
    11144 cat >>conftest.$ac_ext <<_ACEOF 
    11145 /* end confdefs.h.  */ 
    11146 #include <sys/soundcard.h> 
    11147 _ACEOF 
    11148 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11149 case "(($ac_try" in 
    11150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11151   *) ac_try_echo=$ac_try;; 
    11152 esac 
    11153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11154   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11155   ac_status=$? 
    11156   grep -v '^ *+' conftest.er1 >conftest.err 
    11157   rm -f conftest.er1 
    11158   cat conftest.err >&5 
    11159   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11160   (exit $ac_status); } >/dev/null && { 
    11161          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11162          test ! -s conftest.err 
    11163        }; then 
    11164   ac_header_preproc=yes 
    11165 else 
    11166   echo "$as_me: failed program was:" >&5 
    11167 sed 's/^/| /' conftest.$ac_ext >&5 
    11168  
    11169   ac_header_preproc=no 
    11170 fi 
    11171  
    11172 rm -f conftest.err conftest.$ac_ext 
    11173 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11174 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11175  
    11176 # So?  What about this header? 
    11177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11178   yes:no: ) 
    11179     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11180 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11181     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 
    11182 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 
    11183     ac_header_preproc=yes 
    11184     ;; 
    11185   no:yes:* ) 
    11186     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 
    11187 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 
    11188     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5 
    11189 echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11190     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 
    11191 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 
    11192     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11193 echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11194     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 
    11195 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11196     { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 
    11197 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11198  
    11199     ;; 
    11200 esac 
    11201 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 
    11202 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 
    11203 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 
    11204   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11205 else 
    11206   ac_cv_header_sys_soundcard_h=$ac_header_preproc 
    11207 fi 
    11208 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 
    11209 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 
    11210  
    11211 fi 
    11212 if test $ac_cv_header_sys_soundcard_h = yes; then 
     5547ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 
     5548if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 
    112135549  ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 
    112145550fi 
    112155551 
    112165552 
    11217 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11218   { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11219 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11220 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11221   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11222 fi 
    11223 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11224 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11225 else 
    11226   # Is the header compilable? 
    11227 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 
    11228 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 
    11229 cat >conftest.$ac_ext <<_ACEOF 
    11230 /* confdefs.h.  */ 
    11231 _ACEOF 
    11232 cat confdefs.h >>conftest.$ac_ext 
    11233 cat >>conftest.$ac_ext <<_ACEOF 
    11234 /* end confdefs.h.  */ 
    11235 $ac_includes_default 
    11236 #include <linux/soundcard.h> 
    11237 _ACEOF 
    11238 rm -f conftest.$ac_objext 
    11239 if { (ac_try="$ac_compile" 
    11240 case "(($ac_try" in 
    11241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11242   *) ac_try_echo=$ac_try;; 
    11243 esac 
    11244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11245   (eval "$ac_compile") 2>conftest.er1 
    11246   ac_status=$? 
    11247   grep -v '^ *+' conftest.er1 >conftest.err 
    11248   rm -f conftest.er1 
    11249   cat conftest.err >&5 
    11250   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11251   (exit $ac_status); } && { 
    11252          test -z "$ac_c_werror_flag" || 
    11253          test ! -s conftest.err 
    11254        } && test -s conftest.$ac_objext; then 
    11255   ac_header_compiler=yes 
    11256 else 
    11257   echo "$as_me: failed program was:" >&5 
    11258 sed 's/^/| /' conftest.$ac_ext >&5 
    11259  
    11260         ac_header_compiler=no 
    11261 fi 
    11262  
    11263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11264 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11265 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11266  
    11267 # Is the header present? 
    11268 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 
    11269 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 
    11270 cat >conftest.$ac_ext <<_ACEOF 
    11271 /* confdefs.h.  */ 
    11272 _ACEOF 
    11273 cat confdefs.h >>conftest.$ac_ext 
    11274 cat >>conftest.$ac_ext <<_ACEOF 
    11275 /* end confdefs.h.  */ 
    11276 #include <linux/soundcard.h> 
    11277 _ACEOF 
    11278 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11279 case "(($ac_try" in 
    11280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11281   *) ac_try_echo=$ac_try;; 
    11282 esac 
    11283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11284   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11285   ac_status=$? 
    11286   grep -v '^ *+' conftest.er1 >conftest.err 
    11287   rm -f conftest.er1 
    11288   cat conftest.err >&5 
    11289   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11290   (exit $ac_status); } >/dev/null && { 
    11291          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11292          test ! -s conftest.err 
    11293        }; then 
    11294   ac_header_preproc=yes 
    11295 else 
    11296   echo "$as_me: failed program was:" >&5 
    11297 sed 's/^/| /' conftest.$ac_ext >&5 
    11298  
    11299   ac_header_preproc=no 
    11300 fi 
    11301  
    11302 rm -f conftest.err conftest.$ac_ext 
    11303 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11304 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11305  
    11306 # So?  What about this header? 
    11307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11308   yes:no: ) 
    11309     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11310 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11311     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 
    11312 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 
    11313     ac_header_preproc=yes 
    11314     ;; 
    11315   no:yes:* ) 
    11316     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 
    11317 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 
    11318     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&5 
    11319 echo "$as_me: WARNING: linux/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11320     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 
    11321 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 
    11322     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11323 echo "$as_me: WARNING: linux/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11324     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 
    11325 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11326     { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 
    11327 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11328  
    11329     ;; 
    11330 esac 
    11331 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 
    11332 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 
    11333 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 
    11334   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11335 else 
    11336   ac_cv_header_linux_soundcard_h=$ac_header_preproc 
    11337 fi 
    11338 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 
    11339 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 
    11340  
    11341 fi 
    11342 if test $ac_cv_header_linux_soundcard_h = yes; then 
     5553ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 
     5554if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 
    113435555  ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 
    113445556fi 
    113455557 
    113465558 
    11347 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11348   { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11349 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11350 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11351   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11352 fi 
    11353 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11354 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11355 else 
    11356   # Is the header compilable? 
    11357 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 
    11358 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 
    11359 cat >conftest.$ac_ext <<_ACEOF 
    11360 /* confdefs.h.  */ 
    11361 _ACEOF 
    11362 cat confdefs.h >>conftest.$ac_ext 
    11363 cat >>conftest.$ac_ext <<_ACEOF 
    11364 /* end confdefs.h.  */ 
    11365 $ac_includes_default 
    11366 #include <machine/soundcard.h> 
    11367 _ACEOF 
    11368 rm -f conftest.$ac_objext 
    11369 if { (ac_try="$ac_compile" 
    11370 case "(($ac_try" in 
    11371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11372   *) ac_try_echo=$ac_try;; 
    11373 esac 
    11374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11375   (eval "$ac_compile") 2>conftest.er1 
    11376   ac_status=$? 
    11377   grep -v '^ *+' conftest.er1 >conftest.err 
    11378   rm -f conftest.er1 
    11379   cat conftest.err >&5 
    11380   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11381   (exit $ac_status); } && { 
    11382          test -z "$ac_c_werror_flag" || 
    11383          test ! -s conftest.err 
    11384        } && test -s conftest.$ac_objext; then 
    11385   ac_header_compiler=yes 
    11386 else 
    11387   echo "$as_me: failed program was:" >&5 
    11388 sed 's/^/| /' conftest.$ac_ext >&5 
    11389  
    11390         ac_header_compiler=no 
    11391 fi 
    11392  
    11393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11394 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11395 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11396  
    11397 # Is the header present? 
    11398 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 
    11399 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 
    11400 cat >conftest.$ac_ext <<_ACEOF 
    11401 /* confdefs.h.  */ 
    11402 _ACEOF 
    11403 cat confdefs.h >>conftest.$ac_ext 
    11404 cat >>conftest.$ac_ext <<_ACEOF 
    11405 /* end confdefs.h.  */ 
    11406 #include <machine/soundcard.h> 
    11407 _ACEOF 
    11408 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11409 case "(($ac_try" in 
    11410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11411   *) ac_try_echo=$ac_try;; 
    11412 esac 
    11413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11414   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11415   ac_status=$? 
    11416   grep -v '^ *+' conftest.er1 >conftest.err 
    11417   rm -f conftest.er1 
    11418   cat conftest.err >&5 
    11419   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11420   (exit $ac_status); } >/dev/null && { 
    11421          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11422          test ! -s conftest.err 
    11423        }; then 
    11424   ac_header_preproc=yes 
    11425 else 
    11426   echo "$as_me: failed program was:" >&5 
    11427 sed 's/^/| /' conftest.$ac_ext >&5 
    11428  
    11429   ac_header_preproc=no 
    11430 fi 
    11431  
    11432 rm -f conftest.err conftest.$ac_ext 
    11433 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11434 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11435  
    11436 # So?  What about this header? 
    11437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11438   yes:no: ) 
    11439     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11440 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11441     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 
    11442 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 
    11443     ac_header_preproc=yes 
    11444     ;; 
    11445   no:yes:* ) 
    11446     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 
    11447 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 
    11448     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&5 
    11449 echo "$as_me: WARNING: machine/soundcard.h:     check for missing prerequisite headers?" >&2;} 
    11450     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 
    11451 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 
    11452     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11453 echo "$as_me: WARNING: machine/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11454     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 
    11455 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 
    11456     { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 
    11457 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 
    11458  
    11459     ;; 
    11460 esac 
    11461 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 
    11462 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 
    11463 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 
    11464   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11465 else 
    11466   ac_cv_header_machine_soundcard_h=$ac_header_preproc 
    11467 fi 
    11468 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 
    11469 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 
    11470  
    11471 fi 
    11472 if test $ac_cv_header_machine_soundcard_h = yes; then 
     5559ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 
     5560if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 
    114735561  ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 
    114745562fi 
     
    114885576  arm-apple-darwin*) 
    114895577        LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 
    11490         { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 
    11491 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 
     5578        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 
     5579$as_echo "Checking sound device backend... AudioUnit" >&6; } 
    114925580        ;; 
    114935581  *darwin*) 
     
    114975585                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    114985586                ac_pjmedia_snd=pa_old_darwinos 
    11499                 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
    11500 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 
     5587                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 
     5588$as_echo "Checking sound device backend... old coreaudio" >&6; } 
    115015589        else 
    115025590                ac_pjmedia_snd=pa_darwinos 
    11503                 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    11504 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 
     5591                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 
     5592$as_echo "Checking sound device backend... coreaudio" >&6; } 
    115055593        fi 
    115065594        ;; 
    115075595  *cygwin* | *mingw*) 
    115085596        ac_pjmedia_snd=pa_win32 
    11509         { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    11510 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 
     5597        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 
     5598$as_echo "Checking sound device backend... win32 sound" >&6; } 
    115115599        ;; 
    115125600  *rtems*) 
    115135601        ac_pjmedia_snd=null 
    11514         { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    11515 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 
     5602        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 
     5603$as_echo "Checking sound device backend... null sound" >&6; } 
    115165604        ;; 
    115175605  *) 
    115185606                ac_pjmedia_snd=pa_unix 
    11519         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11520   { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11521 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11522 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11523   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11524 fi 
    11525 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11526 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11527 else 
    11528   # Is the header compilable? 
    11529 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    11530 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 
    11531 cat >conftest.$ac_ext <<_ACEOF 
    11532 /* confdefs.h.  */ 
    11533 _ACEOF 
    11534 cat confdefs.h >>conftest.$ac_ext 
    11535 cat >>conftest.$ac_ext <<_ACEOF 
    11536 /* end confdefs.h.  */ 
    11537 $ac_includes_default 
    11538 #include <alsa/version.h> 
    11539 _ACEOF 
    11540 rm -f conftest.$ac_objext 
    11541 if { (ac_try="$ac_compile" 
    11542 case "(($ac_try" in 
    11543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11544   *) ac_try_echo=$ac_try;; 
    11545 esac 
    11546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11547   (eval "$ac_compile") 2>conftest.er1 
    11548   ac_status=$? 
    11549   grep -v '^ *+' conftest.er1 >conftest.err 
    11550   rm -f conftest.er1 
    11551   cat conftest.err >&5 
    11552   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11553   (exit $ac_status); } && { 
    11554          test -z "$ac_c_werror_flag" || 
    11555          test ! -s conftest.err 
    11556        } && test -s conftest.$ac_objext; then 
    11557   ac_header_compiler=yes 
    11558 else 
    11559   echo "$as_me: failed program was:" >&5 
    11560 sed 's/^/| /' conftest.$ac_ext >&5 
    11561  
    11562         ac_header_compiler=no 
    11563 fi 
    11564  
    11565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    11566 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    11567 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    11568  
    11569 # Is the header present? 
    11570 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    11571 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 
    11572 cat >conftest.$ac_ext <<_ACEOF 
    11573 /* confdefs.h.  */ 
    11574 _ACEOF 
    11575 cat confdefs.h >>conftest.$ac_ext 
    11576 cat >>conftest.$ac_ext <<_ACEOF 
    11577 /* end confdefs.h.  */ 
    11578 #include <alsa/version.h> 
    11579 _ACEOF 
    11580 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    11581 case "(($ac_try" in 
    11582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11583   *) ac_try_echo=$ac_try;; 
    11584 esac 
    11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11586   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    11587   ac_status=$? 
    11588   grep -v '^ *+' conftest.er1 >conftest.err 
    11589   rm -f conftest.er1 
    11590   cat conftest.err >&5 
    11591   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11592   (exit $ac_status); } >/dev/null && { 
    11593          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    11594          test ! -s conftest.err 
    11595        }; then 
    11596   ac_header_preproc=yes 
    11597 else 
    11598   echo "$as_me: failed program was:" >&5 
    11599 sed 's/^/| /' conftest.$ac_ext >&5 
    11600  
    11601   ac_header_preproc=no 
    11602 fi 
    11603  
    11604 rm -f conftest.err conftest.$ac_ext 
    11605 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    11606 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    11607  
    11608 # So?  What about this header? 
    11609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    11610   yes:no: ) 
    11611     { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    11612 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    11613     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    11614 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    11615     ac_header_preproc=yes 
    11616     ;; 
    11617   no:yes:* ) 
    11618     { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    11619 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    11620     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    11621 echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    11622     { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    11623 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    11624     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    11625 echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    11626     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    11627 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    11628     { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    11629 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    11630  
    11631     ;; 
    11632 esac 
    11633 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    11634 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 
    11635 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    11636   echo $ECHO_N "(cached) $ECHO_C" >&6 
    11637 else 
    11638   ac_cv_header_alsa_version_h=$ac_header_preproc 
    11639 fi 
    11640 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    11641 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 
    11642  
    11643 fi 
    11644 if test $ac_cv_header_alsa_version_h = yes; then 
     5607        ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 
     5608if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 
    116455609  ac_pa_use_alsa=1 
    116465610 
     
    116535617 
    116545618 
    11655         { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    11656 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 
     5619        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 
     5620$as_echo "Checking sound device backend... unix" >&6; } 
    116575621 
    116585622                ac_pa_use_oss=1 
    116595623 
    116605624        # Check whether --enable-oss was given. 
    11661 if test "${enable_oss+set}" = set; then 
     5625if test "${enable_oss+set}" = set; then : 
    116625626  enableval=$enable_oss; 
    116635627                        if test "$enable_oss" = "no"; then 
    116645628                         ac_pa_use_oss=0 
    11665                          { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 
    11666 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 
     5629                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 
     5630$as_echo "Checking if OSS audio is disabled... yes" >&6; } 
    116675631                        fi 
    116685632 
     
    116835647        ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 
    116845648        LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 
    11685         { echo "$as_me:$LINENO: result: Checking video device backend... AVFoundation" >&5 
    11686 echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; } 
     5649        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking video device backend... AVFoundation" >&5 
     5650$as_echo "Checking video device backend... AVFoundation" >&6; } 
    116875651        ;; 
    116885652  *darwin*) 
     
    116925656        SAVED_LIBS="$LIBS" 
    116935657        LIBS="-framework QTKit" 
    11694         cat >conftest.$ac_ext <<_ACEOF 
    11695 /* confdefs.h.  */ 
    11696 _ACEOF 
    11697 cat confdefs.h >>conftest.$ac_ext 
    11698 cat >>conftest.$ac_ext <<_ACEOF 
     5658        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    116995659/* end confdefs.h.  */ 
    117005660 
     
    117075667} 
    117085668_ACEOF 
    11709 rm -f conftest.$ac_objext conftest$ac_exeext 
    11710 if { (ac_try="$ac_link" 
    11711 case "(($ac_try" in 
    11712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11713   *) ac_try_echo=$ac_try;; 
    11714 esac 
    11715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11716   (eval "$ac_link") 2>conftest.er1 
    11717   ac_status=$? 
    11718   grep -v '^ *+' conftest.er1 >conftest.err 
    11719   rm -f conftest.er1 
    11720   cat conftest.err >&5 
    11721   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11722   (exit $ac_status); } && { 
    11723          test -z "$ac_c_werror_flag" || 
    11724          test ! -s conftest.err 
    11725        } && test -s conftest$ac_exeext && 
    11726        $as_test_x conftest$ac_exeext; then 
     5669if ac_fn_c_try_link "$LINENO"; then : 
    117275670  ac_pjmedia_video_has_qt=yes 
    117285671else 
    11729   echo "$as_me: failed program was:" >&5 
    11730 sed 's/^/| /' conftest.$ac_ext >&5 
    11731  
    11732         ac_pjmedia_video_has_qt=no 
    11733 fi 
    11734  
    11735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11736       conftest$ac_exeext conftest.$ac_ext 
     5672  ac_pjmedia_video_has_qt=no 
     5673fi 
     5674rm -f core conftest.err conftest.$ac_objext \ 
     5675    conftest$ac_exeext conftest.$ac_ext 
    117375676        LIBS="$SAVED_LIBS" 
    117385677        if test "$ac_pjmedia_video_has_qt" = "yes"; then 
    117395678          ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 
    117405679          LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 
    11741           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 
    11742 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 
     5680          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 
     5681$as_echo "Checking if QTKit framework is available... yes" >&6; } 
    117435682        else 
    11744           { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 
    11745 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 
     5683          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 
     5684$as_echo "Checking if QTKit framework is available... no" >&6; } 
    117465685        fi 
    117475686        ;; 
     
    117505689 
    117515690# Check whether --enable-ext_sound was given. 
    11752 if test "${enable_ext_sound+set}" = set; then 
     5691if test "${enable_ext_sound+set}" = set; then : 
    117535692  enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 
    117545693                ac_pjmedia_snd=external 
    11755                 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 
    11756 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 
     5694                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 
     5695$as_echo "Checking if external sound is set... yes" >&6; } 
    117575696               fi 
    117585697 
     
    117625701 
    117635702# Check whether --enable-small-filter was given. 
    11764 if test "${enable_small_filter+set}" = set; then 
     5703if test "${enable_small_filter+set}" = set; then : 
    117655704  enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 
    117665705                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    11767                 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    11768 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 
     5706                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 
     5707$as_echo "Checking if small filter is disabled... yes" >&6; } 
    117695708               fi 
    117705709else 
    11771   { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    11772 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 
     5710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 
     5711$as_echo "Checking if small filter is disabled... no" >&6; } 
    117735712fi 
    117745713 
     
    117765715 
    117775716# Check whether --enable-large-filter was given. 
    11778 if test "${enable_large_filter+set}" = set; then 
     5717if test "${enable_large_filter+set}" = set; then : 
    117795718  enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 
    117805719                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    11781                 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    11782 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 
     5720                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 
     5721$as_echo "Checking if large filter is disabled... yes" >&6; } 
    117835722               fi 
    117845723else 
    11785   { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    11786 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 
     5724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 
     5725$as_echo "Checking if large filter is disabled... no" >&6; } 
    117875726fi 
    117885727 
     
    117905729 
    117915730# Check whether --enable-speex-aec was given. 
    11792 if test "${enable_speex_aec+set}" = set; then 
     5731if test "${enable_speex_aec+set}" = set; then : 
    117935732  enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 
    117945733                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    11795                 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    11796 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 
     5734                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 
     5735$as_echo "Checking if Speex AEC is disabled...yes" >&6; } 
    117975736               fi 
    117985737else 
    11799   { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    11800 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 
     5738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 
     5739$as_echo "Checking if Speex AEC is disabled...no" >&6; } 
    118015740fi 
    118025741 
     
    118045743 
    118055744# Check whether --enable-g711-codec was given. 
    11806 if test "${enable_g711_codec+set}" = set; then 
     5745if test "${enable_g711_codec+set}" = set; then : 
    118075746  enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 
    118085747                ac_no_g711_codec=1 
    11809                 cat >>confdefs.h <<\_ACEOF 
    11810 #define PJMEDIA_HAS_G711_CODEC 0 
    11811 _ACEOF 
    11812  
    11813                 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    11814 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 
     5748                $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 
     5749 
     5750                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 
     5751$as_echo "Checking if G.711 codec is disabled...yes" >&6; } 
    118155752               fi 
    118165753else 
    11817   { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    11818 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 
     5754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 
     5755$as_echo "Checking if G.711 codec is disabled...no" >&6; } 
    118195756fi 
    118205757 
     
    118235760 
    118245761# Check whether --enable-l16-codec was given. 
    11825 if test "${enable_l16_codec+set}" = set; then 
     5762if test "${enable_l16_codec+set}" = set; then : 
    118265763  enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 
    118275764                ac_no_l16_codec=1 
    11828                 cat >>confdefs.h <<\_ACEOF 
    11829 #define PJMEDIA_HAS_L16_CODEC 0 
    11830 _ACEOF 
    11831  
    11832                 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    11833 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 
     5765                $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 
     5766 
     5767                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 
     5768$as_echo "Checking if L16 codecs are disabled...yes" >&6; } 
    118345769               fi 
    118355770else 
    11836   { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
    11837 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 
     5771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 
     5772$as_echo "Checking if L16 codec is disabled...no" >&6; } 
    118385773fi 
    118395774 
     
    118425777 
    118435778# Check whether --enable-gsm-codec was given. 
    11844 if test "${enable_gsm_codec+set}" = set; then 
     5779if test "${enable_gsm_codec+set}" = set; then : 
    118455780  enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 
    118465781                ac_no_gsm_codec=1 
    11847                 cat >>confdefs.h <<\_ACEOF 
    11848 #define PJMEDIA_HAS_GSM_CODEC 0 
    11849 _ACEOF 
    11850  
    11851                 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    11852 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 
     5782                $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 
     5783 
     5784                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 
     5785$as_echo "Checking if GSM codec is disabled...yes" >&6; } 
    118535786               fi 
    118545787else 
    11855   { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    11856 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 
     5788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 
     5789$as_echo "Checking if GSM codec is disabled...no" >&6; } 
    118575790fi 
    118585791 
     
    118605793 
    118615794# Check whether --enable-g722-codec was given. 
    11862 if test "${enable_g722_codec+set}" = set; then 
     5795if test "${enable_g722_codec+set}" = set; then : 
    118635796  enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 
    118645797                ac_no_g722_codec=1 
    11865                 cat >>confdefs.h <<\_ACEOF 
    11866 #define PJMEDIA_HAS_G722_CODEC 0 
    11867 _ACEOF 
    11868  
    11869                 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 
    11870 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 
     5798                $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 
     5799 
     5800                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 
     5801$as_echo "Checking if G.722 codec is disabled...yes" >&6; } 
    118715802               fi 
    118725803else 
    11873   { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 
    11874 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 
     5804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 
     5805$as_echo "Checking if G.722 codec is disabled...no" >&6; } 
    118755806fi 
    118765807 
     
    118785809 
    118795810# Check whether --enable-g7221-codec was given. 
    11880 if test "${enable_g7221_codec+set}" = set; then 
     5811if test "${enable_g7221_codec+set}" = set; then : 
    118815812  enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 
    118825813                ac_no_g7221_codec=1 
    11883                 cat >>confdefs.h <<\_ACEOF 
    11884 #define PJMEDIA_HAS_G7221_CODEC 0 
    11885 _ACEOF 
    11886  
    11887                 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 
    11888 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 
     5814                $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 
     5815 
     5816                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 
     5817$as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 
    118895818               fi 
    118905819else 
    11891   { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 
    11892 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 
     5820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 
     5821$as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 
    118935822fi 
    118945823 
     
    118965825 
    118975826# Check whether --enable-speex-codec was given. 
    11898 if test "${enable_speex_codec+set}" = set; then 
     5827if test "${enable_speex_codec+set}" = set; then : 
    118995828  enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 
    119005829                ac_no_speex_codec=1 
    11901                 cat >>confdefs.h <<\_ACEOF 
    11902 #define PJMEDIA_HAS_SPEEX_CODEC 0 
    11903 _ACEOF 
    11904  
    11905                 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    11906 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 
     5830                $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 
     5831 
     5832                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 
     5833$as_echo "Checking if Speex codec is disabled...yes" >&6; } 
    119075834               fi 
    119085835else 
    11909   { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    11910 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 
     5836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 
     5837$as_echo "Checking if Speex codec is disabled...no" >&6; } 
    119115838fi 
    119125839 
     
    119145841 
    119155842# Check whether --enable-ilbc-codec was given. 
    11916 if test "${enable_ilbc_codec+set}" = set; then 
     5843if test "${enable_ilbc_codec+set}" = set; then : 
    119175844  enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 
    119185845                ac_no_ilbc_codec=1 
    11919                 cat >>confdefs.h <<\_ACEOF 
    11920 #define PJMEDIA_HAS_ILBC_CODEC 0 
    11921 _ACEOF 
    11922  
    11923                 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    11924 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 
     5846                $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 
     5847 
     5848                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 
     5849$as_echo "Checking if iLBC codec is disabled...yes" >&6; } 
    119255850               fi 
    119265851else 
    11927   { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    11928 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 
     5852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 
     5853$as_echo "Checking if iLBC codec is disabled...no" >&6; } 
    119295854fi 
    119305855 
    119315856 
    119325857# Check whether --enable-libsamplerate was given. 
    11933 if test "${enable_libsamplerate+set}" = set; then 
    11934   enableval=$enable_libsamplerate; 
    11935 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 
    11936 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 
    11937 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 
    11938   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5858if test "${enable_libsamplerate+set}" = set; then : 
     5859  enableval=$enable_libsamplerate;  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 
     5860$as_echo_n "checking for src_new in -lsamplerate... " >&6; } 
     5861if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 
     5862  $as_echo_n "(cached) " >&6 
    119395863else 
    119405864  ac_check_lib_save_LIBS=$LIBS 
    119415865LIBS="-lsamplerate  $LIBS" 
    11942 cat >conftest.$ac_ext <<_ACEOF 
    11943 /* confdefs.h.  */ 
    11944 _ACEOF 
    11945 cat confdefs.h >>conftest.$ac_ext 
    11946 cat >>conftest.$ac_ext <<_ACEOF 
     5866cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    119475867/* end confdefs.h.  */ 
    119485868 
     
    119625882} 
    119635883_ACEOF 
    11964 rm -f conftest.$ac_objext conftest$ac_exeext 
    11965 if { (ac_try="$ac_link" 
    11966 case "(($ac_try" in 
    11967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    11968   *) ac_try_echo=$ac_try;; 
    11969 esac 
    11970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    11971   (eval "$ac_link") 2>conftest.er1 
    11972   ac_status=$? 
    11973   grep -v '^ *+' conftest.er1 >conftest.err 
    11974   rm -f conftest.er1 
    11975   cat conftest.err >&5 
    11976   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11977   (exit $ac_status); } && { 
    11978          test -z "$ac_c_werror_flag" || 
    11979          test ! -s conftest.err 
    11980        } && test -s conftest$ac_exeext && 
    11981        $as_test_x conftest$ac_exeext; then 
     5884if ac_fn_c_try_link "$LINENO"; then : 
    119825885  ac_cv_lib_samplerate_src_new=yes 
    119835886else 
    11984   echo "$as_me: failed program was:" >&5 
    11985 sed 's/^/| /' conftest.$ac_ext >&5 
    11986  
    11987         ac_cv_lib_samplerate_src_new=no 
    11988 fi 
    11989  
    11990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    11991       conftest$ac_exeext conftest.$ac_ext 
     5887  ac_cv_lib_samplerate_src_new=no 
     5888fi 
     5889rm -f core conftest.err conftest.$ac_objext \ 
     5890    conftest$ac_exeext conftest.$ac_ext 
    119925891LIBS=$ac_check_lib_save_LIBS 
    119935892fi 
    11994 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 
    11995 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 
    11996 if test $ac_cv_lib_samplerate_src_new = yes; then 
     5893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 
     5894$as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 
     5895if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 
    119975896  cat >>confdefs.h <<_ACEOF 
    119985897#define HAVE_LIBSAMPLERATE 1 
     
    120045903 
    120055904else 
    12006   { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 
    12007 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 
     5905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 
     5906$as_echo "Skipping libsamplerate detection" >&6; } 
     5907 
     5908fi 
     5909 
     5910 
     5911 
     5912# Check whether --with-sdl was given. 
     5913if test "${with_sdl+set}" = set; then : 
     5914  withval=$with_sdl; 
     5915else 
     5916  with_sdl=no 
    120085917 
    120095918fi 
     
    120115920 
    120125921# Check whether --enable-sdl was given. 
    12013 if test "${enable_sdl+set}" = set; then 
     5922if test "${enable_sdl+set}" = set; then : 
    120145923  enableval=$enable_sdl; 
    120155924                if test "$enable_sdl" = "no"; then 
    12016                   { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 
    12017 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 
     5925                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 
     5926$as_echo "Checking if SDL is disabled... yes" >&6; } 
    120185927                fi 
    120195928 
    120205929else 
    120215930 
    12022                   { echo "$as_me:$LINENO: checking SDL availability.." >&5 
    12023 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 
    12024                   if sdl-config --version; then 
    12025  
    12026  
    12027                           ac_sdl_cflags=`sdl-config --cflags` 
     5931                  SDL_CONFIG="sdl-config" 
     5932                  if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 
     5933                        SDL_CONFIG=$with_sdl/bin/sdl-config 
     5934                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&5 
     5935$as_echo "Using SDL prefix... $with_sdl" >&6; } 
     5936                  fi 
     5937 
     5938                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 
     5939$as_echo_n "checking SDL availability..... " >&6; } 
     5940                  if $SDL_CONFIG --version; then 
     5941 
     5942 
     5943                          ac_sdl_cflags=`$SDL_CONFIG --cflags` 
    120285944                          ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" 
    12029                           ac_sdl_ldflags=`sdl-config --libs` 
     5945                          ac_sdl_ldflags=`$SDL_CONFIG --libs` 
    120305946                          LIBS="$LIBS $ac_sdl_ldflags" 
    120315947                   fi 
     
    120365952 
    120375953# Check whether --enable-ffmpeg was given. 
    12038 if test "${enable_ffmpeg+set}" = set; then 
     5954if test "${enable_ffmpeg+set}" = set; then : 
    120395955  enableval=$enable_ffmpeg; 
    120405956                ac_has_ffmpeg=0 
    120415957 
    120425958                if test "$enable_ffmpeg" = "no"; then 
    12043                         { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 
    12044 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 
     5959                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 
     5960$as_echo "Checking if ffmpeg is disabled... yes" >&6; } 
    120455961                fi 
    120465962 
     
    120535969                if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then 
    120545970                        FFMPEG_PREFIX=$with_ffmpeg 
    12055                         { echo "$as_me:$LINENO: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
    12056 echo "${ECHO_T}Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
     5971                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 
     5972$as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 
    120575973                        LIBS="-L$FFMPEG_PREFIX/lib $LIBS" 
    120585974                        LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" 
     
    120605976                fi 
    120615977 
    12062                 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 
    12063 echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 
    12064 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 
    12065   echo $ECHO_N "(cached) $ECHO_C" >&6 
     5978                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 
     5979$as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 
     5980if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 
     5981  $as_echo_n "(cached) " >&6 
    120665982else 
    120675983  ac_check_lib_save_LIBS=$LIBS 
    120685984LIBS="-lavdevice  $LIBS" 
    12069 cat >conftest.$ac_ext <<_ACEOF 
    12070 /* confdefs.h.  */ 
    12071 _ACEOF 
    12072 cat confdefs.h >>conftest.$ac_ext 
    12073 cat >>conftest.$ac_ext <<_ACEOF 
     5985cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    120745986/* end confdefs.h.  */ 
    120755987 
     
    120896001} 
    120906002_ACEOF 
    12091 rm -f conftest.$ac_objext conftest$ac_exeext 
    12092 if { (ac_try="$ac_link" 
    12093 case "(($ac_try" in 
    12094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12095   *) ac_try_echo=$ac_try;; 
    12096 esac 
    12097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12098   (eval "$ac_link") 2>conftest.er1 
    12099   ac_status=$? 
    12100   grep -v '^ *+' conftest.er1 >conftest.err 
    12101   rm -f conftest.er1 
    12102   cat conftest.err >&5 
    12103   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12104   (exit $ac_status); } && { 
    12105          test -z "$ac_c_werror_flag" || 
    12106          test ! -s conftest.err 
    12107        } && test -s conftest$ac_exeext && 
    12108        $as_test_x conftest$ac_exeext; then 
     6003if ac_fn_c_try_link "$LINENO"; then : 
    121096004  ac_cv_lib_avdevice_avdevice_version=yes 
    121106005else 
    12111   echo "$as_me: failed program was:" >&5 
    12112 sed 's/^/| /' conftest.$ac_ext >&5 
    12113  
    12114         ac_cv_lib_avdevice_avdevice_version=no 
    12115 fi 
    12116  
    12117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12118       conftest$ac_exeext conftest.$ac_ext 
     6006  ac_cv_lib_avdevice_avdevice_version=no 
     6007fi 
     6008rm -f core conftest.err conftest.$ac_objext \ 
     6009    conftest$ac_exeext conftest.$ac_ext 
    121196010LIBS=$ac_check_lib_save_LIBS 
    121206011fi 
    12121 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
    12122 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 
    12123 if test $ac_cv_lib_avdevice_avdevice_version = yes; then 
     6012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 
     6013$as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 
     6014if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 
    121246015  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 
    121256016                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" 
     
    121286019fi 
    121296020 
    12130                 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 
    12131 echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 
    12132 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 
    12133   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6021                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 
     6022$as_echo_n "checking for av_register_all in -lavformat... " >&6; } 
     6023if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 
     6024  $as_echo_n "(cached) " >&6 
    121346025else 
    121356026  ac_check_lib_save_LIBS=$LIBS 
    121366027LIBS="-lavformat  $LIBS" 
    12137 cat >conftest.$ac_ext <<_ACEOF 
    12138 /* confdefs.h.  */ 
    12139 _ACEOF 
    12140 cat confdefs.h >>conftest.$ac_ext 
    12141 cat >>conftest.$ac_ext <<_ACEOF 
     6028cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    121426029/* end confdefs.h.  */ 
    121436030 
     
    121576044} 
    121586045_ACEOF 
    12159 rm -f conftest.$ac_objext conftest$ac_exeext 
    12160 if { (ac_try="$ac_link" 
    12161 case "(($ac_try" in 
    12162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12163   *) ac_try_echo=$ac_try;; 
    12164 esac 
    12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12166   (eval "$ac_link") 2>conftest.er1 
    12167   ac_status=$? 
    12168   grep -v '^ *+' conftest.er1 >conftest.err 
    12169   rm -f conftest.er1 
    12170   cat conftest.err >&5 
    12171   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12172   (exit $ac_status); } && { 
    12173          test -z "$ac_c_werror_flag" || 
    12174          test ! -s conftest.err 
    12175        } && test -s conftest$ac_exeext && 
    12176        $as_test_x conftest$ac_exeext; then 
     6046if ac_fn_c_try_link "$LINENO"; then : 
    121776047  ac_cv_lib_avformat_av_register_all=yes 
    121786048else 
    12179   echo "$as_me: failed program was:" >&5 
    12180 sed 's/^/| /' conftest.$ac_ext >&5 
    12181  
    12182         ac_cv_lib_avformat_av_register_all=no 
    12183 fi 
    12184  
    12185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12186       conftest$ac_exeext conftest.$ac_ext 
     6049  ac_cv_lib_avformat_av_register_all=no 
     6050fi 
     6051rm -f core conftest.err conftest.$ac_objext \ 
     6052    conftest$ac_exeext conftest.$ac_ext 
    121876053LIBS=$ac_check_lib_save_LIBS 
    121886054fi 
    12189 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 
    12190 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 
    12191 if test $ac_cv_lib_avformat_av_register_all = yes; then 
     6055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 
     6056$as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 
     6057if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 
    121926058  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 
    121936059                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 
     
    121966062fi 
    121976063 
    12198                 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 
    12199 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 
    12200 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 
    12201   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6064                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 
     6065$as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 
     6066if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 
     6067  $as_echo_n "(cached) " >&6 
    122026068else 
    122036069  ac_check_lib_save_LIBS=$LIBS 
    122046070LIBS="-lavcodec  $LIBS" 
    12205 cat >conftest.$ac_ext <<_ACEOF 
    12206 /* confdefs.h.  */ 
    12207 _ACEOF 
    12208 cat confdefs.h >>conftest.$ac_ext 
    12209 cat >>conftest.$ac_ext <<_ACEOF 
     6071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122106072/* end confdefs.h.  */ 
    122116073 
     
    122256087} 
    122266088_ACEOF 
    12227 rm -f conftest.$ac_objext conftest$ac_exeext 
    12228 if { (ac_try="$ac_link" 
    12229 case "(($ac_try" in 
    12230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12231   *) ac_try_echo=$ac_try;; 
    12232 esac 
    12233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12234   (eval "$ac_link") 2>conftest.er1 
    12235   ac_status=$? 
    12236   grep -v '^ *+' conftest.er1 >conftest.err 
    12237   rm -f conftest.er1 
    12238   cat conftest.err >&5 
    12239   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12240   (exit $ac_status); } && { 
    12241          test -z "$ac_c_werror_flag" || 
    12242          test ! -s conftest.err 
    12243        } && test -s conftest$ac_exeext && 
    12244        $as_test_x conftest$ac_exeext; then 
     6089if ac_fn_c_try_link "$LINENO"; then : 
    122456090  ac_cv_lib_avcodec_avcodec_init=yes 
    122466091else 
    12247   echo "$as_me: failed program was:" >&5 
    12248 sed 's/^/| /' conftest.$ac_ext >&5 
    12249  
    12250         ac_cv_lib_avcodec_avcodec_init=no 
    12251 fi 
    12252  
    12253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12254       conftest$ac_exeext conftest.$ac_ext 
     6092  ac_cv_lib_avcodec_avcodec_init=no 
     6093fi 
     6094rm -f core conftest.err conftest.$ac_objext \ 
     6095    conftest$ac_exeext conftest.$ac_ext 
    122556096LIBS=$ac_check_lib_save_LIBS 
    122566097fi 
    12257 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
    12258 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 
    12259 if test $ac_cv_lib_avcodec_avcodec_init = yes; then 
     6098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 
     6099$as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 
     6100if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 
    122606101  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 
    122616102                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 
     
    122646105fi 
    122656106 
    12266                 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 
    12267 echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 
    12268 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 
    12269   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6107                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 
     6108$as_echo_n "checking for sws_scale in -lswscale... " >&6; } 
     6109if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 
     6110  $as_echo_n "(cached) " >&6 
    122706111else 
    122716112  ac_check_lib_save_LIBS=$LIBS 
    122726113LIBS="-lswscale  $LIBS" 
    12273 cat >conftest.$ac_ext <<_ACEOF 
    12274 /* confdefs.h.  */ 
    12275 _ACEOF 
    12276 cat confdefs.h >>conftest.$ac_ext 
    12277 cat >>conftest.$ac_ext <<_ACEOF 
     6114cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    122786115/* end confdefs.h.  */ 
    122796116 
     
    122936130} 
    122946131_ACEOF 
    12295 rm -f conftest.$ac_objext conftest$ac_exeext 
    12296 if { (ac_try="$ac_link" 
    12297 case "(($ac_try" in 
    12298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12299   *) ac_try_echo=$ac_try;; 
    12300 esac 
    12301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12302   (eval "$ac_link") 2>conftest.er1 
    12303   ac_status=$? 
    12304   grep -v '^ *+' conftest.er1 >conftest.err 
    12305   rm -f conftest.er1 
    12306   cat conftest.err >&5 
    12307   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12308   (exit $ac_status); } && { 
    12309          test -z "$ac_c_werror_flag" || 
    12310          test ! -s conftest.err 
    12311        } && test -s conftest$ac_exeext && 
    12312        $as_test_x conftest$ac_exeext; then 
     6132if ac_fn_c_try_link "$LINENO"; then : 
    123136133  ac_cv_lib_swscale_sws_scale=yes 
    123146134else 
    12315   echo "$as_me: failed program was:" >&5 
    12316 sed 's/^/| /' conftest.$ac_ext >&5 
    12317  
    12318         ac_cv_lib_swscale_sws_scale=no 
    12319 fi 
    12320  
    12321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12322       conftest$ac_exeext conftest.$ac_ext 
     6135  ac_cv_lib_swscale_sws_scale=no 
     6136fi 
     6137rm -f core conftest.err conftest.$ac_objext \ 
     6138    conftest$ac_exeext conftest.$ac_ext 
    123236139LIBS=$ac_check_lib_save_LIBS 
    123246140fi 
    12325 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 
    12326 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 
    12327 if test $ac_cv_lib_swscale_sws_scale = yes; then 
     6141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 
     6142$as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 
     6143if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 
    123286144  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 
    123296145                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 
     
    123326148fi 
    123336149 
    12334                 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 
    12335 echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 
    12336 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 
    12337   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6150                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 
     6151$as_echo_n "checking for av_malloc in -lavutil... " >&6; } 
     6152if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 
     6153  $as_echo_n "(cached) " >&6 
    123386154else 
    123396155  ac_check_lib_save_LIBS=$LIBS 
    123406156LIBS="-lavutil  $LIBS" 
    12341 cat >conftest.$ac_ext <<_ACEOF 
    12342 /* confdefs.h.  */ 
    12343 _ACEOF 
    12344 cat confdefs.h >>conftest.$ac_ext 
    12345 cat >>conftest.$ac_ext <<_ACEOF 
     6157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    123466158/* end confdefs.h.  */ 
    123476159 
     
    123616173} 
    123626174_ACEOF 
    12363 rm -f conftest.$ac_objext conftest$ac_exeext 
    12364 if { (ac_try="$ac_link" 
    12365 case "(($ac_try" in 
    12366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12367   *) ac_try_echo=$ac_try;; 
    12368 esac 
    12369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12370   (eval "$ac_link") 2>conftest.er1 
    12371   ac_status=$? 
    12372   grep -v '^ *+' conftest.er1 >conftest.err 
    12373   rm -f conftest.er1 
    12374   cat conftest.err >&5 
    12375   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12376   (exit $ac_status); } && { 
    12377          test -z "$ac_c_werror_flag" || 
    12378          test ! -s conftest.err 
    12379        } && test -s conftest$ac_exeext && 
    12380        $as_test_x conftest$ac_exeext; then 
     6175if ac_fn_c_try_link "$LINENO"; then : 
    123816176  ac_cv_lib_avutil_av_malloc=yes 
    123826177else 
    12383   echo "$as_me: failed program was:" >&5 
    12384 sed 's/^/| /' conftest.$ac_ext >&5 
    12385  
    12386         ac_cv_lib_avutil_av_malloc=no 
    12387 fi 
    12388  
    12389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12390       conftest$ac_exeext conftest.$ac_ext 
     6178  ac_cv_lib_avutil_av_malloc=no 
     6179fi 
     6180rm -f core conftest.err conftest.$ac_objext \ 
     6181    conftest$ac_exeext conftest.$ac_ext 
    123916182LIBS=$ac_check_lib_save_LIBS 
    123926183fi 
    12393 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 
    12394 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 
    12395 if test $ac_cv_lib_avutil_av_malloc = yes; then 
     6184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 
     6185$as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 
     6186if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 
    123966187  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 
    123976188                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" 
     
    124006191fi 
    124016192 
    12402                 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 
    12403 echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 
    12404 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 
    12405   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6193                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 
     6194$as_echo_n "checking for avcore_version in -lavcore... " >&6; } 
     6195if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 
     6196  $as_echo_n "(cached) " >&6 
    124066197else 
    124076198  ac_check_lib_save_LIBS=$LIBS 
    124086199LIBS="-lavcore  $LIBS" 
    12409 cat >conftest.$ac_ext <<_ACEOF 
    12410 /* confdefs.h.  */ 
    12411 _ACEOF 
    12412 cat confdefs.h >>conftest.$ac_ext 
    12413 cat >>conftest.$ac_ext <<_ACEOF 
     6200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    124146201/* end confdefs.h.  */ 
    124156202 
     
    124296216} 
    124306217_ACEOF 
    12431 rm -f conftest.$ac_objext conftest$ac_exeext 
    12432 if { (ac_try="$ac_link" 
    12433 case "(($ac_try" in 
    12434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12435   *) ac_try_echo=$ac_try;; 
    12436 esac 
    12437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12438   (eval "$ac_link") 2>conftest.er1 
    12439   ac_status=$? 
    12440   grep -v '^ *+' conftest.er1 >conftest.err 
    12441   rm -f conftest.er1 
    12442   cat conftest.err >&5 
    12443   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12444   (exit $ac_status); } && { 
    12445          test -z "$ac_c_werror_flag" || 
    12446          test ! -s conftest.err 
    12447        } && test -s conftest$ac_exeext && 
    12448        $as_test_x conftest$ac_exeext; then 
     6218if ac_fn_c_try_link "$LINENO"; then : 
    124496219  ac_cv_lib_avcore_avcore_version=yes 
    124506220else 
    12451   echo "$as_me: failed program was:" >&5 
    12452 sed 's/^/| /' conftest.$ac_ext >&5 
    12453  
    12454         ac_cv_lib_avcore_avcore_version=no 
    12455 fi 
    12456  
    12457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12458       conftest$ac_exeext conftest.$ac_ext 
     6221  ac_cv_lib_avcore_avcore_version=no 
     6222fi 
     6223rm -f core conftest.err conftest.$ac_objext \ 
     6224    conftest$ac_exeext conftest.$ac_ext 
    124596225LIBS=$ac_check_lib_save_LIBS 
    124606226fi 
    12461 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 
    12462 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 
    12463 if test $ac_cv_lib_avcore_avcore_version = yes; then 
     6227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 
     6228$as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 
     6229if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 
    124646230  ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 
    124656231                              ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" 
     
    124766242 
    124776243# Check whether --with-ffmpeg was given. 
    12478 if test "${with_ffmpeg+set}" = set; then 
     6244if test "${with_ffmpeg+set}" = set; then : 
    124796245  withval=$with_ffmpeg; 
    124806246else 
     
    124866252 
    124876253# Check whether --enable-v4l2 was given. 
    12488 if test "${enable_v4l2+set}" = set; then 
     6254if test "${enable_v4l2+set}" = set; then : 
    124896255  enableval=$enable_v4l2; 
    124906256                if test "$enable_v4l2" = "no"; then 
    12491                   { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 
    12492 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 
     6257                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 
     6258$as_echo "Checking if V4L2 is disabled... yes" >&6; } 
    124936259                fi 
    124946260 
     
    124976263 
    124986264 
    12499                 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 
    12500 echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 
    12501 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 
    12502   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6265                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 
     6266$as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 
     6267if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 
     6268  $as_echo_n "(cached) " >&6 
    125036269else 
    125046270  ac_check_lib_save_LIBS=$LIBS 
    125056271LIBS="-lv4l2  $LIBS" 
    12506 cat >conftest.$ac_ext <<_ACEOF 
    12507 /* confdefs.h.  */ 
    12508 _ACEOF 
    12509 cat confdefs.h >>conftest.$ac_ext 
    12510 cat >>conftest.$ac_ext <<_ACEOF 
     6272cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    125116273/* end confdefs.h.  */ 
    125126274 
     
    125266288} 
    125276289_ACEOF 
    12528 rm -f conftest.$ac_objext conftest$ac_exeext 
    12529 if { (ac_try="$ac_link" 
    12530 case "(($ac_try" in 
    12531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12532   *) ac_try_echo=$ac_try;; 
    12533 esac 
    12534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12535   (eval "$ac_link") 2>conftest.er1 
    12536   ac_status=$? 
    12537   grep -v '^ *+' conftest.er1 >conftest.err 
    12538   rm -f conftest.er1 
    12539   cat conftest.err >&5 
    12540   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12541   (exit $ac_status); } && { 
    12542          test -z "$ac_c_werror_flag" || 
    12543          test ! -s conftest.err 
    12544        } && test -s conftest$ac_exeext && 
    12545        $as_test_x conftest$ac_exeext; then 
     6290if ac_fn_c_try_link "$LINENO"; then : 
    125466291  ac_cv_lib_v4l2_v4l2_open=yes 
    125476292else 
    12548   echo "$as_me: failed program was:" >&5 
    12549 sed 's/^/| /' conftest.$ac_ext >&5 
    12550  
    12551         ac_cv_lib_v4l2_v4l2_open=no 
    12552 fi 
    12553  
    12554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12555       conftest$ac_exeext conftest.$ac_ext 
     6293  ac_cv_lib_v4l2_v4l2_open=no 
     6294fi 
     6295rm -f core conftest.err conftest.$ac_objext \ 
     6296    conftest$ac_exeext conftest.$ac_ext 
    125566297LIBS=$ac_check_lib_save_LIBS 
    125576298fi 
    12558 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
    12559 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 
    12560 if test $ac_cv_lib_v4l2_v4l2_open = yes; then 
     6299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 
     6300$as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 
     6301if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 
    125616302  ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 
    125626303                              ac_v4l2_ldflags="-lv4l2" 
     
    125716312 
    125726313# Check whether --enable-ipp was given. 
    12573 if test "${enable_ipp+set}" = set; then 
     6314if test "${enable_ipp+set}" = set; then : 
    125746315  enableval=$enable_ipp; 
    125756316else 
     
    125816322 
    125826323# Check whether --with-ipp was given. 
    12583 if test "${with_ipp+set}" = set; then 
     6324if test "${with_ipp+set}" = set; then : 
    125846325  withval=$with_ipp; 
    125856326else 
     
    125916332 
    125926333# Check whether --with-ipp-samples was given. 
    12593 if test "${with_ipp_samples+set}" = set; then 
     6334if test "${with_ipp_samples+set}" = set; then : 
    125946335  withval=$with_ipp_samples; 
    125956336else 
     
    126016342 
    126026343# Check whether --with-ipp-arch was given. 
    12603 if test "${with_ipp_arch+set}" = set; then 
     6344if test "${with_ipp_arch+set}" = set; then : 
    126046345  withval=$with_ipp_arch; 
    126056346else 
     
    126106351 
    126116352if test "x$enable_ipp" != "xno"; then 
    12612                 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 
    12613 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 
     6353                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 
     6354$as_echo_n "checking Intel IPP location... " >&6; } 
    126146355 
    126156356    if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 
    12616         { echo "$as_me:$LINENO: result: $with_ipp" >&5 
    12617 echo "${ECHO_T}$with_ipp" >&6; } 
     6357        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 
     6358$as_echo "$with_ipp" >&6; } 
    126186359        IPPROOT=$with_ipp 
    126196360    elif test "x$IPPROOT" = "x"; then 
    126206361        if test -d /opt/intel/ipp; then 
    126216362            IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 
    12622             { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 
    12623 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 
     6363            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 
     6364$as_echo "autodetected in $IPPROOT" >&6; } 
    126246365        fi 
    126256366    else 
    12626         { echo "$as_me:$LINENO: result: $IPPROOT" >&5 
    12627 echo "${ECHO_T}$IPPROOT" >&6; } 
     6367        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 
     6368$as_echo "$IPPROOT" >&6; } 
    126286369    fi 
    126296370 
    126306371    if test "x$with_ipp_arch" != "xno"; then 
    126316372        IPP_SUFFIX=$with_ipp_arch 
    12632         { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
    12633 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
     6373        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 
     6374$as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 
    126346375    else 
    126356376        IPP_SUFFIX="" 
    12636         { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 
    12637 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 
     6377        { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 
     6378$as_echo "IPP arch suffix is set to empty" >&6; } 
    126386379    fi 
    126396380 
    126406381    if test x$IPPROOT = x; then 
    12641         { { 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 
    12642 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;} 
    12643    { (exit 1); exit 1; }; } 
     6382        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 
    126446383    elif test ! -d $IPPROOT; then 
    12645         { { echo "$as_me:$LINENO: error: not found" >&5 
    12646 echo "$as_me: error: not found" >&2;} 
    12647    { (exit 1); exit 1; }; } 
     6384        as_fn_error "not found" "$LINENO" 5 
    126486385    elif test ! -d $IPPROOT/include; then 
    12649         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12650 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12651    { (exit 1); exit 1; }; } 
     6386        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    126526387    else 
    126536388        # IPP directory looks okay. 
     
    126866421                   # IPP7 
    126876422                   if ! test -d $IPPROOT/../compiler; then 
    12688                         { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 
    12689 echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 
    12690    { (exit 1); exit 1; }; } 
     6423                        as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 
    126916424                   fi 
    126926425                   IPP_CFLAGS="$IPP_CFLAGS" 
     
    127066439 
    127076440 
    12708         { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 
    12709 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 
    12710         cat >conftest.$ac_ext <<_ACEOF 
    12711 /* confdefs.h.  */ 
    12712 _ACEOF 
    12713 cat confdefs.h >>conftest.$ac_ext 
    12714 cat >>conftest.$ac_ext <<_ACEOF 
     6441        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 
     6442$as_echo_n "checking Intel IPP usability... " >&6; } 
     6443        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    127156444/* end confdefs.h.  */ 
    127166445#include <ippcore.h> 
     
    127246453} 
    127256454_ACEOF 
    12726 rm -f conftest.$ac_objext conftest$ac_exeext 
    12727 if { (ac_try="$ac_link" 
    12728 case "(($ac_try" in 
    12729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12730   *) ac_try_echo=$ac_try;; 
    12731 esac 
    12732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12733   (eval "$ac_link") 2>conftest.er1 
    12734   ac_status=$? 
    12735   grep -v '^ *+' conftest.er1 >conftest.err 
    12736   rm -f conftest.er1 
    12737   cat conftest.err >&5 
    12738   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12739   (exit $ac_status); } && { 
    12740          test -z "$ac_c_werror_flag" || 
    12741          test ! -s conftest.err 
    12742        } && test -s conftest$ac_exeext && 
    12743        $as_test_x conftest$ac_exeext; then 
    12744   { echo "$as_me:$LINENO: result: ok" >&5 
    12745 echo "${ECHO_T}ok" >&6; } 
    12746 else 
    12747   echo "$as_me: failed program was:" >&5 
    12748 sed 's/^/| /' conftest.$ac_ext >&5 
    12749  
    12750         { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12751 See \`config.log' for more details." >&5 
    12752 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
    12753 See \`config.log' for more details." >&2;} 
    12754    { (exit run with --help for more info); exit run with --help for more info; }; } 
    12755 fi 
    12756  
    12757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12758       conftest$ac_exeext conftest.$ac_ext 
     6455if ac_fn_c_try_link "$LINENO"; then : 
     6456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6457$as_echo "ok" >&6; } 
     6458else 
     6459  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6461{ as_fn_set_status run with --help for more info 
     6462as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 
     6463See \`config.log' for more details." "$LINENO" 5; }; } 
     6464fi 
     6465rm -f core conftest.err conftest.$ac_objext \ 
     6466    conftest$ac_exeext conftest.$ac_ext 
    127596467 
    127606468        CFLAGS="$SAVED_CFLAGS" 
     
    127636471    fi 
    127646472 
    12765                 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 
    12766 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 
     6473                { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 
     6474$as_echo_n "checking Intel IPP samples location... " >&6; } 
    127676475 
    127686476    if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 
    12769         { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 
    12770 echo "${ECHO_T}$with_ipp_samples" >&6; } 
     6477        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 
     6478$as_echo "$with_ipp_samples" >&6; } 
    127716479        IPPSAMPLES=$with_ipp_samples 
    127726480    elif test "x$IPPSAMPLES" = "x"; then 
    127736481        if test -d /opt/intel/ipp-samples; then 
    127746482            IPPSAMPLES=/opt/intel/ipp-samples 
    12775             { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 
    12776 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 
     6483            { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 
     6484$as_echo "autodetected in $IPPSAMPLES" >&6; } 
    127776485        fi 
    127786486    else 
    12779         { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 
    12780 echo "${ECHO_T}$IPPSAMPLES" >&6; } 
     6487        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 
     6488$as_echo "$IPPSAMPLES" >&6; } 
    127816489    fi 
    127826490 
    127836491    if test x$IPPSAMPLES = x; then 
    12784         { { 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 
    12785 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;} 
    12786    { (exit 1); exit 1; }; } 
     6492        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 
    127876493    elif test ! -d $IPPSAMPLES; then 
    12788         { { echo "$as_me:$LINENO: error: not found" >&5 
    12789 echo "$as_me: error: not found" >&2;} 
    12790    { (exit 1); exit 1; }; } 
     6494        as_fn_error "not found" "$LINENO" 5 
    127916495    elif test ! -d $IPPSAMPLES/speech-codecs; then 
    12792         { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 
    12793 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 
    12794    { (exit 1); exit 1; }; } 
     6496        as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 
    127956497    else 
    127966498        # Remove trailing backslash 
     
    127986500 
    127996501        # Guess the libusc.a/libspeech.a build location 
    12800         { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 
    12801 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 
     6502        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 
     6503$as_echo_n "checking Intel IPP USC build location... " >&6; } 
    128026504        if test -d $IPPSAMPLES/speech-codecs/bin; then 
    128036505            IPPVER=5 
     
    128126514                IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 
    128136515            else 
    12814                 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12815 See \`config.log' for more details." >&5 
    12816 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    12817 See \`config.log' for more details." >&2;} 
    12818    { (exit 1); exit 1; }; } 
     6516                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6518as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
     6519See \`config.log' for more details." "$LINENO" 5; } 
    128196520            fi 
    128206521        else 
    12821             { { 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? 
    12822 See \`config.log' for more details." >&5 
    12823 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? 
    12824 See \`config.log' for more details." >&2;} 
    12825    { (exit 1); exit 1; }; } 
     6522            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6524as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
     6525See \`config.log' for more details." "$LINENO" 5; } 
    128266526        fi 
    128276527 
    128286528        # Test the directory 
    128296529        if test ! -d $IPPSAMP_DIR; then 
    12830             { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12831 See \`config.log' for more details." >&5 
    12832 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    12833 See \`config.log' for more details." >&2;} 
    12834    { (exit 1); exit 1; }; } 
     6530            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6531$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6532as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
     6533See \`config.log' for more details." "$LINENO" 5; } 
    128356534            exit 1; 
    128366535        fi 
     
    128436542            IPPSAMP_LDLIBS="-lspeech" 
    128446543        else 
    12845             { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 
    12846 See \`config.log' for more details." >&5 
    12847 echo "$as_me: error: bug in this script: unsupported IPP version 
    12848 See \`config.log' for more details." >&2;} 
    12849    { (exit 1); exit 1; }; } 
     6544            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6546as_fn_error "bug in this script: unsupported IPP version 
     6547See \`config.log' for more details." "$LINENO" 5; } 
    128506548        fi 
    128516549 
    128526550        if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 
    12853             { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12854 See \`config.log' for more details." >&5 
    12855 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    12856 See \`config.log' for more details." >&2;} 
    12857    { (exit 1); exit 1; }; } 
     6551            { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6552$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6553as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
     6554See \`config.log' for more details." "$LINENO" 5; } 
    128586555        fi 
    128596556 
    12860         { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 
    12861 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 
     6557        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 
     6558$as_echo "$IPPSAMP_DIR" >&6; } 
    128626559 
    128636560        SAVED_CFLAGS="$CFLAGS" 
     
    128706567        LIBS="$IPPSAMP_LDLIBS $LIBS" 
    128716568 
    12872         { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 
    12873 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 
    12874         cat >conftest.$ac_ext <<_ACEOF 
    12875 /* confdefs.h.  */ 
    12876 _ACEOF 
    12877 cat confdefs.h >>conftest.$ac_ext 
    12878 cat >>conftest.$ac_ext <<_ACEOF 
     6569        { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 
     6570$as_echo_n "checking Intel IPP USC usability... " >&6; } 
     6571        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    128796572/* end confdefs.h.  */ 
    128806573#include <usc.h> 
     
    128886581} 
    128896582_ACEOF 
    12890 rm -f conftest.$ac_objext conftest$ac_exeext 
    12891 if { (ac_try="$ac_link" 
    12892 case "(($ac_try" in 
    12893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12894   *) ac_try_echo=$ac_try;; 
    12895 esac 
    12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12897   (eval "$ac_link") 2>conftest.er1 
    12898   ac_status=$? 
    12899   grep -v '^ *+' conftest.er1 >conftest.err 
    12900   rm -f conftest.er1 
    12901   cat conftest.err >&5 
    12902   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12903   (exit $ac_status); } && { 
    12904          test -z "$ac_c_werror_flag" || 
    12905          test ! -s conftest.err 
    12906        } && test -s conftest$ac_exeext && 
    12907        $as_test_x conftest$ac_exeext; then 
    12908   { echo "$as_me:$LINENO: result: ok" >&5 
    12909 echo "${ECHO_T}ok" >&6; } 
    12910 else 
    12911   echo "$as_me: failed program was:" >&5 
    12912 sed 's/^/| /' conftest.$ac_ext >&5 
    12913  
    12914         { { echo "$as_me:$LINENO: error: failed 
    12915 See \`config.log' for more details." >&5 
    12916 echo "$as_me: error: failed 
    12917 See \`config.log' for more details." >&2;} 
    12918    { (exit 1); exit 1; }; } 
    12919 fi 
    12920  
    12921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    12922       conftest$ac_exeext conftest.$ac_ext 
     6583if ac_fn_c_try_link "$LINENO"; then : 
     6584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 
     6585$as_echo "ok" >&6; } 
     6586else 
     6587  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     6588$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     6589as_fn_error "failed 
     6590See \`config.log' for more details." "$LINENO" 5; } 
     6591fi 
     6592rm -f core conftest.err conftest.$ac_objext \ 
     6593    conftest$ac_exeext conftest.$ac_ext 
    129236594 
    129246595        CFLAGS="$SAVED_CFLAGS" 
     
    129406611export IPP_LIBS=$IPP_LIBS" 
    129416612else 
    12942     { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 
    12943 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 
     6613    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 
     6614$as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 
    129446615fi 
    129456616 
     
    129486619 
    129496620# Check whether --enable-ssl was given. 
    12950 if test "${enable_ssl+set}" = set; then 
     6621if test "${enable_ssl+set}" = set; then : 
    129516622  enableval=$enable_ssl; 
    129526623                if test "$enable_ssl" = "no"; then 
    129536624                 ac_no_ssl=1 
    12954                  { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
    12955 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 
     6625                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 
     6626$as_echo "Checking if SSL support is disabled... yes" >&6; } 
    129566627                fi 
    129576628 
    129586629else 
    129596630 
    12960                 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
    12961 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 
    12962  
    12963  
    12964  
    12965                 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12966   { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    12967 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    12968 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    12969   echo $ECHO_N "(cached) $ECHO_C" >&6 
    12970 fi 
    12971 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    12972 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    12973 else 
    12974   # Is the header compilable? 
    12975 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
    12976 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 
    12977 cat >conftest.$ac_ext <<_ACEOF 
    12978 /* confdefs.h.  */ 
    12979 _ACEOF 
    12980 cat confdefs.h >>conftest.$ac_ext 
    12981 cat >>conftest.$ac_ext <<_ACEOF 
    12982 /* end confdefs.h.  */ 
    12983 $ac_includes_default 
    12984 #include <openssl/ssl.h> 
    12985 _ACEOF 
    12986 rm -f conftest.$ac_objext 
    12987 if { (ac_try="$ac_compile" 
    12988 case "(($ac_try" in 
    12989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    12990   *) ac_try_echo=$ac_try;; 
    12991 esac 
    12992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    12993   (eval "$ac_compile") 2>conftest.er1 
    12994   ac_status=$? 
    12995   grep -v '^ *+' conftest.er1 >conftest.err 
    12996   rm -f conftest.er1 
    12997   cat conftest.err >&5 
    12998   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12999   (exit $ac_status); } && { 
    13000          test -z "$ac_c_werror_flag" || 
    13001          test ! -s conftest.err 
    13002        } && test -s conftest.$ac_objext; then 
    13003   ac_header_compiler=yes 
    13004 else 
    13005   echo "$as_me: failed program was:" >&5 
    13006 sed 's/^/| /' conftest.$ac_ext >&5 
    13007  
    13008         ac_header_compiler=no 
    13009 fi 
    13010  
    13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    13012 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    13013 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    13014  
    13015 # Is the header present? 
    13016 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
    13017 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 
    13018 cat >conftest.$ac_ext <<_ACEOF 
    13019 /* confdefs.h.  */ 
    13020 _ACEOF 
    13021 cat confdefs.h >>conftest.$ac_ext 
    13022 cat >>conftest.$ac_ext <<_ACEOF 
    13023 /* end confdefs.h.  */ 
    13024 #include <openssl/ssl.h> 
    13025 _ACEOF 
    13026 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    13027 case "(($ac_try" in 
    13028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13029   *) ac_try_echo=$ac_try;; 
    13030 esac 
    13031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13032   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    13033   ac_status=$? 
    13034   grep -v '^ *+' conftest.er1 >conftest.err 
    13035   rm -f conftest.er1 
    13036   cat conftest.err >&5 
    13037   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13038   (exit $ac_status); } >/dev/null && { 
    13039          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    13040          test ! -s conftest.err 
    13041        }; then 
    13042   ac_header_preproc=yes 
    13043 else 
    13044   echo "$as_me: failed program was:" >&5 
    13045 sed 's/^/| /' conftest.$ac_ext >&5 
    13046  
    13047   ac_header_preproc=no 
    13048 fi 
    13049  
    13050 rm -f conftest.err conftest.$ac_ext 
    13051 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    13052 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    13053  
    13054 # So?  What about this header? 
    13055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    13056   yes:no: ) 
    13057     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    13058 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    13059     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
    13060 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
    13061     ac_header_preproc=yes 
    13062     ;; 
    13063   no:yes:* ) 
    13064     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
    13065 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
    13066     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
    13067 echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
    13068     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
    13069 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
    13070     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    13071 echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    13072     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
    13073 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
    13074     { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
    13075 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
    13076  
    13077     ;; 
    13078 esac 
    13079 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
    13080 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 
    13081 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
    13082   echo $ECHO_N "(cached) $ECHO_C" >&6 
    13083 else 
    13084   ac_cv_header_openssl_ssl_h=$ac_header_preproc 
    13085 fi 
    13086 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
    13087 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 
    13088  
    13089 fi 
    13090 if test $ac_cv_header_openssl_ssl_h = yes; then 
     6631                { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 
     6632$as_echo "checking for OpenSSL installations.." >&6; } 
     6633 
     6634 
     6635 
     6636                ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 
     6637if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 
    130916638  openssl_h_present=1 
    130926639fi 
    130936640 
    130946641 
    13095                 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
    13096 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 
    13097 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
    13098   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6642                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     6643$as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 
     6644if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 
     6645  $as_echo_n "(cached) " >&6 
    130996646else 
    131006647  ac_check_lib_save_LIBS=$LIBS 
    131016648LIBS="-lcrypto  $LIBS" 
    13102 cat >conftest.$ac_ext <<_ACEOF 
    13103 /* confdefs.h.  */ 
    13104 _ACEOF 
    13105 cat confdefs.h >>conftest.$ac_ext 
    13106 cat >>conftest.$ac_ext <<_ACEOF 
     6649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    131076650/* end confdefs.h.  */ 
    131086651 
     
    131226665} 
    131236666_ACEOF 
    13124 rm -f conftest.$ac_objext conftest$ac_exeext 
    13125 if { (ac_try="$ac_link" 
    13126 case "(($ac_try" in 
    13127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13128   *) ac_try_echo=$ac_try;; 
    13129 esac 
    13130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13131   (eval "$ac_link") 2>conftest.er1 
    13132   ac_status=$? 
    13133   grep -v '^ *+' conftest.er1 >conftest.err 
    13134   rm -f conftest.er1 
    13135   cat conftest.err >&5 
    13136   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13137   (exit $ac_status); } && { 
    13138          test -z "$ac_c_werror_flag" || 
    13139          test ! -s conftest.err 
    13140        } && test -s conftest$ac_exeext && 
    13141        $as_test_x conftest$ac_exeext; then 
     6667if ac_fn_c_try_link "$LINENO"; then : 
    131426668  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
    131436669else 
    13144   echo "$as_me: failed program was:" >&5 
    13145 sed 's/^/| /' conftest.$ac_ext >&5 
    13146  
    13147         ac_cv_lib_crypto_ERR_load_BIO_strings=no 
    13148 fi 
    13149  
    13150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13151       conftest$ac_exeext conftest.$ac_ext 
     6670  ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     6671fi 
     6672rm -f core conftest.err conftest.$ac_objext \ 
     6673    conftest$ac_exeext conftest.$ac_ext 
    131526674LIBS=$ac_check_lib_save_LIBS 
    131536675fi 
    13154 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
    13155 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
    13156 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     6676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     6677$as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 
     6678if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 
    131576679  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
    131586680fi 
    131596681 
    13160                 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
    13161 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 
    13162 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
    13163   echo $ECHO_N "(cached) $ECHO_C" >&6 
     6682                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 
     6683$as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 
     6684if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 
     6685  $as_echo_n "(cached) " >&6 
    131646686else 
    131656687  ac_check_lib_save_LIBS=$LIBS 
    131666688LIBS="-lssl  $LIBS" 
    13167 cat >conftest.$ac_ext <<_ACEOF 
    13168 /* confdefs.h.  */ 
    13169 _ACEOF 
    13170 cat confdefs.h >>conftest.$ac_ext 
    13171 cat >>conftest.$ac_ext <<_ACEOF 
     6689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    131726690/* end confdefs.h.  */ 
    131736691 
     
    131876705} 
    131886706_ACEOF 
    13189 rm -f conftest.$ac_objext conftest$ac_exeext 
    13190 if { (ac_try="$ac_link" 
    13191 case "(($ac_try" in 
    13192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    13193   *) ac_try_echo=$ac_try;; 
    13194 esac 
    13195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    13196   (eval "$ac_link") 2>conftest.er1 
    13197   ac_status=$? 
    13198   grep -v '^ *+' conftest.er1 >conftest.err 
    13199   rm -f conftest.er1 
    13200   cat conftest.err >&5 
    13201   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13202   (exit $ac_status); } && { 
    13203          test -z "$ac_c_werror_flag" || 
    13204          test ! -s conftest.err 
    13205        } && test -s conftest$ac_exeext && 
    13206        $as_test_x conftest$ac_exeext; then 
     6707if ac_fn_c_try_link "$LINENO"; then : 
    132076708  ac_cv_lib_ssl_SSL_library_init=yes 
    132086709else 
    13209   echo "$as_me: failed program was:" >&5 
    13210 sed 's/^/| /' conftest.$ac_ext >&5 
    13211  
    13212         ac_cv_lib_ssl_SSL_library_init=no 
    13213 fi 
    13214  
    13215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    13216       conftest$ac_exeext conftest.$ac_ext 
     6710  ac_cv_lib_ssl_SSL_library_init=no 
     6711fi 
     6712rm -f core conftest.err conftest.$ac_objext \ 
     6713    conftest$ac_exeext conftest.$ac_ext 
    132176714LIBS=$ac_check_lib_save_LIBS 
    132186715fi 
    13219 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
    13220 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 
    13221 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     6716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     6717$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 
     6718if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 
    132226719  libssl_present=1 && LIBS="$LIBS -lssl" 
    132236720fi 
    132246721 
    132256722                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
    13226                         { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
    13227 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 
     6723                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 
     6724$as_echo "OpenSSL library found, SSL support enabled" >&6; } 
    132286725                        # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 
    132296726                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    13230                         cat >>confdefs.h <<\_ACEOF 
    13231 #define PJ_HAS_SSL_SOCK 1 
    13232 _ACEOF 
     6727                        $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 
    132336728 
    132346729                else 
    13235                         { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
    13236 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 
     6730                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     6731$as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 
    132376732                fi 
    132386733 
     
    132436738 
    132446739 
    13245 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    13246 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 
     6740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 
     6741$as_echo_n "checking if select() needs correct nfds... " >&6; } 
    132476742case $target in 
    13248   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13249 #define PJ_SELECT_NEEDS_NFDS 1 
    13250 _ACEOF 
    13251  
    13252            { echo "$as_me:$LINENO: result: yes" >&5 
    13253 echo "${ECHO_T}yes" >&6; } 
     6743  *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 
     6744 
     6745           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6746$as_echo "yes" >&6; } 
    132546747        ;; 
    13255   *) cat >>confdefs.h <<\_ACEOF 
    13256 #define PJ_SELECT_NEEDS_NFDS 0 
    13257 _ACEOF 
    13258  
    13259      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13260 echo "${ECHO_T}no (default)" >&6; } 
    13261      { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    13262 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 
     6748  *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 
     6749 
     6750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6751$as_echo "no (default)" >&6; } 
     6752     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     6753$as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 
    132636754        ;; 
    132646755esac 
    132656756 
    13266 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    13267 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 
     6757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 
     6758$as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 
    132686759case $target in 
    13269   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13270 #define PJ_THREAD_SET_STACK_SIZE 1 
    13271 _ACEOF 
    13272  
    13273            { echo "$as_me:$LINENO: result: yes" >&5 
    13274 echo "${ECHO_T}yes" >&6; } 
     6760  *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 
     6761 
     6762           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6763$as_echo "yes" >&6; } 
    132756764        ;; 
    13276   *) cat >>confdefs.h <<\_ACEOF 
    13277 #define PJ_THREAD_SET_STACK_SIZE 0 
    13278 _ACEOF 
    13279  
    13280      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13281 echo "${ECHO_T}no (default)" >&6; } 
     6765  *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 
     6766 
     6767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6768$as_echo "no (default)" >&6; } 
    132826769        ;; 
    132836770esac 
    132846771 
    13285 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    13286 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 
     6772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 
     6773$as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 
    132876774case $target in 
    13288   *rtems*) cat >>confdefs.h <<\_ACEOF 
    13289 #define PJ_THREAD_ALLOCATE_STACK 1 
    13290 _ACEOF 
    13291  
    13292            { echo "$as_me:$LINENO: result: yes" >&5 
    13293 echo "${ECHO_T}yes" >&6; } 
     6775  *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 
     6776 
     6777           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     6778$as_echo "yes" >&6; } 
    132946779        ;; 
    13295   *) cat >>confdefs.h <<\_ACEOF 
    13296 #define PJ_THREAD_ALLOCATE_STACK 0 
    13297 _ACEOF 
    13298  
    13299      { echo "$as_me:$LINENO: result: no (default)" >&5 
    13300 echo "${ECHO_T}no (default)" >&6; } 
     6780  *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 
     6781 
     6782     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 
     6783$as_echo "no (default)" >&6; } 
    133016784        ;; 
    133026785esac 
     
    133046787case $target in 
    133056788  *mingw* | *cygw* | *win32* | *w32* ) 
    13306         cat >>confdefs.h <<\_ACEOF 
    13307 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    13308 _ACEOF 
     6789        $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    133096790 
    133106791        ;; 
    13311   *) cat >>confdefs.h <<\_ACEOF 
    13312 #define PJ_BLOCKING_ERROR_VAL EAGAIN 
    13313 _ACEOF 
    13314  
    13315      { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    13316 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
     6792  *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 
     6793 
     6794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     6795$as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 
    133176796        ;; 
    133186797esac 
     
    133206799case $target in 
    133216800  *mingw* | *cygw* | *win32* | *w32* ) 
    13322         cat >>confdefs.h <<\_ACEOF 
    13323 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    13324 _ACEOF 
     6801        $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 
    133256802 
    133266803        ;; 
    13327   *) cat >>confdefs.h <<\_ACEOF 
    13328 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    13329 _ACEOF 
    13330  
    13331      { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    13332 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
     6804  *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 
     6805 
     6806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     6807$as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 
    133336808        ;; 
    133346809esac 
     
    133856860    *${as_nl}*) 
    133866861      case $ac_var in #( 
    13387       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    13388 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     6862      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     6863$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    133896864      esac 
    133906865      case $ac_var in #( 
    133916866      _ | IFS | as_nl) ;; #( 
    13392       *) $as_unset $ac_var ;; 
     6867      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     6868      *) { eval $ac_var=; unset $ac_var;} ;; 
    133936869      esac ;; 
    133946870    esac 
     
    133986874    case $as_nl`(ac_space=' '; set) 2>&1` in #( 
    133996875    *${as_nl}ac_space=\ *) 
    13400       # `set' does not quote correctly, so add quotes (double-quote 
    13401       # substitution turns \\\\ into \\, and sed turns \\ into \). 
     6876      # `set' does not quote correctly, so add quotes: double-quote 
     6877      # substitution turns \\\\ into \\, and sed turns \\ into \. 
    134026878      sed -n \ 
    134036879        "s/'/'\\\\''/g; 
     
    134226898  if test -w "$cache_file"; then 
    134236899    test "x$cache_file" != "x/dev/null" && 
    13424       { echo "$as_me:$LINENO: updating cache $cache_file" >&5 
    13425 echo "$as_me: updating cache $cache_file" >&6;} 
     6900      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 
     6901$as_echo "$as_me: updating cache $cache_file" >&6;} 
    134266902    cat confcache >$cache_file 
    134276903  else 
    13428     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 
    13429 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
     6904    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 
     6905$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 
    134306906  fi 
    134316907fi 
     
    134436919  # 1. Remove the extension, and $U if already installed. 
    134446920  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 
    13445   ac_i=`echo "$ac_i" | sed "$ac_script"` 
     6921  ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 
    134466922  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR 
    134476923  #    will be set to the directory where LIBOBJS objects are built. 
    13448   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
    13449   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 
     6924  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 
     6925  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 
    134506926done 
    134516927LIBOBJS=$ac_libobjs 
     
    134556931 
    134566932 
     6933 
    134576934: ${CONFIG_STATUS=./config.status} 
     6935ac_write_fail=0 
    134586936ac_clean_files_save=$ac_clean_files 
    134596937ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    13460 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    13461 echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    13462 cat >$CONFIG_STATUS <<_ACEOF 
     6938{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 
     6939$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 
     6940as_write_fail=0 
     6941cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 
    134636942#! $SHELL 
    134646943# Generated by $as_me. 
     
    134706949ac_cs_recheck=false 
    134716950ac_cs_silent=false 
     6951 
    134726952SHELL=\${CONFIG_SHELL-$SHELL} 
    13473 _ACEOF 
    13474  
    13475 cat >>$CONFIG_STATUS <<\_ACEOF 
    13476 ## --------------------- ## 
    13477 ## M4sh Initialization.  ## 
    13478 ## --------------------- ## 
     6953export SHELL 
     6954_ASEOF 
     6955cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 
     6956## -------------------- ## 
     6957## M4sh Initialization. ## 
     6958## -------------------- ## 
    134796959 
    134806960# Be more Bourne compatible 
    134816961DUALCASE=1; export DUALCASE # for MKS sh 
    13482 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     6962if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    134836963  emulate sh 
    134846964  NULLCMD=: 
    13485   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     6965  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    134866966  # is contrary to our usage.  Disable this feature. 
    134876967  alias -g '${1+"$@"}'='"$@"' 
    134886968  setopt NO_GLOB_SUBST 
    134896969else 
    13490   case `(set -o) 2>/dev/null` in 
    13491   *posix*) set -o posix ;; 
     6970  case `(set -o) 2>/dev/null` in #( 
     6971  *posix*) : 
     6972    set -o posix ;; #( 
     6973  *) : 
     6974     ;; 
    134926975esac 
    13493  
    13494 fi 
    13495  
    13496  
    13497  
    13498  
    13499 # PATH needs CR 
    13500 # Avoid depending upon Character Ranges. 
    13501 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    13502 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    13503 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    13504 as_cr_digits='0123456789' 
    13505 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     6976fi 
     6977 
     6978 
     6979as_nl=' 
     6980' 
     6981export as_nl 
     6982# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     6983as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     6984as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     6985as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     6986# Prefer a ksh shell builtin over an external printf program on Solaris, 
     6987# but without wasting forks for bash or zsh. 
     6988if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     6989    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6990  as_echo='print -r --' 
     6991  as_echo_n='print -rn --' 
     6992elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     6993  as_echo='printf %s\n' 
     6994  as_echo_n='printf %s' 
     6995else 
     6996  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     6997    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     6998    as_echo_n='/usr/ucb/echo -n' 
     6999  else 
     7000    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     7001    as_echo_n_body='eval 
     7002      arg=$1; 
     7003      case $arg in #( 
     7004      *"$as_nl"*) 
     7005        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     7006        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     7007      esac; 
     7008      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     7009    ' 
     7010    export as_echo_n_body 
     7011    as_echo_n='sh -c $as_echo_n_body as_echo' 
     7012  fi 
     7013  export as_echo_body 
     7014  as_echo='sh -c $as_echo_body as_echo' 
     7015fi 
    135067016 
    135077017# The user is always right. 
    135087018if test "${PATH_SEPARATOR+set}" != set; then 
    13509   echo "#! /bin/sh" >conf$$.sh 
    13510   echo  "exit 0"   >>conf$$.sh 
    13511   chmod +x conf$$.sh 
    13512   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    13513     PATH_SEPARATOR=';' 
    13514   else 
    13515     PATH_SEPARATOR=: 
    13516   fi 
    13517   rm -f conf$$.sh 
    13518 fi 
    13519  
    13520 # Support unset when possible. 
    13521 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    13522   as_unset=unset 
    13523 else 
    13524   as_unset=false 
     7019  PATH_SEPARATOR=: 
     7020  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     7021    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     7022      PATH_SEPARATOR=';' 
     7023  } 
    135257024fi 
    135267025 
     
    135317030# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    135327031# splitting by setting IFS to empty value.) 
    13533 as_nl=' 
    13534 ' 
    135357032IFS=" ""        $as_nl" 
    135367033 
    135377034# Find who we are.  Look in the path if we contain no directory separator. 
    13538 case $0 in 
     7035case $0 in #(( 
    135397036  *[\\/]* ) as_myself=$0 ;; 
    135407037  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    135437040  IFS=$as_save_IFS 
    135447041  test -z "$as_dir" && as_dir=. 
    13545   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    13546 done 
     7042    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     7043  done 
    135477044IFS=$as_save_IFS 
    135487045 
     
    135557052fi 
    135567053if test ! -f "$as_myself"; then 
    13557   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    13558   { (exit 1); exit 1; } 
    13559 fi 
    13560  
    13561 # Work around bugs in pre-3.0 UWIN ksh. 
    13562 for as_var in ENV MAIL MAILPATH 
    13563 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     7054  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     7055  exit 1 
     7056fi 
     7057 
     7058# Unset variables that we do not need and which cause bugs (e.g. in 
     7059# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     7060# suppresses any "Segmentation fault" message there.  '((' could 
     7061# trigger a bug in pdksh 5.2.14. 
     7062for as_var in BASH_ENV ENV MAIL MAILPATH 
     7063do eval test x\${$as_var+set} = xset \ 
     7064  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    135647065done 
    135657066PS1='$ ' 
     
    135687069 
    135697070# NLS nuisances. 
    13570 for as_var in \ 
    13571   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    13572   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    13573   LC_TELEPHONE LC_TIME 
    13574 do 
    13575   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    13576     eval $as_var=C; export $as_var 
    13577   else 
    13578     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     7071LC_ALL=C 
     7072export LC_ALL 
     7073LANGUAGE=C 
     7074export LANGUAGE 
     7075 
     7076# CDPATH. 
     7077(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     7078 
     7079 
     7080# as_fn_error ERROR [LINENO LOG_FD] 
     7081# --------------------------------- 
     7082# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     7083# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     7084# script with status $?, using 1 if that was 0. 
     7085as_fn_error () 
     7086{ 
     7087  as_status=$?; test $as_status -eq 0 && as_status=1 
     7088  if test "$3"; then 
     7089    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     7090    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
    135797091  fi 
    13580 done 
    13581  
    13582 # Required to use basename. 
     7092  $as_echo "$as_me: error: $1" >&2 
     7093  as_fn_exit $as_status 
     7094} # as_fn_error 
     7095 
     7096 
     7097# as_fn_set_status STATUS 
     7098# ----------------------- 
     7099# Set $? to STATUS, without forking. 
     7100as_fn_set_status () 
     7101{ 
     7102  return $1 
     7103} # as_fn_set_status 
     7104 
     7105# as_fn_exit STATUS 
     7106# ----------------- 
     7107# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     7108as_fn_exit () 
     7109{ 
     7110  set +e 
     7111  as_fn_set_status $1 
     7112  exit $1 
     7113} # as_fn_exit 
     7114 
     7115# as_fn_unset VAR 
     7116# --------------- 
     7117# Portably unset VAR. 
     7118as_fn_unset () 
     7119{ 
     7120  { eval $1=; unset $1;} 
     7121} 
     7122as_unset=as_fn_unset 
     7123# as_fn_append VAR VALUE 
     7124# ---------------------- 
     7125# Append the text in VALUE to the end of the definition contained in VAR. Take 
     7126# advantage of any shell optimizations that allow amortized linear growth over 
     7127# repeated appends, instead of the typical quadratic growth present in naive 
     7128# implementations. 
     7129if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     7130  eval 'as_fn_append () 
     7131  { 
     7132    eval $1+=\$2 
     7133  }' 
     7134else 
     7135  as_fn_append () 
     7136  { 
     7137    eval $1=\$$1\$2 
     7138  } 
     7139fi # as_fn_append 
     7140 
     7141# as_fn_arith ARG... 
     7142# ------------------ 
     7143# Perform arithmetic evaluation on the ARGs, and store the result in the 
     7144# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     7145# must be portable across $(()) and expr. 
     7146if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     7147  eval 'as_fn_arith () 
     7148  { 
     7149    as_val=$(( $* )) 
     7150  }' 
     7151else 
     7152  as_fn_arith () 
     7153  { 
     7154    as_val=`expr "$@" || test $? -eq 1` 
     7155  } 
     7156fi # as_fn_arith 
     7157 
     7158 
    135837159if expr a : '\(a\)' >/dev/null 2>&1 && 
    135847160   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    135947170fi 
    135957171 
    13596  
    13597 # Name of the executable. 
     7172if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     7173  as_dirname=dirname 
     7174else 
     7175  as_dirname=false 
     7176fi 
     7177 
    135987178as_me=`$as_basename -- "$0" || 
    135997179$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    136007180         X"$0" : 'X\(//\)$' \| \ 
    136017181         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    13602 echo X/"$0" | 
     7182$as_echo X/"$0" | 
    136037183    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    136047184            s//\1/ 
     
    136157195          s/.*/./; q'` 
    136167196 
    13617 # CDPATH. 
    13618 $as_unset CDPATH 
    13619  
    13620  
    13621  
    13622   as_lineno_1=$LINENO 
    13623   as_lineno_2=$LINENO 
    13624   test "x$as_lineno_1" != "x$as_lineno_2" && 
    13625   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    13626  
    13627   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    13628   # uniformly replaced by the line number.  The first 'sed' inserts a 
    13629   # line-number line after each line using $LINENO; the second 'sed' 
    13630   # does the real work.  The second script uses 'N' to pair each 
    13631   # line-number line with the line containing $LINENO, and appends 
    13632   # trailing '-' during substitution so that $LINENO is not a special 
    13633   # case at line end. 
    13634   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    13635   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    13636   # E. McMahon (1931-1989) for sed's syntax.  :-) 
    13637   sed -n ' 
    13638     p 
    13639     /[$]LINENO/= 
    13640   ' <$as_myself | 
    13641     sed ' 
    13642       s/[$]LINENO.*/&-/ 
    13643       t lineno 
    13644       b 
    13645       :lineno 
    13646       N 
    13647       :loop 
    13648       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    13649       t loop 
    13650       s/-\n.*// 
    13651     ' >$as_me.lineno && 
    13652   chmod +x "$as_me.lineno" || 
    13653     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    13654    { (exit 1); exit 1; }; } 
    13655  
    13656   # Don't try to exec as it changes $[0], causing all sort of problems 
    13657   # (the dirname of $[0] is not the place where we might find the 
    13658   # original and so on.  Autoconf is especially sensitive to this). 
    13659   . "./$as_me.lineno" 
    13660   # Exit status is that of the last command. 
    13661   exit 
    13662 } 
    13663  
    13664  
    13665 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    13666   as_dirname=dirname 
    13667 else 
    13668   as_dirname=false 
    13669 fi 
     7197# Avoid depending upon Character Ranges. 
     7198as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     7199as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     7200as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     7201as_cr_digits='0123456789' 
     7202as_cr_alnum=$as_cr_Letters$as_cr_digits 
    136707203 
    136717204ECHO_C= ECHO_N= ECHO_T= 
    13672 case `echo -n x` in 
     7205case `echo -n x` in #((((( 
    136737206-n*) 
    13674   case `echo 'x\c'` in 
     7207  case `echo 'xy\c'` in 
    136757208  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    13676   *)   ECHO_C='\c';; 
     7209  xy)  ECHO_C='\c';; 
     7210  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     7211       ECHO_T=' ';; 
    136777212  esac;; 
    136787213*) 
     
    136807215esac 
    136817216 
    13682 if expr a : '\(a\)' >/dev/null 2>&1 && 
    13683    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    13684   as_expr=expr 
    13685 else 
    13686   as_expr=false 
    13687 fi 
    13688  
    136897217rm -f conf$$ conf$$.exe conf$$.file 
    136907218if test -d conf$$.dir; then 
     
    136927220else 
    136937221  rm -f conf$$.dir 
    13694   mkdir conf$$.dir 
    13695 fi 
    13696 echo >conf$$.file 
    13697 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    13698   as_ln_s='ln -s' 
    13699   # ... but there are two gotchas: 
    13700   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    13701   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    13702   # In both cases, we have to default to `cp -p'. 
    13703   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7222  mkdir conf$$.dir 2>/dev/null 
     7223fi 
     7224if (echo >conf$$.file) 2>/dev/null; then 
     7225  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     7226    as_ln_s='ln -s' 
     7227    # ... but there are two gotchas: 
     7228    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     7229    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     7230    # In both cases, we have to default to `cp -p'. 
     7231    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     7232      as_ln_s='cp -p' 
     7233  elif ln conf$$.file conf$$ 2>/dev/null; then 
     7234    as_ln_s=ln 
     7235  else 
    137047236    as_ln_s='cp -p' 
    13705 elif ln conf$$.file conf$$ 2>/dev/null; then 
    13706   as_ln_s=ln 
     7237  fi 
    137077238else 
    137087239  as_ln_s='cp -p' 
     
    137117242rmdir conf$$.dir 2>/dev/null 
    137127243 
    13713 if mkdir -p . 2>/dev/null; then 
    13714   as_mkdir_p=: 
    13715 else 
    13716   test -d ./-p && rmdir ./-p 
    13717   as_mkdir_p=false 
    13718 fi 
    13719  
    13720 if test -x / >/dev/null 2>&1; then 
    13721   as_test_x='test -x' 
    13722 else 
    13723   if ls -dL / >/dev/null 2>&1; then 
    13724     as_ls_L_option=L 
    13725   else 
    13726     as_ls_L_option= 
    13727   fi 
    13728   as_test_x=' 
    13729     eval sh -c '\'' 
    13730       if test -d "$1"; then 
    13731         test -d "$1/."; 
    13732       else 
    13733         case $1 in 
    13734         -*)set "./$1";; 
    13735         esac; 
    13736         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
    13737         ???[sx]*):;;*)false;;esac;fi 
    13738     '\'' sh 
    13739   ' 
    13740 fi 
    13741 as_executable_p=$as_test_x 
    13742  
    13743 # Sed expression to map a string onto a valid CPP name. 
    13744 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    13745  
    13746 # Sed expression to map a string onto a valid variable name. 
    13747 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    13748  
    13749  
    13750 exec 6>&1 
    13751  
    13752 # Save the log message, to keep $[0] and so on meaningful, and to 
    13753 # report actual input values of CONFIG_FILES etc. instead of their 
    13754 # values after options handling. 
    13755 ac_log=" 
    13756 This file was extended by pjproject $as_me 1.x, which was 
    13757 generated by GNU Autoconf 2.61.  Invocation command line was 
    13758  
    13759   CONFIG_FILES    = $CONFIG_FILES 
    13760   CONFIG_HEADERS  = $CONFIG_HEADERS 
    13761   CONFIG_LINKS    = $CONFIG_LINKS 
    13762   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    13763   $ $0 $@ 
    13764  
    13765 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    13766 " 
    13767  
    13768 _ACEOF 
    13769  
    13770 cat >>$CONFIG_STATUS <<_ACEOF 
    13771 # Files that config.status was made for. 
    13772 config_files="$ac_config_files" 
    13773 config_headers="$ac_config_headers" 
    13774  
    13775 _ACEOF 
    13776  
    13777 cat >>$CONFIG_STATUS <<\_ACEOF 
    13778 ac_cs_usage="\ 
    13779 \`$as_me' instantiates files from templates according to the 
    13780 current configuration. 
    13781  
    13782 Usage: $0 [OPTIONS] [FILE]... 
    13783  
    13784   -h, --help       print this help, then exit 
    13785   -V, --version    print version number and configuration settings, then exit 
    13786   -q, --quiet      do not print progress messages 
    13787   -d, --debug      don't remove temporary files 
    13788       --recheck    update $as_me by reconfiguring in the same conditions 
    13789   --file=FILE[:TEMPLATE] 
    13790                    instantiate the configuration file FILE 
    13791   --header=FILE[:TEMPLATE] 
    13792                    instantiate the configuration header FILE 
    13793  
    13794 Configuration files: 
    13795 $config_files 
    13796  
    13797 Configuration headers: 
    13798 $config_headers 
    13799  
    13800 Report bugs to <bug-autoconf@gnu.org>." 
    13801  
    13802 _ACEOF 
    13803 cat >>$CONFIG_STATUS <<_ACEOF 
    13804 ac_cs_version="\\ 
    13805 pjproject config.status 1.x 
    13806 configured by $0, generated by GNU Autoconf 2.61, 
    13807   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
    13808  
    13809 Copyright (C) 2006 Free Software Foundation, Inc. 
    13810 This config.status script is free software; the Free Software Foundation 
    13811 gives unlimited permission to copy, distribute and modify it." 
    13812  
    13813 ac_pwd='$ac_pwd' 
    13814 srcdir='$srcdir' 
    13815 _ACEOF 
    13816  
    13817 cat >>$CONFIG_STATUS <<\_ACEOF 
    13818 # If no file are specified by the user, then we need to provide default 
    13819 # value.  By we need to know if files were specified by the user. 
    13820 ac_need_defaults=: 
    13821 while test $# != 0 
    13822 do 
    13823   case $1 in 
    13824   --*=*) 
    13825     ac_option=`expr "X$1" : 'X\([^=]*\)='` 
    13826     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    13827     ac_shift=: 
    13828     ;; 
    13829   *) 
    13830     ac_option=$1 
    13831     ac_optarg=$2 
    13832     ac_shift=shift 
    13833     ;; 
    13834   esac 
    13835  
    13836   case $ac_option in 
    13837   # Handling of the options. 
    13838   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    13839     ac_cs_recheck=: ;; 
    13840   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
    13841     echo "$ac_cs_version"; exit ;; 
    13842   --debug | --debu | --deb | --de | --d | -d ) 
    13843     debug=: ;; 
    13844   --file | --fil | --fi | --f ) 
    13845     $ac_shift 
    13846     CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    13847     ac_need_defaults=false;; 
    13848   --header | --heade | --head | --hea ) 
    13849     $ac_shift 
    13850     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    13851     ac_need_defaults=false;; 
    13852   --he | --h) 
    13853     # Conflict between --help and --header 
    13854     { echo "$as_me: error: ambiguous option: $1 
    13855 Try \`$0 --help' for more information." >&2 
    13856    { (exit 1); exit 1; }; };; 
    13857   --help | --hel | -h ) 
    13858     echo "$ac_cs_usage"; exit ;; 
    13859   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    13860   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    13861     ac_cs_silent=: ;; 
    13862  
    13863   # This is an error. 
    13864   -*) { echo "$as_me: error: unrecognized option: $1 
    13865 Try \`$0 --help' for more information." >&2 
    13866    { (exit 1); exit 1; }; } ;; 
    13867  
    13868   *) ac_config_targets="$ac_config_targets $1" 
    13869      ac_need_defaults=false ;; 
    13870  
    13871   esac 
    13872   shift 
    13873 done 
    13874  
    13875 ac_configure_extra_args= 
    13876  
    13877 if $ac_cs_silent; then 
    13878   exec 6>/dev/null 
    13879   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    13880 fi 
    13881  
    13882 _ACEOF 
    13883 cat >>$CONFIG_STATUS <<_ACEOF 
    13884 if \$ac_cs_recheck; then 
    13885   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
    13886   CONFIG_SHELL=$SHELL 
    13887   export CONFIG_SHELL 
    13888   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    13889 fi 
    13890  
    13891 _ACEOF 
    13892 cat >>$CONFIG_STATUS <<\_ACEOF 
    13893 exec 5>>config.log 
    13894 { 
    13895   echo 
    13896   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    13897 ## Running $as_me. ## 
    13898 _ASBOX 
    13899   echo "$ac_log" 
    13900 } >&5 
    13901  
    13902 _ACEOF 
    13903 cat >>$CONFIG_STATUS <<_ACEOF 
    13904 _ACEOF 
    13905  
    13906 cat >>$CONFIG_STATUS <<\_ACEOF 
    13907  
    13908 # Handling of arguments. 
    13909 for ac_config_target in $ac_config_targets 
    13910 do 
    13911   case $ac_config_target in 
    13912     "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    13913     "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    13914     "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
    13915     "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
    13916     "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
    13917     "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
    13918     "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
    13919     "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
    13920     "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
    13921     "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
    13922     "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
    13923     "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
    13924     "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    13925     "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
    13926  
    13927   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    13928 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    13929    { (exit 1); exit 1; }; };; 
    13930   esac 
    13931 done 
    13932  
    13933  
    13934 # If the user did not use the arguments to specify the items to instantiate, 
    13935 # then the envvar interface is used.  Set only those that are not. 
    13936 # We use the long form for the default assignment because of an extremely 
    13937 # bizarre bug on SunOS 4.1.3. 
    13938 if $ac_need_defaults; then 
    13939   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
    13940   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
    13941 fi 
    13942  
    13943 # Have a temporary directory for convenience.  Make it in the build tree 
    13944 # simply because there is no reason against having it here, and in addition, 
    13945 # creating and moving files from /tmp can sometimes cause problems. 
    13946 # Hook for its removal unless debugging. 
    13947 # Note that there is a small window in which the directory will not be cleaned: 
    13948 # after its creation but before its name has been assigned to `$tmp'. 
    13949 $debug || 
    13950 { 
    13951   tmp= 
    13952   trap 'exit_status=$? 
    13953   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
    13954 ' 0 
    13955   trap '{ (exit 1); exit 1; }' 1 2 13 15 
    13956 } 
    13957 # Create a (secure) tmp directory for tmp files. 
    13958  
    13959 { 
    13960   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    13961   test -n "$tmp" && test -d "$tmp" 
    13962 }  || 
    13963 { 
    13964   tmp=./conf$$-$RANDOM 
    13965   (umask 077 && mkdir "$tmp") 
    13966 } || 
    13967 { 
    13968    echo "$me: cannot create a temporary directory in ." >&2 
    13969    { (exit 1); exit 1; } 
    13970 } 
    13971  
    13972 # 
    13973 # Set up the sed scripts for CONFIG_FILES section. 
    13974 # 
    13975  
    13976 # No need to generate the scripts if there are no CONFIG_FILES. 
    13977 # This happens for instance when ./config.status config.h 
    13978 if test -n "$CONFIG_FILES"; then 
    13979  
    13980 _ACEOF 
    13981  
    13982  
    13983  
    13984 ac_delim='%!_!# ' 
    13985 for ac_last_try in false false false false false :; do 
    13986   cat >conf$$subs.sed <<_ACEOF 
    13987 SHELL!$SHELL$ac_delim 
    13988 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 
    13989 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 
    13990 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 
    13991 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 
    13992 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 
    13993 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 
    13994 exec_prefix!$exec_prefix$ac_delim 
    13995 prefix!$prefix$ac_delim 
    13996 program_transform_name!$program_transform_name$ac_delim 
    13997 bindir!$bindir$ac_delim 
    13998 sbindir!$sbindir$ac_delim 
    13999 libexecdir!$libexecdir$ac_delim 
    14000 datarootdir!$datarootdir$ac_delim 
    14001 datadir!$datadir$ac_delim 
    14002 sysconfdir!$sysconfdir$ac_delim 
    14003 sharedstatedir!$sharedstatedir$ac_delim 
    14004 localstatedir!$localstatedir$ac_delim 
    14005 includedir!$includedir$ac_delim 
    14006 oldincludedir!$oldincludedir$ac_delim 
    14007 docdir!$docdir$ac_delim 
    14008 infodir!$infodir$ac_delim 
    14009 htmldir!$htmldir$ac_delim 
    14010 dvidir!$dvidir$ac_delim 
    14011 pdfdir!$pdfdir$ac_delim 
    14012 psdir!$psdir$ac_delim 
    14013 libdir!$libdir$ac_delim 
    14014 localedir!$localedir$ac_delim 
    14015 mandir!$mandir$ac_delim 
    14016 DEFS!$DEFS$ac_delim 
    14017 ECHO_C!$ECHO_C$ac_delim 
    14018 ECHO_N!$ECHO_N$ac_delim 
    14019 ECHO_T!$ECHO_T$ac_delim 
    14020 LIBS!$LIBS$ac_delim 
    14021 build_alias!$build_alias$ac_delim 
    14022 host_alias!$host_alias$ac_delim 
    14023 target_alias!$target_alias$ac_delim 
    14024 build!$build$ac_delim 
    14025 build_cpu!$build_cpu$ac_delim 
    14026 build_vendor!$build_vendor$ac_delim 
    14027 build_os!$build_os$ac_delim 
    14028 host!$host$ac_delim 
    14029 host_cpu!$host_cpu$ac_delim 
    14030 host_vendor!$host_vendor$ac_delim 
    14031 host_os!$host_os$ac_delim 
    14032 target!$target$ac_delim 
    14033 target_cpu!$target_cpu$ac_delim 
    14034 target_vendor!$target_vendor$ac_delim 
    14035 target_os!$target_os$ac_delim 
    14036 CC!$CC$ac_delim 
    14037 CFLAGS!$CFLAGS$ac_delim 
    14038 LDFLAGS!$LDFLAGS$ac_delim 
    14039 CPPFLAGS!$CPPFLAGS$ac_delim 
    14040 ac_ct_CC!$ac_ct_CC$ac_delim 
    14041 EXEEXT!$EXEEXT$ac_delim 
    14042 OBJEXT!$OBJEXT$ac_delim 
    14043 CXX!$CXX$ac_delim 
    14044 CXXFLAGS!$CXXFLAGS$ac_delim 
    14045 ac_ct_CXX!$ac_ct_CXX$ac_delim 
    14046 AR!$AR$ac_delim 
    14047 LD!$LD$ac_delim 
    14048 LDOUT!$LDOUT$ac_delim 
    14049 RANLIB!$RANLIB$ac_delim 
    14050 LIBEXT!$LIBEXT$ac_delim 
    14051 LIBEXT2!$LIBEXT2$ac_delim 
    14052 CC_OUT!$CC_OUT$ac_delim 
    14053 CC_INC!$CC_INC$ac_delim 
    14054 CC_DEF!$CC_DEF$ac_delim 
    14055 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 
    14056 CC_CFLAGS!$CC_CFLAGS$ac_delim 
    14057 ac_pjdir!$ac_pjdir$ac_delim 
    14058 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 
    14059 CPP!$CPP$ac_delim 
    14060 GREP!$GREP$ac_delim 
    14061 EGREP!$EGREP$ac_delim 
    14062 ac_os_objs!$ac_os_objs$ac_delim 
    14063 ac_external_speex!$ac_external_speex$ac_delim 
    14064 ac_external_gsm!$ac_external_gsm$ac_delim 
    14065 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 
    14066 ac_external_pa!$ac_external_pa$ac_delim 
    14067 ac_pa_cflags!$ac_pa_cflags$ac_delim 
    14068 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 
    14069 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 
    14070 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 
    14071 ac_ios_cflags!$ac_ios_cflags$ac_delim 
    14072 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 
    14073 ac_qt_cflags!$ac_qt_cflags$ac_delim 
    14074 ac_no_small_filter!$ac_no_small_filter$ac_delim 
    14075 ac_no_large_filter!$ac_no_large_filter$ac_delim 
    14076 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 
    14077 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 
    14078 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 
    14079 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 
    14080 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 
    14081 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 
    14082 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 
    14083 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 
    14084 _ACEOF 
    14085  
    14086   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 
    14087     break 
    14088   elif $ac_last_try; then 
    14089     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    14090 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    14091    { (exit 1); exit 1; }; } 
    14092   else 
    14093     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    14094   fi 
    14095 done 
    14096  
    14097 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    14098 if test -n "$ac_eof"; then 
    14099   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    14100   ac_eof=`expr $ac_eof + 1` 
    14101 fi 
    14102  
    14103 cat >>$CONFIG_STATUS <<_ACEOF 
    14104 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 
    14105 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    14106 _ACEOF 
    14107 sed ' 
    14108 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    14109 s/^/s,@/; s/!/@,|#_!!_#|/ 
    14110 :n 
    14111 t n 
    14112 s/'"$ac_delim"'$/,g/; t 
    14113 s/$/\\/; p 
    14114 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    14115 ' >>$CONFIG_STATUS <conf$$subs.sed 
    14116 rm -f conf$$subs.sed 
    14117 cat >>$CONFIG_STATUS <<_ACEOF 
    14118 CEOF$ac_eof 
    14119 _ACEOF 
    14120  
    14121  
    14122 ac_delim='%!_!# ' 
    14123 for ac_last_try in false false false false false :; do 
    14124   cat >conf$$subs.sed <<_ACEOF 
    14125 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 
    14126 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 
    14127 ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 
    14128 ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 
    14129 ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 
    14130 ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 
    14131 ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 
    14132 ac_no_ssl!$ac_no_ssl$ac_delim 
    14133 openssl_h_present!$openssl_h_present$ac_delim 
    14134 libssl_present!$libssl_present$ac_delim 
    14135 libcrypto_present!$libcrypto_present$ac_delim 
    14136 ac_cross_compile!$ac_cross_compile$ac_delim 
    14137 ac_linux_poll!$ac_linux_poll$ac_delim 
    14138 ac_host!$ac_host$ac_delim 
    14139 ac_main_obj!$ac_main_obj$ac_delim 
    14140 LIBOBJS!$LIBOBJS$ac_delim 
    14141 LTLIBOBJS!$LTLIBOBJS$ac_delim 
    14142 _ACEOF 
    14143  
    14144   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then 
    14145     break 
    14146   elif $ac_last_try; then 
    14147     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 
    14148 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 
    14149    { (exit 1); exit 1; }; } 
    14150   else 
    14151     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
    14152   fi 
    14153 done 
    14154  
    14155 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 
    14156 if test -n "$ac_eof"; then 
    14157   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 
    14158   ac_eof=`expr $ac_eof + 1` 
    14159 fi 
    14160  
    14161 cat >>$CONFIG_STATUS <<_ACEOF 
    14162 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 
    14163 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
    14164 _ACEOF 
    14165 sed ' 
    14166 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 
    14167 s/^/s,@/; s/!/@,|#_!!_#|/ 
    14168 :n 
    14169 t n 
    14170 s/'"$ac_delim"'$/,g/; t 
    14171 s/$/\\/; p 
    14172 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 
    14173 ' >>$CONFIG_STATUS <conf$$subs.sed 
    14174 rm -f conf$$subs.sed 
    14175 cat >>$CONFIG_STATUS <<_ACEOF 
    14176 :end 
    14177 s/|#_!!_#|//g 
    14178 CEOF$ac_eof 
    14179 _ACEOF 
    14180  
    14181  
    14182 # VPATH may cause trouble with some makes, so we remove $(srcdir), 
    14183 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
    14184 # trailing colons and then remove the whole line if VPATH becomes empty 
    14185 # (actually we leave an empty line to preserve line numbers). 
    14186 if test "x$srcdir" = x.; then 
    14187   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    14188 s/:*\$(srcdir):*/:/ 
    14189 s/:*\${srcdir}:*/:/ 
    14190 s/:*@srcdir@:*/:/ 
    14191 s/^\([^=]*=[     ]*\):*/\1/ 
    14192 s/:*$// 
    14193 s/^[^=]*=[       ]*$// 
    14194 }' 
    14195 fi 
    14196  
    14197 cat >>$CONFIG_STATUS <<\_ACEOF 
    14198 fi # test -n "$CONFIG_FILES" 
    14199  
    14200  
    14201 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
    14202 do 
    14203   case $ac_tag in 
    14204   :[FHLC]) ac_mode=$ac_tag; continue;; 
    14205   esac 
    14206   case $ac_mode$ac_tag in 
    14207   :[FHL]*:*);; 
    14208   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
    14209 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
    14210    { (exit 1); exit 1; }; };; 
    14211   :[FH]-) ac_tag=-:-;; 
    14212   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
    14213   esac 
    14214   ac_save_IFS=$IFS 
    14215   IFS=: 
    14216   set x $ac_tag 
    14217   IFS=$ac_save_IFS 
    14218   shift 
    14219   ac_file=$1 
    14220   shift 
    14221  
    14222   case $ac_mode in 
    14223   :L) ac_source=$1;; 
    14224   :[FH]) 
    14225     ac_file_inputs= 
    14226     for ac_f 
    14227     do 
    14228       case $ac_f in 
    14229       -) ac_f="$tmp/stdin";; 
    14230       *) # Look for the file first in the build tree, then in the source tree 
    14231          # (if the path is not absolute).  The absolute path cannot be DOS-style, 
    14232          # because $ac_f cannot contain `:'. 
    14233          test -f "$ac_f" || 
    14234            case $ac_f in 
    14235            [\\/$]*) false;; 
    14236            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    14237            esac || 
    14238            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
    14239 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
    14240    { (exit 1); exit 1; }; };; 
    14241       esac 
    14242       ac_file_inputs="$ac_file_inputs $ac_f" 
    14243     done 
    14244  
    14245     # Let's still pretend it is `configure' which instantiates (i.e., don't 
    14246     # use $as_me), people would be surprised to read: 
    14247     #    /* config.h.  Generated by config.status.  */ 
    14248     configure_input="Generated from "`IFS=: 
    14249           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
    14250     if test x"$ac_file" != x-; then 
    14251       configure_input="$ac_file.  $configure_input" 
    14252       { echo "$as_me:$LINENO: creating $ac_file" >&5 
    14253 echo "$as_me: creating $ac_file" >&6;} 
    14254     fi 
    14255  
    14256     case $ac_tag in 
    14257     *:-:* | *:-) cat >"$tmp/stdin";; 
    14258     esac 
    14259     ;; 
    14260   esac 
    14261  
    14262   ac_dir=`$as_dirname -- "$ac_file" || 
    14263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    14264          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    14265          X"$ac_file" : 'X\(//\)$' \| \ 
    14266          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    14267 echo X"$ac_file" | 
    14268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    14269             s//\1/ 
    14270             q 
    14271           } 
    14272           /^X\(\/\/\)[^/].*/{ 
    14273             s//\1/ 
    14274             q 
    14275           } 
    14276           /^X\(\/\/\)$/{ 
    14277             s//\1/ 
    14278             q 
    14279           } 
    14280           /^X\(\/\).*/{ 
    14281             s//\1/ 
    14282             q 
    14283           } 
    14284           s/.*/./; q'` 
    14285   { as_dir="$ac_dir" 
     7244 
     7245# as_fn_mkdir_p 
     7246# ------------- 
     7247# Create "$as_dir" as a directory, including parents if necessary. 
     7248as_fn_mkdir_p () 
     7249{ 
     7250 
    142867251  case $as_dir in #( 
    142877252  -*) as_dir=./$as_dir;; 
    142887253  esac 
    14289   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
     7254  test -d "$as_dir" || eval $as_mkdir_p || { 
    142907255    as_dirs= 
    142917256    while :; do 
    142927257      case $as_dir in #( 
    14293       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
     7258      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
    142947259      *) as_qdir=$as_dir;; 
    142957260      esac 
     
    143007265         X"$as_dir" : 'X\(//\)$' \| \ 
    143017266         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    14302 echo X"$as_dir" | 
     7267$as_echo X"$as_dir" | 
    143037268    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    143047269            s//\1/ 
     
    143217286    done 
    143227287    test -z "$as_dirs" || eval "mkdir $as_dirs" 
    14323   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
    14324 echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    14325    { (exit 1); exit 1; }; }; } 
     7288  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     7289 
     7290 
     7291} # as_fn_mkdir_p 
     7292if mkdir -p . 2>/dev/null; then 
     7293  as_mkdir_p='mkdir -p "$as_dir"' 
     7294else 
     7295  test -d ./-p && rmdir ./-p 
     7296  as_mkdir_p=false 
     7297fi 
     7298 
     7299if test -x / >/dev/null 2>&1; then 
     7300  as_test_x='test -x' 
     7301else 
     7302  if ls -dL / >/dev/null 2>&1; then 
     7303    as_ls_L_option=L 
     7304  else 
     7305    as_ls_L_option= 
     7306  fi 
     7307  as_test_x=' 
     7308    eval sh -c '\'' 
     7309      if test -d "$1"; then 
     7310        test -d "$1/."; 
     7311      else 
     7312        case $1 in #( 
     7313        -*)set "./$1";; 
     7314        esac; 
     7315        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
     7316        ???[sx]*):;;*)false;;esac;fi 
     7317    '\'' sh 
     7318  ' 
     7319fi 
     7320as_executable_p=$as_test_x 
     7321 
     7322# Sed expression to map a string onto a valid CPP name. 
     7323as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     7324 
     7325# Sed expression to map a string onto a valid variable name. 
     7326as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     7327 
     7328 
     7329exec 6>&1 
     7330## ----------------------------------- ## 
     7331## Main body of $CONFIG_STATUS script. ## 
     7332## ----------------------------------- ## 
     7333_ASEOF 
     7334test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 
     7335 
     7336cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7337# Save the log message, to keep $0 and so on meaningful, and to 
     7338# report actual input values of CONFIG_FILES etc. instead of their 
     7339# values after options handling. 
     7340ac_log=" 
     7341This file was extended by pjproject $as_me 1.x, which was 
     7342generated by GNU Autoconf 2.65.  Invocation command line was 
     7343 
     7344  CONFIG_FILES    = $CONFIG_FILES 
     7345  CONFIG_HEADERS  = $CONFIG_HEADERS 
     7346  CONFIG_LINKS    = $CONFIG_LINKS 
     7347  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     7348  $ $0 $@ 
     7349 
     7350on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     7351" 
     7352 
     7353_ACEOF 
     7354 
     7355case $ac_config_files in *" 
     7356"*) set x $ac_config_files; shift; ac_config_files=$*;; 
     7357esac 
     7358 
     7359case $ac_config_headers in *" 
     7360"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 
     7361esac 
     7362 
     7363 
     7364cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7365# Files that config.status was made for. 
     7366config_files="$ac_config_files" 
     7367config_headers="$ac_config_headers" 
     7368 
     7369_ACEOF 
     7370 
     7371cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7372ac_cs_usage="\ 
     7373\`$as_me' instantiates files and other configuration actions 
     7374from templates according to the current configuration.  Unless the files 
     7375and actions are specified as TAGs, all are instantiated by default. 
     7376 
     7377Usage: $0 [OPTION]... [TAG]... 
     7378 
     7379  -h, --help       print this help, then exit 
     7380  -V, --version    print version number and configuration settings, then exit 
     7381      --config     print configuration, then exit 
     7382  -q, --quiet, --silent 
     7383                   do not print progress messages 
     7384  -d, --debug      don't remove temporary files 
     7385      --recheck    update $as_me by reconfiguring in the same conditions 
     7386      --file=FILE[:TEMPLATE] 
     7387                   instantiate the configuration file FILE 
     7388      --header=FILE[:TEMPLATE] 
     7389                   instantiate the configuration header FILE 
     7390 
     7391Configuration files: 
     7392$config_files 
     7393 
     7394Configuration headers: 
     7395$config_headers 
     7396 
     7397Report bugs to the package provider." 
     7398 
     7399_ACEOF 
     7400cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7401ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 
     7402ac_cs_version="\\ 
     7403pjproject config.status 1.x 
     7404configured by $0, generated by GNU Autoconf 2.65, 
     7405  with options \\"\$ac_cs_config\\" 
     7406 
     7407Copyright (C) 2009 Free Software Foundation, Inc. 
     7408This config.status script is free software; the Free Software Foundation 
     7409gives unlimited permission to copy, distribute and modify it." 
     7410 
     7411ac_pwd='$ac_pwd' 
     7412srcdir='$srcdir' 
     7413test -n "\$AWK" || AWK=awk 
     7414_ACEOF 
     7415 
     7416cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7417# The default lists apply if the user does not specify any file. 
     7418ac_need_defaults=: 
     7419while test $# != 0 
     7420do 
     7421  case $1 in 
     7422  --*=*) 
     7423    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     7424    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
     7425    ac_shift=: 
     7426    ;; 
     7427  *) 
     7428    ac_option=$1 
     7429    ac_optarg=$2 
     7430    ac_shift=shift 
     7431    ;; 
     7432  esac 
     7433 
     7434  case $ac_option in 
     7435  # Handling of the options. 
     7436  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
     7437    ac_cs_recheck=: ;; 
     7438  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     7439    $as_echo "$ac_cs_version"; exit ;; 
     7440  --config | --confi | --conf | --con | --co | --c ) 
     7441    $as_echo "$ac_cs_config"; exit ;; 
     7442  --debug | --debu | --deb | --de | --d | -d ) 
     7443    debug=: ;; 
     7444  --file | --fil | --fi | --f ) 
     7445    $ac_shift 
     7446    case $ac_optarg in 
     7447    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7448    esac 
     7449    as_fn_append CONFIG_FILES " '$ac_optarg'" 
     7450    ac_need_defaults=false;; 
     7451  --header | --heade | --head | --hea ) 
     7452    $ac_shift 
     7453    case $ac_optarg in 
     7454    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     7455    esac 
     7456    as_fn_append CONFIG_HEADERS " '$ac_optarg'" 
     7457    ac_need_defaults=false;; 
     7458  --he | --h) 
     7459    # Conflict between --help and --header 
     7460    as_fn_error "ambiguous option: \`$1' 
     7461Try \`$0 --help' for more information.";; 
     7462  --help | --hel | -h ) 
     7463    $as_echo "$ac_cs_usage"; exit ;; 
     7464  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     7465  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     7466    ac_cs_silent=: ;; 
     7467 
     7468  # This is an error. 
     7469  -*) as_fn_error "unrecognized option: \`$1' 
     7470Try \`$0 --help' for more information." ;; 
     7471 
     7472  *) as_fn_append ac_config_targets " $1" 
     7473     ac_need_defaults=false ;; 
     7474 
     7475  esac 
     7476  shift 
     7477done 
     7478 
     7479ac_configure_extra_args= 
     7480 
     7481if $ac_cs_silent; then 
     7482  exec 6>/dev/null 
     7483  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     7484fi 
     7485 
     7486_ACEOF 
     7487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7488if \$ac_cs_recheck; then 
     7489  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     7490  shift 
     7491  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 
     7492  CONFIG_SHELL='$SHELL' 
     7493  export CONFIG_SHELL 
     7494  exec "\$@" 
     7495fi 
     7496 
     7497_ACEOF 
     7498cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7499exec 5>>config.log 
     7500{ 
     7501  echo 
     7502  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     7503## Running $as_me. ## 
     7504_ASBOX 
     7505  $as_echo "$ac_log" 
     7506} >&5 
     7507 
     7508_ACEOF 
     7509cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7510_ACEOF 
     7511 
     7512cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7513 
     7514# Handling of arguments. 
     7515for ac_config_target in $ac_config_targets 
     7516do 
     7517  case $ac_config_target in 
     7518    "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
     7519    "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
     7520    "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 
     7521    "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 
     7522    "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     7523    "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 
     7524    "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 
     7525    "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 
     7526    "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 
     7527    "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 
     7528    "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 
     7529    "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 
     7530    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
     7531    "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 
     7532 
     7533  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     7534  esac 
     7535done 
     7536 
     7537 
     7538# If the user did not use the arguments to specify the items to instantiate, 
     7539# then the envvar interface is used.  Set only those that are not. 
     7540# We use the long form for the default assignment because of an extremely 
     7541# bizarre bug on SunOS 4.1.3. 
     7542if $ac_need_defaults; then 
     7543  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 
     7544  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 
     7545fi 
     7546 
     7547# Have a temporary directory for convenience.  Make it in the build tree 
     7548# simply because there is no reason against having it here, and in addition, 
     7549# creating and moving files from /tmp can sometimes cause problems. 
     7550# Hook for its removal unless debugging. 
     7551# Note that there is a small window in which the directory will not be cleaned: 
     7552# after its creation but before its name has been assigned to `$tmp'. 
     7553$debug || 
     7554{ 
     7555  tmp= 
     7556  trap 'exit_status=$? 
     7557  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     7558' 0 
     7559  trap 'as_fn_exit 1' 1 2 13 15 
     7560} 
     7561# Create a (secure) tmp directory for tmp files. 
     7562 
     7563{ 
     7564  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
     7565  test -n "$tmp" && test -d "$tmp" 
     7566}  || 
     7567{ 
     7568  tmp=./conf$$-$RANDOM 
     7569  (umask 077 && mkdir "$tmp") 
     7570} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 
     7571 
     7572# Set up the scripts for CONFIG_FILES section. 
     7573# No need to generate them if there are no CONFIG_FILES. 
     7574# This happens for instance with `./config.status config.h'. 
     7575if test -n "$CONFIG_FILES"; then 
     7576 
     7577 
     7578ac_cr=`echo X | tr X '\015'` 
     7579# On cygwin, bash can eat \r inside `` if the user requested igncr. 
     7580# But we know of no other shell where ac_cr would be empty at this 
     7581# point, so we can use a bashism as a fallback. 
     7582if test "x$ac_cr" = x; then 
     7583  eval ac_cr=\$\'\\r\' 
     7584fi 
     7585ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 
     7586if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 
     7587  ac_cs_awk_cr='\r' 
     7588else 
     7589  ac_cs_awk_cr=$ac_cr 
     7590fi 
     7591 
     7592echo 'BEGIN {' >"$tmp/subs1.awk" && 
     7593_ACEOF 
     7594 
     7595 
     7596{ 
     7597  echo "cat >conf$$subs.awk <<_ACEOF" && 
     7598  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 
     7599  echo "_ACEOF" 
     7600} >conf$$subs.sh || 
     7601  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7602ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 
     7603ac_delim='%!_!# ' 
     7604for ac_last_try in false false false false false :; do 
     7605  . ./conf$$subs.sh || 
     7606    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7607 
     7608  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 
     7609  if test $ac_delim_n = $ac_delim_num; then 
     7610    break 
     7611  elif $ac_last_try; then 
     7612    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 
     7613  else 
     7614    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7615  fi 
     7616done 
     7617rm -f conf$$subs.sh 
     7618 
     7619cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7620cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 
     7621_ACEOF 
     7622sed -n ' 
     7623h 
     7624s/^/S["/; s/!.*/"]=/ 
     7625p 
     7626g 
     7627s/^[^!]*!// 
     7628:repl 
     7629t repl 
     7630s/'"$ac_delim"'$// 
     7631t delim 
     7632:nl 
     7633h 
     7634s/\(.\{148\}\)..*/\1/ 
     7635t more1 
     7636s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 
     7637p 
     7638n 
     7639b repl 
     7640:more1 
     7641s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7642p 
     7643g 
     7644s/.\{148\}// 
     7645t nl 
     7646:delim 
     7647h 
     7648s/\(.\{148\}\)..*/\1/ 
     7649t more2 
     7650s/["\\]/\\&/g; s/^/"/; s/$/"/ 
     7651p 
     7652b 
     7653:more2 
     7654s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 
     7655p 
     7656g 
     7657s/.\{148\}// 
     7658t delim 
     7659' <conf$$subs.awk | sed ' 
     7660/^[^""]/{ 
     7661  N 
     7662  s/\n// 
     7663} 
     7664' >>$CONFIG_STATUS || ac_write_fail=1 
     7665rm -f conf$$subs.awk 
     7666cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7667_ACAWK 
     7668cat >>"\$tmp/subs1.awk" <<_ACAWK && 
     7669  for (key in S) S_is_set[key] = 1 
     7670  FS = "" 
     7671 
     7672} 
     7673{ 
     7674  line = $ 0 
     7675  nfields = split(line, field, "@") 
     7676  substed = 0 
     7677  len = length(field[1]) 
     7678  for (i = 2; i < nfields; i++) { 
     7679    key = field[i] 
     7680    keylen = length(key) 
     7681    if (S_is_set[key]) { 
     7682      value = S[key] 
     7683      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 
     7684      len += length(value) + length(field[++i]) 
     7685      substed = 1 
     7686    } else 
     7687      len += 1 + keylen 
     7688  } 
     7689 
     7690  print line 
     7691} 
     7692 
     7693_ACAWK 
     7694_ACEOF 
     7695cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7696if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 
     7697  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 
     7698else 
     7699  cat 
     7700fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 
     7701  || as_fn_error "could not setup config files machinery" "$LINENO" 5 
     7702_ACEOF 
     7703 
     7704# VPATH may cause trouble with some makes, so we remove $(srcdir), 
     7705# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 
     7706# trailing colons and then remove the whole line if VPATH becomes empty 
     7707# (actually we leave an empty line to preserve line numbers). 
     7708if test "x$srcdir" = x.; then 
     7709  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     7710s/:*\$(srcdir):*/:/ 
     7711s/:*\${srcdir}:*/:/ 
     7712s/:*@srcdir@:*/:/ 
     7713s/^\([^=]*=[     ]*\):*/\1/ 
     7714s/:*$// 
     7715s/^[^=]*=[       ]*$// 
     7716}' 
     7717fi 
     7718 
     7719cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7720fi # test -n "$CONFIG_FILES" 
     7721 
     7722# Set up the scripts for CONFIG_HEADERS section. 
     7723# No need to generate them if there are no CONFIG_HEADERS. 
     7724# This happens for instance with `./config.status Makefile'. 
     7725if test -n "$CONFIG_HEADERS"; then 
     7726cat >"$tmp/defines.awk" <<\_ACAWK || 
     7727BEGIN { 
     7728_ACEOF 
     7729 
     7730# Transform confdefs.h into an awk script `defines.awk', embedded as 
     7731# here-document in config.status, that substitutes the proper values into 
     7732# config.h.in to produce config.h. 
     7733 
     7734# Create a delimiter string that does not exist in confdefs.h, to ease 
     7735# handling of long lines. 
     7736ac_delim='%!_!# ' 
     7737for ac_last_try in false false :; do 
     7738  ac_t=`sed -n "/$ac_delim/p" confdefs.h` 
     7739  if test -z "$ac_t"; then 
     7740    break 
     7741  elif $ac_last_try; then 
     7742    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 
     7743  else 
     7744    ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 
     7745  fi 
     7746done 
     7747 
     7748# For the awk script, D is an array of macro values keyed by name, 
     7749# likewise P contains macro parameters if any.  Preserve backslash 
     7750# newline sequences. 
     7751 
     7752ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
     7753sed -n ' 
     7754s/.\{148\}/&'"$ac_delim"'/g 
     7755t rset 
     7756:rset 
     7757s/^[     ]*#[    ]*define[       ][      ]*/ / 
     7758t def 
     7759d 
     7760:def 
     7761s/\\$// 
     7762t bsnl 
     7763s/["\\]/\\&/g 
     7764s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7765D["\1"]=" \3"/p 
     7766s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p 
     7767d 
     7768:bsnl 
     7769s/["\\]/\\&/g 
     7770s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ 
     7771D["\1"]=" \3\\\\\\n"\\/p 
     7772t cont 
     7773s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 
     7774t cont 
     7775d 
     7776:cont 
     7777n 
     7778s/.\{148\}/&'"$ac_delim"'/g 
     7779t clear 
     7780:clear 
     7781s/\\$// 
     7782t bsnlc 
     7783s/["\\]/\\&/g; s/^/"/; s/$/"/p 
     7784d 
     7785:bsnlc 
     7786s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 
     7787b cont 
     7788' <confdefs.h | sed ' 
     7789s/'"$ac_delim"'/"\\\ 
     7790"/g' >>$CONFIG_STATUS || ac_write_fail=1 
     7791 
     7792cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     7793  for (key in D) D_is_set[key] = 1 
     7794  FS = "" 
     7795} 
     7796/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 
     7797  line = \$ 0 
     7798  split(line, arg, " ") 
     7799  if (arg[1] == "#") { 
     7800    defundef = arg[2] 
     7801    mac1 = arg[3] 
     7802  } else { 
     7803    defundef = substr(arg[1], 2) 
     7804    mac1 = arg[2] 
     7805  } 
     7806  split(mac1, mac2, "(") #) 
     7807  macro = mac2[1] 
     7808  prefix = substr(line, 1, index(line, defundef) - 1) 
     7809  if (D_is_set[macro]) { 
     7810    # Preserve the white space surrounding the "#". 
     7811    print prefix "define", macro P[macro] D[macro] 
     7812    next 
     7813  } else { 
     7814    # Replace #undef with comments.  This is necessary, for example, 
     7815    # in the case of _POSIX_SOURCE, which is predefined and required 
     7816    # on some systems where configure will not decide to define it. 
     7817    if (defundef == "undef") { 
     7818      print "/*", prefix defundef, macro, "*/" 
     7819      next 
     7820    } 
     7821  } 
     7822} 
     7823{ print } 
     7824_ACAWK 
     7825_ACEOF 
     7826cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
     7827  as_fn_error "could not setup config headers machinery" "$LINENO" 5 
     7828fi # test -n "$CONFIG_HEADERS" 
     7829 
     7830 
     7831eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " 
     7832shift 
     7833for ac_tag 
     7834do 
     7835  case $ac_tag in 
     7836  :[FHLC]) ac_mode=$ac_tag; continue;; 
     7837  esac 
     7838  case $ac_mode$ac_tag in 
     7839  :[FHL]*:*);; 
     7840  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     7841  :[FH]-) ac_tag=-:-;; 
     7842  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     7843  esac 
     7844  ac_save_IFS=$IFS 
     7845  IFS=: 
     7846  set x $ac_tag 
     7847  IFS=$ac_save_IFS 
     7848  shift 
     7849  ac_file=$1 
     7850  shift 
     7851 
     7852  case $ac_mode in 
     7853  :L) ac_source=$1;; 
     7854  :[FH]) 
     7855    ac_file_inputs= 
     7856    for ac_f 
     7857    do 
     7858      case $ac_f in 
     7859      -) ac_f="$tmp/stdin";; 
     7860      *) # Look for the file first in the build tree, then in the source tree 
     7861         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     7862         # because $ac_f cannot contain `:'. 
     7863         test -f "$ac_f" || 
     7864           case $ac_f in 
     7865           [\\/$]*) false;; 
     7866           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     7867           esac || 
     7868           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     7869      esac 
     7870      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     7871      as_fn_append ac_file_inputs " '$ac_f'" 
     7872    done 
     7873 
     7874    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     7875    # use $as_me), people would be surprised to read: 
     7876    #    /* config.h.  Generated by config.status.  */ 
     7877    configure_input='Generated from '` 
     7878          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 
     7879        `' by configure.' 
     7880    if test x"$ac_file" != x-; then 
     7881      configure_input="$ac_file.  $configure_input" 
     7882      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 
     7883$as_echo "$as_me: creating $ac_file" >&6;} 
     7884    fi 
     7885    # Neutralize special characters interpreted by sed in replacement strings. 
     7886    case $configure_input in #( 
     7887    *\&* | *\|* | *\\* ) 
     7888       ac_sed_conf_input=`$as_echo "$configure_input" | 
     7889       sed 's/[\\\\&|]/\\\\&/g'`;; #( 
     7890    *) ac_sed_conf_input=$configure_input;; 
     7891    esac 
     7892 
     7893    case $ac_tag in 
     7894    *:-:* | *:-) cat >"$tmp/stdin" \ 
     7895      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 
     7896    esac 
     7897    ;; 
     7898  esac 
     7899 
     7900  ac_dir=`$as_dirname -- "$ac_file" || 
     7901$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     7902         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     7903         X"$ac_file" : 'X\(//\)$' \| \ 
     7904         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
     7905$as_echo X"$ac_file" | 
     7906    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     7907            s//\1/ 
     7908            q 
     7909          } 
     7910          /^X\(\/\/\)[^/].*/{ 
     7911            s//\1/ 
     7912            q 
     7913          } 
     7914          /^X\(\/\/\)$/{ 
     7915            s//\1/ 
     7916            q 
     7917          } 
     7918          /^X\(\/\).*/{ 
     7919            s//\1/ 
     7920            q 
     7921          } 
     7922          s/.*/./; q'` 
     7923  as_dir="$ac_dir"; as_fn_mkdir_p 
    143267924  ac_builddir=. 
    143277925 
     
    143297927.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    143307928*) 
    14331   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     7929  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    143327930  # A ".." for each directory in $ac_dir_suffix. 
    14333   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     7931  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    143347932  case $ac_top_builddir_sub in 
    143357933  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    143677965_ACEOF 
    143687966 
    14369 cat >>$CONFIG_STATUS <<\_ACEOF 
     7967cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    143707968# If the template does not know about datarootdir, expand it. 
    143717969# FIXME: This hack should be removed a few years after 2.60. 
    143727970ac_datarootdir_hack=; ac_datarootdir_seen= 
    14373  
    14374 case `sed -n '/datarootdir/ { 
     7971ac_sed_dataroot=' 
     7972/datarootdir/ { 
    143757973  p 
    143767974  q 
     
    143807978/@infodir@/p 
    143817979/@localedir@/p 
    14382 /@mandir@/p 
    14383 ' $ac_file_inputs` in 
     7980/@mandir@/p' 
     7981case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 
    143847982*datarootdir*) ac_datarootdir_seen=yes;; 
    143857983*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
    14386   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
    14387 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
    14388 _ACEOF 
    14389 cat >>$CONFIG_STATUS <<_ACEOF 
     7984  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     7985$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     7986_ACEOF 
     7987cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    143907988  ac_datarootdir_hack=' 
    143917989  s&@datadir@&$datadir&g 
     
    143947992  s&@localedir@&$localedir&g 
    143957993  s&@mandir@&$mandir&g 
    14396     s&\\\${datarootdir}&$datarootdir&g' ;; 
     7994  s&\\\${datarootdir}&$datarootdir&g' ;; 
    143977995esac 
    143987996_ACEOF 
     
    144017999# Shell code in configure.ac might set extrasub. 
    144028000# FIXME: do we really want to maintain this feature? 
    14403 cat >>$CONFIG_STATUS <<_ACEOF 
    14404   sed "$ac_vpsub 
     8001cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
     8002ac_sed_extra="$ac_vpsub 
    144058003$extrasub 
    144068004_ACEOF 
    14407 cat >>$CONFIG_STATUS <<\_ACEOF 
     8005cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 
    144088006:t 
    144098007/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    14410 s&@configure_input@&$configure_input&;t t 
     8008s|@configure_input@|$ac_sed_conf_input|;t t 
    144118009s&@top_builddir@&$ac_top_builddir_sub&;t t 
     8010s&@top_build_prefix@&$ac_top_build_prefix&;t t 
    144128011s&@srcdir@&$ac_srcdir&;t t 
    144138012s&@abs_srcdir@&$ac_abs_srcdir&;t t 
     
    144188017s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 
    144198018$ac_datarootdir_hack 
    14420 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 
     8019" 
     8020eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 
     8021  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    144218022 
    144228023test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 
    144238024  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 
    144248025  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 
    14425   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     8026  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    144268027which seems to be undefined.  Please make sure it is defined." >&5 
    14427 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
     8028$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 
    144288029which seems to be undefined.  Please make sure it is defined." >&2;} 
    144298030 
    144308031  rm -f "$tmp/stdin" 
    144318032  case $ac_file in 
    14432   -) cat "$tmp/out"; rm -f "$tmp/out";; 
    14433   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 
    14434   esac 
     8033  -) cat "$tmp/out" && rm -f "$tmp/out";; 
     8034  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 
     8035  esac \ 
     8036  || as_fn_error "could not create $ac_file" "$LINENO" 5 
    144358037 ;; 
    144368038  :H) 
     
    144388040  # CONFIG_HEADER 
    144398041  # 
    14440 _ACEOF 
    14441  
    14442 # Transform confdefs.h into a sed script `conftest.defines', that 
    14443 # substitutes the proper values into config.h.in to produce config.h. 
    14444 rm -f conftest.defines conftest.tail 
    14445 # First, append a space to every undef/define line, to ease matching. 
    14446 echo 's/$/ /' >conftest.defines 
    14447 # Then, protect against being on the right side of a sed subst, or in 
    14448 # an unquoted here document, in config.status.  If some macros were 
    14449 # called several times there might be several #defines for the same 
    14450 # symbol, which is useless.  But do not sort them, since the last 
    14451 # AC_DEFINE must be honored. 
    14452 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 
    14453 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 
    14454 # NAME is the cpp macro being defined, VALUE is the value it is being given. 
    14455 # PARAMS is the parameter list in the macro definition--in most cases, it's 
    14456 # just an empty string. 
    14457 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*' 
    14458 ac_dB='\\)[      (].*,\\1define\\2' 
    14459 ac_dC=' ' 
    14460 ac_dD=' ,' 
    14461  
    14462 uniq confdefs.h | 
    14463   sed -n ' 
    14464         t rset 
    14465         :rset 
    14466         s/^[     ]*#[    ]*define[       ][      ]*// 
    14467         t ok 
    14468         d 
    14469         :ok 
    14470         s/[\\&,]/\\&/g 
    14471         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 
    14472         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 
    14473   ' >>conftest.defines 
    14474  
    14475 # Remove the space that was appended to ease matching. 
    14476 # Then replace #undef with comments.  This is necessary, for 
    14477 # example, in the case of _POSIX_SOURCE, which is predefined and required 
    14478 # on some systems where configure will not decide to define it. 
    14479 # (The regexp can be short, since the line contains either #define or #undef.) 
    14480 echo 's/ $// 
    14481 s,^[     #]*u.*,/* & */,' >>conftest.defines 
    14482  
    14483 # Break up conftest.defines: 
    14484 ac_max_sed_lines=50 
    14485  
    14486 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1" 
    14487 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2" 
    14488 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1" 
    14489 # et cetera. 
    14490 ac_in='$ac_file_inputs' 
    14491 ac_out='"$tmp/out1"' 
    14492 ac_nxt='"$tmp/out2"' 
    14493  
    14494 while : 
    14495 do 
    14496   # Write a here document: 
    14497     cat >>$CONFIG_STATUS <<_ACEOF 
    14498     # First, check the format of the line: 
    14499     cat >"\$tmp/defines.sed" <<\\CEOF 
    14500 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def 
    14501 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def 
    14502 b 
    14503 :def 
    14504 _ACEOF 
    14505   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 
    14506   echo 'CEOF 
    14507     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 
    14508   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 
    14509   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 
    14510   grep . conftest.tail >/dev/null || break 
    14511   rm -f conftest.defines 
    14512   mv conftest.tail conftest.defines 
    14513 done 
    14514 rm -f conftest.defines conftest.tail 
    14515  
    14516 echo "ac_result=$ac_in" >>$CONFIG_STATUS 
    14517 cat >>$CONFIG_STATUS <<\_ACEOF 
    145188042  if test x"$ac_file" != x-; then 
    14519     echo "/* $configure_input  */" >"$tmp/config.h" 
    14520     cat "$ac_result" >>"$tmp/config.h" 
    14521     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 
    14522       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    14523 echo "$as_me: $ac_file is unchanged" >&6;} 
     8043    { 
     8044      $as_echo "/* $configure_input  */" \ 
     8045      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 
     8046    } >"$tmp/config.h" \ 
     8047      || as_fn_error "could not create $ac_file" "$LINENO" 5 
     8048    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 
     8049      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 
     8050$as_echo "$as_me: $ac_file is unchanged" >&6;} 
    145248051    else 
    14525       rm -f $ac_file 
    14526       mv "$tmp/config.h" $ac_file 
     8052      rm -f "$ac_file" 
     8053      mv "$tmp/config.h" "$ac_file" \ 
     8054        || as_fn_error "could not create $ac_file" "$LINENO" 5 
    145278055    fi 
    145288056  else 
    14529     echo "/* $configure_input  */" 
    14530     cat "$ac_result" 
     8057    $as_echo "/* $configure_input  */" \ 
     8058      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 
     8059      || as_fn_error "could not create -" "$LINENO" 5 
    145318060  fi 
    14532   rm -f "$tmp/out12" 
    145338061 ;; 
    145348062 
     
    145398067 
    145408068 
    14541 { (exit 0); exit 0; } 
    14542 _ACEOF 
    14543 chmod +x $CONFIG_STATUS 
     8069as_fn_exit 0 
     8070_ACEOF 
    145448071ac_clean_files=$ac_clean_files_save 
     8072 
     8073test $ac_write_fail = 0 || 
     8074  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 
    145458075 
    145468076 
     
    145638093  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
    145648094  # would make configure fail if this is the last instruction. 
    14565   $ac_cs_success || { (exit 1); exit 1; } 
    14566 fi 
    14567  
    14568  
    14569  
    14570 { echo "$as_me:$LINENO: result: 
     8095  $ac_cs_success || as_fn_exit $? 
     8096fi 
     8097if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 
     8098  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 
     8099$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 
     8100fi 
     8101 
     8102 
     8103 
     8104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
    145718105 
    145728106Configurations 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. 
     
    145788112The next step now is to run 'make dep' and 'make'. 
    145798113" >&5 
    14580 echo "${ECHO_T} 
     8114$as_echo " 
    145818115 
    145828116Configurations 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

    r3670 r3672  
    760760             ) 
    761761 
     762dnl # SDL alt prefix 
     763AC_ARG_WITH(sdl, 
     764    AC_HELP_STRING([--with-sdl=DIR], 
     765                   [Specify alternate libSDL prefix]), 
     766    [], 
     767    [with_sdl=no] 
     768    ) 
     769 
    762770dnl # SDL 
    763771AC_ARG_ENABLE(sdl, 
     
    770778              ], 
    771779              [ 
     780                  SDL_CONFIG="sdl-config" 
     781                  if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 
     782                        SDL_CONFIG=$with_sdl/bin/sdl-config 
     783                        AC_MSG_RESULT([Using SDL prefix... $with_sdl]) 
     784                  fi 
     785               
    772786                  AC_MSG_CHECKING([SDL availability..]) 
    773                   if sdl-config --version; then 
    774                                   AC_SUBST(ac_sdl_cflags) 
     787                  if $SDL_CONFIG --version; then 
     788                          AC_SUBST(ac_sdl_cflags) 
    775789                          AC_SUBST(ac_sdl_ldflags) 
    776                           ac_sdl_cflags=`sdl-config --cflags` 
     790                          ac_sdl_cflags=`$SDL_CONFIG --cflags` 
    777791                          ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags" 
    778                           ac_sdl_ldflags=`sdl-config --libs` 
     792                          ac_sdl_ldflags=`$SDL_CONFIG --libs` 
    779793                          LIBS="$LIBS $ac_sdl_ldflags" 
    780794                   fi 
Note: See TracChangeset for help on using the changeset viewer.