Ignore:
Timestamp:
Sep 10, 2006 4:33:48 PM (18 years ago)
Author:
bennylp
Message:

Fixed autoconf in mingw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r698 r699  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by Autoconf 2.52 for pjproject 0.5.8. 
     3# Generated by GNU Autoconf 2.56 for pjproject 0.5.8. 
    44# 
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
     5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 
    66# Free Software Foundation, Inc. 
    77# This configure script is free software; the Free Software Foundation 
    88# gives unlimited permission to copy, distribute and modify it. 
    9  
     9## --------------------- ## 
     10## M4sh Initialization.  ## 
     11## --------------------- ## 
     12 
     13# Be Bourne compatible 
     14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     15  emulate sh 
     16  NULLCMD=: 
     17  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     18  # is contrary to our usage.  Disable this feature. 
     19  alias -g '${1+"$@"}'='"$@"' 
     20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
     21  set -o posix 
     22fi 
     23 
     24# Support unset when possible. 
     25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
     26  as_unset=unset 
     27else 
     28  as_unset=false 
     29fi 
     30 
     31 
     32# Work around bugs in pre-3.0 UWIN ksh. 
     33$as_unset ENV MAIL MAILPATH 
     34PS1='$ ' 
     35PS2='> ' 
     36PS4='+ ' 
     37 
     38# NLS nuisances. 
     39for as_var in \ 
     40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     42  LC_TELEPHONE LC_TIME 
     43do 
     44  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     45    eval $as_var=C; export $as_var 
     46  else 
     47    $as_unset $as_var 
     48  fi 
     49done 
     50 
     51# Required to use basename. 
     52if expr a : '\(a\)' >/dev/null 2>&1; then 
     53  as_expr=expr 
     54else 
     55  as_expr=false 
     56fi 
     57 
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
     59  as_basename=basename 
     60else 
     61  as_basename=false 
     62fi 
     63 
     64 
     65# Name of the executable. 
     66as_me=`$as_basename "$0" || 
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     68         X"$0" : 'X\(//\)$' \| \ 
     69         X"$0" : 'X\(/\)$' \| \ 
     70         .     : '\(.\)' 2>/dev/null || 
     71echo X/"$0" | 
     72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
     73          /^X\/\(\/\/\)$/{ s//\1/; q; } 
     74          /^X\/\(\/\).*/{ s//\1/; q; } 
     75          s/.*/./; q'` 
     76 
     77 
     78# PATH needs CR, and LINENO needs CR and PATH. 
    1079# Avoid depending upon Character Ranges. 
    1180as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     
    1584as_cr_alnum=$as_cr_Letters$as_cr_digits 
    1685 
    17 # Sed expression to map a string onto a valid variable name. 
    18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
    19  
    20 # Sed expression to map a string onto a valid CPP name. 
    21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
    22  
    23 # Be Bourne compatible 
    24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    25   emulate sh 
    26   NULLCMD=: 
    27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    28   set -o posix 
    29 fi 
    30  
    31 # Name of the executable. 
    32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 
     86# The user is always right. 
     87if test "${PATH_SEPARATOR+set}" != set; then 
     88  echo "#! /bin/sh" >conf$$.sh 
     89  echo  "exit 0"   >>conf$$.sh 
     90  chmod +x conf$$.sh 
     91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     92    PATH_SEPARATOR=';' 
     93  else 
     94    PATH_SEPARATOR=: 
     95  fi 
     96  rm -f conf$$.sh 
     97fi 
     98 
     99 
     100  as_lineno_1=$LINENO 
     101  as_lineno_2=$LINENO 
     102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     103  test "x$as_lineno_1" != "x$as_lineno_2" && 
     104  test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
     105  # Find who we are.  Look in the path if we contain no path at all 
     106  # relative or not. 
     107  case $0 in 
     108    *[\\/]* ) as_myself=$0 ;; 
     109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     110for as_dir in $PATH 
     111do 
     112  IFS=$as_save_IFS 
     113  test -z "$as_dir" && as_dir=. 
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     115done 
     116 
     117       ;; 
     118  esac 
     119  # We did not find ourselves, most probably we were run as `sh COMMAND' 
     120  # in which case we are not to be found in the path. 
     121  if test "x$as_myself" = x; then 
     122    as_myself=$0 
     123  fi 
     124  if test ! -f "$as_myself"; then 
     125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 
     126   { (exit 1); exit 1; }; } 
     127  fi 
     128  case $CONFIG_SHELL in 
     129  '') 
     130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     132do 
     133  IFS=$as_save_IFS 
     134  test -z "$as_dir" && as_dir=. 
     135  for as_base in sh bash ksh sh5; do 
     136         case $as_dir in 
     137         /*) 
     138           if ("$as_dir/$as_base" -c ' 
     139  as_lineno_1=$LINENO 
     140  as_lineno_2=$LINENO 
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     142  test "x$as_lineno_1" != "x$as_lineno_2" && 
     143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
     144             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
     145             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
     146             CONFIG_SHELL=$as_dir/$as_base 
     147             export CONFIG_SHELL 
     148             exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
     149           fi;; 
     150         esac 
     151       done 
     152done 
     153;; 
     154  esac 
     155 
     156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     157  # uniformly replaced by the line number.  The first 'sed' inserts a 
     158  # line-number line before each line; the second 'sed' does the real 
     159  # work.  The second script uses 'N' to pair each line-number line 
     160  # with the numbered line, and appends trailing '-' during 
     161  # substitution so that $LINENO is not a special case at line end. 
     162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
     164  sed '=' <$as_myself | 
     165    sed ' 
     166      N 
     167      s,$,-, 
     168      : loop 
     169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
     170      t loop 
     171      s,-$,, 
     172      s,^['$as_cr_digits']*\n,, 
     173    ' >$as_me.lineno && 
     174  chmod +x $as_me.lineno || 
     175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
     176   { (exit 1); exit 1; }; } 
     177 
     178  # Don't try to exec as it changes $[0], causing all sort of problems 
     179  # (the dirname of $[0] is not the place where we might find the 
     180  # original and so on.  Autoconf is especially sensible to this). 
     181  . ./$as_me.lineno 
     182  # Exit status is that of the last command. 
     183  exit 
     184} 
     185 
     186 
     187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
     188  *c*,-n*) ECHO_N= ECHO_C=' 
     189' ECHO_T='      ' ;; 
     190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
     191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
     192esac 
    33193 
    34194if expr a : '\(a\)' >/dev/null 2>&1; then 
     
    56216rm -f conf$$ conf$$.exe conf$$.file 
    57217 
     218if mkdir -p . 2>/dev/null; then 
     219  as_mkdir_p=: 
     220else 
     221  as_mkdir_p=false 
     222fi 
     223 
    58224as_executable_p="test -f" 
    59225 
    60 # Support unset when possible. 
    61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
    62   as_unset=unset 
    63 else 
    64   as_unset=false 
    65 fi 
    66  
    67 # NLS nuisances. 
    68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 
    69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 
    70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 
    71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 
    72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 
    73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 
    74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 
    75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 
     226# Sed expression to map a string onto a valid CPP name. 
     227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
     228 
     229# Sed expression to map a string onto a valid variable name. 
     230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
     231 
    76232 
    77233# IFS 
     
    82238 
    83239# CDPATH. 
    84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 
     240$as_unset CDPATH 
     241 
    85242 
    86243# Name of the host. 
     
    95252# 
    96253ac_default_prefix=/usr/local 
     254ac_config_libobj_dir=. 
    97255cross_compiling=no 
    98256subdirs= 
    99 MFLAGS= MAKEFLAGS= 
     257MFLAGS= 
     258MAKEFLAGS= 
    100259SHELL=${CONFIG_SHELL-/bin/sh} 
    101260 
     
    104263# only ac_max_sed_lines should be used. 
    105264: ${ac_max_here_lines=38} 
     265 
     266# Identity of this package. 
     267PACKAGE_NAME='pjproject' 
     268PACKAGE_TARNAME='pjproject' 
     269PACKAGE_VERSION='0.5.8' 
     270PACKAGE_STRING='pjproject 0.5.8' 
     271PACKAGE_BUGREPORT='' 
     272 
     273# Factoring default headers for most tests. 
     274ac_includes_default="\ 
     275#include <stdio.h> 
     276#if HAVE_SYS_TYPES_H 
     277# include <sys/types.h> 
     278#endif 
     279#if HAVE_SYS_STAT_H 
     280# include <sys/stat.h> 
     281#endif 
     282#if STDC_HEADERS 
     283# include <stdlib.h> 
     284# include <stddef.h> 
     285#else 
     286# if HAVE_STDLIB_H 
     287#  include <stdlib.h> 
     288# endif 
     289#endif 
     290#if HAVE_STRING_H 
     291# if !STDC_HEADERS && HAVE_MEMORY_H 
     292#  include <memory.h> 
     293# endif 
     294# include <string.h> 
     295#endif 
     296#if HAVE_STRINGS_H 
     297# include <strings.h> 
     298#endif 
     299#if HAVE_INTTYPES_H 
     300# include <inttypes.h> 
     301#else 
     302# if HAVE_STDINT_H 
     303#  include <stdint.h> 
     304# endif 
     305#endif 
     306#if HAVE_UNISTD_H 
     307# include <unistd.h> 
     308#endif" 
     309 
     310ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_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' 
     311ac_subst_files='' 
    106312 
    107313# Initialize some variables set by options. 
     
    143349mandir='${prefix}/man' 
    144350 
    145 # Identity of this package. 
    146 PACKAGE_NAME='pjproject' 
    147 PACKAGE_TARNAME='pjproject' 
    148 PACKAGE_VERSION='0.5.8' 
    149 PACKAGE_STRING='pjproject 0.5.8' 
    150 PACKAGE_BUGREPORT='' 
    151  
    152351ac_prev= 
    153352for ac_option 
     
    282481 
    283482  -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    284   | --no-cr | --no-c) 
     483  | --no-cr | --no-c | -n) 
    285484    no_create=yes ;; 
    286485 
     
    461660  case $ac_val in 
    462661    [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 
    463     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
     662    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    464663   { (exit 1); exit 1; }; };; 
    465664  esac 
     
    473672  case $ac_val in 
    474673    [\\/$]* | ?:[\\/]* ) ;; 
    475     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
     674    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    476675   { (exit 1); exit 1; }; };; 
    477676  esac 
     
    480679# There might be people who depend on the old broken behavior: `$host' 
    481680# used to hold the argument of --host etc. 
     681# FIXME: To remove some day. 
    482682build=$build_alias 
    483683host=$host_alias 
    484684target=$target_alias 
    485685 
    486 # FIXME: should be removed in autoconf 3.0. 
     686# FIXME: To remove some day. 
    487687if test "x$host_alias" != x; then 
    488688  if test "x$build_alias" = x; then 
     
    500700test "$silent" = yes && exec 6>/dev/null 
    501701 
     702 
    502703# Find the source files, if location was not specified. 
    503704if test -z "$srcdir"; then 
    504705  ac_srcdir_defaulted=yes 
    505706  # Try the directory containing this script, then its parent. 
    506   ac_prog=$0 
    507   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 
    508   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 
     707  ac_confdir=`(dirname "$0") 2>/dev/null || 
     708$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     709         X"$0" : 'X\(//\)[^/]' \| \ 
     710         X"$0" : 'X\(//\)$' \| \ 
     711         X"$0" : 'X\(/\)' \| \ 
     712         .     : '\(.\)' 2>/dev/null || 
     713echo X"$0" | 
     714    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     715          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     716          /^X\(\/\/\)$/{ s//\1/; q; } 
     717          /^X\(\/\).*/{ s//\1/; q; } 
     718          s/.*/./; q'` 
    509719  srcdir=$ac_confdir 
    510720  if test ! -r $srcdir/$ac_unique_file; then 
     
    516726if test ! -r $srcdir/$ac_unique_file; then 
    517727  if test "$ac_srcdir_defaulted" = yes; then 
    518     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 
     728    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
    519729   { (exit 1); exit 1; }; } 
    520730  else 
    521     { echo "$as_me: error: cannot find sources in $srcdir" >&2 
     731    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    522732   { (exit 1); exit 1; }; } 
    523733  fi 
    524734fi 
     735(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 
     736  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 
     737   { (exit 1); exit 1; }; } 
    525738srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
    526739ac_env_build_alias_set=${build_alias+set} 
     
    571784  # Omit some internal or obsolete options to make the list less imposing. 
    572785  # This message is too long to be a string in the A/UX 3.1 sh. 
    573   cat <<EOF 
     786  cat <<_ACEOF 
    574787\`configure' configures pjproject 0.5.8 to adapt to many kinds of systems. 
    575788 
     
    592805      --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
    593806 
    594 EOF 
    595  
    596   cat <<EOF 
     807_ACEOF 
     808 
     809  cat <<_ACEOF 
    597810Installation directories: 
    598811  --prefix=PREFIX         install architecture-independent files in PREFIX 
     
    621834  --infodir=DIR          info documentation [PREFIX/info] 
    622835  --mandir=DIR           man documentation [PREFIX/man] 
    623 EOF 
    624  
    625   cat <<\EOF 
     836_ACEOF 
     837 
     838  cat <<\_ACEOF 
    626839 
    627840System types: 
    628841  --build=BUILD     configure for building on BUILD [guessed] 
    629   --host=HOST       build programs to run on HOST [BUILD] 
     842  --host=HOST       cross-compile to build programs to run on HOST [BUILD] 
    630843  --target=TARGET   configure for building compilers for TARGET [HOST] 
    631 EOF 
     844_ACEOF 
    632845fi 
    633846 
     
    636849     short | recursive ) echo "Configuration of pjproject 0.5.8:";; 
    637850   esac 
    638   cat <<\EOF 
     851  cat <<\_ACEOF 
    639852 
    640853Optional Features: 
     
    667880it to find libraries and programs with nonstandard names/locations. 
    668881 
    669 EOF 
     882_ACEOF 
    670883fi 
    671884 
     
    673886  # If there are subdirs, report their specific --help. 
    674887  ac_popdir=`pwd` 
    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  
     888  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
     889    test -d $ac_dir || continue 
     890    ac_builddir=. 
     891 
     892if test "$ac_dir" != .; then 
     893  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     894  # A "../" for each directory in $ac_dir_suffix. 
     895  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     896else 
     897  ac_dir_suffix= ac_top_builddir= 
     898fi 
     899 
     900case $srcdir in 
     901  .)  # No --srcdir option.  We are building in place. 
     902    ac_srcdir=. 
     903    if test -z "$ac_top_builddir"; then 
     904       ac_top_srcdir=. 
     905    else 
     906       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     907    fi ;; 
     908  [\\/]* | ?:[\\/]* )  # Absolute path. 
     909    ac_srcdir=$srcdir$ac_dir_suffix; 
     910    ac_top_srcdir=$srcdir ;; 
     911  *) # Relative path. 
     912    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     913    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
     914esac 
     915# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 
     916# absolute. 
     917ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 
     918ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 
     919ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 
     920ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 
     921 
     922    cd $ac_dir 
    690923    # Check for guested configure; otherwise get Cygnus style configure. 
    691     if test -f $ac_sub_srcdir/configure.gnu; then 
     924    if test -f $ac_srcdir/configure.gnu; then 
    692925      echo 
    693       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive 
    694     elif test -f $ac_sub_srcdir/configure; then 
     926      $SHELL $ac_srcdir/configure.gnu  --help=recursive 
     927    elif test -f $ac_srcdir/configure; then 
    695928      echo 
    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 
     929      $SHELL $ac_srcdir/configure  --help=recursive 
     930    elif test -f $ac_srcdir/configure.ac || 
     931           test -f $ac_srcdir/configure.in; then 
    699932      echo 
    700933      $ac_configure --help 
    701934    else 
    702       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 
     935      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    703936    fi 
    704937    cd $ac_popdir 
     
    708941test -n "$ac_init_help" && exit 0 
    709942if $ac_init_version; then 
    710   cat <<\EOF 
     943  cat <<\_ACEOF 
    711944pjproject configure 0.5.8 
    712 generated by GNU Autoconf 2.52 
    713  
    714 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
     945generated by GNU Autoconf 2.56 
     946 
     947Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 
    715948Free Software Foundation, Inc. 
    716949This configure script is free software; the Free Software Foundation 
    717950gives unlimited permission to copy, distribute and modify it. 
    718 EOF 
     951_ACEOF 
    719952  exit 0 
    720953fi 
    721954exec 5>config.log 
    722 cat >&5 <<EOF 
     955cat >&5 <<_ACEOF 
    723956This file contains any messages produced by compilers while 
    724957running configure, to aid debugging if configure makes a mistake. 
    725958 
    726959It was created by pjproject $as_me 0.5.8, which was 
    727 generated by GNU Autoconf 2.52.  Invocation command line was 
     960generated by GNU Autoconf 2.56.  Invocation command line was 
    728961 
    729962  $ $0 $@ 
    730963 
    731 EOF 
     964_ACEOF 
    732965{ 
    733966cat <<_ASUNAME 
    734 ## ---------- ## 
    735 ## Platform.  ## 
    736 ## ---------- ## 
     967## --------- ## 
     968## Platform. ## 
     969## --------- ## 
    737970 
    738971hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 
     
    753986/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
    754987 
    755 PATH = $PATH 
    756  
    757988_ASUNAME 
     989 
     990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     991for as_dir in $PATH 
     992do 
     993  IFS=$as_save_IFS 
     994  test -z "$as_dir" && as_dir=. 
     995  echo "PATH: $as_dir" 
     996done 
     997 
    758998} >&5 
    759999 
    760 cat >&5 <<EOF 
    761 ## ------------ ## 
    762 ## Core tests.  ## 
    763 ## ------------ ## 
    764  
    765 EOF 
     1000cat >&5 <<_ACEOF 
     1001 
     1002 
     1003## ----------- ## 
     1004## Core tests. ## 
     1005## ----------- ## 
     1006 
     1007_ACEOF 
     1008 
    7661009 
    7671010# Keep a trace of the command line. 
    7681011# Strip out --no-create and --no-recursion so they do not pile up. 
     1012# Strip out --silent because we don't want to record it for future runs. 
    7691013# Also quote any args containing shell meta-characters. 
     1014# Make two passes to allow for proper duplicate-argument suppression. 
    7701015ac_configure_args= 
     1016ac_configure_args0= 
     1017ac_configure_args1= 
    7711018ac_sep= 
    772 for ac_arg 
     1019ac_must_keep_next=false 
     1020for ac_pass in 1 2 
    7731021do 
    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. 
     1022  for ac_arg 
     1023  do 
     1024    case $ac_arg in 
     1025    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
     1026    -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     1027    | -silent | --silent | --silen | --sile | --sil) 
     1028      continue ;; 
     1029    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     1030      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1031    esac 
     1032    case $ac_pass in 
     1033    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1034    2) 
     1035      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1036      if test $ac_must_keep_next = true; then 
     1037        ac_must_keep_next=false # Got value, back to normal. 
     1038      else 
     1039        case $ac_arg in 
     1040          *=* | --config-cache | -C | -disable-* | --disable-* \ 
     1041          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
     1042          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
     1043          | -with-* | --with-* | -without-* | --without-* | --x) 
     1044            case "$ac_configure_args0 " in 
     1045              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
     1046            esac 
     1047            ;; 
     1048          -* ) ac_must_keep_next=true ;; 
     1049        esac 
     1050      fi 
     1051      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
     1052      # Get rid of the leading space. 
     1053      ac_sep=" " 
     1054      ;; 
     1055    esac 
     1056  done 
    7871057done 
     1058$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1059$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
    7881060 
    7891061# When interrupted or exit'd, cleanup temporary files, and complete 
    7901062# config.log.  We remove comments because anyway the quotes in there 
    7911063# would cause problems or look ugly. 
     1064# WARNING: Be sure not to use single quotes in there, as some shells, 
     1065# such as our DU 5.0 friend, will then `close' the trap. 
    7921066trap 'exit_status=$? 
    7931067  # Save into config.log some information that might help in debugging. 
    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, 
     1068  { 
     1069    echo 
     1070 
     1071    cat <<\_ASBOX 
     1072## ---------------- ## 
     1073## Cache variables. ## 
     1074## ---------------- ## 
     1075_ASBOX 
     1076    echo 
     1077    # The following way of writing the cache mishandles newlines in values, 
    8001078{ 
    8011079  (set) 2>&1 | 
     
    8111089      ;; 
    8121090    esac; 
    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 && 
     1091} 
     1092    echo 
     1093 
     1094    cat <<\_ASBOX 
     1095## ----------------- ## 
     1096## Output variables. ## 
     1097## ----------------- ## 
     1098_ASBOX 
     1099    echo 
     1100    for ac_var in $ac_subst_vars 
     1101    do 
     1102      eval ac_val=$`echo $ac_var` 
     1103      echo "$ac_var='"'"'$ac_val'"'"'" 
     1104    done | sort 
     1105    echo 
     1106 
     1107    if test -n "$ac_subst_files"; then 
     1108      cat <<\_ASBOX 
     1109## ------------- ## 
     1110## Output files. ## 
     1111## ------------- ## 
     1112_ASBOX 
     1113      echo 
     1114      for ac_var in $ac_subst_files 
     1115      do 
     1116        eval ac_val=$`echo $ac_var` 
     1117        echo "$ac_var='"'"'$ac_val'"'"'" 
     1118      done | sort 
     1119      echo 
     1120    fi 
     1121 
     1122    if test -s confdefs.h; then 
     1123      cat <<\_ASBOX 
     1124## ----------- ## 
     1125## confdefs.h. ## 
     1126## ----------- ## 
     1127_ASBOX 
     1128      echo 
     1129      sed "/^$/d" confdefs.h | sort 
     1130      echo 
     1131    fi 
     1132    test "$ac_signal" != 0 && 
     1133      echo "$as_me: caught signal $ac_signal" 
     1134    echo "$as_me: exit $exit_status" 
     1135  } >&5 
     1136  rm -f core core.* *.core && 
     1137  rm -rf conftest* confdefs* conf$$* $ac_clean_files && 
    8281138    exit $exit_status 
    8291139     ' 0 
     
    8371147# AIX cpp loses on an empty file, so make sure it contains at least a newline. 
    8381148echo >confdefs.h 
     1149 
     1150# Predefined preprocessor variables. 
     1151 
     1152cat >>confdefs.h <<_ACEOF 
     1153#define PACKAGE_NAME "$PACKAGE_NAME" 
     1154_ACEOF 
     1155 
     1156 
     1157cat >>confdefs.h <<_ACEOF 
     1158#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
     1159_ACEOF 
     1160 
     1161 
     1162cat >>confdefs.h <<_ACEOF 
     1163#define PACKAGE_VERSION "$PACKAGE_VERSION" 
     1164_ACEOF 
     1165 
     1166 
     1167cat >>confdefs.h <<_ACEOF 
     1168#define PACKAGE_STRING "$PACKAGE_STRING" 
     1169_ACEOF 
     1170 
     1171 
     1172cat >>confdefs.h <<_ACEOF 
     1173#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
     1174_ACEOF 
     1175 
    8391176 
    8401177# Let the site file select an alternate cache file if it wants to. 
     
    8491186for ac_site_file in $CONFIG_SITE; do 
    8501187  if test -r "$ac_site_file"; then 
    851     { echo "$as_me:851: loading site script $ac_site_file" >&5 
     1188    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    8521189echo "$as_me: loading site script $ac_site_file" >&6;} 
    853     cat "$ac_site_file" >&5 
     1190    sed 's/^/| /' "$ac_site_file" >&5 
    8541191    . "$ac_site_file" 
    8551192  fi 
     
    8601197  # files actually), so we avoid doing that. 
    8611198  if test -f "$cache_file"; then 
    862     { echo "$as_me:862: loading cache $cache_file" >&5 
     1199    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    8631200echo "$as_me: loading cache $cache_file" >&6;} 
    8641201    case $cache_file in 
     
    8681205  fi 
    8691206else 
    870   { echo "$as_me:870: creating cache $cache_file" >&5 
     1207  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    8711208echo "$as_me: creating cache $cache_file" >&6;} 
    8721209  >$cache_file 
     
    8841221  case $ac_old_set,$ac_new_set in 
    8851222    set,) 
    886       { echo "$as_me:886: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1223      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    8871224echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    8881225      ac_cache_corrupted=: ;; 
    8891226    ,set) 
    890       { echo "$as_me:890: error: \`$ac_var' was not set in the previous run" >&5 
     1227      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    8911228echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    8921229      ac_cache_corrupted=: ;; 
     
    8941231    *) 
    8951232      if test "x$ac_old_val" != "x$ac_new_val"; then 
    896         { echo "$as_me:896: error: \`$ac_var' has changed since the previous run:" >&5 
     1233        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    8971234echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    898         { echo "$as_me:898:   former value:  $ac_old_val" >&5 
     1235        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    8991236echo "$as_me:   former value:  $ac_old_val" >&2;} 
    900         { echo "$as_me:900:   current value: $ac_new_val" >&5 
     1237        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    9011238echo "$as_me:   current value: $ac_new_val" >&2;} 
    9021239        ac_cache_corrupted=: 
    9031240      fi;; 
    9041241  esac 
    905   # Pass precious variables to config.status.  It doesn't matter if 
    906   # we pass some twice (in addition to the command line arguments). 
     1242  # Pass precious variables to config.status. 
    9071243  if test "$ac_new_set" = set; then 
    9081244    case $ac_new_val in 
    9091245    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    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        ;; 
     1246      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1247    *) ac_arg=$ac_var=$ac_new_val ;; 
     1248    esac 
     1249    case " $ac_configure_args " in 
     1250      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
     1251      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    9151252    esac 
    9161253  fi 
    9171254done 
    9181255if $ac_cache_corrupted; then 
    919   { echo "$as_me:919: error: changes in the environment can compromise the build" >&5 
     1256  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    9201257echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    921   { { echo "$as_me:921: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1258  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    9221259echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    9231260   { (exit 1); exit 1; }; } 
     
    9301267ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    9311268 
    932 case `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= ;; 
    937 esac 
    938 echo "#! $SHELL" >conftest.sh 
    939 echo  "exit 0"   >>conftest.sh 
    940 chmod +x conftest.sh 
    941 if { (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=';' 
    947 else 
    948   ac_path_separator=: 
    949 fi 
    950 PATH_SEPARATOR="$ac_path_separator" 
    951 rm -f conftest.sh 
     1269 
     1270 
     1271 
     1272 
     1273 
     1274 
     1275 
     1276 
     1277 
     1278 
     1279 
     1280 
     1281 
     1282 
     1283 
     1284 
     1285 
     1286 
     1287 
     1288 
     1289 
     1290 
     1291 
     1292 
     1293 
    9521294 
    9531295ac_aux_dir= 
     
    9681310done 
    9691311if test -z "$ac_aux_dir"; then 
    970   { { echo "$as_me:970: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
     1312  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
    9711313echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
    9721314   { (exit 1); exit 1; }; } 
     
    9781320# Make sure we can run config.sub. 
    9791321$ac_config_sub sun4 >/dev/null 2>&1 || 
    980   { { echo "$as_me:980: error: cannot run $ac_config_sub" >&5 
     1322  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
    9811323echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
    9821324   { (exit 1); exit 1; }; } 
    9831325 
    984 echo "$as_me:984: checking build system type" >&5 
     1326echo "$as_me:$LINENO: checking build system type" >&5 
    9851327echo $ECHO_N "checking build system type... $ECHO_C" >&6 
    9861328if test "${ac_cv_build+set}" = set; then 
     
    9911333  ac_cv_build_alias=`$ac_config_guess` 
    9921334test -z "$ac_cv_build_alias" && 
    993   { { echo "$as_me:993: error: cannot guess build type; you must specify one" >&5 
     1335  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    9941336echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    9951337   { (exit 1); exit 1; }; } 
    9961338ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
    997   { { echo "$as_me:997: error: $ac_config_sub $ac_cv_build_alias failed." >&5 
    998 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 
     1339  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
     1340echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
    9991341   { (exit 1); exit 1; }; } 
    10001342 
    10011343fi 
    1002 echo "$as_me:1002: result: $ac_cv_build" >&5 
     1344echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    10031345echo "${ECHO_T}$ac_cv_build" >&6 
    10041346build=$ac_cv_build 
     
    10071349build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    10081350 
    1009 echo "$as_me:1009: checking host system type" >&5 
     1351 
     1352echo "$as_me:$LINENO: checking host system type" >&5 
    10101353echo $ECHO_N "checking host system type... $ECHO_C" >&6 
    10111354if test "${ac_cv_host+set}" = set; then 
     
    10161359  ac_cv_host_alias=$ac_cv_build_alias 
    10171360ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
    1018   { { echo "$as_me:1018: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
     1361  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
    10191362echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
    10201363   { (exit 1); exit 1; }; } 
    10211364 
    10221365fi 
    1023 echo "$as_me:1023: result: $ac_cv_host" >&5 
     1366echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    10241367echo "${ECHO_T}$ac_cv_host" >&6 
    10251368host=$ac_cv_host 
     
    10281371host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    10291372 
    1030 echo "$as_me:1030: checking target system type" >&5 
     1373 
     1374echo "$as_me:$LINENO: checking target system type" >&5 
    10311375echo $ECHO_N "checking target system type... $ECHO_C" >&6 
    10321376if test "${ac_cv_target+set}" = set; then 
     
    10371381  ac_cv_target_alias=$ac_cv_host_alias 
    10381382ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 
    1039   { { echo "$as_me:1039: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
     1383  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
    10401384echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 
    10411385   { (exit 1); exit 1; }; } 
    10421386 
    10431387fi 
    1044 echo "$as_me:1044: result: $ac_cv_target" >&5 
     1388echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
    10451389echo "${ECHO_T}$ac_cv_target" >&6 
    10461390target=$ac_cv_target 
     
    10481392target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    10491393target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     1394 
    10501395 
    10511396# The aliases save the names the user supplied, while $host etc. 
     
    10551400    NONENONEs,x,x, && 
    10561401  program_prefix=${target_alias}- 
    1057 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 
    1058  
    1059 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" 
     1402                    ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h" 
     1403 
     1404                                                            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" 
    10601405 
    10611406ac_ext=c 
     
    10671412  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
    10681413set dummy ${ac_tool_prefix}gcc; ac_word=$2 
    1069 echo "$as_me:1069: checking for $ac_word" >&5 
     1414echo "$as_me:$LINENO: checking for $ac_word" >&5 
    10701415echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    10711416if test "${ac_cv_prog_CC+set}" = set; then 
     
    10751420  ac_cv_prog_CC="$CC" # Let the user override the test. 
    10761421else 
    1077   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1078 ac_dummy="$PATH" 
    1079 for 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 
    1083 ac_cv_prog_CC="${ac_tool_prefix}gcc" 
    1084 echo "$as_me:1084: found $ac_dir/$ac_word" >&5 
    1085 break 
     1422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1423for as_dir in $PATH 
     1424do 
     1425  IFS=$as_save_IFS 
     1426  test -z "$as_dir" && as_dir=. 
     1427  for ac_exec_ext in '' $ac_executable_extensions; do 
     1428  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1429    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
     1430    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1431    break 2 
     1432  fi 
     1433done 
    10861434done 
    10871435 
     
    10901438CC=$ac_cv_prog_CC 
    10911439if test -n "$CC"; then 
    1092   echo "$as_me:1092: result: $CC" >&5 
     1440  echo "$as_me:$LINENO: result: $CC" >&5 
    10931441echo "${ECHO_T}$CC" >&6 
    10941442else 
    1095   echo "$as_me:1095: result: no" >&5 
     1443  echo "$as_me:$LINENO: result: no" >&5 
    10961444echo "${ECHO_T}no" >&6 
    10971445fi 
     
    11021450  # Extract the first word of "gcc", so it can be a program name with args. 
    11031451set dummy gcc; ac_word=$2 
    1104 echo "$as_me:1104: checking for $ac_word" >&5 
     1452echo "$as_me:$LINENO: checking for $ac_word" >&5 
    11051453echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    11061454if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    11101458  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    11111459else 
    1112   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1113 ac_dummy="$PATH" 
    1114 for 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 
    1118 ac_cv_prog_ac_ct_CC="gcc" 
    1119 echo "$as_me:1119: found $ac_dir/$ac_word" >&5 
    1120 break 
     1460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1461for as_dir in $PATH 
     1462do 
     1463  IFS=$as_save_IFS 
     1464  test -z "$as_dir" && as_dir=. 
     1465  for ac_exec_ext in '' $ac_executable_extensions; do 
     1466  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1467    ac_cv_prog_ac_ct_CC="gcc" 
     1468    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1469    break 2 
     1470  fi 
     1471done 
    11211472done 
    11221473 
     
    11251476ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    11261477if test -n "$ac_ct_CC"; then 
    1127   echo "$as_me:1127: result: $ac_ct_CC" >&5 
     1478  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    11281479echo "${ECHO_T}$ac_ct_CC" >&6 
    11291480else 
    1130   echo "$as_me:1130: result: no" >&5 
     1481  echo "$as_me:$LINENO: result: no" >&5 
    11311482echo "${ECHO_T}no" >&6 
    11321483fi 
     
    11411492  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
    11421493set dummy ${ac_tool_prefix}cc; ac_word=$2 
    1143 echo "$as_me:1143: checking for $ac_word" >&5 
     1494echo "$as_me:$LINENO: checking for $ac_word" >&5 
    11441495echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    11451496if test "${ac_cv_prog_CC+set}" = set; then 
     
    11491500  ac_cv_prog_CC="$CC" # Let the user override the test. 
    11501501else 
    1151   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1152 ac_dummy="$PATH" 
    1153 for 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 
    1157 ac_cv_prog_CC="${ac_tool_prefix}cc" 
    1158 echo "$as_me:1158: found $ac_dir/$ac_word" >&5 
    1159 break 
     1502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1503for as_dir in $PATH 
     1504do 
     1505  IFS=$as_save_IFS 
     1506  test -z "$as_dir" && as_dir=. 
     1507  for ac_exec_ext in '' $ac_executable_extensions; do 
     1508  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1509    ac_cv_prog_CC="${ac_tool_prefix}cc" 
     1510    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1511    break 2 
     1512  fi 
     1513done 
    11601514done 
    11611515 
     
    11641518CC=$ac_cv_prog_CC 
    11651519if test -n "$CC"; then 
    1166   echo "$as_me:1166: result: $CC" >&5 
     1520  echo "$as_me:$LINENO: result: $CC" >&5 
    11671521echo "${ECHO_T}$CC" >&6 
    11681522else 
    1169   echo "$as_me:1169: result: no" >&5 
     1523  echo "$as_me:$LINENO: result: no" >&5 
    11701524echo "${ECHO_T}no" >&6 
    11711525fi 
     
    11761530  # Extract the first word of "cc", so it can be a program name with args. 
    11771531set dummy cc; ac_word=$2 
    1178 echo "$as_me:1178: checking for $ac_word" >&5 
     1532echo "$as_me:$LINENO: checking for $ac_word" >&5 
    11791533echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    11801534if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    11841538  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    11851539else 
    1186   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1187 ac_dummy="$PATH" 
    1188 for 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 
    1192 ac_cv_prog_ac_ct_CC="cc" 
    1193 echo "$as_me:1193: found $ac_dir/$ac_word" >&5 
    1194 break 
     1540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1541for as_dir in $PATH 
     1542do 
     1543  IFS=$as_save_IFS 
     1544  test -z "$as_dir" && as_dir=. 
     1545  for ac_exec_ext in '' $ac_executable_extensions; do 
     1546  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1547    ac_cv_prog_ac_ct_CC="cc" 
     1548    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1549    break 2 
     1550  fi 
     1551done 
    11951552done 
    11961553 
     
    11991556ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    12001557if test -n "$ac_ct_CC"; then 
    1201   echo "$as_me:1201: result: $ac_ct_CC" >&5 
     1558  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    12021559echo "${ECHO_T}$ac_ct_CC" >&6 
    12031560else 
    1204   echo "$as_me:1204: result: no" >&5 
     1561  echo "$as_me:$LINENO: result: no" >&5 
    12051562echo "${ECHO_T}no" >&6 
    12061563fi 
     
    12151572  # Extract the first word of "cc", so it can be a program name with args. 
    12161573set dummy cc; ac_word=$2 
    1217 echo "$as_me:1217: checking for $ac_word" >&5 
     1574echo "$as_me:$LINENO: checking for $ac_word" >&5 
    12181575echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    12191576if test "${ac_cv_prog_CC+set}" = set; then 
     
    12241581else 
    12251582  ac_prog_rejected=no 
    1226   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1227 ac_dummy="$PATH" 
    1228 for 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 
    1232 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 
    1233   ac_prog_rejected=yes 
    1234   continue 
    1235 fi 
    1236 ac_cv_prog_CC="cc" 
    1237 echo "$as_me:1237: found $ac_dir/$ac_word" >&5 
    1238 break 
     1583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1584for as_dir in $PATH 
     1585do 
     1586  IFS=$as_save_IFS 
     1587  test -z "$as_dir" && as_dir=. 
     1588  for ac_exec_ext in '' $ac_executable_extensions; do 
     1589  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1590    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     1591       ac_prog_rejected=yes 
     1592       continue 
     1593     fi 
     1594    ac_cv_prog_CC="cc" 
     1595    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1596    break 2 
     1597  fi 
     1598done 
    12391599done 
    12401600 
     
    12481608    # first if we set CC to just the basename; use the full file name. 
    12491609    shift 
    1250     set dummy "$ac_dir/$ac_word" ${1+"$@"} 
    1251     shift 
    1252     ac_cv_prog_CC="$@" 
     1610    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 
    12531611  fi 
    12541612fi 
     
    12571615CC=$ac_cv_prog_CC 
    12581616if test -n "$CC"; then 
    1259   echo "$as_me:1259: result: $CC" >&5 
     1617  echo "$as_me:$LINENO: result: $CC" >&5 
    12601618echo "${ECHO_T}$CC" >&6 
    12611619else 
    1262   echo "$as_me:1262: result: no" >&5 
     1620  echo "$as_me:$LINENO: result: no" >&5 
    12631621echo "${ECHO_T}no" >&6 
    12641622fi 
     
    12711629    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    12721630set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    1273 echo "$as_me:1273: checking for $ac_word" >&5 
     1631echo "$as_me:$LINENO: checking for $ac_word" >&5 
    12741632echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    12751633if test "${ac_cv_prog_CC+set}" = set; then 
     
    12791637  ac_cv_prog_CC="$CC" # Let the user override the test. 
    12801638else 
    1281   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1282 ac_dummy="$PATH" 
    1283 for 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 
    1287 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    1288 echo "$as_me:1288: found $ac_dir/$ac_word" >&5 
    1289 break 
     1639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1640for as_dir in $PATH 
     1641do 
     1642  IFS=$as_save_IFS 
     1643  test -z "$as_dir" && as_dir=. 
     1644  for ac_exec_ext in '' $ac_executable_extensions; do 
     1645  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1646    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
     1647    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1648    break 2 
     1649  fi 
     1650done 
    12901651done 
    12911652 
     
    12941655CC=$ac_cv_prog_CC 
    12951656if test -n "$CC"; then 
    1296   echo "$as_me:1296: result: $CC" >&5 
     1657  echo "$as_me:$LINENO: result: $CC" >&5 
    12971658echo "${ECHO_T}$CC" >&6 
    12981659else 
    1299   echo "$as_me:1299: result: no" >&5 
     1660  echo "$as_me:$LINENO: result: no" >&5 
    13001661echo "${ECHO_T}no" >&6 
    13011662fi 
     
    13101671  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    13111672set dummy $ac_prog; ac_word=$2 
    1312 echo "$as_me:1312: checking for $ac_word" >&5 
     1673echo "$as_me:$LINENO: checking for $ac_word" >&5 
    13131674echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    13141675if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    13181679  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    13191680else 
    1320   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1321 ac_dummy="$PATH" 
    1322 for 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 
    1326 ac_cv_prog_ac_ct_CC="$ac_prog" 
    1327 echo "$as_me:1327: found $ac_dir/$ac_word" >&5 
    1328 break 
     1681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1682for as_dir in $PATH 
     1683do 
     1684  IFS=$as_save_IFS 
     1685  test -z "$as_dir" && as_dir=. 
     1686  for ac_exec_ext in '' $ac_executable_extensions; do 
     1687  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1688    ac_cv_prog_ac_ct_CC="$ac_prog" 
     1689    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1690    break 2 
     1691  fi 
     1692done 
    13291693done 
    13301694 
     
    13331697ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    13341698if test -n "$ac_ct_CC"; then 
    1335   echo "$as_me:1335: result: $ac_ct_CC" >&5 
     1699  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    13361700echo "${ECHO_T}$ac_ct_CC" >&6 
    13371701else 
    1338   echo "$as_me:1338: result: no" >&5 
     1702  echo "$as_me:$LINENO: result: no" >&5 
    13391703echo "${ECHO_T}no" >&6 
    13401704fi 
     
    13481712fi 
    13491713 
    1350 test -z "$CC" && { { echo "$as_me:1350: error: no acceptable cc found in \$PATH" >&5 
    1351 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 
     1714 
     1715test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     1716See \`config.log' for more details." >&5 
     1717echo "$as_me: error: no acceptable C compiler found in \$PATH 
     1718See \`config.log' for more details." >&2;} 
    13521719   { (exit 1); exit 1; }; } 
    13531720 
    13541721# Provide some information about the compiler. 
    1355 echo "$as_me:1355:" \ 
     1722echo "$as_me:$LINENO:" \ 
    13561723     "checking for C compiler version" >&5 
    13571724ac_compiler=`set X $ac_compile; echo $2` 
    1358 { (eval echo "$as_me:1358: \"$ac_compiler --version </dev/null >&5\"") >&5 
     1725{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
    13591726  (eval $ac_compiler --version </dev/null >&5) 2>&5 
    13601727  ac_status=$? 
    1361   echo "$as_me:1361: \$? = $ac_status" >&5 
     1728  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13621729  (exit $ac_status); } 
    1363 { (eval echo "$as_me:1363: \"$ac_compiler -v </dev/null >&5\"") >&5 
     1730{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
    13641731  (eval $ac_compiler -v </dev/null >&5) 2>&5 
    13651732  ac_status=$? 
    1366   echo "$as_me:1366: \$? = $ac_status" >&5 
     1733  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13671734  (exit $ac_status); } 
    1368 { (eval echo "$as_me:1368: \"$ac_compiler -V </dev/null >&5\"") >&5 
     1735{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
    13691736  (eval $ac_compiler -V </dev/null >&5) 2>&5 
    13701737  ac_status=$? 
    1371   echo "$as_me:1371: \$? = $ac_status" >&5 
     1738  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13721739  (exit $ac_status); } 
    13731740 
    13741741cat >conftest.$ac_ext <<_ACEOF 
    1375 #line 1375 "configure" 
    1376 #include "confdefs.h" 
     1742#line $LINENO "configure" 
     1743/* confdefs.h.  */ 
     1744_ACEOF 
     1745cat confdefs.h >>conftest.$ac_ext 
     1746cat >>conftest.$ac_ext <<_ACEOF 
     1747/* end confdefs.h.  */ 
    13771748 
    13781749int 
     
    13851756_ACEOF 
    13861757ac_clean_files_save=$ac_clean_files 
    1387 ac_clean_files="$ac_clean_files a.out a.exe" 
     1758ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    13881759# Try to create an executable without -o first, disregard a.out. 
    13891760# It will help us diagnose broken compilers, and finding out an intuition 
    13901761# of exeext. 
    1391 echo "$as_me:1391: checking for C compiler default output" >&5 
     1762echo "$as_me:$LINENO: checking for C compiler default output" >&5 
    13921763echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 
    13931764ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    1394 if { (eval echo "$as_me:1394: \"$ac_link_default\"") >&5 
     1765if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
    13951766  (eval $ac_link_default) 2>&5 
    13961767  ac_status=$? 
    1397   echo "$as_me:1397: \$? = $ac_status" >&5 
     1768  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13981769  (exit $ac_status); }; then 
    13991770  # Find the output, starting from the most likely.  This scheme is 
    14001771# not robust to junk in `.', hence go to wildcards (a.*) only as a last 
    14011772# resort. 
    1402 for 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 
     1773 
     1774# Be careful to initialize this variable, since it used to be cached. 
     1775# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
     1776ac_cv_exeext= 
     1777# b.out is created by i960 compilers. 
     1778for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 
     1779do 
     1780  test -f "$ac_file" || continue 
    14051781  case $ac_file in 
    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;; 
     1782    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 
     1783        ;; 
     1784    conftest.$ac_ext ) 
     1785        # This is the source file. 
     1786        ;; 
     1787    [ab].out ) 
     1788        # We found the default executable, but exeext='' is most 
     1789        # certainly right. 
     1790        break;; 
     1791    *.* ) 
     1792        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1793        # FIXME: I believe we export ac_cv_exeext for Libtool, 
     1794        # but it would be cool to find out if it's true.  Does anybody 
     1795        # maintain Libtool? --akim. 
     1796        export ac_cv_exeext 
     1797        break;; 
     1798    * ) 
     1799        break;; 
    14151800  esac 
    14161801done 
    14171802else 
    14181803  echo "$as_me: failed program was:" >&5 
    1419 cat conftest.$ac_ext >&5 
    1420 { { echo "$as_me:1420: error: C compiler cannot create executables" >&5 
    1421 echo "$as_me: error: C compiler cannot create executables" >&2;} 
     1804sed 's/^/| /' conftest.$ac_ext >&5 
     1805 
     1806{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 
     1807See \`config.log' for more details." >&5 
     1808echo "$as_me: error: C compiler cannot create executables 
     1809See \`config.log' for more details." >&2;} 
    14221810   { (exit 77); exit 77; }; } 
    14231811fi 
    14241812 
    14251813ac_exeext=$ac_cv_exeext 
    1426 echo "$as_me:1426: result: $ac_file" >&5 
     1814echo "$as_me:$LINENO: result: $ac_file" >&5 
    14271815echo "${ECHO_T}$ac_file" >&6 
    14281816 
    14291817# Check the compiler produces executables we can run.  If not, either 
    14301818# the compiler is broken, or we cross compile. 
    1431 echo "$as_me:1431: checking whether the C compiler works" >&5 
     1819echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    14321820echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 
    14331821# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     
    14351823if test "$cross_compiling" != yes; then 
    14361824  if { ac_try='./$ac_file' 
    1437   { (eval echo "$as_me:1437: \"$ac_try\"") >&5 
     1825  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    14381826  (eval $ac_try) 2>&5 
    14391827  ac_status=$? 
    1440   echo "$as_me:1440: \$? = $ac_status" >&5 
     1828  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14411829  (exit $ac_status); }; }; then 
    14421830    cross_compiling=no 
     
    14451833        cross_compiling=yes 
    14461834    else 
    1447         { { echo "$as_me:1447: error: cannot run C compiled programs. 
    1448 If you meant to cross compile, use \`--host'." >&5 
     1835        { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     1836If you meant to cross compile, use \`--host'. 
     1837See \`config.log' for more details." >&5 
    14491838echo "$as_me: error: cannot run C compiled programs. 
    1450 If you meant to cross compile, use \`--host'." >&2;} 
     1839If you meant to cross compile, use \`--host'. 
     1840See \`config.log' for more details." >&2;} 
    14511841   { (exit 1); exit 1; }; } 
    14521842    fi 
    14531843  fi 
    14541844fi 
    1455 echo "$as_me:1455: result: yes" >&5 
     1845echo "$as_me:$LINENO: result: yes" >&5 
    14561846echo "${ECHO_T}yes" >&6 
    14571847 
    1458 rm -f a.out a.exe conftest$ac_cv_exeext 
     1848rm -f a.out a.exe conftest$ac_cv_exeext b.out 
    14591849ac_clean_files=$ac_clean_files_save 
    14601850# Check the compiler produces executables we can run.  If not, either 
    14611851# the compiler is broken, or we cross compile. 
    1462 echo "$as_me:1462: checking whether we are cross compiling" >&5 
     1852echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    14631853echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
    1464 echo "$as_me:1464: result: $cross_compiling" >&5 
     1854echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    14651855echo "${ECHO_T}$cross_compiling" >&6 
    14661856 
    1467 echo "$as_me:1467: checking for executable suffix" >&5 
    1468 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 
    1469 if { (eval echo "$as_me:1469: \"$ac_link\"") >&5 
     1857echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     1858echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
     1859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    14701860  (eval $ac_link) 2>&5 
    14711861  ac_status=$? 
    1472   echo "$as_me:1472: \$? = $ac_status" >&5 
     1862  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14731863  (exit $ac_status); }; then 
    14741864  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
     
    14761866# work properly (i.e., refer to `conftest.exe'), while it won't with 
    14771867# `rm'. 
    1478 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 
     1868for ac_file in conftest.exe conftest conftest.*; do 
     1869  test -f "$ac_file" || continue 
    14791870  case $ac_file in 
    1480     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 
     1871    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 
    14811872    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    14821873          export ac_cv_exeext 
     
    14861877done 
    14871878else 
    1488   { { echo "$as_me:1488: error: cannot compute EXEEXT: cannot compile and link" >&5 
    1489 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 
     1879  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     1880See \`config.log' for more details." >&5 
     1881echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     1882See \`config.log' for more details." >&2;} 
    14901883   { (exit 1); exit 1; }; } 
    14911884fi 
    14921885 
    14931886rm -f conftest$ac_cv_exeext 
    1494 echo "$as_me:1494: result: $ac_cv_exeext" >&5 
     1887echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    14951888echo "${ECHO_T}$ac_cv_exeext" >&6 
    14961889 
     
    14981891EXEEXT=$ac_cv_exeext 
    14991892ac_exeext=$EXEEXT 
    1500 echo "$as_me:1500: checking for object suffix" >&5 
    1501 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 
     1893echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     1894echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
    15021895if test "${ac_cv_objext+set}" = set; then 
    15031896  echo $ECHO_N "(cached) $ECHO_C" >&6 
    15041897else 
    15051898  cat >conftest.$ac_ext <<_ACEOF 
    1506 #line 1506 "configure" 
    1507 #include "confdefs.h" 
     1899#line $LINENO "configure" 
     1900/* confdefs.h.  */ 
     1901_ACEOF 
     1902cat confdefs.h >>conftest.$ac_ext 
     1903cat >>conftest.$ac_ext <<_ACEOF 
     1904/* end confdefs.h.  */ 
    15081905 
    15091906int 
     
    15161913_ACEOF 
    15171914rm -f conftest.o conftest.obj 
    1518 if { (eval echo "$as_me:1518: \"$ac_compile\"") >&5 
     1915if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    15191916  (eval $ac_compile) 2>&5 
    15201917  ac_status=$? 
    1521   echo "$as_me:1521: \$? = $ac_status" >&5 
     1918  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    15221919  (exit $ac_status); }; then 
    15231920  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
    15241921  case $ac_file in 
    1525     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 
     1922    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 
    15261923    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    15271924       break;; 
     
    15301927else 
    15311928  echo "$as_me: failed program was:" >&5 
    1532 cat conftest.$ac_ext >&5 
    1533 { { echo "$as_me:1533: error: cannot compute OBJEXT: cannot compile" >&5 
    1534 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 
     1929sed 's/^/| /' conftest.$ac_ext >&5 
     1930 
     1931{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     1932See \`config.log' for more details." >&5 
     1933echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     1934See \`config.log' for more details." >&2;} 
    15351935   { (exit 1); exit 1; }; } 
    15361936fi 
     
    15381938rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    15391939fi 
    1540 echo "$as_me:1540: result: $ac_cv_objext" >&5 
     1940echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    15411941echo "${ECHO_T}$ac_cv_objext" >&6 
    15421942OBJEXT=$ac_cv_objext 
    15431943ac_objext=$OBJEXT 
    1544 echo "$as_me:1544: checking whether we are using the GNU C compiler" >&5 
     1944echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    15451945echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
    15461946if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     
    15481948else 
    15491949  cat >conftest.$ac_ext <<_ACEOF 
    1550 #line 1550 "configure" 
    1551 #include "confdefs.h" 
     1950#line $LINENO "configure" 
     1951/* confdefs.h.  */ 
     1952_ACEOF 
     1953cat confdefs.h >>conftest.$ac_ext 
     1954cat >>conftest.$ac_ext <<_ACEOF 
     1955/* end confdefs.h.  */ 
    15521956 
    15531957int 
     
    15631967_ACEOF 
    15641968rm -f conftest.$ac_objext 
    1565 if { (eval echo "$as_me:1565: \"$ac_compile\"") >&5 
     1969if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    15661970  (eval $ac_compile) 2>&5 
    15671971  ac_status=$? 
    1568   echo "$as_me:1568: \$? = $ac_status" >&5 
     1972  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    15691973  (exit $ac_status); } && 
    15701974         { ac_try='test -s conftest.$ac_objext' 
    1571   { (eval echo "$as_me:1571: \"$ac_try\"") >&5 
     1975  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    15721976  (eval $ac_try) 2>&5 
    15731977  ac_status=$? 
    1574   echo "$as_me:1574: \$? = $ac_status" >&5 
     1978  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    15751979  (exit $ac_status); }; }; then 
    15761980  ac_compiler_gnu=yes 
    15771981else 
    15781982  echo "$as_me: failed program was:" >&5 
    1579 cat conftest.$ac_ext >&5 
     1983sed 's/^/| /' conftest.$ac_ext >&5 
     1984 
    15801985ac_compiler_gnu=no 
    15811986fi 
     
    15841989 
    15851990fi 
    1586 echo "$as_me:1586: result: $ac_cv_c_compiler_gnu" >&5 
     1991echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    15871992echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
    15881993GCC=`test $ac_compiler_gnu = yes && echo yes` 
     
    15901995ac_save_CFLAGS=$CFLAGS 
    15911996CFLAGS="-g" 
    1592 echo "$as_me:1592: checking whether $CC accepts -g" >&5 
     1997echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    15931998echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
    15941999if test "${ac_cv_prog_cc_g+set}" = set; then 
     
    15962001else 
    15972002  cat >conftest.$ac_ext <<_ACEOF 
    1598 #line 1598 "configure" 
    1599 #include "confdefs.h" 
     2003#line $LINENO "configure" 
     2004/* confdefs.h.  */ 
     2005_ACEOF 
     2006cat confdefs.h >>conftest.$ac_ext 
     2007cat >>conftest.$ac_ext <<_ACEOF 
     2008/* end confdefs.h.  */ 
    16002009 
    16012010int 
     
    16082017_ACEOF 
    16092018rm -f conftest.$ac_objext 
    1610 if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5 
     2019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    16112020  (eval $ac_compile) 2>&5 
    16122021  ac_status=$? 
    1613   echo "$as_me:1613: \$? = $ac_status" >&5 
     2022  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16142023  (exit $ac_status); } && 
    16152024         { ac_try='test -s conftest.$ac_objext' 
    1616   { (eval echo "$as_me:1616: \"$ac_try\"") >&5 
     2025  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    16172026  (eval $ac_try) 2>&5 
    16182027  ac_status=$? 
    1619   echo "$as_me:1619: \$? = $ac_status" >&5 
     2028  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16202029  (exit $ac_status); }; }; then 
    16212030  ac_cv_prog_cc_g=yes 
    16222031else 
    16232032  echo "$as_me: failed program was:" >&5 
    1624 cat conftest.$ac_ext >&5 
     2033sed 's/^/| /' conftest.$ac_ext >&5 
     2034 
    16252035ac_cv_prog_cc_g=no 
    16262036fi 
    16272037rm -f conftest.$ac_objext conftest.$ac_ext 
    16282038fi 
    1629 echo "$as_me:1629: result: $ac_cv_prog_cc_g" >&5 
     2039echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    16302040echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
    16312041if test "$ac_test_CFLAGS" = set; then 
     
    16442054  fi 
    16452055fi 
     2056echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
     2057echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
     2058if test "${ac_cv_prog_cc_stdc+set}" = set; then 
     2059  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2060else 
     2061  ac_cv_prog_cc_stdc=no 
     2062ac_save_CC=$CC 
     2063cat >conftest.$ac_ext <<_ACEOF 
     2064#line $LINENO "configure" 
     2065/* confdefs.h.  */ 
     2066_ACEOF 
     2067cat confdefs.h >>conftest.$ac_ext 
     2068cat >>conftest.$ac_ext <<_ACEOF 
     2069/* end confdefs.h.  */ 
     2070#include <stdarg.h> 
     2071#include <stdio.h> 
     2072#include <sys/types.h> 
     2073#include <sys/stat.h> 
     2074/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
     2075struct buf { int x; }; 
     2076FILE * (*rcsopen) (struct buf *, struct stat *, int); 
     2077static char *e (p, i) 
     2078     char **p; 
     2079     int i; 
     2080{ 
     2081  return p[i]; 
     2082} 
     2083static char *f (char * (*g) (char **, int), char **p, ...) 
     2084{ 
     2085  char *s; 
     2086  va_list v; 
     2087  va_start (v,p); 
     2088  s = g (p, va_arg (v,int)); 
     2089  va_end (v); 
     2090  return s; 
     2091} 
     2092int test (int i, double x); 
     2093struct s1 {int (*f) (int a);}; 
     2094struct s2 {int (*f) (double a);}; 
     2095int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
     2096int argc; 
     2097char **argv; 
     2098int 
     2099main () 
     2100{ 
     2101return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
     2102  ; 
     2103  return 0; 
     2104} 
     2105_ACEOF 
     2106# Don't try gcc -ansi; that turns off useful extensions and 
     2107# breaks some systems' header files. 
     2108# AIX                   -qlanglvl=ansi 
     2109# Ultrix and OSF/1      -std1 
     2110# HP-UX 10.20 and later -Ae 
     2111# HP-UX older versions  -Aa -D_HPUX_SOURCE 
     2112# SVR4                  -Xc -D__EXTENSIONS__ 
     2113for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
     2114do 
     2115  CC="$ac_save_CC $ac_arg" 
     2116  rm -f conftest.$ac_objext 
     2117if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2118  (eval $ac_compile) 2>&5 
     2119  ac_status=$? 
     2120  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2121  (exit $ac_status); } && 
     2122         { ac_try='test -s conftest.$ac_objext' 
     2123  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2124  (eval $ac_try) 2>&5 
     2125  ac_status=$? 
     2126  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2127  (exit $ac_status); }; }; then 
     2128  ac_cv_prog_cc_stdc=$ac_arg 
     2129break 
     2130else 
     2131  echo "$as_me: failed program was:" >&5 
     2132sed 's/^/| /' conftest.$ac_ext >&5 
     2133 
     2134fi 
     2135rm -f conftest.$ac_objext 
     2136done 
     2137rm -f conftest.$ac_ext conftest.$ac_objext 
     2138CC=$ac_save_CC 
     2139 
     2140fi 
     2141 
     2142case "x$ac_cv_prog_cc_stdc" in 
     2143  x|xno) 
     2144    echo "$as_me:$LINENO: result: none needed" >&5 
     2145echo "${ECHO_T}none needed" >&6 ;; 
     2146  *) 
     2147    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
     2148echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
     2149    CC="$CC $ac_cv_prog_cc_stdc" ;; 
     2150esac 
     2151 
    16462152# Some people use a C++ compiler to compile C.  Since we use `exit', 
    16472153# in C++ we need to declare it.  In case someone uses the same compiler 
     
    16542160_ACEOF 
    16552161rm -f conftest.$ac_objext 
    1656 if { (eval echo "$as_me:1656: \"$ac_compile\"") >&5 
     2162if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    16572163  (eval $ac_compile) 2>&5 
    16582164  ac_status=$? 
    1659   echo "$as_me:1659: \$? = $ac_status" >&5 
     2165  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16602166  (exit $ac_status); } && 
    16612167         { ac_try='test -s conftest.$ac_objext' 
    1662   { (eval echo "$as_me:1662: \"$ac_try\"") >&5 
     2168  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    16632169  (eval $ac_try) 2>&5 
    16642170  ac_status=$? 
    1665   echo "$as_me:1665: \$? = $ac_status" >&5 
     2171  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16662172  (exit $ac_status); }; }; then 
    16672173  for ac_declaration in \ 
     
    16752181do 
    16762182  cat >conftest.$ac_ext <<_ACEOF 
    1677 #line 1677 "configure" 
    1678 #include "confdefs.h" 
     2183#line $LINENO "configure" 
     2184/* confdefs.h.  */ 
     2185_ACEOF 
     2186cat confdefs.h >>conftest.$ac_ext 
     2187cat >>conftest.$ac_ext <<_ACEOF 
     2188/* end confdefs.h.  */ 
    16792189#include <stdlib.h> 
    16802190$ac_declaration 
     
    16882198_ACEOF 
    16892199rm -f conftest.$ac_objext 
    1690 if { (eval echo "$as_me:1690: \"$ac_compile\"") >&5 
     2200if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    16912201  (eval $ac_compile) 2>&5 
    16922202  ac_status=$? 
    1693   echo "$as_me:1693: \$? = $ac_status" >&5 
     2203  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16942204  (exit $ac_status); } && 
    16952205         { ac_try='test -s conftest.$ac_objext' 
    1696   { (eval echo "$as_me:1696: \"$ac_try\"") >&5 
     2206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    16972207  (eval $ac_try) 2>&5 
    16982208  ac_status=$? 
    1699   echo "$as_me:1699: \$? = $ac_status" >&5 
     2209  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    17002210  (exit $ac_status); }; }; then 
    17012211  : 
    17022212else 
    17032213  echo "$as_me: failed program was:" >&5 
    1704 cat conftest.$ac_ext >&5 
     2214sed 's/^/| /' conftest.$ac_ext >&5 
     2215 
    17052216continue 
    17062217fi 
    17072218rm -f conftest.$ac_objext conftest.$ac_ext 
    17082219  cat >conftest.$ac_ext <<_ACEOF 
    1709 #line 1709 "configure" 
    1710 #include "confdefs.h" 
     2220#line $LINENO "configure" 
     2221/* confdefs.h.  */ 
     2222_ACEOF 
     2223cat confdefs.h >>conftest.$ac_ext 
     2224cat >>conftest.$ac_ext <<_ACEOF 
     2225/* end confdefs.h.  */ 
    17112226$ac_declaration 
    17122227int 
     
    17192234_ACEOF 
    17202235rm -f conftest.$ac_objext 
    1721 if { (eval echo "$as_me:1721: \"$ac_compile\"") >&5 
     2236if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    17222237  (eval $ac_compile) 2>&5 
    17232238  ac_status=$? 
    1724   echo "$as_me:1724: \$? = $ac_status" >&5 
     2239  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    17252240  (exit $ac_status); } && 
    17262241         { ac_try='test -s conftest.$ac_objext' 
    1727   { (eval echo "$as_me:1727: \"$ac_try\"") >&5 
     2242  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    17282243  (eval $ac_try) 2>&5 
    17292244  ac_status=$? 
    1730   echo "$as_me:1730: \$? = $ac_status" >&5 
     2245  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    17312246  (exit $ac_status); }; }; then 
    17322247  break 
    17332248else 
    17342249  echo "$as_me: failed program was:" >&5 
    1735 cat conftest.$ac_ext >&5 
     2250sed 's/^/| /' conftest.$ac_ext >&5 
     2251 
    17362252fi 
    17372253rm -f conftest.$ac_objext conftest.$ac_ext 
     
    17462262else 
    17472263  echo "$as_me: failed program was:" >&5 
    1748 cat conftest.$ac_ext >&5 
     2264sed 's/^/| /' conftest.$ac_ext >&5 
     2265 
    17492266fi 
    17502267rm -f conftest.$ac_objext conftest.$ac_ext 
     
    17652282    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    17662283set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    1767 echo "$as_me:1767: checking for $ac_word" >&5 
     2284echo "$as_me:$LINENO: checking for $ac_word" >&5 
    17682285echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    17692286if test "${ac_cv_prog_CXX+set}" = set; then 
     
    17732290  ac_cv_prog_CXX="$CXX" # Let the user override the test. 
    17742291else 
    1775   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1776 ac_dummy="$PATH" 
    1777 for 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 
    1781 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
    1782 echo "$as_me:1782: found $ac_dir/$ac_word" >&5 
    1783 break 
     2292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2293for as_dir in $PATH 
     2294do 
     2295  IFS=$as_save_IFS 
     2296  test -z "$as_dir" && as_dir=. 
     2297  for ac_exec_ext in '' $ac_executable_extensions; do 
     2298  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2299    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
     2300    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2301    break 2 
     2302  fi 
     2303done 
    17842304done 
    17852305 
     
    17882308CXX=$ac_cv_prog_CXX 
    17892309if test -n "$CXX"; then 
    1790   echo "$as_me:1790: result: $CXX" >&5 
     2310  echo "$as_me:$LINENO: result: $CXX" >&5 
    17912311echo "${ECHO_T}$CXX" >&6 
    17922312else 
    1793   echo "$as_me:1793: result: no" >&5 
     2313  echo "$as_me:$LINENO: result: no" >&5 
    17942314echo "${ECHO_T}no" >&6 
    17952315fi 
     
    18042324  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    18052325set dummy $ac_prog; ac_word=$2 
    1806 echo "$as_me:1806: checking for $ac_word" >&5 
     2326echo "$as_me:$LINENO: checking for $ac_word" >&5 
    18072327echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    18082328if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     
    18122332  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
    18132333else 
    1814   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1815 ac_dummy="$PATH" 
    1816 for 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 
    1820 ac_cv_prog_ac_ct_CXX="$ac_prog" 
    1821 echo "$as_me:1821: found $ac_dir/$ac_word" >&5 
    1822 break 
     2334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2335for as_dir in $PATH 
     2336do 
     2337  IFS=$as_save_IFS 
     2338  test -z "$as_dir" && as_dir=. 
     2339  for ac_exec_ext in '' $ac_executable_extensions; do 
     2340  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2341    ac_cv_prog_ac_ct_CXX="$ac_prog" 
     2342    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2343    break 2 
     2344  fi 
     2345done 
    18232346done 
    18242347 
     
    18272350ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
    18282351if test -n "$ac_ct_CXX"; then 
    1829   echo "$as_me:1829: result: $ac_ct_CXX" >&5 
     2352  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
    18302353echo "${ECHO_T}$ac_ct_CXX" >&6 
    18312354else 
    1832   echo "$as_me:1832: result: no" >&5 
     2355  echo "$as_me:$LINENO: result: no" >&5 
    18332356echo "${ECHO_T}no" >&6 
    18342357fi 
     
    18412364fi 
    18422365 
     2366 
    18432367# Provide some information about the compiler. 
    1844 echo "$as_me:1844:" \ 
     2368echo "$as_me:$LINENO:" \ 
    18452369     "checking for C++ compiler version" >&5 
    18462370ac_compiler=`set X $ac_compile; echo $2` 
    1847 { (eval echo "$as_me:1847: \"$ac_compiler --version </dev/null >&5\"") >&5 
     2371{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
    18482372  (eval $ac_compiler --version </dev/null >&5) 2>&5 
    18492373  ac_status=$? 
    1850   echo "$as_me:1850: \$? = $ac_status" >&5 
     2374  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18512375  (exit $ac_status); } 
    1852 { (eval echo "$as_me:1852: \"$ac_compiler -v </dev/null >&5\"") >&5 
     2376{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
    18532377  (eval $ac_compiler -v </dev/null >&5) 2>&5 
    18542378  ac_status=$? 
    1855   echo "$as_me:1855: \$? = $ac_status" >&5 
     2379  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18562380  (exit $ac_status); } 
    1857 { (eval echo "$as_me:1857: \"$ac_compiler -V </dev/null >&5\"") >&5 
     2381{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
    18582382  (eval $ac_compiler -V </dev/null >&5) 2>&5 
    18592383  ac_status=$? 
    1860   echo "$as_me:1860: \$? = $ac_status" >&5 
     2384  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18612385  (exit $ac_status); } 
    18622386 
    1863 echo "$as_me:1863: checking whether we are using the GNU C++ compiler" >&5 
     2387echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
    18642388echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 
    18652389if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     
    18672391else 
    18682392  cat >conftest.$ac_ext <<_ACEOF 
    1869 #line 1869 "configure" 
    1870 #include "confdefs.h" 
     2393#line $LINENO "configure" 
     2394/* confdefs.h.  */ 
     2395_ACEOF 
     2396cat confdefs.h >>conftest.$ac_ext 
     2397cat >>conftest.$ac_ext <<_ACEOF 
     2398/* end confdefs.h.  */ 
    18712399 
    18722400int 
     
    18822410_ACEOF 
    18832411rm -f conftest.$ac_objext 
    1884 if { (eval echo "$as_me:1884: \"$ac_compile\"") >&5 
     2412if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    18852413  (eval $ac_compile) 2>&5 
    18862414  ac_status=$? 
    1887   echo "$as_me:1887: \$? = $ac_status" >&5 
     2415  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18882416  (exit $ac_status); } && 
    18892417         { ac_try='test -s conftest.$ac_objext' 
    1890   { (eval echo "$as_me:1890: \"$ac_try\"") >&5 
     2418  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    18912419  (eval $ac_try) 2>&5 
    18922420  ac_status=$? 
    1893   echo "$as_me:1893: \$? = $ac_status" >&5 
     2421  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18942422  (exit $ac_status); }; }; then 
    18952423  ac_compiler_gnu=yes 
    18962424else 
    18972425  echo "$as_me: failed program was:" >&5 
    1898 cat conftest.$ac_ext >&5 
     2426sed 's/^/| /' conftest.$ac_ext >&5 
     2427 
    18992428ac_compiler_gnu=no 
    19002429fi 
     
    19032432 
    19042433fi 
    1905 echo "$as_me:1905: result: $ac_cv_cxx_compiler_gnu" >&5 
     2434echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
    19062435echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 
    19072436GXX=`test $ac_compiler_gnu = yes && echo yes` 
     
    19092438ac_save_CXXFLAGS=$CXXFLAGS 
    19102439CXXFLAGS="-g" 
    1911 echo "$as_me:1911: checking whether $CXX accepts -g" >&5 
     2440echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
    19122441echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 
    19132442if test "${ac_cv_prog_cxx_g+set}" = set; then 
     
    19152444else 
    19162445  cat >conftest.$ac_ext <<_ACEOF 
    1917 #line 1917 "configure" 
    1918 #include "confdefs.h" 
     2446#line $LINENO "configure" 
     2447/* confdefs.h.  */ 
     2448_ACEOF 
     2449cat confdefs.h >>conftest.$ac_ext 
     2450cat >>conftest.$ac_ext <<_ACEOF 
     2451/* end confdefs.h.  */ 
    19192452 
    19202453int 
     
    19272460_ACEOF 
    19282461rm -f conftest.$ac_objext 
    1929 if { (eval echo "$as_me:1929: \"$ac_compile\"") >&5 
     2462if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    19302463  (eval $ac_compile) 2>&5 
    19312464  ac_status=$? 
    1932   echo "$as_me:1932: \$? = $ac_status" >&5 
     2465  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19332466  (exit $ac_status); } && 
    19342467         { ac_try='test -s conftest.$ac_objext' 
    1935   { (eval echo "$as_me:1935: \"$ac_try\"") >&5 
     2468  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    19362469  (eval $ac_try) 2>&5 
    19372470  ac_status=$? 
    1938   echo "$as_me:1938: \$? = $ac_status" >&5 
     2471  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19392472  (exit $ac_status); }; }; then 
    19402473  ac_cv_prog_cxx_g=yes 
    19412474else 
    19422475  echo "$as_me: failed program was:" >&5 
    1943 cat conftest.$ac_ext >&5 
     2476sed 's/^/| /' conftest.$ac_ext >&5 
     2477 
    19442478ac_cv_prog_cxx_g=no 
    19452479fi 
    19462480rm -f conftest.$ac_objext conftest.$ac_ext 
    19472481fi 
    1948 echo "$as_me:1948: result: $ac_cv_prog_cxx_g" >&5 
     2482echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
    19492483echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 
    19502484if test "$ac_test_CXXFLAGS" = set; then 
     
    19732507do 
    19742508  cat >conftest.$ac_ext <<_ACEOF 
    1975 #line 1975 "configure" 
    1976 #include "confdefs.h" 
     2509#line $LINENO "configure" 
     2510/* confdefs.h.  */ 
     2511_ACEOF 
     2512cat confdefs.h >>conftest.$ac_ext 
     2513cat >>conftest.$ac_ext <<_ACEOF 
     2514/* end confdefs.h.  */ 
    19772515#include <stdlib.h> 
    19782516$ac_declaration 
     
    19862524_ACEOF 
    19872525rm -f conftest.$ac_objext 
    1988 if { (eval echo "$as_me:1988: \"$ac_compile\"") >&5 
     2526if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    19892527  (eval $ac_compile) 2>&5 
    19902528  ac_status=$? 
    1991   echo "$as_me:1991: \$? = $ac_status" >&5 
     2529  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19922530  (exit $ac_status); } && 
    19932531         { ac_try='test -s conftest.$ac_objext' 
    1994   { (eval echo "$as_me:1994: \"$ac_try\"") >&5 
     2532  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    19952533  (eval $ac_try) 2>&5 
    19962534  ac_status=$? 
    1997   echo "$as_me:1997: \$? = $ac_status" >&5 
     2535  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19982536  (exit $ac_status); }; }; then 
    19992537  : 
    20002538else 
    20012539  echo "$as_me: failed program was:" >&5 
    2002 cat conftest.$ac_ext >&5 
     2540sed 's/^/| /' conftest.$ac_ext >&5 
     2541 
    20032542continue 
    20042543fi 
    20052544rm -f conftest.$ac_objext conftest.$ac_ext 
    20062545  cat >conftest.$ac_ext <<_ACEOF 
    2007 #line 2007 "configure" 
    2008 #include "confdefs.h" 
     2546#line $LINENO "configure" 
     2547/* confdefs.h.  */ 
     2548_ACEOF 
     2549cat confdefs.h >>conftest.$ac_ext 
     2550cat >>conftest.$ac_ext <<_ACEOF 
     2551/* end confdefs.h.  */ 
    20092552$ac_declaration 
    20102553int 
     
    20172560_ACEOF 
    20182561rm -f conftest.$ac_objext 
    2019 if { (eval echo "$as_me:2019: \"$ac_compile\"") >&5 
     2562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    20202563  (eval $ac_compile) 2>&5 
    20212564  ac_status=$? 
    2022   echo "$as_me:2022: \$? = $ac_status" >&5 
     2565  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20232566  (exit $ac_status); } && 
    20242567         { ac_try='test -s conftest.$ac_objext' 
    2025   { (eval echo "$as_me:2025: \"$ac_try\"") >&5 
     2568  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    20262569  (eval $ac_try) 2>&5 
    20272570  ac_status=$? 
    2028   echo "$as_me:2028: \$? = $ac_status" >&5 
     2571  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20292572  (exit $ac_status); }; }; then 
    20302573  break 
    20312574else 
    20322575  echo "$as_me: failed program was:" >&5 
    2033 cat conftest.$ac_ext >&5 
     2576sed 's/^/| /' conftest.$ac_ext >&5 
     2577 
    20342578fi 
    20352579rm -f conftest.$ac_objext conftest.$ac_ext 
     
    20542598ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    20552599 
    2056 echo "$as_me:2056: checking for pthread_create in -lpthread" >&5 
     2600 
     2601 
     2602 
     2603echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 
    20572604echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 
    20582605if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 
     
    20622609LIBS="-lpthread  $LIBS" 
    20632610cat >conftest.$ac_ext <<_ACEOF 
    2064 #line 2064 "configure" 
    2065 #include "confdefs.h" 
     2611#line $LINENO "configure" 
     2612/* confdefs.h.  */ 
     2613_ACEOF 
     2614cat confdefs.h >>conftest.$ac_ext 
     2615cat >>conftest.$ac_ext <<_ACEOF 
     2616/* end confdefs.h.  */ 
    20662617 
    20672618/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    20812632_ACEOF 
    20822633rm -f conftest.$ac_objext conftest$ac_exeext 
    2083 if { (eval echo "$as_me:2083: \"$ac_link\"") >&5 
     2634if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    20842635  (eval $ac_link) 2>&5 
    20852636  ac_status=$? 
    2086   echo "$as_me:2086: \$? = $ac_status" >&5 
     2637  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20872638  (exit $ac_status); } && 
    20882639         { ac_try='test -s conftest$ac_exeext' 
    2089   { (eval echo "$as_me:2089: \"$ac_try\"") >&5 
     2640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    20902641  (eval $ac_try) 2>&5 
    20912642  ac_status=$? 
    2092   echo "$as_me:2092: \$? = $ac_status" >&5 
     2643  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20932644  (exit $ac_status); }; }; then 
    20942645  ac_cv_lib_pthread_pthread_create=yes 
    20952646else 
    20962647  echo "$as_me: failed program was:" >&5 
    2097 cat conftest.$ac_ext >&5 
     2648sed 's/^/| /' conftest.$ac_ext >&5 
     2649 
    20982650ac_cv_lib_pthread_pthread_create=no 
    20992651fi 
     
    21012653LIBS=$ac_check_lib_save_LIBS 
    21022654fi 
    2103 echo "$as_me:2103: result: $ac_cv_lib_pthread_pthread_create" >&5 
     2655echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 
    21042656echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 
    21052657if test $ac_cv_lib_pthread_pthread_create = yes; then 
    2106   cat >>confdefs.h <<EOF 
     2658  cat >>confdefs.h <<_ACEOF 
    21072659#define HAVE_LIBPTHREAD 1 
    2108 EOF 
     2660_ACEOF 
    21092661 
    21102662  LIBS="-lpthread $LIBS" 
     
    21122664fi 
    21132665 
    2114 echo "$as_me:2114: result: Setting PJ_M_NAME to $target_cpu" >&5 
     2666 
     2667echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 
     2668echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 
     2669if test "${ac_cv_lib_wsock32_puts+set}" = set; then 
     2670  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2671else 
     2672  ac_check_lib_save_LIBS=$LIBS 
     2673LIBS="-lwsock32  $LIBS" 
     2674cat >conftest.$ac_ext <<_ACEOF 
     2675#line $LINENO "configure" 
     2676/* confdefs.h.  */ 
     2677_ACEOF 
     2678cat confdefs.h >>conftest.$ac_ext 
     2679cat >>conftest.$ac_ext <<_ACEOF 
     2680/* end confdefs.h.  */ 
     2681 
     2682/* Override any gcc2 internal prototype to avoid an error.  */ 
     2683#ifdef __cplusplus 
     2684extern "C" 
     2685#endif 
     2686/* We use char because int might match the return type of a gcc2 
     2687   builtin and then its argument prototype would still apply.  */ 
     2688char puts (); 
     2689int 
     2690main () 
     2691{ 
     2692puts (); 
     2693  ; 
     2694  return 0; 
     2695} 
     2696_ACEOF 
     2697rm -f conftest.$ac_objext conftest$ac_exeext 
     2698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2699  (eval $ac_link) 2>&5 
     2700  ac_status=$? 
     2701  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2702  (exit $ac_status); } && 
     2703         { ac_try='test -s conftest$ac_exeext' 
     2704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2705  (eval $ac_try) 2>&5 
     2706  ac_status=$? 
     2707  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2708  (exit $ac_status); }; }; then 
     2709  ac_cv_lib_wsock32_puts=yes 
     2710else 
     2711  echo "$as_me: failed program was:" >&5 
     2712sed 's/^/| /' conftest.$ac_ext >&5 
     2713 
     2714ac_cv_lib_wsock32_puts=no 
     2715fi 
     2716rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2717LIBS=$ac_check_lib_save_LIBS 
     2718fi 
     2719echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 
     2720echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 
     2721if test $ac_cv_lib_wsock32_puts = yes; then 
     2722  cat >>confdefs.h <<_ACEOF 
     2723#define HAVE_LIBWSOCK32 1 
     2724_ACEOF 
     2725 
     2726  LIBS="-lwsock32 $LIBS" 
     2727 
     2728fi 
     2729 
     2730 
     2731echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 
     2732echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 
     2733if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 
     2734  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2735else 
     2736  ac_check_lib_save_LIBS=$LIBS 
     2737LIBS="-lws2_32  $LIBS" 
     2738cat >conftest.$ac_ext <<_ACEOF 
     2739#line $LINENO "configure" 
     2740/* confdefs.h.  */ 
     2741_ACEOF 
     2742cat confdefs.h >>conftest.$ac_ext 
     2743cat >>conftest.$ac_ext <<_ACEOF 
     2744/* end confdefs.h.  */ 
     2745 
     2746/* Override any gcc2 internal prototype to avoid an error.  */ 
     2747#ifdef __cplusplus 
     2748extern "C" 
     2749#endif 
     2750/* We use char because int might match the return type of a gcc2 
     2751   builtin and then its argument prototype would still apply.  */ 
     2752char puts (); 
     2753int 
     2754main () 
     2755{ 
     2756puts (); 
     2757  ; 
     2758  return 0; 
     2759} 
     2760_ACEOF 
     2761rm -f conftest.$ac_objext conftest$ac_exeext 
     2762if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2763  (eval $ac_link) 2>&5 
     2764  ac_status=$? 
     2765  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2766  (exit $ac_status); } && 
     2767         { ac_try='test -s conftest$ac_exeext' 
     2768  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2769  (eval $ac_try) 2>&5 
     2770  ac_status=$? 
     2771  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2772  (exit $ac_status); }; }; then 
     2773  ac_cv_lib_ws2_32_puts=yes 
     2774else 
     2775  echo "$as_me: failed program was:" >&5 
     2776sed 's/^/| /' conftest.$ac_ext >&5 
     2777 
     2778ac_cv_lib_ws2_32_puts=no 
     2779fi 
     2780rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2781LIBS=$ac_check_lib_save_LIBS 
     2782fi 
     2783echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 
     2784echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 
     2785if test $ac_cv_lib_ws2_32_puts = yes; then 
     2786  cat >>confdefs.h <<_ACEOF 
     2787#define HAVE_LIBWS2_32 1 
     2788_ACEOF 
     2789 
     2790  LIBS="-lws2_32 $LIBS" 
     2791 
     2792fi 
     2793 
     2794 
     2795echo "$as_me:$LINENO: checking for puts in -lole32" >&5 
     2796echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 
     2797if test "${ac_cv_lib_ole32_puts+set}" = set; then 
     2798  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2799else 
     2800  ac_check_lib_save_LIBS=$LIBS 
     2801LIBS="-lole32  $LIBS" 
     2802cat >conftest.$ac_ext <<_ACEOF 
     2803#line $LINENO "configure" 
     2804/* confdefs.h.  */ 
     2805_ACEOF 
     2806cat confdefs.h >>conftest.$ac_ext 
     2807cat >>conftest.$ac_ext <<_ACEOF 
     2808/* end confdefs.h.  */ 
     2809 
     2810/* Override any gcc2 internal prototype to avoid an error.  */ 
     2811#ifdef __cplusplus 
     2812extern "C" 
     2813#endif 
     2814/* We use char because int might match the return type of a gcc2 
     2815   builtin and then its argument prototype would still apply.  */ 
     2816char puts (); 
     2817int 
     2818main () 
     2819{ 
     2820puts (); 
     2821  ; 
     2822  return 0; 
     2823} 
     2824_ACEOF 
     2825rm -f conftest.$ac_objext conftest$ac_exeext 
     2826if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2827  (eval $ac_link) 2>&5 
     2828  ac_status=$? 
     2829  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2830  (exit $ac_status); } && 
     2831         { ac_try='test -s conftest$ac_exeext' 
     2832  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2833  (eval $ac_try) 2>&5 
     2834  ac_status=$? 
     2835  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2836  (exit $ac_status); }; }; then 
     2837  ac_cv_lib_ole32_puts=yes 
     2838else 
     2839  echo "$as_me: failed program was:" >&5 
     2840sed 's/^/| /' conftest.$ac_ext >&5 
     2841 
     2842ac_cv_lib_ole32_puts=no 
     2843fi 
     2844rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2845LIBS=$ac_check_lib_save_LIBS 
     2846fi 
     2847echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 
     2848echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 
     2849if test $ac_cv_lib_ole32_puts = yes; then 
     2850  cat >>confdefs.h <<_ACEOF 
     2851#define HAVE_LIBOLE32 1 
     2852_ACEOF 
     2853 
     2854  LIBS="-lole32 $LIBS" 
     2855 
     2856fi 
     2857 
     2858 
     2859echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 
     2860echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 
     2861if test "${ac_cv_lib_winmm_puts+set}" = set; then 
     2862  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2863else 
     2864  ac_check_lib_save_LIBS=$LIBS 
     2865LIBS="-lwinmm  $LIBS" 
     2866cat >conftest.$ac_ext <<_ACEOF 
     2867#line $LINENO "configure" 
     2868/* confdefs.h.  */ 
     2869_ACEOF 
     2870cat confdefs.h >>conftest.$ac_ext 
     2871cat >>conftest.$ac_ext <<_ACEOF 
     2872/* end confdefs.h.  */ 
     2873 
     2874/* Override any gcc2 internal prototype to avoid an error.  */ 
     2875#ifdef __cplusplus 
     2876extern "C" 
     2877#endif 
     2878/* We use char because int might match the return type of a gcc2 
     2879   builtin and then its argument prototype would still apply.  */ 
     2880char puts (); 
     2881int 
     2882main () 
     2883{ 
     2884puts (); 
     2885  ; 
     2886  return 0; 
     2887} 
     2888_ACEOF 
     2889rm -f conftest.$ac_objext conftest$ac_exeext 
     2890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2891  (eval $ac_link) 2>&5 
     2892  ac_status=$? 
     2893  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2894  (exit $ac_status); } && 
     2895         { ac_try='test -s conftest$ac_exeext' 
     2896  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2897  (eval $ac_try) 2>&5 
     2898  ac_status=$? 
     2899  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2900  (exit $ac_status); }; }; then 
     2901  ac_cv_lib_winmm_puts=yes 
     2902else 
     2903  echo "$as_me: failed program was:" >&5 
     2904sed 's/^/| /' conftest.$ac_ext >&5 
     2905 
     2906ac_cv_lib_winmm_puts=no 
     2907fi 
     2908rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2909LIBS=$ac_check_lib_save_LIBS 
     2910fi 
     2911echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 
     2912echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 
     2913if test $ac_cv_lib_winmm_puts = yes; then 
     2914  cat >>confdefs.h <<_ACEOF 
     2915#define HAVE_LIBWINMM 1 
     2916_ACEOF 
     2917 
     2918  LIBS="-lwinmm $LIBS" 
     2919 
     2920fi 
     2921 
     2922 
     2923echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 
     2924echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 
     2925if test "${ac_cv_lib_socket_puts+set}" = set; then 
     2926  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2927else 
     2928  ac_check_lib_save_LIBS=$LIBS 
     2929LIBS="-lsocket  $LIBS" 
     2930cat >conftest.$ac_ext <<_ACEOF 
     2931#line $LINENO "configure" 
     2932/* confdefs.h.  */ 
     2933_ACEOF 
     2934cat confdefs.h >>conftest.$ac_ext 
     2935cat >>conftest.$ac_ext <<_ACEOF 
     2936/* end confdefs.h.  */ 
     2937 
     2938/* Override any gcc2 internal prototype to avoid an error.  */ 
     2939#ifdef __cplusplus 
     2940extern "C" 
     2941#endif 
     2942/* We use char because int might match the return type of a gcc2 
     2943   builtin and then its argument prototype would still apply.  */ 
     2944char puts (); 
     2945int 
     2946main () 
     2947{ 
     2948puts (); 
     2949  ; 
     2950  return 0; 
     2951} 
     2952_ACEOF 
     2953rm -f conftest.$ac_objext conftest$ac_exeext 
     2954if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2955  (eval $ac_link) 2>&5 
     2956  ac_status=$? 
     2957  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2958  (exit $ac_status); } && 
     2959         { ac_try='test -s conftest$ac_exeext' 
     2960  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2961  (eval $ac_try) 2>&5 
     2962  ac_status=$? 
     2963  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2964  (exit $ac_status); }; }; then 
     2965  ac_cv_lib_socket_puts=yes 
     2966else 
     2967  echo "$as_me: failed program was:" >&5 
     2968sed 's/^/| /' conftest.$ac_ext >&5 
     2969 
     2970ac_cv_lib_socket_puts=no 
     2971fi 
     2972rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     2973LIBS=$ac_check_lib_save_LIBS 
     2974fi 
     2975echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 
     2976echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 
     2977if test $ac_cv_lib_socket_puts = yes; then 
     2978  cat >>confdefs.h <<_ACEOF 
     2979#define HAVE_LIBSOCKET 1 
     2980_ACEOF 
     2981 
     2982  LIBS="-lsocket $LIBS" 
     2983 
     2984fi 
     2985 
     2986 
     2987echo "$as_me:$LINENO: checking for puts in -lrt" >&5 
     2988echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 
     2989if test "${ac_cv_lib_rt_puts+set}" = set; then 
     2990  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2991else 
     2992  ac_check_lib_save_LIBS=$LIBS 
     2993LIBS="-lrt  $LIBS" 
     2994cat >conftest.$ac_ext <<_ACEOF 
     2995#line $LINENO "configure" 
     2996/* confdefs.h.  */ 
     2997_ACEOF 
     2998cat confdefs.h >>conftest.$ac_ext 
     2999cat >>conftest.$ac_ext <<_ACEOF 
     3000/* end confdefs.h.  */ 
     3001 
     3002/* Override any gcc2 internal prototype to avoid an error.  */ 
     3003#ifdef __cplusplus 
     3004extern "C" 
     3005#endif 
     3006/* We use char because int might match the return type of a gcc2 
     3007   builtin and then its argument prototype would still apply.  */ 
     3008char puts (); 
     3009int 
     3010main () 
     3011{ 
     3012puts (); 
     3013  ; 
     3014  return 0; 
     3015} 
     3016_ACEOF 
     3017rm -f conftest.$ac_objext conftest$ac_exeext 
     3018if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3019  (eval $ac_link) 2>&5 
     3020  ac_status=$? 
     3021  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3022  (exit $ac_status); } && 
     3023         { ac_try='test -s conftest$ac_exeext' 
     3024  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3025  (eval $ac_try) 2>&5 
     3026  ac_status=$? 
     3027  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3028  (exit $ac_status); }; }; then 
     3029  ac_cv_lib_rt_puts=yes 
     3030else 
     3031  echo "$as_me: failed program was:" >&5 
     3032sed 's/^/| /' conftest.$ac_ext >&5 
     3033 
     3034ac_cv_lib_rt_puts=no 
     3035fi 
     3036rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3037LIBS=$ac_check_lib_save_LIBS 
     3038fi 
     3039echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 
     3040echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 
     3041if test $ac_cv_lib_rt_puts = yes; then 
     3042  cat >>confdefs.h <<_ACEOF 
     3043#define HAVE_LIBRT 1 
     3044_ACEOF 
     3045 
     3046  LIBS="-lrt $LIBS" 
     3047 
     3048fi 
     3049 
     3050 
     3051echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 
     3052echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 
     3053if test "${ac_cv_lib_nsl_puts+set}" = set; then 
     3054  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3055else 
     3056  ac_check_lib_save_LIBS=$LIBS 
     3057LIBS="-lnsl  $LIBS" 
     3058cat >conftest.$ac_ext <<_ACEOF 
     3059#line $LINENO "configure" 
     3060/* confdefs.h.  */ 
     3061_ACEOF 
     3062cat confdefs.h >>conftest.$ac_ext 
     3063cat >>conftest.$ac_ext <<_ACEOF 
     3064/* end confdefs.h.  */ 
     3065 
     3066/* Override any gcc2 internal prototype to avoid an error.  */ 
     3067#ifdef __cplusplus 
     3068extern "C" 
     3069#endif 
     3070/* We use char because int might match the return type of a gcc2 
     3071   builtin and then its argument prototype would still apply.  */ 
     3072char puts (); 
     3073int 
     3074main () 
     3075{ 
     3076puts (); 
     3077  ; 
     3078  return 0; 
     3079} 
     3080_ACEOF 
     3081rm -f conftest.$ac_objext conftest$ac_exeext 
     3082if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3083  (eval $ac_link) 2>&5 
     3084  ac_status=$? 
     3085  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3086  (exit $ac_status); } && 
     3087         { ac_try='test -s conftest$ac_exeext' 
     3088  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3089  (eval $ac_try) 2>&5 
     3090  ac_status=$? 
     3091  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3092  (exit $ac_status); }; }; then 
     3093  ac_cv_lib_nsl_puts=yes 
     3094else 
     3095  echo "$as_me: failed program was:" >&5 
     3096sed 's/^/| /' conftest.$ac_ext >&5 
     3097 
     3098ac_cv_lib_nsl_puts=no 
     3099fi 
     3100rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     3101LIBS=$ac_check_lib_save_LIBS 
     3102fi 
     3103echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 
     3104echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 
     3105if test $ac_cv_lib_nsl_puts = yes; then 
     3106  cat >>confdefs.h <<_ACEOF 
     3107#define HAVE_LIBNSL 1 
     3108_ACEOF 
     3109 
     3110  LIBS="-lnsl $LIBS" 
     3111 
     3112fi 
     3113 
     3114 
     3115echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 
    21153116echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 
    2116 cat >>confdefs.h <<EOF 
     3117cat >>confdefs.h <<_ACEOF 
    21173118#define PJ_M_NAME "$target_cpu" 
    2118 EOF 
    2119  
    2120 echo "$as_me:2120: checking whether byte ordering is bigendian" >&5 
     3119_ACEOF 
     3120 
     3121 
     3122echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 
    21213123echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 
    21223124if test "${ac_cv_c_bigendian+set}" = set; then 
    21233125  echo $ECHO_N "(cached) $ECHO_C" >&6 
    21243126else 
    2125   ac_cv_c_bigendian=unknown 
    2126 # See if sys/param.h defines the BYTE_ORDER macro. 
     3127  # See if sys/param.h defines the BYTE_ORDER macro. 
    21273128cat >conftest.$ac_ext <<_ACEOF 
    2128 #line 2128 "configure" 
    2129 #include "confdefs.h" 
     3129#line $LINENO "configure" 
     3130/* confdefs.h.  */ 
     3131_ACEOF 
     3132cat confdefs.h >>conftest.$ac_ext 
     3133cat >>conftest.$ac_ext <<_ACEOF 
     3134/* end confdefs.h.  */ 
    21303135#include <sys/types.h> 
    21313136#include <sys/param.h> 
     
    21433148_ACEOF 
    21443149rm -f conftest.$ac_objext 
    2145 if { (eval echo "$as_me:2145: \"$ac_compile\"") >&5 
     3150if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    21463151  (eval $ac_compile) 2>&5 
    21473152  ac_status=$? 
    2148   echo "$as_me:2148: \$? = $ac_status" >&5 
     3153  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21493154  (exit $ac_status); } && 
    21503155         { ac_try='test -s conftest.$ac_objext' 
    2151   { (eval echo "$as_me:2151: \"$ac_try\"") >&5 
     3156  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    21523157  (eval $ac_try) 2>&5 
    21533158  ac_status=$? 
    2154   echo "$as_me:2154: \$? = $ac_status" >&5 
     3159  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21553160  (exit $ac_status); }; }; then 
    21563161  # It does; now see whether it defined to BIG_ENDIAN or not. 
    21573162cat >conftest.$ac_ext <<_ACEOF 
    2158 #line 2158 "configure" 
    2159 #include "confdefs.h" 
     3163#line $LINENO "configure" 
     3164/* confdefs.h.  */ 
     3165_ACEOF 
     3166cat confdefs.h >>conftest.$ac_ext 
     3167cat >>conftest.$ac_ext <<_ACEOF 
     3168/* end confdefs.h.  */ 
    21603169#include <sys/types.h> 
    21613170#include <sys/param.h> 
     
    21733182_ACEOF 
    21743183rm -f conftest.$ac_objext 
    2175 if { (eval echo "$as_me:2175: \"$ac_compile\"") >&5 
     3184if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    21763185  (eval $ac_compile) 2>&5 
    21773186  ac_status=$? 
    2178   echo "$as_me:2178: \$? = $ac_status" >&5 
     3187  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21793188  (exit $ac_status); } && 
    21803189         { ac_try='test -s conftest.$ac_objext' 
    2181   { (eval echo "$as_me:2181: \"$ac_try\"") >&5 
     3190  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    21823191  (eval $ac_try) 2>&5 
    21833192  ac_status=$? 
    2184   echo "$as_me:2184: \$? = $ac_status" >&5 
     3193  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21853194  (exit $ac_status); }; }; then 
    21863195  ac_cv_c_bigendian=yes 
    21873196else 
    21883197  echo "$as_me: failed program was:" >&5 
    2189 cat conftest.$ac_ext >&5 
     3198sed 's/^/| /' conftest.$ac_ext >&5 
     3199 
    21903200ac_cv_c_bigendian=no 
    21913201fi 
     
    21933203else 
    21943204  echo "$as_me: failed program was:" >&5 
    2195 cat conftest.$ac_ext >&5 
     3205sed 's/^/| /' conftest.$ac_ext >&5 
     3206 
     3207# It does not; compile a test program. 
     3208if test "$cross_compiling" = yes; then 
     3209  # try to guess the endianness by grepping values into an object file 
     3210  ac_cv_c_bigendian=unknown 
     3211  cat >conftest.$ac_ext <<_ACEOF 
     3212#line $LINENO "configure" 
     3213/* confdefs.h.  */ 
     3214_ACEOF 
     3215cat confdefs.h >>conftest.$ac_ext 
     3216cat >>conftest.$ac_ext <<_ACEOF 
     3217/* end confdefs.h.  */ 
     3218short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 
     3219short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 
     3220void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 
     3221short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 
     3222short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 
     3223void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 
     3224int 
     3225main () 
     3226{ 
     3227 _ascii (); _ebcdic (); 
     3228  ; 
     3229  return 0; 
     3230} 
     3231_ACEOF 
     3232rm -f conftest.$ac_objext 
     3233if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3234  (eval $ac_compile) 2>&5 
     3235  ac_status=$? 
     3236  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3237  (exit $ac_status); } && 
     3238         { ac_try='test -s conftest.$ac_objext' 
     3239  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3240  (eval $ac_try) 2>&5 
     3241  ac_status=$? 
     3242  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3243  (exit $ac_status); }; }; then 
     3244  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 
     3245  ac_cv_c_bigendian=yes 
     3246fi 
     3247if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 
     3248  if test "$ac_cv_c_bigendian" = unknown; then 
     3249    ac_cv_c_bigendian=no 
     3250  else 
     3251    # finding both strings is unlikely to happen, but who knows? 
     3252    ac_cv_c_bigendian=unknown 
     3253  fi 
     3254fi 
     3255else 
     3256  echo "$as_me: failed program was:" >&5 
     3257sed 's/^/| /' conftest.$ac_ext >&5 
     3258 
    21963259fi 
    21973260rm -f conftest.$ac_objext conftest.$ac_ext 
    2198 if test $ac_cv_c_bigendian = unknown; then 
    2199 if test "$cross_compiling" = yes; then 
    2200   { { echo "$as_me:2200: error: cannot run test program while cross compiling" >&5 
    2201 echo "$as_me: error: cannot run test program while cross compiling" >&2;} 
    2202    { (exit 1); exit 1; }; } 
    22033261else 
    22043262  cat >conftest.$ac_ext <<_ACEOF 
    2205 #line 2205 "configure" 
    2206 #include "confdefs.h" 
     3263#line $LINENO "configure" 
     3264/* confdefs.h.  */ 
     3265_ACEOF 
     3266cat confdefs.h >>conftest.$ac_ext 
     3267cat >>conftest.$ac_ext <<_ACEOF 
     3268/* end confdefs.h.  */ 
    22073269int 
    22083270main () 
     
    22193281_ACEOF 
    22203282rm -f conftest$ac_exeext 
    2221 if { (eval echo "$as_me:2221: \"$ac_link\"") >&5 
     3283if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    22223284  (eval $ac_link) 2>&5 
    22233285  ac_status=$? 
    2224   echo "$as_me:2224: \$? = $ac_status" >&5 
     3286  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22253287  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
    2226   { (eval echo "$as_me:2226: \"$ac_try\"") >&5 
     3288  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    22273289  (eval $ac_try) 2>&5 
    22283290  ac_status=$? 
    2229   echo "$as_me:2229: \$? = $ac_status" >&5 
     3291  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22303292  (exit $ac_status); }; }; then 
    22313293  ac_cv_c_bigendian=no 
     
    22333295  echo "$as_me: program exited with status $ac_status" >&5 
    22343296echo "$as_me: failed program was:" >&5 
    2235 cat conftest.$ac_ext >&5 
     3297sed 's/^/| /' conftest.$ac_ext >&5 
     3298 
     3299( exit $ac_status ) 
    22363300ac_cv_c_bigendian=yes 
    22373301fi 
    2238 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
    2239 fi 
    2240 fi 
    2241 fi 
    2242 echo "$as_me:2242: result: $ac_cv_c_bigendian" >&5 
     3302rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     3303fi 
     3304fi 
     3305rm -f conftest.$ac_objext conftest.$ac_ext 
     3306fi 
     3307echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 
    22433308echo "${ECHO_T}$ac_cv_c_bigendian" >&6 
    2244 if test $ac_cv_c_bigendian = yes; then 
    2245  
    2246 cat >>confdefs.h <<\EOF 
     3309case $ac_cv_c_bigendian in 
     3310  yes) 
     3311 
     3312cat >>confdefs.h <<\_ACEOF 
    22473313#define WORDS_BIGENDIAN 1 
    2248 EOF 
    2249  
    2250 fi 
     3314_ACEOF 
     3315 ;; 
     3316  no) 
     3317     ;; 
     3318  *) 
     3319    { { echo "$as_me:$LINENO: error: unknown endianness 
     3320presetting ac_cv_c_bigendian=no (or yes) will help" >&5 
     3321echo "$as_me: error: unknown endianness 
     3322presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 
     3323   { (exit 1); exit 1; }; } ;; 
     3324esac 
     3325 
     3326 
     3327case $target in 
     3328    *mingw* | *cygw* | *win32* | *w32* ) 
     3329        cat >>confdefs.h <<\_ACEOF 
     3330#define PJ_WIN32 1 
     3331_ACEOF 
     3332 
     3333        cat >>confdefs.h <<\_ACEOF 
     3334#define PJ_WIN32_WINNT 0x0400 
     3335_ACEOF 
     3336 
     3337        cat >>confdefs.h <<\_ACEOF 
     3338#define WIN32_LEAN_AND_MEAN 1 
     3339_ACEOF 
     3340 
     3341        ;; 
     3342    *darwin*) 
     3343        cat >>confdefs.h <<\_ACEOF 
     3344#define PJ_DARWINOS 1 
     3345_ACEOF 
     3346 
     3347        ;; 
     3348    *linux*) 
     3349        cat >>confdefs.h <<\_ACEOF 
     3350#define PJ_LINUX 1 
     3351_ACEOF 
     3352 
     3353        ;; 
     3354    *rtems*) 
     3355        cat >>confdefs.h <<\_ACEOF 
     3356#define PJ_RTEMS 1 
     3357_ACEOF 
     3358 
     3359        ;; 
     3360    *sunos* | *solaris* ) 
     3361        cat >>confdefs.h <<\_ACEOF 
     3362#define PJ_SUNOS 1 
     3363_ACEOF 
     3364 
     3365        ;; 
     3366    *) 
     3367        ;; 
     3368esac 
     3369 
     3370 
     3371 
    22513372 
    22523373# Check whether --enable-floating-point or --disable-floating-point was given. 
     
    22543375  enableval="$enable_floating_point" 
    22553376  if test "$enable_floating_point" = "no"; then 
    2256                 cat >>confdefs.h <<\EOF 
     3377                cat >>confdefs.h <<\_ACEOF 
    22573378#define PJ_HAS_FLOATING_POINT 0 
    2258 EOF 
    2259  
    2260                 echo "$as_me:2260: result: Checking if floating point is disabled... yes" >&5 
     3379_ACEOF 
     3380 
     3381                echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 
    22613382echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 
    22623383               fi 
    22633384else 
    22643385 
    2265                 cat >>confdefs.h <<\EOF 
     3386                cat >>confdefs.h <<\_ACEOF 
    22663387#define PJ_HAS_FLOATING_POINT 1 
    2267 EOF 
    2268  
    2269                 echo "$as_me:2269: result: Checking if floating point is disabled... no" >&5 
     3388_ACEOF 
     3389 
     3390                echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 
    22703391echo "${ECHO_T}Checking if floating point is disabled... no" >&6 
    22713392 
    2272 echo "$as_me:2272: checking for fmod in -lm" >&5 
     3393echo "$as_me:$LINENO: checking for fmod in -lm" >&5 
    22733394echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 
    22743395if test "${ac_cv_lib_m_fmod+set}" = set; then 
     
    22783399LIBS="-lm  $LIBS" 
    22793400cat >conftest.$ac_ext <<_ACEOF 
    2280 #line 2280 "configure" 
    2281 #include "confdefs.h" 
     3401#line $LINENO "configure" 
     3402/* confdefs.h.  */ 
     3403_ACEOF 
     3404cat confdefs.h >>conftest.$ac_ext 
     3405cat >>conftest.$ac_ext <<_ACEOF 
     3406/* end confdefs.h.  */ 
    22823407 
    22833408/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    22973422_ACEOF 
    22983423rm -f conftest.$ac_objext conftest$ac_exeext 
    2299 if { (eval echo "$as_me:2299: \"$ac_link\"") >&5 
     3424if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    23003425  (eval $ac_link) 2>&5 
    23013426  ac_status=$? 
    2302   echo "$as_me:2302: \$? = $ac_status" >&5 
     3427  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23033428  (exit $ac_status); } && 
    23043429         { ac_try='test -s conftest$ac_exeext' 
    2305   { (eval echo "$as_me:2305: \"$ac_try\"") >&5 
     3430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    23063431  (eval $ac_try) 2>&5 
    23073432  ac_status=$? 
    2308   echo "$as_me:2308: \$? = $ac_status" >&5 
     3433  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23093434  (exit $ac_status); }; }; then 
    23103435  ac_cv_lib_m_fmod=yes 
    23113436else 
    23123437  echo "$as_me: failed program was:" >&5 
    2313 cat conftest.$ac_ext >&5 
     3438sed 's/^/| /' conftest.$ac_ext >&5 
     3439 
    23143440ac_cv_lib_m_fmod=no 
    23153441fi 
     
    23173443LIBS=$ac_check_lib_save_LIBS 
    23183444fi 
    2319 echo "$as_me:2319: result: $ac_cv_lib_m_fmod" >&5 
     3445echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 
    23203446echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 
    23213447if test $ac_cv_lib_m_fmod = yes; then 
    2322   cat >>confdefs.h <<EOF 
     3448  cat >>confdefs.h <<_ACEOF 
    23233449#define HAVE_LIBM 1 
    2324 EOF 
     3450_ACEOF 
    23253451 
    23263452  LIBS="-lm $LIBS" 
     
    23283454fi 
    23293455 
     3456 
    23303457fi; 
     3458 
    23313459 
    23323460ac_ext=c 
     
    23353463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    23363464ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    2337 echo "$as_me:2337: checking how to run the C preprocessor" >&5 
     3465echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    23383466echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
    23393467# On Suns, sometimes $CPP names a directory. 
     
    23563484  # not just through cpp. "Syntax error" is here to catch this case. 
    23573485  cat >conftest.$ac_ext <<_ACEOF 
    2358 #line 2358 "configure" 
    2359 #include "confdefs.h" 
     3486#line $LINENO "configure" 
     3487/* confdefs.h.  */ 
     3488_ACEOF 
     3489cat confdefs.h >>conftest.$ac_ext 
     3490cat >>conftest.$ac_ext <<_ACEOF 
     3491/* end confdefs.h.  */ 
    23603492#include <assert.h> 
    23613493                     Syntax error 
    23623494_ACEOF 
    2363 if { (eval echo "$as_me:2363: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3495if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    23643496  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    23653497  ac_status=$? 
    2366   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3498  grep -v '^ *+' conftest.er1 >conftest.err 
    23673499  rm -f conftest.er1 
    23683500  cat conftest.err >&5 
    2369   echo "$as_me:2369: \$? = $ac_status" >&5 
     3501  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23703502  (exit $ac_status); } >/dev/null; then 
    23713503  if test -s conftest.err; then 
     
    23813513else 
    23823514  echo "$as_me: failed program was:" >&5 
    2383   cat conftest.$ac_ext >&5 
     3515sed 's/^/| /' conftest.$ac_ext >&5 
     3516 
    23843517  # Broken: fails on valid input. 
    23853518continue 
     
    23903523  # can be detected and how. 
    23913524  cat >conftest.$ac_ext <<_ACEOF 
    2392 #line 2392 "configure" 
    2393 #include "confdefs.h" 
     3525#line $LINENO "configure" 
     3526/* confdefs.h.  */ 
     3527_ACEOF 
     3528cat confdefs.h >>conftest.$ac_ext 
     3529cat >>conftest.$ac_ext <<_ACEOF 
     3530/* end confdefs.h.  */ 
    23943531#include <ac_nonexistent.h> 
    23953532_ACEOF 
    2396 if { (eval echo "$as_me:2396: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3533if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    23973534  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    23983535  ac_status=$? 
    2399   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3536  grep -v '^ *+' conftest.er1 >conftest.err 
    24003537  rm -f conftest.er1 
    24013538  cat conftest.err >&5 
    2402   echo "$as_me:2402: \$? = $ac_status" >&5 
     3539  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    24033540  (exit $ac_status); } >/dev/null; then 
    24043541  if test -s conftest.err; then 
     
    24153552else 
    24163553  echo "$as_me: failed program was:" >&5 
    2417   cat conftest.$ac_ext >&5 
     3554sed 's/^/| /' conftest.$ac_ext >&5 
     3555 
    24183556  # Passes both tests. 
    24193557ac_preproc_ok=: 
     
    24373575  ac_cv_prog_CPP=$CPP 
    24383576fi 
    2439 echo "$as_me:2439: result: $CPP" >&5 
     3577echo "$as_me:$LINENO: result: $CPP" >&5 
    24403578echo "${ECHO_T}$CPP" >&6 
    24413579ac_preproc_ok=false 
     
    24473585  # not just through cpp. "Syntax error" is here to catch this case. 
    24483586  cat >conftest.$ac_ext <<_ACEOF 
    2449 #line 2449 "configure" 
    2450 #include "confdefs.h" 
     3587#line $LINENO "configure" 
     3588/* confdefs.h.  */ 
     3589_ACEOF 
     3590cat confdefs.h >>conftest.$ac_ext 
     3591cat >>conftest.$ac_ext <<_ACEOF 
     3592/* end confdefs.h.  */ 
    24513593#include <assert.h> 
    24523594                     Syntax error 
    24533595_ACEOF 
    2454 if { (eval echo "$as_me:2454: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3596if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    24553597  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    24563598  ac_status=$? 
    2457   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3599  grep -v '^ *+' conftest.er1 >conftest.err 
    24583600  rm -f conftest.er1 
    24593601  cat conftest.err >&5 
    2460   echo "$as_me:2460: \$? = $ac_status" >&5 
     3602  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    24613603  (exit $ac_status); } >/dev/null; then 
    24623604  if test -s conftest.err; then 
     
    24723614else 
    24733615  echo "$as_me: failed program was:" >&5 
    2474   cat conftest.$ac_ext >&5 
     3616sed 's/^/| /' conftest.$ac_ext >&5 
     3617 
    24753618  # Broken: fails on valid input. 
    24763619continue 
     
    24813624  # can be detected and how. 
    24823625  cat >conftest.$ac_ext <<_ACEOF 
    2483 #line 2483 "configure" 
    2484 #include "confdefs.h" 
     3626#line $LINENO "configure" 
     3627/* confdefs.h.  */ 
     3628_ACEOF 
     3629cat confdefs.h >>conftest.$ac_ext 
     3630cat >>conftest.$ac_ext <<_ACEOF 
     3631/* end confdefs.h.  */ 
    24853632#include <ac_nonexistent.h> 
    24863633_ACEOF 
    2487 if { (eval echo "$as_me:2487: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3634if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    24883635  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    24893636  ac_status=$? 
    2490   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3637  grep -v '^ *+' conftest.er1 >conftest.err 
    24913638  rm -f conftest.er1 
    24923639  cat conftest.err >&5 
    2493   echo "$as_me:2493: \$? = $ac_status" >&5 
     3640  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    24943641  (exit $ac_status); } >/dev/null; then 
    24953642  if test -s conftest.err; then 
     
    25063653else 
    25073654  echo "$as_me: failed program was:" >&5 
    2508   cat conftest.$ac_ext >&5 
     3655sed 's/^/| /' conftest.$ac_ext >&5 
     3656 
    25093657  # Passes both tests. 
    25103658ac_preproc_ok=: 
     
    25193667  : 
    25203668else 
    2521   { { echo "$as_me:2521: error: C preprocessor \"$CPP\" fails sanity check" >&5 
    2522 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 
     3669  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     3670See \`config.log' for more details." >&5 
     3671echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     3672See \`config.log' for more details." >&2;} 
    25233673   { (exit 1); exit 1; }; } 
    25243674fi 
     
    25303680ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    25313681 
    2532 echo "$as_me:2532: checking for arpa/inet.h" >&5 
     3682 
     3683echo "$as_me:$LINENO: checking for egrep" >&5 
     3684echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
     3685if test "${ac_cv_prog_egrep+set}" = set; then 
     3686  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3687else 
     3688  if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
     3689    then ac_cv_prog_egrep='grep -E' 
     3690    else ac_cv_prog_egrep='egrep' 
     3691    fi 
     3692fi 
     3693echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
     3694echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
     3695 EGREP=$ac_cv_prog_egrep 
     3696 
     3697 
     3698echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     3699echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
     3700if test "${ac_cv_header_stdc+set}" = set; then 
     3701  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3702else 
     3703  cat >conftest.$ac_ext <<_ACEOF 
     3704#line $LINENO "configure" 
     3705/* confdefs.h.  */ 
     3706_ACEOF 
     3707cat confdefs.h >>conftest.$ac_ext 
     3708cat >>conftest.$ac_ext <<_ACEOF 
     3709/* end confdefs.h.  */ 
     3710#include <stdlib.h> 
     3711#include <stdarg.h> 
     3712#include <string.h> 
     3713#include <float.h> 
     3714 
     3715int 
     3716main () 
     3717{ 
     3718 
     3719  ; 
     3720  return 0; 
     3721} 
     3722_ACEOF 
     3723rm -f conftest.$ac_objext 
     3724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3725  (eval $ac_compile) 2>&5 
     3726  ac_status=$? 
     3727  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3728  (exit $ac_status); } && 
     3729         { ac_try='test -s conftest.$ac_objext' 
     3730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3731  (eval $ac_try) 2>&5 
     3732  ac_status=$? 
     3733  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3734  (exit $ac_status); }; }; then 
     3735  ac_cv_header_stdc=yes 
     3736else 
     3737  echo "$as_me: failed program was:" >&5 
     3738sed 's/^/| /' conftest.$ac_ext >&5 
     3739 
     3740ac_cv_header_stdc=no 
     3741fi 
     3742rm -f conftest.$ac_objext conftest.$ac_ext 
     3743 
     3744if test $ac_cv_header_stdc = yes; then 
     3745  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
     3746  cat >conftest.$ac_ext <<_ACEOF 
     3747#line $LINENO "configure" 
     3748/* confdefs.h.  */ 
     3749_ACEOF 
     3750cat confdefs.h >>conftest.$ac_ext 
     3751cat >>conftest.$ac_ext <<_ACEOF 
     3752/* end confdefs.h.  */ 
     3753#include <string.h> 
     3754 
     3755_ACEOF 
     3756if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     3757  $EGREP "memchr" >/dev/null 2>&1; then 
     3758  : 
     3759else 
     3760  ac_cv_header_stdc=no 
     3761fi 
     3762rm -f conftest* 
     3763 
     3764fi 
     3765 
     3766if test $ac_cv_header_stdc = yes; then 
     3767  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
     3768  cat >conftest.$ac_ext <<_ACEOF 
     3769#line $LINENO "configure" 
     3770/* confdefs.h.  */ 
     3771_ACEOF 
     3772cat confdefs.h >>conftest.$ac_ext 
     3773cat >>conftest.$ac_ext <<_ACEOF 
     3774/* end confdefs.h.  */ 
     3775#include <stdlib.h> 
     3776 
     3777_ACEOF 
     3778if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     3779  $EGREP "free" >/dev/null 2>&1; then 
     3780  : 
     3781else 
     3782  ac_cv_header_stdc=no 
     3783fi 
     3784rm -f conftest* 
     3785 
     3786fi 
     3787 
     3788if test $ac_cv_header_stdc = yes; then 
     3789  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
     3790  if test "$cross_compiling" = yes; then 
     3791  : 
     3792else 
     3793  cat >conftest.$ac_ext <<_ACEOF 
     3794#line $LINENO "configure" 
     3795/* confdefs.h.  */ 
     3796_ACEOF 
     3797cat confdefs.h >>conftest.$ac_ext 
     3798cat >>conftest.$ac_ext <<_ACEOF 
     3799/* end confdefs.h.  */ 
     3800#include <ctype.h> 
     3801#if ((' ' & 0x0FF) == 0x020) 
     3802# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
     3803# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     3804#else 
     3805# define ISLOWER(c) \ 
     3806                   (('a' <= (c) && (c) <= 'i') \ 
     3807                     || ('j' <= (c) && (c) <= 'r') \ 
     3808                     || ('s' <= (c) && (c) <= 'z')) 
     3809# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
     3810#endif 
     3811 
     3812#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
     3813int 
     3814main () 
     3815{ 
     3816  int i; 
     3817  for (i = 0; i < 256; i++) 
     3818    if (XOR (islower (i), ISLOWER (i)) 
     3819        || toupper (i) != TOUPPER (i)) 
     3820      exit(2); 
     3821  exit (0); 
     3822} 
     3823_ACEOF 
     3824rm -f conftest$ac_exeext 
     3825if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3826  (eval $ac_link) 2>&5 
     3827  ac_status=$? 
     3828  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3829  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     3830  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3831  (eval $ac_try) 2>&5 
     3832  ac_status=$? 
     3833  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3834  (exit $ac_status); }; }; then 
     3835  : 
     3836else 
     3837  echo "$as_me: program exited with status $ac_status" >&5 
     3838echo "$as_me: failed program was:" >&5 
     3839sed 's/^/| /' conftest.$ac_ext >&5 
     3840 
     3841( exit $ac_status ) 
     3842ac_cv_header_stdc=no 
     3843fi 
     3844rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     3845fi 
     3846fi 
     3847fi 
     3848echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     3849echo "${ECHO_T}$ac_cv_header_stdc" >&6 
     3850if test $ac_cv_header_stdc = yes; then 
     3851 
     3852cat >>confdefs.h <<\_ACEOF 
     3853#define STDC_HEADERS 1 
     3854_ACEOF 
     3855 
     3856fi 
     3857 
     3858# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     3859 
     3860 
     3861 
     3862 
     3863 
     3864 
     3865 
     3866 
     3867 
     3868for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
     3869                  inttypes.h stdint.h unistd.h 
     3870do 
     3871as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     3872echo "$as_me:$LINENO: checking for $ac_header" >&5 
     3873echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     3874if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     3875  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3876else 
     3877  cat >conftest.$ac_ext <<_ACEOF 
     3878#line $LINENO "configure" 
     3879/* confdefs.h.  */ 
     3880_ACEOF 
     3881cat confdefs.h >>conftest.$ac_ext 
     3882cat >>conftest.$ac_ext <<_ACEOF 
     3883/* end confdefs.h.  */ 
     3884$ac_includes_default 
     3885 
     3886#include <$ac_header> 
     3887_ACEOF 
     3888rm -f conftest.$ac_objext 
     3889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3890  (eval $ac_compile) 2>&5 
     3891  ac_status=$? 
     3892  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3893  (exit $ac_status); } && 
     3894         { ac_try='test -s conftest.$ac_objext' 
     3895  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3896  (eval $ac_try) 2>&5 
     3897  ac_status=$? 
     3898  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3899  (exit $ac_status); }; }; then 
     3900  eval "$as_ac_Header=yes" 
     3901else 
     3902  echo "$as_me: failed program was:" >&5 
     3903sed 's/^/| /' conftest.$ac_ext >&5 
     3904 
     3905eval "$as_ac_Header=no" 
     3906fi 
     3907rm -f conftest.$ac_objext conftest.$ac_ext 
     3908fi 
     3909echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     3910echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     3911if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     3912  cat >>confdefs.h <<_ACEOF 
     3913#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     3914_ACEOF 
     3915 
     3916fi 
     3917 
     3918done 
     3919 
     3920 
     3921if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     3922  echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
    25333923echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 
    25343924if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
    25353925  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2536 else 
    2537   cat >conftest.$ac_ext <<_ACEOF 
    2538 #line 2538 "configure" 
    2539 #include "confdefs.h" 
     3926fi 
     3927echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
     3928echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 
     3929else 
     3930  # Is the header compilable? 
     3931echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 
     3932echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 
     3933cat >conftest.$ac_ext <<_ACEOF 
     3934#line $LINENO "configure" 
     3935/* confdefs.h.  */ 
     3936_ACEOF 
     3937cat confdefs.h >>conftest.$ac_ext 
     3938cat >>conftest.$ac_ext <<_ACEOF 
     3939/* end confdefs.h.  */ 
     3940$ac_includes_default 
    25403941#include <arpa/inet.h> 
    25413942_ACEOF 
    2542 if { (eval echo "$as_me:2542: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3943rm -f conftest.$ac_objext 
     3944if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3945  (eval $ac_compile) 2>&5 
     3946  ac_status=$? 
     3947  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3948  (exit $ac_status); } && 
     3949         { ac_try='test -s conftest.$ac_objext' 
     3950  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3951  (eval $ac_try) 2>&5 
     3952  ac_status=$? 
     3953  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3954  (exit $ac_status); }; }; then 
     3955  ac_header_compiler=yes 
     3956else 
     3957  echo "$as_me: failed program was:" >&5 
     3958sed 's/^/| /' conftest.$ac_ext >&5 
     3959 
     3960ac_header_compiler=no 
     3961fi 
     3962rm -f conftest.$ac_objext conftest.$ac_ext 
     3963echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     3964echo "${ECHO_T}$ac_header_compiler" >&6 
     3965 
     3966# Is the header present? 
     3967echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 
     3968echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 
     3969cat >conftest.$ac_ext <<_ACEOF 
     3970#line $LINENO "configure" 
     3971/* confdefs.h.  */ 
     3972_ACEOF 
     3973cat confdefs.h >>conftest.$ac_ext 
     3974cat >>conftest.$ac_ext <<_ACEOF 
     3975/* end confdefs.h.  */ 
     3976#include <arpa/inet.h> 
     3977_ACEOF 
     3978if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    25433979  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    25443980  ac_status=$? 
    2545   egrep -v '^ *\+' conftest.er1 >conftest.err 
     3981  grep -v '^ *+' conftest.er1 >conftest.err 
    25463982  rm -f conftest.er1 
    25473983  cat conftest.err >&5 
    2548   echo "$as_me:2548: \$? = $ac_status" >&5 
     3984  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25493985  (exit $ac_status); } >/dev/null; then 
    25503986  if test -s conftest.err; then 
     
    25573993fi 
    25583994if test -z "$ac_cpp_err"; then 
    2559   ac_cv_header_arpa_inet_h=yes 
     3995  ac_header_preproc=yes 
    25603996else 
    25613997  echo "$as_me: failed program was:" >&5 
    2562   cat conftest.$ac_ext >&5 
    2563   ac_cv_header_arpa_inet_h=no 
     3998sed 's/^/| /' conftest.$ac_ext >&5 
     3999 
     4000  ac_header_preproc=no 
    25644001fi 
    25654002rm -f conftest.err conftest.$ac_ext 
    2566 fi 
    2567 echo "$as_me:2567: result: $ac_cv_header_arpa_inet_h" >&5 
     4003echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4004echo "${ECHO_T}$ac_header_preproc" >&6 
     4005 
     4006# So?  What about this header? 
     4007case $ac_header_compiler:$ac_header_preproc in 
     4008  yes:no ) 
     4009    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4010echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4011    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
     4012echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
     4013    ( 
     4014      cat <<\_ASBOX 
     4015## ------------------------------------ ## 
     4016## Report this to bug-autoconf@gnu.org. ## 
     4017## ------------------------------------ ## 
     4018_ASBOX 
     4019    ) | 
     4020      sed "s/^/$as_me: WARNING:     /" >&2 
     4021    ;; 
     4022  no:yes ) 
     4023    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 
     4024echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 
     4025    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 
     4026echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 
     4027    { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 
     4028echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 
     4029    ( 
     4030      cat <<\_ASBOX 
     4031## ------------------------------------ ## 
     4032## Report this to bug-autoconf@gnu.org. ## 
     4033## ------------------------------------ ## 
     4034_ASBOX 
     4035    ) | 
     4036      sed "s/^/$as_me: WARNING:     /" >&2 
     4037    ;; 
     4038esac 
     4039echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 
     4040echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 
     4041if test "${ac_cv_header_arpa_inet_h+set}" = set; then 
     4042  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4043else 
     4044  ac_cv_header_arpa_inet_h=$ac_header_preproc 
     4045fi 
     4046echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 
    25684047echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 
     4048 
     4049fi 
    25694050if test $ac_cv_header_arpa_inet_h = yes; then 
    2570   cat >>confdefs.h <<\EOF 
     4051  cat >>confdefs.h <<\_ACEOF 
    25714052#define PJ_HAS_ARPA_INET_H 1 
    2572 EOF 
    2573  
    2574 fi 
    2575  
    2576 echo "$as_me:2576: checking for assert.h" >&5 
     4053_ACEOF 
     4054 
     4055fi 
     4056 
     4057 
     4058if test "${ac_cv_header_assert_h+set}" = set; then 
     4059  echo "$as_me:$LINENO: checking for assert.h" >&5 
    25774060echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 
    25784061if test "${ac_cv_header_assert_h+set}" = set; then 
    25794062  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2580 else 
    2581   cat >conftest.$ac_ext <<_ACEOF 
    2582 #line 2582 "configure" 
    2583 #include "confdefs.h" 
     4063fi 
     4064echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
     4065echo "${ECHO_T}$ac_cv_header_assert_h" >&6 
     4066else 
     4067  # Is the header compilable? 
     4068echo "$as_me:$LINENO: checking assert.h usability" >&5 
     4069echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 
     4070cat >conftest.$ac_ext <<_ACEOF 
     4071#line $LINENO "configure" 
     4072/* confdefs.h.  */ 
     4073_ACEOF 
     4074cat confdefs.h >>conftest.$ac_ext 
     4075cat >>conftest.$ac_ext <<_ACEOF 
     4076/* end confdefs.h.  */ 
     4077$ac_includes_default 
    25844078#include <assert.h> 
    25854079_ACEOF 
    2586 if { (eval echo "$as_me:2586: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4080rm -f conftest.$ac_objext 
     4081if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4082  (eval $ac_compile) 2>&5 
     4083  ac_status=$? 
     4084  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4085  (exit $ac_status); } && 
     4086         { ac_try='test -s conftest.$ac_objext' 
     4087  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4088  (eval $ac_try) 2>&5 
     4089  ac_status=$? 
     4090  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4091  (exit $ac_status); }; }; then 
     4092  ac_header_compiler=yes 
     4093else 
     4094  echo "$as_me: failed program was:" >&5 
     4095sed 's/^/| /' conftest.$ac_ext >&5 
     4096 
     4097ac_header_compiler=no 
     4098fi 
     4099rm -f conftest.$ac_objext conftest.$ac_ext 
     4100echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4101echo "${ECHO_T}$ac_header_compiler" >&6 
     4102 
     4103# Is the header present? 
     4104echo "$as_me:$LINENO: checking assert.h presence" >&5 
     4105echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 
     4106cat >conftest.$ac_ext <<_ACEOF 
     4107#line $LINENO "configure" 
     4108/* confdefs.h.  */ 
     4109_ACEOF 
     4110cat confdefs.h >>conftest.$ac_ext 
     4111cat >>conftest.$ac_ext <<_ACEOF 
     4112/* end confdefs.h.  */ 
     4113#include <assert.h> 
     4114_ACEOF 
     4115if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    25874116  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    25884117  ac_status=$? 
    2589   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4118  grep -v '^ *+' conftest.er1 >conftest.err 
    25904119  rm -f conftest.er1 
    25914120  cat conftest.err >&5 
    2592   echo "$as_me:2592: \$? = $ac_status" >&5 
     4121  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25934122  (exit $ac_status); } >/dev/null; then 
    25944123  if test -s conftest.err; then 
     
    26014130fi 
    26024131if test -z "$ac_cpp_err"; then 
    2603   ac_cv_header_assert_h=yes 
     4132  ac_header_preproc=yes 
    26044133else 
    26054134  echo "$as_me: failed program was:" >&5 
    2606   cat conftest.$ac_ext >&5 
    2607   ac_cv_header_assert_h=no 
     4135sed 's/^/| /' conftest.$ac_ext >&5 
     4136 
     4137  ac_header_preproc=no 
    26084138fi 
    26094139rm -f conftest.err conftest.$ac_ext 
    2610 fi 
    2611 echo "$as_me:2611: result: $ac_cv_header_assert_h" >&5 
     4140echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4141echo "${ECHO_T}$ac_header_preproc" >&6 
     4142 
     4143# So?  What about this header? 
     4144case $ac_header_compiler:$ac_header_preproc in 
     4145  yes:no ) 
     4146    { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4147echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4148    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
     4149echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
     4150    ( 
     4151      cat <<\_ASBOX 
     4152## ------------------------------------ ## 
     4153## Report this to bug-autoconf@gnu.org. ## 
     4154## ------------------------------------ ## 
     4155_ASBOX 
     4156    ) | 
     4157      sed "s/^/$as_me: WARNING:     /" >&2 
     4158    ;; 
     4159  no:yes ) 
     4160    { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 
     4161echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 
     4162    { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 
     4163echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 
     4164    { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 
     4165echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 
     4166    ( 
     4167      cat <<\_ASBOX 
     4168## ------------------------------------ ## 
     4169## Report this to bug-autoconf@gnu.org. ## 
     4170## ------------------------------------ ## 
     4171_ASBOX 
     4172    ) | 
     4173      sed "s/^/$as_me: WARNING:     /" >&2 
     4174    ;; 
     4175esac 
     4176echo "$as_me:$LINENO: checking for assert.h" >&5 
     4177echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 
     4178if test "${ac_cv_header_assert_h+set}" = set; then 
     4179  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4180else 
     4181  ac_cv_header_assert_h=$ac_header_preproc 
     4182fi 
     4183echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 
    26124184echo "${ECHO_T}$ac_cv_header_assert_h" >&6 
     4185 
     4186fi 
    26134187if test $ac_cv_header_assert_h = yes; then 
    2614   cat >>confdefs.h <<\EOF 
     4188  cat >>confdefs.h <<\_ACEOF 
    26154189#define PJ_HAS_ASSERT_H 1 
    2616 EOF 
    2617  
    2618 fi 
    2619  
    2620 echo "$as_me:2620: checking for ctype.h" >&5 
     4190_ACEOF 
     4191 
     4192fi 
     4193 
     4194 
     4195if test "${ac_cv_header_ctype_h+set}" = set; then 
     4196  echo "$as_me:$LINENO: checking for ctype.h" >&5 
    26214197echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 
    26224198if test "${ac_cv_header_ctype_h+set}" = set; then 
    26234199  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2624 else 
    2625   cat >conftest.$ac_ext <<_ACEOF 
    2626 #line 2626 "configure" 
    2627 #include "confdefs.h" 
     4200fi 
     4201echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
     4202echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 
     4203else 
     4204  # Is the header compilable? 
     4205echo "$as_me:$LINENO: checking ctype.h usability" >&5 
     4206echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 
     4207cat >conftest.$ac_ext <<_ACEOF 
     4208#line $LINENO "configure" 
     4209/* confdefs.h.  */ 
     4210_ACEOF 
     4211cat confdefs.h >>conftest.$ac_ext 
     4212cat >>conftest.$ac_ext <<_ACEOF 
     4213/* end confdefs.h.  */ 
     4214$ac_includes_default 
    26284215#include <ctype.h> 
    26294216_ACEOF 
    2630 if { (eval echo "$as_me:2630: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4217rm -f conftest.$ac_objext 
     4218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4219  (eval $ac_compile) 2>&5 
     4220  ac_status=$? 
     4221  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4222  (exit $ac_status); } && 
     4223         { ac_try='test -s conftest.$ac_objext' 
     4224  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4225  (eval $ac_try) 2>&5 
     4226  ac_status=$? 
     4227  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4228  (exit $ac_status); }; }; then 
     4229  ac_header_compiler=yes 
     4230else 
     4231  echo "$as_me: failed program was:" >&5 
     4232sed 's/^/| /' conftest.$ac_ext >&5 
     4233 
     4234ac_header_compiler=no 
     4235fi 
     4236rm -f conftest.$ac_objext conftest.$ac_ext 
     4237echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4238echo "${ECHO_T}$ac_header_compiler" >&6 
     4239 
     4240# Is the header present? 
     4241echo "$as_me:$LINENO: checking ctype.h presence" >&5 
     4242echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 
     4243cat >conftest.$ac_ext <<_ACEOF 
     4244#line $LINENO "configure" 
     4245/* confdefs.h.  */ 
     4246_ACEOF 
     4247cat confdefs.h >>conftest.$ac_ext 
     4248cat >>conftest.$ac_ext <<_ACEOF 
     4249/* end confdefs.h.  */ 
     4250#include <ctype.h> 
     4251_ACEOF 
     4252if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    26314253  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    26324254  ac_status=$? 
    2633   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4255  grep -v '^ *+' conftest.er1 >conftest.err 
    26344256  rm -f conftest.er1 
    26354257  cat conftest.err >&5 
    2636   echo "$as_me:2636: \$? = $ac_status" >&5 
     4258  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26374259  (exit $ac_status); } >/dev/null; then 
    26384260  if test -s conftest.err; then 
     
    26454267fi 
    26464268if test -z "$ac_cpp_err"; then 
    2647   ac_cv_header_ctype_h=yes 
     4269  ac_header_preproc=yes 
    26484270else 
    26494271  echo "$as_me: failed program was:" >&5 
    2650   cat conftest.$ac_ext >&5 
    2651   ac_cv_header_ctype_h=no 
     4272sed 's/^/| /' conftest.$ac_ext >&5 
     4273 
     4274  ac_header_preproc=no 
    26524275fi 
    26534276rm -f conftest.err conftest.$ac_ext 
    2654 fi 
    2655 echo "$as_me:2655: result: $ac_cv_header_ctype_h" >&5 
     4277echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4278echo "${ECHO_T}$ac_header_preproc" >&6 
     4279 
     4280# So?  What about this header? 
     4281case $ac_header_compiler:$ac_header_preproc in 
     4282  yes:no ) 
     4283    { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4284echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4285    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
     4286echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
     4287    ( 
     4288      cat <<\_ASBOX 
     4289## ------------------------------------ ## 
     4290## Report this to bug-autoconf@gnu.org. ## 
     4291## ------------------------------------ ## 
     4292_ASBOX 
     4293    ) | 
     4294      sed "s/^/$as_me: WARNING:     /" >&2 
     4295    ;; 
     4296  no:yes ) 
     4297    { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 
     4298echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 
     4299    { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 
     4300echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 
     4301    { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 
     4302echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 
     4303    ( 
     4304      cat <<\_ASBOX 
     4305## ------------------------------------ ## 
     4306## Report this to bug-autoconf@gnu.org. ## 
     4307## ------------------------------------ ## 
     4308_ASBOX 
     4309    ) | 
     4310      sed "s/^/$as_me: WARNING:     /" >&2 
     4311    ;; 
     4312esac 
     4313echo "$as_me:$LINENO: checking for ctype.h" >&5 
     4314echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 
     4315if test "${ac_cv_header_ctype_h+set}" = set; then 
     4316  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4317else 
     4318  ac_cv_header_ctype_h=$ac_header_preproc 
     4319fi 
     4320echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 
    26564321echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 
     4322 
     4323fi 
    26574324if test $ac_cv_header_ctype_h = yes; then 
    2658   cat >>confdefs.h <<\EOF 
     4325  cat >>confdefs.h <<\_ACEOF 
    26594326#define PJ_HAS_CTYPE_H 1 
    2660 EOF 
    2661  
    2662 fi 
    2663  
    2664 echo "$as_me:2664: checking for errno.h" >&5 
     4327_ACEOF 
     4328 
     4329fi 
     4330 
     4331 
     4332 
     4333case $target in 
     4334    *mingw* | *cygw* | *win32* | *w32* ) 
     4335        cat >>confdefs.h <<\_ACEOF 
     4336#define PJ_HAS_ERRNO_H 0 
     4337_ACEOF 
     4338 
     4339        ;; 
     4340    *) 
     4341        if test "${ac_cv_header_errno_h+set}" = set; then 
     4342  echo "$as_me:$LINENO: checking for errno.h" >&5 
    26654343echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 
    26664344if test "${ac_cv_header_errno_h+set}" = set; then 
    26674345  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2668 else 
    2669   cat >conftest.$ac_ext <<_ACEOF 
    2670 #line 2670 "configure" 
    2671 #include "confdefs.h" 
     4346fi 
     4347echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
     4348echo "${ECHO_T}$ac_cv_header_errno_h" >&6 
     4349else 
     4350  # Is the header compilable? 
     4351echo "$as_me:$LINENO: checking errno.h usability" >&5 
     4352echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 
     4353cat >conftest.$ac_ext <<_ACEOF 
     4354#line $LINENO "configure" 
     4355/* confdefs.h.  */ 
     4356_ACEOF 
     4357cat confdefs.h >>conftest.$ac_ext 
     4358cat >>conftest.$ac_ext <<_ACEOF 
     4359/* end confdefs.h.  */ 
     4360$ac_includes_default 
    26724361#include <errno.h> 
    26734362_ACEOF 
    2674 if { (eval echo "$as_me:2674: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4363rm -f conftest.$ac_objext 
     4364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4365  (eval $ac_compile) 2>&5 
     4366  ac_status=$? 
     4367  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4368  (exit $ac_status); } && 
     4369         { ac_try='test -s conftest.$ac_objext' 
     4370  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4371  (eval $ac_try) 2>&5 
     4372  ac_status=$? 
     4373  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4374  (exit $ac_status); }; }; then 
     4375  ac_header_compiler=yes 
     4376else 
     4377  echo "$as_me: failed program was:" >&5 
     4378sed 's/^/| /' conftest.$ac_ext >&5 
     4379 
     4380ac_header_compiler=no 
     4381fi 
     4382rm -f conftest.$ac_objext conftest.$ac_ext 
     4383echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4384echo "${ECHO_T}$ac_header_compiler" >&6 
     4385 
     4386# Is the header present? 
     4387echo "$as_me:$LINENO: checking errno.h presence" >&5 
     4388echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 
     4389cat >conftest.$ac_ext <<_ACEOF 
     4390#line $LINENO "configure" 
     4391/* confdefs.h.  */ 
     4392_ACEOF 
     4393cat confdefs.h >>conftest.$ac_ext 
     4394cat >>conftest.$ac_ext <<_ACEOF 
     4395/* end confdefs.h.  */ 
     4396#include <errno.h> 
     4397_ACEOF 
     4398if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    26754399  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    26764400  ac_status=$? 
    2677   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4401  grep -v '^ *+' conftest.er1 >conftest.err 
    26784402  rm -f conftest.er1 
    26794403  cat conftest.err >&5 
    2680   echo "$as_me:2680: \$? = $ac_status" >&5 
     4404  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26814405  (exit $ac_status); } >/dev/null; then 
    26824406  if test -s conftest.err; then 
     
    26894413fi 
    26904414if test -z "$ac_cpp_err"; then 
    2691   ac_cv_header_errno_h=yes 
     4415  ac_header_preproc=yes 
    26924416else 
    26934417  echo "$as_me: failed program was:" >&5 
    2694   cat conftest.$ac_ext >&5 
    2695   ac_cv_header_errno_h=no 
     4418sed 's/^/| /' conftest.$ac_ext >&5 
     4419 
     4420  ac_header_preproc=no 
    26964421fi 
    26974422rm -f conftest.err conftest.$ac_ext 
    2698 fi 
    2699 echo "$as_me:2699: result: $ac_cv_header_errno_h" >&5 
     4423echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4424echo "${ECHO_T}$ac_header_preproc" >&6 
     4425 
     4426# So?  What about this header? 
     4427case $ac_header_compiler:$ac_header_preproc in 
     4428  yes:no ) 
     4429    { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4430echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4431    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
     4432echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
     4433    ( 
     4434      cat <<\_ASBOX 
     4435## ------------------------------------ ## 
     4436## Report this to bug-autoconf@gnu.org. ## 
     4437## ------------------------------------ ## 
     4438_ASBOX 
     4439    ) | 
     4440      sed "s/^/$as_me: WARNING:     /" >&2 
     4441    ;; 
     4442  no:yes ) 
     4443    { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 
     4444echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 
     4445    { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 
     4446echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 
     4447    { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 
     4448echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 
     4449    ( 
     4450      cat <<\_ASBOX 
     4451## ------------------------------------ ## 
     4452## Report this to bug-autoconf@gnu.org. ## 
     4453## ------------------------------------ ## 
     4454_ASBOX 
     4455    ) | 
     4456      sed "s/^/$as_me: WARNING:     /" >&2 
     4457    ;; 
     4458esac 
     4459echo "$as_me:$LINENO: checking for errno.h" >&5 
     4460echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 
     4461if test "${ac_cv_header_errno_h+set}" = set; then 
     4462  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4463else 
     4464  ac_cv_header_errno_h=$ac_header_preproc 
     4465fi 
     4466echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 
    27004467echo "${ECHO_T}$ac_cv_header_errno_h" >&6 
     4468 
     4469fi 
    27014470if test $ac_cv_header_errno_h = yes; then 
    2702   cat >>confdefs.h <<\EOF 
     4471  cat >>confdefs.h <<\_ACEOF 
    27034472#define PJ_HAS_ERRNO_H 1 
    2704 EOF 
    2705  
    2706 fi 
    2707  
    2708 echo "$as_me:2708: checking for linux/socket.h" >&5 
     4473_ACEOF 
     4474 
     4475fi 
     4476 
     4477 
     4478        ;; 
     4479esac 
     4480 
     4481if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     4482  echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
    27094483echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 
    27104484if test "${ac_cv_header_linux_socket_h+set}" = set; then 
    27114485  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2712 else 
    2713   cat >conftest.$ac_ext <<_ACEOF 
    2714 #line 2714 "configure" 
    2715 #include "confdefs.h" 
     4486fi 
     4487echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
     4488echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 
     4489else 
     4490  # Is the header compilable? 
     4491echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 
     4492echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 
     4493cat >conftest.$ac_ext <<_ACEOF 
     4494#line $LINENO "configure" 
     4495/* confdefs.h.  */ 
     4496_ACEOF 
     4497cat confdefs.h >>conftest.$ac_ext 
     4498cat >>conftest.$ac_ext <<_ACEOF 
     4499/* end confdefs.h.  */ 
     4500$ac_includes_default 
    27164501#include <linux/socket.h> 
    27174502_ACEOF 
    2718 if { (eval echo "$as_me:2718: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4503rm -f conftest.$ac_objext 
     4504if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4505  (eval $ac_compile) 2>&5 
     4506  ac_status=$? 
     4507  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4508  (exit $ac_status); } && 
     4509         { ac_try='test -s conftest.$ac_objext' 
     4510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4511  (eval $ac_try) 2>&5 
     4512  ac_status=$? 
     4513  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4514  (exit $ac_status); }; }; then 
     4515  ac_header_compiler=yes 
     4516else 
     4517  echo "$as_me: failed program was:" >&5 
     4518sed 's/^/| /' conftest.$ac_ext >&5 
     4519 
     4520ac_header_compiler=no 
     4521fi 
     4522rm -f conftest.$ac_objext conftest.$ac_ext 
     4523echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4524echo "${ECHO_T}$ac_header_compiler" >&6 
     4525 
     4526# Is the header present? 
     4527echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 
     4528echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 
     4529cat >conftest.$ac_ext <<_ACEOF 
     4530#line $LINENO "configure" 
     4531/* confdefs.h.  */ 
     4532_ACEOF 
     4533cat confdefs.h >>conftest.$ac_ext 
     4534cat >>conftest.$ac_ext <<_ACEOF 
     4535/* end confdefs.h.  */ 
     4536#include <linux/socket.h> 
     4537_ACEOF 
     4538if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    27194539  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    27204540  ac_status=$? 
    2721   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4541  grep -v '^ *+' conftest.er1 >conftest.err 
    27224542  rm -f conftest.er1 
    27234543  cat conftest.err >&5 
    2724   echo "$as_me:2724: \$? = $ac_status" >&5 
     4544  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    27254545  (exit $ac_status); } >/dev/null; then 
    27264546  if test -s conftest.err; then 
     
    27334553fi 
    27344554if test -z "$ac_cpp_err"; then 
    2735   ac_cv_header_linux_socket_h=yes 
     4555  ac_header_preproc=yes 
    27364556else 
    27374557  echo "$as_me: failed program was:" >&5 
    2738   cat conftest.$ac_ext >&5 
    2739   ac_cv_header_linux_socket_h=no 
     4558sed 's/^/| /' conftest.$ac_ext >&5 
     4559 
     4560  ac_header_preproc=no 
    27404561fi 
    27414562rm -f conftest.err conftest.$ac_ext 
    2742 fi 
    2743 echo "$as_me:2743: result: $ac_cv_header_linux_socket_h" >&5 
     4563echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4564echo "${ECHO_T}$ac_header_preproc" >&6 
     4565 
     4566# So?  What about this header? 
     4567case $ac_header_compiler:$ac_header_preproc in 
     4568  yes:no ) 
     4569    { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4570echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4571    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
     4572echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
     4573    ( 
     4574      cat <<\_ASBOX 
     4575## ------------------------------------ ## 
     4576## Report this to bug-autoconf@gnu.org. ## 
     4577## ------------------------------------ ## 
     4578_ASBOX 
     4579    ) | 
     4580      sed "s/^/$as_me: WARNING:     /" >&2 
     4581    ;; 
     4582  no:yes ) 
     4583    { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 
     4584echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 
     4585    { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 
     4586echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 
     4587    { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 
     4588echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 
     4589    ( 
     4590      cat <<\_ASBOX 
     4591## ------------------------------------ ## 
     4592## Report this to bug-autoconf@gnu.org. ## 
     4593## ------------------------------------ ## 
     4594_ASBOX 
     4595    ) | 
     4596      sed "s/^/$as_me: WARNING:     /" >&2 
     4597    ;; 
     4598esac 
     4599echo "$as_me:$LINENO: checking for linux/socket.h" >&5 
     4600echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 
     4601if test "${ac_cv_header_linux_socket_h+set}" = set; then 
     4602  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4603else 
     4604  ac_cv_header_linux_socket_h=$ac_header_preproc 
     4605fi 
     4606echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 
    27444607echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 
     4608 
     4609fi 
    27454610if test $ac_cv_header_linux_socket_h = yes; then 
    2746   cat >>confdefs.h <<\EOF 
     4611  cat >>confdefs.h <<\_ACEOF 
    27474612#define PJ_HAS_LINUX_SOCKET_H 1 
    2748 EOF 
    2749  
    2750 fi 
    2751  
    2752 echo "$as_me:2752: checking for malloc.h" >&5 
     4613_ACEOF 
     4614 
     4615fi 
     4616 
     4617 
     4618if test "${ac_cv_header_malloc_h+set}" = set; then 
     4619  echo "$as_me:$LINENO: checking for malloc.h" >&5 
    27534620echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 
    27544621if test "${ac_cv_header_malloc_h+set}" = set; then 
    27554622  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2756 else 
    2757   cat >conftest.$ac_ext <<_ACEOF 
    2758 #line 2758 "configure" 
    2759 #include "confdefs.h" 
     4623fi 
     4624echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
     4625echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 
     4626else 
     4627  # Is the header compilable? 
     4628echo "$as_me:$LINENO: checking malloc.h usability" >&5 
     4629echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 
     4630cat >conftest.$ac_ext <<_ACEOF 
     4631#line $LINENO "configure" 
     4632/* confdefs.h.  */ 
     4633_ACEOF 
     4634cat confdefs.h >>conftest.$ac_ext 
     4635cat >>conftest.$ac_ext <<_ACEOF 
     4636/* end confdefs.h.  */ 
     4637$ac_includes_default 
    27604638#include <malloc.h> 
    27614639_ACEOF 
    2762 if { (eval echo "$as_me:2762: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4640rm -f conftest.$ac_objext 
     4641if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4642  (eval $ac_compile) 2>&5 
     4643  ac_status=$? 
     4644  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4645  (exit $ac_status); } && 
     4646         { ac_try='test -s conftest.$ac_objext' 
     4647  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4648  (eval $ac_try) 2>&5 
     4649  ac_status=$? 
     4650  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4651  (exit $ac_status); }; }; then 
     4652  ac_header_compiler=yes 
     4653else 
     4654  echo "$as_me: failed program was:" >&5 
     4655sed 's/^/| /' conftest.$ac_ext >&5 
     4656 
     4657ac_header_compiler=no 
     4658fi 
     4659rm -f conftest.$ac_objext conftest.$ac_ext 
     4660echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4661echo "${ECHO_T}$ac_header_compiler" >&6 
     4662 
     4663# Is the header present? 
     4664echo "$as_me:$LINENO: checking malloc.h presence" >&5 
     4665echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 
     4666cat >conftest.$ac_ext <<_ACEOF 
     4667#line $LINENO "configure" 
     4668/* confdefs.h.  */ 
     4669_ACEOF 
     4670cat confdefs.h >>conftest.$ac_ext 
     4671cat >>conftest.$ac_ext <<_ACEOF 
     4672/* end confdefs.h.  */ 
     4673#include <malloc.h> 
     4674_ACEOF 
     4675if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    27634676  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    27644677  ac_status=$? 
    2765   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4678  grep -v '^ *+' conftest.er1 >conftest.err 
    27664679  rm -f conftest.er1 
    27674680  cat conftest.err >&5 
    2768   echo "$as_me:2768: \$? = $ac_status" >&5 
     4681  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    27694682  (exit $ac_status); } >/dev/null; then 
    27704683  if test -s conftest.err; then 
     
    27774690fi 
    27784691if test -z "$ac_cpp_err"; then 
    2779   ac_cv_header_malloc_h=yes 
     4692  ac_header_preproc=yes 
    27804693else 
    27814694  echo "$as_me: failed program was:" >&5 
    2782   cat conftest.$ac_ext >&5 
    2783   ac_cv_header_malloc_h=no 
     4695sed 's/^/| /' conftest.$ac_ext >&5 
     4696 
     4697  ac_header_preproc=no 
    27844698fi 
    27854699rm -f conftest.err conftest.$ac_ext 
    2786 fi 
    2787 echo "$as_me:2787: result: $ac_cv_header_malloc_h" >&5 
     4700echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4701echo "${ECHO_T}$ac_header_preproc" >&6 
     4702 
     4703# So?  What about this header? 
     4704case $ac_header_compiler:$ac_header_preproc in 
     4705  yes:no ) 
     4706    { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4707echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4708    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
     4709echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
     4710    ( 
     4711      cat <<\_ASBOX 
     4712## ------------------------------------ ## 
     4713## Report this to bug-autoconf@gnu.org. ## 
     4714## ------------------------------------ ## 
     4715_ASBOX 
     4716    ) | 
     4717      sed "s/^/$as_me: WARNING:     /" >&2 
     4718    ;; 
     4719  no:yes ) 
     4720    { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 
     4721echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 
     4722    { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 
     4723echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 
     4724    { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 
     4725echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 
     4726    ( 
     4727      cat <<\_ASBOX 
     4728## ------------------------------------ ## 
     4729## Report this to bug-autoconf@gnu.org. ## 
     4730## ------------------------------------ ## 
     4731_ASBOX 
     4732    ) | 
     4733      sed "s/^/$as_me: WARNING:     /" >&2 
     4734    ;; 
     4735esac 
     4736echo "$as_me:$LINENO: checking for malloc.h" >&5 
     4737echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 
     4738if test "${ac_cv_header_malloc_h+set}" = set; then 
     4739  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4740else 
     4741  ac_cv_header_malloc_h=$ac_header_preproc 
     4742fi 
     4743echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 
    27884744echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 
     4745 
     4746fi 
    27894747if test $ac_cv_header_malloc_h = yes; then 
    2790   cat >>confdefs.h <<\EOF 
     4748  cat >>confdefs.h <<\_ACEOF 
    27914749#define PJ_HAS_MALLOC_H 1 
    2792 EOF 
    2793  
    2794 fi 
    2795  
    2796 echo "$as_me:2796: checking for netdb.h" >&5 
     4750_ACEOF 
     4751 
     4752fi 
     4753 
     4754 
     4755if test "${ac_cv_header_netdb_h+set}" = set; then 
     4756  echo "$as_me:$LINENO: checking for netdb.h" >&5 
    27974757echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 
    27984758if test "${ac_cv_header_netdb_h+set}" = set; then 
    27994759  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2800 else 
    2801   cat >conftest.$ac_ext <<_ACEOF 
    2802 #line 2802 "configure" 
    2803 #include "confdefs.h" 
     4760fi 
     4761echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
     4762echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 
     4763else 
     4764  # Is the header compilable? 
     4765echo "$as_me:$LINENO: checking netdb.h usability" >&5 
     4766echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 
     4767cat >conftest.$ac_ext <<_ACEOF 
     4768#line $LINENO "configure" 
     4769/* confdefs.h.  */ 
     4770_ACEOF 
     4771cat confdefs.h >>conftest.$ac_ext 
     4772cat >>conftest.$ac_ext <<_ACEOF 
     4773/* end confdefs.h.  */ 
     4774$ac_includes_default 
    28044775#include <netdb.h> 
    28054776_ACEOF 
    2806 if { (eval echo "$as_me:2806: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4777rm -f conftest.$ac_objext 
     4778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4779  (eval $ac_compile) 2>&5 
     4780  ac_status=$? 
     4781  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4782  (exit $ac_status); } && 
     4783         { ac_try='test -s conftest.$ac_objext' 
     4784  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4785  (eval $ac_try) 2>&5 
     4786  ac_status=$? 
     4787  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4788  (exit $ac_status); }; }; then 
     4789  ac_header_compiler=yes 
     4790else 
     4791  echo "$as_me: failed program was:" >&5 
     4792sed 's/^/| /' conftest.$ac_ext >&5 
     4793 
     4794ac_header_compiler=no 
     4795fi 
     4796rm -f conftest.$ac_objext conftest.$ac_ext 
     4797echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4798echo "${ECHO_T}$ac_header_compiler" >&6 
     4799 
     4800# Is the header present? 
     4801echo "$as_me:$LINENO: checking netdb.h presence" >&5 
     4802echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 
     4803cat >conftest.$ac_ext <<_ACEOF 
     4804#line $LINENO "configure" 
     4805/* confdefs.h.  */ 
     4806_ACEOF 
     4807cat confdefs.h >>conftest.$ac_ext 
     4808cat >>conftest.$ac_ext <<_ACEOF 
     4809/* end confdefs.h.  */ 
     4810#include <netdb.h> 
     4811_ACEOF 
     4812if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    28074813  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    28084814  ac_status=$? 
    2809   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4815  grep -v '^ *+' conftest.er1 >conftest.err 
    28104816  rm -f conftest.er1 
    28114817  cat conftest.err >&5 
    2812   echo "$as_me:2812: \$? = $ac_status" >&5 
     4818  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28134819  (exit $ac_status); } >/dev/null; then 
    28144820  if test -s conftest.err; then 
     
    28214827fi 
    28224828if test -z "$ac_cpp_err"; then 
    2823   ac_cv_header_netdb_h=yes 
     4829  ac_header_preproc=yes 
    28244830else 
    28254831  echo "$as_me: failed program was:" >&5 
    2826   cat conftest.$ac_ext >&5 
    2827   ac_cv_header_netdb_h=no 
     4832sed 's/^/| /' conftest.$ac_ext >&5 
     4833 
     4834  ac_header_preproc=no 
    28284835fi 
    28294836rm -f conftest.err conftest.$ac_ext 
    2830 fi 
    2831 echo "$as_me:2831: result: $ac_cv_header_netdb_h" >&5 
     4837echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4838echo "${ECHO_T}$ac_header_preproc" >&6 
     4839 
     4840# So?  What about this header? 
     4841case $ac_header_compiler:$ac_header_preproc in 
     4842  yes:no ) 
     4843    { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4844echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4845    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
     4846echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
     4847    ( 
     4848      cat <<\_ASBOX 
     4849## ------------------------------------ ## 
     4850## Report this to bug-autoconf@gnu.org. ## 
     4851## ------------------------------------ ## 
     4852_ASBOX 
     4853    ) | 
     4854      sed "s/^/$as_me: WARNING:     /" >&2 
     4855    ;; 
     4856  no:yes ) 
     4857    { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 
     4858echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 
     4859    { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 
     4860echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 
     4861    { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 
     4862echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 
     4863    ( 
     4864      cat <<\_ASBOX 
     4865## ------------------------------------ ## 
     4866## Report this to bug-autoconf@gnu.org. ## 
     4867## ------------------------------------ ## 
     4868_ASBOX 
     4869    ) | 
     4870      sed "s/^/$as_me: WARNING:     /" >&2 
     4871    ;; 
     4872esac 
     4873echo "$as_me:$LINENO: checking for netdb.h" >&5 
     4874echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 
     4875if test "${ac_cv_header_netdb_h+set}" = set; then 
     4876  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4877else 
     4878  ac_cv_header_netdb_h=$ac_header_preproc 
     4879fi 
     4880echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 
    28324881echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 
     4882 
     4883fi 
    28334884if test $ac_cv_header_netdb_h = yes; then 
    2834   cat >>confdefs.h <<\EOF 
     4885  cat >>confdefs.h <<\_ACEOF 
    28354886#define PJ_HAS_NETDB_H 1 
    2836 EOF 
    2837  
    2838 fi 
    2839  
    2840 echo "$as_me:2840: checking for netinet/in.h" >&5 
     4887_ACEOF 
     4888 
     4889fi 
     4890 
     4891 
     4892if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     4893  echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
    28414894echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 
    28424895if test "${ac_cv_header_netinet_in_h+set}" = set; then 
    28434896  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2844 else 
    2845   cat >conftest.$ac_ext <<_ACEOF 
    2846 #line 2846 "configure" 
    2847 #include "confdefs.h" 
     4897fi 
     4898echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
     4899echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 
     4900else 
     4901  # Is the header compilable? 
     4902echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 
     4903echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 
     4904cat >conftest.$ac_ext <<_ACEOF 
     4905#line $LINENO "configure" 
     4906/* confdefs.h.  */ 
     4907_ACEOF 
     4908cat confdefs.h >>conftest.$ac_ext 
     4909cat >>conftest.$ac_ext <<_ACEOF 
     4910/* end confdefs.h.  */ 
     4911$ac_includes_default 
    28484912#include <netinet/in.h> 
    28494913_ACEOF 
    2850 if { (eval echo "$as_me:2850: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4914rm -f conftest.$ac_objext 
     4915if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4916  (eval $ac_compile) 2>&5 
     4917  ac_status=$? 
     4918  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4919  (exit $ac_status); } && 
     4920         { ac_try='test -s conftest.$ac_objext' 
     4921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4922  (eval $ac_try) 2>&5 
     4923  ac_status=$? 
     4924  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4925  (exit $ac_status); }; }; then 
     4926  ac_header_compiler=yes 
     4927else 
     4928  echo "$as_me: failed program was:" >&5 
     4929sed 's/^/| /' conftest.$ac_ext >&5 
     4930 
     4931ac_header_compiler=no 
     4932fi 
     4933rm -f conftest.$ac_objext conftest.$ac_ext 
     4934echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4935echo "${ECHO_T}$ac_header_compiler" >&6 
     4936 
     4937# Is the header present? 
     4938echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 
     4939echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 
     4940cat >conftest.$ac_ext <<_ACEOF 
     4941#line $LINENO "configure" 
     4942/* confdefs.h.  */ 
     4943_ACEOF 
     4944cat confdefs.h >>conftest.$ac_ext 
     4945cat >>conftest.$ac_ext <<_ACEOF 
     4946/* end confdefs.h.  */ 
     4947#include <netinet/in.h> 
     4948_ACEOF 
     4949if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    28514950  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    28524951  ac_status=$? 
    2853   egrep -v '^ *\+' conftest.er1 >conftest.err 
     4952  grep -v '^ *+' conftest.er1 >conftest.err 
    28544953  rm -f conftest.er1 
    28554954  cat conftest.err >&5 
    2856   echo "$as_me:2856: \$? = $ac_status" >&5 
     4955  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28574956  (exit $ac_status); } >/dev/null; then 
    28584957  if test -s conftest.err; then 
     
    28654964fi 
    28664965if test -z "$ac_cpp_err"; then 
    2867   ac_cv_header_netinet_in_h=yes 
     4966  ac_header_preproc=yes 
    28684967else 
    28694968  echo "$as_me: failed program was:" >&5 
    2870   cat conftest.$ac_ext >&5 
    2871   ac_cv_header_netinet_in_h=no 
     4969sed 's/^/| /' conftest.$ac_ext >&5 
     4970 
     4971  ac_header_preproc=no 
    28724972fi 
    28734973rm -f conftest.err conftest.$ac_ext 
    2874 fi 
    2875 echo "$as_me:2875: result: $ac_cv_header_netinet_in_h" >&5 
     4974echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4975echo "${ECHO_T}$ac_header_preproc" >&6 
     4976 
     4977# So?  What about this header? 
     4978case $ac_header_compiler:$ac_header_preproc in 
     4979  yes:no ) 
     4980    { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4981echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4982    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
     4983echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
     4984    ( 
     4985      cat <<\_ASBOX 
     4986## ------------------------------------ ## 
     4987## Report this to bug-autoconf@gnu.org. ## 
     4988## ------------------------------------ ## 
     4989_ASBOX 
     4990    ) | 
     4991      sed "s/^/$as_me: WARNING:     /" >&2 
     4992    ;; 
     4993  no:yes ) 
     4994    { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 
     4995echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 
     4996    { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 
     4997echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 
     4998    { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 
     4999echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 
     5000    ( 
     5001      cat <<\_ASBOX 
     5002## ------------------------------------ ## 
     5003## Report this to bug-autoconf@gnu.org. ## 
     5004## ------------------------------------ ## 
     5005_ASBOX 
     5006    ) | 
     5007      sed "s/^/$as_me: WARNING:     /" >&2 
     5008    ;; 
     5009esac 
     5010echo "$as_me:$LINENO: checking for netinet/in.h" >&5 
     5011echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 
     5012if test "${ac_cv_header_netinet_in_h+set}" = set; then 
     5013  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5014else 
     5015  ac_cv_header_netinet_in_h=$ac_header_preproc 
     5016fi 
     5017echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 
    28765018echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 
     5019 
     5020fi 
    28775021if test $ac_cv_header_netinet_in_h = yes; then 
    2878   cat >>confdefs.h <<\EOF 
     5022  cat >>confdefs.h <<\_ACEOF 
    28795023#define PJ_HAS_NETINET_IN_H 1 
    2880 EOF 
    2881  
    2882 fi 
    2883  
    2884 echo "$as_me:2884: checking for setjmp.h" >&5 
     5024_ACEOF 
     5025 
     5026fi 
     5027 
     5028 
     5029if test "${ac_cv_header_setjmp_h+set}" = set; then 
     5030  echo "$as_me:$LINENO: checking for setjmp.h" >&5 
    28855031echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 
    28865032if test "${ac_cv_header_setjmp_h+set}" = set; then 
    28875033  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2888 else 
    2889   cat >conftest.$ac_ext <<_ACEOF 
    2890 #line 2890 "configure" 
    2891 #include "confdefs.h" 
     5034fi 
     5035echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
     5036echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 
     5037else 
     5038  # Is the header compilable? 
     5039echo "$as_me:$LINENO: checking setjmp.h usability" >&5 
     5040echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 
     5041cat >conftest.$ac_ext <<_ACEOF 
     5042#line $LINENO "configure" 
     5043/* confdefs.h.  */ 
     5044_ACEOF 
     5045cat confdefs.h >>conftest.$ac_ext 
     5046cat >>conftest.$ac_ext <<_ACEOF 
     5047/* end confdefs.h.  */ 
     5048$ac_includes_default 
    28925049#include <setjmp.h> 
    28935050_ACEOF 
    2894 if { (eval echo "$as_me:2894: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5051rm -f conftest.$ac_objext 
     5052if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5053  (eval $ac_compile) 2>&5 
     5054  ac_status=$? 
     5055  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5056  (exit $ac_status); } && 
     5057         { ac_try='test -s conftest.$ac_objext' 
     5058  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5059  (eval $ac_try) 2>&5 
     5060  ac_status=$? 
     5061  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5062  (exit $ac_status); }; }; then 
     5063  ac_header_compiler=yes 
     5064else 
     5065  echo "$as_me: failed program was:" >&5 
     5066sed 's/^/| /' conftest.$ac_ext >&5 
     5067 
     5068ac_header_compiler=no 
     5069fi 
     5070rm -f conftest.$ac_objext conftest.$ac_ext 
     5071echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5072echo "${ECHO_T}$ac_header_compiler" >&6 
     5073 
     5074# Is the header present? 
     5075echo "$as_me:$LINENO: checking setjmp.h presence" >&5 
     5076echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 
     5077cat >conftest.$ac_ext <<_ACEOF 
     5078#line $LINENO "configure" 
     5079/* confdefs.h.  */ 
     5080_ACEOF 
     5081cat confdefs.h >>conftest.$ac_ext 
     5082cat >>conftest.$ac_ext <<_ACEOF 
     5083/* end confdefs.h.  */ 
     5084#include <setjmp.h> 
     5085_ACEOF 
     5086if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    28955087  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    28965088  ac_status=$? 
    2897   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5089  grep -v '^ *+' conftest.er1 >conftest.err 
    28985090  rm -f conftest.er1 
    28995091  cat conftest.err >&5 
    2900   echo "$as_me:2900: \$? = $ac_status" >&5 
     5092  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    29015093  (exit $ac_status); } >/dev/null; then 
    29025094  if test -s conftest.err; then 
     
    29095101fi 
    29105102if test -z "$ac_cpp_err"; then 
    2911   ac_cv_header_setjmp_h=yes 
     5103  ac_header_preproc=yes 
    29125104else 
    29135105  echo "$as_me: failed program was:" >&5 
    2914   cat conftest.$ac_ext >&5 
    2915   ac_cv_header_setjmp_h=no 
     5106sed 's/^/| /' conftest.$ac_ext >&5 
     5107 
     5108  ac_header_preproc=no 
    29165109fi 
    29175110rm -f conftest.err conftest.$ac_ext 
    2918 fi 
    2919 echo "$as_me:2919: result: $ac_cv_header_setjmp_h" >&5 
     5111echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5112echo "${ECHO_T}$ac_header_preproc" >&6 
     5113 
     5114# So?  What about this header? 
     5115case $ac_header_compiler:$ac_header_preproc in 
     5116  yes:no ) 
     5117    { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5118echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5119    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
     5120echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
     5121    ( 
     5122      cat <<\_ASBOX 
     5123## ------------------------------------ ## 
     5124## Report this to bug-autoconf@gnu.org. ## 
     5125## ------------------------------------ ## 
     5126_ASBOX 
     5127    ) | 
     5128      sed "s/^/$as_me: WARNING:     /" >&2 
     5129    ;; 
     5130  no:yes ) 
     5131    { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 
     5132echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 
     5133    { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 
     5134echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 
     5135    { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 
     5136echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 
     5137    ( 
     5138      cat <<\_ASBOX 
     5139## ------------------------------------ ## 
     5140## Report this to bug-autoconf@gnu.org. ## 
     5141## ------------------------------------ ## 
     5142_ASBOX 
     5143    ) | 
     5144      sed "s/^/$as_me: WARNING:     /" >&2 
     5145    ;; 
     5146esac 
     5147echo "$as_me:$LINENO: checking for setjmp.h" >&5 
     5148echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 
     5149if test "${ac_cv_header_setjmp_h+set}" = set; then 
     5150  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5151else 
     5152  ac_cv_header_setjmp_h=$ac_header_preproc 
     5153fi 
     5154echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 
    29205155echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 
     5156 
     5157fi 
    29215158if test $ac_cv_header_setjmp_h = yes; then 
    2922   cat >>confdefs.h <<\EOF 
     5159  cat >>confdefs.h <<\_ACEOF 
    29235160#define PJ_HAS_SETJMP_H 1 
    2924 EOF 
    2925  
    2926 fi 
    2927  
    2928 echo "$as_me:2928: checking for stdarg.h" >&5 
     5161_ACEOF 
     5162 
     5163fi 
     5164 
     5165 
     5166if test "${ac_cv_header_stdarg_h+set}" = set; then 
     5167  echo "$as_me:$LINENO: checking for stdarg.h" >&5 
    29295168echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 
    29305169if test "${ac_cv_header_stdarg_h+set}" = set; then 
    29315170  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2932 else 
    2933   cat >conftest.$ac_ext <<_ACEOF 
    2934 #line 2934 "configure" 
    2935 #include "confdefs.h" 
     5171fi 
     5172echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
     5173echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 
     5174else 
     5175  # Is the header compilable? 
     5176echo "$as_me:$LINENO: checking stdarg.h usability" >&5 
     5177echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 
     5178cat >conftest.$ac_ext <<_ACEOF 
     5179#line $LINENO "configure" 
     5180/* confdefs.h.  */ 
     5181_ACEOF 
     5182cat confdefs.h >>conftest.$ac_ext 
     5183cat >>conftest.$ac_ext <<_ACEOF 
     5184/* end confdefs.h.  */ 
     5185$ac_includes_default 
    29365186#include <stdarg.h> 
    29375187_ACEOF 
    2938 if { (eval echo "$as_me:2938: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5188rm -f conftest.$ac_objext 
     5189if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5190  (eval $ac_compile) 2>&5 
     5191  ac_status=$? 
     5192  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5193  (exit $ac_status); } && 
     5194         { ac_try='test -s conftest.$ac_objext' 
     5195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5196  (eval $ac_try) 2>&5 
     5197  ac_status=$? 
     5198  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5199  (exit $ac_status); }; }; then 
     5200  ac_header_compiler=yes 
     5201else 
     5202  echo "$as_me: failed program was:" >&5 
     5203sed 's/^/| /' conftest.$ac_ext >&5 
     5204 
     5205ac_header_compiler=no 
     5206fi 
     5207rm -f conftest.$ac_objext conftest.$ac_ext 
     5208echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5209echo "${ECHO_T}$ac_header_compiler" >&6 
     5210 
     5211# Is the header present? 
     5212echo "$as_me:$LINENO: checking stdarg.h presence" >&5 
     5213echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 
     5214cat >conftest.$ac_ext <<_ACEOF 
     5215#line $LINENO "configure" 
     5216/* confdefs.h.  */ 
     5217_ACEOF 
     5218cat confdefs.h >>conftest.$ac_ext 
     5219cat >>conftest.$ac_ext <<_ACEOF 
     5220/* end confdefs.h.  */ 
     5221#include <stdarg.h> 
     5222_ACEOF 
     5223if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    29395224  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    29405225  ac_status=$? 
    2941   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5226  grep -v '^ *+' conftest.er1 >conftest.err 
    29425227  rm -f conftest.er1 
    29435228  cat conftest.err >&5 
    2944   echo "$as_me:2944: \$? = $ac_status" >&5 
     5229  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    29455230  (exit $ac_status); } >/dev/null; then 
    29465231  if test -s conftest.err; then 
     
    29535238fi 
    29545239if test -z "$ac_cpp_err"; then 
    2955   ac_cv_header_stdarg_h=yes 
     5240  ac_header_preproc=yes 
    29565241else 
    29575242  echo "$as_me: failed program was:" >&5 
    2958   cat conftest.$ac_ext >&5 
    2959   ac_cv_header_stdarg_h=no 
     5243sed 's/^/| /' conftest.$ac_ext >&5 
     5244 
     5245  ac_header_preproc=no 
    29605246fi 
    29615247rm -f conftest.err conftest.$ac_ext 
    2962 fi 
    2963 echo "$as_me:2963: result: $ac_cv_header_stdarg_h" >&5 
     5248echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5249echo "${ECHO_T}$ac_header_preproc" >&6 
     5250 
     5251# So?  What about this header? 
     5252case $ac_header_compiler:$ac_header_preproc in 
     5253  yes:no ) 
     5254    { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5255echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5256    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
     5257echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
     5258    ( 
     5259      cat <<\_ASBOX 
     5260## ------------------------------------ ## 
     5261## Report this to bug-autoconf@gnu.org. ## 
     5262## ------------------------------------ ## 
     5263_ASBOX 
     5264    ) | 
     5265      sed "s/^/$as_me: WARNING:     /" >&2 
     5266    ;; 
     5267  no:yes ) 
     5268    { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 
     5269echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 
     5270    { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 
     5271echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 
     5272    { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 
     5273echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 
     5274    ( 
     5275      cat <<\_ASBOX 
     5276## ------------------------------------ ## 
     5277## Report this to bug-autoconf@gnu.org. ## 
     5278## ------------------------------------ ## 
     5279_ASBOX 
     5280    ) | 
     5281      sed "s/^/$as_me: WARNING:     /" >&2 
     5282    ;; 
     5283esac 
     5284echo "$as_me:$LINENO: checking for stdarg.h" >&5 
     5285echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 
     5286if test "${ac_cv_header_stdarg_h+set}" = set; then 
     5287  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5288else 
     5289  ac_cv_header_stdarg_h=$ac_header_preproc 
     5290fi 
     5291echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 
    29645292echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 
     5293 
     5294fi 
    29655295if test $ac_cv_header_stdarg_h = yes; then 
    2966   cat >>confdefs.h <<\EOF 
     5296  cat >>confdefs.h <<\_ACEOF 
    29675297#define PJ_HAS_STDARG_H 1 
    2968 EOF 
    2969  
    2970 fi 
    2971  
    2972 echo "$as_me:2972: checking for stddef.h" >&5 
     5298_ACEOF 
     5299 
     5300fi 
     5301 
     5302 
     5303if test "${ac_cv_header_stddef_h+set}" = set; then 
     5304  echo "$as_me:$LINENO: checking for stddef.h" >&5 
    29735305echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 
    29745306if test "${ac_cv_header_stddef_h+set}" = set; then 
    29755307  echo $ECHO_N "(cached) $ECHO_C" >&6 
    2976 else 
    2977   cat >conftest.$ac_ext <<_ACEOF 
    2978 #line 2978 "configure" 
    2979 #include "confdefs.h" 
     5308fi 
     5309echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
     5310echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 
     5311else 
     5312  # Is the header compilable? 
     5313echo "$as_me:$LINENO: checking stddef.h usability" >&5 
     5314echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 
     5315cat >conftest.$ac_ext <<_ACEOF 
     5316#line $LINENO "configure" 
     5317/* confdefs.h.  */ 
     5318_ACEOF 
     5319cat confdefs.h >>conftest.$ac_ext 
     5320cat >>conftest.$ac_ext <<_ACEOF 
     5321/* end confdefs.h.  */ 
     5322$ac_includes_default 
    29805323#include <stddef.h> 
    29815324_ACEOF 
    2982 if { (eval echo "$as_me:2982: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5325rm -f conftest.$ac_objext 
     5326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5327  (eval $ac_compile) 2>&5 
     5328  ac_status=$? 
     5329  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5330  (exit $ac_status); } && 
     5331         { ac_try='test -s conftest.$ac_objext' 
     5332  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5333  (eval $ac_try) 2>&5 
     5334  ac_status=$? 
     5335  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5336  (exit $ac_status); }; }; then 
     5337  ac_header_compiler=yes 
     5338else 
     5339  echo "$as_me: failed program was:" >&5 
     5340sed 's/^/| /' conftest.$ac_ext >&5 
     5341 
     5342ac_header_compiler=no 
     5343fi 
     5344rm -f conftest.$ac_objext conftest.$ac_ext 
     5345echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5346echo "${ECHO_T}$ac_header_compiler" >&6 
     5347 
     5348# Is the header present? 
     5349echo "$as_me:$LINENO: checking stddef.h presence" >&5 
     5350echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 
     5351cat >conftest.$ac_ext <<_ACEOF 
     5352#line $LINENO "configure" 
     5353/* confdefs.h.  */ 
     5354_ACEOF 
     5355cat confdefs.h >>conftest.$ac_ext 
     5356cat >>conftest.$ac_ext <<_ACEOF 
     5357/* end confdefs.h.  */ 
     5358#include <stddef.h> 
     5359_ACEOF 
     5360if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    29835361  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    29845362  ac_status=$? 
    2985   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5363  grep -v '^ *+' conftest.er1 >conftest.err 
    29865364  rm -f conftest.er1 
    29875365  cat conftest.err >&5 
    2988   echo "$as_me:2988: \$? = $ac_status" >&5 
     5366  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    29895367  (exit $ac_status); } >/dev/null; then 
    29905368  if test -s conftest.err; then 
     
    29975375fi 
    29985376if test -z "$ac_cpp_err"; then 
    2999   ac_cv_header_stddef_h=yes 
     5377  ac_header_preproc=yes 
    30005378else 
    30015379  echo "$as_me: failed program was:" >&5 
    3002   cat conftest.$ac_ext >&5 
    3003   ac_cv_header_stddef_h=no 
     5380sed 's/^/| /' conftest.$ac_ext >&5 
     5381 
     5382  ac_header_preproc=no 
    30045383fi 
    30055384rm -f conftest.err conftest.$ac_ext 
    3006 fi 
    3007 echo "$as_me:3007: result: $ac_cv_header_stddef_h" >&5 
     5385echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5386echo "${ECHO_T}$ac_header_preproc" >&6 
     5387 
     5388# So?  What about this header? 
     5389case $ac_header_compiler:$ac_header_preproc in 
     5390  yes:no ) 
     5391    { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5392echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5393    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
     5394echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
     5395    ( 
     5396      cat <<\_ASBOX 
     5397## ------------------------------------ ## 
     5398## Report this to bug-autoconf@gnu.org. ## 
     5399## ------------------------------------ ## 
     5400_ASBOX 
     5401    ) | 
     5402      sed "s/^/$as_me: WARNING:     /" >&2 
     5403    ;; 
     5404  no:yes ) 
     5405    { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 
     5406echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 
     5407    { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 
     5408echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 
     5409    { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 
     5410echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 
     5411    ( 
     5412      cat <<\_ASBOX 
     5413## ------------------------------------ ## 
     5414## Report this to bug-autoconf@gnu.org. ## 
     5415## ------------------------------------ ## 
     5416_ASBOX 
     5417    ) | 
     5418      sed "s/^/$as_me: WARNING:     /" >&2 
     5419    ;; 
     5420esac 
     5421echo "$as_me:$LINENO: checking for stddef.h" >&5 
     5422echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 
     5423if test "${ac_cv_header_stddef_h+set}" = set; then 
     5424  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5425else 
     5426  ac_cv_header_stddef_h=$ac_header_preproc 
     5427fi 
     5428echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 
    30085429echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 
     5430 
     5431fi 
    30095432if test $ac_cv_header_stddef_h = yes; then 
    3010   cat >>confdefs.h <<\EOF 
     5433  cat >>confdefs.h <<\_ACEOF 
    30115434#define PJ_HAS_STDDEF_H 1 
    3012 EOF 
    3013  
    3014 fi 
    3015  
    3016 echo "$as_me:3016: checking for stdio.h" >&5 
     5435_ACEOF 
     5436 
     5437fi 
     5438 
     5439 
     5440if test "${ac_cv_header_stdio_h+set}" = set; then 
     5441  echo "$as_me:$LINENO: checking for stdio.h" >&5 
    30175442echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 
    30185443if test "${ac_cv_header_stdio_h+set}" = set; then 
    30195444  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3020 else 
    3021   cat >conftest.$ac_ext <<_ACEOF 
    3022 #line 3022 "configure" 
    3023 #include "confdefs.h" 
     5445fi 
     5446echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
     5447echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 
     5448else 
     5449  # Is the header compilable? 
     5450echo "$as_me:$LINENO: checking stdio.h usability" >&5 
     5451echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 
     5452cat >conftest.$ac_ext <<_ACEOF 
     5453#line $LINENO "configure" 
     5454/* confdefs.h.  */ 
     5455_ACEOF 
     5456cat confdefs.h >>conftest.$ac_ext 
     5457cat >>conftest.$ac_ext <<_ACEOF 
     5458/* end confdefs.h.  */ 
     5459$ac_includes_default 
    30245460#include <stdio.h> 
    30255461_ACEOF 
    3026 if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5462rm -f conftest.$ac_objext 
     5463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5464  (eval $ac_compile) 2>&5 
     5465  ac_status=$? 
     5466  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5467  (exit $ac_status); } && 
     5468         { ac_try='test -s conftest.$ac_objext' 
     5469  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5470  (eval $ac_try) 2>&5 
     5471  ac_status=$? 
     5472  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5473  (exit $ac_status); }; }; then 
     5474  ac_header_compiler=yes 
     5475else 
     5476  echo "$as_me: failed program was:" >&5 
     5477sed 's/^/| /' conftest.$ac_ext >&5 
     5478 
     5479ac_header_compiler=no 
     5480fi 
     5481rm -f conftest.$ac_objext conftest.$ac_ext 
     5482echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5483echo "${ECHO_T}$ac_header_compiler" >&6 
     5484 
     5485# Is the header present? 
     5486echo "$as_me:$LINENO: checking stdio.h presence" >&5 
     5487echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 
     5488cat >conftest.$ac_ext <<_ACEOF 
     5489#line $LINENO "configure" 
     5490/* confdefs.h.  */ 
     5491_ACEOF 
     5492cat confdefs.h >>conftest.$ac_ext 
     5493cat >>conftest.$ac_ext <<_ACEOF 
     5494/* end confdefs.h.  */ 
     5495#include <stdio.h> 
     5496_ACEOF 
     5497if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    30275498  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    30285499  ac_status=$? 
    3029   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5500  grep -v '^ *+' conftest.er1 >conftest.err 
    30305501  rm -f conftest.er1 
    30315502  cat conftest.err >&5 
    3032   echo "$as_me:3032: \$? = $ac_status" >&5 
     5503  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    30335504  (exit $ac_status); } >/dev/null; then 
    30345505  if test -s conftest.err; then 
     
    30415512fi 
    30425513if test -z "$ac_cpp_err"; then 
    3043   ac_cv_header_stdio_h=yes 
     5514  ac_header_preproc=yes 
    30445515else 
    30455516  echo "$as_me: failed program was:" >&5 
    3046   cat conftest.$ac_ext >&5 
    3047   ac_cv_header_stdio_h=no 
     5517sed 's/^/| /' conftest.$ac_ext >&5 
     5518 
     5519  ac_header_preproc=no 
    30485520fi 
    30495521rm -f conftest.err conftest.$ac_ext 
    3050 fi 
    3051 echo "$as_me:3051: result: $ac_cv_header_stdio_h" >&5 
     5522echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5523echo "${ECHO_T}$ac_header_preproc" >&6 
     5524 
     5525# So?  What about this header? 
     5526case $ac_header_compiler:$ac_header_preproc in 
     5527  yes:no ) 
     5528    { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5529echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5530    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
     5531echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
     5532    ( 
     5533      cat <<\_ASBOX 
     5534## ------------------------------------ ## 
     5535## Report this to bug-autoconf@gnu.org. ## 
     5536## ------------------------------------ ## 
     5537_ASBOX 
     5538    ) | 
     5539      sed "s/^/$as_me: WARNING:     /" >&2 
     5540    ;; 
     5541  no:yes ) 
     5542    { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 
     5543echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 
     5544    { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 
     5545echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 
     5546    { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 
     5547echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 
     5548    ( 
     5549      cat <<\_ASBOX 
     5550## ------------------------------------ ## 
     5551## Report this to bug-autoconf@gnu.org. ## 
     5552## ------------------------------------ ## 
     5553_ASBOX 
     5554    ) | 
     5555      sed "s/^/$as_me: WARNING:     /" >&2 
     5556    ;; 
     5557esac 
     5558echo "$as_me:$LINENO: checking for stdio.h" >&5 
     5559echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 
     5560if test "${ac_cv_header_stdio_h+set}" = set; then 
     5561  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5562else 
     5563  ac_cv_header_stdio_h=$ac_header_preproc 
     5564fi 
     5565echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 
    30525566echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 
     5567 
     5568fi 
    30535569if test $ac_cv_header_stdio_h = yes; then 
    3054   cat >>confdefs.h <<\EOF 
     5570  cat >>confdefs.h <<\_ACEOF 
    30555571#define PJ_HAS_STDIO_H 1 
    3056 EOF 
    3057  
    3058 fi 
    3059  
    3060 echo "$as_me:3060: checking for stdlib.h" >&5 
     5572_ACEOF 
     5573 
     5574fi 
     5575 
     5576 
     5577if test "${ac_cv_header_stdlib_h+set}" = set; then 
     5578  echo "$as_me:$LINENO: checking for stdlib.h" >&5 
    30615579echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 
    30625580if test "${ac_cv_header_stdlib_h+set}" = set; then 
    30635581  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3064 else 
    3065   cat >conftest.$ac_ext <<_ACEOF 
    3066 #line 3066 "configure" 
    3067 #include "confdefs.h" 
     5582fi 
     5583echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
     5584echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 
     5585else 
     5586  # Is the header compilable? 
     5587echo "$as_me:$LINENO: checking stdlib.h usability" >&5 
     5588echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 
     5589cat >conftest.$ac_ext <<_ACEOF 
     5590#line $LINENO "configure" 
     5591/* confdefs.h.  */ 
     5592_ACEOF 
     5593cat confdefs.h >>conftest.$ac_ext 
     5594cat >>conftest.$ac_ext <<_ACEOF 
     5595/* end confdefs.h.  */ 
     5596$ac_includes_default 
    30685597#include <stdlib.h> 
    30695598_ACEOF 
    3070 if { (eval echo "$as_me:3070: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5599rm -f conftest.$ac_objext 
     5600if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5601  (eval $ac_compile) 2>&5 
     5602  ac_status=$? 
     5603  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5604  (exit $ac_status); } && 
     5605         { ac_try='test -s conftest.$ac_objext' 
     5606  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5607  (eval $ac_try) 2>&5 
     5608  ac_status=$? 
     5609  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5610  (exit $ac_status); }; }; then 
     5611  ac_header_compiler=yes 
     5612else 
     5613  echo "$as_me: failed program was:" >&5 
     5614sed 's/^/| /' conftest.$ac_ext >&5 
     5615 
     5616ac_header_compiler=no 
     5617fi 
     5618rm -f conftest.$ac_objext conftest.$ac_ext 
     5619echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5620echo "${ECHO_T}$ac_header_compiler" >&6 
     5621 
     5622# Is the header present? 
     5623echo "$as_me:$LINENO: checking stdlib.h presence" >&5 
     5624echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 
     5625cat >conftest.$ac_ext <<_ACEOF 
     5626#line $LINENO "configure" 
     5627/* confdefs.h.  */ 
     5628_ACEOF 
     5629cat confdefs.h >>conftest.$ac_ext 
     5630cat >>conftest.$ac_ext <<_ACEOF 
     5631/* end confdefs.h.  */ 
     5632#include <stdlib.h> 
     5633_ACEOF 
     5634if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    30715635  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    30725636  ac_status=$? 
    3073   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5637  grep -v '^ *+' conftest.er1 >conftest.err 
    30745638  rm -f conftest.er1 
    30755639  cat conftest.err >&5 
    3076   echo "$as_me:3076: \$? = $ac_status" >&5 
     5640  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    30775641  (exit $ac_status); } >/dev/null; then 
    30785642  if test -s conftest.err; then 
     
    30855649fi 
    30865650if test -z "$ac_cpp_err"; then 
    3087   ac_cv_header_stdlib_h=yes 
     5651  ac_header_preproc=yes 
    30885652else 
    30895653  echo "$as_me: failed program was:" >&5 
    3090   cat conftest.$ac_ext >&5 
    3091   ac_cv_header_stdlib_h=no 
     5654sed 's/^/| /' conftest.$ac_ext >&5 
     5655 
     5656  ac_header_preproc=no 
    30925657fi 
    30935658rm -f conftest.err conftest.$ac_ext 
    3094 fi 
    3095 echo "$as_me:3095: result: $ac_cv_header_stdlib_h" >&5 
     5659echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5660echo "${ECHO_T}$ac_header_preproc" >&6 
     5661 
     5662# So?  What about this header? 
     5663case $ac_header_compiler:$ac_header_preproc in 
     5664  yes:no ) 
     5665    { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5666echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5667    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
     5668echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
     5669    ( 
     5670      cat <<\_ASBOX 
     5671## ------------------------------------ ## 
     5672## Report this to bug-autoconf@gnu.org. ## 
     5673## ------------------------------------ ## 
     5674_ASBOX 
     5675    ) | 
     5676      sed "s/^/$as_me: WARNING:     /" >&2 
     5677    ;; 
     5678  no:yes ) 
     5679    { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 
     5680echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 
     5681    { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 
     5682echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 
     5683    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 
     5684echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 
     5685    ( 
     5686      cat <<\_ASBOX 
     5687## ------------------------------------ ## 
     5688## Report this to bug-autoconf@gnu.org. ## 
     5689## ------------------------------------ ## 
     5690_ASBOX 
     5691    ) | 
     5692      sed "s/^/$as_me: WARNING:     /" >&2 
     5693    ;; 
     5694esac 
     5695echo "$as_me:$LINENO: checking for stdlib.h" >&5 
     5696echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 
     5697if test "${ac_cv_header_stdlib_h+set}" = set; then 
     5698  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5699else 
     5700  ac_cv_header_stdlib_h=$ac_header_preproc 
     5701fi 
     5702echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 
    30965703echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 
     5704 
     5705fi 
    30975706if test $ac_cv_header_stdlib_h = yes; then 
    3098   cat >>confdefs.h <<\EOF 
     5707  cat >>confdefs.h <<\_ACEOF 
    30995708#define PJ_HAS_STDLIB_H 1 
    3100 EOF 
    3101  
    3102 fi 
    3103  
    3104 echo "$as_me:3104: checking for string.h" >&5 
     5709_ACEOF 
     5710 
     5711fi 
     5712 
     5713 
     5714if test "${ac_cv_header_string_h+set}" = set; then 
     5715  echo "$as_me:$LINENO: checking for string.h" >&5 
    31055716echo $ECHO_N "checking for string.h... $ECHO_C" >&6 
    31065717if test "${ac_cv_header_string_h+set}" = set; then 
    31075718  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3108 else 
    3109   cat >conftest.$ac_ext <<_ACEOF 
    3110 #line 3110 "configure" 
    3111 #include "confdefs.h" 
     5719fi 
     5720echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
     5721echo "${ECHO_T}$ac_cv_header_string_h" >&6 
     5722else 
     5723  # Is the header compilable? 
     5724echo "$as_me:$LINENO: checking string.h usability" >&5 
     5725echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 
     5726cat >conftest.$ac_ext <<_ACEOF 
     5727#line $LINENO "configure" 
     5728/* confdefs.h.  */ 
     5729_ACEOF 
     5730cat confdefs.h >>conftest.$ac_ext 
     5731cat >>conftest.$ac_ext <<_ACEOF 
     5732/* end confdefs.h.  */ 
     5733$ac_includes_default 
    31125734#include <string.h> 
    31135735_ACEOF 
    3114 if { (eval echo "$as_me:3114: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5736rm -f conftest.$ac_objext 
     5737if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5738  (eval $ac_compile) 2>&5 
     5739  ac_status=$? 
     5740  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5741  (exit $ac_status); } && 
     5742         { ac_try='test -s conftest.$ac_objext' 
     5743  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5744  (eval $ac_try) 2>&5 
     5745  ac_status=$? 
     5746  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5747  (exit $ac_status); }; }; then 
     5748  ac_header_compiler=yes 
     5749else 
     5750  echo "$as_me: failed program was:" >&5 
     5751sed 's/^/| /' conftest.$ac_ext >&5 
     5752 
     5753ac_header_compiler=no 
     5754fi 
     5755rm -f conftest.$ac_objext conftest.$ac_ext 
     5756echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5757echo "${ECHO_T}$ac_header_compiler" >&6 
     5758 
     5759# Is the header present? 
     5760echo "$as_me:$LINENO: checking string.h presence" >&5 
     5761echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 
     5762cat >conftest.$ac_ext <<_ACEOF 
     5763#line $LINENO "configure" 
     5764/* confdefs.h.  */ 
     5765_ACEOF 
     5766cat confdefs.h >>conftest.$ac_ext 
     5767cat >>conftest.$ac_ext <<_ACEOF 
     5768/* end confdefs.h.  */ 
     5769#include <string.h> 
     5770_ACEOF 
     5771if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    31155772  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    31165773  ac_status=$? 
    3117   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5774  grep -v '^ *+' conftest.er1 >conftest.err 
    31185775  rm -f conftest.er1 
    31195776  cat conftest.err >&5 
    3120   echo "$as_me:3120: \$? = $ac_status" >&5 
     5777  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    31215778  (exit $ac_status); } >/dev/null; then 
    31225779  if test -s conftest.err; then 
     
    31295786fi 
    31305787if test -z "$ac_cpp_err"; then 
    3131   ac_cv_header_string_h=yes 
     5788  ac_header_preproc=yes 
    31325789else 
    31335790  echo "$as_me: failed program was:" >&5 
    3134   cat conftest.$ac_ext >&5 
    3135   ac_cv_header_string_h=no 
     5791sed 's/^/| /' conftest.$ac_ext >&5 
     5792 
     5793  ac_header_preproc=no 
    31365794fi 
    31375795rm -f conftest.err conftest.$ac_ext 
    3138 fi 
    3139 echo "$as_me:3139: result: $ac_cv_header_string_h" >&5 
     5796echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5797echo "${ECHO_T}$ac_header_preproc" >&6 
     5798 
     5799# So?  What about this header? 
     5800case $ac_header_compiler:$ac_header_preproc in 
     5801  yes:no ) 
     5802    { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5803echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5804    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
     5805echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
     5806    ( 
     5807      cat <<\_ASBOX 
     5808## ------------------------------------ ## 
     5809## Report this to bug-autoconf@gnu.org. ## 
     5810## ------------------------------------ ## 
     5811_ASBOX 
     5812    ) | 
     5813      sed "s/^/$as_me: WARNING:     /" >&2 
     5814    ;; 
     5815  no:yes ) 
     5816    { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 
     5817echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 
     5818    { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 
     5819echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 
     5820    { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 
     5821echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 
     5822    ( 
     5823      cat <<\_ASBOX 
     5824## ------------------------------------ ## 
     5825## Report this to bug-autoconf@gnu.org. ## 
     5826## ------------------------------------ ## 
     5827_ASBOX 
     5828    ) | 
     5829      sed "s/^/$as_me: WARNING:     /" >&2 
     5830    ;; 
     5831esac 
     5832echo "$as_me:$LINENO: checking for string.h" >&5 
     5833echo $ECHO_N "checking for string.h... $ECHO_C" >&6 
     5834if test "${ac_cv_header_string_h+set}" = set; then 
     5835  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5836else 
     5837  ac_cv_header_string_h=$ac_header_preproc 
     5838fi 
     5839echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 
    31405840echo "${ECHO_T}$ac_cv_header_string_h" >&6 
     5841 
     5842fi 
    31415843if test $ac_cv_header_string_h = yes; then 
    3142   cat >>confdefs.h <<\EOF 
     5844  cat >>confdefs.h <<\_ACEOF 
    31435845#define PJ_HAS_STRING_H 1 
    3144 EOF 
    3145  
    3146 fi 
    3147  
    3148 echo "$as_me:3148: checking for sys/ioctl.h" >&5 
     5846_ACEOF 
     5847 
     5848fi 
     5849 
     5850 
     5851if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     5852  echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
    31495853echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 
    31505854if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
    31515855  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3152 else 
    3153   cat >conftest.$ac_ext <<_ACEOF 
    3154 #line 3154 "configure" 
    3155 #include "confdefs.h" 
     5856fi 
     5857echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
     5858echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 
     5859else 
     5860  # Is the header compilable? 
     5861echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 
     5862echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 
     5863cat >conftest.$ac_ext <<_ACEOF 
     5864#line $LINENO "configure" 
     5865/* confdefs.h.  */ 
     5866_ACEOF 
     5867cat confdefs.h >>conftest.$ac_ext 
     5868cat >>conftest.$ac_ext <<_ACEOF 
     5869/* end confdefs.h.  */ 
     5870$ac_includes_default 
    31565871#include <sys/ioctl.h> 
    31575872_ACEOF 
    3158 if { (eval echo "$as_me:3158: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5873rm -f conftest.$ac_objext 
     5874if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5875  (eval $ac_compile) 2>&5 
     5876  ac_status=$? 
     5877  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5878  (exit $ac_status); } && 
     5879         { ac_try='test -s conftest.$ac_objext' 
     5880  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5881  (eval $ac_try) 2>&5 
     5882  ac_status=$? 
     5883  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5884  (exit $ac_status); }; }; then 
     5885  ac_header_compiler=yes 
     5886else 
     5887  echo "$as_me: failed program was:" >&5 
     5888sed 's/^/| /' conftest.$ac_ext >&5 
     5889 
     5890ac_header_compiler=no 
     5891fi 
     5892rm -f conftest.$ac_objext conftest.$ac_ext 
     5893echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5894echo "${ECHO_T}$ac_header_compiler" >&6 
     5895 
     5896# Is the header present? 
     5897echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 
     5898echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 
     5899cat >conftest.$ac_ext <<_ACEOF 
     5900#line $LINENO "configure" 
     5901/* confdefs.h.  */ 
     5902_ACEOF 
     5903cat confdefs.h >>conftest.$ac_ext 
     5904cat >>conftest.$ac_ext <<_ACEOF 
     5905/* end confdefs.h.  */ 
     5906#include <sys/ioctl.h> 
     5907_ACEOF 
     5908if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    31595909  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    31605910  ac_status=$? 
    3161   egrep -v '^ *\+' conftest.er1 >conftest.err 
     5911  grep -v '^ *+' conftest.er1 >conftest.err 
    31625912  rm -f conftest.er1 
    31635913  cat conftest.err >&5 
    3164   echo "$as_me:3164: \$? = $ac_status" >&5 
     5914  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    31655915  (exit $ac_status); } >/dev/null; then 
    31665916  if test -s conftest.err; then 
     
    31735923fi 
    31745924if test -z "$ac_cpp_err"; then 
    3175   ac_cv_header_sys_ioctl_h=yes 
     5925  ac_header_preproc=yes 
    31765926else 
    31775927  echo "$as_me: failed program was:" >&5 
    3178   cat conftest.$ac_ext >&5 
    3179   ac_cv_header_sys_ioctl_h=no 
     5928sed 's/^/| /' conftest.$ac_ext >&5 
     5929 
     5930  ac_header_preproc=no 
    31805931fi 
    31815932rm -f conftest.err conftest.$ac_ext 
    3182 fi 
    3183 echo "$as_me:3183: result: $ac_cv_header_sys_ioctl_h" >&5 
     5933echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5934echo "${ECHO_T}$ac_header_preproc" >&6 
     5935 
     5936# So?  What about this header? 
     5937case $ac_header_compiler:$ac_header_preproc in 
     5938  yes:no ) 
     5939    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5940echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5941    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
     5942echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
     5943    ( 
     5944      cat <<\_ASBOX 
     5945## ------------------------------------ ## 
     5946## Report this to bug-autoconf@gnu.org. ## 
     5947## ------------------------------------ ## 
     5948_ASBOX 
     5949    ) | 
     5950      sed "s/^/$as_me: WARNING:     /" >&2 
     5951    ;; 
     5952  no:yes ) 
     5953    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 
     5954echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 
     5955    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 
     5956echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 
     5957    { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 
     5958echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 
     5959    ( 
     5960      cat <<\_ASBOX 
     5961## ------------------------------------ ## 
     5962## Report this to bug-autoconf@gnu.org. ## 
     5963## ------------------------------------ ## 
     5964_ASBOX 
     5965    ) | 
     5966      sed "s/^/$as_me: WARNING:     /" >&2 
     5967    ;; 
     5968esac 
     5969echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 
     5970echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 
     5971if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 
     5972  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5973else 
     5974  ac_cv_header_sys_ioctl_h=$ac_header_preproc 
     5975fi 
     5976echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 
    31845977echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 
     5978 
     5979fi 
    31855980if test $ac_cv_header_sys_ioctl_h = yes; then 
    3186   cat >>confdefs.h <<\EOF 
     5981  cat >>confdefs.h <<\_ACEOF 
    31875982#define PJ_HAS_SYS_IOCTL_H 1 
    3188 EOF 
    3189  
    3190 fi 
    3191  
    3192 echo "$as_me:3192: checking for sys/select.h" >&5 
     5983_ACEOF 
     5984 
     5985fi 
     5986 
     5987 
     5988if test "${ac_cv_header_sys_select_h+set}" = set; then 
     5989  echo "$as_me:$LINENO: checking for sys/select.h" >&5 
    31935990echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 
    31945991if test "${ac_cv_header_sys_select_h+set}" = set; then 
    31955992  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3196 else 
    3197   cat >conftest.$ac_ext <<_ACEOF 
    3198 #line 3198 "configure" 
    3199 #include "confdefs.h" 
     5993fi 
     5994echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
     5995echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 
     5996else 
     5997  # Is the header compilable? 
     5998echo "$as_me:$LINENO: checking sys/select.h usability" >&5 
     5999echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 
     6000cat >conftest.$ac_ext <<_ACEOF 
     6001#line $LINENO "configure" 
     6002/* confdefs.h.  */ 
     6003_ACEOF 
     6004cat confdefs.h >>conftest.$ac_ext 
     6005cat >>conftest.$ac_ext <<_ACEOF 
     6006/* end confdefs.h.  */ 
     6007$ac_includes_default 
    32006008#include <sys/select.h> 
    32016009_ACEOF 
    3202 if { (eval echo "$as_me:3202: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6010rm -f conftest.$ac_objext 
     6011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6012  (eval $ac_compile) 2>&5 
     6013  ac_status=$? 
     6014  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6015  (exit $ac_status); } && 
     6016         { ac_try='test -s conftest.$ac_objext' 
     6017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6018  (eval $ac_try) 2>&5 
     6019  ac_status=$? 
     6020  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6021  (exit $ac_status); }; }; then 
     6022  ac_header_compiler=yes 
     6023else 
     6024  echo "$as_me: failed program was:" >&5 
     6025sed 's/^/| /' conftest.$ac_ext >&5 
     6026 
     6027ac_header_compiler=no 
     6028fi 
     6029rm -f conftest.$ac_objext conftest.$ac_ext 
     6030echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6031echo "${ECHO_T}$ac_header_compiler" >&6 
     6032 
     6033# Is the header present? 
     6034echo "$as_me:$LINENO: checking sys/select.h presence" >&5 
     6035echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 
     6036cat >conftest.$ac_ext <<_ACEOF 
     6037#line $LINENO "configure" 
     6038/* confdefs.h.  */ 
     6039_ACEOF 
     6040cat confdefs.h >>conftest.$ac_ext 
     6041cat >>conftest.$ac_ext <<_ACEOF 
     6042/* end confdefs.h.  */ 
     6043#include <sys/select.h> 
     6044_ACEOF 
     6045if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    32036046  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    32046047  ac_status=$? 
    3205   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6048  grep -v '^ *+' conftest.er1 >conftest.err 
    32066049  rm -f conftest.er1 
    32076050  cat conftest.err >&5 
    3208   echo "$as_me:3208: \$? = $ac_status" >&5 
     6051  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32096052  (exit $ac_status); } >/dev/null; then 
    32106053  if test -s conftest.err; then 
     
    32176060fi 
    32186061if test -z "$ac_cpp_err"; then 
    3219   ac_cv_header_sys_select_h=yes 
     6062  ac_header_preproc=yes 
    32206063else 
    32216064  echo "$as_me: failed program was:" >&5 
    3222   cat conftest.$ac_ext >&5 
    3223   ac_cv_header_sys_select_h=no 
     6065sed 's/^/| /' conftest.$ac_ext >&5 
     6066 
     6067  ac_header_preproc=no 
    32246068fi 
    32256069rm -f conftest.err conftest.$ac_ext 
    3226 fi 
    3227 echo "$as_me:3227: result: $ac_cv_header_sys_select_h" >&5 
     6070echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6071echo "${ECHO_T}$ac_header_preproc" >&6 
     6072 
     6073# So?  What about this header? 
     6074case $ac_header_compiler:$ac_header_preproc in 
     6075  yes:no ) 
     6076    { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6077echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6078    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
     6079echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
     6080    ( 
     6081      cat <<\_ASBOX 
     6082## ------------------------------------ ## 
     6083## Report this to bug-autoconf@gnu.org. ## 
     6084## ------------------------------------ ## 
     6085_ASBOX 
     6086    ) | 
     6087      sed "s/^/$as_me: WARNING:     /" >&2 
     6088    ;; 
     6089  no:yes ) 
     6090    { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 
     6091echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 
     6092    { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 
     6093echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 
     6094    { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 
     6095echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 
     6096    ( 
     6097      cat <<\_ASBOX 
     6098## ------------------------------------ ## 
     6099## Report this to bug-autoconf@gnu.org. ## 
     6100## ------------------------------------ ## 
     6101_ASBOX 
     6102    ) | 
     6103      sed "s/^/$as_me: WARNING:     /" >&2 
     6104    ;; 
     6105esac 
     6106echo "$as_me:$LINENO: checking for sys/select.h" >&5 
     6107echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 
     6108if test "${ac_cv_header_sys_select_h+set}" = set; then 
     6109  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6110else 
     6111  ac_cv_header_sys_select_h=$ac_header_preproc 
     6112fi 
     6113echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 
    32286114echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 
     6115 
     6116fi 
    32296117if test $ac_cv_header_sys_select_h = yes; then 
    3230   cat >>confdefs.h <<\EOF 
     6118  cat >>confdefs.h <<\_ACEOF 
    32316119#define PJ_HAS_SYS_SELECT_H 1 
    3232 EOF 
    3233  
    3234 fi 
    3235  
    3236 echo "$as_me:3236: checking for sys/socket.h" >&5 
     6120_ACEOF 
     6121 
     6122fi 
     6123 
     6124 
     6125if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     6126  echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
    32376127echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 
    32386128if test "${ac_cv_header_sys_socket_h+set}" = set; then 
    32396129  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3240 else 
    3241   cat >conftest.$ac_ext <<_ACEOF 
    3242 #line 3242 "configure" 
    3243 #include "confdefs.h" 
     6130fi 
     6131echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
     6132echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 
     6133else 
     6134  # Is the header compilable? 
     6135echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 
     6136echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 
     6137cat >conftest.$ac_ext <<_ACEOF 
     6138#line $LINENO "configure" 
     6139/* confdefs.h.  */ 
     6140_ACEOF 
     6141cat confdefs.h >>conftest.$ac_ext 
     6142cat >>conftest.$ac_ext <<_ACEOF 
     6143/* end confdefs.h.  */ 
     6144$ac_includes_default 
    32446145#include <sys/socket.h> 
    32456146_ACEOF 
    3246 if { (eval echo "$as_me:3246: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6147rm -f conftest.$ac_objext 
     6148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6149  (eval $ac_compile) 2>&5 
     6150  ac_status=$? 
     6151  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6152  (exit $ac_status); } && 
     6153         { ac_try='test -s conftest.$ac_objext' 
     6154  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6155  (eval $ac_try) 2>&5 
     6156  ac_status=$? 
     6157  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6158  (exit $ac_status); }; }; then 
     6159  ac_header_compiler=yes 
     6160else 
     6161  echo "$as_me: failed program was:" >&5 
     6162sed 's/^/| /' conftest.$ac_ext >&5 
     6163 
     6164ac_header_compiler=no 
     6165fi 
     6166rm -f conftest.$ac_objext conftest.$ac_ext 
     6167echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6168echo "${ECHO_T}$ac_header_compiler" >&6 
     6169 
     6170# Is the header present? 
     6171echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 
     6172echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 
     6173cat >conftest.$ac_ext <<_ACEOF 
     6174#line $LINENO "configure" 
     6175/* confdefs.h.  */ 
     6176_ACEOF 
     6177cat confdefs.h >>conftest.$ac_ext 
     6178cat >>conftest.$ac_ext <<_ACEOF 
     6179/* end confdefs.h.  */ 
     6180#include <sys/socket.h> 
     6181_ACEOF 
     6182if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    32476183  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    32486184  ac_status=$? 
    3249   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6185  grep -v '^ *+' conftest.er1 >conftest.err 
    32506186  rm -f conftest.er1 
    32516187  cat conftest.err >&5 
    3252   echo "$as_me:3252: \$? = $ac_status" >&5 
     6188  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32536189  (exit $ac_status); } >/dev/null; then 
    32546190  if test -s conftest.err; then 
     
    32616197fi 
    32626198if test -z "$ac_cpp_err"; then 
    3263   ac_cv_header_sys_socket_h=yes 
     6199  ac_header_preproc=yes 
    32646200else 
    32656201  echo "$as_me: failed program was:" >&5 
    3266   cat conftest.$ac_ext >&5 
    3267   ac_cv_header_sys_socket_h=no 
     6202sed 's/^/| /' conftest.$ac_ext >&5 
     6203 
     6204  ac_header_preproc=no 
    32686205fi 
    32696206rm -f conftest.err conftest.$ac_ext 
    3270 fi 
    3271 echo "$as_me:3271: result: $ac_cv_header_sys_socket_h" >&5 
     6207echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6208echo "${ECHO_T}$ac_header_preproc" >&6 
     6209 
     6210# So?  What about this header? 
     6211case $ac_header_compiler:$ac_header_preproc in 
     6212  yes:no ) 
     6213    { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6214echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6215    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
     6216echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
     6217    ( 
     6218      cat <<\_ASBOX 
     6219## ------------------------------------ ## 
     6220## Report this to bug-autoconf@gnu.org. ## 
     6221## ------------------------------------ ## 
     6222_ASBOX 
     6223    ) | 
     6224      sed "s/^/$as_me: WARNING:     /" >&2 
     6225    ;; 
     6226  no:yes ) 
     6227    { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 
     6228echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 
     6229    { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 
     6230echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 
     6231    { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 
     6232echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 
     6233    ( 
     6234      cat <<\_ASBOX 
     6235## ------------------------------------ ## 
     6236## Report this to bug-autoconf@gnu.org. ## 
     6237## ------------------------------------ ## 
     6238_ASBOX 
     6239    ) | 
     6240      sed "s/^/$as_me: WARNING:     /" >&2 
     6241    ;; 
     6242esac 
     6243echo "$as_me:$LINENO: checking for sys/socket.h" >&5 
     6244echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 
     6245if test "${ac_cv_header_sys_socket_h+set}" = set; then 
     6246  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6247else 
     6248  ac_cv_header_sys_socket_h=$ac_header_preproc 
     6249fi 
     6250echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 
    32726251echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 
     6252 
     6253fi 
    32736254if test $ac_cv_header_sys_socket_h = yes; then 
    3274   cat >>confdefs.h <<\EOF 
     6255  cat >>confdefs.h <<\_ACEOF 
    32756256#define PJ_HAS_SYS_SOCKET_H 1 
    3276 EOF 
    3277  
    3278 fi 
    3279  
    3280 echo "$as_me:3280: checking for sys/time.h" >&5 
     6257_ACEOF 
     6258 
     6259fi 
     6260 
     6261 
     6262if test "${ac_cv_header_sys_time_h+set}" = set; then 
     6263  echo "$as_me:$LINENO: checking for sys/time.h" >&5 
    32816264echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 
    32826265if test "${ac_cv_header_sys_time_h+set}" = set; then 
    32836266  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3284 else 
    3285   cat >conftest.$ac_ext <<_ACEOF 
    3286 #line 3286 "configure" 
    3287 #include "confdefs.h" 
     6267fi 
     6268echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
     6269echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 
     6270else 
     6271  # Is the header compilable? 
     6272echo "$as_me:$LINENO: checking sys/time.h usability" >&5 
     6273echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 
     6274cat >conftest.$ac_ext <<_ACEOF 
     6275#line $LINENO "configure" 
     6276/* confdefs.h.  */ 
     6277_ACEOF 
     6278cat confdefs.h >>conftest.$ac_ext 
     6279cat >>conftest.$ac_ext <<_ACEOF 
     6280/* end confdefs.h.  */ 
     6281$ac_includes_default 
    32886282#include <sys/time.h> 
    32896283_ACEOF 
    3290 if { (eval echo "$as_me:3290: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6284rm -f conftest.$ac_objext 
     6285if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6286  (eval $ac_compile) 2>&5 
     6287  ac_status=$? 
     6288  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6289  (exit $ac_status); } && 
     6290         { ac_try='test -s conftest.$ac_objext' 
     6291  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6292  (eval $ac_try) 2>&5 
     6293  ac_status=$? 
     6294  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6295  (exit $ac_status); }; }; then 
     6296  ac_header_compiler=yes 
     6297else 
     6298  echo "$as_me: failed program was:" >&5 
     6299sed 's/^/| /' conftest.$ac_ext >&5 
     6300 
     6301ac_header_compiler=no 
     6302fi 
     6303rm -f conftest.$ac_objext conftest.$ac_ext 
     6304echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6305echo "${ECHO_T}$ac_header_compiler" >&6 
     6306 
     6307# Is the header present? 
     6308echo "$as_me:$LINENO: checking sys/time.h presence" >&5 
     6309echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 
     6310cat >conftest.$ac_ext <<_ACEOF 
     6311#line $LINENO "configure" 
     6312/* confdefs.h.  */ 
     6313_ACEOF 
     6314cat confdefs.h >>conftest.$ac_ext 
     6315cat >>conftest.$ac_ext <<_ACEOF 
     6316/* end confdefs.h.  */ 
     6317#include <sys/time.h> 
     6318_ACEOF 
     6319if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    32916320  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    32926321  ac_status=$? 
    3293   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6322  grep -v '^ *+' conftest.er1 >conftest.err 
    32946323  rm -f conftest.er1 
    32956324  cat conftest.err >&5 
    3296   echo "$as_me:3296: \$? = $ac_status" >&5 
     6325  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32976326  (exit $ac_status); } >/dev/null; then 
    32986327  if test -s conftest.err; then 
     
    33056334fi 
    33066335if test -z "$ac_cpp_err"; then 
    3307   ac_cv_header_sys_time_h=yes 
     6336  ac_header_preproc=yes 
    33086337else 
    33096338  echo "$as_me: failed program was:" >&5 
    3310   cat conftest.$ac_ext >&5 
    3311   ac_cv_header_sys_time_h=no 
     6339sed 's/^/| /' conftest.$ac_ext >&5 
     6340 
     6341  ac_header_preproc=no 
    33126342fi 
    33136343rm -f conftest.err conftest.$ac_ext 
    3314 fi 
    3315 echo "$as_me:3315: result: $ac_cv_header_sys_time_h" >&5 
     6344echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6345echo "${ECHO_T}$ac_header_preproc" >&6 
     6346 
     6347# So?  What about this header? 
     6348case $ac_header_compiler:$ac_header_preproc in 
     6349  yes:no ) 
     6350    { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6351echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6352    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
     6353echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
     6354    ( 
     6355      cat <<\_ASBOX 
     6356## ------------------------------------ ## 
     6357## Report this to bug-autoconf@gnu.org. ## 
     6358## ------------------------------------ ## 
     6359_ASBOX 
     6360    ) | 
     6361      sed "s/^/$as_me: WARNING:     /" >&2 
     6362    ;; 
     6363  no:yes ) 
     6364    { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 
     6365echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 
     6366    { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 
     6367echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 
     6368    { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 
     6369echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 
     6370    ( 
     6371      cat <<\_ASBOX 
     6372## ------------------------------------ ## 
     6373## Report this to bug-autoconf@gnu.org. ## 
     6374## ------------------------------------ ## 
     6375_ASBOX 
     6376    ) | 
     6377      sed "s/^/$as_me: WARNING:     /" >&2 
     6378    ;; 
     6379esac 
     6380echo "$as_me:$LINENO: checking for sys/time.h" >&5 
     6381echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 
     6382if test "${ac_cv_header_sys_time_h+set}" = set; then 
     6383  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6384else 
     6385  ac_cv_header_sys_time_h=$ac_header_preproc 
     6386fi 
     6387echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 
    33166388echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 
     6389 
     6390fi 
    33176391if test $ac_cv_header_sys_time_h = yes; then 
    3318   cat >>confdefs.h <<\EOF 
     6392  cat >>confdefs.h <<\_ACEOF 
    33196393#define PJ_HAS_SYS_TIME_H 1 
    3320 EOF 
    3321  
    3322 fi 
    3323  
    3324 echo "$as_me:3324: checking for sys/timeb.h" >&5 
     6394_ACEOF 
     6395 
     6396fi 
     6397 
     6398 
     6399if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     6400  echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
    33256401echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 
    33266402if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
    33276403  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3328 else 
    3329   cat >conftest.$ac_ext <<_ACEOF 
    3330 #line 3330 "configure" 
    3331 #include "confdefs.h" 
     6404fi 
     6405echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
     6406echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 
     6407else 
     6408  # Is the header compilable? 
     6409echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 
     6410echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 
     6411cat >conftest.$ac_ext <<_ACEOF 
     6412#line $LINENO "configure" 
     6413/* confdefs.h.  */ 
     6414_ACEOF 
     6415cat confdefs.h >>conftest.$ac_ext 
     6416cat >>conftest.$ac_ext <<_ACEOF 
     6417/* end confdefs.h.  */ 
     6418$ac_includes_default 
    33326419#include <sys/timeb.h> 
    33336420_ACEOF 
    3334 if { (eval echo "$as_me:3334: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6421rm -f conftest.$ac_objext 
     6422if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6423  (eval $ac_compile) 2>&5 
     6424  ac_status=$? 
     6425  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6426  (exit $ac_status); } && 
     6427         { ac_try='test -s conftest.$ac_objext' 
     6428  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6429  (eval $ac_try) 2>&5 
     6430  ac_status=$? 
     6431  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6432  (exit $ac_status); }; }; then 
     6433  ac_header_compiler=yes 
     6434else 
     6435  echo "$as_me: failed program was:" >&5 
     6436sed 's/^/| /' conftest.$ac_ext >&5 
     6437 
     6438ac_header_compiler=no 
     6439fi 
     6440rm -f conftest.$ac_objext conftest.$ac_ext 
     6441echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6442echo "${ECHO_T}$ac_header_compiler" >&6 
     6443 
     6444# Is the header present? 
     6445echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 
     6446echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 
     6447cat >conftest.$ac_ext <<_ACEOF 
     6448#line $LINENO "configure" 
     6449/* confdefs.h.  */ 
     6450_ACEOF 
     6451cat confdefs.h >>conftest.$ac_ext 
     6452cat >>conftest.$ac_ext <<_ACEOF 
     6453/* end confdefs.h.  */ 
     6454#include <sys/timeb.h> 
     6455_ACEOF 
     6456if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    33356457  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    33366458  ac_status=$? 
    3337   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6459  grep -v '^ *+' conftest.er1 >conftest.err 
    33386460  rm -f conftest.er1 
    33396461  cat conftest.err >&5 
    3340   echo "$as_me:3340: \$? = $ac_status" >&5 
     6462  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    33416463  (exit $ac_status); } >/dev/null; then 
    33426464  if test -s conftest.err; then 
     
    33496471fi 
    33506472if test -z "$ac_cpp_err"; then 
    3351   ac_cv_header_sys_timeb_h=yes 
     6473  ac_header_preproc=yes 
    33526474else 
    33536475  echo "$as_me: failed program was:" >&5 
    3354   cat conftest.$ac_ext >&5 
    3355   ac_cv_header_sys_timeb_h=no 
     6476sed 's/^/| /' conftest.$ac_ext >&5 
     6477 
     6478  ac_header_preproc=no 
    33566479fi 
    33576480rm -f conftest.err conftest.$ac_ext 
    3358 fi 
    3359 echo "$as_me:3359: result: $ac_cv_header_sys_timeb_h" >&5 
     6481echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6482echo "${ECHO_T}$ac_header_preproc" >&6 
     6483 
     6484# So?  What about this header? 
     6485case $ac_header_compiler:$ac_header_preproc in 
     6486  yes:no ) 
     6487    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6488echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6489    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
     6490echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
     6491    ( 
     6492      cat <<\_ASBOX 
     6493## ------------------------------------ ## 
     6494## Report this to bug-autoconf@gnu.org. ## 
     6495## ------------------------------------ ## 
     6496_ASBOX 
     6497    ) | 
     6498      sed "s/^/$as_me: WARNING:     /" >&2 
     6499    ;; 
     6500  no:yes ) 
     6501    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 
     6502echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 
     6503    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 
     6504echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 
     6505    { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 
     6506echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 
     6507    ( 
     6508      cat <<\_ASBOX 
     6509## ------------------------------------ ## 
     6510## Report this to bug-autoconf@gnu.org. ## 
     6511## ------------------------------------ ## 
     6512_ASBOX 
     6513    ) | 
     6514      sed "s/^/$as_me: WARNING:     /" >&2 
     6515    ;; 
     6516esac 
     6517echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 
     6518echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 
     6519if test "${ac_cv_header_sys_timeb_h+set}" = set; then 
     6520  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6521else 
     6522  ac_cv_header_sys_timeb_h=$ac_header_preproc 
     6523fi 
     6524echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 
    33606525echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 
     6526 
     6527fi 
    33616528if test $ac_cv_header_sys_timeb_h = yes; then 
    3362   cat >>confdefs.h <<\EOF 
     6529  cat >>confdefs.h <<\_ACEOF 
    33636530#define PJ_HAS_SYS_TIMEB_H 1 
    3364 EOF 
    3365  
    3366 fi 
    3367  
    3368 echo "$as_me:3368: checking for sys/types.h" >&5 
     6531_ACEOF 
     6532 
     6533fi 
     6534 
     6535 
     6536if test "${ac_cv_header_sys_types_h+set}" = set; then 
     6537  echo "$as_me:$LINENO: checking for sys/types.h" >&5 
    33696538echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 
    33706539if test "${ac_cv_header_sys_types_h+set}" = set; then 
    33716540  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3372 else 
    3373   cat >conftest.$ac_ext <<_ACEOF 
    3374 #line 3374 "configure" 
    3375 #include "confdefs.h" 
     6541fi 
     6542echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
     6543echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 
     6544else 
     6545  # Is the header compilable? 
     6546echo "$as_me:$LINENO: checking sys/types.h usability" >&5 
     6547echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 
     6548cat >conftest.$ac_ext <<_ACEOF 
     6549#line $LINENO "configure" 
     6550/* confdefs.h.  */ 
     6551_ACEOF 
     6552cat confdefs.h >>conftest.$ac_ext 
     6553cat >>conftest.$ac_ext <<_ACEOF 
     6554/* end confdefs.h.  */ 
     6555$ac_includes_default 
    33766556#include <sys/types.h> 
    33776557_ACEOF 
    3378 if { (eval echo "$as_me:3378: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6558rm -f conftest.$ac_objext 
     6559if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6560  (eval $ac_compile) 2>&5 
     6561  ac_status=$? 
     6562  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6563  (exit $ac_status); } && 
     6564         { ac_try='test -s conftest.$ac_objext' 
     6565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6566  (eval $ac_try) 2>&5 
     6567  ac_status=$? 
     6568  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6569  (exit $ac_status); }; }; then 
     6570  ac_header_compiler=yes 
     6571else 
     6572  echo "$as_me: failed program was:" >&5 
     6573sed 's/^/| /' conftest.$ac_ext >&5 
     6574 
     6575ac_header_compiler=no 
     6576fi 
     6577rm -f conftest.$ac_objext conftest.$ac_ext 
     6578echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6579echo "${ECHO_T}$ac_header_compiler" >&6 
     6580 
     6581# Is the header present? 
     6582echo "$as_me:$LINENO: checking sys/types.h presence" >&5 
     6583echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 
     6584cat >conftest.$ac_ext <<_ACEOF 
     6585#line $LINENO "configure" 
     6586/* confdefs.h.  */ 
     6587_ACEOF 
     6588cat confdefs.h >>conftest.$ac_ext 
     6589cat >>conftest.$ac_ext <<_ACEOF 
     6590/* end confdefs.h.  */ 
     6591#include <sys/types.h> 
     6592_ACEOF 
     6593if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    33796594  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    33806595  ac_status=$? 
    3381   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6596  grep -v '^ *+' conftest.er1 >conftest.err 
    33826597  rm -f conftest.er1 
    33836598  cat conftest.err >&5 
    3384   echo "$as_me:3384: \$? = $ac_status" >&5 
     6599  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    33856600  (exit $ac_status); } >/dev/null; then 
    33866601  if test -s conftest.err; then 
     
    33936608fi 
    33946609if test -z "$ac_cpp_err"; then 
    3395   ac_cv_header_sys_types_h=yes 
     6610  ac_header_preproc=yes 
    33966611else 
    33976612  echo "$as_me: failed program was:" >&5 
    3398   cat conftest.$ac_ext >&5 
    3399   ac_cv_header_sys_types_h=no 
     6613sed 's/^/| /' conftest.$ac_ext >&5 
     6614 
     6615  ac_header_preproc=no 
    34006616fi 
    34016617rm -f conftest.err conftest.$ac_ext 
    3402 fi 
    3403 echo "$as_me:3403: result: $ac_cv_header_sys_types_h" >&5 
     6618echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6619echo "${ECHO_T}$ac_header_preproc" >&6 
     6620 
     6621# So?  What about this header? 
     6622case $ac_header_compiler:$ac_header_preproc in 
     6623  yes:no ) 
     6624    { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6625echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6626    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
     6627echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
     6628    ( 
     6629      cat <<\_ASBOX 
     6630## ------------------------------------ ## 
     6631## Report this to bug-autoconf@gnu.org. ## 
     6632## ------------------------------------ ## 
     6633_ASBOX 
     6634    ) | 
     6635      sed "s/^/$as_me: WARNING:     /" >&2 
     6636    ;; 
     6637  no:yes ) 
     6638    { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 
     6639echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 
     6640    { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 
     6641echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 
     6642    { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 
     6643echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 
     6644    ( 
     6645      cat <<\_ASBOX 
     6646## ------------------------------------ ## 
     6647## Report this to bug-autoconf@gnu.org. ## 
     6648## ------------------------------------ ## 
     6649_ASBOX 
     6650    ) | 
     6651      sed "s/^/$as_me: WARNING:     /" >&2 
     6652    ;; 
     6653esac 
     6654echo "$as_me:$LINENO: checking for sys/types.h" >&5 
     6655echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 
     6656if test "${ac_cv_header_sys_types_h+set}" = set; then 
     6657  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6658else 
     6659  ac_cv_header_sys_types_h=$ac_header_preproc 
     6660fi 
     6661echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 
    34046662echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 
     6663 
     6664fi 
    34056665if test $ac_cv_header_sys_types_h = yes; then 
    3406   cat >>confdefs.h <<\EOF 
     6666  cat >>confdefs.h <<\_ACEOF 
    34076667#define PJ_HAS_SYS_TYPES_H 1 
    3408 EOF 
    3409  
    3410 fi 
    3411  
    3412 echo "$as_me:3412: checking for time.h" >&5 
     6668_ACEOF 
     6669 
     6670fi 
     6671 
     6672 
     6673if test "${ac_cv_header_time_h+set}" = set; then 
     6674  echo "$as_me:$LINENO: checking for time.h" >&5 
    34136675echo $ECHO_N "checking for time.h... $ECHO_C" >&6 
    34146676if test "${ac_cv_header_time_h+set}" = set; then 
    34156677  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3416 else 
    3417   cat >conftest.$ac_ext <<_ACEOF 
    3418 #line 3418 "configure" 
    3419 #include "confdefs.h" 
     6678fi 
     6679echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
     6680echo "${ECHO_T}$ac_cv_header_time_h" >&6 
     6681else 
     6682  # Is the header compilable? 
     6683echo "$as_me:$LINENO: checking time.h usability" >&5 
     6684echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 
     6685cat >conftest.$ac_ext <<_ACEOF 
     6686#line $LINENO "configure" 
     6687/* confdefs.h.  */ 
     6688_ACEOF 
     6689cat confdefs.h >>conftest.$ac_ext 
     6690cat >>conftest.$ac_ext <<_ACEOF 
     6691/* end confdefs.h.  */ 
     6692$ac_includes_default 
    34206693#include <time.h> 
    34216694_ACEOF 
    3422 if { (eval echo "$as_me:3422: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6695rm -f conftest.$ac_objext 
     6696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6697  (eval $ac_compile) 2>&5 
     6698  ac_status=$? 
     6699  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6700  (exit $ac_status); } && 
     6701         { ac_try='test -s conftest.$ac_objext' 
     6702  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6703  (eval $ac_try) 2>&5 
     6704  ac_status=$? 
     6705  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6706  (exit $ac_status); }; }; then 
     6707  ac_header_compiler=yes 
     6708else 
     6709  echo "$as_me: failed program was:" >&5 
     6710sed 's/^/| /' conftest.$ac_ext >&5 
     6711 
     6712ac_header_compiler=no 
     6713fi 
     6714rm -f conftest.$ac_objext conftest.$ac_ext 
     6715echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6716echo "${ECHO_T}$ac_header_compiler" >&6 
     6717 
     6718# Is the header present? 
     6719echo "$as_me:$LINENO: checking time.h presence" >&5 
     6720echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 
     6721cat >conftest.$ac_ext <<_ACEOF 
     6722#line $LINENO "configure" 
     6723/* confdefs.h.  */ 
     6724_ACEOF 
     6725cat confdefs.h >>conftest.$ac_ext 
     6726cat >>conftest.$ac_ext <<_ACEOF 
     6727/* end confdefs.h.  */ 
     6728#include <time.h> 
     6729_ACEOF 
     6730if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    34236731  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    34246732  ac_status=$? 
    3425   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6733  grep -v '^ *+' conftest.er1 >conftest.err 
    34266734  rm -f conftest.er1 
    34276735  cat conftest.err >&5 
    3428   echo "$as_me:3428: \$? = $ac_status" >&5 
     6736  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34296737  (exit $ac_status); } >/dev/null; then 
    34306738  if test -s conftest.err; then 
     
    34376745fi 
    34386746if test -z "$ac_cpp_err"; then 
    3439   ac_cv_header_time_h=yes 
     6747  ac_header_preproc=yes 
    34406748else 
    34416749  echo "$as_me: failed program was:" >&5 
    3442   cat conftest.$ac_ext >&5 
    3443   ac_cv_header_time_h=no 
     6750sed 's/^/| /' conftest.$ac_ext >&5 
     6751 
     6752  ac_header_preproc=no 
    34446753fi 
    34456754rm -f conftest.err conftest.$ac_ext 
    3446 fi 
    3447 echo "$as_me:3447: result: $ac_cv_header_time_h" >&5 
     6755echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6756echo "${ECHO_T}$ac_header_preproc" >&6 
     6757 
     6758# So?  What about this header? 
     6759case $ac_header_compiler:$ac_header_preproc in 
     6760  yes:no ) 
     6761    { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6762echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6763    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
     6764echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
     6765    ( 
     6766      cat <<\_ASBOX 
     6767## ------------------------------------ ## 
     6768## Report this to bug-autoconf@gnu.org. ## 
     6769## ------------------------------------ ## 
     6770_ASBOX 
     6771    ) | 
     6772      sed "s/^/$as_me: WARNING:     /" >&2 
     6773    ;; 
     6774  no:yes ) 
     6775    { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 
     6776echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 
     6777    { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 
     6778echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 
     6779    { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 
     6780echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 
     6781    ( 
     6782      cat <<\_ASBOX 
     6783## ------------------------------------ ## 
     6784## Report this to bug-autoconf@gnu.org. ## 
     6785## ------------------------------------ ## 
     6786_ASBOX 
     6787    ) | 
     6788      sed "s/^/$as_me: WARNING:     /" >&2 
     6789    ;; 
     6790esac 
     6791echo "$as_me:$LINENO: checking for time.h" >&5 
     6792echo $ECHO_N "checking for time.h... $ECHO_C" >&6 
     6793if test "${ac_cv_header_time_h+set}" = set; then 
     6794  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6795else 
     6796  ac_cv_header_time_h=$ac_header_preproc 
     6797fi 
     6798echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 
    34486799echo "${ECHO_T}$ac_cv_header_time_h" >&6 
     6800 
     6801fi 
    34496802if test $ac_cv_header_time_h = yes; then 
    3450   cat >>confdefs.h <<\EOF 
     6803  cat >>confdefs.h <<\_ACEOF 
    34516804#define PJ_HAS_TIME_H 1 
    3452 EOF 
    3453  
    3454 fi 
    3455  
    3456 echo "$as_me:3456: checking for unistd.h" >&5 
     6805_ACEOF 
     6806 
     6807fi 
     6808 
     6809 
     6810if test "${ac_cv_header_unistd_h+set}" = set; then 
     6811  echo "$as_me:$LINENO: checking for unistd.h" >&5 
    34576812echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 
    34586813if test "${ac_cv_header_unistd_h+set}" = set; then 
    34596814  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3460 else 
    3461   cat >conftest.$ac_ext <<_ACEOF 
    3462 #line 3462 "configure" 
    3463 #include "confdefs.h" 
     6815fi 
     6816echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
     6817echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 
     6818else 
     6819  # Is the header compilable? 
     6820echo "$as_me:$LINENO: checking unistd.h usability" >&5 
     6821echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 
     6822cat >conftest.$ac_ext <<_ACEOF 
     6823#line $LINENO "configure" 
     6824/* confdefs.h.  */ 
     6825_ACEOF 
     6826cat confdefs.h >>conftest.$ac_ext 
     6827cat >>conftest.$ac_ext <<_ACEOF 
     6828/* end confdefs.h.  */ 
     6829$ac_includes_default 
    34646830#include <unistd.h> 
    34656831_ACEOF 
    3466 if { (eval echo "$as_me:3466: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6832rm -f conftest.$ac_objext 
     6833if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6834  (eval $ac_compile) 2>&5 
     6835  ac_status=$? 
     6836  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6837  (exit $ac_status); } && 
     6838         { ac_try='test -s conftest.$ac_objext' 
     6839  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6840  (eval $ac_try) 2>&5 
     6841  ac_status=$? 
     6842  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6843  (exit $ac_status); }; }; then 
     6844  ac_header_compiler=yes 
     6845else 
     6846  echo "$as_me: failed program was:" >&5 
     6847sed 's/^/| /' conftest.$ac_ext >&5 
     6848 
     6849ac_header_compiler=no 
     6850fi 
     6851rm -f conftest.$ac_objext conftest.$ac_ext 
     6852echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6853echo "${ECHO_T}$ac_header_compiler" >&6 
     6854 
     6855# Is the header present? 
     6856echo "$as_me:$LINENO: checking unistd.h presence" >&5 
     6857echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 
     6858cat >conftest.$ac_ext <<_ACEOF 
     6859#line $LINENO "configure" 
     6860/* confdefs.h.  */ 
     6861_ACEOF 
     6862cat confdefs.h >>conftest.$ac_ext 
     6863cat >>conftest.$ac_ext <<_ACEOF 
     6864/* end confdefs.h.  */ 
     6865#include <unistd.h> 
     6866_ACEOF 
     6867if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    34676868  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    34686869  ac_status=$? 
    3469   egrep -v '^ *\+' conftest.er1 >conftest.err 
     6870  grep -v '^ *+' conftest.er1 >conftest.err 
    34706871  rm -f conftest.er1 
    34716872  cat conftest.err >&5 
    3472   echo "$as_me:3472: \$? = $ac_status" >&5 
     6873  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34736874  (exit $ac_status); } >/dev/null; then 
    34746875  if test -s conftest.err; then 
     
    34816882fi 
    34826883if test -z "$ac_cpp_err"; then 
    3483   ac_cv_header_unistd_h=yes 
     6884  ac_header_preproc=yes 
    34846885else 
    34856886  echo "$as_me: failed program was:" >&5 
    3486   cat conftest.$ac_ext >&5 
    3487   ac_cv_header_unistd_h=no 
     6887sed 's/^/| /' conftest.$ac_ext >&5 
     6888 
     6889  ac_header_preproc=no 
    34886890fi 
    34896891rm -f conftest.err conftest.$ac_ext 
    3490 fi 
    3491 echo "$as_me:3491: result: $ac_cv_header_unistd_h" >&5 
     6892echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     6893echo "${ECHO_T}$ac_header_preproc" >&6 
     6894 
     6895# So?  What about this header? 
     6896case $ac_header_compiler:$ac_header_preproc in 
     6897  yes:no ) 
     6898    { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     6899echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     6900    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
     6901echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
     6902    ( 
     6903      cat <<\_ASBOX 
     6904## ------------------------------------ ## 
     6905## Report this to bug-autoconf@gnu.org. ## 
     6906## ------------------------------------ ## 
     6907_ASBOX 
     6908    ) | 
     6909      sed "s/^/$as_me: WARNING:     /" >&2 
     6910    ;; 
     6911  no:yes ) 
     6912    { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 
     6913echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 
     6914    { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 
     6915echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 
     6916    { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 
     6917echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 
     6918    ( 
     6919      cat <<\_ASBOX 
     6920## ------------------------------------ ## 
     6921## Report this to bug-autoconf@gnu.org. ## 
     6922## ------------------------------------ ## 
     6923_ASBOX 
     6924    ) | 
     6925      sed "s/^/$as_me: WARNING:     /" >&2 
     6926    ;; 
     6927esac 
     6928echo "$as_me:$LINENO: checking for unistd.h" >&5 
     6929echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 
     6930if test "${ac_cv_header_unistd_h+set}" = set; then 
     6931  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6932else 
     6933  ac_cv_header_unistd_h=$ac_header_preproc 
     6934fi 
     6935echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 
    34926936echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 
     6937 
     6938fi 
    34936939if test $ac_cv_header_unistd_h = yes; then 
    3494   cat >>confdefs.h <<\EOF 
     6940  cat >>confdefs.h <<\_ACEOF 
    34956941#define PJ_HAS_UNISTD_H 1 
    3496 EOF 
    3497  
    3498 fi 
    3499  
    3500 echo "$as_me:3500: checking for mswsock.h" >&5 
     6942_ACEOF 
     6943 
     6944fi 
     6945 
     6946 
     6947if test "${ac_cv_header_mswsock_h+set}" = set; then 
     6948  echo "$as_me:$LINENO: checking for mswsock.h" >&5 
    35016949echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 
    35026950if test "${ac_cv_header_mswsock_h+set}" = set; then 
    35036951  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3504 else 
    3505   cat >conftest.$ac_ext <<_ACEOF 
    3506 #line 3506 "configure" 
    3507 #include "confdefs.h" 
     6952fi 
     6953echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
     6954echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 
     6955else 
     6956  # Is the header compilable? 
     6957echo "$as_me:$LINENO: checking mswsock.h usability" >&5 
     6958echo $ECHO_N "checking mswsock.h usability... $ECHO_C" >&6 
     6959cat >conftest.$ac_ext <<_ACEOF 
     6960#line $LINENO "configure" 
     6961/* confdefs.h.  */ 
     6962_ACEOF 
     6963cat confdefs.h >>conftest.$ac_ext 
     6964cat >>conftest.$ac_ext <<_ACEOF 
     6965/* end confdefs.h.  */ 
     6966$ac_includes_default 
    35086967#include <mswsock.h> 
    35096968_ACEOF 
    3510 if { (eval echo "$as_me:3510: \"$ac_cpp conftest.$ac_ext\"") >&5 
     6969rm -f conftest.$ac_objext 
     6970if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6971  (eval $ac_compile) 2>&5 
     6972  ac_status=$? 
     6973  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6974  (exit $ac_status); } && 
     6975         { ac_try='test -s conftest.$ac_objext' 
     6976  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6977  (eval $ac_try) 2>&5 
     6978  ac_status=$? 
     6979  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6980  (exit $ac_status); }; }; then 
     6981  ac_header_compiler=yes 
     6982else 
     6983  echo "$as_me: failed program was:" >&5 
     6984sed 's/^/| /' conftest.$ac_ext >&5 
     6985 
     6986ac_header_compiler=no 
     6987fi 
     6988rm -f conftest.$ac_objext conftest.$ac_ext 
     6989echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     6990echo "${ECHO_T}$ac_header_compiler" >&6 
     6991 
     6992# Is the header present? 
     6993echo "$as_me:$LINENO: checking mswsock.h presence" >&5 
     6994echo $ECHO_N "checking mswsock.h presence... $ECHO_C" >&6 
     6995cat >conftest.$ac_ext <<_ACEOF 
     6996#line $LINENO "configure" 
     6997/* confdefs.h.  */ 
     6998_ACEOF 
     6999cat confdefs.h >>conftest.$ac_ext 
     7000cat >>conftest.$ac_ext <<_ACEOF 
     7001/* end confdefs.h.  */ 
     7002#include <mswsock.h> 
     7003_ACEOF 
     7004if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    35117005  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    35127006  ac_status=$? 
    3513   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7007  grep -v '^ *+' conftest.er1 >conftest.err 
    35147008  rm -f conftest.er1 
    35157009  cat conftest.err >&5 
    3516   echo "$as_me:3516: \$? = $ac_status" >&5 
     7010  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    35177011  (exit $ac_status); } >/dev/null; then 
    35187012  if test -s conftest.err; then 
     
    35257019fi 
    35267020if test -z "$ac_cpp_err"; then 
    3527   ac_cv_header_mswsock_h=yes 
     7021  ac_header_preproc=yes 
    35287022else 
    35297023  echo "$as_me: failed program was:" >&5 
    3530   cat conftest.$ac_ext >&5 
    3531   ac_cv_header_mswsock_h=no 
     7024sed 's/^/| /' conftest.$ac_ext >&5 
     7025 
     7026  ac_header_preproc=no 
    35327027fi 
    35337028rm -f conftest.err conftest.$ac_ext 
    3534 fi 
    3535 echo "$as_me:3535: result: $ac_cv_header_mswsock_h" >&5 
     7029echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7030echo "${ECHO_T}$ac_header_preproc" >&6 
     7031 
     7032# So?  What about this header? 
     7033case $ac_header_compiler:$ac_header_preproc in 
     7034  yes:no ) 
     7035    { echo "$as_me:$LINENO: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7036echo "$as_me: WARNING: mswsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7037    { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 
     7038echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 
     7039    ( 
     7040      cat <<\_ASBOX 
     7041## ------------------------------------ ## 
     7042## Report this to bug-autoconf@gnu.org. ## 
     7043## ------------------------------------ ## 
     7044_ASBOX 
     7045    ) | 
     7046      sed "s/^/$as_me: WARNING:     /" >&2 
     7047    ;; 
     7048  no:yes ) 
     7049    { echo "$as_me:$LINENO: WARNING: mswsock.h: present but cannot be compiled" >&5 
     7050echo "$as_me: WARNING: mswsock.h: present but cannot be compiled" >&2;} 
     7051    { echo "$as_me:$LINENO: WARNING: mswsock.h: check for missing prerequisite headers?" >&5 
     7052echo "$as_me: WARNING: mswsock.h: check for missing prerequisite headers?" >&2;} 
     7053    { echo "$as_me:$LINENO: WARNING: mswsock.h: proceeding with the preprocessor's result" >&5 
     7054echo "$as_me: WARNING: mswsock.h: proceeding with the preprocessor's result" >&2;} 
     7055    ( 
     7056      cat <<\_ASBOX 
     7057## ------------------------------------ ## 
     7058## Report this to bug-autoconf@gnu.org. ## 
     7059## ------------------------------------ ## 
     7060_ASBOX 
     7061    ) | 
     7062      sed "s/^/$as_me: WARNING:     /" >&2 
     7063    ;; 
     7064esac 
     7065echo "$as_me:$LINENO: checking for mswsock.h" >&5 
     7066echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 
     7067if test "${ac_cv_header_mswsock_h+set}" = set; then 
     7068  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7069else 
     7070  ac_cv_header_mswsock_h=$ac_header_preproc 
     7071fi 
     7072echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 
    35367073echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 
     7074 
     7075fi 
    35377076if test $ac_cv_header_mswsock_h = yes; then 
    3538   cat >>confdefs.h <<\EOF 
     7077  cat >>confdefs.h <<\_ACEOF 
    35397078#define PJ_HAS_MSWSOCK_H 1 
    3540 EOF 
    3541  
    3542 fi 
    3543  
    3544 echo "$as_me:3544: checking for winsock.h" >&5 
     7079_ACEOF 
     7080 
     7081fi 
     7082 
     7083 
     7084if test "${ac_cv_header_winsock_h+set}" = set; then 
     7085  echo "$as_me:$LINENO: checking for winsock.h" >&5 
    35457086echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 
    35467087if test "${ac_cv_header_winsock_h+set}" = set; then 
    35477088  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3548 else 
    3549   cat >conftest.$ac_ext <<_ACEOF 
    3550 #line 3550 "configure" 
    3551 #include "confdefs.h" 
     7089fi 
     7090echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
     7091echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 
     7092else 
     7093  # Is the header compilable? 
     7094echo "$as_me:$LINENO: checking winsock.h usability" >&5 
     7095echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 
     7096cat >conftest.$ac_ext <<_ACEOF 
     7097#line $LINENO "configure" 
     7098/* confdefs.h.  */ 
     7099_ACEOF 
     7100cat confdefs.h >>conftest.$ac_ext 
     7101cat >>conftest.$ac_ext <<_ACEOF 
     7102/* end confdefs.h.  */ 
     7103$ac_includes_default 
    35527104#include <winsock.h> 
    35537105_ACEOF 
    3554 if { (eval echo "$as_me:3554: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7106rm -f conftest.$ac_objext 
     7107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7108  (eval $ac_compile) 2>&5 
     7109  ac_status=$? 
     7110  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7111  (exit $ac_status); } && 
     7112         { ac_try='test -s conftest.$ac_objext' 
     7113  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7114  (eval $ac_try) 2>&5 
     7115  ac_status=$? 
     7116  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7117  (exit $ac_status); }; }; then 
     7118  ac_header_compiler=yes 
     7119else 
     7120  echo "$as_me: failed program was:" >&5 
     7121sed 's/^/| /' conftest.$ac_ext >&5 
     7122 
     7123ac_header_compiler=no 
     7124fi 
     7125rm -f conftest.$ac_objext conftest.$ac_ext 
     7126echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7127echo "${ECHO_T}$ac_header_compiler" >&6 
     7128 
     7129# Is the header present? 
     7130echo "$as_me:$LINENO: checking winsock.h presence" >&5 
     7131echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 
     7132cat >conftest.$ac_ext <<_ACEOF 
     7133#line $LINENO "configure" 
     7134/* confdefs.h.  */ 
     7135_ACEOF 
     7136cat confdefs.h >>conftest.$ac_ext 
     7137cat >>conftest.$ac_ext <<_ACEOF 
     7138/* end confdefs.h.  */ 
     7139#include <winsock.h> 
     7140_ACEOF 
     7141if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    35557142  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    35567143  ac_status=$? 
    3557   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7144  grep -v '^ *+' conftest.er1 >conftest.err 
    35587145  rm -f conftest.er1 
    35597146  cat conftest.err >&5 
    3560   echo "$as_me:3560: \$? = $ac_status" >&5 
     7147  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    35617148  (exit $ac_status); } >/dev/null; then 
    35627149  if test -s conftest.err; then 
     
    35697156fi 
    35707157if test -z "$ac_cpp_err"; then 
    3571   ac_cv_header_winsock_h=yes 
     7158  ac_header_preproc=yes 
    35727159else 
    35737160  echo "$as_me: failed program was:" >&5 
    3574   cat conftest.$ac_ext >&5 
    3575   ac_cv_header_winsock_h=no 
     7161sed 's/^/| /' conftest.$ac_ext >&5 
     7162 
     7163  ac_header_preproc=no 
    35767164fi 
    35777165rm -f conftest.err conftest.$ac_ext 
    3578 fi 
    3579 echo "$as_me:3579: result: $ac_cv_header_winsock_h" >&5 
     7166echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7167echo "${ECHO_T}$ac_header_preproc" >&6 
     7168 
     7169# So?  What about this header? 
     7170case $ac_header_compiler:$ac_header_preproc in 
     7171  yes:no ) 
     7172    { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7173echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7174    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
     7175echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
     7176    ( 
     7177      cat <<\_ASBOX 
     7178## ------------------------------------ ## 
     7179## Report this to bug-autoconf@gnu.org. ## 
     7180## ------------------------------------ ## 
     7181_ASBOX 
     7182    ) | 
     7183      sed "s/^/$as_me: WARNING:     /" >&2 
     7184    ;; 
     7185  no:yes ) 
     7186    { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 
     7187echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 
     7188    { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 
     7189echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 
     7190    { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 
     7191echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 
     7192    ( 
     7193      cat <<\_ASBOX 
     7194## ------------------------------------ ## 
     7195## Report this to bug-autoconf@gnu.org. ## 
     7196## ------------------------------------ ## 
     7197_ASBOX 
     7198    ) | 
     7199      sed "s/^/$as_me: WARNING:     /" >&2 
     7200    ;; 
     7201esac 
     7202echo "$as_me:$LINENO: checking for winsock.h" >&5 
     7203echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 
     7204if test "${ac_cv_header_winsock_h+set}" = set; then 
     7205  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7206else 
     7207  ac_cv_header_winsock_h=$ac_header_preproc 
     7208fi 
     7209echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 
    35807210echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 
     7211 
     7212fi 
    35817213if test $ac_cv_header_winsock_h = yes; then 
    3582   cat >>confdefs.h <<\EOF 
     7214  cat >>confdefs.h <<\_ACEOF 
    35837215#define PJ_HAS_WINSOCK_H 1 
    3584 EOF 
    3585  
    3586 fi 
    3587  
    3588 echo "$as_me:3588: checking for winsock2.h" >&5 
     7216_ACEOF 
     7217 
     7218fi 
     7219 
     7220 
     7221if test "${ac_cv_header_winsock2_h+set}" = set; then 
     7222  echo "$as_me:$LINENO: checking for winsock2.h" >&5 
    35897223echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 
    35907224if test "${ac_cv_header_winsock2_h+set}" = set; then 
    35917225  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3592 else 
    3593   cat >conftest.$ac_ext <<_ACEOF 
    3594 #line 3594 "configure" 
    3595 #include "confdefs.h" 
     7226fi 
     7227echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
     7228echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 
     7229else 
     7230  # Is the header compilable? 
     7231echo "$as_me:$LINENO: checking winsock2.h usability" >&5 
     7232echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 
     7233cat >conftest.$ac_ext <<_ACEOF 
     7234#line $LINENO "configure" 
     7235/* confdefs.h.  */ 
     7236_ACEOF 
     7237cat confdefs.h >>conftest.$ac_ext 
     7238cat >>conftest.$ac_ext <<_ACEOF 
     7239/* end confdefs.h.  */ 
     7240$ac_includes_default 
    35967241#include <winsock2.h> 
    35977242_ACEOF 
    3598 if { (eval echo "$as_me:3598: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7243rm -f conftest.$ac_objext 
     7244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7245  (eval $ac_compile) 2>&5 
     7246  ac_status=$? 
     7247  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7248  (exit $ac_status); } && 
     7249         { ac_try='test -s conftest.$ac_objext' 
     7250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7251  (eval $ac_try) 2>&5 
     7252  ac_status=$? 
     7253  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7254  (exit $ac_status); }; }; then 
     7255  ac_header_compiler=yes 
     7256else 
     7257  echo "$as_me: failed program was:" >&5 
     7258sed 's/^/| /' conftest.$ac_ext >&5 
     7259 
     7260ac_header_compiler=no 
     7261fi 
     7262rm -f conftest.$ac_objext conftest.$ac_ext 
     7263echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7264echo "${ECHO_T}$ac_header_compiler" >&6 
     7265 
     7266# Is the header present? 
     7267echo "$as_me:$LINENO: checking winsock2.h presence" >&5 
     7268echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 
     7269cat >conftest.$ac_ext <<_ACEOF 
     7270#line $LINENO "configure" 
     7271/* confdefs.h.  */ 
     7272_ACEOF 
     7273cat confdefs.h >>conftest.$ac_ext 
     7274cat >>conftest.$ac_ext <<_ACEOF 
     7275/* end confdefs.h.  */ 
     7276#include <winsock2.h> 
     7277_ACEOF 
     7278if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    35997279  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    36007280  ac_status=$? 
    3601   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7281  grep -v '^ *+' conftest.er1 >conftest.err 
    36027282  rm -f conftest.er1 
    36037283  cat conftest.err >&5 
    3604   echo "$as_me:3604: \$? = $ac_status" >&5 
     7284  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36057285  (exit $ac_status); } >/dev/null; then 
    36067286  if test -s conftest.err; then 
     
    36137293fi 
    36147294if test -z "$ac_cpp_err"; then 
    3615   ac_cv_header_winsock2_h=yes 
     7295  ac_header_preproc=yes 
    36167296else 
    36177297  echo "$as_me: failed program was:" >&5 
    3618   cat conftest.$ac_ext >&5 
    3619   ac_cv_header_winsock2_h=no 
     7298sed 's/^/| /' conftest.$ac_ext >&5 
     7299 
     7300  ac_header_preproc=no 
    36207301fi 
    36217302rm -f conftest.err conftest.$ac_ext 
    3622 fi 
    3623 echo "$as_me:3623: result: $ac_cv_header_winsock2_h" >&5 
     7303echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7304echo "${ECHO_T}$ac_header_preproc" >&6 
     7305 
     7306# So?  What about this header? 
     7307case $ac_header_compiler:$ac_header_preproc in 
     7308  yes:no ) 
     7309    { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7310echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7311    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
     7312echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
     7313    ( 
     7314      cat <<\_ASBOX 
     7315## ------------------------------------ ## 
     7316## Report this to bug-autoconf@gnu.org. ## 
     7317## ------------------------------------ ## 
     7318_ASBOX 
     7319    ) | 
     7320      sed "s/^/$as_me: WARNING:     /" >&2 
     7321    ;; 
     7322  no:yes ) 
     7323    { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 
     7324echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 
     7325    { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 
     7326echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 
     7327    { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 
     7328echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 
     7329    ( 
     7330      cat <<\_ASBOX 
     7331## ------------------------------------ ## 
     7332## Report this to bug-autoconf@gnu.org. ## 
     7333## ------------------------------------ ## 
     7334_ASBOX 
     7335    ) | 
     7336      sed "s/^/$as_me: WARNING:     /" >&2 
     7337    ;; 
     7338esac 
     7339echo "$as_me:$LINENO: checking for winsock2.h" >&5 
     7340echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 
     7341if test "${ac_cv_header_winsock2_h+set}" = set; then 
     7342  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7343else 
     7344  ac_cv_header_winsock2_h=$ac_header_preproc 
     7345fi 
     7346echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 
    36247347echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 
     7348 
     7349fi 
    36257350if test $ac_cv_header_winsock2_h = yes; then 
    3626   cat >>confdefs.h <<\EOF 
     7351  cat >>confdefs.h <<\_ACEOF 
    36277352#define PJ_HAS_WINSOCK2_H 1 
    3628 EOF 
    3629  
    3630 fi 
    3631  
    3632 echo "$as_me:3632: result: Setting PJ_OS_NAME to $target" >&5 
     7353_ACEOF 
     7354 
     7355fi 
     7356 
     7357 
     7358 
     7359echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 
    36337360echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 
    3634 cat >>confdefs.h <<EOF 
     7361cat >>confdefs.h <<_ACEOF 
    36357362#define PJ_OS_NAME "$target" 
    3636 EOF 
    3637  
    3638 echo "$as_me:3638: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
     7363_ACEOF 
     7364 
     7365 
     7366echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 
    36397367echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 
    3640 cat >>confdefs.h <<\EOF 
     7368cat >>confdefs.h <<\_ACEOF 
    36417369#define PJ_HAS_ERRNO_VAR 1 
    3642 EOF 
    3643  
    3644 echo "$as_me:3644: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
     7370_ACEOF 
     7371 
     7372 
     7373echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 
    36457374echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 
    3646 cat >>confdefs.h <<\EOF 
     7375cat >>confdefs.h <<\_ACEOF 
    36477376#define PJ_HAS_HIGH_RES_TIMER 1 
    3648 EOF 
    3649  
    3650 echo "$as_me:3650: result: Setting PJ_HAS_MALLOC to 1" >&5 
     7377_ACEOF 
     7378 
     7379 
     7380echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 
    36517381echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 
    3652 cat >>confdefs.h <<\EOF 
     7382cat >>confdefs.h <<\_ACEOF 
    36537383#define PJ_HAS_MALLOC 1 
    3654 EOF 
    3655  
    3656 echo "$as_me:3656: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
     7384_ACEOF 
     7385 
     7386 
     7387echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 
    36577388echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 
    3658 cat >>confdefs.h <<\EOF 
     7389cat >>confdefs.h <<\_ACEOF 
    36597390#define PJ_NATIVE_STRING_IS_UNICODE 0 
    3660 EOF 
    3661  
    3662 echo "$as_me:3662: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
     7391_ACEOF 
     7392 
     7393 
     7394echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 
    36637395echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 
    3664 cat >>confdefs.h <<\EOF 
     7396cat >>confdefs.h <<\_ACEOF 
    36657397#define PJ_ATOMIC_VALUE_TYPE long 
    3666 EOF 
    3667  
    3668 echo "$as_me:3668: checking if inet_aton is available" >&5 
     7398_ACEOF 
     7399 
     7400 
     7401echo "$as_me:$LINENO: checking if inet_aton is available" >&5 
    36697402echo $ECHO_N "checking if inet_aton is available... $ECHO_C" >&6 
    36707403cat >conftest.$ac_ext <<_ACEOF 
    3671 #line 3671 "configure" 
    3672 #include "confdefs.h" 
     7404#line $LINENO "configure" 
     7405/* confdefs.h.  */ 
     7406_ACEOF 
     7407cat confdefs.h >>conftest.$ac_ext 
     7408cat >>conftest.$ac_ext <<_ACEOF 
     7409/* end confdefs.h.  */ 
    36737410#include <arpa/inet.h> 
    36747411int 
     
    36817418_ACEOF 
    36827419rm -f conftest.$ac_objext 
    3683 if { (eval echo "$as_me:3683: \"$ac_compile\"") >&5 
     7420if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    36847421  (eval $ac_compile) 2>&5 
    36857422  ac_status=$? 
    3686   echo "$as_me:3686: \$? = $ac_status" >&5 
     7423  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36877424  (exit $ac_status); } && 
    36887425         { ac_try='test -s conftest.$ac_objext' 
    3689   { (eval echo "$as_me:3689: \"$ac_try\"") >&5 
     7426  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    36907427  (eval $ac_try) 2>&5 
    36917428  ac_status=$? 
    3692   echo "$as_me:3692: \$? = $ac_status" >&5 
     7429  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36937430  (exit $ac_status); }; }; then 
    3694   cat >>confdefs.h <<\EOF 
     7431  cat >>confdefs.h <<\_ACEOF 
    36957432#define PJ_SOCK_HAS_INET_ATON 1 
    3696 EOF 
    3697  
    3698                    echo "$as_me:3698: result: yes" >&5 
     7433_ACEOF 
     7434 
     7435                   echo "$as_me:$LINENO: result: yes" >&5 
    36997436echo "${ECHO_T}yes" >&6 
    37007437else 
    37017438  echo "$as_me: failed program was:" >&5 
    3702 cat conftest.$ac_ext >&5 
    3703 echo "$as_me:3703: result: no" >&5 
     7439sed 's/^/| /' conftest.$ac_ext >&5 
     7440 
     7441echo "$as_me:$LINENO: result: no" >&5 
    37047442echo "${ECHO_T}no" >&6 
    37057443fi 
    37067444rm -f conftest.$ac_objext conftest.$ac_ext 
    37077445 
    3708 echo "$as_me:3708: checking if sockaddr_in has sin_len member" >&5 
     7446echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 
    37097447echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 
    37107448cat >conftest.$ac_ext <<_ACEOF 
    3711 #line 3711 "configure" 
    3712 #include "confdefs.h" 
     7449#line $LINENO "configure" 
     7450/* confdefs.h.  */ 
     7451_ACEOF 
     7452cat confdefs.h >>conftest.$ac_ext 
     7453cat >>conftest.$ac_ext <<_ACEOF 
     7454/* end confdefs.h.  */ 
    37137455#include <sys/types.h> 
    37147456                                     #include <sys/socket.h> 
     
    37247466_ACEOF 
    37257467rm -f conftest.$ac_objext 
    3726 if { (eval echo "$as_me:3726: \"$ac_compile\"") >&5 
     7468if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    37277469  (eval $ac_compile) 2>&5 
    37287470  ac_status=$? 
    3729   echo "$as_me:3729: \$? = $ac_status" >&5 
     7471  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37307472  (exit $ac_status); } && 
    37317473         { ac_try='test -s conftest.$ac_objext' 
    3732   { (eval echo "$as_me:3732: \"$ac_try\"") >&5 
     7474  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    37337475  (eval $ac_try) 2>&5 
    37347476  ac_status=$? 
    3735   echo "$as_me:3735: \$? = $ac_status" >&5 
     7477  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37367478  (exit $ac_status); }; }; then 
    3737   cat >>confdefs.h <<\EOF 
     7479  cat >>confdefs.h <<\_ACEOF 
    37387480#define PJ_SOCKADDR_HAS_LEN 1 
    3739 EOF 
    3740  
    3741                    echo "$as_me:3741: result: yes" >&5 
     7481_ACEOF 
     7482 
     7483                   echo "$as_me:$LINENO: result: yes" >&5 
    37427484echo "${ECHO_T}yes" >&6 
    37437485else 
    37447486  echo "$as_me: failed program was:" >&5 
    3745 cat conftest.$ac_ext >&5 
    3746 echo "$as_me:3746: result: no" >&5 
     7487sed 's/^/| /' conftest.$ac_ext >&5 
     7488 
     7489echo "$as_me:$LINENO: result: no" >&5 
    37477490echo "${ECHO_T}no" >&6 
    37487491fi 
    37497492rm -f conftest.$ac_objext conftest.$ac_ext 
    37507493 
    3751 echo "$as_me:3751: checking if socklen_t is available" >&5 
     7494echo "$as_me:$LINENO: checking if socklen_t is available" >&5 
    37527495echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 
    37537496cat >conftest.$ac_ext <<_ACEOF 
    3754 #line 3754 "configure" 
    3755 #include "confdefs.h" 
     7497#line $LINENO "configure" 
     7498/* confdefs.h.  */ 
     7499_ACEOF 
     7500cat confdefs.h >>conftest.$ac_ext 
     7501cat >>conftest.$ac_ext <<_ACEOF 
     7502/* end confdefs.h.  */ 
    37567503#include <unistd.h> 
    37577504int 
     
    37647511_ACEOF 
    37657512rm -f conftest.$ac_objext 
    3766 if { (eval echo "$as_me:3766: \"$ac_compile\"") >&5 
     7513if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    37677514  (eval $ac_compile) 2>&5 
    37687515  ac_status=$? 
    3769   echo "$as_me:3769: \$? = $ac_status" >&5 
     7516  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37707517  (exit $ac_status); } && 
    37717518         { ac_try='test -s conftest.$ac_objext' 
    3772   { (eval echo "$as_me:3772: \"$ac_try\"") >&5 
     7519  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    37737520  (eval $ac_try) 2>&5 
    37747521  ac_status=$? 
    3775   echo "$as_me:3775: \$? = $ac_status" >&5 
     7522  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37767523  (exit $ac_status); }; }; then 
    3777   cat >>confdefs.h <<\EOF 
     7524  cat >>confdefs.h <<\_ACEOF 
    37787525#define PJ_HAS_SOCKLEN_T 1 
    3779 EOF 
    3780  
    3781                    echo "$as_me:3781: result: yes" >&5 
     7526_ACEOF 
     7527 
     7528                   echo "$as_me:$LINENO: result: yes" >&5 
    37827529echo "${ECHO_T}yes" >&6 
    37837530else 
    37847531  echo "$as_me: failed program was:" >&5 
    3785 cat conftest.$ac_ext >&5 
    3786 echo "$as_me:3786: result: no" >&5 
     7532sed 's/^/| /' conftest.$ac_ext >&5 
     7533 
     7534echo "$as_me:$LINENO: result: no" >&5 
    37877535echo "${ECHO_T}no" >&6 
    37887536fi 
    37897537rm -f conftest.$ac_objext conftest.$ac_ext 
    37907538 
    3791 echo "$as_me:3791: checking if SO_ERROR is available" >&5 
     7539echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 
    37927540echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 
    3793 cat >conftest.$ac_ext <<_ACEOF 
    3794 #line 3794 "configure" 
    3795 #include "confdefs.h" 
     7541case $target in 
     7542    *mingw* | *cygw* | *win32* | *w32* ) 
     7543        cat >>confdefs.h <<\_ACEOF 
     7544#define PJ_HAS_SO_ERROR 1 
     7545_ACEOF 
     7546 
     7547        echo "$as_me:$LINENO: result: yes" >&5 
     7548echo "${ECHO_T}yes" >&6 
     7549        ;; 
     7550    *) 
     7551        cat >conftest.$ac_ext <<_ACEOF 
     7552#line $LINENO "configure" 
     7553/* confdefs.h.  */ 
     7554_ACEOF 
     7555cat confdefs.h >>conftest.$ac_ext 
     7556cat >>conftest.$ac_ext <<_ACEOF 
     7557/* end confdefs.h.  */ 
    37967558#include <sys/types.h> 
    3797                                      #include <sys/socket.h> 
    3798                                      #include <netinet/in.h> 
    3799                                      #include <arpa/inet.h> 
     7559                                             #include <sys/socket.h> 
     7560                                             #include <netinet/in.h> 
     7561                                             #include <arpa/inet.h> 
    38007562int 
    38017563main () 
     
    38077569_ACEOF 
    38087570rm -f conftest.$ac_objext 
    3809 if { (eval echo "$as_me:3809: \"$ac_compile\"") >&5 
     7571if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    38107572  (eval $ac_compile) 2>&5 
    38117573  ac_status=$? 
    3812   echo "$as_me:3812: \$? = $ac_status" >&5 
     7574  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38137575  (exit $ac_status); } && 
    38147576         { ac_try='test -s conftest.$ac_objext' 
    3815   { (eval echo "$as_me:3815: \"$ac_try\"") >&5 
     7577  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    38167578  (eval $ac_try) 2>&5 
    38177579  ac_status=$? 
    3818   echo "$as_me:3818: \$? = $ac_status" >&5 
     7580  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38197581  (exit $ac_status); }; }; then 
    3820   cat >>confdefs.h <<\EOF 
     7582  cat >>confdefs.h <<\_ACEOF 
    38217583#define PJ_HAS_SO_ERROR 1 
    3822 EOF 
    3823  
    3824                    echo "$as_me:3824: result: yes" >&5 
     7584_ACEOF 
     7585 
     7586                           echo "$as_me:$LINENO: result: yes" >&5 
    38257587echo "${ECHO_T}yes" >&6 
    38267588else 
    38277589  echo "$as_me: failed program was:" >&5 
    3828 cat conftest.$ac_ext >&5 
    3829 echo "$as_me:3829: result: no" >&5 
     7590sed 's/^/| /' conftest.$ac_ext >&5 
     7591 
     7592echo "$as_me:$LINENO: result: no" >&5 
    38307593echo "${ECHO_T}no" >&6 
    38317594fi 
    38327595rm -f conftest.$ac_objext conftest.$ac_ext 
    3833  
    3834 echo "$as_me:3834: checking if pthread_rwlock_t is available" >&5 
     7596        ;; 
     7597esac 
     7598 
     7599 
     7600echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 
    38357601echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 
    38367602cat >conftest.$ac_ext <<_ACEOF 
    3837 #line 3837 "configure" 
    3838 #include "confdefs.h" 
     7603#line $LINENO "configure" 
     7604/* confdefs.h.  */ 
     7605_ACEOF 
     7606cat confdefs.h >>conftest.$ac_ext 
     7607cat >>conftest.$ac_ext <<_ACEOF 
     7608/* end confdefs.h.  */ 
    38397609#include <pthread.h> 
    38407610int 
     
    38477617_ACEOF 
    38487618rm -f conftest.$ac_objext 
    3849 if { (eval echo "$as_me:3849: \"$ac_compile\"") >&5 
     7619if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    38507620  (eval $ac_compile) 2>&5 
    38517621  ac_status=$? 
    3852   echo "$as_me:3852: \$? = $ac_status" >&5 
     7622  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38537623  (exit $ac_status); } && 
    38547624         { ac_try='test -s conftest.$ac_objext' 
    3855   { (eval echo "$as_me:3855: \"$ac_try\"") >&5 
     7625  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    38567626  (eval $ac_try) 2>&5 
    38577627  ac_status=$? 
    3858   echo "$as_me:3858: \$? = $ac_status" >&5 
     7628  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38597629  (exit $ac_status); }; }; then 
    3860   cat >>confdefs.h <<\EOF 
     7630  cat >>confdefs.h <<\_ACEOF 
    38617631#define PJ_EMULATE_RWMUTEX 0 
    3862 EOF 
    3863  
    3864                    echo "$as_me:3864: result: yes" >&5 
     7632_ACEOF 
     7633 
     7634                   echo "$as_me:$LINENO: result: yes" >&5 
    38657635echo "${ECHO_T}yes" >&6 
    38667636else 
    38677637  echo "$as_me: failed program was:" >&5 
    3868 cat conftest.$ac_ext >&5 
    3869 cat >>confdefs.h <<\EOF 
     7638sed 's/^/| /' conftest.$ac_ext >&5 
     7639 
     7640cat >>confdefs.h <<\_ACEOF 
    38707641#define PJ_EMULATE_RWMUTEX 1 
    3871 EOF 
    3872  
    3873                    echo "$as_me:3873: result: no" >&5 
     7642_ACEOF 
     7643 
     7644                   echo "$as_me:$LINENO: result: no" >&5 
    38747645echo "${ECHO_T}no" >&6 
    38757646fi 
    38767647rm -f conftest.$ac_objext conftest.$ac_ext 
     7648 
     7649 
     7650case $target in 
     7651  *mingw* | *cygw* | *win32* | *w32* ) 
     7652        ac_os_objs="os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o" 
     7653        ;; 
     7654  *) 
     7655        ac_os_objs="os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o guid_simple.o ioqueue_select.o" 
     7656        ;; 
     7657esac 
     7658 
     7659 
     7660 
    38777661 
    38787662case $target in 
    38797663  *darwin*) 
    38807664        ac_pjmedia_snd=pa_darwinos 
    3881         echo "$as_me:3881: result: Checking sound device backend... coreaudio" >&5 
     7665        echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 
    38827666echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 
    38837667        LIBS="$LIBS -framework CoreAudio" 
     
    38857669  *cygwin* | *mingw*) 
    38867670        ac_pjmedia_snd=pa_win32 
    3887         echo "$as_me:3887: result: Checking sound device backend... win32 sound" >&5 
     7671        echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 
    38887672echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 
    38897673        ;; 
    38907674  *rtems*) 
    38917675        ac_pjmedia_snd=null 
    3892         echo "$as_me:3892: result: Checking sound device backend... null sound" >&5 
     7676        echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 
    38937677echo "${ECHO_T}Checking sound device backend... null sound" >&6 
    38947678        ;; 
    38957679  *) 
    38967680        ac_pjmedia_snd=pa_unix 
    3897         echo "$as_me:3897: checking for alsa/version.h" >&5 
     7681        if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     7682  echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
    38987683echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 
    38997684if test "${ac_cv_header_alsa_version_h+set}" = set; then 
    39007685  echo $ECHO_N "(cached) $ECHO_C" >&6 
    3901 else 
    3902   cat >conftest.$ac_ext <<_ACEOF 
    3903 #line 3903 "configure" 
    3904 #include "confdefs.h" 
     7686fi 
     7687echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
     7688echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 
     7689else 
     7690  # Is the header compilable? 
     7691echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 
     7692echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 
     7693cat >conftest.$ac_ext <<_ACEOF 
     7694#line $LINENO "configure" 
     7695/* confdefs.h.  */ 
     7696_ACEOF 
     7697cat confdefs.h >>conftest.$ac_ext 
     7698cat >>conftest.$ac_ext <<_ACEOF 
     7699/* end confdefs.h.  */ 
     7700$ac_includes_default 
    39057701#include <alsa/version.h> 
    39067702_ACEOF 
    3907 if { (eval echo "$as_me:3907: \"$ac_cpp conftest.$ac_ext\"") >&5 
     7703rm -f conftest.$ac_objext 
     7704if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     7705  (eval $ac_compile) 2>&5 
     7706  ac_status=$? 
     7707  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7708  (exit $ac_status); } && 
     7709         { ac_try='test -s conftest.$ac_objext' 
     7710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7711  (eval $ac_try) 2>&5 
     7712  ac_status=$? 
     7713  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7714  (exit $ac_status); }; }; then 
     7715  ac_header_compiler=yes 
     7716else 
     7717  echo "$as_me: failed program was:" >&5 
     7718sed 's/^/| /' conftest.$ac_ext >&5 
     7719 
     7720ac_header_compiler=no 
     7721fi 
     7722rm -f conftest.$ac_objext conftest.$ac_ext 
     7723echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     7724echo "${ECHO_T}$ac_header_compiler" >&6 
     7725 
     7726# Is the header present? 
     7727echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 
     7728echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 
     7729cat >conftest.$ac_ext <<_ACEOF 
     7730#line $LINENO "configure" 
     7731/* confdefs.h.  */ 
     7732_ACEOF 
     7733cat confdefs.h >>conftest.$ac_ext 
     7734cat >>conftest.$ac_ext <<_ACEOF 
     7735/* end confdefs.h.  */ 
     7736#include <alsa/version.h> 
     7737_ACEOF 
     7738if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    39087739  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    39097740  ac_status=$? 
    3910   egrep -v '^ *\+' conftest.er1 >conftest.err 
     7741  grep -v '^ *+' conftest.er1 >conftest.err 
    39117742  rm -f conftest.er1 
    39127743  cat conftest.err >&5 
    3913   echo "$as_me:3913: \$? = $ac_status" >&5 
     7744  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    39147745  (exit $ac_status); } >/dev/null; then 
    39157746  if test -s conftest.err; then 
     
    39227753fi 
    39237754if test -z "$ac_cpp_err"; then 
    3924   ac_cv_header_alsa_version_h=yes 
     7755  ac_header_preproc=yes 
    39257756else 
    39267757  echo "$as_me: failed program was:" >&5 
    3927   cat conftest.$ac_ext >&5 
    3928   ac_cv_header_alsa_version_h=no 
     7758sed 's/^/| /' conftest.$ac_ext >&5 
     7759 
     7760  ac_header_preproc=no 
    39297761fi 
    39307762rm -f conftest.err conftest.$ac_ext 
    3931 fi 
    3932 echo "$as_me:3932: result: $ac_cv_header_alsa_version_h" >&5 
     7763echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     7764echo "${ECHO_T}$ac_header_preproc" >&6 
     7765 
     7766# So?  What about this header? 
     7767case $ac_header_compiler:$ac_header_preproc in 
     7768  yes:no ) 
     7769    { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     7770echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     7771    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
     7772echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
     7773    ( 
     7774      cat <<\_ASBOX 
     7775## ------------------------------------ ## 
     7776## Report this to bug-autoconf@gnu.org. ## 
     7777## ------------------------------------ ## 
     7778_ASBOX 
     7779    ) | 
     7780      sed "s/^/$as_me: WARNING:     /" >&2 
     7781    ;; 
     7782  no:yes ) 
     7783    { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 
     7784echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 
     7785    { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 
     7786echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 
     7787    { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 
     7788echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 
     7789    ( 
     7790      cat <<\_ASBOX 
     7791## ------------------------------------ ## 
     7792## Report this to bug-autoconf@gnu.org. ## 
     7793## ------------------------------------ ## 
     7794_ASBOX 
     7795    ) | 
     7796      sed "s/^/$as_me: WARNING:     /" >&2 
     7797    ;; 
     7798esac 
     7799echo "$as_me:$LINENO: checking for alsa/version.h" >&5 
     7800echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 
     7801if test "${ac_cv_header_alsa_version_h+set}" = set; then 
     7802  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7803else 
     7804  ac_cv_header_alsa_version_h=$ac_header_preproc 
     7805fi 
     7806echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 
    39337807echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 
     7808 
     7809fi 
    39347810if test $ac_cv_header_alsa_version_h = yes; then 
    39357811  ac_pa_use_alsa=1 
     
    39427818fi 
    39437819 
    3944         echo "$as_me:3944: result: Checking sound device backend... unix" >&5 
     7820 
     7821        echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 
    39457822echo "${ECHO_T}Checking sound device backend... unix" >&6 
    39467823        ;; 
    39477824esac 
     7825 
    39487826 
    39497827# Check whether --enable-small-filter or --disable-small-filter was given. 
     
    39527830  if test "$enable_small_filter" = "no"; then 
    39537831                ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 
    3954                 echo "$as_me:3954: result: Checking if small filter is disabled... yes" >&5 
     7832                echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 
    39557833echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 
    39567834               fi 
    39577835else 
    3958   echo "$as_me:3958: result: Checking if small filter is disabled... no" >&5 
     7836  echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 
    39597837echo "${ECHO_T}Checking if small filter is disabled... no" >&6 
    39607838fi; 
     7839 
    39617840 
    39627841# Check whether --enable-large-filter or --disable-large-filter was given. 
     
    39657844  if test "$enable_large_filter" = "no"; then 
    39667845                ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 
    3967                 echo "$as_me:3967: result: Checking if large filter is disabled... yes" >&5 
     7846                echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 
    39687847echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 
    39697848               fi 
    39707849else 
    3971   echo "$as_me:3971: result: Checking if large filter is disabled... no" >&5 
     7850  echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 
    39727851echo "${ECHO_T}Checking if large filter is disabled... no" >&6 
    39737852fi; 
     7853 
    39747854 
    39757855# Check whether --enable-g711-plc or --disable-g711-plc was given. 
     
    39787858  if test "$enable_g711_plc" = "no"; then 
    39797859                ac_no_g711_plc='-DPJMEDIA_HAS_G711_PLC=0' 
    3980                 echo "$as_me:3980: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 
     7860                echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...yes" >&5 
    39817861echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...yes" >&6 
    39827862               fi 
    39837863else 
    3984   echo "$as_me:3984: result: Checking if G.711 Annex A PLC is disabled...no" >&5 
     7864  echo "$as_me:$LINENO: result: Checking if G.711 Annex A PLC is disabled...no" >&5 
    39857865echo "${ECHO_T}Checking if G.711 Annex A PLC is disabled...no" >&6 
    39867866fi; 
     7867 
    39877868 
    39887869# Check whether --enable-speex-aec or --disable-speex-aec was given. 
     
    39917872  if test "$enable_speex_aec" = "no"; then 
    39927873                ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 
    3993                 echo "$as_me:3993: result: Checking if Speex AEC is disabled...yes" >&5 
     7874                echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 
    39947875echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 
    39957876               fi 
    39967877else 
    3997   echo "$as_me:3997: result: Checking if Speex AEC is disabled...no" >&5 
     7878  echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 
    39987879echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 
    39997880fi; 
     7881 
    40007882 
    40017883# Check whether --enable-g711-codec or --disable-g711-codec was given. 
     
    40047886  if test "$enable_g711_codec" = "no"; then 
    40057887                ac_no_g711_codec=1 
    4006                 echo "$as_me:4006: result: Checking if G.711 codec is disabled...yes" >&5 
     7888                echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 
    40077889echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 
    40087890               fi 
    40097891else 
    4010   echo "$as_me:4010: result: Checking if G.711 codec is disabled...no" >&5 
     7892  echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    40117893echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 
    40127894fi; 
     7895 
     7896 
    40137897 
    40147898# Check whether --enable-l16-codec or --disable-l16-codec was given. 
     
    40177901  if test "$enable_l16_codec" = "no"; then 
    40187902                ac_no_l16_codec=1 
    4019                 echo "$as_me:4019: result: Checking if L16 codecs are disabled...yes" >&5 
     7903                echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 
    40207904echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 
    40217905               fi 
    40227906else 
    4023   echo "$as_me:4023: result: Checking if G.711 codec is disabled...no" >&5 
     7907  echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 
    40247908echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 
    40257909fi; 
     7910 
     7911 
    40267912 
    40277913# Check whether --enable-gsm-codec or --disable-gsm-codec was given. 
     
    40307916  if test "$enable_gsm_codec" = "no"; then 
    40317917                ac_no_gsm_codec=1 
    4032                 echo "$as_me:4032: result: Checking if GSM codec is disabled...yes" >&5 
     7918                echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 
    40337919echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 
    40347920               fi 
    40357921else 
    4036   echo "$as_me:4036: result: Checking if GSM codec is disabled...no" >&5 
     7922  echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 
    40377923echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 
    40387924fi; 
     7925 
    40397926 
    40407927# Check whether --enable-speex-codec or --disable-speex-codec was given. 
     
    40437930  if test "$enable_speex_codec" = "no"; then 
    40447931                ac_no_speex_codec=1 
    4045                 echo "$as_me:4045: result: Checking if Speex codec is disabled...yes" >&5 
     7932                echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 
    40467933echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 
    40477934               fi 
    40487935else 
    4049   echo "$as_me:4049: result: Checking if Speex codec is disabled...no" >&5 
     7936  echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 
    40507937echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 
    40517938fi; 
     7939 
    40527940 
    40537941# Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. 
     
    40567944  if test "$enable_ilbc_codec" = "no"; then 
    40577945                ac_no_ilbc_codec=1 
    4058                 echo "$as_me:4058: result: Checking if iLBC codec is disabled...yes" >&5 
     7946                echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 
    40597947echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 
    40607948               fi 
    40617949else 
    4062   echo "$as_me:4062: result: Checking if iLBC codec is disabled...no" >&5 
     7950  echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 
    40637951echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 
    40647952fi; 
    40657953 
    4066 echo "$as_me:4066: checking if select() needs correct nfds" >&5 
     7954 
     7955 
     7956 
     7957 
     7958echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 
    40677959echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 
    40687960case $target in 
    4069   *rtems*) cat >>confdefs.h <<\EOF 
     7961  *rtems*) cat >>confdefs.h <<\_ACEOF 
    40707962#define PJ_SELECT_NEEDS_NFDS 1 
    4071 EOF 
    4072  
    4073            echo "$as_me:4073: result: yes" >&5 
     7963_ACEOF 
     7964 
     7965           echo "$as_me:$LINENO: result: yes" >&5 
    40747966echo "${ECHO_T}yes" >&6 
    40757967        ;; 
    4076   *) cat >>confdefs.h <<\EOF 
     7968  *) cat >>confdefs.h <<\_ACEOF 
    40777969#define PJ_SELECT_NEEDS_NFDS 0 
    4078 EOF 
    4079  
    4080      echo "$as_me:4080: result: no (default)" >&5 
     7970_ACEOF 
     7971 
     7972     echo "$as_me:$LINENO: result: no (default)" >&5 
    40817973echo "${ECHO_T}no (default)" >&6 
    4082      echo "$as_me:4082: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
     7974     echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 
    40837975echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 
    40847976        ;; 
    40857977esac 
    40867978 
    4087 echo "$as_me:4087: checking if pj_thread_create() should enforce stack size" >&5 
     7979echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 
    40887980echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 
    40897981case $target in 
    4090   *rtems*) cat >>confdefs.h <<\EOF 
     7982  *rtems*) cat >>confdefs.h <<\_ACEOF 
    40917983#define PJ_THREAD_SET_STACK_SIZE 1 
    4092 EOF 
    4093  
    4094            echo "$as_me:4094: result: yes" >&5 
     7984_ACEOF 
     7985 
     7986           echo "$as_me:$LINENO: result: yes" >&5 
    40957987echo "${ECHO_T}yes" >&6 
    40967988        ;; 
    4097   *) cat >>confdefs.h <<\EOF 
     7989  *) cat >>confdefs.h <<\_ACEOF 
    40987990#define PJ_THREAD_SET_STACK_SIZE 0 
    4099 EOF 
    4100  
    4101      echo "$as_me:4101: result: no (default)" >&5 
     7991_ACEOF 
     7992 
     7993     echo "$as_me:$LINENO: result: no (default)" >&5 
    41027994echo "${ECHO_T}no (default)" >&6 
    41037995        ;; 
    41047996esac 
    41057997 
    4106 echo "$as_me:4106: checking if pj_thread_create() should allocate stack" >&5 
     7998echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 
    41077999echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 
    41088000case $target in 
    4109   *rtems*) cat >>confdefs.h <<\EOF 
     8001  *rtems*) cat >>confdefs.h <<\_ACEOF 
    41108002#define PJ_THREAD_ALLOCATE_STACK 1 
    4111 EOF 
    4112  
    4113            echo "$as_me:4113: result: yes" >&5 
     8003_ACEOF 
     8004 
     8005           echo "$as_me:$LINENO: result: yes" >&5 
    41148006echo "${ECHO_T}yes" >&6 
    41158007        ;; 
    4116   *) cat >>confdefs.h <<\EOF 
     8008  *) cat >>confdefs.h <<\_ACEOF 
    41178009#define PJ_THREAD_ALLOCATE_STACK 0 
    4118 EOF 
    4119  
    4120      echo "$as_me:4120: result: no (default)" >&5 
     8010_ACEOF 
     8011 
     8012     echo "$as_me:$LINENO: result: no (default)" >&5 
    41218013echo "${ECHO_T}no (default)" >&6 
    41228014        ;; 
     
    41248016 
    41258017case $target in 
    4126   *) cat >>confdefs.h <<\EOF 
     8018  *mingw* | *cygw* | *win32* | *w32* ) 
     8019        cat >>confdefs.h <<\_ACEOF 
     8020#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 
     8021_ACEOF 
     8022 
     8023        ;; 
     8024  *) cat >>confdefs.h <<\_ACEOF 
    41278025#define PJ_BLOCKING_ERROR_VAL EAGAIN 
    4128 EOF 
    4129  
    4130      echo "$as_me:4130: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
     8026_ACEOF 
     8027 
     8028     echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 
    41318029echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 
    41328030        ;; 
     
    41348032 
    41358033case $target in 
    4136   *) cat >>confdefs.h <<\EOF 
     8034  *mingw* | *cygw* | *win32* | *w32* ) 
     8035        cat >>confdefs.h <<\_ACEOF 
     8036#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 
     8037_ACEOF 
     8038 
     8039        ;; 
     8040  *) cat >>confdefs.h <<\_ACEOF 
    41378041#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 
    4138 EOF 
    4139  
    4140      echo "$as_me:4140: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
     8042_ACEOF 
     8043 
     8044     echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 
    41418045echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 
    41428046        ;; 
    41438047esac 
    41448048 
     8049 
     8050 
     8051 
    41458052if test "$build" = "$host"; then 
    41468053    ac_cross_compile= 
     
    41518058 
    41528059ac_host=unix 
     8060 
    41538061 
    41548062case $target in 
     
    41718079# the --recheck option to rerun configure. 
    41728080# 
    4173 # `ac_cv_env_foo' variables (set or unset) will be overriden when 
     8081# `ac_cv_env_foo' variables (set or unset) will be overridden when 
    41748082# loading this file, other *unset* `ac_cv_foo' will be assigned the 
    41758083# following values. 
     
    42068114     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 
    42078115     : end' >>confcache 
    4208 if cmp -s $cache_file confcache; then :; else 
     8116if diff $cache_file confcache >/dev/null 2>&1; then :; else 
    42098117  if test -w $cache_file; then 
    42108118    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 
     
    42378145DEFS=-DHAVE_CONFIG_H 
    42388146 
     8147ac_libobjs= 
     8148ac_ltlibobjs= 
     8149for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 
     8150  # 1. Remove the extension, and $U if already installed. 
     8151  ac_i=`echo "$ac_i" | 
     8152         sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 
     8153  # 2. Add them. 
     8154  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 
     8155  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 
     8156done 
     8157LIBOBJS=$ac_libobjs 
     8158 
     8159LTLIBOBJS=$ac_ltlibobjs 
     8160 
     8161 
     8162 
    42398163: ${CONFIG_STATUS=./config.status} 
    42408164ac_clean_files_save=$ac_clean_files 
    42418165ac_clean_files="$ac_clean_files $CONFIG_STATUS" 
    4242 { echo "$as_me:4242: creating $CONFIG_STATUS" >&5 
     8166{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 
    42438167echo "$as_me: creating $CONFIG_STATUS" >&6;} 
    42448168cat >$CONFIG_STATUS <<_ACEOF 
    42458169#! $SHELL 
    4246 # Generated automatically by configure. 
     8170# Generated by $as_me. 
    42478171# Run this file to recreate the current configuration. 
    42488172# Compiler output produced by configure, useful for debugging 
     
    42508174 
    42518175debug=false 
     8176ac_cs_recheck=false 
     8177ac_cs_silent=false 
    42528178SHELL=\${CONFIG_SHELL-$SHELL} 
    4253 ac_cs_invocation="\$0 \$@" 
    4254  
    42558179_ACEOF 
    42568180 
    42578181cat >>$CONFIG_STATUS <<\_ACEOF 
     8182## --------------------- ## 
     8183## M4sh Initialization.  ## 
     8184## --------------------- ## 
     8185 
    42588186# Be Bourne compatible 
    42598187if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
    42608188  emulate sh 
    42618189  NULLCMD=: 
     8190  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     8191  # is contrary to our usage.  Disable this feature. 
     8192  alias -g '${1+"$@"}'='"$@"' 
    42628193elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    42638194  set -o posix 
    42648195fi 
    42658196 
     8197# Support unset when possible. 
     8198if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
     8199  as_unset=unset 
     8200else 
     8201  as_unset=false 
     8202fi 
     8203 
     8204 
     8205# Work around bugs in pre-3.0 UWIN ksh. 
     8206$as_unset ENV MAIL MAILPATH 
     8207PS1='$ ' 
     8208PS2='> ' 
     8209PS4='+ ' 
     8210 
     8211# NLS nuisances. 
     8212for as_var in \ 
     8213  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     8214  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     8215  LC_TELEPHONE LC_TIME 
     8216do 
     8217  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     8218    eval $as_var=C; export $as_var 
     8219  else 
     8220    $as_unset $as_var 
     8221  fi 
     8222done 
     8223 
     8224# Required to use basename. 
     8225if expr a : '\(a\)' >/dev/null 2>&1; then 
     8226  as_expr=expr 
     8227else 
     8228  as_expr=false 
     8229fi 
     8230 
     8231if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
     8232  as_basename=basename 
     8233else 
     8234  as_basename=false 
     8235fi 
     8236 
     8237 
    42668238# Name of the executable. 
    4267 as_me=`echo "$0" |sed 's,.*[\\/],,'` 
     8239as_me=`$as_basename "$0" || 
     8240$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     8241         X"$0" : 'X\(//\)$' \| \ 
     8242         X"$0" : 'X\(/\)$' \| \ 
     8243         .     : '\(.\)' 2>/dev/null || 
     8244echo X/"$0" | 
     8245    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
     8246          /^X\/\(\/\/\)$/{ s//\1/; q; } 
     8247          /^X\/\(\/\).*/{ s//\1/; q; } 
     8248          s/.*/./; q'` 
     8249 
     8250 
     8251# PATH needs CR, and LINENO needs CR and PATH. 
     8252# Avoid depending upon Character Ranges. 
     8253as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     8254as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     8255as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     8256as_cr_digits='0123456789' 
     8257as_cr_alnum=$as_cr_Letters$as_cr_digits 
     8258 
     8259# The user is always right. 
     8260if test "${PATH_SEPARATOR+set}" != set; then 
     8261  echo "#! /bin/sh" >conf$$.sh 
     8262  echo  "exit 0"   >>conf$$.sh 
     8263  chmod +x conf$$.sh 
     8264  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 
     8265    PATH_SEPARATOR=';' 
     8266  else 
     8267    PATH_SEPARATOR=: 
     8268  fi 
     8269  rm -f conf$$.sh 
     8270fi 
     8271 
     8272 
     8273  as_lineno_1=$LINENO 
     8274  as_lineno_2=$LINENO 
     8275  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     8276  test "x$as_lineno_1" != "x$as_lineno_2" && 
     8277  test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
     8278  # Find who we are.  Look in the path if we contain no path at all 
     8279  # relative or not. 
     8280  case $0 in 
     8281    *[\\/]* ) as_myself=$0 ;; 
     8282    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     8283for as_dir in $PATH 
     8284do 
     8285  IFS=$as_save_IFS 
     8286  test -z "$as_dir" && as_dir=. 
     8287  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     8288done 
     8289 
     8290       ;; 
     8291  esac 
     8292  # We did not find ourselves, most probably we were run as `sh COMMAND' 
     8293  # in which case we are not to be found in the path. 
     8294  if test "x$as_myself" = x; then 
     8295    as_myself=$0 
     8296  fi 
     8297  if test ! -f "$as_myself"; then 
     8298    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 
     8299echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 
     8300   { (exit 1); exit 1; }; } 
     8301  fi 
     8302  case $CONFIG_SHELL in 
     8303  '') 
     8304    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     8305for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     8306do 
     8307  IFS=$as_save_IFS 
     8308  test -z "$as_dir" && as_dir=. 
     8309  for as_base in sh bash ksh sh5; do 
     8310         case $as_dir in 
     8311         /*) 
     8312           if ("$as_dir/$as_base" -c ' 
     8313  as_lineno_1=$LINENO 
     8314  as_lineno_2=$LINENO 
     8315  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
     8316  test "x$as_lineno_1" != "x$as_lineno_2" && 
     8317  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
     8318             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
     8319             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
     8320             CONFIG_SHELL=$as_dir/$as_base 
     8321             export CONFIG_SHELL 
     8322             exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
     8323           fi;; 
     8324         esac 
     8325       done 
     8326done 
     8327;; 
     8328  esac 
     8329 
     8330  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
     8331  # uniformly replaced by the line number.  The first 'sed' inserts a 
     8332  # line-number line before each line; the second 'sed' does the real 
     8333  # work.  The second script uses 'N' to pair each line-number line 
     8334  # with the numbered line, and appends trailing '-' during 
     8335  # substitution so that $LINENO is not a special case at line end. 
     8336  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
     8337  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
     8338  sed '=' <$as_myself | 
     8339    sed ' 
     8340      N 
     8341      s,$,-, 
     8342      : loop 
     8343      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
     8344      t loop 
     8345      s,-$,, 
     8346      s,^['$as_cr_digits']*\n,, 
     8347    ' >$as_me.lineno && 
     8348  chmod +x $as_me.lineno || 
     8349    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 
     8350echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 
     8351   { (exit 1); exit 1; }; } 
     8352 
     8353  # Don't try to exec as it changes $[0], causing all sort of problems 
     8354  # (the dirname of $[0] is not the place where we might find the 
     8355  # original and so on.  Autoconf is especially sensible to this). 
     8356  . ./$as_me.lineno 
     8357  # Exit status is that of the last command. 
     8358  exit 
     8359} 
     8360 
     8361 
     8362case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
     8363  *c*,-n*) ECHO_N= ECHO_C=' 
     8364' ECHO_T='      ' ;; 
     8365  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
     8366  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
     8367esac 
    42688368 
    42698369if expr a : '\(a\)' >/dev/null 2>&1; then 
     
    42918391rm -f conf$$ conf$$.exe conf$$.file 
    42928392 
     8393if mkdir -p . 2>/dev/null; then 
     8394  as_mkdir_p=: 
     8395else 
     8396  as_mkdir_p=false 
     8397fi 
     8398 
    42938399as_executable_p="test -f" 
    42948400 
    4295 # Support unset when possible. 
    4296 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
    4297   as_unset=unset 
    4298 else 
    4299   as_unset=false 
    4300 fi 
    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; } 
     8401# Sed expression to map a string onto a valid CPP name. 
     8402as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
     8403 
     8404# Sed expression to map a string onto a valid variable name. 
     8405as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
     8406 
    43118407 
    43128408# IFS 
     
    43178413 
    43188414# CDPATH. 
    4319 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 
     8415$as_unset CDPATH 
    43208416 
    43218417exec 6>&1 
    43228418 
     8419# Open the log real soon, to keep \$[0] and so on meaningful, and to 
     8420# report actual input values of CONFIG_FILES etc. instead of their 
     8421# values after options handling.  Logging --version etc. is OK. 
     8422exec 5>>config.log 
     8423{ 
     8424  echo 
     8425  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     8426## Running $as_me. ## 
     8427_ASBOX 
     8428} >&5 
     8429cat >&5 <<_CSEOF 
     8430 
     8431This file was extended by pjproject $as_me 0.5.8, which was 
     8432generated by GNU Autoconf 2.56.  Invocation command line was 
     8433 
     8434  CONFIG_FILES    = $CONFIG_FILES 
     8435  CONFIG_HEADERS  = $CONFIG_HEADERS 
     8436  CONFIG_LINKS    = $CONFIG_LINKS 
     8437  CONFIG_COMMANDS = $CONFIG_COMMANDS 
     8438  $ $0 $@ 
     8439 
     8440_CSEOF 
     8441echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 
     8442echo >&5 
    43238443_ACEOF 
    43248444 
     
    43408460fi 
    43418461 
    4342 cat >>$CONFIG_STATUS <<\EOF 
     8462cat >>$CONFIG_STATUS <<\_ACEOF 
    43438463 
    43448464ac_cs_usage="\ 
     
    43508470  -h, --help       print this help, then exit 
    43518471  -V, --version    print version number, then exit 
     8472  -q, --quiet      do not print progress messages 
    43528473  -d, --debug      don't remove temporary files 
    43538474      --recheck    update $as_me by reconfiguring in the same conditions 
     
    43648485 
    43658486Report bugs to <bug-autoconf@gnu.org>." 
    4366 EOF 
    4367  
    4368 cat >>$CONFIG_STATUS <<EOF 
     8487_ACEOF 
     8488 
     8489cat >>$CONFIG_STATUS <<_ACEOF 
    43698490ac_cs_version="\\ 
    43708491pjproject config.status 0.5.8 
    4371 configured by $0, generated by GNU Autoconf 2.52, 
     8492configured by $0, generated by GNU Autoconf 2.56, 
    43728493  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 
    43738494 
     
    43778498gives unlimited permission to copy, distribute and modify it." 
    43788499srcdir=$srcdir 
    4379 EOF 
    4380  
    4381 cat >>$CONFIG_STATUS <<\EOF 
     8500_ACEOF 
     8501 
     8502cat >>$CONFIG_STATUS <<\_ACEOF 
    43828503# If no file are specified by the user, then we need to provide default 
    43838504# value.  By we need to know if files were specified by the user. 
     
    43898510    ac_option=`expr "x$1" : 'x\([^=]*\)='` 
    43908511    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 
    4391     shift 
    4392     set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 
    4393     shift 
     8512    ac_shift=: 
    43948513    ;; 
    4395   -*);; 
     8514  -*) 
     8515    ac_option=$1 
     8516    ac_optarg=$2 
     8517    ac_shift=shift 
     8518    ;; 
    43968519  *) # This is not an option, so the user has probably given explicit 
    43978520     # arguments. 
     8521     ac_option=$1 
    43988522     ac_need_defaults=false;; 
    43998523  esac 
    44008524 
    4401   case $1 in 
     8525  case $ac_option in 
    44028526  # Handling of the options. 
    4403 EOF 
    4404 cat >>$CONFIG_STATUS <<EOF 
     8527_ACEOF 
     8528cat >>$CONFIG_STATUS <<\_ACEOF 
    44058529  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    4406     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 
    4407     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 
    4408 EOF 
    4409 cat >>$CONFIG_STATUS <<\EOF 
     8530    ac_cs_recheck=: ;; 
    44108531  --version | --vers* | -V ) 
    44118532    echo "$ac_cs_version"; exit 0 ;; 
    44128533  --he | --h) 
    44138534    # Conflict between --help and --header 
    4414     { { echo "$as_me:4414: error: ambiguous option: $1 
     8535    { { echo "$as_me:$LINENO: error: ambiguous option: $1 
    44158536Try \`$0 --help' for more information." >&5 
    44168537echo "$as_me: error: ambiguous option: $1 
     
    44228543    debug=: ;; 
    44238544  --file | --fil | --fi | --f ) 
    4424     shift 
    4425     CONFIG_FILES="$CONFIG_FILES $1" 
     8545    $ac_shift 
     8546    CONFIG_FILES="$CONFIG_FILES $ac_optarg" 
    44268547    ac_need_defaults=false;; 
    44278548  --header | --heade | --head | --hea ) 
    4428     shift 
    4429     CONFIG_HEADERS="$CONFIG_HEADERS $1" 
     8549    $ac_shift 
     8550    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    44308551    ac_need_defaults=false;; 
     8552  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     8553  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     8554    ac_cs_silent=: ;; 
    44318555 
    44328556  # This is an error. 
    4433   -*) { { echo "$as_me:4433: error: unrecognized option: $1 
     8557  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 
    44348558Try \`$0 --help' for more information." >&5 
    44358559echo "$as_me: error: unrecognized option: $1 
     
    44438567done 
    44448568 
    4445 exec 5>>config.log 
    4446 cat >&5 << _ACEOF 
    4447  
    4448 ## ----------------------- ## 
    4449 ## Running config.status.  ## 
    4450 ## ----------------------- ## 
    4451  
    4452 This 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 
    4458 on `(hostname || uname -n) 2>/dev/null | sed 1q` 
    4459  
    4460 _ACEOF 
    4461 EOF 
    4462  
    4463 cat >>$CONFIG_STATUS <<\EOF 
     8569ac_configure_extra_args= 
     8570 
     8571if $ac_cs_silent; then 
     8572  exec 6>/dev/null 
     8573  ac_configure_extra_args="$ac_configure_extra_args --silent" 
     8574fi 
     8575 
     8576_ACEOF 
     8577cat >>$CONFIG_STATUS <<_ACEOF 
     8578if \$ac_cs_recheck; then 
     8579  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 
     8580  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 
     8581fi 
     8582 
     8583_ACEOF 
     8584 
     8585 
     8586 
     8587 
     8588 
     8589cat >>$CONFIG_STATUS <<\_ACEOF 
    44648590for ac_config_target in $ac_config_targets 
    44658591do 
     
    44748600  "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 
    44758601  "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 
    4476   *) { { echo "$as_me:4476: error: invalid argument: $ac_config_target" >&5 
     8602  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    44778603echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
    44788604   { (exit 1); exit 1; }; };; 
     
    44898615fi 
    44908616 
     8617# Have a temporary directory for convenience.  Make it in the build tree 
     8618# simply because there is no reason to put it here, and in addition, 
     8619# creating and moving files from /tmp can sometimes cause problems. 
    44918620# Create a temporary directory, and hook for its removal unless debugging. 
    44928621$debug || 
     
    44978626 
    44988627# Create a (secure) tmp directory for tmp files. 
    4499 : ${TMPDIR=/tmp} 
     8628 
    45008629{ 
    4501   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 
     8630  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 
    45028631  test -n "$tmp" && test -d "$tmp" 
    45038632}  || 
    45048633{ 
    4505   tmp=$TMPDIR/cs$$-$RANDOM 
     8634  tmp=./confstat$$-$RANDOM 
    45068635  (umask 077 && mkdir $tmp) 
    45078636} || 
    45088637{ 
    4509    echo "$me: cannot create a temporary directory in $TMPDIR" >&2 
     8638   echo "$me: cannot create a temporary directory in ." >&2 
    45108639   { (exit 1); exit 1; } 
    45118640} 
    45128641 
    4513 EOF 
    4514  
    4515 cat >>$CONFIG_STATUS <<EOF 
     8642_ACEOF 
     8643 
     8644cat >>$CONFIG_STATUS <<_ACEOF 
    45168645 
    45178646# 
     
    45268655   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 
    45278656s,@SHELL@,$SHELL,;t t 
     8657s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
     8658s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
     8659s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
     8660s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
     8661s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
     8662s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
    45288663s,@exec_prefix@,$exec_prefix,;t t 
    45298664s,@prefix@,$prefix,;t t 
     
    45418676s,@infodir@,$infodir,;t t 
    45428677s,@mandir@,$mandir,;t t 
    4543 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 
    4544 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 
    4545 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 
    4546 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 
    4547 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 
    45488678s,@build_alias@,$build_alias,;t t 
    45498679s,@host_alias@,$host_alias,;t t 
    45508680s,@target_alias@,$target_alias,;t t 
     8681s,@DEFS@,$DEFS,;t t 
    45518682s,@ECHO_C@,$ECHO_C,;t t 
    45528683s,@ECHO_N@,$ECHO_N,;t t 
    45538684s,@ECHO_T@,$ECHO_T,;t t 
    4554 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 
    4555 s,@DEFS@,$DEFS,;t t 
    45568685s,@LIBS@,$LIBS,;t t 
    45578686s,@build@,$build,;t t 
     
    45788707s,@ac_ct_CXX@,$ac_ct_CXX,;t t 
    45798708s,@CPP@,$CPP,;t t 
     8709s,@EGREP@,$EGREP,;t t 
     8710s,@ac_os_objs@,$ac_os_objs,;t t 
    45808711s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 
    45818712s,@ac_pa_use_alsa@,$ac_pa_use_alsa,;t t 
     
    45938724s,@ac_host@,$ac_host,;t t 
    45948725s,@ac_main_obj@,$ac_main_obj,;t t 
     8726s,@LIBOBJS@,$LIBOBJS,;t t 
     8727s,@LTLIBOBJS@,$LTLIBOBJS,;t t 
    45958728CEOF 
    45968729 
    4597 EOF 
    4598  
    4599   cat >>$CONFIG_STATUS <<\EOF 
     8730_ACEOF 
     8731 
     8732  cat >>$CONFIG_STATUS <<\_ACEOF 
    46008733  # Split the substitutions into bite-sized pieces for seds with 
    46018734  # small command number limits, like on Digital OSF/1 and HP-UX. 
     
    46368769fi # test -n "$CONFIG_FILES" 
    46378770 
    4638 EOF 
    4639 cat >>$CONFIG_STATUS <<\EOF 
     8771_ACEOF 
     8772cat >>$CONFIG_STATUS <<\_ACEOF 
    46408773for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 
    46418774  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
     
    46518784 
    46528785  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 
    4653   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     8786  ac_dir=`(dirname "$ac_file") 2>/dev/null || 
     8787$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    46548788         X"$ac_file" : 'X\(//\)[^/]' \| \ 
    46558789         X"$ac_file" : 'X\(//\)$' \| \ 
     
    46628796          /^X\(\/\).*/{ s//\1/; q; } 
    46638797          s/.*/./; q'` 
    4664   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 
    4665     { case "$ac_dir" in 
    4666   [\\/]* | ?:[\\/]* ) as_incr_dir=;; 
    4667   *)                      as_incr_dir=.;; 
     8798  { if $as_mkdir_p; then 
     8799    mkdir -p "$ac_dir" 
     8800  else 
     8801    as_dir="$ac_dir" 
     8802    as_dirs= 
     8803    while test ! -d "$as_dir"; do 
     8804      as_dirs="$as_dir $as_dirs" 
     8805      as_dir=`(dirname "$as_dir") 2>/dev/null || 
     8806$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     8807         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     8808         X"$as_dir" : 'X\(//\)$' \| \ 
     8809         X"$as_dir" : 'X\(/\)' \| \ 
     8810         .     : '\(.\)' 2>/dev/null || 
     8811echo X"$as_dir" | 
     8812    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     8813          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     8814          /^X\(\/\/\)$/{ s//\1/; q; } 
     8815          /^X\(\/\).*/{ s//\1/; q; } 
     8816          s/.*/./; q'` 
     8817    done 
     8818    test ! -n "$as_dirs" || mkdir $as_dirs 
     8819  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
     8820echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
     8821   { (exit 1); exit 1; }; }; } 
     8822 
     8823  ac_builddir=. 
     8824 
     8825if test "$ac_dir" != .; then 
     8826  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     8827  # A "../" for each directory in $ac_dir_suffix. 
     8828  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     8829else 
     8830  ac_dir_suffix= ac_top_builddir= 
     8831fi 
     8832 
     8833case $srcdir in 
     8834  .)  # No --srcdir option.  We are building in place. 
     8835    ac_srcdir=. 
     8836    if test -z "$ac_top_builddir"; then 
     8837       ac_top_srcdir=. 
     8838    else 
     8839       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     8840    fi ;; 
     8841  [\\/]* | ?:[\\/]* )  # Absolute path. 
     8842    ac_srcdir=$srcdir$ac_dir_suffix; 
     8843    ac_top_srcdir=$srcdir ;; 
     8844  *) # Relative path. 
     8845    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     8846    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
    46688847esac 
    4669 as_dummy="$ac_dir" 
    4670 for 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 
    4679 done; } 
    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'` 
    4684   else 
    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 ;; 
    4698   *) # Relative path. 
    4699     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 
    4700     ac_top_srcdir=$ac_dots$srcdir ;; 
    4701   esac 
     8848# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 
     8849# absolute. 
     8850ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 
     8851ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 
     8852ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 
     8853ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 
     8854 
     8855 
    47028856 
    47038857  if test x"$ac_file" != x-; then 
    4704     { echo "$as_me:4704: creating $ac_file" >&5 
     8858    { echo "$as_me:$LINENO: creating $ac_file" >&5 
    47058859echo "$as_me: creating $ac_file" >&6;} 
    47068860    rm -f "$ac_file" 
     
    47088862  # Let's still pretend it is `configure' which instantiates (i.e., don't 
    47098863  # use $as_me), people would be surprised to read: 
    4710   #    /* config.h.  Generated automatically by config.status.  */ 
    4711   configure_input="Generated automatically from `echo $ac_file_in | 
    4712                                                  sed 's,.*/,,'` by configure." 
     8864  #    /* config.h.  Generated by config.status.  */ 
     8865  if test x"$ac_file" = x-; then 
     8866    configure_input= 
     8867  else 
     8868    configure_input="$ac_file.  " 
     8869  fi 
     8870  configure_input=$configure_input"Generated from `echo $ac_file_in | 
     8871                                     sed 's,.*/,,'` by configure." 
    47138872 
    47148873  # First look for the input files in the build tree, otherwise in the 
     
    47208879      [\\/$]*) 
    47218880         # Absolute (can't be DOS-style, as IFS=:) 
    4722          test -f "$f" || { { echo "$as_me:4722: error: cannot find input file: $f" >&5 
     8881         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    47238882echo "$as_me: error: cannot find input file: $f" >&2;} 
    47248883   { (exit 1); exit 1; }; } 
     
    47338892         else 
    47348893           # /dev/null tree 
    4735            { { echo "$as_me:4735: error: cannot find input file: $f" >&5 
     8894           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    47368895echo "$as_me: error: cannot find input file: $f" >&2;} 
    47378896   { (exit 1); exit 1; }; } 
     
    47398898      esac 
    47408899    done` || { (exit 1); exit 1; } 
    4741 EOF 
    4742 cat >>$CONFIG_STATUS <<EOF 
     8900_ACEOF 
     8901cat >>$CONFIG_STATUS <<_ACEOF 
    47438902  sed "$ac_vpsub 
    47448903$extrasub 
    4745 EOF 
    4746 cat >>$CONFIG_STATUS <<\EOF 
     8904_ACEOF 
     8905cat >>$CONFIG_STATUS <<\_ACEOF 
    47478906:t 
    47488907/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 
    47498908s,@configure_input@,$configure_input,;t t 
    47508909s,@srcdir@,$ac_srcdir,;t t 
     8910s,@abs_srcdir@,$ac_abs_srcdir,;t t 
    47518911s,@top_srcdir@,$ac_top_srcdir,;t t 
     8912s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 
     8913s,@builddir@,$ac_builddir,;t t 
     8914s,@abs_builddir@,$ac_abs_builddir,;t t 
     8915s,@top_builddir@,$ac_top_builddir,;t t 
     8916s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 
    47528917" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 
    47538918  rm -f $tmp/stdin 
     
    47608925 
    47618926done 
    4762 EOF 
    4763 cat >>$CONFIG_STATUS <<\EOF 
     8927_ACEOF 
     8928cat >>$CONFIG_STATUS <<\_ACEOF 
    47648929 
    47658930# 
     
    47938958  esac 
    47948959 
    4795   test x"$ac_file" != x- && { echo "$as_me:4795: creating $ac_file" >&5 
     8960  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 
    47968961echo "$as_me: creating $ac_file" >&6;} 
    47978962 
     
    48048969      [\\/$]*) 
    48058970         # Absolute (can't be DOS-style, as IFS=:) 
    4806          test -f "$f" || { { echo "$as_me:4806: error: cannot find input file: $f" >&5 
     8971         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    48078972echo "$as_me: error: cannot find input file: $f" >&2;} 
    48088973   { (exit 1); exit 1; }; } 
     
    48178982         else 
    48188983           # /dev/null tree 
    4819            { { echo "$as_me:4819: error: cannot find input file: $f" >&5 
     8984           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 
    48208985echo "$as_me: error: cannot find input file: $f" >&2;} 
    48218986   { (exit 1); exit 1; }; } 
     
    48268991  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in 
    48278992 
    4828 EOF 
     8993_ACEOF 
    48298994 
    48308995# Transform confdefs.h into two sed scripts, `conftest.defines' and 
     
    48429007# 0-ary CPP macros) applies to n-ary macro definitions. 
    48439008# See the Autoconf documentation for `clear'. 
    4844 cat >confdef2sed.sed <<\EOF 
     9009cat >confdef2sed.sed <<\_ACEOF 
    48459010s/[\\&,]/\\&/g 
    48469011s,[\\$`],\\&,g 
    48479012t clear 
    48489013: clear 
    4849 s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 
     9014s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 
    48509015t end 
    48519016s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 
    48529017: end 
    4853 EOF 
     9018_ACEOF 
    48549019# If some macros were called several times there might be several times 
    48559020# the same #defines, which is useless.  Nevertheless, we may not want to 
     
    48629027# example, in the case of _POSIX_SOURCE, which is predefined and required 
    48639028# on some systems where configure will not decide to define it. 
    4864 cat >>conftest.undefs <<\EOF 
     9029cat >>conftest.undefs <<\_ACEOF 
    48659030s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 
    4866 EOF 
     9031_ACEOF 
    48679032 
    48689033# Break up conftest.defines because some shells have a limit on the size 
    48699034# of here documents, and old seds have small limits too (100 cmds). 
    48709035echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 
    4871 echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
     9036echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 
    48729037echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 
    48739038echo '  :' >>$CONFIG_STATUS 
     
    48939058done 
    48949059rm -f conftest.defines 
    4895 echo '  fi # egrep' >>$CONFIG_STATUS 
     9060echo '  fi # grep' >>$CONFIG_STATUS 
    48969061echo >>$CONFIG_STATUS 
    48979062 
     
    49219086rm -f conftest.undefs 
    49229087 
    4923 cat >>$CONFIG_STATUS <<\EOF 
     9088cat >>$CONFIG_STATUS <<\_ACEOF 
    49249089  # Let's still pretend it is `configure' which instantiates (i.e., don't 
    49259090  # use $as_me), people would be surprised to read: 
    4926   #    /* config.h.  Generated automatically by config.status.  */ 
     9091  #    /* config.h.  Generated by config.status.  */ 
    49279092  if test x"$ac_file" = x-; then 
    4928     echo "/* Generated automatically by configure.  */" >$tmp/config.h 
     9093    echo "/* Generated by configure.  */" >$tmp/config.h 
    49299094  else 
    4930     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h 
     9095    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h 
    49319096  fi 
    49329097  cat $tmp/in >>$tmp/config.h 
    49339098  rm -f $tmp/in 
    49349099  if test x"$ac_file" != x-; then 
    4935     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 
    4936       { echo "$as_me:4936: $ac_file is unchanged" >&5 
     9100    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 
     9101      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 
    49379102echo "$as_me: $ac_file is unchanged" >&6;} 
    49389103    else 
    4939       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     9104      ac_dir=`(dirname "$ac_file") 2>/dev/null || 
     9105$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    49409106         X"$ac_file" : 'X\(//\)[^/]' \| \ 
    49419107         X"$ac_file" : 'X\(//\)$' \| \ 
     
    49489114          /^X\(\/\).*/{ s//\1/; q; } 
    49499115          s/.*/./; q'` 
    4950       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 
    4951         { case "$ac_dir" in 
    4952   [\\/]* | ?:[\\/]* ) as_incr_dir=;; 
    4953   *)                      as_incr_dir=.;; 
    4954 esac 
    4955 as_dummy="$ac_dir" 
    4956 for 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 
    4965 done; } 
    4966  
    4967       fi 
     9116      { if $as_mkdir_p; then 
     9117    mkdir -p "$ac_dir" 
     9118  else 
     9119    as_dir="$ac_dir" 
     9120    as_dirs= 
     9121    while test ! -d "$as_dir"; do 
     9122      as_dirs="$as_dir $as_dirs" 
     9123      as_dir=`(dirname "$as_dir") 2>/dev/null || 
     9124$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     9125         X"$as_dir" : 'X\(//\)[^/]' \| \ 
     9126         X"$as_dir" : 'X\(//\)$' \| \ 
     9127         X"$as_dir" : 'X\(/\)' \| \ 
     9128         .     : '\(.\)' 2>/dev/null || 
     9129echo X"$as_dir" | 
     9130    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     9131          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     9132          /^X\(\/\/\)$/{ s//\1/; q; } 
     9133          /^X\(\/\).*/{ s//\1/; q; } 
     9134          s/.*/./; q'` 
     9135    done 
     9136    test ! -n "$as_dirs" || mkdir $as_dirs 
     9137  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
     9138echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
     9139   { (exit 1); exit 1; }; }; } 
     9140 
    49689141      rm -f $ac_file 
    49699142      mv $tmp/config.h $ac_file 
     
    49749147  fi 
    49759148done 
    4976 EOF 
    4977  
    4978 cat >>$CONFIG_STATUS <<\EOF 
     9149_ACEOF 
     9150 
     9151cat >>$CONFIG_STATUS <<\_ACEOF 
    49799152 
    49809153{ (exit 0); exit 0; } 
    4981 EOF 
     9154_ACEOF 
    49829155chmod +x $CONFIG_STATUS 
    49839156ac_clean_files=$ac_clean_files_save 
     9157 
    49849158 
    49859159# configure is writing to config.log, and then calls config.status. 
     
    49939167if test "$no_create" != yes; then 
    49949168  ac_cs_success=: 
     9169  ac_config_status_args= 
     9170  test "$silent" = yes && 
     9171    ac_config_status_args="$ac_config_status_args --quiet" 
    49959172  exec 5>/dev/null 
    4996   $SHELL $CONFIG_STATUS || ac_cs_success=false 
     9173  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 
    49979174  exec 5>>config.log 
    49989175  # Use ||, not &&, to avoid exiting from the if with $? = 1, which 
     
    50019178fi 
    50029179 
     9180 
Note: See TracChangeset for help on using the changeset viewer.