Changeset 4107


Ignore:
Timestamp:
Apr 27, 2012 1:22:15 AM (7 years ago)
Author:
bennylp
Message:

Misc (re #1417): fixed error in the configure script when displaying failure message

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

Legend:

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

    r3968 r4107  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 
     3# Generated by GNU Autoconf 2.65 for pjproject 1.x. 
     4# 
    45# 
    56# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 
     8# Inc. 
     9# 
     10# 
    711# This configure script is free software; the Free Software Foundation 
    812# gives unlimited permission to copy, distribute and modify it. 
    9 ## --------------------- ## 
    10 ## M4sh Initialization.  ## 
    11 ## --------------------- ## 
     13## -------------------- ## 
     14## M4sh Initialization. ## 
     15## -------------------- ## 
    1216 
    1317# Be more Bourne compatible 
    1418DUALCASE=1; export DUALCASE # for MKS sh 
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 
    1620  emulate sh 
    1721  NULLCMD=: 
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 
    1923  # is contrary to our usage.  Disable this feature. 
    2024  alias -g '${1+"$@"}'='"$@"' 
    2125  setopt NO_GLOB_SUBST 
    2226else 
    23   case `(set -o) 2>/dev/null` in 
    24   *posix*) set -o posix ;; 
     27  case `(set -o) 2>/dev/null` in #( 
     28  *posix*) : 
     29    set -o posix ;; #( 
     30  *) : 
     31     ;; 
    2532esac 
    26  
    27 fi 
    28  
    29  
    30  
    31  
    32 # PATH needs CR 
    33 # Avoid depending upon Character Ranges. 
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    37 as_cr_digits='0123456789' 
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits 
     33fi 
     34 
     35 
     36as_nl=' 
     37' 
     38export as_nl 
     39# Printing a long string crashes Solaris 7 /usr/bin/printf. 
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 
     43# Prefer a ksh shell builtin over an external printf program on Solaris, 
     44# but without wasting forks for bash or zsh. 
     45if test -z "$BASH_VERSION$ZSH_VERSION" \ 
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 
     47  as_echo='print -r --' 
     48  as_echo_n='print -rn --' 
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 
     50  as_echo='printf %s\n' 
     51  as_echo_n='printf %s' 
     52else 
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 
     55    as_echo_n='/usr/ucb/echo -n' 
     56  else 
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 
     58    as_echo_n_body='eval 
     59      arg=$1; 
     60      case $arg in #( 
     61      *"$as_nl"*) 
     62        expr "X$arg" : "X\\(.*\\)$as_nl"; 
     63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 
     64      esac; 
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 
     66    ' 
     67    export as_echo_n_body 
     68    as_echo_n='sh -c $as_echo_n_body as_echo' 
     69  fi 
     70  export as_echo_body 
     71  as_echo='sh -c $as_echo_body as_echo' 
     72fi 
    3973 
    4074# The user is always right. 
    4175if test "${PATH_SEPARATOR+set}" != set; then 
    42   echo "#! /bin/sh" >conf$$.sh 
    43   echo  "exit 0"   >>conf$$.sh 
    44   chmod +x conf$$.sh 
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    46     PATH_SEPARATOR=';' 
    47   else 
    48     PATH_SEPARATOR=: 
    49   fi 
    50   rm -f conf$$.sh 
    51 fi 
    52  
    53 # Support unset when possible. 
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    55   as_unset=unset 
    56 else 
    57   as_unset=false 
     76  PATH_SEPARATOR=: 
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 
     79      PATH_SEPARATOR=';' 
     80  } 
    5881fi 
    5982 
     
    6487# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
    6588# splitting by setting IFS to empty value.) 
    66 as_nl=' 
    67 ' 
    6889IFS=" ""        $as_nl" 
    6990 
    7091# Find who we are.  Look in the path if we contain no directory separator. 
    71 case $0 in 
     92case $0 in #(( 
    7293  *[\\/]* ) as_myself=$0 ;; 
    7394  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     
    7697  IFS=$as_save_IFS 
    7798  test -z "$as_dir" && as_dir=. 
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    79 done 
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     100  done 
    80101IFS=$as_save_IFS 
    81102 
     
    88109fi 
    89110if test ! -f "$as_myself"; then 
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
    91   { (exit 1); exit 1; } 
    92 fi 
    93  
    94 # Work around bugs in pre-3.0 UWIN ksh. 
    95 for as_var in ENV MAIL MAILPATH 
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     112  exit 1 
     113fi 
     114 
     115# Unset variables that we do not need and which cause bugs (e.g. in 
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" 
     117# suppresses any "Segmentation fault" message there.  '((' could 
     118# trigger a bug in pdksh 5.2.14. 
     119for as_var in BASH_ENV ENV MAIL MAILPATH 
     120do eval test x\${$as_var+set} = xset \ 
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 
    97122done 
    98123PS1='$ ' 
     
    101126 
    102127# NLS nuisances. 
    103 for as_var in \ 
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    106   LC_TELEPHONE LC_TIME 
     128LC_ALL=C 
     129export LC_ALL 
     130LANGUAGE=C 
     131export LANGUAGE 
     132 
     133# CDPATH. 
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     135 
     136if test "x$CONFIG_SHELL" = x; then 
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 
     138  emulate sh 
     139  NULLCMD=: 
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 
     141  # is contrary to our usage.  Disable this feature. 
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"' 
     143  setopt NO_GLOB_SUBST 
     144else 
     145  case \`(set -o) 2>/dev/null\` in #( 
     146  *posix*) : 
     147    set -o posix ;; #( 
     148  *) : 
     149     ;; 
     150esac 
     151fi 
     152" 
     153  as_required="as_fn_return () { (exit \$1); } 
     154as_fn_success () { as_fn_return 0; } 
     155as_fn_failure () { as_fn_return 1; } 
     156as_fn_ret_success () { return 0; } 
     157as_fn_ret_failure () { return 1; } 
     158 
     159exitcode=0 
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 
     165 
     166else 
     167  exitcode=1; echo positional parameters were not saved. 
     168fi 
     169test x\$exitcode = x0 || exit 1" 
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 
     174test \$(( 1 + 1 )) = 2 || exit 1" 
     175  if (eval "$as_required") 2>/dev/null; then : 
     176  as_have_required=yes 
     177else 
     178  as_have_required=no 
     179fi 
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 
     181 
     182else 
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     184as_found=false 
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    107186do 
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    109     eval $as_var=C; export $as_var 
     187  IFS=$as_save_IFS 
     188  test -z "$as_dir" && as_dir=. 
     189  as_found=: 
     190  case $as_dir in #( 
     191         /*) 
     192           for as_base in sh bash ksh sh5; do 
     193             # Try only shells that exist, to save several forks. 
     194             as_shell=$as_dir/$as_base 
     195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     197  CONFIG_SHELL=$as_shell as_have_required=yes 
     198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 
     199  break 2 
     200fi 
     201fi 
     202           done;; 
     203       esac 
     204  as_found=false 
     205done 
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 
     207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 
     208  CONFIG_SHELL=$SHELL as_have_required=yes 
     209fi; } 
     210IFS=$as_save_IFS 
     211 
     212 
     213      if test "x$CONFIG_SHELL" != x; then : 
     214  # We cannot yet assume a decent shell, so we have to provide a 
     215        # neutralization value for shells without unset; and this also 
     216        # works around shells that cannot unset nonexistent variables. 
     217        BASH_ENV=/dev/null 
     218        ENV=/dev/null 
     219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 
     220        export CONFIG_SHELL 
     221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     222fi 
     223 
     224    if test x$as_have_required = xno; then : 
     225  $as_echo "$0: This script requires a shell more modern than all" 
     226  $as_echo "$0: the shells that I found on your system." 
     227  if test x${ZSH_VERSION+set} = xset ; then 
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later." 
    110230  else 
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 
     232$0: including any error possibly output before this 
     233$0: message. Then install a modern shell, or manually run 
     234$0: the script under such a shell if you do have one." 
    112235  fi 
    113 done 
    114  
    115 # Required to use basename. 
     236  exit 1 
     237fi 
     238fi 
     239fi 
     240SHELL=${CONFIG_SHELL-/bin/sh} 
     241export SHELL 
     242# Unset more variables known to interfere with behavior of common tools. 
     243CLICOLOR_FORCE= GREP_OPTIONS= 
     244unset CLICOLOR_FORCE GREP_OPTIONS 
     245 
     246## --------------------- ## 
     247## M4sh Shell Functions. ## 
     248## --------------------- ## 
     249# as_fn_unset VAR 
     250# --------------- 
     251# Portably unset VAR. 
     252as_fn_unset () 
     253{ 
     254  { eval $1=; unset $1;} 
     255} 
     256as_unset=as_fn_unset 
     257 
     258# as_fn_set_status STATUS 
     259# ----------------------- 
     260# Set $? to STATUS, without forking. 
     261as_fn_set_status () 
     262{ 
     263  return $1 
     264} # as_fn_set_status 
     265 
     266# as_fn_exit STATUS 
     267# ----------------- 
     268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 
     269as_fn_exit () 
     270{ 
     271  set +e 
     272  as_fn_set_status $1 
     273  exit $1 
     274} # as_fn_exit 
     275 
     276# as_fn_mkdir_p 
     277# ------------- 
     278# Create "$as_dir" as a directory, including parents if necessary. 
     279as_fn_mkdir_p () 
     280{ 
     281 
     282  case $as_dir in #( 
     283  -*) as_dir=./$as_dir;; 
     284  esac 
     285  test -d "$as_dir" || eval $as_mkdir_p || { 
     286    as_dirs= 
     287    while :; do 
     288      case $as_dir in #( 
     289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 
     290      *) as_qdir=$as_dir;; 
     291      esac 
     292      as_dirs="'$as_qdir' $as_dirs" 
     293      as_dir=`$as_dirname -- "$as_dir" || 
     294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     295         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     296         X"$as_dir" : 'X\(//\)$' \| \ 
     297         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
     298$as_echo X"$as_dir" | 
     299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     300            s//\1/ 
     301            q 
     302          } 
     303          /^X\(\/\/\)[^/].*/{ 
     304            s//\1/ 
     305            q 
     306          } 
     307          /^X\(\/\/\)$/{ 
     308            s//\1/ 
     309            q 
     310          } 
     311          /^X\(\/\).*/{ 
     312            s//\1/ 
     313            q 
     314          } 
     315          s/.*/./; q'` 
     316      test -d "$as_dir" && break 
     317    done 
     318    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 
     320 
     321 
     322} # as_fn_mkdir_p 
     323# as_fn_append VAR VALUE 
     324# ---------------------- 
     325# Append the text in VALUE to the end of the definition contained in VAR. Take 
     326# advantage of any shell optimizations that allow amortized linear growth over 
     327# repeated appends, instead of the typical quadratic growth present in naive 
     328# implementations. 
     329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 
     330  eval 'as_fn_append () 
     331  { 
     332    eval $1+=\$2 
     333  }' 
     334else 
     335  as_fn_append () 
     336  { 
     337    eval $1=\$$1\$2 
     338  } 
     339fi # as_fn_append 
     340 
     341# as_fn_arith ARG... 
     342# ------------------ 
     343# Perform arithmetic evaluation on the ARGs, and store the result in the 
     344# global $as_val. Take advantage of shells that can avoid forks. The arguments 
     345# must be portable across $(()) and expr. 
     346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 
     347  eval 'as_fn_arith () 
     348  { 
     349    as_val=$(( $* )) 
     350  }' 
     351else 
     352  as_fn_arith () 
     353  { 
     354    as_val=`expr "$@" || test $? -eq 1` 
     355  } 
     356fi # as_fn_arith 
     357 
     358 
     359# as_fn_error ERROR [LINENO LOG_FD] 
     360# --------------------------------- 
     361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 
     362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 
     363# script with status $?, using 1 if that was 0. 
     364as_fn_error () 
     365{ 
     366  as_status=$?; test $as_status -eq 0 && as_status=1 
     367  if test "$3"; then 
     368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 
     370  fi 
     371  $as_echo "$as_me: error: $1" >&2 
     372  as_fn_exit $as_status 
     373} # as_fn_error 
     374 
    116375if expr a : '\(a\)' >/dev/null 2>&1 && 
    117376   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     
    127386fi 
    128387 
    129  
    130 # Name of the executable. 
     388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     389  as_dirname=dirname 
     390else 
     391  as_dirname=false 
     392fi 
     393 
    131394as_me=`$as_basename -- "$0" || 
    132395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    133396         X"$0" : 'X\(//\)$' \| \ 
    134397         X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    135 echo X/"$0" | 
     398$as_echo X/"$0" | 
    136399    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
    137400            s//\1/ 
     
    148411          s/.*/./; q'` 
    149412 
    150 # CDPATH. 
    151 $as_unset CDPATH 
    152  
    153  
    154 if test "x$CONFIG_SHELL" = x; then 
    155   if (eval ":") 2>/dev/null; then 
    156   as_have_required=yes 
    157 else 
    158   as_have_required=no 
    159 fi 
    160  
    161   if test $as_have_required = yes &&     (eval ": 
    162 (as_func_return () { 
    163   (exit \$1) 
    164 } 
    165 as_func_success () { 
    166   as_func_return 0 
    167 } 
    168 as_func_failure () { 
    169   as_func_return 1 
    170 } 
    171 as_func_ret_success () { 
    172   return 0 
    173 } 
    174 as_func_ret_failure () { 
    175   return 1 
    176 } 
    177  
    178 exitcode=0 
    179 if as_func_success; then 
    180   : 
    181 else 
    182   exitcode=1 
    183   echo as_func_success failed. 
    184 fi 
    185  
    186 if as_func_failure; then 
    187   exitcode=1 
    188   echo as_func_failure succeeded. 
    189 fi 
    190  
    191 if as_func_ret_success; then 
    192   : 
    193 else 
    194   exitcode=1 
    195   echo as_func_ret_success failed. 
    196 fi 
    197  
    198 if as_func_ret_failure; then 
    199   exitcode=1 
    200   echo as_func_ret_failure succeeded. 
    201 fi 
    202  
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    204   : 
    205 else 
    206   exitcode=1 
    207   echo positional parameters were not saved. 
    208 fi 
    209  
    210 test \$exitcode = 0) || { (exit 1); exit 1; } 
    211  
    212 ( 
    213   as_lineno_1=\$LINENO 
    214   as_lineno_2=\$LINENO 
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
    217 ") 2> /dev/null; then 
    218   : 
    219 else 
    220   as_candidate_shells= 
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    223 do 
    224   IFS=$as_save_IFS 
    225   test -z "$as_dir" && as_dir=. 
    226   case $as_dir in 
    227          /*) 
    228            for as_base in sh bash ksh sh5; do 
    229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
    230            done;; 
    231        esac 
    232 done 
    233 IFS=$as_save_IFS 
    234  
    235  
    236       for as_shell in $as_candidate_shells $SHELL; do 
    237          # Try only shells that exist, to save several forks. 
    238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
    239                 { ("$as_shell") 2> /dev/null <<\_ASEOF 
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    241   emulate sh 
    242   NULLCMD=: 
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    244   # is contrary to our usage.  Disable this feature. 
    245   alias -g '${1+"$@"}'='"$@"' 
    246   setopt NO_GLOB_SUBST 
    247 else 
    248   case `(set -o) 2>/dev/null` in 
    249   *posix*) set -o posix ;; 
    250 esac 
    251  
    252 fi 
    253  
    254  
    255 : 
    256 _ASEOF 
    257 }; then 
    258   CONFIG_SHELL=$as_shell 
    259                as_have_required=yes 
    260                if { "$as_shell" 2> /dev/null <<\_ASEOF 
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    262   emulate sh 
    263   NULLCMD=: 
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    265   # is contrary to our usage.  Disable this feature. 
    266   alias -g '${1+"$@"}'='"$@"' 
    267   setopt NO_GLOB_SUBST 
    268 else 
    269   case `(set -o) 2>/dev/null` in 
    270   *posix*) set -o posix ;; 
    271 esac 
    272  
    273 fi 
    274  
    275  
    276 : 
    277 (as_func_return () { 
    278   (exit $1) 
    279 } 
    280 as_func_success () { 
    281   as_func_return 0 
    282 } 
    283 as_func_failure () { 
    284   as_func_return 1 
    285 } 
    286 as_func_ret_success () { 
    287   return 0 
    288 } 
    289 as_func_ret_failure () { 
    290   return 1 
    291 } 
    292  
    293 exitcode=0 
    294 if as_func_success; then 
    295   : 
    296 else 
    297   exitcode=1 
    298   echo as_func_success failed. 
    299 fi 
    300  
    301 if as_func_failure; then 
    302   exitcode=1 
    303   echo as_func_failure succeeded. 
    304 fi 
    305  
    306 if as_func_ret_success; then 
    307   : 
    308 else 
    309   exitcode=1 
    310   echo as_func_ret_success failed. 
    311 fi 
    312  
    313 if as_func_ret_failure; then 
    314   exitcode=1 
    315   echo as_func_ret_failure succeeded. 
    316 fi 
    317  
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then 
    319   : 
    320 else 
    321   exitcode=1 
    322   echo positional parameters were not saved. 
    323 fi 
    324  
    325 test $exitcode = 0) || { (exit 1); exit 1; } 
    326  
    327 ( 
    328   as_lineno_1=$LINENO 
    329   as_lineno_2=$LINENO 
    330   test "x$as_lineno_1" != "x$as_lineno_2" && 
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
    332  
    333 _ASEOF 
    334 }; then 
    335   break 
    336 fi 
    337  
    338 fi 
    339  
    340       done 
    341  
    342       if test "x$CONFIG_SHELL" != x; then 
    343   for as_var in BASH_ENV ENV 
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    345         done 
    346         export CONFIG_SHELL 
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
    348 fi 
    349  
    350  
    351     if test $as_have_required = no; then 
    352   echo This script requires a shell more modern than all the 
    353       echo shells that I found on your system.  Please install a 
    354       echo modern shell, or manually run the script under such a 
    355       echo shell if you do have one. 
    356       { (exit 1); exit 1; } 
    357 fi 
    358  
    359  
    360 fi 
    361  
    362 fi 
    363  
    364  
    365  
    366 (eval "as_func_return () { 
    367   (exit \$1) 
    368 } 
    369 as_func_success () { 
    370   as_func_return 0 
    371 } 
    372 as_func_failure () { 
    373   as_func_return 1 
    374 } 
    375 as_func_ret_success () { 
    376   return 0 
    377 } 
    378 as_func_ret_failure () { 
    379   return 1 
    380 } 
    381  
    382 exitcode=0 
    383 if as_func_success; then 
    384   : 
    385 else 
    386   exitcode=1 
    387   echo as_func_success failed. 
    388 fi 
    389  
    390 if as_func_failure; then 
    391   exitcode=1 
    392   echo as_func_failure succeeded. 
    393 fi 
    394  
    395 if as_func_ret_success; then 
    396   : 
    397 else 
    398   exitcode=1 
    399   echo as_func_ret_success failed. 
    400 fi 
    401  
    402 if as_func_ret_failure; then 
    403   exitcode=1 
    404   echo as_func_ret_failure succeeded. 
    405 fi 
    406  
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
    408   : 
    409 else 
    410   exitcode=1 
    411   echo positional parameters were not saved. 
    412 fi 
    413  
    414 test \$exitcode = 0") || { 
    415   echo No shell found that supports shell functions. 
    416   echo Please tell autoconf@gnu.org about your system, 
    417   echo including any error possibly output before this 
    418   echo message 
    419 } 
    420  
    421  
    422  
    423   as_lineno_1=$LINENO 
    424   as_lineno_2=$LINENO 
    425   test "x$as_lineno_1" != "x$as_lineno_2" && 
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    427  
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    429   # uniformly replaced by the line number.  The first 'sed' inserts a 
    430   # line-number line after each line using $LINENO; the second 'sed' 
    431   # does the real work.  The second script uses 'N' to pair each 
    432   # line-number line with the line containing $LINENO, and appends 
    433   # trailing '-' during substitution so that $LINENO is not a special 
    434   # case at line end. 
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee 
    437   # E. McMahon (1931-1989) for sed's syntax.  :-) 
     413# Avoid depending upon Character Ranges. 
     414as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     416as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     417as_cr_digits='0123456789' 
     418as_cr_alnum=$as_cr_Letters$as_cr_digits 
     419 
     420 
     421  as_lineno_1=$LINENO as_lineno_1a=$LINENO 
     422  as_lineno_2=$LINENO as_lineno_2a=$LINENO 
     423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 
     424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 
     425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) 
    438426  sed -n ' 
    439427    p 
     
    452440    ' >$as_me.lineno && 
    453441  chmod +x "$as_me.lineno" || 
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    455    { (exit 1); exit 1; }; } 
     442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 
    456443 
    457444  # Don't try to exec as it changes $[0], causing all sort of problems 
     
    463450} 
    464451 
    465  
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
    467   as_dirname=dirname 
    468 else 
    469   as_dirname=false 
    470 fi 
    471  
    472452ECHO_C= ECHO_N= ECHO_T= 
    473 case `echo -n x` in 
     453case `echo -n x` in #((((( 
    474454-n*) 
    475   case `echo 'x\c'` in 
     455  case `echo 'xy\c'` in 
    476456  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
    477   *)   ECHO_C='\c';; 
     457  xy)  ECHO_C='\c';; 
     458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null 
     459       ECHO_T=' ';; 
    478460  esac;; 
    479461*) 
     
    481463esac 
    482464 
    483 if expr a : '\(a\)' >/dev/null 2>&1 && 
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    485   as_expr=expr 
    486 else 
    487   as_expr=false 
    488 fi 
    489  
    490465rm -f conf$$ conf$$.exe conf$$.file 
    491466if test -d conf$$.dir; then 
     
    493468else 
    494469  rm -f conf$$.dir 
    495   mkdir conf$$.dir 
    496 fi 
    497 echo >conf$$.file 
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then 
    499   as_ln_s='ln -s' 
    500   # ... but there are two gotchas: 
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
    503   # In both cases, we have to default to `cp -p'. 
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     470  mkdir conf$$.dir 2>/dev/null 
     471fi 
     472if (echo >conf$$.file) 2>/dev/null; then 
     473  if ln -s conf$$.file conf$$ 2>/dev/null; then 
     474    as_ln_s='ln -s' 
     475    # ... but there are two gotchas: 
     476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     478    # In both cases, we have to default to `cp -p'. 
     479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
     480      as_ln_s='cp -p' 
     481  elif ln conf$$.file conf$$ 2>/dev/null; then 
     482    as_ln_s=ln 
     483  else 
    505484    as_ln_s='cp -p' 
    506 elif ln conf$$.file conf$$ 2>/dev/null; then 
    507   as_ln_s=ln 
     485  fi 
    508486else 
    509487  as_ln_s='cp -p' 
     
    513491 
    514492if mkdir -p . 2>/dev/null; then 
    515   as_mkdir_p=: 
     493  as_mkdir_p='mkdir -p "$as_dir"' 
    516494else 
    517495  test -d ./-p && rmdir ./-p 
     
    530508    eval sh -c '\'' 
    531509      if test -d "$1"; then 
    532         test -d "$1/."; 
     510        test -d "$1/."; 
    533511      else 
    534         case $1 in 
    535         -*)set "./$1";; 
     512        case $1 in #( 
     513        -*)set "./$1";; 
    536514        esac; 
    537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 
     515        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 
    538516        ???[sx]*):;;*)false;;esac;fi 
    539517    '\'' sh 
     
    549527 
    550528 
    551  
    552 exec 7<&0 </dev/null 6>&1 
     529test -n "$DJDIR" || exec 7<&0 </dev/null 
     530exec 6>&1 
    553531 
    554532# Name of the host. 
     
    568546MFLAGS= 
    569547MAKEFLAGS= 
    570 SHELL=${CONFIG_SHELL-/bin/sh} 
    571548 
    572549# Identity of this package. 
     
    576553PACKAGE_STRING='pjproject 1.x' 
    577554PACKAGE_BUGREPORT='' 
     555PACKAGE_URL='' 
    578556 
    579557# Factoring default headers for most tests. 
     
    613591#endif" 
    614592 
    615 ac_subst_vars='SHELL 
     593ac_subst_vars='LTLIBOBJS 
     594LIBOBJS 
     595ac_main_obj 
     596ac_host 
     597ac_linux_poll 
     598ac_cross_compile 
     599opencore_amrnb_present 
     600opencore_amrnb_h_present 
     601ac_no_opencore_amrnb 
     602libcrypto_present 
     603libssl_present 
     604openssl_h_present 
     605ac_no_ssl 
     606ac_resample_dll 
     607ac_no_ilbc_codec 
     608ac_no_speex_codec 
     609ac_no_g7221_codec 
     610ac_no_g722_codec 
     611ac_no_gsm_codec 
     612ac_no_l16_codec 
     613ac_no_g711_codec 
     614ac_no_speex_aec 
     615ac_no_large_filter 
     616ac_no_small_filter 
     617ac_pa_use_oss 
     618ac_pa_use_alsa 
     619ac_pa_cflags 
     620ac_external_pa 
     621ac_pjmedia_snd 
     622ac_external_gsm 
     623ac_external_speex 
     624ac_os_objs 
     625EGREP 
     626GREP 
     627CPP 
     628ac_shlib_suffix 
     629ac_build_mak_vars 
     630ac_pjdir 
     631CC_CFLAGS 
     632CC_OPTIMIZE 
     633CC_DEF 
     634CC_INC 
     635CC_OUT 
     636LIBEXT2 
     637LIBEXT 
     638RANLIB 
     639LDOUT 
     640LD 
     641AR 
     642ac_ct_CXX 
     643CXXFLAGS 
     644CXX 
     645OBJEXT 
     646EXEEXT 
     647ac_ct_CC 
     648CPPFLAGS 
     649LDFLAGS 
     650CFLAGS 
     651CC 
     652target_os 
     653target_vendor 
     654target_cpu 
     655target 
     656host_os 
     657host_vendor 
     658host_cpu 
     659host 
     660build_os 
     661build_vendor 
     662build_cpu 
     663build 
     664target_alias 
     665host_alias 
     666build_alias 
     667LIBS 
     668ECHO_T 
     669ECHO_N 
     670ECHO_C 
     671DEFS 
     672mandir 
     673localedir 
     674libdir 
     675psdir 
     676pdfdir 
     677dvidir 
     678htmldir 
     679infodir 
     680docdir 
     681oldincludedir 
     682includedir 
     683localstatedir 
     684sharedstatedir 
     685sysconfdir 
     686datadir 
     687datarootdir 
     688libexecdir 
     689sbindir 
     690bindir 
     691program_transform_name 
     692prefix 
     693exec_prefix 
     694PACKAGE_URL 
     695PACKAGE_BUGREPORT 
     696PACKAGE_STRING 
     697PACKAGE_VERSION 
     698PACKAGE_TARNAME 
     699PACKAGE_NAME 
    616700PATH_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 ac_shlib_suffix 
    688 CPP 
    689 GREP 
    690 EGREP 
    691 ac_os_objs 
    692 ac_external_speex 
    693 ac_external_gsm 
    694 ac_pjmedia_snd 
    695 ac_external_pa 
    696 ac_pa_cflags 
    697 ac_pa_use_alsa 
    698 ac_pa_use_oss 
    699 ac_no_small_filter 
    700 ac_no_large_filter 
    701 ac_no_speex_aec 
    702 ac_no_g711_codec 
    703 ac_no_l16_codec 
    704 ac_no_gsm_codec 
    705 ac_no_g722_codec 
    706 ac_no_g7221_codec 
    707 ac_no_speex_codec 
    708 ac_no_ilbc_codec 
    709 ac_resample_dll 
    710 ac_no_ssl 
    711 openssl_h_present 
    712 libssl_present 
    713 libcrypto_present 
    714 ac_no_opencore_amrnb 
    715 opencore_amrnb_h_present 
    716 opencore_amrnb_present 
    717 ac_cross_compile 
    718 ac_linux_poll 
    719 ac_host 
    720 ac_main_obj 
    721 LIBOBJS 
    722 LTLIBOBJS' 
     701SHELL' 
    723702ac_subst_files='' 
     703ac_user_opts=' 
     704enable_option_checking 
     705enable_floating_point 
     706enable_epoll 
     707with_external_speex 
     708with_external_gsm 
     709enable_sound 
     710with_external_pa 
     711enable_oss 
     712enable_ext_sound 
     713enable_small_filter 
     714enable_large_filter 
     715enable_speex_aec 
     716enable_g711_codec 
     717enable_l16_codec 
     718enable_gsm_codec 
     719enable_g722_codec 
     720enable_g7221_codec 
     721enable_speex_codec 
     722enable_ilbc_codec 
     723enable_libsamplerate 
     724enable_resample_dll 
     725enable_ipp 
     726with_ipp 
     727with_ipp_samples 
     728with_ipp_arch 
     729enable_ssl 
     730enable_opencore_amrnb 
     731' 
    724732      ac_precious_vars='build_alias 
    725733host_alias 
     
    739747ac_init_help= 
    740748ac_init_version=false 
     749ac_unrecognized_opts= 
     750ac_unrecognized_sep= 
    741751# The variables have the same names as the options, with 
    742752# dashes changed to underlines. 
     
    837847 
    838848  -disable-* | --disable-*) 
    839     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
     849    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    840850    # Reject names that are not valid shell variable names. 
    841     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    842       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    843    { (exit 1); exit 1; }; } 
    844     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    845     eval enable_$ac_feature=no ;; 
     851    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     852      as_fn_error "invalid feature name: $ac_useropt" 
     853    ac_useropt_orig=$ac_useropt 
     854    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     855    case $ac_user_opts in 
     856      *" 
     857"enable_$ac_useropt" 
     858"*) ;; 
     859      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 
     860         ac_unrecognized_sep=', ';; 
     861    esac 
     862    eval enable_$ac_useropt=no ;; 
    846863 
    847864  -docdir | --docdir | --docdi | --doc | --do) 
     
    856873 
    857874  -enable-* | --enable-*) 
    858     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
     875    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    859876    # Reject names that are not valid shell variable names. 
    860     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    861       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
    862    { (exit 1); exit 1; }; } 
    863     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 
    864     eval enable_$ac_feature=\$ac_optarg ;; 
     877    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     878      as_fn_error "invalid feature name: $ac_useropt" 
     879    ac_useropt_orig=$ac_useropt 
     880    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     881    case $ac_user_opts in 
     882      *" 
     883"enable_$ac_useropt" 
     884"*) ;; 
     885      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 
     886         ac_unrecognized_sep=', ';; 
     887    esac 
     888    eval enable_$ac_useropt=\$ac_optarg ;; 
    865889 
    866890  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    10531077 
    10541078  -with-* | --with-*) 
    1055     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
     1079    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    10561080    # Reject names that are not valid shell variable names. 
    1057     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1058       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1059    { (exit 1); exit 1; }; } 
    1060     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1061     eval with_$ac_package=\$ac_optarg ;; 
     1081    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1082      as_fn_error "invalid package name: $ac_useropt" 
     1083    ac_useropt_orig=$ac_useropt 
     1084    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1085    case $ac_user_opts in 
     1086      *" 
     1087"with_$ac_useropt" 
     1088"*) ;; 
     1089      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 
     1090         ac_unrecognized_sep=', ';; 
     1091    esac 
     1092    eval with_$ac_useropt=\$ac_optarg ;; 
    10621093 
    10631094  -without-* | --without-*) 
    1064     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
     1095    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    10651096    # Reject names that are not valid shell variable names. 
    1066     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1067       { echo "$as_me: error: invalid package name: $ac_package" >&2 
    1068    { (exit 1); exit 1; }; } 
    1069     ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 
    1070     eval with_$ac_package=no ;; 
     1097    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 
     1098      as_fn_error "invalid package name: $ac_useropt" 
     1099    ac_useropt_orig=$ac_useropt 
     1100    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 
     1101    case $ac_user_opts in 
     1102      *" 
     1103"with_$ac_useropt" 
     1104"*) ;; 
     1105      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 
     1106         ac_unrecognized_sep=', ';; 
     1107    esac 
     1108    eval with_$ac_useropt=no ;; 
    10711109 
    10721110  --x) 
     
    10881126    x_libraries=$ac_optarg ;; 
    10891127 
    1090   -*) { echo "$as_me: error: unrecognized option: $ac_option 
    1091 Try \`$0 --help' for more information." >&2 
    1092    { (exit 1); exit 1; }; } 
     1128  -*) as_fn_error "unrecognized option: \`$ac_option' 
     1129Try \`$0 --help' for more information." 
    10931130    ;; 
    10941131 
     
    10961133    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
    10971134    # Reject names that are not valid shell variable names. 
    1098     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
    1099       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
    1100    { (exit 1); exit 1; }; } 
     1135    case $ac_envvar in #( 
     1136      '' | [0-9]* | *[!_$as_cr_alnum]* ) 
     1137      as_fn_error "invalid variable name: \`$ac_envvar'" ;; 
     1138    esac 
    11011139    eval $ac_envvar=\$ac_optarg 
    11021140    export $ac_envvar ;; 
     
    11041142  *) 
    11051143    # FIXME: should be removed in autoconf 3.0. 
    1106     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     1144    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
    11071145    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
    1108       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     1146      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
    11091147    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    11101148    ;; 
     
    11151153if test -n "$ac_prev"; then 
    11161154  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
    1117   { echo "$as_me: error: missing argument to $ac_option" >&2 
    1118    { (exit 1); exit 1; }; } 
    1119 fi 
    1120  
    1121 # Be sure to have absolute directory names. 
     1155  as_fn_error "missing argument to $ac_option" 
     1156fi 
     1157 
     1158if test -n "$ac_unrecognized_opts"; then 
     1159  case $enable_option_checking in 
     1160    no) ;; 
     1161    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 
     1162    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 
     1163  esac 
     1164fi 
     1165 
     1166# Check all directory arguments for consistency. 
    11221167for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ 
    11231168                datadir sysconfdir sharedstatedir localstatedir includedir \ 
     
    11261171do 
    11271172  eval ac_val=\$$ac_var 
     1173  # Remove trailing slashes. 
     1174  case $ac_val in 
     1175    */ ) 
     1176      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 
     1177      eval $ac_var=\$ac_val;; 
     1178  esac 
     1179  # Be sure to have absolute directory names. 
    11281180  case $ac_val in 
    11291181    [\\/$]* | ?:[\\/]* )  continue;; 
    11301182    NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 
    11311183  esac 
    1132   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    1133    { (exit 1); exit 1; }; } 
     1184  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 
    11341185done 
    11351186 
     
    11451196  if test "x$build_alias" = x; then 
    11461197    cross_compiling=maybe 
    1147     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     1198    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
    11481199    If a cross compiler is detected then cross compile mode will be used." >&2 
    11491200  elif test "x$build_alias" != "x$host_alias"; then 
     
    11611212ac_ls_di=`ls -di .` && 
    11621213ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 
    1163   { echo "$as_me: error: Working directory cannot be determined" >&2 
    1164    { (exit 1); exit 1; }; } 
     1214  as_fn_error "working directory cannot be determined" 
    11651215test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 
    1166   { echo "$as_me: error: pwd does not report name of working directory" >&2 
    1167    { (exit 1); exit 1; }; } 
     1216  as_fn_error "pwd does not report name of working directory" 
    11681217 
    11691218 
     
    11721221  ac_srcdir_defaulted=yes 
    11731222  # Try the directory containing this script, then the parent directory. 
    1174   ac_confdir=`$as_dirname -- "$0" || 
    1175 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    1176          X"$0" : 'X\(//\)[^/]' \| \ 
    1177          X"$0" : 'X\(//\)$' \| \ 
    1178          X"$0" : 'X\(/\)' \| . 2>/dev/null || 
    1179 echo X"$0" | 
     1223  ac_confdir=`$as_dirname -- "$as_myself" || 
     1224$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     1225         X"$as_myself" : 'X\(//\)[^/]' \| \ 
     1226         X"$as_myself" : 'X\(//\)$' \| \ 
     1227         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 
     1228$as_echo X"$as_myself" | 
    11801229    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
    11811230            s//\1/ 
     
    12041253if test ! -r "$srcdir/$ac_unique_file"; then 
    12051254  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 
    1206   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    1207    { (exit 1); exit 1; }; } 
     1255  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 
    12081256fi 
    12091257ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 
    12101258ac_abs_confdir=`( 
    1211         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 
    1212    { (exit 1); exit 1; }; } 
     1259        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 
    12131260        pwd)` 
    12141261# When building in place, set srcdir=. 
     
    12581305Installation directories: 
    12591306  --prefix=PREFIX         install architecture-independent files in PREFIX 
    1260                           [$ac_default_prefix] 
     1307                          [$ac_default_prefix] 
    12611308  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    1262                           [PREFIX] 
     1309                          [PREFIX] 
    12631310 
    12641311By default, \`make install' will install all the files in 
     
    12701317 
    12711318Fine tuning of the installation directories: 
    1272   --bindir=DIR           user executables [EPREFIX/bin] 
    1273   --sbindir=DIR          system admin executables [EPREFIX/sbin] 
    1274   --libexecdir=DIR       program executables [EPREFIX/libexec] 
    1275   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
    1276   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
    1277   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
    1278   --libdir=DIR           object code libraries [EPREFIX/lib] 
    1279   --includedir=DIR       C header files [PREFIX/include] 
    1280   --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
    1281   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share] 
    1282   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR] 
    1283   --infodir=DIR          info documentation [DATAROOTDIR/info] 
    1284   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale] 
    1285   --mandir=DIR           man documentation [DATAROOTDIR/man] 
    1286   --docdir=DIR           documentation root [DATAROOTDIR/doc/pjproject] 
    1287   --htmldir=DIR          html documentation [DOCDIR] 
    1288   --dvidir=DIR           dvi documentation [DOCDIR] 
    1289   --pdfdir=DIR           pdf documentation [DOCDIR] 
    1290   --psdir=DIR            ps documentation [DOCDIR] 
     1319  --bindir=DIR            user executables [EPREFIX/bin] 
     1320  --sbindir=DIR           system admin executables [EPREFIX/sbin] 
     1321  --libexecdir=DIR        program executables [EPREFIX/libexec] 
     1322  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] 
     1323  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] 
     1324  --localstatedir=DIR     modifiable single-machine data [PREFIX/var] 
     1325  --libdir=DIR            object code libraries [EPREFIX/lib] 
     1326  --includedir=DIR        C header files [PREFIX/include] 
     1327  --oldincludedir=DIR     C header files for non-gcc [/usr/include] 
     1328  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] 
     1329  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] 
     1330  --infodir=DIR           info documentation [DATAROOTDIR/info] 
     1331  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] 
     1332  --mandir=DIR            man documentation [DATAROOTDIR/man] 
     1333  --docdir=DIR            documentation root [DATAROOTDIR/doc/pjproject] 
     1334  --htmldir=DIR           html documentation [DOCDIR] 
     1335  --dvidir=DIR            dvi documentation [DOCDIR] 
     1336  --pdfdir=DIR            pdf documentation [DOCDIR] 
     1337  --psdir=DIR             ps documentation [DOCDIR] 
    12911338_ACEOF 
    12921339 
     
    13071354 
    13081355Optional Features: 
     1356  --disable-option-checking  ignore unrecognized --enable/--with options 
    13091357  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    13101358  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     
    13691417              nonstandard directory <lib dir> 
    13701418  LIBS        libraries to pass to the linker, e.g. -l<library> 
    1371   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 
     1419  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 
    13721420              you have headers in a nonstandard directory <include dir> 
    13731421  CXX         C++ compiler command 
     
    13781426it to find libraries and programs with nonstandard names/locations. 
    13791427 
     1428Report bugs to the package provider. 
    13801429_ACEOF 
    13811430ac_status=$? 
     
    13851434  # If there are subdirs, report their specific --help. 
    13861435  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    1387     test -d "$ac_dir" || continue 
     1436    test -d "$ac_dir" || 
     1437      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 
     1438      continue 
    13881439    ac_builddir=. 
    13891440 
     
    13911442.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
    13921443*) 
    1393   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     1444  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 
    13941445  # A ".." for each directory in $ac_dir_suffix. 
    1395   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     1446  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 
    13961447  case $ac_top_builddir_sub in 
    13971448  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     
    14291480      $SHELL "$ac_srcdir/configure" --help=recursive 
    14301481    else 
    1431       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     1482      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    14321483    fi || ac_status=$? 
    14331484    cd "$ac_pwd" || { ac_status=$?; break; } 
     
    14391490  cat <<\_ACEOF 
    14401491pjproject configure 1.x 
    1441 generated by GNU Autoconf 2.61 
    1442  
    1443 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
    1444 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
     1492generated by GNU Autoconf 2.65 
     1493 
     1494Copyright (C) 2009 Free Software Foundation, Inc. 
    14451495This configure script is free software; the Free Software Foundation 
    14461496gives unlimited permission to copy, distribute and modify it. 
     
    14481498  exit 
    14491499fi 
     1500 
     1501## ------------------------ ## 
     1502## Autoconf initialization. ## 
     1503## ------------------------ ## 
     1504 
     1505# ac_fn_c_try_compile LINENO 
     1506# -------------------------- 
     1507# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1508ac_fn_c_try_compile () 
     1509{ 
     1510  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1511  rm -f conftest.$ac_objext 
     1512  if { { ac_try="$ac_compile" 
     1513case "(($ac_try" in 
     1514  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1515  *) ac_try_echo=$ac_try;; 
     1516esac 
     1517eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1518$as_echo "$ac_try_echo"; } >&5 
     1519  (eval "$ac_compile") 2>conftest.err 
     1520  ac_status=$? 
     1521  if test -s conftest.err; then 
     1522    grep -v '^ *+' conftest.err >conftest.er1 
     1523    cat conftest.er1 >&5 
     1524    mv -f conftest.er1 conftest.err 
     1525  fi 
     1526  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1527  test $ac_status = 0; } && { 
     1528         test -z "$ac_c_werror_flag" || 
     1529         test ! -s conftest.err 
     1530       } && test -s conftest.$ac_objext; then : 
     1531  ac_retval=0 
     1532else 
     1533  $as_echo "$as_me: failed program was:" >&5 
     1534sed 's/^/| /' conftest.$ac_ext >&5 
     1535 
     1536        ac_retval=1 
     1537fi 
     1538  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1539  as_fn_set_status $ac_retval 
     1540 
     1541} # ac_fn_c_try_compile 
     1542 
     1543# ac_fn_cxx_try_compile LINENO 
     1544# ---------------------------- 
     1545# Try to compile conftest.$ac_ext, and return whether this succeeded. 
     1546ac_fn_cxx_try_compile () 
     1547{ 
     1548  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1549  rm -f conftest.$ac_objext 
     1550  if { { ac_try="$ac_compile" 
     1551case "(($ac_try" in 
     1552  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1553  *) ac_try_echo=$ac_try;; 
     1554esac 
     1555eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1556$as_echo "$ac_try_echo"; } >&5 
     1557  (eval "$ac_compile") 2>conftest.err 
     1558  ac_status=$? 
     1559  if test -s conftest.err; then 
     1560    grep -v '^ *+' conftest.err >conftest.er1 
     1561    cat conftest.er1 >&5 
     1562    mv -f conftest.er1 conftest.err 
     1563  fi 
     1564  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1565  test $ac_status = 0; } && { 
     1566         test -z "$ac_cxx_werror_flag" || 
     1567         test ! -s conftest.err 
     1568       } && test -s conftest.$ac_objext; then : 
     1569  ac_retval=0 
     1570else 
     1571  $as_echo "$as_me: failed program was:" >&5 
     1572sed 's/^/| /' conftest.$ac_ext >&5 
     1573 
     1574        ac_retval=1 
     1575fi 
     1576  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1577  as_fn_set_status $ac_retval 
     1578 
     1579} # ac_fn_cxx_try_compile 
     1580 
     1581# ac_fn_c_try_link LINENO 
     1582# ----------------------- 
     1583# Try to link conftest.$ac_ext, and return whether this succeeded. 
     1584ac_fn_c_try_link () 
     1585{ 
     1586  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1587  rm -f conftest.$ac_objext conftest$ac_exeext 
     1588  if { { ac_try="$ac_link" 
     1589case "(($ac_try" in 
     1590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1591  *) ac_try_echo=$ac_try;; 
     1592esac 
     1593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1594$as_echo "$ac_try_echo"; } >&5 
     1595  (eval "$ac_link") 2>conftest.err 
     1596  ac_status=$? 
     1597  if test -s conftest.err; then 
     1598    grep -v '^ *+' conftest.err >conftest.er1 
     1599    cat conftest.er1 >&5 
     1600    mv -f conftest.er1 conftest.err 
     1601  fi 
     1602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1603  test $ac_status = 0; } && { 
     1604         test -z "$ac_c_werror_flag" || 
     1605         test ! -s conftest.err 
     1606       } && test -s conftest$ac_exeext && { 
     1607         test "$cross_compiling" = yes || 
     1608         $as_test_x conftest$ac_exeext 
     1609       }; then : 
     1610  ac_retval=0 
     1611else 
     1612  $as_echo "$as_me: failed program was:" >&5 
     1613sed 's/^/| /' conftest.$ac_ext >&5 
     1614 
     1615        ac_retval=1 
     1616fi 
     1617  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 
     1618  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 
     1619  # interfere with the next link command; also delete a directory that is 
     1620  # left behind by Apple's compiler.  We do this before executing the actions. 
     1621  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1622  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1623  as_fn_set_status $ac_retval 
     1624 
     1625} # ac_fn_c_try_link 
     1626 
     1627# ac_fn_c_try_run LINENO 
     1628# ---------------------- 
     1629# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 
     1630# that executables *can* be run. 
     1631ac_fn_c_try_run () 
     1632{ 
     1633  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1634  if { { ac_try="$ac_link" 
     1635case "(($ac_try" in 
     1636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1637  *) ac_try_echo=$ac_try;; 
     1638esac 
     1639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1640$as_echo "$ac_try_echo"; } >&5 
     1641  (eval "$ac_link") 2>&5 
     1642  ac_status=$? 
     1643  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1644  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 
     1645  { { case "(($ac_try" in 
     1646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1647  *) ac_try_echo=$ac_try;; 
     1648esac 
     1649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1650$as_echo "$ac_try_echo"; } >&5 
     1651  (eval "$ac_try") 2>&5 
     1652  ac_status=$? 
     1653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1654  test $ac_status = 0; }; }; then : 
     1655  ac_retval=0 
     1656else 
     1657  $as_echo "$as_me: program exited with status $ac_status" >&5 
     1658       $as_echo "$as_me: failed program was:" >&5 
     1659sed 's/^/| /' conftest.$ac_ext >&5 
     1660 
     1661       ac_retval=$ac_status 
     1662fi 
     1663  rm -rf conftest.dSYM conftest_ipa8_conftest.oo 
     1664  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1665  as_fn_set_status $ac_retval 
     1666 
     1667} # ac_fn_c_try_run 
     1668 
     1669# ac_fn_c_try_cpp LINENO 
     1670# ---------------------- 
     1671# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 
     1672ac_fn_c_try_cpp () 
     1673{ 
     1674  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1675  if { { ac_try="$ac_cpp conftest.$ac_ext" 
     1676case "(($ac_try" in 
     1677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     1678  *) ac_try_echo=$ac_try;; 
     1679esac 
     1680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     1681$as_echo "$ac_try_echo"; } >&5 
     1682  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 
     1683  ac_status=$? 
     1684  if test -s conftest.err; then 
     1685    grep -v '^ *+' conftest.err >conftest.er1 
     1686    cat conftest.er1 >&5 
     1687    mv -f conftest.er1 conftest.err 
     1688  fi 
     1689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     1690  test $ac_status = 0; } >/dev/null && { 
     1691         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
     1692         test ! -s conftest.err 
     1693       }; then : 
     1694  ac_retval=0 
     1695else 
     1696  $as_echo "$as_me: failed program was:" >&5 
     1697sed 's/^/| /' conftest.$ac_ext >&5 
     1698 
     1699    ac_retval=1 
     1700fi 
     1701  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1702  as_fn_set_status $ac_retval 
     1703 
     1704} # ac_fn_c_try_cpp 
     1705 
     1706# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 
     1707# ------------------------------------------------------- 
     1708# Tests whether HEADER exists and can be compiled using the include files in 
     1709# INCLUDES, setting the cache variable VAR accordingly. 
     1710ac_fn_c_check_header_compile () 
     1711{ 
     1712  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1714$as_echo_n "checking for $2... " >&6; } 
     1715if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1716  $as_echo_n "(cached) " >&6 
     1717else 
     1718  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1719/* end confdefs.h.  */ 
     1720$4 
     1721#include <$2> 
     1722_ACEOF 
     1723if ac_fn_c_try_compile "$LINENO"; then : 
     1724  eval "$3=yes" 
     1725else 
     1726  eval "$3=no" 
     1727fi 
     1728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1729fi 
     1730eval ac_res=\$$3 
     1731               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1732$as_echo "$ac_res" >&6; } 
     1733  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1734 
     1735} # ac_fn_c_check_header_compile 
     1736 
     1737# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 
     1738# ------------------------------------------------------- 
     1739# Tests whether HEADER exists, giving a warning if it cannot be compiled using 
     1740# the include files in INCLUDES and setting the cache variable VAR 
     1741# accordingly. 
     1742ac_fn_c_check_header_mongrel () 
     1743{ 
     1744  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1745  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1747$as_echo_n "checking for $2... " >&6; } 
     1748if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1749  $as_echo_n "(cached) " >&6 
     1750fi 
     1751eval ac_res=\$$3 
     1752               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1753$as_echo "$ac_res" >&6; } 
     1754else 
     1755  # Is the header compilable? 
     1756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 
     1757$as_echo_n "checking $2 usability... " >&6; } 
     1758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1759/* end confdefs.h.  */ 
     1760$4 
     1761#include <$2> 
     1762_ACEOF 
     1763if ac_fn_c_try_compile "$LINENO"; then : 
     1764  ac_header_compiler=yes 
     1765else 
     1766  ac_header_compiler=no 
     1767fi 
     1768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     1769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 
     1770$as_echo "$ac_header_compiler" >&6; } 
     1771 
     1772# Is the header present? 
     1773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 
     1774$as_echo_n "checking $2 presence... " >&6; } 
     1775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1776/* end confdefs.h.  */ 
     1777#include <$2> 
     1778_ACEOF 
     1779if ac_fn_c_try_cpp "$LINENO"; then : 
     1780  ac_header_preproc=yes 
     1781else 
     1782  ac_header_preproc=no 
     1783fi 
     1784rm -f conftest.err conftest.$ac_ext 
     1785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 
     1786$as_echo "$ac_header_preproc" >&6; } 
     1787 
     1788# So?  What about this header? 
     1789case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 
     1790  yes:no: ) 
     1791    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 
     1792$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     1793    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1794$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1795    ;; 
     1796  no:yes:* ) 
     1797    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 
     1798$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 
     1799    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 
     1800$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} 
     1801    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 
     1802$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 
     1803    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 
     1804$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} 
     1805    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 
     1806$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 
     1807    ;; 
     1808esac 
     1809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1810$as_echo_n "checking for $2... " >&6; } 
     1811if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1812  $as_echo_n "(cached) " >&6 
     1813else 
     1814  eval "$3=\$ac_header_compiler" 
     1815fi 
     1816eval ac_res=\$$3 
     1817               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1818$as_echo "$ac_res" >&6; } 
     1819fi 
     1820  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1821 
     1822} # ac_fn_c_check_header_mongrel 
     1823 
     1824# ac_fn_c_check_func LINENO FUNC VAR 
     1825# ---------------------------------- 
     1826# Tests whether FUNC exists, setting the cache variable VAR accordingly 
     1827ac_fn_c_check_func () 
     1828{ 
     1829  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 
     1830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 
     1831$as_echo_n "checking for $2... " >&6; } 
     1832if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 
     1833  $as_echo_n "(cached) " >&6 
     1834else 
     1835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     1836/* end confdefs.h.  */ 
     1837/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 
     1838   For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
     1839#define $2 innocuous_$2 
     1840 
     1841/* System header to define __stub macros and hopefully few prototypes, 
     1842    which can conflict with char $2 (); below. 
     1843    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     1844    <limits.h> exists even on freestanding compilers.  */ 
     1845 
     1846#ifdef __STDC__ 
     1847# include <limits.h> 
     1848#else 
     1849# include <assert.h> 
     1850#endif 
     1851 
     1852#undef $2 
     1853 
     1854/* Override any GCC internal prototype to avoid an error. 
     1855   Use char because int might match the return type of a GCC 
     1856   builtin and then its argument prototype would still apply.  */ 
     1857#ifdef __cplusplus 
     1858extern "C" 
     1859#endif 
     1860char $2 (); 
     1861/* The GNU C library defines this for functions which it implements 
     1862    to always fail with ENOSYS.  Some functions are actually named 
     1863    something starting with __ and the normal name is an alias.  */ 
     1864#if defined __stub_$2 || defined __stub___$2 
     1865choke me 
     1866#endif 
     1867 
     1868int 
     1869main () 
     1870{ 
     1871return $2 (); 
     1872  ; 
     1873  return 0; 
     1874} 
     1875_ACEOF 
     1876if ac_fn_c_try_link "$LINENO"; then : 
     1877  eval "$3=yes" 
     1878else 
     1879  eval "$3=no" 
     1880fi 
     1881rm -f core conftest.err conftest.$ac_objext \ 
     1882    conftest$ac_exeext conftest.$ac_ext 
     1883fi 
     1884eval ac_res=\$$3 
     1885               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 
     1886$as_echo "$ac_res" >&6; } 
     1887  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 
     1888 
     1889} # ac_fn_c_check_func 
    14501890cat >config.log <<_ACEOF 
    14511891This file contains any messages produced by compilers while 
     
    14531893 
    14541894It was created by pjproject $as_me 1.x, which was 
    1455 generated by GNU Autoconf 2.61.  Invocation command line was 
     1895generated by GNU Autoconf 2.65.  Invocation command line was 
    14561896 
    14571897  $ $0 $@ 
     
    14891929  IFS=$as_save_IFS 
    14901930  test -z "$as_dir" && as_dir=. 
    1491   echo "PATH: $as_dir" 
    1492 done 
     1931    $as_echo "PATH: $as_dir" 
     1932  done 
    14931933IFS=$as_save_IFS 
    14941934 
     
    15241964      continue ;; 
    15251965    *\'*) 
    1526       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1966      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    15271967    esac 
    15281968    case $ac_pass in 
    1529     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1969    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 
    15301970    2) 
    1531       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1971      as_fn_append ac_configure_args1 " '$ac_arg'" 
    15321972      if test $ac_must_keep_next = true; then 
    15331973        ac_must_keep_next=false # Got value, back to normal. 
     
    15451985        esac 
    15461986      fi 
    1547       ac_configure_args="$ac_configure_args '$ac_arg'" 
     1987      as_fn_append ac_configure_args " '$ac_arg'" 
    15481988      ;; 
    15491989    esac 
    15501990  done 
    15511991done 
    1552 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1553 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1992{ ac_configure_args0=; unset ac_configure_args0;} 
     1993{ ac_configure_args1=; unset ac_configure_args1;} 
    15541994 
    15551995# When interrupted or exit'd, cleanup temporary files, and complete 
     
    15762016    *${as_nl}*) 
    15772017      case $ac_var in #( 
    1578       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 
    1579 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 
     2018      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 
     2019$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 
    15802020      esac 
    15812021      case $ac_var in #( 
    15822022      _ | IFS | as_nl) ;; #( 
    1583       *) $as_unset $ac_var ;; 
     2023      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 
     2024      *) { eval $ac_var=; unset $ac_var;} ;; 
    15842025      esac ;; 
    15852026    esac 
     
    16102051      eval ac_val=\$$ac_var 
    16112052      case $ac_val in 
    1612       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2053      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16132054      esac 
    1614       echo "$ac_var='\''$ac_val'\''" 
     2055      $as_echo "$ac_var='\''$ac_val'\''" 
    16152056    done | sort 
    16162057    echo 
     
    16272068        eval ac_val=\$$ac_var 
    16282069        case $ac_val in 
    1629         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
     2070        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 
    16302071        esac 
    1631         echo "$ac_var='\''$ac_val'\''" 
     2072        $as_echo "$ac_var='\''$ac_val'\''" 
    16322073      done | sort 
    16332074      echo 
     
    16452086    fi 
    16462087    test "$ac_signal" != 0 && 
    1647       echo "$as_me: caught signal $ac_signal" 
    1648     echo "$as_me: exit $exit_status" 
     2088      $as_echo "$as_me: caught signal $ac_signal" 
     2089    $as_echo "$as_me: exit $exit_status" 
    16492090  } >&5 
    16502091  rm -f core *.core core.conftest.* && 
     
    16532094' 0 
    16542095for ac_signal in 1 2 13 15; do 
    1655   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     2096  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 
    16562097done 
    16572098ac_signal=0 
     
    16602101rm -f -r conftest* confdefs.h 
    16612102 
     2103$as_echo "/* confdefs.h */" > confdefs.h 
     2104 
    16622105# Predefined preprocessor variables. 
    16632106 
     
    16662109_ACEOF 
    16672110 
    1668  
    16692111cat >>confdefs.h <<_ACEOF 
    16702112#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    16712113_ACEOF 
    16722114 
    1673  
    16742115cat >>confdefs.h <<_ACEOF 
    16752116#define PACKAGE_VERSION "$PACKAGE_VERSION" 
    16762117_ACEOF 
    16772118 
    1678  
    16792119cat >>confdefs.h <<_ACEOF 
    16802120#define PACKAGE_STRING "$PACKAGE_STRING" 
    16812121_ACEOF 
    16822122 
    1683  
    16842123cat >>confdefs.h <<_ACEOF 
    16852124#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    16862125_ACEOF 
    16872126 
     2127cat >>confdefs.h <<_ACEOF 
     2128#define PACKAGE_URL "$PACKAGE_URL" 
     2129_ACEOF 
     2130 
    16882131 
    16892132# Let the site file select an alternate cache file if it wants to. 
    1690 # Prefer explicitly selected file to automatically selected ones. 
     2133# Prefer an explicitly selected file to automatically selected ones. 
     2134ac_site_file1=NONE 
     2135ac_site_file2=NONE 
    16912136if test -n "$CONFIG_SITE"; then 
    1692   set x "$CONFIG_SITE" 
     2137  ac_site_file1=$CONFIG_SITE 
    16932138elif test "x$prefix" != xNONE; then 
    1694   set x "$prefix/share/config.site" "$prefix/etc/config.site" 
    1695 else 
    1696   set x "$ac_default_prefix/share/config.site" \ 
    1697         "$ac_default_prefix/etc/config.site" 
    1698 fi 
    1699 shift 
    1700 for ac_site_file 
     2139  ac_site_file1=$prefix/share/config.site 
     2140  ac_site_file2=$prefix/etc/config.site 
     2141else 
     2142  ac_site_file1=$ac_default_prefix/share/config.site 
     2143  ac_site_file2=$ac_default_prefix/etc/config.site 
     2144fi 
     2145for ac_site_file in "$ac_site_file1" "$ac_site_file2" 
    17012146do 
    1702   if test -r "$ac_site_file"; then 
    1703     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    1704 echo "$as_me: loading site script $ac_site_file" >&6;} 
     2147  test "x$ac_site_file" = xNONE && continue 
     2148  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 
     2149    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 
     2150$as_echo "$as_me: loading site script $ac_site_file" >&6;} 
    17052151    sed 's/^/| /' "$ac_site_file" >&5 
    17062152    . "$ac_site_file" 
     
    17092155 
    17102156if test -r "$cache_file"; then 
    1711   # Some versions of bash will fail to source /dev/null (special 
    1712   # files actually), so we avoid doing that. 
    1713   if test -f "$cache_file"; then 
    1714     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    1715 echo "$as_me: loading cache $cache_file" >&6;} 
     2157  # Some versions of bash will fail to source /dev/null (special files 
     2158  # actually), so we avoid doing that.  DJGPP emulates it as a regular file. 
     2159  if test /dev/null != "$cache_file" && test -f "$cache_file"; then 
     2160    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 
     2161$as_echo "$as_me: loading cache $cache_file" >&6;} 
    17162162    case $cache_file in 
    17172163      [\\/]* | ?:[\\/]* ) . "$cache_file";; 
     
    17202166  fi 
    17212167else 
    1722   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    1723 echo "$as_me: creating cache $cache_file" >&6;} 
     2168  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 
     2169$as_echo "$as_me: creating cache $cache_file" >&6;} 
    17242170  >$cache_file 
    17252171fi 
     
    17352181  case $ac_old_set,$ac_new_set in 
    17362182    set,) 
    1737       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1738 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     2183      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     2184$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    17392185      ac_cache_corrupted=: ;; 
    17402186    ,set) 
    1741       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    1742 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     2187      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 
     2188$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    17432189      ac_cache_corrupted=: ;; 
    17442190    ,);; 
    17452191    *) 
    17462192      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1747         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    1748 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1749         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    1750 echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1751         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    1752 echo "$as_me:   current value: $ac_new_val" >&2;} 
    1753         ac_cache_corrupted=: 
     2193        # differences in whitespace do not lead to failure. 
     2194        ac_old_val_w=`echo x $ac_old_val` 
     2195        ac_new_val_w=`echo x $ac_new_val` 
     2196        if test "$ac_old_val_w" != "$ac_new_val_w"; then 
     2197          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 
     2198$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     2199          ac_cache_corrupted=: 
     2200        else 
     2201          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 
     2202$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 
     2203          eval $ac_var=\$ac_old_val 
     2204        fi 
     2205        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 
     2206$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} 
     2207        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 
     2208$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} 
    17542209      fi;; 
    17552210  esac 
     
    17572212  if test "$ac_new_set" = set; then 
    17582213    case $ac_new_val in 
    1759     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     2214    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    17602215    *) ac_arg=$ac_var=$ac_new_val ;; 
    17612216    esac 
    17622217    case " $ac_configure_args " in 
    17632218      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1764       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     2219      *) as_fn_append ac_configure_args " '$ac_arg'" ;; 
    17652220    esac 
    17662221  fi 
    17672222done 
    17682223if $ac_cache_corrupted; then 
    1769   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    1770 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1771   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1772 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1773    { (exit 1); exit 1; }; } 
    1774 fi 
    1775  
    1776  
    1777  
    1778  
    1779  
    1780  
    1781  
    1782  
    1783  
    1784  
    1785  
    1786  
    1787  
    1788  
    1789  
    1790  
    1791  
    1792  
    1793  
    1794  
    1795  
    1796  
    1797  
    1798  
     2224  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2225$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2226  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 
     2227$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     2228  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 
     2229fi 
     2230## -------------------- ## 
     2231## Main body of script. ## 
     2232## -------------------- ## 
    17992233 
    18002234ac_ext=c 
     
    18102244ac_aux_dir= 
    18112245for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 
    1812   if test -f "$ac_dir/install-sh"; then 
    1813     ac_aux_dir=$ac_dir 
    1814     ac_install_sh="$ac_aux_dir/install-sh -c" 
    1815     break 
    1816   elif 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/shtool"; then 
    1821     ac_aux_dir=$ac_dir 
    1822     ac_install_sh="$ac_aux_dir/shtool install -c" 
    1823     break 
    1824   fi 
     2246  for ac_t in install-sh install.sh shtool; do 
     2247    if test -f "$ac_dir/$ac_t"; then 
     2248      ac_aux_dir=$ac_dir 
     2249      ac_install_sh="$ac_aux_dir/$ac_t -c" 
     2250      break 2 
     2251    fi 
     2252  done 
    18252253done 
    18262254if test -z "$ac_aux_dir"; then 
    1827   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 
    1828 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 
    1829    { (exit 1); exit 1; }; } 
     2255  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 
    18302256fi 
    18312257 
     
    18412267# Make sure we can run config.sub. 
    18422268$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 
    1843   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 
    1844 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 
    1845    { (exit 1); exit 1; }; } 
    1846  
    1847 { echo "$as_me:$LINENO: checking build system type" >&5 
    1848 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 
    1849 if test "${ac_cv_build+set}" = set; then 
    1850   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2269  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 
     2270 
     2271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 
     2272$as_echo_n "checking build system type... " >&6; } 
     2273if test "${ac_cv_build+set}" = set; then : 
     2274  $as_echo_n "(cached) " >&6 
    18512275else 
    18522276  ac_build_alias=$build_alias 
     
    18542278  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 
    18552279test "x$ac_build_alias" = x && 
    1856   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    1857 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1858    { (exit 1); exit 1; }; } 
     2280  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 
    18592281ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 
    1860   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 
    1861 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 
    1862    { (exit 1); exit 1; }; } 
    1863  
    1864 fi 
    1865 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    1866 echo "${ECHO_T}$ac_cv_build" >&6; } 
     2282  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 
     2283 
     2284fi 
     2285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 
     2286$as_echo "$ac_cv_build" >&6; } 
    18672287case $ac_cv_build in 
    18682288*-*-*) ;; 
    1869 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 
    1870 echo "$as_me: error: invalid value of canonical build" >&2;} 
    1871    { (exit 1); exit 1; }; };; 
     2289*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 
    18722290esac 
    18732291build=$ac_cv_build 
     
    18852303 
    18862304 
    1887 { echo "$as_me:$LINENO: checking host system type" >&5 
    1888 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 
    1889 if test "${ac_cv_host+set}" = set; then 
    1890   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 
     2306$as_echo_n "checking host system type... " >&6; } 
     2307if test "${ac_cv_host+set}" = set; then : 
     2308  $as_echo_n "(cached) " >&6 
    18912309else 
    18922310  if test "x$host_alias" = x; then 
     
    18942312else 
    18952313  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 
    1896     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 
    1897 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 
    1898    { (exit 1); exit 1; }; } 
    1899 fi 
    1900  
    1901 fi 
    1902 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    1903 echo "${ECHO_T}$ac_cv_host" >&6; } 
     2314    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 
     2315fi 
     2316 
     2317fi 
     2318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 
     2319$as_echo "$ac_cv_host" >&6; } 
    19042320case $ac_cv_host in 
    19052321*-*-*) ;; 
    1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 
    1907 echo "$as_me: error: invalid value of canonical host" >&2;} 
    1908    { (exit 1); exit 1; }; };; 
     2322*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 
    19092323esac 
    19102324host=$ac_cv_host 
     
    19222336 
    19232337 
    1924 { echo "$as_me:$LINENO: checking target system type" >&5 
    1925 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 
    1926 if test "${ac_cv_target+set}" = set; then 
    1927   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 
     2339$as_echo_n "checking target system type... " >&6; } 
     2340if test "${ac_cv_target+set}" = set; then : 
     2341  $as_echo_n "(cached) " >&6 
    19282342else 
    19292343  if test "x$target_alias" = x; then 
     
    19312345else 
    19322346  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 
    1933     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 
    1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 
    1935    { (exit 1); exit 1; }; } 
    1936 fi 
    1937  
    1938 fi 
    1939 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    1940 echo "${ECHO_T}$ac_cv_target" >&6; } 
     2347    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 
     2348fi 
     2349 
     2350fi 
     2351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 
     2352$as_echo "$ac_cv_target" >&6; } 
    19412353case $ac_cv_target in 
    19422354*-*-*) ;; 
    1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 
    1944 echo "$as_me: error: invalid value of canonical target" >&2;} 
    1945    { (exit 1); exit 1; }; };; 
     2355*) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 
    19462356esac 
    19472357target=$ac_cv_target 
     
    19872397  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    19882398set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1989 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    1991 if test "${ac_cv_prog_CC+set}" = set; then 
    1992   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2400$as_echo_n "checking for $ac_word... " >&6; } 
     2401if test "${ac_cv_prog_CC+set}" = set; then : 
     2402  $as_echo_n "(cached) " >&6 
    19932403else 
    19942404  if test -n "$CC"; then 
     
    20002410  IFS=$as_save_IFS 
    20012411  test -z "$as_dir" && as_dir=. 
    2002   for ac_exec_ext in '' $ac_executable_extensions; do 
     2412    for ac_exec_ext in '' $ac_executable_extensions; do 
    20032413  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20042414    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    2005     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2415    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20062416    break 2 
    20072417  fi 
    20082418done 
    2009 done 
     2419  done 
    20102420IFS=$as_save_IFS 
    20112421 
     
    20142424CC=$ac_cv_prog_CC 
    20152425if test -n "$CC"; then 
    2016   { echo "$as_me:$LINENO: result: $CC" >&5 
    2017 echo "${ECHO_T}$CC" >&6; } 
    2018 else 
    2019   { echo "$as_me:$LINENO: result: no" >&5 
    2020 echo "${ECHO_T}no" >&6; } 
     2426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2427$as_echo "$CC" >&6; } 
     2428else 
     2429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2430$as_echo "no" >&6; } 
    20212431fi 
    20222432 
     
    20272437  # Extract the first word of "gcc", so it can be a program name with args. 
    20282438set dummy gcc; ac_word=$2 
    2029 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2032   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2440$as_echo_n "checking for $ac_word... " >&6; } 
     2441if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2442  $as_echo_n "(cached) " >&6 
    20332443else 
    20342444  if test -n "$ac_ct_CC"; then 
     
    20402450  IFS=$as_save_IFS 
    20412451  test -z "$as_dir" && as_dir=. 
    2042   for ac_exec_ext in '' $ac_executable_extensions; do 
     2452    for ac_exec_ext in '' $ac_executable_extensions; do 
    20432453  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    20442454    ac_cv_prog_ac_ct_CC="gcc" 
    2045     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    20462456    break 2 
    20472457  fi 
    20482458done 
    2049 done 
     2459  done 
    20502460IFS=$as_save_IFS 
    20512461 
     
    20542464ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    20552465if test -n "$ac_ct_CC"; then 
    2056   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2057 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2058 else 
    2059   { echo "$as_me:$LINENO: result: no" >&5 
    2060 echo "${ECHO_T}no" >&6; } 
     2466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2467$as_echo "$ac_ct_CC" >&6; } 
     2468else 
     2469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2470$as_echo "no" >&6; } 
    20612471fi 
    20622472 
     
    20662476    case $cross_compiling:$ac_tool_warned in 
    20672477yes:) 
    2068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2069 whose name does not start with the host triplet.  If you think this 
    2070 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2072 whose name does not start with the host triplet.  If you think this 
    2073 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    20742480ac_tool_warned=yes ;; 
    20752481esac 
     
    20842490    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    20852491set dummy ${ac_tool_prefix}cc; ac_word=$2 
    2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2088 if test "${ac_cv_prog_CC+set}" = set; then 
    2089   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2493$as_echo_n "checking for $ac_word... " >&6; } 
     2494if test "${ac_cv_prog_CC+set}" = set; then : 
     2495  $as_echo_n "(cached) " >&6 
    20902496else 
    20912497  if test -n "$CC"; then 
     
    20972503  IFS=$as_save_IFS 
    20982504  test -z "$as_dir" && as_dir=. 
    2099   for ac_exec_ext in '' $ac_executable_extensions; do 
     2505    for ac_exec_ext in '' $ac_executable_extensions; do 
    21002506  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21012507    ac_cv_prog_CC="${ac_tool_prefix}cc" 
    2102     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2508    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21032509    break 2 
    21042510  fi 
    21052511done 
    2106 done 
     2512  done 
    21072513IFS=$as_save_IFS 
    21082514 
     
    21112517CC=$ac_cv_prog_CC 
    21122518if test -n "$CC"; then 
    2113   { echo "$as_me:$LINENO: result: $CC" >&5 
    2114 echo "${ECHO_T}$CC" >&6; } 
    2115 else 
    2116   { echo "$as_me:$LINENO: result: no" >&5 
    2117 echo "${ECHO_T}no" >&6; } 
     2519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2520$as_echo "$CC" >&6; } 
     2521else 
     2522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2523$as_echo "no" >&6; } 
    21182524fi 
    21192525 
     
    21242530  # Extract the first word of "cc", so it can be a program name with args. 
    21252531set dummy cc; ac_word=$2 
    2126 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2128 if test "${ac_cv_prog_CC+set}" = set; then 
    2129   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2533$as_echo_n "checking for $ac_word... " >&6; } 
     2534if test "${ac_cv_prog_CC+set}" = set; then : 
     2535  $as_echo_n "(cached) " >&6 
    21302536else 
    21312537  if test -n "$CC"; then 
     
    21382544  IFS=$as_save_IFS 
    21392545  test -z "$as_dir" && as_dir=. 
    2140   for ac_exec_ext in '' $ac_executable_extensions; do 
     2546    for ac_exec_ext in '' $ac_executable_extensions; do 
    21412547  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    21422548    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     
    21452551     fi 
    21462552    ac_cv_prog_CC="cc" 
    2147     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2553    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    21482554    break 2 
    21492555  fi 
    21502556done 
    2151 done 
     2557  done 
    21522558IFS=$as_save_IFS 
    21532559 
     
    21682574CC=$ac_cv_prog_CC 
    21692575if test -n "$CC"; then 
    2170   { echo "$as_me:$LINENO: result: $CC" >&5 
    2171 echo "${ECHO_T}$CC" >&6; } 
    2172 else 
    2173   { echo "$as_me:$LINENO: result: no" >&5 
    2174 echo "${ECHO_T}no" >&6; } 
     2576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2577$as_echo "$CC" >&6; } 
     2578else 
     2579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2580$as_echo "no" >&6; } 
    21752581fi 
    21762582 
     
    21832589    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    21842590set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2187 if test "${ac_cv_prog_CC+set}" = set; then 
    2188   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2592$as_echo_n "checking for $ac_word... " >&6; } 
     2593if test "${ac_cv_prog_CC+set}" = set; then : 
     2594  $as_echo_n "(cached) " >&6 
    21892595else 
    21902596  if test -n "$CC"; then 
     
    21962602  IFS=$as_save_IFS 
    21972603  test -z "$as_dir" && as_dir=. 
    2198   for ac_exec_ext in '' $ac_executable_extensions; do 
     2604    for ac_exec_ext in '' $ac_executable_extensions; do 
    21992605  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22002606    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    2201     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22022608    break 2 
    22032609  fi 
    22042610done 
    2205 done 
     2611  done 
    22062612IFS=$as_save_IFS 
    22072613 
     
    22102616CC=$ac_cv_prog_CC 
    22112617if test -n "$CC"; then 
    2212   { echo "$as_me:$LINENO: result: $CC" >&5 
    2213 echo "${ECHO_T}$CC" >&6; } 
    2214 else 
    2215   { echo "$as_me:$LINENO: result: no" >&5 
    2216 echo "${ECHO_T}no" >&6; } 
     2618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 
     2619$as_echo "$CC" >&6; } 
     2620else 
     2621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2622$as_echo "no" >&6; } 
    22172623fi 
    22182624 
     
    22272633  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    22282634set dummy $ac_prog; ac_word=$2 
    2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2231 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
    2232   echo $ECHO_N "(cached) $ECHO_C" >&6 
     2635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     2636$as_echo_n "checking for $ac_word... " >&6; } 
     2637if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 
     2638  $as_echo_n "(cached) " >&6 
    22332639else 
    22342640  if test -n "$ac_ct_CC"; then 
     
    22402646  IFS=$as_save_IFS 
    22412647  test -z "$as_dir" && as_dir=. 
    2242   for ac_exec_ext in '' $ac_executable_extensions; do 
     2648    for ac_exec_ext in '' $ac_executable_extensions; do 
    22432649  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    22442650    ac_cv_prog_ac_ct_CC="$ac_prog" 
    2245     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    22462652    break 2 
    22472653  fi 
    22482654done 
    2249 done 
     2655  done 
    22502656IFS=$as_save_IFS 
    22512657 
     
    22542660ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    22552661if test -n "$ac_ct_CC"; then 
    2256   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    2257 echo "${ECHO_T}$ac_ct_CC" >&6; } 
    2258 else 
    2259   { echo "$as_me:$LINENO: result: no" >&5 
    2260 echo "${ECHO_T}no" >&6; } 
     2662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 
     2663$as_echo "$ac_ct_CC" >&6; } 
     2664else 
     2665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2666$as_echo "no" >&6; } 
    22612667fi 
    22622668 
     
    22702676    case $cross_compiling:$ac_tool_warned in 
    22712677yes:) 
    2272 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    2273 whose name does not start with the host triplet.  If you think this 
    2274 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    2275 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    2276 whose name does not start with the host triplet.  If you think this 
    2277 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     2678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     2679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    22782680ac_tool_warned=yes ;; 
    22792681esac 
     
    22852687 
    22862688 
    2287 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    2288 See \`config.log' for more details." >&5 
    2289 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    2290 See \`config.log' for more details." >&2;} 
    2291    { (exit 1); exit 1; }; } 
     2689test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2690$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2691as_fn_error "no acceptable C compiler found in \$PATH 
     2692See \`config.log' for more details." "$LINENO" 5; } 
    22922693 
    22932694# Provide some information about the compiler. 
    2294 echo "$as_me:$LINENO: checking for C compiler version" >&5 
    2295 ac_compiler=`set X $ac_compile; echo $2` 
    2296 { (ac_try="$ac_compiler --version >&5" 
     2695$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 
     2696set X $ac_compile 
     2697ac_compiler=$2 
     2698for ac_option in --version -v -V -qversion; do 
     2699  { { ac_try="$ac_compiler $ac_option >&5" 
    22972700case "(($ac_try" in 
    22982701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    22992702  *) ac_try_echo=$ac_try;; 
    23002703esac 
    2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2302   (eval "$ac_compiler --version >&5") 2>&5 
     2704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2705$as_echo "$ac_try_echo"; } >&5 
     2706  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    23032707  ac_status=$? 
    2304   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2305   (exit $ac_status); } 
    2306 { (ac_try="$ac_compiler -v >&5" 
     2708  if test -s conftest.err; then 
     2709    sed '10a\ 
     2710... rest of stderr output deleted ... 
     2711         10q' conftest.err >conftest.er1 
     2712    cat conftest.er1 >&5 
     2713  fi 
     2714  rm -f conftest.er1 conftest.err 
     2715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2716  test $ac_status = 0; } 
     2717done 
     2718 
     2719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2720/* end confdefs.h.  */ 
     2721 
     2722int 
     2723main () 
     2724{ 
     2725 
     2726  ; 
     2727  return 0; 
     2728} 
     2729_ACEOF 
     2730ac_clean_files_save=$ac_clean_files 
     2731ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 
     2732# Try to create an executable without -o first, disregard a.out. 
     2733# It will help us diagnose broken compilers, and finding out an intuition 
     2734# of exeext. 
     2735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 
     2736$as_echo_n "checking whether the C compiler works... " >&6; } 
     2737ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     2738 
     2739# The possible output files: 
     2740ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 
     2741 
     2742ac_rmfiles= 
     2743for ac_file in $ac_files 
     2744do 
     2745  case $ac_file in 
     2746    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
     2747    * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
     2748  esac 
     2749done 
     2750rm -f $ac_rmfiles 
     2751 
     2752if { { ac_try="$ac_link_default" 
    23072753case "(($ac_try" in 
    23082754  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    23092755  *) ac_try_echo=$ac_try;; 
    23102756esac 
    2311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2312   (eval "$ac_compiler -v >&5") 2>&5 
    2313   ac_status=$? 
    2314   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2315   (exit $ac_status); } 
    2316 { (ac_try="$ac_compiler -V >&5" 
    2317 case "(($ac_try" in 
    2318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2319   *) ac_try_echo=$ac_try;; 
    2320 esac 
    2321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2322   (eval "$ac_compiler -V >&5") 2>&5 
    2323   ac_status=$? 
    2324   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2325   (exit $ac_status); } 
    2326  
    2327 cat >conftest.$ac_ext <<_ACEOF 
    2328 /* confdefs.h.  */ 
    2329 _ACEOF 
    2330 cat confdefs.h >>conftest.$ac_ext 
    2331 cat >>conftest.$ac_ext <<_ACEOF 
    2332 /* end confdefs.h.  */ 
    2333  
    2334 int 
    2335 main () 
    2336 { 
    2337  
    2338   ; 
    2339   return 0; 
    2340 } 
    2341 _ACEOF 
    2342 ac_clean_files_save=$ac_clean_files 
    2343 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    2344 # Try to create an executable without -o first, disregard a.out. 
    2345 # It will help us diagnose broken compilers, and finding out an intuition 
    2346 # of exeext. 
    2347 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    2348 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 
    2349 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    2350 # 
    2351 # List of possible output files, starting from the most likely. 
    2352 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 
    2353 # only as a last resort.  b.out is created by i960 compilers. 
    2354 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 
    2355 # 
    2356 # The IRIX 6 linker writes into existing files which may not be 
    2357 # executable, retaining their permissions.  Remove them first so a 
    2358 # subsequent execution test works. 
    2359 ac_rmfiles= 
    2360 for ac_file in $ac_files 
    2361 do 
    2362   case $ac_file in 
    2363     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
    2364     * ) ac_rmfiles="$ac_rmfiles $ac_file";; 
    2365   esac 
    2366 done 
    2367 rm -f $ac_rmfiles 
    2368  
    2369 if { (ac_try="$ac_link_default" 
    2370 case "(($ac_try" in 
    2371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2372   *) ac_try_echo=$ac_try;; 
    2373 esac 
    2374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2757eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2758$as_echo "$ac_try_echo"; } >&5 
    23752759  (eval "$ac_link_default") 2>&5 
    23762760  ac_status=$? 
    2377   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2378   (exit $ac_status); }; then 
     2761  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2762  test $ac_status = 0; }; then : 
    23792763  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 
    23802764# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 
     
    23862770  test -f "$ac_file" || continue 
    23872771  case $ac_file in 
    2388     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 
     2772    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 
    23892773        ;; 
    23902774    [ab].out ) 
     
    23932777        break;; 
    23942778    *.* ) 
    2395         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
     2779        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 
    23962780        then :; else 
    23972781           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     
    24122796  ac_file='' 
    24132797fi 
    2414  
    2415 { echo "$as_me:$LINENO: result: $ac_file" >&5 
    2416 echo "${ECHO_T}$ac_file" >&6; } 
    2417 if test -z "$ac_file"; then 
    2418   echo "$as_me: failed program was:" >&5 
     2798if test -z "$ac_file"; then : 
     2799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     2800$as_echo "no" >&6; } 
     2801$as_echo "$as_me: failed program was:" >&5 
    24192802sed 's/^/| /' conftest.$ac_ext >&5 
    24202803 
    2421 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    2422 See \`config.log' for more details." >&5 
    2423 echo "$as_me: error: C compiler cannot create executables 
    2424 See \`config.log' for more details." >&2;} 
    2425    { (exit 77); exit 77; }; } 
    2426 fi 
    2427  
     2804{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2805$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2806{ as_fn_set_status 77 
     2807as_fn_error "C compiler cannot create executables 
     2808See \`config.log' for more details." "$LINENO" 5; }; } 
     2809else 
     2810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     2811$as_echo "yes" >&6; } 
     2812fi 
     2813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 
     2814$as_echo_n "checking for C compiler default output file name... " >&6; } 
     2815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 
     2816$as_echo "$ac_file" >&6; } 
    24282817ac_exeext=$ac_cv_exeext 
    24292818 
    2430 # Check that the compiler produces executables we can run.  If not, either 
    2431 # the compiler is broken, or we cross compile. 
    2432 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    2433 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 
    2434 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
    2435 # If not cross compiling, check that we can run a simple program. 
    2436 if test "$cross_compiling" != yes; then 
    2437   if { ac_try='./$ac_file' 
    2438   { (case "(($ac_try" in 
    2439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2440   *) ac_try_echo=$ac_try;; 
    2441 esac 
    2442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2443   (eval "$ac_try") 2>&5 
    2444   ac_status=$? 
    2445   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2446   (exit $ac_status); }; }; then 
    2447     cross_compiling=no 
    2448   else 
    2449     if test "$cross_compiling" = maybe; then 
    2450         cross_compiling=yes 
    2451     else 
    2452         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    2453 If you meant to cross compile, use \`--host'. 
    2454 See \`config.log' for more details." >&5 
    2455 echo "$as_me: error: cannot run C compiled programs. 
    2456 If you meant to cross compile, use \`--host'. 
    2457 See \`config.log' for more details." >&2;} 
    2458    { (exit 1); exit 1; }; } 
    2459     fi 
    2460   fi 
    2461 fi 
    2462 { echo "$as_me:$LINENO: result: yes" >&5 
    2463 echo "${ECHO_T}yes" >&6; } 
    2464  
    2465 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     2819rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 
    24662820ac_clean_files=$ac_clean_files_save 
    2467 # Check that the compiler produces executables we can run.  If not, either 
    2468 # the compiler is broken, or we cross compile. 
    2469 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    2470 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 
    2471 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    2472 echo "${ECHO_T}$cross_compiling" >&6; } 
    2473  
    2474 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    2475 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 
    2476 if { (ac_try="$ac_link" 
     2821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 
     2822$as_echo_n "checking for suffix of executables... " >&6; } 
     2823if { { ac_try="$ac_link" 
    24772824case "(($ac_try" in 
    24782825  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    24792826  *) ac_try_echo=$ac_try;; 
    24802827esac 
    2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2828eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2829$as_echo "$ac_try_echo"; } >&5 
    24822830  (eval "$ac_link") 2>&5 
    24832831  ac_status=$? 
    2484   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2485   (exit $ac_status); }; then 
     2832  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2833  test $ac_status = 0; }; then : 
    24862834  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
    24872835# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     
    24912839  test -f "$ac_file" || continue 
    24922840  case $ac_file in 
    2493     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 
     2841    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 
    24942842    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    24952843          break;; 
     
    24982846done 
    24992847else 
    2500   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    2501 See \`config.log' for more details." >&5 
    2502 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    2503 See \`config.log' for more details." >&2;} 
    2504    { (exit 1); exit 1; }; } 
    2505 fi 
    2506  
    2507 rm -f conftest$ac_cv_exeext 
    2508 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    2509 echo "${ECHO_T}$ac_cv_exeext" >&6; } 
     2848  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2849$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2850as_fn_error "cannot compute suffix of executables: cannot compile and link 
     2851See \`config.log' for more details." "$LINENO" 5; } 
     2852fi 
     2853rm -f conftest conftest$ac_cv_exeext 
     2854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 
     2855$as_echo "$ac_cv_exeext" >&6; } 
    25102856 
    25112857rm -f conftest.$ac_ext 
    25122858EXEEXT=$ac_cv_exeext 
    25132859ac_exeext=$EXEEXT 
    2514 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    2515 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 
    2516 if test "${ac_cv_objext+set}" = set; then 
    2517   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2518 else 
    2519   cat >conftest.$ac_ext <<_ACEOF 
    2520 /* confdefs.h.  */ 
    2521 _ACEOF 
    2522 cat confdefs.h >>conftest.$ac_ext 
    2523 cat >>conftest.$ac_ext <<_ACEOF 
     2860cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25242861/* end confdefs.h.  */ 
    2525  
     2862#include <stdio.h> 
    25262863int 
    25272864main () 
    25282865{ 
     2866FILE *f = fopen ("conftest.out", "w"); 
     2867 return ferror (f) || fclose (f) != 0; 
    25292868 
    25302869  ; 
     
    25322871} 
    25332872_ACEOF 
    2534 rm -f conftest.o conftest.obj 
    2535 if { (ac_try="$ac_compile" 
     2873ac_clean_files="$ac_clean_files conftest.out" 
     2874# Check that the compiler produces executables we can run.  If not, either 
     2875# the compiler is broken, or we cross compile. 
     2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 
     2877$as_echo_n "checking whether we are cross compiling... " >&6; } 
     2878if test "$cross_compiling" != yes; then 
     2879  { { ac_try="$ac_link" 
    25362880case "(($ac_try" in 
    25372881  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    25382882  *) ac_try_echo=$ac_try;; 
    25392883esac 
    2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     2884eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2885$as_echo "$ac_try_echo"; } >&5 
     2886  (eval "$ac_link") 2>&5 
     2887  ac_status=$? 
     2888  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2889  test $ac_status = 0; } 
     2890  if { ac_try='./conftest$ac_cv_exeext' 
     2891  { { case "(($ac_try" in 
     2892  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2893  *) ac_try_echo=$ac_try;; 
     2894esac 
     2895eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2896$as_echo "$ac_try_echo"; } >&5 
     2897  (eval "$ac_try") 2>&5 
     2898  ac_status=$? 
     2899  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2900  test $ac_status = 0; }; }; then 
     2901    cross_compiling=no 
     2902  else 
     2903    if test "$cross_compiling" = maybe; then 
     2904        cross_compiling=yes 
     2905    else 
     2906        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2907$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2908as_fn_error "cannot run C compiled programs. 
     2909If you meant to cross compile, use \`--host'. 
     2910See \`config.log' for more details." "$LINENO" 5; } 
     2911    fi 
     2912  fi 
     2913fi 
     2914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 
     2915$as_echo "$cross_compiling" >&6; } 
     2916 
     2917rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 
     2918ac_clean_files=$ac_clean_files_save 
     2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 
     2920$as_echo_n "checking for suffix of object files... " >&6; } 
     2921if test "${ac_cv_objext+set}" = set; then : 
     2922  $as_echo_n "(cached) " >&6 
     2923else 
     2924  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     2925/* end confdefs.h.  */ 
     2926 
     2927int 
     2928main () 
     2929{ 
     2930 
     2931  ; 
     2932  return 0; 
     2933} 
     2934_ACEOF 
     2935rm -f conftest.o conftest.obj 
     2936if { { ac_try="$ac_compile" 
     2937case "(($ac_try" in 
     2938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     2939  *) ac_try_echo=$ac_try;; 
     2940esac 
     2941eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     2942$as_echo "$ac_try_echo"; } >&5 
    25412943  (eval "$ac_compile") 2>&5 
    25422944  ac_status=$? 
    2543   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2544   (exit $ac_status); }; then 
     2945  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     2946  test $ac_status = 0; }; then : 
    25452947  for ac_file in conftest.o conftest.obj conftest.*; do 
    25462948  test -f "$ac_file" || continue; 
    25472949  case $ac_file in 
    2548     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 
     2950    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 
    25492951    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    25502952       break;; 
     
    25522954done 
    25532955else 
    2554   echo "$as_me: failed program was:" >&5 
     2956  $as_echo "$as_me: failed program was:" >&5 
    25552957sed 's/^/| /' conftest.$ac_ext >&5 
    25562958 
    2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    2558 See \`config.log' for more details." >&5 
    2559 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    2560 See \`config.log' for more details." >&2;} 
    2561    { (exit 1); exit 1; }; } 
    2562 fi 
    2563  
     2959{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     2960$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     2961as_fn_error "cannot compute suffix of object files: cannot compile 
     2962See \`config.log' for more details." "$LINENO" 5; } 
     2963fi 
    25642964rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    25652965fi 
    2566 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    2567 echo "${ECHO_T}$ac_cv_objext" >&6; } 
     2966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 
     2967$as_echo "$ac_cv_objext" >&6; } 
    25682968OBJEXT=$ac_cv_objext 
    25692969ac_objext=$OBJEXT 
    2570 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    2571 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 
    2572 if test "${ac_cv_c_compiler_gnu+set}" = set; then 
    2573   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2574 else 
    2575   cat >conftest.$ac_ext <<_ACEOF 
    2576 /* confdefs.h.  */ 
    2577 _ACEOF 
    2578 cat confdefs.h >>conftest.$ac_ext 
    2579 cat >>conftest.$ac_ext <<_ACEOF 
     2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 
     2971$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 
     2972if test "${ac_cv_c_compiler_gnu+set}" = set; then : 
     2973  $as_echo_n "(cached) " >&6 
     2974else 
     2975  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    25802976/* end confdefs.h.  */ 
    25812977 
     
    25912987} 
    25922988_ACEOF 
    2593 rm -f conftest.$ac_objext 
    2594 if { (ac_try="$ac_compile" 
    2595 case "(($ac_try" in 
    2596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2597   *) ac_try_echo=$ac_try;; 
    2598 esac 
    2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2600   (eval "$ac_compile") 2>conftest.er1 
    2601   ac_status=$? 
    2602   grep -v '^ *+' conftest.er1 >conftest.err 
    2603   rm -f conftest.er1 
    2604   cat conftest.err >&5 
    2605   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2606   (exit $ac_status); } && { 
    2607          test -z "$ac_c_werror_flag" || 
    2608          test ! -s conftest.err 
    2609        } && test -s conftest.$ac_objext; then 
     2989if ac_fn_c_try_compile "$LINENO"; then : 
    26102990  ac_compiler_gnu=yes 
    26112991else 
    2612   echo "$as_me: failed program was:" >&5 
    2613 sed 's/^/| /' conftest.$ac_ext >&5 
    2614  
    2615         ac_compiler_gnu=no 
    2616 fi 
    2617  
     2992  ac_compiler_gnu=no 
     2993fi 
    26182994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    26192995ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    26202996 
    26212997fi 
    2622 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    2623 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 
    2624 GCC=`test $ac_compiler_gnu = yes && echo yes` 
     2998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 
     2999$as_echo "$ac_cv_c_compiler_gnu" >&6; } 
     3000if test $ac_compiler_gnu = yes; then 
     3001  GCC=yes 
     3002else 
     3003  GCC= 
     3004fi 
    26253005ac_test_CFLAGS=${CFLAGS+set} 
    26263006ac_save_CFLAGS=$CFLAGS 
    2627 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    2628 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 
    2629 if test "${ac_cv_prog_cc_g+set}" = set; then 
    2630   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 
     3008$as_echo_n "checking whether $CC accepts -g... " >&6; } 
     3009if test "${ac_cv_prog_cc_g+set}" = set; then : 
     3010  $as_echo_n "(cached) " >&6 
    26313011else 
    26323012  ac_save_c_werror_flag=$ac_c_werror_flag 
     
    26343014   ac_cv_prog_cc_g=no 
    26353015   CFLAGS="-g" 
    2636    cat >conftest.$ac_ext <<_ACEOF 
    2637 /* confdefs.h.  */ 
    2638 _ACEOF 
    2639 cat confdefs.h >>conftest.$ac_ext 
    2640 cat >>conftest.$ac_ext <<_ACEOF 
     3016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26413017/* end confdefs.h.  */ 
    26423018 
     
    26493025} 
    26503026_ACEOF 
    2651 rm -f conftest.$ac_objext 
    2652 if { (ac_try="$ac_compile" 
    2653 case "(($ac_try" in 
    2654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2655   *) ac_try_echo=$ac_try;; 
    2656 esac 
    2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2658   (eval "$ac_compile") 2>conftest.er1 
    2659   ac_status=$? 
    2660   grep -v '^ *+' conftest.er1 >conftest.err 
    2661   rm -f conftest.er1 
    2662   cat conftest.err >&5 
    2663   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2664   (exit $ac_status); } && { 
    2665          test -z "$ac_c_werror_flag" || 
    2666          test ! -s conftest.err 
    2667        } && test -s conftest.$ac_objext; then 
     3027if ac_fn_c_try_compile "$LINENO"; then : 
    26683028  ac_cv_prog_cc_g=yes 
    26693029else 
    2670   echo "$as_me: failed program was:" >&5 
    2671 sed 's/^/| /' conftest.$ac_ext >&5 
    2672  
    2673         CFLAGS="" 
    2674       cat >conftest.$ac_ext <<_ACEOF 
    2675 /* confdefs.h.  */ 
    2676 _ACEOF 
    2677 cat confdefs.h >>conftest.$ac_ext 
    2678 cat >>conftest.$ac_ext <<_ACEOF 
     3030  CFLAGS="" 
     3031      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    26793032/* end confdefs.h.  */ 
    26803033 
     
    26873040} 
    26883041_ACEOF 
    2689 rm -f conftest.$ac_objext 
    2690 if { (ac_try="$ac_compile" 
    2691 case "(($ac_try" in 
    2692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2693   *) ac_try_echo=$ac_try;; 
    2694 esac 
    2695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2696   (eval "$ac_compile") 2>conftest.er1 
    2697   ac_status=$? 
    2698   grep -v '^ *+' conftest.er1 >conftest.err 
    2699   rm -f conftest.er1 
    2700   cat conftest.err >&5 
    2701   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2702   (exit $ac_status); } && { 
    2703          test -z "$ac_c_werror_flag" || 
    2704          test ! -s conftest.err 
    2705        } && test -s conftest.$ac_objext; then 
    2706   : 
    2707 else 
    2708   echo "$as_me: failed program was:" >&5 
    2709 sed 's/^/| /' conftest.$ac_ext >&5 
    2710  
    2711         ac_c_werror_flag=$ac_save_c_werror_flag 
     3042if ac_fn_c_try_compile "$LINENO"; then : 
     3043 
     3044else 
     3045  ac_c_werror_flag=$ac_save_c_werror_flag 
    27123046         CFLAGS="-g" 
    2713          cat >conftest.$ac_ext <<_ACEOF 
    2714 /* confdefs.h.  */ 
    2715 _ACEOF 
    2716 cat confdefs.h >>conftest.$ac_ext 
    2717 cat >>conftest.$ac_ext <<_ACEOF 
     3047         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27183048/* end confdefs.h.  */ 
    27193049 
     
    27263056} 
    27273057_ACEOF 
    2728 rm -f conftest.$ac_objext 
    2729 if { (ac_try="$ac_compile" 
    2730 case "(($ac_try" in 
    2731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2732   *) ac_try_echo=$ac_try;; 
    2733 esac 
    2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2735   (eval "$ac_compile") 2>conftest.er1 
    2736   ac_status=$? 
    2737   grep -v '^ *+' conftest.er1 >conftest.err 
    2738   rm -f conftest.er1 
    2739   cat conftest.err >&5 
    2740   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2741   (exit $ac_status); } && { 
    2742          test -z "$ac_c_werror_flag" || 
    2743          test ! -s conftest.err 
    2744        } && test -s conftest.$ac_objext; then 
     3058if ac_fn_c_try_compile "$LINENO"; then : 
    27453059  ac_cv_prog_cc_g=yes 
    2746 else 
    2747   echo "$as_me: failed program was:" >&5 
    2748 sed 's/^/| /' conftest.$ac_ext >&5 
    2749  
    2750  
    2751 fi 
    2752  
     3060fi 
    27533061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27543062fi 
    2755  
    27563063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27573064fi 
    2758  
    27593065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    27603066   ac_c_werror_flag=$ac_save_c_werror_flag 
    27613067fi 
    2762 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    2763 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 
     3068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 
     3069$as_echo "$ac_cv_prog_cc_g" >&6; } 
    27643070if test "$ac_test_CFLAGS" = set; then 
    27653071  CFLAGS=$ac_save_CFLAGS 
     
    27773083  fi 
    27783084fi 
    2779 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 
    2780 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 
    2781 if test "${ac_cv_prog_cc_c89+set}" = set; then 
    2782   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 
     3086$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 
     3087if test "${ac_cv_prog_cc_c89+set}" = set; then : 
     3088  $as_echo_n "(cached) " >&6 
    27833089else 
    27843090  ac_cv_prog_cc_c89=no 
    27853091ac_save_CC=$CC 
    2786 cat >conftest.$ac_ext <<_ACEOF 
    2787 /* confdefs.h.  */ 
    2788 _ACEOF 
    2789 cat confdefs.h >>conftest.$ac_ext 
    2790 cat >>conftest.$ac_ext <<_ACEOF 
     3092cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    27913093/* end confdefs.h.  */ 
    27923094#include <stdarg.h> 
     
    28453147do 
    28463148  CC="$ac_save_CC $ac_arg" 
    2847   rm -f conftest.$ac_objext 
    2848 if { (ac_try="$ac_compile" 
    2849 case "(($ac_try" in 
    2850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    2851   *) ac_try_echo=$ac_try;; 
    2852 esac 
    2853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    2854   (eval "$ac_compile") 2>conftest.er1 
    2855   ac_status=$? 
    2856   grep -v '^ *+' conftest.er1 >conftest.err 
    2857   rm -f conftest.er1 
    2858   cat conftest.err >&5 
    2859   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2860   (exit $ac_status); } && { 
    2861          test -z "$ac_c_werror_flag" || 
    2862          test ! -s conftest.err 
    2863        } && test -s conftest.$ac_objext; then 
     3149  if ac_fn_c_try_compile "$LINENO"; then : 
    28643150  ac_cv_prog_cc_c89=$ac_arg 
    2865 else 
    2866   echo "$as_me: failed program was:" >&5 
    2867 sed 's/^/| /' conftest.$ac_ext >&5 
    2868  
    2869  
    2870 fi 
    2871  
     3151fi 
    28723152rm -f core conftest.err conftest.$ac_objext 
    28733153  test "x$ac_cv_prog_cc_c89" != "xno" && break 
     
    28803160case "x$ac_cv_prog_cc_c89" in 
    28813161  x) 
    2882     { echo "$as_me:$LINENO: result: none needed" >&5 
    2883 echo "${ECHO_T}none needed" >&6; } ;; 
     3162    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 
     3163$as_echo "none needed" >&6; } ;; 
    28843164  xno) 
    2885     { echo "$as_me:$LINENO: result: unsupported" >&5 
    2886 echo "${ECHO_T}unsupported" >&6; } ;; 
     3165    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 
     3166$as_echo "unsupported" >&6; } ;; 
    28873167  *) 
    28883168    CC="$CC $ac_cv_prog_cc_c89" 
    2889     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 
    2890 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 
     3169    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 
     3170$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 
    28913171esac 
    2892  
     3172if test "x$ac_cv_prog_cc_c89" != xno; then : 
     3173 
     3174fi 
    28933175 
    28943176ac_ext=c 
     
    29123194    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    29133195set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2914 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2916 if test "${ac_cv_prog_CXX+set}" = set; then 
    2917   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3197$as_echo_n "checking for $ac_word... " >&6; } 
     3198if test "${ac_cv_prog_CXX+set}" = set; then : 
     3199  $as_echo_n "(cached) " >&6 
    29183200else 
    29193201  if test -n "$CXX"; then 
     
    29253207  IFS=$as_save_IFS 
    29263208  test -z "$as_dir" && as_dir=. 
    2927   for ac_exec_ext in '' $ac_executable_extensions; do 
     3209    for ac_exec_ext in '' $ac_executable_extensions; do 
    29283210  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29293211    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2930     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29313213    break 2 
    29323214  fi 
    29333215done 
    2934 done 
     3216  done 
    29353217IFS=$as_save_IFS 
    29363218 
     
    29393221CXX=$ac_cv_prog_CXX 
    29403222if test -n "$CXX"; then 
    2941   { echo "$as_me:$LINENO: result: $CXX" >&5 
    2942 echo "${ECHO_T}$CXX" >&6; } 
    2943 else 
    2944   { echo "$as_me:$LINENO: result: no" >&5 
    2945 echo "${ECHO_T}no" >&6; } 
     3223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 
     3224$as_echo "$CXX" >&6; } 
     3225else 
     3226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3227$as_echo "no" >&6; } 
    29463228fi 
    29473229 
     
    29563238  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    29573239set dummy $ac_prog; ac_word=$2 
    2958 { echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 
    2960 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
    2961   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     3241$as_echo_n "checking for $ac_word... " >&6; } 
     3242if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 
     3243  $as_echo_n "(cached) " >&6 
    29623244else 
    29633245  if test -n "$ac_ct_CXX"; then 
     
    29693251  IFS=$as_save_IFS 
    29703252  test -z "$as_dir" && as_dir=. 
    2971   for ac_exec_ext in '' $ac_executable_extensions; do 
     3253    for ac_exec_ext in '' $ac_executable_extensions; do 
    29723254  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    29733255    ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2974     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
    29753257    break 2 
    29763258  fi 
    29773259done 
    2978 done 
     3260  done 
    29793261IFS=$as_save_IFS 
    29803262 
     
    29833265ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    29843266if test -n "$ac_ct_CXX"; then 
    2985   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    2986 echo "${ECHO_T}$ac_ct_CXX" >&6; } 
    2987 else 
    2988   { echo "$as_me:$LINENO: result: no" >&5 
    2989 echo "${ECHO_T}no" >&6; } 
     3267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 
     3268$as_echo "$ac_ct_CXX" >&6; } 
     3269else 
     3270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     3271$as_echo "no" >&6; } 
    29903272fi 
    29913273 
     
    29993281    case $cross_compiling:$ac_tool_warned in 
    30003282yes:) 
    3001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 
    3002 whose name does not start with the host triplet.  If you think this 
    3003 configuration is useful to you, please write to autoconf@gnu.org." >&5 
    3004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
    3005 whose name does not start with the host triplet.  If you think this 
    3006 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
     3283{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     3284$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
    30073285ac_tool_warned=yes ;; 
    30083286esac 
     
    30143292fi 
    30153293# Provide some information about the compiler. 
    3016 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 
    3017 ac_compiler=`set X $ac_compile; echo $2` 
    3018 { (ac_try="$ac_compiler --version >&5" 
     3294$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 
     3295set X $ac_compile 
     3296ac_compiler=$2 
     3297for ac_option in --version -v -V -qversion; do 
     3298  { { ac_try="$ac_compiler $ac_option >&5" 
    30193299case "(($ac_try" in 
    30203300  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    30213301  *) ac_try_echo=$ac_try;; 
    30223302esac 
    3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3024   (eval "$ac_compiler --version >&5") 2>&5 
     3303eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 
     3304$as_echo "$ac_try_echo"; } >&5 
     3305  (eval "$ac_compiler $ac_option >&5") 2>conftest.err 
    30253306  ac_status=$? 
    3026   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3027   (exit $ac_status); } 
    3028 { (ac_try="$ac_compiler -v >&5" 
    3029 case "(($ac_try" in 
    3030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3031   *) ac_try_echo=$ac_try;; 
    3032 esac 
    3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3034   (eval "$ac_compiler -v >&5") 2>&5 
    3035   ac_status=$? 
    3036   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3037   (exit $ac_status); } 
    3038 { (ac_try="$ac_compiler -V >&5" 
    3039 case "(($ac_try" in 
    3040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3041   *) ac_try_echo=$ac_try;; 
    3042 esac 
    3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3044   (eval "$ac_compiler -V >&5") 2>&5 
    3045   ac_status=$? 
    3046   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3047   (exit $ac_status); } 
    3048  
    3049 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    3050 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 
    3051 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
    3052   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3053 else 
    3054   cat >conftest.$ac_ext <<_ACEOF 
    3055 /* confdefs.h.  */ 
    3056 _ACEOF 
    3057 cat confdefs.h >>conftest.$ac_ext 
    3058 cat >>conftest.$ac_ext <<_ACEOF 
     3307  if test -s conftest.err; then 
     3308    sed '10a\ 
     3309... rest of stderr output deleted ... 
     3310         10q' conftest.err >conftest.er1 
     3311    cat conftest.er1 >&5 
     3312  fi 
     3313  rm -f conftest.er1 conftest.err 
     3314  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 
     3315  test $ac_status = 0; } 
     3316done 
     3317 
     3318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 
     3319$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 
     3320if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 
     3321  $as_echo_n "(cached) " >&6 
     3322else 
     3323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    30593324/* end confdefs.h.  */ 
    30603325 
     
    30703335} 
    30713336_ACEOF 
    3072 rm -f conftest.$ac_objext 
    3073 if { (ac_try="$ac_compile" 
    3074 case "(($ac_try" in 
    3075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3076   *) ac_try_echo=$ac_try;; 
    3077 esac 
    3078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3079   (eval "$ac_compile") 2>conftest.er1 
    3080   ac_status=$? 
    3081   grep -v '^ *+' conftest.er1 >conftest.err 
    3082   rm -f conftest.er1 
    3083   cat conftest.err >&5 
    3084   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3085   (exit $ac_status); } && { 
    3086          test -z "$ac_cxx_werror_flag" || 
    3087          test ! -s conftest.err 
    3088        } && test -s conftest.$ac_objext; then 
     3337if ac_fn_cxx_try_compile "$LINENO"; then : 
    30893338  ac_compiler_gnu=yes 
    30903339else 
    3091   echo "$as_me: failed program was:" >&5 
    3092 sed 's/^/| /' conftest.$ac_ext >&5 
    3093  
    3094         ac_compiler_gnu=no 
    3095 fi 
    3096  
     3340  ac_compiler_gnu=no 
     3341fi 
    30973342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    30983343ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    30993344 
    31003345fi 
    3101 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    3102 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 
    3103 GXX=`test $ac_compiler_gnu = yes && echo yes` 
     3346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 
     3347$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 
     3348if test $ac_compiler_gnu = yes; then 
     3349  GXX=yes 
     3350else 
     3351  GXX= 
     3352fi 
    31043353ac_test_CXXFLAGS=${CXXFLAGS+set} 
    31053354ac_save_CXXFLAGS=$CXXFLAGS 
    3106 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    3107 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 
    3108 if test "${ac_cv_prog_cxx_g+set}" = set; then 
    3109   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 
     3356$as_echo_n "checking whether $CXX accepts -g... " >&6; } 
     3357if test "${ac_cv_prog_cxx_g+set}" = set; then : 
     3358  $as_echo_n "(cached) " >&6 
    31103359else 
    31113360  ac_save_cxx_werror_flag=$ac_cxx_werror_flag 
     
    31133362   ac_cv_prog_cxx_g=no 
    31143363   CXXFLAGS="-g" 
    3115    cat >conftest.$ac_ext <<_ACEOF 
    3116 /* confdefs.h.  */ 
    3117 _ACEOF 
    3118 cat confdefs.h >>conftest.$ac_ext 
    3119 cat >>conftest.$ac_ext <<_ACEOF 
     3364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31203365/* end confdefs.h.  */ 
    31213366 
     
    31283373} 
    31293374_ACEOF 
    3130 rm -f conftest.$ac_objext 
    3131 if { (ac_try="$ac_compile" 
    3132 case "(($ac_try" in 
    3133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3134   *) ac_try_echo=$ac_try;; 
    3135 esac 
    3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3137   (eval "$ac_compile") 2>conftest.er1 
    3138   ac_status=$? 
    3139   grep -v '^ *+' conftest.er1 >conftest.err 
    3140   rm -f conftest.er1 
    3141   cat conftest.err >&5 
    3142   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3143   (exit $ac_status); } && { 
    3144          test -z "$ac_cxx_werror_flag" || 
    3145          test ! -s conftest.err 
    3146        } && test -s conftest.$ac_objext; then 
     3375if ac_fn_cxx_try_compile "$LINENO"; then : 
    31473376  ac_cv_prog_cxx_g=yes 
    31483377else 
    3149   echo "$as_me: failed program was:" >&5 
    3150 sed 's/^/| /' conftest.$ac_ext >&5 
    3151  
    3152         CXXFLAGS="" 
    3153       cat >conftest.$ac_ext <<_ACEOF 
    3154 /* confdefs.h.  */ 
    3155 _ACEOF 
    3156 cat confdefs.h >>conftest.$ac_ext 
    3157 cat >>conftest.$ac_ext <<_ACEOF 
     3378  CXXFLAGS="" 
     3379      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31583380/* end confdefs.h.  */ 
    31593381 
     
    31663388} 
    31673389_ACEOF 
    3168 rm -f conftest.$ac_objext 
    3169 if { (ac_try="$ac_compile" 
    3170 case "(($ac_try" in 
    3171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3172   *) ac_try_echo=$ac_try;; 
    3173 esac 
    3174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3175   (eval "$ac_compile") 2>conftest.er1 
    3176   ac_status=$? 
    3177   grep -v '^ *+' conftest.er1 >conftest.err 
    3178   rm -f conftest.er1 
    3179   cat conftest.err >&5 
    3180   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3181   (exit $ac_status); } && { 
    3182          test -z "$ac_cxx_werror_flag" || 
    3183          test ! -s conftest.err 
    3184        } && test -s conftest.$ac_objext; then 
    3185   : 
    3186 else 
    3187   echo "$as_me: failed program was:" >&5 
    3188 sed 's/^/| /' conftest.$ac_ext >&5 
    3189  
    3190         ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
     3390if ac_fn_cxx_try_compile "$LINENO"; then : 
     3391 
     3392else 
     3393  ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    31913394         CXXFLAGS="-g" 
    3192          cat >conftest.$ac_ext <<_ACEOF 
    3193 /* confdefs.h.  */ 
    3194 _ACEOF 
    3195 cat confdefs.h >>conftest.$ac_ext 
    3196 cat >>conftest.$ac_ext <<_ACEOF 
     3395         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    31973396/* end confdefs.h.  */ 
    31983397 
     
    32053404} 
    32063405_ACEOF 
    3207 rm -f conftest.$ac_objext 
    3208 if { (ac_try="$ac_compile" 
    3209 case "(($ac_try" in 
    3210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3211   *) ac_try_echo=$ac_try;; 
    3212 esac 
    3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3214   (eval "$ac_compile") 2>conftest.er1 
    3215   ac_status=$? 
    3216   grep -v '^ *+' conftest.er1 >conftest.err 
    3217   rm -f conftest.er1 
    3218   cat conftest.err >&5 
    3219   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3220   (exit $ac_status); } && { 
    3221          test -z "$ac_cxx_werror_flag" || 
    3222          test ! -s conftest.err 
    3223        } && test -s conftest.$ac_objext; then 
     3406if ac_fn_cxx_try_compile "$LINENO"; then : 
    32243407  ac_cv_prog_cxx_g=yes 
    3225 else 
    3226   echo "$as_me: failed program was:" >&5 
    3227 sed 's/^/| /' conftest.$ac_ext >&5 
    3228  
    3229  
    3230 fi 
    3231  
     3408fi 
    32323409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32333410fi 
    3234  
    32353411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32363412fi 
    3237  
    32383413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    32393414   ac_cxx_werror_flag=$ac_save_cxx_werror_flag 
    32403415fi 
    3241 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    3242 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 
     3416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 
     3417$as_echo "$ac_cv_prog_cxx_g" >&6; } 
    32433418if test "$ac_test_CXXFLAGS" = set; then 
    32443419  CXXFLAGS=$ac_save_CXXFLAGS 
     
    33313506 
    33323507 
    3333  
    3334 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    3335 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 
    3336 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
    3337   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 
     3509$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 
     3510if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 
     3511  $as_echo_n "(cached) " >&6 
    33383512else 
    33393513  ac_check_lib_save_LIBS=$LIBS 
    33403514LIBS="-lpthread  $LIBS" 
    3341 cat >conftest.$ac_ext <<_ACEOF 
    3342 /* confdefs.h.  */ 
    3343 _ACEOF 
    3344 cat confdefs.h >>conftest.$ac_ext 
    3345 cat >>conftest.$ac_ext <<_ACEOF 
     3515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    33463516/* end confdefs.h.  */ 
    33473517 
     
    33613531} 
    33623532_ACEOF 
    3363 rm -f conftest.$ac_objext conftest$ac_exeext 
    3364 if { (ac_try="$ac_link" 
    3365 case "(($ac_try" in 
    3366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3367   *) ac_try_echo=$ac_try;; 
    3368 esac 
    3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3370   (eval "$ac_link") 2>conftest.er1 
    3371   ac_status=$? 
    3372   grep -v '^ *+' conftest.er1 >conftest.err 
    3373   rm -f conftest.er1 
    3374   cat conftest.err >&5 
    3375   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3376   (exit $ac_status); } && { 
    3377          test -z "$ac_c_werror_flag" || 
    3378          test ! -s conftest.err 
    3379        } && test -s conftest$ac_exeext && 
    3380        $as_test_x conftest$ac_exeext; then 
     3533if ac_fn_c_try_link "$LINENO"; then : 
    33813534  ac_cv_lib_pthread_pthread_create=yes 
    33823535else 
    3383   echo "$as_me: failed program was:" >&5 
    3384 sed 's/^/| /' conftest.$ac_ext >&5 
    3385  
    3386         ac_cv_lib_pthread_pthread_create=no 
    3387 fi 
    3388  
    3389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3390       conftest$ac_exeext conftest.$ac_ext 
     3536  ac_cv_lib_pthread_pthread_create=no 
     3537fi 
     3538rm -f core conftest.err conftest.$ac_objext \ 
     3539    conftest$ac_exeext conftest.$ac_ext 
    33913540LIBS=$ac_check_lib_save_LIBS 
    33923541fi 
    3393 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    3394 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 
    3395 if test $ac_cv_lib_pthread_pthread_create = yes; then 
     3542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 
     3543$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 
     3544if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 
    33963545  cat >>confdefs.h <<_ACEOF 
    33973546#define HAVE_LIBPTHREAD 1 
     
    34023551fi 
    34033552 
    3404  
    3405 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    3406 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 
    3407 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
    3408   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 
     3554$as_echo_n "checking for puts in -lwsock32... " >&6; } 
     3555if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 
     3556  $as_echo_n "(cached) " >&6 
    34093557else 
    34103558  ac_check_lib_save_LIBS=$LIBS 
    34113559LIBS="-lwsock32  $LIBS" 
    3412 cat >conftest.$ac_ext <<_ACEOF 
    3413 /* confdefs.h.  */ 
    3414 _ACEOF 
    3415 cat confdefs.h >>conftest.$ac_ext 
    3416 cat >>conftest.$ac_ext <<_ACEOF 
     3560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34173561/* end confdefs.h.  */ 
    34183562 
     
    34323576} 
    34333577_ACEOF 
    3434 rm -f conftest.$ac_objext conftest$ac_exeext 
    3435 if { (ac_try="$ac_link" 
    3436 case "(($ac_try" in 
    3437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3438   *) ac_try_echo=$ac_try;; 
    3439 esac 
    3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3441   (eval "$ac_link") 2>conftest.er1 
    3442   ac_status=$? 
    3443   grep -v '^ *+' conftest.er1 >conftest.err 
    3444   rm -f conftest.er1 
    3445   cat conftest.err >&5 
    3446   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3447   (exit $ac_status); } && { 
    3448          test -z "$ac_c_werror_flag" || 
    3449          test ! -s conftest.err 
    3450        } && test -s conftest$ac_exeext && 
    3451        $as_test_x conftest$ac_exeext; then 
     3578if ac_fn_c_try_link "$LINENO"; then : 
    34523579  ac_cv_lib_wsock32_puts=yes 
    34533580else 
    3454   echo "$as_me: failed program was:" >&5 
    3455 sed 's/^/| /' conftest.$ac_ext >&5 
    3456  
    3457         ac_cv_lib_wsock32_puts=no 
    3458 fi 
    3459  
    3460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3461       conftest$ac_exeext conftest.$ac_ext 
     3581  ac_cv_lib_wsock32_puts=no 
     3582fi 
     3583rm -f core conftest.err conftest.$ac_objext \ 
     3584    conftest$ac_exeext conftest.$ac_ext 
    34623585LIBS=$ac_check_lib_save_LIBS 
    34633586fi 
    3464 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    3465 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 
    3466 if test $ac_cv_lib_wsock32_puts = yes; then 
     3587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 
     3588$as_echo "$ac_cv_lib_wsock32_puts" >&6; } 
     3589if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 
    34673590  cat >>confdefs.h <<_ACEOF 
    34683591#define HAVE_LIBWSOCK32 1 
     
    34733596fi 
    34743597 
    3475  
    3476 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    3477 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 
    3478 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
    3479   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 
     3599$as_echo_n "checking for puts in -lws2_32... " >&6; } 
     3600if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 
     3601  $as_echo_n "(cached) " >&6 
    34803602else 
    34813603  ac_check_lib_save_LIBS=$LIBS 
    34823604LIBS="-lws2_32  $LIBS" 
    3483 cat >conftest.$ac_ext <<_ACEOF 
    3484 /* confdefs.h.  */ 
    3485 _ACEOF 
    3486 cat confdefs.h >>conftest.$ac_ext 
    3487 cat >>conftest.$ac_ext <<_ACEOF 
     3605cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    34883606/* end confdefs.h.  */ 
    34893607 
     
    35033621} 
    35043622_ACEOF 
    3505 rm -f conftest.$ac_objext conftest$ac_exeext 
    3506 if { (ac_try="$ac_link" 
    3507 case "(($ac_try" in 
    3508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3509   *) ac_try_echo=$ac_try;; 
    3510 esac 
    3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3512   (eval "$ac_link") 2>conftest.er1 
    3513   ac_status=$? 
    3514   grep -v '^ *+' conftest.er1 >conftest.err 
    3515   rm -f conftest.er1 
    3516   cat conftest.err >&5 
    3517   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3518   (exit $ac_status); } && { 
    3519          test -z "$ac_c_werror_flag" || 
    3520          test ! -s conftest.err 
    3521        } && test -s conftest$ac_exeext && 
    3522        $as_test_x conftest$ac_exeext; then 
     3623if ac_fn_c_try_link "$LINENO"; then : 
    35233624  ac_cv_lib_ws2_32_puts=yes 
    35243625else 
    3525   echo "$as_me: failed program was:" >&5 
    3526 sed 's/^/| /' conftest.$ac_ext >&5 
    3527  
    3528         ac_cv_lib_ws2_32_puts=no 
    3529 fi 
    3530  
    3531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3532       conftest$ac_exeext conftest.$ac_ext 
     3626  ac_cv_lib_ws2_32_puts=no 
     3627fi 
     3628rm -f core conftest.err conftest.$ac_objext \ 
     3629    conftest$ac_exeext conftest.$ac_ext 
    35333630LIBS=$ac_check_lib_save_LIBS 
    35343631fi 
    3535 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    3536 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 
    3537 if test $ac_cv_lib_ws2_32_puts = yes; then 
     3632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 
     3633$as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 
     3634if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 
    35383635  cat >>confdefs.h <<_ACEOF 
    35393636#define HAVE_LIBWS2_32 1 
     
    35443641fi 
    35453642 
    3546  
    3547 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    3548 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 
    3549 if test "${ac_cv_lib_ole32_puts+set}" = set; then 
    3550   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 
     3644$as_echo_n "checking for puts in -lole32... " >&6; } 
     3645if test "${ac_cv_lib_ole32_puts+set}" = set; then : 
     3646  $as_echo_n "(cached) " >&6 
    35513647else 
    35523648  ac_check_lib_save_LIBS=$LIBS 
    35533649LIBS="-lole32  $LIBS" 
    3554 cat >conftest.$ac_ext <<_ACEOF 
    3555 /* confdefs.h.  */ 
    3556 _ACEOF 
    3557 cat confdefs.h >>conftest.$ac_ext 
    3558 cat >>conftest.$ac_ext <<_ACEOF 
     3650cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    35593651/* end confdefs.h.  */ 
    35603652 
     
    35743666} 
    35753667_ACEOF 
    3576 rm -f conftest.$ac_objext conftest$ac_exeext 
    3577 if { (ac_try="$ac_link" 
    3578 case "(($ac_try" in 
    3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3580   *) ac_try_echo=$ac_try;; 
    3581 esac 
    3582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3583   (eval "$ac_link") 2>conftest.er1 
    3584   ac_status=$? 
    3585   grep -v '^ *+' conftest.er1 >conftest.err 
    3586   rm -f conftest.er1 
    3587   cat conftest.err >&5 
    3588   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3589   (exit $ac_status); } && { 
    3590          test -z "$ac_c_werror_flag" || 
    3591          test ! -s conftest.err 
    3592        } && test -s conftest$ac_exeext && 
    3593        $as_test_x conftest$ac_exeext; then 
     3668if ac_fn_c_try_link "$LINENO"; then : 
    35943669  ac_cv_lib_ole32_puts=yes 
    35953670else 
    3596   echo "$as_me: failed program was:" >&5 
    3597 sed 's/^/| /' conftest.$ac_ext >&5 
    3598  
    3599         ac_cv_lib_ole32_puts=no 
    3600 fi 
    3601  
    3602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3603       conftest$ac_exeext conftest.$ac_ext 
     3671  ac_cv_lib_ole32_puts=no 
     3672fi 
     3673rm -f core conftest.err conftest.$ac_objext \ 
     3674    conftest$ac_exeext conftest.$ac_ext 
    36043675LIBS=$ac_check_lib_save_LIBS 
    36053676fi 
    3606 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    3607 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 
    3608 if test $ac_cv_lib_ole32_puts = yes; then 
     3677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 
     3678$as_echo "$ac_cv_lib_ole32_puts" >&6; } 
     3679if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 
    36093680  cat >>confdefs.h <<_ACEOF 
    36103681#define HAVE_LIBOLE32 1 
     
    36153686fi 
    36163687 
    3617  
    3618 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    3619 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 
    3620 if test "${ac_cv_lib_winmm_puts+set}" = set; then 
    3621   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 
     3689$as_echo_n "checking for puts in -lwinmm... " >&6; } 
     3690if test "${ac_cv_lib_winmm_puts+set}" = set; then : 
     3691  $as_echo_n "(cached) " >&6 
    36223692else 
    36233693  ac_check_lib_save_LIBS=$LIBS 
    36243694LIBS="-lwinmm  $LIBS" 
    3625 cat >conftest.$ac_ext <<_ACEOF 
    3626 /* confdefs.h.  */ 
    3627 _ACEOF 
    3628 cat confdefs.h >>conftest.$ac_ext 
    3629 cat >>conftest.$ac_ext <<_ACEOF 
     3695cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    36303696/* end confdefs.h.  */ 
    36313697 
     
    36453711} 
    36463712_ACEOF 
    3647 rm -f conftest.$ac_objext conftest$ac_exeext 
    3648 if { (ac_try="$ac_link" 
    3649 case "(($ac_try" in 
    3650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3651   *) ac_try_echo=$ac_try;; 
    3652 esac 
    3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3654   (eval "$ac_link") 2>conftest.er1 
    3655   ac_status=$? 
    3656   grep -v '^ *+' conftest.er1 >conftest.err 
    3657   rm -f conftest.er1 
    3658   cat conftest.err >&5 
    3659   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3660   (exit $ac_status); } && { 
    3661          test -z "$ac_c_werror_flag" || 
    3662          test ! -s conftest.err 
    3663        } && test -s conftest$ac_exeext && 
    3664        $as_test_x conftest$ac_exeext; then 
     3713if ac_fn_c_try_link "$LINENO"; then : 
    36653714  ac_cv_lib_winmm_puts=yes 
    36663715else 
    3667   echo "$as_me: failed program was:" >&5 
    3668 sed 's/^/| /' conftest.$ac_ext >&5 
    3669  
    3670         ac_cv_lib_winmm_puts=no 
    3671 fi 
    3672  
    3673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3674       conftest$ac_exeext conftest.$ac_ext 
     3716  ac_cv_lib_winmm_puts=no 
     3717fi 
     3718rm -f core conftest.err conftest.$ac_objext \ 
     3719    conftest$ac_exeext conftest.$ac_ext 
    36753720LIBS=$ac_check_lib_save_LIBS 
    36763721fi 
    3677 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    3678 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 
    3679 if test $ac_cv_lib_winmm_puts = yes; then 
     3722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 
     3723$as_echo "$ac_cv_lib_winmm_puts" >&6; } 
     3724if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 
    36803725  cat >>confdefs.h <<_ACEOF 
    36813726#define HAVE_LIBWINMM 1 
     
    36863731fi 
    36873732 
    3688  
    3689 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    3690 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 
    3691 if test "${ac_cv_lib_socket_puts+set}" = set; then 
    3692   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 
     3734$as_echo_n "checking for puts in -lsocket... " >&6; } 
     3735if test "${ac_cv_lib_socket_puts+set}" = set; then : 
     3736  $as_echo_n "(cached) " >&6 
    36933737else 
    36943738  ac_check_lib_save_LIBS=$LIBS 
    36953739LIBS="-lsocket  $LIBS" 
    3696 cat >conftest.$ac_ext <<_ACEOF 
    3697 /* confdefs.h.  */ 
    3698 _ACEOF 
    3699 cat confdefs.h >>conftest.$ac_ext 
    3700 cat >>conftest.$ac_ext <<_ACEOF 
     3740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37013741/* end confdefs.h.  */ 
    37023742 
     
    37163756} 
    37173757_ACEOF 
    3718 rm -f conftest.$ac_objext conftest$ac_exeext 
    3719 if { (ac_try="$ac_link" 
    3720 case "(($ac_try" in 
    3721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3722   *) ac_try_echo=$ac_try;; 
    3723 esac 
    3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3725   (eval "$ac_link") 2>conftest.er1 
    3726   ac_status=$? 
    3727   grep -v '^ *+' conftest.er1 >conftest.err 
    3728   rm -f conftest.er1 
    3729   cat conftest.err >&5 
    3730   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3731   (exit $ac_status); } && { 
    3732          test -z "$ac_c_werror_flag" || 
    3733          test ! -s conftest.err 
    3734        } && test -s conftest$ac_exeext && 
    3735        $as_test_x conftest$ac_exeext; then 
     3758if ac_fn_c_try_link "$LINENO"; then : 
    37363759  ac_cv_lib_socket_puts=yes 
    37373760else 
    3738   echo "$as_me: failed program was:" >&5 
    3739 sed 's/^/| /' conftest.$ac_ext >&5 
    3740  
    3741         ac_cv_lib_socket_puts=no 
    3742 fi 
    3743  
    3744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3745       conftest$ac_exeext conftest.$ac_ext 
     3761  ac_cv_lib_socket_puts=no 
     3762fi 
     3763rm -f core conftest.err conftest.$ac_objext \ 
     3764    conftest$ac_exeext conftest.$ac_ext 
    37463765LIBS=$ac_check_lib_save_LIBS 
    37473766fi 
    3748 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    3749 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 
    3750 if test $ac_cv_lib_socket_puts = yes; then 
     3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 
     3768$as_echo "$ac_cv_lib_socket_puts" >&6; } 
     3769if test "x$ac_cv_lib_socket_puts" = x""yes; then : 
    37513770  cat >>confdefs.h <<_ACEOF 
    37523771#define HAVE_LIBSOCKET 1 
     
    37573776fi 
    37583777 
    3759  
    3760 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    3761 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 
    3762 if test "${ac_cv_lib_rt_puts+set}" = set; then 
    3763   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 
     3779$as_echo_n "checking for puts in -lrt... " >&6; } 
     3780if test "${ac_cv_lib_rt_puts+set}" = set; then : 
     3781  $as_echo_n "(cached) " >&6 
    37643782else 
    37653783  ac_check_lib_save_LIBS=$LIBS 
    37663784LIBS="-lrt  $LIBS" 
    3767 cat >conftest.$ac_ext <<_ACEOF 
    3768 /* confdefs.h.  */ 
    3769 _ACEOF 
    3770 cat confdefs.h >>conftest.$ac_ext 
    3771 cat >>conftest.$ac_ext <<_ACEOF 
     3785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    37723786/* end confdefs.h.  */ 
    37733787 
     
    37873801} 
    37883802_ACEOF 
    3789 rm -f conftest.$ac_objext conftest$ac_exeext 
    3790 if { (ac_try="$ac_link" 
    3791 case "(($ac_try" in 
    3792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3793   *) ac_try_echo=$ac_try;; 
    3794 esac 
    3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3796   (eval "$ac_link") 2>conftest.er1 
    3797   ac_status=$? 
    3798   grep -v '^ *+' conftest.er1 >conftest.err 
    3799   rm -f conftest.er1 
    3800   cat conftest.err >&5 
    3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3802   (exit $ac_status); } && { 
    3803          test -z "$ac_c_werror_flag" || 
    3804          test ! -s conftest.err 
    3805        } && test -s conftest$ac_exeext && 
    3806        $as_test_x conftest$ac_exeext; then 
     3803if ac_fn_c_try_link "$LINENO"; then : 
    38073804  ac_cv_lib_rt_puts=yes 
    38083805else 
    3809   echo "$as_me: failed program was:" >&5 
    3810 sed 's/^/| /' conftest.$ac_ext >&5 
    3811  
    3812         ac_cv_lib_rt_puts=no 
    3813 fi 
    3814  
    3815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3816       conftest$ac_exeext conftest.$ac_ext 
     3806  ac_cv_lib_rt_puts=no 
     3807fi 
     3808rm -f core conftest.err conftest.$ac_objext \ 
     3809    conftest$ac_exeext conftest.$ac_ext 
    38173810LIBS=$ac_check_lib_save_LIBS 
    38183811fi 
    3819 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    3820 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 
    3821 if test $ac_cv_lib_rt_puts = yes; then 
     3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 
     3813$as_echo "$ac_cv_lib_rt_puts" >&6; } 
     3814if test "x$ac_cv_lib_rt_puts" = x""yes; then : 
    38223815  cat >>confdefs.h <<_ACEOF 
    38233816#define HAVE_LIBRT 1 
     
    38283821fi 
    38293822 
    3830  
    3831 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    3832 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 
    3833 if test "${ac_cv_lib_nsl_puts+set}" = set; then 
    3834   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 
     3824$as_echo_n "checking for puts in -lnsl... " >&6; } 
     3825if test "${ac_cv_lib_nsl_puts+set}" = set; then : 
     3826  $as_echo_n "(cached) " >&6 
    38353827else 
    38363828  ac_check_lib_save_LIBS=$LIBS 
    38373829LIBS="-lnsl  $LIBS" 
    3838 cat >conftest.$ac_ext <<_ACEOF 
    3839 /* confdefs.h.  */ 
    3840 _ACEOF 
    3841 cat confdefs.h >>conftest.$ac_ext 
    3842 cat >>conftest.$ac_ext <<_ACEOF 
     3830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    38433831/* end confdefs.h.  */ 
    38443832 
     
    38583846} 
    38593847_ACEOF 
    3860 rm -f conftest.$ac_objext conftest$ac_exeext 
    3861 if { (ac_try="$ac_link" 
    3862 case "(($ac_try" in 
    3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3864   *) ac_try_echo=$ac_try;; 
    3865 esac 
    3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3867   (eval "$ac_link") 2>conftest.er1 
    3868   ac_status=$? 
    3869   grep -v '^ *+' conftest.er1 >conftest.err 
    3870   rm -f conftest.er1 
    3871   cat conftest.err >&5 
    3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3873   (exit $ac_status); } && { 
    3874          test -z "$ac_c_werror_flag" || 
    3875          test ! -s conftest.err 
    3876        } && test -s conftest$ac_exeext && 
    3877        $as_test_x conftest$ac_exeext; then 
     3848if ac_fn_c_try_link "$LINENO"; then : 
    38783849  ac_cv_lib_nsl_puts=yes 
    38793850else 
    3880   echo "$as_me: failed program was:" >&5 
    3881 sed 's/^/| /' conftest.$ac_ext >&5 
    3882  
    3883         ac_cv_lib_nsl_puts=no 
    3884 fi 
    3885  
    3886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3887       conftest$ac_exeext conftest.$ac_ext 
     3851  ac_cv_lib_nsl_puts=no 
     3852fi 
     3853rm -f core conftest.err conftest.$ac_objext \ 
     3854    conftest$ac_exeext conftest.$ac_ext 
    38883855LIBS=$ac_check_lib_save_LIBS 
    38893856fi 
    3890 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    3891 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 
    3892 if test $ac_cv_lib_nsl_puts = yes; then 
     3857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 
     3858$as_echo "$ac_cv_lib_nsl_puts" >&6; } 
     3859if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 
    38933860  cat >>confdefs.h <<_ACEOF 
    38943861#define HAVE_LIBNSL 1 
     
    38993866fi 
    39003867 
    3901  
    3902 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3903 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3904 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3905   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3869$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3870if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3871  $as_echo_n "(cached) " >&6 
    39063872else 
    39073873  ac_check_lib_save_LIBS=$LIBS 
    39083874LIBS="-luuid  $LIBS" 
    3909 cat >conftest.$ac_ext <<_ACEOF 
    3910 /* confdefs.h.  */ 
    3911 _ACEOF 
    3912 cat confdefs.h >>conftest.$ac_ext 
    3913 cat >>conftest.$ac_ext <<_ACEOF 
     3875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39143876/* end confdefs.h.  */ 
    39153877 
     
    39293891} 
    39303892_ACEOF 
    3931 rm -f conftest.$ac_objext conftest$ac_exeext 
    3932 if { (ac_try="$ac_link" 
    3933 case "(($ac_try" in 
    3934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    3935   *) ac_try_echo=$ac_try;; 
    3936 esac 
    3937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    3938   (eval "$ac_link") 2>conftest.er1 
    3939   ac_status=$? 
    3940   grep -v '^ *+' conftest.er1 >conftest.err 
    3941   rm -f conftest.er1 
    3942   cat conftest.err >&5 
    3943   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3944   (exit $ac_status); } && { 
    3945          test -z "$ac_c_werror_flag" || 
    3946          test ! -s conftest.err 
    3947        } && test -s conftest$ac_exeext && 
    3948        $as_test_x conftest$ac_exeext; then 
     3893if ac_fn_c_try_link "$LINENO"; then : 
    39493894  ac_cv_lib_uuid_uuid_generate=yes 
    39503895else 
    3951   echo "$as_me: failed program was:" >&5 
    3952 sed 's/^/| /' conftest.$ac_ext >&5 
    3953  
    3954         ac_cv_lib_uuid_uuid_generate=no 
    3955 fi 
    3956  
    3957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    3958       conftest$ac_exeext conftest.$ac_ext 
     3896  ac_cv_lib_uuid_uuid_generate=no 
     3897fi 
     3898rm -f core conftest.err conftest.$ac_objext \ 
     3899    conftest$ac_exeext conftest.$ac_ext 
    39593900LIBS=$ac_check_lib_save_LIBS 
    39603901fi 
    3961 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    3962 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    3963 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3903$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3904if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    39643905  cat >>confdefs.h <<_ACEOF 
    39653906#define HAVE_LIBUUID 1 
     
    39703911fi 
    39713912 
    3972 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 
    3973 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 
    3974 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 
    3975   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 
     3914$as_echo_n "checking for uuid_generate in -luuid... " >&6; } 
     3915if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 
     3916  $as_echo_n "(cached) " >&6 
    39763917else 
    39773918  ac_check_lib_save_LIBS=$LIBS 
    39783919LIBS="-luuid  $LIBS" 
    3979 cat >conftest.$ac_ext <<_ACEOF 
    3980 /* confdefs.h.  */ 
    3981 _ACEOF 
    3982 cat confdefs.h >>conftest.$ac_ext 
    3983 cat >>conftest.$ac_ext <<_ACEOF 
     3920cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    39843921/* end confdefs.h.  */ 
    39853922 
     
    39993936} 
    40003937_ACEOF 
    4001 rm -f conftest.$ac_objext conftest$ac_exeext 
    4002 if { (ac_try="$ac_link" 
    4003 case "(($ac_try" in 
    4004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4005   *) ac_try_echo=$ac_try;; 
    4006 esac 
    4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4008   (eval "$ac_link") 2>conftest.er1 
    4009   ac_status=$? 
    4010   grep -v '^ *+' conftest.er1 >conftest.err 
    4011   rm -f conftest.er1 
    4012   cat conftest.err >&5 
    4013   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4014   (exit $ac_status); } && { 
    4015          test -z "$ac_c_werror_flag" || 
    4016          test ! -s conftest.err 
    4017        } && test -s conftest$ac_exeext && 
    4018        $as_test_x conftest$ac_exeext; then 
     3938if ac_fn_c_try_link "$LINENO"; then : 
    40193939  ac_cv_lib_uuid_uuid_generate=yes 
    40203940else 
    4021   echo "$as_me: failed program was:" >&5 
    4022 sed 's/^/| /' conftest.$ac_ext >&5 
    4023  
    4024         ac_cv_lib_uuid_uuid_generate=no 
    4025 fi 
    4026  
    4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    4028       conftest$ac_exeext conftest.$ac_ext 
     3941  ac_cv_lib_uuid_uuid_generate=no 
     3942fi 
     3943rm -f core conftest.err conftest.$ac_objext \ 
     3944    conftest$ac_exeext conftest.$ac_ext 
    40293945LIBS=$ac_check_lib_save_LIBS 
    40303946fi 
    4031 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 
    4032 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 
    4033 if test $ac_cv_lib_uuid_uuid_generate = yes; then 
     3947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 
     3948$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 
     3949if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 
    40343950  ac_has_uuid_lib=1 
    40353951fi 
    40363952 
    40373953 
    4038 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    4039 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 
     3954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3955$as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 
    40403956cat >>confdefs.h <<_ACEOF 
    40413957#define PJ_M_NAME "$target_cpu" 
     
    40433959 
    40443960 
    4045 { echo "$as_me:$LINENO: checking memory alignment" >&5 
    4046 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 
     3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 
     3962$as_echo_n "checking memory alignment... " >&6; } 
    40473963case $target in 
    40483964    sparc64-* | ia64-* | x86_64-* ) 
    4049         cat >>confdefs.h <<\_ACEOF 
    4050 #define PJ_POOL_ALIGNMENT 8 
    4051 _ACEOF 
    4052  
    4053         { echo "$as_me:$LINENO: result: 8 bytes" >&5 
    4054 echo "${ECHO_T}8 bytes" >&6; } 
     3965        $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 
     3966 
     3967        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 
     3968$as_echo "8 bytes" >&6; } 
    40553969        ;; 
    40563970    * ) 
    4057         cat >>confdefs.h <<\_ACEOF 
    4058 #define PJ_POOL_ALIGNMENT 4 
    4059 _ACEOF 
    4060  
    4061         { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    4062 echo "${ECHO_T}4 bytes (default)" >&6; } 
     3971        $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 
     3972 
     3973        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 
     3974$as_echo "4 bytes (default)" >&6; } 
    40633975        ;; 
    40643976esac 
     
    40703982ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    40713983ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    4072 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    4073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 
     3984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 
     3985$as_echo_n "checking how to run the C preprocessor... " >&6; } 
    40743986# On Suns, sometimes $CPP names a directory. 
    40753987if test -n "$CPP" && test -d "$CPP"; then 
     
    40773989fi 
    40783990if test -z "$CPP"; then 
    4079   if test "${ac_cv_prog_CPP+set}" = set; then 
    4080   echo $ECHO_N "(cached) $ECHO_C" >&6 
     3991  if test "${ac_cv_prog_CPP+set}" = set; then : 
     3992  $as_echo_n "(cached) " >&6 
    40813993else 
    40823994      # Double quotes because CPP needs to be expanded 
     
    40924004  # On the NeXT, cc -E runs the code through the compiler's parser, 
    40934005  # not just through cpp. "Syntax error" is here to catch this case. 
    4094   cat >conftest.$ac_ext <<_ACEOF 
    4095 /* confdefs.h.  */ 
    4096 _ACEOF 
    4097 cat confdefs.h >>conftest.$ac_ext 
    4098 cat >>conftest.$ac_ext <<_ACEOF 
     4006  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    40994007/* end confdefs.h.  */ 
    41004008#ifdef __STDC__ 
     
    41054013                     Syntax error 
    41064014_ACEOF 
    4107 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4108 case "(($ac_try" in 
    4109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4110   *) ac_try_echo=$ac_try;; 
    4111 esac 
    4112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4113   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4114   ac_status=$? 
    4115   grep -v '^ *+' conftest.er1 >conftest.err 
    4116   rm -f conftest.er1 
    4117   cat conftest.err >&5 
    4118   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4119   (exit $ac_status); } >/dev/null && { 
    4120          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4121          test ! -s conftest.err 
    4122        }; then 
    4123   : 
    4124 else 
    4125   echo "$as_me: failed program was:" >&5 
    4126 sed 's/^/| /' conftest.$ac_ext >&5 
    4127  
     4015if ac_fn_c_try_cpp "$LINENO"; then : 
     4016 
     4017else 
    41284018  # Broken: fails on valid input. 
    41294019continue 
    41304020fi 
    4131  
    41324021rm -f conftest.err conftest.$ac_ext 
    41334022 
    41344023  # OK, works on sane cases.  Now check whether nonexistent headers 
    41354024  # can be detected and how. 
    4136   cat >conftest.$ac_ext <<_ACEOF 
    4137 /* confdefs.h.  */ 
    4138 _ACEOF 
    4139 cat confdefs.h >>conftest.$ac_ext 
    4140 cat >>conftest.$ac_ext <<_ACEOF 
     4025  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    41414026/* end confdefs.h.  */ 
    41424027#include <ac_nonexistent.h> 
    41434028_ACEOF 
    4144 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4145 case "(($ac_try" in 
    4146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4147   *) ac_try_echo=$ac_try;; 
    4148 esac 
    4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4150   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4151   ac_status=$? 
    4152   grep -v '^ *+' conftest.er1 >conftest.err 
    4153   rm -f conftest.er1 
    4154   cat conftest.err >&5 
    4155   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4156   (exit $ac_status); } >/dev/null && { 
    4157          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4158          test ! -s conftest.err 
    4159        }; then 
     4029if ac_fn_c_try_cpp "$LINENO"; then : 
    41604030  # Broken: success on invalid input. 
    41614031continue 
    41624032else 
    4163   echo "$as_me: failed program was:" >&5 
    4164 sed 's/^/| /' conftest.$ac_ext >&5 
    4165  
    41664033  # Passes both tests. 
    41674034ac_preproc_ok=: 
    41684035break 
    41694036fi 
    4170  
    41714037rm -f conftest.err conftest.$ac_ext 
    41724038 
     
    41744040# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    41754041rm -f conftest.err conftest.$ac_ext 
    4176 if $ac_preproc_ok; then 
     4042if $ac_preproc_ok; then : 
    41774043  break 
    41784044fi 
     
    41864052  ac_cv_prog_CPP=$CPP 
    41874053fi 
    4188 { echo "$as_me:$LINENO: result: $CPP" >&5 
    4189 echo "${ECHO_T}$CPP" >&6; } 
     4054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 
     4055$as_echo "$CPP" >&6; } 
    41904056ac_preproc_ok=false 
    41914057for ac_c_preproc_warn_flag in '' yes 
     
    41974063  # On the NeXT, cc -E runs the code through the compiler's parser, 
    41984064  # not just through cpp. "Syntax error" is here to catch this case. 
    4199   cat >conftest.$ac_ext <<_ACEOF 
    4200 /* confdefs.h.  */ 
    4201 _ACEOF 
    4202 cat confdefs.h >>conftest.$ac_ext 
    4203 cat >>conftest.$ac_ext <<_ACEOF 
     4065  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42044066/* end confdefs.h.  */ 
    42054067#ifdef __STDC__ 
     
    42104072                     Syntax error 
    42114073_ACEOF 
    4212 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4213 case "(($ac_try" in 
    4214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4215   *) ac_try_echo=$ac_try;; 
    4216 esac 
    4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4218   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4219   ac_status=$? 
    4220   grep -v '^ *+' conftest.er1 >conftest.err 
    4221   rm -f conftest.er1 
    4222   cat conftest.err >&5 
    4223   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4224   (exit $ac_status); } >/dev/null && { 
    4225          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4226          test ! -s conftest.err 
    4227        }; then 
    4228   : 
    4229 else 
    4230   echo "$as_me: failed program was:" >&5 
    4231 sed 's/^/| /' conftest.$ac_ext >&5 
    4232  
     4074if ac_fn_c_try_cpp "$LINENO"; then : 
     4075 
     4076else 
    42334077  # Broken: fails on valid input. 
    42344078continue 
    42354079fi 
    4236  
    42374080rm -f conftest.err conftest.$ac_ext 
    42384081 
    42394082  # OK, works on sane cases.  Now check whether nonexistent headers 
    42404083  # can be detected and how. 
    4241   cat >conftest.$ac_ext <<_ACEOF 
    4242 /* confdefs.h.  */ 
    4243 _ACEOF 
    4244 cat confdefs.h >>conftest.$ac_ext 
    4245 cat >>conftest.$ac_ext <<_ACEOF 
     4084  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    42464085/* end confdefs.h.  */ 
    42474086#include <ac_nonexistent.h> 
    42484087_ACEOF 
    4249 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    4250 case "(($ac_try" in 
    4251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4252   *) ac_try_echo=$ac_try;; 
    4253 esac 
    4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4255   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    4256   ac_status=$? 
    4257   grep -v '^ *+' conftest.er1 >conftest.err 
    4258   rm -f conftest.er1 
    4259   cat conftest.err >&5 
    4260   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4261   (exit $ac_status); } >/dev/null && { 
    4262          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    4263          test ! -s conftest.err 
    4264        }; then 
     4088if ac_fn_c_try_cpp "$LINENO"; then : 
    42654089  # Broken: success on invalid input. 
    42664090continue 
    42674091else 
    4268   echo "$as_me: failed program was:" >&5 
    4269 sed 's/^/| /' conftest.$ac_ext >&5 
    4270  
    42714092  # Passes both tests. 
    42724093ac_preproc_ok=: 
    42734094break 
    42744095fi 
    4275  
    42764096rm -f conftest.err conftest.$ac_ext 
    42774097 
     
    42794099# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    42804100rm -f conftest.err conftest.$ac_ext 
    4281 if $ac_preproc_ok; then 
    4282   : 
    4283 else 
    4284   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    4285 See \`config.log' for more details." >&5 
    4286 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    4287 See \`config.log' for more details." >&2;} 
    4288    { (exit 1); exit 1; }; } 
     4101if $ac_preproc_ok; then : 
     4102 
     4103else 
     4104  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 
     4105$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
     4106as_fn_error "C preprocessor \"$CPP\" fails sanity check 
     4107See \`config.log' for more details." "$LINENO" 5; } 
    42894108fi 
    42904109 
     
    42964115 
    42974116 
    4298 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 
    4299 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 
    4300 if test "${ac_cv_path_GREP+set}" = set; then 
    4301   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4302 else 
    4303   # Extract the first word of "grep ggrep" to use in msg output 
    4304 if test -z "$GREP"; then 
    4305 set dummy grep ggrep; ac_prog_name=$2 
    4306 if test "${ac_cv_path_GREP+set}" = set; then 
    4307   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4308 else 
     4117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 
     4118$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 
     4119if test "${ac_cv_path_GREP+set}" = set; then : 
     4120  $as_echo_n "(cached) " >&6 
     4121else 
     4122  if test -z "$GREP"; then 
    43094123  ac_path_GREP_found=false 
    4310 # Loop through the user's path and test for each of PROGNAME-LIST 
    4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4124  # Loop through the user's path and test for each of PROGNAME-LIST 
     4125  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43124126for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43134127do 
    43144128  IFS=$as_save_IFS 
    43154129  test -z "$as_dir" && as_dir=. 
    4316   for ac_prog in grep ggrep; do 
    4317   for ac_exec_ext in '' $ac_executable_extensions; do 
    4318     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
    4319     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
    4320     # Check for GNU ac_path_GREP and select it if it is found. 
     4130    for ac_prog in grep ggrep; do 
     4131    for ac_exec_ext in '' $ac_executable_extensions; do 
     4132      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 
     4133      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 
     4134# Check for GNU ac_path_GREP and select it if it is found. 
    43214135  # Check for GNU $ac_path_GREP 
    43224136case `"$ac_path_GREP" --version 2>&1` in 
     
    43254139*) 
    43264140  ac_count=0 
    4327   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4141  $as_echo_n 0123456789 >"conftest.in" 
    43284142  while : 
    43294143  do 
     
    43314145    mv "conftest.tmp" "conftest.in" 
    43324146    cp "conftest.in" "conftest.nl" 
    4333     echo 'GREP' >> "conftest.nl" 
     4147    $as_echo 'GREP' >> "conftest.nl" 
    43344148    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    43354149    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4336     ac_count=`expr $ac_count + 1` 
     4150    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    43374151    if test $ac_count -gt ${ac_path_GREP_max-0}; then 
    43384152      # Best one so far, save it but keep looking for a better one 
     
    43464160esac 
    43474161 
    4348  
    4349     $ac_path_GREP_found && break 3 
     4162      $ac_path_GREP_found && break 3 
     4163    done 
    43504164  done 
    4351 done 
    4352  
    4353 done 
     4165  done 
    43544166IFS=$as_save_IFS 
    4355  
    4356  
    4357 fi 
    4358  
    4359 GREP="$ac_cv_path_GREP" 
    4360 if test -z "$GREP"; then 
    4361   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4363    { (exit 1); exit 1; }; } 
    4364 fi 
    4365  
     4167  if test -z "$ac_cv_path_GREP"; then 
     4168    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4169  fi 
    43664170else 
    43674171  ac_cv_path_GREP=$GREP 
    43684172fi 
    43694173 
    4370  
    4371 fi 
    4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 
    4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 
     4174fi 
     4175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 
     4176$as_echo "$ac_cv_path_GREP" >&6; } 
    43744177 GREP="$ac_cv_path_GREP" 
    43754178 
    43764179 
    4377 { echo "$as_me:$LINENO: checking for egrep" >&5 
    4378 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 
    4379 if test "${ac_cv_path_EGREP+set}" = set; then 
    4380   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 
     4181$as_echo_n "checking for egrep... " >&6; } 
     4182if test "${ac_cv_path_EGREP+set}" = set; then : 
     4183  $as_echo_n "(cached) " >&6 
    43814184else 
    43824185  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 
    43834186   then ac_cv_path_EGREP="$GREP -E" 
    43844187   else 
    4385      # Extract the first word of "egrep" to use in msg output 
    4386 if test -z "$EGREP"; then 
    4387 set dummy egrep; ac_prog_name=$2 
    4388 if test "${ac_cv_path_EGREP+set}" = set; then 
    4389   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4390 else 
     4188     if test -z "$EGREP"; then 
    43914189  ac_path_EGREP_found=false 
    4392 # Loop through the user's path and test for each of PROGNAME-LIST 
    4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4190  # Loop through the user's path and test for each of PROGNAME-LIST 
     4191  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    43944192for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 
    43954193do 
    43964194  IFS=$as_save_IFS 
    43974195  test -z "$as_dir" && as_dir=. 
    4398   for ac_prog in egrep; do 
    4399   for ac_exec_ext in '' $ac_executable_extensions; do 
    4400     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
    4401     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
    4402     # Check for GNU ac_path_EGREP and select it if it is found. 
     4196    for ac_prog in egrep; do 
     4197    for ac_exec_ext in '' $ac_executable_extensions; do 
     4198      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 
     4199      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 
     4200# Check for GNU ac_path_EGREP and select it if it is found. 
    44034201  # Check for GNU $ac_path_EGREP 
    44044202case `"$ac_path_EGREP" --version 2>&1` in 
     
    44074205*) 
    44084206  ac_count=0 
    4409   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 
     4207  $as_echo_n 0123456789 >"conftest.in" 
    44104208  while : 
    44114209  do 
     
    44134211    mv "conftest.tmp" "conftest.in" 
    44144212    cp "conftest.in" "conftest.nl" 
    4415     echo 'EGREP' >> "conftest.nl" 
     4213    $as_echo 'EGREP' >> "conftest.nl" 
    44164214    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 
    44174215    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 
    4418     ac_count=`expr $ac_count + 1` 
     4216    as_fn_arith $ac_count + 1 && ac_count=$as_val 
    44194217    if test $ac_count -gt ${ac_path_EGREP_max-0}; then 
    44204218      # Best one so far, save it but keep looking for a better one 
     
    44284226esac 
    44294227 
    4430  
    4431     $ac_path_EGREP_found && break 3 
     4228      $ac_path_EGREP_found && break 3 
     4229    done 
    44324230  done 
    4433 done 
    4434  
    4435 done 
     4231  done 
    44364232IFS=$as_save_IFS 
    4437  
    4438  
    4439 fi 
    4440  
    4441 EGREP="$ac_cv_path_EGREP" 
    4442 if test -z "$EGREP"; then 
    4443   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 
    4444 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 
    4445    { (exit 1); exit 1; }; } 
    4446 fi 
    4447  
     4233  if test -z "$ac_cv_path_EGREP"; then 
     4234    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 
     4235  fi 
    44484236else 
    44494237  ac_cv_path_EGREP=$EGREP 
    44504238fi 
    44514239 
    4452  
    44534240   fi 
    44544241fi 
    4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 
    4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 
     4242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 
     4243$as_echo "$ac_cv_path_EGREP" >&6; } 
    44574244 EGREP="$ac_cv_path_EGREP" 
    44584245 
    44594246 
    4460 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    4461 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 
    4462 if test "${ac_cv_header_stdc+set}" = set; then 
    4463   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4464 else 
    4465   cat >conftest.$ac_ext <<_ACEOF 
    4466 /* confdefs.h.  */ 
    4467 _ACEOF 
    4468 cat confdefs.h >>conftest.$ac_ext 
    4469 cat >>conftest.$ac_ext <<_ACEOF 
     4247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 
     4248$as_echo_n "checking for ANSI C header files... " >&6; } 
     4249if test "${ac_cv_header_stdc+set}" = set; then : 
     4250  $as_echo_n "(cached) " >&6 
     4251else 
     4252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44704253/* end confdefs.h.  */ 
    44714254#include <stdlib.h> 
     
    44824265} 
    44834266_ACEOF 
    4484 rm -f conftest.$ac_objext 
    4485 if { (ac_try="$ac_compile" 
    4486 case "(($ac_try" in 
    4487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4488   *) ac_try_echo=$ac_try;; 
    4489 esac 
    4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4491   (eval "$ac_compile") 2>conftest.er1 
    4492   ac_status=$? 
    4493   grep -v '^ *+' conftest.er1 >conftest.err 
    4494   rm -f conftest.er1 
    4495   cat conftest.err >&5 
    4496   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4497   (exit $ac_status); } && { 
    4498          test -z "$ac_c_werror_flag" || 
    4499          test ! -s conftest.err 
    4500        } && test -s conftest.$ac_objext; then 
     4267if ac_fn_c_try_compile "$LINENO"; then : 
    45014268  ac_cv_header_stdc=yes 
    45024269else 
    4503   echo "$as_me: failed program was:" >&5 
    4504 sed 's/^/| /' conftest.$ac_ext >&5 
    4505  
    4506         ac_cv_header_stdc=no 
    4507 fi 
    4508  
     4270  ac_cv_header_stdc=no 
     4271fi 
    45094272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    45104273 
    45114274if test $ac_cv_header_stdc = yes; then 
    45124275  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    4513   cat >conftest.$ac_ext <<_ACEOF 
    4514 /* confdefs.h.  */ 
    4515 _ACEOF 
    4516 cat confdefs.h >>conftest.$ac_ext 
    4517 cat >>conftest.$ac_ext <<_ACEOF 
     4276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45184277/* end confdefs.h.  */ 
    45194278#include <string.h> 
     
    45214280_ACEOF 
    45224281if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4523   $EGREP "memchr" >/dev/null 2>&1; then 
    4524   : 
     4282  $EGREP "memchr" >/dev/null 2>&1; then : 
     4283 
    45254284else 
    45264285  ac_cv_header_stdc=no 
    45274286fi 
    4528 rm -f -r conftest* 
     4287rm -f conftest* 
    45294288 
    45304289fi 
     
    45324291if test $ac_cv_header_stdc = yes; then 
    45334292  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    4534   cat >conftest.$ac_ext <<_ACEOF 
    4535 /* confdefs.h.  */ 
    4536 _ACEOF 
    4537 cat confdefs.h >>conftest.$ac_ext 
    4538 cat >>conftest.$ac_ext <<_ACEOF 
     4293  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45394294/* end confdefs.h.  */ 
    45404295#include <stdlib.h> 
     
    45424297_ACEOF 
    45434298if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    4544   $EGREP "free" >/dev/null 2>&1; then 
    4545   : 
     4299  $EGREP "free" >/dev/null 2>&1; then : 
     4300 
    45464301else 
    45474302  ac_cv_header_stdc=no 
    45484303fi 
    4549 rm -f -r conftest* 
     4304rm -f conftest* 
    45504305 
    45514306fi 
     
    45534308if test $ac_cv_header_stdc = yes; then 
    45544309  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    4555   if test "$cross_compiling" = yes; then 
     4310  if test "$cross_compiling" = yes; then : 
    45564311  : 
    45574312else 
    4558   cat >conftest.$ac_ext <<_ACEOF 
    4559 /* confdefs.h.  */ 
    4560 _ACEOF 
    4561 cat confdefs.h >>conftest.$ac_ext 
    4562 cat >>conftest.$ac_ext <<_ACEOF 
     4313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    45634314/* end confdefs.h.  */ 
    45644315#include <ctype.h> 
     
    45874338} 
    45884339_ACEOF 
    4589 rm -f conftest$ac_exeext 
    4590 if { (ac_try="$ac_link" 
    4591 case "(($ac_try" in 
    4592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4593   *) ac_try_echo=$ac_try;; 
    4594 esac 
    4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4596   (eval "$ac_link") 2>&5 
    4597   ac_status=$? 
    4598   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4599   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4600   { (case "(($ac_try" in 
    4601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4602   *) ac_try_echo=$ac_try;; 
    4603 esac 
    4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4605   (eval "$ac_try") 2>&5 
    4606   ac_status=$? 
    4607   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4608   (exit $ac_status); }; }; then 
    4609   : 
    4610 else 
    4611   echo "$as_me: program exited with status $ac_status" >&5 
    4612 echo "$as_me: failed program was:" >&5 
    4613 sed 's/^/| /' conftest.$ac_ext >&5 
    4614  
    4615 ( exit $ac_status ) 
    4616 ac_cv_header_stdc=no 
    4617 fi 
    4618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4619 fi 
    4620  
    4621  
    4622 fi 
    4623 fi 
    4624 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 
     4340if ac_fn_c_try_run "$LINENO"; then : 
     4341 
     4342else 
     4343  ac_cv_header_stdc=no 
     4344fi 
     4345rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4346  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4347fi 
     4348 
     4349fi 
     4350fi 
     4351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 
     4352$as_echo "$ac_cv_header_stdc" >&6; } 
    46264353if test $ac_cv_header_stdc = yes; then 
    46274354 
    4628 cat >>confdefs.h <<\_ACEOF 
    4629 #define STDC_HEADERS 1 
    4630 _ACEOF 
     4355$as_echo "#define STDC_HEADERS 1" >>confdefs.h 
    46314356 
    46324357fi 
    46334358 
    46344359# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    4635  
    4636  
    4637  
    4638  
    4639  
    4640  
    4641  
    4642  
    4643  
    46444360for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    46454361                  inttypes.h stdint.h unistd.h 
    4646 do 
    4647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5 
    4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 
    4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 
    4651   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4652 else 
    4653   cat >conftest.$ac_ext <<_ACEOF 
    4654 /* confdefs.h.  */ 
    4655 _ACEOF 
    4656 cat confdefs.h >>conftest.$ac_ext 
    4657 cat >>conftest.$ac_ext <<_ACEOF 
     4362do : 
     4363  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4364ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 
     4365" 
     4366eval as_val=\$$as_ac_Header 
     4367   if test "x$as_val" = x""yes; then : 
     4368  cat >>confdefs.h <<_ACEOF 
     4369#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4370_ACEOF 
     4371 
     4372fi 
     4373 
     4374done 
     4375 
     4376 
     4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 
     4378$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 
     4379if test "${ac_cv_c_bigendian+set}" = set; then : 
     4380  $as_echo_n "(cached) " >&6 
     4381else 
     4382  ac_cv_c_bigendian=unknown 
     4383    # See if we're dealing with a universal compiler. 
     4384    cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    46584385/* end confdefs.h.  */ 
    4659 $ac_includes_default 
    4660  
    4661 #include <$ac_header> 
    4662 _ACEOF 
    4663 rm -f conftest.$ac_objext 
    4664 if { (ac_try="$ac_compile" 
    4665 case "(($ac_try" in 
    4666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4667   *) ac_try_echo=$ac_try;; 
    4668 esac 
    4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4670   (eval "$ac_compile") 2>conftest.er1 
    4671   ac_status=$? 
    4672   grep -v '^ *+' conftest.er1 >conftest.err 
    4673   rm -f conftest.er1 
    4674   cat conftest.err >&5 
    4675   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4676   (exit $ac_status); } && { 
    4677          test -z "$ac_c_werror_flag" || 
    4678          test ! -s conftest.err 
    4679        } && test -s conftest.$ac_objext; then 
    4680   eval "$as_ac_Header=yes" 
    4681 else 
    4682   echo "$as_me: failed program was:" >&5 
    4683 sed 's/^/| /' conftest.$ac_ext >&5 
    4684  
    4685         eval "$as_ac_Header=no" 
    4686 fi 
    4687  
     4386#ifndef __APPLE_CC__ 
     4387               not a universal capable compiler 
     4388             #endif 
     4389             typedef int dummy; 
     4390 
     4391_ACEOF 
     4392if ac_fn_c_try_compile "$LINENO"; then : 
     4393 
     4394        # Check for potential -arch flags.  It is not universal unless 
     4395        # there are at least two -arch flags with different values. 
     4396        ac_arch= 
     4397        ac_prev= 
     4398        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 
     4399         if test -n "$ac_prev"; then 
     4400           case $ac_word in 
     4401             i?86 | x86_64 | ppc | ppc64) 
     4402               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 
     4403                 ac_arch=$ac_word 
     4404               else 
     4405                 ac_cv_c_bigendian=universal 
     4406                 break 
     4407               fi 
     4408               ;; 
     4409           esac 
     4410           ac_prev= 
     4411         elif test "x$ac_word" = "x-arch"; then 
     4412           ac_prev=arch 
     4413         fi 
     4414       done 
     4415fi 
    46884416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4689 fi 
    4690 ac_res=`eval echo '${'$as_ac_Header'}'` 
    4691                { echo "$as_me:$LINENO: result: $ac_res" >&5 
    4692 echo "${ECHO_T}$ac_res" >&6; } 
    4693 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    4694   cat >>confdefs.h <<_ACEOF 
    4695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    4696 _ACEOF 
    4697  
    4698 fi 
    4699  
    4700 done 
    4701  
    4702  
    4703 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    4704 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 
    4705 if test "${ac_cv_c_bigendian+set}" = set; then 
    4706   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4707 else 
    4708   # See if sys/param.h defines the BYTE_ORDER macro. 
    4709 cat >conftest.$ac_ext <<_ACEOF 
    4710 /* confdefs.h.  */ 
    4711 _ACEOF 
    4712 cat confdefs.h >>conftest.$ac_ext 
    4713 cat >>conftest.$ac_ext <<_ACEOF 
     4417    if test $ac_cv_c_bigendian = unknown; then 
     4418      # See if sys/param.h defines the BYTE_ORDER macro. 
     4419      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47144420/* end confdefs.h.  */ 
    47154421#include <sys/types.h> 
    4716 #include <sys/param.h> 
     4422             #include <sys/param.h> 
    47174423 
    47184424int 
    47194425main () 
    47204426{ 
    4721 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 
    4722         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 
    4723  bogus endian macros 
    4724 #endif 
     4427#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 
     4428                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 
     4429                     && LITTLE_ENDIAN) 
     4430              bogus endian macros 
     4431             #endif 
    47254432 
    47264433  ; 
     
    47284435} 
    47294436_ACEOF 
    4730 rm -f conftest.$ac_objext 
    4731 if { (ac_try="$ac_compile" 
    4732 case "(($ac_try" in 
    4733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4734   *) ac_try_echo=$ac_try;; 
    4735 esac 
    4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4737   (eval "$ac_compile") 2>conftest.er1 
    4738   ac_status=$? 
    4739   grep -v '^ *+' conftest.er1 >conftest.err 
    4740   rm -f conftest.er1 
    4741   cat conftest.err >&5 
    4742   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4743   (exit $ac_status); } && { 
    4744          test -z "$ac_c_werror_flag" || 
    4745          test ! -s conftest.err 
    4746        } && test -s conftest.$ac_objext; then 
     4437if ac_fn_c_try_compile "$LINENO"; then : 
    47474438  # It does; now see whether it defined to BIG_ENDIAN or not. 
    4748 cat >conftest.$ac_ext <<_ACEOF 
    4749 /* confdefs.h.  */ 
    4750 _ACEOF 
    4751 cat confdefs.h >>conftest.$ac_ext 
    4752 cat >>conftest.$ac_ext <<_ACEOF 
     4439         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    47534440/* end confdefs.h.  */ 
    47544441#include <sys/types.h> 
    4755 #include <sys/param.h> 
     4442                #include <sys/param.h> 
    47564443 
    47574444int 
     
    47594446{ 
    47604447#if BYTE_ORDER != BIG_ENDIAN 
    4761  not big endian 
    4762 #endif 
     4448                not big endian 
     4449                #endif 
    47634450 
    47644451  ; 
     
    47664453} 
    47674454_ACEOF 
    4768 rm -f conftest.$ac_objext 
    4769 if { (ac_try="$ac_compile" 
    4770 case "(($ac_try" in 
    4771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4772   *) ac_try_echo=$ac_try;; 
    4773 esac 
    4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4775   (eval "$ac_compile") 2>conftest.er1 
    4776   ac_status=$? 
    4777   grep -v '^ *+' conftest.er1 >conftest.err 
    4778   rm -f conftest.er1 
    4779   cat conftest.err >&5 
    4780   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4781   (exit $ac_status); } && { 
    4782          test -z "$ac_c_werror_flag" || 
    4783          test ! -s conftest.err 
    4784        } && test -s conftest.$ac_objext; then 
     4455if ac_fn_c_try_compile "$LINENO"; then : 
    47854456  ac_cv_c_bigendian=yes 
    47864457else 
    4787   echo "$as_me: failed program was:" >&5 
    4788 sed 's/^/| /' conftest.$ac_ext >&5 
    4789  
    4790         ac_cv_c_bigendian=no 
    4791 fi 
    4792  
     4458  ac_cv_c_bigendian=no 
     4459fi 
    47934460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4794 else 
    4795   echo "$as_me: failed program was:" >&5 
    4796 sed 's/^/| /' conftest.$ac_ext >&5 
    4797  
    4798         # It does not; compile a test program. 
    4799 if test "$cross_compiling" = yes; then 
    4800   # try to guess the endianness by grepping values into an object file 
    4801   ac_cv_c_bigendian=unknown 
    4802   cat >conftest.$ac_ext <<_ACEOF 
    4803 /* confdefs.h.  */ 
    4804 _ACEOF 
    4805 cat confdefs.h >>conftest.$ac_ext 
    4806 cat >>conftest.$ac_ext <<_ACEOF 
     4461fi 
     4462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4463    fi 
     4464    if test $ac_cv_c_bigendian = unknown; then 
     4465      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 
     4466      cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48074467/* end confdefs.h.  */ 
    4808 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    4809 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    4810 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    4811 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    4812 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    4813 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     4468#include <limits.h> 
     4469 
    48144470int 
    48154471main () 
    48164472{ 
    4817  _ascii (); _ebcdic (); 
     4473#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 
     4474              bogus endian macros 
     4475             #endif 
     4476 
    48184477  ; 
    48194478  return 0; 
    48204479} 
    48214480_ACEOF 
    4822 rm -f conftest.$ac_objext 
    4823 if { (ac_try="$ac_compile" 
    4824 case "(($ac_try" in 
    4825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4826   *) ac_try_echo=$ac_try;; 
    4827 esac 
    4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4829   (eval "$ac_compile") 2>conftest.er1 
    4830   ac_status=$? 
    4831   grep -v '^ *+' conftest.er1 >conftest.err 
    4832   rm -f conftest.er1 
    4833   cat conftest.err >&5 
    4834   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4835   (exit $ac_status); } && { 
    4836          test -z "$ac_c_werror_flag" || 
    4837          test ! -s conftest.err 
    4838        } && test -s conftest.$ac_objext; then 
    4839   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     4481if ac_fn_c_try_compile "$LINENO"; then : 
     4482  # It does; now see whether it defined to _BIG_ENDIAN or not. 
     4483         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4484/* end confdefs.h.  */ 
     4485#include <limits.h> 
     4486 
     4487int 
     4488main () 
     4489{ 
     4490#ifndef _BIG_ENDIAN 
     4491                 not big endian 
     4492                #endif 
     4493 
     4494  ; 
     4495  return 0; 
     4496} 
     4497_ACEOF 
     4498if ac_fn_c_try_compile "$LINENO"; then : 
    48404499  ac_cv_c_bigendian=yes 
    4841 fi 
    4842 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    4843   if test "$ac_cv_c_bigendian" = unknown; then 
    4844     ac_cv_c_bigendian=no 
    4845   else 
    4846     # finding both strings is unlikely to happen, but who knows? 
    4847     ac_cv_c_bigendian=unknown 
    4848   fi 
    4849 fi 
    4850 else 
    4851   echo "$as_me: failed program was:" >&5 
    4852 sed 's/^/| /' conftest.$ac_ext >&5 
    4853  
    4854  
    4855 fi 
    4856  
     4500else 
     4501  ac_cv_c_bigendian=no 
     4502fi 
    48574503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4858 else 
    4859   cat >conftest.$ac_ext <<_ACEOF 
    4860 /* confdefs.h.  */ 
    4861 _ACEOF 
    4862 cat confdefs.h >>conftest.$ac_ext 
    4863 cat >>conftest.$ac_ext <<_ACEOF 
     4504fi 
     4505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4506    fi 
     4507    if test $ac_cv_c_bigendian = unknown; then 
     4508      # Compile a test program. 
     4509      if test "$cross_compiling" = yes; then : 
     4510  # Try to guess by grepping values from an object file. 
     4511         cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     4512/* end confdefs.h.  */ 
     4513short int ascii_mm[] = 
     4514                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     4515                short int ascii_ii[] = 
     4516                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     4517                int use_ascii (int i) { 
     4518                  return ascii_mm[i] + ascii_ii[i]; 
     4519                } 
     4520                short int ebcdic_ii[] = 
     4521                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     4522                short int ebcdic_mm[] = 
     4523                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     4524                int use_ebcdic (int i) { 
     4525                  return ebcdic_mm[i] + ebcdic_ii[i]; 
     4526                } 
     4527                extern int foo; 
     4528 
     4529int 
     4530main () 
     4531{ 
     4532return use_ascii (foo) == use_ebcdic (foo); 
     4533  ; 
     4534  return 0; 
     4535} 
     4536_ACEOF 
     4537if ac_fn_c_try_compile "$LINENO"; then : 
     4538  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 
     4539              ac_cv_c_bigendian=yes 
     4540            fi 
     4541            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     4542              if test "$ac_cv_c_bigendian" = unknown; then 
     4543                ac_cv_c_bigendian=no 
     4544              else 
     4545                # finding both strings is unlikely to happen, but who knows? 
     4546                ac_cv_c_bigendian=unknown 
     4547              fi 
     4548            fi 
     4549fi 
     4550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     4551else 
     4552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    48644553/* end confdefs.h.  */ 
    48654554$ac_includes_default 
     
    48684557{ 
    48694558 
    4870   /* Are we little or big endian?  From Harbison&Steele.  */ 
    4871   union 
    4872   { 
    4873     long int l; 
    4874     char c[sizeof (long int)]; 
    4875   } u; 
    4876   u.l = 1; 
    4877   return u.c[sizeof (long int) - 1] == 1; 
     4559             /* Are we little or big endian?  From Harbison&Steele.  */ 
     4560             union 
     4561             { 
     4562               long int l; 
     4563               char c[sizeof (long int)]; 
     4564             } u; 
     4565             u.l = 1; 
     4566             return u.c[sizeof (long int) - 1] == 1; 
    48784567 
    48794568  ; 
     
    48814570} 
    48824571_ACEOF 
    4883 rm -f conftest$ac_exeext 
    4884 if { (ac_try="$ac_link" 
    4885 case "(($ac_try" in 
    4886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4887   *) ac_try_echo=$ac_try;; 
    4888 esac 
    4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4890   (eval "$ac_link") 2>&5 
    4891   ac_status=$? 
    4892   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    4894   { (case "(($ac_try" in 
    4895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    4896   *) ac_try_echo=$ac_try;; 
    4897 esac 
    4898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    4899   (eval "$ac_try") 2>&5 
    4900   ac_status=$? 
    4901   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4902   (exit $ac_status); }; }; then 
     4572if ac_fn_c_try_run "$LINENO"; then : 
    49034573  ac_cv_c_bigendian=no 
    49044574else 
    4905   echo "$as_me: program exited with status $ac_status" >&5 
    4906 echo "$as_me: failed program was:" >&5 
    4907 sed 's/^/| /' conftest.$ac_ext >&5 
    4908  
    4909 ( exit $ac_status ) 
    4910 ac_cv_c_bigendian=yes 
    4911 fi 
    4912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    4913 fi 
    4914  
    4915  
    4916 fi 
    4917  
    4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    4919 fi 
    4920 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    4921 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 
    4922 case $ac_cv_c_bigendian in 
    4923   yes) 
    4924  
    4925 cat >>confdefs.h <<\_ACEOF 
    4926 #define WORDS_BIGENDIAN 1 
    4927 _ACEOF 
    4928  ;; 
    4929   no) 
    4930      ;; 
    4931   *) 
    4932     { { echo "$as_me:$LINENO: error: unknown endianness 
    4933 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    4934 echo "$as_me: error: unknown endianness 
    4935 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    4936    { (exit 1); exit 1; }; } ;; 
    4937 esac 
     4575  ac_cv_c_bigendian=yes 
     4576fi 
     4577rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 
     4578  conftest.$ac_objext conftest.beam conftest.$ac_ext 
     4579fi 
     4580 
     4581    fi 
     4582fi 
     4583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 
     4584$as_echo "$ac_cv_c_bigendian" >&6; } 
     4585 case $ac_cv_c_bigendian in #( 
     4586   yes) 
     4587     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 
     4588;; #( 
     4589   no) 
     4590      ;; #( 
     4591   universal) 
     4592 
     4593$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 
     4594 
     4595     ;; #( 
     4596   *) 
     4597     as_fn_error "unknown endianness 
     4598 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     4599 esac 
    49384600 
    49394601 
     
    49464608case $target in 
    49474609    *mingw* | *cygw* | *win32* | *w32* ) 
    4948         cat >>confdefs.h <<\_ACEOF 
    4949 #define PJ_WIN32 1 
    4950 _ACEOF 
    4951  
    4952         cat >>confdefs.h <<\_ACEOF 
    4953 #define PJ_WIN32_WINNT 0x0400 
    4954 _ACEOF 
    4955  
    4956         cat >>confdefs.h <<\_ACEOF 
    4957 #define WIN32_LEAN_AND_MEAN 1 
    4958 _ACEOF 
     4610        $as_echo "#define PJ_WIN32 1" >>confdefs.h 
     4611 
     4612        $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 
     4613 
     4614        $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 
    49594615 
    49604616        ;; 
    49614617    *darwin*) 
    4962         cat >>confdefs.h <<\_ACEOF 
    4963 #define PJ_DARWINOS 1 
    4964 _ACEOF 
     4618        $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 
    49654619 
    49664620        ;; 
    49674621    *linux*) 
    4968         cat >>confdefs.h <<\_ACEOF 
    4969 #define PJ_LINUX 1 
    4970 _ACEOF 
     4622        $as_echo "#define PJ_LINUX 1" >>confdefs.h 
    49714623 
    49724624        ;; 
    49734625    *rtems*) 
    4974         cat >>confdefs.h <<\_ACEOF 
    4975 #define PJ_RTEMS 1 
    4976 _ACEOF 
     4626        $as_echo "#define PJ_RTEMS 1" >>confdefs.h 
    49774627 
    49784628        ;; 
    49794629    *sunos* | *solaris* ) 
    4980         cat >>confdefs.h <<\_ACEOF 
    4981 #define PJ_SUNOS 1 
    4982 _ACEOF 
     4630        $as_echo "#define PJ_SUNOS 1" >>confdefs.h 
    49834631 
    49844632        ;; 
     
    49914639 
    49924640# Check whether --enable-floating-point was given. 
    4993 if test "${enable_floating_point+set}" = set; then 
     4641if test "${enable_floating_point+set}" = set; then : 
    49944642  enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 
    4995                 cat >>confdefs.h <<\_ACEOF 
    4996 #define PJ_HAS_FLOATING_POINT 0 
    4997 _ACEOF 
    4998  
    4999                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    5000 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 
     4643                $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 
     4644 
     4645                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 
     4646$as_echo "Checking if floating point is disabled... yes" >&6; } 
    50014647               fi 
    50024648else 
    50034649 
    5004                 cat >>confdefs.h <<\_ACEOF 
    5005 #define PJ_HAS_FLOATING_POINT 1 
    5006 _ACEOF 
    5007  
    5008                 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    5009 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 
    5010  
    5011 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    5012 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 
    5013 if test "${ac_cv_lib_m_fmod+set}" = set; then 
    5014   echo $ECHO_N "(cached) $ECHO_C" >&6 
     4650                $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 
     4651 
     4652                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 
     4653$as_echo "Checking if floating point is disabled... no" >&6; } 
     4654                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 
     4655$as_echo_n "checking for fmod in -lm... " >&6; } 
     4656if test "${ac_cv_lib_m_fmod+set}" = set; then : 
     4657  $as_echo_n "(cached) " >&6 
    50154658else 
    50164659  ac_check_lib_save_LIBS=$LIBS 
    50174660LIBS="-lm  $LIBS" 
    5018 cat >conftest.$ac_ext <<_ACEOF 
    5019 /* confdefs.h.  */ 
    5020 _ACEOF 
    5021 cat confdefs.h >>conftest.$ac_ext 
    5022 cat >>conftest.$ac_ext <<_ACEOF 
     4661cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    50234662/* end confdefs.h.  */ 
    50244663 
     
    50384677} 
    50394678_ACEOF 
    5040 rm -f conftest.$ac_objext conftest$ac_exeext 
    5041 if { (ac_try="$ac_link" 
    5042 case "(($ac_try" in 
    5043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5044   *) ac_try_echo=$ac_try;; 
    5045 esac 
    5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5047   (eval "$ac_link") 2>conftest.er1 
    5048   ac_status=$? 
    5049   grep -v '^ *+' conftest.er1 >conftest.err 
    5050   rm -f conftest.er1 
    5051   cat conftest.err >&5 
    5052   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5053   (exit $ac_status); } && { 
    5054          test -z "$ac_c_werror_flag" || 
    5055          test ! -s conftest.err 
    5056        } && test -s conftest$ac_exeext && 
    5057        $as_test_x conftest$ac_exeext; then 
     4679if ac_fn_c_try_link "$LINENO"; then : 
    50584680  ac_cv_lib_m_fmod=yes 
    50594681else 
    5060   echo "$as_me: failed program was:" >&5 
    5061 sed 's/^/| /' conftest.$ac_ext >&5 
    5062  
    5063         ac_cv_lib_m_fmod=no 
    5064 fi 
    5065  
    5066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 
    5067       conftest$ac_exeext conftest.$ac_ext 
     4682  ac_cv_lib_m_fmod=no 
     4683fi 
     4684rm -f core conftest.err conftest.$ac_objext \ 
     4685    conftest$ac_exeext conftest.$ac_ext 
    50684686LIBS=$ac_check_lib_save_LIBS 
    50694687fi 
    5070 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    5071 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 
    5072 if test $ac_cv_lib_m_fmod = yes; then 
     4688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 
     4689$as_echo "$ac_cv_lib_m_fmod" >&6; } 
     4690if test "x$ac_cv_lib_m_fmod" = x""yes; then : 
    50734691  cat >>confdefs.h <<_ACEOF 
    50744692#define HAVE_LIBM 1 
     
    50844702 
    50854703 
    5086 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5087   { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5088 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5089 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5090   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5091 fi 
    5092 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5093 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5094 else 
    5095   # Is the header compilable? 
    5096 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    5097 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 
    5098 cat >conftest.$ac_ext <<_ACEOF 
    5099 /* confdefs.h.  */ 
    5100 _ACEOF 
    5101 cat confdefs.h >>conftest.$ac_ext 
    5102 cat >>conftest.$ac_ext <<_ACEOF 
    5103 /* end confdefs.h.  */ 
    5104 $ac_includes_default 
    5105 #include <arpa/inet.h> 
    5106 _ACEOF 
    5107 rm -f conftest.$ac_objext 
    5108 if { (ac_try="$ac_compile" 
    5109 case "(($ac_try" in 
    5110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5111   *) ac_try_echo=$ac_try;; 
    5112 esac 
    5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5114   (eval "$ac_compile") 2>conftest.er1 
    5115   ac_status=$? 
    5116   grep -v '^ *+' conftest.er1 >conftest.err 
    5117   rm -f conftest.er1 
    5118   cat conftest.err >&5 
    5119   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5120   (exit $ac_status); } && { 
    5121          test -z "$ac_c_werror_flag" || 
    5122          test ! -s conftest.err 
    5123        } && test -s conftest.$ac_objext; then 
    5124   ac_header_compiler=yes 
    5125 else 
    5126   echo "$as_me: failed program was:" >&5 
    5127 sed 's/^/| /' conftest.$ac_ext >&5 
    5128  
    5129         ac_header_compiler=no 
    5130 fi 
    5131  
    5132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5133 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5134 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5135  
    5136 # Is the header present? 
    5137 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    5138 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 
    5139 cat >conftest.$ac_ext <<_ACEOF 
    5140 /* confdefs.h.  */ 
    5141 _ACEOF 
    5142 cat confdefs.h >>conftest.$ac_ext 
    5143 cat >>conftest.$ac_ext <<_ACEOF 
    5144 /* end confdefs.h.  */ 
    5145 #include <arpa/inet.h> 
    5146 _ACEOF 
    5147 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5148 case "(($ac_try" in 
    5149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5150   *) ac_try_echo=$ac_try;; 
    5151 esac 
    5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5153   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5154   ac_status=$? 
    5155   grep -v '^ *+' conftest.er1 >conftest.err 
    5156   rm -f conftest.er1 
    5157   cat conftest.err >&5 
    5158   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5159   (exit $ac_status); } >/dev/null && { 
    5160          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5161          test ! -s conftest.err 
    5162        }; then 
    5163   ac_header_preproc=yes 
    5164 else 
    5165   echo "$as_me: failed program was:" >&5 
    5166 sed 's/^/| /' conftest.$ac_ext >&5 
    5167  
    5168   ac_header_preproc=no 
    5169 fi 
    5170  
    5171 rm -f conftest.err conftest.$ac_ext 
    5172 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5173 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5174  
    5175 # So?  What about this header? 
    5176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5177   yes:no: ) 
    5178     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5179 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5180     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    5181 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    5182     ac_header_preproc=yes 
    5183     ;; 
    5184   no:yes:* ) 
    5185     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    5186 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    5187     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    5188 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    5189     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    5190 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    5191     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5192 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5193     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    5194 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    5195     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    5196 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    5197  
    5198     ;; 
    5199 esac 
    5200 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    5201 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 
    5202 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    5203   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5204 else 
    5205   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    5206 fi 
    5207 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    5208 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 
    5209  
    5210 fi 
    5211 if test $ac_cv_header_arpa_inet_h = yes; then 
    5212   cat >>confdefs.h <<\_ACEOF 
    5213 #define PJ_HAS_ARPA_INET_H 1 
    5214 _ACEOF 
    5215  
    5216 fi 
    5217  
    5218  
    5219 if test "${ac_cv_header_assert_h+set}" = set; then 
    5220   { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5221 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5222 if test "${ac_cv_header_assert_h+set}" = set; then 
    5223   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5224 fi 
    5225 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5226 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5227 else 
    5228   # Is the header compilable? 
    5229 { echo "$as_me:$LINENO: checking assert.h usability" >&5 
    5230 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 
    5231 cat >conftest.$ac_ext <<_ACEOF 
    5232 /* confdefs.h.  */ 
    5233 _ACEOF 
    5234 cat confdefs.h >>conftest.$ac_ext 
    5235 cat >>conftest.$ac_ext <<_ACEOF 
    5236 /* end confdefs.h.  */ 
    5237 $ac_includes_default 
    5238 #include <assert.h> 
    5239 _ACEOF 
    5240 rm -f conftest.$ac_objext 
    5241 if { (ac_try="$ac_compile" 
    5242 case "(($ac_try" in 
    5243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5244   *) ac_try_echo=$ac_try;; 
    5245 esac 
    5246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5247   (eval "$ac_compile") 2>conftest.er1 
    5248   ac_status=$? 
    5249   grep -v '^ *+' conftest.er1 >conftest.err 
    5250   rm -f conftest.er1 
    5251   cat conftest.err >&5 
    5252   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5253   (exit $ac_status); } && { 
    5254          test -z "$ac_c_werror_flag" || 
    5255          test ! -s conftest.err 
    5256        } && test -s conftest.$ac_objext; then 
    5257   ac_header_compiler=yes 
    5258 else 
    5259   echo "$as_me: failed program was:" >&5 
    5260 sed 's/^/| /' conftest.$ac_ext >&5 
    5261  
    5262         ac_header_compiler=no 
    5263 fi 
    5264  
    5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5266 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5267 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5268  
    5269 # Is the header present? 
    5270 { echo "$as_me:$LINENO: checking assert.h presence" >&5 
    5271 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 
    5272 cat >conftest.$ac_ext <<_ACEOF 
    5273 /* confdefs.h.  */ 
    5274 _ACEOF 
    5275 cat confdefs.h >>conftest.$ac_ext 
    5276 cat >>conftest.$ac_ext <<_ACEOF 
    5277 /* end confdefs.h.  */ 
    5278 #include <assert.h> 
    5279 _ACEOF 
    5280 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5281 case "(($ac_try" in 
    5282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5283   *) ac_try_echo=$ac_try;; 
    5284 esac 
    5285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5286   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5287   ac_status=$? 
    5288   grep -v '^ *+' conftest.er1 >conftest.err 
    5289   rm -f conftest.er1 
    5290   cat conftest.err >&5 
    5291   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5292   (exit $ac_status); } >/dev/null && { 
    5293          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5294          test ! -s conftest.err 
    5295        }; then 
    5296   ac_header_preproc=yes 
    5297 else 
    5298   echo "$as_me: failed program was:" >&5 
    5299 sed 's/^/| /' conftest.$ac_ext >&5 
    5300  
    5301   ac_header_preproc=no 
    5302 fi 
    5303  
    5304 rm -f conftest.err conftest.$ac_ext 
    5305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5306 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5307  
    5308 # So?  What about this header? 
    5309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5310   yes:no: ) 
    5311     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5312 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5313     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    5314 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    5315     ac_header_preproc=yes 
    5316     ;; 
    5317   no:yes:* ) 
    5318     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    5319 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    5320     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    5321 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    5322     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    5323 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    5324     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5325 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5326     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    5327 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    5328     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    5329 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    5330  
    5331     ;; 
    5332 esac 
    5333 { echo "$as_me:$LINENO: checking for assert.h" >&5 
    5334 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 
    5335 if test "${ac_cv_header_assert_h+set}" = set; then 
    5336   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5337 else 
    5338   ac_cv_header_assert_h=$ac_header_preproc 
    5339 fi 
    5340 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    5341 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 
    5342  
    5343 fi 
    5344 if test $ac_cv_header_assert_h = yes; then 
    5345   cat >>confdefs.h <<\_ACEOF 
    5346 #define PJ_HAS_ASSERT_H 1 
    5347 _ACEOF 
    5348  
    5349 fi 
    5350  
    5351  
    5352 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5353   { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5354 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5355 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5356   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5357 fi 
    5358 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5359 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5360 else 
    5361   # Is the header compilable? 
    5362 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    5363 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 
    5364 cat >conftest.$ac_ext <<_ACEOF 
    5365 /* confdefs.h.  */ 
    5366 _ACEOF 
    5367 cat confdefs.h >>conftest.$ac_ext 
    5368 cat >>conftest.$ac_ext <<_ACEOF 
    5369 /* end confdefs.h.  */ 
    5370 $ac_includes_default 
    5371 #include <ctype.h> 
    5372 _ACEOF 
    5373 rm -f conftest.$ac_objext 
    5374 if { (ac_try="$ac_compile" 
    5375 case "(($ac_try" in 
    5376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5377   *) ac_try_echo=$ac_try;; 
    5378 esac 
    5379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5380   (eval "$ac_compile") 2>conftest.er1 
    5381   ac_status=$? 
    5382   grep -v '^ *+' conftest.er1 >conftest.err 
    5383   rm -f conftest.er1 
    5384   cat conftest.err >&5 
    5385   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5386   (exit $ac_status); } && { 
    5387          test -z "$ac_c_werror_flag" || 
    5388          test ! -s conftest.err 
    5389        } && test -s conftest.$ac_objext; then 
    5390   ac_header_compiler=yes 
    5391 else 
    5392   echo "$as_me: failed program was:" >&5 
    5393 sed 's/^/| /' conftest.$ac_ext >&5 
    5394  
    5395         ac_header_compiler=no 
    5396 fi 
    5397  
    5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
    5399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5400 echo "${ECHO_T}$ac_header_compiler" >&6; } 
    5401  
    5402 # Is the header present? 
    5403 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    5404 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 
    5405 cat >conftest.$ac_ext <<_ACEOF 
    5406 /* confdefs.h.  */ 
    5407 _ACEOF 
    5408 cat confdefs.h >>conftest.$ac_ext 
    5409 cat >>conftest.$ac_ext <<_ACEOF 
    5410 /* end confdefs.h.  */ 
    5411 #include <ctype.h> 
    5412 _ACEOF 
    5413 if { (ac_try="$ac_cpp conftest.$ac_ext" 
    5414 case "(($ac_try" in 
    5415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5416   *) ac_try_echo=$ac_try;; 
    5417 esac 
    5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5419   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
    5420   ac_status=$? 
    5421   grep -v '^ *+' conftest.er1 >conftest.err 
    5422   rm -f conftest.er1 
    5423   cat conftest.err >&5 
    5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5425   (exit $ac_status); } >/dev/null && { 
    5426          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
    5427          test ! -s conftest.err 
    5428        }; then 
    5429   ac_header_preproc=yes 
    5430 else 
    5431   echo "$as_me: failed program was:" >&5 
    5432 sed 's/^/| /' conftest.$ac_ext >&5 
    5433  
    5434   ac_header_preproc=no 
    5435 fi 
    5436  
    5437 rm -f conftest.err conftest.$ac_ext 
    5438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5439 echo "${ECHO_T}$ac_header_preproc" >&6; } 
    5440  
    5441 # So?  What about this header? 
    5442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5443   yes:no: ) 
    5444     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5445 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5446     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    5447 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    5448     ac_header_preproc=yes 
    5449     ;; 
    5450   no:yes:* ) 
    5451     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    5452 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    5453     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    5454 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    5455     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    5456 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    5457     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5458 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5459     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    5460 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    5461     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    5462 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    5463  
    5464     ;; 
    5465 esac 
    5466 { echo "$as_me:$LINENO: checking for ctype.h" >&5 
    5467 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 
    5468 if test "${ac_cv_header_ctype_h+set}" = set; then 
    5469   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5470 else 
    5471   ac_cv_header_ctype_h=$ac_header_preproc 
    5472 fi 
    5473 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    5474 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 
    5475  
    5476 fi 
    5477 if test $ac_cv_header_ctype_h = yes; then 
    5478   cat >>confdefs.h <<\_ACEOF 
    5479 #define PJ_HAS_CTYPE_H 1 
    5480 _ACEOF 
     4704ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 
     4705if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 
     4706  $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 
     4707 
     4708fi 
     4709 
     4710 
     4711ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 
     4712if test "x$ac_cv_header_assert_h" = x""yes; then : 
     4713  $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 
     4714 
     4715fi 
     4716 
     4717 
     4718ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 
     4719if test "x$ac_cv_header_ctype_h" = x""yes; then : 
     4720  $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 
    54814721 
    54824722fi 
     
    54864726case $target in 
    54874727    *mingw* | *cygw* | *win32* | *w32* ) 
    5488         cat >>confdefs.h <<\_ACEOF 
    5489 #define PJ_HAS_ERRNO_H 0 
    5490 _ACEOF 
     4728        $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 
    54914729 
    54924730        ;; 
    54934731    *) 
    5494         if test "${ac_cv_header_errno_h+set}" = set; then 
    5495   { echo "$as_me:$LINENO: checking for errno.h" >&5 
    5496 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 
    5497 if test "${ac_cv_header_errno_h+set}" = set; then 
    5498   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5499 fi 
    5500 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    5501 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 
    5502 else 
    5503   # Is the header compilable? 
    5504 { echo "$as_me:$LINENO: checking errno.h usability" >&5 
    5505 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 
    5506 cat >conftest.$ac_ext <<_ACEOF 
    5507 /* confdefs.h.  */ 
    5508 _ACEOF 
    5509 cat confdefs.h >>conftest.$ac_ext 
    5510 cat >>conftest.$ac_ext <<_ACEOF 
    5511 /* end confdefs.h.  */ 
    5512 $ac_includes_default 
    5513 #include <errno.h> 
    5514 _ACEOF 
    5515 rm -f conftest.$ac_objext 
    5516 if { (ac_try="$ac_compile" 
    5517 case "(($ac_try" in 
    5518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
    5519   *) ac_try_echo=$ac_try;; 
    5520 esac 
    5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
    5522   (eval "$ac_compile") 2>conftest.er1 
    5523   ac_status=$? 
    5524   grep -v '^ *+' conftest.er1 >conftest.err 
    5525   rm -f conftest.er1 
    5526   cat conftest.err >&5 
    5527   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5528   (exit $ac_status); } && { 
    5529          test -z "$ac_c_werror_flag" || 
    5530          test ! -s conftest.err 
    5531        } && test -s conftest.$ac_objext; then 
    5532   ac_header_compiler=yes 
    5533 else 
    5534   echo "$as_me: failed program was:" >&5 
    553