Ignore:
Timestamp:
Dec 25, 2006 8:34:14 PM (17 years ago)
Author:
bennylp
Message:

Added TLS support in Makefiles (see ticket #3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r795 r862  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by Autoconf 2.52 for pjproject 0.5.8. 
     3# Generated by GNU Autoconf 2.59 for pjproject 0.5.8. 
    44# 
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
    6 # Free Software Foundation, Inc. 
     5# Copyright (C) 2003 Free Software Foundation, Inc. 
    76# This configure script is free software; the Free Software Foundation 
    87# gives unlimited permission to copy, distribute and modify it. 
    9  
     8## --------------------- ## 
     9## M4sh Initialization.  ## 
     10## --------------------- ## 
     11 
     12# Be Bourne compatible 
     13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     14  emulate sh 
     15  NULLCMD=: 
     16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     17  # is contrary to our usage.  Disable this feature. 
     18  alias -g '${1+"$@"}'='"$@"' 
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
     20  set -o posix 
     21fi 
     22DUALCASE=1; export DUALCASE # for MKS sh 
     23 
     24# Support unset when possible. 
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     26  as_unset=unset 
     27else 
     28  as_unset=false 
     29fi 
     30 
     31 
     32# Work around bugs in pre-3.0 UWIN ksh. 
     33$as_unset ENV MAIL MAILPATH 
     34PS1='$ ' 
     35PS2='> ' 
     36PS4='+ ' 
     37 
     38# NLS nuisances. 
     39for as_var in \ 
     40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     42  LC_TELEPHONE LC_TIME 
     43do 
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     45    eval $as_var=C; export $as_var 
     46  else 
     47    $as_unset $as_var 
     48  fi 
     49done 
     50 
     51# Required to use basename. 
     52if expr a : '\(a\)' >/dev/null 2>&1; then 
     53  as_expr=expr 
     54else 
     55  as_expr=false 
     56fi 
     57 
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
     59  as_basename=basename 
     60else 
     61  as_basename=false 
     62fi 
     63 
     64 
     65# Name of the executable. 
     66as_me=`$as_basename "$0" || 
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     68         X"$0" : 'X\(//\)$' \| \ 
     69         X"$0" : 'X\(/\)$' \| \ 
     70         .     : '\(.\)' 2>/dev/null || 
     71echo X/"$0" | 
     72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
     73          /^X\/\(\/\/\)$/{ s//\1/; q; } 
     74          /^X\/\(\/\).*/{ s//\1/; q; } 
     75          s/.*/./; q'` 
     76 
     77 
     78# PATH needs CR, and LINENO needs CR and PATH. 
    1079# Avoid depending upon Character Ranges. 
    1180as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     
    1584as_cr_alnum=$as_cr_Letters$as_cr_digits 
    1685 
    17 # Sed expression to map a string onto a valid variable name. 
    18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
    19  
    20 # Sed expression to map a string onto a valid CPP name. 
    21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
    22  
    23 # Be Bourne compatible 
    24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    25   emulate sh 
    26   NULLCMD=: 
    27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    28   set -o posix 
    29 fi 
    30  
    31 # Name of the executable. 
    32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 
     86# The user is always right. 
     87if test "${PATH_SEPARATOR+set}" != set; then 
     88  echo "#! /bin/sh" >conf$$.sh 
     89  echo  "exit 0"   >>conf$$.sh 
     90  chmod +x conf$$.sh 
     91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     92    PATH_SEPARATOR=';' 
     93  else 
     94    PATH_SEPARATOR=: 
     95  fi 
     96  rm -f conf$$.sh 
     97fi 
     98 
     99 
     100  as_lineno_1=$LINENO 
     101  as_lineno_2=$LINENO 
     102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     103  test "x$as_lineno_1" != "x$as_lineno_2" && 
     104  test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
     105  # Find who we are.  Look in the path if we contain no path at all 
     106  # relative or not. 
     107  case $0 in 
     108    *[\\/]* ) as_myself=$0 ;; 
     109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     110for as_dir in $PATH 
     111do 
     112  IFS=$as_save_IFS 
     113  test -z "$as_dir" && as_dir=. 
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     115done 
     116 
     117       ;; 
     118  esac 
     119  # We did not find ourselves, most probably we were run as `sh COMMAND' 
     120  # in which case we are not to be found in the path. 
     121  if test "x$as_myself" = x; then 
     122    as_myself=$0 
     123  fi 
     124  if test ! -f "$as_myself"; then 
     125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 
     126   { (exit 1); exit 1; }; } 
     127  fi 
     128  case $CONFIG_SHELL in 
     129  '') 
     130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     132do 
     133  IFS=$as_save_IFS 
     134  test -z "$as_dir" && as_dir=. 
     135  for as_base in sh bash ksh sh5; do 
     136         case $as_dir in 
     137         /*) 
     138           if ("$as_dir/$as_base" -c ' 
     139  as_lineno_1=$LINENO 
     140  as_lineno_2=$LINENO 
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     142  test "x$as_lineno_1" != "x$as_lineno_2" && 
     143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
     144             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
     145             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
     146             CONFIG_SHELL=$as_dir/$as_base 
     147             export CONFIG_SHELL 
     148             exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
     149           fi;; 
     150         esac 
     151       done 
     152done 
     153;; 
     154  esac 
     155 
     156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     157  # uniformly replaced by the line number.  The first 'sed' inserts a 
     158  # line-number line before each line; the second 'sed' does the real 
     159  # work.  The second script uses 'N' to pair each line-number line 
     160  # with the numbered line, and appends trailing '-' during 
     161  # substitution so that $LINENO is not a special case at line end. 
     162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
     164  sed '=' <$as_myself | 
     165    sed ' 
     166      N 
     167      s,$,-, 
     168      : loop 
     169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
     170      t loop 
     171      s,-$,, 
     172      s,^['$as_cr_digits']*\n,, 
     173    ' >$as_me.lineno && 
     174  chmod +x $as_me.lineno || 
     175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
     176   { (exit 1); exit 1; }; } 
     177 
     178  # Don't try to exec as it changes $[0], causing all sort of problems 
     179  # (the dirname of $[0] is not the place where we might find the 
     180  # original and so on.  Autoconf is especially sensible to this). 
     181  . ./$as_me.lineno 
     182  # Exit status is that of the last command. 
     183  exit 
     184} 
     185 
     186 
     187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
     188  *c*,-n*) ECHO_N= ECHO_C=' 
     189' ECHO_T='      ' ;; 
     190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
     191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
     192esac 
    33193 
    34194if expr a : '\(a\)' >/dev/null 2>&1; then 
     
    56216rm -f conf$$ conf$$.exe conf$$.file 
    57217 
     218if mkdir -p . 2>/dev/null; then 
     219  as_mkdir_p=: 
     220else 
     221  test -d ./-p && rmdir ./-p 
     222  as_mkdir_p=false 
     223fi 
     224 
    58225as_executable_p="test -f" 
    59226 
    60 # Support unset when possible. 
    61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
    62   as_unset=unset 
    63 else 
    64   as_unset=false 
    65 fi 
    66  
    67 # NLS nuisances. 
    68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 
    69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 
    70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 
    71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 
    72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 
    73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 
    74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 
    75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 
     227# Sed expression to map a string onto a valid CPP name. 
     228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     229 
     230# Sed expression to map a string onto a valid variable name. 
     231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     232 
    76233 
    77234# IFS 
     
    82239 
    83240# CDPATH. 
    84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 
     241$as_unset CDPATH 
     242 
    85243 
    86244# Name of the host. 
     
    95253# 
    96254ac_default_prefix=/usr/local 
     255ac_config_libobj_dir=. 
    97256cross_compiling=no 
    98257subdirs= 
    99 MFLAGS= MAKEFLAGS= 
     258MFLAGS= 
     259MAKEFLAGS= 
    100260SHELL=${CONFIG_SHELL-/bin/sh} 
    101261 
     
    104264# only ac_max_sed_lines should be used. 
    105265: ${ac_max_here_lines=38} 
     266 
     267# Identity of this package. 
     268PACKAGE_NAME='pjproject' 
     269PACKAGE_TARNAME='pjproject' 
     270PACKAGE_VERSION='0.5.8' 
     271PACKAGE_STRING='pjproject 0.5.8' 
     272PACKAGE_BUGREPORT='' 
     273 
     274# Factoring default headers for most tests. 
     275ac_includes_default="\ 
     276#include <stdio.h> 
     277#if HAVE_SYS_TYPES_H 
     278# include <sys/types.h> 
     279#endif 
     280#if HAVE_SYS_STAT_H 
     281# include <sys/stat.h> 
     282#endif 
     283#if STDC_HEADERS 
     284# include <stdlib.h> 
     285# include <stddef.h> 
     286#else 
     287# if HAVE_STDLIB_H 
     288#  include <stdlib.h> 
     289# endif 
     290#endif 
     291#if HAVE_STRING_H 
     292# if !STDC_HEADERS && HAVE_MEMORY_H 
     293#  include <memory.h> 
     294# endif 
     295# include <string.h> 
     296#endif 
     297#if HAVE_STRINGS_H 
     298# include <strings.h> 
     299#endif 
     300#if HAVE_INTTYPES_H 
     301# include <inttypes.h> 
     302#else 
     303# if HAVE_STDINT_H 
     304#  include <stdint.h> 
     305# endif 
     306#endif 
     307#if HAVE_UNISTD_H 
     308# include <unistd.h> 
     309#endif" 
     310 
     311ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa ac_no_small_filter ac_no_large_filter ac_no_g711_plc ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_speex_codec ac_no_ilbc_codec ac_no_ssl openssl_h_present libssl_present libcrypto_present ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 
     312ac_subst_files='' 
    106313 
    107314# Initialize some variables set by options. 
     
    143350mandir='${prefix}/man' 
    144351 
    145 # Identity of this package. 
    146 PACKAGE_NAME='pjproject' 
    147 PACKAGE_TARNAME='pjproject' 
    148 PACKAGE_VERSION='0.5.8' 
    149 PACKAGE_STRING='pjproject 0.5.8' 
    150 PACKAGE_BUGREPORT='' 
    151  
    152352ac_prev= 
    153353for ac_option 
     
    282482 
    283483  -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    284   | --no-cr | --no-c) 
     484  | --no-cr | --no-c | -n) 
    285485    no_create=yes ;; 
    286486 
     
    461661  case $ac_val in 
    462662    [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 
    463     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
     663    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    464664   { (exit 1); exit 1; }; };; 
    465665  esac 
     
    468668# Be sure to have absolute paths. 
    469669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 
    470               localstatedir libdir includedir oldincludedir infodir mandir 
     670              localstatedir libdir includedir oldincludedir infodir mandir 
    471671do 
    472672  eval ac_val=$`echo $ac_var` 
    473673  case $ac_val in 
    474674    [\\/$]* | ?:[\\/]* ) ;; 
    475     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
     675    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    476676   { (exit 1); exit 1; }; };; 
    477677  esac 
     
    480680# There might be people who depend on the old broken behavior: `$host' 
    481681# used to hold the argument of --host etc. 
     682# FIXME: To remove some day. 
    482683build=$build_alias 
    483684host=$host_alias 
    484685target=$target_alias 
    485686 
    486 # FIXME: should be removed in autoconf 3.0. 
     687# FIXME: To remove some day. 
    487688if test "x$host_alias" != x; then 
    488689  if test "x$build_alias" = x; then 
     
    500701test "$silent" = yes && exec 6>/dev/null 
    501702 
     703 
    502704# Find the source files, if location was not specified. 
    503705if test -z "$srcdir"; then 
    504706  ac_srcdir_defaulted=yes 
    505707  # Try the directory containing this script, then its parent. 
    506   ac_prog=$0 
    507   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 
    508   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 
     708  ac_confdir=`(dirname "$0") 2>/dev/null || 
     709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     710         X"$0" : 'X\(//\)[^/]' \| \ 
     711         X"$0" : 'X\(//\)$' \| \ 
     712         X"$0" : 'X\(/\)' \| \ 
     713         .     : '\(.\)' 2>/dev/null || 
     714echo X"$0" | 
     715    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     716          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     717          /^X\(\/\/\)$/{ s//\1/; q; } 
     718          /^X\(\/\).*/{ s//\1/; q; } 
     719          s/.*/./; q'` 
    509720  srcdir=$ac_confdir 
    510721  if test ! -r $srcdir/$ac_unique_file; then 
     
    516727if test ! -r $srcdir/$ac_unique_file; then 
    517728  if test "$ac_srcdir_defaulted" = yes; then 
    518     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 
     729    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
    519730   { (exit 1); exit 1; }; } 
    520731  else 
    521     { echo "$as_me: error: cannot find sources in $srcdir" >&2 
     732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    522733   { (exit 1); exit 1; }; } 
    523734  fi 
    524735fi 
     736(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 
     737  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 
     738   { (exit 1); exit 1; }; } 
    525739srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
    526740ac_env_build_alias_set=${build_alias+set} 
     
    571785  # Omit some internal or obsolete options to make the list less imposing. 
    572786  # This message is too long to be a string in the A/UX 3.1 sh. 
    573   cat <<EOF 
     787  cat <<_ACEOF 
    574788\`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 
    575789 
     
    592806      --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
    593807 
    594 EOF 
    595  
    596   cat <<EOF 
     808_ACEOF 
     809 
     810  cat <<_ACEOF 
    597811Installation directories: 
    598812  --prefix=PREFIX         install architecture-independent files in PREFIX 
    599                           [$ac_default_prefix] 
     813                          [$ac_default_prefix] 
    600814  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    601                           [PREFIX] 
     815                          [PREFIX] 
    602816 
    603817By default, \`make install' will install all the files in 
     
    621835  --infodir=DIR          info documentation [PREFIX/info] 
    622836  --mandir=DIR           man documentation [PREFIX/man] 
    623 EOF 
    624  
    625   cat <<\EOF 
     837_ACEOF 
     838 
     839  cat <<\_ACEOF 
    626840 
    627841System types: 
    628842  --build=BUILD     configure for building on BUILD [guessed] 
    629   --host=HOST       build programs to run on HOST [BUILD] 
     843  --host=HOST       cross-compile to build programs to run on HOST [BUILD] 
    630844  --target=TARGET   configure for building compilers for TARGET [HOST] 
    631 EOF 
     845_ACEOF 
    632846fi 
    633847 
     
    636850     short | recursive ) echo "Configuration of pjproject 0.5.8:";; 
    637851   esac 
    638   cat <<\EOF 
     852  cat <<\_ACEOF 
    639853 
    640854Optional Features: 
     
    654868  --disable-ilbc-codec    Exclude iLBC codec in the build 
    655869 
     870                  --disable-ssl           Exclude SSL support the build (default: autodetect) 
     871 
     872 
    656873Some influential environment variables: 
    657874  CC          C compiler command 
     
    668885it to find libraries and programs with nonstandard names/locations. 
    669886 
    670 EOF 
     887_ACEOF 
    671888fi 
    672889 
     
    674891  # If there are subdirs, report their specific --help. 
    675892  ac_popdir=`pwd` 
    676   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 
    677     cd $ac_subdir 
    678     # A "../" for each directory in /$ac_subdir. 
    679     ac_dots=`echo $ac_subdir | 
    680              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 
    681  
    682     case $srcdir in 
    683     .) # No --srcdir option.  We are building in place. 
    684       ac_sub_srcdir=$srcdir ;; 
    685     [\\/]* | ?:[\\/]* ) # Absolute path. 
    686       ac_sub_srcdir=$srcdir/$ac_subdir ;; 
    687     *) # Relative path. 
    688       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 
    689     esac 
    690  
     893  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
     894    test -d $ac_dir || continue 
     895    ac_builddir=. 
     896 
     897if test "$ac_dir" != .; then 
     898  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     899  # A "../" for each directory in $ac_dir_suffix. 
     900  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     901else 
     902  ac_dir_suffix= ac_top_builddir= 
     903fi 
     904 
     905case $srcdir in 
     906  .)  # No --srcdir option.  We are building in place. 
     907    ac_srcdir=. 
     908    if test -z "$ac_top_builddir"; then 
     909       ac_top_srcdir=. 
     910    else 
     911       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     912    fi ;; 
     913  [\\/]* | ?:[\\/]* )  # Absolute path. 
     914    ac_srcdir=$srcdir$ac_dir_suffix; 
     915    ac_top_srcdir=$srcdir ;; 
     916  *) # Relative path. 
     917    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     918    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
     919esac 
     920 
     921# Do not use `cd foo && pwd` to compute absolute paths, because 
     922# the directories may not exist. 
     923case `pwd` in 
     924.) ac_abs_builddir="$ac_dir";; 
     925*) 
     926  case "$ac_dir" in 
     927  .) ac_abs_builddir=`pwd`;; 
     928  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
     929  *) ac_abs_builddir=`pwd`/"$ac_dir";; 
     930  esac;; 
     931esac 
     932case $ac_abs_builddir in 
     933.) ac_abs_top_builddir=${ac_top_builddir}.;; 
     934*) 
     935  case ${ac_top_builddir}. in 
     936  .) ac_abs_top_builddir=$ac_abs_builddir;; 
     937  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
     938  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
     939  esac;; 
     940esac 
     941case $ac_abs_builddir in 
     942.) ac_abs_srcdir=$ac_srcdir;; 
     943*) 
     944  case $ac_srcdir in 
     945  .) ac_abs_srcdir=$ac_abs_builddir;; 
     946  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
     947  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
     948  esac;; 
     949esac 
     950case $ac_abs_builddir in 
     951.) ac_abs_top_srcdir=$ac_top_srcdir;; 
     952*) 
     953  case $ac_top_srcdir in 
     954  .) ac_abs_top_srcdir=$ac_abs_builddir;; 
     955  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
     956  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
     957  esac;; 
     958esac 
     959 
     960    cd $ac_dir 
    691961    # Check for guested configure; otherwise get Cygnus style configure. 
    692     if test -f $ac_sub_srcdir/configure.gnu; then 
     962    if test -f $ac_srcdir/configure.gnu; then 
    693963      echo 
    694       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive 
    695     elif test -f $ac_sub_srcdir/configure; then 
     964      $SHELL $ac_srcdir/configure.gnu  --help=recursive 
     965    elif test -f $ac_srcdir/configure; then 
    696966      echo 
    697       $SHELL $ac_sub_srcdir/configure  --help=recursive 
    698     elif test -f $ac_sub_srcdir/configure.ac || 
    699            test -f $ac_sub_srcdir/configure.in; then 
     967      $SHELL $ac_srcdir/configure  --help=recursive 
     968    elif test -f $ac_srcdir/configure.ac || 
     969           test -f $ac_srcdir/configure.in; then 
    700970      echo 
    701971      $ac_configure --help 
    702972    else 
    703       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 
     973      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    704974    fi 
    705975    cd $ac_popdir 
     
    709979test -n "$ac_init_help" && exit 0 
    710980if $ac_init_version; then 
    711   cat <<\EOF 
     981  cat <<\_ACEOF 
    712982pjproject configure 0.5.8 
    713 generated by GNU Autoconf 2.52 
    714  
    715 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
    716 Free Software Foundation, Inc. 
     983generated by GNU Autoconf 2.59 
     984 
     985Copyright (C) 2003 Free Software Foundation, Inc. 
    717986This configure script is free software; the Free Software Foundation 
    718987gives unlimited permission to copy, distribute and modify it. 
    719 EOF 
     988_ACEOF 
    720989  exit 0 
    721990fi 
    722991exec 5>config.log 
    723 cat >&5 <<EOF 
     992cat >&5 <<_ACEOF 
    724993This file contains any messages produced by compilers while 
    725994running configure, to aid debugging if configure makes a mistake. 
    726995 
    727996It was created by pjproject $as_me 0.5.8, which was 
    728 generated by GNU Autoconf 2.52.  Invocation command line was 
     997generated by GNU Autoconf 2.59.  Invocation command line was 
    729998 
    730999  $ $0 $@ 
    7311000 
    732 EOF 
     1001_ACEOF 
    7331002{ 
    7341003cat <<_ASUNAME 
    735 ## ---------- ## 
    736 ## Platform.  ## 
    737 ## ---------- ## 
     1004## --------- ## 
     1005## Platform. ## 
     1006## --------- ## 
    7381007 
    7391008hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 
     
    7541023/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
    7551024 
    756 PATH = $PATH 
    757  
    7581025_ASUNAME 
     1026 
     1027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1028for as_dir in $PATH 
     1029do 
     1030  IFS=$as_save_IFS 
     1031  test -z "$as_dir" && as_dir=. 
     1032  echo "PATH: $as_dir" 
     1033done 
     1034 
    7591035} >&5 
    7601036 
    761 cat >&5 <<EOF 
    762 ## ------------ ## 
    763 ## Core tests.  ## 
    764 ## ------------ ## 
    765  
    766 EOF 
     1037cat >&5 <<_ACEOF 
     1038 
     1039 
     1040## ----------- ## 
     1041## Core tests. ## 
     1042## ----------- ## 
     1043 
     1044_ACEOF 
     1045 
    7671046 
    7681047# Keep a trace of the command line. 
    7691048# Strip out --no-create and --no-recursion so they do not pile up. 
     1049# Strip out --silent because we don't want to record it for future runs. 
    7701050# Also quote any args containing shell meta-characters. 
     1051# Make two passes to allow for proper duplicate-argument suppression. 
    7711052ac_configure_args= 
     1053ac_configure_args0= 
     1054ac_configure_args1= 
    7721055ac_sep= 
    773 for ac_arg 
     1056ac_must_keep_next=false 
     1057for ac_pass in 1 2 
    7741058do 
    775   case $ac_arg in 
    776   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    777   | --no-cr | --no-c) ;; 
    778   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 
    779   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 
    780   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    781     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 
    782     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
    783     ac_sep=" " ;; 
    784   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 
    785      ac_sep=" " ;; 
    786   esac 
    787   # Get rid of the leading space. 
     1059  for ac_arg 
     1060  do 
     1061    case $ac_arg in 
     1062    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
     1063    -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     1064    | -silent | --silent | --silen | --sile | --sil) 
     1065      continue ;; 
     1066    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     1067      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1068    esac 
     1069    case $ac_pass in 
     1070    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1071    2) 
     1072      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1073      if test $ac_must_keep_next = true; then 
     1074        ac_must_keep_next=false # Got value, back to normal. 
     1075      else 
     1076        case $ac_arg in 
     1077          *=* | --config-cache | -C | -disable-* | --disable-* \ 
     1078          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
     1079          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
     1080          | -with-* | --with-* | -without-* | --without-* | --x) 
     1081            case "$ac_configure_args0 " in 
     1082              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
     1083            esac 
     1084            ;; 
     1085          -* ) ac_must_keep_next=true ;; 
     1086        esac 
     1087      fi 
     1088      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
     1089      # Get rid of the leading space. 
     1090      ac_sep=" " 
     1091      ;; 
     1092    esac 
     1093  done 
    7881094done 
     1095$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1096$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
    7891097 
    7901098# When interrupted or exit'd, cleanup temporary files, and complete 
    7911099# config.log.  We remove comments because anyway the quotes in there 
    7921100# would cause problems or look ugly. 
     1101# WARNING: Be sure not to use single quotes in there, as some shells, 
     1102# such as our DU 5.0 friend, will then `close' the trap. 
    7931103trap 'exit_status=$? 
    7941104  # Save into config.log some information that might help in debugging. 
    795   echo >&5 
    796   echo "## ----------------- ##" >&5 
    797   echo "## Cache variables.  ##" >&5 
    798   echo "## ----------------- ##" >&5 
    799   echo >&5 
    800   # The following way of writing the cache mishandles newlines in values, 
     1105  { 
     1106    echo 
     1107 
     1108    cat <<\_ASBOX 
     1109## ---------------- ## 
     1110## Cache variables. ## 
     1111## ---------------- ## 
     1112_ASBOX 
     1113    echo 
     1114    # The following way of writing the cache mishandles newlines in values, 
    8011115{ 
    8021116  (set) 2>&1 | 
     
    8041118    *ac_space=\ *) 
    8051119      sed -n \ 
    806         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
    807           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
     1120        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
     1121          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
    8081122      ;; 
    8091123    *) 
    8101124      sed -n \ 
    811         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
     1125        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
    8121126      ;; 
    8131127    esac; 
    814 } >&5 
    815   sed "/^$/d" confdefs.h >conftest.log 
    816   if test -s conftest.log; then 
    817     echo >&5 
    818     echo "## ------------ ##" >&5 
    819     echo "## confdefs.h.  ##" >&5 
    820     echo "## ------------ ##" >&5 
    821     echo >&5 
    822     cat conftest.log >&5 
    823   fi 
    824   (echo; echo) >&5 
    825   test "$ac_signal" != 0 && 
    826     echo "$as_me: caught signal $ac_signal" >&5 
    827   echo "$as_me: exit $exit_status" >&5 
    828   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 
     1128} 
     1129    echo 
     1130 
     1131    cat <<\_ASBOX 
     1132## ----------------- ## 
     1133## Output variables. ## 
     1134## ----------------- ## 
     1135_ASBOX 
     1136    echo 
     1137    for ac_var in $ac_subst_vars 
     1138    do 
     1139      eval ac_val=$`echo $ac_var` 
     1140      echo "$ac_var='"'"'$ac_val'"'"'" 
     1141    done | sort 
     1142    echo 
     1143 
     1144    if test -n "$ac_subst_files"; then 
     1145      cat <<\_ASBOX 
     1146## ------------- ## 
     1147## Output files. ## 
     1148## ------------- ## 
     1149_ASBOX 
     1150      echo 
     1151      for ac_var in $ac_subst_files 
     1152      do 
     1153        eval ac_val=$`echo $ac_var` 
     1154        echo "$ac_var='"'"'$ac_val'"'"'" 
     1155      done | sort 
     1156      echo 
     1157    fi 
     1158 
     1159    if test -s confdefs.h; then 
     1160      cat <<\_ASBOX 
     1161## ----------- ## 
     1162## confdefs.h. ## 
     1163## ----------- ## 
     1164_ASBOX 
     1165      echo 
     1166      sed "/^$/d" confdefs.h | sort 
     1167      echo 
     1168    fi 
     1169    test "$ac_signal" != 0 && 
     1170      echo "$as_me: caught signal $ac_signal" 
     1171    echo "$as_me: exit $exit_status" 
     1172  } >&5 
     1173  rm -f core *.core && 
     1174  rm -rf conftest* confdefs* conf$$* $ac_clean_files && 
    8291175    exit $exit_status 
    8301176     ' 0 
     
    8381184# AIX cpp loses on an empty file, so make sure it contains at least a newline. 
    8391185echo >confdefs.h 
     1186 
     1187# Predefined preprocessor variables. 
     1188 
     1189cat >>confdefs.h <<_ACEOF 
     1190#define PACKAGE_NAME "$PACKAGE_NAME" 
     1191_ACEOF 
     1192 
     1193 
     1194cat >>confdefs.h <<_ACEOF 
     1195#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
     1196_ACEOF 
     1197 
     1198 
     1199cat >>confdefs.h <<_ACEOF 
     1200#define PACKAGE_VERSION "$PACKAGE_VERSION" 
     1201_ACEOF 
     1202 
     1203 
     1204cat >>confdefs.h <<_ACEOF 
     1205#define PACKAGE_STRING "$PACKAGE_STRING" 
     1206_ACEOF 
     1207 
     1208 
     1209cat >>confdefs.h <<_ACEOF 
     1210#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
     1211_ACEOF 
     1212 
    8401213 
    8411214# Let the site file select an alternate cache file if it wants to. 
     
    8501223for ac_site_file in $CONFIG_SITE; do 
    8511224  if test -r "$ac_site_file"; then 
    852     { echo "$as_me:852: loading site script $ac_site_file" >&5 
     1225    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    8531226echo "$as_me: loading site script $ac_site_file" >&6;} 
    854     cat "$ac_site_file" >&5 
     1227    sed 's/^/| /' "$ac_site_file" >&5 
    8551228    . "$ac_site_file" 
    8561229  fi 
     
    8611234  # files actually), so we avoid doing that. 
    8621235  if test -f "$cache_file"; then 
    863     { echo "$as_me:863: loading cache $cache_file" >&5 
     1236    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    8641237echo "$as_me: loading cache $cache_file" >&6;} 
    8651238    case $cache_file in 
     
    8691242  fi 
    8701243else 
    871   { echo "$as_me:871: creating cache $cache_file" >&5 
     1244  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    8721245echo "$as_me: creating cache $cache_file" >&6;} 
    8731246  >$cache_file 
     
    8781251ac_cache_corrupted=false 
    8791252for ac_var in `(set) 2>&1 | 
    880                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 
     1253               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 
    8811254  eval ac_old_set=\$ac_cv_env_${ac_var}_set 
    8821255  eval ac_new_set=\$ac_env_${ac_var}_set 
     
    8851258  case $ac_old_set,$ac_new_set in 
    8861259    set,) 
    887       { echo "$as_me:887: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1260      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    8881261echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    8891262      ac_cache_corrupted=: ;; 
    8901263    ,set) 
    891       { echo "$as_me:891: error: \`$ac_var' was not set in the previous run" >&5 
     1264      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    8921265echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    8931266      ac_cache_corrupted=: ;; 
     
    8951268    *) 
    8961269      if test "x$ac_old_val" != "x$ac_new_val"; then 
    897         { echo "$as_me:897: error: \`$ac_var' has changed since the previous run:" >&5 
     1270        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    8981271echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    899         { echo "$as_me:899:   former value:  $ac_old_val" >&5 
     1272        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    9001273echo "$as_me:   former value:  $ac_old_val" >&2;} 
    901         { echo "$as_me:901:   current value: $ac_new_val" >&5 
     1274        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    9021275echo "$as_me:   current value: $ac_new_val" >&2;} 
    903         ac_cache_corrupted=: 
     1276        ac_cache_corrupted=: 
    9041277      fi;; 
    9051278  esac 
    906   # Pass precious variables to config.status.  It doesn't matter if 
    907   # we pass some twice (in addition to the command line arguments). 
     1279  # Pass precious variables to config.status. 
    9081280  if test "$ac_new_set" = set; then 
    9091281    case $ac_new_val in 
    9101282    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    911       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 
    912       ac_configure_args="$ac_configure_args '$ac_arg'" 
    913       ;; 
    914     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 
    915        ;; 
     1283      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1284    *) ac_arg=$ac_var=$ac_new_val ;; 
     1285    esac 
     1286    case " $ac_configure_args " in 
     1287      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
     1288      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    9161289    esac 
    9171290  fi 
    9181291done 
    9191292if $ac_cache_corrupted; then 
    920   { echo "$as_me:920: error: changes in the environment can compromise the build" >&5 
     1293  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    9211294echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    922   { { echo "$as_me:922: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1295  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    9231296echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    9241297   { (exit 1); exit 1; }; } 
     
    9311304ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    9321305 
    933 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
    934   *c*,-n*) ECHO_N= ECHO_C=' 
    935 ' ECHO_T='      ' ;; 
    936   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
    937   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;; 
    938 esac 
    939 echo "#! $SHELL" >conftest.sh 
    940 echo  "exit 0"   >>conftest.sh 
    941 chmod +x conftest.sh 
    942 if { (echo "$as_me:942: PATH=\".;.\"; conftest.sh") >&5 
    943   (PATH=".;."; conftest.sh) 2>&5 
    944   ac_status=$? 
    945   echo "$as_me:945: \$? = $ac_status" >&5 
    946   (exit $ac_status); }; then 
    947   ac_path_separator=';' 
    948 else 
    949   ac_path_separator=: 
    950 fi 
    951 PATH_SEPARATOR="$ac_path_separator" 
    952 rm -f conftest.sh 
     1306 
     1307 
     1308 
     1309 
     1310 
     1311 
     1312 
     1313 
     1314 
     1315 
     1316 
     1317 
     1318 
     1319 
     1320 
     1321 
     1322 
     1323 
     1324 
     1325 
     1326 
     1327 
     1328 
     1329 
     1330 
     1331 
    9531332 
    9541333host_orig="$host" 
     
    9711350done 
    9721351if test -z "$ac_aux_dir"; then 
    973   { { echo "$as_me:973: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
     1352  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
    9741353echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
    9751354   { (exit 1); exit 1; }; } 
     
    9811360# Make sure we can run config.sub. 
    9821361$ac_config_sub sun4 >/dev/null 2>&1 || 
    983   { { echo "$as_me:983: error: cannot run $ac_config_sub" >&5 
     1362  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
    9841363echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
    9851364   { (exit 1); exit 1; }; } 
    9861365 
    987 echo "$as_me:987: checking build system type" >&5 
     1366echo "$as_me:$LINENO: checking build system type" >&5 
    9881367echo $ECHO_N "checking build system type... $ECHO_C" >&6 
    9891368if test "${ac_cv_build+set}" = set; then 
     
    9941373  ac_cv_build_alias=`$ac_config_guess` 
    9951374test -z "$ac_cv_build_alias" && 
    996   { { echo "$as_me:996: error: cannot guess build type; you must specify one" >&5 
     1375  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    9971376echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    9981377   { (exit 1); exit 1; }; } 
    9991378ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
    1000   { { echo "$as_me:1000: error: $ac_config_sub $ac_cv_build_alias failed." >&5 
    1001 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 
     1379  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
     1380echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
    10021381   { (exit 1); exit 1; }; } 
    10031382 
    10041383fi 
    1005 echo "$as_me:1005: result: $ac_cv_build" >&5 
     1384echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    10061385echo "${ECHO_T}$ac_cv_build" >&6 
    10071386build=$ac_cv_build 
     
    10101389build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    10111390 
    1012 echo "$as_me:1012: checking host system type" >&5 
     1391 
     1392echo "$as_me:$LINENO: checking host system type" >&5 
    10131393echo $ECHO_N "checking host system type... $ECHO_C" >&6 
    10141394if test "${ac_cv_host+set}" = set; then 
     
    10191399  ac_cv_host_alias=$ac_cv_build_alias 
    10201400ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
    1021   { { echo "$as_me:1021: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
     1401  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
    10221402echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
    10231403   { (exit 1); exit 1; }; } 
    10241404 
    10251405fi 
    1026 echo "$as_me:1026: result: $ac_cv_host" >&5 
     1406echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    10271407echo "${ECHO_T}$ac_cv_host" >&6 
    10281408host=$ac_cv_host 
     
    10311411host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    10321412 
    1033 echo "$as_me:1033: checking target system type" >&5 
     1413 
     1414echo "$as_me:$LINENO: checking target system type" >&5 
    10341415echo $ECHO_N "checking target system type... $ECHO_C" >&6 
    10351416if test "${ac_cv_target+set}" = set; then 
     
    10401421  ac_cv_target_alias=$ac_cv_host_alias 
    10411422ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 
    1042   { { echo "$as_me:1042: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
     1423  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
    10431424echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 
    10441425   { (exit 1); exit 1; }; } 
    10451426 
    10461427fi 
    1047 echo "$as_me:1047: result: $ac_cv_target" >&5 
     1428echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    10481429echo "${ECHO_T}$ac_cv_target" >&6 
    10491430target=$ac_cv_target 
     
    10511432target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    10521433target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     1434 
    10531435 
    10541436# The aliases save the names the user supplied, while $host etc. 
     
    10581440    NONENONEs,x,x, && 
    10591441  program_prefix=${target_alias}- 
    1060 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 
    1061  
    1062 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak" 
     1442                              ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjsip/include/pjsip/sip_autoconf.h" 
     1443 
     1444                                                            ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak" 
     1445 
    10631446 
    10641447if test "$CFLAGS" = ""; then 
     
    10781461  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    10791462set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1080 echo "$as_me:1080: checking for $ac_word" >&5 
     1463echo "$as_me:$LINENO: checking for $ac_word" >&5 
    10811464echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    10821465if test "${ac_cv_prog_CC+set}" = set; then 
     
    10861469  ac_cv_prog_CC="$CC" # Let the user override the test. 
    10871470else 
    1088   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1089 ac_dummy="$PATH" 
    1090 for ac_dir in $ac_dummy; do 
    1091   IFS=$ac_save_IFS 
    1092   test -z "$ac_dir" && ac_dir=. 
    1093   $as_executable_p "$ac_dir/$ac_word" || continue 
    1094 ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    1095 echo "$as_me:1095: found $ac_dir/$ac_word" >&5 
    1096 break 
     1471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1472for as_dir in $PATH 
     1473do 
     1474  IFS=$as_save_IFS 
     1475  test -z "$as_dir" && as_dir=. 
     1476  for ac_exec_ext in '' $ac_executable_extensions; do 
     1477  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1478    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
     1479    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1480    break 2 
     1481  fi 
     1482done 
    10971483done 
    10981484 
     
    11011487CC=$ac_cv_prog_CC 
    11021488if test -n "$CC"; then 
    1103   echo "$as_me:1103: result: $CC" >&5 
     1489  echo "$as_me:$LINENO: result: $CC" >&5 
    11041490echo "${ECHO_T}$CC" >&6 
    11051491else 
    1106   echo "$as_me:1106: result: no" >&5 
     1492  echo "$as_me:$LINENO: result: no" >&5 
    11071493echo "${ECHO_T}no" >&6 
    11081494fi 
     
    11131499  # Extract the first word of "gcc", so it can be a program name with args. 
    11141500set dummy gcc; ac_word=$2 
    1115 echo "$as_me:1115: checking for $ac_word" >&5 
     1501echo "$as_me:$LINENO: checking for $ac_word" >&5 
    11161502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    11171503if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    11211507  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    11221508else 
    1123   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1124 ac_dummy="$PATH" 
    1125 for ac_dir in $ac_dummy; do 
    1126   IFS=$ac_save_IFS 
    1127   test -z "$ac_dir" && ac_dir=. 
    1128   $as_executable_p "$ac_dir/$ac_word" || continue 
    1129 ac_cv_prog_ac_ct_CC="gcc" 
    1130 echo "$as_me:1130: found $ac_dir/$ac_word" >&5 
    1131 break 
     1509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1510for as_dir in $PATH 
     1511do 
     1512  IFS=$as_save_IFS 
     1513  test -z "$as_dir" && as_dir=. 
     1514  for ac_exec_ext in '' $ac_executable_extensions; do 
     1515  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1516    ac_cv_prog_ac_ct_CC="gcc" 
     1517    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1518    break 2 
     1519  fi 
     1520done 
    11321521done 
    11331522 
     
    11361525ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    11371526if test -n "$ac_ct_CC"; then 
    1138   echo "$as_me:1138: result: $ac_ct_CC" >&5 
     1527  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    11391528echo "${ECHO_T}$ac_ct_CC" >&6 
    11401529else 
    1141   echo "$as_me:1141: result: no" >&5 
     1530  echo "$as_me:$LINENO: result: no" >&5 
    11421531echo "${ECHO_T}no" >&6 
    11431532fi 
     
    11521541  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    11531542set dummy ${ac_tool_prefix}cc; ac_word=$2 
    1154 echo "$as_me:1154: checking for $ac_word" >&5 
     1543echo "$as_me:$LINENO: checking for $ac_word" >&5 
    11551544echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    11561545if test "${ac_cv_prog_CC+set}" = set; then 
     
    11601549  ac_cv_prog_CC="$CC" # Let the user override the test. 
    11611550else 
    1162   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1163 ac_dummy="$PATH" 
    1164 for ac_dir in $ac_dummy; do 
    1165   IFS=$ac_save_IFS 
    1166   test -z "$ac_dir" && ac_dir=. 
    1167   $as_executable_p "$ac_dir/$ac_word" || continue 
    1168 ac_cv_prog_CC="${ac_tool_prefix}cc" 
    1169 echo "$as_me:1169: found $ac_dir/$ac_word" >&5 
    1170 break 
     1551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1552for as_dir in $PATH 
     1553do 
     1554  IFS=$as_save_IFS 
     1555  test -z "$as_dir" && as_dir=. 
     1556  for ac_exec_ext in '' $ac_executable_extensions; do 
     1557  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1558    ac_cv_prog_CC="${ac_tool_prefix}cc" 
     1559    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1560    break 2 
     1561  fi 
     1562done 
    11711563done 
    11721564 
     
    11751567CC=$ac_cv_prog_CC 
    11761568if test -n "$CC"; then 
    1177   echo "$as_me:1177: result: $CC" >&5 
     1569  echo "$as_me:$LINENO: result: $CC" >&5 
    11781570echo "${ECHO_T}$CC" >&6 
    11791571else 
    1180   echo "$as_me:1180: result: no" >&5 
     1572  echo "$as_me:$LINENO: result: no" >&5 
    11811573echo "${ECHO_T}no" >&6 
    11821574fi 
     
    11871579  # Extract the first word of "cc", so it can be a program name with args. 
    11881580set dummy cc; ac_word=$2 
    1189 echo "$as_me:1189: checking for $ac_word" >&5 
     1581echo "$as_me:$LINENO: checking for $ac_word" >&5 
    11901582echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    11911583if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    11951587  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    11961588else 
    1197   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1198 ac_dummy="$PATH" 
    1199 for ac_dir in $ac_dummy; do 
    1200   IFS=$ac_save_IFS 
    1201   test -z "$ac_dir" && ac_dir=. 
    1202   $as_executable_p "$ac_dir/$ac_word" || continue 
    1203 ac_cv_prog_ac_ct_CC="cc" 
    1204 echo "$as_me:1204: found $ac_dir/$ac_word" >&5 
    1205 break 
     1589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1590for as_dir in $PATH 
     1591do 
     1592  IFS=$as_save_IFS 
     1593  test -z "$as_dir" && as_dir=. 
     1594  for ac_exec_ext in '' $ac_executable_extensions; do 
     1595  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1596    ac_cv_prog_ac_ct_CC="cc" 
     1597    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1598    break 2 
     1599  fi 
     1600done 
    12061601done 
    12071602 
     
    12101605ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    12111606if test -n "$ac_ct_CC"; then 
    1212   echo "$as_me:1212: result: $ac_ct_CC" >&5 
     1607  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    12131608echo "${ECHO_T}$ac_ct_CC" >&6 
    12141609else 
    1215   echo "$as_me:1215: result: no" >&5 
     1610  echo "$as_me:$LINENO: result: no" >&5 
    12161611echo "${ECHO_T}no" >&6 
    12171612fi 
     
    12261621  # Extract the first word of "cc", so it can be a program name with args. 
    12271622set dummy cc; ac_word=$2 
    1228 echo "$as_me:1228: checking for $ac_word" >&5 
     1623echo "$as_me:$LINENO: checking for $ac_word" >&5 
    12291624echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    12301625if test "${ac_cv_prog_CC+set}" = set; then 
     
    12351630else 
    12361631  ac_prog_rejected=no 
    1237   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1238 ac_dummy="$PATH" 
    1239 for ac_dir in $ac_dummy; do 
    1240   IFS=$ac_save_IFS 
    1241   test -z "$ac_dir" && ac_dir=. 
    1242   $as_executable_p "$ac_dir/$ac_word" || continue 
    1243 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 
    1244   ac_prog_rejected=yes 
    1245   continue 
    1246 fi 
    1247 ac_cv_prog_CC="cc" 
    1248 echo "$as_me:1248: found $ac_dir/$ac_word" >&5 
    1249 break 
     1632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1633for as_dir in $PATH 
     1634do 
     1635  IFS=$as_save_IFS 
     1636  test -z "$as_dir" && as_dir=. 
     1637  for ac_exec_ext in '' $ac_executable_extensions; do 
     1638  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1639    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     1640       ac_prog_rejected=yes 
     1641       continue 
     1642     fi 
     1643    ac_cv_prog_CC="cc" 
     1644    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1645    break 2 
     1646  fi 
     1647done 
    12501648done 
    12511649 
     
    12591657    # first if we set CC to just the basename; use the full file name. 
    12601658    shift 
    1261     set dummy "$ac_dir/$ac_word" ${1+"$@"} 
    1262     shift 
    1263     ac_cv_prog_CC="$@" 
     1659    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 
    12641660  fi 
    12651661fi 
     
    12681664CC=$ac_cv_prog_CC 
    12691665if test -n "$CC"; then 
    1270   echo "$as_me:1270: result: $CC" >&5 
     1666  echo "$as_me:$LINENO: result: $CC" >&5 
    12711667echo "${ECHO_T}$CC" >&6 
    12721668else 
    1273   echo "$as_me:1273: result: no" >&5 
     1669  echo "$as_me:$LINENO: result: no" >&5 
    12741670echo "${ECHO_T}no" >&6 
    12751671fi 
     
    12821678    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    12831679set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    1284 echo "$as_me:1284: checking for $ac_word" >&5 
     1680echo "$as_me:$LINENO: checking for $ac_word" >&5 
    12851681echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    12861682if test "${ac_cv_prog_CC+set}" = set; then 
     
    12901686  ac_cv_prog_CC="$CC" # Let the user override the test. 
    12911687else 
    1292   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1293 ac_dummy="$PATH" 
    1294 for ac_dir in $ac_dummy; do 
    1295   IFS=$ac_save_IFS 
    1296   test -z "$ac_dir" && ac_dir=. 
    1297   $as_executable_p "$ac_dir/$ac_word" || continue 
    1298 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    1299 echo "$as_me:1299: found $ac_dir/$ac_word" >&5 
    1300 break 
     1688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1689for as_dir in $PATH 
     1690do 
     1691  IFS=$as_save_IFS 
     1692  test -z "$as_dir" && as_dir=. 
     1693  for ac_exec_ext in '' $ac_executable_extensions; do 
     1694  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1695    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
     1696    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1697    break 2 
     1698  fi 
     1699done 
    13011700done 
    13021701 
     
    13051704CC=$ac_cv_prog_CC 
    13061705if test -n "$CC"; then 
    1307   echo "$as_me:1307: result: $CC" >&5 
     1706  echo "$as_me:$LINENO: result: $CC" >&5 
    13081707echo "${ECHO_T}$CC" >&6 
    13091708else 
    1310   echo "$as_me:1310: result: no" >&5 
     1709  echo "$as_me:$LINENO: result: no" >&5 
    13111710echo "${ECHO_T}no" >&6 
    13121711fi 
     
    13211720  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    13221721set dummy $ac_prog; ac_word=$2 
    1323 echo "$as_me:1323: checking for $ac_word" >&5 
     1722echo "$as_me:$LINENO: checking for $ac_word" >&5 
    13241723echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    13251724if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    13291728  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    13301729else 
    1331   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1332 ac_dummy="$PATH" 
    1333 for ac_dir in $ac_dummy; do 
    1334   IFS=$ac_save_IFS 
    1335   test -z "$ac_dir" && ac_dir=. 
    1336   $as_executable_p "$ac_dir/$ac_word" || continue 
    1337 ac_cv_prog_ac_ct_CC="$ac_prog" 
    1338 echo "$as_me:1338: found $ac_dir/$ac_word" >&5 
    1339 break 
     1730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1731for as_dir in $PATH 
     1732do 
     1733  IFS=$as_save_IFS 
     1734  test -z "$as_dir" && as_dir=. 
     1735  for ac_exec_ext in '' $ac_executable_extensions; do 
     1736  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1737    ac_cv_prog_ac_ct_CC="$ac_prog" 
     1738    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1739    break 2 
     1740  fi 
     1741done 
    13401742done 
    13411743 
     
    13441746ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    13451747if test -n "$ac_ct_CC"; then 
    1346   echo "$as_me:1346: result: $ac_ct_CC" >&5 
     1748  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    13471749echo "${ECHO_T}$ac_ct_CC" >&6 
    13481750else 
    1349   echo "$as_me:1349: result: no" >&5 
     1751  echo "$as_me:$LINENO: result: no" >&5 
    13501752echo "${ECHO_T}no" >&6 
    13511753fi 
     
    13591761fi 
    13601762 
    1361 test -z "$CC" && { { echo "$as_me:1361: error: no acceptable cc found in \$PATH" >&5 
    1362 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 
     1763 
     1764test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     1765See \`config.log' for more details." >&5 
     1766echo "$as_me: error: no acceptable C compiler found in \$PATH 
     1767See \`config.log' for more details." >&2;} 
    13631768   { (exit 1); exit 1; }; } 
    13641769 
    13651770# Provide some information about the compiler. 
    1366 echo "$as_me:1366:" \ 
     1771echo "$as_me:$LINENO:" \ 
    13671772     "checking for C compiler version" >&5 
    13681773ac_compiler=`set X $ac_compile; echo $2` 
    1369 { (eval echo "$as_me:1369: \"$ac_compiler --version </dev/null >&5\"") >&5 
     1774{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
    13701775  (eval $ac_compiler --version </dev/null >&5) 2>&5 
    13711776  ac_status=$? 
    1372   echo "$as_me:1372: \$? = $ac_status" >&5 
     1777  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13731778  (exit $ac_status); } 
    1374 { (eval echo "$as_me:1374: \"$ac_compiler -v </dev/null >&5\"") >&5 
     1779{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
    13751780  (eval $ac_compiler -v </dev/null >&5) 2>&5 
    13761781  ac_status=$? 
    1377   echo "$as_me:1377: \$? = $ac_status" >&5 
     1782  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13781783  (exit $ac_status); } 
    1379 { (eval echo "$as_me:1379: \"$ac_compiler -V </dev/null >&5\"") >&5 
     1784{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
    13801785  (eval $ac_compiler -V </dev/null >&5) 2>&5 
    13811786  ac_status=$? 
    1382   echo "$as_me:1382: \$? = $ac_status" >&5 
     1787  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13831788  (exit $ac_status); } 
    13841789 
    13851790cat >conftest.$ac_ext <<_ACEOF 
    1386 #line 1386 "configure" 
    1387 #include "confdefs.h" 
     1791/* confdefs.h.  */ 
     1792_ACEOF 
     1793cat confdefs.h >>conftest.$ac_ext 
     1794cat >>conftest.$ac_ext <<_ACEOF 
     1795/* end confdefs.h.  */ 
    13881796 
    13891797int 
     
    13961804_ACEOF 
    13971805ac_clean_files_save=$ac_clean_files 
    1398 ac_clean_files="$ac_clean_files a.out a.exe" 
     1806ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    13991807# Try to create an executable without -o first, disregard a.out. 
    14001808# It will help us diagnose broken compilers, and finding out an intuition 
    14011809# of exeext. 
    1402 echo "$as_me:1402: checking for C compiler default output" >&5 
    1403 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 
     1810echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
     1811echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 
    14041812ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    1405 if { (eval echo "$as_me:1405: \"$ac_link_default\"") >&5 
     1813if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
    14061814  (eval $ac_link_default) 2>&5 
    14071815  ac_status=$? 
    1408   echo "$as_me:1408: \$? = $ac_status" >&5 
     1816  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14091817  (exit $ac_status); }; then 
    14101818  # Find the output, starting from the most likely.  This scheme is 
    14111819# not robust to junk in `.', hence go to wildcards (a.*) only as a last 
    14121820# resort. 
    1413 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 
    1414                 ls a.out conftest 2>/dev/null; 
    1415                 ls a.* conftest.* 2>/dev/null`; do 
     1821 
     1822# Be careful to initialize this variable, since it used to be cached. 
     1823# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
     1824ac_cv_exeext= 
     1825# b.out is created by i960 compilers. 
     1826for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 
     1827do 
     1828  test -f "$ac_file" || continue 
    14161829  case $ac_file in 
    1417     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 
    1418     a.out ) # We found the default executable, but exeext='' is most 
    1419             # certainly right. 
    1420             break;; 
    1421     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    1422           # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 
    1423           export ac_cv_exeext 
    1424           break;; 
    1425     * ) break;; 
     1830    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 
     1831        ;; 
     1832    conftest.$ac_ext ) 
     1833        # This is the source file. 
     1834        ;; 
     1835    [ab].out ) 
     1836        # We found the default executable, but exeext='' is most 
     1837        # certainly right. 
     1838        break;; 
     1839    *.* ) 
     1840        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1841        # FIXME: I believe we export ac_cv_exeext for Libtool, 
     1842        # but it would be cool to find out if it's true.  Does anybody 
     1843        # maintain Libtool? --akim. 
     1844        export ac_cv_exeext 
     1845        break;; 
     1846    * ) 
     1847        break;; 
    14261848  esac 
    14271849done 
    14281850else 
    14291851  echo "$as_me: failed program was:" >&5 
    1430 cat conftest.$ac_ext >&5 
    1431 { { echo "$as_me:1431: error: C compiler cannot create executables" >&5 
    1432 echo "$as_me: error: C compiler cannot create executables" >&2;} 
     1852sed 's/^/| /' conftest.$ac_ext >&5 
     1853 
     1854{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 
     1855See \`config.log' for more details." >&5 
     1856echo "$as_me: error: C compiler cannot create executables 
     1857See \`config.log' for more details." >&2;} 
    14331858   { (exit 77); exit 77; }; } 
    14341859fi 
    14351860 
    14361861ac_exeext=$ac_cv_exeext 
    1437 echo "$as_me:1437: result: $ac_file" >&5 
     1862echo "$as_me:$LINENO: result: $ac_file" >&5 
    14381863echo "${ECHO_T}$ac_file" >&6 
    14391864 
    14401865# Check the compiler produces executables we can run.  If not, either 
    14411866# the compiler is broken, or we cross compile. 
    1442 echo "$as_me:1442: checking whether the C compiler works" >&5 
     1867echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    14431868echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 
    14441869# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     
    14461871if test "$cross_compiling" != yes; then 
    14471872  if { ac_try='./$ac_file' 
    1448   { (eval echo "$as_me:1448: \"$ac_try\"") >&5 
    1449   (eval $ac_try) 2>&5 
    1450   ac_status=$? 
    1451   echo "$as_me:1451: \$? = $ac_status" >&5 
     1873  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1874  (eval $ac_try) 2>&5 
     1875  ac_status=$? 
     1876  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14521877  (exit $ac_status); }; }; then 
    14531878    cross_compiling=no 
     
    14561881        cross_compiling=yes 
    14571882    else 
    1458         { { echo "$as_me:1458: error: cannot run C compiled programs. 
    1459 If you meant to cross compile, use \`--host'." >&5 
     1883        { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     1884If you meant to cross compile, use \`--host'. 
     1885See \`config.log' for more details." >&5 
    14601886echo "$as_me: error: cannot run C compiled programs. 
    1461 If you meant to cross compile, use \`--host'." >&2;} 
     1887If you meant to cross compile, use \`--host'. 
     1888See \`config.log' for more details." >&2;} 
    14621889   { (exit 1); exit 1; }; } 
    14631890    fi 
    14641891  fi 
    14651892fi 
    1466 echo "$as_me:1466: result: yes" >&5 
     1893echo "$as_me:$LINENO: result: yes" >&5 
    14671894echo "${ECHO_T}yes" >&6 
    14681895 
    1469 rm -f a.out a.exe conftest$ac_cv_exeext 
     1896rm -f a.out a.exe conftest$ac_cv_exeext b.out 
    14701897ac_clean_files=$ac_clean_files_save 
    14711898# Check the compiler produces executables we can run.  If not, either 
    14721899# the compiler is broken, or we cross compile. 
    1473 echo "$as_me:1473: checking whether we are cross compiling" >&5 
     1900echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    14741901echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
    1475 echo "$as_me:1475: result: $cross_compiling" >&5 
     1902echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    14761903echo "${ECHO_T}$cross_compiling" >&6 
    14771904 
    1478 echo "$as_me:1478: checking for executable suffix" >&5 
    1479 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 
    1480 if { (eval echo "$as_me:1480: \"$ac_link\"") >&5 
     1905echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     1906echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
     1907if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    14811908  (eval $ac_link) 2>&5 
    14821909  ac_status=$? 
    1483   echo "$as_me:1483: \$? = $ac_status" >&5 
     1910  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14841911  (exit $ac_status); }; then 
    14851912  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
     
    14871914# work properly (i.e., refer to `conftest.exe'), while it won't with 
    14881915# `rm'. 
    1489 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 
     1916for ac_file in conftest.exe conftest conftest.*; do 
     1917  test -f "$ac_file" || continue 
    14901918  case $ac_file in 
    1491     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 
     1919    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 
    14921920    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    1493           export ac_cv_exeext 
    1494           break;; 
     1921          export ac_cv_exeext 
     1922          break;; 
    14951923    * ) break;; 
    14961924  esac 
    14971925done 
    14981926else 
    1499   { { echo "$as_me:1499: error: cannot compute EXEEXT: cannot compile and link" >&5 
    1500 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 
     1927  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     1928See \`config.log' for more details." >&5 
     1929echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     1930See \`config.log' for more details." >&2;} 
    15011931   { (exit 1); exit 1; }; } 
    15021932fi 
    15031933 
    15041934rm -f conftest$ac_cv_exeext 
    1505 echo "$as_me:1505: result: $ac_cv_exeext" >&5 
     1935echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    15061936echo "${ECHO_T}$ac_cv_exeext" >&6 
    15071937 
     
    15091939EXEEXT=$ac_cv_exeext 
    15101940ac_exeext=$EXEEXT 
    1511 echo "$as_me:1511: checking for object suffix" >&5 
    1512 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 
     1941echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     1942echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
    15131943if test "${ac_cv_objext+set}" = set; then 
    15141944  echo $ECHO_N "(cached) $ECHO_C" >&6 
    15151945else 
    15161946  cat >conftest.$ac_ext <<_ACEOF 
    1517 #line 1517 "configure" 
    1518 #include "confdefs.h" 
     1947/* confdefs.h.  */ 
     1948_ACEOF 
     1949cat confdefs.h >>conftest.$ac_ext 
     1950cat >>conftest.$ac_ext <<_ACEOF 
     1951/* end confdefs.h.  */ 
    15191952 
    15201953int 
     
    15271960_ACEOF 
    15281961rm -f conftest.o conftest.obj 
    1529 if { (eval echo "$as_me:1529: \"$ac_compile\"") >&5 
     1962if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    15301963  (eval $ac_compile) 2>&5 
    15311964  ac_status=$? 
    1532   echo "$as_me:1532: \$? = $ac_status" >&5 
     1965  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    15331966  (exit $ac_status); }; then 
    15341967  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
    15351968  case $ac_file in 
    1536     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 
     1969    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 
    15371970    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    15381971       break;; 
     
    15411974else 
    15421975  echo "$as_me: failed program was:" >&5 
    1543 cat conftest.$ac_ext >&5 
    1544 { { echo "$as_me:1544: error: cannot compute OBJEXT: cannot compile" >&5 
    1545 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 
     1976sed 's/^/| /' conftest.$ac_ext >&5 
     1977 
     1978{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     1979See \`config.log' for more details." >&5 
     1980echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     1981See \`config.log' for more details." >&2;} 
    15461982   { (exit 1); exit 1; }; } 
    15471983fi 
     
    15491985rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    15501986fi 
    1551 echo "$as_me:1551: result: $ac_cv_objext" >&5 
     1987echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    15521988echo "${ECHO_T}$ac_cv_objext" >&6 
    15531989OBJEXT=$ac_cv_objext 
    15541990ac_objext=$OBJEXT 
    1555 echo "$as_me:1555: checking whether we are using the GNU C compiler" >&5 
     1991echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    15561992echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
    15571993if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     
    15591995else 
    15601996  cat >conftest.$ac_ext <<_ACEOF 
    1561 #line 1561 "configure" 
    1562 #include "confdefs.h" 
     1997/* confdefs.h.  */ 
     1998_ACEOF 
     1999cat confdefs.h >>conftest.$ac_ext 
     2000cat >>conftest.$ac_ext <<_ACEOF 
     2001/* end confdefs.h.  */ 
    15632002 
    15642003int 
     
    15742013_ACEOF 
    15752014rm -f conftest.$ac_objext 
    1576 if { (eval echo "$as_me:1576: \"$ac_compile\"") >&5 
    1577   (eval $ac_compile) 2>&5 
    1578   ac_status=$? 
    1579   echo "$as_me:1579: \$? = $ac_status" >&5 
     2015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2016  (eval $ac_compile) 2>conftest.er1 
     2017  ac_status=$? 
     2018  grep -v '^ *+' conftest.er1 >conftest.err 
     2019  rm -f conftest.er1 
     2020  cat conftest.err >&5 
     2021  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    15802022  (exit $ac_status); } && 
    1581          { ac_try='test -s conftest.$ac_objext' 
    1582   { (eval echo "$as_me:1582: \"$ac_try\"") >&5 
    1583   (eval $ac_try) 2>&5 
    1584   ac_status=$? 
    1585   echo "$as_me:1585: \$? = $ac_status" >&5 
     2023         { ac_try='test -z "$ac_c_werror_flag" 
     2024                         || test ! -s conftest.err' 
     2025  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2026  (eval $ac_try) 2>&5 
     2027  ac_status=$? 
     2028  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2029  (exit $ac_status); }; } && 
     2030         { ac_try='test -s conftest.$ac_objext' 
     2031  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2032  (eval $ac_try) 2>&5 
     2033  ac_status=$? 
     2034  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    15862035  (exit $ac_status); }; }; then 
    15872036  ac_compiler_gnu=yes 
    15882037else 
    15892038  echo "$as_me: failed program was:" >&5 
    1590 cat conftest.$ac_ext >&5 
     2039sed 's/^/| /' conftest.$ac_ext >&5 
     2040 
    15912041ac_compiler_gnu=no 
    15922042fi 
    1593 rm -f conftest.$ac_objext conftest.$ac_ext 
     2043rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    15942044ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    15952045 
    15962046fi 
    1597 echo "$as_me:1597: result: $ac_cv_c_compiler_gnu" >&5 
     2047echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    15982048echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
    15992049GCC=`test $ac_compiler_gnu = yes && echo yes` 
     
    16012051ac_save_CFLAGS=$CFLAGS 
    16022052CFLAGS="-g" 
    1603 echo "$as_me:1603: checking whether $CC accepts -g" >&5 
     2053echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    16042054echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
    16052055if test "${ac_cv_prog_cc_g+set}" = set; then 
     
    16072057else 
    16082058  cat >conftest.$ac_ext <<_ACEOF 
    1609 #line 1609 "configure" 
    1610 #include "confdefs.h" 
     2059/* confdefs.h.  */ 
     2060_ACEOF 
     2061cat confdefs.h >>conftest.$ac_ext 
     2062cat >>conftest.$ac_ext <<_ACEOF 
     2063/* end confdefs.h.  */ 
    16112064 
    16122065int 
     
    16192072_ACEOF 
    16202073rm -f conftest.$ac_objext 
    1621 if { (eval echo "$as_me:1621: \"$ac_compile\"") >&5 
    1622   (eval $ac_compile) 2>&5 
    1623   ac_status=$? 
    1624   echo "$as_me:1624: \$? = $ac_status" >&5 
     2074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2075  (eval $ac_compile) 2>conftest.er1 
     2076  ac_status=$? 
     2077  grep -v '^ *+' conftest.er1 >conftest.err 
     2078  rm -f conftest.er1 
     2079  cat conftest.err >&5 
     2080  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16252081  (exit $ac_status); } && 
    1626          { ac_try='test -s conftest.$ac_objext' 
    1627   { (eval echo "$as_me:1627: \"$ac_try\"") >&5 
    1628   (eval $ac_try) 2>&5 
    1629   ac_status=$? 
    1630   echo "$as_me:1630: \$? = $ac_status" >&5 
     2082         { ac_try='test -z "$ac_c_werror_flag" 
     2083                         || test ! -s conftest.err' 
     2084  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2085  (eval $ac_try) 2>&5 
     2086  ac_status=$? 
     2087  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2088  (exit $ac_status); }; } && 
     2089         { ac_try='test -s conftest.$ac_objext' 
     2090  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2091  (eval $ac_try) 2>&5 
     2092  ac_status=$? 
     2093  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16312094  (exit $ac_status); }; }; then 
    16322095  ac_cv_prog_cc_g=yes 
    16332096else 
    16342097  echo "$as_me: failed program was:" >&5 
    1635 cat conftest.$ac_ext >&5 
     2098sed 's/^/| /' conftest.$ac_ext >&5 
     2099 
    16362100ac_cv_prog_cc_g=no 
    16372101fi 
    1638 rm -f conftest.$ac_objext conftest.$ac_ext 
    1639 fi 
    1640 echo "$as_me:1640: result: $ac_cv_prog_cc_g" >&5 
     2102rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2103fi 
     2104echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    16412105echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
    16422106if test "$ac_test_CFLAGS" = set; then 
     
    16552119  fi 
    16562120fi 
     2121echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
     2122echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
     2123if test "${ac_cv_prog_cc_stdc+set}" = set; then 
     2124  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2125else 
     2126  ac_cv_prog_cc_stdc=no 
     2127ac_save_CC=$CC 
     2128cat >conftest.$ac_ext <<_ACEOF 
     2129/* confdefs.h.  */ 
     2130_ACEOF 
     2131cat confdefs.h >>conftest.$ac_ext 
     2132cat >>conftest.$ac_ext <<_ACEOF 
     2133/* end confdefs.h.  */ 
     2134#include <stdarg.h> 
     2135#include <stdio.h> 
     2136#include <sys/types.h> 
     2137#include <sys/stat.h> 
     2138/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
     2139struct buf { int x; }; 
     2140FILE * (*rcsopen) (struct buf *, struct stat *, int); 
     2141static char *e (p, i) 
     2142     char **p; 
     2143     int i; 
     2144{ 
     2145  return p[i]; 
     2146} 
     2147static char *f (char * (*g) (char **, int), char **p, ...) 
     2148{ 
     2149  char *s; 
     2150  va_list v; 
     2151  va_start (v,p); 
     2152  s = g (p, va_arg (v,int)); 
     2153  va_end (v); 
     2154  return s; 
     2155} 
     2156 
     2157/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has 
     2158   function prototypes and stuff, but not '\xHH' hex character constants. 
     2159   These don't provoke an error unfortunately, instead are silently treated 
     2160   as 'x'.  The following induces an error, until -std1 is added to get 
     2161   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an 
     2162   array size at least.  It's necessary to write '\x00'==0 to get something 
     2163   that's true only with -std1.  */ 
     2164int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 
     2165 
     2166int test (int i, double x); 
     2167struct s1 {int (*f) (int a);}; 
     2168struct s2 {int (*f) (double a);}; 
     2169int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
     2170int argc; 
     2171char **argv; 
     2172int 
     2173main () 
     2174{ 
     2175return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
     2176  ; 
     2177  return 0; 
     2178} 
     2179_ACEOF 
     2180# Don't try gcc -ansi; that turns off useful extensions and 
     2181# breaks some systems' header files. 
     2182# AIX                   -qlanglvl=ansi 
     2183# Ultrix and OSF/1      -std1 
     2184# HP-UX 10.20 and later -Ae 
     2185# HP-UX older versions  -Aa -D_HPUX_SOURCE 
     2186# SVR4                  -Xc -D__EXTENSIONS__ 
     2187for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
     2188do 
     2189  CC="$ac_save_CC $ac_arg" 
     2190  rm -f conftest.$ac_objext 
     2191if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2192  (eval $ac_compile) 2>conftest.er1 
     2193  ac_status=$? 
     2194  grep -v '^ *+' conftest.er1 >conftest.err 
     2195  rm -f conftest.er1 
     2196  cat conftest.err >&5 
     2197  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2198  (exit $ac_status); } && 
     2199         { ac_try='test -z "$ac_c_werror_flag" 
     2200                         || test ! -s conftest.err' 
     2201  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2202  (eval $ac_try) 2>&5 
     2203  ac_status=$? 
     2204  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2205  (exit $ac_status); }; } && 
     2206         { ac_try='test -s conftest.$ac_objext' 
     2207  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2208  (eval $ac_try) 2>&5 
     2209  ac_status=$? 
     2210  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2211  (exit $ac_status); }; }; then 
     2212  ac_cv_prog_cc_stdc=$ac_arg 
     2213break 
     2214else 
     2215  echo "$as_me: failed program was:" >&5 
     2216sed 's/^/| /' conftest.$ac_ext >&5 
     2217 
     2218fi 
     2219rm -f conftest.err conftest.$ac_objext 
     2220done 
     2221rm -f conftest.$ac_ext conftest.$ac_objext 
     2222CC=$ac_save_CC 
     2223 
     2224fi 
     2225 
     2226case "x$ac_cv_prog_cc_stdc" in 
     2227  x|xno) 
     2228    echo "$as_me:$LINENO: result: none needed" >&5 
     2229echo "${ECHO_T}none needed" >&6 ;; 
     2230  *) 
     2231    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
     2232echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
     2233    CC="$CC $ac_cv_prog_cc_stdc" ;; 
     2234esac 
     2235 
    16572236# Some people use a C++ compiler to compile C.  Since we use `exit', 
    16582237# in C++ we need to declare it.  In case someone uses the same compiler 
     
    16652244_ACEOF 
    16662245rm -f conftest.$ac_objext 
    1667 if { (eval echo "$as_me:1667: \"$ac_compile\"") >&5 
    1668   (eval $ac_compile) 2>&5 
    1669   ac_status=$? 
    1670   echo "$as_me:1670: \$? = $ac_status" >&5 
     2246if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2247  (eval $ac_compile) 2>conftest.er1 
     2248  ac_status=$? 
     2249  grep -v '^ *+' conftest.er1 >conftest.err 
     2250  rm -f conftest.er1 
     2251  cat conftest.err >&5 
     2252  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16712253  (exit $ac_status); } && 
    1672          { ac_try='test -s conftest.$ac_objext' 
    1673   { (eval echo "$as_me:1673: \"$ac_try\"") >&5 
    1674   (eval $ac_try) 2>&5 
    1675   ac_status=$? 
    1676   echo "$as_me:1676: \$? = $ac_status" >&5 
     2254         { ac_try='test -z "$ac_c_werror_flag" 
     2255                         || test ! -s conftest.err' 
     2256  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2257  (eval $ac_try) 2>&5 
     2258  ac_status=$? 
     2259  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2260  (exit $ac_status); }; } && 
     2261         { ac_try='test -s conftest.$ac_objext' 
     2262  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2263  (eval $ac_try) 2>&5 
     2264  ac_status=$? 
     2265  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16772266  (exit $ac_status); }; }; then 
    16782267  for ac_declaration in \ 
    1679    ''\ 
    1680    '#include <stdlib.h>' \ 
     2268   '' \ 
    16812269   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
    16822270   'extern "C" void std::exit (int); using std::exit;' \ 
     
    16862274do 
    16872275  cat >conftest.$ac_ext <<_ACEOF 
    1688 #line 1688 "configure" 
    1689 #include "confdefs.h" 
     2276/* confdefs.h.  */ 
     2277_ACEOF 
     2278cat confdefs.h >>conftest.$ac_ext 
     2279cat >>conftest.$ac_ext <<_ACEOF 
     2280/* end confdefs.h.  */ 
     2281$ac_declaration 
    16902282#include <stdlib.h> 
     2283int 
     2284main () 
     2285{ 
     2286exit (42); 
     2287  ; 
     2288  return 0; 
     2289} 
     2290_ACEOF 
     2291rm -f conftest.$ac_objext 
     2292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2293  (eval $ac_compile) 2>conftest.er1 
     2294  ac_status=$? 
     2295  grep -v '^ *+' conftest.er1 >conftest.err 
     2296  rm -f conftest.er1 
     2297  cat conftest.err >&5 
     2298  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2299  (exit $ac_status); } && 
     2300         { ac_try='test -z "$ac_c_werror_flag" 
     2301                         || test ! -s conftest.err' 
     2302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2303  (eval $ac_try) 2>&5 
     2304  ac_status=$? 
     2305  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2306  (exit $ac_status); }; } && 
     2307         { ac_try='test -s conftest.$ac_objext' 
     2308  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2309  (eval $ac_try) 2>&5 
     2310  ac_status=$? 
     2311  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2312  (exit $ac_status); }; }; then 
     2313  : 
     2314else 
     2315  echo "$as_me: failed program was:" >&5 
     2316sed 's/^/| /' conftest.$ac_ext >&5 
     2317 
     2318continue 
     2319fi 
     2320rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2321  cat >conftest.$ac_ext <<_ACEOF 
     2322/* confdefs.h.  */ 
     2323_ACEOF 
     2324cat confdefs.h >>conftest.$ac_ext 
     2325cat >>conftest.$ac_ext <<_ACEOF 
     2326/* end confdefs.h.  */ 
    16912327$ac_declaration 
    16922328int 
     
    16992335_ACEOF 
    17002336rm -f conftest.$ac_objext 
    1701 if { (eval echo "$as_me:1701: \"$ac_compile\"") >&5 
    1702   (eval $ac_compile) 2>&5 
    1703   ac_status=$? 
    1704   echo "$as_me:1704: \$? = $ac_status" >&5 
     2337if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2338  (eval $ac_compile) 2>conftest.er1 
     2339  ac_status=$? 
     2340  grep -v '^ *+' conftest.er1 >conftest.err 
     2341  rm -f conftest.er1 
     2342  cat conftest.err >&5 
     2343  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    17052344  (exit $ac_status); } && 
    1706          { ac_try='test -s conftest.$ac_objext' 
    1707   { (eval echo "$as_me:1707: \"$ac_try\"") >&5 
    1708   (eval $ac_try) 2>&5 
    1709   ac_status=$? 
    1710   echo "$as_me:1710: \$? = $ac_status" >&5 
    1711   (exit $ac_status); }; }; then 
    1712   : 
    1713 else 
    1714   echo "$as_me: failed program was:" >&5 
    1715 cat conftest.$ac_ext >&5 
    1716 continue 
    1717 fi 
    1718 rm -f conftest.$ac_objext conftest.$ac_ext 
    1719   cat >conftest.$ac_ext <<_ACEOF 
    1720 #line 1720 "configure" 
    1721 #include "confdefs.h" 
    1722 $ac_declaration 
    1723 int 
    1724 main () 
    1725 { 
    1726 exit (42); 
    1727   ; 
    1728   return 0; 
    1729 } 
    1730 _ACEOF 
    1731 rm -f conftest.$ac_objext 
    1732 if { (eval echo "$as_me:1732: \"$ac_compile\"") >&5 
    1733   (eval $ac_compile) 2>&5 
    1734   ac_status=$? 
    1735   echo "$as_me:1735: \$? = $ac_status" >&5 
    1736   (exit $ac_status); } && 
    1737          { ac_try='test -s conftest.$ac_objext' 
    1738   { (eval echo "$as_me:1738: \"$ac_try\"") >&5 
    1739   (eval $ac_try) 2>&5 
    1740   ac_status=$? 
    1741   echo "$as_me:1741: \$? = $ac_status" >&5 
     2345         { ac_try='test -z "$ac_c_werror_flag" 
     2346                         || test ! -s conftest.err' 
     2347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2348  (eval $ac_try) 2>&5 
     2349  ac_status=$? 
     2350  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2351  (exit $ac_status); }; } && 
     2352         { ac_try='test -s conftest.$ac_objext' 
     2353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2354  (eval $ac_try) 2>&5 
     2355  ac_status=$? 
     2356  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    17422357  (exit $ac_status); }; }; then 
    17432358  break 
    17442359else 
    17452360  echo "$as_me: failed program was:" >&5 
    1746 cat conftest.$ac_ext >&5 
    1747 fi 
    1748 rm -f conftest.$ac_objext conftest.$ac_ext 
     2361sed 's/^/| /' conftest.$ac_ext >&5 
     2362 
     2363fi 
     2364rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    17492365done 
    17502366rm -f conftest* 
     
    17572373else 
    17582374  echo "$as_me: failed program was:" >&5 
    1759 cat conftest.$ac_ext >&5 
    1760 fi 
    1761 rm -f conftest.$ac_objext conftest.$ac_ext 
     2375sed 's/^/| /' conftest.$ac_ext >&5 
     2376 
     2377fi 
     2378rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    17622379ac_ext=c 
    17632380ac_cpp='$CPP $CPPFLAGS' 
     
    17762393    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    17772394set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    1778 echo "$as_me:1778: checking for $ac_word" >&5 
     2395echo "$as_me:$LINENO: checking for $ac_word" >&5 
    17792396echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    17802397if test "${ac_cv_prog_CXX+set}" = set; then 
     
    17842401  ac_cv_prog_CXX="$CXX" # Let the user override the test. 
    17852402else 
    1786   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1787 ac_dummy="$PATH" 
    1788 for ac_dir in $ac_dummy; do 
    1789   IFS=$ac_save_IFS 
    1790   test -z "$ac_dir" && ac_dir=. 
    1791   $as_executable_p "$ac_dir/$ac_word" || continue 
    1792 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    1793 echo "$as_me:1793: found $ac_dir/$ac_word" >&5 
    1794 break 
     2403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2404for as_dir in $PATH 
     2405do 
     2406  IFS=$as_save_IFS 
     2407  test -z "$as_dir" && as_dir=. 
     2408  for ac_exec_ext in '' $ac_executable_extensions; do 
     2409  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2410    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
     2411    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2412    break 2 
     2413  fi 
     2414done 
    17952415done 
    17962416 
     
    17992419CXX=$ac_cv_prog_CXX 
    18002420if test -n "$CXX"; then 
    1801   echo "$as_me:1801: result: $CXX" >&5 
     2421  echo "$as_me:$LINENO: result: $CXX" >&5 
    18022422echo "${ECHO_T}$CXX" >&6 
    18032423else 
    1804   echo "$as_me:1804: result: no" >&5 
     2424  echo "$as_me:$LINENO: result: no" >&5 
    18052425echo "${ECHO_T}no" >&6 
    18062426fi 
     
    18152435  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    18162436set dummy $ac_prog; ac_word=$2 
    1817 echo "$as_me:1817: checking for $ac_word" >&5 
     2437echo "$as_me:$LINENO: checking for $ac_word" >&5 
    18182438echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    18192439if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     
    18232443  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
    18242444else 
    1825   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1826 ac_dummy="$PATH" 
    1827 for ac_dir in $ac_dummy; do 
    1828   IFS=$ac_save_IFS 
    1829   test -z "$ac_dir" && ac_dir=. 
    1830   $as_executable_p "$ac_dir/$ac_word" || continue 
    1831 ac_cv_prog_ac_ct_CXX="$ac_prog" 
    1832 echo "$as_me:1832: found $ac_dir/$ac_word" >&5 
    1833 break 
     2445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2446for as_dir in $PATH 
     2447do 
     2448  IFS=$as_save_IFS 
     2449  test -z "$as_dir" && as_dir=. 
     2450  for ac_exec_ext in '' $ac_executable_extensions; do 
     2451  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2452    ac_cv_prog_ac_ct_CXX="$ac_prog" 
     2453    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2454    break 2 
     2455  fi 
     2456done 
    18342457done 
    18352458 
     
    18382461ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    18392462if test -n "$ac_ct_CXX"; then 
    1840   echo "$as_me:1840: result: $ac_ct_CXX" >&5 
     2463  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    18412464echo "${ECHO_T}$ac_ct_CXX" >&6 
    18422465else 
    1843   echo "$as_me:1843: result: no" >&5 
     2466  echo "$as_me:$LINENO: result: no" >&5 
    18442467echo "${ECHO_T}no" >&6 
    18452468fi 
     
    18522475fi 
    18532476 
     2477 
    18542478# Provide some information about the compiler. 
    1855 echo "$as_me:1855:" \ 
     2479echo "$as_me:$LINENO:" \ 
    18562480     "checking for C++ compiler version" >&5 
    18572481ac_compiler=`set X $ac_compile; echo $2` 
    1858 { (eval echo "$as_me:1858: \"$ac_compiler --version </dev/null >&5\"") >&5 
     2482{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
    18592483  (eval $ac_compiler --version </dev/null >&5) 2>&5 
    18602484  ac_status=$? 
    1861   echo "$as_me:1861: \$? = $ac_status" >&5 
     2485  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18622486  (exit $ac_status); } 
    1863 { (eval echo "$as_me:1863: \"$ac_compiler -v </dev/null >&5\"") >&5 
     2487{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
    18642488  (eval $ac_compiler -v </dev/null >&5) 2>&5 
    18652489  ac_status=$? 
    1866   echo "$as_me:1866: \$? = $ac_status" >&5 
     2490  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18672491  (exit $ac_status); } 
    1868 { (eval echo "$as_me:1868: \"$ac_compiler -V </dev/null >&5\"") >&5 
     2492{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
    18692493  (eval $ac_compiler -V </dev/null >&5) 2>&5 
    18702494  ac_status=$? 
    1871   echo "$as_me:1871: \$? = $ac_status" >&5 
     2495  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18722496  (exit $ac_status); } 
    18732497 
    1874 echo "$as_me:1874: checking whether we are using the GNU C++ compiler" >&5 
     2498echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    18752499echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 
    18762500if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     
    18782502else 
    18792503  cat >conftest.$ac_ext <<_ACEOF 
    1880 #line 1880 "configure" 
    1881 #include "confdefs.h" 
     2504/* confdefs.h.  */ 
     2505_ACEOF 
     2506cat confdefs.h >>conftest.$ac_ext 
     2507cat >>conftest.$ac_ext <<_ACEOF 
     2508/* end confdefs.h.  */ 
    18822509 
    18832510int 
     
    18932520_ACEOF 
    18942521rm -f conftest.$ac_objext 
    1895 if { (eval echo "$as_me:1895: \"$ac_compile\"") >&5 
    1896   (eval $ac_compile) 2>&5 
    1897   ac_status=$? 
    1898   echo "$as_me:1898: \$? = $ac_status" >&5 
     2522if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2523  (eval $ac_compile) 2>conftest.er1 
     2524  ac_status=$? 
     2525  grep -v '^ *+' conftest.er1 >conftest.err 
     2526  rm -f conftest.er1 
     2527  cat conftest.err >&5 
     2528  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18992529  (exit $ac_status); } && 
    1900          { ac_try='test -s conftest.$ac_objext' 
    1901   { (eval echo "$as_me:1901: \"$ac_try\"") >&5 
    1902   (eval $ac_try) 2>&5 
    1903   ac_status=$? 
    1904   echo "$as_me:1904: \$? = $ac_status" >&5 
     2530         { ac_try='test -z "$ac_cxx_werror_flag" 
     2531                         || test ! -s conftest.err' 
     2532  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2533  (eval $ac_try) 2>&5 
     2534  ac_status=$? 
     2535  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2536  (exit $ac_status); }; } && 
     2537         { ac_try='test -s conftest.$ac_objext' 
     2538  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2539  (eval $ac_try) 2>&5 
     2540  ac_status=$? 
     2541  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19052542  (exit $ac_status); }; }; then 
    19062543  ac_compiler_gnu=yes 
    19072544else 
    19082545  echo "$as_me: failed program was:" >&5 
    1909 cat conftest.$ac_ext >&5 
     2546sed 's/^/| /' conftest.$ac_ext >&5 
     2547 
    19102548ac_compiler_gnu=no 
    19112549fi 
    1912 rm -f conftest.$ac_objext conftest.$ac_ext 
     2550rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    19132551ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    19142552 
    19152553fi 
    1916 echo "$as_me:1916: result: $ac_cv_cxx_compiler_gnu" >&5 
     2554echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    19172555echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 
    19182556GXX=`test $ac_compiler_gnu = yes && echo yes` 
     
    19202558ac_save_CXXFLAGS=$CXXFLAGS 
    19212559CXXFLAGS="-g" 
    1922 echo "$as_me:1922: checking whether $CXX accepts -g" >&5 
     2560echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    19232561echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 
    19242562if test "${ac_cv_prog_cxx_g+set}" = set; then 
     
    19262564else 
    19272565  cat >conftest.$ac_ext <<_ACEOF 
    1928 #line 1928 "configure" 
    1929 #include "confdefs.h" 
     2566/* confdefs.h.  */ 
     2567_ACEOF 
     2568cat confdefs.h >>conftest.$ac_ext 
     2569cat >>conftest.$ac_ext <<_ACEOF 
     2570/* end confdefs.h.  */ 
    19302571 
    19312572int 
     
    19382579_ACEOF 
    19392580rm -f conftest.$ac_objext 
    1940 if { (eval echo "$as_me:1940: \"$ac_compile\"") >&5 
    1941   (eval $ac_compile) 2>&5 
    1942   ac_status=$? 
    1943   echo "$as_me:1943: \$? = $ac_status" >&5 
     2581if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2582  (eval $ac_compile) 2>conftest.er1 
     2583  ac_status=$? 
     2584  grep -v '^ *+' conftest.er1 >conftest.err 
     2585  rm -f conftest.er1 
     2586  cat conftest.err >&5 
     2587  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19442588  (exit $ac_status); } && 
    1945          { ac_try='test -s conftest.$ac_objext' 
    1946   { (eval echo "$as_me:1946: \"$ac_try\"") >&5 
    1947   (eval $ac_try) 2>&5 
    1948   ac_status=$? 
    1949   echo "$as_me:1949: \$? = $ac_status" >&5 
     2589         { ac_try='test -z "$ac_cxx_werror_flag" 
     2590                         || test ! -s conftest.err' 
     2591  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2592  (eval $ac_try) 2>&5 
     2593  ac_status=$? 
     2594  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2595  (exit $ac_status); }; } && 
     2596         { ac_try='test -s conftest.$ac_objext' 
     2597  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2598  (eval $ac_try) 2>&5 
     2599  ac_status=$? 
     2600  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19502601  (exit $ac_status); }; }; then 
    19512602  ac_cv_prog_cxx_g=yes 
    19522603else 
    19532604  echo "$as_me: failed program was:" >&5 
    1954 cat conftest.$ac_ext >&5 
     2605sed 's/^/| /' conftest.$ac_ext >&5 
     2606 
    19552607ac_cv_prog_cxx_g=no 
    19562608fi 
    1957 rm -f conftest.$ac_objext conftest.$ac_ext 
    1958 fi 
    1959 echo "$as_me:1959: result: $ac_cv_prog_cxx_g" >&5 
     2609rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2610fi 
     2611echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    19602612echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 
    19612613if test "$ac_test_CXXFLAGS" = set; then 
     
    19752627fi 
    19762628for ac_declaration in \ 
    1977    ''\ 
    1978    '#include <stdlib.h>' \ 
     2629   '' \ 
    19792630   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
    19802631   'extern "C" void std::exit (int); using std::exit;' \ 
     
    19842635do 
    19852636  cat >conftest.$ac_ext <<_ACEOF 
    1986 #line 1986 "configure" 
    1987 #include "confdefs.h" 
     2637/* confdefs.h.  */ 
     2638_ACEOF 
     2639cat confdefs.h >>conftest.$ac_ext 
     2640cat >>conftest.$ac_ext <<_ACEOF 
     2641/* end confdefs.h.  */ 
     2642$ac_declaration 
    19882643#include <stdlib.h> 
     2644int 
     2645main () 
     2646{ 
     2647exit (42); 
     2648  ; 
     2649  return 0; 
     2650} 
     2651_ACEOF 
     2652rm -f conftest.$ac_objext 
     2653if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2654  (eval $ac_compile) 2>conftest.er1 
     2655  ac_status=$? 
     2656  grep -v '^ *+' conftest.er1 >conftest.err 
     2657  rm -f conftest.er1 
     2658  cat conftest.err >&5 
     2659  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2660  (exit $ac_status); } && 
     2661         { ac_try='test -z "$ac_cxx_werror_flag" 
     2662                         || test ! -s conftest.err' 
     2663  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2664  (eval $ac_try) 2>&5 
     2665  ac_status=$? 
     2666  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2667  (exit $ac_status); }; } && 
     2668         { ac_try='test -s conftest.$ac_objext' 
     2669  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2670  (eval $ac_try) 2>&5 
     2671  ac_status=$? 
     2672  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2673  (exit $ac_status); }; }; then 
     2674  : 
     2675else 
     2676  echo "$as_me: failed program was:" >&5 
     2677sed 's/^/| /' conftest.$ac_ext >&5 
     2678 
     2679continue 
     2680fi 
     2681rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2682  cat >conftest.$ac_ext <<_ACEOF 
     2683/* confdefs.h.  */ 
     2684_ACEOF 
     2685cat confdefs.h >>conftest.$ac_ext 
     2686cat >>conftest.$ac_ext <<_ACEOF 
     2687/* end confdefs.h.  */ 
    19892688$ac_declaration 
    19902689int 
     
    19972696_ACEOF 
    19982697rm -f conftest.$ac_objext 
    1999 if { (eval echo "$as_me:1999: \"$ac_compile\"") >&5 
    2000   (eval $ac_compile) 2>&5 
    2001   ac_status=$? 
    2002   echo "$as_me:2002: \$? = $ac_status" >&5 
     2698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2699  (eval $ac_compile) 2>conftest.er1 
     2700  ac_status=$? 
     2701  grep -v '^ *+' conftest.er1 >conftest.err 
     2702  rm -f conftest.er1 
     2703  cat conftest.err >&5 
     2704  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20032705  (exit $ac_status); } && 
    2004          { ac_try='test -s conftest.$ac_objext' 
    2005   { (eval echo "$as_me:2005: \"$ac_try\"") >&5 
    2006   (eval $ac_try) 2>&5 
    2007   ac_status=$? 
    2008   echo "$as_me:2008: \$? = $ac_status" >&5 
    2009   (exit $ac_status); }; }; then 
    2010   : 
    2011 else 
    2012   echo "$as_me: failed program was:" >&5 
    2013 cat conftest.$ac_ext >&5 
    2014 continue 
    2015 fi 
    2016 rm -f conftest.$ac_objext conftest.$ac_ext 
    2017   cat >conftest.$ac_ext <<_ACEOF 
    2018 #line 2018 "configure" 
    2019 #include "confdefs.h" 
    2020 $ac_declaration 
    2021 int 
    2022 main () 
    2023 { 
    2024 exit (42); 
    2025   ; 
    2026   return 0; 
    2027 } 
    2028 _ACEOF 
    2029 rm -f conftest.$ac_objext 
    2030 if { (eval echo "$as_me:2030: \"$ac_compile\"") >&5 
    2031   (eval $ac_compile) 2>&5 
    2032   ac_status=$? 
    2033   echo "$as_me:2033: \$? = $ac_status" >&5 
    2034   (exit $ac_status); } && 
    2035          { ac_try='test -s conftest.$ac_objext' 
    2036   { (eval echo "$as_me:2036: \"$ac_try\"") >&5 
    2037   (eval $ac_try) 2>&5 
    2038   ac_status=$? 
    2039   echo "$as_me:2039: \$? = $ac_status" >&5 
     2706         { ac_try='test -z "$ac_cxx_werror_flag" 
     2707                         || test ! -s conftest.err' 
     2708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2709  (eval $ac_try) 2>&5 
     2710  ac_status=$? 
     2711  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2712  (exit $ac_status); }; } && 
     2713         { ac_try='test -s conftest.$ac_objext' 
     2714  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2715  (eval $ac_try) 2>&5 
     2716  ac_status=$? 
     2717  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20402718  (exit $ac_status); }; }; then 
    20412719  break 
    20422720else 
    20432721  echo "$as_me: failed program was:" >&5 
    2044 cat conftest.$ac_ext >&5 
    2045 fi 
    2046 rm -f conftest.$ac_objext conftest.$ac_ext 
     2722sed 's/^/| /' conftest.$ac_ext >&5 
     2723 
     2724fi 
     2725rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    20472726done 
    20482727rm -f conftest* 
     
    20652744ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    20662745 
    2067 echo "$as_me:2067: checking for pthread_create in -lpthread" >&5 
     2746 
     2747 
     2748 
     2749echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    20682750echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 
    20692751if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     
    20732755LIBS="-lpthread  $LIBS" 
    20742756cat >conftest.$ac_ext <<_ACEOF 
    2075 #line 2075 "configure" 
    2076 #include "confdefs.h" 
     2757/* confdefs.h.  */ 
     2758_ACEOF 
     2759cat confdefs.h >>conftest.$ac_ext 
     2760cat >>conftest.$ac_ext <<_ACEOF 
     2761/* end confdefs.h.  */ 
    20772762 
    20782763/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    20922777_ACEOF 
    20932778rm -f conftest.$ac_objext conftest$ac_exeext 
    2094 if { (eval echo "$as_me:2094: \"$ac_link\"") >&5 
    2095   (eval $ac_link) 2>&5 
    2096   ac_status=$? 
    2097   echo "$as_me:2097: \$? = $ac_status" >&5 
     2779if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2780  (eval $ac_link) 2>conftest.er1 
     2781  ac_status=$? 
     2782  grep -v '^ *+' conftest.er1 >conftest.err 
     2783  rm -f conftest.er1 
     2784  cat conftest.err >&5 
     2785  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20982786  (exit $ac_status); } && 
    2099          { ac_try='test -s conftest$ac_exeext' 
    2100   { (eval echo "$as_me:2100: \"$ac_try\"") >&5 
    2101   (eval $ac_try) 2>&5 
    2102   ac_status=$? 
    2103   echo "$as_me:2103: \$? = $ac_status" >&5 
     2787         { ac_try='test -z "$ac_c_werror_flag" 
     2788                         || test ! -s conftest.err' 
     2789  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2790  (eval $ac_try) 2>&5 
     2791  ac_status=$? 
     2792  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2793  (exit $ac_status); }; } && 
     2794         { ac_try='test -s conftest$ac_exeext' 
     2795  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2796  (eval $ac_try) 2>&5 
     2797  ac_status=$? 
     2798  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21042799  (exit $ac_status); }; }; then 
    21052800  ac_cv_lib_pthread_pthread_create=yes 
    21062801else 
    21072802  echo "$as_me: failed program was:" >&5 
    2108 cat conftest.$ac_ext >&5 
     2803sed 's/^/| /' conftest.$ac_ext >&5 
     2804 
    21092805ac_cv_lib_pthread_pthread_create=no 
    21102806fi 
    2111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2807rm -f conftest.err conftest.$ac_objext \ 
     2808      conftest$ac_exeext conftest.$ac_ext 
    21122809LIBS=$ac_check_lib_save_LIBS 
    21132810fi 
    2114 echo "$as_me:2114: result: $ac_cv_lib_pthread_pthread_create" >&5 
     2811echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    21152812echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 
    21162813if test $ac_cv_lib_pthread_pthread_create = yes; then 
    2117   cat >>confdefs.h <<EOF 
     2814  cat >>confdefs.h <<_ACEOF 
    21182815#define HAVE_LIBPTHREAD 1 
    2119 EOF 
     2816_ACEOF 
    21202817 
    21212818  LIBS="-lpthread $LIBS" 
     
    21232820fi 
    21242821 
    2125 echo "$as_me:2125: checking for puts in -lwsock32" >&5 
     2822 
     2823echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
    21262824echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 
    21272825if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
     
    21312829LIBS="-lwsock32  $LIBS" 
    21322830cat >conftest.$ac_ext <<_ACEOF 
    2133 #line 2133 "configure" 
    2134 #include "confdefs.h" 
     2831/* confdefs.h.  */ 
     2832_ACEOF 
     2833cat confdefs.h >>conftest.$ac_ext 
     2834cat >>conftest.$ac_ext <<_ACEOF 
     2835/* end confdefs.h.  */ 
    21352836 
    21362837/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    21502851_ACEOF 
    21512852rm -f conftest.$ac_objext conftest$ac_exeext 
    2152 if { (eval echo "$as_me:2152: \"$ac_link\"") >&5 
    2153   (eval $ac_link) 2>&5 
    2154   ac_status=$? 
    2155   echo "$as_me:2155: \$? = $ac_status" >&5 
     2853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2854  (eval $ac_link) 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 
    21562860  (exit $ac_status); } && 
    2157          { ac_try='test -s conftest$ac_exeext' 
    2158   { (eval echo "$as_me:2158: \"$ac_try\"") >&5 
    2159   (eval $ac_try) 2>&5 
    2160   ac_status=$? 
    2161   echo "$as_me:2161: \$? = $ac_status" >&5 
     2861         { ac_try='test -z "$ac_c_werror_flag" 
     2862                         || test ! -s conftest.err' 
     2863  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2864  (eval $ac_try) 2>&5 
     2865  ac_status=$? 
     2866  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2867  (exit $ac_status); }; } && 
     2868         { ac_try='test -s conftest$ac_exeext' 
     2869  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2870  (eval $ac_try) 2>&5 
     2871  ac_status=$? 
     2872  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21622873  (exit $ac_status); }; }; then 
    21632874  ac_cv_lib_wsock32_puts=yes 
    21642875else 
    21652876  echo "$as_me: failed program was:" >&5 
    2166 cat conftest.$ac_ext >&5 
     2877sed 's/^/| /' conftest.$ac_ext >&5 
     2878 
    21672879ac_cv_lib_wsock32_puts=no 
    21682880fi 
    2169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2881rm -f conftest.err conftest.$ac_objext \ 
     2882      conftest$ac_exeext conftest.$ac_ext 
    21702883LIBS=$ac_check_lib_save_LIBS 
    21712884fi 
    2172 echo "$as_me:2172: result: $ac_cv_lib_wsock32_puts" >&5 
     2885echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
    21732886echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 
    21742887if test $ac_cv_lib_wsock32_puts = yes; then 
    2175   cat >>confdefs.h <<EOF 
     2888  cat >>confdefs.h <<_ACEOF 
    21762889#define HAVE_LIBWSOCK32 1 
    2177 EOF 
     2890_ACEOF 
    21782891 
    21792892  LIBS="-lwsock32 $LIBS" 
     
    21812894fi 
    21822895 
    2183 echo "$as_me:2183: checking for puts in -lws2_32" >&5 
     2896 
     2897echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
    21842898echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 
    21852899if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
     
    21892903LIBS="-lws2_32  $LIBS" 
    21902904cat >conftest.$ac_ext <<_ACEOF 
    2191 #line 2191 "configure" 
    2192 #include "confdefs.h" 
     2905/* confdefs.h.  */ 
     2906_ACEOF 
     2907cat confdefs.h >>conftest.$ac_ext 
     2908cat >>conftest.$ac_ext <<_ACEOF 
     2909/* end confdefs.h.  */ 
    21932910 
    21942911/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    22082925_ACEOF 
    22092926rm -f conftest.$ac_objext conftest$ac_exeext 
    2210 if { (eval echo "$as_me:2210: \"$ac_link\"") >&5 
    2211   (eval $ac_link) 2>&5 
    2212   ac_status=$? 
    2213   echo "$as_me:2213: \$? = $ac_status" >&5 
     2927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2928  (eval $ac_link) 2>conftest.er1 
     2929  ac_status=$? 
     2930  grep -v '^ *+' conftest.er1 >conftest.err 
     2931  rm -f conftest.er1 
     2932  cat conftest.err >&5 
     2933  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22142934  (exit $ac_status); } && 
    2215          { ac_try='test -s conftest$ac_exeext' 
    2216   { (eval echo "$as_me:2216: \"$ac_try\"") >&5 
    2217   (eval $ac_try) 2>&5 
    2218   ac_status=$? 
    2219   echo "$as_me:2219: \$? = $ac_status" >&5 
     2935         { ac_try='test -z "$ac_c_werror_flag" 
     2936                         || test ! -s conftest.err' 
     2937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2938  (eval $ac_try) 2>&5 
     2939  ac_status=$? 
     2940  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2941  (exit $ac_status); }; } && 
     2942         { ac_try='test -s conftest$ac_exeext' 
     2943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2944  (eval $ac_try) 2>&5 
     2945  ac_status=$? 
     2946  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22202947  (exit $ac_status); }; }; then 
    22212948  ac_cv_lib_ws2_32_puts=yes 
    22222949else 
    22232950  echo "$as_me: failed program was:" >&5 
    2224 cat conftest.$ac_ext >&5 
     2951sed 's/^/| /' conftest.$ac_ext >&5 
     2952 
    22252953ac_cv_lib_ws2_32_puts=no 
    22262954fi 
    2227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2955rm -f conftest.err conftest.$ac_objext \ 
     2956      conftest$ac_exeext conftest.$ac_ext 
    22282957LIBS=$ac_check_lib_save_LIBS 
    22292958fi 
    2230 echo "$as_me:2230: result: $ac_cv_lib_ws2_32_puts" >&5 
     2959echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
    22312960echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 
    22322961if test $ac_cv_lib_ws2_32_puts = yes; then 
    2233   cat >>confdefs.h <<EOF 
     2962  cat >>confdefs.h <<_ACEOF 
    22342963#define HAVE_LIBWS2_32 1 
    2235 EOF 
     2964_ACEOF 
    22362965 
    22372966  LIBS="-lws2_32 $LIBS" 
     
    22392968fi 
    22402969 
    2241 echo "$as_me:2241: checking for puts in -lole32" >&5 
     2970 
     2971echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
    22422972echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 
    22432973if test "${ac_cv_lib_ole32_puts+set}" = set; then 
     
    22472977LIBS="-lole32  $LIBS" 
    22482978cat >conftest.$ac_ext <<_ACEOF 
    2249 #line 2249 "configure" 
    2250 #include "confdefs.h" 
     2979/* confdefs.h.  */ 
     2980_ACEOF 
     2981cat confdefs.h >>conftest.$ac_ext 
     2982cat >>conftest.$ac_ext <<_ACEOF 
     2983/* end confdefs.h.  */ 
    22512984 
    22522985/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    22662999_ACEOF 
    22673000rm -f conftest.$ac_objext conftest$ac_exeext 
    2268 if { (eval echo "$as_me:2268: \"$ac_link\"") >&5 
    2269   (eval $ac_link) 2>&5 
    2270   ac_status=$? 
    2271   echo "$as_me:2271: \$? = $ac_status" >&5 
     3001if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3002  (eval $ac_link) 2>conftest.er1 
     3003  ac_status=$? 
     3004  grep -v '^ *+' conftest.er1 >conftest.err 
     3005  rm -f conftest.er1 
     3006  cat conftest.err >&5 
     3007  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22723008  (exit $ac_status); } && 
    2273          { ac_try='test -s conftest$ac_exeext' 
    2274   { (eval echo "$as_me:2274: \"$ac_try\"") >&5 
    2275   (eval $ac_try) 2>&5 
    2276   ac_status=$? 
    2277   echo "$as_me:2277: \$? = $ac_status" >&5 
     3009         { ac_try='test -z "$ac_c_werror_flag" 
     3010                         || test ! -s conftest.err' 
     3011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3012  (eval $ac_try) 2>&5 
     3013  ac_status=$? 
     3014  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3015  (exit $ac_status); }; } && 
     3016         { ac_try='test -s conftest$ac_exeext' 
     3017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3018  (eval $ac_try) 2>&5 
     3019  ac_status=$? 
     3020  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22783021  (exit $ac_status); }; }; then 
    22793022  ac_cv_lib_ole32_puts=yes 
    22803023else 
    22813024  echo "$as_me: failed program was:" >&5 
    2282 cat conftest.$ac_ext >&5 
     3025sed 's/^/| /' conftest.$ac_ext >&5 
     3026 
    22833027ac_cv_lib_ole32_puts=no 
    22843028fi 
    2285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3029rm -f conftest.err conftest.$ac_objext \ 
     3030      conftest$ac_exeext conftest.$ac_ext 
    22863031LIBS=$ac_check_lib_save_LIBS 
    22873032fi 
    2288 echo "$as_me:2288: result: $ac_cv_lib_ole32_puts" >&5 
     3033echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
    22893034echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 
    22903035if test $ac_cv_lib_ole32_puts = yes; then 
    2291   cat >>confdefs.h <<EOF 
     3036  cat >>confdefs.h <<_ACEOF 
    22923037#define HAVE_LIBOLE32 1 
    2293 EOF 
     3038_ACEOF 
    22943039 
    22953040  LIBS="-lole32 $LIBS" 
     
    22973042fi 
    22983043 
    2299 echo "$as_me:2299: checking for puts in -lwinmm" >&5 
     3044 
     3045echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
    23003046echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 
    23013047if test "${ac_cv_lib_winmm_puts+set}" = set; then 
     
    23053051LIBS="-lwinmm  $LIBS" 
    23063052cat >conftest.$ac_ext <<_ACEOF 
    2307 #line 2307 "configure" 
    2308 #include "confdefs.h" 
     3053/* confdefs.h.  */ 
     3054_ACEOF 
     3055cat confdefs.h >>conftest.$ac_ext 
     3056cat >>conftest.$ac_ext <<_ACEOF 
     3057/* end confdefs.h.  */ 
    23093058 
    23103059/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    23243073_ACEOF 
    23253074rm -f conftest.$ac_objext conftest$ac_exeext 
    2326 if { (eval echo "$as_me:2326: \"$ac_link\"") >&5 
    2327   (eval $ac_link) 2>&5 
    2328   ac_status=$? 
    2329   echo "$as_me:2329: \$? = $ac_status" >&5 
     3075if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3076  (eval $ac_link) 2>conftest.er1 
     3077  ac_status=$? 
     3078  grep -v '^ *+' conftest.er1 >conftest.err 
     3079  rm -f conftest.er1 
     3080  cat conftest.err >&5 
     3081  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23303082  (exit $ac_status); } && 
    2331          { ac_try='test -s conftest$ac_exeext' 
    2332   { (eval echo "$as_me:2332: \"$ac_try\"") >&5 
    2333   (eval $ac_try) 2>&5 
    2334   ac_status=$? 
    2335   echo "$as_me:2335: \$? = $ac_status" >&5 
     3083         { ac_try='test -z "$ac_c_werror_flag" 
     3084                         || test ! -s conftest.err' 
     3085  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3086  (eval $ac_try) 2>&5 
     3087  ac_status=$? 
     3088  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3089  (exit $ac_status); }; } && 
     3090         { ac_try='test -s conftest$ac_exeext' 
     3091  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3092  (eval $ac_try) 2>&5 
     3093  ac_status=$? 
     3094  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23363095  (exit $ac_status); }; }; then 
    23373096  ac_cv_lib_winmm_puts=yes 
    23383097else 
    23393098  echo "$as_me: failed program was:" >&5 
    2340 cat conftest.$ac_ext >&5 
     3099sed 's/^/| /' conftest.$ac_ext >&5 
     3100 
    23413101ac_cv_lib_winmm_puts=no 
    23423102fi 
    2343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3103rm -f conftest.err conftest.$ac_objext \ 
     3104      conftest$ac_exeext conftest.$ac_ext 
    23443105LIBS=$ac_check_lib_save_LIBS 
    23453106fi 
    2346 echo "$as_me:2346: result: $ac_cv_lib_winmm_puts" >&5 
     3107echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
    23473108echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 
    23483109if test $ac_cv_lib_winmm_puts = yes; then 
    2349   cat >>confdefs.h <<EOF 
     3110  cat >>confdefs.h <<_ACEOF 
    23503111#define HAVE_LIBWINMM 1 
    2351 EOF 
     3112_ACEOF 
    23523113 
    23533114  LIBS="-lwinmm $LIBS" 
     
    23553116fi 
    23563117 
    2357 echo "$as_me:2357: checking for puts in -lsocket" >&5 
     3118 
     3119echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
    23583120echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 
    23593121if test "${ac_cv_lib_socket_puts+set}" = set; then 
     
    23633125LIBS="-lsocket  $LIBS" 
    23643126cat >conftest.$ac_ext <<_ACEOF 
    2365 #line 2365 "configure" 
    2366 #include "confdefs.h" 
     3127/* confdefs.h.  */ 
     3128_ACEOF 
     3129cat confdefs.h >>conftest.$ac_ext 
     3130cat >>conftest.$ac_ext <<_ACEOF 
     3131/* end confdefs.h.  */ 
    23673132 
    23683133/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    23823147_ACEOF 
    23833148rm -f conftest.$ac_objext conftest$ac_exeext 
    2384 if { (eval echo "$as_me:2384: \"$ac_link\"") >&5 
    2385   (eval $ac_link) 2>&5 
    2386   ac_status=$? 
    2387   echo "$as_me:2387: \$? = $ac_status" >&5 
     3149if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3150  (eval $ac_link) 2>conftest.er1 
     3151  ac_status=$? 
     3152  grep -v '^ *+' conftest.er1 >conftest.err 
     3153  rm -f conftest.er1 
     3154  cat conftest.err >&5 
     3155  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23883156  (exit $ac_status); } && 
    2389          { ac_try='test -s conftest$ac_exeext' 
    2390   { (eval echo "$as_me:2390: \"$ac_try\"") >&5 
    2391   (eval $ac_try) 2>&5 
    2392   ac_status=$? 
    2393   echo "$as_me:2393: \$? = $ac_status" >&5 
     3157         { ac_try='test -z "$ac_c_werror_flag" 
     3158                         || test ! -s conftest.err' 
     3159  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3160  (eval $ac_try) 2>&5 
     3161  ac_status=$? 
     3162  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3163  (exit $ac_status); }; } && 
     3164         { ac_try='test -s conftest$ac_exeext' 
     3165  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3166  (eval $ac_try) 2>&5 
     3167  ac_status=$? 
     3168  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23943169  (exit $ac_status); }; }; then 
    23953170  ac_cv_lib_socket_puts=yes 
    23963171else 
    23973172  echo "$as_me: failed program was:" >&5 
    2398 cat conftest.$ac_ext >&5 
     3173sed 's/^/| /' conftest.$ac_ext >&5 
     3174 
    23993175ac_cv_lib_socket_puts=no 
    24003176fi 
    2401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3177rm -f conftest.err conftest.$ac_objext \ 
     3178      conftest$ac_exeext conftest.$ac_ext 
    24023179LIBS=$ac_check_lib_save_LIBS 
    24033180fi 
    2404 echo "$as_me:2404: result: $ac_cv_lib_socket_puts" >&5 
     3181echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
    24053182echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 
    24063183if test $ac_cv_lib_socket_puts = yes; then 
    2407   cat >>confdefs.h <<EOF 
     3184  cat >>confdefs.h <<_ACEOF 
    24083185#define HAVE_LIBSOCKET 1 
    2409 EOF 
     3186_ACEOF 
    24103187 
    24113188  LIBS="-lsocket $LIBS" 
     
    24133190fi 
    24143191 
    2415 echo "$as_me:2415: checking for puts in -lrt" >&5 
     3192 
     3193echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
    24163194echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 
    24173195if test "${ac_cv_lib_rt_puts+set}" = set; then 
     
    24213199LIBS="-lrt  $LIBS" 
    24223200cat >conftest.$ac_ext <<_ACEOF 
    2423 #line 2423 "configure" 
    2424 #include "confdefs.h" 
     3201/* confdefs.h.  */ 
     3202_ACEOF 
     3203cat confdefs.h >>conftest.$ac_ext 
     3204cat >>conftest.$ac_ext <<_ACEOF 
     3205/* end confdefs.h.  */ 
    24253206 
    24263207/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    24403221_ACEOF 
    24413222rm -f conftest.$ac_objext conftest$ac_exeext 
    2442 if { (eval echo "$as_me:2442: \"$ac_link\"") >&5 
    2443   (eval $ac_link) 2>&5 
    2444   ac_status=$? 
    2445   echo "$as_me:2445: \$? = $ac_status" >&5 
     3223if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3224  (eval $ac_link) 2>conftest.er1 
     3225  ac_status=$? 
     3226  grep -v '^ *+' conftest.er1 >conftest.err 
     3227  rm -f conftest.er1 
     3228  cat conftest.err >&5 
     3229  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    24463230  (exit $ac_status); } && 
    2447          { ac_try='test -s conftest$ac_exeext' 
    2448   { (eval echo "$as_me:2448: \"$ac_try\"") >&5 
    2449   (eval $ac_try) 2>&5 
    2450   ac_status=$? 
    2451   echo "$as_me:2451: \$? = $ac_status" >&5 
     3231         { ac_try='test -z "$ac_c_werror_flag" 
     3232                         || test ! -s conftest.err' 
     3233  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3234  (eval $ac_try) 2>&5 
     3235  ac_status=$? 
     3236  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3237  (exit $ac_status); }; } && 
     3238         { ac_try='test -s conftest$ac_exeext' 
     3239  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3240  (eval $ac_try) 2>&5 
     3241  ac_status=$? 
     3242  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    24523243  (exit $ac_status); }; }; then 
    24533244  ac_cv_lib_rt_puts=yes 
    24543245else 
    24553246  echo "$as_me: failed program was:" >&5 
    2456 cat conftest.$ac_ext >&5 
     3247sed 's/^/| /' conftest.$ac_ext >&5 
     3248 
    24573249ac_cv_lib_rt_puts=no 
    24583250fi 
    2459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3251rm -f conftest.err conftest.$ac_objext \ 
     3252      conftest$ac_exeext conftest.$ac_ext 
    24603253LIBS=$ac_check_lib_save_LIBS 
    24613254fi 
    2462 echo "$as_me:2462: result: $ac_cv_lib_rt_puts" >&5 
     3255echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
    24633256echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 
    24643257if test $ac_cv_lib_rt_puts = yes; then 
    2465   cat >>confdefs.h <<EOF 
     3258  cat >>confdefs.h <<_ACEOF 
    24663259#define HAVE_LIBRT 1 
    2467 EOF 
     3260_ACEOF 
    24683261 
    24693262  LIBS="-lrt $LIBS" 
     
    24713264fi 
    24723265 
    2473 echo "$as_me:2473: checking for puts in -lnsl" >&5 
     3266 
     3267echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
    24743268echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 
    24753269if test "${ac_cv_lib_nsl_puts+set}" = set; then 
     
    24793273LIBS="-lnsl  $LIBS" 
    24803274cat >conftest.$ac_ext <<_ACEOF 
    2481 #line 2481 "configure" 
    2482 #include "confdefs.h" 
     3275/* confdefs.h.  */ 
     3276_ACEOF 
     3277cat confdefs.h >>conftest.$ac_ext 
     3278cat >>conftest.$ac_ext <<_ACEOF 
     3279/* end confdefs.h.  */ 
    24833280 
    24843281/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    24983295_ACEOF 
    24993296rm -f conftest.$ac_objext conftest$ac_exeext 
    2500 if { (eval echo "$as_me:2500: \"$ac_link\"") >&5 
    2501   (eval $ac_link) 2>&5 
    2502   ac_status=$? 
    2503   echo "$as_me:2503: \$? = $ac_status" >&5 
     3297if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3298  (eval $ac_link) 2>conftest.er1 
     3299  ac_status=$? 
     3300  grep -v '^ *+' conftest.er1 >conftest.err 
     3301  rm -f conftest.er1 
     3302  cat conftest.err >&5 
     3303  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25043304  (exit $ac_status); } && 
    2505          { ac_try='test -s conftest$ac_exeext' 
    2506   { (eval echo "$as_me:2506: \"$ac_try\"") >&5 
    2507   (eval $ac_try) 2>&5 
    2508   ac_status=$? 
    2509   echo "$as_me:2509: \$? = $ac_status" >&5 
     3305         { ac_try='test -z "$ac_c_werror_flag" 
     3306                         || test ! -s conftest.err' 
     3307  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3308  (eval $ac_try) 2>&5 
     3309  ac_status=$? 
     3310  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3311  (exit $ac_status); }; } && 
     3312         { ac_try='test -s conftest$ac_exeext' 
     3313  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3314  (eval $ac_try) 2>&5 
     3315  ac_status=$? 
     3316  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25103317  (exit $ac_status); }; }; then 
    25113318  ac_cv_lib_nsl_puts=yes 
    25123319else 
    25133320  echo "$as_me: failed program was:" >&5 
    2514 cat conftest.$ac_ext >&5 
     3321sed 's/^/| /' conftest.$ac_ext >&5 
     3322 
    25153323ac_cv_lib_nsl_puts=no 
    25163324fi 
    2517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3325rm -f conftest.err conftest.$ac_objext \ 
     3326      conftest$ac_exeext conftest.$ac_ext 
    25183327LIBS=$ac_check_lib_save_LIBS 
    25193328fi 
    2520 echo "$as_me:2520: result: $ac_cv_lib_nsl_puts" >&5 
     3329echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
    25213330echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 
    25223331if test $ac_cv_lib_nsl_puts = yes; then 
    2523   cat >>confdefs.h <<EOF 
     3332  cat >>confdefs.h <<_ACEOF 
    25243333#define HAVE_LIBNSL 1 
    2525 EOF 
     3334_ACEOF 
    25263335 
    25273336  LIBS="-lnsl $LIBS" 
     
    25293338fi 
    25303339 
    2531 echo "$as_me:2531: result: Setting PJ_M_NAME to $target_cpu" >&5 
     3340 
     3341echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    25323342echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 
    2533 cat >>confdefs.h <<EOF 
     3343cat >>confdefs.h <<_ACEOF 
    25343344#define PJ_M_NAME "$target_cpu" 
    2535 EOF 
    2536  
    2537 echo "$as_me:2537: checking memory alignment" >&5 
     3345_ACEOF 
     3346 
     3347 
     3348echo "$as_me:$LINENO: checking memory alignment" >&5 
    25383349echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 
    25393350case $target in 
    25403351    ia64-* | x86_64-* ) 
    2541         cat >>confdefs.h <<\EOF 
     3352        cat >>confdefs.h <<\_ACEOF 
    25423353#define PJ_POOL_ALIGNMENT 8 
    2543 EOF 
    2544  
    2545         echo "$as_me:2545: result: 8 bytes" >&5 
     3354_ACEOF 
     3355 
     3356        echo "$as_me:$LINENO: result: 8 bytes" >&5 
    25463357echo "${ECHO_T}8 bytes" >&6 
    25473358        ;; 
    25483359    * ) 
    2549         cat >>confdefs.h <<\EOF 
     3360        cat >>confdefs.h <<\_ACEOF 
    25503361#define PJ_POOL_ALIGNMENT 4 
    2551 EOF 
    2552  
    2553         echo "$as_me:2553: result: 4 bytes (default)" >&5 
     3362_ACEOF 
     3363 
     3364        echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 
    25543365echo "${ECHO_T}4 bytes (default)" >&6 
    25553366        ;; 
    25563367esac 
    25573368 
    2558 echo "$as_me:2558: checking whether byte ordering is bigendian" >&5 
     3369 
     3370echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    25593371echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 
    25603372if test "${ac_cv_c_bigendian+set}" = set; then 
    25613373  echo $ECHO_N "(cached) $ECHO_C" >&6 
    25623374else 
    2563   ac_cv_c_bigendian=unknown 
    2564 # See if sys/param.h defines the BYTE_ORDER macro. 
     3375  # See if sys/param.h defines the BYTE_ORDER macro. 
    25653376cat >conftest.$ac_ext <<_ACEOF 
    2566 #line 2566 "configure" 
    2567 #include "confdefs.h" 
     3377/* confdefs.h.  */ 
     3378_ACEOF 
     3379cat confdefs.h >>conftest.$ac_ext 
     3380cat >>conftest.$ac_ext <<_ACEOF 
     3381/* end confdefs.h.  */ 
    25683382#include <sys/types.h> 
    25693383#include <sys/param.h> 
     
    25813395_ACEOF 
    25823396rm -f conftest.$ac_objext 
    2583 if { (eval echo "$as_me:2583: \"$ac_compile\"") >&5 
    2584   (eval $ac_compile) 2>&5 
    2585   ac_status=$? 
    2586   echo "$as_me:2586: \$? = $ac_status" >&5 
     3397if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3398  (eval $ac_compile) 2>conftest.er1 
     3399  ac_status=$? 
     3400  grep -v '^ *+' conftest.er1 >conftest.err 
     3401  rm -f conftest.er1 
     3402  cat conftest.err >&5 
     3403  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25873404  (exit $ac_status); } && 
    2588          { ac_try='test -s conftest.$ac_objext' 
    2589   { (eval echo "$as_me:2589: \"$ac_try\"") >&5 
    2590   (eval $ac_try) 2>&5 
    2591   ac_status=$? 
    2592   echo "$as_me:2592: \$? = $ac_status" >&5 
     3405         { ac_try='test -z "$ac_c_werror_flag" 
     3406                         || test ! -s conftest.err' 
     3407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3408  (eval $ac_try) 2>&5 
     3409  ac_status=$? 
     3410  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3411  (exit $ac_status); }; } && 
     3412         { ac_try='test -s conftest.$ac_objext' 
     3413  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3414  (eval $ac_try) 2>&5 
     3415  ac_status=$? 
     3416  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25933417  (exit $ac_status); }; }; then 
    25943418  # It does; now see whether it defined to BIG_ENDIAN or not. 
    25953419cat >conftest.$ac_ext <<_ACEOF 
    2596 #line 2596 "configure" 
    2597 #include "confdefs.h" 
     3420/* confdefs.h.  */ 
     3421_ACEOF 
     3422cat confdefs.h >>conftest.$ac_ext 
     3423cat >>conftest.$ac_ext <<_ACEOF 
     3424/* end confdefs.h.  */ 
    25983425#include <sys/types.h> 
    25993426#include <sys/param.h> 
     
    26113438_ACEOF 
    26123439rm -f conftest.$ac_objext 
    2613 if { (eval echo "$as_me:2613: \"$ac_compile\"") >&5 
    2614   (eval $ac_compile) 2>&5 
    2615   ac_status=$? 
    2616   echo "$as_me:2616: \$? = $ac_status" >&5 
     3440if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3441  (eval $ac_compile) 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 
    26173447  (exit $ac_status); } && 
    2618          { ac_try='test -s conftest.$ac_objext' 
    2619   { (eval echo "$as_me:2619: \"$ac_try\"") >&5 
    2620   (eval $ac_try) 2>&5 
    2621   ac_status=$? 
    2622   echo "$as_me:2622: \$? = $ac_status" >&5 
     3448         { ac_try='test -z "$ac_c_werror_flag" 
     3449                         || test ! -s conftest.err' 
     3450  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3451  (eval $ac_try) 2>&5 
     3452  ac_status=$? 
     3453  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3454  (exit $ac_status); }; } && 
     3455         { ac_try='test -s conftest.$ac_objext' 
     3456  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3457  (eval $ac_try) 2>&5 
     3458  ac_status=$? 
     3459  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26233460  (exit $ac_status); }; }; then 
    26243461  ac_cv_c_bigendian=yes 
    26253462else 
    26263463  echo "$as_me: failed program was:" >&5 
    2627 cat conftest.$ac_ext >&5 
     3464sed 's/^/| /' conftest.$ac_ext >&5 
     3465 
    26283466ac_cv_c_bigendian=no 
    26293467fi 
    2630 rm -f conftest.$ac_objext conftest.$ac_ext 
     3468rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    26313469else 
    26323470  echo "$as_me: failed program was:" >&5 
    2633 cat conftest.$ac_ext >&5 
    2634 fi 
    2635 rm -f conftest.$ac_objext conftest.$ac_ext 
    2636 if test $ac_cv_c_bigendian = unknown; then 
     3471sed 's/^/| /' conftest.$ac_ext >&5 
     3472 
     3473# It does not; compile a test program. 
    26373474if test "$cross_compiling" = yes; then 
    2638   { { echo "$as_me:2638: error: cannot run test program while cross compiling" >&5 
    2639 echo "$as_me: error: cannot run test program while cross compiling" >&2;} 
    2640    { (exit 1); exit 1; }; } 
    2641 else 
     3475  # try to guess the endianness by grepping values into an object file 
     3476  ac_cv_c_bigendian=unknown 
    26423477  cat >conftest.$ac_ext <<_ACEOF 
    2643 #line 2643 "configure" 
    2644 #include "confdefs.h" 
     3478/* confdefs.h.  */ 
     3479_ACEOF 
     3480cat confdefs.h >>conftest.$ac_ext 
     3481cat >>conftest.$ac_ext <<_ACEOF 
     3482/* end confdefs.h.  */ 
     3483short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     3484short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     3485void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
     3486short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     3487short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     3488void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     3489int 
     3490main () 
     3491{ 
     3492 _ascii (); _ebcdic (); 
     3493  ; 
     3494  return 0; 
     3495} 
     3496_ACEOF 
     3497rm -f conftest.$ac_objext 
     3498if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3499  (eval $ac_compile) 2>conftest.er1 
     3500  ac_status=$? 
     3501  grep -v '^ *+' conftest.er1 >conftest.err 
     3502  rm -f conftest.er1 
     3503  cat conftest.err >&5 
     3504  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3505  (exit $ac_status); } && 
     3506         { ac_try='test -z "$ac_c_werror_flag" 
     3507                         || test ! -s conftest.err' 
     3508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3509  (eval $ac_try) 2>&5 
     3510  ac_status=$? 
     3511  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3512  (exit $ac_status); }; } && 
     3513         { ac_try='test -s conftest.$ac_objext' 
     3514  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3515  (eval $ac_try) 2>&5 
     3516  ac_status=$? 
     3517  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3518  (exit $ac_status); }; }; then 
     3519  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     3520  ac_cv_c_bigendian=yes 
     3521fi 
     3522if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     3523  if test "$ac_cv_c_bigendian" = unknown; then 
     3524    ac_cv_c_bigendian=no 
     3525  else 
     3526    # finding both strings is unlikely to happen, but who knows? 
     3527    ac_cv_c_bigendian=unknown 
     3528  fi 
     3529fi 
     3530else 
     3531  echo "$as_me: failed program was:" >&5 
     3532sed 's/^/| /' conftest.$ac_ext >&5 
     3533 
     3534fi 
     3535rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3536else 
     3537  cat >conftest.$ac_ext <<_ACEOF 
     3538/* confdefs.h.  */ 
     3539_ACEOF 
     3540cat confdefs.h >>conftest.$ac_ext 
     3541cat >>conftest.$ac_ext <<_ACEOF 
     3542/* end confdefs.h.  */ 
    26453543int 
    26463544main () 
     
    26573555_ACEOF 
    26583556rm -f conftest$ac_exeext 
    2659 if { (eval echo "$as_me:2659: \"$ac_link\"") >&5 
     3557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    26603558  (eval $ac_link) 2>&5 
    26613559  ac_status=$? 
    2662   echo "$as_me:2662: \$? = $ac_status" >&5 
     3560  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26633561  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    2664   { (eval echo "$as_me:2664: \"$ac_try\"") >&5 
    2665   (eval $ac_try) 2>&5 
    2666   ac_status=$? 
    2667   echo "$as_me:2667: \$? = $ac_status" >&5 
     3562  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3563  (eval $ac_try) 2>&5 
     3564  ac_status=$? 
     3565  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26683566  (exit $ac_status); }; }; then 
    26693567  ac_cv_c_bigendian=no 
     
    26713569  echo "$as_me: program exited with status $ac_status" >&5 
    26723570echo "$as_me: failed program was:" >&5 
    2673 cat conftest.$ac_ext >&5 
     3571sed 's/^/| /' conftest.$ac_ext >&5 
     3572 
     3573( exit $ac_status ) 
    26743574ac_cv_c_bigendian=yes 
    26753575fi 
    2676 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    2677 fi 
    2678 fi 
    2679 fi 
    2680 echo "$as_me:2680: result: $ac_cv_c_bigendian" >&5 
     3576rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     3577fi 
     3578fi 
     3579rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3580fi 
     3581echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    26813582echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
    2682 if test $ac_cv_c_bigendian = yes; then 
    2683  
    2684 cat >>confdefs.h <<\EOF 
     3583case $ac_cv_c_bigendian in 
     3584  yes) 
     3585 
     3586cat >>confdefs.h <<\_ACEOF 
    26853587#define WORDS_BIGENDIAN 1 
    2686 EOF 
    2687  
    2688 fi 
     3588_ACEOF 
     3589 ;; 
     3590  no) 
     3591     ;; 
     3592  *) 
     3593    { { echo "$as_me:$LINENO: error: unknown endianness 
     3594presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
     3595echo "$as_me: error: unknown endianness 
     3596presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
     3597   { (exit 1); exit 1; }; } ;; 
     3598esac 
     3599 
    26893600 
    26903601case $target in 
    26913602    *mingw* | *cygw* | *win32* | *w32* ) 
    2692         cat >>confdefs.h <<\EOF 
     3603        cat >>confdefs.h <<\_ACEOF 
    26933604#define PJ_WIN32 1 
    2694 EOF 
    2695  
    2696         cat >>confdefs.h <<\EOF 
     3605_ACEOF 
     3606 
     3607        cat >>confdefs.h <<\_ACEOF 
    26973608#define PJ_WIN32_WINNT 0x0400 
    2698 EOF 
    2699  
    2700         cat >>confdefs.h <<\EOF 
     3609_ACEOF 
     3610 
     3611        cat >>confdefs.h <<\_ACEOF 
    27013612#define WIN32_LEAN_AND_MEAN 1 
    2702 EOF 
     3613_ACEOF 
    27033614 
    27043615        ;; 
    27053616    *darwin*) 
    2706         cat >>confdefs.h <<\EOF 
     3617        cat >>confdefs.h <<\_ACEOF 
    27073618#define PJ_DARWINOS 1 
    2708 EOF 
     3619_ACEOF 
    27093620 
    27103621        ;; 
    27113622    *linux*) 
    2712         cat >>confdefs.h <<\EOF 
     3623        cat >>confdefs.h <<\_ACEOF 
    27133624#define PJ_LINUX 1 
    2714 EOF 
     3625_ACEOF 
    27153626 
    27163627        ;; 
    27173628    *rtems*) 
    2718         cat >>confdefs.h <<\EOF 
     3629        cat >>confdefs.h <<\_ACEOF 
    27193630#define PJ_RTEMS 1 
    2720 EOF 
     3631_ACEOF 
    27213632 
    27223633        ;; 
    27233634    *sunos* | *solaris* ) 
    2724         cat >>confdefs.h <<\EOF 
     3635        cat >>confdefs.h <<\_ACEOF 
    27253636#define PJ_SUNOS 1 
    2726 EOF 
     3637_ACEOF 
    27273638 
    27283639        ;; 
     
    27313642esac 
    27323643 
     3644 
     3645 
     3646 
    27333647# Check whether --enable-floating-point or --disable-floating-point was given. 
    27343648if test "${enable_floating_point+set}" = set; then 
    27353649  enableval="$enable_floating_point" 
    27363650  if test "$enable_floating_point" = "no"; then 
    2737                 cat >>confdefs.h <<\EOF 
     3651                cat >>confdefs.h <<\_ACEOF 
    27383652#define PJ_HAS_FLOATING_POINT 0 
    2739 EOF 
    2740  
    2741                 echo "$as_me:2741: result: Checking if floating point is disabled... yes" >&5 
     3653_ACEOF 
     3654 
     3655                echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    27423656echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 
    27433657               fi 
    27443658else 
    27453659 
    2746                 cat >>confdefs.h <<\EOF 
     3660                cat >>confdefs.h <<\_ACEOF 
    27473661#define PJ_HAS_FLOATING_POINT 1 
    2748 EOF 
    2749  
    2750                 echo "$as_me:2750: result: Checking if floating point is disabled... no" >&5 
     3662_ACEOF 
     3663 
     3664                echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    27513665echo "${ECHO_T}Checking if floating point is disabled... no" >&6 
    27523666 
    2753 echo "$as_me:2753: checking for fmod in -lm" >&5 
     3667echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    27543668echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 
    27553669if test "${ac_cv_lib_m_fmod+set}" = set; then 
     
    27593673LIBS="-lm  $LIBS" 
    27603674cat >conftest.$ac_ext <<_ACEOF 
    2761 #line 2761 "configure" 
    2762 #include "confdefs.h" 
     3675/* confdefs.h.  */ 
     3676_ACEOF 
     3677cat confdefs.h >>conftest.$ac_ext 
     3678cat >>conftest.$ac_ext <<_ACEOF 
     3679/* end confdefs.h.  */ 
    27633680 
    27643681/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    27783695_ACEOF 
    27793696rm -f conftest.$ac_objext conftest$ac_exeext 
    2780 if { (eval echo "$as_me:2780: \"$ac_link\"") >&5 
    2781   (eval $ac_link) 2>&5 
    2782   ac_status=$? 
    2783   echo "$as_me:2783: \$? = $ac_status" >&5 
     3697if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3698  (eval $ac_link) 2>conftest.er1 
     3699  ac_status=$? 
     3700  grep -v '^ *+' conftest.er1 >conftest.err 
     3701  rm -f conftest.er1 
     3702  cat conftest.err >&5 
     3703  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    27843704  (exit $ac_status); } && 
    2785          { ac_try='test -s conftest$ac_exeext' 
    2786   { (eval echo "$as_me:2786: \"$ac_try\"") >&5 
    2787   (eval $ac_try) 2>&5 
    2788   ac_status=$? 
    2789   echo "$as_me:2789: \$? = $ac_status" >&5 
     3705         { ac_try='test -z "$ac_c_werror_flag" 
     3706                         || test ! -s conftest.err' 
     3707  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3708  (eval $ac_try) 2>&5 
     3709  ac_status=$? 
     3710  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3711  (exit $ac_status); }; } && 
     3712         { ac_try='test -s conftest$ac_exeext' 
     3713  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3714  (eval $ac_try) 2>&5 
     3715  ac_status=$? 
     3716  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    27903717  (exit $ac_status); }; }; then 
    27913718  ac_cv_lib_m_fmod=yes 
    27923719else 
    27933720  echo "$as_me: failed program was:" >&5 
    2794 cat conftest.$ac_ext >&5 
     3721sed 's/^/| /' conftest.$ac_ext >&5 
     3722 
    27953723ac_cv_lib_m_fmod=no 
    27963724fi 
    2797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3725rm -f conftest.err conftest.$ac_objext \ 
     3726      conftest$ac_exeext conftest.$ac_ext 
    27983727LIBS=$ac_check_lib_save_LIBS 
    27993728fi 
    2800 echo "$as_me:2800: result: $ac_cv_lib_m_fmod" >&5 
     3729echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    28013730echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 
    28023731if test $ac_cv_lib_m_fmod = yes; then 
    2803   cat >>confdefs.h <<EOF 
     3732  cat >>confdefs.h <<_ACEOF 
    28043733#define HAVE_LIBM 1 
    2805 EOF 
     3734_ACEOF 
    28063735 
    28073736  LIBS="-lm $LIBS" 
     
    28093738fi 
    28103739 
     3740 
    28113741fi; 
     3742 
    28123743 
    28133744ac_ext=c 
     
    28163747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    28173748ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    2818 echo "$as_me:2818: checking how to run the C preprocessor" >&5 
     3749echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    28193750echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
    28203751# On Suns, sometimes $CPP names a directory. 
     
    28343765  # Use a header file that comes with gcc, so configuring glibc 
    28353766  # with a fresh cross-compiler works. 
     3767  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3768  # <limits.h> exists even on freestanding compilers. 
    28363769  # On the NeXT, cc -E runs the code through the compiler's parser, 
    28373770  # not just through cpp. "Syntax error" is here to catch this case. 
    28383771  cat >conftest.$ac_ext <<_ACEOF 
    2839 #line 2839 "configure" 
    2840 #include "confdefs.h" 
    2841 #include <assert.h> 
    2842                      Syntax error 
    2843 _ACEOF 
    2844 if { (eval echo "$as_me:2844: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3772/* confdefs.h.  */ 
     3773_ACEOF 
     3774cat confdefs.h >>conftest.$ac_ext 
     3775cat >>conftest.$ac_ext <<_ACEOF 
     3776/* end confdefs.h.  */ 
     3777#ifdef __STDC__ 
     3778# include <limits.h> 
     3779#else 
     3780# include <assert.h> 
     3781#endif 
     3782                     Syntax error 
     3783_ACEOF 
     3784if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    28453785  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    28463786  ac_status=$? 
    2847   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3787  grep -v '^ *+' conftest.er1 >conftest.err 
    28483788  rm -f conftest.er1 
    28493789  cat conftest.err >&5 
    2850   echo "$as_me:2850: \$? = $ac_status" >&5 
     3790  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28513791  (exit $ac_status); } >/dev/null; then 
    28523792  if test -s conftest.err; then 
    28533793    ac_cpp_err=$ac_c_preproc_warn_flag 
     3794    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    28543795  else 
    28553796    ac_cpp_err= 
     
    28623803else 
    28633804  echo "$as_me: failed program was:" >&5 
    2864   cat conftest.$ac_ext >&5 
     3805sed 's/^/| /' conftest.$ac_ext >&5 
     3806 
    28653807  # Broken: fails on valid input. 
    28663808continue 
     
    28713813  # can be detected and how. 
    28723814  cat >conftest.$ac_ext <<_ACEOF 
    2873 #line 2873 "configure" 
    2874 #include "confdefs.h" 
     3815/* confdefs.h.  */ 
     3816_ACEOF 
     3817cat confdefs.h >>conftest.$ac_ext 
     3818cat >>conftest.$ac_ext <<_ACEOF 
     3819/* end confdefs.h.  */ 
    28753820#include <ac_nonexistent.h> 
    28763821_ACEOF 
    2877 if { (eval echo "$as_me:2877: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3822if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    28783823  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    28793824  ac_status=$? 
    2880   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3825  grep -v '^ *+' conftest.er1 >conftest.err 
    28813826  rm -f conftest.er1 
    28823827  cat conftest.err >&5 
    2883   echo "$as_me:2883: \$? = $ac_status" >&5 
     3828  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28843829  (exit $ac_status); } >/dev/null; then 
    28853830  if test -s conftest.err; then 
    28863831    ac_cpp_err=$ac_c_preproc_warn_flag 
     3832    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    28873833  else 
    28883834    ac_cpp_err= 
     
    28963842else 
    28973843  echo "$as_me: failed program was:" >&5 
    2898   cat conftest.$ac_ext >&5 
     3844sed 's/^/| /' conftest.$ac_ext >&5 
     3845 
    28993846  # Passes both tests. 
    29003847ac_preproc_ok=: 
     
    29183865  ac_cv_prog_CPP=$CPP 
    29193866fi 
    2920 echo "$as_me:2920: result: $CPP" >&5 
     3867echo "$as_me:$LINENO: result: $CPP" >&5 
    29213868echo "${ECHO_T}$CPP" >&6 
    29223869ac_preproc_ok=false 
     
    29253872  # Use a header file that comes with gcc, so configuring glibc 
    29263873  # with a fresh cross-compiler works. 
     3874  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3875  # <limits.h> exists even on freestanding compilers. 
    29273876  # On the NeXT, cc -E runs the code through the compiler's parser, 
    29283877  # not just through cpp. "Syntax error" is here to catch this case. 
    29293878  cat >conftest.$ac_ext <<_ACEOF 
    2930 #line 2930 "configure" 
    2931 #include "confdefs.h" 
    2932 #include <assert.h> 
    2933                      Syntax error 
    2934 _ACEOF 
    2935 if { (eval echo "$as_me:2935: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3879/* confdefs.h.  */ 
     3880_ACEOF 
     3881cat confdefs.h >>conftest.$ac_ext 
     3882cat >>conftest.$ac_ext <<_ACEOF 
     3883/* end confdefs.h.  */ 
     3884#ifdef __STDC__ 
     3885# include <limits.h> 
     3886#else 
     3887# include <assert.h> 
     3888#endif 
     3889                     Syntax error 
     3890_ACEOF 
     3891if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    29363892  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    29373893  ac_status=$? 
    2938   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3894  grep -v '^ *+' conftest.er1 >conftest.err 
    29393895  rm -f conftest.er1 
    29403896  cat conftest.err >&5 
    2941   echo "$as_me:2941: \$? = $ac_status" >&5 
     3897  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    29423898  (exit $ac_status); } >/dev/null; then 
    29433899  if test -s conftest.err; then 
    29443900    ac_cpp_err=$ac_c_preproc_warn_flag 
     3901    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    29453902  else 
    29463903    ac_cpp_err= 
     
    29533910else 
    29543911  echo "$as_me: failed program was:" >&5 
    2955   cat conftest.$ac_ext >&5 
     3912sed 's/^/| /' conftest.$ac_ext >&5 
     3913 
    29563914  # Broken: fails on valid input. 
    29573915continue 
     
    29623920  # can be detected and how. 
    29633921  cat >conftest.$ac_ext <<_ACEOF 
    2964 #line 2964 "configure" 
    2965 #include "confdefs.h" 
     3922/* confdefs.h.  */ 
     3923_ACEOF 
     3924cat confdefs.h >>conftest.$ac_ext 
     3925cat >>conftest.$ac_ext <<_ACEOF 
     3926/* end confdefs.h.  */ 
    29663927#include <ac_nonexistent.h> 
    29673928_ACEOF 
    2968 if { (eval echo "$as_me:2968: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3929if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    29693930  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    29703931  ac_status=$? 
    2971   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3932  grep -v '^ *+' conftest.er1 >conftest.err 
    29723933  rm -f conftest.er1 
    29733934  cat conftest.err >&5 
    2974   echo "$as_me:2974: \$? = $ac_status" >&5 
     3935  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    29753936  (exit $ac_status); } >/dev/null; then 
    29763937  if test -s conftest.err; then 
    29773938    ac_cpp_err=$ac_c_preproc_warn_flag 
     3939    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    29783940  else 
    29793941    ac_cpp_err= 
     
    29873949else 
    29883950  echo "$as_me: failed program was:" >&5 
    2989   cat conftest.$ac_ext >&5 
     3951sed 's/^/| /' conftest.$ac_ext >&5 
     3952 
    29903953  # Passes both tests. 
    29913954ac_preproc_ok=: 
     
    30003963  : 
    30013964else 
    3002   { { echo "$as_me:3002: error: C preprocessor \"$CPP\" fails sanity check" >&5 
    3003 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 
     3965  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     3966See \`config.log' for more details." >&5 
     3967echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     3968See \`config.log' for more details." >&2;} 
    30043969   { (exit 1); exit 1; }; } 
    30053970fi 
     
    30113976ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    30123977 
    3013 echo "$as_me:3013: checking for arpa/inet.h" >&5 
     3978 
     3979echo "$as_me:$LINENO: checking for egrep" >&5 
     3980echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
     3981if test "${ac_cv_prog_egrep+set}" = set; then 
     3982  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3983else 
     3984  if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
     3985    then ac_cv_prog_egrep='grep -E' 
     3986    else ac_cv_prog_egrep='egrep' 
     3987    fi 
     3988fi 
     3989echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
     3990echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
     3991 EGREP=$ac_cv_prog_egrep 
     3992 
     3993 
     3994echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     3995echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
     3996if test "${ac_cv_header_stdc+set}" = set; then 
     3997  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3998else 
     3999  cat >conftest.$ac_ext <<_ACEOF 
     4000/* confdefs.h.  */ 
     4001_ACEOF 
     4002cat confdefs.h >>conftest.$ac_ext 
     4003cat >>conftest.$ac_ext <<_ACEOF 
     4004/* end confdefs.h.  */ 
     4005#include <stdlib.h> 
     4006#include <stdarg.h> 
     4007#include <string.h> 
     4008#include <float.h> 
     4009 
     4010int 
     4011main () 
     4012{ 
     4013 
     4014  ; 
     4015  return 0; 
     4016} 
     4017_ACEOF 
     4018rm -f conftest.$ac_objext 
     4019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4020  (eval $ac_compile) 2>conftest.er1 
     4021  ac_status=$? 
     4022  grep -v '^ *+' conftest.er1 >conftest.err 
     4023  rm -f conftest.er1 
     4024  cat conftest.err >&5 
     4025  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4026  (exit $ac_status); } && 
     4027         { ac_try='test -z "$ac_c_werror_flag" 
     4028                         || test ! -s conftest.err' 
     4029  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4030  (eval $ac_try) 2>&5 
     4031  ac_status=$? 
     4032  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4033  (exit $ac_status); }; } && 
     4034         { ac_try='test -s conftest.$ac_objext' 
     4035  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4036  (eval $ac_try) 2>&5 
     4037  ac_status=$? 
     4038  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4039  (exit $ac_status); }; }; then 
     4040  ac_cv_header_stdc=yes 
     4041else 
     4042  echo "$as_me: failed program was:" >&5 
     4043sed 's/^/| /' conftest.$ac_ext >&5 
     4044 
     4045ac_cv_header_stdc=no 
     4046fi 
     4047rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4048 
     4049if test $ac_cv_header_stdc = yes; then 
     4050  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
     4051  cat >conftest.$ac_ext <<_ACEOF 
     4052/* confdefs.h.  */ 
     4053_ACEOF 
     4054cat confdefs.h >>conftest.$ac_ext 
     4055cat >>conftest.$ac_ext <<_ACEOF 
     4056/* end confdefs.h.  */ 
     4057#include <string.h> 
     4058 
     4059_ACEOF 
     4060if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     4061  $EGREP "memchr" >/dev/null 2>&1; then 
     4062  : 
     4063else 
     4064  ac_cv_header_stdc=no 
     4065fi 
     4066rm -f conftest* 
     4067 
     4068fi 
     4069 
     4070if test $ac_cv_header_stdc = yes; then 
     4071  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
     4072  cat >conftest.$ac_ext <<_ACEOF 
     4073/* confdefs.h.  */ 
     4074_ACEOF 
     4075cat confdefs.h >>conftest.$ac_ext 
     4076cat >>conftest.$ac_ext <<_ACEOF 
     4077/* end confdefs.h.  */ 
     4078#include <stdlib.h> 
     4079 
     4080_ACEOF 
     4081if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     4082  $EGREP "free" >/dev/null 2>&1; then 
     4083  : 
     4084else 
     4085  ac_cv_header_stdc=no 
     4086fi 
     4087rm -f conftest* 
     4088 
     4089fi 
     4090 
     4091if test $ac_cv_header_stdc = yes; then 
     4092  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
     4093  if test "$cross_compiling" = yes; then 
     4094  : 
     4095else 
     4096  cat >conftest.$ac_ext <<_ACEOF 
     4097/* confdefs.h.  */ 
     4098_ACEOF 
     4099cat confdefs.h >>conftest.$ac_ext 
     4100cat >>conftest.$ac_ext <<_ACEOF 
     4101/* end confdefs.h.  */ 
     4102#include <ctype.h> 
     4103#if ((' ' & 0x0FF) == 0x020) 
     4104# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
     4105# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     4106#else 
     4107# define ISLOWER(c) \ 
     4108                   (('a' <= (c) && (c) <= 'i') \ 
     4109                     || ('j' <= (c) && (c) <= 'r') \ 
     4110                     || ('s' <= (c) && (c) <= 'z')) 
     4111# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
     4112#endif 
     4113 
     4114#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
     4115int 
     4116main () 
     4117{ 
     4118  int i; 
     4119  for (i = 0; i < 256; i++) 
     4120    if (XOR (islower (i), ISLOWER (i)) 
     4121        || toupper (i) != TOUPPER (i)) 
     4122      exit(2); 
     4123  exit (0); 
     4124} 
     4125_ACEOF 
     4126rm -f conftest$ac_exeext 
     4127if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4128  (eval $ac_link) 2>&5 
     4129  ac_status=$? 
     4130  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4131  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4133  (eval $ac_try) 2>&5 
     4134  ac_status=$? 
     4135  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4136  (exit $ac_status); }; }; then 
     4137  : 
     4138else 
     4139  echo "$as_me: program exited with status $ac_status" >&5 
     4140echo "$as_me: failed program was:" >&5 
     4141sed 's/^/| /' conftest.$ac_ext >&5 
     4142 
     4143( exit $ac_status ) 
     4144ac_cv_header_stdc=no 
     4145fi 
     4146rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4147fi 
     4148fi 
     4149fi 
     4150echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     4151echo "${ECHO_T}$ac_cv_header_stdc" >&6 
     4152if test $ac_cv_header_stdc = yes; then 
     4153 
     4154cat >>confdefs.h <<\_ACEOF 
     4155#define STDC_HEADERS 1 
     4156_ACEOF 
     4157 
     4158fi 
     4159 
     4160# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     4161 
     4162 
     4163 
     4164 
     4165 
     4166 
     4167 
     4168 
     4169 
     4170for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
     4171                  inttypes.h stdint.h unistd.h 
     4172do 
     4173as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4174echo "$as_me:$LINENO: checking for $ac_header" >&5 
     4175echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     4176if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     4177  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4178else 
     4179  cat >conftest.$ac_ext <<_ACEOF 
     4180/* confdefs.h.  */ 
     4181_ACEOF 
     4182cat confdefs.h >>conftest.$ac_ext 
     4183cat >>conftest.$ac_ext <<_ACEOF 
     4184/* end confdefs.h.  */ 
     4185$ac_includes_default 
     4186 
     4187#include <$ac_header> 
     4188_ACEOF 
     4189rm -f conftest.$ac_objext 
     4190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4191  (eval $ac_compile) 2>conftest.er1 
     4192  ac_status=$? 
     4193  grep -v '^ *+' conftest.er1 >conftest.err 
     4194  rm -f conftest.er1 
     4195  cat conftest.err >&5 
     4196  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4197  (exit $ac_status); } && 
     4198         { ac_try='test -z "$ac_c_werror_flag" 
     4199                         || test ! -s conftest.err' 
     4200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4201  (eval $ac_try) 2>&5 
     4202  ac_status=$? 
     4203  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4204  (exit $ac_status); }; } && 
     4205         { ac_try='test -s conftest.$ac_objext' 
     4206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4207  (eval $ac_try) 2>&5 
     4208  ac_status=$? 
     4209  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4210  (exit $ac_status); }; }; then 
     4211  eval "$as_ac_Header=yes" 
     4212else 
     4213  echo "$as_me: failed program was:" >&5 
     4214sed 's/^/| /' conftest.$ac_ext >&5 
     4215 
     4216eval "$as_ac_Header=no" 
     4217fi 
     4218rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4219fi 
     4220echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     4221echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     4222if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     4223  cat >>confdefs.h <<_ACEOF 
     4224#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4225_ACEOF 
     4226 
     4227fi 
     4228 
     4229done 
     4230 
     4231 
     4232if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     4233  echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    30144234echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 
    30154235if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    30164236  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3017 else 
    3018   cat >conftest.$ac_ext <<_ACEOF 
    3019 #line 3019 "configure" 
    3020 #include "confdefs.h" 
     4237fi 
     4238echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     4239echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 
     4240else 
     4241  # Is the header compilable? 
     4242echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
     4243echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 
     4244cat >conftest.$ac_ext <<_ACEOF 
     4245/* confdefs.h.  */ 
     4246_ACEOF 
     4247cat confdefs.h >>conftest.$ac_ext 
     4248cat >>conftest.$ac_ext <<_ACEOF 
     4249/* end confdefs.h.  */ 
     4250$ac_includes_default 
    30214251#include <arpa/inet.h> 
    30224252_ACEOF 
    3023 if { (eval echo "$as_me:3023: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3024   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3025   ac_status=$? 
    3026   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4253rm -f conftest.$ac_objext 
     4254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4255  (eval $ac_compile) 2>conftest.er1 
     4256  ac_status=$? 
     4257  grep -v '^ *+' conftest.er1 >conftest.err 
    30274258  rm -f conftest.er1 
    30284259  cat conftest.err >&5 
    3029   echo "$as_me:3029: \$? = $ac_status" >&5 
     4260  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4261  (exit $ac_status); } && 
     4262         { ac_try='test -z "$ac_c_werror_flag" 
     4263                         || test ! -s conftest.err' 
     4264  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4265  (eval $ac_try) 2>&5 
     4266  ac_status=$? 
     4267  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4268  (exit $ac_status); }; } && 
     4269         { ac_try='test -s conftest.$ac_objext' 
     4270  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4271  (eval $ac_try) 2>&5 
     4272  ac_status=$? 
     4273  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4274  (exit $ac_status); }; }; then 
     4275  ac_header_compiler=yes 
     4276else 
     4277  echo "$as_me: failed program was:" >&5 
     4278sed 's/^/| /' conftest.$ac_ext >&5 
     4279 
     4280ac_header_compiler=no 
     4281fi 
     4282rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4283echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4284echo "${ECHO_T}$ac_header_compiler" >&6 
     4285 
     4286# Is the header present? 
     4287echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
     4288echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 
     4289cat >conftest.$ac_ext <<_ACEOF 
     4290/* confdefs.h.  */ 
     4291_ACEOF 
     4292cat confdefs.h >>conftest.$ac_ext 
     4293cat >>conftest.$ac_ext <<_ACEOF 
     4294/* end confdefs.h.  */ 
     4295#include <arpa/inet.h> 
     4296_ACEOF 
     4297if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4298  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4299  ac_status=$? 
     4300  grep -v '^ *+' conftest.er1 >conftest.err 
     4301  rm -f conftest.er1 
     4302  cat conftest.err >&5 
     4303  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    30304304  (exit $ac_status); } >/dev/null; then 
    30314305  if test -s conftest.err; then 
    30324306    ac_cpp_err=$ac_c_preproc_warn_flag 
     4307    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    30334308  else 
    30344309    ac_cpp_err= 
     
    30384313fi 
    30394314if test -z "$ac_cpp_err"; then 
    3040   ac_cv_header_arpa_inet_h=yes 
     4315  ac_header_preproc=yes 
    30414316else 
    30424317  echo "$as_me: failed program was:" >&5 
    3043   cat conftest.$ac_ext >&5 
    3044   ac_cv_header_arpa_inet_h=no 
     4318sed 's/^/| /' conftest.$ac_ext >&5 
     4319 
     4320  ac_header_preproc=no 
    30454321fi 
    30464322rm -f conftest.err conftest.$ac_ext 
    3047 fi 
    3048 echo "$as_me:3048: result: $ac_cv_header_arpa_inet_h" >&5 
     4323echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4324echo "${ECHO_T}$ac_header_preproc" >&6 
     4325 
     4326# So?  What about this header? 
     4327case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4328  yes:no: ) 
     4329    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4330echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4331    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
     4332echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
     4333    ac_header_preproc=yes 
     4334    ;; 
     4335  no:yes:* ) 
     4336    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
     4337echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
     4338    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
     4339echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
     4340    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
     4341echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
     4342    { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
     4343echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4344    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
     4345echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
     4346    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
     4347echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
     4348    ( 
     4349      cat <<\_ASBOX 
     4350## ------------------------------------ ## 
     4351## Report this to the pjproject lists.  ## 
     4352## ------------------------------------ ## 
     4353_ASBOX 
     4354    ) | 
     4355      sed "s/^/$as_me: WARNING:     /" >&2 
     4356    ;; 
     4357esac 
     4358echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     4359echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 
     4360if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     4361  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4362else 
     4363  ac_cv_header_arpa_inet_h=$ac_header_preproc 
     4364fi 
     4365echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    30494366echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 
     4367 
     4368fi 
    30504369if test $ac_cv_header_arpa_inet_h = yes; then 
    3051   cat >>confdefs.h <<\EOF 
     4370  cat >>confdefs.h <<\_ACEOF 
    30524371#define PJ_HAS_ARPA_INET_H 1 
    3053 EOF 
    3054  
    3055 fi 
    3056  
    3057 echo "$as_me:3057: checking for assert.h" >&5 
     4372_ACEOF 
     4373 
     4374fi 
     4375 
     4376 
     4377if test "${ac_cv_header_assert_h+set}" = set; then 
     4378  echo "$as_me:$LINENO: checking for assert.h" >&5 
    30584379echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 
    30594380if test "${ac_cv_header_assert_h+set}" = set; then 
    30604381  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3061 else 
    3062   cat >conftest.$ac_ext <<_ACEOF 
    3063 #line 3063 "configure" 
    3064 #include "confdefs.h" 
     4382fi 
     4383echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     4384echo "${ECHO_T}$ac_cv_header_assert_h" >&6 
     4385else 
     4386  # Is the header compilable? 
     4387echo "$as_me:$LINENO: checking assert.h usability" >&5 
     4388echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 
     4389cat >conftest.$ac_ext <<_ACEOF 
     4390/* confdefs.h.  */ 
     4391_ACEOF 
     4392cat confdefs.h >>conftest.$ac_ext 
     4393cat >>conftest.$ac_ext <<_ACEOF 
     4394/* end confdefs.h.  */ 
     4395$ac_includes_default 
    30654396#include <assert.h> 
    30664397_ACEOF 
    3067 if { (eval echo "$as_me:3067: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3068   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3069   ac_status=$? 
    3070   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4398rm -f conftest.$ac_objext 
     4399if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4400  (eval $ac_compile) 2>conftest.er1 
     4401  ac_status=$? 
     4402  grep -v '^ *+' conftest.er1 >conftest.err 
    30714403  rm -f conftest.er1 
    30724404  cat conftest.err >&5 
    3073   echo "$as_me:3073: \$? = $ac_status" >&5 
     4405  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4406  (exit $ac_status); } && 
     4407         { ac_try='test -z "$ac_c_werror_flag" 
     4408                         || test ! -s conftest.err' 
     4409  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4410  (eval $ac_try) 2>&5 
     4411  ac_status=$? 
     4412  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4413  (exit $ac_status); }; } && 
     4414         { ac_try='test -s conftest.$ac_objext' 
     4415  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4416  (eval $ac_try) 2>&5 
     4417  ac_status=$? 
     4418  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4419  (exit $ac_status); }; }; then 
     4420  ac_header_compiler=yes 
     4421else 
     4422  echo "$as_me: failed program was:" >&5 
     4423sed 's/^/| /' conftest.$ac_ext >&5 
     4424 
     4425ac_header_compiler=no 
     4426fi 
     4427rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4428echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4429echo "${ECHO_T}$ac_header_compiler" >&6 
     4430 
     4431# Is the header present? 
     4432echo "$as_me:$LINENO: checking assert.h presence" >&5 
     4433echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 
     4434cat >conftest.$ac_ext <<_ACEOF 
     4435/* confdefs.h.  */ 
     4436_ACEOF 
     4437cat confdefs.h >>conftest.$ac_ext 
     4438cat >>conftest.$ac_ext <<_ACEOF 
     4439/* end confdefs.h.  */ 
     4440#include <assert.h> 
     4441_ACEOF 
     4442if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4443  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4444  ac_status=$? 
     4445  grep -v '^ *+' conftest.er1 >conftest.err 
     4446  rm -f conftest.er1 
     4447  cat conftest.err >&5 
     4448  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    30744449  (exit $ac_status); } >/dev/null; then 
    30754450  if test -s conftest.err; then 
    30764451    ac_cpp_err=$ac_c_preproc_warn_flag 
     4452    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    30774453  else 
    30784454    ac_cpp_err= 
     
    30824458fi 
    30834459if test -z "$ac_cpp_err"; then 
    3084   ac_cv_header_assert_h=yes 
     4460  ac_header_preproc=yes 
    30854461else 
    30864462  echo "$as_me: failed program was:" >&5 
    3087   cat conftest.$ac_ext >&5 
    3088   ac_cv_header_assert_h=no 
     4463sed 's/^/| /' conftest.$ac_ext >&5 
     4464 
     4465  ac_header_preproc=no 
    30894466fi 
    30904467rm -f conftest.err conftest.$ac_ext 
    3091 fi 
    3092 echo "$as_me:3092: result: $ac_cv_header_assert_h" >&5 
     4468echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4469echo "${ECHO_T}$ac_header_preproc" >&6 
     4470 
     4471# So?  What about this header? 
     4472case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4473  yes:no: ) 
     4474    { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4475echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4476    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
     4477echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
     4478    ac_header_preproc=yes 
     4479    ;; 
     4480  no:yes:* ) 
     4481    { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
     4482echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
     4483    { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
     4484echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
     4485    { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
     4486echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
     4487    { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
     4488echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4489    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
     4490echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
     4491    { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
     4492echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
     4493    ( 
     4494      cat <<\_ASBOX 
     4495## ------------------------------------ ## 
     4496## Report this to the pjproject lists.  ## 
     4497## ------------------------------------ ## 
     4498_ASBOX 
     4499    ) | 
     4500      sed "s/^/$as_me: WARNING:     /" >&2 
     4501    ;; 
     4502esac 
     4503echo "$as_me:$LINENO: checking for assert.h" >&5 
     4504echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 
     4505if test "${ac_cv_header_assert_h+set}" = set; then 
     4506  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4507else 
     4508  ac_cv_header_assert_h=$ac_header_preproc 
     4509fi 
     4510echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    30934511echo "${ECHO_T}$ac_cv_header_assert_h" >&6 
     4512 
     4513fi 
    30944514if test $ac_cv_header_assert_h = yes; then 
    3095   cat >>confdefs.h <<\EOF 
     4515  cat >>confdefs.h <<\_ACEOF 
    30964516#define PJ_HAS_ASSERT_H 1 
    3097 EOF 
    3098  
    3099 fi 
    3100  
    3101 echo "$as_me:3101: checking for ctype.h" >&5 
     4517_ACEOF 
     4518 
     4519fi 
     4520 
     4521 
     4522if test "${ac_cv_header_ctype_h+set}" = set; then 
     4523  echo "$as_me:$LINENO: checking for ctype.h" >&5 
    31024524echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 
    31034525if test "${ac_cv_header_ctype_h+set}" = set; then 
    31044526  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3105 else 
    3106   cat >conftest.$ac_ext <<_ACEOF 
    3107 #line 3107 "configure" 
    3108 #include "confdefs.h" 
     4527fi 
     4528echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     4529echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 
     4530else 
     4531  # Is the header compilable? 
     4532echo "$as_me:$LINENO: checking ctype.h usability" >&5 
     4533echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 
     4534cat >conftest.$ac_ext <<_ACEOF 
     4535/* confdefs.h.  */ 
     4536_ACEOF 
     4537cat confdefs.h >>conftest.$ac_ext 
     4538cat >>conftest.$ac_ext <<_ACEOF 
     4539/* end confdefs.h.  */ 
     4540$ac_includes_default 
    31094541#include <ctype.h> 
    31104542_ACEOF 
    3111 if { (eval echo "$as_me:3111: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3112   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3113   ac_status=$? 
    3114   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4543rm -f conftest.$ac_objext 
     4544if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4545  (eval $ac_compile) 2>conftest.er1 
     4546  ac_status=$? 
     4547  grep -v '^ *+' conftest.er1 >conftest.err 
    31154548  rm -f conftest.er1 
    31164549  cat conftest.err >&5 
    3117   echo "$as_me:3117: \$? = $ac_status" >&5 
     4550  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4551  (exit $ac_status); } && 
     4552         { ac_try='test -z "$ac_c_werror_flag" 
     4553                         || test ! -s conftest.err' 
     4554  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4555  (eval $ac_try) 2>&5 
     4556  ac_status=$? 
     4557  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4558  (exit $ac_status); }; } && 
     4559         { ac_try='test -s conftest.$ac_objext' 
     4560  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4561  (eval $ac_try) 2>&5 
     4562  ac_status=$? 
     4563  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4564  (exit $ac_status); }; }; then 
     4565  ac_header_compiler=yes 
     4566else 
     4567  echo "$as_me: failed program was:" >&5 
     4568sed 's/^/| /' conftest.$ac_ext >&5 
     4569 
     4570ac_header_compiler=no 
     4571fi 
     4572rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4573echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4574echo "${ECHO_T}$ac_header_compiler" >&6 
     4575 
     4576# Is the header present? 
     4577echo "$as_me:$LINENO: checking ctype.h presence" >&5 
     4578echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 
     4579cat >conftest.$ac_ext <<_ACEOF 
     4580/* confdefs.h.  */ 
     4581_ACEOF 
     4582cat confdefs.h >>conftest.$ac_ext 
     4583cat >>conftest.$ac_ext <<_ACEOF 
     4584/* end confdefs.h.  */ 
     4585#include <ctype.h> 
     4586_ACEOF 
     4587if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4588  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4589  ac_status=$? 
     4590  grep -v '^ *+' conftest.er1 >conftest.err 
     4591  rm -f conftest.er1 
     4592  cat conftest.err >&5 
     4593  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    31184594  (exit $ac_status); } >/dev/null; then 
    31194595  if test -s conftest.err; then 
    31204596    ac_cpp_err=$ac_c_preproc_warn_flag 
     4597    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    31214598  else 
    31224599    ac_cpp_err= 
     
    31264603fi 
    31274604if test -z "$ac_cpp_err"; then 
    3128   ac_cv_header_ctype_h=yes 
     4605  ac_header_preproc=yes 
    31294606else 
    31304607  echo "$as_me: failed program was:" >&5 
    3131   cat conftest.$ac_ext >&5 
    3132   ac_cv_header_ctype_h=no 
     4608sed 's/^/| /' conftest.$ac_ext >&5 
     4609 
     4610  ac_header_preproc=no 
    31334611fi 
    31344612rm -f conftest.err conftest.$ac_ext 
    3135 fi 
    3136 echo "$as_me:3136: result: $ac_cv_header_ctype_h" >&5 
     4613echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4614echo "${ECHO_T}$ac_header_preproc" >&6 
     4615 
     4616# So?  What about this header? 
     4617case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4618  yes:no: ) 
     4619    { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4620echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4621    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
     4622echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
     4623    ac_header_preproc=yes 
     4624    ;; 
     4625  no:yes:* ) 
     4626    { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
     4627echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
     4628    { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
     4629echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
     4630    { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
     4631echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
     4632    { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
     4633echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4634    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
     4635echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
     4636    { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
     4637echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
     4638    ( 
     4639      cat <<\_ASBOX 
     4640## ------------------------------------ ## 
     4641## Report this to the pjproject lists.  ## 
     4642## ------------------------------------ ## 
     4643_ASBOX 
     4644    ) | 
     4645      sed "s/^/$as_me: WARNING:     /" >&2 
     4646    ;; 
     4647esac 
     4648echo "$as_me:$LINENO: checking for ctype.h" >&5 
     4649echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 
     4650if test "${ac_cv_header_ctype_h+set}" = set; then 
     4651  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4652else 
     4653  ac_cv_header_ctype_h=$ac_header_preproc 
     4654fi 
     4655echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    31374656echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 
     4657 
     4658fi 
    31384659if test $ac_cv_header_ctype_h = yes; then 
    3139   cat >>confdefs.h <<\EOF 
     4660  cat >>confdefs.h <<\_ACEOF 
    31404661#define PJ_HAS_CTYPE_H 1 
    3141 EOF 
    3142  
    3143 fi 
     4662_ACEOF 
     4663 
     4664fi 
     4665 
     4666 
    31444667 
    31454668case $target in 
    31464669    *mingw* | *cygw* | *win32* | *w32* ) 
    3147         cat >>confdefs.h <<\EOF 
     4670        cat >>confdefs.h <<\_ACEOF 
    31484671#define PJ_HAS_ERRNO_H 0 
    3149 EOF 
     4672_ACEOF 
    31504673 
    31514674        ;; 
    31524675    *) 
    3153         echo "$as_me:3153: checking for errno.h" >&5 
     4676        if test "${ac_cv_header_errno_h+set}" = set; then 
     4677  echo "$as_me:$LINENO: checking for errno.h" >&5 
    31544678echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 
    31554679if test "${ac_cv_header_errno_h+set}" = set; then 
    31564680  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3157 else 
    3158   cat >conftest.$ac_ext <<_ACEOF 
    3159 #line 3159 "configure" 
    3160 #include "confdefs.h" 
     4681fi 
     4682echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     4683echo "${ECHO_T}$ac_cv_header_errno_h" >&6 
     4684else 
     4685  # Is the header compilable? 
     4686echo "$as_me:$LINENO: checking errno.h usability" >&5 
     4687echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 
     4688cat >conftest.$ac_ext <<_ACEOF 
     4689/* confdefs.h.  */ 
     4690_ACEOF 
     4691cat confdefs.h >>conftest.$ac_ext 
     4692cat >>conftest.$ac_ext <<_ACEOF 
     4693/* end confdefs.h.  */ 
     4694$ac_includes_default 
    31614695#include <errno.h> 
    31624696_ACEOF 
    3163 if { (eval echo "$as_me:3163: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3164   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3165   ac_status=$? 
    3166   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4697rm -f conftest.$ac_objext 
     4698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4699  (eval $ac_compile) 2>conftest.er1 
     4700  ac_status=$? 
     4701  grep -v '^ *+' conftest.er1 >conftest.err 
    31674702  rm -f conftest.er1 
    31684703  cat conftest.err >&5 
    3169   echo "$as_me:3169: \$? = $ac_status" >&5 
     4704  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4705  (exit $ac_status); } && 
     4706         { ac_try='test -z "$ac_c_werror_flag" 
     4707                         || test ! -s conftest.err' 
     4708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4709  (eval $ac_try) 2>&5 
     4710  ac_status=$? 
     4711  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4712  (exit $ac_status); }; } && 
     4713         { ac_try='test -s conftest.$ac_objext' 
     4714  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4715  (eval $ac_try) 2>&5 
     4716  ac_status=$? 
     4717  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4718  (exit $ac_status); }; }; then 
     4719  ac_header_compiler=yes 
     4720else 
     4721  echo "$as_me: failed program was:" >&5 
     4722sed 's/^/| /' conftest.$ac_ext >&5 
     4723 
     4724ac_header_compiler=no 
     4725fi 
     4726rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4727echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4728echo "${ECHO_T}$ac_header_compiler" >&6 
     4729 
     4730# Is the header present? 
     4731echo "$as_me:$LINENO: checking errno.h presence" >&5 
     4732echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 
     4733cat >conftest.$ac_ext <<_ACEOF 
     4734/* confdefs.h.  */ 
     4735_ACEOF 
     4736cat confdefs.h >>conftest.$ac_ext 
     4737cat >>conftest.$ac_ext <<_ACEOF 
     4738/* end confdefs.h.  */ 
     4739#include <errno.h> 
     4740_ACEOF 
     4741if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4742  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4743  ac_status=$? 
     4744  grep -v '^ *+' conftest.er1 >conftest.err 
     4745  rm -f conftest.er1 
     4746  cat conftest.err >&5 
     4747  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    31704748  (exit $ac_status); } >/dev/null; then 
    31714749  if test -s conftest.err; then 
    31724750    ac_cpp_err=$ac_c_preproc_warn_flag 
     4751    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    31734752  else 
    31744753    ac_cpp_err= 
     
    31784757fi 
    31794758if test -z "$ac_cpp_err"; then 
    3180   ac_cv_header_errno_h=yes 
     4759  ac_header_preproc=yes 
    31814760else 
    31824761  echo "$as_me: failed program was:" >&5 
    3183   cat conftest.$ac_ext >&5 
    3184   ac_cv_header_errno_h=no 
     4762sed 's/^/| /' conftest.$ac_ext >&5 
     4763 
     4764  ac_header_preproc=no 
    31854765fi 
    31864766rm -f conftest.err conftest.$ac_ext 
    3187 fi 
    3188 echo "$as_me:3188: result: $ac_cv_header_errno_h" >&5 
     4767echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4768echo "${ECHO_T}$ac_header_preproc" >&6 
     4769 
     4770# So?  What about this header? 
     4771case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4772  yes:no: ) 
     4773    { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4774echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4775    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
     4776echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
     4777    ac_header_preproc=yes 
     4778    ;; 
     4779  no:yes:* ) 
     4780    { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
     4781echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
     4782    { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
     4783echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
     4784    { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
     4785echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
     4786    { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
     4787echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4788    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
     4789echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
     4790    { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
     4791echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
     4792    ( 
     4793      cat <<\_ASBOX 
     4794## ------------------------------------ ## 
     4795## Report this to the pjproject lists.  ## 
     4796## ------------------------------------ ## 
     4797_ASBOX 
     4798    ) | 
     4799      sed "s/^/$as_me: WARNING:     /" >&2 
     4800    ;; 
     4801esac 
     4802echo "$as_me:$LINENO: checking for errno.h" >&5 
     4803echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 
     4804if test "${ac_cv_header_errno_h+set}" = set; then 
     4805  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4806else 
     4807  ac_cv_header_errno_h=$ac_header_preproc 
     4808fi 
     4809echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    31894810echo "${ECHO_T}$ac_cv_header_errno_h" >&6 
     4811 
     4812fi 
    31904813if test $ac_cv_header_errno_h = yes; then 
    3191   cat >>confdefs.h <<\EOF 
     4814  cat >>confdefs.h <<\_ACEOF 
    31924815#define PJ_HAS_ERRNO_H 1 
    3193 EOF 
    3194  
    3195 fi 
     4816_ACEOF 
     4817 
     4818fi 
     4819 
    31964820 
    31974821        ;; 
    31984822esac 
    31994823 
    3200 echo "$as_me:3200: checking for linux/socket.h" >&5 
     4824if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     4825  echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    32014826echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 
    32024827if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    32034828  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3204 else 
    3205   cat >conftest.$ac_ext <<_ACEOF 
    3206 #line 3206 "configure" 
    3207 #include "confdefs.h" 
     4829fi 
     4830echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     4831echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 
     4832else 
     4833  # Is the header compilable? 
     4834echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
     4835echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 
     4836cat >conftest.$ac_ext <<_ACEOF 
     4837/* confdefs.h.  */ 
     4838_ACEOF 
     4839cat confdefs.h >>conftest.$ac_ext 
     4840cat >>conftest.$ac_ext <<_ACEOF 
     4841/* end confdefs.h.  */ 
     4842$ac_includes_default 
    32084843#include <linux/socket.h> 
    32094844_ACEOF 
    3210 if { (eval echo "$as_me:3210: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3211   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3212   ac_status=$? 
    3213   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4845rm -f conftest.$ac_objext 
     4846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4847  (eval $ac_compile) 2>conftest.er1 
     4848  ac_status=$? 
     4849  grep -v '^ *+' conftest.er1 >conftest.err 
    32144850  rm -f conftest.er1 
    32154851  cat conftest.err >&5 
    3216   echo "$as_me:3216: \$? = $ac_status" >&5 
     4852  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4853  (exit $ac_status); } && 
     4854         { ac_try='test -z "$ac_c_werror_flag" 
     4855                         || test ! -s conftest.err' 
     4856  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4857  (eval $ac_try) 2>&5 
     4858  ac_status=$? 
     4859  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4860  (exit $ac_status); }; } && 
     4861         { ac_try='test -s conftest.$ac_objext' 
     4862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4863  (eval $ac_try) 2>&5 
     4864  ac_status=$? 
     4865  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4866  (exit $ac_status); }; }; then 
     4867  ac_header_compiler=yes 
     4868else 
     4869  echo "$as_me: failed program was:" >&5 
     4870sed 's/^/| /' conftest.$ac_ext >&5 
     4871 
     4872ac_header_compiler=no 
     4873fi 
     4874rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4875echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4876echo "${ECHO_T}$ac_header_compiler" >&6 
     4877 
     4878# Is the header present? 
     4879echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
     4880echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 
     4881cat >conftest.$ac_ext <<_ACEOF 
     4882/* confdefs.h.  */ 
     4883_ACEOF 
     4884cat confdefs.h >>conftest.$ac_ext 
     4885cat >>conftest.$ac_ext <<_ACEOF 
     4886/* end confdefs.h.  */ 
     4887#include <linux/socket.h> 
     4888_ACEOF 
     4889if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4890  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4891  ac_status=$? 
     4892  grep -v '^ *+' conftest.er1 >conftest.err 
     4893  rm -f conftest.er1 
     4894  cat conftest.err >&5 
     4895  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32174896  (exit $ac_status); } >/dev/null; then 
    32184897  if test -s conftest.err; then 
    32194898    ac_cpp_err=$ac_c_preproc_warn_flag 
     4899    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    32204900  else 
    32214901    ac_cpp_err= 
     
    32254905fi 
    32264906if test -z "$ac_cpp_err"; then 
    3227   ac_cv_header_linux_socket_h=yes 
     4907  ac_header_preproc=yes 
    32284908else 
    32294909  echo "$as_me: failed program was:" >&5 
    3230   cat conftest.$ac_ext >&5 
    3231   ac_cv_header_linux_socket_h=no 
     4910sed 's/^/| /' conftest.$ac_ext >&5 
     4911 
     4912  ac_header_preproc=no 
    32324913fi 
    32334914rm -f conftest.err conftest.$ac_ext 
    3234 fi 
    3235 echo "$as_me:3235: result: $ac_cv_header_linux_socket_h" >&5 
     4915echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4916echo "${ECHO_T}$ac_header_preproc" >&6 
     4917 
     4918# So?  What about this header? 
     4919case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4920  yes:no: ) 
     4921    { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4922echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4923    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
     4924echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
     4925    ac_header_preproc=yes 
     4926    ;; 
     4927  no:yes:* ) 
     4928    { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
     4929echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
     4930    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
     4931echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
     4932    { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
     4933echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
     4934    { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     4935echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4936    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
     4937echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
     4938    { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
     4939echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
     4940    ( 
     4941      cat <<\_ASBOX 
     4942## ------------------------------------ ## 
     4943## Report this to the pjproject lists.  ## 
     4944## ------------------------------------ ## 
     4945_ASBOX 
     4946    ) | 
     4947      sed "s/^/$as_me: WARNING:     /" >&2 
     4948    ;; 
     4949esac 
     4950echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     4951echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 
     4952if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     4953  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4954else 
     4955  ac_cv_header_linux_socket_h=$ac_header_preproc 
     4956fi 
     4957echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    32364958echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 
     4959 
     4960fi 
    32374961if test $ac_cv_header_linux_socket_h = yes; then 
    3238   cat >>confdefs.h <<\EOF 
     4962  cat >>confdefs.h <<\_ACEOF 
    32394963#define PJ_HAS_LINUX_SOCKET_H 1 
    3240 EOF 
    3241  
    3242 fi 
    3243  
    3244 echo "$as_me:3244: checking for malloc.h" >&5 
     4964_ACEOF 
     4965 
     4966fi 
     4967 
     4968 
     4969if test "${ac_cv_header_malloc_h+set}" = set; then 
     4970  echo "$as_me:$LINENO: checking for malloc.h" >&5 
    32454971echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 
    32464972if test "${ac_cv_header_malloc_h+set}" = set; then 
    32474973  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3248 else 
    3249   cat >conftest.$ac_ext <<_ACEOF 
    3250 #line 3250 "configure" 
    3251 #include "confdefs.h" 
     4974fi 
     4975echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     4976echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 
     4977else 
     4978  # Is the header compilable? 
     4979echo "$as_me:$LINENO: checking malloc.h usability" >&5 
     4980echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 
     4981cat >conftest.$ac_ext <<_ACEOF 
     4982/* confdefs.h.  */ 
     4983_ACEOF 
     4984cat confdefs.h >>conftest.$ac_ext 
     4985cat >>conftest.$ac_ext <<_ACEOF 
     4986/* end confdefs.h.  */ 
     4987$ac_includes_default 
    32524988#include <malloc.h> 
    32534989_ACEOF 
    3254 if { (eval echo "$as_me:3254: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3255   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3256   ac_status=$? 
    3257   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4990rm -f conftest.$ac_objext 
     4991if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4992  (eval $ac_compile) 2>conftest.er1 
     4993  ac_status=$? 
     4994  grep -v '^ *+' conftest.er1 >conftest.err 
    32584995  rm -f conftest.er1 
    32594996  cat conftest.err >&5 
    3260   echo "$as_me:3260: \$? = $ac_status" >&5 
     4997  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4998  (exit $ac_status); } && 
     4999         { ac_try='test -z "$ac_c_werror_flag" 
     5000                         || test ! -s conftest.err' 
     5001  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5002  (eval $ac_try) 2>&5 
     5003  ac_status=$? 
     5004  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5005  (exit $ac_status); }; } && 
     5006         { ac_try='test -s conftest.$ac_objext' 
     5007  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5008  (eval $ac_try) 2>&5 
     5009  ac_status=$? 
     5010  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5011  (exit $ac_status); }; }; then 
     5012  ac_header_compiler=yes 
     5013else 
     5014  echo "$as_me: failed program was:" >&5 
     5015sed 's/^/| /' conftest.$ac_ext >&5 
     5016 
     5017ac_header_compiler=no 
     5018fi 
     5019rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5020echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5021echo "${ECHO_T}$ac_header_compiler" >&6 
     5022 
     5023# Is the header present? 
     5024echo "$as_me:$LINENO: checking malloc.h presence" >&5 
     5025echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 
     5026cat >conftest.$ac_ext <<_ACEOF 
     5027/* confdefs.h.  */ 
     5028_ACEOF 
     5029cat confdefs.h >>conftest.$ac_ext 
     5030cat >>conftest.$ac_ext <<_ACEOF 
     5031/* end confdefs.h.  */ 
     5032#include <malloc.h> 
     5033_ACEOF 
     5034if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5035  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5036  ac_status=$? 
     5037  grep -v '^ *+' conftest.er1 >conftest.err 
     5038  rm -f conftest.er1 
     5039  cat conftest.err >&5 
     5040  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32615041  (exit $ac_status); } >/dev/null; then 
    32625042  if test -s conftest.err; then 
    32635043    ac_cpp_err=$ac_c_preproc_warn_flag 
     5044    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    32645045  else 
    32655046    ac_cpp_err= 
     
    32695050fi 
    32705051if test -z "$ac_cpp_err"; then 
    3271   ac_cv_header_malloc_h=yes 
     5052  ac_header_preproc=yes 
    32725053else 
    32735054  echo "$as_me: failed program was:" >&5 
    3274   cat conftest.$ac_ext >&5 
    3275   ac_cv_header_malloc_h=no 
     5055sed 's/^/| /' conftest.$ac_ext >&5 
     5056 
     5057  ac_header_preproc=no 
    32765058fi 
    32775059rm -f conftest.err conftest.$ac_ext 
    3278 fi 
    3279 echo "$as_me:3279: result: $ac_cv_header_malloc_h" >&5 
     5060echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5061echo "${ECHO_T}$ac_header_preproc" >&6 
     5062 
     5063# So?  What about this header? 
     5064case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5065  yes:no: ) 
     5066    { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5067echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5068    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
     5069echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
     5070    ac_header_preproc=yes 
     5071    ;; 
     5072  no:yes:* ) 
     5073    { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
     5074echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
     5075    { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
     5076echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
     5077    { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
     5078echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
     5079    { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5080echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5081    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
     5082echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
     5083    { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
     5084echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
     5085    ( 
     5086      cat <<\_ASBOX 
     5087## ------------------------------------ ## 
     5088## Report this to the pjproject lists.  ## 
     5089## ------------------------------------ ## 
     5090_ASBOX 
     5091    ) | 
     5092      sed "s/^/$as_me: WARNING:     /" >&2 
     5093    ;; 
     5094esac 
     5095echo "$as_me:$LINENO: checking for malloc.h" >&5 
     5096echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 
     5097if test "${ac_cv_header_malloc_h+set}" = set; then 
     5098  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5099else 
     5100  ac_cv_header_malloc_h=$ac_header_preproc 
     5101fi 
     5102echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    32805103echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 
     5104 
     5105fi 
    32815106if test $ac_cv_header_malloc_h = yes; then 
    3282   cat >>confdefs.h <<\EOF 
     5107  cat >>confdefs.h <<\_ACEOF 
    32835108#define PJ_HAS_MALLOC_H 1 
    3284 EOF 
    3285  
    3286 fi 
    3287  
    3288 echo "$as_me:3288: checking for netdb.h" >&5 
     5109_ACEOF 
     5110 
     5111fi 
     5112 
     5113 
     5114if test "${ac_cv_header_netdb_h+set}" = set; then 
     5115  echo "$as_me:$LINENO: checking for netdb.h" >&5 
    32895116echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 
    32905117if test "${ac_cv_header_netdb_h+set}" = set; then 
    32915118  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3292 else 
    3293   cat >conftest.$ac_ext <<_ACEOF 
    3294 #line 3294 "configure" 
    3295 #include "confdefs.h" 
     5119fi 
     5120echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     5121echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 
     5122else 
     5123  # Is the header compilable? 
     5124echo "$as_me:$LINENO: checking netdb.h usability" >&5 
     5125echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 
     5126cat >conftest.$ac_ext <<_ACEOF 
     5127/* confdefs.h.  */ 
     5128_ACEOF 
     5129cat confdefs.h >>conftest.$ac_ext 
     5130cat >>conftest.$ac_ext <<_ACEOF 
     5131/* end confdefs.h.  */ 
     5132$ac_includes_default 
    32965133#include <netdb.h> 
    32975134_ACEOF 
    3298 if { (eval echo "$as_me:3298: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3299   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3300   ac_status=$? 
    3301   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5135rm -f conftest.$ac_objext 
     5136if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5137  (eval $ac_compile) 2>conftest.er1 
     5138  ac_status=$? 
     5139  grep -v '^ *+' conftest.er1 >conftest.err 
    33025140  rm -f conftest.er1 
    33035141  cat conftest.err >&5 
    3304   echo "$as_me:3304: \$? = $ac_status" >&5 
     5142  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5143  (exit $ac_status); } && 
     5144         { ac_try='test -z "$ac_c_werror_flag" 
     5145                         || test ! -s conftest.err' 
     5146  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5147  (eval $ac_try) 2>&5 
     5148  ac_status=$? 
     5149  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5150  (exit $ac_status); }; } && 
     5151         { ac_try='test -s conftest.$ac_objext' 
     5152  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5153  (eval $ac_try) 2>&5 
     5154  ac_status=$? 
     5155  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5156  (exit $ac_status); }; }; then 
     5157  ac_header_compiler=yes 
     5158else 
     5159  echo "$as_me: failed program was:" >&5 
     5160sed 's/^/| /' conftest.$ac_ext >&5 
     5161 
     5162ac_header_compiler=no 
     5163fi 
     5164rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5165echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5166echo "${ECHO_T}$ac_header_compiler" >&6 
     5167 
     5168# Is the header present? 
     5169echo "$as_me:$LINENO: checking netdb.h presence" >&5 
     5170echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 
     5171cat >conftest.$ac_ext <<_ACEOF 
     5172/* confdefs.h.  */ 
     5173_ACEOF 
     5174cat confdefs.h >>conftest.$ac_ext 
     5175cat >>conftest.$ac_ext <<_ACEOF 
     5176/* end confdefs.h.  */ 
     5177#include <netdb.h> 
     5178_ACEOF 
     5179if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5180  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5181  ac_status=$? 
     5182  grep -v '^ *+' conftest.er1 >conftest.err 
     5183  rm -f conftest.er1 
     5184  cat conftest.err >&5 
     5185  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    33055186  (exit $ac_status); } >/dev/null; then 
    33065187  if test -s conftest.err; then 
    33075188    ac_cpp_err=$ac_c_preproc_warn_flag 
     5189    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    33085190  else 
    33095191    ac_cpp_err= 
     
    33135195fi 
    33145196if test -z "$ac_cpp_err"; then 
    3315   ac_cv_header_netdb_h=yes 
     5197  ac_header_preproc=yes 
    33165198else 
    33175199  echo "$as_me: failed program was:" >&5 
    3318   cat conftest.$ac_ext >&5 
    3319   ac_cv_header_netdb_h=no 
     5200sed 's/^/| /' conftest.$ac_ext >&5 
     5201 
     5202  ac_header_preproc=no 
    33205203fi 
    33215204rm -f conftest.err conftest.$ac_ext 
    3322 fi 
    3323 echo "$as_me:3323: result: $ac_cv_header_netdb_h" >&5 
     5205echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5206echo "${ECHO_T}$ac_header_preproc" >&6 
     5207 
     5208# So?  What about this header? 
     5209case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5210  yes:no: ) 
     5211    { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5212echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5213    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
     5214echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
     5215    ac_header_preproc=yes 
     5216    ;; 
     5217  no:yes:* ) 
     5218    { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
     5219echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
     5220    { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
     5221echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
     5222    { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
     5223echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
     5224    { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5225echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5226    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
     5227echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
     5228    { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
     5229echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
     5230    ( 
     5231      cat <<\_ASBOX 
     5232## ------------------------------------ ## 
     5233## Report this to the pjproject lists.  ## 
     5234## ------------------------------------ ## 
     5235_ASBOX 
     5236    ) | 
     5237      sed "s/^/$as_me: WARNING:     /" >&2 
     5238    ;; 
     5239esac 
     5240echo "$as_me:$LINENO: checking for netdb.h" >&5 
     5241echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 
     5242if test "${ac_cv_header_netdb_h+set}" = set; then 
     5243  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5244else 
     5245  ac_cv_header_netdb_h=$ac_header_preproc 
     5246fi 
     5247echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    33245248echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 
     5249 
     5250fi 
    33255251if test $ac_cv_header_netdb_h = yes; then 
    3326   cat >>confdefs.h <<\EOF 
     5252  cat >>confdefs.h <<\_ACEOF 
    33275253#define PJ_HAS_NETDB_H 1 
    3328 EOF 
    3329  
    3330 fi 
    3331  
    3332 echo "$as_me:3332: checking for netinet/in.h" >&5 
     5254_ACEOF 
     5255 
     5256fi 
     5257 
     5258 
     5259if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     5260  echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    33335261echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 
    33345262if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    33355263  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3336 else 
    3337   cat >conftest.$ac_ext <<_ACEOF 
    3338 #line 3338 "configure" 
    3339 #include "confdefs.h" 
     5264fi 
     5265echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     5266echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 
     5267else 
     5268  # Is the header compilable? 
     5269echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
     5270echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 
     5271cat >conftest.$ac_ext <<_ACEOF 
     5272/* confdefs.h.  */ 
     5273_ACEOF 
     5274cat confdefs.h >>conftest.$ac_ext 
     5275cat >>conftest.$ac_ext <<_ACEOF 
     5276/* end confdefs.h.  */ 
     5277$ac_includes_default 
    33405278#include <netinet/in.h> 
    33415279_ACEOF 
    3342 if { (eval echo "$as_me:3342: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3343   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3344   ac_status=$? 
    3345   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5280rm -f conftest.$ac_objext 
     5281if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5282  (eval $ac_compile) 2>conftest.er1 
     5283  ac_status=$? 
     5284  grep -v '^ *+' conftest.er1 >conftest.err 
    33465285  rm -f conftest.er1 
    33475286  cat conftest.err >&5 
    3348   echo "$as_me:3348: \$? = $ac_status" >&5 
     5287  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5288  (exit $ac_status); } && 
     5289         { ac_try='test -z "$ac_c_werror_flag" 
     5290                         || test ! -s conftest.err' 
     5291  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5292  (eval $ac_try) 2>&5 
     5293  ac_status=$? 
     5294  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5295  (exit $ac_status); }; } && 
     5296         { ac_try='test -s conftest.$ac_objext' 
     5297  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5298  (eval $ac_try) 2>&5 
     5299  ac_status=$? 
     5300  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5301  (exit $ac_status); }; }; then 
     5302  ac_header_compiler=yes 
     5303else 
     5304  echo "$as_me: failed program was:" >&5 
     5305sed 's/^/| /' conftest.$ac_ext >&5 
     5306 
     5307ac_header_compiler=no 
     5308fi 
     5309rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5310echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5311echo "${ECHO_T}$ac_header_compiler" >&6 
     5312 
     5313# Is the header present? 
     5314echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
     5315echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 
     5316cat >conftest.$ac_ext <<_ACEOF 
     5317/* confdefs.h.  */ 
     5318_ACEOF 
     5319cat confdefs.h >>conftest.$ac_ext 
     5320cat >>conftest.$ac_ext <<_ACEOF 
     5321/* end confdefs.h.  */ 
     5322#include <netinet/in.h> 
     5323_ACEOF 
     5324if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5325  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5326  ac_status=$? 
     5327  grep -v '^ *+' conftest.er1 >conftest.err 
     5328  rm -f conftest.er1 
     5329  cat conftest.err >&5 
     5330  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    33495331  (exit $ac_status); } >/dev/null; then 
    33505332  if test -s conftest.err; then 
    33515333    ac_cpp_err=$ac_c_preproc_warn_flag 
     5334    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    33525335  else 
    33535336    ac_cpp_err= 
     
    33575340fi 
    33585341if test -z "$ac_cpp_err"; then 
    3359   ac_cv_header_netinet_in_h=yes 
     5342  ac_header_preproc=yes 
    33605343else 
    33615344  echo "$as_me: failed program was:" >&5 
    3362   cat conftest.$ac_ext >&5 
    3363   ac_cv_header_netinet_in_h=no 
     5345sed 's/^/| /' conftest.$ac_ext >&5 
     5346 
     5347  ac_header_preproc=no 
    33645348fi 
    33655349rm -f conftest.err conftest.$ac_ext 
    3366 fi 
    3367 echo "$as_me:3367: result: $ac_cv_header_netinet_in_h" >&5 
     5350echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5351echo "${ECHO_T}$ac_header_preproc" >&6 
     5352 
     5353# So?  What about this header? 
     5354case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5355  yes:no: ) 
     5356    { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5357echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5358    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
     5359echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
     5360    ac_header_preproc=yes 
     5361    ;; 
     5362  no:yes:* ) 
     5363    { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
     5364echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
     5365    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
     5366echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
     5367    { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
     5368echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
     5369    { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5370echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5371    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
     5372echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
     5373    { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
     5374echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
     5375    ( 
     5376      cat <<\_ASBOX 
     5377## ------------------------------------ ## 
     5378## Report this to the pjproject lists.  ## 
     5379## ------------------------------------ ## 
     5380_ASBOX 
     5381    ) | 
     5382      sed "s/^/$as_me: WARNING:     /" >&2 
     5383    ;; 
     5384esac 
     5385echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     5386echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 
     5387if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     5388  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5389else 
     5390  ac_cv_header_netinet_in_h=$ac_header_preproc 
     5391fi 
     5392echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    33685393echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 
     5394 
     5395fi 
    33695396if test $ac_cv_header_netinet_in_h = yes; then 
    3370   cat >>confdefs.h <<\EOF 
     5397  cat >>confdefs.h <<\_ACEOF 
    33715398#define PJ_HAS_NETINET_IN_H 1 
    3372 EOF 
    3373  
    3374 fi 
    3375  
    3376 echo "$as_me:3376: checking for setjmp.h" >&5 
     5399_ACEOF 
     5400 
     5401fi 
     5402 
     5403 
     5404if test "${ac_cv_header_setjmp_h+set}" = set; then 
     5405  echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    33775406echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 
    33785407if test "${ac_cv_header_setjmp_h+set}" = set; then 
    33795408  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3380 else 
    3381   cat >conftest.$ac_ext <<_ACEOF 
    3382 #line 3382 "configure" 
    3383 #include "confdefs.h" 
     5409fi 
     5410echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     5411echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 
     5412else 
     5413  # Is the header compilable? 
     5414echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
     5415echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 
     5416cat >conftest.$ac_ext <<_ACEOF 
     5417/* confdefs.h.  */ 
     5418_ACEOF 
     5419cat confdefs.h >>conftest.$ac_ext 
     5420cat >>conftest.$ac_ext <<_ACEOF 
     5421/* end confdefs.h.  */ 
     5422$ac_includes_default 
    33845423#include <setjmp.h> 
    33855424_ACEOF 
    3386 if { (eval echo "$as_me:3386: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3387   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3388   ac_status=$? 
    3389   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5425rm -f conftest.$ac_objext 
     5426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5427  (eval $ac_compile) 2>conftest.er1 
     5428  ac_status=$? 
     5429  grep -v '^ *+' conftest.er1 >conftest.err 
    33905430  rm -f conftest.er1 
    33915431  cat conftest.err >&5 
    3392   echo "$as_me:3392: \$? = $ac_status" >&5 
     5432  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5433  (exit $ac_status); } && 
     5434         { ac_try='test -z "$ac_c_werror_flag" 
     5435                         || test ! -s conftest.err' 
     5436  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5437  (eval $ac_try) 2>&5 
     5438  ac_status=$? 
     5439  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5440  (exit $ac_status); }; } && 
     5441         { ac_try='test -s conftest.$ac_objext' 
     5442  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5443  (eval $ac_try) 2>&5 
     5444  ac_status=$? 
     5445  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5446  (exit $ac_status); }; }; then 
     5447  ac_header_compiler=yes 
     5448else 
     5449  echo "$as_me: failed program was:" >&5 
     5450sed 's/^/| /' conftest.$ac_ext >&5 
     5451 
     5452ac_header_compiler=no 
     5453fi 
     5454rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5455echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5456echo "${ECHO_T}$ac_header_compiler" >&6 
     5457 
     5458# Is the header present? 
     5459echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
     5460echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 
     5461cat >conftest.$ac_ext <<_ACEOF 
     5462/* confdefs.h.  */ 
     5463_ACEOF 
     5464cat confdefs.h >>conftest.$ac_ext 
     5465cat >>conftest.$ac_ext <<_ACEOF 
     5466/* end confdefs.h.  */ 
     5467#include <setjmp.h> 
     5468_ACEOF 
     5469if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5470  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5471  ac_status=$? 
     5472  grep -v '^ *+' conftest.er1 >conftest.err 
     5473  rm -f conftest.er1 
     5474  cat conftest.err >&5 
     5475  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    33935476  (exit $ac_status); } >/dev/null; then 
    33945477  if test -s conftest.err; then 
    33955478    ac_cpp_err=$ac_c_preproc_warn_flag 
     5479    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    33965480  else 
    33975481    ac_cpp_err= 
     
    34015485fi 
    34025486if test -z "$ac_cpp_err"; then 
    3403   ac_cv_header_setjmp_h=yes 
     5487  ac_header_preproc=yes 
    34045488else 
    34055489  echo "$as_me: failed program was:" >&5 
    3406   cat conftest.$ac_ext >&5 
    3407   ac_cv_header_setjmp_h=no 
     5490sed 's/^/| /' conftest.$ac_ext >&5 
     5491 
     5492  ac_header_preproc=no 
    34085493fi 
    34095494rm -f conftest.err conftest.$ac_ext 
    3410 fi 
    3411 echo "$as_me:3411: result: $ac_cv_header_setjmp_h" >&5 
     5495echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5496echo "${ECHO_T}$ac_header_preproc" >&6 
     5497 
     5498# So?  What about this header? 
     5499case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5500  yes:no: ) 
     5501    { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5502echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5503    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
     5504echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
     5505    ac_header_preproc=yes 
     5506    ;; 
     5507  no:yes:* ) 
     5508    { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
     5509echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
     5510    { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
     5511echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
     5512    { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
     5513echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
     5514    { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5515echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5516    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
     5517echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
     5518    { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
     5519echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
     5520    ( 
     5521      cat <<\_ASBOX 
     5522## ------------------------------------ ## 
     5523## Report this to the pjproject lists.  ## 
     5524## ------------------------------------ ## 
     5525_ASBOX 
     5526    ) | 
     5527      sed "s/^/$as_me: WARNING:     /" >&2 
     5528    ;; 
     5529esac 
     5530echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     5531echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 
     5532if test "${ac_cv_header_setjmp_h+set}" = set; then 
     5533  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5534else 
     5535  ac_cv_header_setjmp_h=$ac_header_preproc 
     5536fi 
     5537echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    34125538echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 
     5539 
     5540fi 
    34135541if test $ac_cv_header_setjmp_h = yes; then 
    3414   cat >>confdefs.h <<\EOF 
     5542  cat >>confdefs.h <<\_ACEOF 
    34155543#define PJ_HAS_SETJMP_H 1 
    3416 EOF 
    3417  
    3418 fi 
    3419  
    3420 echo "$as_me:3420: checking for stdarg.h" >&5 
     5544_ACEOF 
     5545 
     5546fi 
     5547 
     5548 
     5549if test "${ac_cv_header_stdarg_h+set}" = set; then 
     5550  echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    34215551echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 
    34225552if test "${ac_cv_header_stdarg_h+set}" = set; then 
    34235553  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3424 else 
    3425   cat >conftest.$ac_ext <<_ACEOF 
    3426 #line 3426 "configure" 
    3427 #include "confdefs.h" 
     5554fi 
     5555echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     5556echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 
     5557else 
     5558  # Is the header compilable? 
     5559echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
     5560echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 
     5561cat >conftest.$ac_ext <<_ACEOF 
     5562/* confdefs.h.  */ 
     5563_ACEOF 
     5564cat confdefs.h >>conftest.$ac_ext 
     5565cat >>conftest.$ac_ext <<_ACEOF 
     5566/* end confdefs.h.  */ 
     5567$ac_includes_default 
    34285568#include <stdarg.h> 
    34295569_ACEOF 
    3430 if { (eval echo "$as_me:3430: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3431   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3432   ac_status=$? 
    3433   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5570rm -f conftest.$ac_objext 
     5571if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5572  (eval $ac_compile) 2>conftest.er1 
     5573  ac_status=$? 
     5574  grep -v '^ *+' conftest.er1 >conftest.err 
    34345575  rm -f conftest.er1 
    34355576  cat conftest.err >&5 
    3436   echo "$as_me:3436: \$? = $ac_status" >&5 
     5577  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5578  (exit $ac_status); } && 
     5579         { ac_try='test -z "$ac_c_werror_flag" 
     5580                         || test ! -s conftest.err' 
     5581  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5582  (eval $ac_try) 2>&5 
     5583  ac_status=$? 
     5584  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5585  (exit $ac_status); }; } && 
     5586         { ac_try='test -s conftest.$ac_objext' 
     5587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5588  (eval $ac_try) 2>&5 
     5589  ac_status=$? 
     5590  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5591  (exit $ac_status); }; }; then 
     5592  ac_header_compiler=yes 
     5593else 
     5594  echo "$as_me: failed program was:" >&5 
     5595sed 's/^/| /' conftest.$ac_ext >&5 
     5596 
     5597ac_header_compiler=no 
     5598fi 
     5599rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5600echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5601echo "${ECHO_T}$ac_header_compiler" >&6 
     5602 
     5603# Is the header present? 
     5604echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
     5605echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 
     5606cat >conftest.$ac_ext <<_ACEOF 
     5607/* confdefs.h.  */ 
     5608_ACEOF 
     5609cat confdefs.h >>conftest.$ac_ext 
     5610cat >>conftest.$ac_ext <<_ACEOF 
     5611/* end confdefs.h.  */ 
     5612#include <stdarg.h> 
     5613_ACEOF 
     5614if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5615  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5616  ac_status=$? 
     5617  grep -v '^ *+' conftest.er1 >conftest.err 
     5618  rm -f conftest.er1 
     5619  cat conftest.err >&5 
     5620  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34375621  (exit $ac_status); } >/dev/null; then 
    34385622  if test -s conftest.err; then 
    34395623    ac_cpp_err=$ac_c_preproc_warn_flag 
     5624    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    34405625  else 
    34415626    ac_cpp_err= 
     
    34455630fi 
    34465631if test -z "$ac_cpp_err"; then 
    3447   ac_cv_header_stdarg_h=yes 
     5632  ac_header_preproc=yes 
    34485633else 
    34495634  echo "$as_me: failed program was:" >&5 
    3450   cat conftest.$ac_ext >&5 
    3451   ac_cv_header_stdarg_h=no 
     5635sed 's/^/| /' conftest.$ac_ext >&5 
     5636 
     5637  ac_header_preproc=no 
    34525638fi 
    34535639rm -f conftest.err conftest.$ac_ext 
    3454 fi 
    3455 echo "$as_me:3455: result: $ac_cv_header_stdarg_h" >&5 
     5640echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5641echo "${ECHO_T}$ac_header_preproc" >&6 
     5642 
     5643# So?  What about this header? 
     5644case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5645  yes:no: ) 
     5646    { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5647echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5648    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
     5649echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
     5650    ac_header_preproc=yes 
     5651    ;; 
     5652  no:yes:* ) 
     5653    { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
     5654echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
     5655    { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
     5656echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
     5657    { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
     5658echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
     5659    { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5660echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5661    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
     5662echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
     5663    { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
     5664echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
     5665    ( 
     5666      cat <<\_ASBOX 
     5667## ------------------------------------ ## 
     5668## Report this to the pjproject lists.  ## 
     5669## ------------------------------------ ## 
     5670_ASBOX 
     5671    ) | 
     5672      sed "s/^/$as_me: WARNING:     /" >&2 
     5673    ;; 
     5674esac 
     5675echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     5676echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 
     5677if test "${ac_cv_header_stdarg_h+set}" = set; then 
     5678  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5679else 
     5680  ac_cv_header_stdarg_h=$ac_header_preproc 
     5681fi 
     5682echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    34565683echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 
     5684 
     5685fi 
    34575686if test $ac_cv_header_stdarg_h = yes; then 
    3458   cat >>confdefs.h <<\EOF 
     5687  cat >>confdefs.h <<\_ACEOF 
    34595688#define PJ_HAS_STDARG_H 1 
    3460 EOF 
    3461  
    3462 fi 
    3463  
    3464 echo "$as_me:3464: checking for stddef.h" >&5 
     5689_ACEOF 
     5690 
     5691fi 
     5692 
     5693 
     5694if test "${ac_cv_header_stddef_h+set}" = set; then 
     5695  echo "$as_me:$LINENO: checking for stddef.h" >&5 
    34655696echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 
    34665697if test "${ac_cv_header_stddef_h+set}" = set; then 
    34675698  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3468 else 
    3469   cat >conftest.$ac_ext <<_ACEOF 
    3470 #line 3470 "configure" 
    3471 #include "confdefs.h" 
     5699fi 
     5700echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     5701echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 
     5702else 
     5703  # Is the header compilable? 
     5704echo "$as_me:$LINENO: checking stddef.h usability" >&5 
     5705echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 
     5706cat >conftest.$ac_ext <<_ACEOF 
     5707/* confdefs.h.  */ 
     5708_ACEOF 
     5709cat confdefs.h >>conftest.$ac_ext 
     5710cat >>conftest.$ac_ext <<_ACEOF 
     5711/* end confdefs.h.  */ 
     5712$ac_includes_default 
    34725713#include <stddef.h> 
    34735714_ACEOF 
    3474 if { (eval echo "$as_me:3474: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3475   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3476   ac_status=$? 
    3477   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5715rm -f conftest.$ac_objext 
     5716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5717  (eval $ac_compile) 2>conftest.er1 
     5718  ac_status=$? 
     5719  grep -v '^ *+' conftest.er1 >conftest.err 
    34785720  rm -f conftest.er1 
    34795721  cat conftest.err >&5 
    3480   echo "$as_me:3480: \$? = $ac_status" >&5 
     5722  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5723  (exit $ac_status); } && 
     5724         { ac_try='test -z "$ac_c_werror_flag" 
     5725                         || test ! -s conftest.err' 
     5726  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5727  (eval $ac_try) 2>&5 
     5728  ac_status=$? 
     5729  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5730  (exit $ac_status); }; } && 
     5731         { ac_try='test -s conftest.$ac_objext' 
     5732  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5733  (eval $ac_try) 2>&5 
     5734  ac_status=$? 
     5735  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5736  (exit $ac_status); }; }; then 
     5737  ac_header_compiler=yes 
     5738else 
     5739  echo "$as_me: failed program was:" >&5 
     5740sed 's/^/| /' conftest.$ac_ext >&5 
     5741 
     5742ac_header_compiler=no 
     5743fi 
     5744rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5745echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5746echo "${ECHO_T}$ac_header_compiler" >&6 
     5747 
     5748# Is the header present? 
     5749echo "$as_me:$LINENO: checking stddef.h presence" >&5 
     5750echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 
     5751cat >conftest.$ac_ext <<_ACEOF 
     5752/* confdefs.h.  */ 
     5753_ACEOF 
     5754cat confdefs.h >>conftest.$ac_ext 
     5755cat >>conftest.$ac_ext <<_ACEOF 
     5756/* end confdefs.h.  */ 
     5757#include <stddef.h> 
     5758_ACEOF 
     5759if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5760  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5761  ac_status=$? 
     5762  grep -v '^ *+' conftest.er1 >conftest.err 
     5763  rm -f conftest.er1 
     5764  cat conftest.err >&5 
     5765  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34815766  (exit $ac_status); } >/dev/null; then 
    34825767  if test -s conftest.err; then 
    34835768    ac_cpp_err=$ac_c_preproc_warn_flag 
     5769    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    34845770  else 
    34855771    ac_cpp_err= 
     
    34895775fi 
    34905776if test -z "$ac_cpp_err"; then 
    3491   ac_cv_header_stddef_h=yes 
     5777  ac_header_preproc=yes 
    34925778else 
    34935779  echo "$as_me: failed program was:" >&5 
    3494   cat conftest.$ac_ext >&5 
    3495   ac_cv_header_stddef_h=no 
     5780sed 's/^/| /' conftest.$ac_ext >&5 
     5781 
     5782  ac_header_preproc=no 
    34965783fi 
    34975784rm -f conftest.err conftest.$ac_ext 
    3498 fi 
    3499 echo "$as_me:3499: result: $ac_cv_header_stddef_h" >&5 
     5785echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5786echo "${ECHO_T}$ac_header_preproc" >&6 
     5787 
     5788# So?  What about this header? 
     5789case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5790  yes:no: ) 
     5791    { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5792echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5793    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
     5794echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
     5795    ac_header_preproc=yes 
     5796    ;; 
     5797  no:yes:* ) 
     5798    { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
     5799echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
     5800    { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
     5801echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
     5802    { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
     5803echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
     5804    { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5805echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5806    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
     5807echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
     5808    { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
     5809echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
     5810    ( 
     5811      cat <<\_ASBOX 
     5812## ------------------------------------ ## 
     5813## Report this to the pjproject lists.  ## 
     5814## ------------------------------------ ## 
     5815_ASBOX 
     5816    ) | 
     5817      sed "s/^/$as_me: WARNING:     /" >&2 
     5818    ;; 
     5819esac 
     5820echo "$as_me:$LINENO: checking for stddef.h" >&5 
     5821echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 
     5822if test "${ac_cv_header_stddef_h+set}" = set; then 
     5823  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5824else 
     5825  ac_cv_header_stddef_h=$ac_header_preproc 
     5826fi 
     5827echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    35005828echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 
     5829 
     5830fi 
    35015831if test $ac_cv_header_stddef_h = yes; then 
    3502   cat >>confdefs.h <<\EOF 
     5832  cat >>confdefs.h <<\_ACEOF 
    35035833#define PJ_HAS_STDDEF_H 1 
    3504 EOF 
    3505  
    3506 fi 
    3507  
    3508 echo "$as_me:3508: checking for stdio.h" >&5 
     5834_ACEOF 
     5835 
     5836fi 
     5837 
     5838 
     5839if test "${ac_cv_header_stdio_h+set}" = set; then 
     5840  echo "$as_me:$LINENO: checking for stdio.h" >&5 
    35095841echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 
    35105842if test "${ac_cv_header_stdio_h+set}" = set; then 
    35115843  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3512 else 
    3513   cat >conftest.$ac_ext <<_ACEOF 
    3514 #line 3514 "configure" 
    3515 #include "confdefs.h" 
     5844fi 
     5845echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     5846echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 
     5847else 
     5848  # Is the header compilable? 
     5849echo "$as_me:$LINENO: checking stdio.h usability" >&5 
     5850echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 
     5851cat >conftest.$ac_ext <<_ACEOF 
     5852/* confdefs.h.  */ 
     5853_ACEOF 
     5854cat confdefs.h >>conftest.$ac_ext 
     5855cat >>conftest.$ac_ext <<_ACEOF 
     5856/* end confdefs.h.  */ 
     5857$ac_includes_default 
    35165858#include <stdio.h> 
    35175859_ACEOF 
    3518 if { (eval echo "$as_me:3518: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3519   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3520   ac_status=$? 
    3521   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5860rm -f conftest.$ac_objext 
     5861if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5862  (eval $ac_compile) 2>conftest.er1 
     5863  ac_status=$? 
     5864  grep -v '^ *+' conftest.er1 >conftest.err 
    35225865  rm -f conftest.er1 
    35235866  cat conftest.err >&5 
    3524   echo "$as_me:3524: \$? = $ac_status" >&5 
     5867  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5868  (exit $ac_status); } && 
     5869         { ac_try='test -z "$ac_c_werror_flag" 
     5870                         || test ! -s conftest.err' 
     5871  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5872  (eval $ac_try) 2>&5 
     5873  ac_status=$? 
     5874  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5875  (exit $ac_status); }; } && 
     5876         { ac_try='test -s conftest.$ac_objext' 
     5877  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5878  (eval $ac_try) 2>&5 
     5879  ac_status=$? 
     5880  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5881  (exit $ac_status); }; }; then 
     5882  ac_header_compiler=yes 
     5883else 
     5884  echo "$as_me: failed program was:" >&5 
     5885sed 's/^/| /' conftest.$ac_ext >&5 
     5886 
     5887ac_header_compiler=no 
     5888fi 
     5889rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5890echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5891echo "${ECHO_T}$ac_header_compiler" >&6 
     5892 
     5893# Is the header present? 
     5894echo "$as_me:$LINENO: checking stdio.h presence" >&5 
     5895echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 
     5896cat >conftest.$ac_ext <<_ACEOF 
     5897/* confdefs.h.  */ 
     5898_ACEOF 
     5899cat confdefs.h >>conftest.$ac_ext 
     5900cat >>conftest.$ac_ext <<_ACEOF 
     5901/* end confdefs.h.  */ 
     5902#include <stdio.h> 
     5903_ACEOF 
     5904if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5905  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5906  ac_status=$? 
     5907  grep -v '^ *+' conftest.er1 >conftest.err 
     5908  rm -f conftest.er1 
     5909  cat conftest.err >&5 
     5910  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    35255911  (exit $ac_status); } >/dev/null; then 
    35265912  if test -s conftest.err; then 
    35275913    ac_cpp_err=$ac_c_preproc_warn_flag 
     5914    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    35285915  else 
    35295916    ac_cpp_err= 
     
    35335920fi 
    35345921if test -z "$ac_cpp_err"; then 
    3535   ac_cv_header_stdio_h=yes 
     5922  ac_header_preproc=yes 
    35365923else 
    35375924  echo "$as_me: failed program was:" >&5 
    3538   cat conftest.$ac_ext >&5 
    3539   ac_cv_header_stdio_h=no 
     5925sed 's/^/| /' conftest.$ac_ext >&5 
     5926 
     5927  ac_header_preproc=no 
    35405928fi 
    35415929rm -f conftest.err conftest.$ac_ext 
    3542 fi 
    3543 echo "$as_me:3543: result: $ac_cv_header_stdio_h" >&5 
     5930echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5931echo "${ECHO_T}$ac_header_preproc" >&6 
     5932 
     5933# So?  What about this header? 
     5934case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5935  yes:no: ) 
     5936    { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5937echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5938    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
     5939echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
     5940    ac_header_preproc=yes 
     5941    ;; 
     5942  no:yes:* ) 
     5943    { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
     5944echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
     5945    { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
     5946echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
     5947    { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
     5948echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
     5949    { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5950echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5951    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
     5952echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
     5953    { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
     5954echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
     5955    ( 
     5956      cat <<\_ASBOX 
     5957## ------------------------------------ ## 
     5958## Report this to the pjproject lists.  ## 
     5959## ------------------------------------ ## 
     5960_ASBOX 
     5961    ) | 
     5962      sed "s/^/$as_me: WARNING:     /" >&2 
     5963    ;; 
     5964esac 
     5965echo "$as_me:$LINENO: checking for stdio.h" >&5 
     5966echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 
     5967if test "${ac_cv_header_stdio_h+set}" = set; then 
     5968  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5969else 
     5970  ac_cv_header_stdio_h=$ac_header_preproc 
     5971fi 
     5972echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    35445973echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 
     5974 
     5975fi 
    35455976if test $ac_cv_header_stdio_h = yes; then 
    3546   cat >>confdefs.h <<\EOF 
     5977  cat >>confdefs.h <<\_ACEOF 
    35475978#define PJ_HAS_STDIO_H 1 
    3548 EOF 
    3549  
    3550 fi 
    3551  
    3552 echo "$as_me:3552: checking for stdlib.h" >&5 
     5979_ACEOF 
     5980 
     5981fi 
     5982 
     5983 
     5984if test "${ac_cv_header_stdlib_h+set}" = set; then 
     5985  echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    35535986echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 
    35545987if test "${ac_cv_header_stdlib_h+set}" = set; then 
    35555988  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3556 else 
    3557   cat >conftest.$ac_ext <<_ACEOF 
    3558 #line 3558 "configure" 
    3559 #include "confdefs.h" 
     5989fi 
     5990echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     5991echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 
     5992else 
     5993  # Is the header compilable? 
     5994echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
     5995echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 
     5996cat >conftest.$ac_ext <<_ACEOF 
     5997/* confdefs.h.  */ 
     5998_ACEOF 
     5999cat confdefs.h >>conftest.$ac_ext 
     6000cat >>conftest.$ac_ext <<_ACEOF 
     6001/* end confdefs.h.  */ 
     6002$ac_includes_default 
    35606003#include <stdlib.h> 
    35616004_ACEOF 
    3562 if { (eval echo "$as_me:3562: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3563   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3564   ac_status=$? 
    3565   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6005rm -f conftest.$ac_objext 
     6006if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6007  (eval $ac_compile) 2>conftest.er1 
     6008  ac_status=$? 
     6009  grep -v '^ *+' conftest.er1 >conftest.err 
    35666010  rm -f conftest.er1 
    35676011  cat conftest.err >&5 
    3568   echo "$as_me:3568: \$? = $ac_status" >&5 
     6012  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6013  (exit $ac_status); } && 
     6014         { ac_try='test -z "$ac_c_werror_flag" 
     6015                         || test ! -s conftest.err' 
     6016  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6017  (eval $ac_try) 2>&5 
     6018  ac_status=$? 
     6019  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6020  (exit $ac_status); }; } && 
     6021         { ac_try='test -s conftest.$ac_objext' 
     6022  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6023  (eval $ac_try) 2>&5 
     6024  ac_status=$? 
     6025  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6026  (exit $ac_status); }; }; then 
     6027  ac_header_compiler=yes 
     6028else 
     6029  echo "$as_me: failed program was:" >&5 
     6030sed 's/^/| /' conftest.$ac_ext >&5 
     6031 
     6032ac_header_compiler=no 
     6033fi 
     6034rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     6035echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6036echo "${ECHO_T}$ac_header_compiler" >&6 
     6037 
     6038# Is the header present? 
     6039echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
     6040echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 
     6041cat >conftest.$ac_ext <<_ACEOF 
     6042/* confdefs.h.  */ 
     6043_ACEOF 
     6044cat confdefs.h >>conftest.$ac_ext 
     6045cat >>conftest.$ac_ext <<_ACEOF 
     6046/* end confdefs.h.  */ 
     6047#include <stdlib.h> 
     6048_ACEOF 
     6049if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6050  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     6051  ac_status=$? 
     6052  grep -v '^ *+' conftest.er1 >conftest.err 
     6053  rm -f conftest.er1 
     6054  cat conftest.err >&5 
     6055  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    35696056  (exit $ac_status); } >/dev/null; then 
    35706057  if test -s conftest.err; then 
    35716058    ac_cpp_err=$ac_c_preproc_warn_flag 
     6059    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    35726060  else 
    35736061    ac_cpp_err= 
     
    35776065fi 
    35786066if test -z "$ac_cpp_err"; then 
    3579   ac_cv_header_stdlib_h=yes 
     6067  ac_header_preproc=yes 
    35806068else 
    35816069  echo "$as_me: failed program was:" >&5 
    3582   cat conftest.$ac_ext >&5 
    3583   ac_cv_header_stdlib_h=no 
     6070sed 's/^/| /' conftest.$ac_ext >&5 
     6071 
     6072  ac_header_preproc=no 
    35846073fi 
    35856074rm -f conftest.err conftest.$ac_ext 
    3586 fi 
    3587 echo "$as_me:3587: result: $ac_cv_header_stdlib_h" >&5 
     6075echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6076echo "${ECHO_T}$ac_header_preproc" >&6 
     6077 
     6078# So?  What about this header? 
     6079case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6080  yes:no: ) 
     6081    { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6082echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6083    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
     6084echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
     6085    ac_header_preproc=yes 
     6086    ;; 
     6087  no:yes:* ) 
     6088    { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
     6089echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
     6090    { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
     6091echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
     6092    { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
     6093echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
     6094    { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6095echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6096    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
     6097echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
     6098    { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
     6099echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
     6100    ( 
     6101      cat <<\_ASBOX 
     6102## ------------------------------------ ## 
     6103## Report this to the pjproject lists.  ## 
     6104## ------------------------------------ ## 
     6105_ASBOX 
     6106    ) | 
     6107      sed "s/^/$as_me: WARNING:     /" >&2 
     6108    ;; 
     6109esac 
     6110echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     6111echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 
     6112if test "${ac_cv_header_stdlib_h+set}" = set; then 
     6113  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6114else 
     6115  ac_cv_header_stdlib_h=$ac_header_preproc 
     6116fi 
     6117echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    35886118echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 
     6119 
     6120fi 
    35896121if test $ac_cv_header_stdlib_h = yes; then 
    3590   cat >>confdefs.h <<\EOF 
     6122  cat >>confdefs.h <<\_ACEOF 
    35916123#define PJ_HAS_STDLIB_H 1 
    3592 EOF 
    3593  
    3594 fi 
    3595  
    3596 echo "$as_me:3596: checking for string.h" >&5 
     6124_ACEOF 
     6125 
     6126fi 
     6127 
     6128 
     6129if test "${ac_cv_header_string_h+set}" = set; then 
     6130  echo "$as_me:$LINENO: checking for string.h" >&5 
    35976131echo $ECHO_N "checking for string.h... $ECHO_C" >&6 
    35986132if test "${ac_cv_header_string_h+set}" = set; then 
    35996133  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3600 else 
    3601   cat >conftest.$ac_ext <<_ACEOF 
    3602 #line 3602 "configure" 
    3603 #include "confdefs.h" 
     6134fi 
     6135echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     6136echo "${ECHO_T}$ac_cv_header_string_h" >&6 
     6137else 
     6138  # Is the header compilable? 
     6139echo "$as_me:$LINENO: checking string.h usability" >&5 
     6140echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 
     6141cat >conftest.$ac_ext <<_ACEOF 
     6142/* confdefs.h.  */ 
     6143_ACEOF 
     6144cat confdefs.h >>conftest.$ac_ext 
     6145cat >>conftest.$ac_ext <<_ACEOF 
     6146/* end confdefs.h.  */ 
     6147$ac_includes_default 
    36046148#include <string.h> 
    36056149_ACEOF 
    3606 if { (eval echo "$as_me:3606: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3607   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3608   ac_status=$? 
    3609   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6150rm -f conftest.$ac_objext 
     6151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6152  (eval $ac_compile) 2>conftest.er1 
     6153  ac_status=$? 
     6154  grep -v '^ *+' conftest.er1 >conftest.err 
    36106155  rm -f conftest.er1 
    36116156  cat conftest.err >&5 
    3612   echo "$as_me:3612: \$? = $ac_status" >&5 
     6157  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6158  (exit $ac_status); } && 
     6159         { ac_try='test -z "$ac_c_werror_flag" 
     6160                         || test ! -s conftest.err' 
     6161  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6162  (eval $ac_try) 2>&5 
     6163  ac_status=$? 
     6164  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6165  (exit $ac_status); }; } && 
     6166         { ac_try='test -s conftest.$ac_objext' 
     6167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6168  (eval $ac_try) 2>&5 
     6169  ac_status=$? 
     6170  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6171  (exit $ac_status); }; }; then 
     6172  ac_header_compiler=yes 
     6173else 
     6174  echo "$as_me: failed program was:" >&5 
     6175sed 's/^/| /' conftest.$ac_ext >&5 
     6176 
     6177ac_header_compiler=no 
     6178fi 
     6179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     6180echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6181echo "${ECHO_T}$ac_header_compiler" >&6 
     6182 
     6183# Is the header present? 
     6184echo "$as_me:$LINENO: checking string.h presence" >&5 
     6185echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 
     6186cat >conftest.$ac_ext <<_ACEOF 
     6187/* confdefs.h.  */ 
     6188_ACEOF 
     6189cat confdefs.h >>conftest.$ac_ext 
     6190cat >>conftest.$ac_ext <<_ACEOF 
     6191/* end confdefs.h.  */ 
     6192#include <string.h> 
     6193_ACEOF 
     6194if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6195  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     6196  ac_status=$? 
     6197  grep -v '^ *+' conftest.er1 >conftest.err 
     6198  rm -f conftest.er1 
     6199  cat conftest.err >&5 
     6200  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36136201  (exit $ac_status); } >/dev/null; then 
    36146202  if test -s conftest.err; then 
    36156203    ac_cpp_err=$ac_c_preproc_warn_flag 
     6204    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    36166205  else 
    36176206    ac_cpp_err= 
     
    36216210fi 
    36226211if test -z "$ac_cpp_err"; then 
    3623   ac_cv_header_string_h=yes 
     6212  ac_header_preproc=yes 
    36246213else 
    36256214  echo "$as_me: failed program was:" >&5 
    3626   cat conftest.$ac_ext >&5 
    3627   ac_cv_header_string_h=no 
     6215sed 's/^/| /' conftest.$ac_ext >&5 
     6216 
     6217  ac_header_preproc=no 
    36286218fi 
    36296219rm -f conftest.err conftest.$ac_ext 
    3630 fi 
    3631 echo "$as_me:3631: result: $ac_cv_header_string_h" >&5 
     6220echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6221echo "${ECHO_T}$ac_header_preproc" >&6 
     6222 
     6223# So?  What about this header? 
     6224case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6225  yes:no: ) 
     6226    { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6227echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6228    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
     6229echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
     6230    ac_header_preproc=yes 
     6231    ;; 
     6232  no:yes:* ) 
     6233    { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
     6234echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
     6235    { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
     6236echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
     6237    { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
     6238echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
     6239    { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6240echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6241    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
     6242echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
     6243    { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
     6244echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
     6245    ( 
     6246      cat <<\_ASBOX 
     6247## ------------------------------------ ## 
     6248## Report this to the pjproject lists.  ## 
     6249## ------------------------------------ ## 
     6250_ASBOX 
     6251    ) | 
     6252      sed "s/^/$as_me: WARNING:     /" >&2 
     6253    ;; 
     6254esac 
     6255echo "$as_me:$LINENO: checking for string.h" >&5 
     6256echo $ECHO_N "checking for string.h... $ECHO_C" >&6 
     6257if test "${ac_cv_header_string_h+set}" = set; then 
     6258  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6259else 
     6260  ac_cv_header_string_h=$ac_header_preproc 
     6261fi 
     6262echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    36326263echo "${ECHO_T}$ac_cv_header_string_h" >&6 
     6264 
     6265fi 
    36336266if test $ac_cv_header_string_h = yes; then 
    3634   cat >>confdefs.h <<\EOF 
     6267  cat >>confdefs.h <<\_ACEOF 
    36356268#define PJ_HAS_STRING_H 1 
    3636 EOF 
    3637  
    3638 fi 
    3639  
    3640 echo "$as_me:3640: checking for sys/ioctl.h" >&5 
     6269_ACEOF 
     6270 
     6271fi 
     6272 
     6273 
     6274if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     6275  echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    36416276echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 
    36426277if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    36436278  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3644 else 
    3645   cat >conftest.$ac_ext <<_ACEOF 
    3646 #line 3646 "configure" 
    3647 #include "confdefs.h" 
     6279fi 
     6280echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     6281echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 
     6282else 
     6283  # Is the header compilable? 
     6284echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
     6285echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 
     6286cat >conftest.$ac_ext <<_ACEOF 
     6287/* confdefs.h.  */ 
     6288_ACEOF 
     6289cat confdefs.h >>conftest.$ac_ext 
     6290cat >>conftest.$ac_ext <<_ACEOF 
     6291/* end confdefs.h.  */ 
     6292$ac_includes_default 
    36486293#include <sys/ioctl.h> 
    36496294_ACEOF 
    3650 if { (eval echo "$as_me:3650: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3651   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3652   ac_status=$? 
    3653   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6295rm -f conftest.$ac_objext 
     6296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6297  (eval $ac_compile) 2>conftest.er1 
     6298  ac_status=$? 
     6299  grep -v '^ *+' conftest.er1 >conftest.err 
    36546300  rm -f conftest.er1 
    36556301  cat conftest.err >&5 
    3656   echo "$as_me:3656: \$? = $ac_status" >&5 
     6302  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6303  (exit $ac_status); } && 
     6304         { ac_try='test -z "$ac_c_werror_flag" 
     6305                         || test ! -s conftest.err' 
     6306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6307  (eval $ac_try) 2>&5 
     6308  ac_status=$? 
     6309  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6310  (exit $ac_status); }; } && 
     6311         { ac_try='test -s conftest.$ac_objext' 
     6312  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6313  (eval $ac_try) 2>&5 
     6314  ac_status=$? 
     6315  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6316  (exit $ac_status); }; }; then 
     6317  ac_header_compiler=yes 
     6318else 
     6319  echo "$as_me: failed program was:" >&5 
     6320sed 's/^/| /' conftest.$ac_ext >&5 
     6321 
     6322ac_header_compiler=no 
     6323fi 
     6324rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     6325echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6326echo "${ECHO_T}$ac_header_compiler" >&6 
     6327 
     6328# Is the header present? 
     6329echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
     6330echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 
     6331cat >conftest.$ac_ext <<_ACEOF 
     6332/* confdefs.h.  */ 
     6333_ACEOF 
     6334cat confdefs.h >>conftest.$ac_ext 
     6335cat >>conftest.$ac_ext <<_ACEOF 
     6336/* end confdefs.h.  */ 
     6337#include <sys/ioctl.h> 
     6338_ACEOF 
     6339if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6340  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     6341  ac_status=$? 
     6342  grep -v '^ *+' conftest.er1 >conftest.err 
     6343  rm -f conftest.er1 
     6344  cat conftest.err >&5 
     6345  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36576346  (exit $ac_status); } >/dev/null; then 
    36586347  if test -s conftest.err; then 
    36596348    ac_cpp_err=$ac_c_preproc_warn_flag 
     6349    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    36606350  else 
    36616351    ac_cpp_err= 
     
    36656355fi 
    36666356if test -z "$ac_cpp_err"; then 
    3667   ac_cv_header_sys_ioctl_h=yes 
     6357  ac_header_preproc=yes 
    36686358else 
    36696359  echo "$as_me: failed program was:" >&5 
    3670   cat conftest.$ac_ext >&5 
    3671   ac_cv_header_sys_ioctl_h=no 
     6360sed 's/^/| /' conftest.$ac_ext >&5 
     6361 
     6362  ac_header_preproc=no 
    36726363fi 
    36736364rm -f conftest.err conftest.$ac_ext 
    3674 fi 
    3675 echo "$as_me:3675: result: $ac_cv_header_sys_ioctl_h" >&5 
     6365echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6366echo "${ECHO_T}$ac_header_preproc" >&6 
     6367 
     6368# So?  What about this header? 
     6369case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6370  yes:no: ) 
     6371    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6372echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6373    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
     6374echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
     6375    ac_header_preproc=yes 
     6376    ;; 
     6377  no:yes:* ) 
     6378    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
     6379echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
     6380    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
     6381echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
     6382    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
     6383echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
     6384    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6385echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6386    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
     6387echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
     6388    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
     6389echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
     6390    ( 
     6391      cat <<\_ASBOX 
     6392## ------------------------------------ ## 
     6393## Report this to the pjproject lists.  ## 
     6394## ------------------------------------ ## 
     6395_ASBOX 
     6396    ) | 
     6397      sed "s/^/$as_me: WARNING:     /" >&2 
     6398    ;; 
     6399esac 
     6400echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     6401echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 
     6402if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     6403  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6404else 
     6405  ac_cv_header_sys_ioctl_h=$ac_header_preproc 
     6406fi 
     6407echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    36766408echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 
     6409 
     6410fi 
    36776411if test $ac_cv_header_sys_ioctl_h = yes; then 
    3678   cat >>confdefs.h <<\EOF 
     6412  cat >>confdefs.h <<\_ACEOF 
    36796413#define PJ_HAS_SYS_IOCTL_H 1 
    3680 EOF 
    3681  
    3682 fi 
    3683  
    3684 echo "$as_me:3684: checking for sys/select.h" >&5 
     6414_ACEOF 
     6415 
     6416fi 
     6417 
     6418 
     6419if test "${ac_cv_header_sys_select_h+set}" = set; then 
     6420  echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    36856421echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 
    36866422if test "${ac_cv_header_sys_select_h+set}" = set; then 
    36876423  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3688 else 
    3689   cat >conftest.$ac_ext <<_ACEOF 
    3690 #line 3690 "configure" 
    3691 #include "confdefs.h" 
     6424fi 
     6425echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     6426echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 
     6427else 
     6428  # Is the header compilable? 
     6429echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
     6430echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 
     6431cat >conftest.$ac_ext <<_ACEOF 
     6432/* confdefs.h.  */ 
     6433_ACEOF 
     6434cat confdefs.h >>conftest.$ac_ext 
     6435cat >>conftest.$ac_ext <<_ACEOF 
     6436/* end confdefs.h.  */ 
     6437$ac_includes_default 
    36926438#include <sys/select.h> 
    36936439_ACEOF 
    3694 if { (eval echo "$as_me:3694: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3695   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3696   ac_status=$? 
    3697   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6440rm -f conftest.$ac_objext 
     6441if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6442  (eval $ac_compile) 2>conftest.er1 
     6443  ac_status=$? 
     6444  grep -v '^ *+' conftest.er1 >conftest.err 
    36986445  rm -f conftest.er1 
    36996446  cat conftest.err >&5 
    3700   echo "$as_me:3700: \$? = $ac_status" >&5 
     6447  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6448  (exit $ac_status); } && 
     6449         { ac_try='test -z "$ac_c_werror_flag" 
     6450                         || test ! -s conftest.err' 
     6451  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6452  (eval $ac_try) 2>&5 
     6453  ac_status=$? 
     6454  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6455  (exit $ac_status); }; } && 
     6456         { ac_try='test -s conftest.$ac_objext' 
     6457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6458  (eval $ac_try) 2>&5 
     6459  ac_status=$? 
     6460  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6461  (exit $ac_status); }; }; then 
     6462  ac_header_compiler=yes 
     6463else 
     6464  echo "$as_me: failed program was:" >&5 
     6465sed 's/^/| /' conftest.$ac_ext >&5 
     6466 
     6467ac_header_compiler=no 
     6468fi 
     6469rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     6470echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6471echo "${ECHO_T}$ac_header_compiler" >&6 
     6472 
     6473# Is the header present? 
     6474echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
     6475echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 
     6476cat >conftest.$ac_ext <<_ACEOF 
     6477/* confdefs.h.  */ 
     6478_ACEOF 
     6479cat confdefs.h >>conftest.$ac_ext 
     6480cat >>conftest.$ac_ext <<_ACEOF 
     6481/* end confdefs.h.  */ 
     6482#include <sys/select.h> 
     6483_ACEOF 
     6484if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6485  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     6486  ac_status=$? 
     6487  grep -v '^ *+' conftest.er1 >conftest.err 
     6488  rm -f conftest.er1 
     6489  cat conftest.err >&5 
     6490  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37016491  (exit $ac_status); } >/dev/null; then 
    37026492  if test -s conftest.err; then 
    37036493    ac_cpp_err=$ac_c_preproc_warn_flag 
     6494    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    37046495  else 
    37056496    ac_cpp_err= 
     
    37096500fi 
    37106501if test -z "$ac_cpp_err"; then 
    3711   ac_cv_header_sys_select_h=yes 
     6502  ac_header_preproc=yes 
    37126503else 
    37136504  echo "$as_me: failed program was:" >&5 
    3714   cat conftest.$ac_ext >&5 
    3715   ac_cv_header_sys_select_h=no 
     6505sed 's/^/| /' conftest.$ac_ext >&5 
     6506 
     6507  ac_header_preproc=no 
    37166508fi 
    37176509rm -f conftest.err conftest.$ac_ext 
    3718 fi 
    3719 echo "$as_me:3719: result: $ac_cv_header_sys_select_h" >&5 
     6510echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6511echo "${ECHO_T}$ac_header_preproc" >&6 
     6512 
     6513# So?  What about this header? 
     6514case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6515  yes:no: ) 
     6516    { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6517echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6518    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
     6519echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
     6520    ac_header_preproc=yes 
     6521    ;; 
     6522  no:yes:* ) 
     6523    { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
     6524echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
     6525    { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
     6526echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
     6527    { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
     6528echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
     6529    { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6530echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6531    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
     6532echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
     6533    { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
     6534echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
     6535    ( 
     6536      cat <<\_ASBOX 
     6537## ------------------------------------ ## 
     6538## Report this to the pjproject lists.  ## 
     6539## ------------------------------------ ## 
     6540_ASBOX 
     6541    ) | 
     6542      sed "s/^/$as_me: WARNING:     /" >&2 
     6543    ;; 
     6544esac 
     6545echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     6546echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 
     6547if test "${ac_cv_header_sys_select_h+set}" = set; then 
     6548  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6549else 
     6550  ac_cv_header_sys_select_h=$ac_header_preproc 
     6551fi 
     6552echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    37206553echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 
     6554 
     6555fi 
    37216556if test $ac_cv_header_sys_select_h = yes; then 
    3722   cat >>confdefs.h <<\EOF 
     6557  cat >>confdefs.h <<\_ACEOF 
    37236558#define PJ_HAS_SYS_SELECT_H 1 
    3724 EOF 
    3725  
    3726 fi 
    3727  
    3728 echo "$as_me:3728: checking for sys/socket.h" >&5 
     6559_ACEOF 
     6560 
     6561fi 
     6562 
     6563 
     6564if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     6565  echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    37296566echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 
    37306567if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    37316568  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3732 else 
    3733   cat >conftest.$ac_ext <<_ACEOF 
    3734 #line 3734 "configure" 
    3735 #include "confdefs.h" 
     6569fi 
     6570echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     6571echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 
     6572else 
     6573  # Is the header compilable? 
     6574echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
     6575echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 
     6576cat >conftest.$ac_ext <<_ACEOF 
     6577/* confdefs.h.  */ 
     6578_ACEOF 
     6579cat confdefs.h >>conftest.$ac_ext 
     6580cat >>conftest.$ac_ext <<_ACEOF 
     6581/* end confdefs.h.  */ 
     6582$ac_includes_default 
    37366583#include <sys/socket.h> 
    37376584_ACEOF 
    3738 if { (eval echo "$as_me:3738: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3739   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3740   ac_status=$? 
    3741   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6585rm -f conftest.$ac_objext 
     6586if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6587  (eval $ac_compile) 2>conftest.er1 
     6588  ac_status=$? 
     6589  grep -v '^ *+' conftest.er1 >conftest.err 
    37426590  rm -f conftest.er1 
    37436591  cat conftest.err >&5 
    3744   echo "$as_me:3744: \$? = $ac_status" >&5 
     6592  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6593  (exit $ac_status); } && 
     6594         { ac_try='test -z "$ac_c_werror_flag" 
     6595                         || test ! -s conftest.err' 
     6596  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6597  (eval $ac_try) 2>&5 
     6598  ac_status=$? 
     6599  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6600  (exit $ac_status); }; } && 
     6601         { ac_try='test -s conftest.$ac_objext' 
     6602  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6603  (eval $ac_try) 2>&5 
     6604  ac_status=$? 
     6605  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6606  (exit $ac_status); }; }; then 
     6607  ac_header_compiler=yes 
     6608else 
     6609  echo "$as_me: failed program was:" >&5 
     6610sed 's/^/| /' conftest.$ac_ext >&5 
     6611 
     6612ac_header_compiler=no 
     6613fi 
     6614rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     6615echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6616echo "${ECHO_T}$ac_header_compiler" >&6 
     6617 
     6618# Is the header present? 
     6619echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
     6620echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 
     6621cat >conftest.$ac_ext <<_ACEOF 
     6622/* confdefs.h.  */ 
     6623_ACEOF 
     6624cat confdefs.h >>conftest.$ac_ext 
     6625cat >>conftest.$ac_ext <<_ACEOF 
     6626/* end confdefs.h.  */ 
     6627#include <sys/socket.h> 
     6628_ACEOF 
     6629if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6630  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     6631  ac_status=$? 
     6632  grep -v '^ *+' conftest.er1 >conftest.err 
     6633  rm -f conftest.er1 
     6634  cat conftest.err >&5 
     6635  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37456636  (exit $ac_status); } >/dev/null; then 
    37466637  if test -s conftest.err; then 
    37476638    ac_cpp_err=$ac_c_preproc_warn_flag 
     6639    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    37486640  else 
    37496641    ac_cpp_err= 
     
    37536645fi 
    37546646if test -z "$ac_cpp_err"; then 
    3755   ac_cv_header_sys_socket_h=yes 
     6647  ac_header_preproc=yes 
    37566648else 
    37576649  echo "$as_me: failed program was:" >&5 
    3758   cat conftest.$ac_ext >&5 
    3759   ac_cv_header_sys_socket_h=no 
     6650sed 's/^/| /' conftest.$ac_ext >&5 
     6651 
     6652  ac_header_preproc=no 
    37606653fi 
    37616654rm -f conftest.err conftest.$ac_ext 
    3762 fi 
    3763 echo "$as_me:3763: result: $ac_cv_header_sys_socket_h" >&5 
     6655echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6656echo "${ECHO_T}$ac_header_preproc" >&6 
     6657 
     6658# So?  What about this header? 
     6659case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6660  yes:no: ) 
     6661    { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6662echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6663    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
     6664echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
     6665    ac_header_preproc=yes 
     6666    ;; 
     6667  no:yes:* ) 
     6668    { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
     6669echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
     6670    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
     6671echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
     6672    { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
     6673echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
     6674    { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6675echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6676    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
     6677echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
     6678    { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
     6679echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
     6680    ( 
     6681      cat <<\_ASBOX 
     6682## ------------------------------------ ## 
     6683## Report this to the pjproject lists.  ## 
     6684## ------------------------------------ ## 
     6685_ASBOX 
     6686    ) | 
     6687      sed "s/^/$as_me: WARNING:     /" >&2 
     6688    ;; 
     6689esac 
     6690echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     6691echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 
     6692if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     6693  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6694else 
     6695  ac_cv_header_sys_socket_h=$ac_header_preproc 
     6696fi 
     6697echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    37646698echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 
     6699 
     6700fi 
    37656701if test $ac_cv_header_sys_socket_h = yes; then 
    3766   cat >>confdefs.h <<\EOF 
     6702  cat >>confdefs.h <<\_ACEOF 
    37676703#define PJ_HAS_SYS_SOCKET_H 1 
    3768 EOF 
    3769  
    3770 fi 
    3771  
    3772 echo "$as_me:3772: checking for sys/time.h" >&5 
     6704_ACEOF 
     6705 
     6706fi 
     6707 
     6708 
     6709if test "${ac_cv_header_sys_time_h+set}" = set; then 
     6710  echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    37736711echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 
    37746712if test "${ac_cv_header_sys_time_h+set}" = set; then 
    37756713  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3776 else 
    3777   cat >conftest.$ac_ext <<_ACEOF 
    3778 #line 3778 "configure" 
    3779 #include "confdefs.h" 
     6714fi 
     6715echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     6716echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 
     6717else 
     6718  # Is the header compilable? 
     6719echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
     6720echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 
     6721cat >conftest.$ac_ext <<_ACEOF 
     6722/* confdefs.h.  */ 
     6723_ACEOF 
     6724cat confdefs.h >>conftest.$ac_ext 
     6725cat >>conftest.$ac_ext <<_ACEOF 
     6726/* end confdefs.h.  */ 
     6727$ac_includes_default 
    37806728#include <sys/time.h> 
    37816729_ACEOF 
    3782 if { (eval echo "$as_me:3782: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3783   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3784   ac_status=$? 
    3785   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6730rm -f conftest.$ac_objext 
     6731if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6732  (eval $ac_compile) 2>conftest.er1 
     6733  ac_status=$? 
     6734  grep -v '^ *+' conftest.er1 >conftest.err 
    37866735  rm -f conftest.er1 
    37876736  cat conftest.err >&5 
    3788   echo "$as_me:3788: \$? = $ac_status" >&5 
     6737  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6738  (exit $ac_status); } && 
     6739         { ac_try='test -z "$ac_c_werror_flag" 
     6740                         || test ! -s conftest.err' 
     6741  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6742  (eval $ac_try) 2>&5 
     6743  ac_status=$? 
     6744  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6745  (exit $ac_status); }; } && 
     6746         { ac_try='test -s conftest.$ac_objext' 
     6747  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6748  (eval $ac_try) 2>&5 
     6749  ac_status=$? 
     6750  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6751  (exit $ac_status); }; }; then 
     6752  ac_header_compiler=yes 
     6753else 
     6754  echo "$as_me: failed program was:" >&5 
     6755sed 's/^/| /' conftest.$ac_ext >&5 
     6756 
     6757ac_header_compiler=no 
     6758fi 
     6759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     6760echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6761echo "${ECHO_T}$ac_header_compiler" >&6 
     6762 
     6763# Is the header present? 
     6764echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
     6765echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 
     6766cat >conftest.$ac_ext <<_ACEOF 
     6767/* confdefs.h.  */ 
     6768_ACEOF 
     6769cat confdefs.h >>conftest.$ac_ext 
     6770cat >>conftest.$ac_ext <<_ACEOF 
     6771/* end confdefs.h.  */ 
     6772#include <sys/time.h> 
     6773_ACEOF 
     6774if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6775  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     6776  ac_status=$? 
     6777  grep -v '^ *+' conftest.er1 >conftest.err 
     6778  rm -f conftest.er1 
     6779  cat conftest.err >&5 
     6780  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37896781  (exit $ac_status); } >/dev/null; then 
    37906782  if test -s conftest.err; then 
    37916783    ac_cpp_err=$ac_c_preproc_warn_flag 
     6784    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    37926785  else 
    37936786    ac_cpp_err= 
     
    37976790fi 
    37986791if test -z "$ac_cpp_err"; then 
    3799   ac_cv_header_sys_time_h=yes 
     6792  ac_header_preproc=yes 
    38006793else 
    38016794  echo "$as_me: failed program was:" >&5 
    3802   cat conftest.$ac_ext >&5 
    3803   ac_cv_header_sys_time_h=no 
     6795sed 's/^/| /' conftest.$ac_ext >&5 
     6796 
     6797  ac_header_preproc=no 
    38046798fi 
    38056799rm -f conftest.err conftest.$ac_ext 
    3806 fi 
    3807 echo "$as_me:3807: result: $ac_cv_header_sys_time_h" >&5 
     6800echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6801echo "${ECHO_T}$ac_header_preproc" >&6 
     6802 
     6803# So?  What about this header? 
     6804case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6805  yes:no: ) 
     6806    { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6807echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6808    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
     6809echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
     6810    ac_header_preproc=yes 
     6811    ;; 
     6812  no:yes:* ) 
     6813    { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
     6814echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
     6815    { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
     6816echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
     6817    { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
     6818echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
     6819    { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6820echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6821    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
     6822echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
     6823    { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
     6824echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
     6825    ( 
     6826      cat <<\_ASBOX 
     6827## ------------------------------------ ## 
     6828## Report this to the pjproject lists.  ## 
     6829## ------------------------------------ ## 
     6830_ASBOX 
     6831    ) | 
     6832      sed "s/^/$as_me: WARNING:     /" >&2 
     6833    ;; 
     6834esac 
     6835echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     6836echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 
     6837if test "${ac_cv_header_sys_time_h+set}" = set; then 
     6838  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6839else 
     6840  ac_cv_header_sys_time_h=$ac_header_preproc 
     6841fi 
     6842echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    38086843echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 
     6844 
     6845fi 
    38096846if test $ac_cv_header_sys_time_h = yes; then 
    3810   cat >>confdefs.h <<\EOF 
     6847  cat >>confdefs.h <<\_ACEOF 
    38116848#define PJ_HAS_SYS_TIME_H 1 
    3812 EOF 
    3813  
    3814 fi 
    3815  
    3816 echo "$as_me:3816: checking for sys/timeb.h" >&5 
     6849_ACEOF 
     6850 
     6851fi 
     6852 
     6853 
     6854if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     6855  echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    38176856echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 
    38186857if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    38196858  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3820 else 
    3821   cat >conftest.$ac_ext <<_ACEOF 
    3822 #line 3822 "configure" 
    3823 #include "confdefs.h" 
     6859fi 
     6860echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     6861echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 
     6862else 
     6863  # Is the header compilable? 
     6864echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
     6865echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 
     6866cat >conftest.$ac_ext <<_ACEOF 
     6867/* confdefs.h.  */ 
     6868_ACEOF 
     6869cat confdefs.h >>conftest.$ac_ext 
     6870cat >>conftest.$ac_ext <<_ACEOF 
     6871/* end confdefs.h.  */ 
     6872$ac_includes_default 
    38246873#include <sys/timeb.h> 
    38256874_ACEOF 
    3826 if { (eval echo "$as_me:3826: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3827   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3828   ac_status=$? 
    3829   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6875rm -f conftest.$ac_objext 
     6876if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6877  (eval $ac_compile) 2>conftest.er1 
     6878  ac_status=$? 
     6879  grep -v '^ *+' conftest.er1 >conftest.err 
    38306880  rm -f conftest.er1 
    38316881  cat conftest.err >&5 
    3832   echo "$as_me:3832: \$? = $ac_status" >&5 
     6882  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6883  (exit $ac_status); } && 
     6884         { ac_try='test -z "$ac_c_werror_flag" 
     6885                         || test ! -s conftest.err' 
     6886  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6887  (eval $ac_try) 2>&5 
     6888  ac_status=$? 
     6889  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6890  (exit $ac_status); }; } && 
     6891         { ac_try='test -s conftest.$ac_objext' 
     6892  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6893  (eval $ac_try) 2>&5 
     6894  ac_status=$? 
     6895  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6896  (exit $ac_status); }; }; then 
     6897  ac_header_compiler=yes 
     6898else 
     6899  echo "$as_me: failed program was:" >&5 
     6900sed 's/^/| /' conftest.$ac_ext >&5 
     6901 
     6902ac_header_compiler=no 
     6903fi 
     6904rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     6905echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6906echo "${ECHO_T}$ac_header_compiler" >&6 
     6907 
     6908# Is the header present? 
     6909echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
     6910echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 
     6911cat >conftest.$ac_ext <<_ACEOF 
     6912/* confdefs.h.  */ 
     6913_ACEOF 
     6914cat confdefs.h >>conftest.$ac_ext 
     6915cat >>conftest.$ac_ext <<_ACEOF 
     6916/* end confdefs.h.  */ 
     6917#include <sys/timeb.h> 
     6918_ACEOF 
     6919if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6920  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     6921  ac_status=$? 
     6922  grep -v '^ *+' conftest.er1 >conftest.err 
     6923  rm -f conftest.er1 
     6924  cat conftest.err >&5 
     6925  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38336926  (exit $ac_status); } >/dev/null; then 
    38346927  if test -s conftest.err; then 
    38356928    ac_cpp_err=$ac_c_preproc_warn_flag 
     6929    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    38366930  else 
    38376931    ac_cpp_err= 
     
    38416935fi 
    38426936if test -z "$ac_cpp_err"; then 
    3843   ac_cv_header_sys_timeb_h=yes 
     6937  ac_header_preproc=yes 
    38446938else 
    38456939  echo "$as_me: failed program was:" >&5 
    3846   cat conftest.$ac_ext >&5 
    3847   ac_cv_header_sys_timeb_h=no 
     6940sed 's/^/| /' conftest.$ac_ext >&5 
     6941 
     6942  ac_header_preproc=no 
    38486943fi 
    38496944rm -f conftest.err conftest.$ac_ext 
    3850 fi 
    3851 echo "$as_me:3851: result: $ac_cv_header_sys_timeb_h" >&5 
     6945echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6946echo "${ECHO_T}$ac_header_preproc" >&6 
     6947 
     6948# So?  What about this header? 
     6949case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     6950  yes:no: ) 
     6951    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6952echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6953    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
     6954echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
     6955    ac_header_preproc=yes 
     6956    ;; 
     6957  no:yes:* ) 
     6958    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
     6959echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
     6960    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
     6961echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
     6962    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
     6963echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
     6964    { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
     6965echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     6966    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
     6967echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
     6968    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
     6969echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
     6970    ( 
     6971      cat <<\_ASBOX 
     6972## ------------------------------------ ## 
     6973## Report this to the pjproject lists.  ## 
     6974## ------------------------------------ ## 
     6975_ASBOX 
     6976    ) | 
     6977      sed "s/^/$as_me: WARNING:     /" >&2 
     6978    ;; 
     6979esac 
     6980echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     6981echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 
     6982if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     6983  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6984else 
     6985  ac_cv_header_sys_timeb_h=$ac_header_preproc 
     6986fi 
     6987echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    38526988echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 
     6989 
     6990fi 
    38536991if test $ac_cv_header_sys_timeb_h = yes; then 
    3854   cat >>confdefs.h <<\EOF 
     6992  cat >>confdefs.h <<\_ACEOF 
    38556993#define PJ_HAS_SYS_TIMEB_H 1 
    3856 EOF 
    3857  
    3858 fi 
    3859  
    3860 echo "$as_me:3860: checking for sys/types.h" >&5 
     6994_ACEOF 
     6995 
     6996fi 
     6997 
     6998 
     6999if test "${ac_cv_header_sys_types_h+set}" = set; then 
     7000  echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    38617001echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 
    38627002if test "${ac_cv_header_sys_types_h+set}" = set; then 
    38637003  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3864 else 
    3865   cat >conftest.$ac_ext <<_ACEOF 
    3866 #line 3866 "configure" 
    3867 #include "confdefs.h" 
     7004fi 
     7005echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     7006echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 
     7007else 
     7008  # Is the header compilable? 
     7009echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
     7010echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 
     7011cat >conftest.$ac_ext <<_ACEOF 
     7012/* confdefs.h.  */ 
     7013_ACEOF 
     7014cat confdefs.h >>conftest.$ac_ext 
     7015cat >>conftest.$ac_ext <<_ACEOF 
     7016/* end confdefs.h.  */ 
     7017$ac_includes_default 
    38687018#include <sys/types.h> 
    38697019_ACEOF 
    3870 if { (eval echo "$as_me:3870: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3871   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3872   ac_status=$? 
    3873   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7020rm -f conftest.$ac_objext 
     7021if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7022  (eval $ac_compile) 2>conftest.er1 
     7023  ac_status=$? 
     7024  grep -v '^ *+' conftest.er1 >conftest.err 
    38747025  rm -f conftest.er1 
    38757026  cat conftest.err >&5 
    3876   echo "$as_me:3876: \$? = $ac_status" >&5 
     7027  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7028  (exit $ac_status); } && 
     7029         { ac_try='test -z "$ac_c_werror_flag" 
     7030                         || test ! -s conftest.err' 
     7031  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7032  (eval $ac_try) 2>&5 
     7033  ac_status=$? 
     7034  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7035  (exit $ac_status); }; } && 
     7036         { ac_try='test -s conftest.$ac_objext' 
     7037  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7038  (eval $ac_try) 2>&5 
     7039  ac_status=$? 
     7040  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7041  (exit $ac_status); }; }; then 
     7042  ac_header_compiler=yes 
     7043else 
     7044  echo "$as_me: failed program was:" >&5 
     7045sed 's/^/| /' conftest.$ac_ext >&5 
     7046 
     7047ac_header_compiler=no 
     7048fi 
     7049rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7050echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7051echo "${ECHO_T}$ac_header_compiler" >&6 
     7052 
     7053# Is the header present? 
     7054echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
     7055echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 
     7056cat >conftest.$ac_ext <<_ACEOF 
     7057/* confdefs.h.  */ 
     7058_ACEOF 
     7059cat confdefs.h >>conftest.$ac_ext 
     7060cat >>conftest.$ac_ext <<_ACEOF 
     7061/* end confdefs.h.  */ 
     7062#include <sys/types.h> 
     7063_ACEOF 
     7064if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7065  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     7066  ac_status=$? 
     7067  grep -v '^ *+' conftest.er1 >conftest.err 
     7068  rm -f conftest.er1 
     7069  cat conftest.err >&5 
     7070  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38777071  (exit $ac_status); } >/dev/null; then 
    38787072  if test -s conftest.err; then 
    38797073    ac_cpp_err=$ac_c_preproc_warn_flag 
     7074    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    38807075  else 
    38817076    ac_cpp_err= 
     
    38857080fi 
    38867081if test -z "$ac_cpp_err"; then 
    3887   ac_cv_header_sys_types_h=yes 
     7082  ac_header_preproc=yes 
    38887083else 
    38897084  echo "$as_me: failed program was:" >&5 
    3890   cat conftest.$ac_ext >&5 
    3891   ac_cv_header_sys_types_h=no 
     7085sed 's/^/| /' conftest.$ac_ext >&5 
     7086 
     7087  ac_header_preproc=no 
    38927088fi 
    38937089rm -f conftest.err conftest.$ac_ext 
    3894 fi 
    3895 echo "$as_me:3895: result: $ac_cv_header_sys_types_h" >&5 
     7090echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7091echo "${ECHO_T}$ac_header_preproc" >&6 
     7092 
     7093# So?  What about this header? 
     7094case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7095  yes:no: ) 
     7096    { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7097echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7098    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
     7099echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
     7100    ac_header_preproc=yes 
     7101    ;; 
     7102  no:yes:* ) 
     7103    { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
     7104echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
     7105    { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
     7106echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
     7107    { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
     7108echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
     7109    { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7110echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7111    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
     7112echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
     7113    { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
     7114echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
     7115    ( 
     7116      cat <<\_ASBOX 
     7117## ------------------------------------ ## 
     7118## Report this to the pjproject lists.  ## 
     7119## ------------------------------------ ## 
     7120_ASBOX 
     7121    ) | 
     7122      sed "s/^/$as_me: WARNING:     /" >&2 
     7123    ;; 
     7124esac 
     7125echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     7126echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 
     7127if test "${ac_cv_header_sys_types_h+set}" = set; then 
     7128  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7129else 
     7130  ac_cv_header_sys_types_h=$ac_header_preproc 
     7131fi 
     7132echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    38967133echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 
     7134 
     7135fi 
    38977136if test $ac_cv_header_sys_types_h = yes; then 
    3898   cat >>confdefs.h <<\EOF 
     7137  cat >>confdefs.h <<\_ACEOF 
    38997138#define PJ_HAS_SYS_TYPES_H 1 
    3900 EOF 
    3901  
    3902 fi 
    3903  
    3904 echo "$as_me:3904: checking for time.h" >&5 
     7139_ACEOF 
     7140 
     7141fi 
     7142 
     7143 
     7144if test "${ac_cv_header_time_h+set}" = set; then 
     7145  echo "$as_me:$LINENO: checking for time.h" >&5 
    39057146echo $ECHO_N "checking for time.h... $ECHO_C" >&6 
    39067147if test "${ac_cv_header_time_h+set}" = set; then 
    39077148  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3908 else 
    3909   cat >conftest.$ac_ext <<_ACEOF 
    3910 #line 3910 "configure" 
    3911 #include "confdefs.h" 
     7149fi 
     7150echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     7151echo "${ECHO_T}$ac_cv_header_time_h" >&6 
     7152else 
     7153  # Is the header compilable? 
     7154echo "$as_me:$LINENO: checking time.h usability" >&5 
     7155echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 
     7156cat >conftest.$ac_ext <<_ACEOF 
     7157/* confdefs.h.  */ 
     7158_ACEOF 
     7159cat confdefs.h >>conftest.$ac_ext 
     7160cat >>conftest.$ac_ext <<_ACEOF 
     7161/* end confdefs.h.  */ 
     7162$ac_includes_default 
    39127163#include <time.h> 
    39137164_ACEOF 
    3914 if { (eval echo "$as_me:3914: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3915   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3916   ac_status=$? 
    3917   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7165rm -f conftest.$ac_objext 
     7166if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7167  (eval $ac_compile) 2>conftest.er1 
     7168  ac_status=$? 
     7169  grep -v '^ *+' conftest.er1 >conftest.err 
    39187170  rm -f conftest.er1 
    39197171  cat conftest.err >&5 
    3920   echo "$as_me:3920: \$? = $ac_status" >&5 
     7172  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7173  (exit $ac_status); } && 
     7174         { ac_try='test -z "$ac_c_werror_flag" 
     7175                         || test ! -s conftest.err' 
     7176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7177  (eval $ac_try) 2>&5 
     7178  ac_status=$? 
     7179  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7180  (exit $ac_status); }; } && 
     7181         { ac_try='test -s conftest.$ac_objext' 
     7182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7183  (eval $ac_try) 2>&5 
     7184  ac_status=$? 
     7185  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7186  (exit $ac_status); }; }; then 
     7187  ac_header_compiler=yes 
     7188else 
     7189  echo "$as_me: failed program was:" >&5 
     7190sed 's/^/| /' conftest.$ac_ext >&5 
     7191 
     7192ac_header_compiler=no 
     7193fi 
     7194rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7195echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7196echo "${ECHO_T}$ac_header_compiler" >&6 
     7197 
     7198# Is the header present? 
     7199echo "$as_me:$LINENO: checking time.h presence" >&5 
     7200echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 
     7201cat >conftest.$ac_ext <<_ACEOF 
     7202/* confdefs.h.  */ 
     7203_ACEOF 
     7204cat confdefs.h >>conftest.$ac_ext 
     7205cat >>conftest.$ac_ext <<_ACEOF 
     7206/* end confdefs.h.  */ 
     7207#include <time.h> 
     7208_ACEOF 
     7209if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7210  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     7211  ac_status=$? 
     7212  grep -v '^ *+' conftest.er1 >conftest.err 
     7213  rm -f conftest.er1 
     7214  cat conftest.err >&5 
     7215  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    39217216  (exit $ac_status); } >/dev/null; then 
    39227217  if test -s conftest.err; then 
    39237218    ac_cpp_err=$ac_c_preproc_warn_flag 
     7219    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    39247220  else 
    39257221    ac_cpp_err= 
     
    39297225fi 
    39307226if test -z "$ac_cpp_err"; then 
    3931   ac_cv_header_time_h=yes 
     7227  ac_header_preproc=yes 
    39327228else 
    39337229  echo "$as_me: failed program was:" >&5 
    3934   cat conftest.$ac_ext >&5 
    3935   ac_cv_header_time_h=no 
     7230sed 's/^/| /' conftest.$ac_ext >&5 
     7231 
     7232  ac_header_preproc=no 
    39367233fi 
    39377234rm -f conftest.err conftest.$ac_ext 
    3938 fi 
    3939 echo "$as_me:3939: result: $ac_cv_header_time_h" >&5 
     7235echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7236echo "${ECHO_T}$ac_header_preproc" >&6 
     7237 
     7238# So?  What about this header? 
     7239case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7240  yes:no: ) 
     7241    { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7242echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7243    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
     7244echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
     7245    ac_header_preproc=yes 
     7246    ;; 
     7247  no:yes:* ) 
     7248    { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
     7249echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
     7250    { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
     7251echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
     7252    { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
     7253echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
     7254    { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7255echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7256    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
     7257echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
     7258    { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
     7259echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
     7260    ( 
     7261      cat <<\_ASBOX 
     7262## ------------------------------------ ## 
     7263## Report this to the pjproject lists.  ## 
     7264## ------------------------------------ ## 
     7265_ASBOX 
     7266    ) | 
     7267      sed "s/^/$as_me: WARNING:     /" >&2 
     7268    ;; 
     7269esac 
     7270echo "$as_me:$LINENO: checking for time.h" >&5 
     7271echo $ECHO_N "checking for time.h... $ECHO_C" >&6 
     7272if test "${ac_cv_header_time_h+set}" = set; then 
     7273  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7274else 
     7275  ac_cv_header_time_h=$ac_header_preproc 
     7276fi 
     7277echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    39407278echo "${ECHO_T}$ac_cv_header_time_h" >&6 
     7279 
     7280fi 
    39417281if test $ac_cv_header_time_h = yes; then 
    3942   cat >>confdefs.h <<\EOF 
     7282  cat >>confdefs.h <<\_ACEOF 
    39437283#define PJ_HAS_TIME_H 1 
    3944 EOF 
    3945  
    3946 fi 
    3947  
    3948 echo "$as_me:3948: checking for unistd.h" >&5 
     7284_ACEOF 
     7285 
     7286fi 
     7287 
     7288 
     7289if test "${ac_cv_header_unistd_h+set}" = set; then 
     7290  echo "$as_me:$LINENO: checking for unistd.h" >&5 
    39497291echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 
    39507292if test "${ac_cv_header_unistd_h+set}" = set; then 
    39517293  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3952 else 
    3953   cat >conftest.$ac_ext <<_ACEOF 
    3954 #line 3954 "configure" 
    3955 #include "confdefs.h" 
     7294fi 
     7295echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     7296echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 
     7297else 
     7298  # Is the header compilable? 
     7299echo "$as_me:$LINENO: checking unistd.h usability" >&5 
     7300echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 
     7301cat >conftest.$ac_ext <<_ACEOF 
     7302/* confdefs.h.  */ 
     7303_ACEOF 
     7304cat confdefs.h >>conftest.$ac_ext 
     7305cat >>conftest.$ac_ext <<_ACEOF 
     7306/* end confdefs.h.  */ 
     7307$ac_includes_default 
    39567308#include <unistd.h> 
    39577309_ACEOF 
    3958 if { (eval echo "$as_me:3958: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3959   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3960   ac_status=$? 
    3961   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7310rm -f conftest.$ac_objext 
     7311if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7312  (eval $ac_compile) 2>conftest.er1 
     7313  ac_status=$? 
     7314  grep -v '^ *+' conftest.er1 >conftest.err 
    39627315  rm -f conftest.er1 
    39637316  cat conftest.err >&5 
    3964   echo "$as_me:3964: \$? = $ac_status" >&5 
     7317  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7318  (exit $ac_status); } && 
     7319         { ac_try='test -z "$ac_c_werror_flag" 
     7320                         || test ! -s conftest.err' 
     7321  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7322  (eval $ac_try) 2>&5 
     7323  ac_status=$? 
     7324  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7325  (exit $ac_status); }; } && 
     7326         { ac_try='test -s conftest.$ac_objext' 
     7327  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7328  (eval $ac_try) 2>&5 
     7329  ac_status=$? 
     7330  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7331  (exit $ac_status); }; }; then 
     7332  ac_header_compiler=yes 
     7333else 
     7334  echo "$as_me: failed program was:" >&5 
     7335sed 's/^/| /' conftest.$ac_ext >&5 
     7336 
     7337ac_header_compiler=no 
     7338fi 
     7339rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7340echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7341echo "${ECHO_T}$ac_header_compiler" >&6 
     7342 
     7343# Is the header present? 
     7344echo "$as_me:$LINENO: checking unistd.h presence" >&5 
     7345echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 
     7346cat >conftest.$ac_ext <<_ACEOF 
     7347/* confdefs.h.  */ 
     7348_ACEOF 
     7349cat confdefs.h >>conftest.$ac_ext 
     7350cat >>conftest.$ac_ext <<_ACEOF 
     7351/* end confdefs.h.  */ 
     7352#include <unistd.h> 
     7353_ACEOF 
     7354if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7355  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     7356  ac_status=$? 
     7357  grep -v '^ *+' conftest.er1 >conftest.err 
     7358  rm -f conftest.er1 
     7359  cat conftest.err >&5 
     7360  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    39657361  (exit $ac_status); } >/dev/null; then 
    39667362  if test -s conftest.err; then 
    39677363    ac_cpp_err=$ac_c_preproc_warn_flag 
     7364    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    39687365  else 
    39697366    ac_cpp_err= 
     
    39737370fi 
    39747371if test -z "$ac_cpp_err"; then 
    3975   ac_cv_header_unistd_h=yes 
     7372  ac_header_preproc=yes 
    39767373else 
    39777374  echo "$as_me: failed program was:" >&5 
    3978   cat conftest.$ac_ext >&5 
    3979   ac_cv_header_unistd_h=no 
     7375sed 's/^/| /' conftest.$ac_ext >&5 
     7376 
     7377  ac_header_preproc=no 
    39807378fi 
    39817379rm -f conftest.err conftest.$ac_ext 
    3982 fi 
    3983 echo "$as_me:3983: result: $ac_cv_header_unistd_h" >&5 
     7380echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7381echo "${ECHO_T}$ac_header_preproc" >&6 
     7382 
     7383# So?  What about this header? 
     7384case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7385  yes:no: ) 
     7386    { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7387echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7388    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
     7389echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
     7390    ac_header_preproc=yes 
     7391    ;; 
     7392  no:yes:* ) 
     7393    { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
     7394echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
     7395    { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
     7396echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
     7397    { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
     7398echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
     7399    { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7400echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7401    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
     7402echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
     7403    { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
     7404echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
     7405    ( 
     7406      cat <<\_ASBOX 
     7407## ------------------------------------ ## 
     7408## Report this to the pjproject lists.  ## 
     7409## ------------------------------------ ## 
     7410_ASBOX 
     7411    ) | 
     7412      sed "s/^/$as_me: WARNING:     /" >&2 
     7413    ;; 
     7414esac 
     7415echo "$as_me:$LINENO: checking for unistd.h" >&5 
     7416echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 
     7417if test "${ac_cv_header_unistd_h+set}" = set; then 
     7418  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7419else 
     7420  ac_cv_header_unistd_h=$ac_header_preproc 
     7421fi 
     7422echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    39847423echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 
     7424 
     7425fi 
    39857426if test $ac_cv_header_unistd_h = yes; then 
    3986   cat >>confdefs.h <<\EOF 
     7427  cat >>confdefs.h <<\_ACEOF 
    39877428#define PJ_HAS_UNISTD_H 1 
    3988 EOF 
    3989  
    3990 fi 
    3991  
    3992 echo "$as_me:3992: checking for mswsock.h" >&5 
     7429_ACEOF 
     7430 
     7431fi 
     7432 
     7433 
     7434if test "${ac_cv_header_mswsock_h+set}" = set; then 
     7435  echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    39937436echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 
    39947437if test "${ac_cv_header_mswsock_h+set}" = set; then 
    39957438  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3996 else 
    3997   cat >conftest.$ac_ext <<_ACEOF 
    3998 #line 3998 "configure" 
    3999 #include "confdefs.h" 
     7439fi 
     7440echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
     7441echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 
     7442else 
     7443  # Is the header compilable? 
     7444echo "$as_me:$LINENO: checking mswsock.h usability" >&5 
     7445echo $ECHO_N "checking mswsock.h usability... $ECHO_C" >&6 
     7446cat >conftest.$ac_ext <<_ACEOF 
     7447/* confdefs.h.  */ 
     7448_ACEOF 
     7449cat confdefs.h >>conftest.$ac_ext 
     7450cat >>conftest.$ac_ext <<_ACEOF 
     7451/* end confdefs.h.  */ 
     7452$ac_includes_default 
    40007453#include <mswsock.h> 
    40017454_ACEOF 
    4002 if { (eval echo "$as_me:4002: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4003   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4004   ac_status=$? 
    4005   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7455rm -f conftest.$ac_objext 
     7456if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7457  (eval $ac_compile) 2>conftest.er1 
     7458  ac_status=$? 
     7459  grep -v '^ *+' conftest.er1 >conftest.err 
    40067460  rm -f conftest.er1 
    40077461  cat conftest.err >&5 
    4008   echo "$as_me:4008: \$? = $ac_status" >&5 
     7462  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7463  (exit $ac_status); } && 
     7464         { ac_try='test -z "$ac_c_werror_flag" 
     7465                         || test ! -s conftest.err' 
     7466  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7467  (eval $ac_try) 2>&5 
     7468  ac_status=$? 
     7469  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7470  (exit $ac_status); }; } && 
     7471         { ac_try='test -s conftest.$ac_objext' 
     7472  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7473  (eval $ac_try) 2>&5 
     7474  ac_status=$? 
     7475  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7476  (exit $ac_status); }; }; then 
     7477  ac_header_compiler=yes 
     7478else 
     7479  echo "$as_me: failed program was:" >&5 
     7480sed 's/^/| /' conftest.$ac_ext >&5 
     7481 
     7482ac_header_compiler=no 
     7483fi 
     7484rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7485echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7486echo "${ECHO_T}$ac_header_compiler" >&6 
     7487 
     7488# Is the header present? 
     7489echo "$as_me:$LINENO: checking mswsock.h presence" >&5 
     7490echo $ECHO_N "checking mswsock.h presence... $ECHO_C" >&6 
     7491cat >conftest.$ac_ext <<_ACEOF 
     7492/* confdefs.h.  */ 
     7493_ACEOF 
     7494cat confdefs.h >>conftest.$ac_ext 
     7495cat >>conftest.$ac_ext <<_ACEOF 
     7496/* end confdefs.h.  */ 
     7497#include <mswsock.h> 
     7498_ACEOF 
     7499if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7500  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     7501  ac_status=$? 
     7502  grep -v '^ *+' conftest.er1 >conftest.err 
     7503  rm -f conftest.er1 
     7504  cat conftest.err >&5 
     7505  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    40097506  (exit $ac_status); } >/dev/null; then 
    40107507  if test -s conftest.err; then 
    40117508    ac_cpp_err=$ac_c_preproc_warn_flag 
     7509    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    40127510  else 
    40137511    ac_cpp_err= 
     
    40177515fi 
    40187516if test -z "$ac_cpp_err"; then 
    4019   ac_cv_header_mswsock_h=yes 
     7517  ac_header_preproc=yes 
    40207518else 
    40217519  echo "$as_me: failed program was:" >&5 
    4022   cat conftest.$ac_ext >&5 
    4023   ac_cv_header_mswsock_h=no 
     7520sed 's/^/| /' conftest.$ac_ext >&5 
     7521 
     7522  ac_header_preproc=no 
    40247523fi 
    40257524rm -f conftest.err conftest.$ac_ext 
    4026 fi 
    4027 echo "$as_me:4027: result: $ac_cv_header_mswsock_h" >&5 
     7525echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7526echo "${ECHO_T}$ac_header_preproc" >&6 
     7527 
     7528# So?  What about this header? 
     7529case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7530  yes:no: ) 
     7531    { echo "$as_me:$LINENO: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7532echo "$as_me: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7533    { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the compiler's result" >&5 
     7534echo "$as_me: WARNING: mswsock.h: proceeding with the compiler's result" >&2;} 
     7535    ac_header_preproc=yes 
     7536    ;; 
     7537  no:yes:* ) 
     7538    { echo "$as_me:$LINENO: WARNING: mswsock.h: present but cannot be compiled" >&5 
     7539echo "$as_me: WARNING: mswsock.h: present but cannot be compiled" >&2;} 
     7540    { echo "$as_me:$LINENO: WARNING: mswsock.h:     check for missing prerequisite headers?" >&5 
     7541echo "$as_me: WARNING: mswsock.h:     check for missing prerequisite headers?" >&2;} 
     7542    { echo "$as_me:$LINENO: WARNING: mswsock.h: see the Autoconf documentation" >&5 
     7543echo "$as_me: WARNING: mswsock.h: see the Autoconf documentation" >&2;} 
     7544    { echo "$as_me:$LINENO: WARNING: mswsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7545echo "$as_me: WARNING: mswsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7546    { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 
     7547echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 
     7548    { echo "$as_me:$LINENO: WARNING: mswsock.h: in the future, the compiler will take precedence" >&5 
     7549echo "$as_me: WARNING: mswsock.h: in the future, the compiler will take precedence" >&2;} 
     7550    ( 
     7551      cat <<\_ASBOX 
     7552## ------------------------------------ ## 
     7553## Report this to the pjproject lists.  ## 
     7554## ------------------------------------ ## 
     7555_ASBOX 
     7556    ) | 
     7557      sed "s/^/$as_me: WARNING:     /" >&2 
     7558    ;; 
     7559esac 
     7560echo "$as_me:$LINENO: checking for mswsock.h" >&5 
     7561echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 
     7562if test "${ac_cv_header_mswsock_h+set}" = set; then 
     7563  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7564else 
     7565  ac_cv_header_mswsock_h=$ac_header_preproc 
     7566fi 
     7567echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    40287568echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 
     7569 
     7570fi 
    40297571if test $ac_cv_header_mswsock_h = yes; then 
    4030   cat >>confdefs.h <<\EOF 
     7572  cat >>confdefs.h <<\_ACEOF 
    40317573#define PJ_HAS_MSWSOCK_H 1 
    4032 EOF 
    4033  
    4034 fi 
    4035  
    4036 echo "$as_me:4036: checking for winsock.h" >&5 
     7574_ACEOF 
     7575 
     7576fi 
     7577 
     7578 
     7579if test "${ac_cv_header_winsock_h+set}" = set; then 
     7580  echo "$as_me:$LINENO: checking for winsock.h" >&5 
    40377581echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 
    40387582if test "${ac_cv_header_winsock_h+set}" = set; then 
    40397583  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4040 else 
    4041   cat >conftest.$ac_ext <<_ACEOF 
    4042 #line 4042 "configure" 
    4043 #include "confdefs.h" 
     7584fi 
     7585echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     7586echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 
     7587else 
     7588  # Is the header compilable? 
     7589echo "$as_me:$LINENO: checking winsock.h usability" >&5 
     7590echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 
     7591cat >conftest.$ac_ext <<_ACEOF 
     7592/* confdefs.h.  */ 
     7593_ACEOF 
     7594cat confdefs.h >>conftest.$ac_ext 
     7595cat >>conftest.$ac_ext <<_ACEOF 
     7596/* end confdefs.h.  */ 
     7597$ac_includes_default 
    40447598#include <winsock.h> 
    40457599_ACEOF 
    4046 if { (eval echo "$as_me:4046: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4047   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4048   ac_status=$? 
    4049   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7600rm -f conftest.$ac_objext 
     7601if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7602  (eval $ac_compile) 2>conftest.er1 
     7603  ac_status=$? 
     7604  grep -v '^ *+' conftest.er1 >conftest.err 
    40507605  rm -f conftest.er1 
    40517606  cat conftest.err >&5 
    4052   echo "$as_me:4052: \$? = $ac_status" >&5 
     7607  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7608  (exit $ac_status); } && 
     7609         { ac_try='test -z "$ac_c_werror_flag" 
     7610                         || test ! -s conftest.err' 
     7611  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7612  (eval $ac_try) 2>&5 
     7613  ac_status=$? 
     7614  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7615  (exit $ac_status); }; } && 
     7616         { ac_try='test -s conftest.$ac_objext' 
     7617  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7618  (eval $ac_try) 2>&5 
     7619  ac_status=$? 
     7620  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7621  (exit $ac_status); }; }; then 
     7622  ac_header_compiler=yes 
     7623else 
     7624  echo "$as_me: failed program was:" >&5 
     7625sed 's/^/| /' conftest.$ac_ext >&5 
     7626 
     7627ac_header_compiler=no 
     7628fi 
     7629rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7630echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7631echo "${ECHO_T}$ac_header_compiler" >&6 
     7632 
     7633# Is the header present? 
     7634echo "$as_me:$LINENO: checking winsock.h presence" >&5 
     7635echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 
     7636cat >conftest.$ac_ext <<_ACEOF 
     7637/* confdefs.h.  */ 
     7638_ACEOF 
     7639cat confdefs.h >>conftest.$ac_ext 
     7640cat >>conftest.$ac_ext <<_ACEOF 
     7641/* end confdefs.h.  */ 
     7642#include <winsock.h> 
     7643_ACEOF 
     7644if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7645  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     7646  ac_status=$? 
     7647  grep -v '^ *+' conftest.er1 >conftest.err 
     7648  rm -f conftest.er1 
     7649  cat conftest.err >&5 
     7650  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    40537651  (exit $ac_status); } >/dev/null; then 
    40547652  if test -s conftest.err; then 
    40557653    ac_cpp_err=$ac_c_preproc_warn_flag 
     7654    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    40567655  else 
    40577656    ac_cpp_err= 
     
    40617660fi 
    40627661if test -z "$ac_cpp_err"; then 
    4063   ac_cv_header_winsock_h=yes 
     7662  ac_header_preproc=yes 
    40647663else 
    40657664  echo "$as_me: failed program was:" >&5 
    4066   cat conftest.$ac_ext >&5 
    4067   ac_cv_header_winsock_h=no 
     7665sed 's/^/| /' conftest.$ac_ext >&5 
     7666 
     7667  ac_header_preproc=no 
    40687668fi 
    40697669rm -f conftest.err conftest.$ac_ext 
    4070 fi 
    4071 echo "$as_me:4071: result: $ac_cv_header_winsock_h" >&5 
     7670echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7671echo "${ECHO_T}$ac_header_preproc" >&6 
     7672 
     7673# So?  What about this header? 
     7674case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7675  yes:no: ) 
     7676    { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7677echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7678    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
     7679echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
     7680    ac_header_preproc=yes 
     7681    ;; 
     7682  no:yes:* ) 
     7683    { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
     7684echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
     7685    { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
     7686echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
     7687    { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
     7688echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
     7689    { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7690echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7691    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
     7692echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
     7693    { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
     7694echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
     7695    ( 
     7696      cat <<\_ASBOX 
     7697## ------------------------------------ ## 
     7698## Report this to the pjproject lists.  ## 
     7699## ------------------------------------ ## 
     7700_ASBOX 
     7701    ) | 
     7702      sed "s/^/$as_me: WARNING:     /" >&2 
     7703    ;; 
     7704esac 
     7705echo "$as_me:$LINENO: checking for winsock.h" >&5 
     7706echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 
     7707if test "${ac_cv_header_winsock_h+set}" = set; then 
     7708  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7709else 
     7710  ac_cv_header_winsock_h=$ac_header_preproc 
     7711fi 
     7712echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    40727713echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 
     7714 
     7715fi 
    40737716if test $ac_cv_header_winsock_h = yes; then 
    4074   cat >>confdefs.h <<\EOF 
     7717  cat >>confdefs.h <<\_ACEOF 
    40757718#define PJ_HAS_WINSOCK_H 1 
    4076 EOF 
    4077  
    4078 fi 
    4079  
    4080 echo "$as_me:4080: checking for winsock2.h" >&5 
     7719_ACEOF 
     7720 
     7721fi 
     7722 
     7723 
     7724if test "${ac_cv_header_winsock2_h+set}" = set; then 
     7725  echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    40817726echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 
    40827727if test "${ac_cv_header_winsock2_h+set}" = set; then 
    40837728  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4084 else 
    4085   cat >conftest.$ac_ext <<_ACEOF 
    4086 #line 4086 "configure" 
    4087 #include "confdefs.h" 
     7729fi 
     7730echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     7731echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 
     7732else 
     7733  # Is the header compilable? 
     7734echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
     7735echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 
     7736cat >conftest.$ac_ext <<_ACEOF 
     7737/* confdefs.h.  */ 
     7738_ACEOF 
     7739cat confdefs.h >>conftest.$ac_ext 
     7740cat >>conftest.$ac_ext <<_ACEOF 
     7741/* end confdefs.h.  */ 
     7742$ac_includes_default 
    40887743#include <winsock2.h> 
    40897744_ACEOF 
    4090 if { (eval echo "$as_me:4090: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4091   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4092   ac_status=$? 
    4093   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7745rm -f conftest.$ac_objext 
     7746if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7747  (eval $ac_compile) 2>conftest.er1 
     7748  ac_status=$? 
     7749  grep -v '^ *+' conftest.er1 >conftest.err 
    40947750  rm -f conftest.er1 
    40957751  cat conftest.err >&5 
    4096   echo "$as_me:4096: \$? = $ac_status" >&5 
     7752  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7753  (exit $ac_status); } && 
     7754         { ac_try='test -z "$ac_c_werror_flag" 
     7755                         || test ! -s conftest.err' 
     7756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7757  (eval $ac_try) 2>&5 
     7758  ac_status=$? 
     7759  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7760  (exit $ac_status); }; } && 
     7761         { ac_try='test -s conftest.$ac_objext' 
     7762  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7763  (eval $ac_try) 2>&5 
     7764  ac_status=$? 
     7765  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7766  (exit $ac_status); }; }; then 
     7767  ac_header_compiler=yes 
     7768else 
     7769  echo "$as_me: failed program was:" >&5 
     7770sed 's/^/| /' conftest.$ac_ext >&5 
     7771 
     7772ac_header_compiler=no 
     7773fi 
     7774rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7775echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7776echo "${ECHO_T}$ac_header_compiler" >&6 
     7777 
     7778# Is the header present? 
     7779echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
     7780echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 
     7781cat >conftest.$ac_ext <<_ACEOF 
     7782/* confdefs.h.  */ 
     7783_ACEOF 
     7784cat confdefs.h >>conftest.$ac_ext 
     7785cat >>conftest.$ac_ext <<_ACEOF 
     7786/* end confdefs.h.  */ 
     7787#include <winsock2.h> 
     7788_ACEOF 
     7789if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7790  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     7791  ac_status=$? 
     7792  grep -v '^ *+' conftest.er1 >conftest.err 
     7793  rm -f conftest.er1 
     7794  cat conftest.err >&5 
     7795  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    40977796  (exit $ac_status); } >/dev/null; then 
    40987797  if test -s conftest.err; then 
    40997798    ac_cpp_err=$ac_c_preproc_warn_flag 
     7799    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    41007800  else 
    41017801    ac_cpp_err= 
     
    41057805fi 
    41067806if test -z "$ac_cpp_err"; then 
    4107   ac_cv_header_winsock2_h=yes 
     7807  ac_header_preproc=yes 
    41087808else 
    41097809  echo "$as_me: failed program was:" >&5 
    4110   cat conftest.$ac_ext >&5 
    4111   ac_cv_header_winsock2_h=no 
     7810sed 's/^/| /' conftest.$ac_ext >&5 
     7811 
     7812  ac_header_preproc=no 
    41127813fi 
    41137814rm -f conftest.err conftest.$ac_ext 
    4114 fi 
    4115 echo "$as_me:4115: result: $ac_cv_header_winsock2_h" >&5 
     7815echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7816echo "${ECHO_T}$ac_header_preproc" >&6 
     7817 
     7818# So?  What about this header? 
     7819case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     7820  yes:no: ) 
     7821    { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7822echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7823    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
     7824echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
     7825    ac_header_preproc=yes 
     7826    ;; 
     7827  no:yes:* ) 
     7828    { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
     7829echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
     7830    { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
     7831echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
     7832    { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
     7833echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
     7834    { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
     7835echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     7836    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
     7837echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
     7838    { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
     7839echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
     7840    ( 
     7841      cat <<\_ASBOX 
     7842## ------------------------------------ ## 
     7843## Report this to the pjproject lists.  ## 
     7844## ------------------------------------ ## 
     7845_ASBOX 
     7846    ) | 
     7847      sed "s/^/$as_me: WARNING:     /" >&2 
     7848    ;; 
     7849esac 
     7850echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     7851echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 
     7852if test "${ac_cv_header_winsock2_h+set}" = set; then 
     7853  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7854else 
     7855  ac_cv_header_winsock2_h=$ac_header_preproc 
     7856fi 
     7857echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    41167858echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 
     7859 
     7860fi 
    41177861if test $ac_cv_header_winsock2_h = yes; then 
    4118   cat >>confdefs.h <<\EOF 
     7862  cat >>confdefs.h <<\_ACEOF 
    41197863#define PJ_HAS_WINSOCK2_H 1 
    4120 EOF 
    4121  
    4122 fi 
    4123  
    4124 echo "$as_me:4124: result: Setting PJ_OS_NAME to $target" >&5 
     7864_ACEOF 
     7865 
     7866fi 
     7867 
     7868 
     7869 
     7870echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    41257871echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 
    4126 cat >>confdefs.h <<EOF 
     7872cat >>confdefs.h <<_ACEOF 
    41277873#define PJ_OS_NAME "$target" 
    4128 EOF 
    4129  
    4130 echo "$as_me:4130: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     7874_ACEOF 
     7875 
     7876 
     7877echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    41317878echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 
    4132 cat >>confdefs.h <<\EOF 
     7879cat >>confdefs.h <<\_ACEOF 
    41337880#define PJ_HAS_ERRNO_VAR 1 
    4134 EOF 
    4135  
    4136 echo "$as_me:4136: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     7881_ACEOF 
     7882 
     7883 
     7884echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    41377885echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 
    4138 cat >>confdefs.h <<\EOF 
     7886cat >>confdefs.h <<\_ACEOF 
    41397887#define PJ_HAS_HIGH_RES_TIMER 1 
    4140 EOF 
    4141  
    4142 echo "$as_me:4142: result: Setting PJ_HAS_MALLOC to 1" >&5 
     7888_ACEOF 
     7889 
     7890 
     7891echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    41437892echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 
    4144 cat >>confdefs.h <<\EOF 
     7893cat >>confdefs.h <<\_ACEOF 
    41457894#define PJ_HAS_MALLOC 1 
    4146 EOF 
    4147  
    4148 echo "$as_me:4148: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     7895_ACEOF 
     7896 
     7897 
     7898echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    41497899echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 
    4150 cat >>confdefs.h <<\EOF 
     7900cat >>confdefs.h <<\_ACEOF 
    41517901#define PJ_NATIVE_STRING_IS_UNICODE 0 
    4152 EOF 
    4153  
    4154 echo "$as_me:4154: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     7902_ACEOF 
     7903 
     7904 
     7905echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    41557906echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 
    4156 cat >>confdefs.h <<\EOF 
     7907cat >>confdefs.h <<\_ACEOF 
    41577908#define PJ_ATOMIC_VALUE_TYPE long 
    4158 EOF 
    4159  
    4160 echo "$as_me:4160: checking if inet_aton is available" >&5 
     7909_ACEOF 
     7910 
     7911 
     7912echo "$as_me:$LINENO: checking if inet_aton is available" >&5 
    41617913echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 
    41627914cat >conftest.$ac_ext <<_ACEOF 
    4163 #line 4163 "configure" 
    4164 #include "confdefs.h" 
     7915/* confdefs.h.  */ 
     7916_ACEOF 
     7917cat confdefs.h >>conftest.$ac_ext 
     7918cat >>conftest.$ac_ext <<_ACEOF 
     7919/* end confdefs.h.  */ 
    41657920#include <arpa/inet.h> 
    41667921int 
     
    41737928_ACEOF 
    41747929rm -f conftest.$ac_objext 
    4175 if { (eval echo "$as_me:4175: \"$ac_compile\"") >&5 
    4176   (eval $ac_compile) 2>&5 
    4177   ac_status=$? 
    4178   echo "$as_me:4178: \$? = $ac_status" >&5 
     7930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7931  (eval $ac_compile) 2>conftest.er1 
     7932  ac_status=$? 
     7933  grep -v '^ *+' conftest.er1 >conftest.err 
     7934  rm -f conftest.er1 
     7935  cat conftest.err >&5 
     7936  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    41797937  (exit $ac_status); } && 
    4180          { ac_try='test -s conftest.$ac_objext' 
    4181   { (eval echo "$as_me:4181: \"$ac_try\"") >&5 
    4182   (eval $ac_try) 2>&5 
    4183   ac_status=$? 
    4184   echo "$as_me:4184: \$? = $ac_status" >&5 
     7938         { ac_try='test -z "$ac_c_werror_flag" 
     7939                         || test ! -s conftest.err' 
     7940  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7941  (eval $ac_try) 2>&5 
     7942  ac_status=$? 
     7943  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7944  (exit $ac_status); }; } && 
     7945         { ac_try='test -s conftest.$ac_objext' 
     7946  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7947  (eval $ac_try) 2>&5 
     7948  ac_status=$? 
     7949  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    41857950  (exit $ac_status); }; }; then 
    4186   cat >>confdefs.h <<\EOF 
     7951  cat >>confdefs.h <<\_ACEOF 
    41877952#define PJ_SOCK_HAS_INET_ATON 1 
    4188 EOF 
    4189  
    4190                    echo "$as_me:4190: result: yes" >&5 
     7953_ACEOF 
     7954 
     7955                   echo "$as_me:$LINENO: result: yes" >&5 
    41917956echo "${ECHO_T}yes" >&6 
    41927957else 
    41937958  echo "$as_me: failed program was:" >&5 
    4194 cat conftest.$ac_ext >&5 
    4195 echo "$as_me:4195: result: no" >&5 
     7959sed 's/^/| /' conftest.$ac_ext >&5 
     7960 
     7961echo "$as_me:$LINENO: result: no" >&5 
    41967962echo "${ECHO_T}no" >&6 
    41977963fi 
    4198 rm -f conftest.$ac_objext conftest.$ac_ext 
    4199  
    4200 echo "$as_me:4200: checking if sockaddr_in has sin_len member" >&5 
     7964rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     7965 
     7966echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    42017967echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 
    42027968cat >conftest.$ac_ext <<_ACEOF 
    4203 #line 4203 "configure" 
    4204 #include "confdefs.h" 
     7969/* confdefs.h.  */ 
     7970_ACEOF 
     7971cat confdefs.h >>conftest.$ac_ext 
     7972cat >>conftest.$ac_ext <<_ACEOF 
     7973/* end confdefs.h.  */ 
    42057974#include <sys/types.h> 
    42067975                                     #include <sys/socket.h> 
     
    42167985_ACEOF 
    42177986rm -f conftest.$ac_objext 
    4218 if { (eval echo "$as_me:4218: \"$ac_compile\"") >&5 
    4219   (eval $ac_compile) 2>&5 
    4220   ac_status=$? 
    4221   echo "$as_me:4221: \$? = $ac_status" >&5 
     7987if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7988  (eval $ac_compile) 2>conftest.er1 
     7989  ac_status=$? 
     7990  grep -v '^ *+' conftest.er1 >conftest.err 
     7991  rm -f conftest.er1 
     7992  cat conftest.err >&5 
     7993  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    42227994  (exit $ac_status); } && 
    4223          { ac_try='test -s conftest.$ac_objext' 
    4224   { (eval echo "$as_me:4224: \"$ac_try\"") >&5 
    4225   (eval $ac_try) 2>&5 
    4226   ac_status=$? 
    4227   echo "$as_me:4227: \$? = $ac_status" >&5 
     7995         { ac_try='test -z "$ac_c_werror_flag" 
     7996                         || test ! -s conftest.err' 
     7997  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7998  (eval $ac_try) 2>&5 
     7999  ac_status=$? 
     8000  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8001  (exit $ac_status); }; } && 
     8002         { ac_try='test -s conftest.$ac_objext' 
     8003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8004  (eval $ac_try) 2>&5 
     8005  ac_status=$? 
     8006  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    42288007  (exit $ac_status); }; }; then 
    4229   cat >>confdefs.h <<\EOF 
     8008  cat >>confdefs.h <<\_ACEOF 
    42308009#define PJ_SOCKADDR_HAS_LEN 1 
    4231 EOF 
    4232  
    4233                    echo "$as_me:4233: result: yes" >&5 
     8010_ACEOF 
     8011 
     8012                   echo "$as_me:$LINENO: result: yes" >&5 
    42348013echo "${ECHO_T}yes" >&6 
    42358014else 
    42368015  echo "$as_me: failed program was:" >&5 
    4237 cat conftest.$ac_ext >&5 
    4238 echo "$as_me:4238: result: no" >&5 
     8016sed 's/^/| /' conftest.$ac_ext >&5 
     8017 
     8018echo "$as_me:$LINENO: result: no" >&5 
    42398019echo "${ECHO_T}no" >&6 
    42408020fi 
    4241 rm -f conftest.$ac_objext conftest.$ac_ext 
    4242  
    4243 echo "$as_me:4243: checking if socklen_t is available" >&5 
     8021rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8022 
     8023echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    42448024echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 
    42458025cat >conftest.$ac_ext <<_ACEOF 
    4246 #line 4246 "configure" 
    4247 #include "confdefs.h" 
     8026/* confdefs.h.  */ 
     8027_ACEOF 
     8028cat confdefs.h >>conftest.$ac_ext 
     8029cat >>conftest.$ac_ext <<_ACEOF 
     8030/* end confdefs.h.  */ 
    42488031#include <sys/socket.h> 
    42498032int 
     
    42568039_ACEOF 
    42578040rm -f conftest.$ac_objext 
    4258 if { (eval echo "$as_me:4258: \"$ac_compile\"") >&5 
    4259   (eval $ac_compile) 2>&5 
    4260   ac_status=$? 
    4261   echo "$as_me:4261: \$? = $ac_status" >&5 
     8041if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     8042  (eval $ac_compile) 2>conftest.er1 
     8043  ac_status=$? 
     8044  grep -v '^ *+' conftest.er1 >conftest.err 
     8045  rm -f conftest.er1 
     8046  cat conftest.err >&5 
     8047  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    42628048  (exit $ac_status); } && 
    4263          { ac_try='test -s conftest.$ac_objext' 
    4264   { (eval echo "$as_me:4264: \"$ac_try\"") >&5 
    4265   (eval $ac_try) 2>&5 
    4266   ac_status=$? 
    4267   echo "$as_me:4267: \$? = $ac_status" >&5 
     8049         { ac_try='test -z "$ac_c_werror_flag" 
     8050                         || test ! -s conftest.err' 
     8051  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8052  (eval $ac_try) 2>&5 
     8053  ac_status=$? 
     8054  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8055  (exit $ac_status); }; } && 
     8056         { ac_try='test -s conftest.$ac_objext' 
     8057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8058  (eval $ac_try) 2>&5 
     8059  ac_status=$? 
     8060  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    42688061  (exit $ac_status); }; }; then 
    4269   cat >>confdefs.h <<\EOF 
     8062  cat >>confdefs.h <<\_ACEOF 
    42708063#define PJ_HAS_SOCKLEN_T 1 
    4271 EOF 
    4272  
    4273                    echo "$as_me:4273: result: yes" >&5 
     8064_ACEOF 
     8065 
     8066                   echo "$as_me:$LINENO: result: yes" >&5 
    42748067echo "${ECHO_T}yes" >&6 
    42758068else 
    42768069  echo "$as_me: failed program was:" >&5 
    4277 cat conftest.$ac_ext >&5 
    4278 echo "$as_me:4278: result: no" >&5 
     8070sed 's/^/| /' conftest.$ac_ext >&5 
     8071 
     8072echo "$as_me:$LINENO: result: no" >&5 
    42798073echo "${ECHO_T}no" >&6 
    42808074fi 
    4281 rm -f conftest.$ac_objext conftest.$ac_ext 
    4282  
    4283 echo "$as_me:4283: checking if SO_ERROR is available" >&5 
     8075rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8076 
     8077echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    42848078echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 
    42858079case $target in 
    42868080    *mingw* | *cygw* | *win32* | *w32* ) 
    4287         cat >>confdefs.h <<\EOF 
     8081        cat >>confdefs.h <<\_ACEOF 
    42888082#define PJ_HAS_SO_ERROR 1 
    4289 EOF 
    4290  
    4291         echo "$as_me:4291: result: yes" >&5 
     8083_ACEOF 
     8084 
     8085        echo "$as_me:$LINENO: result: yes" >&5 
    42928086echo "${ECHO_T}yes" >&6 
    42938087        ;; 
    42948088    *) 
    42958089        cat >conftest.$ac_ext <<_ACEOF 
    4296 #line 4296 "configure" 
    4297 #include "confdefs.h" 
     8090/* confdefs.h.  */ 
     8091_ACEOF 
     8092cat confdefs.h >>conftest.$ac_ext 
     8093cat >>conftest.$ac_ext <<_ACEOF 
     8094/* end confdefs.h.  */ 
    42988095#include <sys/types.h> 
    42998096                                             #include <sys/socket.h> 
     
    43098106_ACEOF 
    43108107rm -f conftest.$ac_objext 
    4311 if { (eval echo "$as_me:4311: \"$ac_compile\"") >&5 
    4312   (eval $ac_compile) 2>&5 
    4313   ac_status=$? 
    4314   echo "$as_me:4314: \$? = $ac_status" >&5 
     8108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     8109  (eval $ac_compile) 2>conftest.er1 
     8110  ac_status=$? 
     8111  grep -v '^ *+' conftest.er1 >conftest.err 
     8112  rm -f conftest.er1 
     8113  cat conftest.err >&5 
     8114  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    43158115  (exit $ac_status); } && 
    4316          { ac_try='test -s conftest.$ac_objext' 
    4317   { (eval echo "$as_me:4317: \"$ac_try\"") >&5 
    4318   (eval $ac_try) 2>&5 
    4319   ac_status=$? 
    4320   echo "$as_me:4320: \$? = $ac_status" >&5 
     8116         { ac_try='test -z "$ac_c_werror_flag" 
     8117                         || test ! -s conftest.err' 
     8118  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8119  (eval $ac_try) 2>&5 
     8120  ac_status=$? 
     8121  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8122  (exit $ac_status); }; } && 
     8123         { ac_try='test -s conftest.$ac_objext' 
     8124  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8125  (eval $ac_try) 2>&5 
     8126  ac_status=$? 
     8127  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    43218128  (exit $ac_status); }; }; then 
    4322   cat >>confdefs.h <<\EOF 
     8129  cat >>confdefs.h <<\_ACEOF 
    43238130#define PJ_HAS_SO_ERROR 1 
    4324 EOF 
    4325  
    4326                            echo "$as_me:4326: result: yes" >&5 
     8131_ACEOF 
     8132 
     8133                           echo "$as_me:$LINENO: result: yes" >&5 
    43278134echo "${ECHO_T}yes" >&6 
    43288135else 
    43298136  echo "$as_me: failed program was:" >&5 
    4330 cat conftest.$ac_ext >&5 
    4331 echo "$as_me:4331: result: no" >&5 
     8137sed 's/^/| /' conftest.$ac_ext >&5 
     8138 
     8139echo "$as_me:$LINENO: result: no" >&5 
    43328140echo "${ECHO_T}no" >&6 
    43338141fi 
    4334 rm -f conftest.$ac_objext conftest.$ac_ext 
     8142rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    43358143        ;; 
    43368144esac 
    43378145 
    4338 echo "$as_me:4338: checking if pthread_rwlock_t is available" >&5 
     8146 
     8147echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    43398148echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 
    43408149cat >conftest.$ac_ext <<_ACEOF 
    4341 #line 4341 "configure" 
    4342 #include "confdefs.h" 
     8150/* confdefs.h.  */ 
     8151_ACEOF 
     8152cat confdefs.h >>conftest.$ac_ext 
     8153cat >>conftest.$ac_ext <<_ACEOF 
     8154/* end confdefs.h.  */ 
    43438155#include <pthread.h> 
    43448156int 
     
    43518163_ACEOF 
    43528164rm -f conftest.$ac_objext 
    4353 if { (eval echo "$as_me:4353: \"$ac_compile\"") >&5 
    4354   (eval $ac_compile) 2>&5 
    4355   ac_status=$? 
    4356   echo "$as_me:4356: \$? = $ac_status" >&5 
     8165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     8166  (eval $ac_compile) 2>conftest.er1 
     8167  ac_status=$? 
     8168  grep -v '^ *+' conftest.er1 >conftest.err 
     8169  rm -f conftest.er1 
     8170  cat conftest.err >&5 
     8171  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    43578172  (exit $ac_status); } && 
    4358          { ac_try='test -s conftest.$ac_objext' 
    4359   { (eval echo "$as_me:4359: \"$ac_try\"") >&5 
    4360   (eval $ac_try) 2>&5 
    4361   ac_status=$? 
    4362   echo "$as_me:4362: \$? = $ac_status" >&5 
     8173         { ac_try='test -z "$ac_c_werror_flag" 
     8174                         || test ! -s conftest.err' 
     8175  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8176  (eval $ac_try) 2>&5 
     8177  ac_status=$? 
     8178  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8179  (exit $ac_status); }; } && 
     8180         { ac_try='test -s conftest.$ac_objext' 
     8181  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8182  (eval $ac_try) 2>&5 
     8183  ac_status=$? 
     8184  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    43638185  (exit $ac_status); }; }; then 
    4364   cat >>confdefs.h <<\EOF 
     8186  cat >>confdefs.h <<\_ACEOF 
    43658187#define PJ_EMULATE_RWMUTEX 0 
    4366 EOF 
    4367  
    4368                    echo "$as_me:4368: result: yes" >&5 
     8188_ACEOF 
     8189 
     8190                   echo "$as_me:$LINENO: result: yes" >&5 
    43698191echo "${ECHO_T}yes" >&6 
    43708192else 
    43718193  echo "$as_me: failed program was:" >&5 
    4372 cat conftest.$ac_ext >&5 
    4373 cat >>confdefs.h <<\EOF 
     8194sed 's/^/| /' conftest.$ac_ext >&5 
     8195 
     8196cat >>confdefs.h <<\_ACEOF 
    43748197#define PJ_EMULATE_RWMUTEX 1 
    4375 EOF 
    4376  
    4377                    echo "$as_me:4377: result: no" >&5 
     8198_ACEOF 
     8199 
     8200                   echo "$as_me:$LINENO: result: no" >&5 
    43788201echo "${ECHO_T}no" >&6 
    43798202fi 
    4380 rm -f conftest.$ac_objext conftest.$ac_ext 
     8203rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8204 
    43818205 
    43828206case $target in 
     
    43898213esac 
    43908214 
     8215 
     8216 
     8217 
    43918218# Check whether --enable-sound or --disable-sound was given. 
    43928219if test "${enable_sound+set}" = set; then 
     
    43948221  if test "$enable_sound" = "no"; then 
    43958222                ac_pjmedia_snd=null 
    4396                 echo "$as_me:4396: result: Checking if sound is disabled... yes" >&5 
     8223                echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 
    43978224echo "${ECHO_T}Checking if sound is disabled... yes" >&6 
    43988225               fi 
    43998226 
    44008227fi; 
     8228 
    44018229 
    44028230if test "$enable_sound" = "no"; then 
     
    44108238                #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 
    44118239                ac_pjmedia_snd=pa_old_darwinos 
    4412                 echo "$as_me:4412: result: Checking sound device backend... old coreaudio" >&5 
     8240                echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 
    44138241echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6 
    44148242        else 
    44158243                ac_pjmedia_snd=pa_darwinos 
    4416                 echo "$as_me:4416: result: Checking sound device backend... coreaudio" >&5 
     8244                echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    44178245echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 
    44188246        fi 
     
    44208248  *cygwin* | *mingw*) 
    44218249        ac_pjmedia_snd=pa_win32 
    4422         echo "$as_me:4422: result: Checking sound device backend... win32 sound" >&5 
     8250        echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    44238251echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 
    44248252        ;; 
    44258253  *rtems*) 
    44268254        ac_pjmedia_snd=null 
    4427         echo "$as_me:4427: result: Checking sound device backend... null sound" >&5 
     8255        echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    44288256echo "${ECHO_T}Checking sound device backend... null sound" >&6 
    44298257        ;; 
    44308258  *) 
    44318259        ac_pjmedia_snd=pa_unix 
    4432         echo "$as_me:4432: checking for alsa/version.h" >&5 
     8260        if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     8261  echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    44338262echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 
    44348263if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    44358264  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4436 else 
    4437   cat >conftest.$ac_ext <<_ACEOF 
    4438 #line 4438 "configure" 
    4439 #include "confdefs.h" 
     8265fi 
     8266echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     8267echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 
     8268else 
     8269  # Is the header compilable? 
     8270echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
     8271echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 
     8272cat >conftest.$ac_ext <<_ACEOF 
     8273/* confdefs.h.  */ 
     8274_ACEOF 
     8275cat confdefs.h >>conftest.$ac_ext 
     8276cat >>conftest.$ac_ext <<_ACEOF 
     8277/* end confdefs.h.  */ 
     8278$ac_includes_default 
    44408279#include <alsa/version.h> 
    44418280_ACEOF 
    4442 if { (eval echo "$as_me:4442: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4443   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4444   ac_status=$? 
    4445   egrep -v '^ *\+' conftest.er1 >conftest.err 
     8281rm -f conftest.$ac_objext 
     8282if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     8283  (eval $ac_compile) 2>conftest.er1 
     8284  ac_status=$? 
     8285  grep -v '^ *+' conftest.er1 >conftest.err 
    44468286  rm -f conftest.er1 
    44478287  cat conftest.err >&5 
    4448   echo "$as_me:4448: \$? = $ac_status" >&5 
     8288  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8289  (exit $ac_status); } && 
     8290         { ac_try='test -z "$ac_c_werror_flag" 
     8291                         || test ! -s conftest.err' 
     8292  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8293  (eval $ac_try) 2>&5 
     8294  ac_status=$? 
     8295  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8296  (exit $ac_status); }; } && 
     8297         { ac_try='test -s conftest.$ac_objext' 
     8298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8299  (eval $ac_try) 2>&5 
     8300  ac_status=$? 
     8301  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8302  (exit $ac_status); }; }; then 
     8303  ac_header_compiler=yes 
     8304else 
     8305  echo "$as_me: failed program was:" >&5 
     8306sed 's/^/| /' conftest.$ac_ext >&5 
     8307 
     8308ac_header_compiler=no 
     8309fi 
     8310rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8311echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8312echo "${ECHO_T}$ac_header_compiler" >&6 
     8313 
     8314# Is the header present? 
     8315echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
     8316echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 
     8317cat >conftest.$ac_ext <<_ACEOF 
     8318/* confdefs.h.  */ 
     8319_ACEOF 
     8320cat confdefs.h >>conftest.$ac_ext 
     8321cat >>conftest.$ac_ext <<_ACEOF 
     8322/* end confdefs.h.  */ 
     8323#include <alsa/version.h> 
     8324_ACEOF 
     8325if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     8326  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     8327  ac_status=$? 
     8328  grep -v '^ *+' conftest.er1 >conftest.err 
     8329  rm -f conftest.er1 
     8330  cat conftest.err >&5 
     8331  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    44498332  (exit $ac_status); } >/dev/null; then 
    44508333  if test -s conftest.err; then 
    44518334    ac_cpp_err=$ac_c_preproc_warn_flag 
     8335    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    44528336  else 
    44538337    ac_cpp_err= 
     
    44578341fi 
    44588342if test -z "$ac_cpp_err"; then 
    4459   ac_cv_header_alsa_version_h=yes 
     8343  ac_header_preproc=yes 
    44608344else 
    44618345  echo "$as_me: failed program was:" >&5 
    4462   cat conftest.$ac_ext >&5 
    4463   ac_cv_header_alsa_version_h=no 
     8346sed 's/^/| /' conftest.$ac_ext >&5 
     8347 
     8348  ac_header_preproc=no 
    44648349fi 
    44658350rm -f conftest.err conftest.$ac_ext 
    4466 fi 
    4467 echo "$as_me:4467: result: $ac_cv_header_alsa_version_h" >&5 
     8351echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8352echo "${ECHO_T}$ac_header_preproc" >&6 
     8353 
     8354# So?  What about this header? 
     8355case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8356  yes:no: ) 
     8357    { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8358echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8359    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
     8360echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
     8361    ac_header_preproc=yes 
     8362    ;; 
     8363  no:yes:* ) 
     8364    { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
     8365echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
     8366    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
     8367echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
     8368    { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
     8369echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
     8370    { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8371echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8372    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
     8373echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
     8374    { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
     8375echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
     8376    ( 
     8377      cat <<\_ASBOX 
     8378## ------------------------------------ ## 
     8379## Report this to the pjproject lists.  ## 
     8380## ------------------------------------ ## 
     8381_ASBOX 
     8382    ) | 
     8383      sed "s/^/$as_me: WARNING:     /" >&2 
     8384    ;; 
     8385esac 
     8386echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     8387echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 
     8388if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     8389  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8390else 
     8391  ac_cv_header_alsa_version_h=$ac_header_preproc 
     8392fi 
     8393echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    44688394echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 
     8395 
     8396fi 
    44698397if test $ac_cv_header_alsa_version_h = yes; then 
    44708398  ac_pa_use_alsa=1 
     
    44778405fi 
    44788406 
    4479         echo "$as_me:4479: result: Checking sound device backend... unix" >&5 
     8407 
     8408        echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    44808409echo "${ECHO_T}Checking sound device backend... unix" >&6 
    44818410        ;; 
    44828411 esac 
    44838412fi 
     8413 
    44848414 
    44858415# Check whether --enable-small-filter or --disable-small-filter was given. 
     
    44888418  if test "$enable_small_filter" = "no"; then 
    44898419                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    4490                 echo "$as_me:4490: result: Checking if small filter is disabled... yes" >&5 
     8420                echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    44918421echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 
    44928422               fi 
    44938423else 
    4494   echo "$as_me:4494: result: Checking if small filter is disabled... no" >&5 
     8424  echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    44958425echo "${ECHO_T}Checking if small filter is disabled... no" >&6 
    44968426fi; 
     8427 
    44978428 
    44988429# Check whether --enable-large-filter or --disable-large-filter was given. 
     
    45018432  if test "$enable_large_filter" = "no"; then 
    45028433                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    4503                 echo "$as_me:4503: result: Checking if large filter is disabled... yes" >&5 
     8434                echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    45048435echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 
    45058436               fi 
    45068437else 
    4507   echo "$as_me:4507: result: Checking if large filter is disabled... no" >&5 
     8438  echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    45088439echo "${ECHO_T}Checking if large filter is disabled... no" >&6 
    45098440fi; 
     8441 
    45108442 
    45118443# Check whether --enable-g711-plc or --disable-g711-plc was given. 
     
    45148446  if test "$enable_g711_plc" = "no"; then 
    45158447                ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 
    4516                 echo "$as_me:4516: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 
     8448                echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 
    45178449echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 
    45188450               fi 
    45198451else 
    4520   echo "$as_me:4520: result: Checking if G.711 Annex A PLC is disabled...no" >&5 
     8452  echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&5 
    45218453echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 
    45228454fi; 
     8455 
    45238456 
    45248457# Check whether --enable-speex-aec or --disable-speex-aec was given. 
     
    45278460  if test "$enable_speex_aec" = "no"; then 
    45288461                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    4529                 echo "$as_me:4529: result: Checking if Speex AEC is disabled...yes" >&5 
     8462                echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    45308463echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 
    45318464               fi 
    45328465else 
    4533   echo "$as_me:4533: result: Checking if Speex AEC is disabled...no" >&5 
     8466  echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    45348467echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 
    45358468fi; 
     8469 
    45368470 
    45378471# Check whether --enable-g711-codec or --disable-g711-codec was given. 
     
    45408474  if test "$enable_g711_codec" = "no"; then 
    45418475                ac_no_g711_codec=1 
    4542                 echo "$as_me:4542: result: Checking if G.711 codec is disabled...yes" >&5 
     8476                echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    45438477echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 
    45448478               fi 
    45458479else 
    4546   echo "$as_me:4546: result: Checking if G.711 codec is disabled...no" >&5 
     8480  echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    45478481echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 
    45488482fi; 
     8483 
     8484 
    45498485 
    45508486# Check whether --enable-l16-codec or --disable-l16-codec was given. 
     
    45538489  if test "$enable_l16_codec" = "no"; then 
    45548490                ac_no_l16_codec=1 
    4555                 echo "$as_me:4555: result: Checking if L16 codecs are disabled...yes" >&5 
     8491                echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    45568492echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 
    45578493               fi 
    45588494else 
    4559   echo "$as_me:4559: result: Checking if L16 codec is disabled...no" >&5 
     8495  echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 
    45608496echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6 
    45618497fi; 
     8498 
     8499 
    45628500 
    45638501# Check whether --enable-gsm-codec or --disable-gsm-codec was given. 
     
    45668504  if test "$enable_gsm_codec" = "no"; then 
    45678505                ac_no_gsm_codec=1 
    4568                 echo "$as_me:4568: result: Checking if GSM codec is disabled...yes" >&5 
     8506                echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    45698507echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 
    45708508               fi 
    45718509else 
    4572   echo "$as_me:4572: result: Checking if GSM codec is disabled...no" >&5 
     8510  echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    45738511echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 
    45748512fi; 
     8513 
    45758514 
    45768515# Check whether --enable-speex-codec or --disable-speex-codec was given. 
     
    45798518  if test "$enable_speex_codec" = "no"; then 
    45808519                ac_no_speex_codec=1 
    4581                 echo "$as_me:4581: result: Checking if Speex codec is disabled...yes" >&5 
     8520                echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    45828521echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 
    45838522               fi 
    45848523else 
    4585   echo "$as_me:4585: result: Checking if Speex codec is disabled...no" >&5 
     8524  echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    45868525echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 
    45878526fi; 
     8527 
    45888528 
    45898529# Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. 
     
    45928532  if test "$enable_ilbc_codec" = "no"; then 
    45938533                ac_no_ilbc_codec=1 
    4594                 echo "$as_me:4594: result: Checking if iLBC codec is disabled...yes" >&5 
     8534                echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    45958535echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 
    45968536               fi 
    45978537else 
    4598   echo "$as_me:4598: result: Checking if iLBC codec is disabled...no" >&5 
     8538  echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    45998539echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 
    46008540fi; 
    46018541 
    4602 echo "$as_me:4602: checking if select() needs correct nfds" >&5 
     8542 
     8543 
     8544 
     8545 
     8546# Check whether --enable-ssl or --disable-ssl was given. 
     8547if test "${enable_ssl+set}" = set; then 
     8548  enableval="$enable_ssl" 
     8549 
     8550                if test "$enable_ssl" = "no"; then 
     8551                 ac_no_ssl=1 
     8552                 echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 
     8553echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6 
     8554                fi 
     8555 
     8556else 
     8557 
     8558                echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 
     8559echo "${ECHO_T}checking for OpenSSL installations.." >&6 
     8560 
     8561 
     8562 
     8563                if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     8564  echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     8565echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 
     8566if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     8567  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8568fi 
     8569echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     8570echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 
     8571else 
     8572  # Is the header compilable? 
     8573echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 
     8574echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6 
     8575cat >conftest.$ac_ext <<_ACEOF 
     8576/* confdefs.h.  */ 
     8577_ACEOF 
     8578cat confdefs.h >>conftest.$ac_ext 
     8579cat >>conftest.$ac_ext <<_ACEOF 
     8580/* end confdefs.h.  */ 
     8581$ac_includes_default 
     8582#include <openssl/ssl.h> 
     8583_ACEOF 
     8584rm -f conftest.$ac_objext 
     8585if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     8586  (eval $ac_compile) 2>conftest.er1 
     8587  ac_status=$? 
     8588  grep -v '^ *+' conftest.er1 >conftest.err 
     8589  rm -f conftest.er1 
     8590  cat conftest.err >&5 
     8591  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8592  (exit $ac_status); } && 
     8593         { ac_try='test -z "$ac_c_werror_flag" 
     8594                         || test ! -s conftest.err' 
     8595  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8596  (eval $ac_try) 2>&5 
     8597  ac_status=$? 
     8598  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8599  (exit $ac_status); }; } && 
     8600         { ac_try='test -s conftest.$ac_objext' 
     8601  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8602  (eval $ac_try) 2>&5 
     8603  ac_status=$? 
     8604  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8605  (exit $ac_status); }; }; then 
     8606  ac_header_compiler=yes 
     8607else 
     8608  echo "$as_me: failed program was:" >&5 
     8609sed 's/^/| /' conftest.$ac_ext >&5 
     8610 
     8611ac_header_compiler=no 
     8612fi 
     8613rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     8614echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     8615echo "${ECHO_T}$ac_header_compiler" >&6 
     8616 
     8617# Is the header present? 
     8618echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 
     8619echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6 
     8620cat >conftest.$ac_ext <<_ACEOF 
     8621/* confdefs.h.  */ 
     8622_ACEOF 
     8623cat confdefs.h >>conftest.$ac_ext 
     8624cat >>conftest.$ac_ext <<_ACEOF 
     8625/* end confdefs.h.  */ 
     8626#include <openssl/ssl.h> 
     8627_ACEOF 
     8628if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     8629  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     8630  ac_status=$? 
     8631  grep -v '^ *+' conftest.er1 >conftest.err 
     8632  rm -f conftest.er1 
     8633  cat conftest.err >&5 
     8634  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8635  (exit $ac_status); } >/dev/null; then 
     8636  if test -s conftest.err; then 
     8637    ac_cpp_err=$ac_c_preproc_warn_flag 
     8638    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     8639  else 
     8640    ac_cpp_err= 
     8641  fi 
     8642else 
     8643  ac_cpp_err=yes 
     8644fi 
     8645if test -z "$ac_cpp_err"; then 
     8646  ac_header_preproc=yes 
     8647else 
     8648  echo "$as_me: failed program was:" >&5 
     8649sed 's/^/| /' conftest.$ac_ext >&5 
     8650 
     8651  ac_header_preproc=no 
     8652fi 
     8653rm -f conftest.err conftest.$ac_ext 
     8654echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     8655echo "${ECHO_T}$ac_header_preproc" >&6 
     8656 
     8657# So?  What about this header? 
     8658case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     8659  yes:no: ) 
     8660    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     8661echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     8662    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 
     8663echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 
     8664    ac_header_preproc=yes 
     8665    ;; 
     8666  no:yes:* ) 
     8667    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 
     8668echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 
     8669    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5 
     8670echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;} 
     8671    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 
     8672echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 
     8673    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5 
     8674echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     8675    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 
     8676echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 
     8677    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 
     8678echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 
     8679    ( 
     8680      cat <<\_ASBOX 
     8681## ------------------------------------ ## 
     8682## Report this to the pjproject lists.  ## 
     8683## ------------------------------------ ## 
     8684_ASBOX 
     8685    ) | 
     8686      sed "s/^/$as_me: WARNING:     /" >&2 
     8687    ;; 
     8688esac 
     8689echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 
     8690echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 
     8691if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 
     8692  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8693else 
     8694  ac_cv_header_openssl_ssl_h=$ac_header_preproc 
     8695fi 
     8696echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 
     8697echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 
     8698 
     8699fi 
     8700if test $ac_cv_header_openssl_ssl_h = yes; then 
     8701  openssl_h_present=1 
     8702fi 
     8703 
     8704 
     8705                echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 
     8706echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6 
     8707if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 
     8708  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8709else 
     8710  ac_check_lib_save_LIBS=$LIBS 
     8711LIBS="-lssl  $LIBS" 
     8712cat >conftest.$ac_ext <<_ACEOF 
     8713/* confdefs.h.  */ 
     8714_ACEOF 
     8715cat confdefs.h >>conftest.$ac_ext 
     8716cat >>conftest.$ac_ext <<_ACEOF 
     8717/* end confdefs.h.  */ 
     8718 
     8719/* Override any gcc2 internal prototype to avoid an error.  */ 
     8720#ifdef __cplusplus 
     8721extern "C" 
     8722#endif 
     8723/* We use char because int might match the return type of a gcc2 
     8724   builtin and then its argument prototype would still apply.  */ 
     8725char SSL_library_init (); 
     8726int 
     8727main () 
     8728{ 
     8729SSL_library_init (); 
     8730  ; 
     8731  return 0; 
     8732} 
     8733_ACEOF 
     8734rm -f conftest.$ac_objext conftest$ac_exeext 
     8735if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     8736  (eval $ac_link) 2>conftest.er1 
     8737  ac_status=$? 
     8738  grep -v '^ *+' conftest.er1 >conftest.err 
     8739  rm -f conftest.er1 
     8740  cat conftest.err >&5 
     8741  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8742  (exit $ac_status); } && 
     8743         { ac_try='test -z "$ac_c_werror_flag" 
     8744                         || test ! -s conftest.err' 
     8745  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8746  (eval $ac_try) 2>&5 
     8747  ac_status=$? 
     8748  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8749  (exit $ac_status); }; } && 
     8750         { ac_try='test -s conftest$ac_exeext' 
     8751  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8752  (eval $ac_try) 2>&5 
     8753  ac_status=$? 
     8754  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8755  (exit $ac_status); }; }; then 
     8756  ac_cv_lib_ssl_SSL_library_init=yes 
     8757else 
     8758  echo "$as_me: failed program was:" >&5 
     8759sed 's/^/| /' conftest.$ac_ext >&5 
     8760 
     8761ac_cv_lib_ssl_SSL_library_init=no 
     8762fi 
     8763rm -f conftest.err conftest.$ac_objext \ 
     8764      conftest$ac_exeext conftest.$ac_ext 
     8765LIBS=$ac_check_lib_save_LIBS 
     8766fi 
     8767echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 
     8768echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6 
     8769if test $ac_cv_lib_ssl_SSL_library_init = yes; then 
     8770  libssl_present=1 && LIBS="$LIBS -lssl" 
     8771fi 
     8772 
     8773                echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 
     8774echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6 
     8775if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 
     8776  echo $ECHO_N "(cached) $ECHO_C" >&6 
     8777else 
     8778  ac_check_lib_save_LIBS=$LIBS 
     8779LIBS="-lcrypto  $LIBS" 
     8780cat >conftest.$ac_ext <<_ACEOF 
     8781/* confdefs.h.  */ 
     8782_ACEOF 
     8783cat confdefs.h >>conftest.$ac_ext 
     8784cat >>conftest.$ac_ext <<_ACEOF 
     8785/* end confdefs.h.  */ 
     8786 
     8787/* Override any gcc2 internal prototype to avoid an error.  */ 
     8788#ifdef __cplusplus 
     8789extern "C" 
     8790#endif 
     8791/* We use char because int might match the return type of a gcc2 
     8792   builtin and then its argument prototype would still apply.  */ 
     8793char ERR_load_BIO_strings (); 
     8794int 
     8795main () 
     8796{ 
     8797ERR_load_BIO_strings (); 
     8798  ; 
     8799  return 0; 
     8800} 
     8801_ACEOF 
     8802rm -f conftest.$ac_objext conftest$ac_exeext 
     8803if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     8804  (eval $ac_link) 2>conftest.er1 
     8805  ac_status=$? 
     8806  grep -v '^ *+' conftest.er1 >conftest.err 
     8807  rm -f conftest.er1 
     8808  cat conftest.err >&5 
     8809  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8810  (exit $ac_status); } && 
     8811         { ac_try='test -z "$ac_c_werror_flag" 
     8812                         || test ! -s conftest.err' 
     8813  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8814  (eval $ac_try) 2>&5 
     8815  ac_status=$? 
     8816  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8817  (exit $ac_status); }; } && 
     8818         { ac_try='test -s conftest$ac_exeext' 
     8819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     8820  (eval $ac_try) 2>&5 
     8821  ac_status=$? 
     8822  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8823  (exit $ac_status); }; }; then 
     8824  ac_cv_lib_crypto_ERR_load_BIO_strings=yes 
     8825else 
     8826  echo "$as_me: failed program was:" >&5 
     8827sed 's/^/| /' conftest.$ac_ext >&5 
     8828 
     8829ac_cv_lib_crypto_ERR_load_BIO_strings=no 
     8830fi 
     8831rm -f conftest.err conftest.$ac_objext \ 
     8832      conftest$ac_exeext conftest.$ac_ext 
     8833LIBS=$ac_check_lib_save_LIBS 
     8834fi 
     8835echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 
     8836echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6 
     8837if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 
     8838  libcrypto_present=1 && LIBS="$LIBS -lcrypto" 
     8839fi 
     8840 
     8841                if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 
     8842                        echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 
     8843echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6 
     8844                        cat >>confdefs.h <<\_ACEOF 
     8845#define PJSIP_HAS_TLS_TRANSPORT 1 
     8846_ACEOF 
     8847 
     8848                else 
     8849                        echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 
     8850echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6 
     8851                fi 
     8852 
     8853fi; 
     8854 
     8855 
     8856 
     8857 
     8858echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    46038859echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 
    46048860case $target in 
    4605   *rtems*) cat >>confdefs.h <<\EOF 
     8861  *rtems*) cat >>confdefs.h <<\_ACEOF 
    46068862#define PJ_SELECT_NEEDS_NFDS 1 
    4607 EOF 
    4608  
    4609            echo "$as_me:4609: result: yes" >&5 
     8863_ACEOF 
     8864 
     8865           echo "$as_me:$LINENO: result: yes" >&5 
    46108866echo "${ECHO_T}yes" >&6 
    46118867        ;; 
    4612   *) cat >>confdefs.h <<\EOF 
     8868  *) cat >>confdefs.h <<\_ACEOF 
    46138869#define PJ_SELECT_NEEDS_NFDS 0 
    4614 EOF 
    4615  
    4616      echo "$as_me:4616: result: no (default)" >&5 
     8870_ACEOF 
     8871 
     8872     echo "$as_me:$LINENO: result: no (default)" >&5 
    46178873echo "${ECHO_T}no (default)" >&6 
    4618      echo "$as_me:4618: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     8874     echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    46198875echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 
    46208876        ;; 
    46218877esac 
    46228878 
    4623 echo "$as_me:4623: checking if pj_thread_create() should enforce stack size" >&5 
     8879echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    46248880echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 
    46258881case $target in 
    4626   *rtems*) cat >>confdefs.h <<\EOF 
     8882  *rtems*) cat >>confdefs.h <<\_ACEOF 
    46278883#define PJ_THREAD_SET_STACK_SIZE 1 
    4628 EOF 
    4629  
    4630            echo "$as_me:4630: result: yes" >&5 
     8884_ACEOF 
     8885 
     8886           echo "$as_me:$LINENO: result: yes" >&5 
    46318887echo "${ECHO_T}yes" >&6 
    46328888        ;; 
    4633   *) cat >>confdefs.h <<\EOF 
     8889  *) cat >>confdefs.h <<\_ACEOF 
    46348890#define PJ_THREAD_SET_STACK_SIZE 0 
    4635 EOF 
    4636  
    4637      echo "$as_me:4637: result: no (default)" >&5 
     8891_ACEOF 
     8892 
     8893     echo "$as_me:$LINENO: result: no (default)" >&5 
    46388894echo "${ECHO_T}no (default)" >&6 
    46398895        ;; 
    46408896esac 
    46418897 
    4642 echo "$as_me:4642: checking if pj_thread_create() should allocate stack" >&5 
     8898echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    46438899echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 
    46448900case $target in 
    4645   *rtems*) cat >>confdefs.h <<\EOF 
     8901  *rtems*) cat >>confdefs.h <<\_ACEOF 
    46468902#define PJ_THREAD_ALLOCATE_STACK 1 
    4647 EOF 
    4648  
    4649            echo "$as_me:4649: result: yes" >&5 
     8903_ACEOF 
     8904 
     8905           echo "$as_me:$LINENO: result: yes" >&5 
    46508906echo "${ECHO_T}yes" >&6 
    46518907        ;; 
    4652   *) cat >>confdefs.h <<\EOF 
     8908  *) cat >>confdefs.h <<\_ACEOF 
    46538909#define PJ_THREAD_ALLOCATE_STACK 0 
    4654 EOF 
    4655  
    4656      echo "$as_me:4656: result: no (default)" >&5 
     8910_ACEOF 
     8911 
     8912     echo "$as_me:$LINENO: result: no (default)" >&5 
    46578913echo "${ECHO_T}no (default)" >&6 
    46588914        ;; 
     
    46618917case $target in 
    46628918  *mingw* | *cygw* | *win32* | *w32* ) 
    4663         cat >>confdefs.h <<\EOF 
     8919        cat >>confdefs.h <<\_ACEOF 
    46648920#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
    4665 EOF 
     8921_ACEOF 
    46668922 
    46678923        ;; 
    4668   *) cat >>confdefs.h <<\EOF 
     8924  *) cat >>confdefs.h <<\_ACEOF 
    46698925#define PJ_BLOCKING_ERROR_VAL EAGAIN 
    4670 EOF 
    4671  
    4672      echo "$as_me:4672: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     8926_ACEOF 
     8927 
     8928     echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    46738929echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 
    46748930        ;; 
     
    46778933case $target in 
    46788934  *mingw* | *cygw* | *win32* | *w32* ) 
    4679         cat >>confdefs.h <<\EOF 
     8935        cat >>confdefs.h <<\_ACEOF 
    46808936#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
    4681 EOF 
     8937_ACEOF 
    46828938 
    46838939        ;; 
    4684   *) cat >>confdefs.h <<\EOF 
     8940  *) cat >>confdefs.h <<\_ACEOF 
    46858941#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    4686 EOF 
    4687  
    4688      echo "$as_me:4688: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     8942_ACEOF 
     8943 
     8944     echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    46898945echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 
    46908946        ;; 
    46918947esac 
    46928948 
     8949 
     8950 
     8951 
    46938952if test "$build" = "$host"; then 
    46948953    ac_cross_compile= 
     
    46998958 
    47008959ac_host=unix 
     8960 
    47018961 
    47028962case $target in 
     
    47198979# the --recheck option to rerun configure. 
    47208980# 
    4721 # `ac_cv_env_foo' variables (set or unset) will be overriden when 
     8981# `ac_cv_env_foo' variables (set or unset) will be overridden when 
    47228982# loading this file, other *unset* `ac_cv_foo' will be assigned the 
    47238983# following values. 
     
    47378997      # substitution turns \\\\ into \\, and sed turns \\ into \). 
    47388998      sed -n \ 
    4739         "s/'/'\\\\''/g; 
    4740           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
     8999        "s/'/'\\\\''/g; 
     9000          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
    47419001      ;; 
    47429002    *) 
    47439003      # `set' quotes correctly as required by POSIX, so do not add quotes. 
    47449004      sed -n \ 
    4745         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
     9005        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
    47469006      ;; 
    47479007    esac; 
     
    47549014     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 
    47559015     : end' >>confcache 
    4756 if cmp -s $cache_file confcache; then :; else 
     9016if diff $cache_file confcache >/dev/null 2>&1; then :; else 
    47579017  if test -w $cache_file; then 
    47589018    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 
     
    47739033# (actually we leave an empty line to preserve line numbers). 
    47749034if test "x$srcdir" = x.; then 
    4775   ac_vpsub='/^[         ]*VPATH[        ]*=/{ 
     9035  ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
    47769036s/:*\$(srcdir):*/:/; 
    47779037s/:*\${srcdir}:*/:/; 
    47789038s/:*@srcdir@:*/:/; 
    4779 s/^\([^=]*=[    ]*\):*/\1/; 
     9039s/^\([^=]*=[     ]*\):*/\1/; 
    47809040s/:*$//; 
    4781 s/^[^=]*=[      ]*$//; 
     9041s/^[^=]*=[       ]*$//; 
    47829042}' 
    47839043fi 
    47849044 
    47859045DEFS=-DHAVE_CONFIG_H 
     9046 
     9047ac_libobjs= 
     9048ac_ltlibobjs= 
     9049for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 
     9050  # 1. Remove the extension, and $U if already installed. 
     9051  ac_i=`echo "$ac_i" | 
     9052         sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 
     9053  # 2. Add them. 
     9054  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 
     9055  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 
     9056done 
     9057LIBOBJS=$ac_libobjs 
     9058 
     9059LTLIBOBJS=$ac_ltlibobjs 
     9060 
     9061 
    47869062 
    47879063: ${CONFIG_STATUS=./config.status} 
    47889064ac_clean_files_save=$ac_clean_files 
    47899065ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    4790 { echo "$as_me:4790: creating $CONFIG_STATUS" >&5 
     9066{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    47919067echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    47929068cat >$CONFIG_STATUS <<_ACEOF 
    47939069#! $SHELL 
    4794 # Generated automatically by configure. 
     9070# Generated by $as_me. 
    47959071# Run this file to recreate the current configuration. 
    47969072# Compiler output produced by configure, useful for debugging 
     
    47989074 
    47999075debug=false 
     9076ac_cs_recheck=false 
     9077ac_cs_silent=false 
    48009078SHELL=\${CONFIG_SHELL-$SHELL} 
    4801 ac_cs_invocation="\$0 \$@" 
    4802  
    48039079_ACEOF 
    48049080 
    48059081cat >>$CONFIG_STATUS <<\_ACEOF 
     9082## --------------------- ## 
     9083## M4sh Initialization.  ## 
     9084## --------------------- ## 
     9085 
    48069086# Be Bourne compatible 
    48079087if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    48089088  emulate sh 
    48099089  NULLCMD=: 
     9090  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     9091  # is contrary to our usage.  Disable this feature. 
     9092  alias -g '${1+"$@"}'='"$@"' 
    48109093elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    48119094  set -o posix 
    48129095fi 
     9096DUALCASE=1; export DUALCASE # for MKS sh 
     9097 
     9098# Support unset when possible. 
     9099if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     9100  as_unset=unset 
     9101else 
     9102  as_unset=false 
     9103fi 
     9104 
     9105 
     9106# Work around bugs in pre-3.0 UWIN ksh. 
     9107$as_unset ENV MAIL MAILPATH 
     9108PS1='$ ' 
     9109PS2='> ' 
     9110PS4='+ ' 
     9111 
     9112# NLS nuisances. 
     9113for as_var in \ 
     9114  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     9115  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     9116  LC_TELEPHONE LC_TIME 
     9117do 
     9118  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     9119    eval $as_var=C; export $as_var 
     9120  else 
     9121    $as_unset $as_var 
     9122  fi 
     9123done 
     9124 
     9125# Required to use basename. 
     9126if expr a : '\(a\)' >/dev/null 2>&1; then 
     9127  as_expr=expr 
     9128else 
     9129  as_expr=false 
     9130fi 
     9131 
     9132if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
     9133  as_basename=basename 
     9134else 
     9135  as_basename=false 
     9136fi 
     9137 
    48139138 
    48149139# Name of the executable. 
    4815 as_me=`echo "$0" |sed 's,.*[\\/],,'` 
     9140as_me=`$as_basename "$0" || 
     9141$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     9142         X"$0" : 'X\(//\)$' \| \ 
     9143         X"$0" : 'X\(/\)$' \| \ 
     9144         .     : '\(.\)' 2>/dev/null || 
     9145echo X/"$0" | 
     9146    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
     9147          /^X\/\(\/\/\)$/{ s//\1/; q; } 
     9148          /^X\/\(\/\).*/{ s//\1/; q; } 
     9149          s/.*/./; q'` 
     9150 
     9151 
     9152# PATH needs CR, and LINENO needs CR and PATH. 
     9153# Avoid depending upon Character Ranges. 
     9154as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     9155as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     9156as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     9157as_cr_digits='0123456789' 
     9158as_cr_alnum=$as_cr_Letters$as_cr_digits 
     9159 
     9160# The user is always right. 
     9161if test "${PATH_SEPARATOR+set}" != set; then 
     9162  echo "#! /bin/sh" >conf$$.sh 
     9163  echo  "exit 0"   >>conf$$.sh 
     9164  chmod +x conf$$.sh 
     9165  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     9166    PATH_SEPARATOR=';' 
     9167  else 
     9168    PATH_SEPARATOR=: 
     9169  fi 
     9170  rm -f conf$$.sh 
     9171fi 
     9172 
     9173 
     9174  as_lineno_1=$LINENO 
     9175  as_lineno_2=$LINENO 
     9176  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     9177  test "x$as_lineno_1" != "x$as_lineno_2" && 
     9178  test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
     9179  # Find who we are.  Look in the path if we contain no path at all 
     9180  # relative or not. 
     9181  case $0 in 
     9182    *[\\/]* ) as_myself=$0 ;; 
     9183    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     9184for as_dir in $PATH 
     9185do 
     9186  IFS=$as_save_IFS 
     9187  test -z "$as_dir" && as_dir=. 
     9188  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     9189done 
     9190 
     9191       ;; 
     9192  esac 
     9193  # We did not find ourselves, most probably we were run as `sh COMMAND' 
     9194  # in which case we are not to be found in the path. 
     9195  if test "x$as_myself" = x; then 
     9196    as_myself=$0 
     9197  fi 
     9198  if test ! -f "$as_myself"; then 
     9199    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 
     9200echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 
     9201   { (exit 1); exit 1; }; } 
     9202  fi 
     9203  case $CONFIG_SHELL in 
     9204  '') 
     9205    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     9206for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     9207do 
     9208  IFS=$as_save_IFS 
     9209  test -z "$as_dir" && as_dir=. 
     9210  for as_base in sh bash ksh sh5; do 
     9211         case $as_dir in 
     9212         /*) 
     9213           if ("$as_dir/$as_base" -c ' 
     9214  as_lineno_1=$LINENO 
     9215  as_lineno_2=$LINENO 
     9216  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     9217  test "x$as_lineno_1" != "x$as_lineno_2" && 
     9218  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
     9219             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
     9220             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
     9221             CONFIG_SHELL=$as_dir/$as_base 
     9222             export CONFIG_SHELL 
     9223             exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
     9224           fi;; 
     9225         esac 
     9226       done 
     9227done 
     9228;; 
     9229  esac 
     9230 
     9231  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     9232  # uniformly replaced by the line number.  The first 'sed' inserts a 
     9233  # line-number line before each line; the second 'sed' does the real 
     9234  # work.  The second script uses 'N' to pair each line-number line 
     9235  # with the numbered line, and appends trailing '-' during 
     9236  # substitution so that $LINENO is not a special case at line end. 
     9237  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     9238  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
     9239  sed '=' <$as_myself | 
     9240    sed ' 
     9241      N 
     9242      s,$,-, 
     9243      : loop 
     9244      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
     9245      t loop 
     9246      s,-$,, 
     9247      s,^['$as_cr_digits']*\n,, 
     9248    ' >$as_me.lineno && 
     9249  chmod +x $as_me.lineno || 
     9250    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 
     9251echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 
     9252   { (exit 1); exit 1; }; } 
     9253 
     9254  # Don't try to exec as it changes $[0], causing all sort of problems 
     9255  # (the dirname of $[0] is not the place where we might find the 
     9256  # original and so on.  Autoconf is especially sensible to this). 
     9257  . ./$as_me.lineno 
     9258  # Exit status is that of the last command. 
     9259  exit 
     9260} 
     9261 
     9262 
     9263case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
     9264  *c*,-n*) ECHO_N= ECHO_C=' 
     9265' ECHO_T='      ' ;; 
     9266  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
     9267  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
     9268esac 
    48169269 
    48179270if expr a : '\(a\)' >/dev/null 2>&1; then 
     
    48399292rm -f conf$$ conf$$.exe conf$$.file 
    48409293 
     9294if mkdir -p . 2>/dev/null; then 
     9295  as_mkdir_p=: 
     9296else 
     9297  test -d ./-p && rmdir ./-p 
     9298  as_mkdir_p=false 
     9299fi 
     9300 
    48419301as_executable_p="test -f" 
    48429302 
    4843 # Support unset when possible. 
    4844 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
    4845   as_unset=unset 
    4846 else 
    4847   as_unset=false 
    4848 fi 
    4849  
    4850 # NLS nuisances. 
    4851 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 
    4852 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 
    4853 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 
    4854 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 
    4855 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 
    4856 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 
    4857 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 
    4858 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 
     9303# Sed expression to map a string onto a valid CPP name. 
     9304as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     9305 
     9306# Sed expression to map a string onto a valid variable name. 
     9307as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     9308 
    48599309 
    48609310# IFS 
     
    48659315 
    48669316# CDPATH. 
    4867 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 
     9317$as_unset CDPATH 
    48689318 
    48699319exec 6>&1 
    48709320 
     9321# Open the log real soon, to keep \$[0] and so on meaningful, and to 
     9322# report actual input values of CONFIG_FILES etc. instead of their 
     9323# values after options handling.  Logging --version etc. is OK. 
     9324exec 5>>config.log 
     9325{ 
     9326  echo 
     9327  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     9328## Running $as_me. ## 
     9329_ASBOX 
     9330} >&5 
     9331cat >&5 <<_CSEOF 
     9332 
     9333This file was extended by pjproject $as_me 0.5.8, which was 
     9334generated by GNU Autoconf 2.59.  Invocation command line was 
     9335 
     9336  CONFIG_FILES    = $CONFIG_FILES 
     9337  CONFIG_HEADERS  = $CONFIG_HEADERS 
     9338  CONFIG_LINKS    = $CONFIG_LINKS 
     9339  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     9340  $ $0 $@ 
     9341 
     9342_CSEOF 
     9343echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 
     9344echo >&5 
    48719345_ACEOF 
    48729346 
     
    48889362fi 
    48899363 
    4890 cat >>$CONFIG_STATUS <<\EOF 
     9364cat >>$CONFIG_STATUS <<\_ACEOF 
    48919365 
    48929366ac_cs_usage="\ 
     
    48989372  -h, --help       print this help, then exit 
    48999373  -V, --version    print version number, then exit 
     9374  -q, --quiet      do not print progress messages 
    49009375  -d, --debug      don't remove temporary files 
    49019376      --recheck    update $as_me by reconfiguring in the same conditions 
    49029377  --file=FILE[:TEMPLATE] 
    4903                    instantiate the configuration file FILE 
     9378                   instantiate the configuration file FILE 
    49049379  --header=FILE[:TEMPLATE] 
    4905                    instantiate the configuration header FILE 
     9380                   instantiate the configuration header FILE 
    49069381 
    49079382Configuration files: 
     
    49129387 
    49139388Report bugs to <bug-autoconf@gnu.org>." 
    4914 EOF 
    4915  
    4916 cat >>$CONFIG_STATUS <<EOF 
     9389_ACEOF 
     9390 
     9391cat >>$CONFIG_STATUS <<_ACEOF 
    49179392ac_cs_version="\\ 
    49189393pjproject config.status 0.5.8 
    4919 configured by $0, generated by GNU Autoconf 2.52, 
     9394configured by $0, generated by GNU Autoconf 2.59, 
    49209395  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
    49219396 
    4922 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
    4923 Free Software Foundation, Inc. 
     9397Copyright (C) 2003 Free Software Foundation, Inc. 
    49249398This config.status script is free software; the Free Software Foundation 
    49259399gives unlimited permission to copy, distribute and modify it." 
    49269400srcdir=$srcdir 
    4927 EOF 
    4928  
    4929 cat >>$CONFIG_STATUS <<\EOF 
     9401_ACEOF 
     9402 
     9403cat >>$CONFIG_STATUS <<\_ACEOF 
    49309404# If no file are specified by the user, then we need to provide default 
    49319405# value.  By we need to know if files were specified by the user. 
     
    49379411    ac_option=`expr "x$1" : 'x\([^=]*\)='` 
    49389412    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 
    4939     shift 
    4940     set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 
    4941     shift 
     9413    ac_shift=: 
    49429414    ;; 
    4943   -*);; 
     9415  -*) 
     9416    ac_option=$1 
     9417    ac_optarg=$2 
     9418    ac_shift=shift 
     9419    ;; 
    49449420  *) # This is not an option, so the user has probably given explicit 
    49459421     # arguments. 
     9422     ac_option=$1 
    49469423     ac_need_defaults=false;; 
    49479424  esac 
    49489425 
    4949   case $1 in 
     9426  case $ac_option in 
    49509427  # Handling of the options. 
    4951 EOF 
    4952 cat >>$CONFIG_STATUS <<EOF 
     9428_ACEOF 
     9429cat >>$CONFIG_STATUS <<\_ACEOF 
    49539430  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    4954     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 
    4955     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 
    4956 EOF 
    4957 cat >>$CONFIG_STATUS <<\EOF 
     9431    ac_cs_recheck=: ;; 
    49589432  --version | --vers* | -V ) 
    49599433    echo "$ac_cs_version"; exit 0 ;; 
    49609434  --he | --h) 
    49619435    # Conflict between --help and --header 
    4962     { { echo "$as_me:4962: error: ambiguous option: $1 
     9436    { { echo "$as_me:$LINENO: error: ambiguous option: $1 
    49639437Try \`$0 --help' for more information." >&5 
    49649438echo "$as_me: error: ambiguous option: $1 
     
    49709444    debug=: ;; 
    49719445  --file | --fil | --fi | --f ) 
    4972     shift 
    4973     CONFIG_FILES="$CONFIG_FILES $1" 
     9446    $ac_shift 
     9447    CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    49749448    ac_need_defaults=false;; 
    49759449  --header | --heade | --head | --hea ) 
    4976     shift 
    4977     CONFIG_HEADERS="$CONFIG_HEADERS $1" 
     9450    $ac_shift 
     9451    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    49789452    ac_need_defaults=false;; 
     9453  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     9454  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     9455    ac_cs_silent=: ;; 
    49799456 
    49809457  # This is an error. 
    4981   -*) { { echo "$as_me:4981: error: unrecognized option: $1 
     9458  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 
    49829459Try \`$0 --help' for more information." >&5 
    49839460echo "$as_me: error: unrecognized option: $1 
     
    49919468done 
    49929469 
    4993 exec 5>>config.log 
    4994 cat >&5 << _ACEOF 
    4995  
    4996 ## ----------------------- ## 
    4997 ## Running config.status.  ## 
    4998 ## ----------------------- ## 
    4999  
    5000 This file was extended by $as_me (pjproject 0.5.8) 2.52, executed with 
    5001   CONFIG_FILES    = $CONFIG_FILES 
    5002   CONFIG_HEADERS  = $CONFIG_HEADERS 
    5003   CONFIG_LINKS    = $CONFIG_LINKS 
    5004   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    5005   > $ac_cs_invocation 
    5006 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    5007  
    5008 _ACEOF 
    5009 EOF 
    5010  
    5011 cat >>$CONFIG_STATUS <<\EOF 
     9470ac_configure_extra_args= 
     9471 
     9472if $ac_cs_silent; then 
     9473  exec 6>/dev/null 
     9474  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     9475fi 
     9476 
     9477_ACEOF 
     9478cat >>$CONFIG_STATUS <<_ACEOF 
     9479if \$ac_cs_recheck; then 
     9480  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
     9481  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     9482fi 
     9483 
     9484_ACEOF 
     9485 
     9486 
     9487 
     9488 
     9489 
     9490cat >>$CONFIG_STATUS <<\_ACEOF 
    50129491for ac_config_target in $ac_config_targets 
    50139492do 
     
    50229501  "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    50239502  "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    5024   *) { { echo "$as_me:5024: error: invalid argument: $ac_config_target" >&5 
     9503  "pjsip/include/pjsip/sip_autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 
     9504  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    50259505echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    50269506   { (exit 1); exit 1; }; };; 
     
    50379517fi 
    50389518 
     9519# Have a temporary directory for convenience.  Make it in the build tree 
     9520# simply because there is no reason to put it here, and in addition, 
     9521# creating and moving files from /tmp can sometimes cause problems. 
    50399522# Create a temporary directory, and hook for its removal unless debugging. 
    50409523$debug || 
     
    50459528 
    50469529# Create a (secure) tmp directory for tmp files. 
    5047 : ${TMPDIR=/tmp} 
     9530 
    50489531{ 
    5049   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 
     9532  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 
    50509533  test -n "$tmp" && test -d "$tmp" 
    50519534}  || 
    50529535{ 
    5053   tmp=$TMPDIR/cs$$-$RANDOM 
     9536  tmp=./confstat$$-$RANDOM 
    50549537  (umask 077 && mkdir $tmp) 
    50559538} || 
    50569539{ 
    5057    echo "$me: cannot create a temporary directory in $TMPDIR" >&2 
     9540   echo "$me: cannot create a temporary directory in ." >&2 
    50589541   { (exit 1); exit 1; } 
    50599542} 
    50609543 
    5061 EOF 
    5062  
    5063 cat >>$CONFIG_STATUS <<EOF 
     9544_ACEOF 
     9545 
     9546cat >>$CONFIG_STATUS <<_ACEOF 
    50649547 
    50659548# 
     
    50749557   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 
    50759558s,@SHELL@,$SHELL,;t t 
     9559s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
     9560s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
     9561s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
     9562s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
     9563s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
     9564s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
    50769565s,@exec_prefix@,$exec_prefix,;t t 
    50779566s,@prefix@,$prefix,;t t 
     
    50899578s,@infodir@,$infodir,;t t 
    50909579s,@mandir@,$mandir,;t t 
    5091 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
    5092 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
    5093 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
    5094 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
    5095 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
    50969580s,@build_alias@,$build_alias,;t t 
    50979581s,@host_alias@,$host_alias,;t t 
    50989582s,@target_alias@,$target_alias,;t t 
     9583s,@DEFS@,$DEFS,;t t 
    50999584s,@ECHO_C@,$ECHO_C,;t t 
    51009585s,@ECHO_N@,$ECHO_N,;t t 
    51019586s,@ECHO_T@,$ECHO_T,;t t 
    5102 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
    5103 s,@DEFS@,$DEFS,;t t 
    51049587s,@LIBS@,$LIBS,;t t 
    51059588s,@build@,$build,;t t 
     
    51269609s,@ac_ct_CXX@,$ac_ct_CXX,;t t 
    51279610s,@CPP@,$CPP,;t t 
     9611s,@EGREP@,$EGREP,;t t 
    51289612s,@ac_os_objs@,$ac_os_objs,;t t 
    51299613s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 
     
    51399623s,@ac_no_speex_codec@,$ac_no_speex_codec,;t t 
    51409624s,@ac_no_ilbc_codec@,$ac_no_ilbc_codec,;t t 
     9625s,@ac_no_ssl@,$ac_no_ssl,;t t 
     9626s,@openssl_h_present@,$openssl_h_present,;t t 
     9627s,@libssl_present@,$libssl_present,;t t 
     9628s,@libcrypto_present@,$libcrypto_present,;t t 
    51419629s,@ac_cross_compile@,$ac_cross_compile,;t t 
    51429630s,@ac_linux_poll@,$ac_linux_poll,;t t 
    51439631s,@ac_host@,$ac_host,;t t 
    51449632s,@ac_main_obj@,$ac_main_obj,;t t 
     9633s,@LIBOBJS@,$LIBOBJS,;t t 
     9634s,@LTLIBOBJS@,$LTLIBOBJS,;t t 
    51459635CEOF 
    51469636 
    5147 EOF 
    5148  
    5149   cat >>$CONFIG_STATUS <<\EOF 
     9637_ACEOF 
     9638 
     9639  cat >>$CONFIG_STATUS <<\_ACEOF 
    51509640  # Split the substitutions into bite-sized pieces for seds with 
    51519641  # small command number limits, like on Digital OSF/1 and HP-UX. 
     
    51729662  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 
    51739663      if test -z "$ac_sed_cmds"; then 
    5174         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 
     9664        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 
    51759665      else 
    5176         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
     9666        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
    51779667      fi 
    51789668      ac_sed_frag=`expr $ac_sed_frag + 1` 
     
    51869676fi # test -n "$CONFIG_FILES" 
    51879677 
    5188 EOF 
    5189 cat >>$CONFIG_STATUS <<\EOF 
     9678_ACEOF 
     9679cat >>$CONFIG_STATUS <<\_ACEOF 
    51909680for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 
    51919681  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
    51929682  case $ac_file in 
    51939683  - | *:- | *:-:* ) # input from stdin 
    5194         cat >$tmp/stdin 
    5195         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    5196         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     9684        cat >$tmp/stdin 
     9685        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
     9686        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    51979687  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    5198         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     9688        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    51999689  * )   ac_file_in=$ac_file.in ;; 
    52009690  esac 
    52019691 
    52029692  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 
    5203   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    5204          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    5205          X"$ac_file" : 'X\(//\)$' \| \ 
    5206          X"$ac_file" : 'X\(/\)' \| \ 
    5207          .     : '\(.\)' 2>/dev/null || 
     9693  ac_dir=`(dirname "$ac_file") 2>/dev/null || 
     9694$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     9695         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     9696         X"$ac_file" : 'X\(//\)$' \| \ 
     9697         X"$ac_file" : 'X\(/\)' \| \ 
     9698         .     : '\(.\)' 2>/dev/null || 
    52089699echo X"$ac_file" | 
    52099700    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     
    52129703          /^X\(\/\).*/{ s//\1/; q; } 
    52139704          s/.*/./; q'` 
    5214   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 
    5215     { case "$ac_dir" in 
    5216   [\\/]* | ?:[\\/]* ) as_incr_dir=;; 
    5217   *)                      as_incr_dir=.;; 
     9705  { if $as_mkdir_p; then 
     9706    mkdir -p "$ac_dir" 
     9707  else 
     9708    as_dir="$ac_dir" 
     9709    as_dirs= 
     9710    while test ! -d "$as_dir"; do 
     9711      as_dirs="$as_dir $as_dirs" 
     9712      as_dir=`(dirname "$as_dir") 2>/dev/null || 
     9713$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     9714         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     9715         X"$as_dir" : 'X\(//\)$' \| \ 
     9716         X"$as_dir" : 'X\(/\)' \| \ 
     9717         .     : '\(.\)' 2>/dev/null || 
     9718echo X"$as_dir" | 
     9719    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     9720          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     9721          /^X\(\/\/\)$/{ s//\1/; q; } 
     9722          /^X\(\/\).*/{ s//\1/; q; } 
     9723          s/.*/./; q'` 
     9724    done 
     9725    test ! -n "$as_dirs" || mkdir $as_dirs 
     9726  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
     9727echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
     9728   { (exit 1); exit 1; }; }; } 
     9729 
     9730  ac_builddir=. 
     9731 
     9732if test "$ac_dir" != .; then 
     9733  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     9734  # A "../" for each directory in $ac_dir_suffix. 
     9735  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     9736else 
     9737  ac_dir_suffix= ac_top_builddir= 
     9738fi 
     9739 
     9740case $srcdir in 
     9741  .)  # No --srcdir option.  We are building in place. 
     9742    ac_srcdir=. 
     9743    if test -z "$ac_top_builddir"; then 
     9744       ac_top_srcdir=. 
     9745    else 
     9746       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     9747    fi ;; 
     9748  [\\/]* | ?:[\\/]* )  # Absolute path. 
     9749    ac_srcdir=$srcdir$ac_dir_suffix; 
     9750    ac_top_srcdir=$srcdir ;; 
     9751  *) # Relative path. 
     9752    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     9753    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
    52189754esac 
    5219 as_dummy="$ac_dir" 
    5220 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 
    5221   case $as_mkdir_dir in 
    5222     # Skip DOS drivespec 
    5223     ?:) as_incr_dir=$as_mkdir_dir ;; 
    5224     *) 
    5225       as_incr_dir=$as_incr_dir/$as_mkdir_dir 
    5226       test -d "$as_incr_dir" || mkdir "$as_incr_dir" 
    5227     ;; 
    5228   esac 
    5229 done; } 
    5230  
    5231     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 
    5232     # A "../" for each directory in $ac_dir_suffix. 
    5233     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 
    5234   else 
    5235     ac_dir_suffix= ac_dots= 
    5236   fi 
    5237  
    5238   case $srcdir in 
    5239   .)  ac_srcdir=. 
    5240       if test -z "$ac_dots"; then 
    5241          ac_top_srcdir=. 
    5242       else 
    5243          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 
    5244       fi ;; 
    5245   [\\/]* | ?:[\\/]* ) 
    5246       ac_srcdir=$srcdir$ac_dir_suffix; 
    5247       ac_top_srcdir=$srcdir ;; 
    5248   *) # Relative path. 
    5249     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 
    5250     ac_top_srcdir=$ac_dots$srcdir ;; 
    5251   esac 
     9755 
     9756# Do not use `cd foo && pwd` to compute absolute paths, because 
     9757# the directories may not exist. 
     9758case `pwd` in 
     9759.) ac_abs_builddir="$ac_dir";; 
     9760*) 
     9761  case "$ac_dir" in 
     9762  .) ac_abs_builddir=`pwd`;; 
     9763  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
     9764  *) ac_abs_builddir=`pwd`/"$ac_dir";; 
     9765  esac;; 
     9766esac 
     9767case $ac_abs_builddir in 
     9768.) ac_abs_top_builddir=${ac_top_builddir}.;; 
     9769*) 
     9770  case ${ac_top_builddir}. in 
     9771  .) ac_abs_top_builddir=$ac_abs_builddir;; 
     9772  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
     9773  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
     9774  esac;; 
     9775esac 
     9776case $ac_abs_builddir in 
     9777.) ac_abs_srcdir=$ac_srcdir;; 
     9778*) 
     9779  case $ac_srcdir in 
     9780  .) ac_abs_srcdir=$ac_abs_builddir;; 
     9781  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
     9782  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
     9783  esac;; 
     9784esac 
     9785case $ac_abs_builddir in 
     9786.) ac_abs_top_srcdir=$ac_top_srcdir;; 
     9787*) 
     9788  case $ac_top_srcdir in 
     9789  .) ac_abs_top_srcdir=$ac_abs_builddir;; 
     9790  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
     9791  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
     9792  esac;; 
     9793esac 
     9794 
     9795 
    52529796 
    52539797  if test x"$ac_file" != x-; then 
    5254     { echo "$as_me:5254: creating $ac_file" >&5 
     9798    { echo "$as_me:$LINENO: creating $ac_file" >&5 
    52559799echo "$as_me: creating $ac_file" >&6;} 
    52569800    rm -f "$ac_file" 
     
    52589802  # Let's still pretend it is `configure' which instantiates (i.e., don't 
    52599803  # use $as_me), people would be surprised to read: 
    5260   #    /* config.h.  Generated automatically by config.status.  */ 
    5261   configure_input="Generated automatically from `echo $ac_file_in | 
    5262                                                  sed 's,.*/,,'` by configure." 
     9804  #    /* config.h.  Generated by config.status.  */ 
     9805  if test x"$ac_file" = x-; then 
     9806    configure_input= 
     9807  else 
     9808    configure_input="$ac_file.  " 
     9809  fi 
     9810  configure_input=$configure_input"Generated from `echo $ac_file_in | 
     9811                                     sed 's,.*/,,'` by configure." 
    52639812 
    52649813  # First look for the input files in the build tree, otherwise in the 
     
    52699818      -) echo $tmp/stdin ;; 
    52709819      [\\/$]*) 
    5271         # Absolute (can't be DOS-style, as IFS=:) 
    5272          test -f "$f" || { { echo "$as_me:5272: error: cannot find input file: $f" >&5 
     9820        # Absolute (can't be DOS-style, as IFS=:) 
     9821         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    52739822echo "$as_me: error: cannot find input file: $f" >&2;} 
    52749823   { (exit 1); exit 1; }; } 
    5275          echo $f;; 
     9824         echo "$f";; 
    52769825      *) # Relative 
    5277         if test -f "$f"; then 
    5278            # Build tree 
    5279            echo $f 
    5280         elif test -f "$srcdir/$f"; then 
    5281            # Source tree 
    5282            echo $srcdir/$f 
    5283         else 
    5284            # /dev/null tree 
    5285            { { echo "$as_me:5285: error: cannot find input file: $f" >&5 
     9826        if test -f "$f"; then 
     9827           # Build tree 
     9828           echo "$f" 
     9829        elif test -f "$srcdir/$f"; then 
     9830           # Source tree 
     9831           echo "$srcdir/$f" 
     9832        else 
     9833           # /dev/null tree 
     9834           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    52869835echo "$as_me: error: cannot find input file: $f" >&2;} 
    52879836   { (exit 1); exit 1; }; } 
    5288         fi;; 
     9837        fi;; 
    52899838      esac 
    52909839    done` || { (exit 1); exit 1; } 
    5291 EOF 
    5292 cat >>$CONFIG_STATUS <<EOF 
     9840_ACEOF 
     9841cat >>$CONFIG_STATUS <<_ACEOF 
    52939842  sed "$ac_vpsub 
    52949843$extrasub 
    5295 EOF 
    5296 cat >>$CONFIG_STATUS <<\EOF 
     9844_ACEOF 
     9845cat >>$CONFIG_STATUS <<\_ACEOF 
    52979846:t 
    52989847/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    52999848s,@configure_input@,$configure_input,;t t 
    53009849s,@srcdir@,$ac_srcdir,;t t 
     9850s,@abs_srcdir@,$ac_abs_srcdir,;t t 
    53019851s,@top_srcdir@,$ac_top_srcdir,;t t 
     9852s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 
     9853s,@builddir@,$ac_builddir,;t t 
     9854s,@abs_builddir@,$ac_abs_builddir,;t t 
     9855s,@top_builddir@,$ac_top_builddir,;t t 
     9856s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 
    53029857" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 
    53039858  rm -f $tmp/stdin 
     
    53109865 
    53119866done 
    5312 EOF 
    5313 cat >>$CONFIG_STATUS <<\EOF 
     9867_ACEOF 
     9868cat >>$CONFIG_STATUS <<\_ACEOF 
    53149869 
    53159870# 
     
    53219876# 
    53229877# ac_d sets the value in "#define NAME VALUE" lines. 
    5323 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)' 
    5324 ac_dB='[        ].*$,\1#\2' 
     9878ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' 
     9879ac_dB='[         ].*$,\1#\2' 
    53259880ac_dC=' ' 
    53269881ac_dD=',;t' 
    53279882# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 
    5328 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
     9883ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
    53299884ac_uB='$,\1#\2define\3' 
    53309885ac_uC=' ' 
     
    53359890  case $ac_file in 
    53369891  - | *:- | *:-:* ) # input from stdin 
    5337         cat >$tmp/stdin 
    5338         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    5339         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     9892        cat >$tmp/stdin 
     9893        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
     9894        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    53409895  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    5341         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     9896        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    53429897  * )   ac_file_in=$ac_file.in ;; 
    53439898  esac 
    53449899 
    5345   test x"$ac_file" != x- && { echo "$as_me:5345: creating $ac_file" >&5 
     9900  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 
    53469901echo "$as_me: creating $ac_file" >&6;} 
    53479902 
     
    53539908      -) echo $tmp/stdin ;; 
    53549909      [\\/$]*) 
    5355         # Absolute (can't be DOS-style, as IFS=:) 
    5356          test -f "$f" || { { echo "$as_me:5356: error: cannot find input file: $f" >&5 
     9910        # Absolute (can't be DOS-style, as IFS=:) 
     9911         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    53579912echo "$as_me: error: cannot find input file: $f" >&2;} 
    53589913   { (exit 1); exit 1; }; } 
    5359          echo $f;; 
     9914         # Do quote $f, to prevent DOS paths from being IFS'd. 
     9915         echo "$f";; 
    53609916      *) # Relative 
    5361         if test -f "$f"; then 
    5362            # Build tree 
    5363            echo $f 
    5364         elif test -f "$srcdir/$f"; then 
    5365            # Source tree 
    5366            echo $srcdir/$f 
    5367         else 
    5368            # /dev/null tree 
    5369            { { echo "$as_me:5369: error: cannot find input file: $f" >&5 
     9917        if test -f "$f"; then 
     9918           # Build tree 
     9919           echo "$f" 
     9920        elif test -f "$srcdir/$f"; then 
     9921           # Source tree 
     9922           echo "$srcdir/$f" 
     9923        else 
     9924           # /dev/null tree 
     9925           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    53709926echo "$as_me: error: cannot find input file: $f" >&2;} 
    53719927   { (exit 1); exit 1; }; } 
    5372         fi;; 
     9928        fi;; 
    53739929      esac 
    53749930    done` || { (exit 1); exit 1; } 
    53759931  # Remove the trailing spaces. 
    5376   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in 
    5377  
    5378 EOF 
     9932  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in 
     9933 
     9934_ACEOF 
    53799935 
    53809936# Transform confdefs.h into two sed scripts, `conftest.defines' and 
     
    53929948# 0-ary CPP macros) applies to n-ary macro definitions. 
    53939949# See the Autoconf documentation for `clear'. 
    5394 cat >confdef2sed.sed <<\EOF 
     9950cat >confdef2sed.sed <<\_ACEOF 
    53959951s/[\\&,]/\\&/g 
    53969952s,[\\$`],\\&,g 
    53979953t clear 
    53989954: clear 
    5399 s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 
     9955s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 
    54009956t end 
    5401 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 
     9957s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 
    54029958: end 
    5403 EOF 
     9959_ACEOF 
    54049960# If some macros were called several times there might be several times 
    54059961# the same #defines, which is useless.  Nevertheless, we may not want to 
     
    54129968# example, in the case of _POSIX_SOURCE, which is predefined and required 
    54139969# on some systems where configure will not decide to define it. 
    5414 cat >>conftest.undefs <<\EOF 
    5415 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 
    5416 EOF 
     9970cat >>conftest.undefs <<\_ACEOF 
     9971s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 
     9972_ACEOF 
    54179973 
    54189974# Break up conftest.defines because some shells have a limit on the size 
    54199975# of here documents, and old seds have small limits too (100 cmds). 
    54209976echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 
    5421 echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
     9977echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
    54229978echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 
    54239979echo '  :' >>$CONFIG_STATUS 
     
    54289984  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 
    54299985  # Speed up: don't consider the non `#define' lines. 
    5430   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS 
     9986  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS 
    54319987  # Work around the forget-to-reset-the-flag bug. 
    54329988  echo 't clr' >>$CONFIG_STATUS 
     
    54439999done 
    544410000rm -f conftest.defines 
    5445 echo '  fi # egrep' >>$CONFIG_STATUS 
     10001echo '  fi # grep' >>$CONFIG_STATUS 
    544610002echo >>$CONFIG_STATUS 
    544710003 
     
    545510011  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 
    545610012  # Speed up: don't consider the non `#undef' 
    5457   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS 
     10013  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS 
    545810014  # Work around the forget-to-reset-the-flag bug. 
    545910015  echo 't clr' >>$CONFIG_STATUS 
     
    547110027rm -f conftest.undefs 
    547210028 
    5473 cat >>$CONFIG_STATUS <<\EOF 
     10029cat >>$CONFIG_STATUS <<\_ACEOF 
    547410030  # Let's still pretend it is `configure' which instantiates (i.e., don't 
    547510031  # use $as_me), people would be surprised to read: 
    5476   #    /* config.h.  Generated automatically by config.status.  */ 
     10032  #    /* config.h.  Generated by config.status.  */ 
    547710033  if test x"$ac_file" = x-; then 
    5478     echo "/* Generated automatically by configure.  */" >$tmp/config.h 
     10034    echo "/* Generated by configure.  */" >$tmp/config.h 
    547910035  else 
    5480     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h 
     10036    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h 
    548110037  fi 
    548210038  cat $tmp/in >>$tmp/config.h 
    548310039  rm -f $tmp/in 
    548410040  if test x"$ac_file" != x-; then 
    5485     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 
    5486       { echo "$as_me:5486: $ac_file is unchanged" >&5 
     10041    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 
     10042      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    548710043echo "$as_me: $ac_file is unchanged" >&6;} 
    548810044    else 
    5489       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    5490          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    5491          X"$ac_file" : 'X\(//\)$' \| \ 
    5492          X"$ac_file" : 'X\(/\)' \| \ 
    5493          .     : '\(.\)' 2>/dev/null || 
     10045      ac_dir=`(dirname "$ac_file") 2>/dev/null || 
     10046$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     10047         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     10048         X"$ac_file" : 'X\(//\)$' \| \ 
     10049         X"$ac_file" : 'X\(/\)' \| \ 
     10050         .     : '\(.\)' 2>/dev/null || 
    549410051echo X"$ac_file" | 
    549510052    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     
    549810055          /^X\(\/\).*/{ s//\1/; q; } 
    549910056          s/.*/./; q'` 
    5500       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 
    5501         { case "$ac_dir" in 
    5502   [\\/]* | ?:[\\/]* ) as_incr_dir=;; 
    5503   *)                      as_incr_dir=.;; 
    5504 esac 
    5505 as_dummy="$ac_dir" 
    5506 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 
    5507   case $as_mkdir_dir in 
    5508     # Skip DOS drivespec 
    5509     ?:) as_incr_dir=$as_mkdir_dir ;; 
    5510     *) 
    5511       as_incr_dir=$as_incr_dir/$as_mkdir_dir 
    5512       test -d "$as_incr_dir" || mkdir "$as_incr_dir" 
    5513     ;; 
    5514   esac 
    5515 done; } 
    5516  
    5517       fi 
     10057      { if $as_mkdir_p; then 
     10058    mkdir -p "$ac_dir" 
     10059  else 
     10060    as_dir="$ac_dir" 
     10061    as_dirs= 
     10062    while test ! -d "$as_dir"; do 
     10063      as_dirs="$as_dir $as_dirs" 
     10064      as_dir=`(dirname "$as_dir") 2>/dev/null || 
     10065$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     10066         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     10067         X"$as_dir" : 'X\(//\)$' \| \ 
     10068         X"$as_dir" : 'X\(/\)' \| \ 
     10069         .     : '\(.\)' 2>/dev/null || 
     10070echo X"$as_dir" | 
     10071    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     10072          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     10073          /^X\(\/\/\)$/{ s//\1/; q; } 
     10074          /^X\(\/\).*/{ s//\1/; q; } 
     10075          s/.*/./; q'` 
     10076    done 
     10077    test ! -n "$as_dirs" || mkdir $as_dirs 
     10078  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
     10079echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
     10080   { (exit 1); exit 1; }; }; } 
     10081 
    551810082      rm -f $ac_file 
    551910083      mv $tmp/config.h $ac_file 
     
    552410088  fi 
    552510089done 
    5526 EOF 
    5527  
    5528 cat >>$CONFIG_STATUS <<\EOF 
     10090_ACEOF 
     10091 
     10092cat >>$CONFIG_STATUS <<\_ACEOF 
    552910093 
    553010094{ (exit 0); exit 0; } 
    5531 EOF 
     10095_ACEOF 
    553210096chmod +x $CONFIG_STATUS 
    553310097ac_clean_files=$ac_clean_files_save 
     10098 
    553410099 
    553510100# configure is writing to config.log, and then calls config.status. 
     
    554310108if test "$no_create" != yes; then 
    554410109  ac_cs_success=: 
     10110  ac_config_status_args= 
     10111  test "$silent" = yes && 
     10112    ac_config_status_args="$ac_config_status_args --quiet" 
    554510113  exec 5>/dev/null 
    5546   $SHELL $CONFIG_STATUS || ac_cs_success=false 
     10114  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 
    554710115  exec 5>>config.log 
    554810116  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
     
    555110119fi 
    555210120 
     10121 
Note: See TracChangeset for help on using the changeset viewer.