Changeset 862


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

Added TLS support in Makefiles (see ticket #3)

Location:
pjproject/trunk
Files:
1 added
5 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>