Changeset 698 for pjproject/trunk


Ignore:
Timestamp:
Sep 10, 2006 8:53:59 AM (18 years ago)
Author:
bennylp
Message:

Fixed autoconf on MacOS X

Location:
pjproject/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r697 r698  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.59 for pjproject 0.5.8. 
     3# Generated by Autoconf 2.52 for pjproject 0.5.8. 
    44# 
    5 # Copyright (C) 2003 Free Software Foundation, Inc. 
     5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
     6# Free Software Foundation, Inc. 
    67# This configure script is free software; the Free Software Foundation 
    78# gives unlimited permission to copy, distribute and modify it. 
    8 ## --------------------- ## 
    9 ## M4sh Initialization.  ## 
    10 ## --------------------- ## 
    11  
    12 # Be Bourne compatible 
    13 if 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+"$@"}'='"$@"' 
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    20   set -o posix 
    21 fi 
    22 DUALCASE=1; export DUALCASE # for MKS sh 
    23  
    24 # Support unset when possible. 
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    26   as_unset=unset 
    27 else 
    28   as_unset=false 
    29 fi 
    30  
    31  
    32 # Work around bugs in pre-3.0 UWIN ksh. 
    33 $as_unset ENV MAIL MAILPATH 
    34 PS1='$ ' 
    35 PS2='> ' 
    36 PS4='+ ' 
    37  
    38 # NLS nuisances. 
    39 for 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 
    43 do 
    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 
    49 done 
    50  
    51 # Required to use basename. 
    52 if expr a : '\(a\)' >/dev/null 2>&1; then 
    53   as_expr=expr 
    54 else 
    55   as_expr=false 
    56 fi 
    57  
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
    59   as_basename=basename 
    60 else 
    61   as_basename=false 
    62 fi 
    63  
    64  
    65 # Name of the executable. 
    66 as_me=`$as_basename "$0" || 
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    68          X"$0" : 'X\(//\)$' \| \ 
    69          X"$0" : 'X\(/\)$' \| \ 
    70          .     : '\(.\)' 2>/dev/null || 
    71 echo 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. 
     9 
    7910# Avoid depending upon Character Ranges. 
    8011as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     
    8415as_cr_alnum=$as_cr_Letters$as_cr_digits 
    8516 
    86 # The user is always right. 
    87 if 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 
    97 fi 
    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 
    110 for as_dir in $PATH 
    111 do 
    112   IFS=$as_save_IFS 
    113   test -z "$as_dir" && as_dir=. 
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    115 done 
    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 
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    132 do 
    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 
    152 done 
    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  
    187 case `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= ;; 
    192 esac 
     17# Sed expression to map a string onto a valid variable name. 
     18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
     19 
     20# Sed expression to map a string onto a valid CPP name. 
     21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
     22 
     23# Be Bourne compatible 
     24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     25  emulate sh 
     26  NULLCMD=: 
     27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
     28  set -o posix 
     29fi 
     30 
     31# Name of the executable. 
     32as_me=`echo "$0" |sed 's,.*[\\/],,'` 
    19333 
    19434if expr a : '\(a\)' >/dev/null 2>&1; then 
     
    21656rm -f conf$$ conf$$.exe conf$$.file 
    21757 
    218 if mkdir -p . 2>/dev/null; then 
    219   as_mkdir_p=: 
    220 else 
    221   test -d ./-p && rmdir ./-p 
    222   as_mkdir_p=false 
    223 fi 
    224  
    22558as_executable_p="test -f" 
    22659 
    227 # Sed expression to map a string onto a valid CPP name. 
    228 as_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. 
    231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    232  
     60# Support unset when possible. 
     61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
     62  as_unset=unset 
     63else 
     64  as_unset=false 
     65fi 
     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; } 
    23376 
    23477# IFS 
     
    23982 
    24083# CDPATH. 
    241 $as_unset CDPATH 
    242  
     84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 
    24385 
    24486# Name of the host. 
     
    25395# 
    25496ac_default_prefix=/usr/local 
    255 ac_config_libobj_dir=. 
    25697cross_compiling=no 
    25798subdirs= 
    258 MFLAGS= 
    259 MAKEFLAGS= 
     99MFLAGS= MAKEFLAGS= 
    260100SHELL=${CONFIG_SHELL-/bin/sh} 
    261101 
     
    264104# only ac_max_sed_lines should be used. 
    265105: ${ac_max_here_lines=38} 
    266  
    267 # Identity of this package. 
    268 PACKAGE_NAME='pjproject' 
    269 PACKAGE_TARNAME='pjproject' 
    270 PACKAGE_VERSION='0.5.8' 
    271 PACKAGE_STRING='pjproject 0.5.8' 
    272 PACKAGE_BUGREPORT='' 
    273  
    274 # Factoring default headers for most tests. 
    275 ac_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  
    311 ac_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 ac_bigendian CPP EGREP ac_pjmedia_snd 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_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 
    312 ac_subst_files='' 
    313106 
    314107# Initialize some variables set by options. 
     
    350143mandir='${prefix}/man' 
    351144 
     145# Identity of this package. 
     146PACKAGE_NAME='pjproject' 
     147PACKAGE_TARNAME='pjproject' 
     148PACKAGE_VERSION='0.5.8' 
     149PACKAGE_STRING='pjproject 0.5.8' 
     150PACKAGE_BUGREPORT='' 
     151 
    352152ac_prev= 
    353153for ac_option 
     
    482282 
    483283  -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    484   | --no-cr | --no-c | -n) 
     284  | --no-cr | --no-c) 
    485285    no_create=yes ;; 
    486286 
     
    661461  case $ac_val in 
    662462    [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 
    663     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     463    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
    664464   { (exit 1); exit 1; }; };; 
    665465  esac 
     
    668468# Be sure to have absolute paths. 
    669469for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 
    670               localstatedir libdir includedir oldincludedir infodir mandir 
     470              localstatedir libdir includedir oldincludedir infodir mandir 
    671471do 
    672472  eval ac_val=$`echo $ac_var` 
    673473  case $ac_val in 
    674474    [\\/$]* | ?:[\\/]* ) ;; 
    675     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     475    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
    676476   { (exit 1); exit 1; }; };; 
    677477  esac 
     
    680480# There might be people who depend on the old broken behavior: `$host' 
    681481# used to hold the argument of --host etc. 
    682 # FIXME: To remove some day. 
    683482build=$build_alias 
    684483host=$host_alias 
    685484target=$target_alias 
    686485 
    687 # FIXME: To remove some day. 
     486# FIXME: should be removed in autoconf 3.0. 
    688487if test "x$host_alias" != x; then 
    689488  if test "x$build_alias" = x; then 
     
    701500test "$silent" = yes && exec 6>/dev/null 
    702501 
    703  
    704502# Find the source files, if location was not specified. 
    705503if test -z "$srcdir"; then 
    706504  ac_srcdir_defaulted=yes 
    707505  # Try the directory containing this script, then its parent. 
    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 || 
    714 echo 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'` 
     506  ac_prog=$0 
     507  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 
     508  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 
    720509  srcdir=$ac_confdir 
    721510  if test ! -r $srcdir/$ac_unique_file; then 
     
    727516if test ! -r $srcdir/$ac_unique_file; then 
    728517  if test "$ac_srcdir_defaulted" = yes; then 
    729     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
     518    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 
    730519   { (exit 1); exit 1; }; } 
    731520  else 
    732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
     521    { echo "$as_me: error: cannot find sources in $srcdir" >&2 
    733522   { (exit 1); exit 1; }; } 
    734523  fi 
    735524fi 
    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; }; } 
    739525srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
    740526ac_env_build_alias_set=${build_alias+set} 
     
    785571  # Omit some internal or obsolete options to make the list less imposing. 
    786572  # This message is too long to be a string in the A/UX 3.1 sh. 
    787   cat <<_ACEOF 
     573  cat <<EOF 
    788574\`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 
    789575 
     
    806592      --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
    807593 
    808 _ACEOF 
    809  
    810   cat <<_ACEOF 
     594EOF 
     595 
     596  cat <<EOF 
    811597Installation directories: 
    812598  --prefix=PREFIX         install architecture-independent files in PREFIX 
    813                           [$ac_default_prefix] 
     599                          [$ac_default_prefix] 
    814600  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    815                           [PREFIX] 
     601                          [PREFIX] 
    816602 
    817603By default, \`make install' will install all the files in 
     
    835621  --infodir=DIR          info documentation [PREFIX/info] 
    836622  --mandir=DIR           man documentation [PREFIX/man] 
    837 _ACEOF 
    838  
    839   cat <<\_ACEOF 
     623EOF 
     624 
     625  cat <<\EOF 
    840626 
    841627System types: 
    842628  --build=BUILD     configure for building on BUILD [guessed] 
    843   --host=HOST       cross-compile to build programs to run on HOST [BUILD] 
     629  --host=HOST       build programs to run on HOST [BUILD] 
    844630  --target=TARGET   configure for building compilers for TARGET [HOST] 
    845 _ACEOF 
     631EOF 
    846632fi 
    847633 
     
    850636     short | recursive ) echo "Configuration of pjproject 0.5.8:";; 
    851637   esac 
    852   cat <<\_ACEOF 
     638  cat <<\EOF 
    853639 
    854640Optional Features: 
     
    881667it to find libraries and programs with nonstandard names/locations. 
    882668 
    883 _ACEOF 
     669EOF 
    884670fi 
    885671 
     
    887673  # If there are subdirs, report their specific --help. 
    888674  ac_popdir=`pwd` 
    889   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
    890     test -d $ac_dir || continue 
    891     ac_builddir=. 
    892  
    893 if test "$ac_dir" != .; then 
    894   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    895   # A "../" for each directory in $ac_dir_suffix. 
    896   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
    897 else 
    898   ac_dir_suffix= ac_top_builddir= 
    899 fi 
    900  
    901 case $srcdir in 
    902   .)  # No --srcdir option.  We are building in place. 
    903     ac_srcdir=. 
    904     if test -z "$ac_top_builddir"; then 
    905        ac_top_srcdir=. 
    906     else 
    907        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
    908     fi ;; 
    909   [\\/]* | ?:[\\/]* )  # Absolute path. 
    910     ac_srcdir=$srcdir$ac_dir_suffix; 
    911     ac_top_srcdir=$srcdir ;; 
    912   *) # Relative path. 
    913     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
    914     ac_top_srcdir=$ac_top_builddir$srcdir ;; 
    915 esac 
    916  
    917 # Do not use `cd foo && pwd` to compute absolute paths, because 
    918 # the directories may not exist. 
    919 case `pwd` in 
    920 .) ac_abs_builddir="$ac_dir";; 
    921 *) 
    922   case "$ac_dir" in 
    923   .) ac_abs_builddir=`pwd`;; 
    924   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
    925   *) ac_abs_builddir=`pwd`/"$ac_dir";; 
    926   esac;; 
    927 esac 
    928 case $ac_abs_builddir in 
    929 .) ac_abs_top_builddir=${ac_top_builddir}.;; 
    930 *) 
    931   case ${ac_top_builddir}. in 
    932   .) ac_abs_top_builddir=$ac_abs_builddir;; 
    933   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
    934   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
    935   esac;; 
    936 esac 
    937 case $ac_abs_builddir in 
    938 .) ac_abs_srcdir=$ac_srcdir;; 
    939 *) 
    940   case $ac_srcdir in 
    941   .) ac_abs_srcdir=$ac_abs_builddir;; 
    942   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
    943   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
    944   esac;; 
    945 esac 
    946 case $ac_abs_builddir in 
    947 .) ac_abs_top_srcdir=$ac_top_srcdir;; 
    948 *) 
    949   case $ac_top_srcdir in 
    950   .) ac_abs_top_srcdir=$ac_abs_builddir;; 
    951   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
    952   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
    953   esac;; 
    954 esac 
    955  
    956     cd $ac_dir 
     675  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 
     676    cd $ac_subdir 
     677    # A "../" for each directory in /$ac_subdir. 
     678    ac_dots=`echo $ac_subdir | 
     679             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 
     680 
     681    case $srcdir in 
     682    .) # No --srcdir option.  We are building in place. 
     683      ac_sub_srcdir=$srcdir ;; 
     684    [\\/]* | ?:[\\/]* ) # Absolute path. 
     685      ac_sub_srcdir=$srcdir/$ac_subdir ;; 
     686    *) # Relative path. 
     687      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 
     688    esac 
     689 
    957690    # Check for guested configure; otherwise get Cygnus style configure. 
    958     if test -f $ac_srcdir/configure.gnu; then 
     691    if test -f $ac_sub_srcdir/configure.gnu; then 
    959692      echo 
    960       $SHELL $ac_srcdir/configure.gnu  --help=recursive 
    961     elif test -f $ac_srcdir/configure; then 
     693      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive 
     694    elif test -f $ac_sub_srcdir/configure; then 
    962695      echo 
    963       $SHELL $ac_srcdir/configure  --help=recursive 
    964     elif test -f $ac_srcdir/configure.ac || 
    965            test -f $ac_srcdir/configure.in; then 
     696      $SHELL $ac_sub_srcdir/configure  --help=recursive 
     697    elif test -f $ac_sub_srcdir/configure.ac || 
     698           test -f $ac_sub_srcdir/configure.in; then 
    966699      echo 
    967700      $ac_configure --help 
    968701    else 
    969       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     702      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 
    970703    fi 
    971704    cd $ac_popdir 
     
    975708test -n "$ac_init_help" && exit 0 
    976709if $ac_init_version; then 
    977   cat <<\_ACEOF 
     710  cat <<\EOF 
    978711pjproject configure 0.5.8 
    979 generated by GNU Autoconf 2.59 
    980  
    981 Copyright (C) 2003 Free Software Foundation, Inc. 
     712generated by GNU Autoconf 2.52 
     713 
     714Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
     715Free Software Foundation, Inc. 
    982716This configure script is free software; the Free Software Foundation 
    983717gives unlimited permission to copy, distribute and modify it. 
    984 _ACEOF 
     718EOF 
    985719  exit 0 
    986720fi 
    987721exec 5>config.log 
    988 cat >&5 <<_ACEOF 
     722cat >&5 <<EOF 
    989723This file contains any messages produced by compilers while 
    990724running configure, to aid debugging if configure makes a mistake. 
    991725 
    992726It was created by pjproject $as_me 0.5.8, which was 
    993 generated by GNU Autoconf 2.59.  Invocation command line was 
     727generated by GNU Autoconf 2.52.  Invocation command line was 
    994728 
    995729  $ $0 $@ 
    996730 
    997 _ACEOF 
     731EOF 
    998732{ 
    999733cat <<_ASUNAME 
    1000 ## --------- ## 
    1001 ## Platform. ## 
    1002 ## --------- ## 
     734## ---------- ## 
     735## Platform.  ## 
     736## ---------- ## 
    1003737 
    1004738hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 
     
    1019753/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
    1020754 
     755PATH = $PATH 
     756 
    1021757_ASUNAME 
    1022  
    1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1024 for as_dir in $PATH 
    1025 do 
    1026   IFS=$as_save_IFS 
    1027   test -z "$as_dir" && as_dir=. 
    1028   echo "PATH: $as_dir" 
    1029 done 
    1030  
    1031758} >&5 
    1032759 
    1033 cat >&5 <<_ACEOF 
    1034  
    1035  
    1036 ## ----------- ## 
    1037 ## Core tests. ## 
    1038 ## ----------- ## 
    1039  
    1040 _ACEOF 
    1041  
     760cat >&5 <<EOF 
     761## ------------ ## 
     762## Core tests.  ## 
     763## ------------ ## 
     764 
     765EOF 
    1042766 
    1043767# Keep a trace of the command line. 
    1044768# Strip out --no-create and --no-recursion so they do not pile up. 
    1045 # Strip out --silent because we don't want to record it for future runs. 
    1046769# Also quote any args containing shell meta-characters. 
    1047 # Make two passes to allow for proper duplicate-argument suppression. 
    1048770ac_configure_args= 
    1049 ac_configure_args0= 
    1050 ac_configure_args1= 
    1051771ac_sep= 
    1052 ac_must_keep_next=false 
    1053 for ac_pass in 1 2 
     772for ac_arg 
    1054773do 
    1055   for ac_arg 
    1056   do 
    1057     case $ac_arg in 
    1058     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
    1059     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    1060     | -silent | --silent | --silen | --sile | --sil) 
    1061       continue ;; 
    1062     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    1063       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
    1064     esac 
    1065     case $ac_pass in 
    1066     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
    1067     2) 
    1068       ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
    1069       if test $ac_must_keep_next = true; then 
    1070         ac_must_keep_next=false # Got value, back to normal. 
    1071       else 
    1072         case $ac_arg in 
    1073           *=* | --config-cache | -C | -disable-* | --disable-* \ 
    1074           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
    1075           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
    1076           | -with-* | --with-* | -without-* | --without-* | --x) 
    1077             case "$ac_configure_args0 " in 
    1078               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
    1079             esac 
    1080             ;; 
    1081           -* ) ac_must_keep_next=true ;; 
    1082         esac 
    1083       fi 
    1084       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
    1085       # Get rid of the leading space. 
    1086       ac_sep=" " 
    1087       ;; 
    1088     esac 
    1089   done 
     774  case $ac_arg in 
     775  -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
     776  | --no-cr | --no-c) ;; 
     777  -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 
     778  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 
     779  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     780    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 
     781    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
     782    ac_sep=" " ;; 
     783  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 
     784     ac_sep=" " ;; 
     785  esac 
     786  # Get rid of the leading space. 
    1090787done 
    1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
    1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
    1093788 
    1094789# When interrupted or exit'd, cleanup temporary files, and complete 
    1095790# config.log.  We remove comments because anyway the quotes in there 
    1096791# would cause problems or look ugly. 
    1097 # WARNING: Be sure not to use single quotes in there, as some shells, 
    1098 # such as our DU 5.0 friend, will then `close' the trap. 
    1099792trap 'exit_status=$? 
    1100793  # Save into config.log some information that might help in debugging. 
    1101   { 
    1102     echo 
    1103  
    1104     cat <<\_ASBOX 
    1105 ## ---------------- ## 
    1106 ## Cache variables. ## 
    1107 ## ---------------- ## 
    1108 _ASBOX 
    1109     echo 
    1110     # The following way of writing the cache mishandles newlines in values, 
     794  echo >&5 
     795  echo "## ----------------- ##" >&5 
     796  echo "## Cache variables.  ##" >&5 
     797  echo "## ----------------- ##" >&5 
     798  echo >&5 
     799  # The following way of writing the cache mishandles newlines in values, 
    1111800{ 
    1112801  (set) 2>&1 | 
     
    1114803    *ac_space=\ *) 
    1115804      sed -n \ 
    1116         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
    1117           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
     805        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
     806          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
    1118807      ;; 
    1119808    *) 
    1120809      sed -n \ 
    1121         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
     810        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
    1122811      ;; 
    1123812    esac; 
    1124 } 
    1125     echo 
    1126  
    1127     cat <<\_ASBOX 
    1128 ## ----------------- ## 
    1129 ## Output variables. ## 
    1130 ## ----------------- ## 
    1131 _ASBOX 
    1132     echo 
    1133     for ac_var in $ac_subst_vars 
    1134     do 
    1135       eval ac_val=$`echo $ac_var` 
    1136       echo "$ac_var='"'"'$ac_val'"'"'" 
    1137     done | sort 
    1138     echo 
    1139  
    1140     if test -n "$ac_subst_files"; then 
    1141       cat <<\_ASBOX 
    1142 ## ------------- ## 
    1143 ## Output files. ## 
    1144 ## ------------- ## 
    1145 _ASBOX 
    1146       echo 
    1147       for ac_var in $ac_subst_files 
    1148       do 
    1149         eval ac_val=$`echo $ac_var` 
    1150         echo "$ac_var='"'"'$ac_val'"'"'" 
    1151       done | sort 
    1152       echo 
    1153     fi 
    1154  
    1155     if test -s confdefs.h; then 
    1156       cat <<\_ASBOX 
    1157 ## ----------- ## 
    1158 ## confdefs.h. ## 
    1159 ## ----------- ## 
    1160 _ASBOX 
    1161       echo 
    1162       sed "/^$/d" confdefs.h | sort 
    1163       echo 
    1164     fi 
    1165     test "$ac_signal" != 0 && 
    1166       echo "$as_me: caught signal $ac_signal" 
    1167     echo "$as_me: exit $exit_status" 
    1168   } >&5 
    1169   rm -f core *.core && 
    1170   rm -rf conftest* confdefs* conf$$* $ac_clean_files && 
     813} >&5 
     814  sed "/^$/d" confdefs.h >conftest.log 
     815  if test -s conftest.log; then 
     816    echo >&5 
     817    echo "## ------------ ##" >&5 
     818    echo "## confdefs.h.  ##" >&5 
     819    echo "## ------------ ##" >&5 
     820    echo >&5 
     821    cat conftest.log >&5 
     822  fi 
     823  (echo; echo) >&5 
     824  test "$ac_signal" != 0 && 
     825    echo "$as_me: caught signal $ac_signal" >&5 
     826  echo "$as_me: exit $exit_status" >&5 
     827  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 
    1171828    exit $exit_status 
    1172829     ' 0 
     
    1180837# AIX cpp loses on an empty file, so make sure it contains at least a newline. 
    1181838echo >confdefs.h 
    1182  
    1183 # Predefined preprocessor variables. 
    1184  
    1185 cat >>confdefs.h <<_ACEOF 
    1186 #define PACKAGE_NAME "$PACKAGE_NAME" 
    1187 _ACEOF 
    1188  
    1189  
    1190 cat >>confdefs.h <<_ACEOF 
    1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
    1192 _ACEOF 
    1193  
    1194  
    1195 cat >>confdefs.h <<_ACEOF 
    1196 #define PACKAGE_VERSION "$PACKAGE_VERSION" 
    1197 _ACEOF 
    1198  
    1199  
    1200 cat >>confdefs.h <<_ACEOF 
    1201 #define PACKAGE_STRING "$PACKAGE_STRING" 
    1202 _ACEOF 
    1203  
    1204  
    1205 cat >>confdefs.h <<_ACEOF 
    1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
    1207 _ACEOF 
    1208  
    1209839 
    1210840# Let the site file select an alternate cache file if it wants to. 
     
    1219849for ac_site_file in $CONFIG_SITE; do 
    1220850  if test -r "$ac_site_file"; then 
    1221     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     851    { echo "$as_me:851: loading site script $ac_site_file" >&5 
    1222852echo "$as_me: loading site script $ac_site_file" >&6;} 
    1223     sed 's/^/| /' "$ac_site_file" >&5 
     853    cat "$ac_site_file" >&5 
    1224854    . "$ac_site_file" 
    1225855  fi 
     
    1230860  # files actually), so we avoid doing that. 
    1231861  if test -f "$cache_file"; then 
    1232     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     862    { echo "$as_me:862: loading cache $cache_file" >&5 
    1233863echo "$as_me: loading cache $cache_file" >&6;} 
    1234864    case $cache_file in 
     
    1238868  fi 
    1239869else 
    1240   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     870  { echo "$as_me:870: creating cache $cache_file" >&5 
    1241871echo "$as_me: creating cache $cache_file" >&6;} 
    1242872  >$cache_file 
     
    1247877ac_cache_corrupted=false 
    1248878for ac_var in `(set) 2>&1 | 
    1249                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 
     879               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 
    1250880  eval ac_old_set=\$ac_cv_env_${ac_var}_set 
    1251881  eval ac_new_set=\$ac_env_${ac_var}_set 
     
    1254884  case $ac_old_set,$ac_new_set in 
    1255885    set,) 
    1256       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     886      { echo "$as_me:886: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    1257887echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    1258888      ac_cache_corrupted=: ;; 
    1259889    ,set) 
    1260       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     890      { echo "$as_me:890: error: \`$ac_var' was not set in the previous run" >&5 
    1261891echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    1262892      ac_cache_corrupted=: ;; 
     
    1264894    *) 
    1265895      if test "x$ac_old_val" != "x$ac_new_val"; then 
    1266         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     896        { echo "$as_me:896: error: \`$ac_var' has changed since the previous run:" >&5 
    1267897echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    1268         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
     898        { echo "$as_me:898:   former value:  $ac_old_val" >&5 
    1269899echo "$as_me:   former value:  $ac_old_val" >&2;} 
    1270         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
     900        { echo "$as_me:900:   current value: $ac_new_val" >&5 
    1271901echo "$as_me:   current value: $ac_new_val" >&2;} 
    1272         ac_cache_corrupted=: 
     902        ac_cache_corrupted=: 
    1273903      fi;; 
    1274904  esac 
    1275   # Pass precious variables to config.status. 
     905  # Pass precious variables to config.status.  It doesn't matter if 
     906  # we pass some twice (in addition to the command line arguments). 
    1276907  if test "$ac_new_set" = set; then 
    1277908    case $ac_new_val in 
    1278909    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    1279       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
    1280     *) ac_arg=$ac_var=$ac_new_val ;; 
    1281     esac 
    1282     case " $ac_configure_args " in 
    1283       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
    1284       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     910      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 
     911      ac_configure_args="$ac_configure_args '$ac_arg'" 
     912      ;; 
     913    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 
     914       ;; 
    1285915    esac 
    1286916  fi 
    1287917done 
    1288918if $ac_cache_corrupted; then 
    1289   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     919  { echo "$as_me:919: error: changes in the environment can compromise the build" >&5 
    1290920echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    1291   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     921  { { echo "$as_me:921: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    1292922echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    1293923   { (exit 1); exit 1; }; } 
     
    1300930ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    1301931 
    1302  
    1303  
    1304  
    1305  
    1306  
    1307  
    1308  
    1309  
    1310  
    1311  
    1312  
    1313  
    1314  
    1315  
    1316  
    1317  
    1318  
    1319  
    1320  
    1321  
    1322  
    1323  
    1324  
    1325  
    1326  
     932case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
     933  *c*,-n*) ECHO_N= ECHO_C=' 
     934' ECHO_T='      ' ;; 
     935  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
     936  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;; 
     937esac 
     938echo "#! $SHELL" >conftest.sh 
     939echo  "exit 0"   >>conftest.sh 
     940chmod +x conftest.sh 
     941if { (echo "$as_me:941: PATH=\".;.\"; conftest.sh") >&5 
     942  (PATH=".;."; conftest.sh) 2>&5 
     943  ac_status=$? 
     944  echo "$as_me:944: \$? = $ac_status" >&5 
     945  (exit $ac_status); }; then 
     946  ac_path_separator=';' 
     947else 
     948  ac_path_separator=: 
     949fi 
     950PATH_SEPARATOR="$ac_path_separator" 
     951rm -f conftest.sh 
    1327952 
    1328953ac_aux_dir= 
     
    1343968done 
    1344969if test -z "$ac_aux_dir"; then 
    1345   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
     970  { { echo "$as_me:970: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
    1346971echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
    1347972   { (exit 1); exit 1; }; } 
     
    1353978# Make sure we can run config.sub. 
    1354979$ac_config_sub sun4 >/dev/null 2>&1 || 
    1355   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
     980  { { echo "$as_me:980: error: cannot run $ac_config_sub" >&5 
    1356981echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
    1357982   { (exit 1); exit 1; }; } 
    1358983 
    1359 echo "$as_me:$LINENO: checking build system type" >&5 
     984echo "$as_me:984: checking build system type" >&5 
    1360985echo $ECHO_N "checking build system type... $ECHO_C" >&6 
    1361986if test "${ac_cv_build+set}" = set; then 
     
    1366991  ac_cv_build_alias=`$ac_config_guess` 
    1367992test -z "$ac_cv_build_alias" && 
    1368   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
     993  { { echo "$as_me:993: error: cannot guess build type; you must specify one" >&5 
    1369994echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    1370995   { (exit 1); exit 1; }; } 
    1371996ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
    1372   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
    1373 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
     997  { { echo "$as_me:997: error: $ac_config_sub $ac_cv_build_alias failed." >&5 
     998echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 
    1374999   { (exit 1); exit 1; }; } 
    13751000 
    13761001fi 
    1377 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     1002echo "$as_me:1002: result: $ac_cv_build" >&5 
    13781003echo "${ECHO_T}$ac_cv_build" >&6 
    13791004build=$ac_cv_build 
     
    13821007build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    13831008 
    1384  
    1385 echo "$as_me:$LINENO: checking host system type" >&5 
     1009echo "$as_me:1009: checking host system type" >&5 
    13861010echo $ECHO_N "checking host system type... $ECHO_C" >&6 
    13871011if test "${ac_cv_host+set}" = set; then 
     
    13921016  ac_cv_host_alias=$ac_cv_build_alias 
    13931017ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
    1394   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
     1018  { { echo "$as_me:1018: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
    13951019echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
    13961020   { (exit 1); exit 1; }; } 
    13971021 
    13981022fi 
    1399 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     1023echo "$as_me:1023: result: $ac_cv_host" >&5 
    14001024echo "${ECHO_T}$ac_cv_host" >&6 
    14011025host=$ac_cv_host 
     
    14041028host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    14051029 
    1406  
    1407 echo "$as_me:$LINENO: checking target system type" >&5 
     1030echo "$as_me:1030: checking target system type" >&5 
    14081031echo $ECHO_N "checking target system type... $ECHO_C" >&6 
    14091032if test "${ac_cv_target+set}" = set; then 
     
    14141037  ac_cv_target_alias=$ac_cv_host_alias 
    14151038ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 
    1416   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
     1039  { { echo "$as_me:1039: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
    14171040echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 
    14181041   { (exit 1); exit 1; }; } 
    14191042 
    14201043fi 
    1421 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     1044echo "$as_me:1044: result: $ac_cv_target" >&5 
    14221045echo "${ECHO_T}$ac_cv_target" >&6 
    14231046target=$ac_cv_target 
     
    14251048target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    14261049target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    1427  
    14281050 
    14291051# The aliases save the names the user supplied, while $host etc. 
     
    14331055    NONENONEs,x,x, && 
    14341056  program_prefix=${target_alias}- 
    1435                     ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 
    1436  
    1437                                                             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" 
     1057ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 
     1058 
     1059ac_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" 
    14381060 
    14391061ac_ext=c 
     
    14451067  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    14461068set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1447 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1069echo "$as_me:1069: checking for $ac_word" >&5 
    14481070echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    14491071if test "${ac_cv_prog_CC+set}" = set; then 
     
    14531075  ac_cv_prog_CC="$CC" # Let the user override the test. 
    14541076else 
    1455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1456 for as_dir in $PATH 
    1457 do 
    1458   IFS=$as_save_IFS 
    1459   test -z "$as_dir" && as_dir=. 
    1460   for ac_exec_ext in '' $ac_executable_extensions; do 
    1461   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    1462     ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    1463     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    1464     break 2 
    1465   fi 
    1466 done 
     1077  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1078ac_dummy="$PATH" 
     1079for ac_dir in $ac_dummy; do 
     1080  IFS=$ac_save_IFS 
     1081  test -z "$ac_dir" && ac_dir=. 
     1082  $as_executable_p "$ac_dir/$ac_word" || continue 
     1083ac_cv_prog_CC="${ac_tool_prefix}gcc" 
     1084echo "$as_me:1084: found $ac_dir/$ac_word" >&5 
     1085break 
    14671086done 
    14681087 
     
    14711090CC=$ac_cv_prog_CC 
    14721091if test -n "$CC"; then 
    1473   echo "$as_me:$LINENO: result: $CC" >&5 
     1092  echo "$as_me:1092: result: $CC" >&5 
    14741093echo "${ECHO_T}$CC" >&6 
    14751094else 
    1476   echo "$as_me:$LINENO: result: no" >&5 
     1095  echo "$as_me:1095: result: no" >&5 
    14771096echo "${ECHO_T}no" >&6 
    14781097fi 
     
    14831102  # Extract the first word of "gcc", so it can be a program name with args. 
    14841103set dummy gcc; ac_word=$2 
    1485 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1104echo "$as_me:1104: checking for $ac_word" >&5 
    14861105echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    14871106if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    14911110  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    14921111else 
    1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1494 for as_dir in $PATH 
    1495 do 
    1496   IFS=$as_save_IFS 
    1497   test -z "$as_dir" && as_dir=. 
    1498   for ac_exec_ext in '' $ac_executable_extensions; do 
    1499   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    1500     ac_cv_prog_ac_ct_CC="gcc" 
    1501     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    1502     break 2 
    1503   fi 
    1504 done 
     1112  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1113ac_dummy="$PATH" 
     1114for ac_dir in $ac_dummy; do 
     1115  IFS=$ac_save_IFS 
     1116  test -z "$ac_dir" && ac_dir=. 
     1117  $as_executable_p "$ac_dir/$ac_word" || continue 
     1118ac_cv_prog_ac_ct_CC="gcc" 
     1119echo "$as_me:1119: found $ac_dir/$ac_word" >&5 
     1120break 
    15051121done 
    15061122 
     
    15091125ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    15101126if test -n "$ac_ct_CC"; then 
    1511   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     1127  echo "$as_me:1127: result: $ac_ct_CC" >&5 
    15121128echo "${ECHO_T}$ac_ct_CC" >&6 
    15131129else 
    1514   echo "$as_me:$LINENO: result: no" >&5 
     1130  echo "$as_me:1130: result: no" >&5 
    15151131echo "${ECHO_T}no" >&6 
    15161132fi 
     
    15251141  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    15261142set dummy ${ac_tool_prefix}cc; ac_word=$2 
    1527 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1143echo "$as_me:1143: checking for $ac_word" >&5 
    15281144echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    15291145if test "${ac_cv_prog_CC+set}" = set; then 
     
    15331149  ac_cv_prog_CC="$CC" # Let the user override the test. 
    15341150else 
    1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1536 for as_dir in $PATH 
    1537 do 
    1538   IFS=$as_save_IFS 
    1539   test -z "$as_dir" && as_dir=. 
    1540   for ac_exec_ext in '' $ac_executable_extensions; do 
    1541   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    1542     ac_cv_prog_CC="${ac_tool_prefix}cc" 
    1543     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    1544     break 2 
    1545   fi 
    1546 done 
     1151  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1152ac_dummy="$PATH" 
     1153for ac_dir in $ac_dummy; do 
     1154  IFS=$ac_save_IFS 
     1155  test -z "$ac_dir" && ac_dir=. 
     1156  $as_executable_p "$ac_dir/$ac_word" || continue 
     1157ac_cv_prog_CC="${ac_tool_prefix}cc" 
     1158echo "$as_me:1158: found $ac_dir/$ac_word" >&5 
     1159break 
    15471160done 
    15481161 
     
    15511164CC=$ac_cv_prog_CC 
    15521165if test -n "$CC"; then 
    1553   echo "$as_me:$LINENO: result: $CC" >&5 
     1166  echo "$as_me:1166: result: $CC" >&5 
    15541167echo "${ECHO_T}$CC" >&6 
    15551168else 
    1556   echo "$as_me:$LINENO: result: no" >&5 
     1169  echo "$as_me:1169: result: no" >&5 
    15571170echo "${ECHO_T}no" >&6 
    15581171fi 
     
    15631176  # Extract the first word of "cc", so it can be a program name with args. 
    15641177set dummy cc; ac_word=$2 
    1565 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1178echo "$as_me:1178: checking for $ac_word" >&5 
    15661179echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    15671180if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    15711184  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    15721185else 
    1573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1574 for as_dir in $PATH 
    1575 do 
    1576   IFS=$as_save_IFS 
    1577   test -z "$as_dir" && as_dir=. 
    1578   for ac_exec_ext in '' $ac_executable_extensions; do 
    1579   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    1580     ac_cv_prog_ac_ct_CC="cc" 
    1581     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    1582     break 2 
    1583   fi 
    1584 done 
     1186  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1187ac_dummy="$PATH" 
     1188for ac_dir in $ac_dummy; do 
     1189  IFS=$ac_save_IFS 
     1190  test -z "$ac_dir" && ac_dir=. 
     1191  $as_executable_p "$ac_dir/$ac_word" || continue 
     1192ac_cv_prog_ac_ct_CC="cc" 
     1193echo "$as_me:1193: found $ac_dir/$ac_word" >&5 
     1194break 
    15851195done 
    15861196 
     
    15891199ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    15901200if test -n "$ac_ct_CC"; then 
    1591   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     1201  echo "$as_me:1201: result: $ac_ct_CC" >&5 
    15921202echo "${ECHO_T}$ac_ct_CC" >&6 
    15931203else 
    1594   echo "$as_me:$LINENO: result: no" >&5 
     1204  echo "$as_me:1204: result: no" >&5 
    15951205echo "${ECHO_T}no" >&6 
    15961206fi 
     
    16051215  # Extract the first word of "cc", so it can be a program name with args. 
    16061216set dummy cc; ac_word=$2 
    1607 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1217echo "$as_me:1217: checking for $ac_word" >&5 
    16081218echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    16091219if test "${ac_cv_prog_CC+set}" = set; then 
     
    16141224else 
    16151225  ac_prog_rejected=no 
    1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1617 for as_dir in $PATH 
    1618 do 
    1619   IFS=$as_save_IFS 
    1620   test -z "$as_dir" && as_dir=. 
    1621   for ac_exec_ext in '' $ac_executable_extensions; do 
    1622   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    1623     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
    1624        ac_prog_rejected=yes 
    1625        continue 
    1626      fi 
    1627     ac_cv_prog_CC="cc" 
    1628     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    1629     break 2 
    1630   fi 
    1631 done 
     1226  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1227ac_dummy="$PATH" 
     1228for ac_dir in $ac_dummy; do 
     1229  IFS=$ac_save_IFS 
     1230  test -z "$ac_dir" && ac_dir=. 
     1231  $as_executable_p "$ac_dir/$ac_word" || continue 
     1232if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 
     1233  ac_prog_rejected=yes 
     1234  continue 
     1235fi 
     1236ac_cv_prog_CC="cc" 
     1237echo "$as_me:1237: found $ac_dir/$ac_word" >&5 
     1238break 
    16321239done 
    16331240 
     
    16411248    # first if we set CC to just the basename; use the full file name. 
    16421249    shift 
    1643     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 
     1250    set dummy "$ac_dir/$ac_word" ${1+"$@"} 
     1251    shift 
     1252    ac_cv_prog_CC="$@" 
    16441253  fi 
    16451254fi 
     
    16481257CC=$ac_cv_prog_CC 
    16491258if test -n "$CC"; then 
    1650   echo "$as_me:$LINENO: result: $CC" >&5 
     1259  echo "$as_me:1259: result: $CC" >&5 
    16511260echo "${ECHO_T}$CC" >&6 
    16521261else 
    1653   echo "$as_me:$LINENO: result: no" >&5 
     1262  echo "$as_me:1262: result: no" >&5 
    16541263echo "${ECHO_T}no" >&6 
    16551264fi 
     
    16621271    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    16631272set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    1664 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1273echo "$as_me:1273: checking for $ac_word" >&5 
    16651274echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    16661275if test "${ac_cv_prog_CC+set}" = set; then 
     
    16701279  ac_cv_prog_CC="$CC" # Let the user override the test. 
    16711280else 
    1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1673 for as_dir in $PATH 
    1674 do 
    1675   IFS=$as_save_IFS 
    1676   test -z "$as_dir" && as_dir=. 
    1677   for ac_exec_ext in '' $ac_executable_extensions; do 
    1678   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    1679     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    1680     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    1681     break 2 
    1682   fi 
    1683 done 
     1281  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1282ac_dummy="$PATH" 
     1283for ac_dir in $ac_dummy; do 
     1284  IFS=$ac_save_IFS 
     1285  test -z "$ac_dir" && ac_dir=. 
     1286  $as_executable_p "$ac_dir/$ac_word" || continue 
     1287ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
     1288echo "$as_me:1288: found $ac_dir/$ac_word" >&5 
     1289break 
    16841290done 
    16851291 
     
    16881294CC=$ac_cv_prog_CC 
    16891295if test -n "$CC"; then 
    1690   echo "$as_me:$LINENO: result: $CC" >&5 
     1296  echo "$as_me:1296: result: $CC" >&5 
    16911297echo "${ECHO_T}$CC" >&6 
    16921298else 
    1693   echo "$as_me:$LINENO: result: no" >&5 
     1299  echo "$as_me:1299: result: no" >&5 
    16941300echo "${ECHO_T}no" >&6 
    16951301fi 
     
    17041310  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    17051311set dummy $ac_prog; ac_word=$2 
    1706 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1312echo "$as_me:1312: checking for $ac_word" >&5 
    17071313echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    17081314if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    17121318  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    17131319else 
    1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    1715 for as_dir in $PATH 
    1716 do 
    1717   IFS=$as_save_IFS 
    1718   test -z "$as_dir" && as_dir=. 
    1719   for ac_exec_ext in '' $ac_executable_extensions; do 
    1720   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    1721     ac_cv_prog_ac_ct_CC="$ac_prog" 
    1722     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    1723     break 2 
    1724   fi 
    1725 done 
     1320  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1321ac_dummy="$PATH" 
     1322for ac_dir in $ac_dummy; do 
     1323  IFS=$ac_save_IFS 
     1324  test -z "$ac_dir" && ac_dir=. 
     1325  $as_executable_p "$ac_dir/$ac_word" || continue 
     1326ac_cv_prog_ac_ct_CC="$ac_prog" 
     1327echo "$as_me:1327: found $ac_dir/$ac_word" >&5 
     1328break 
    17261329done 
    17271330 
     
    17301333ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    17311334if test -n "$ac_ct_CC"; then 
    1732   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     1335  echo "$as_me:1335: result: $ac_ct_CC" >&5 
    17331336echo "${ECHO_T}$ac_ct_CC" >&6 
    17341337else 
    1735   echo "$as_me:$LINENO: result: no" >&5 
     1338  echo "$as_me:1338: result: no" >&5 
    17361339echo "${ECHO_T}no" >&6 
    17371340fi 
     
    17451348fi 
    17461349 
    1747  
    1748 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
    1749 See \`config.log' for more details." >&5 
    1750 echo "$as_me: error: no acceptable C compiler found in \$PATH 
    1751 See \`config.log' for more details." >&2;} 
     1350test -z "$CC" && { { echo "$as_me:1350: error: no acceptable cc found in \$PATH" >&5 
     1351echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 
    17521352   { (exit 1); exit 1; }; } 
    17531353 
    17541354# Provide some information about the compiler. 
    1755 echo "$as_me:$LINENO:" \ 
     1355echo "$as_me:1355:" \ 
    17561356     "checking for C compiler version" >&5 
    17571357ac_compiler=`set X $ac_compile; echo $2` 
    1758 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
     1358{ (eval echo "$as_me:1358: \"$ac_compiler --version </dev/null >&5\"") >&5 
    17591359  (eval $ac_compiler --version </dev/null >&5) 2>&5 
    17601360  ac_status=$? 
    1761   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1361  echo "$as_me:1361: \$? = $ac_status" >&5 
    17621362  (exit $ac_status); } 
    1763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
     1363{ (eval echo "$as_me:1363: \"$ac_compiler -v </dev/null >&5\"") >&5 
    17641364  (eval $ac_compiler -v </dev/null >&5) 2>&5 
    17651365  ac_status=$? 
    1766   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1366  echo "$as_me:1366: \$? = $ac_status" >&5 
    17671367  (exit $ac_status); } 
    1768 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
     1368{ (eval echo "$as_me:1368: \"$ac_compiler -V </dev/null >&5\"") >&5 
    17691369  (eval $ac_compiler -V </dev/null >&5) 2>&5 
    17701370  ac_status=$? 
    1771   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1371  echo "$as_me:1371: \$? = $ac_status" >&5 
    17721372  (exit $ac_status); } 
    17731373 
    17741374cat >conftest.$ac_ext <<_ACEOF 
    1775 /* confdefs.h.  */ 
    1776 _ACEOF 
    1777 cat confdefs.h >>conftest.$ac_ext 
    1778 cat >>conftest.$ac_ext <<_ACEOF 
    1779 /* end confdefs.h.  */ 
     1375#line 1375 "configure" 
     1376#include "confdefs.h" 
    17801377 
    17811378int 
     
    17881385_ACEOF 
    17891386ac_clean_files_save=$ac_clean_files 
    1790 ac_clean_files="$ac_clean_files a.out a.exe b.out" 
     1387ac_clean_files="$ac_clean_files a.out a.exe" 
    17911388# Try to create an executable without -o first, disregard a.out. 
    17921389# It will help us diagnose broken compilers, and finding out an intuition 
    17931390# of exeext. 
    1794 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
    1795 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 
     1391echo "$as_me:1391: checking for C compiler default output" >&5 
     1392echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 
    17961393ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    1797 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
     1394if { (eval echo "$as_me:1394: \"$ac_link_default\"") >&5 
    17981395  (eval $ac_link_default) 2>&5 
    17991396  ac_status=$? 
    1800   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1397  echo "$as_me:1397: \$? = $ac_status" >&5 
    18011398  (exit $ac_status); }; then 
    18021399  # Find the output, starting from the most likely.  This scheme is 
    18031400# not robust to junk in `.', hence go to wildcards (a.*) only as a last 
    18041401# resort. 
    1805  
    1806 # Be careful to initialize this variable, since it used to be cached. 
    1807 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
    1808 ac_cv_exeext= 
    1809 # b.out is created by i960 compilers. 
    1810 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 
    1811 do 
    1812   test -f "$ac_file" || continue 
     1402for ac_file in `ls a.exe conftest.exe 2>/dev/null; 
     1403                ls a.out conftest 2>/dev/null; 
     1404                ls a.* conftest.* 2>/dev/null`; do 
    18131405  case $ac_file in 
    1814     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 
    1815         ;; 
    1816     conftest.$ac_ext ) 
    1817         # This is the source file. 
    1818         ;; 
    1819     [ab].out ) 
    1820         # We found the default executable, but exeext='' is most 
    1821         # certainly right. 
    1822         break;; 
    1823     *.* ) 
    1824         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    1825         # FIXME: I believe we export ac_cv_exeext for Libtool, 
    1826         # but it would be cool to find out if it's true.  Does anybody 
    1827         # maintain Libtool? --akim. 
    1828         export ac_cv_exeext 
    1829         break;; 
    1830     * ) 
    1831         break;; 
     1406    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 
     1407    a.out ) # We found the default executable, but exeext='' is most 
     1408            # certainly right. 
     1409            break;; 
     1410    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1411          # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 
     1412          export ac_cv_exeext 
     1413          break;; 
     1414    * ) break;; 
    18321415  esac 
    18331416done 
    18341417else 
    18351418  echo "$as_me: failed program was:" >&5 
    1836 sed 's/^/| /' conftest.$ac_ext >&5 
    1837  
    1838 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 
    1839 See \`config.log' for more details." >&5 
    1840 echo "$as_me: error: C compiler cannot create executables 
    1841 See \`config.log' for more details." >&2;} 
     1419cat conftest.$ac_ext >&5 
     1420{ { echo "$as_me:1420: error: C compiler cannot create executables" >&5 
     1421echo "$as_me: error: C compiler cannot create executables" >&2;} 
    18421422   { (exit 77); exit 77; }; } 
    18431423fi 
    18441424 
    18451425ac_exeext=$ac_cv_exeext 
    1846 echo "$as_me:$LINENO: result: $ac_file" >&5 
     1426echo "$as_me:1426: result: $ac_file" >&5 
    18471427echo "${ECHO_T}$ac_file" >&6 
    18481428 
    18491429# Check the compiler produces executables we can run.  If not, either 
    18501430# the compiler is broken, or we cross compile. 
    1851 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
     1431echo "$as_me:1431: checking whether the C compiler works" >&5 
    18521432echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 
    18531433# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     
    18551435if test "$cross_compiling" != yes; then 
    18561436  if { ac_try='./$ac_file' 
    1857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1437  { (eval echo "$as_me:1437: \"$ac_try\"") >&5 
    18581438  (eval $ac_try) 2>&5 
    18591439  ac_status=$? 
    1860   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1440  echo "$as_me:1440: \$? = $ac_status" >&5 
    18611441  (exit $ac_status); }; }; then 
    18621442    cross_compiling=no 
     
    18651445        cross_compiling=yes 
    18661446    else 
    1867         { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
    1868 If you meant to cross compile, use \`--host'. 
    1869 See \`config.log' for more details." >&5 
     1447        { { echo "$as_me:1447: error: cannot run C compiled programs. 
     1448If you meant to cross compile, use \`--host'." >&5 
    18701449echo "$as_me: error: cannot run C compiled programs. 
    1871 If you meant to cross compile, use \`--host'. 
    1872 See \`config.log' for more details." >&2;} 
     1450If you meant to cross compile, use \`--host'." >&2;} 
    18731451   { (exit 1); exit 1; }; } 
    18741452    fi 
    18751453  fi 
    18761454fi 
    1877 echo "$as_me:$LINENO: result: yes" >&5 
     1455echo "$as_me:1455: result: yes" >&5 
    18781456echo "${ECHO_T}yes" >&6 
    18791457 
    1880 rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     1458rm -f a.out a.exe conftest$ac_cv_exeext 
    18811459ac_clean_files=$ac_clean_files_save 
    18821460# Check the compiler produces executables we can run.  If not, either 
    18831461# the compiler is broken, or we cross compile. 
    1884 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     1462echo "$as_me:1462: checking whether we are cross compiling" >&5 
    18851463echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
    1886 echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     1464echo "$as_me:1464: result: $cross_compiling" >&5 
    18871465echo "${ECHO_T}$cross_compiling" >&6 
    18881466 
    1889 echo "$as_me:$LINENO: checking for suffix of executables" >&5 
    1890 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
    1891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     1467echo "$as_me:1467: checking for executable suffix" >&5 
     1468echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 
     1469if { (eval echo "$as_me:1469: \"$ac_link\"") >&5 
    18921470  (eval $ac_link) 2>&5 
    18931471  ac_status=$? 
    1894   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1472  echo "$as_me:1472: \$? = $ac_status" >&5 
    18951473  (exit $ac_status); }; then 
    18961474  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
     
    18981476# work properly (i.e., refer to `conftest.exe'), while it won't with 
    18991477# `rm'. 
    1900 for ac_file in conftest.exe conftest conftest.*; do 
    1901   test -f "$ac_file" || continue 
     1478for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 
    19021479  case $ac_file in 
    1903     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 
     1480    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 
    19041481    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    1905           export ac_cv_exeext 
    1906           break;; 
     1482          export ac_cv_exeext 
     1483          break;; 
    19071484    * ) break;; 
    19081485  esac 
    19091486done 
    19101487else 
    1911   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
    1912 See \`config.log' for more details." >&5 
    1913 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
    1914 See \`config.log' for more details." >&2;} 
     1488  { { echo "$as_me:1488: error: cannot compute EXEEXT: cannot compile and link" >&5 
     1489echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 
    19151490   { (exit 1); exit 1; }; } 
    19161491fi 
    19171492 
    19181493rm -f conftest$ac_cv_exeext 
    1919 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     1494echo "$as_me:1494: result: $ac_cv_exeext" >&5 
    19201495echo "${ECHO_T}$ac_cv_exeext" >&6 
    19211496 
     
    19231498EXEEXT=$ac_cv_exeext 
    19241499ac_exeext=$EXEEXT 
    1925 echo "$as_me:$LINENO: checking for suffix of object files" >&5 
    1926 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
     1500echo "$as_me:1500: checking for object suffix" >&5 
     1501echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 
    19271502if test "${ac_cv_objext+set}" = set; then 
    19281503  echo $ECHO_N "(cached) $ECHO_C" >&6 
    19291504else 
    19301505  cat >conftest.$ac_ext <<_ACEOF 
    1931 /* confdefs.h.  */ 
    1932 _ACEOF 
    1933 cat confdefs.h >>conftest.$ac_ext 
    1934 cat >>conftest.$ac_ext <<_ACEOF 
    1935 /* end confdefs.h.  */ 
     1506#line 1506 "configure" 
     1507#include "confdefs.h" 
    19361508 
    19371509int 
     
    19441516_ACEOF 
    19451517rm -f conftest.o conftest.obj 
    1946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1518if { (eval echo "$as_me:1518: \"$ac_compile\"") >&5 
    19471519  (eval $ac_compile) 2>&5 
    19481520  ac_status=$? 
    1949   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1521  echo "$as_me:1521: \$? = $ac_status" >&5 
    19501522  (exit $ac_status); }; then 
    19511523  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
    19521524  case $ac_file in 
    1953     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 
     1525    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 
    19541526    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    19551527       break;; 
     
    19581530else 
    19591531  echo "$as_me: failed program was:" >&5 
    1960 sed 's/^/| /' conftest.$ac_ext >&5 
    1961  
    1962 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
    1963 See \`config.log' for more details." >&5 
    1964 echo "$as_me: error: cannot compute suffix of object files: cannot compile 
    1965 See \`config.log' for more details." >&2;} 
     1532cat conftest.$ac_ext >&5 
     1533{ { echo "$as_me:1533: error: cannot compute OBJEXT: cannot compile" >&5 
     1534echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 
    19661535   { (exit 1); exit 1; }; } 
    19671536fi 
     
    19691538rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    19701539fi 
    1971 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     1540echo "$as_me:1540: result: $ac_cv_objext" >&5 
    19721541echo "${ECHO_T}$ac_cv_objext" >&6 
    19731542OBJEXT=$ac_cv_objext 
    19741543ac_objext=$OBJEXT 
    1975 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     1544echo "$as_me:1544: checking whether we are using the GNU C compiler" >&5 
    19761545echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
    19771546if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     
    19791548else 
    19801549  cat >conftest.$ac_ext <<_ACEOF 
    1981 /* confdefs.h.  */ 
    1982 _ACEOF 
    1983 cat confdefs.h >>conftest.$ac_ext 
    1984 cat >>conftest.$ac_ext <<_ACEOF 
    1985 /* end confdefs.h.  */ 
     1550#line 1550 "configure" 
     1551#include "confdefs.h" 
    19861552 
    19871553int 
     
    19971563_ACEOF 
    19981564rm -f conftest.$ac_objext 
    1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2000   (eval $ac_compile) 2>conftest.er1 
    2001   ac_status=$? 
    2002   grep -v '^ *+' conftest.er1 >conftest.err 
    2003   rm -f conftest.er1 
    2004   cat conftest.err >&5 
    2005   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1565if { (eval echo "$as_me:1565: \"$ac_compile\"") >&5 
     1566  (eval $ac_compile) 2>&5 
     1567  ac_status=$? 
     1568  echo "$as_me:1568: \$? = $ac_status" >&5 
    20061569  (exit $ac_status); } && 
    2007          { ac_try='test -z "$ac_c_werror_flag" 
    2008                          || test ! -s conftest.err' 
    2009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1570         { ac_try='test -s conftest.$ac_objext' 
     1571  { (eval echo "$as_me:1571: \"$ac_try\"") >&5 
    20101572  (eval $ac_try) 2>&5 
    20111573  ac_status=$? 
    2012   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2013   (exit $ac_status); }; } && 
    2014          { ac_try='test -s conftest.$ac_objext' 
    2015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2016   (eval $ac_try) 2>&5 
    2017   ac_status=$? 
    2018   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1574  echo "$as_me:1574: \$? = $ac_status" >&5 
    20191575  (exit $ac_status); }; }; then 
    20201576  ac_compiler_gnu=yes 
    20211577else 
    20221578  echo "$as_me: failed program was:" >&5 
    2023 sed 's/^/| /' conftest.$ac_ext >&5 
    2024  
     1579cat conftest.$ac_ext >&5 
    20251580ac_compiler_gnu=no 
    20261581fi 
    2027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1582rm -f conftest.$ac_objext conftest.$ac_ext 
    20281583ac_cv_c_compiler_gnu=$ac_compiler_gnu 
    20291584 
    20301585fi 
    2031 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     1586echo "$as_me:1586: result: $ac_cv_c_compiler_gnu" >&5 
    20321587echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
    20331588GCC=`test $ac_compiler_gnu = yes && echo yes` 
     
    20351590ac_save_CFLAGS=$CFLAGS 
    20361591CFLAGS="-g" 
    2037 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     1592echo "$as_me:1592: checking whether $CC accepts -g" >&5 
    20381593echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
    20391594if test "${ac_cv_prog_cc_g+set}" = set; then 
     
    20411596else 
    20421597  cat >conftest.$ac_ext <<_ACEOF 
    2043 /* confdefs.h.  */ 
    2044 _ACEOF 
    2045 cat confdefs.h >>conftest.$ac_ext 
    2046 cat >>conftest.$ac_ext <<_ACEOF 
    2047 /* end confdefs.h.  */ 
     1598#line 1598 "configure" 
     1599#include "confdefs.h" 
    20481600 
    20491601int 
     
    20561608_ACEOF 
    20571609rm -f conftest.$ac_objext 
    2058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2059   (eval $ac_compile) 2>conftest.er1 
    2060   ac_status=$? 
    2061   grep -v '^ *+' conftest.er1 >conftest.err 
    2062   rm -f conftest.er1 
    2063   cat conftest.err >&5 
    2064   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1610if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5 
     1611  (eval $ac_compile) 2>&5 
     1612  ac_status=$? 
     1613  echo "$as_me:1613: \$? = $ac_status" >&5 
    20651614  (exit $ac_status); } && 
    2066          { ac_try='test -z "$ac_c_werror_flag" 
    2067                          || test ! -s conftest.err' 
    2068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1615         { ac_try='test -s conftest.$ac_objext' 
     1616  { (eval echo "$as_me:1616: \"$ac_try\"") >&5 
    20691617  (eval $ac_try) 2>&5 
    20701618  ac_status=$? 
    2071   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2072   (exit $ac_status); }; } && 
    2073          { ac_try='test -s conftest.$ac_objext' 
    2074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2075   (eval $ac_try) 2>&5 
    2076   ac_status=$? 
    2077   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1619  echo "$as_me:1619: \$? = $ac_status" >&5 
    20781620  (exit $ac_status); }; }; then 
    20791621  ac_cv_prog_cc_g=yes 
    20801622else 
    20811623  echo "$as_me: failed program was:" >&5 
    2082 sed 's/^/| /' conftest.$ac_ext >&5 
    2083  
     1624cat conftest.$ac_ext >&5 
    20841625ac_cv_prog_cc_g=no 
    20851626fi 
    2086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    2087 fi 
    2088 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     1627rm -f conftest.$ac_objext conftest.$ac_ext 
     1628fi 
     1629echo "$as_me:1629: result: $ac_cv_prog_cc_g" >&5 
    20891630echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
    20901631if test "$ac_test_CFLAGS" = set; then 
     
    21031644  fi 
    21041645fi 
    2105 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
    2106 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
    2107 if test "${ac_cv_prog_cc_stdc+set}" = set; then 
    2108   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2109 else 
    2110   ac_cv_prog_cc_stdc=no 
    2111 ac_save_CC=$CC 
    2112 cat >conftest.$ac_ext <<_ACEOF 
    2113 /* confdefs.h.  */ 
    2114 _ACEOF 
    2115 cat confdefs.h >>conftest.$ac_ext 
    2116 cat >>conftest.$ac_ext <<_ACEOF 
    2117 /* end confdefs.h.  */ 
    2118 #include <stdarg.h> 
    2119 #include <stdio.h> 
    2120 #include <sys/types.h> 
    2121 #include <sys/stat.h> 
    2122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
    2123 struct buf { int x; }; 
    2124 FILE * (*rcsopen) (struct buf *, struct stat *, int); 
    2125 static char *e (p, i) 
    2126      char **p; 
    2127      int i; 
    2128 { 
    2129   return p[i]; 
    2130 } 
    2131 static char *f (char * (*g) (char **, int), char **p, ...) 
    2132 { 
    2133   char *s; 
    2134   va_list v; 
    2135   va_start (v,p); 
    2136   s = g (p, va_arg (v,int)); 
    2137   va_end (v); 
    2138   return s; 
    2139 } 
    2140  
    2141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has 
    2142    function prototypes and stuff, but not '\xHH' hex character constants. 
    2143    These don't provoke an error unfortunately, instead are silently treated 
    2144    as 'x'.  The following induces an error, until -std1 is added to get 
    2145    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an 
    2146    array size at least.  It's necessary to write '\x00'==0 to get something 
    2147    that's true only with -std1.  */ 
    2148 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 
    2149  
    2150 int test (int i, double x); 
    2151 struct s1 {int (*f) (int a);}; 
    2152 struct s2 {int (*f) (double a);}; 
    2153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
    2154 int argc; 
    2155 char **argv; 
    2156 int 
    2157 main () 
    2158 { 
    2159 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
    2160   ; 
    2161   return 0; 
    2162 } 
    2163 _ACEOF 
    2164 # Don't try gcc -ansi; that turns off useful extensions and 
    2165 # breaks some systems' header files. 
    2166 # AIX                   -qlanglvl=ansi 
    2167 # Ultrix and OSF/1      -std1 
    2168 # HP-UX 10.20 and later -Ae 
    2169 # HP-UX older versions  -Aa -D_HPUX_SOURCE 
    2170 # SVR4                  -Xc -D__EXTENSIONS__ 
    2171 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
    2172 do 
    2173   CC="$ac_save_CC $ac_arg" 
    2174   rm -f conftest.$ac_objext 
    2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2176   (eval $ac_compile) 2>conftest.er1 
    2177   ac_status=$? 
    2178   grep -v '^ *+' conftest.er1 >conftest.err 
    2179   rm -f conftest.er1 
    2180   cat conftest.err >&5 
    2181   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2182   (exit $ac_status); } && 
    2183          { ac_try='test -z "$ac_c_werror_flag" 
    2184                          || test ! -s conftest.err' 
    2185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2186   (eval $ac_try) 2>&5 
    2187   ac_status=$? 
    2188   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2189   (exit $ac_status); }; } && 
    2190          { ac_try='test -s conftest.$ac_objext' 
    2191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2192   (eval $ac_try) 2>&5 
    2193   ac_status=$? 
    2194   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2195   (exit $ac_status); }; }; then 
    2196   ac_cv_prog_cc_stdc=$ac_arg 
    2197 break 
    2198 else 
    2199   echo "$as_me: failed program was:" >&5 
    2200 sed 's/^/| /' conftest.$ac_ext >&5 
    2201  
    2202 fi 
    2203 rm -f conftest.err conftest.$ac_objext 
    2204 done 
    2205 rm -f conftest.$ac_ext conftest.$ac_objext 
    2206 CC=$ac_save_CC 
    2207  
    2208 fi 
    2209  
    2210 case "x$ac_cv_prog_cc_stdc" in 
    2211   x|xno) 
    2212     echo "$as_me:$LINENO: result: none needed" >&5 
    2213 echo "${ECHO_T}none needed" >&6 ;; 
    2214   *) 
    2215     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
    2216 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
    2217     CC="$CC $ac_cv_prog_cc_stdc" ;; 
    2218 esac 
    2219  
    22201646# Some people use a C++ compiler to compile C.  Since we use `exit', 
    22211647# in C++ we need to declare it.  In case someone uses the same compiler 
     
    22281654_ACEOF 
    22291655rm -f conftest.$ac_objext 
    2230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2231   (eval $ac_compile) 2>conftest.er1 
    2232   ac_status=$? 
    2233   grep -v '^ *+' conftest.er1 >conftest.err 
    2234   rm -f conftest.er1 
    2235   cat conftest.err >&5 
    2236   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1656if { (eval echo "$as_me:1656: \"$ac_compile\"") >&5 
     1657  (eval $ac_compile) 2>&5 
     1658  ac_status=$? 
     1659  echo "$as_me:1659: \$? = $ac_status" >&5 
    22371660  (exit $ac_status); } && 
    2238          { ac_try='test -z "$ac_c_werror_flag" 
    2239                          || test ! -s conftest.err' 
    2240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1661         { ac_try='test -s conftest.$ac_objext' 
     1662  { (eval echo "$as_me:1662: \"$ac_try\"") >&5 
    22411663  (eval $ac_try) 2>&5 
    22421664  ac_status=$? 
    2243   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2244   (exit $ac_status); }; } && 
    2245          { ac_try='test -s conftest.$ac_objext' 
    2246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2247   (eval $ac_try) 2>&5 
    2248   ac_status=$? 
    2249   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1665  echo "$as_me:1665: \$? = $ac_status" >&5 
    22501666  (exit $ac_status); }; }; then 
    22511667  for ac_declaration in \ 
    2252    '' \ 
     1668   ''\ 
     1669   '#include <stdlib.h>' \ 
    22531670   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
    22541671   'extern "C" void std::exit (int); using std::exit;' \ 
     
    22581675do 
    22591676  cat >conftest.$ac_ext <<_ACEOF 
    2260 /* confdefs.h.  */ 
    2261 _ACEOF 
    2262 cat confdefs.h >>conftest.$ac_ext 
    2263 cat >>conftest.$ac_ext <<_ACEOF 
    2264 /* end confdefs.h.  */ 
    2265 $ac_declaration 
     1677#line 1677 "configure" 
     1678#include "confdefs.h" 
    22661679#include <stdlib.h> 
    2267 int 
    2268 main () 
    2269 { 
    2270 exit (42); 
    2271   ; 
    2272   return 0; 
    2273 } 
    2274 _ACEOF 
    2275 rm -f conftest.$ac_objext 
    2276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2277   (eval $ac_compile) 2>conftest.er1 
    2278   ac_status=$? 
    2279   grep -v '^ *+' conftest.er1 >conftest.err 
    2280   rm -f conftest.er1 
    2281   cat conftest.err >&5 
    2282   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2283   (exit $ac_status); } && 
    2284          { ac_try='test -z "$ac_c_werror_flag" 
    2285                          || test ! -s conftest.err' 
    2286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2287   (eval $ac_try) 2>&5 
    2288   ac_status=$? 
    2289   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2290   (exit $ac_status); }; } && 
    2291          { ac_try='test -s conftest.$ac_objext' 
    2292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2293   (eval $ac_try) 2>&5 
    2294   ac_status=$? 
    2295   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2296   (exit $ac_status); }; }; then 
    2297   : 
    2298 else 
    2299   echo "$as_me: failed program was:" >&5 
    2300 sed 's/^/| /' conftest.$ac_ext >&5 
    2301  
    2302 continue 
    2303 fi 
    2304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    2305   cat >conftest.$ac_ext <<_ACEOF 
    2306 /* confdefs.h.  */ 
    2307 _ACEOF 
    2308 cat confdefs.h >>conftest.$ac_ext 
    2309 cat >>conftest.$ac_ext <<_ACEOF 
    2310 /* end confdefs.h.  */ 
    23111680$ac_declaration 
    23121681int 
     
    23191688_ACEOF 
    23201689rm -f conftest.$ac_objext 
    2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2322   (eval $ac_compile) 2>conftest.er1 
    2323   ac_status=$? 
    2324   grep -v '^ *+' conftest.er1 >conftest.err 
    2325   rm -f conftest.er1 
    2326   cat conftest.err >&5 
    2327   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1690if { (eval echo "$as_me:1690: \"$ac_compile\"") >&5 
     1691  (eval $ac_compile) 2>&5 
     1692  ac_status=$? 
     1693  echo "$as_me:1693: \$? = $ac_status" >&5 
    23281694  (exit $ac_status); } && 
    2329          { ac_try='test -z "$ac_c_werror_flag" 
    2330                          || test ! -s conftest.err' 
    2331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1695         { ac_try='test -s conftest.$ac_objext' 
     1696  { (eval echo "$as_me:1696: \"$ac_try\"") >&5 
    23321697  (eval $ac_try) 2>&5 
    23331698  ac_status=$? 
    2334   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2335   (exit $ac_status); }; } && 
    2336          { ac_try='test -s conftest.$ac_objext' 
    2337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1699  echo "$as_me:1699: \$? = $ac_status" >&5 
     1700  (exit $ac_status); }; }; then 
     1701  : 
     1702else 
     1703  echo "$as_me: failed program was:" >&5 
     1704cat conftest.$ac_ext >&5 
     1705continue 
     1706fi 
     1707rm -f conftest.$ac_objext conftest.$ac_ext 
     1708  cat >conftest.$ac_ext <<_ACEOF 
     1709#line 1709 "configure" 
     1710#include "confdefs.h" 
     1711$ac_declaration 
     1712int 
     1713main () 
     1714{ 
     1715exit (42); 
     1716  ; 
     1717  return 0; 
     1718} 
     1719_ACEOF 
     1720rm -f conftest.$ac_objext 
     1721if { (eval echo "$as_me:1721: \"$ac_compile\"") >&5 
     1722  (eval $ac_compile) 2>&5 
     1723  ac_status=$? 
     1724  echo "$as_me:1724: \$? = $ac_status" >&5 
     1725  (exit $ac_status); } && 
     1726         { ac_try='test -s conftest.$ac_objext' 
     1727  { (eval echo "$as_me:1727: \"$ac_try\"") >&5 
    23381728  (eval $ac_try) 2>&5 
    23391729  ac_status=$? 
    2340   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1730  echo "$as_me:1730: \$? = $ac_status" >&5 
    23411731  (exit $ac_status); }; }; then 
    23421732  break 
    23431733else 
    23441734  echo "$as_me: failed program was:" >&5 
    2345 sed 's/^/| /' conftest.$ac_ext >&5 
    2346  
    2347 fi 
    2348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1735cat conftest.$ac_ext >&5 
     1736fi 
     1737rm -f conftest.$ac_objext conftest.$ac_ext 
    23491738done 
    23501739rm -f conftest* 
     
    23571746else 
    23581747  echo "$as_me: failed program was:" >&5 
    2359 sed 's/^/| /' conftest.$ac_ext >&5 
    2360  
    2361 fi 
    2362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1748cat conftest.$ac_ext >&5 
     1749fi 
     1750rm -f conftest.$ac_objext conftest.$ac_ext 
    23631751ac_ext=c 
    23641752ac_cpp='$CPP $CPPFLAGS' 
     
    23771765    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    23781766set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    2379 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1767echo "$as_me:1767: checking for $ac_word" >&5 
    23801768echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    23811769if test "${ac_cv_prog_CXX+set}" = set; then 
     
    23851773  ac_cv_prog_CXX="$CXX" # Let the user override the test. 
    23861774else 
    2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2388 for as_dir in $PATH 
    2389 do 
    2390   IFS=$as_save_IFS 
    2391   test -z "$as_dir" && as_dir=. 
    2392   for ac_exec_ext in '' $ac_executable_extensions; do 
    2393   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2394     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    2395     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2396     break 2 
    2397   fi 
    2398 done 
     1775  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1776ac_dummy="$PATH" 
     1777for ac_dir in $ac_dummy; do 
     1778  IFS=$ac_save_IFS 
     1779  test -z "$ac_dir" && ac_dir=. 
     1780  $as_executable_p "$ac_dir/$ac_word" || continue 
     1781ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
     1782echo "$as_me:1782: found $ac_dir/$ac_word" >&5 
     1783break 
    23991784done 
    24001785 
     
    24031788CXX=$ac_cv_prog_CXX 
    24041789if test -n "$CXX"; then 
    2405   echo "$as_me:$LINENO: result: $CXX" >&5 
     1790  echo "$as_me:1790: result: $CXX" >&5 
    24061791echo "${ECHO_T}$CXX" >&6 
    24071792else 
    2408   echo "$as_me:$LINENO: result: no" >&5 
     1793  echo "$as_me:1793: result: no" >&5 
    24091794echo "${ECHO_T}no" >&6 
    24101795fi 
     
    24191804  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    24201805set dummy $ac_prog; ac_word=$2 
    2421 echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1806echo "$as_me:1806: checking for $ac_word" >&5 
    24221807echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    24231808if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     
    24271812  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
    24281813else 
    2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2430 for as_dir in $PATH 
    2431 do 
    2432   IFS=$as_save_IFS 
    2433   test -z "$as_dir" && as_dir=. 
    2434   for ac_exec_ext in '' $ac_executable_extensions; do 
    2435   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2436     ac_cv_prog_ac_ct_CXX="$ac_prog" 
    2437     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2438     break 2 
    2439   fi 
    2440 done 
     1814  ac_save_IFS=$IFS; IFS=$ac_path_separator 
     1815ac_dummy="$PATH" 
     1816for ac_dir in $ac_dummy; do 
     1817  IFS=$ac_save_IFS 
     1818  test -z "$ac_dir" && ac_dir=. 
     1819  $as_executable_p "$ac_dir/$ac_word" || continue 
     1820ac_cv_prog_ac_ct_CXX="$ac_prog" 
     1821echo "$as_me:1821: found $ac_dir/$ac_word" >&5 
     1822break 
    24411823done 
    24421824 
     
    24451827ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    24461828if test -n "$ac_ct_CXX"; then 
    2447   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     1829  echo "$as_me:1829: result: $ac_ct_CXX" >&5 
    24481830echo "${ECHO_T}$ac_ct_CXX" >&6 
    24491831else 
    2450   echo "$as_me:$LINENO: result: no" >&5 
     1832  echo "$as_me:1832: result: no" >&5 
    24511833echo "${ECHO_T}no" >&6 
    24521834fi 
     
    24591841fi 
    24601842 
    2461  
    24621843# Provide some information about the compiler. 
    2463 echo "$as_me:$LINENO:" \ 
     1844echo "$as_me:1844:" \ 
    24641845     "checking for C++ compiler version" >&5 
    24651846ac_compiler=`set X $ac_compile; echo $2` 
    2466 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
     1847{ (eval echo "$as_me:1847: \"$ac_compiler --version </dev/null >&5\"") >&5 
    24671848  (eval $ac_compiler --version </dev/null >&5) 2>&5 
    24681849  ac_status=$? 
    2469   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1850  echo "$as_me:1850: \$? = $ac_status" >&5 
    24701851  (exit $ac_status); } 
    2471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
     1852{ (eval echo "$as_me:1852: \"$ac_compiler -v </dev/null >&5\"") >&5 
    24721853  (eval $ac_compiler -v </dev/null >&5) 2>&5 
    24731854  ac_status=$? 
    2474   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1855  echo "$as_me:1855: \$? = $ac_status" >&5 
    24751856  (exit $ac_status); } 
    2476 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
     1857{ (eval echo "$as_me:1857: \"$ac_compiler -V </dev/null >&5\"") >&5 
    24771858  (eval $ac_compiler -V </dev/null >&5) 2>&5 
    24781859  ac_status=$? 
    2479   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1860  echo "$as_me:1860: \$? = $ac_status" >&5 
    24801861  (exit $ac_status); } 
    24811862 
    2482 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     1863echo "$as_me:1863: checking whether we are using the GNU C++ compiler" >&5 
    24831864echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 
    24841865if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     
    24861867else 
    24871868  cat >conftest.$ac_ext <<_ACEOF 
    2488 /* confdefs.h.  */ 
    2489 _ACEOF 
    2490 cat confdefs.h >>conftest.$ac_ext 
    2491 cat >>conftest.$ac_ext <<_ACEOF 
    2492 /* end confdefs.h.  */ 
     1869#line 1869 "configure" 
     1870#include "confdefs.h" 
    24931871 
    24941872int 
     
    25041882_ACEOF 
    25051883rm -f conftest.$ac_objext 
    2506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2507   (eval $ac_compile) 2>conftest.er1 
    2508   ac_status=$? 
    2509   grep -v '^ *+' conftest.er1 >conftest.err 
    2510   rm -f conftest.er1 
    2511   cat conftest.err >&5 
    2512   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1884if { (eval echo "$as_me:1884: \"$ac_compile\"") >&5 
     1885  (eval $ac_compile) 2>&5 
     1886  ac_status=$? 
     1887  echo "$as_me:1887: \$? = $ac_status" >&5 
    25131888  (exit $ac_status); } && 
    2514          { ac_try='test -z "$ac_cxx_werror_flag" 
    2515                          || test ! -s conftest.err' 
    2516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1889         { ac_try='test -s conftest.$ac_objext' 
     1890  { (eval echo "$as_me:1890: \"$ac_try\"") >&5 
    25171891  (eval $ac_try) 2>&5 
    25181892  ac_status=$? 
    2519   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2520   (exit $ac_status); }; } && 
    2521          { ac_try='test -s conftest.$ac_objext' 
    2522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2523   (eval $ac_try) 2>&5 
    2524   ac_status=$? 
    2525   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1893  echo "$as_me:1893: \$? = $ac_status" >&5 
    25261894  (exit $ac_status); }; }; then 
    25271895  ac_compiler_gnu=yes 
    25281896else 
    25291897  echo "$as_me: failed program was:" >&5 
    2530 sed 's/^/| /' conftest.$ac_ext >&5 
    2531  
     1898cat conftest.$ac_ext >&5 
    25321899ac_compiler_gnu=no 
    25331900fi 
    2534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1901rm -f conftest.$ac_objext conftest.$ac_ext 
    25351902ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
    25361903 
    25371904fi 
    2538 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     1905echo "$as_me:1905: result: $ac_cv_cxx_compiler_gnu" >&5 
    25391906echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 
    25401907GXX=`test $ac_compiler_gnu = yes && echo yes` 
     
    25421909ac_save_CXXFLAGS=$CXXFLAGS 
    25431910CXXFLAGS="-g" 
    2544 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     1911echo "$as_me:1911: checking whether $CXX accepts -g" >&5 
    25451912echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 
    25461913if test "${ac_cv_prog_cxx_g+set}" = set; then 
     
    25481915else 
    25491916  cat >conftest.$ac_ext <<_ACEOF 
    2550 /* confdefs.h.  */ 
    2551 _ACEOF 
    2552 cat confdefs.h >>conftest.$ac_ext 
    2553 cat >>conftest.$ac_ext <<_ACEOF 
    2554 /* end confdefs.h.  */ 
     1917#line 1917 "configure" 
     1918#include "confdefs.h" 
    25551919 
    25561920int 
     
    25631927_ACEOF 
    25641928rm -f conftest.$ac_objext 
    2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2566   (eval $ac_compile) 2>conftest.er1 
    2567   ac_status=$? 
    2568   grep -v '^ *+' conftest.er1 >conftest.err 
    2569   rm -f conftest.er1 
    2570   cat conftest.err >&5 
    2571   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1929if { (eval echo "$as_me:1929: \"$ac_compile\"") >&5 
     1930  (eval $ac_compile) 2>&5 
     1931  ac_status=$? 
     1932  echo "$as_me:1932: \$? = $ac_status" >&5 
    25721933  (exit $ac_status); } && 
    2573          { ac_try='test -z "$ac_cxx_werror_flag" 
    2574                          || test ! -s conftest.err' 
    2575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1934         { ac_try='test -s conftest.$ac_objext' 
     1935  { (eval echo "$as_me:1935: \"$ac_try\"") >&5 
    25761936  (eval $ac_try) 2>&5 
    25771937  ac_status=$? 
    2578   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2579   (exit $ac_status); }; } && 
    2580          { ac_try='test -s conftest.$ac_objext' 
    2581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2582   (eval $ac_try) 2>&5 
    2583   ac_status=$? 
    2584   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1938  echo "$as_me:1938: \$? = $ac_status" >&5 
    25851939  (exit $ac_status); }; }; then 
    25861940  ac_cv_prog_cxx_g=yes 
    25871941else 
    25881942  echo "$as_me: failed program was:" >&5 
    2589 sed 's/^/| /' conftest.$ac_ext >&5 
    2590  
     1943cat conftest.$ac_ext >&5 
    25911944ac_cv_prog_cxx_g=no 
    25921945fi 
    2593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    2594 fi 
    2595 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     1946rm -f conftest.$ac_objext conftest.$ac_ext 
     1947fi 
     1948echo "$as_me:1948: result: $ac_cv_prog_cxx_g" >&5 
    25961949echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 
    25971950if test "$ac_test_CXXFLAGS" = set; then 
     
    26111964fi 
    26121965for ac_declaration in \ 
    2613    '' \ 
     1966   ''\ 
     1967   '#include <stdlib.h>' \ 
    26141968   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
    26151969   'extern "C" void std::exit (int); using std::exit;' \ 
     
    26191973do 
    26201974  cat >conftest.$ac_ext <<_ACEOF 
    2621 /* confdefs.h.  */ 
    2622 _ACEOF 
    2623 cat confdefs.h >>conftest.$ac_ext 
    2624 cat >>conftest.$ac_ext <<_ACEOF 
    2625 /* end confdefs.h.  */ 
    2626 $ac_declaration 
     1975#line 1975 "configure" 
     1976#include "confdefs.h" 
    26271977#include <stdlib.h> 
    2628 int 
    2629 main () 
    2630 { 
    2631 exit (42); 
    2632   ; 
    2633   return 0; 
    2634 } 
    2635 _ACEOF 
    2636 rm -f conftest.$ac_objext 
    2637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2638   (eval $ac_compile) 2>conftest.er1 
    2639   ac_status=$? 
    2640   grep -v '^ *+' conftest.er1 >conftest.err 
    2641   rm -f conftest.er1 
    2642   cat conftest.err >&5 
    2643   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2644   (exit $ac_status); } && 
    2645          { ac_try='test -z "$ac_cxx_werror_flag" 
    2646                          || test ! -s conftest.err' 
    2647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2648   (eval $ac_try) 2>&5 
    2649   ac_status=$? 
    2650   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2651   (exit $ac_status); }; } && 
    2652          { ac_try='test -s conftest.$ac_objext' 
    2653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2654   (eval $ac_try) 2>&5 
    2655   ac_status=$? 
    2656   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2657   (exit $ac_status); }; }; then 
    2658   : 
    2659 else 
    2660   echo "$as_me: failed program was:" >&5 
    2661 sed 's/^/| /' conftest.$ac_ext >&5 
    2662  
    2663 continue 
    2664 fi 
    2665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    2666   cat >conftest.$ac_ext <<_ACEOF 
    2667 /* confdefs.h.  */ 
    2668 _ACEOF 
    2669 cat confdefs.h >>conftest.$ac_ext 
    2670 cat >>conftest.$ac_ext <<_ACEOF 
    2671 /* end confdefs.h.  */ 
    26721978$ac_declaration 
    26731979int 
     
    26801986_ACEOF 
    26811987rm -f conftest.$ac_objext 
    2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2683   (eval $ac_compile) 2>conftest.er1 
    2684   ac_status=$? 
    2685   grep -v '^ *+' conftest.er1 >conftest.err 
    2686   rm -f conftest.er1 
    2687   cat conftest.err >&5 
    2688   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1988if { (eval echo "$as_me:1988: \"$ac_compile\"") >&5 
     1989  (eval $ac_compile) 2>&5 
     1990  ac_status=$? 
     1991  echo "$as_me:1991: \$? = $ac_status" >&5 
    26891992  (exit $ac_status); } && 
    2690          { ac_try='test -z "$ac_cxx_werror_flag" 
    2691                          || test ! -s conftest.err' 
    2692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1993         { ac_try='test -s conftest.$ac_objext' 
     1994  { (eval echo "$as_me:1994: \"$ac_try\"") >&5 
    26931995  (eval $ac_try) 2>&5 
    26941996  ac_status=$? 
    2695   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2696   (exit $ac_status); }; } && 
    2697          { ac_try='test -s conftest.$ac_objext' 
    2698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1997  echo "$as_me:1997: \$? = $ac_status" >&5 
     1998  (exit $ac_status); }; }; then 
     1999  : 
     2000else 
     2001  echo "$as_me: failed program was:" >&5 
     2002cat conftest.$ac_ext >&5 
     2003continue 
     2004fi 
     2005rm -f conftest.$ac_objext conftest.$ac_ext 
     2006  cat >conftest.$ac_ext <<_ACEOF 
     2007#line 2007 "configure" 
     2008#include "confdefs.h" 
     2009$ac_declaration 
     2010int 
     2011main () 
     2012{ 
     2013exit (42); 
     2014  ; 
     2015  return 0; 
     2016} 
     2017_ACEOF 
     2018rm -f conftest.$ac_objext 
     2019if { (eval echo "$as_me:2019: \"$ac_compile\"") >&5 
     2020  (eval $ac_compile) 2>&5 
     2021  ac_status=$? 
     2022  echo "$as_me:2022: \$? = $ac_status" >&5 
     2023  (exit $ac_status); } && 
     2024         { ac_try='test -s conftest.$ac_objext' 
     2025  { (eval echo "$as_me:2025: \"$ac_try\"") >&5 
    26992026  (eval $ac_try) 2>&5 
    27002027  ac_status=$? 
    2701   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2028  echo "$as_me:2028: \$? = $ac_status" >&5 
    27022029  (exit $ac_status); }; }; then 
    27032030  break 
    27042031else 
    27052032  echo "$as_me: failed program was:" >&5 
    2706 sed 's/^/| /' conftest.$ac_ext >&5 
    2707  
    2708 fi 
    2709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2033cat conftest.$ac_ext >&5 
     2034fi 
     2035rm -f conftest.$ac_objext conftest.$ac_ext 
    27102036done 
    27112037rm -f conftest* 
     
    27282054ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    27292055 
    2730  
    2731  
    2732  
    2733 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
     2056echo "$as_me:2056: checking for pthread_create in -lpthread" >&5 
    27342057echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 
    27352058if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     
    27392062LIBS="-lpthread  $LIBS" 
    27402063cat >conftest.$ac_ext <<_ACEOF 
    2741 /* confdefs.h.  */ 
    2742 _ACEOF 
    2743 cat confdefs.h >>conftest.$ac_ext 
    2744 cat >>conftest.$ac_ext <<_ACEOF 
    2745 /* end confdefs.h.  */ 
     2064#line 2064 "configure" 
     2065#include "confdefs.h" 
    27462066 
    27472067/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    27612081_ACEOF 
    27622082rm -f conftest.$ac_objext conftest$ac_exeext 
    2763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    2764   (eval $ac_link) 2>conftest.er1 
    2765   ac_status=$? 
    2766   grep -v '^ *+' conftest.er1 >conftest.err 
    2767   rm -f conftest.er1 
    2768   cat conftest.err >&5 
    2769   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2083if { (eval echo "$as_me:2083: \"$ac_link\"") >&5 
     2084  (eval $ac_link) 2>&5 
     2085  ac_status=$? 
     2086  echo "$as_me:2086: \$? = $ac_status" >&5 
    27702087  (exit $ac_status); } && 
    2771          { ac_try='test -z "$ac_c_werror_flag" 
    2772                          || test ! -s conftest.err' 
    2773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2088         { ac_try='test -s conftest$ac_exeext' 
     2089  { (eval echo "$as_me:2089: \"$ac_try\"") >&5 
    27742090  (eval $ac_try) 2>&5 
    27752091  ac_status=$? 
    2776   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2777   (exit $ac_status); }; } && 
    2778          { ac_try='test -s conftest$ac_exeext' 
    2779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2780   (eval $ac_try) 2>&5 
    2781   ac_status=$? 
    2782   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2092  echo "$as_me:2092: \$? = $ac_status" >&5 
    27832093  (exit $ac_status); }; }; then 
    27842094  ac_cv_lib_pthread_pthread_create=yes 
    27852095else 
    27862096  echo "$as_me: failed program was:" >&5 
    2787 sed 's/^/| /' conftest.$ac_ext >&5 
    2788  
     2097cat conftest.$ac_ext >&5 
    27892098ac_cv_lib_pthread_pthread_create=no 
    27902099fi 
    2791 rm -f conftest.err conftest.$ac_objext \ 
    2792       conftest$ac_exeext conftest.$ac_ext 
     2100rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    27932101LIBS=$ac_check_lib_save_LIBS 
    27942102fi 
    2795 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
     2103echo "$as_me:2103: result: $ac_cv_lib_pthread_pthread_create" >&5 
    27962104echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 
    27972105if test $ac_cv_lib_pthread_pthread_create = yes; then 
    2798   cat >>confdefs.h <<_ACEOF 
     2106  cat >>confdefs.h <<EOF 
    27992107#define HAVE_LIBPTHREAD 1 
    2800 _ACEOF 
     2108EOF 
    28012109 
    28022110  LIBS="-lpthread $LIBS" 
     
    28042112fi 
    28052113 
    2806  
    2807 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
     2114echo "$as_me:2114: result: Setting PJ_M_NAME to $target_cpu" >&5 
    28082115echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 
    2809 cat >>confdefs.h <<_ACEOF 
     2116cat >>confdefs.h <<EOF 
    28102117#define PJ_M_NAME "$target_cpu" 
    2811 _ACEOF 
    2812  
    2813  
    2814 # Endianness detection 
    2815 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
     2118EOF 
     2119 
     2120echo "$as_me:2120: checking whether byte ordering is bigendian" >&5 
    28162121echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 
    28172122if test "${ac_cv_c_bigendian+set}" = set; then 
    28182123  echo $ECHO_N "(cached) $ECHO_C" >&6 
    28192124else 
    2820   # See if sys/param.h defines the BYTE_ORDER macro. 
     2125  ac_cv_c_bigendian=unknown 
     2126# See if sys/param.h defines the BYTE_ORDER macro. 
    28212127cat >conftest.$ac_ext <<_ACEOF 
    2822 /* confdefs.h.  */ 
    2823 _ACEOF 
    2824 cat confdefs.h >>conftest.$ac_ext 
    2825 cat >>conftest.$ac_ext <<_ACEOF 
    2826 /* end confdefs.h.  */ 
     2128#line 2128 "configure" 
     2129#include "confdefs.h" 
    28272130#include <sys/types.h> 
    28282131#include <sys/param.h> 
     
    28402143_ACEOF 
    28412144rm -f conftest.$ac_objext 
    2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2843   (eval $ac_compile) 2>conftest.er1 
    2844   ac_status=$? 
    2845   grep -v '^ *+' conftest.er1 >conftest.err 
    2846   rm -f conftest.er1 
    2847   cat conftest.err >&5 
    2848   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2145if { (eval echo "$as_me:2145: \"$ac_compile\"") >&5 
     2146  (eval $ac_compile) 2>&5 
     2147  ac_status=$? 
     2148  echo "$as_me:2148: \$? = $ac_status" >&5 
    28492149  (exit $ac_status); } && 
    2850          { ac_try='test -z "$ac_c_werror_flag" 
    2851                          || test ! -s conftest.err' 
    2852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2150         { ac_try='test -s conftest.$ac_objext' 
     2151  { (eval echo "$as_me:2151: \"$ac_try\"") >&5 
    28532152  (eval $ac_try) 2>&5 
    28542153  ac_status=$? 
    2855   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2856   (exit $ac_status); }; } && 
    2857          { ac_try='test -s conftest.$ac_objext' 
    2858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2859   (eval $ac_try) 2>&5 
    2860   ac_status=$? 
    2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2154  echo "$as_me:2154: \$? = $ac_status" >&5 
    28622155  (exit $ac_status); }; }; then 
    28632156  # It does; now see whether it defined to BIG_ENDIAN or not. 
    28642157cat >conftest.$ac_ext <<_ACEOF 
    2865 /* confdefs.h.  */ 
    2866 _ACEOF 
    2867 cat confdefs.h >>conftest.$ac_ext 
    2868 cat >>conftest.$ac_ext <<_ACEOF 
    2869 /* end confdefs.h.  */ 
     2158#line 2158 "configure" 
     2159#include "confdefs.h" 
    28702160#include <sys/types.h> 
    28712161#include <sys/param.h> 
     
    28832173_ACEOF 
    28842174rm -f conftest.$ac_objext 
    2885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2886   (eval $ac_compile) 2>conftest.er1 
    2887   ac_status=$? 
    2888   grep -v '^ *+' conftest.er1 >conftest.err 
    2889   rm -f conftest.er1 
    2890   cat conftest.err >&5 
    2891   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2175if { (eval echo "$as_me:2175: \"$ac_compile\"") >&5 
     2176  (eval $ac_compile) 2>&5 
     2177  ac_status=$? 
     2178  echo "$as_me:2178: \$? = $ac_status" >&5 
    28922179  (exit $ac_status); } && 
    2893          { ac_try='test -z "$ac_c_werror_flag" 
    2894                          || test ! -s conftest.err' 
    2895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2180         { ac_try='test -s conftest.$ac_objext' 
     2181  { (eval echo "$as_me:2181: \"$ac_try\"") >&5 
    28962182  (eval $ac_try) 2>&5 
    28972183  ac_status=$? 
    2898   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2899   (exit $ac_status); }; } && 
    2900          { ac_try='test -s conftest.$ac_objext' 
    2901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2902   (eval $ac_try) 2>&5 
    2903   ac_status=$? 
    2904   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2184  echo "$as_me:2184: \$? = $ac_status" >&5 
    29052185  (exit $ac_status); }; }; then 
    29062186  ac_cv_c_bigendian=yes 
    29072187else 
    29082188  echo "$as_me: failed program was:" >&5 
    2909 sed 's/^/| /' conftest.$ac_ext >&5 
    2910  
     2189cat conftest.$ac_ext >&5 
    29112190ac_cv_c_bigendian=no 
    29122191fi 
    2913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2192rm -f conftest.$ac_objext conftest.$ac_ext 
    29142193else 
    29152194  echo "$as_me: failed program was:" >&5 
    2916 sed 's/^/| /' conftest.$ac_ext >&5 
    2917  
    2918 # It does not; compile a test program. 
     2195cat conftest.$ac_ext >&5 
     2196fi 
     2197rm -f conftest.$ac_objext conftest.$ac_ext 
     2198if test $ac_cv_c_bigendian = unknown; then 
    29192199if test "$cross_compiling" = yes; then 
    2920   # try to guess the endianness by grepping values into an object file 
    2921   ac_cv_c_bigendian=unknown 
     2200  { { echo "$as_me:2200: error: cannot run test program while cross compiling" >&5 
     2201echo "$as_me: error: cannot run test program while cross compiling" >&2;} 
     2202   { (exit 1); exit 1; }; } 
     2203else 
    29222204  cat >conftest.$ac_ext <<_ACEOF 
    2923 /* confdefs.h.  */ 
    2924 _ACEOF 
    2925 cat confdefs.h >>conftest.$ac_ext 
    2926 cat >>conftest.$ac_ext <<_ACEOF 
    2927 /* end confdefs.h.  */ 
    2928 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
    2929 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
    2930 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
    2931 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
    2932 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
    2933 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
    2934 int 
    2935 main () 
    2936 { 
    2937  _ascii (); _ebcdic (); 
    2938   ; 
    2939   return 0; 
    2940 } 
    2941 _ACEOF 
    2942 rm -f conftest.$ac_objext 
    2943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    2944   (eval $ac_compile) 2>conftest.er1 
    2945   ac_status=$? 
    2946   grep -v '^ *+' conftest.er1 >conftest.err 
    2947   rm -f conftest.er1 
    2948   cat conftest.err >&5 
    2949   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2950   (exit $ac_status); } && 
    2951          { ac_try='test -z "$ac_c_werror_flag" 
    2952                          || test ! -s conftest.err' 
    2953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2954   (eval $ac_try) 2>&5 
    2955   ac_status=$? 
    2956   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2957   (exit $ac_status); }; } && 
    2958          { ac_try='test -s conftest.$ac_objext' 
    2959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    2960   (eval $ac_try) 2>&5 
    2961   ac_status=$? 
    2962   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2963   (exit $ac_status); }; }; then 
    2964   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
    2965   ac_cv_c_bigendian=yes 
    2966 fi 
    2967 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
    2968   if test "$ac_cv_c_bigendian" = unknown; then 
    2969     ac_cv_c_bigendian=no 
    2970   else 
    2971     # finding both strings is unlikely to happen, but who knows? 
    2972     ac_cv_c_bigendian=unknown 
    2973   fi 
    2974 fi 
    2975 else 
    2976   echo "$as_me: failed program was:" >&5 
    2977 sed 's/^/| /' conftest.$ac_ext >&5 
    2978  
    2979 fi 
    2980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    2981 else 
    2982   cat >conftest.$ac_ext <<_ACEOF 
    2983 /* confdefs.h.  */ 
    2984 _ACEOF 
    2985 cat confdefs.h >>conftest.$ac_ext 
    2986 cat >>conftest.$ac_ext <<_ACEOF 
    2987 /* end confdefs.h.  */ 
     2205#line 2205 "configure" 
     2206#include "confdefs.h" 
    29882207int 
    29892208main () 
     
    30002219_ACEOF 
    30012220rm -f conftest$ac_exeext 
    3002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2221if { (eval echo "$as_me:2221: \"$ac_link\"") >&5 
    30032222  (eval $ac_link) 2>&5 
    30042223  ac_status=$? 
    3005   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2224  echo "$as_me:2224: \$? = $ac_status" >&5 
    30062225  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    3007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2226  { (eval echo "$as_me:2226: \"$ac_try\"") >&5 
    30082227  (eval $ac_try) 2>&5 
    30092228  ac_status=$? 
    3010   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2229  echo "$as_me:2229: \$? = $ac_status" >&5 
    30112230  (exit $ac_status); }; }; then 
    30122231  ac_cv_c_bigendian=no 
     
    30142233  echo "$as_me: program exited with status $ac_status" >&5 
    30152234echo "$as_me: failed program was:" >&5 
    3016 sed 's/^/| /' conftest.$ac_ext >&5 
    3017  
    3018 ( exit $ac_status ) 
     2235cat conftest.$ac_ext >&5 
    30192236ac_cv_c_bigendian=yes 
    30202237fi 
    3021 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    3022 fi 
    3023 fi 
    3024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    3025 fi 
    3026 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
     2238rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     2239fi 
     2240fi 
     2241fi 
     2242echo "$as_me:2242: result: $ac_cv_c_bigendian" >&5 
    30272243echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
    3028 case $ac_cv_c_bigendian in 
    3029   yes) 
    3030     ac_bigendian=1 
    3031  
    3032                 cat >>confdefs.h <<\_ACEOF 
    3033 #define PJ_IS_LITTLE_ENDIAN 0 
    3034 _ACEOF 
    3035  
    3036                 cat >>confdefs.h <<\_ACEOF 
    3037 #define PJ_IS_BIG_ENDIAN 1 
    3038 _ACEOF 
    3039  
    3040                 ;; 
    3041   no) 
    3042     ac_bigendian=0 
    3043  
    3044                 cat >>confdefs.h <<\_ACEOF 
    3045 #define PJ_IS_LITTLE_ENDIAN 1 
    3046 _ACEOF 
    3047  
    3048                 cat >>confdefs.h <<\_ACEOF 
    3049 #define PJ_IS_BIG_ENDIAN 0 
    3050 _ACEOF 
    3051  
    3052                 ;; 
    3053   *) 
    3054     { { echo "$as_me:$LINENO: error: unknown endianness 
    3055 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
    3056 echo "$as_me: error: unknown endianness 
    3057 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
    3058    { (exit 1); exit 1; }; } ;; 
    3059 esac 
    3060  
    3061  
    3062 # --disable-floating-point option 
     2244if test $ac_cv_c_bigendian = yes; then 
     2245 
     2246cat >>confdefs.h <<\EOF 
     2247#define WORDS_BIGENDIAN 1 
     2248EOF 
     2249 
     2250fi 
     2251 
    30632252# Check whether --enable-floating-point or --disable-floating-point was given. 
    30642253if test "${enable_floating_point+set}" = set; then 
    30652254  enableval="$enable_floating_point" 
    30662255  if test "$enable_floating_point" = "no"; then 
    3067                 cat >>confdefs.h <<\_ACEOF 
     2256                cat >>confdefs.h <<\EOF 
    30682257#define PJ_HAS_FLOATING_POINT 0 
    3069 _ACEOF 
    3070  
    3071                 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
     2258EOF 
     2259 
     2260                echo "$as_me:2260: result: Checking if floating point is disabled... yes" >&5 
    30722261echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 
    30732262               fi 
    30742263else 
    30752264 
    3076                 cat >>confdefs.h <<\_ACEOF 
     2265                cat >>confdefs.h <<\EOF 
    30772266#define PJ_HAS_FLOATING_POINT 1 
    3078 _ACEOF 
    3079  
    3080                 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
     2267EOF 
     2268 
     2269                echo "$as_me:2269: result: Checking if floating point is disabled... no" >&5 
    30812270echo "${ECHO_T}Checking if floating point is disabled... no" >&6 
    30822271 
    3083 echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
     2272echo "$as_me:2272: checking for fmod in -lm" >&5 
    30842273echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 
    30852274if test "${ac_cv_lib_m_fmod+set}" = set; then 
     
    30892278LIBS="-lm  $LIBS" 
    30902279cat >conftest.$ac_ext <<_ACEOF 
    3091 /* confdefs.h.  */ 
    3092 _ACEOF 
    3093 cat confdefs.h >>conftest.$ac_ext 
    3094 cat >>conftest.$ac_ext <<_ACEOF 
    3095 /* end confdefs.h.  */ 
     2280#line 2280 "configure" 
     2281#include "confdefs.h" 
    30962282 
    30972283/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    31112297_ACEOF 
    31122298rm -f conftest.$ac_objext conftest$ac_exeext 
    3113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    3114   (eval $ac_link) 2>conftest.er1 
    3115   ac_status=$? 
    3116   grep -v '^ *+' conftest.er1 >conftest.err 
    3117   rm -f conftest.er1 
    3118   cat conftest.err >&5 
    3119   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2299if { (eval echo "$as_me:2299: \"$ac_link\"") >&5 
     2300  (eval $ac_link) 2>&5 
     2301  ac_status=$? 
     2302  echo "$as_me:2302: \$? = $ac_status" >&5 
    31202303  (exit $ac_status); } && 
    3121          { ac_try='test -z "$ac_c_werror_flag" 
    3122                          || test ! -s conftest.err' 
    3123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2304         { ac_try='test -s conftest$ac_exeext' 
     2305  { (eval echo "$as_me:2305: \"$ac_try\"") >&5 
    31242306  (eval $ac_try) 2>&5 
    31252307  ac_status=$? 
    3126   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3127   (exit $ac_status); }; } && 
    3128          { ac_try='test -s conftest$ac_exeext' 
    3129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3130   (eval $ac_try) 2>&5 
    3131   ac_status=$? 
    3132   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2308  echo "$as_me:2308: \$? = $ac_status" >&5 
    31332309  (exit $ac_status); }; }; then 
    31342310  ac_cv_lib_m_fmod=yes 
    31352311else 
    31362312  echo "$as_me: failed program was:" >&5 
    3137 sed 's/^/| /' conftest.$ac_ext >&5 
    3138  
     2313cat conftest.$ac_ext >&5 
    31392314ac_cv_lib_m_fmod=no 
    31402315fi 
    3141 rm -f conftest.err conftest.$ac_objext \ 
    3142       conftest$ac_exeext conftest.$ac_ext 
     2316rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    31432317LIBS=$ac_check_lib_save_LIBS 
    31442318fi 
    3145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
     2319echo "$as_me:2319: result: $ac_cv_lib_m_fmod" >&5 
    31462320echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 
    31472321if test $ac_cv_lib_m_fmod = yes; then 
    3148   cat >>confdefs.h <<_ACEOF 
     2322  cat >>confdefs.h <<EOF 
    31492323#define HAVE_LIBM 1 
    3150 _ACEOF 
     2324EOF 
    31512325 
    31522326  LIBS="-lm $LIBS" 
     
    31542328fi 
    31552329 
    3156  
    31572330fi; 
    3158  
    31592331 
    31602332ac_ext=c 
     
    31632335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    31642336ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    3165 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     2337echo "$as_me:2337: checking how to run the C preprocessor" >&5 
    31662338echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
    31672339# On Suns, sometimes $CPP names a directory. 
     
    31812353  # Use a header file that comes with gcc, so configuring glibc 
    31822354  # with a fresh cross-compiler works. 
    3183   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    3184   # <limits.h> exists even on freestanding compilers. 
    31852355  # On the NeXT, cc -E runs the code through the compiler's parser, 
    31862356  # not just through cpp. "Syntax error" is here to catch this case. 
    31872357  cat >conftest.$ac_ext <<_ACEOF 
    3188 /* confdefs.h.  */ 
    3189 _ACEOF 
    3190 cat confdefs.h >>conftest.$ac_ext 
    3191 cat >>conftest.$ac_ext <<_ACEOF 
    3192 /* end confdefs.h.  */ 
    3193 #ifdef __STDC__ 
    3194 # include <limits.h> 
    3195 #else 
    3196 # include <assert.h> 
    3197 #endif 
    3198                      Syntax error 
    3199 _ACEOF 
    3200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2358#line 2358 "configure" 
     2359#include "confdefs.h" 
     2360#include <assert.h> 
     2361                     Syntax error 
     2362_ACEOF 
     2363if { (eval echo "$as_me:2363: \"$ac_cpp conftest.$ac_ext\"") >&5 
    32012364  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    32022365  ac_status=$? 
    3203   grep -v '^ *+' conftest.er1 >conftest.err 
     2366  egrep -v '^ *\+' conftest.er1 >conftest.err 
    32042367  rm -f conftest.er1 
    32052368  cat conftest.err >&5 
    3206   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2369  echo "$as_me:2369: \$? = $ac_status" >&5 
    32072370  (exit $ac_status); } >/dev/null; then 
    32082371  if test -s conftest.err; then 
    32092372    ac_cpp_err=$ac_c_preproc_warn_flag 
    3210     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    32112373  else 
    32122374    ac_cpp_err= 
     
    32192381else 
    32202382  echo "$as_me: failed program was:" >&5 
    3221 sed 's/^/| /' conftest.$ac_ext >&5 
    3222  
     2383  cat conftest.$ac_ext >&5 
    32232384  # Broken: fails on valid input. 
    32242385continue 
     
    32292390  # can be detected and how. 
    32302391  cat >conftest.$ac_ext <<_ACEOF 
    3231 /* confdefs.h.  */ 
    3232 _ACEOF 
    3233 cat confdefs.h >>conftest.$ac_ext 
    3234 cat >>conftest.$ac_ext <<_ACEOF 
    3235 /* end confdefs.h.  */ 
     2392#line 2392 "configure" 
     2393#include "confdefs.h" 
    32362394#include <ac_nonexistent.h> 
    32372395_ACEOF 
    3238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2396if { (eval echo "$as_me:2396: \"$ac_cpp conftest.$ac_ext\"") >&5 
    32392397  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    32402398  ac_status=$? 
    3241   grep -v '^ *+' conftest.er1 >conftest.err 
     2399  egrep -v '^ *\+' conftest.er1 >conftest.err 
    32422400  rm -f conftest.er1 
    32432401  cat conftest.err >&5 
    3244   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2402  echo "$as_me:2402: \$? = $ac_status" >&5 
    32452403  (exit $ac_status); } >/dev/null; then 
    32462404  if test -s conftest.err; then 
    32472405    ac_cpp_err=$ac_c_preproc_warn_flag 
    3248     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    32492406  else 
    32502407    ac_cpp_err= 
     
    32582415else 
    32592416  echo "$as_me: failed program was:" >&5 
    3260 sed 's/^/| /' conftest.$ac_ext >&5 
    3261  
     2417  cat conftest.$ac_ext >&5 
    32622418  # Passes both tests. 
    32632419ac_preproc_ok=: 
     
    32812437  ac_cv_prog_CPP=$CPP 
    32822438fi 
    3283 echo "$as_me:$LINENO: result: $CPP" >&5 
     2439echo "$as_me:2439: result: $CPP" >&5 
    32842440echo "${ECHO_T}$CPP" >&6 
    32852441ac_preproc_ok=false 
     
    32882444  # Use a header file that comes with gcc, so configuring glibc 
    32892445  # with a fresh cross-compiler works. 
    3290   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    3291   # <limits.h> exists even on freestanding compilers. 
    32922446  # On the NeXT, cc -E runs the code through the compiler's parser, 
    32932447  # not just through cpp. "Syntax error" is here to catch this case. 
    32942448  cat >conftest.$ac_ext <<_ACEOF 
    3295 /* confdefs.h.  */ 
    3296 _ACEOF 
    3297 cat confdefs.h >>conftest.$ac_ext 
    3298 cat >>conftest.$ac_ext <<_ACEOF 
    3299 /* end confdefs.h.  */ 
    3300 #ifdef __STDC__ 
    3301 # include <limits.h> 
    3302 #else 
    3303 # include <assert.h> 
    3304 #endif 
    3305                      Syntax error 
    3306 _ACEOF 
    3307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2449#line 2449 "configure" 
     2450#include "confdefs.h" 
     2451#include <assert.h> 
     2452                     Syntax error 
     2453_ACEOF 
     2454if { (eval echo "$as_me:2454: \"$ac_cpp conftest.$ac_ext\"") >&5 
    33082455  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    33092456  ac_status=$? 
    3310   grep -v '^ *+' conftest.er1 >conftest.err 
     2457  egrep -v '^ *\+' conftest.er1 >conftest.err 
    33112458  rm -f conftest.er1 
    33122459  cat conftest.err >&5 
    3313   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2460  echo "$as_me:2460: \$? = $ac_status" >&5 
    33142461  (exit $ac_status); } >/dev/null; then 
    33152462  if test -s conftest.err; then 
    33162463    ac_cpp_err=$ac_c_preproc_warn_flag 
    3317     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    33182464  else 
    33192465    ac_cpp_err= 
     
    33262472else 
    33272473  echo "$as_me: failed program was:" >&5 
    3328 sed 's/^/| /' conftest.$ac_ext >&5 
    3329  
     2474  cat conftest.$ac_ext >&5 
    33302475  # Broken: fails on valid input. 
    33312476continue 
     
    33362481  # can be detected and how. 
    33372482  cat >conftest.$ac_ext <<_ACEOF 
    3338 /* confdefs.h.  */ 
    3339 _ACEOF 
    3340 cat confdefs.h >>conftest.$ac_ext 
    3341 cat >>conftest.$ac_ext <<_ACEOF 
    3342 /* end confdefs.h.  */ 
     2483#line 2483 "configure" 
     2484#include "confdefs.h" 
    33432485#include <ac_nonexistent.h> 
    33442486_ACEOF 
    3345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2487if { (eval echo "$as_me:2487: \"$ac_cpp conftest.$ac_ext\"") >&5 
    33462488  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    33472489  ac_status=$? 
    3348   grep -v '^ *+' conftest.er1 >conftest.err 
     2490  egrep -v '^ *\+' conftest.er1 >conftest.err 
    33492491  rm -f conftest.er1 
    33502492  cat conftest.err >&5 
    3351   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2493  echo "$as_me:2493: \$? = $ac_status" >&5 
    33522494  (exit $ac_status); } >/dev/null; then 
    33532495  if test -s conftest.err; then 
    33542496    ac_cpp_err=$ac_c_preproc_warn_flag 
    3355     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    33562497  else 
    33572498    ac_cpp_err= 
     
    33652506else 
    33662507  echo "$as_me: failed program was:" >&5 
    3367 sed 's/^/| /' conftest.$ac_ext >&5 
    3368  
     2508  cat conftest.$ac_ext >&5 
    33692509  # Passes both tests. 
    33702510ac_preproc_ok=: 
     
    33792519  : 
    33802520else 
    3381   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    3382 See \`config.log' for more details." >&5 
    3383 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    3384 See \`config.log' for more details." >&2;} 
     2521  { { echo "$as_me:2521: error: C preprocessor \"$CPP\" fails sanity check" >&5 
     2522echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 
    33852523   { (exit 1); exit 1; }; } 
    33862524fi 
     
    33922530ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    33932531 
    3394  
    3395 echo "$as_me:$LINENO: checking for egrep" >&5 
    3396 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
    3397 if test "${ac_cv_prog_egrep+set}" = set; then 
    3398   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3399 else 
    3400   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
    3401     then ac_cv_prog_egrep='grep -E' 
    3402     else ac_cv_prog_egrep='egrep' 
    3403     fi 
    3404 fi 
    3405 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
    3406 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
    3407  EGREP=$ac_cv_prog_egrep 
    3408  
    3409  
    3410 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
    3411 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
    3412 if test "${ac_cv_header_stdc+set}" = set; then 
    3413   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3414 else 
    3415   cat >conftest.$ac_ext <<_ACEOF 
    3416 /* confdefs.h.  */ 
    3417 _ACEOF 
    3418 cat confdefs.h >>conftest.$ac_ext 
    3419 cat >>conftest.$ac_ext <<_ACEOF 
    3420 /* end confdefs.h.  */ 
    3421 #include <stdlib.h> 
    3422 #include <stdarg.h> 
    3423 #include <string.h> 
    3424 #include <float.h> 
    3425  
    3426 int 
    3427 main () 
    3428 { 
    3429  
    3430   ; 
    3431   return 0; 
    3432 } 
    3433 _ACEOF 
    3434 rm -f conftest.$ac_objext 
    3435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    3436   (eval $ac_compile) 2>conftest.er1 
    3437   ac_status=$? 
    3438   grep -v '^ *+' conftest.er1 >conftest.err 
    3439   rm -f conftest.er1 
    3440   cat conftest.err >&5 
    3441   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3442   (exit $ac_status); } && 
    3443          { ac_try='test -z "$ac_c_werror_flag" 
    3444                          || test ! -s conftest.err' 
    3445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3446   (eval $ac_try) 2>&5 
    3447   ac_status=$? 
    3448   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3449   (exit $ac_status); }; } && 
    3450          { ac_try='test -s conftest.$ac_objext' 
    3451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3452   (eval $ac_try) 2>&5 
    3453   ac_status=$? 
    3454   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3455   (exit $ac_status); }; }; then 
    3456   ac_cv_header_stdc=yes 
    3457 else 
    3458   echo "$as_me: failed program was:" >&5 
    3459 sed 's/^/| /' conftest.$ac_ext >&5 
    3460  
    3461 ac_cv_header_stdc=no 
    3462 fi 
    3463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    3464  
    3465 if test $ac_cv_header_stdc = yes; then 
    3466   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    3467   cat >conftest.$ac_ext <<_ACEOF 
    3468 /* confdefs.h.  */ 
    3469 _ACEOF 
    3470 cat confdefs.h >>conftest.$ac_ext 
    3471 cat >>conftest.$ac_ext <<_ACEOF 
    3472 /* end confdefs.h.  */ 
    3473 #include <string.h> 
    3474  
    3475 _ACEOF 
    3476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    3477   $EGREP "memchr" >/dev/null 2>&1; then 
    3478   : 
    3479 else 
    3480   ac_cv_header_stdc=no 
    3481 fi 
    3482 rm -f conftest* 
    3483  
    3484 fi 
    3485  
    3486 if test $ac_cv_header_stdc = yes; then 
    3487   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    3488   cat >conftest.$ac_ext <<_ACEOF 
    3489 /* confdefs.h.  */ 
    3490 _ACEOF 
    3491 cat confdefs.h >>conftest.$ac_ext 
    3492 cat >>conftest.$ac_ext <<_ACEOF 
    3493 /* end confdefs.h.  */ 
    3494 #include <stdlib.h> 
    3495  
    3496 _ACEOF 
    3497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    3498   $EGREP "free" >/dev/null 2>&1; then 
    3499   : 
    3500 else 
    3501   ac_cv_header_stdc=no 
    3502 fi 
    3503 rm -f conftest* 
    3504  
    3505 fi 
    3506  
    3507 if test $ac_cv_header_stdc = yes; then 
    3508   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    3509   if test "$cross_compiling" = yes; then 
    3510   : 
    3511 else 
    3512   cat >conftest.$ac_ext <<_ACEOF 
    3513 /* confdefs.h.  */ 
    3514 _ACEOF 
    3515 cat confdefs.h >>conftest.$ac_ext 
    3516 cat >>conftest.$ac_ext <<_ACEOF 
    3517 /* end confdefs.h.  */ 
    3518 #include <ctype.h> 
    3519 #if ((' ' & 0x0FF) == 0x020) 
    3520 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
    3521 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
    3522 #else 
    3523 # define ISLOWER(c) \ 
    3524                    (('a' <= (c) && (c) <= 'i') \ 
    3525                      || ('j' <= (c) && (c) <= 'r') \ 
    3526                      || ('s' <= (c) && (c) <= 'z')) 
    3527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
    3528 #endif 
    3529  
    3530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
    3531 int 
    3532 main () 
    3533 { 
    3534   int i; 
    3535   for (i = 0; i < 256; i++) 
    3536     if (XOR (islower (i), ISLOWER (i)) 
    3537         || toupper (i) != TOUPPER (i)) 
    3538       exit(2); 
    3539   exit (0); 
    3540 } 
    3541 _ACEOF 
    3542 rm -f conftest$ac_exeext 
    3543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    3544   (eval $ac_link) 2>&5 
    3545   ac_status=$? 
    3546   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3547   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    3548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3549   (eval $ac_try) 2>&5 
    3550   ac_status=$? 
    3551   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3552   (exit $ac_status); }; }; then 
    3553   : 
    3554 else 
    3555   echo "$as_me: program exited with status $ac_status" >&5 
    3556 echo "$as_me: failed program was:" >&5 
    3557 sed 's/^/| /' conftest.$ac_ext >&5 
    3558  
    3559 ( exit $ac_status ) 
    3560 ac_cv_header_stdc=no 
    3561 fi 
    3562 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    3563 fi 
    3564 fi 
    3565 fi 
    3566 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
    3567 echo "${ECHO_T}$ac_cv_header_stdc" >&6 
    3568 if test $ac_cv_header_stdc = yes; then 
    3569  
    3570 cat >>confdefs.h <<\_ACEOF 
    3571 #define STDC_HEADERS 1 
    3572 _ACEOF 
    3573  
    3574 fi 
    3575  
    3576 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 
    3577  
    3578  
    3579  
    3580  
    3581  
    3582  
    3583  
    3584  
    3585  
    3586 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
    3587                   inttypes.h stdint.h unistd.h 
    3588 do 
    3589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    3590 echo "$as_me:$LINENO: checking for $ac_header" >&5 
    3591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
    3592 if eval "test \"\${$as_ac_Header+set}\" = set"; then 
    3593   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3594 else 
    3595   cat >conftest.$ac_ext <<_ACEOF 
    3596 /* confdefs.h.  */ 
    3597 _ACEOF 
    3598 cat confdefs.h >>conftest.$ac_ext 
    3599 cat >>conftest.$ac_ext <<_ACEOF 
    3600 /* end confdefs.h.  */ 
    3601 $ac_includes_default 
    3602  
    3603 #include <$ac_header> 
    3604 _ACEOF 
    3605 rm -f conftest.$ac_objext 
    3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    3607   (eval $ac_compile) 2>conftest.er1 
    3608   ac_status=$? 
    3609   grep -v '^ *+' conftest.er1 >conftest.err 
    3610   rm -f conftest.er1 
    3611   cat conftest.err >&5 
    3612   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3613   (exit $ac_status); } && 
    3614          { ac_try='test -z "$ac_c_werror_flag" 
    3615                          || test ! -s conftest.err' 
    3616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3617   (eval $ac_try) 2>&5 
    3618   ac_status=$? 
    3619   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3620   (exit $ac_status); }; } && 
    3621          { ac_try='test -s conftest.$ac_objext' 
    3622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3623   (eval $ac_try) 2>&5 
    3624   ac_status=$? 
    3625   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3626   (exit $ac_status); }; }; then 
    3627   eval "$as_ac_Header=yes" 
    3628 else 
    3629   echo "$as_me: failed program was:" >&5 
    3630 sed 's/^/| /' conftest.$ac_ext >&5 
    3631  
    3632 eval "$as_ac_Header=no" 
    3633 fi 
    3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    3635 fi 
    3636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
    3637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
    3638 if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    3639   cat >>confdefs.h <<_ACEOF 
    3640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    3641 _ACEOF 
    3642  
    3643 fi 
    3644  
    3645 done 
    3646  
    3647  
    3648 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    3649   echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     2532echo "$as_me:2532: checking for arpa/inet.h" >&5 
    36502533echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 
    36512534if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    36522535  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3653 fi 
    3654 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    3655 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 
    3656 else 
    3657   # Is the header compilable? 
    3658 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
    3659 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 
    3660 cat >conftest.$ac_ext <<_ACEOF 
    3661 /* confdefs.h.  */ 
    3662 _ACEOF 
    3663 cat confdefs.h >>conftest.$ac_ext 
    3664 cat >>conftest.$ac_ext <<_ACEOF 
    3665 /* end confdefs.h.  */ 
    3666 $ac_includes_default 
     2536else 
     2537  cat >conftest.$ac_ext <<_ACEOF 
     2538#line 2538 "configure" 
     2539#include "confdefs.h" 
    36672540#include <arpa/inet.h> 
    36682541_ACEOF 
    3669 rm -f conftest.$ac_objext 
    3670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    3671   (eval $ac_compile) 2>conftest.er1 
    3672   ac_status=$? 
    3673   grep -v '^ *+' conftest.er1 >conftest.err 
     2542if { (eval echo "$as_me:2542: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2543  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2544  ac_status=$? 
     2545  egrep -v '^ *\+' conftest.er1 >conftest.err 
    36742546  rm -f conftest.er1 
    36752547  cat conftest.err >&5 
    3676   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3677   (exit $ac_status); } && 
    3678          { ac_try='test -z "$ac_c_werror_flag" 
    3679                          || test ! -s conftest.err' 
    3680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3681   (eval $ac_try) 2>&5 
    3682   ac_status=$? 
    3683   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3684   (exit $ac_status); }; } && 
    3685          { ac_try='test -s conftest.$ac_objext' 
    3686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3687   (eval $ac_try) 2>&5 
    3688   ac_status=$? 
    3689   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3690   (exit $ac_status); }; }; then 
    3691   ac_header_compiler=yes 
    3692 else 
    3693   echo "$as_me: failed program was:" >&5 
    3694 sed 's/^/| /' conftest.$ac_ext >&5 
    3695  
    3696 ac_header_compiler=no 
    3697 fi 
    3698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    3699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    3700 echo "${ECHO_T}$ac_header_compiler" >&6 
    3701  
    3702 # Is the header present? 
    3703 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
    3704 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 
    3705 cat >conftest.$ac_ext <<_ACEOF 
    3706 /* confdefs.h.  */ 
    3707 _ACEOF 
    3708 cat confdefs.h >>conftest.$ac_ext 
    3709 cat >>conftest.$ac_ext <<_ACEOF 
    3710 /* end confdefs.h.  */ 
    3711 #include <arpa/inet.h> 
    3712 _ACEOF 
    3713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3714   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3715   ac_status=$? 
    3716   grep -v '^ *+' conftest.er1 >conftest.err 
    3717   rm -f conftest.er1 
    3718   cat conftest.err >&5 
    3719   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2548  echo "$as_me:2548: \$? = $ac_status" >&5 
    37202549  (exit $ac_status); } >/dev/null; then 
    37212550  if test -s conftest.err; then 
    37222551    ac_cpp_err=$ac_c_preproc_warn_flag 
    3723     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    37242552  else 
    37252553    ac_cpp_err= 
     
    37292557fi 
    37302558if test -z "$ac_cpp_err"; then 
    3731   ac_header_preproc=yes 
     2559  ac_cv_header_arpa_inet_h=yes 
    37322560else 
    37332561  echo "$as_me: failed program was:" >&5 
    3734 sed 's/^/| /' conftest.$ac_ext >&5 
    3735  
    3736   ac_header_preproc=no 
     2562  cat conftest.$ac_ext >&5 
     2563  ac_cv_header_arpa_inet_h=no 
    37372564fi 
    37382565rm -f conftest.err conftest.$ac_ext 
    3739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    3740 echo "${ECHO_T}$ac_header_preproc" >&6 
    3741  
    3742 # So?  What about this header? 
    3743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    3744   yes:no: ) 
    3745     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    3746 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    3747     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 
    3748 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 
    3749     ac_header_preproc=yes 
    3750     ;; 
    3751   no:yes:* ) 
    3752     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
    3753 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
    3754     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&5 
    3755 echo "$as_me: WARNING: arpa/inet.h:     check for missing prerequisite headers?" >&2;} 
    3756     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 
    3757 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 
    3758     { echo "$as_me:$LINENO: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&5 
    3759 echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    3760     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
    3761 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
    3762     { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 
    3763 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 
    3764     ( 
    3765       cat <<\_ASBOX 
    3766 ## ------------------------------------ ## 
    3767 ## Report this to the pjproject lists.  ## 
    3768 ## ------------------------------------ ## 
    3769 _ASBOX 
    3770     ) | 
    3771       sed "s/^/$as_me: WARNING:     /" >&2 
    3772     ;; 
    3773 esac 
    3774 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    3775 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 
    3776 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    3777   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3778 else 
    3779   ac_cv_header_arpa_inet_h=$ac_header_preproc 
    3780 fi 
    3781 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     2566fi 
     2567echo "$as_me:2567: result: $ac_cv_header_arpa_inet_h" >&5 
    37822568echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 
    3783  
    3784 fi 
    37852569if test $ac_cv_header_arpa_inet_h = yes; then 
    3786   cat >>confdefs.h <<\_ACEOF 
     2570  cat >>confdefs.h <<\EOF 
    37872571#define PJ_HAS_ARPA_INET_H 1 
    3788 _ACEOF 
    3789  
    3790 fi 
    3791  
    3792  
    3793 if test "${ac_cv_header_assert_h+set}" = set; then 
    3794   echo "$as_me:$LINENO: checking for assert.h" >&5 
     2572EOF 
     2573 
     2574fi 
     2575 
     2576echo "$as_me:2576: checking for assert.h" >&5 
    37952577echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 
    37962578if test "${ac_cv_header_assert_h+set}" = set; then 
    37972579  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3798 fi 
    3799 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    3800 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 
    3801 else 
    3802   # Is the header compilable? 
    3803 echo "$as_me:$LINENO: checking assert.h usability" >&5 
    3804 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 
    3805 cat >conftest.$ac_ext <<_ACEOF 
    3806 /* confdefs.h.  */ 
    3807 _ACEOF 
    3808 cat confdefs.h >>conftest.$ac_ext 
    3809 cat >>conftest.$ac_ext <<_ACEOF 
    3810 /* end confdefs.h.  */ 
    3811 $ac_includes_default 
     2580else 
     2581  cat >conftest.$ac_ext <<_ACEOF 
     2582#line 2582 "configure" 
     2583#include "confdefs.h" 
    38122584#include <assert.h> 
    38132585_ACEOF 
    3814 rm -f conftest.$ac_objext 
    3815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    3816   (eval $ac_compile) 2>conftest.er1 
    3817   ac_status=$? 
    3818   grep -v '^ *+' conftest.er1 >conftest.err 
     2586if { (eval echo "$as_me:2586: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2587  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2588  ac_status=$? 
     2589  egrep -v '^ *\+' conftest.er1 >conftest.err 
    38192590  rm -f conftest.er1 
    38202591  cat conftest.err >&5 
    3821   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3822   (exit $ac_status); } && 
    3823          { ac_try='test -z "$ac_c_werror_flag" 
    3824                          || test ! -s conftest.err' 
    3825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3826   (eval $ac_try) 2>&5 
    3827   ac_status=$? 
    3828   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3829   (exit $ac_status); }; } && 
    3830          { ac_try='test -s conftest.$ac_objext' 
    3831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3832   (eval $ac_try) 2>&5 
    3833   ac_status=$? 
    3834   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3835   (exit $ac_status); }; }; then 
    3836   ac_header_compiler=yes 
    3837 else 
    3838   echo "$as_me: failed program was:" >&5 
    3839 sed 's/^/| /' conftest.$ac_ext >&5 
    3840  
    3841 ac_header_compiler=no 
    3842 fi 
    3843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    3844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    3845 echo "${ECHO_T}$ac_header_compiler" >&6 
    3846  
    3847 # Is the header present? 
    3848 echo "$as_me:$LINENO: checking assert.h presence" >&5 
    3849 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 
    3850 cat >conftest.$ac_ext <<_ACEOF 
    3851 /* confdefs.h.  */ 
    3852 _ACEOF 
    3853 cat confdefs.h >>conftest.$ac_ext 
    3854 cat >>conftest.$ac_ext <<_ACEOF 
    3855 /* end confdefs.h.  */ 
    3856 #include <assert.h> 
    3857 _ACEOF 
    3858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    3859   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    3860   ac_status=$? 
    3861   grep -v '^ *+' conftest.er1 >conftest.err 
    3862   rm -f conftest.er1 
    3863   cat conftest.err >&5 
    3864   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2592  echo "$as_me:2592: \$? = $ac_status" >&5 
    38652593  (exit $ac_status); } >/dev/null; then 
    38662594  if test -s conftest.err; then 
    38672595    ac_cpp_err=$ac_c_preproc_warn_flag 
    3868     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    38692596  else 
    38702597    ac_cpp_err= 
     
    38742601fi 
    38752602if test -z "$ac_cpp_err"; then 
    3876   ac_header_preproc=yes 
     2603  ac_cv_header_assert_h=yes 
    38772604else 
    38782605  echo "$as_me: failed program was:" >&5 
    3879 sed 's/^/| /' conftest.$ac_ext >&5 
    3880  
    3881   ac_header_preproc=no 
     2606  cat conftest.$ac_ext >&5 
     2607  ac_cv_header_assert_h=no 
    38822608fi 
    38832609rm -f conftest.err conftest.$ac_ext 
    3884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    3885 echo "${ECHO_T}$ac_header_preproc" >&6 
    3886  
    3887 # So?  What about this header? 
    3888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    3889   yes:no: ) 
    3890     { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    3891 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    3892     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 
    3893 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 
    3894     ac_header_preproc=yes 
    3895     ;; 
    3896   no:yes:* ) 
    3897     { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
    3898 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
    3899     { echo "$as_me:$LINENO: WARNING: assert.h:     check for missing prerequisite headers?" >&5 
    3900 echo "$as_me: WARNING: assert.h:     check for missing prerequisite headers?" >&2;} 
    3901     { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 
    3902 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 
    3903     { echo "$as_me:$LINENO: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&5 
    3904 echo "$as_me: WARNING: assert.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    3905     { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
    3906 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
    3907     { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 
    3908 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 
    3909     ( 
    3910       cat <<\_ASBOX 
    3911 ## ------------------------------------ ## 
    3912 ## Report this to the pjproject lists.  ## 
    3913 ## ------------------------------------ ## 
    3914 _ASBOX 
    3915     ) | 
    3916       sed "s/^/$as_me: WARNING:     /" >&2 
    3917     ;; 
    3918 esac 
    3919 echo "$as_me:$LINENO: checking for assert.h" >&5 
    3920 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 
    3921 if test "${ac_cv_header_assert_h+set}" = set; then 
    3922   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3923 else 
    3924   ac_cv_header_assert_h=$ac_header_preproc 
    3925 fi 
    3926 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     2610fi 
     2611echo "$as_me:2611: result: $ac_cv_header_assert_h" >&5 
    39272612echo "${ECHO_T}$ac_cv_header_assert_h" >&6 
    3928  
    3929 fi 
    39302613if test $ac_cv_header_assert_h = yes; then 
    3931   cat >>confdefs.h <<\_ACEOF 
     2614  cat >>confdefs.h <<\EOF 
    39322615#define PJ_HAS_ASSERT_H 1 
    3933 _ACEOF 
    3934  
    3935 fi 
    3936  
    3937  
    3938 if test "${ac_cv_header_ctype_h+set}" = set; then 
    3939   echo "$as_me:$LINENO: checking for ctype.h" >&5 
     2616EOF 
     2617 
     2618fi 
     2619 
     2620echo "$as_me:2620: checking for ctype.h" >&5 
    39402621echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 
    39412622if test "${ac_cv_header_ctype_h+set}" = set; then 
    39422623  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3943 fi 
    3944 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    3945 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 
    3946 else 
    3947   # Is the header compilable? 
    3948 echo "$as_me:$LINENO: checking ctype.h usability" >&5 
    3949 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 
    3950 cat >conftest.$ac_ext <<_ACEOF 
    3951 /* confdefs.h.  */ 
    3952 _ACEOF 
    3953 cat confdefs.h >>conftest.$ac_ext 
    3954 cat >>conftest.$ac_ext <<_ACEOF 
    3955 /* end confdefs.h.  */ 
    3956 $ac_includes_default 
     2624else 
     2625  cat >conftest.$ac_ext <<_ACEOF 
     2626#line 2626 "configure" 
     2627#include "confdefs.h" 
    39572628#include <ctype.h> 
    39582629_ACEOF 
    3959 rm -f conftest.$ac_objext 
    3960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    3961   (eval $ac_compile) 2>conftest.er1 
    3962   ac_status=$? 
    3963   grep -v '^ *+' conftest.er1 >conftest.err 
     2630if { (eval echo "$as_me:2630: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2631  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2632  ac_status=$? 
     2633  egrep -v '^ *\+' conftest.er1 >conftest.err 
    39642634  rm -f conftest.er1 
    39652635  cat conftest.err >&5 
    3966   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3967   (exit $ac_status); } && 
    3968          { ac_try='test -z "$ac_c_werror_flag" 
    3969                          || test ! -s conftest.err' 
    3970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3971   (eval $ac_try) 2>&5 
    3972   ac_status=$? 
    3973   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3974   (exit $ac_status); }; } && 
    3975          { ac_try='test -s conftest.$ac_objext' 
    3976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    3977   (eval $ac_try) 2>&5 
    3978   ac_status=$? 
    3979   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    3980   (exit $ac_status); }; }; then 
    3981   ac_header_compiler=yes 
    3982 else 
    3983   echo "$as_me: failed program was:" >&5 
    3984 sed 's/^/| /' conftest.$ac_ext >&5 
    3985  
    3986 ac_header_compiler=no 
    3987 fi 
    3988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    3989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    3990 echo "${ECHO_T}$ac_header_compiler" >&6 
    3991  
    3992 # Is the header present? 
    3993 echo "$as_me:$LINENO: checking ctype.h presence" >&5 
    3994 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 
    3995 cat >conftest.$ac_ext <<_ACEOF 
    3996 /* confdefs.h.  */ 
    3997 _ACEOF 
    3998 cat confdefs.h >>conftest.$ac_ext 
    3999 cat >>conftest.$ac_ext <<_ACEOF 
    4000 /* end confdefs.h.  */ 
    4001 #include <ctype.h> 
    4002 _ACEOF 
    4003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4004   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4005   ac_status=$? 
    4006   grep -v '^ *+' conftest.er1 >conftest.err 
    4007   rm -f conftest.er1 
    4008   cat conftest.err >&5 
    4009   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2636  echo "$as_me:2636: \$? = $ac_status" >&5 
    40102637  (exit $ac_status); } >/dev/null; then 
    40112638  if test -s conftest.err; then 
    40122639    ac_cpp_err=$ac_c_preproc_warn_flag 
    4013     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    40142640  else 
    40152641    ac_cpp_err= 
     
    40192645fi 
    40202646if test -z "$ac_cpp_err"; then 
    4021   ac_header_preproc=yes 
     2647  ac_cv_header_ctype_h=yes 
    40222648else 
    40232649  echo "$as_me: failed program was:" >&5 
    4024 sed 's/^/| /' conftest.$ac_ext >&5 
    4025  
    4026   ac_header_preproc=no 
     2650  cat conftest.$ac_ext >&5 
     2651  ac_cv_header_ctype_h=no 
    40272652fi 
    40282653rm -f conftest.err conftest.$ac_ext 
    4029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    4030 echo "${ECHO_T}$ac_header_preproc" >&6 
    4031  
    4032 # So?  What about this header? 
    4033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    4034   yes:no: ) 
    4035     { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    4036 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    4037     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 
    4038 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 
    4039     ac_header_preproc=yes 
    4040     ;; 
    4041   no:yes:* ) 
    4042     { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
    4043 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
    4044     { echo "$as_me:$LINENO: WARNING: ctype.h:     check for missing prerequisite headers?" >&5 
    4045 echo "$as_me: WARNING: ctype.h:     check for missing prerequisite headers?" >&2;} 
    4046     { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 
    4047 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 
    4048     { echo "$as_me:$LINENO: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&5 
    4049 echo "$as_me: WARNING: ctype.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    4050     { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
    4051 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
    4052     { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 
    4053 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 
    4054     ( 
    4055       cat <<\_ASBOX 
    4056 ## ------------------------------------ ## 
    4057 ## Report this to the pjproject lists.  ## 
    4058 ## ------------------------------------ ## 
    4059 _ASBOX 
    4060     ) | 
    4061       sed "s/^/$as_me: WARNING:     /" >&2 
    4062     ;; 
    4063 esac 
    4064 echo "$as_me:$LINENO: checking for ctype.h" >&5 
    4065 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 
    4066 if test "${ac_cv_header_ctype_h+set}" = set; then 
    4067   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4068 else 
    4069   ac_cv_header_ctype_h=$ac_header_preproc 
    4070 fi 
    4071 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     2654fi 
     2655echo "$as_me:2655: result: $ac_cv_header_ctype_h" >&5 
    40722656echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 
    4073  
    4074 fi 
    40752657if test $ac_cv_header_ctype_h = yes; then 
    4076   cat >>confdefs.h <<\_ACEOF 
     2658  cat >>confdefs.h <<\EOF 
    40772659#define PJ_HAS_CTYPE_H 1 
    4078 _ACEOF 
    4079  
    4080 fi 
    4081  
    4082  
    4083 if test "${ac_cv_header_errno_h+set}" = set; then 
    4084   echo "$as_me:$LINENO: checking for errno.h" >&5 
     2660EOF 
     2661 
     2662fi 
     2663 
     2664echo "$as_me:2664: checking for errno.h" >&5 
    40852665echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 
    40862666if test "${ac_cv_header_errno_h+set}" = set; then 
    40872667  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4088 fi 
    4089 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    4090 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 
    4091 else 
    4092   # Is the header compilable? 
    4093 echo "$as_me:$LINENO: checking errno.h usability" >&5 
    4094 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 
    4095 cat >conftest.$ac_ext <<_ACEOF 
    4096 /* confdefs.h.  */ 
    4097 _ACEOF 
    4098 cat confdefs.h >>conftest.$ac_ext 
    4099 cat >>conftest.$ac_ext <<_ACEOF 
    4100 /* end confdefs.h.  */ 
    4101 $ac_includes_default 
     2668else 
     2669  cat >conftest.$ac_ext <<_ACEOF 
     2670#line 2670 "configure" 
     2671#include "confdefs.h" 
    41022672#include <errno.h> 
    41032673_ACEOF 
    4104 rm -f conftest.$ac_objext 
    4105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4106   (eval $ac_compile) 2>conftest.er1 
    4107   ac_status=$? 
    4108   grep -v '^ *+' conftest.er1 >conftest.err 
     2674if { (eval echo "$as_me:2674: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2675  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2676  ac_status=$? 
     2677  egrep -v '^ *\+' conftest.er1 >conftest.err 
    41092678  rm -f conftest.er1 
    41102679  cat conftest.err >&5 
    4111   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4112   (exit $ac_status); } && 
    4113          { ac_try='test -z "$ac_c_werror_flag" 
    4114                          || test ! -s conftest.err' 
    4115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4116   (eval $ac_try) 2>&5 
    4117   ac_status=$? 
    4118   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4119   (exit $ac_status); }; } && 
    4120          { ac_try='test -s conftest.$ac_objext' 
    4121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4122   (eval $ac_try) 2>&5 
    4123   ac_status=$? 
    4124   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4125   (exit $ac_status); }; }; then 
    4126   ac_header_compiler=yes 
    4127 else 
    4128   echo "$as_me: failed program was:" >&5 
    4129 sed 's/^/| /' conftest.$ac_ext >&5 
    4130  
    4131 ac_header_compiler=no 
    4132 fi 
    4133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    4135 echo "${ECHO_T}$ac_header_compiler" >&6 
    4136  
    4137 # Is the header present? 
    4138 echo "$as_me:$LINENO: checking errno.h presence" >&5 
    4139 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 
    4140 cat >conftest.$ac_ext <<_ACEOF 
    4141 /* confdefs.h.  */ 
    4142 _ACEOF 
    4143 cat confdefs.h >>conftest.$ac_ext 
    4144 cat >>conftest.$ac_ext <<_ACEOF 
    4145 /* end confdefs.h.  */ 
    4146 #include <errno.h> 
    4147 _ACEOF 
    4148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4149   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4150   ac_status=$? 
    4151   grep -v '^ *+' conftest.er1 >conftest.err 
    4152   rm -f conftest.er1 
    4153   cat conftest.err >&5 
    4154   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2680  echo "$as_me:2680: \$? = $ac_status" >&5 
    41552681  (exit $ac_status); } >/dev/null; then 
    41562682  if test -s conftest.err; then 
    41572683    ac_cpp_err=$ac_c_preproc_warn_flag 
    4158     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    41592684  else 
    41602685    ac_cpp_err= 
     
    41642689fi 
    41652690if test -z "$ac_cpp_err"; then 
    4166   ac_header_preproc=yes 
     2691  ac_cv_header_errno_h=yes 
    41672692else 
    41682693  echo "$as_me: failed program was:" >&5 
    4169 sed 's/^/| /' conftest.$ac_ext >&5 
    4170  
    4171   ac_header_preproc=no 
     2694  cat conftest.$ac_ext >&5 
     2695  ac_cv_header_errno_h=no 
    41722696fi 
    41732697rm -f conftest.err conftest.$ac_ext 
    4174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    4175 echo "${ECHO_T}$ac_header_preproc" >&6 
    4176  
    4177 # So?  What about this header? 
    4178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    4179   yes:no: ) 
    4180     { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    4181 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    4182     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 
    4183 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 
    4184     ac_header_preproc=yes 
    4185     ;; 
    4186   no:yes:* ) 
    4187     { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
    4188 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
    4189     { echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5 
    4190 echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;} 
    4191     { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 
    4192 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 
    4193     { echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5 
    4194 echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    4195     { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
    4196 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
    4197     { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 
    4198 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 
    4199     ( 
    4200       cat <<\_ASBOX 
    4201 ## ------------------------------------ ## 
    4202 ## Report this to the pjproject lists.  ## 
    4203 ## ------------------------------------ ## 
    4204 _ASBOX 
    4205     ) | 
    4206       sed "s/^/$as_me: WARNING:     /" >&2 
    4207     ;; 
    4208 esac 
    4209 echo "$as_me:$LINENO: checking for errno.h" >&5 
    4210 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 
    4211 if test "${ac_cv_header_errno_h+set}" = set; then 
    4212   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4213 else 
    4214   ac_cv_header_errno_h=$ac_header_preproc 
    4215 fi 
    4216 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     2698fi 
     2699echo "$as_me:2699: result: $ac_cv_header_errno_h" >&5 
    42172700echo "${ECHO_T}$ac_cv_header_errno_h" >&6 
    4218  
    4219 fi 
    42202701if test $ac_cv_header_errno_h = yes; then 
    4221   cat >>confdefs.h <<\_ACEOF 
     2702  cat >>confdefs.h <<\EOF 
    42222703#define PJ_HAS_ERRNO_H 1 
    4223 _ACEOF 
    4224  
    4225 fi 
    4226  
    4227  
    4228 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    4229   echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     2704EOF 
     2705 
     2706fi 
     2707 
     2708echo "$as_me:2708: checking for linux/socket.h" >&5 
    42302709echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 
    42312710if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    42322711  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4233 fi 
    4234 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    4235 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 
    4236 else 
    4237   # Is the header compilable? 
    4238 echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
    4239 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 
    4240 cat >conftest.$ac_ext <<_ACEOF 
    4241 /* confdefs.h.  */ 
    4242 _ACEOF 
    4243 cat confdefs.h >>conftest.$ac_ext 
    4244 cat >>conftest.$ac_ext <<_ACEOF 
    4245 /* end confdefs.h.  */ 
    4246 $ac_includes_default 
     2712else 
     2713  cat >conftest.$ac_ext <<_ACEOF 
     2714#line 2714 "configure" 
     2715#include "confdefs.h" 
    42472716#include <linux/socket.h> 
    42482717_ACEOF 
    4249 rm -f conftest.$ac_objext 
    4250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4251   (eval $ac_compile) 2>conftest.er1 
    4252   ac_status=$? 
    4253   grep -v '^ *+' conftest.er1 >conftest.err 
     2718if { (eval echo "$as_me:2718: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2719  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2720  ac_status=$? 
     2721  egrep -v '^ *\+' conftest.er1 >conftest.err 
    42542722  rm -f conftest.er1 
    42552723  cat conftest.err >&5 
    4256   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4257   (exit $ac_status); } && 
    4258          { ac_try='test -z "$ac_c_werror_flag" 
    4259                          || test ! -s conftest.err' 
    4260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4261   (eval $ac_try) 2>&5 
    4262   ac_status=$? 
    4263   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4264   (exit $ac_status); }; } && 
    4265          { ac_try='test -s conftest.$ac_objext' 
    4266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4267   (eval $ac_try) 2>&5 
    4268   ac_status=$? 
    4269   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4270   (exit $ac_status); }; }; then 
    4271   ac_header_compiler=yes 
    4272 else 
    4273   echo "$as_me: failed program was:" >&5 
    4274 sed 's/^/| /' conftest.$ac_ext >&5 
    4275  
    4276 ac_header_compiler=no 
    4277 fi 
    4278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    4280 echo "${ECHO_T}$ac_header_compiler" >&6 
    4281  
    4282 # Is the header present? 
    4283 echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
    4284 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 
    4285 cat >conftest.$ac_ext <<_ACEOF 
    4286 /* confdefs.h.  */ 
    4287 _ACEOF 
    4288 cat confdefs.h >>conftest.$ac_ext 
    4289 cat >>conftest.$ac_ext <<_ACEOF 
    4290 /* end confdefs.h.  */ 
    4291 #include <linux/socket.h> 
    4292 _ACEOF 
    4293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4294   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4295   ac_status=$? 
    4296   grep -v '^ *+' conftest.er1 >conftest.err 
    4297   rm -f conftest.er1 
    4298   cat conftest.err >&5 
    4299   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2724  echo "$as_me:2724: \$? = $ac_status" >&5 
    43002725  (exit $ac_status); } >/dev/null; then 
    43012726  if test -s conftest.err; then 
    43022727    ac_cpp_err=$ac_c_preproc_warn_flag 
    4303     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    43042728  else 
    43052729    ac_cpp_err= 
     
    43092733fi 
    43102734if test -z "$ac_cpp_err"; then 
    4311   ac_header_preproc=yes 
     2735  ac_cv_header_linux_socket_h=yes 
    43122736else 
    43132737  echo "$as_me: failed program was:" >&5 
    4314 sed 's/^/| /' conftest.$ac_ext >&5 
    4315  
    4316   ac_header_preproc=no 
     2738  cat conftest.$ac_ext >&5 
     2739  ac_cv_header_linux_socket_h=no 
    43172740fi 
    43182741rm -f conftest.err conftest.$ac_ext 
    4319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    4320 echo "${ECHO_T}$ac_header_preproc" >&6 
    4321  
    4322 # So?  What about this header? 
    4323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    4324   yes:no: ) 
    4325     { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    4326 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    4327     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 
    4328 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 
    4329     ac_header_preproc=yes 
    4330     ;; 
    4331   no:yes:* ) 
    4332     { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
    4333 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
    4334     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&5 
    4335 echo "$as_me: WARNING: linux/socket.h:     check for missing prerequisite headers?" >&2;} 
    4336     { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 
    4337 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 
    4338     { echo "$as_me:$LINENO: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    4339 echo "$as_me: WARNING: linux/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    4340     { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
    4341 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
    4342     { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 
    4343 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 
    4344     ( 
    4345       cat <<\_ASBOX 
    4346 ## ------------------------------------ ## 
    4347 ## Report this to the pjproject lists.  ## 
    4348 ## ------------------------------------ ## 
    4349 _ASBOX 
    4350     ) | 
    4351       sed "s/^/$as_me: WARNING:     /" >&2 
    4352     ;; 
    4353 esac 
    4354 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    4355 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 
    4356 if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    4357   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4358 else 
    4359   ac_cv_header_linux_socket_h=$ac_header_preproc 
    4360 fi 
    4361 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     2742fi 
     2743echo "$as_me:2743: result: $ac_cv_header_linux_socket_h" >&5 
    43622744echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 
    4363  
    4364 fi 
    43652745if test $ac_cv_header_linux_socket_h = yes; then 
    4366   cat >>confdefs.h <<\_ACEOF 
     2746  cat >>confdefs.h <<\EOF 
    43672747#define PJ_HAS_LINUX_SOCKET_H 1 
    4368 _ACEOF 
    4369  
    4370 fi 
    4371  
    4372  
    4373 if test "${ac_cv_header_malloc_h+set}" = set; then 
    4374   echo "$as_me:$LINENO: checking for malloc.h" >&5 
     2748EOF 
     2749 
     2750fi 
     2751 
     2752echo "$as_me:2752: checking for malloc.h" >&5 
    43752753echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 
    43762754if test "${ac_cv_header_malloc_h+set}" = set; then 
    43772755  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4378 fi 
    4379 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    4380 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 
    4381 else 
    4382   # Is the header compilable? 
    4383 echo "$as_me:$LINENO: checking malloc.h usability" >&5 
    4384 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 
    4385 cat >conftest.$ac_ext <<_ACEOF 
    4386 /* confdefs.h.  */ 
    4387 _ACEOF 
    4388 cat confdefs.h >>conftest.$ac_ext 
    4389 cat >>conftest.$ac_ext <<_ACEOF 
    4390 /* end confdefs.h.  */ 
    4391 $ac_includes_default 
     2756else 
     2757  cat >conftest.$ac_ext <<_ACEOF 
     2758#line 2758 "configure" 
     2759#include "confdefs.h" 
    43922760#include <malloc.h> 
    43932761_ACEOF 
    4394 rm -f conftest.$ac_objext 
    4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4396   (eval $ac_compile) 2>conftest.er1 
    4397   ac_status=$? 
    4398   grep -v '^ *+' conftest.er1 >conftest.err 
     2762if { (eval echo "$as_me:2762: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2763  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2764  ac_status=$? 
     2765  egrep -v '^ *\+' conftest.er1 >conftest.err 
    43992766  rm -f conftest.er1 
    44002767  cat conftest.err >&5 
    4401   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4402   (exit $ac_status); } && 
    4403          { ac_try='test -z "$ac_c_werror_flag" 
    4404                          || test ! -s conftest.err' 
    4405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4406   (eval $ac_try) 2>&5 
    4407   ac_status=$? 
    4408   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4409   (exit $ac_status); }; } && 
    4410          { ac_try='test -s conftest.$ac_objext' 
    4411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4412   (eval $ac_try) 2>&5 
    4413   ac_status=$? 
    4414   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4415   (exit $ac_status); }; }; then 
    4416   ac_header_compiler=yes 
    4417 else 
    4418   echo "$as_me: failed program was:" >&5 
    4419 sed 's/^/| /' conftest.$ac_ext >&5 
    4420  
    4421 ac_header_compiler=no 
    4422 fi 
    4423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    4425 echo "${ECHO_T}$ac_header_compiler" >&6 
    4426  
    4427 # Is the header present? 
    4428 echo "$as_me:$LINENO: checking malloc.h presence" >&5 
    4429 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 
    4430 cat >conftest.$ac_ext <<_ACEOF 
    4431 /* confdefs.h.  */ 
    4432 _ACEOF 
    4433 cat confdefs.h >>conftest.$ac_ext 
    4434 cat >>conftest.$ac_ext <<_ACEOF 
    4435 /* end confdefs.h.  */ 
    4436 #include <malloc.h> 
    4437 _ACEOF 
    4438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4439   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4440   ac_status=$? 
    4441   grep -v '^ *+' conftest.er1 >conftest.err 
    4442   rm -f conftest.er1 
    4443   cat conftest.err >&5 
    4444   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2768  echo "$as_me:2768: \$? = $ac_status" >&5 
    44452769  (exit $ac_status); } >/dev/null; then 
    44462770  if test -s conftest.err; then 
    44472771    ac_cpp_err=$ac_c_preproc_warn_flag 
    4448     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    44492772  else 
    44502773    ac_cpp_err= 
     
    44542777fi 
    44552778if test -z "$ac_cpp_err"; then 
    4456   ac_header_preproc=yes 
     2779  ac_cv_header_malloc_h=yes 
    44572780else 
    44582781  echo "$as_me: failed program was:" >&5 
    4459 sed 's/^/| /' conftest.$ac_ext >&5 
    4460  
    4461   ac_header_preproc=no 
     2782  cat conftest.$ac_ext >&5 
     2783  ac_cv_header_malloc_h=no 
    44622784fi 
    44632785rm -f conftest.err conftest.$ac_ext 
    4464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    4465 echo "${ECHO_T}$ac_header_preproc" >&6 
    4466  
    4467 # So?  What about this header? 
    4468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    4469   yes:no: ) 
    4470     { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    4471 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    4472     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 
    4473 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 
    4474     ac_header_preproc=yes 
    4475     ;; 
    4476   no:yes:* ) 
    4477     { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
    4478 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
    4479     { echo "$as_me:$LINENO: WARNING: malloc.h:     check for missing prerequisite headers?" >&5 
    4480 echo "$as_me: WARNING: malloc.h:     check for missing prerequisite headers?" >&2;} 
    4481     { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 
    4482 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 
    4483     { echo "$as_me:$LINENO: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&5 
    4484 echo "$as_me: WARNING: malloc.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    4485     { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
    4486 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
    4487     { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 
    4488 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 
    4489     ( 
    4490       cat <<\_ASBOX 
    4491 ## ------------------------------------ ## 
    4492 ## Report this to the pjproject lists.  ## 
    4493 ## ------------------------------------ ## 
    4494 _ASBOX 
    4495     ) | 
    4496       sed "s/^/$as_me: WARNING:     /" >&2 
    4497     ;; 
    4498 esac 
    4499 echo "$as_me:$LINENO: checking for malloc.h" >&5 
    4500 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 
    4501 if test "${ac_cv_header_malloc_h+set}" = set; then 
    4502   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4503 else 
    4504   ac_cv_header_malloc_h=$ac_header_preproc 
    4505 fi 
    4506 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     2786fi 
     2787echo "$as_me:2787: result: $ac_cv_header_malloc_h" >&5 
    45072788echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 
    4508  
    4509 fi 
    45102789if test $ac_cv_header_malloc_h = yes; then 
    4511   cat >>confdefs.h <<\_ACEOF 
     2790  cat >>confdefs.h <<\EOF 
    45122791#define PJ_HAS_MALLOC_H 1 
    4513 _ACEOF 
    4514  
    4515 fi 
    4516  
    4517  
    4518 if test "${ac_cv_header_netdb_h+set}" = set; then 
    4519   echo "$as_me:$LINENO: checking for netdb.h" >&5 
     2792EOF 
     2793 
     2794fi 
     2795 
     2796echo "$as_me:2796: checking for netdb.h" >&5 
    45202797echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 
    45212798if test "${ac_cv_header_netdb_h+set}" = set; then 
    45222799  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4523 fi 
    4524 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    4525 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 
    4526 else 
    4527   # Is the header compilable? 
    4528 echo "$as_me:$LINENO: checking netdb.h usability" >&5 
    4529 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 
    4530 cat >conftest.$ac_ext <<_ACEOF 
    4531 /* confdefs.h.  */ 
    4532 _ACEOF 
    4533 cat confdefs.h >>conftest.$ac_ext 
    4534 cat >>conftest.$ac_ext <<_ACEOF 
    4535 /* end confdefs.h.  */ 
    4536 $ac_includes_default 
     2800else 
     2801  cat >conftest.$ac_ext <<_ACEOF 
     2802#line 2802 "configure" 
     2803#include "confdefs.h" 
    45372804#include <netdb.h> 
    45382805_ACEOF 
    4539 rm -f conftest.$ac_objext 
    4540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4541   (eval $ac_compile) 2>conftest.er1 
    4542   ac_status=$? 
    4543   grep -v '^ *+' conftest.er1 >conftest.err 
     2806if { (eval echo "$as_me:2806: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2807  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2808  ac_status=$? 
     2809  egrep -v '^ *\+' conftest.er1 >conftest.err 
    45442810  rm -f conftest.er1 
    45452811  cat conftest.err >&5 
    4546   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4547   (exit $ac_status); } && 
    4548          { ac_try='test -z "$ac_c_werror_flag" 
    4549                          || test ! -s conftest.err' 
    4550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4551   (eval $ac_try) 2>&5 
    4552   ac_status=$? 
    4553   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4554   (exit $ac_status); }; } && 
    4555          { ac_try='test -s conftest.$ac_objext' 
    4556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4557   (eval $ac_try) 2>&5 
    4558   ac_status=$? 
    4559   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4560   (exit $ac_status); }; }; then 
    4561   ac_header_compiler=yes 
    4562 else 
    4563   echo "$as_me: failed program was:" >&5 
    4564 sed 's/^/| /' conftest.$ac_ext >&5 
    4565  
    4566 ac_header_compiler=no 
    4567 fi 
    4568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    4570 echo "${ECHO_T}$ac_header_compiler" >&6 
    4571  
    4572 # Is the header present? 
    4573 echo "$as_me:$LINENO: checking netdb.h presence" >&5 
    4574 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 
    4575 cat >conftest.$ac_ext <<_ACEOF 
    4576 /* confdefs.h.  */ 
    4577 _ACEOF 
    4578 cat confdefs.h >>conftest.$ac_ext 
    4579 cat >>conftest.$ac_ext <<_ACEOF 
    4580 /* end confdefs.h.  */ 
    4581 #include <netdb.h> 
    4582 _ACEOF 
    4583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4584   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4585   ac_status=$? 
    4586   grep -v '^ *+' conftest.er1 >conftest.err 
    4587   rm -f conftest.er1 
    4588   cat conftest.err >&5 
    4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2812  echo "$as_me:2812: \$? = $ac_status" >&5 
    45902813  (exit $ac_status); } >/dev/null; then 
    45912814  if test -s conftest.err; then 
    45922815    ac_cpp_err=$ac_c_preproc_warn_flag 
    4593     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    45942816  else 
    45952817    ac_cpp_err= 
     
    45992821fi 
    46002822if test -z "$ac_cpp_err"; then 
    4601   ac_header_preproc=yes 
     2823  ac_cv_header_netdb_h=yes 
    46022824else 
    46032825  echo "$as_me: failed program was:" >&5 
    4604 sed 's/^/| /' conftest.$ac_ext >&5 
    4605  
    4606   ac_header_preproc=no 
     2826  cat conftest.$ac_ext >&5 
     2827  ac_cv_header_netdb_h=no 
    46072828fi 
    46082829rm -f conftest.err conftest.$ac_ext 
    4609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    4610 echo "${ECHO_T}$ac_header_preproc" >&6 
    4611  
    4612 # So?  What about this header? 
    4613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    4614   yes:no: ) 
    4615     { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    4616 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    4617     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 
    4618 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 
    4619     ac_header_preproc=yes 
    4620     ;; 
    4621   no:yes:* ) 
    4622     { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
    4623 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
    4624     { echo "$as_me:$LINENO: WARNING: netdb.h:     check for missing prerequisite headers?" >&5 
    4625 echo "$as_me: WARNING: netdb.h:     check for missing prerequisite headers?" >&2;} 
    4626     { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 
    4627 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 
    4628     { echo "$as_me:$LINENO: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    4629 echo "$as_me: WARNING: netdb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    4630     { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
    4631 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
    4632     { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 
    4633 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 
    4634     ( 
    4635       cat <<\_ASBOX 
    4636 ## ------------------------------------ ## 
    4637 ## Report this to the pjproject lists.  ## 
    4638 ## ------------------------------------ ## 
    4639 _ASBOX 
    4640     ) | 
    4641       sed "s/^/$as_me: WARNING:     /" >&2 
    4642     ;; 
    4643 esac 
    4644 echo "$as_me:$LINENO: checking for netdb.h" >&5 
    4645 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 
    4646 if test "${ac_cv_header_netdb_h+set}" = set; then 
    4647   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4648 else 
    4649   ac_cv_header_netdb_h=$ac_header_preproc 
    4650 fi 
    4651 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     2830fi 
     2831echo "$as_me:2831: result: $ac_cv_header_netdb_h" >&5 
    46522832echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 
    4653  
    4654 fi 
    46552833if test $ac_cv_header_netdb_h = yes; then 
    4656   cat >>confdefs.h <<\_ACEOF 
     2834  cat >>confdefs.h <<\EOF 
    46572835#define PJ_HAS_NETDB_H 1 
    4658 _ACEOF 
    4659  
    4660 fi 
    4661  
    4662  
    4663 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    4664   echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     2836EOF 
     2837 
     2838fi 
     2839 
     2840echo "$as_me:2840: checking for netinet/in.h" >&5 
    46652841echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 
    46662842if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    46672843  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4668 fi 
    4669 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    4670 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 
    4671 else 
    4672   # Is the header compilable? 
    4673 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
    4674 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 
    4675 cat >conftest.$ac_ext <<_ACEOF 
    4676 /* confdefs.h.  */ 
    4677 _ACEOF 
    4678 cat confdefs.h >>conftest.$ac_ext 
    4679 cat >>conftest.$ac_ext <<_ACEOF 
    4680 /* end confdefs.h.  */ 
    4681 $ac_includes_default 
     2844else 
     2845  cat >conftest.$ac_ext <<_ACEOF 
     2846#line 2846 "configure" 
     2847#include "confdefs.h" 
    46822848#include <netinet/in.h> 
    46832849_ACEOF 
    4684 rm -f conftest.$ac_objext 
    4685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4686   (eval $ac_compile) 2>conftest.er1 
    4687   ac_status=$? 
    4688   grep -v '^ *+' conftest.er1 >conftest.err 
     2850if { (eval echo "$as_me:2850: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2851  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2852  ac_status=$? 
     2853  egrep -v '^ *\+' conftest.er1 >conftest.err 
    46892854  rm -f conftest.er1 
    46902855  cat conftest.err >&5 
    4691   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4692   (exit $ac_status); } && 
    4693          { ac_try='test -z "$ac_c_werror_flag" 
    4694                          || test ! -s conftest.err' 
    4695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4696   (eval $ac_try) 2>&5 
    4697   ac_status=$? 
    4698   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4699   (exit $ac_status); }; } && 
    4700          { ac_try='test -s conftest.$ac_objext' 
    4701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4702   (eval $ac_try) 2>&5 
    4703   ac_status=$? 
    4704   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4705   (exit $ac_status); }; }; then 
    4706   ac_header_compiler=yes 
    4707 else 
    4708   echo "$as_me: failed program was:" >&5 
    4709 sed 's/^/| /' conftest.$ac_ext >&5 
    4710  
    4711 ac_header_compiler=no 
    4712 fi 
    4713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    4715 echo "${ECHO_T}$ac_header_compiler" >&6 
    4716  
    4717 # Is the header present? 
    4718 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
    4719 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 
    4720 cat >conftest.$ac_ext <<_ACEOF 
    4721 /* confdefs.h.  */ 
    4722 _ACEOF 
    4723 cat confdefs.h >>conftest.$ac_ext 
    4724 cat >>conftest.$ac_ext <<_ACEOF 
    4725 /* end confdefs.h.  */ 
    4726 #include <netinet/in.h> 
    4727 _ACEOF 
    4728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4729   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4730   ac_status=$? 
    4731   grep -v '^ *+' conftest.er1 >conftest.err 
    4732   rm -f conftest.er1 
    4733   cat conftest.err >&5 
    4734   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2856  echo "$as_me:2856: \$? = $ac_status" >&5 
    47352857  (exit $ac_status); } >/dev/null; then 
    47362858  if test -s conftest.err; then 
    47372859    ac_cpp_err=$ac_c_preproc_warn_flag 
    4738     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    47392860  else 
    47402861    ac_cpp_err= 
     
    47442865fi 
    47452866if test -z "$ac_cpp_err"; then 
    4746   ac_header_preproc=yes 
     2867  ac_cv_header_netinet_in_h=yes 
    47472868else 
    47482869  echo "$as_me: failed program was:" >&5 
    4749 sed 's/^/| /' conftest.$ac_ext >&5 
    4750  
    4751   ac_header_preproc=no 
     2870  cat conftest.$ac_ext >&5 
     2871  ac_cv_header_netinet_in_h=no 
    47522872fi 
    47532873rm -f conftest.err conftest.$ac_ext 
    4754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    4755 echo "${ECHO_T}$ac_header_preproc" >&6 
    4756  
    4757 # So?  What about this header? 
    4758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    4759   yes:no: ) 
    4760     { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    4761 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    4762     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 
    4763 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 
    4764     ac_header_preproc=yes 
    4765     ;; 
    4766   no:yes:* ) 
    4767     { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
    4768 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
    4769     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&5 
    4770 echo "$as_me: WARNING: netinet/in.h:     check for missing prerequisite headers?" >&2;} 
    4771     { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 
    4772 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 
    4773     { echo "$as_me:$LINENO: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&5 
    4774 echo "$as_me: WARNING: netinet/in.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    4775     { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
    4776 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
    4777     { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 
    4778 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 
    4779     ( 
    4780       cat <<\_ASBOX 
    4781 ## ------------------------------------ ## 
    4782 ## Report this to the pjproject lists.  ## 
    4783 ## ------------------------------------ ## 
    4784 _ASBOX 
    4785     ) | 
    4786       sed "s/^/$as_me: WARNING:     /" >&2 
    4787     ;; 
    4788 esac 
    4789 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    4790 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 
    4791 if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    4792   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4793 else 
    4794   ac_cv_header_netinet_in_h=$ac_header_preproc 
    4795 fi 
    4796 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     2874fi 
     2875echo "$as_me:2875: result: $ac_cv_header_netinet_in_h" >&5 
    47972876echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 
    4798  
    4799 fi 
    48002877if test $ac_cv_header_netinet_in_h = yes; then 
    4801   cat >>confdefs.h <<\_ACEOF 
     2878  cat >>confdefs.h <<\EOF 
    48022879#define PJ_HAS_NETINET_IN_H 1 
    4803 _ACEOF 
    4804  
    4805 fi 
    4806  
    4807  
    4808 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    4809   echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     2880EOF 
     2881 
     2882fi 
     2883 
     2884echo "$as_me:2884: checking for setjmp.h" >&5 
    48102885echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 
    48112886if test "${ac_cv_header_setjmp_h+set}" = set; then 
    48122887  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4813 fi 
    4814 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    4815 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 
    4816 else 
    4817   # Is the header compilable? 
    4818 echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
    4819 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 
    4820 cat >conftest.$ac_ext <<_ACEOF 
    4821 /* confdefs.h.  */ 
    4822 _ACEOF 
    4823 cat confdefs.h >>conftest.$ac_ext 
    4824 cat >>conftest.$ac_ext <<_ACEOF 
    4825 /* end confdefs.h.  */ 
    4826 $ac_includes_default 
     2888else 
     2889  cat >conftest.$ac_ext <<_ACEOF 
     2890#line 2890 "configure" 
     2891#include "confdefs.h" 
    48272892#include <setjmp.h> 
    48282893_ACEOF 
    4829 rm -f conftest.$ac_objext 
    4830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4831   (eval $ac_compile) 2>conftest.er1 
    4832   ac_status=$? 
    4833   grep -v '^ *+' conftest.er1 >conftest.err 
     2894if { (eval echo "$as_me:2894: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2895  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2896  ac_status=$? 
     2897  egrep -v '^ *\+' conftest.er1 >conftest.err 
    48342898  rm -f conftest.er1 
    48352899  cat conftest.err >&5 
    4836   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4837   (exit $ac_status); } && 
    4838          { ac_try='test -z "$ac_c_werror_flag" 
    4839                          || test ! -s conftest.err' 
    4840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4841   (eval $ac_try) 2>&5 
    4842   ac_status=$? 
    4843   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4844   (exit $ac_status); }; } && 
    4845          { ac_try='test -s conftest.$ac_objext' 
    4846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4847   (eval $ac_try) 2>&5 
    4848   ac_status=$? 
    4849   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4850   (exit $ac_status); }; }; then 
    4851   ac_header_compiler=yes 
    4852 else 
    4853   echo "$as_me: failed program was:" >&5 
    4854 sed 's/^/| /' conftest.$ac_ext >&5 
    4855  
    4856 ac_header_compiler=no 
    4857 fi 
    4858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    4860 echo "${ECHO_T}$ac_header_compiler" >&6 
    4861  
    4862 # Is the header present? 
    4863 echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
    4864 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 
    4865 cat >conftest.$ac_ext <<_ACEOF 
    4866 /* confdefs.h.  */ 
    4867 _ACEOF 
    4868 cat confdefs.h >>conftest.$ac_ext 
    4869 cat >>conftest.$ac_ext <<_ACEOF 
    4870 /* end confdefs.h.  */ 
    4871 #include <setjmp.h> 
    4872 _ACEOF 
    4873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    4874   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    4875   ac_status=$? 
    4876   grep -v '^ *+' conftest.er1 >conftest.err 
    4877   rm -f conftest.er1 
    4878   cat conftest.err >&5 
    4879   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2900  echo "$as_me:2900: \$? = $ac_status" >&5 
    48802901  (exit $ac_status); } >/dev/null; then 
    48812902  if test -s conftest.err; then 
    48822903    ac_cpp_err=$ac_c_preproc_warn_flag 
    4883     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    48842904  else 
    48852905    ac_cpp_err= 
     
    48892909fi 
    48902910if test -z "$ac_cpp_err"; then 
    4891   ac_header_preproc=yes 
     2911  ac_cv_header_setjmp_h=yes 
    48922912else 
    48932913  echo "$as_me: failed program was:" >&5 
    4894 sed 's/^/| /' conftest.$ac_ext >&5 
    4895  
    4896   ac_header_preproc=no 
     2914  cat conftest.$ac_ext >&5 
     2915  ac_cv_header_setjmp_h=no 
    48972916fi 
    48982917rm -f conftest.err conftest.$ac_ext 
    4899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    4900 echo "${ECHO_T}$ac_header_preproc" >&6 
    4901  
    4902 # So?  What about this header? 
    4903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    4904   yes:no: ) 
    4905     { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    4906 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    4907     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 
    4908 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 
    4909     ac_header_preproc=yes 
    4910     ;; 
    4911   no:yes:* ) 
    4912     { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
    4913 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
    4914     { echo "$as_me:$LINENO: WARNING: setjmp.h:     check for missing prerequisite headers?" >&5 
    4915 echo "$as_me: WARNING: setjmp.h:     check for missing prerequisite headers?" >&2;} 
    4916     { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 
    4917 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 
    4918     { echo "$as_me:$LINENO: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&5 
    4919 echo "$as_me: WARNING: setjmp.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    4920     { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
    4921 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
    4922     { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 
    4923 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 
    4924     ( 
    4925       cat <<\_ASBOX 
    4926 ## ------------------------------------ ## 
    4927 ## Report this to the pjproject lists.  ## 
    4928 ## ------------------------------------ ## 
    4929 _ASBOX 
    4930     ) | 
    4931       sed "s/^/$as_me: WARNING:     /" >&2 
    4932     ;; 
    4933 esac 
    4934 echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    4935 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 
    4936 if test "${ac_cv_header_setjmp_h+set}" = set; then 
    4937   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4938 else 
    4939   ac_cv_header_setjmp_h=$ac_header_preproc 
    4940 fi 
    4941 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     2918fi 
     2919echo "$as_me:2919: result: $ac_cv_header_setjmp_h" >&5 
    49422920echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 
    4943  
    4944 fi 
    49452921if test $ac_cv_header_setjmp_h = yes; then 
    4946   cat >>confdefs.h <<\_ACEOF 
     2922  cat >>confdefs.h <<\EOF 
    49472923#define PJ_HAS_SETJMP_H 1 
    4948 _ACEOF 
    4949  
    4950 fi 
    4951  
    4952  
    4953 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    4954   echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     2924EOF 
     2925 
     2926fi 
     2927 
     2928echo "$as_me:2928: checking for stdarg.h" >&5 
    49552929echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 
    49562930if test "${ac_cv_header_stdarg_h+set}" = set; then 
    49572931  echo $ECHO_N "(cached) $ECHO_C" >&6 
    4958 fi 
    4959 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    4960 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 
    4961 else 
    4962   # Is the header compilable? 
    4963 echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
    4964 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 
    4965 cat >conftest.$ac_ext <<_ACEOF 
    4966 /* confdefs.h.  */ 
    4967 _ACEOF 
    4968 cat confdefs.h >>conftest.$ac_ext 
    4969 cat >>conftest.$ac_ext <<_ACEOF 
    4970 /* end confdefs.h.  */ 
    4971 $ac_includes_default 
     2932else 
     2933  cat >conftest.$ac_ext <<_ACEOF 
     2934#line 2934 "configure" 
     2935#include "confdefs.h" 
    49722936#include <stdarg.h> 
    49732937_ACEOF 
    4974 rm -f conftest.$ac_objext 
    4975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4976   (eval $ac_compile) 2>conftest.er1 
    4977   ac_status=$? 
    4978   grep -v '^ *+' conftest.er1 >conftest.err 
     2938if { (eval echo "$as_me:2938: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2939  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2940  ac_status=$? 
     2941  egrep -v '^ *\+' conftest.er1 >conftest.err 
    49792942  rm -f conftest.er1 
    49802943  cat conftest.err >&5 
    4981   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4982   (exit $ac_status); } && 
    4983          { ac_try='test -z "$ac_c_werror_flag" 
    4984                          || test ! -s conftest.err' 
    4985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4986   (eval $ac_try) 2>&5 
    4987   ac_status=$? 
    4988   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4989   (exit $ac_status); }; } && 
    4990          { ac_try='test -s conftest.$ac_objext' 
    4991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4992   (eval $ac_try) 2>&5 
    4993   ac_status=$? 
    4994   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4995   (exit $ac_status); }; }; then 
    4996   ac_header_compiler=yes 
    4997 else 
    4998   echo "$as_me: failed program was:" >&5 
    4999 sed 's/^/| /' conftest.$ac_ext >&5 
    5000  
    5001 ac_header_compiler=no 
    5002 fi 
    5003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5005 echo "${ECHO_T}$ac_header_compiler" >&6 
    5006  
    5007 # Is the header present? 
    5008 echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
    5009 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 
    5010 cat >conftest.$ac_ext <<_ACEOF 
    5011 /* confdefs.h.  */ 
    5012 _ACEOF 
    5013 cat confdefs.h >>conftest.$ac_ext 
    5014 cat >>conftest.$ac_ext <<_ACEOF 
    5015 /* end confdefs.h.  */ 
    5016 #include <stdarg.h> 
    5017 _ACEOF 
    5018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    5019   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    5020   ac_status=$? 
    5021   grep -v '^ *+' conftest.er1 >conftest.err 
    5022   rm -f conftest.er1 
    5023   cat conftest.err >&5 
    5024   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2944  echo "$as_me:2944: \$? = $ac_status" >&5 
    50252945  (exit $ac_status); } >/dev/null; then 
    50262946  if test -s conftest.err; then 
    50272947    ac_cpp_err=$ac_c_preproc_warn_flag 
    5028     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    50292948  else 
    50302949    ac_cpp_err= 
     
    50342953fi 
    50352954if test -z "$ac_cpp_err"; then 
    5036   ac_header_preproc=yes 
     2955  ac_cv_header_stdarg_h=yes 
    50372956else 
    50382957  echo "$as_me: failed program was:" >&5 
    5039 sed 's/^/| /' conftest.$ac_ext >&5 
    5040  
    5041   ac_header_preproc=no 
     2958  cat conftest.$ac_ext >&5 
     2959  ac_cv_header_stdarg_h=no 
    50422960fi 
    50432961rm -f conftest.err conftest.$ac_ext 
    5044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5045 echo "${ECHO_T}$ac_header_preproc" >&6 
    5046  
    5047 # So?  What about this header? 
    5048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5049   yes:no: ) 
    5050     { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5051 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5052     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 
    5053 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 
    5054     ac_header_preproc=yes 
    5055     ;; 
    5056   no:yes:* ) 
    5057     { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
    5058 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
    5059     { echo "$as_me:$LINENO: WARNING: stdarg.h:     check for missing prerequisite headers?" >&5 
    5060 echo "$as_me: WARNING: stdarg.h:     check for missing prerequisite headers?" >&2;} 
    5061     { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 
    5062 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 
    5063     { echo "$as_me:$LINENO: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5064 echo "$as_me: WARNING: stdarg.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5065     { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
    5066 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
    5067     { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 
    5068 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 
    5069     ( 
    5070       cat <<\_ASBOX 
    5071 ## ------------------------------------ ## 
    5072 ## Report this to the pjproject lists.  ## 
    5073 ## ------------------------------------ ## 
    5074 _ASBOX 
    5075     ) | 
    5076       sed "s/^/$as_me: WARNING:     /" >&2 
    5077     ;; 
    5078 esac 
    5079 echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    5080 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 
    5081 if test "${ac_cv_header_stdarg_h+set}" = set; then 
    5082   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5083 else 
    5084   ac_cv_header_stdarg_h=$ac_header_preproc 
    5085 fi 
    5086 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     2962fi 
     2963echo "$as_me:2963: result: $ac_cv_header_stdarg_h" >&5 
    50872964echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 
    5088  
    5089 fi 
    50902965if test $ac_cv_header_stdarg_h = yes; then 
    5091   cat >>confdefs.h <<\_ACEOF 
     2966  cat >>confdefs.h <<\EOF 
    50922967#define PJ_HAS_STDARG_H 1 
    5093 _ACEOF 
    5094  
    5095 fi 
    5096  
    5097  
    5098 if test "${ac_cv_header_stddef_h+set}" = set; then 
    5099   echo "$as_me:$LINENO: checking for stddef.h" >&5 
     2968EOF 
     2969 
     2970fi 
     2971 
     2972echo "$as_me:2972: checking for stddef.h" >&5 
    51002973echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 
    51012974if test "${ac_cv_header_stddef_h+set}" = set; then 
    51022975  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5103 fi 
    5104 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    5105 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 
    5106 else 
    5107   # Is the header compilable? 
    5108 echo "$as_me:$LINENO: checking stddef.h usability" >&5 
    5109 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 
    5110 cat >conftest.$ac_ext <<_ACEOF 
    5111 /* confdefs.h.  */ 
    5112 _ACEOF 
    5113 cat confdefs.h >>conftest.$ac_ext 
    5114 cat >>conftest.$ac_ext <<_ACEOF 
    5115 /* end confdefs.h.  */ 
    5116 $ac_includes_default 
     2976else 
     2977  cat >conftest.$ac_ext <<_ACEOF 
     2978#line 2978 "configure" 
     2979#include "confdefs.h" 
    51172980#include <stddef.h> 
    51182981_ACEOF 
    5119 rm -f conftest.$ac_objext 
    5120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5121   (eval $ac_compile) 2>conftest.er1 
    5122   ac_status=$? 
    5123   grep -v '^ *+' conftest.er1 >conftest.err 
     2982if { (eval echo "$as_me:2982: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2983  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2984  ac_status=$? 
     2985  egrep -v '^ *\+' conftest.er1 >conftest.err 
    51242986  rm -f conftest.er1 
    51252987  cat conftest.err >&5 
    5126   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5127   (exit $ac_status); } && 
    5128          { ac_try='test -z "$ac_c_werror_flag" 
    5129                          || test ! -s conftest.err' 
    5130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5131   (eval $ac_try) 2>&5 
    5132   ac_status=$? 
    5133   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5134   (exit $ac_status); }; } && 
    5135          { ac_try='test -s conftest.$ac_objext' 
    5136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5137   (eval $ac_try) 2>&5 
    5138   ac_status=$? 
    5139   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5140   (exit $ac_status); }; }; then 
    5141   ac_header_compiler=yes 
    5142 else 
    5143   echo "$as_me: failed program was:" >&5 
    5144 sed 's/^/| /' conftest.$ac_ext >&5 
    5145  
    5146 ac_header_compiler=no 
    5147 fi 
    5148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5150 echo "${ECHO_T}$ac_header_compiler" >&6 
    5151  
    5152 # Is the header present? 
    5153 echo "$as_me:$LINENO: checking stddef.h presence" >&5 
    5154 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 
    5155 cat >conftest.$ac_ext <<_ACEOF 
    5156 /* confdefs.h.  */ 
    5157 _ACEOF 
    5158 cat confdefs.h >>conftest.$ac_ext 
    5159 cat >>conftest.$ac_ext <<_ACEOF 
    5160 /* end confdefs.h.  */ 
    5161 #include <stddef.h> 
    5162 _ACEOF 
    5163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    5164   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    5165   ac_status=$? 
    5166   grep -v '^ *+' conftest.er1 >conftest.err 
    5167   rm -f conftest.er1 
    5168   cat conftest.err >&5 
    5169   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2988  echo "$as_me:2988: \$? = $ac_status" >&5 
    51702989  (exit $ac_status); } >/dev/null; then 
    51712990  if test -s conftest.err; then 
    51722991    ac_cpp_err=$ac_c_preproc_warn_flag 
    5173     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    51742992  else 
    51752993    ac_cpp_err= 
     
    51792997fi 
    51802998if test -z "$ac_cpp_err"; then 
    5181   ac_header_preproc=yes 
     2999  ac_cv_header_stddef_h=yes 
    51823000else 
    51833001  echo "$as_me: failed program was:" >&5 
    5184 sed 's/^/| /' conftest.$ac_ext >&5 
    5185  
    5186   ac_header_preproc=no 
     3002  cat conftest.$ac_ext >&5 
     3003  ac_cv_header_stddef_h=no 
    51873004fi 
    51883005rm -f conftest.err conftest.$ac_ext 
    5189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5190 echo "${ECHO_T}$ac_header_preproc" >&6 
    5191  
    5192 # So?  What about this header? 
    5193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5194   yes:no: ) 
    5195     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5196 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5197     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 
    5198 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 
    5199     ac_header_preproc=yes 
    5200     ;; 
    5201   no:yes:* ) 
    5202     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
    5203 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
    5204     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5 
    5205 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;} 
    5206     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 
    5207 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 
    5208     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5209 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5210     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
    5211 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
    5212     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 
    5213 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 
    5214     ( 
    5215       cat <<\_ASBOX 
    5216 ## ------------------------------------ ## 
    5217 ## Report this to the pjproject lists.  ## 
    5218 ## ------------------------------------ ## 
    5219 _ASBOX 
    5220     ) | 
    5221       sed "s/^/$as_me: WARNING:     /" >&2 
    5222     ;; 
    5223 esac 
    5224 echo "$as_me:$LINENO: checking for stddef.h" >&5 
    5225 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 
    5226 if test "${ac_cv_header_stddef_h+set}" = set; then 
    5227   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5228 else 
    5229   ac_cv_header_stddef_h=$ac_header_preproc 
    5230 fi 
    5231 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     3006fi 
     3007echo "$as_me:3007: result: $ac_cv_header_stddef_h" >&5 
    52323008echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 
    5233  
    5234 fi 
    52353009if test $ac_cv_header_stddef_h = yes; then 
    5236   cat >>confdefs.h <<\_ACEOF 
     3010  cat >>confdefs.h <<\EOF 
    52373011#define PJ_HAS_STDDEF_H 1 
    5238 _ACEOF 
    5239  
    5240 fi 
    5241  
    5242  
    5243 if test "${ac_cv_header_stdio_h+set}" = set; then 
    5244   echo "$as_me:$LINENO: checking for stdio.h" >&5 
     3012EOF 
     3013 
     3014fi 
     3015 
     3016echo "$as_me:3016: checking for stdio.h" >&5 
    52453017echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 
    52463018if test "${ac_cv_header_stdio_h+set}" = set; then 
    52473019  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5248 fi 
    5249 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    5250 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 
    5251 else 
    5252   # Is the header compilable? 
    5253 echo "$as_me:$LINENO: checking stdio.h usability" >&5 
    5254 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 
    5255 cat >conftest.$ac_ext <<_ACEOF 
    5256 /* confdefs.h.  */ 
    5257 _ACEOF 
    5258 cat confdefs.h >>conftest.$ac_ext 
    5259 cat >>conftest.$ac_ext <<_ACEOF 
    5260 /* end confdefs.h.  */ 
    5261 $ac_includes_default 
     3020else 
     3021  cat >conftest.$ac_ext <<_ACEOF 
     3022#line 3022 "configure" 
     3023#include "confdefs.h" 
    52623024#include <stdio.h> 
    52633025_ACEOF 
    5264 rm -f conftest.$ac_objext 
    5265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5266   (eval $ac_compile) 2>conftest.er1 
    5267   ac_status=$? 
    5268   grep -v '^ *+' conftest.er1 >conftest.err 
     3026if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3027  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3028  ac_status=$? 
     3029  egrep -v '^ *\+' conftest.er1 >conftest.err 
    52693030  rm -f conftest.er1 
    52703031  cat conftest.err >&5 
    5271   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5272   (exit $ac_status); } && 
    5273          { ac_try='test -z "$ac_c_werror_flag" 
    5274                          || test ! -s conftest.err' 
    5275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5276   (eval $ac_try) 2>&5 
    5277   ac_status=$? 
    5278   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5279   (exit $ac_status); }; } && 
    5280          { ac_try='test -s conftest.$ac_objext' 
    5281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5282   (eval $ac_try) 2>&5 
    5283   ac_status=$? 
    5284   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5285   (exit $ac_status); }; }; then 
    5286   ac_header_compiler=yes 
    5287 else 
    5288   echo "$as_me: failed program was:" >&5 
    5289 sed 's/^/| /' conftest.$ac_ext >&5 
    5290  
    5291 ac_header_compiler=no 
    5292 fi 
    5293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5295 echo "${ECHO_T}$ac_header_compiler" >&6 
    5296  
    5297 # Is the header present? 
    5298 echo "$as_me:$LINENO: checking stdio.h presence" >&5 
    5299 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 
    5300 cat >conftest.$ac_ext <<_ACEOF 
    5301 /* confdefs.h.  */ 
    5302 _ACEOF 
    5303 cat confdefs.h >>conftest.$ac_ext 
    5304 cat >>conftest.$ac_ext <<_ACEOF 
    5305 /* end confdefs.h.  */ 
    5306 #include <stdio.h> 
    5307 _ACEOF 
    5308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    5309   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    5310   ac_status=$? 
    5311   grep -v '^ *+' conftest.er1 >conftest.err 
    5312   rm -f conftest.er1 
    5313   cat conftest.err >&5 
    5314   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3032  echo "$as_me:3032: \$? = $ac_status" >&5 
    53153033  (exit $ac_status); } >/dev/null; then 
    53163034  if test -s conftest.err; then 
    53173035    ac_cpp_err=$ac_c_preproc_warn_flag 
    5318     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    53193036  else 
    53203037    ac_cpp_err= 
     
    53243041fi 
    53253042if test -z "$ac_cpp_err"; then 
    5326   ac_header_preproc=yes 
     3043  ac_cv_header_stdio_h=yes 
    53273044else 
    53283045  echo "$as_me: failed program was:" >&5 
    5329 sed 's/^/| /' conftest.$ac_ext >&5 
    5330  
    5331   ac_header_preproc=no 
     3046  cat conftest.$ac_ext >&5 
     3047  ac_cv_header_stdio_h=no 
    53323048fi 
    53333049rm -f conftest.err conftest.$ac_ext 
    5334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5335 echo "${ECHO_T}$ac_header_preproc" >&6 
    5336  
    5337 # So?  What about this header? 
    5338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5339   yes:no: ) 
    5340     { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5341 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5342     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 
    5343 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 
    5344     ac_header_preproc=yes 
    5345     ;; 
    5346   no:yes:* ) 
    5347     { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
    5348 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
    5349     { echo "$as_me:$LINENO: WARNING: stdio.h:     check for missing prerequisite headers?" >&5 
    5350 echo "$as_me: WARNING: stdio.h:     check for missing prerequisite headers?" >&2;} 
    5351     { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 
    5352 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 
    5353     { echo "$as_me:$LINENO: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5354 echo "$as_me: WARNING: stdio.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5355     { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
    5356 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
    5357     { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 
    5358 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 
    5359     ( 
    5360       cat <<\_ASBOX 
    5361 ## ------------------------------------ ## 
    5362 ## Report this to the pjproject lists.  ## 
    5363 ## ------------------------------------ ## 
    5364 _ASBOX 
    5365     ) | 
    5366       sed "s/^/$as_me: WARNING:     /" >&2 
    5367     ;; 
    5368 esac 
    5369 echo "$as_me:$LINENO: checking for stdio.h" >&5 
    5370 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 
    5371 if test "${ac_cv_header_stdio_h+set}" = set; then 
    5372   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5373 else 
    5374   ac_cv_header_stdio_h=$ac_header_preproc 
    5375 fi 
    5376 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     3050fi 
     3051echo "$as_me:3051: result: $ac_cv_header_stdio_h" >&5 
    53773052echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 
    5378  
    5379 fi 
    53803053if test $ac_cv_header_stdio_h = yes; then 
    5381   cat >>confdefs.h <<\_ACEOF 
     3054  cat >>confdefs.h <<\EOF 
    53823055#define PJ_HAS_STDIO_H 1 
    5383 _ACEOF 
    5384  
    5385 fi 
    5386  
    5387  
    5388 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    5389   echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     3056EOF 
     3057 
     3058fi 
     3059 
     3060echo "$as_me:3060: checking for stdlib.h" >&5 
    53903061echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 
    53913062if test "${ac_cv_header_stdlib_h+set}" = set; then 
    53923063  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5393 fi 
    5394 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    5395 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 
    5396 else 
    5397   # Is the header compilable? 
    5398 echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
    5399 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 
    5400 cat >conftest.$ac_ext <<_ACEOF 
    5401 /* confdefs.h.  */ 
    5402 _ACEOF 
    5403 cat confdefs.h >>conftest.$ac_ext 
    5404 cat >>conftest.$ac_ext <<_ACEOF 
    5405 /* end confdefs.h.  */ 
    5406 $ac_includes_default 
     3064else 
     3065  cat >conftest.$ac_ext <<_ACEOF 
     3066#line 3066 "configure" 
     3067#include "confdefs.h" 
    54073068#include <stdlib.h> 
    54083069_ACEOF 
    5409 rm -f conftest.$ac_objext 
    5410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5411   (eval $ac_compile) 2>conftest.er1 
    5412   ac_status=$? 
    5413   grep -v '^ *+' conftest.er1 >conftest.err 
     3070if { (eval echo "$as_me:3070: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3071  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3072  ac_status=$? 
     3073  egrep -v '^ *\+' conftest.er1 >conftest.err 
    54143074  rm -f conftest.er1 
    54153075  cat conftest.err >&5 
    5416   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5417   (exit $ac_status); } && 
    5418          { ac_try='test -z "$ac_c_werror_flag" 
    5419                          || test ! -s conftest.err' 
    5420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5421   (eval $ac_try) 2>&5 
    5422   ac_status=$? 
    5423   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5424   (exit $ac_status); }; } && 
    5425          { ac_try='test -s conftest.$ac_objext' 
    5426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5427   (eval $ac_try) 2>&5 
    5428   ac_status=$? 
    5429   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5430   (exit $ac_status); }; }; then 
    5431   ac_header_compiler=yes 
    5432 else 
    5433   echo "$as_me: failed program was:" >&5 
    5434 sed 's/^/| /' conftest.$ac_ext >&5 
    5435  
    5436 ac_header_compiler=no 
    5437 fi 
    5438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5440 echo "${ECHO_T}$ac_header_compiler" >&6 
    5441  
    5442 # Is the header present? 
    5443 echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
    5444 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 
    5445 cat >conftest.$ac_ext <<_ACEOF 
    5446 /* confdefs.h.  */ 
    5447 _ACEOF 
    5448 cat confdefs.h >>conftest.$ac_ext 
    5449 cat >>conftest.$ac_ext <<_ACEOF 
    5450 /* end confdefs.h.  */ 
    5451 #include <stdlib.h> 
    5452 _ACEOF 
    5453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    5454   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    5455   ac_status=$? 
    5456   grep -v '^ *+' conftest.er1 >conftest.err 
    5457   rm -f conftest.er1 
    5458   cat conftest.err >&5 
    5459   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3076  echo "$as_me:3076: \$? = $ac_status" >&5 
    54603077  (exit $ac_status); } >/dev/null; then 
    54613078  if test -s conftest.err; then 
    54623079    ac_cpp_err=$ac_c_preproc_warn_flag 
    5463     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    54643080  else 
    54653081    ac_cpp_err= 
     
    54693085fi 
    54703086if test -z "$ac_cpp_err"; then 
    5471   ac_header_preproc=yes 
     3087  ac_cv_header_stdlib_h=yes 
    54723088else 
    54733089  echo "$as_me: failed program was:" >&5 
    5474 sed 's/^/| /' conftest.$ac_ext >&5 
    5475  
    5476   ac_header_preproc=no 
     3090  cat conftest.$ac_ext >&5 
     3091  ac_cv_header_stdlib_h=no 
    54773092fi 
    54783093rm -f conftest.err conftest.$ac_ext 
    5479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5480 echo "${ECHO_T}$ac_header_preproc" >&6 
    5481  
    5482 # So?  What about this header? 
    5483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5484   yes:no: ) 
    5485     { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5486 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5487     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 
    5488 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 
    5489     ac_header_preproc=yes 
    5490     ;; 
    5491   no:yes:* ) 
    5492     { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
    5493 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
    5494     { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5 
    5495 echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;} 
    5496     { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 
    5497 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 
    5498     { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5499 echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5500     { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
    5501 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
    5502     { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 
    5503 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 
    5504     ( 
    5505       cat <<\_ASBOX 
    5506 ## ------------------------------------ ## 
    5507 ## Report this to the pjproject lists.  ## 
    5508 ## ------------------------------------ ## 
    5509 _ASBOX 
    5510     ) | 
    5511       sed "s/^/$as_me: WARNING:     /" >&2 
    5512     ;; 
    5513 esac 
    5514 echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    5515 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 
    5516 if test "${ac_cv_header_stdlib_h+set}" = set; then 
    5517   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5518 else 
    5519   ac_cv_header_stdlib_h=$ac_header_preproc 
    5520 fi 
    5521 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     3094fi 
     3095echo "$as_me:3095: result: $ac_cv_header_stdlib_h" >&5 
    55223096echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 
    5523  
    5524 fi 
    55253097if test $ac_cv_header_stdlib_h = yes; then 
    5526   cat >>confdefs.h <<\_ACEOF 
     3098  cat >>confdefs.h <<\EOF 
    55273099#define PJ_HAS_STDLIB_H 1 
    5528 _ACEOF 
    5529  
    5530 fi 
    5531  
    5532  
    5533 if test "${ac_cv_header_string_h+set}" = set; then 
    5534   echo "$as_me:$LINENO: checking for string.h" >&5 
     3100EOF 
     3101 
     3102fi 
     3103 
     3104echo "$as_me:3104: checking for string.h" >&5 
    55353105echo $ECHO_N "checking for string.h... $ECHO_C" >&6 
    55363106if test "${ac_cv_header_string_h+set}" = set; then 
    55373107  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5538 fi 
    5539 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    5540 echo "${ECHO_T}$ac_cv_header_string_h" >&6 
    5541 else 
    5542   # Is the header compilable? 
    5543 echo "$as_me:$LINENO: checking string.h usability" >&5 
    5544 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 
    5545 cat >conftest.$ac_ext <<_ACEOF 
    5546 /* confdefs.h.  */ 
    5547 _ACEOF 
    5548 cat confdefs.h >>conftest.$ac_ext 
    5549 cat >>conftest.$ac_ext <<_ACEOF 
    5550 /* end confdefs.h.  */ 
    5551 $ac_includes_default 
     3108else 
     3109  cat >conftest.$ac_ext <<_ACEOF 
     3110#line 3110 "configure" 
     3111#include "confdefs.h" 
    55523112#include <string.h> 
    55533113_ACEOF 
    5554 rm -f conftest.$ac_objext 
    5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5556   (eval $ac_compile) 2>conftest.er1 
    5557   ac_status=$? 
    5558   grep -v '^ *+' conftest.er1 >conftest.err 
     3114if { (eval echo "$as_me:3114: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3115  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3116  ac_status=$? 
     3117  egrep -v '^ *\+' conftest.er1 >conftest.err 
    55593118  rm -f conftest.er1 
    55603119  cat conftest.err >&5 
    5561   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5562   (exit $ac_status); } && 
    5563          { ac_try='test -z "$ac_c_werror_flag" 
    5564                          || test ! -s conftest.err' 
    5565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5566   (eval $ac_try) 2>&5 
    5567   ac_status=$? 
    5568   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5569   (exit $ac_status); }; } && 
    5570          { ac_try='test -s conftest.$ac_objext' 
    5571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5572   (eval $ac_try) 2>&5 
    5573   ac_status=$? 
    5574   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5575   (exit $ac_status); }; }; then 
    5576   ac_header_compiler=yes 
    5577 else 
    5578   echo "$as_me: failed program was:" >&5 
    5579 sed 's/^/| /' conftest.$ac_ext >&5 
    5580  
    5581 ac_header_compiler=no 
    5582 fi 
    5583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5585 echo "${ECHO_T}$ac_header_compiler" >&6 
    5586  
    5587 # Is the header present? 
    5588 echo "$as_me:$LINENO: checking string.h presence" >&5 
    5589 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 
    5590 cat >conftest.$ac_ext <<_ACEOF 
    5591 /* confdefs.h.  */ 
    5592 _ACEOF 
    5593 cat confdefs.h >>conftest.$ac_ext 
    5594 cat >>conftest.$ac_ext <<_ACEOF 
    5595 /* end confdefs.h.  */ 
    5596 #include <string.h> 
    5597 _ACEOF 
    5598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    5599   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    5600   ac_status=$? 
    5601   grep -v '^ *+' conftest.er1 >conftest.err 
    5602   rm -f conftest.er1 
    5603   cat conftest.err >&5 
    5604   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3120  echo "$as_me:3120: \$? = $ac_status" >&5 
    56053121  (exit $ac_status); } >/dev/null; then 
    56063122  if test -s conftest.err; then 
    56073123    ac_cpp_err=$ac_c_preproc_warn_flag 
    5608     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    56093124  else 
    56103125    ac_cpp_err= 
     
    56143129fi 
    56153130if test -z "$ac_cpp_err"; then 
    5616   ac_header_preproc=yes 
     3131  ac_cv_header_string_h=yes 
    56173132else 
    56183133  echo "$as_me: failed program was:" >&5 
    5619 sed 's/^/| /' conftest.$ac_ext >&5 
    5620  
    5621   ac_header_preproc=no 
     3134  cat conftest.$ac_ext >&5 
     3135  ac_cv_header_string_h=no 
    56223136fi 
    56233137rm -f conftest.err conftest.$ac_ext 
    5624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5625 echo "${ECHO_T}$ac_header_preproc" >&6 
    5626  
    5627 # So?  What about this header? 
    5628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5629   yes:no: ) 
    5630     { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5631 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5632     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 
    5633 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 
    5634     ac_header_preproc=yes 
    5635     ;; 
    5636   no:yes:* ) 
    5637     { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
    5638 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
    5639     { echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5 
    5640 echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;} 
    5641     { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 
    5642 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 
    5643     { echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5644 echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5645     { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
    5646 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
    5647     { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 
    5648 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 
    5649     ( 
    5650       cat <<\_ASBOX 
    5651 ## ------------------------------------ ## 
    5652 ## Report this to the pjproject lists.  ## 
    5653 ## ------------------------------------ ## 
    5654 _ASBOX 
    5655     ) | 
    5656       sed "s/^/$as_me: WARNING:     /" >&2 
    5657     ;; 
    5658 esac 
    5659 echo "$as_me:$LINENO: checking for string.h" >&5 
    5660 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 
    5661 if test "${ac_cv_header_string_h+set}" = set; then 
    5662   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5663 else 
    5664   ac_cv_header_string_h=$ac_header_preproc 
    5665 fi 
    5666 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     3138fi 
     3139echo "$as_me:3139: result: $ac_cv_header_string_h" >&5 
    56673140echo "${ECHO_T}$ac_cv_header_string_h" >&6 
    5668  
    5669 fi 
    56703141if test $ac_cv_header_string_h = yes; then 
    5671   cat >>confdefs.h <<\_ACEOF 
     3142  cat >>confdefs.h <<\EOF 
    56723143#define PJ_HAS_STRING_H 1 
    5673 _ACEOF 
    5674  
    5675 fi 
    5676  
    5677  
    5678 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    5679   echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     3144EOF 
     3145 
     3146fi 
     3147 
     3148echo "$as_me:3148: checking for sys/ioctl.h" >&5 
    56803149echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 
    56813150if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    56823151  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5683 fi 
    5684 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    5685 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 
    5686 else 
    5687   # Is the header compilable? 
    5688 echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
    5689 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 
    5690 cat >conftest.$ac_ext <<_ACEOF 
    5691 /* confdefs.h.  */ 
    5692 _ACEOF 
    5693 cat confdefs.h >>conftest.$ac_ext 
    5694 cat >>conftest.$ac_ext <<_ACEOF 
    5695 /* end confdefs.h.  */ 
    5696 $ac_includes_default 
     3152else 
     3153  cat >conftest.$ac_ext <<_ACEOF 
     3154#line 3154 "configure" 
     3155#include "confdefs.h" 
    56973156#include <sys/ioctl.h> 
    56983157_ACEOF 
    5699 rm -f conftest.$ac_objext 
    5700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5701   (eval $ac_compile) 2>conftest.er1 
    5702   ac_status=$? 
    5703   grep -v '^ *+' conftest.er1 >conftest.err 
     3158if { (eval echo "$as_me:3158: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3159  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3160  ac_status=$? 
     3161  egrep -v '^ *\+' conftest.er1 >conftest.err 
    57043162  rm -f conftest.er1 
    57053163  cat conftest.err >&5 
    5706   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5707   (exit $ac_status); } && 
    5708          { ac_try='test -z "$ac_c_werror_flag" 
    5709                          || test ! -s conftest.err' 
    5710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5711   (eval $ac_try) 2>&5 
    5712   ac_status=$? 
    5713   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5714   (exit $ac_status); }; } && 
    5715          { ac_try='test -s conftest.$ac_objext' 
    5716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5717   (eval $ac_try) 2>&5 
    5718   ac_status=$? 
    5719   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5720   (exit $ac_status); }; }; then 
    5721   ac_header_compiler=yes 
    5722 else 
    5723   echo "$as_me: failed program was:" >&5 
    5724 sed 's/^/| /' conftest.$ac_ext >&5 
    5725  
    5726 ac_header_compiler=no 
    5727 fi 
    5728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5730 echo "${ECHO_T}$ac_header_compiler" >&6 
    5731  
    5732 # Is the header present? 
    5733 echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
    5734 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 
    5735 cat >conftest.$ac_ext <<_ACEOF 
    5736 /* confdefs.h.  */ 
    5737 _ACEOF 
    5738 cat confdefs.h >>conftest.$ac_ext 
    5739 cat >>conftest.$ac_ext <<_ACEOF 
    5740 /* end confdefs.h.  */ 
    5741 #include <sys/ioctl.h> 
    5742 _ACEOF 
    5743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    5744   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    5745   ac_status=$? 
    5746   grep -v '^ *+' conftest.er1 >conftest.err 
    5747   rm -f conftest.er1 
    5748   cat conftest.err >&5 
    5749   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3164  echo "$as_me:3164: \$? = $ac_status" >&5 
    57503165  (exit $ac_status); } >/dev/null; then 
    57513166  if test -s conftest.err; then 
    57523167    ac_cpp_err=$ac_c_preproc_warn_flag 
    5753     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    57543168  else 
    57553169    ac_cpp_err= 
     
    57593173fi 
    57603174if test -z "$ac_cpp_err"; then 
    5761   ac_header_preproc=yes 
     3175  ac_cv_header_sys_ioctl_h=yes 
    57623176else 
    57633177  echo "$as_me: failed program was:" >&5 
    5764 sed 's/^/| /' conftest.$ac_ext >&5 
    5765  
    5766   ac_header_preproc=no 
     3178  cat conftest.$ac_ext >&5 
     3179  ac_cv_header_sys_ioctl_h=no 
    57673180fi 
    57683181rm -f conftest.err conftest.$ac_ext 
    5769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5770 echo "${ECHO_T}$ac_header_preproc" >&6 
    5771  
    5772 # So?  What about this header? 
    5773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5774   yes:no: ) 
    5775     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5776 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5777     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 
    5778 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 
    5779     ac_header_preproc=yes 
    5780     ;; 
    5781   no:yes:* ) 
    5782     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
    5783 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
    5784     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&5 
    5785 echo "$as_me: WARNING: sys/ioctl.h:     check for missing prerequisite headers?" >&2;} 
    5786     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 
    5787 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 
    5788     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5789 echo "$as_me: WARNING: sys/ioctl.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5790     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
    5791 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
    5792     { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 
    5793 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 
    5794     ( 
    5795       cat <<\_ASBOX 
    5796 ## ------------------------------------ ## 
    5797 ## Report this to the pjproject lists.  ## 
    5798 ## ------------------------------------ ## 
    5799 _ASBOX 
    5800     ) | 
    5801       sed "s/^/$as_me: WARNING:     /" >&2 
    5802     ;; 
    5803 esac 
    5804 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    5805 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 
    5806 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    5807   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5808 else 
    5809   ac_cv_header_sys_ioctl_h=$ac_header_preproc 
    5810 fi 
    5811 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     3182fi 
     3183echo "$as_me:3183: result: $ac_cv_header_sys_ioctl_h" >&5 
    58123184echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 
    5813  
    5814 fi 
    58153185if test $ac_cv_header_sys_ioctl_h = yes; then 
    5816   cat >>confdefs.h <<\_ACEOF 
     3186  cat >>confdefs.h <<\EOF 
    58173187#define PJ_HAS_SYS_IOCTL_H 1 
    5818 _ACEOF 
    5819  
    5820 fi 
    5821  
    5822  
    5823 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    5824   echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     3188EOF 
     3189 
     3190fi 
     3191 
     3192echo "$as_me:3192: checking for sys/select.h" >&5 
    58253193echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 
    58263194if test "${ac_cv_header_sys_select_h+set}" = set; then 
    58273195  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5828 fi 
    5829 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    5830 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 
    5831 else 
    5832   # Is the header compilable? 
    5833 echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
    5834 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 
    5835 cat >conftest.$ac_ext <<_ACEOF 
    5836 /* confdefs.h.  */ 
    5837 _ACEOF 
    5838 cat confdefs.h >>conftest.$ac_ext 
    5839 cat >>conftest.$ac_ext <<_ACEOF 
    5840 /* end confdefs.h.  */ 
    5841 $ac_includes_default 
     3196else 
     3197  cat >conftest.$ac_ext <<_ACEOF 
     3198#line 3198 "configure" 
     3199#include "confdefs.h" 
    58423200#include <sys/select.h> 
    58433201_ACEOF 
    5844 rm -f conftest.$ac_objext 
    5845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5846   (eval $ac_compile) 2>conftest.er1 
    5847   ac_status=$? 
    5848   grep -v '^ *+' conftest.er1 >conftest.err 
     3202if { (eval echo "$as_me:3202: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3203  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3204  ac_status=$? 
     3205  egrep -v '^ *\+' conftest.er1 >conftest.err 
    58493206  rm -f conftest.er1 
    58503207  cat conftest.err >&5 
    5851   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5852   (exit $ac_status); } && 
    5853          { ac_try='test -z "$ac_c_werror_flag" 
    5854                          || test ! -s conftest.err' 
    5855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5856   (eval $ac_try) 2>&5 
    5857   ac_status=$? 
    5858   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5859   (exit $ac_status); }; } && 
    5860          { ac_try='test -s conftest.$ac_objext' 
    5861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5862   (eval $ac_try) 2>&5 
    5863   ac_status=$? 
    5864   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5865   (exit $ac_status); }; }; then 
    5866   ac_header_compiler=yes 
    5867 else 
    5868   echo "$as_me: failed program was:" >&5 
    5869 sed 's/^/| /' conftest.$ac_ext >&5 
    5870  
    5871 ac_header_compiler=no 
    5872 fi 
    5873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    5875 echo "${ECHO_T}$ac_header_compiler" >&6 
    5876  
    5877 # Is the header present? 
    5878 echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
    5879 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 
    5880 cat >conftest.$ac_ext <<_ACEOF 
    5881 /* confdefs.h.  */ 
    5882 _ACEOF 
    5883 cat confdefs.h >>conftest.$ac_ext 
    5884 cat >>conftest.$ac_ext <<_ACEOF 
    5885 /* end confdefs.h.  */ 
    5886 #include <sys/select.h> 
    5887 _ACEOF 
    5888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    5889   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    5890   ac_status=$? 
    5891   grep -v '^ *+' conftest.er1 >conftest.err 
    5892   rm -f conftest.er1 
    5893   cat conftest.err >&5 
    5894   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3208  echo "$as_me:3208: \$? = $ac_status" >&5 
    58953209  (exit $ac_status); } >/dev/null; then 
    58963210  if test -s conftest.err; then 
    58973211    ac_cpp_err=$ac_c_preproc_warn_flag 
    5898     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    58993212  else 
    59003213    ac_cpp_err= 
     
    59043217fi 
    59053218if test -z "$ac_cpp_err"; then 
    5906   ac_header_preproc=yes 
     3219  ac_cv_header_sys_select_h=yes 
    59073220else 
    59083221  echo "$as_me: failed program was:" >&5 
    5909 sed 's/^/| /' conftest.$ac_ext >&5 
    5910  
    5911   ac_header_preproc=no 
     3222  cat conftest.$ac_ext >&5 
     3223  ac_cv_header_sys_select_h=no 
    59123224fi 
    59133225rm -f conftest.err conftest.$ac_ext 
    5914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    5915 echo "${ECHO_T}$ac_header_preproc" >&6 
    5916  
    5917 # So?  What about this header? 
    5918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    5919   yes:no: ) 
    5920     { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    5921 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    5922     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 
    5923 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 
    5924     ac_header_preproc=yes 
    5925     ;; 
    5926   no:yes:* ) 
    5927     { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
    5928 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
    5929     { echo "$as_me:$LINENO: WARNING: sys/select.h:     check for missing prerequisite headers?" >&5 
    5930 echo "$as_me: WARNING: sys/select.h:     check for missing prerequisite headers?" >&2;} 
    5931     { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 
    5932 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 
    5933     { echo "$as_me:$LINENO: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&5 
    5934 echo "$as_me: WARNING: sys/select.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    5935     { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
    5936 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
    5937     { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 
    5938 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 
    5939     ( 
    5940       cat <<\_ASBOX 
    5941 ## ------------------------------------ ## 
    5942 ## Report this to the pjproject lists.  ## 
    5943 ## ------------------------------------ ## 
    5944 _ASBOX 
    5945     ) | 
    5946       sed "s/^/$as_me: WARNING:     /" >&2 
    5947     ;; 
    5948 esac 
    5949 echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    5950 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 
    5951 if test "${ac_cv_header_sys_select_h+set}" = set; then 
    5952   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5953 else 
    5954   ac_cv_header_sys_select_h=$ac_header_preproc 
    5955 fi 
    5956 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     3226fi 
     3227echo "$as_me:3227: result: $ac_cv_header_sys_select_h" >&5 
    59573228echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 
    5958  
    5959 fi 
    59603229if test $ac_cv_header_sys_select_h = yes; then 
    5961   cat >>confdefs.h <<\_ACEOF 
     3230  cat >>confdefs.h <<\EOF 
    59623231#define PJ_HAS_SYS_SELECT_H 1 
    5963 _ACEOF 
    5964  
    5965 fi 
    5966  
    5967  
    5968 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    5969   echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     3232EOF 
     3233 
     3234fi 
     3235 
     3236echo "$as_me:3236: checking for sys/socket.h" >&5 
    59703237echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 
    59713238if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    59723239  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5973 fi 
    5974 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    5975 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 
    5976 else 
    5977   # Is the header compilable? 
    5978 echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
    5979 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 
    5980 cat >conftest.$ac_ext <<_ACEOF 
    5981 /* confdefs.h.  */ 
    5982 _ACEOF 
    5983 cat confdefs.h >>conftest.$ac_ext 
    5984 cat >>conftest.$ac_ext <<_ACEOF 
    5985 /* end confdefs.h.  */ 
    5986 $ac_includes_default 
     3240else 
     3241  cat >conftest.$ac_ext <<_ACEOF 
     3242#line 3242 "configure" 
     3243#include "confdefs.h" 
    59873244#include <sys/socket.h> 
    59883245_ACEOF 
    5989 rm -f conftest.$ac_objext 
    5990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5991   (eval $ac_compile) 2>conftest.er1 
    5992   ac_status=$? 
    5993   grep -v '^ *+' conftest.er1 >conftest.err 
     3246if { (eval echo "$as_me:3246: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3247  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3248  ac_status=$? 
     3249  egrep -v '^ *\+' conftest.er1 >conftest.err 
    59943250  rm -f conftest.er1 
    59953251  cat conftest.err >&5 
    5996   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5997   (exit $ac_status); } && 
    5998          { ac_try='test -z "$ac_c_werror_flag" 
    5999                          || test ! -s conftest.err' 
    6000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6001   (eval $ac_try) 2>&5 
    6002   ac_status=$? 
    6003   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6004   (exit $ac_status); }; } && 
    6005          { ac_try='test -s conftest.$ac_objext' 
    6006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6007   (eval $ac_try) 2>&5 
    6008   ac_status=$? 
    6009   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6010   (exit $ac_status); }; }; then 
    6011   ac_header_compiler=yes 
    6012 else 
    6013   echo "$as_me: failed program was:" >&5 
    6014 sed 's/^/| /' conftest.$ac_ext >&5 
    6015  
    6016 ac_header_compiler=no 
    6017 fi 
    6018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6020 echo "${ECHO_T}$ac_header_compiler" >&6 
    6021  
    6022 # Is the header present? 
    6023 echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
    6024 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 
    6025 cat >conftest.$ac_ext <<_ACEOF 
    6026 /* confdefs.h.  */ 
    6027 _ACEOF 
    6028 cat confdefs.h >>conftest.$ac_ext 
    6029 cat >>conftest.$ac_ext <<_ACEOF 
    6030 /* end confdefs.h.  */ 
    6031 #include <sys/socket.h> 
    6032 _ACEOF 
    6033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    6034   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    6035   ac_status=$? 
    6036   grep -v '^ *+' conftest.er1 >conftest.err 
    6037   rm -f conftest.er1 
    6038   cat conftest.err >&5 
    6039   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3252  echo "$as_me:3252: \$? = $ac_status" >&5 
    60403253  (exit $ac_status); } >/dev/null; then 
    60413254  if test -s conftest.err; then 
    60423255    ac_cpp_err=$ac_c_preproc_warn_flag 
    6043     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    60443256  else 
    60453257    ac_cpp_err= 
     
    60493261fi 
    60503262if test -z "$ac_cpp_err"; then 
    6051   ac_header_preproc=yes 
     3263  ac_cv_header_sys_socket_h=yes 
    60523264else 
    60533265  echo "$as_me: failed program was:" >&5 
    6054 sed 's/^/| /' conftest.$ac_ext >&5 
    6055  
    6056   ac_header_preproc=no 
     3266  cat conftest.$ac_ext >&5 
     3267  ac_cv_header_sys_socket_h=no 
    60573268fi 
    60583269rm -f conftest.err conftest.$ac_ext 
    6059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6060 echo "${ECHO_T}$ac_header_preproc" >&6 
    6061  
    6062 # So?  What about this header? 
    6063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6064   yes:no: ) 
    6065     { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6066 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6067     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 
    6068 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 
    6069     ac_header_preproc=yes 
    6070     ;; 
    6071   no:yes:* ) 
    6072     { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
    6073 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
    6074     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&5 
    6075 echo "$as_me: WARNING: sys/socket.h:     check for missing prerequisite headers?" >&2;} 
    6076     { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 
    6077 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 
    6078     { echo "$as_me:$LINENO: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6079 echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6080     { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
    6081 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
    6082     { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 
    6083 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 
    6084     ( 
    6085       cat <<\_ASBOX 
    6086 ## ------------------------------------ ## 
    6087 ## Report this to the pjproject lists.  ## 
    6088 ## ------------------------------------ ## 
    6089 _ASBOX 
    6090     ) | 
    6091       sed "s/^/$as_me: WARNING:     /" >&2 
    6092     ;; 
    6093 esac 
    6094 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    6095 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 
    6096 if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    6097   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6098 else 
    6099   ac_cv_header_sys_socket_h=$ac_header_preproc 
    6100 fi 
    6101 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     3270fi 
     3271echo "$as_me:3271: result: $ac_cv_header_sys_socket_h" >&5 
    61023272echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 
    6103  
    6104 fi 
    61053273if test $ac_cv_header_sys_socket_h = yes; then 
    6106   cat >>confdefs.h <<\_ACEOF 
     3274  cat >>confdefs.h <<\EOF 
    61073275#define PJ_HAS_SYS_SOCKET_H 1 
    6108 _ACEOF 
    6109  
    6110 fi 
    6111  
    6112  
    6113 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    6114   echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     3276EOF 
     3277 
     3278fi 
     3279 
     3280echo "$as_me:3280: checking for sys/time.h" >&5 
    61153281echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 
    61163282if test "${ac_cv_header_sys_time_h+set}" = set; then 
    61173283  echo $ECHO_N "(cached) $ECHO_C" >&6 
    6118 fi 
    6119 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    6120 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 
    6121 else 
    6122   # Is the header compilable? 
    6123 echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
    6124 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 
    6125 cat >conftest.$ac_ext <<_ACEOF 
    6126 /* confdefs.h.  */ 
    6127 _ACEOF 
    6128 cat confdefs.h >>conftest.$ac_ext 
    6129 cat >>conftest.$ac_ext <<_ACEOF 
    6130 /* end confdefs.h.  */ 
    6131 $ac_includes_default 
     3284else 
     3285  cat >conftest.$ac_ext <<_ACEOF 
     3286#line 3286 "configure" 
     3287#include "confdefs.h" 
    61323288#include <sys/time.h> 
    61333289_ACEOF 
    6134 rm -f conftest.$ac_objext 
    6135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6136   (eval $ac_compile) 2>conftest.er1 
    6137   ac_status=$? 
    6138   grep -v '^ *+' conftest.er1 >conftest.err 
     3290if { (eval echo "$as_me:3290: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3291  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3292  ac_status=$? 
     3293  egrep -v '^ *\+' conftest.er1 >conftest.err 
    61393294  rm -f conftest.er1 
    61403295  cat conftest.err >&5 
    6141   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6142   (exit $ac_status); } && 
    6143          { ac_try='test -z "$ac_c_werror_flag" 
    6144                          || test ! -s conftest.err' 
    6145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6146   (eval $ac_try) 2>&5 
    6147   ac_status=$? 
    6148   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6149   (exit $ac_status); }; } && 
    6150          { ac_try='test -s conftest.$ac_objext' 
    6151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6152   (eval $ac_try) 2>&5 
    6153   ac_status=$? 
    6154   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6155   (exit $ac_status); }; }; then 
    6156   ac_header_compiler=yes 
    6157 else 
    6158   echo "$as_me: failed program was:" >&5 
    6159 sed 's/^/| /' conftest.$ac_ext >&5 
    6160  
    6161 ac_header_compiler=no 
    6162 fi 
    6163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6165 echo "${ECHO_T}$ac_header_compiler" >&6 
    6166  
    6167 # Is the header present? 
    6168 echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
    6169 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 
    6170 cat >conftest.$ac_ext <<_ACEOF 
    6171 /* confdefs.h.  */ 
    6172 _ACEOF 
    6173 cat confdefs.h >>conftest.$ac_ext 
    6174 cat >>conftest.$ac_ext <<_ACEOF 
    6175 /* end confdefs.h.  */ 
    6176 #include <sys/time.h> 
    6177 _ACEOF 
    6178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    6179   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    6180   ac_status=$? 
    6181   grep -v '^ *+' conftest.er1 >conftest.err 
    6182   rm -f conftest.er1 
    6183   cat conftest.err >&5 
    6184   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3296  echo "$as_me:3296: \$? = $ac_status" >&5 
    61853297  (exit $ac_status); } >/dev/null; then 
    61863298  if test -s conftest.err; then 
    61873299    ac_cpp_err=$ac_c_preproc_warn_flag 
    6188     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    61893300  else 
    61903301    ac_cpp_err= 
     
    61943305fi 
    61953306if test -z "$ac_cpp_err"; then 
    6196   ac_header_preproc=yes 
     3307  ac_cv_header_sys_time_h=yes 
    61973308else 
    61983309  echo "$as_me: failed program was:" >&5 
    6199 sed 's/^/| /' conftest.$ac_ext >&5 
    6200  
    6201   ac_header_preproc=no 
     3310  cat conftest.$ac_ext >&5 
     3311  ac_cv_header_sys_time_h=no 
    62023312fi 
    62033313rm -f conftest.err conftest.$ac_ext 
    6204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6205 echo "${ECHO_T}$ac_header_preproc" >&6 
    6206  
    6207 # So?  What about this header? 
    6208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6209   yes:no: ) 
    6210     { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6211 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6212     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 
    6213 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 
    6214     ac_header_preproc=yes 
    6215     ;; 
    6216   no:yes:* ) 
    6217     { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
    6218 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
    6219     { echo "$as_me:$LINENO: WARNING: sys/time.h:     check for missing prerequisite headers?" >&5 
    6220 echo "$as_me: WARNING: sys/time.h:     check for missing prerequisite headers?" >&2;} 
    6221     { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 
    6222 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 
    6223     { echo "$as_me:$LINENO: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6224 echo "$as_me: WARNING: sys/time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6225     { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
    6226 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
    6227     { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 
    6228 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 
    6229     ( 
    6230       cat <<\_ASBOX 
    6231 ## ------------------------------------ ## 
    6232 ## Report this to the pjproject lists.  ## 
    6233 ## ------------------------------------ ## 
    6234 _ASBOX 
    6235     ) | 
    6236       sed "s/^/$as_me: WARNING:     /" >&2 
    6237     ;; 
    6238 esac 
    6239 echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    6240 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 
    6241 if test "${ac_cv_header_sys_time_h+set}" = set; then 
    6242   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6243 else 
    6244   ac_cv_header_sys_time_h=$ac_header_preproc 
    6245 fi 
    6246 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     3314fi 
     3315echo "$as_me:3315: result: $ac_cv_header_sys_time_h" >&5 
    62473316echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 
    6248  
    6249 fi 
    62503317if test $ac_cv_header_sys_time_h = yes; then 
    6251   cat >>confdefs.h <<\_ACEOF 
     3318  cat >>confdefs.h <<\EOF 
    62523319#define PJ_HAS_SYS_TIME_H 1 
    6253 _ACEOF 
    6254  
    6255 fi 
    6256  
    6257  
    6258 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    6259   echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     3320EOF 
     3321 
     3322fi 
     3323 
     3324echo "$as_me:3324: checking for sys/timeb.h" >&5 
    62603325echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 
    62613326if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    62623327  echo $ECHO_N "(cached) $ECHO_C" >&6 
    6263 fi 
    6264 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    6265 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 
    6266 else 
    6267   # Is the header compilable? 
    6268 echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
    6269 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 
    6270 cat >conftest.$ac_ext <<_ACEOF 
    6271 /* confdefs.h.  */ 
    6272 _ACEOF 
    6273 cat confdefs.h >>conftest.$ac_ext 
    6274 cat >>conftest.$ac_ext <<_ACEOF 
    6275 /* end confdefs.h.  */ 
    6276 $ac_includes_default 
     3328else 
     3329  cat >conftest.$ac_ext <<_ACEOF 
     3330#line 3330 "configure" 
     3331#include "confdefs.h" 
    62773332#include <sys/timeb.h> 
    62783333_ACEOF 
    6279 rm -f conftest.$ac_objext 
    6280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6281   (eval $ac_compile) 2>conftest.er1 
    6282   ac_status=$? 
    6283   grep -v '^ *+' conftest.er1 >conftest.err 
     3334if { (eval echo "$as_me:3334: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3335  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3336  ac_status=$? 
     3337  egrep -v '^ *\+' conftest.er1 >conftest.err 
    62843338  rm -f conftest.er1 
    62853339  cat conftest.err >&5 
    6286   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6287   (exit $ac_status); } && 
    6288          { ac_try='test -z "$ac_c_werror_flag" 
    6289                          || test ! -s conftest.err' 
    6290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6291   (eval $ac_try) 2>&5 
    6292   ac_status=$? 
    6293   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6294   (exit $ac_status); }; } && 
    6295          { ac_try='test -s conftest.$ac_objext' 
    6296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6297   (eval $ac_try) 2>&5 
    6298   ac_status=$? 
    6299   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6300   (exit $ac_status); }; }; then 
    6301   ac_header_compiler=yes 
    6302 else 
    6303   echo "$as_me: failed program was:" >&5 
    6304 sed 's/^/| /' conftest.$ac_ext >&5 
    6305  
    6306 ac_header_compiler=no 
    6307 fi 
    6308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6310 echo "${ECHO_T}$ac_header_compiler" >&6 
    6311  
    6312 # Is the header present? 
    6313 echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
    6314 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 
    6315 cat >conftest.$ac_ext <<_ACEOF 
    6316 /* confdefs.h.  */ 
    6317 _ACEOF 
    6318 cat confdefs.h >>conftest.$ac_ext 
    6319 cat >>conftest.$ac_ext <<_ACEOF 
    6320 /* end confdefs.h.  */ 
    6321 #include <sys/timeb.h> 
    6322 _ACEOF 
    6323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    6324   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    6325   ac_status=$? 
    6326   grep -v '^ *+' conftest.er1 >conftest.err 
    6327   rm -f conftest.er1 
    6328   cat conftest.err >&5 
    6329   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3340  echo "$as_me:3340: \$? = $ac_status" >&5 
    63303341  (exit $ac_status); } >/dev/null; then 
    63313342  if test -s conftest.err; then 
    63323343    ac_cpp_err=$ac_c_preproc_warn_flag 
    6333     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    63343344  else 
    63353345    ac_cpp_err= 
     
    63393349fi 
    63403350if test -z "$ac_cpp_err"; then 
    6341   ac_header_preproc=yes 
     3351  ac_cv_header_sys_timeb_h=yes 
    63423352else 
    63433353  echo "$as_me: failed program was:" >&5 
    6344 sed 's/^/| /' conftest.$ac_ext >&5 
    6345  
    6346   ac_header_preproc=no 
     3354  cat conftest.$ac_ext >&5 
     3355  ac_cv_header_sys_timeb_h=no 
    63473356fi 
    63483357rm -f conftest.err conftest.$ac_ext 
    6349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6350 echo "${ECHO_T}$ac_header_preproc" >&6 
    6351  
    6352 # So?  What about this header? 
    6353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6354   yes:no: ) 
    6355     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6356 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6357     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 
    6358 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 
    6359     ac_header_preproc=yes 
    6360     ;; 
    6361   no:yes:* ) 
    6362     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
    6363 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
    6364     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&5 
    6365 echo "$as_me: WARNING: sys/timeb.h:     check for missing prerequisite headers?" >&2;} 
    6366     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 
    6367 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 
    6368     { echo "$as_me:$LINENO: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6369 echo "$as_me: WARNING: sys/timeb.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6370     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
    6371 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
    6372     { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 
    6373 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 
    6374     ( 
    6375       cat <<\_ASBOX 
    6376 ## ------------------------------------ ## 
    6377 ## Report this to the pjproject lists.  ## 
    6378 ## ------------------------------------ ## 
    6379 _ASBOX 
    6380     ) | 
    6381       sed "s/^/$as_me: WARNING:     /" >&2 
    6382     ;; 
    6383 esac 
    6384 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    6385 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 
    6386 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    6387   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6388 else 
    6389   ac_cv_header_sys_timeb_h=$ac_header_preproc 
    6390 fi 
    6391 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     3358fi 
     3359echo "$as_me:3359: result: $ac_cv_header_sys_timeb_h" >&5 
    63923360echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 
    6393  
    6394 fi 
    63953361if test $ac_cv_header_sys_timeb_h = yes; then 
    6396   cat >>confdefs.h <<\_ACEOF 
     3362  cat >>confdefs.h <<\EOF 
    63973363#define PJ_HAS_SYS_TIMEB_H 1 
    6398 _ACEOF 
    6399  
    6400 fi 
    6401  
    6402  
    6403 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    6404   echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     3364EOF 
     3365 
     3366fi 
     3367 
     3368echo "$as_me:3368: checking for sys/types.h" >&5 
    64053369echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 
    64063370if test "${ac_cv_header_sys_types_h+set}" = set; then 
    64073371  echo $ECHO_N "(cached) $ECHO_C" >&6 
    6408 fi 
    6409 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    6410 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 
    6411 else 
    6412   # Is the header compilable? 
    6413 echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
    6414 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 
    6415 cat >conftest.$ac_ext <<_ACEOF 
    6416 /* confdefs.h.  */ 
    6417 _ACEOF 
    6418 cat confdefs.h >>conftest.$ac_ext 
    6419 cat >>conftest.$ac_ext <<_ACEOF 
    6420 /* end confdefs.h.  */ 
    6421 $ac_includes_default 
     3372else 
     3373  cat >conftest.$ac_ext <<_ACEOF 
     3374#line 3374 "configure" 
     3375#include "confdefs.h" 
    64223376#include <sys/types.h> 
    64233377_ACEOF 
    6424 rm -f conftest.$ac_objext 
    6425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6426   (eval $ac_compile) 2>conftest.er1 
    6427   ac_status=$? 
    6428   grep -v '^ *+' conftest.er1 >conftest.err 
     3378if { (eval echo "$as_me:3378: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3379  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3380  ac_status=$? 
     3381  egrep -v '^ *\+' conftest.er1 >conftest.err 
    64293382  rm -f conftest.er1 
    64303383  cat conftest.err >&5 
    6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6432   (exit $ac_status); } && 
    6433          { ac_try='test -z "$ac_c_werror_flag" 
    6434                          || test ! -s conftest.err' 
    6435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6436   (eval $ac_try) 2>&5 
    6437   ac_status=$? 
    6438   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6439   (exit $ac_status); }; } && 
    6440          { ac_try='test -s conftest.$ac_objext' 
    6441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6442   (eval $ac_try) 2>&5 
    6443   ac_status=$? 
    6444   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6445   (exit $ac_status); }; }; then 
    6446   ac_header_compiler=yes 
    6447 else 
    6448   echo "$as_me: failed program was:" >&5 
    6449 sed 's/^/| /' conftest.$ac_ext >&5 
    6450  
    6451 ac_header_compiler=no 
    6452 fi 
    6453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6455 echo "${ECHO_T}$ac_header_compiler" >&6 
    6456  
    6457 # Is the header present? 
    6458 echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
    6459 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 
    6460 cat >conftest.$ac_ext <<_ACEOF 
    6461 /* confdefs.h.  */ 
    6462 _ACEOF 
    6463 cat confdefs.h >>conftest.$ac_ext 
    6464 cat >>conftest.$ac_ext <<_ACEOF 
    6465 /* end confdefs.h.  */ 
    6466 #include <sys/types.h> 
    6467 _ACEOF 
    6468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    6469   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    6470   ac_status=$? 
    6471   grep -v '^ *+' conftest.er1 >conftest.err 
    6472   rm -f conftest.er1 
    6473   cat conftest.err >&5 
    6474   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3384  echo "$as_me:3384: \$? = $ac_status" >&5 
    64753385  (exit $ac_status); } >/dev/null; then 
    64763386  if test -s conftest.err; then 
    64773387    ac_cpp_err=$ac_c_preproc_warn_flag 
    6478     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    64793388  else 
    64803389    ac_cpp_err= 
     
    64843393fi 
    64853394if test -z "$ac_cpp_err"; then 
    6486   ac_header_preproc=yes 
     3395  ac_cv_header_sys_types_h=yes 
    64873396else 
    64883397  echo "$as_me: failed program was:" >&5 
    6489 sed 's/^/| /' conftest.$ac_ext >&5 
    6490  
    6491   ac_header_preproc=no 
     3398  cat conftest.$ac_ext >&5 
     3399  ac_cv_header_sys_types_h=no 
    64923400fi 
    64933401rm -f conftest.err conftest.$ac_ext 
    6494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6495 echo "${ECHO_T}$ac_header_preproc" >&6 
    6496  
    6497 # So?  What about this header? 
    6498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6499   yes:no: ) 
    6500     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6501 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6502     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 
    6503 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 
    6504     ac_header_preproc=yes 
    6505     ;; 
    6506   no:yes:* ) 
    6507     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
    6508 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
    6509     { echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5 
    6510 echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;} 
    6511     { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 
    6512 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 
    6513     { echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6514 echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6515     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
    6516 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
    6517     { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 
    6518 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 
    6519     ( 
    6520       cat <<\_ASBOX 
    6521 ## ------------------------------------ ## 
    6522 ## Report this to the pjproject lists.  ## 
    6523 ## ------------------------------------ ## 
    6524 _ASBOX 
    6525     ) | 
    6526       sed "s/^/$as_me: WARNING:     /" >&2 
    6527     ;; 
    6528 esac 
    6529 echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    6530 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 
    6531 if test "${ac_cv_header_sys_types_h+set}" = set; then 
    6532   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6533 else 
    6534   ac_cv_header_sys_types_h=$ac_header_preproc 
    6535 fi 
    6536 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     3402fi 
     3403echo "$as_me:3403: result: $ac_cv_header_sys_types_h" >&5 
    65373404echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 
    6538  
    6539 fi 
    65403405if test $ac_cv_header_sys_types_h = yes; then 
    6541   cat >>confdefs.h <<\_ACEOF 
     3406  cat >>confdefs.h <<\EOF 
    65423407#define PJ_HAS_SYS_TYPES_H 1 
    6543 _ACEOF 
    6544  
    6545 fi 
    6546  
    6547  
    6548 if test "${ac_cv_header_time_h+set}" = set; then 
    6549   echo "$as_me:$LINENO: checking for time.h" >&5 
     3408EOF 
     3409 
     3410fi 
     3411 
     3412echo "$as_me:3412: checking for time.h" >&5 
    65503413echo $ECHO_N "checking for time.h... $ECHO_C" >&6 
    65513414if test "${ac_cv_header_time_h+set}" = set; then 
    65523415  echo $ECHO_N "(cached) $ECHO_C" >&6 
    6553 fi 
    6554 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    6555 echo "${ECHO_T}$ac_cv_header_time_h" >&6 
    6556 else 
    6557   # Is the header compilable? 
    6558 echo "$as_me:$LINENO: checking time.h usability" >&5 
    6559 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 
    6560 cat >conftest.$ac_ext <<_ACEOF 
    6561 /* confdefs.h.  */ 
    6562 _ACEOF 
    6563 cat confdefs.h >>conftest.$ac_ext 
    6564 cat >>conftest.$ac_ext <<_ACEOF 
    6565 /* end confdefs.h.  */ 
    6566 $ac_includes_default 
     3416else 
     3417  cat >conftest.$ac_ext <<_ACEOF 
     3418#line 3418 "configure" 
     3419#include "confdefs.h" 
    65673420#include <time.h> 
    65683421_ACEOF 
    6569 rm -f conftest.$ac_objext 
    6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6571   (eval $ac_compile) 2>conftest.er1 
    6572   ac_status=$? 
    6573   grep -v '^ *+' conftest.er1 >conftest.err 
     3422if { (eval echo "$as_me:3422: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3423  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3424  ac_status=$? 
     3425  egrep -v '^ *\+' conftest.er1 >conftest.err 
    65743426  rm -f conftest.er1 
    65753427  cat conftest.err >&5 
    6576   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6577   (exit $ac_status); } && 
    6578          { ac_try='test -z "$ac_c_werror_flag" 
    6579                          || test ! -s conftest.err' 
    6580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6581   (eval $ac_try) 2>&5 
    6582   ac_status=$? 
    6583   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6584   (exit $ac_status); }; } && 
    6585          { ac_try='test -s conftest.$ac_objext' 
    6586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6587   (eval $ac_try) 2>&5 
    6588   ac_status=$? 
    6589   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6590   (exit $ac_status); }; }; then 
    6591   ac_header_compiler=yes 
    6592 else 
    6593   echo "$as_me: failed program was:" >&5 
    6594 sed 's/^/| /' conftest.$ac_ext >&5 
    6595  
    6596 ac_header_compiler=no 
    6597 fi 
    6598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6600 echo "${ECHO_T}$ac_header_compiler" >&6 
    6601  
    6602 # Is the header present? 
    6603 echo "$as_me:$LINENO: checking time.h presence" >&5 
    6604 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 
    6605 cat >conftest.$ac_ext <<_ACEOF 
    6606 /* confdefs.h.  */ 
    6607 _ACEOF 
    6608 cat confdefs.h >>conftest.$ac_ext 
    6609 cat >>conftest.$ac_ext <<_ACEOF 
    6610 /* end confdefs.h.  */ 
    6611 #include <time.h> 
    6612 _ACEOF 
    6613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    6614   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    6615   ac_status=$? 
    6616   grep -v '^ *+' conftest.er1 >conftest.err 
    6617   rm -f conftest.er1 
    6618   cat conftest.err >&5 
    6619   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3428  echo "$as_me:3428: \$? = $ac_status" >&5 
    66203429  (exit $ac_status); } >/dev/null; then 
    66213430  if test -s conftest.err; then 
    66223431    ac_cpp_err=$ac_c_preproc_warn_flag 
    6623     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    66243432  else 
    66253433    ac_cpp_err= 
     
    66293437fi 
    66303438if test -z "$ac_cpp_err"; then 
    6631   ac_header_preproc=yes 
     3439  ac_cv_header_time_h=yes 
    66323440else 
    66333441  echo "$as_me: failed program was:" >&5 
    6634 sed 's/^/| /' conftest.$ac_ext >&5 
    6635  
    6636   ac_header_preproc=no 
     3442  cat conftest.$ac_ext >&5 
     3443  ac_cv_header_time_h=no 
    66373444fi 
    66383445rm -f conftest.err conftest.$ac_ext 
    6639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6640 echo "${ECHO_T}$ac_header_preproc" >&6 
    6641  
    6642 # So?  What about this header? 
    6643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6644   yes:no: ) 
    6645     { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6646 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6647     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 
    6648 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 
    6649     ac_header_preproc=yes 
    6650     ;; 
    6651   no:yes:* ) 
    6652     { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
    6653 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
    6654     { echo "$as_me:$LINENO: WARNING: time.h:     check for missing prerequisite headers?" >&5 
    6655 echo "$as_me: WARNING: time.h:     check for missing prerequisite headers?" >&2;} 
    6656     { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 
    6657 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 
    6658     { echo "$as_me:$LINENO: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6659 echo "$as_me: WARNING: time.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6660     { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
    6661 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
    6662     { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 
    6663 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 
    6664     ( 
    6665       cat <<\_ASBOX 
    6666 ## ------------------------------------ ## 
    6667 ## Report this to the pjproject lists.  ## 
    6668 ## ------------------------------------ ## 
    6669 _ASBOX 
    6670     ) | 
    6671       sed "s/^/$as_me: WARNING:     /" >&2 
    6672     ;; 
    6673 esac 
    6674 echo "$as_me:$LINENO: checking for time.h" >&5 
    6675 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 
    6676 if test "${ac_cv_header_time_h+set}" = set; then 
    6677   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6678 else 
    6679   ac_cv_header_time_h=$ac_header_preproc 
    6680 fi 
    6681 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     3446fi 
     3447echo "$as_me:3447: result: $ac_cv_header_time_h" >&5 
    66823448echo "${ECHO_T}$ac_cv_header_time_h" >&6 
    6683  
    6684 fi 
    66853449if test $ac_cv_header_time_h = yes; then 
    6686   cat >>confdefs.h <<\_ACEOF 
     3450  cat >>confdefs.h <<\EOF 
    66873451#define PJ_HAS_TIME_H 1 
    6688 _ACEOF 
    6689  
    6690 fi 
    6691  
    6692  
    6693 if test "${ac_cv_header_unistd_h+set}" = set; then 
    6694   echo "$as_me:$LINENO: checking for unistd.h" >&5 
     3452EOF 
     3453 
     3454fi 
     3455 
     3456echo "$as_me:3456: checking for unistd.h" >&5 
    66953457echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 
    66963458if test "${ac_cv_header_unistd_h+set}" = set; then 
    66973459  echo $ECHO_N "(cached) $ECHO_C" >&6 
    6698 fi 
    6699 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    6700 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 
    6701 else 
    6702   # Is the header compilable? 
    6703 echo "$as_me:$LINENO: checking unistd.h usability" >&5 
    6704 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 
    6705 cat >conftest.$ac_ext <<_ACEOF 
    6706 /* confdefs.h.  */ 
    6707 _ACEOF 
    6708 cat confdefs.h >>conftest.$ac_ext 
    6709 cat >>conftest.$ac_ext <<_ACEOF 
    6710 /* end confdefs.h.  */ 
    6711 $ac_includes_default 
     3460else 
     3461  cat >conftest.$ac_ext <<_ACEOF 
     3462#line 3462 "configure" 
     3463#include "confdefs.h" 
    67123464#include <unistd.h> 
    67133465_ACEOF 
    6714 rm -f conftest.$ac_objext 
    6715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6716   (eval $ac_compile) 2>conftest.er1 
    6717   ac_status=$? 
    6718   grep -v '^ *+' conftest.er1 >conftest.err 
     3466if { (eval echo "$as_me:3466: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3467  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3468  ac_status=$? 
     3469  egrep -v '^ *\+' conftest.er1 >conftest.err 
    67193470  rm -f conftest.er1 
    67203471  cat conftest.err >&5 
    6721   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6722   (exit $ac_status); } && 
    6723          { ac_try='test -z "$ac_c_werror_flag" 
    6724                          || test ! -s conftest.err' 
    6725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6726   (eval $ac_try) 2>&5 
    6727   ac_status=$? 
    6728   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6729   (exit $ac_status); }; } && 
    6730          { ac_try='test -s conftest.$ac_objext' 
    6731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6732   (eval $ac_try) 2>&5 
    6733   ac_status=$? 
    6734   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6735   (exit $ac_status); }; }; then 
    6736   ac_header_compiler=yes 
    6737 else 
    6738   echo "$as_me: failed program was:" >&5 
    6739 sed 's/^/| /' conftest.$ac_ext >&5 
    6740  
    6741 ac_header_compiler=no 
    6742 fi 
    6743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6745 echo "${ECHO_T}$ac_header_compiler" >&6 
    6746  
    6747 # Is the header present? 
    6748 echo "$as_me:$LINENO: checking unistd.h presence" >&5 
    6749 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 
    6750 cat >conftest.$ac_ext <<_ACEOF 
    6751 /* confdefs.h.  */ 
    6752 _ACEOF 
    6753 cat confdefs.h >>conftest.$ac_ext 
    6754 cat >>conftest.$ac_ext <<_ACEOF 
    6755 /* end confdefs.h.  */ 
    6756 #include <unistd.h> 
    6757 _ACEOF 
    6758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    6759   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    6760   ac_status=$? 
    6761   grep -v '^ *+' conftest.er1 >conftest.err 
    6762   rm -f conftest.er1 
    6763   cat conftest.err >&5 
    6764   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3472  echo "$as_me:3472: \$? = $ac_status" >&5 
    67653473  (exit $ac_status); } >/dev/null; then 
    67663474  if test -s conftest.err; then 
    67673475    ac_cpp_err=$ac_c_preproc_warn_flag 
    6768     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    67693476  else 
    67703477    ac_cpp_err= 
     
    67743481fi 
    67753482if test -z "$ac_cpp_err"; then 
    6776   ac_header_preproc=yes 
     3483  ac_cv_header_unistd_h=yes 
    67773484else 
    67783485  echo "$as_me: failed program was:" >&5 
    6779 sed 's/^/| /' conftest.$ac_ext >&5 
    6780  
    6781   ac_header_preproc=no 
     3486  cat conftest.$ac_ext >&5 
     3487  ac_cv_header_unistd_h=no 
    67823488fi 
    67833489rm -f conftest.err conftest.$ac_ext 
    6784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6785 echo "${ECHO_T}$ac_header_preproc" >&6 
    6786  
    6787 # So?  What about this header? 
    6788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6789   yes:no: ) 
    6790     { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6791 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6792     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 
    6793 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 
    6794     ac_header_preproc=yes 
    6795     ;; 
    6796   no:yes:* ) 
    6797     { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
    6798 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
    6799     { echo "$as_me:$LINENO: WARNING: unistd.h:     check for missing prerequisite headers?" >&5 
    6800 echo "$as_me: WARNING: unistd.h:     check for missing prerequisite headers?" >&2;} 
    6801     { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 
    6802 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 
    6803     { echo "$as_me:$LINENO: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6804 echo "$as_me: WARNING: unistd.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6805     { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
    6806 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
    6807     { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 
    6808 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 
    6809     ( 
    6810       cat <<\_ASBOX 
    6811 ## ------------------------------------ ## 
    6812 ## Report this to the pjproject lists.  ## 
    6813 ## ------------------------------------ ## 
    6814 _ASBOX 
    6815     ) | 
    6816       sed "s/^/$as_me: WARNING:     /" >&2 
    6817     ;; 
    6818 esac 
    6819 echo "$as_me:$LINENO: checking for unistd.h" >&5 
    6820 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 
    6821 if test "${ac_cv_header_unistd_h+set}" = set; then 
    6822   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6823 else 
    6824   ac_cv_header_unistd_h=$ac_header_preproc 
    6825 fi 
    6826 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     3490fi 
     3491echo "$as_me:3491: result: $ac_cv_header_unistd_h" >&5 
    68273492echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 
    6828  
    6829 fi 
    68303493if test $ac_cv_header_unistd_h = yes; then 
    6831   cat >>confdefs.h <<\_ACEOF 
     3494  cat >>confdefs.h <<\EOF 
    68323495#define PJ_HAS_UNISTD_H 1 
    6833 _ACEOF 
    6834  
    6835 fi 
    6836  
    6837  
    6838 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    6839   echo "$as_me:$LINENO: checking for mswsock.h" >&5 
     3496EOF 
     3497 
     3498fi 
     3499 
     3500echo "$as_me:3500: checking for mswsock.h" >&5 
    68403501echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 
    68413502if test "${ac_cv_header_mswsock_h+set}" = set; then 
    68423503  echo $ECHO_N "(cached) $ECHO_C" >&6 
    6843 fi 
    6844 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    6845 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 
    6846 else 
    6847   # Is the header compilable? 
    6848 echo "$as_me:$LINENO: checking mswsock.h usability" >&5 
    6849 echo $ECHO_N "checking mswsock.h usability... $ECHO_C" >&6 
    6850 cat >conftest.$ac_ext <<_ACEOF 
    6851 /* confdefs.h.  */ 
    6852 _ACEOF 
    6853 cat confdefs.h >>conftest.$ac_ext 
    6854 cat >>conftest.$ac_ext <<_ACEOF 
    6855 /* end confdefs.h.  */ 
    6856 $ac_includes_default 
     3504else 
     3505  cat >conftest.$ac_ext <<_ACEOF 
     3506#line 3506 "configure" 
     3507#include "confdefs.h" 
    68573508#include <mswsock.h> 
    68583509_ACEOF 
    6859 rm -f conftest.$ac_objext 
    6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6861   (eval $ac_compile) 2>conftest.er1 
    6862   ac_status=$? 
    6863   grep -v '^ *+' conftest.er1 >conftest.err 
     3510if { (eval echo "$as_me:3510: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3511  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3512  ac_status=$? 
     3513  egrep -v '^ *\+' conftest.er1 >conftest.err 
    68643514  rm -f conftest.er1 
    68653515  cat conftest.err >&5 
    6866   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6867   (exit $ac_status); } && 
    6868          { ac_try='test -z "$ac_c_werror_flag" 
    6869                          || test ! -s conftest.err' 
    6870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6871   (eval $ac_try) 2>&5 
    6872   ac_status=$? 
    6873   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6874   (exit $ac_status); }; } && 
    6875          { ac_try='test -s conftest.$ac_objext' 
    6876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6877   (eval $ac_try) 2>&5 
    6878   ac_status=$? 
    6879   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6880   (exit $ac_status); }; }; then 
    6881   ac_header_compiler=yes 
    6882 else 
    6883   echo "$as_me: failed program was:" >&5 
    6884 sed 's/^/| /' conftest.$ac_ext >&5 
    6885  
    6886 ac_header_compiler=no 
    6887 fi 
    6888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    6890 echo "${ECHO_T}$ac_header_compiler" >&6 
    6891  
    6892 # Is the header present? 
    6893 echo "$as_me:$LINENO: checking mswsock.h presence" >&5 
    6894 echo $ECHO_N "checking mswsock.h presence... $ECHO_C" >&6 
    6895 cat >conftest.$ac_ext <<_ACEOF 
    6896 /* confdefs.h.  */ 
    6897 _ACEOF 
    6898 cat confdefs.h >>conftest.$ac_ext 
    6899 cat >>conftest.$ac_ext <<_ACEOF 
    6900 /* end confdefs.h.  */ 
    6901 #include <mswsock.h> 
    6902 _ACEOF 
    6903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    6904   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    6905   ac_status=$? 
    6906   grep -v '^ *+' conftest.er1 >conftest.err 
    6907   rm -f conftest.er1 
    6908   cat conftest.err >&5 
    6909   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3516  echo "$as_me:3516: \$? = $ac_status" >&5 
    69103517  (exit $ac_status); } >/dev/null; then 
    69113518  if test -s conftest.err; then 
    69123519    ac_cpp_err=$ac_c_preproc_warn_flag 
    6913     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    69143520  else 
    69153521    ac_cpp_err= 
     
    69193525fi 
    69203526if test -z "$ac_cpp_err"; then 
    6921   ac_header_preproc=yes 
     3527  ac_cv_header_mswsock_h=yes 
    69223528else 
    69233529  echo "$as_me: failed program was:" >&5 
    6924 sed 's/^/| /' conftest.$ac_ext >&5 
    6925  
    6926   ac_header_preproc=no 
     3530  cat conftest.$ac_ext >&5 
     3531  ac_cv_header_mswsock_h=no 
    69273532fi 
    69283533rm -f conftest.err conftest.$ac_ext 
    6929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    6930 echo "${ECHO_T}$ac_header_preproc" >&6 
    6931  
    6932 # So?  What about this header? 
    6933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    6934   yes:no: ) 
    6935     { echo "$as_me:$LINENO: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    6936 echo "$as_me: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    6937     { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the compiler's result" >&5 
    6938 echo "$as_me: WARNING: mswsock.h: proceeding with the compiler's result" >&2;} 
    6939     ac_header_preproc=yes 
    6940     ;; 
    6941   no:yes:* ) 
    6942     { echo "$as_me:$LINENO: WARNING: mswsock.h: present but cannot be compiled" >&5 
    6943 echo "$as_me: WARNING: mswsock.h: present but cannot be compiled" >&2;} 
    6944     { echo "$as_me:$LINENO: WARNING: mswsock.h:     check for missing prerequisite headers?" >&5 
    6945 echo "$as_me: WARNING: mswsock.h:     check for missing prerequisite headers?" >&2;} 
    6946     { echo "$as_me:$LINENO: WARNING: mswsock.h: see the Autoconf documentation" >&5 
    6947 echo "$as_me: WARNING: mswsock.h: see the Autoconf documentation" >&2;} 
    6948     { echo "$as_me:$LINENO: WARNING: mswsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    6949 echo "$as_me: WARNING: mswsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    6950     { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 
    6951 echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 
    6952     { echo "$as_me:$LINENO: WARNING: mswsock.h: in the future, the compiler will take precedence" >&5 
    6953 echo "$as_me: WARNING: mswsock.h: in the future, the compiler will take precedence" >&2;} 
    6954     ( 
    6955       cat <<\_ASBOX 
    6956 ## ------------------------------------ ## 
    6957 ## Report this to the pjproject lists.  ## 
    6958 ## ------------------------------------ ## 
    6959 _ASBOX 
    6960     ) | 
    6961       sed "s/^/$as_me: WARNING:     /" >&2 
    6962     ;; 
    6963 esac 
    6964 echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    6965 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 
    6966 if test "${ac_cv_header_mswsock_h+set}" = set; then 
    6967   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6968 else 
    6969   ac_cv_header_mswsock_h=$ac_header_preproc 
    6970 fi 
    6971 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
     3534fi 
     3535echo "$as_me:3535: result: $ac_cv_header_mswsock_h" >&5 
    69723536echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 
    6973  
    6974 fi 
    69753537if test $ac_cv_header_mswsock_h = yes; then 
    6976   cat >>confdefs.h <<\_ACEOF 
     3538  cat >>confdefs.h <<\EOF 
    69773539#define PJ_HAS_MSWSOCK_H 1 
    6978 _ACEOF 
    6979  
    6980 fi 
    6981  
    6982  
    6983 if test "${ac_cv_header_winsock_h+set}" = set; then 
    6984   echo "$as_me:$LINENO: checking for winsock.h" >&5 
     3540EOF 
     3541 
     3542fi 
     3543 
     3544echo "$as_me:3544: checking for winsock.h" >&5 
    69853545echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 
    69863546if test "${ac_cv_header_winsock_h+set}" = set; then 
    69873547  echo $ECHO_N "(cached) $ECHO_C" >&6 
    6988 fi 
    6989 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    6990 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 
    6991 else 
    6992   # Is the header compilable? 
    6993 echo "$as_me:$LINENO: checking winsock.h usability" >&5 
    6994 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 
    6995 cat >conftest.$ac_ext <<_ACEOF 
    6996 /* confdefs.h.  */ 
    6997 _ACEOF 
    6998 cat confdefs.h >>conftest.$ac_ext 
    6999 cat >>conftest.$ac_ext <<_ACEOF 
    7000 /* end confdefs.h.  */ 
    7001 $ac_includes_default 
     3548else 
     3549  cat >conftest.$ac_ext <<_ACEOF 
     3550#line 3550 "configure" 
     3551#include "confdefs.h" 
    70023552#include <winsock.h> 
    70033553_ACEOF 
    7004 rm -f conftest.$ac_objext 
    7005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7006   (eval $ac_compile) 2>conftest.er1 
    7007   ac_status=$? 
    7008   grep -v '^ *+' conftest.er1 >conftest.err 
     3554if { (eval echo "$as_me:3554: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3555  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3556  ac_status=$? 
     3557  egrep -v '^ *\+' conftest.er1 >conftest.err 
    70093558  rm -f conftest.er1 
    70103559  cat conftest.err >&5 
    7011   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7012   (exit $ac_status); } && 
    7013          { ac_try='test -z "$ac_c_werror_flag" 
    7014                          || test ! -s conftest.err' 
    7015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7016   (eval $ac_try) 2>&5 
    7017   ac_status=$? 
    7018   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7019   (exit $ac_status); }; } && 
    7020          { ac_try='test -s conftest.$ac_objext' 
    7021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7022   (eval $ac_try) 2>&5 
    7023   ac_status=$? 
    7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7025   (exit $ac_status); }; }; then 
    7026   ac_header_compiler=yes 
    7027 else 
    7028   echo "$as_me: failed program was:" >&5 
    7029 sed 's/^/| /' conftest.$ac_ext >&5 
    7030  
    7031 ac_header_compiler=no 
    7032 fi 
    7033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7035 echo "${ECHO_T}$ac_header_compiler" >&6 
    7036  
    7037 # Is the header present? 
    7038 echo "$as_me:$LINENO: checking winsock.h presence" >&5 
    7039 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 
    7040 cat >conftest.$ac_ext <<_ACEOF 
    7041 /* confdefs.h.  */ 
    7042 _ACEOF 
    7043 cat confdefs.h >>conftest.$ac_ext 
    7044 cat >>conftest.$ac_ext <<_ACEOF 
    7045 /* end confdefs.h.  */ 
    7046 #include <winsock.h> 
    7047 _ACEOF 
    7048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    7049   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    7050   ac_status=$? 
    7051   grep -v '^ *+' conftest.er1 >conftest.err 
    7052   rm -f conftest.er1 
    7053   cat conftest.err >&5 
    7054   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3560  echo "$as_me:3560: \$? = $ac_status" >&5 
    70553561  (exit $ac_status); } >/dev/null; then 
    70563562  if test -s conftest.err; then 
    70573563    ac_cpp_err=$ac_c_preproc_warn_flag 
    7058     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    70593564  else 
    70603565    ac_cpp_err= 
     
    70643569fi 
    70653570if test -z "$ac_cpp_err"; then 
    7066   ac_header_preproc=yes 
     3571  ac_cv_header_winsock_h=yes 
    70673572else 
    70683573  echo "$as_me: failed program was:" >&5 
    7069 sed 's/^/| /' conftest.$ac_ext >&5 
    7070  
    7071   ac_header_preproc=no 
     3574  cat conftest.$ac_ext >&5 
     3575  ac_cv_header_winsock_h=no 
    70723576fi 
    70733577rm -f conftest.err conftest.$ac_ext 
    7074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7075 echo "${ECHO_T}$ac_header_preproc" >&6 
    7076  
    7077 # So?  What about this header? 
    7078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7079   yes:no: ) 
    7080     { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7081 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7082     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 
    7083 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 
    7084     ac_header_preproc=yes 
    7085     ;; 
    7086   no:yes:* ) 
    7087     { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
    7088 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
    7089     { echo "$as_me:$LINENO: WARNING: winsock.h:     check for missing prerequisite headers?" >&5 
    7090 echo "$as_me: WARNING: winsock.h:     check for missing prerequisite headers?" >&2;} 
    7091     { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 
    7092 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 
    7093     { echo "$as_me:$LINENO: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7094 echo "$as_me: WARNING: winsock.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7095     { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
    7096 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
    7097     { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 
    7098 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 
    7099     ( 
    7100       cat <<\_ASBOX 
    7101 ## ------------------------------------ ## 
    7102 ## Report this to the pjproject lists.  ## 
    7103 ## ------------------------------------ ## 
    7104 _ASBOX 
    7105     ) | 
    7106       sed "s/^/$as_me: WARNING:     /" >&2 
    7107     ;; 
    7108 esac 
    7109 echo "$as_me:$LINENO: checking for winsock.h" >&5 
    7110 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 
    7111 if test "${ac_cv_header_winsock_h+set}" = set; then 
    7112   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7113 else 
    7114   ac_cv_header_winsock_h=$ac_header_preproc 
    7115 fi 
    7116 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     3578fi 
     3579echo "$as_me:3579: result: $ac_cv_header_winsock_h" >&5 
    71173580echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 
    7118  
    7119 fi 
    71203581if test $ac_cv_header_winsock_h = yes; then 
    7121   cat >>confdefs.h <<\_ACEOF 
     3582  cat >>confdefs.h <<\EOF 
    71223583#define PJ_HAS_WINSOCK_H 1 
    7123 _ACEOF 
    7124  
    7125 fi 
    7126  
    7127  
    7128 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    7129   echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     3584EOF 
     3585 
     3586fi 
     3587 
     3588echo "$as_me:3588: checking for winsock2.h" >&5 
    71303589echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 
    71313590if test "${ac_cv_header_winsock2_h+set}" = set; then 
    71323591  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7133 fi 
    7134 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    7135 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 
    7136 else 
    7137   # Is the header compilable? 
    7138 echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
    7139 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 
    7140 cat >conftest.$ac_ext <<_ACEOF 
    7141 /* confdefs.h.  */ 
    7142 _ACEOF 
    7143 cat confdefs.h >>conftest.$ac_ext 
    7144 cat >>conftest.$ac_ext <<_ACEOF 
    7145 /* end confdefs.h.  */ 
    7146 $ac_includes_default 
     3592else 
     3593  cat >conftest.$ac_ext <<_ACEOF 
     3594#line 3594 "configure" 
     3595#include "confdefs.h" 
    71473596#include <winsock2.h> 
    71483597_ACEOF 
    7149 rm -f conftest.$ac_objext 
    7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7151   (eval $ac_compile) 2>conftest.er1 
    7152   ac_status=$? 
    7153   grep -v '^ *+' conftest.er1 >conftest.err 
     3598if { (eval echo "$as_me:3598: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3599  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3600  ac_status=$? 
     3601  egrep -v '^ *\+' conftest.er1 >conftest.err 
    71543602  rm -f conftest.er1 
    71553603  cat conftest.err >&5 
    7156   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7157   (exit $ac_status); } && 
    7158          { ac_try='test -z "$ac_c_werror_flag" 
    7159                          || test ! -s conftest.err' 
    7160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7161   (eval $ac_try) 2>&5 
    7162   ac_status=$? 
    7163   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7164   (exit $ac_status); }; } && 
    7165          { ac_try='test -s conftest.$ac_objext' 
    7166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7167   (eval $ac_try) 2>&5 
    7168   ac_status=$? 
    7169   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7170   (exit $ac_status); }; }; then 
    7171   ac_header_compiler=yes 
    7172 else 
    7173   echo "$as_me: failed program was:" >&5 
    7174 sed 's/^/| /' conftest.$ac_ext >&5 
    7175  
    7176 ac_header_compiler=no 
    7177 fi 
    7178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7180 echo "${ECHO_T}$ac_header_compiler" >&6 
    7181  
    7182 # Is the header present? 
    7183 echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
    7184 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 
    7185 cat >conftest.$ac_ext <<_ACEOF 
    7186 /* confdefs.h.  */ 
    7187 _ACEOF 
    7188 cat confdefs.h >>conftest.$ac_ext 
    7189 cat >>conftest.$ac_ext <<_ACEOF 
    7190 /* end confdefs.h.  */ 
    7191 #include <winsock2.h> 
    7192 _ACEOF 
    7193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    7194   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    7195   ac_status=$? 
    7196   grep -v '^ *+' conftest.er1 >conftest.err 
    7197   rm -f conftest.er1 
    7198   cat conftest.err >&5 
    7199   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3604  echo "$as_me:3604: \$? = $ac_status" >&5 
    72003605  (exit $ac_status); } >/dev/null; then 
    72013606  if test -s conftest.err; then 
    72023607    ac_cpp_err=$ac_c_preproc_warn_flag 
    7203     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    72043608  else 
    72053609    ac_cpp_err= 
     
    72093613fi 
    72103614if test -z "$ac_cpp_err"; then 
    7211   ac_header_preproc=yes 
     3615  ac_cv_header_winsock2_h=yes 
    72123616else 
    72133617  echo "$as_me: failed program was:" >&5 
    7214 sed 's/^/| /' conftest.$ac_ext >&5 
    7215  
    7216   ac_header_preproc=no 
     3618  cat conftest.$ac_ext >&5 
     3619  ac_cv_header_winsock2_h=no 
    72173620fi 
    72183621rm -f conftest.err conftest.$ac_ext 
    7219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7220 echo "${ECHO_T}$ac_header_preproc" >&6 
    7221  
    7222 # So?  What about this header? 
    7223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7224   yes:no: ) 
    7225     { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7226 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7227     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 
    7228 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 
    7229     ac_header_preproc=yes 
    7230     ;; 
    7231   no:yes:* ) 
    7232     { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
    7233 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
    7234     { echo "$as_me:$LINENO: WARNING: winsock2.h:     check for missing prerequisite headers?" >&5 
    7235 echo "$as_me: WARNING: winsock2.h:     check for missing prerequisite headers?" >&2;} 
    7236     { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 
    7237 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 
    7238     { echo "$as_me:$LINENO: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7239 echo "$as_me: WARNING: winsock2.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7240     { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
    7241 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
    7242     { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 
    7243 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 
    7244     ( 
    7245       cat <<\_ASBOX 
    7246 ## ------------------------------------ ## 
    7247 ## Report this to the pjproject lists.  ## 
    7248 ## ------------------------------------ ## 
    7249 _ASBOX 
    7250     ) | 
    7251       sed "s/^/$as_me: WARNING:     /" >&2 
    7252     ;; 
    7253 esac 
    7254 echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    7255 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 
    7256 if test "${ac_cv_header_winsock2_h+set}" = set; then 
    7257   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7258 else 
    7259   ac_cv_header_winsock2_h=$ac_header_preproc 
    7260 fi 
    7261 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     3622fi 
     3623echo "$as_me:3623: result: $ac_cv_header_winsock2_h" >&5 
    72623624echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 
    7263  
    7264 fi 
    72653625if test $ac_cv_header_winsock2_h = yes; then 
    7266   cat >>confdefs.h <<\_ACEOF 
     3626  cat >>confdefs.h <<\EOF 
    72673627#define PJ_HAS_WINSOCK2_H 1 
    7268 _ACEOF 
    7269  
    7270 fi 
    7271  
    7272  
    7273  
    7274 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
     3628EOF 
     3629 
     3630fi 
     3631 
     3632echo "$as_me:3632: result: Setting PJ_OS_NAME to $target" >&5 
    72753633echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 
    7276 cat >>confdefs.h <<_ACEOF 
     3634cat >>confdefs.h <<EOF 
    72773635#define PJ_OS_NAME "$target" 
    7278 _ACEOF 
    7279  
    7280  
    7281 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     3636EOF 
     3637 
     3638echo "$as_me:3638: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    72823639echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 
    7283 cat >>confdefs.h <<\_ACEOF 
     3640cat >>confdefs.h <<\EOF 
    72843641#define PJ_HAS_ERRNO_VAR 1 
    7285 _ACEOF 
    7286  
    7287  
    7288 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     3642EOF 
     3643 
     3644echo "$as_me:3644: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    72893645echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 
    7290 cat >>confdefs.h <<\_ACEOF 
     3646cat >>confdefs.h <<\EOF 
    72913647#define PJ_HAS_HIGH_RES_TIMER 1 
    7292 _ACEOF 
    7293  
    7294  
    7295 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
     3648EOF 
     3649 
     3650echo "$as_me:3650: result: Setting PJ_HAS_MALLOC to 1" >&5 
    72963651echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 
    7297 cat >>confdefs.h <<\_ACEOF 
     3652cat >>confdefs.h <<\EOF 
    72983653#define PJ_HAS_MALLOC 1 
    7299 _ACEOF 
    7300  
    7301  
    7302 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     3654EOF 
     3655 
     3656echo "$as_me:3656: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    73033657echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 
    7304 cat >>confdefs.h <<\_ACEOF 
     3658cat >>confdefs.h <<\EOF 
    73053659#define PJ_NATIVE_STRING_IS_UNICODE 0 
    7306 _ACEOF 
    7307  
    7308  
    7309 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     3660EOF 
     3661 
     3662echo "$as_me:3662: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    73103663echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 
    7311 cat >>confdefs.h <<\_ACEOF 
     3664cat >>confdefs.h <<\EOF 
    73123665#define PJ_ATOMIC_VALUE_TYPE long 
    7313 _ACEOF 
    7314  
    7315  
    7316 # Determine if inet_aton() is available 
    7317 echo "$as_me:$LINENO: checking if inet_aton is available" >&5 
     3666EOF 
     3667 
     3668echo "$as_me:3668: checking if inet_aton is available" >&5 
    73183669echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 
    73193670cat >conftest.$ac_ext <<_ACEOF 
    7320 /* confdefs.h.  */ 
    7321 _ACEOF 
    7322 cat confdefs.h >>conftest.$ac_ext 
    7323 cat >>conftest.$ac_ext <<_ACEOF 
    7324 /* end confdefs.h.  */ 
    7325 #include <sys/socket.h> 
    7326                                     #include <netinet/in.h> 
    7327                                     #include <arpa/inet.h> 
     3671#line 3671 "configure" 
     3672#include "confdefs.h" 
     3673#include <arpa/inet.h> 
    73283674int 
    73293675main () 
     
    73353681_ACEOF 
    73363682rm -f conftest.$ac_objext 
    7337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7338   (eval $ac_compile) 2>conftest.er1 
    7339   ac_status=$? 
    7340   grep -v '^ *+' conftest.er1 >conftest.err 
    7341   rm -f conftest.er1 
    7342   cat conftest.err >&5 
    7343   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3683if { (eval echo "$as_me:3683: \"$ac_compile\"") >&5 
     3684  (eval $ac_compile) 2>&5 
     3685  ac_status=$? 
     3686  echo "$as_me:3686: \$? = $ac_status" >&5 
    73443687  (exit $ac_status); } && 
    7345          { ac_try='test -z "$ac_c_werror_flag" 
    7346                          || test ! -s conftest.err' 
    7347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3688         { ac_try='test -s conftest.$ac_objext' 
     3689  { (eval echo "$as_me:3689: \"$ac_try\"") >&5 
    73483690  (eval $ac_try) 2>&5 
    73493691  ac_status=$? 
    7350   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7351   (exit $ac_status); }; } && 
    7352          { ac_try='test -s conftest.$ac_objext' 
    7353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7354   (eval $ac_try) 2>&5 
    7355   ac_status=$? 
    7356   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3692  echo "$as_me:3692: \$? = $ac_status" >&5 
    73573693  (exit $ac_status); }; }; then 
    7358   cat >>confdefs.h <<\_ACEOF 
     3694  cat >>confdefs.h <<\EOF 
    73593695#define PJ_SOCK_HAS_INET_ATON 1 
    7360 _ACEOF 
    7361  
    7362                    echo "$as_me:$LINENO: result: yes" >&5 
     3696EOF 
     3697 
     3698                   echo "$as_me:3698: result: yes" >&5 
    73633699echo "${ECHO_T}yes" >&6 
    73643700else 
    73653701  echo "$as_me: failed program was:" >&5 
    7366 sed 's/^/| /' conftest.$ac_ext >&5 
    7367  
    7368 echo "$as_me:$LINENO: result: no" >&5 
     3702cat conftest.$ac_ext >&5 
     3703echo "$as_me:3703: result: no" >&5 
    73693704echo "${ECHO_T}no" >&6 
    73703705fi 
    7371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7372  
    7373 # Determine if sockaddr_in has sin_len member 
    7374 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
     3706rm -f conftest.$ac_objext conftest.$ac_ext 
     3707 
     3708echo "$as_me:3708: checking if sockaddr_in has sin_len member" >&5 
    73753709echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 
    73763710cat >conftest.$ac_ext <<_ACEOF 
    7377 /* confdefs.h.  */ 
    7378 _ACEOF 
    7379 cat confdefs.h >>conftest.$ac_ext 
    7380 cat >>conftest.$ac_ext <<_ACEOF 
    7381 /* end confdefs.h.  */ 
    7382 #include <sys/socket.h> 
    7383                                     #include <netinet/in.h> 
    7384                                     #include <arpa/inet.h> 
     3711#line 3711 "configure" 
     3712#include "confdefs.h" 
     3713#include <sys/types.h> 
     3714                                     #include <sys/socket.h> 
     3715                                     #include <netinet/in.h> 
     3716                                     #include <arpa/inet.h> 
    73853717int 
    73863718main () 
     
    73923724_ACEOF 
    73933725rm -f conftest.$ac_objext 
    7394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7395   (eval $ac_compile) 2>conftest.er1 
    7396   ac_status=$? 
    7397   grep -v '^ *+' conftest.er1 >conftest.err 
    7398   rm -f conftest.er1 
    7399   cat conftest.err >&5 
    7400   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3726if { (eval echo "$as_me:3726: \"$ac_compile\"") >&5 
     3727  (eval $ac_compile) 2>&5 
     3728  ac_status=$? 
     3729  echo "$as_me:3729: \$? = $ac_status" >&5 
    74013730  (exit $ac_status); } && 
    7402          { ac_try='test -z "$ac_c_werror_flag" 
    7403                          || test ! -s conftest.err' 
    7404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3731         { ac_try='test -s conftest.$ac_objext' 
     3732  { (eval echo "$as_me:3732: \"$ac_try\"") >&5 
    74053733  (eval $ac_try) 2>&5 
    74063734  ac_status=$? 
    7407   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7408   (exit $ac_status); }; } && 
    7409          { ac_try='test -s conftest.$ac_objext' 
    7410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7411   (eval $ac_try) 2>&5 
    7412   ac_status=$? 
    7413   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3735  echo "$as_me:3735: \$? = $ac_status" >&5 
    74143736  (exit $ac_status); }; }; then 
    7415   cat >>confdefs.h <<\_ACEOF 
     3737  cat >>confdefs.h <<\EOF 
    74163738#define PJ_SOCKADDR_HAS_LEN 1 
    7417 _ACEOF 
    7418  
    7419                    echo "$as_me:$LINENO: result: yes" >&5 
     3739EOF 
     3740 
     3741                   echo "$as_me:3741: result: yes" >&5 
    74203742echo "${ECHO_T}yes" >&6 
    74213743else 
    74223744  echo "$as_me: failed program was:" >&5 
    7423 sed 's/^/| /' conftest.$ac_ext >&5 
    7424  
    7425 echo "$as_me:$LINENO: result: no" >&5 
     3745cat conftest.$ac_ext >&5 
     3746echo "$as_me:3746: result: no" >&5 
    74263747echo "${ECHO_T}no" >&6 
    74273748fi 
    7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7429  
    7430 # Determine if socklen_t is available 
    7431 echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
     3749rm -f conftest.$ac_objext conftest.$ac_ext 
     3750 
     3751echo "$as_me:3751: checking if socklen_t is available" >&5 
    74323752echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 
    74333753cat >conftest.$ac_ext <<_ACEOF 
    7434 /* confdefs.h.  */ 
    7435 _ACEOF 
    7436 cat confdefs.h >>conftest.$ac_ext 
    7437 cat >>conftest.$ac_ext <<_ACEOF 
    7438 /* end confdefs.h.  */ 
     3754#line 3754 "configure" 
     3755#include "confdefs.h" 
    74393756#include <unistd.h> 
    74403757int 
     
    74473764_ACEOF 
    74483765rm -f conftest.$ac_objext 
    7449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7450   (eval $ac_compile) 2>conftest.er1 
    7451   ac_status=$? 
    7452   grep -v '^ *+' conftest.er1 >conftest.err 
    7453   rm -f conftest.er1 
    7454   cat conftest.err >&5 
    7455   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3766if { (eval echo "$as_me:3766: \"$ac_compile\"") >&5 
     3767  (eval $ac_compile) 2>&5 
     3768  ac_status=$? 
     3769  echo "$as_me:3769: \$? = $ac_status" >&5 
    74563770  (exit $ac_status); } && 
    7457          { ac_try='test -z "$ac_c_werror_flag" 
    7458                          || test ! -s conftest.err' 
    7459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3771         { ac_try='test -s conftest.$ac_objext' 
     3772  { (eval echo "$as_me:3772: \"$ac_try\"") >&5 
    74603773  (eval $ac_try) 2>&5 
    74613774  ac_status=$? 
    7462   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7463   (exit $ac_status); }; } && 
    7464          { ac_try='test -s conftest.$ac_objext' 
    7465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7466   (eval $ac_try) 2>&5 
    7467   ac_status=$? 
    7468   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3775  echo "$as_me:3775: \$? = $ac_status" >&5 
    74693776  (exit $ac_status); }; }; then 
    7470   cat >>confdefs.h <<\_ACEOF 
     3777  cat >>confdefs.h <<\EOF 
    74713778#define PJ_HAS_SOCKLEN_T 1 
    7472 _ACEOF 
    7473  
    7474                    echo "$as_me:$LINENO: result: yes" >&5 
     3779EOF 
     3780 
     3781                   echo "$as_me:3781: result: yes" >&5 
    74753782echo "${ECHO_T}yes" >&6 
    74763783else 
    74773784  echo "$as_me: failed program was:" >&5 
    7478 sed 's/^/| /' conftest.$ac_ext >&5 
    7479  
    7480 echo "$as_me:$LINENO: result: no" >&5 
     3785cat conftest.$ac_ext >&5 
     3786echo "$as_me:3786: result: no" >&5 
    74813787echo "${ECHO_T}no" >&6 
    74823788fi 
    7483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7484  
    7485 # Determine if SO_ERROR is available 
    7486 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
     3789rm -f conftest.$ac_objext conftest.$ac_ext 
     3790 
     3791echo "$as_me:3791: checking if SO_ERROR is available" >&5 
    74873792echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 
    74883793cat >conftest.$ac_ext <<_ACEOF 
    7489 /* confdefs.h.  */ 
    7490 _ACEOF 
    7491 cat confdefs.h >>conftest.$ac_ext 
    7492 cat >>conftest.$ac_ext <<_ACEOF 
    7493 /* end confdefs.h.  */ 
    7494 #include <sys/socket.h> 
    7495                                     #include <netinet/in.h> 
    7496                                     #include <arpa/inet.h> 
     3794#line 3794 "configure" 
     3795#include "confdefs.h" 
     3796#include <sys/types.h> 
     3797                                     #include <sys/socket.h> 
     3798                                     #include <netinet/in.h> 
     3799                                     #include <arpa/inet.h> 
    74973800int 
    74983801main () 
     
    75043807_ACEOF 
    75053808rm -f conftest.$ac_objext 
    7506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7507   (eval $ac_compile) 2>conftest.er1 
    7508   ac_status=$? 
    7509   grep -v '^ *+' conftest.er1 >conftest.err 
    7510   rm -f conftest.er1 
    7511   cat conftest.err >&5 
    7512   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3809if { (eval echo "$as_me:3809: \"$ac_compile\"") >&5 
     3810  (eval $ac_compile) 2>&5 
     3811  ac_status=$? 
     3812  echo "$as_me:3812: \$? = $ac_status" >&5 
    75133813  (exit $ac_status); } && 
    7514          { ac_try='test -z "$ac_c_werror_flag" 
    7515                          || test ! -s conftest.err' 
    7516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3814         { ac_try='test -s conftest.$ac_objext' 
     3815  { (eval echo "$as_me:3815: \"$ac_try\"") >&5 
    75173816  (eval $ac_try) 2>&5 
    75183817  ac_status=$? 
    7519   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7520   (exit $ac_status); }; } && 
    7521          { ac_try='test -s conftest.$ac_objext' 
    7522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7523   (eval $ac_try) 2>&5 
    7524   ac_status=$? 
    7525   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3818  echo "$as_me:3818: \$? = $ac_status" >&5 
    75263819  (exit $ac_status); }; }; then 
    7527   cat >>confdefs.h <<\_ACEOF 
     3820  cat >>confdefs.h <<\EOF 
    75283821#define PJ_HAS_SO_ERROR 1 
    7529 _ACEOF 
    7530  
    7531                    echo "$as_me:$LINENO: result: yes" >&5 
     3822EOF 
     3823 
     3824                   echo "$as_me:3824: result: yes" >&5 
    75323825echo "${ECHO_T}yes" >&6 
    75333826else 
    75343827  echo "$as_me: failed program was:" >&5 
    7535 sed 's/^/| /' conftest.$ac_ext >&5 
    7536  
    7537 echo "$as_me:$LINENO: result: no" >&5 
     3828cat conftest.$ac_ext >&5 
     3829echo "$as_me:3829: result: no" >&5 
    75383830echo "${ECHO_T}no" >&6 
    75393831fi 
    7540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7541  
    7542 # Determine if RW-mutex is available 
    7543 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
     3832rm -f conftest.$ac_objext conftest.$ac_ext 
     3833 
     3834echo "$as_me:3834: checking if pthread_rwlock_t is available" >&5 
    75443835echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 
    75453836cat >conftest.$ac_ext <<_ACEOF 
    7546 /* confdefs.h.  */ 
    7547 _ACEOF 
    7548 cat confdefs.h >>conftest.$ac_ext 
    7549 cat >>conftest.$ac_ext <<_ACEOF 
    7550 /* end confdefs.h.  */ 
     3837#line 3837 "configure" 
     3838#include "confdefs.h" 
    75513839#include <pthread.h> 
    75523840int 
     
    75593847_ACEOF 
    75603848rm -f conftest.$ac_objext 
    7561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7562   (eval $ac_compile) 2>conftest.er1 
    7563   ac_status=$? 
    7564   grep -v '^ *+' conftest.er1 >conftest.err 
    7565   rm -f conftest.er1 
    7566   cat conftest.err >&5 
    7567   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3849if { (eval echo "$as_me:3849: \"$ac_compile\"") >&5 
     3850  (eval $ac_compile) 2>&5 
     3851  ac_status=$? 
     3852  echo "$as_me:3852: \$? = $ac_status" >&5 
    75683853  (exit $ac_status); } && 
    7569          { ac_try='test -z "$ac_c_werror_flag" 
    7570                          || test ! -s conftest.err' 
    7571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3854         { ac_try='test -s conftest.$ac_objext' 
     3855  { (eval echo "$as_me:3855: \"$ac_try\"") >&5 
    75723856  (eval $ac_try) 2>&5 
    75733857  ac_status=$? 
    7574   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7575   (exit $ac_status); }; } && 
    7576          { ac_try='test -s conftest.$ac_objext' 
    7577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7578   (eval $ac_try) 2>&5 
    7579   ac_status=$? 
    7580   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3858  echo "$as_me:3858: \$? = $ac_status" >&5 
    75813859  (exit $ac_status); }; }; then 
    7582   cat >>confdefs.h <<\_ACEOF 
     3860  cat >>confdefs.h <<\EOF 
    75833861#define PJ_EMULATE_RWMUTEX 0 
    7584 _ACEOF 
    7585  
    7586                    echo "$as_me:$LINENO: result: yes" >&5 
     3862EOF 
     3863 
     3864                   echo "$as_me:3864: result: yes" >&5 
    75873865echo "${ECHO_T}yes" >&6 
    75883866else 
    75893867  echo "$as_me: failed program was:" >&5 
    7590 sed 's/^/| /' conftest.$ac_ext >&5 
    7591  
    7592 cat >>confdefs.h <<\_ACEOF 
     3868cat conftest.$ac_ext >&5 
     3869cat >>confdefs.h <<\EOF 
    75933870#define PJ_EMULATE_RWMUTEX 1 
    7594 _ACEOF 
    7595  
    7596                    echo "$as_me:$LINENO: result: no" >&5 
     3871EOF 
     3872 
     3873                   echo "$as_me:3873: result: no" >&5 
    75973874echo "${ECHO_T}no" >&6 
    75983875fi 
    7599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7600  
    7601  
    7602 ########################################## 
    7603 # 
    7604 # PJMEDIA 
    7605 # 
    7606  
    7607 # Sound device backend selection 
     3876rm -f conftest.$ac_objext conftest.$ac_ext 
    76083877 
    76093878case $target in 
    7610   *cygwin* | *win* | *mingw*) 
     3879  *darwin*) 
     3880        ac_pjmedia_snd=pa_darwinos 
     3881        echo "$as_me:3881: result: Checking sound device backend... coreaudio" >&5 
     3882echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 
     3883        LIBS="$LIBS -framework CoreAudio" 
     3884        ;; 
     3885  *cygwin* | *mingw*) 
    76113886        ac_pjmedia_snd=pa_win32 
    7612         echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
     3887        echo "$as_me:3887: result: Checking sound device backend... win32 sound" >&5 
    76133888echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 
    76143889        ;; 
    76153890  *rtems*) 
    76163891        ac_pjmedia_snd=null 
    7617         echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
     3892        echo "$as_me:3892: result: Checking sound device backend... null sound" >&5 
    76183893echo "${ECHO_T}Checking sound device backend... null sound" >&6 
    7619         ;; 
    7620   *darwin*) 
    7621         ac_pjmedia_snd=pa_darwin_os 
    7622         echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    7623 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 
    76243894        ;; 
    76253895  *) 
    76263896        ac_pjmedia_snd=pa_unix 
    7627         if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    7628   echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     3897        echo "$as_me:3897: checking for alsa/version.h" >&5 
    76293898echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 
    76303899if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    76313900  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7632 fi 
    7633 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    7634 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 
    7635 else 
    7636   # Is the header compilable? 
    7637 echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
    7638 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 
    7639 cat >conftest.$ac_ext <<_ACEOF 
    7640 /* confdefs.h.  */ 
    7641 _ACEOF 
    7642 cat confdefs.h >>conftest.$ac_ext 
    7643 cat >>conftest.$ac_ext <<_ACEOF 
    7644 /* end confdefs.h.  */ 
    7645 $ac_includes_default 
     3901else 
     3902  cat >conftest.$ac_ext <<_ACEOF 
     3903#line 3903 "configure" 
     3904#include "confdefs.h" 
    76463905#include <alsa/version.h> 
    76473906_ACEOF 
    7648 rm -f conftest.$ac_objext 
    7649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7650   (eval $ac_compile) 2>conftest.er1 
    7651   ac_status=$? 
    7652   grep -v '^ *+' conftest.er1 >conftest.err 
     3907if { (eval echo "$as_me:3907: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3908  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3909  ac_status=$? 
     3910  egrep -v '^ *\+' conftest.er1 >conftest.err 
    76533911  rm -f conftest.er1 
    76543912  cat conftest.err >&5 
    7655   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7656   (exit $ac_status); } && 
    7657          { ac_try='test -z "$ac_c_werror_flag" 
    7658                          || test ! -s conftest.err' 
    7659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7660   (eval $ac_try) 2>&5 
    7661   ac_status=$? 
    7662   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7663   (exit $ac_status); }; } && 
    7664          { ac_try='test -s conftest.$ac_objext' 
    7665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7666   (eval $ac_try) 2>&5 
    7667   ac_status=$? 
    7668   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7669   (exit $ac_status); }; }; then 
    7670   ac_header_compiler=yes 
    7671 else 
    7672   echo "$as_me: failed program was:" >&5 
    7673 sed 's/^/| /' conftest.$ac_ext >&5 
    7674  
    7675 ac_header_compiler=no 
    7676 fi 
    7677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
    7679 echo "${ECHO_T}$ac_header_compiler" >&6 
    7680  
    7681 # Is the header present? 
    7682 echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
    7683 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 
    7684 cat >conftest.$ac_ext <<_ACEOF 
    7685 /* confdefs.h.  */ 
    7686 _ACEOF 
    7687 cat confdefs.h >>conftest.$ac_ext 
    7688 cat >>conftest.$ac_ext <<_ACEOF 
    7689 /* end confdefs.h.  */ 
    7690 #include <alsa/version.h> 
    7691 _ACEOF 
    7692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    7693   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    7694   ac_status=$? 
    7695   grep -v '^ *+' conftest.er1 >conftest.err 
    7696   rm -f conftest.er1 
    7697   cat conftest.err >&5 
    7698   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3913  echo "$as_me:3913: \$? = $ac_status" >&5 
    76993914  (exit $ac_status); } >/dev/null; then 
    77003915  if test -s conftest.err; then 
    77013916    ac_cpp_err=$ac_c_preproc_warn_flag 
    7702     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
    77033917  else 
    77043918    ac_cpp_err= 
     
    77083922fi 
    77093923if test -z "$ac_cpp_err"; then 
    7710   ac_header_preproc=yes 
     3924  ac_cv_header_alsa_version_h=yes 
    77113925else 
    77123926  echo "$as_me: failed program was:" >&5 
    7713 sed 's/^/| /' conftest.$ac_ext >&5 
    7714  
    7715   ac_header_preproc=no 
     3927  cat conftest.$ac_ext >&5 
     3928  ac_cv_header_alsa_version_h=no 
    77163929fi 
    77173930rm -f conftest.err conftest.$ac_ext 
    7718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
    7719 echo "${ECHO_T}$ac_header_preproc" >&6 
    7720  
    7721 # So?  What about this header? 
    7722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
    7723   yes:no: ) 
    7724     { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
    7725 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
    7726     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 
    7727 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 
    7728     ac_header_preproc=yes 
    7729     ;; 
    7730   no:yes:* ) 
    7731     { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
    7732 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
    7733     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&5 
    7734 echo "$as_me: WARNING: alsa/version.h:     check for missing prerequisite headers?" >&2;} 
    7735     { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 
    7736 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 
    7737     { echo "$as_me:$LINENO: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&5 
    7738 echo "$as_me: WARNING: alsa/version.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
    7739     { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
    7740 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
    7741     { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 
    7742 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 
    7743     ( 
    7744       cat <<\_ASBOX 
    7745 ## ------------------------------------ ## 
    7746 ## Report this to the pjproject lists.  ## 
    7747 ## ------------------------------------ ## 
    7748 _ASBOX 
    7749     ) | 
    7750       sed "s/^/$as_me: WARNING:     /" >&2 
    7751     ;; 
    7752 esac 
    7753 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    7754 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 
    7755 if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    7756   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7757 else 
    7758   ac_cv_header_alsa_version_h=$ac_header_preproc 
    7759 fi 
    7760 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     3931fi 
     3932echo "$as_me:3932: result: $ac_cv_header_alsa_version_h" >&5 
    77613933echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 
    7762  
    7763 fi 
    77643934if test $ac_cv_header_alsa_version_h = yes; then 
    77653935  ac_pa_use_alsa=1 
     
    77723942fi 
    77733943 
    7774  
    7775         echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
     3944        echo "$as_me:3944: result: Checking sound device backend... unix" >&5 
    77763945echo "${ECHO_T}Checking sound device backend... unix" >&6 
    77773946        ;; 
    77783947esac 
    7779  
    7780 # Include resampling small filter 
    77813948 
    77823949# Check whether --enable-small-filter or --disable-small-filter was given. 
     
    77853952  if test "$enable_small_filter" = "no"; then 
    77863953                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    7787                 echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
     3954                echo "$as_me:3954: result: Checking if small filter is disabled... yes" >&5 
    77883955echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 
    77893956               fi 
    77903957else 
    7791   echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
     3958  echo "$as_me:3958: result: Checking if small filter is disabled... no" >&5 
    77923959echo "${ECHO_T}Checking if small filter is disabled... no" >&6 
    77933960fi; 
    7794  
    7795 # Include resampling large filter 
    77963961 
    77973962# Check whether --enable-large-filter or --disable-large-filter was given. 
     
    78003965  if test "$enable_large_filter" = "no"; then 
    78013966                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    7802                 echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
     3967                echo "$as_me:3967: result: Checking if large filter is disabled... yes" >&5 
    78033968echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 
    78043969               fi 
    78053970else 
    7806   echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
     3971  echo "$as_me:3971: result: Checking if large filter is disabled... no" >&5 
    78073972echo "${ECHO_T}Checking if large filter is disabled... no" >&6 
    78083973fi; 
    7809  
    7810 # Include G.711 Annex A PLC 
    78113974 
    78123975# Check whether --enable-g711-plc or --disable-g711-plc was given. 
     
    78153978  if test "$enable_g711_plc" = "no"; then 
    78163979                ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 
    7817                 echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 
     3980                echo "$as_me:3980: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 
    78183981echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 
    78193982               fi 
    78203983else 
    7821   echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&5 
     3984  echo "$as_me:3984: result: Checking if G.711 Annex A PLC is disabled...no" >&5 
    78223985echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 
    78233986fi; 
    7824  
    7825 # Include Speex AEC 
    78263987 
    78273988# Check whether --enable-speex-aec or --disable-speex-aec was given. 
     
    78303991  if test "$enable_speex_aec" = "no"; then 
    78313992                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    7832                 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
     3993                echo "$as_me:3993: result: Checking if Speex AEC is disabled...yes" >&5 
    78333994echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 
    78343995               fi 
    78353996else 
    7836   echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
     3997  echo "$as_me:3997: result: Checking if Speex AEC is disabled...no" >&5 
    78373998echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 
    78383999fi; 
    7839  
    7840 # Include G711 codec 
    78414000 
    78424001# Check whether --enable-g711-codec or --disable-g711-codec was given. 
     
    78454004  if test "$enable_g711_codec" = "no"; then 
    78464005                ac_no_g711_codec=1 
    7847                 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
     4006                echo "$as_me:4006: result: Checking if G.711 codec is disabled...yes" >&5 
    78484007echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 
    78494008               fi 
    78504009else 
    7851   echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     4010  echo "$as_me:4010: result: Checking if G.711 codec is disabled...no" >&5 
    78524011echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 
    78534012fi; 
    7854  
    7855  
    7856 # Include L16 codec 
    78574013 
    78584014# Check whether --enable-l16-codec or --disable-l16-codec was given. 
     
    78614017  if test "$enable_l16_codec" = "no"; then 
    78624018                ac_no_l16_codec=1 
    7863                 echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
     4019                echo "$as_me:4019: result: Checking if L16 codecs are disabled...yes" >&5 
    78644020echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 
    78654021               fi 
    78664022else 
    7867   echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
     4023  echo "$as_me:4023: result: Checking if G.711 codec is disabled...no" >&5 
    78684024echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 
    78694025fi; 
    7870  
    7871  
    7872 # Include GSM codec 
    78734026 
    78744027# Check whether --enable-gsm-codec or --disable-gsm-codec was given. 
     
    78774030  if test "$enable_gsm_codec" = "no"; then 
    78784031                ac_no_gsm_codec=1 
    7879                 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
     4032                echo "$as_me:4032: result: Checking if GSM codec is disabled...yes" >&5 
    78804033echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 
    78814034               fi 
    78824035else 
    7883   echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
     4036  echo "$as_me:4036: result: Checking if GSM codec is disabled...no" >&5 
    78844037echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 
    78854038fi; 
    7886  
    7887 # Include Speex codec 
    78884039 
    78894040# Check whether --enable-speex-codec or --disable-speex-codec was given. 
     
    78924043  if test "$enable_speex_codec" = "no"; then 
    78934044                ac_no_speex_codec=1 
    7894                 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
     4045                echo "$as_me:4045: result: Checking if Speex codec is disabled...yes" >&5 
    78954046echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 
    78964047               fi 
    78974048else 
    7898   echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
     4049  echo "$as_me:4049: result: Checking if Speex codec is disabled...no" >&5 
    78994050echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 
    79004051fi; 
    7901  
    7902 # Include iLBC codec 
    79034052 
    79044053# Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. 
     
    79074056  if test "$enable_ilbc_codec" = "no"; then 
    79084057                ac_no_ilbc_codec=1 
    7909                 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
     4058                echo "$as_me:4058: result: Checking if iLBC codec is disabled...yes" >&5 
    79104059echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 
    79114060               fi 
    79124061else 
    7913   echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
     4062  echo "$as_me:4062: result: Checking if iLBC codec is disabled...no" >&5 
    79144063echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 
    79154064fi; 
    79164065 
    7917  
    7918  
    7919 ########################################## 
    7920 # 
    7921 # MANUAL CONFIG 
    7922 # 
    7923  
    7924  
    7925 # Determine if select() requires nfds to be filled up with 
    7926 # correct value (max_fd+1). If zero, nfds will be filled up with 
    7927 # PJ_FD_SETSIZE 
    7928 echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
     4066echo "$as_me:4066: checking if select() needs correct nfds" >&5 
    79294067echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 
    79304068case $target in 
    7931   *rtems*) cat >>confdefs.h <<\_ACEOF 
     4069  *rtems*) cat >>confdefs.h <<\EOF 
    79324070#define PJ_SELECT_NEEDS_NFDS 1 
    7933 _ACEOF 
    7934  
    7935            echo "$as_me:$LINENO: result: yes" >&5 
     4071EOF 
     4072 
     4073           echo "$as_me:4073: result: yes" >&5 
    79364074echo "${ECHO_T}yes" >&6 
    79374075        ;; 
    7938   *) cat >>confdefs.h <<\_ACEOF 
     4076  *) cat >>confdefs.h <<\EOF 
    79394077#define PJ_SELECT_NEEDS_NFDS 0 
    7940 _ACEOF 
    7941  
    7942      echo "$as_me:$LINENO: result: no (default)" >&5 
     4078EOF 
     4079 
     4080     echo "$as_me:4080: result: no (default)" >&5 
    79434081echo "${ECHO_T}no (default)" >&6 
    7944      echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     4082     echo "$as_me:4082: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    79454083echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 
    79464084        ;; 
    79474085esac 
    79484086 
    7949 # Determine if pj_thread_create() should enforce thread stack size when 
    7950 # creating thread. Default is zero, to allow OS to allocate appropriate 
    7951 # thread's stack size. 
    7952 echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
     4087echo "$as_me:4087: checking if pj_thread_create() should enforce stack size" >&5 
    79534088echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 
    79544089case $target in 
    7955   *rtems*) cat >>confdefs.h <<\_ACEOF 
     4090  *rtems*) cat >>confdefs.h <<\EOF 
    79564091#define PJ_THREAD_SET_STACK_SIZE 1 
    7957 _ACEOF 
    7958  
    7959            echo "$as_me:$LINENO: result: yes" >&5 
     4092EOF 
     4093 
     4094           echo "$as_me:4094: result: yes" >&5 
    79604095echo "${ECHO_T}yes" >&6 
    79614096        ;; 
    7962   *) cat >>confdefs.h <<\_ACEOF 
     4097  *) cat >>confdefs.h <<\EOF 
    79634098#define PJ_THREAD_SET_STACK_SIZE 0 
    7964 _ACEOF 
    7965  
    7966      echo "$as_me:$LINENO: result: no (default)" >&5 
     4099EOF 
     4100 
     4101     echo "$as_me:4101: result: no (default)" >&5 
    79674102echo "${ECHO_T}no (default)" >&6 
    79684103        ;; 
    79694104esac 
    79704105 
    7971 # Determine if pj_thread_create() should allocate thread's stack from 
    7972 # the pool. Default is zero, to let OS allocate thread's stack. 
    7973 echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
     4106echo "$as_me:4106: checking if pj_thread_create() should allocate stack" >&5 
    79744107echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 
    79754108case $target in 
    7976   *rtems*) cat >>confdefs.h <<\_ACEOF 
     4109  *rtems*) cat >>confdefs.h <<\EOF 
    79774110#define PJ_THREAD_ALLOCATE_STACK 1 
    7978 _ACEOF 
    7979  
    7980            echo "$as_me:$LINENO: result: yes" >&5 
     4111EOF 
     4112 
     4113           echo "$as_me:4113: result: yes" >&5 
    79814114echo "${ECHO_T}yes" >&6 
    79824115        ;; 
    7983   *) cat >>confdefs.h <<\_ACEOF 
     4116  *) cat >>confdefs.h <<\EOF 
    79844117#define PJ_THREAD_ALLOCATE_STACK 0 
    7985 _ACEOF 
    7986  
    7987      echo "$as_me:$LINENO: result: no (default)" >&5 
     4118EOF 
     4119 
     4120     echo "$as_me:4120: result: no (default)" >&5 
    79884121echo "${ECHO_T}no (default)" >&6 
    79894122        ;; 
    79904123esac 
    79914124 
    7992 # This value specifies the value set in errno by the OS when a non-blocking 
    7993 # socket recv() can not return immediate data. 
    79944125case $target in 
    7995   *) cat >>confdefs.h <<\_ACEOF 
     4126  *) cat >>confdefs.h <<\EOF 
    79964127#define PJ_BLOCKING_ERROR_VAL EAGAIN 
    7997 _ACEOF 
    7998  
    7999      echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     4128EOF 
     4129 
     4130     echo "$as_me:4130: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    80004131echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 
    80014132        ;; 
    80024133esac 
    80034134 
    8004 # This value specifies the value set in errno by the OS when a non-blocking 
    8005 # socket connect() can not get connected immediately. 
    80064135case $target in 
    8007   *) cat >>confdefs.h <<\_ACEOF 
     4136  *) cat >>confdefs.h <<\EOF 
    80084137#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    8009 _ACEOF 
    8010  
    8011      echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     4138EOF 
     4139 
     4140     echo "$as_me:4140: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    80124141echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 
    80134142        ;; 
    80144143esac 
    80154144 
    8016  
    8017  
    8018  
    80194145if test "$build" = "$host"; then 
    80204146    ac_cross_compile= 
     
    80254151 
    80264152ac_host=unix 
    8027  
    80284153 
    80294154case $target in 
     
    80464171# the --recheck option to rerun configure. 
    80474172# 
    8048 # `ac_cv_env_foo' variables (set or unset) will be overridden when 
     4173# `ac_cv_env_foo' variables (set or unset) will be overriden when 
    80494174# loading this file, other *unset* `ac_cv_foo' will be assigned the 
    80504175# following values. 
     
    80644189      # substitution turns \\\\ into \\, and sed turns \\ into \). 
    80654190      sed -n \ 
    8066         "s/'/'\\\\''/g; 
    8067           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
     4191        "s/'/'\\\\''/g; 
     4192          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 
    80684193      ;; 
    80694194    *) 
    80704195      # `set' quotes correctly as required by POSIX, so do not add quotes. 
    80714196      sed -n \ 
    8072         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
     4197        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
    80734198      ;; 
    80744199    esac; 
     
    80814206     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 
    80824207     : end' >>confcache 
    8083 if diff $cache_file confcache >/dev/null 2>&1; then :; else 
     4208if cmp -s $cache_file confcache; then :; else 
    80844209  if test -w $cache_file; then 
    80854210    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 
     
    81004225# (actually we leave an empty line to preserve line numbers). 
    81014226if test "x$srcdir" = x.; then 
    8102   ac_vpsub='/^[  ]*VPATH[        ]*=/{ 
     4227  ac_vpsub='/^[         ]*VPATH[        ]*=/{ 
    81034228s/:*\$(srcdir):*/:/; 
    81044229s/:*\${srcdir}:*/:/; 
    81054230s/:*@srcdir@:*/:/; 
    8106 s/^\([^=]*=[     ]*\):*/\1/; 
     4231s/^\([^=]*=[    ]*\):*/\1/; 
    81074232s/:*$//; 
    8108 s/^[^=]*=[       ]*$//; 
     4233s/^[^=]*=[      ]*$//; 
    81094234}' 
    81104235fi 
    81114236 
    81124237DEFS=-DHAVE_CONFIG_H 
    8113  
    8114 ac_libobjs= 
    8115 ac_ltlibobjs= 
    8116 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 
    8117   # 1. Remove the extension, and $U if already installed. 
    8118   ac_i=`echo "$ac_i" | 
    8119          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 
    8120   # 2. Add them. 
    8121   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 
    8122   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 
    8123 done 
    8124 LIBOBJS=$ac_libobjs 
    8125  
    8126 LTLIBOBJS=$ac_ltlibobjs 
    8127  
    8128  
    81294238 
    81304239: ${CONFIG_STATUS=./config.status} 
    81314240ac_clean_files_save=$ac_clean_files 
    81324241ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    8133 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
     4242{ echo "$as_me:4242: creating $CONFIG_STATUS" >&5 
    81344243echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    81354244cat >$CONFIG_STATUS <<_ACEOF 
    81364245#! $SHELL 
    8137 # Generated by $as_me. 
     4246# Generated automatically by configure. 
    81384247# Run this file to recreate the current configuration. 
    81394248# Compiler output produced by configure, useful for debugging 
     
    81414250 
    81424251debug=false 
    8143 ac_cs_recheck=false 
    8144 ac_cs_silent=false 
    81454252SHELL=\${CONFIG_SHELL-$SHELL} 
     4253ac_cs_invocation="\$0 \$@" 
     4254 
    81464255_ACEOF 
    81474256 
    81484257cat >>$CONFIG_STATUS <<\_ACEOF 
    8149 ## --------------------- ## 
    8150 ## M4sh Initialization.  ## 
    8151 ## --------------------- ## 
    8152  
    81534258# Be Bourne compatible 
    81544259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    81554260  emulate sh 
    81564261  NULLCMD=: 
    8157   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
    8158   # is contrary to our usage.  Disable this feature. 
    8159   alias -g '${1+"$@"}'='"$@"' 
    81604262elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    81614263  set -o posix 
    81624264fi 
    8163 DUALCASE=1; export DUALCASE # for MKS sh 
    8164  
    8165 # Support unset when possible. 
    8166 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    8167   as_unset=unset 
    8168 else 
    8169   as_unset=false 
    8170 fi 
    8171  
    8172  
    8173 # Work around bugs in pre-3.0 UWIN ksh. 
    8174 $as_unset ENV MAIL MAILPATH 
    8175 PS1='$ ' 
    8176 PS2='> ' 
    8177 PS4='+ ' 
    8178  
    8179 # NLS nuisances. 
    8180 for as_var in \ 
    8181   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    8182   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    8183   LC_TELEPHONE LC_TIME 
    8184 do 
    8185   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    8186     eval $as_var=C; export $as_var 
    8187   else 
    8188     $as_unset $as_var 
    8189   fi 
    8190 done 
    8191  
    8192 # Required to use basename. 
    8193 if expr a : '\(a\)' >/dev/null 2>&1; then 
    8194   as_expr=expr 
    8195 else 
    8196   as_expr=false 
    8197 fi 
    8198  
    8199 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
    8200   as_basename=basename 
    8201 else 
    8202   as_basename=false 
    8203 fi 
    8204  
    82054265 
    82064266# Name of the executable. 
    8207 as_me=`$as_basename "$0" || 
    8208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    8209          X"$0" : 'X\(//\)$' \| \ 
    8210          X"$0" : 'X\(/\)$' \| \ 
    8211          .     : '\(.\)' 2>/dev/null || 
    8212 echo X/"$0" | 
    8213     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
    8214           /^X\/\(\/\/\)$/{ s//\1/; q; } 
    8215           /^X\/\(\/\).*/{ s//\1/; q; } 
    8216           s/.*/./; q'` 
    8217  
    8218  
    8219 # PATH needs CR, and LINENO needs CR and PATH. 
    8220 # Avoid depending upon Character Ranges. 
    8221 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
    8222 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
    8223 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
    8224 as_cr_digits='0123456789' 
    8225 as_cr_alnum=$as_cr_Letters$as_cr_digits 
    8226  
    8227 # The user is always right. 
    8228 if test "${PATH_SEPARATOR+set}" != set; then 
    8229   echo "#! /bin/sh" >conf$$.sh 
    8230   echo  "exit 0"   >>conf$$.sh 
    8231   chmod +x conf$$.sh 
    8232   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
    8233     PATH_SEPARATOR=';' 
    8234   else 
    8235     PATH_SEPARATOR=: 
    8236   fi 
    8237   rm -f conf$$.sh 
    8238 fi 
    8239  
    8240  
    8241   as_lineno_1=$LINENO 
    8242   as_lineno_2=$LINENO 
    8243   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    8244   test "x$as_lineno_1" != "x$as_lineno_2" && 
    8245   test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
    8246   # Find who we are.  Look in the path if we contain no path at all 
    8247   # relative or not. 
    8248   case $0 in 
    8249     *[\\/]* ) as_myself=$0 ;; 
    8250     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    8251 for as_dir in $PATH 
    8252 do 
    8253   IFS=$as_save_IFS 
    8254   test -z "$as_dir" && as_dir=. 
    8255   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    8256 done 
    8257  
    8258        ;; 
    8259   esac 
    8260   # We did not find ourselves, most probably we were run as `sh COMMAND' 
    8261   # in which case we are not to be found in the path. 
    8262   if test "x$as_myself" = x; then 
    8263     as_myself=$0 
    8264   fi 
    8265   if test ! -f "$as_myself"; then 
    8266     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 
    8267 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 
    8268    { (exit 1); exit 1; }; } 
    8269   fi 
    8270   case $CONFIG_SHELL in 
    8271   '') 
    8272     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    8273 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    8274 do 
    8275   IFS=$as_save_IFS 
    8276   test -z "$as_dir" && as_dir=. 
    8277   for as_base in sh bash ksh sh5; do 
    8278          case $as_dir in 
    8279          /*) 
    8280            if ("$as_dir/$as_base" -c ' 
    8281   as_lineno_1=$LINENO 
    8282   as_lineno_2=$LINENO 
    8283   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    8284   test "x$as_lineno_1" != "x$as_lineno_2" && 
    8285   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
    8286              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
    8287              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
    8288              CONFIG_SHELL=$as_dir/$as_base 
    8289              export CONFIG_SHELL 
    8290              exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
    8291            fi;; 
    8292          esac 
    8293        done 
    8294 done 
    8295 ;; 
    8296   esac 
    8297  
    8298   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    8299   # uniformly replaced by the line number.  The first 'sed' inserts a 
    8300   # line-number line before each line; the second 'sed' does the real 
    8301   # work.  The second script uses 'N' to pair each line-number line 
    8302   # with the numbered line, and appends trailing '-' during 
    8303   # substitution so that $LINENO is not a special case at line end. 
    8304   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    8305   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
    8306   sed '=' <$as_myself | 
    8307     sed ' 
    8308       N 
    8309       s,$,-, 
    8310       : loop 
    8311       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
    8312       t loop 
    8313       s,-$,, 
    8314       s,^['$as_cr_digits']*\n,, 
    8315     ' >$as_me.lineno && 
    8316   chmod +x $as_me.lineno || 
    8317     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 
    8318 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 
    8319    { (exit 1); exit 1; }; } 
    8320  
    8321   # Don't try to exec as it changes $[0], causing all sort of problems 
    8322   # (the dirname of $[0] is not the place where we might find the 
    8323   # original and so on.  Autoconf is especially sensible to this). 
    8324   . ./$as_me.lineno 
    8325   # Exit status is that of the last command. 
    8326   exit 
    8327 } 
    8328  
    8329  
    8330 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
    8331   *c*,-n*) ECHO_N= ECHO_C=' 
    8332 ' ECHO_T='      ' ;; 
    8333   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
    8334   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
    8335 esac 
     4267as_me=`echo "$0" |sed 's,.*[\\/],,'` 
    83364268 
    83374269if expr a : '\(a\)' >/dev/null 2>&1; then 
     
    83594291rm -f conf$$ conf$$.exe conf$$.file 
    83604292 
    8361 if mkdir -p . 2>/dev/null; then 
    8362   as_mkdir_p=: 
    8363 else 
    8364   test -d ./-p && rmdir ./-p 
    8365   as_mkdir_p=false 
    8366 fi 
    8367  
    83684293as_executable_p="test -f" 
    83694294 
    8370 # Sed expression to map a string onto a valid CPP name. 
    8371 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
    8372  
    8373 # Sed expression to map a string onto a valid variable name. 
    8374 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
    8375  
     4295# Support unset when possible. 
     4296if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
     4297  as_unset=unset 
     4298else 
     4299  as_unset=false 
     4300fi 
     4301 
     4302# NLS nuisances. 
     4303$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 
     4304$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 
     4305$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 
     4306$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 
     4307$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 
     4308$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 
     4309$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 
     4310$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 
    83764311 
    83774312# IFS 
     
    83824317 
    83834318# CDPATH. 
    8384 $as_unset CDPATH 
     4319$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 
    83854320 
    83864321exec 6>&1 
    83874322 
    8388 # Open the log real soon, to keep \$[0] and so on meaningful, and to 
    8389 # report actual input values of CONFIG_FILES etc. instead of their 
    8390 # values after options handling.  Logging --version etc. is OK. 
    8391 exec 5>>config.log 
    8392 { 
    8393   echo 
    8394   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    8395 ## Running $as_me. ## 
    8396 _ASBOX 
    8397 } >&5 
    8398 cat >&5 <<_CSEOF 
    8399  
    8400 This file was extended by pjproject $as_me 0.5.8, which was 
    8401 generated by GNU Autoconf 2.59.  Invocation command line was 
    8402  
    8403   CONFIG_FILES    = $CONFIG_FILES 
    8404   CONFIG_HEADERS  = $CONFIG_HEADERS 
    8405   CONFIG_LINKS    = $CONFIG_LINKS 
    8406   CONFIG_COMMANDS = $CONFIG_COMMANDS 
    8407   $ $0 $@ 
    8408  
    8409 _CSEOF 
    8410 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 
    8411 echo >&5 
    84124323_ACEOF 
    84134324 
     
    84294340fi 
    84304341 
    8431 cat >>$CONFIG_STATUS <<\_ACEOF 
     4342cat >>$CONFIG_STATUS <<\EOF 
    84324343 
    84334344ac_cs_usage="\ 
     
    84394350  -h, --help       print this help, then exit 
    84404351  -V, --version    print version number, then exit 
    8441   -q, --quiet      do not print progress messages 
    84424352  -d, --debug      don't remove temporary files 
    84434353      --recheck    update $as_me by reconfiguring in the same conditions 
    84444354  --file=FILE[:TEMPLATE] 
    8445                    instantiate the configuration file FILE 
     4355                   instantiate the configuration file FILE 
    84464356  --header=FILE[:TEMPLATE] 
    8447                    instantiate the configuration header FILE 
     4357                   instantiate the configuration header FILE 
    84484358 
    84494359Configuration files: 
     
    84544364 
    84554365Report bugs to <bug-autoconf@gnu.org>." 
    8456 _ACEOF 
    8457  
    8458 cat >>$CONFIG_STATUS <<_ACEOF 
     4366EOF 
     4367 
     4368cat >>$CONFIG_STATUS <<EOF 
    84594369ac_cs_version="\\ 
    84604370pjproject config.status 0.5.8 
    8461 configured by $0, generated by GNU Autoconf 2.59, 
     4371configured by $0, generated by GNU Autoconf 2.52, 
    84624372  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
    84634373 
    8464 Copyright (C) 2003 Free Software Foundation, Inc. 
     4374Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
     4375Free Software Foundation, Inc. 
    84654376This config.status script is free software; the Free Software Foundation 
    84664377gives unlimited permission to copy, distribute and modify it." 
    84674378srcdir=$srcdir 
    8468 _ACEOF 
    8469  
    8470 cat >>$CONFIG_STATUS <<\_ACEOF 
     4379EOF 
     4380 
     4381cat >>$CONFIG_STATUS <<\EOF 
    84714382# If no file are specified by the user, then we need to provide default 
    84724383# value.  By we need to know if files were specified by the user. 
     
    84784389    ac_option=`expr "x$1" : 'x\([^=]*\)='` 
    84794390    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 
    8480     ac_shift=: 
     4391    shift 
     4392    set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 
     4393    shift 
    84814394    ;; 
    8482   -*) 
    8483     ac_option=$1 
    8484     ac_optarg=$2 
    8485     ac_shift=shift 
    8486     ;; 
     4395  -*);; 
    84874396  *) # This is not an option, so the user has probably given explicit 
    84884397     # arguments. 
    8489      ac_option=$1 
    84904398     ac_need_defaults=false;; 
    84914399  esac 
    84924400 
    8493   case $ac_option in 
     4401  case $1 in 
    84944402  # Handling of the options. 
    8495 _ACEOF 
    8496 cat >>$CONFIG_STATUS <<\_ACEOF 
     4403EOF 
     4404cat >>$CONFIG_STATUS <<EOF 
    84974405  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    8498     ac_cs_recheck=: ;; 
     4406    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 
     4407    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 
     4408EOF 
     4409cat >>$CONFIG_STATUS <<\EOF 
    84994410  --version | --vers* | -V ) 
    85004411    echo "$ac_cs_version"; exit 0 ;; 
    85014412  --he | --h) 
    85024413    # Conflict between --help and --header 
    8503     { { echo "$as_me:$LINENO: error: ambiguous option: $1 
     4414    { { echo "$as_me:4414: error: ambiguous option: $1 
    85044415Try \`$0 --help' for more information." >&5 
    85054416echo "$as_me: error: ambiguous option: $1 
     
    85114422    debug=: ;; 
    85124423  --file | --fil | --fi | --f ) 
    8513     $ac_shift 
    8514     CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
     4424    shift 
     4425    CONFIG_FILES="$CONFIG_FILES $1" 
    85154426    ac_need_defaults=false;; 
    85164427  --header | --heade | --head | --hea ) 
    8517     $ac_shift 
    8518     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
     4428    shift 
     4429    CONFIG_HEADERS="$CONFIG_HEADERS $1" 
    85194430    ac_need_defaults=false;; 
    8520   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    8521   | -silent | --silent | --silen | --sile | --sil | --si | --s) 
    8522     ac_cs_silent=: ;; 
    85234431 
    85244432  # This is an error. 
    8525   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 
     4433  -*) { { echo "$as_me:4433: error: unrecognized option: $1 
    85264434Try \`$0 --help' for more information." >&5 
    85274435echo "$as_me: error: unrecognized option: $1 
     
    85354443done 
    85364444 
    8537 ac_configure_extra_args= 
    8538  
    8539 if $ac_cs_silent; then 
    8540   exec 6>/dev/null 
    8541   ac_configure_extra_args="$ac_configure_extra_args --silent" 
    8542 fi 
    8543  
    8544 _ACEOF 
    8545 cat >>$CONFIG_STATUS <<_ACEOF 
    8546 if \$ac_cs_recheck; then 
    8547   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
    8548   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
    8549 fi 
    8550  
    8551 _ACEOF 
    8552  
    8553  
    8554  
    8555  
    8556  
    8557 cat >>$CONFIG_STATUS <<\_ACEOF 
     4445exec 5>>config.log 
     4446cat >&5 << _ACEOF 
     4447 
     4448## ----------------------- ## 
     4449## Running config.status.  ## 
     4450## ----------------------- ## 
     4451 
     4452This file was extended by $as_me (pjproject 0.5.8) 2.52, executed with 
     4453  CONFIG_FILES    = $CONFIG_FILES 
     4454  CONFIG_HEADERS  = $CONFIG_HEADERS 
     4455  CONFIG_LINKS    = $CONFIG_LINKS 
     4456  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     4457  > $ac_cs_invocation 
     4458on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     4459 
     4460_ACEOF 
     4461EOF 
     4462 
     4463cat >>$CONFIG_STATUS <<\EOF 
    85584464for ac_config_target in $ac_config_targets 
    85594465do 
     
    85684474  "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    85694475  "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    8570   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
     4476  *) { { echo "$as_me:4476: error: invalid argument: $ac_config_target" >&5 
    85714477echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    85724478   { (exit 1); exit 1; }; };; 
     
    85834489fi 
    85844490 
    8585 # Have a temporary directory for convenience.  Make it in the build tree 
    8586 # simply because there is no reason to put it here, and in addition, 
    8587 # creating and moving files from /tmp can sometimes cause problems. 
    85884491# Create a temporary directory, and hook for its removal unless debugging. 
    85894492$debug || 
     
    85944497 
    85954498# Create a (secure) tmp directory for tmp files. 
    8596  
     4499: ${TMPDIR=/tmp} 
    85974500{ 
    8598   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 
     4501  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 
    85994502  test -n "$tmp" && test -d "$tmp" 
    86004503}  || 
    86014504{ 
    8602   tmp=./confstat$$-$RANDOM 
     4505  tmp=$TMPDIR/cs$$-$RANDOM 
    86034506  (umask 077 && mkdir $tmp) 
    86044507} || 
    86054508{ 
    8606    echo "$me: cannot create a temporary directory in ." >&2 
     4509   echo "$me: cannot create a temporary directory in $TMPDIR" >&2 
    86074510   { (exit 1); exit 1; } 
    86084511} 
    86094512 
    8610 _ACEOF 
    8611  
    8612 cat >>$CONFIG_STATUS <<_ACEOF 
     4513EOF 
     4514 
     4515cat >>$CONFIG_STATUS <<EOF 
    86134516 
    86144517# 
     
    86234526   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 
    86244527s,@SHELL@,$SHELL,;t t 
    8625 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
    8626 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
    8627 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
    8628 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
    8629 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
    8630 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
    86314528s,@exec_prefix@,$exec_prefix,;t t 
    86324529s,@prefix@,$prefix,;t t 
     
    86444541s,@infodir@,$infodir,;t t 
    86454542s,@mandir@,$mandir,;t t 
     4543s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
     4544s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
     4545s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
     4546s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
     4547s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
    86464548s,@build_alias@,$build_alias,;t t 
    86474549s,@host_alias@,$host_alias,;t t 
    86484550s,@target_alias@,$target_alias,;t t 
    8649 s,@DEFS@,$DEFS,;t t 
    86504551s,@ECHO_C@,$ECHO_C,;t t 
    86514552s,@ECHO_N@,$ECHO_N,;t t 
    86524553s,@ECHO_T@,$ECHO_T,;t t 
     4554s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
     4555s,@DEFS@,$DEFS,;t t 
    86534556s,@LIBS@,$LIBS,;t t 
    86544557s,@build@,$build,;t t 
     
    86744577s,@CXXFLAGS@,$CXXFLAGS,;t t 
    86754578s,@ac_ct_CXX@,$ac_ct_CXX,;t t 
    8676 s,@ac_bigendian@,$ac_bigendian,;t t 
    86774579s,@CPP@,$CPP,;t t 
    8678 s,@EGREP@,$EGREP,;t t 
    86794580s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 
    86804581s,@ac_pa_use_alsa@,$ac_pa_use_alsa,;t t 
     
    86924593s,@ac_host@,$ac_host,;t t 
    86934594s,@ac_main_obj@,$ac_main_obj,;t t 
    8694 s,@LIBOBJS@,$LIBOBJS,;t t 
    8695 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 
    86964595CEOF 
    86974596 
    8698 _ACEOF 
    8699  
    8700   cat >>$CONFIG_STATUS <<\_ACEOF 
     4597EOF 
     4598 
     4599  cat >>$CONFIG_STATUS <<\EOF 
    87014600  # Split the substitutions into bite-sized pieces for seds with 
    87024601  # small command number limits, like on Digital OSF/1 and HP-UX. 
     
    87234622  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 
    87244623      if test -z "$ac_sed_cmds"; then 
    8725         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 
     4624        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 
    87264625      else 
    8727         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
     4626        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
    87284627      fi 
    87294628      ac_sed_frag=`expr $ac_sed_frag + 1` 
     
    87374636fi # test -n "$CONFIG_FILES" 
    87384637 
    8739 _ACEOF 
    8740 cat >>$CONFIG_STATUS <<\_ACEOF 
     4638EOF 
     4639cat >>$CONFIG_STATUS <<\EOF 
    87414640for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 
    87424641  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
    87434642  case $ac_file in 
    87444643  - | *:- | *:-:* ) # input from stdin 
    8745         cat >$tmp/stdin 
    8746         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    8747         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     4644        cat >$tmp/stdin 
     4645        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
     4646        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    87484647  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    8749         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     4648        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    87504649  * )   ac_file_in=$ac_file.in ;; 
    87514650  esac 
    87524651 
    87534652  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 
    8754   ac_dir=`(dirname "$ac_file") 2>/dev/null || 
    8755 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    8756          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    8757          X"$ac_file" : 'X\(//\)$' \| \ 
    8758          X"$ac_file" : 'X\(/\)' \| \ 
    8759          .     : '\(.\)' 2>/dev/null || 
     4653  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     4654         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     4655         X"$ac_file" : 'X\(//\)$' \| \ 
     4656         X"$ac_file" : 'X\(/\)' \| \ 
     4657         .     : '\(.\)' 2>/dev/null || 
    87604658echo X"$ac_file" | 
    87614659    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     
    87644662          /^X\(\/\).*/{ s//\1/; q; } 
    87654663          s/.*/./; q'` 
    8766   { if $as_mkdir_p; then 
    8767     mkdir -p "$ac_dir" 
     4664  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 
     4665    { case "$ac_dir" in 
     4666  [\\/]* | ?:[\\/]* ) as_incr_dir=;; 
     4667  *)                      as_incr_dir=.;; 
     4668esac 
     4669as_dummy="$ac_dir" 
     4670for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 
     4671  case $as_mkdir_dir in 
     4672    # Skip DOS drivespec 
     4673    ?:) as_incr_dir=$as_mkdir_dir ;; 
     4674    *) 
     4675      as_incr_dir=$as_incr_dir/$as_mkdir_dir 
     4676      test -d "$as_incr_dir" || mkdir "$as_incr_dir" 
     4677    ;; 
     4678  esac 
     4679done; } 
     4680 
     4681    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 
     4682    # A "../" for each directory in $ac_dir_suffix. 
     4683    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 
    87684684  else 
    8769     as_dir="$ac_dir" 
    8770     as_dirs= 
    8771     while test ! -d "$as_dir"; do 
    8772       as_dirs="$as_dir $as_dirs" 
    8773       as_dir=`(dirname "$as_dir") 2>/dev/null || 
    8774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    8775          X"$as_dir" : 'X\(//\)[^/]' \| \ 
    8776          X"$as_dir" : 'X\(//\)$' \| \ 
    8777          X"$as_dir" : 'X\(/\)' \| \ 
    8778          .     : '\(.\)' 2>/dev/null || 
    8779 echo X"$as_dir" | 
    8780     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
    8781           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
    8782           /^X\(\/\/\)$/{ s//\1/; q; } 
    8783           /^X\(\/\).*/{ s//\1/; q; } 
    8784           s/.*/./; q'` 
    8785     done 
    8786     test ! -n "$as_dirs" || mkdir $as_dirs 
    8787   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
    8788 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
    8789    { (exit 1); exit 1; }; }; } 
    8790  
    8791   ac_builddir=. 
    8792  
    8793 if test "$ac_dir" != .; then 
    8794   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    8795   # A "../" for each directory in $ac_dir_suffix. 
    8796   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
    8797 else 
    8798   ac_dir_suffix= ac_top_builddir= 
    8799 fi 
    8800  
    8801 case $srcdir in 
    8802   .)  # No --srcdir option.  We are building in place. 
    8803     ac_srcdir=. 
    8804     if test -z "$ac_top_builddir"; then 
    8805        ac_top_srcdir=. 
    8806     else 
    8807        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
    8808     fi ;; 
    8809   [\\/]* | ?:[\\/]* )  # Absolute path. 
    8810     ac_srcdir=$srcdir$ac_dir_suffix; 
    8811     ac_top_srcdir=$srcdir ;; 
     4685    ac_dir_suffix= ac_dots= 
     4686  fi 
     4687 
     4688  case $srcdir in 
     4689  .)  ac_srcdir=. 
     4690      if test -z "$ac_dots"; then 
     4691         ac_top_srcdir=. 
     4692      else 
     4693         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 
     4694      fi ;; 
     4695  [\\/]* | ?:[\\/]* ) 
     4696      ac_srcdir=$srcdir$ac_dir_suffix; 
     4697      ac_top_srcdir=$srcdir ;; 
    88124698  *) # Relative path. 
    8813     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
    8814     ac_top_srcdir=$ac_top_builddir$srcdir ;; 
    8815 esac 
    8816  
    8817 # Do not use `cd foo && pwd` to compute absolute paths, because 
    8818 # the directories may not exist. 
    8819 case `pwd` in 
    8820 .) ac_abs_builddir="$ac_dir";; 
    8821 *) 
    8822   case "$ac_dir" in 
    8823   .) ac_abs_builddir=`pwd`;; 
    8824   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
    8825   *) ac_abs_builddir=`pwd`/"$ac_dir";; 
    8826   esac;; 
    8827 esac 
    8828 case $ac_abs_builddir in 
    8829 .) ac_abs_top_builddir=${ac_top_builddir}.;; 
    8830 *) 
    8831   case ${ac_top_builddir}. in 
    8832   .) ac_abs_top_builddir=$ac_abs_builddir;; 
    8833   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
    8834   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
    8835   esac;; 
    8836 esac 
    8837 case $ac_abs_builddir in 
    8838 .) ac_abs_srcdir=$ac_srcdir;; 
    8839 *) 
    8840   case $ac_srcdir in 
    8841   .) ac_abs_srcdir=$ac_abs_builddir;; 
    8842   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
    8843   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
    8844   esac;; 
    8845 esac 
    8846 case $ac_abs_builddir in 
    8847 .) ac_abs_top_srcdir=$ac_top_srcdir;; 
    8848 *) 
    8849   case $ac_top_srcdir in 
    8850   .) ac_abs_top_srcdir=$ac_abs_builddir;; 
    8851   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
    8852   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
    8853   esac;; 
    8854 esac 
    8855  
    8856  
     4699    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 
     4700    ac_top_srcdir=$ac_dots$srcdir ;; 
     4701  esac 
    88574702 
    88584703  if test x"$ac_file" != x-; then 
    8859     { echo "$as_me:$LINENO: creating $ac_file" >&5 
     4704    { echo "$as_me:4704: creating $ac_file" >&5 
    88604705echo "$as_me: creating $ac_file" >&6;} 
    88614706    rm -f "$ac_file" 
     
    88634708  # Let's still pretend it is `configure' which instantiates (i.e., don't 
    88644709  # use $as_me), people would be surprised to read: 
    8865   #    /* config.h.  Generated by config.status.  */ 
    8866   if test x"$ac_file" = x-; then 
    8867     configure_input= 
    8868   else 
    8869     configure_input="$ac_file.  " 
    8870   fi 
    8871   configure_input=$configure_input"Generated from `echo $ac_file_in | 
    8872                                      sed 's,.*/,,'` by configure." 
     4710  #    /* config.h.  Generated automatically by config.status.  */ 
     4711  configure_input="Generated automatically from `echo $ac_file_in | 
     4712                                                 sed 's,.*/,,'` by configure." 
    88734713 
    88744714  # First look for the input files in the build tree, otherwise in the 
     
    88794719      -) echo $tmp/stdin ;; 
    88804720      [\\/$]*) 
    8881         # Absolute (can't be DOS-style, as IFS=:) 
    8882          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
     4721        # Absolute (can't be DOS-style, as IFS=:) 
     4722         test -f "$f" || { { echo "$as_me:4722: error: cannot find input file: $f" >&5 
    88834723echo "$as_me: error: cannot find input file: $f" >&2;} 
    88844724   { (exit 1); exit 1; }; } 
    8885          echo "$f";; 
     4725         echo $f;; 
    88864726      *) # Relative 
    8887         if test -f "$f"; then 
    8888            # Build tree 
    8889            echo "$f" 
    8890         elif test -f "$srcdir/$f"; then 
    8891            # Source tree 
    8892            echo "$srcdir/$f" 
    8893         else 
    8894            # /dev/null tree 
    8895            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
     4727        if test -f "$f"; then 
     4728           # Build tree 
     4729           echo $f 
     4730        elif test -f "$srcdir/$f"; then 
     4731           # Source tree 
     4732           echo $srcdir/$f 
     4733        else 
     4734           # /dev/null tree 
     4735           { { echo "$as_me:4735: error: cannot find input file: $f" >&5 
    88964736echo "$as_me: error: cannot find input file: $f" >&2;} 
    88974737   { (exit 1); exit 1; }; } 
    8898         fi;; 
     4738        fi;; 
    88994739      esac 
    89004740    done` || { (exit 1); exit 1; } 
    8901 _ACEOF 
    8902 cat >>$CONFIG_STATUS <<_ACEOF 
     4741EOF 
     4742cat >>$CONFIG_STATUS <<EOF 
    89034743  sed "$ac_vpsub 
    89044744$extrasub 
    8905 _ACEOF 
    8906 cat >>$CONFIG_STATUS <<\_ACEOF 
     4745EOF 
     4746cat >>$CONFIG_STATUS <<\EOF 
    89074747:t 
    89084748/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    89094749s,@configure_input@,$configure_input,;t t 
    89104750s,@srcdir@,$ac_srcdir,;t t 
    8911 s,@abs_srcdir@,$ac_abs_srcdir,;t t 
    89124751s,@top_srcdir@,$ac_top_srcdir,;t t 
    8913 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 
    8914 s,@builddir@,$ac_builddir,;t t 
    8915 s,@abs_builddir@,$ac_abs_builddir,;t t 
    8916 s,@top_builddir@,$ac_top_builddir,;t t 
    8917 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 
    89184752" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 
    89194753  rm -f $tmp/stdin 
     
    89264760 
    89274761done 
    8928 _ACEOF 
    8929 cat >>$CONFIG_STATUS <<\_ACEOF 
     4762EOF 
     4763cat >>$CONFIG_STATUS <<\EOF 
    89304764 
    89314765# 
     
    89374771# 
    89384772# ac_d sets the value in "#define NAME VALUE" lines. 
    8939 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' 
    8940 ac_dB='[         ].*$,\1#\2' 
     4773ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)' 
     4774ac_dB='[        ].*$,\1#\2' 
    89414775ac_dC=' ' 
    89424776ac_dD=',;t' 
    89434777# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 
    8944 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
     4778ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' 
    89454779ac_uB='$,\1#\2define\3' 
    89464780ac_uC=' ' 
     
    89514785  case $ac_file in 
    89524786  - | *:- | *:-:* ) # input from stdin 
    8953         cat >$tmp/stdin 
    8954         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    8955         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     4787        cat >$tmp/stdin 
     4788        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
     4789        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    89564790  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    8957         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
     4791        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    89584792  * )   ac_file_in=$ac_file.in ;; 
    89594793  esac 
    89604794 
    8961   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 
     4795  test x"$ac_file" != x- && { echo "$as_me:4795: creating $ac_file" >&5 
    89624796echo "$as_me: creating $ac_file" >&6;} 
    89634797 
     
    89694803      -) echo $tmp/stdin ;; 
    89704804      [\\/$]*) 
    8971         # Absolute (can't be DOS-style, as IFS=:) 
    8972          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
     4805        # Absolute (can't be DOS-style, as IFS=:) 
     4806         test -f "$f" || { { echo "$as_me:4806: error: cannot find input file: $f" >&5 
    89734807echo "$as_me: error: cannot find input file: $f" >&2;} 
    89744808   { (exit 1); exit 1; }; } 
    8975          # Do quote $f, to prevent DOS paths from being IFS'd. 
    8976          echo "$f";; 
     4809         echo $f;; 
    89774810      *) # Relative 
    8978         if test -f "$f"; then 
    8979            # Build tree 
    8980            echo "$f" 
    8981         elif test -f "$srcdir/$f"; then 
    8982            # Source tree 
    8983            echo "$srcdir/$f" 
    8984         else 
    8985            # /dev/null tree 
    8986            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
     4811        if test -f "$f"; then 
     4812           # Build tree 
     4813           echo $f 
     4814        elif test -f "$srcdir/$f"; then 
     4815           # Source tree 
     4816           echo $srcdir/$f 
     4817        else 
     4818           # /dev/null tree 
     4819           { { echo "$as_me:4819: error: cannot find input file: $f" >&5 
    89874820echo "$as_me: error: cannot find input file: $f" >&2;} 
    89884821   { (exit 1); exit 1; }; } 
    8989         fi;; 
     4822        fi;; 
    89904823      esac 
    89914824    done` || { (exit 1); exit 1; } 
    89924825  # Remove the trailing spaces. 
    8993   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in 
    8994  
    8995 _ACEOF 
     4826  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in 
     4827 
     4828EOF 
    89964829 
    89974830# Transform confdefs.h into two sed scripts, `conftest.defines' and 
     
    90094842# 0-ary CPP macros) applies to n-ary macro definitions. 
    90104843# See the Autoconf documentation for `clear'. 
    9011 cat >confdef2sed.sed <<\_ACEOF 
     4844cat >confdef2sed.sed <<\EOF 
    90124845s/[\\&,]/\\&/g 
    90134846s,[\\$`],\\&,g 
    90144847t clear 
    90154848: clear 
    9016 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 
     4849s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 
    90174850t end 
    9018 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 
     4851s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 
    90194852: end 
    9020 _ACEOF 
     4853EOF 
    90214854# If some macros were called several times there might be several times 
    90224855# the same #defines, which is useless.  Nevertheless, we may not want to 
     
    90294862# example, in the case of _POSIX_SOURCE, which is predefined and required 
    90304863# on some systems where configure will not decide to define it. 
    9031 cat >>conftest.undefs <<\_ACEOF 
    9032 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 
    9033 _ACEOF 
     4864cat >>conftest.undefs <<\EOF 
     4865s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 
     4866EOF 
    90344867 
    90354868# Break up conftest.defines because some shells have a limit on the size 
    90364869# of here documents, and old seds have small limits too (100 cmds). 
    90374870echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 
    9038 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
     4871echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
    90394872echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 
    90404873echo '  :' >>$CONFIG_STATUS 
     
    90454878  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 
    90464879  # Speed up: don't consider the non `#define' lines. 
    9047   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS 
     4880  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS 
    90484881  # Work around the forget-to-reset-the-flag bug. 
    90494882  echo 't clr' >>$CONFIG_STATUS 
     
    90604893done 
    90614894rm -f conftest.defines 
    9062 echo '  fi # grep' >>$CONFIG_STATUS 
     4895echo '  fi # egrep' >>$CONFIG_STATUS 
    90634896echo >>$CONFIG_STATUS 
    90644897 
     
    90724905  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 
    90734906  # Speed up: don't consider the non `#undef' 
    9074   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS 
     4907  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS 
    90754908  # Work around the forget-to-reset-the-flag bug. 
    90764909  echo 't clr' >>$CONFIG_STATUS 
     
    90884921rm -f conftest.undefs 
    90894922 
    9090 cat >>$CONFIG_STATUS <<\_ACEOF 
     4923cat >>$CONFIG_STATUS <<\EOF 
    90914924  # Let's still pretend it is `configure' which instantiates (i.e., don't 
    90924925  # use $as_me), people would be surprised to read: 
    9093   #    /* config.h.  Generated by config.status.  */ 
     4926  #    /* config.h.  Generated automatically by config.status.  */ 
    90944927  if test x"$ac_file" = x-; then 
    9095     echo "/* Generated by configure.  */" >$tmp/config.h 
     4928    echo "/* Generated automatically by configure.  */" >$tmp/config.h 
    90964929  else 
    9097     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h 
     4930    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h 
    90984931  fi 
    90994932  cat $tmp/in >>$tmp/config.h 
    91004933  rm -f $tmp/in 
    91014934  if test x"$ac_file" != x-; then 
    9102     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 
    9103       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
     4935    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 
     4936      { echo "$as_me:4936: $ac_file is unchanged" >&5 
    91044937echo "$as_me: $ac_file is unchanged" >&6;} 
    91054938    else 
    9106       ac_dir=`(dirname "$ac_file") 2>/dev/null || 
    9107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    9108          X"$ac_file" : 'X\(//\)[^/]' \| \ 
    9109          X"$ac_file" : 'X\(//\)$' \| \ 
    9110          X"$ac_file" : 'X\(/\)' \| \ 
    9111          .     : '\(.\)' 2>/dev/null || 
     4939      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     4940         X"$ac_file" : 'X\(//\)[^/]' \| \ 
     4941         X"$ac_file" : 'X\(//\)$' \| \ 
     4942         X"$ac_file" : 'X\(/\)' \| \ 
     4943         .     : '\(.\)' 2>/dev/null || 
    91124944echo X"$ac_file" | 
    91134945    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     
    91164948          /^X\(\/\).*/{ s//\1/; q; } 
    91174949          s/.*/./; q'` 
    9118       { if $as_mkdir_p; then 
    9119     mkdir -p "$ac_dir" 
    9120   else 
    9121     as_dir="$ac_dir" 
    9122     as_dirs= 
    9123     while test ! -d "$as_dir"; do 
    9124       as_dirs="$as_dir $as_dirs" 
    9125       as_dir=`(dirname "$as_dir") 2>/dev/null || 
    9126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    9127          X"$as_dir" : 'X\(//\)[^/]' \| \ 
    9128          X"$as_dir" : 'X\(//\)$' \| \ 
    9129          X"$as_dir" : 'X\(/\)' \| \ 
    9130          .     : '\(.\)' 2>/dev/null || 
    9131 echo X"$as_dir" | 
    9132     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
    9133           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
    9134           /^X\(\/\/\)$/{ s//\1/; q; } 
    9135           /^X\(\/\).*/{ s//\1/; q; } 
    9136           s/.*/./; q'` 
    9137     done 
    9138     test ! -n "$as_dirs" || mkdir $as_dirs 
    9139   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
    9140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
    9141    { (exit 1); exit 1; }; }; } 
    9142  
     4950      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 
     4951        { case "$ac_dir" in 
     4952  [\\/]* | ?:[\\/]* ) as_incr_dir=;; 
     4953  *)                      as_incr_dir=.;; 
     4954esac 
     4955as_dummy="$ac_dir" 
     4956for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 
     4957  case $as_mkdir_dir in 
     4958    # Skip DOS drivespec 
     4959    ?:) as_incr_dir=$as_mkdir_dir ;; 
     4960    *) 
     4961      as_incr_dir=$as_incr_dir/$as_mkdir_dir 
     4962      test -d "$as_incr_dir" || mkdir "$as_incr_dir" 
     4963    ;; 
     4964  esac 
     4965done; } 
     4966 
     4967      fi 
    91434968      rm -f $ac_file 
    91444969      mv $tmp/config.h $ac_file 
     
    91494974  fi 
    91504975done 
    9151 _ACEOF 
    9152  
    9153 cat >>$CONFIG_STATUS <<\_ACEOF 
     4976EOF 
     4977 
     4978cat >>$CONFIG_STATUS <<\EOF 
    91544979 
    91554980{ (exit 0); exit 0; } 
    9156 _ACEOF 
     4981EOF 
    91574982chmod +x $CONFIG_STATUS 
    91584983ac_clean_files=$ac_clean_files_save 
    9159  
    91604984 
    91614985# configure is writing to config.log, and then calls config.status. 
     
    91694993if test "$no_create" != yes; then 
    91704994  ac_cs_success=: 
    9171   ac_config_status_args= 
    9172   test "$silent" = yes && 
    9173     ac_config_status_args="$ac_config_status_args --quiet" 
    91744995  exec 5>/dev/null 
    9175   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 
     4996  $SHELL $CONFIG_STATUS || ac_cs_success=false 
    91764997  exec 5>>config.log 
    91774998  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
     
    91805001fi 
    91815002 
    9182  
  • pjproject/trunk/aconfigure.ac

    r697 r698  
    2222AC_DEFINE_UNQUOTED(PJ_M_NAME,["$target_cpu"]) 
    2323 
    24 # Endianness detection 
    25 AC_C_BIGENDIAN([AC_SUBST(ac_bigendian,1) 
    26                 AC_DEFINE(PJ_IS_LITTLE_ENDIAN,0) 
    27                 AC_DEFINE(PJ_IS_BIG_ENDIAN,1) 
    28                ], 
    29                [AC_SUBST(ac_bigendian,0) 
    30                 AC_DEFINE(PJ_IS_LITTLE_ENDIAN,1) 
    31                 AC_DEFINE(PJ_IS_BIG_ENDIAN,0) 
    32                ]) 
    33  
    34 # --disable-floating-point option 
     24dnl # Endianness detection 
     25AC_C_BIGENDIAN 
     26 
     27dnl # --disable-floating-point option 
    3528AC_ARG_ENABLE(floating-point, 
    3629              AC_HELP_STRING([--disable-floating-point], 
     
    9184AC_DEFINE(PJ_ATOMIC_VALUE_TYPE,long) 
    9285 
    93 # Determine if inet_aton() is available 
     86dnl # Determine if inet_aton() is available 
    9487AC_MSG_CHECKING([if inet_aton is available]) 
    95 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h> 
    96                                     #include <netinet/in.h> 
    97                                     #include <arpa/inet.h>]], 
     88AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <arpa/inet.h>]], 
    9889                                  [inet_aton(0, 0);])], 
    9990                  [AC_DEFINE(PJ_SOCK_HAS_INET_ATON,1) 
     
    10192                  [AC_MSG_RESULT(no)]) 
    10293 
    103 # Determine if sockaddr_in has sin_len member 
     94dnl # Determine if sockaddr_in has sin_len member 
    10495AC_MSG_CHECKING([if sockaddr_in has sin_len member]) 
    105 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h> 
    106                                     #include <netinet/in.h> 
    107                                     #include <arpa/inet.h>]], 
     96AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 
     97                                     #include <sys/socket.h> 
     98                                     #include <netinet/in.h> 
     99                                     #include <arpa/inet.h>]], 
    108100                                  [struct sockaddr_in a; a.sin_len=0;])], 
    109101                  [AC_DEFINE(PJ_SOCKADDR_HAS_LEN,1) 
     
    111103                  AC_MSG_RESULT(no)) 
    112104 
    113 # Determine if socklen_t is available 
     105dnl # Determine if socklen_t is available 
    114106AC_MSG_CHECKING([if socklen_t is available]) 
    115107AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], 
     
    119111                  AC_MSG_RESULT(no)) 
    120112 
    121 # Determine if SO_ERROR is available 
     113dnl # Determine if SO_ERROR is available 
    122114AC_MSG_CHECKING([if SO_ERROR is available]) 
    123 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h> 
    124                                     #include <netinet/in.h> 
    125                                     #include <arpa/inet.h>]], 
     115AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 
     116                                     #include <sys/socket.h> 
     117                                     #include <netinet/in.h> 
     118                                     #include <arpa/inet.h>]], 
    126119                                  [int i=SO_ERROR;])], 
    127120                  [AC_DEFINE(PJ_HAS_SO_ERROR,1) 
     
    129122                  AC_MSG_RESULT(no)) 
    130123 
    131 # Determine if RW-mutex is available 
     124dnl # Determine if RW-mutex is available 
    132125AC_MSG_CHECKING([if pthread_rwlock_t is available]) 
    133126AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>], 
     
    139132 
    140133 
    141 ########################################## 
    142 # 
    143 # PJMEDIA 
    144 # 
    145  
    146 # Sound device backend selection 
     134dnl ########################################## 
     135dnl # 
     136dnl # PJMEDIA 
     137dnl # 
     138 
     139dnl # Sound device backend selection 
    147140AC_SUBST(ac_pjmedia_snd) 
    148141case $target in 
    149   *cygwin* | *win* | *mingw*) 
     142  *darwin*) 
     143        ac_pjmedia_snd=pa_darwinos 
     144        AC_MSG_RESULT([Checking sound device backend... coreaudio]) 
     145        LIBS="$LIBS -framework CoreAudio" 
     146        ;; 
     147  *cygwin* | *mingw*) 
    150148        ac_pjmedia_snd=pa_win32 
    151149        AC_MSG_RESULT([Checking sound device backend... win32 sound]) 
     
    154152        ac_pjmedia_snd=null 
    155153        AC_MSG_RESULT([Checking sound device backend... null sound]) 
    156         ;; 
    157   *darwin*) 
    158         ac_pjmedia_snd=pa_darwin_os 
    159         AC_MSG_RESULT([Checking sound device backend... coreaudio]) 
    160154        ;; 
    161155  *) 
     
    170164esac 
    171165 
    172 # Include resampling small filter 
     166dnl # Include resampling small filter 
    173167AC_SUBST(ac_no_small_filter) 
    174168AC_ARG_ENABLE(small-filter, 
     
    181175              AC_MSG_RESULT([Checking if small filter is disabled... no])) 
    182176 
    183 # Include resampling large filter 
     177dnl # Include resampling large filter 
    184178AC_SUBST(ac_no_large_filter) 
    185179AC_ARG_ENABLE(large-filter, 
     
    192186              AC_MSG_RESULT([Checking if large filter is disabled... no])) 
    193187 
    194 # Include G.711 Annex A PLC 
     188dnl # Include G.711 Annex A PLC 
    195189AC_SUBST(ac_no_g711_plc) 
    196190AC_ARG_ENABLE(g711-plc, 
     
    203197              AC_MSG_RESULT([Checking if G.711 Annex A PLC is disabled...no])) 
    204198 
    205 # Include Speex AEC 
     199dnl # Include Speex AEC 
    206200AC_SUBST(ac_no_speex_aec) 
    207201AC_ARG_ENABLE(speex-aec, 
     
    214208              AC_MSG_RESULT([Checking if Speex AEC is disabled...no])) 
    215209 
    216 # Include G711 codec 
     210dnl # Include G711 codec 
    217211AC_SUBST(ac_no_g711_codec) 
    218212AC_ARG_ENABLE(g711-codec, 
     
    226220 
    227221 
    228 # Include L16 codec 
     222dnl # Include L16 codec 
    229223AC_SUBST(ac_no_l16_codec) 
    230224AC_ARG_ENABLE(l16-codec, 
     
    238232 
    239233 
    240 # Include GSM codec 
     234dnl # Include GSM codec 
    241235AC_SUBST(ac_no_gsm_codec) 
    242236AC_ARG_ENABLE(gsm-codec, 
     
    249243              AC_MSG_RESULT([Checking if GSM codec is disabled...no])) 
    250244 
    251 # Include Speex codec 
     245dnl # Include Speex codec 
    252246AC_SUBST(ac_no_speex_codec) 
    253247AC_ARG_ENABLE(speex-codec, 
     
    260254              AC_MSG_RESULT([Checking if Speex codec is disabled...no])) 
    261255 
    262 # Include iLBC codec 
     256dnl # Include iLBC codec 
    263257AC_SUBST(ac_no_ilbc_codec) 
    264258AC_ARG_ENABLE(ilbc-codec, 
     
    273267 
    274268 
    275 ########################################## 
    276 # 
    277 # MANUAL CONFIG 
    278 # 
    279  
    280  
    281 # Determine if select() requires nfds to be filled up with 
    282 # correct value (max_fd+1). If zero, nfds will be filled up with 
    283 # PJ_FD_SETSIZE 
     269dnl ########################################## 
     270dnl # 
     271dnl # MANUAL CONFIG 
     272dnl # 
     273 
     274 
     275dnl # Determine if select() requires nfds to be filled up with 
     276dnl # correct value (max_fd+1). If zero, nfds will be filled up with 
     277dnl # PJ_FD_SETSIZE 
    284278AC_MSG_CHECKING([if select() needs correct nfds]) 
    285279case $target in 
     
    293287esac 
    294288 
    295 # Determine if pj_thread_create() should enforce thread stack size when 
    296 # creating thread. Default is zero, to allow OS to allocate appropriate 
    297 # thread's stack size. 
     289dnl # Determine if pj_thread_create() should enforce thread stack size when 
     290dnl # creating thread. Default is zero, to allow OS to allocate appropriate 
     291dnl # thread's stack size. 
    298292AC_MSG_CHECKING([if pj_thread_create() should enforce stack size]) 
    299293case $target in 
     
    306300esac 
    307301 
    308 # Determine if pj_thread_create() should allocate thread's stack from 
    309 # the pool. Default is zero, to let OS allocate thread's stack. 
     302dnl # Determine if pj_thread_create() should allocate thread's stack from 
     303dnl # the pool. Default is zero, to let OS allocate thread's stack. 
    310304AC_MSG_CHECKING([if pj_thread_create() should allocate stack]) 
    311305case $target in 
     
    318312esac 
    319313 
    320 # This value specifies the value set in errno by the OS when a non-blocking 
    321 # socket recv() can not return immediate data. 
     314dnl # This value specifies the value set in errno by the OS when a non-blocking 
     315dnl # socket recv() can not return immediate data. 
    322316case $target in 
    323317  *) AC_DEFINE(PJ_BLOCKING_ERROR_VAL,EAGAIN) 
     
    326320esac 
    327321 
    328 # This value specifies the value set in errno by the OS when a non-blocking 
    329 # socket connect() can not get connected immediately. 
     322dnl # This value specifies the value set in errno by the OS when a non-blocking 
     323dnl # socket connect() can not get connected immediately. 
    330324case $target in 
    331325  *) AC_DEFINE(PJ_BLOCKING_CONNECT_ERROR_VAL,EINPROGRESS) 
  • pjproject/trunk/pjlib/include/pj/compat/m_auto.h.in

    r689 r698  
    2525 */ 
    2626 
     27/* Machine name, filled in by autoconf script */ 
    2728#undef PJ_M_NAME 
    2829 
    29 #undef PJ_IS_LITTLE_ENDIAN 
    30 #undef PJ_IS_BIG_ENDIAN 
     30/* Endianness, as detected by autoconf */ 
     31#undef WORDS_BIGENDIAN 
     32 
     33#ifdef WORDS_BIGENDIAN 
     34#  define PJ_IS_LITTLE_ENDIAN   0 
     35#  define PJ_IS_BIG_ENDIAN      1 
     36#else 
     37#  define PJ_IS_LITTLE_ENDIAN   1 
     38#  define PJ_IS_BIG_ENDIAN      0 
     39#endif 
     40 
    3141 
    3242/* Specify if floating point is present/desired */ 
  • pjproject/trunk/pjmedia/build/os-auto.mak.in

    r689 r698  
    1515# For Unix, specify if ALSA should be supported 
    1616AC_PA_USE_ALSA=@ac_pa_use_alsa@ 
    17  
    18 # PortAudio endianness 
    19 AC_PA_BIGENDIAN=@ac_bigendian@ 
    20 ifeq ($(AC_PA_BIGENDIAN),1) 
    21 export CFLAGS += -DPA_BIG_ENDIAN=1 
    22 else 
    23 export CFLAGS += -DPA_LITTLE_ENDIAN=1 
    24 endif 
    2517 
    2618# 
  • pjproject/trunk/pjmedia/src/pjmedia/portaudio/pa_endianness.h

    r65 r698  
    5555#endif /* __cplusplus */ 
    5656 
     57#include <pj/config.h> 
     58 
     59#if defined(PJ_IS_BIG_ENDIAN) && PJ_IS_BIG_ENDIAN!=0 
     60#  define PA_BIG_ENDIAN     1 
     61#elif defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 
     62#  define PA_LITTLE_ENDIAN  1 
     63#else 
     64#  error "Unable to detect PJLIB's endianness" 
     65#endif 
     66 
     67 
    5768 
    5869#if defined(PA_LITTLE_ENDIAN) || defined(PA_BIG_ENDIAN) 
Note: See TracChangeset for help on using the changeset viewer.