Changeset 699


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

Fixed autoconf in mingw

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