Changeset 3930

Show
Ignore:
Timestamp:
11/14/06 10:15:28 (7 years ago)
Author:
barz
Message:

add aqua tcl/tk support

Location:
vic/branches/mpeg4
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/mpeg4/codec/h263/h263.h

    r902 r3930  
    11/* 
    22 */ 
    3 #include "../config.h" 
     3#include "config.h" 
    44#include "DataTypes.h" 
    55#include "structs.h" 
  • vic/branches/mpeg4/configure

    r3929 r3930  
    11#! /bin/sh 
    2  
    32# Guess values for system-dependent variables and create Makefiles. 
    4 # Generated automatically using autoconf version 2.13  
    5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 
     3# Generated by GNU Autoconf 2.59. 
    64# 
     5# Copyright (C) 2003 Free Software Foundation, Inc. 
    76# This configure script is free software; the Free Software Foundation 
    87# gives unlimited permission to copy, distribute and modify it. 
    9  
    10 # Defaults: 
    11 ac_help= 
     8## --------------------- ## 
     9## M4sh Initialization.  ## 
     10## --------------------- ## 
     11 
     12# Be Bourne compatible 
     13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     14  emulate sh 
     15  NULLCMD=: 
     16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     17  # is contrary to our usage.  Disable this feature. 
     18  alias -g '${1+"$@"}'='"$@"' 
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
     20  set -o posix 
     21fi 
     22DUALCASE=1; export DUALCASE # for MKS sh 
     23 
     24# Support unset when possible. 
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     26  as_unset=unset 
     27else 
     28  as_unset=false 
     29fi 
     30 
     31 
     32# Work around bugs in pre-3.0 UWIN ksh. 
     33$as_unset ENV MAIL MAILPATH 
     34PS1='$ ' 
     35PS2='> ' 
     36PS4='+ ' 
     37 
     38# NLS nuisances. 
     39for as_var in \ 
     40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     42  LC_TELEPHONE LC_TIME 
     43do 
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     45    eval $as_var=C; export $as_var 
     46  else 
     47    $as_unset $as_var 
     48  fi 
     49done 
     50 
     51# Required to use basename. 
     52if expr a : '\(a\)' >/dev/null 2>&1; then 
     53  as_expr=expr 
     54else 
     55  as_expr=false 
     56fi 
     57 
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
     59  as_basename=basename 
     60else 
     61  as_basename=false 
     62fi 
     63 
     64 
     65# Name of the executable. 
     66as_me=`$as_basename "$0" || 
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     68         X"$0" : 'X\(//\)$' \| \ 
     69         X"$0" : 'X\(/\)$' \| \ 
     70         .     : '\(.\)' 2>/dev/null || 
     71echo X/"$0" | 
     72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
     73          /^X\/\(\/\/\)$/{ s//\1/; q; } 
     74          /^X\/\(\/\).*/{ s//\1/; q; } 
     75          s/.*/./; q'` 
     76 
     77 
     78# PATH needs CR, and LINENO needs CR and PATH. 
     79# Avoid depending upon Character Ranges. 
     80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     83as_cr_digits='0123456789' 
     84as_cr_alnum=$as_cr_Letters$as_cr_digits 
     85 
     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 
     193 
     194if expr a : '\(a\)' >/dev/null 2>&1; then 
     195  as_expr=expr 
     196else 
     197  as_expr=false 
     198fi 
     199 
     200rm -f conf$$ conf$$.exe conf$$.file 
     201echo >conf$$.file 
     202if ln -s conf$$.file conf$$ 2>/dev/null; then 
     203  # We could just check for DJGPP; but this test a) works b) is more generic 
     204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 
     205  if test -f conf$$.exe; then 
     206    # Don't use ln at all; we don't have any links 
     207    as_ln_s='cp -p' 
     208  else 
     209    as_ln_s='ln -s' 
     210  fi 
     211elif ln conf$$.file conf$$ 2>/dev/null; then 
     212  as_ln_s=ln 
     213else 
     214  as_ln_s='cp -p' 
     215fi 
     216rm -f conf$$ conf$$.exe conf$$.file 
     217 
     218if mkdir -p . 2>/dev/null; then 
     219  as_mkdir_p=: 
     220else 
     221  test -d ./-p && rmdir ./-p 
     222  as_mkdir_p=false 
     223fi 
     224 
     225as_executable_p="test -f" 
     226 
     227# Sed expression to map a string onto a valid CPP name. 
     228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 
     229 
     230# Sed expression to map a string onto a valid variable name. 
     231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 
     232 
     233 
     234# IFS 
     235# We need space, tab and new line, in precisely that order. 
     236as_nl=' 
     237' 
     238IFS="   $as_nl" 
     239 
     240# CDPATH. 
     241$as_unset CDPATH 
     242 
     243 
     244# Name of the host. 
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
     246# so uname gets run too. 
     247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 
     248 
     249exec 6>&1 
     250 
     251# 
     252# Initializations. 
     253# 
    12254ac_default_prefix=/usr/local 
    13 # Any additions from configure.in: 
    14 ac_help="$ac_help 
    15 --enable-debug          build with debugging enabled" 
    16 ac_help="$ac_help 
    17 --enable-ipv6           build with ipv6 enabled" 
    18 ac_help="$ac_help 
    19 --with-fore=path        specify a pathname for fore atm" 
    20 ac_help="$ac_help 
    21 --with-ucltcl=path      specify a pathname for UCL's tcl" 
    22 ac_help="$ac_help 
    23 --with-tcl=path specify a pathname for tcl" 
    24 ac_help="$ac_help 
    25 --with-ucltk=path       specify a pathname for UCL's tk" 
    26 ac_help="$ac_help 
    27 --with-tk=path  specify a pathname for tk" 
    28 ac_help="$ac_help 
    29 --with-aix-shm=path     specify a pathname for the AIX shm X extension library file" 
    30 ac_help="$ac_help 
    31 --with-qcam=dir     specify directory with qcam.h for Connectix QuickCam device driver" 
    32 ac_help="$ac_help 
    33 --disable-ffmpeg-co     Enable or disable ffmpeg svn checkout" 
    34 ac_help="$ac_help 
    35 --disable-x264-co      Enable or disable x264 svn checkout" 
    36 ac_help="$ac_help 
    37 --with-ffmpeginc=dir     specify the prefix directory of ffmpeg header" 
    38 ac_help="$ac_help 
    39 --with-ffmpeglib=dir     specify the directory of ffmpeg library" 
    40 ac_help="$ac_help 
    41 --with-x264inc=dir     specify the directory of x264 header" 
    42 ac_help="$ac_help 
    43 --with-x264lib=dir     specify the directory of x264 library" 
    44 ac_help="$ac_help 
    45 --disable-cpudetect     Enable or disable runtime cpu detection" 
    46 ac_help="$ac_help 
    47 --disable-h261as         Enable or disable the h261as codec" 
    48 ac_help="$ac_help 
    49 --enable-dvdecode       Enable or disable dv decoding" 
    50 ac_help="$ac_help 
    51 --enable-xvideo         Enable or disable Xvideo rendering" 
    52 ac_help="$ac_help 
    53 --enable-v4l2old    Enable or disable old Video4Linux2 grabber" 
    54 ac_help="$ac_help 
    55 --enable-XvGrabber    Enable or disable old XvGrabber" 
     255ac_config_libobj_dir=. 
     256cross_compiling=no 
     257subdirs= 
     258MFLAGS= 
     259MAKEFLAGS= 
     260SHELL=${CONFIG_SHELL-/bin/sh} 
     261 
     262# Maximum number of lines to put in a shell here document. 
     263# This variable seems obsolete.  It should probably be removed, and 
     264# only ac_max_sed_lines should be used. 
     265: ${ac_max_here_lines=38} 
     266 
     267# Identity of this package. 
     268PACKAGE_NAME= 
     269PACKAGE_TARNAME= 
     270PACKAGE_VERSION= 
     271PACKAGE_STRING= 
     272PACKAGE_BUGREPORT= 
     273 
     274ac_unique_file="main.cpp" 
     275# Factoring default headers for most tests. 
     276ac_includes_default="\ 
     277#include <stdio.h> 
     278#if HAVE_SYS_TYPES_H 
     279# include <sys/types.h> 
     280#endif 
     281#if HAVE_SYS_STAT_H 
     282# include <sys/stat.h> 
     283#endif 
     284#if STDC_HEADERS 
     285# include <stdlib.h> 
     286# include <stddef.h> 
     287#else 
     288# if HAVE_STDLIB_H 
     289#  include <stdlib.h> 
     290# endif 
     291#endif 
     292#if HAVE_STRING_H 
     293# if !STDC_HEADERS && HAVE_MEMORY_H 
     294#  include <memory.h> 
     295# endif 
     296# include <string.h> 
     297#endif 
     298#if HAVE_STRINGS_H 
     299# include <strings.h> 
     300#endif 
     301#if HAVE_INTTYPES_H 
     302# include <inttypes.h> 
     303#else 
     304# if HAVE_STDINT_H 
     305#  include <stdint.h> 
     306# endif 
     307#endif 
     308#if HAVE_UNISTD_H 
     309# include <unistd.h> 
     310#endif" 
     311 
     312ac_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 V_INCLUDE_X11 V_LIB_X11 V_INCLUDE_TCL V_LIB_TCL V_LIBRARY_TCL V_TKDOSNAMES V_INCLUDE_TK V_LIB_TK V_LIBRARY_TK V_LIB_FFMPEG V_LIB_X264 V_INCLUDE_GRABBER V_LIB_GRABBER V_OBJ_GRABBER V_LIB_XIL V_OBJ_XIL V_OBJ V_LIB V_CODEC_LIB V_STATIC V_TAR_TARGET V_ALL V_CCOPT V_CCOPT_H261 V_TAR_EXTRA V_DEFINE V_SIGRET V_SHELL V_TARCMD V_INCLUDE V_BROKEN_OBJ V_OBJ_CRYPT LIBOBJS LTLIBOBJS' 
     313ac_subst_files='' 
    56314 
    57315# Initialize some variables set by options. 
     316ac_init_help= 
     317ac_init_version=false 
    58318# The variables have the same names as the options, with 
    59319# dashes changed to underlines. 
    60 build=NONE 
    61 cache_file=./config.cache 
     320cache_file=/dev/null 
    62321exec_prefix=NONE 
    63 host=NONE 
    64322no_create= 
    65 nonopt=NONE 
    66323no_recursion= 
    67324prefix=NONE 
     
    72329site= 
    73330srcdir= 
    74 target=NONE 
    75331verbose= 
    76332x_includes=NONE 
    77333x_libraries=NONE 
     334 
     335# Installation directory options. 
     336# These are left unexpanded so users can "make install exec_prefix=/foo" 
     337# and all the variables that are supposed to be based on exec_prefix 
     338# by default will actually change. 
     339# Use braces instead of parens because sh, perl, etc. also accept them. 
    78340bindir='${exec_prefix}/bin' 
    79341sbindir='${exec_prefix}/sbin' 
     
    89351mandir='${prefix}/man' 
    90352 
    91 # Initialize some other variables. 
    92 subdirs= 
    93 MFLAGS= MAKEFLAGS= 
    94 SHELL=${CONFIG_SHELL-/bin/sh} 
    95 # Maximum number of lines to put in a shell here document. 
    96 ac_max_here_lines=12 
    97  
    98353ac_prev= 
    99354for ac_option 
    100355do 
    101  
    102356  # If the previous option needs an argument, assign it. 
    103357  if test -n "$ac_prev"; then 
     
    107361  fi 
    108362 
    109   case "$ac_option" in 
    110   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 
    111   *) ac_optarg= ;; 
    112   esac 
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 
    113364 
    114365  # Accept the important Cygnus configure options, so we can diagnose typos. 
    115366 
    116   case "$ac_option" in 
     367  case $ac_option in 
    117368 
    118369  -bindir | --bindir | --bindi | --bind | --bin | --bi) 
    119370    ac_prev=bindir ;; 
    120371  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 
    121     bindir="$ac_optarg" ;; 
     372    bindir=$ac_optarg ;; 
    122373 
    123374  -build | --build | --buil | --bui | --bu) 
    124     ac_prev=build ;; 
     375    ac_prev=build_alias ;; 
    125376  -build=* | --build=* | --buil=* | --bui=* | --bu=*) 
    126     build="$ac_optarg" ;; 
     377    build_alias=$ac_optarg ;; 
    127378 
    128379  -cache-file | --cache-file | --cache-fil | --cache-fi \ 
     
    131382  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 
    132383  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 
    133     cache_file="$ac_optarg" ;; 
     384    cache_file=$ac_optarg ;; 
     385 
     386  --config-cache | -C) 
     387    cache_file=config.cache ;; 
    134388 
    135389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 
     
    137391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 
    138392  | --da=*) 
    139     datadir="$ac_optarg" ;; 
     393    datadir=$ac_optarg ;; 
    140394 
    141395  -disable-* | --disable-*) 
    142     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 
     396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    143397    # Reject names that are not valid shell variable names. 
    144     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 
    145       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 
    146     fi 
    147     ac_feature=`echo $ac_feature| sed 's/-/_/g'` 
    148     eval "enable_${ac_feature}=no" ;; 
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     400   { (exit 1); exit 1; }; } 
     401    ac_feature=`echo $ac_feature | sed 's/-/_/g'` 
     402    eval "enable_$ac_feature=no" ;; 
    149403 
    150404  -enable-* | --enable-*) 
    151     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 
     405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    152406    # Reject names that are not valid shell variable names. 
    153     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 
    154       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 
    155     fi 
    156     ac_feature=`echo $ac_feature| sed 's/-/_/g'` 
    157     case "$ac_option" in 
    158       *=*) ;; 
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     409   { (exit 1); exit 1; }; } 
     410    ac_feature=`echo $ac_feature | sed 's/-/_/g'` 
     411    case $ac_option in 
     412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
    159413      *) ac_optarg=yes ;; 
    160414    esac 
    161     eval "enable_${ac_feature}='$ac_optarg'" ;; 
     415    eval "enable_$ac_feature='$ac_optarg'" ;; 
    162416 
    163417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    168422  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 
    169423  | --exec=* | --exe=* | --ex=*) 
    170     exec_prefix="$ac_optarg" ;; 
     424    exec_prefix=$ac_optarg ;; 
    171425 
    172426  -gas | --gas | --ga | --g) 
     
    174428    with_gas=yes ;; 
    175429 
    176   -help | --help | --hel | --he) 
    177     # Omit some internal or obsolete options to make the list less imposing. 
    178     # This message is too long to be a string in the A/UX 3.1 sh. 
    179     cat << EOF 
    180 Usage: configure [options] [host] 
    181 Options: [defaults in brackets after descriptions] 
    182 Configuration: 
    183   --cache-file=FILE       cache test results in FILE 
    184   --help                  print this message 
    185   --no-create             do not create output files 
    186   --quiet, --silent       do not print \`checking...' messages 
    187   --version               print the version of autoconf that created configure 
    188 Directory and file names: 
    189   --prefix=PREFIX         install architecture-independent files in PREFIX 
    190                           [$ac_default_prefix] 
    191   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    192                           [same as prefix] 
    193   --bindir=DIR            user executables in DIR [EPREFIX/bin] 
    194   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin] 
    195   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec] 
    196   --datadir=DIR           read-only architecture-independent data in DIR 
    197                           [PREFIX/share] 
    198   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc] 
    199   --sharedstatedir=DIR    modifiable architecture-independent data in DIR 
    200                           [PREFIX/com] 
    201   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var] 
    202   --libdir=DIR            object code libraries in DIR [EPREFIX/lib] 
    203   --includedir=DIR        C header files in DIR [PREFIX/include] 
    204   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include] 
    205   --infodir=DIR           info documentation in DIR [PREFIX/info] 
    206   --mandir=DIR            man documentation in DIR [PREFIX/man] 
    207   --srcdir=DIR            find the sources in DIR [configure dir or ..] 
    208   --program-prefix=PREFIX prepend PREFIX to installed program names 
    209   --program-suffix=SUFFIX append SUFFIX to installed program names 
    210   --program-transform-name=PROGRAM 
    211                           run sed PROGRAM on installed program names 
    212 EOF 
    213     cat << EOF 
    214 Host type: 
    215   --build=BUILD           configure for building on BUILD [BUILD=HOST] 
    216   --host=HOST             configure for HOST [guessed] 
    217   --target=TARGET         configure for TARGET [TARGET=HOST] 
    218 Features and packages: 
    219   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    220   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
    221   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
    222   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
    223   --x-includes=DIR        X include files are in DIR 
    224   --x-libraries=DIR       X library files are in DIR 
    225 EOF 
    226     if test -n "$ac_help"; then 
    227       echo "--enable and --with options recognized:$ac_help" 
    228     fi 
    229     exit 0 ;; 
     430  -help | --help | --hel | --he | -h) 
     431    ac_init_help=long ;; 
     432  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 
     433    ac_init_help=recursive ;; 
     434  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 
     435    ac_init_help=short ;; 
    230436 
    231437  -host | --host | --hos | --ho) 
    232     ac_prev=host ;; 
     438    ac_prev=host_alias ;; 
    233439  -host=* | --host=* | --hos=* | --ho=*) 
    234     host="$ac_optarg" ;; 
     440    host_alias=$ac_optarg ;; 
    235441 
    236442  -includedir | --includedir | --includedi | --included | --include \ 
     
    239445  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 
    240446  | --includ=* | --inclu=* | --incl=* | --inc=*) 
    241     includedir="$ac_optarg" ;; 
     447    includedir=$ac_optarg ;; 
    242448 
    243449  -infodir | --infodir | --infodi | --infod | --info | --inf) 
    244450    ac_prev=infodir ;; 
    245451  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 
    246     infodir="$ac_optarg" ;; 
     452    infodir=$ac_optarg ;; 
    247453 
    248454  -libdir | --libdir | --libdi | --libd) 
    249455    ac_prev=libdir ;; 
    250456  -libdir=* | --libdir=* | --libdi=* | --libd=*) 
    251     libdir="$ac_optarg" ;; 
     457    libdir=$ac_optarg ;; 
    252458 
    253459  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 
     
    256462  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 
    257463  | --libexe=* | --libex=* | --libe=*) 
    258     libexecdir="$ac_optarg" ;; 
     464    libexecdir=$ac_optarg ;; 
    259465 
    260466  -localstatedir | --localstatedir | --localstatedi | --localstated \ 
     
    265471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 
    266472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 
    267     localstatedir="$ac_optarg" ;; 
     473    localstatedir=$ac_optarg ;; 
    268474 
    269475  -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 
    270476    ac_prev=mandir ;; 
    271477  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 
    272     mandir="$ac_optarg" ;; 
     478    mandir=$ac_optarg ;; 
    273479 
    274480  -nfp | --nfp | --nf) 
     
    277483 
    278484  -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    279   | --no-cr | --no-c) 
     485  | --no-cr | --no-c | -n) 
    280486    no_create=yes ;; 
    281487 
     
    291497  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 
    292498  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 
    293     oldincludedir="$ac_optarg" ;; 
     499    oldincludedir=$ac_optarg ;; 
    294500 
    295501  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 
    296502    ac_prev=prefix ;; 
    297503  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 
    298     prefix="$ac_optarg" ;; 
     504    prefix=$ac_optarg ;; 
    299505 
    300506  -program-prefix | --program-prefix | --program-prefi | --program-pref \ 
     
    303509  -program-prefix=* | --program-prefix=* | --program-prefi=* \ 
    304510  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 
    305     program_prefix="$ac_optarg" ;; 
     511    program_prefix=$ac_optarg ;; 
    306512 
    307513  -program-suffix | --program-suffix | --program-suffi | --program-suff \ 
     
    310516  -program-suffix=* | --program-suffix=* | --program-suffi=* \ 
    311517  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 
    312     program_suffix="$ac_optarg" ;; 
     518    program_suffix=$ac_optarg ;; 
    313519 
    314520  -program-transform-name | --program-transform-name \ 
     
    327533  | --program-trans=* | --program-tran=* \ 
    328534  | --progr-tra=* | --program-tr=* | --program-t=*) 
    329     program_transform_name="$ac_optarg" ;; 
     535    program_transform_name=$ac_optarg ;; 
    330536 
    331537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     
    337543  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 
    338544  | --sbi=* | --sb=*) 
    339     sbindir="$ac_optarg" ;; 
     545    sbindir=$ac_optarg ;; 
    340546 
    341547  -sharedstatedir | --sharedstatedir | --sharedstatedi \ 
     
    348554  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 
    349555  | --sha=* | --sh=*) 
    350     sharedstatedir="$ac_optarg" ;; 
     556    sharedstatedir=$ac_optarg ;; 
    351557 
    352558  -site | --site | --sit) 
    353559    ac_prev=site ;; 
    354560  -site=* | --site=* | --sit=*) 
    355     site="$ac_optarg" ;; 
     561    site=$ac_optarg ;; 
    356562 
    357563  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 
    358564    ac_prev=srcdir ;; 
    359565  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 
    360     srcdir="$ac_optarg" ;; 
     566    srcdir=$ac_optarg ;; 
    361567 
    362568  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 
     
    365571  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 
    366572  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 
    367     sysconfdir="$ac_optarg" ;; 
     573    sysconfdir=$ac_optarg ;; 
    368574 
    369575  -target | --target | --targe | --targ | --tar | --ta | --t) 
    370     ac_prev=target ;; 
     576    ac_prev=target_alias ;; 
    371577  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 
    372     target="$ac_optarg" ;; 
     578    target_alias=$ac_optarg ;; 
    373579 
    374580  -v | -verbose | --verbose | --verbos | --verbo | --verb) 
    375581    verbose=yes ;; 
    376582 
    377   -version | --version | --versio | --versi | --vers) 
    378     echo "configure generated by autoconf version 2.13" 
    379     exit 0 ;; 
     583  -version | --version | --versio | --versi | --vers | -V) 
     584    ac_init_version=: ;; 
    380585 
    381586  -with-* | --with-*) 
    382     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 
     587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    383588    # Reject names that are not valid shell variable names. 
    384     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 
    385       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 
    386     fi 
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     590      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     591   { (exit 1); exit 1; }; } 
    387592    ac_package=`echo $ac_package| sed 's/-/_/g'` 
    388     case "$ac_option" in 
    389       *=*) ;; 
     593    case $ac_option in 
     594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
    390595      *) ac_optarg=yes ;; 
    391596    esac 
    392     eval "with_${ac_package}='$ac_optarg'" ;; 
     597    eval "with_$ac_package='$ac_optarg'" ;; 
    393598 
    394599  -without-* | --without-*) 
    395     ac_package=`echo $ac_option|sed -e 's/-*without-//'` 
     600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    396601    # Reject names that are not valid shell variable names. 
    397     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 
    398       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 
    399     fi 
    400     ac_package=`echo $ac_package| sed 's/-/_/g'` 
    401     eval "with_${ac_package}=no" ;; 
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     603      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     604   { (exit 1); exit 1; }; } 
     605    ac_package=`echo $ac_package | sed 's/-/_/g'` 
     606    eval "with_$ac_package=no" ;; 
    402607 
    403608  --x) 
     
    410615  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 
    411616  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 
    412     x_includes="$ac_optarg" ;; 
     617    x_includes=$ac_optarg ;; 
    413618 
    414619  -x-libraries | --x-libraries | --x-librarie | --x-librari \ 
     
    417622  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 
    418623  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 
    419     x_libraries="$ac_optarg" ;; 
    420  
    421   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 
     624    x_libraries=$ac_optarg ;; 
     625 
     626  -*) { echo "$as_me: error: unrecognized option: $ac_option 
     627Try \`$0 --help' for more information." >&2 
     628   { (exit 1); exit 1; }; } 
    422629    ;; 
    423630 
     631  *=*) 
     632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
     633    # Reject names that are not valid shell variable names. 
     634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
     635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
     636   { (exit 1); exit 1; }; } 
     637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 
     638    eval "$ac_envvar='$ac_optarg'" 
     639    export $ac_envvar ;; 
     640 
    424641  *) 
    425     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 
    426       echo "configure: warning: $ac_option: invalid host type" 1>&2 
    427     fi 
    428     if test "x$nonopt" != xNONE; then 
    429       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 
    430     fi 
    431     nonopt="$ac_option" 
     642    # FIXME: should be removed in autoconf 3.0. 
     643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    432647    ;; 
    433648 
     
    436651 
    437652if test -n "$ac_prev"; then 
    438   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 
    439 fi 
    440  
    441 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 
    442  
    443 # File descriptor usage: 
    444 # 0 standard input 
    445 # 1 file creation 
    446 # 2 errors and warnings 
    447 # 3 some systems may open it to /dev/tty 
    448 # 4 used on the Kubota Titan 
    449 # 6 checking for... messages and results 
    450 # 5 compiler messages saved in config.log 
    451 if test "$silent" = yes; then 
    452   exec 6>/dev/null 
    453 else 
    454   exec 6>&1 
    455 fi 
    456 exec 5>./config.log 
    457  
    458 echo "\ 
    459 This file contains any messages produced by compilers while 
    460 running configure, to aid debugging if configure makes a mistake. 
    461 " 1>&5 
    462  
    463 # Strip out --no-create and --no-recursion so they do not pile up. 
    464 # Also quote any args containing shell metacharacters. 
    465 ac_configure_args= 
    466 for ac_arg 
     653  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
     654  { echo "$as_me: error: missing argument to $ac_option" >&2 
     655   { (exit 1); exit 1; }; } 
     656fi 
     657 
     658# Be sure to have absolute paths. 
     659for ac_var in exec_prefix prefix 
    467660do 
    468   case "$ac_arg" in 
    469   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    470   | --no-cr | --no-c) ;; 
    471   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 
    472   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 
    473   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 
    474   ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    475   *) ac_configure_args="$ac_configure_args $ac_arg" ;; 
     661  eval ac_val=$`echo $ac_var` 
     662  case $ac_val in 
     663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 
     664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     665   { (exit 1); exit 1; }; };; 
    476666  esac 
    477667done 
    478668 
    479 # NLS nuisances. 
    480 # Only set these to C if already set.  These must not be set unconditionally 
    481 # because not all systems understand e.g. LANG=C (notably SCO). 
    482 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 
    483 # Non-C LC_CTYPE values break the ctype check. 
    484 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi 
    485 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 
    486 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 
    487 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi 
    488  
    489 # confdefs.h avoids OS command line length limits that DEFS can exceed. 
    490 rm -rf conftest* confdefs.h 
    491 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 
    492 echo > confdefs.h 
    493  
    494 # A filename unique to this package, relative to the directory that 
    495 # configure is in, which we can look for to find out if srcdir is correct. 
    496 ac_unique_file=main.cpp 
     669# Be sure to have absolute paths. 
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 
     671              localstatedir libdir includedir oldincludedir infodir mandir 
     672do 
     673  eval ac_val=$`echo $ac_var` 
     674  case $ac_val in 
     675    [\\/$]* | ?:[\\/]* ) ;; 
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     677   { (exit 1); exit 1; }; };; 
     678  esac 
     679done 
     680 
     681# There might be people who depend on the old broken behavior: `$host' 
     682# used to hold the argument of --host etc. 
     683# FIXME: To remove some day. 
     684build=$build_alias 
     685host=$host_alias 
     686target=$target_alias 
     687 
     688# FIXME: To remove some day. 
     689if test "x$host_alias" != x; then 
     690  if test "x$build_alias" = x; then 
     691    cross_compiling=maybe 
     692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     693    If a cross compiler is detected then cross compile mode will be used." >&2 
     694  elif test "x$build_alias" != "x$host_alias"; then 
     695    cross_compiling=yes 
     696  fi 
     697fi 
     698 
     699ac_tool_prefix= 
     700test -n "$host_alias" && ac_tool_prefix=$host_alias- 
     701 
     702test "$silent" = yes && exec 6>/dev/null 
     703 
    497704 
    498705# Find the source files, if location was not specified. 
     
    500707  ac_srcdir_defaulted=yes 
    501708  # Try the directory containing this script, then its parent. 
    502   ac_prog=$0 
    503   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 
    504   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 
     709  ac_confdir=`(dirname "$0") 2>/dev/null || 
     710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     711         X"$0" : 'X\(//\)[^/]' \| \ 
     712         X"$0" : 'X\(//\)$' \| \ 
     713         X"$0" : 'X\(/\)' \| \ 
     714         .     : '\(.\)' 2>/dev/null || 
     715echo X"$0" | 
     716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     717          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     718          /^X\(\/\/\)$/{ s//\1/; q; } 
     719          /^X\(\/\).*/{ s//\1/; q; } 
     720          s/.*/./; q'` 
    505721  srcdir=$ac_confdir 
    506722  if test ! -r $srcdir/$ac_unique_file; then 
     
    512728if test ! -r $srcdir/$ac_unique_file; then 
    513729  if test "$ac_srcdir_defaulted" = yes; then 
    514     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
     731   { (exit 1); exit 1; }; } 
    515732  else 
    516     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
     734   { (exit 1); exit 1; }; } 
    517735  fi 
    518736fi 
    519 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 
    520  
     737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 
     738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 
     739   { (exit 1); exit 1; }; } 
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
     741ac_env_build_alias_set=${build_alias+set} 
     742ac_env_build_alias_value=$build_alias 
     743ac_cv_env_build_alias_set=${build_alias+set} 
     744ac_cv_env_build_alias_value=$build_alias 
     745ac_env_host_alias_set=${host_alias+set} 
     746ac_env_host_alias_value=$host_alias 
     747ac_cv_env_host_alias_set=${host_alias+set} 
     748ac_cv_env_host_alias_value=$host_alias 
     749ac_env_target_alias_set=${target_alias+set} 
     750ac_env_target_alias_value=$target_alias 
     751ac_cv_env_target_alias_set=${target_alias+set} 
     752ac_cv_env_target_alias_value=$target_alias 
     753ac_env_CC_set=${CC+set} 
     754ac_env_CC_value=$CC 
     755ac_cv_env_CC_set=${CC+set} 
     756ac_cv_env_CC_value=$CC 
     757ac_env_CFLAGS_set=${CFLAGS+set} 
     758ac_env_CFLAGS_value=$CFLAGS 
     759ac_cv_env_CFLAGS_set=${CFLAGS+set} 
     760ac_cv_env_CFLAGS_value=$CFLAGS 
     761ac_env_LDFLAGS_set=${LDFLAGS+set} 
     762ac_env_LDFLAGS_value=$LDFLAGS 
     763ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 
     764ac_cv_env_LDFLAGS_value=$LDFLAGS 
     765ac_env_CPPFLAGS_set=${CPPFLAGS+set} 
     766ac_env_CPPFLAGS_value=$CPPFLAGS 
     767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 
     768ac_cv_env_CPPFLAGS_value=$CPPFLAGS 
     769ac_env_CXX_set=${CXX+set} 
     770ac_env_CXX_value=$CXX 
     771ac_cv_env_CXX_set=${CXX+set} 
     772ac_cv_env_CXX_value=$CXX 
     773ac_env_CXXFLAGS_set=${CXXFLAGS+set} 
     774ac_env_CXXFLAGS_value=$CXXFLAGS 
     775ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 
     776ac_cv_env_CXXFLAGS_value=$CXXFLAGS 
     777ac_env_CPP_set=${CPP+set} 
     778ac_env_CPP_value=$CPP 
     779ac_cv_env_CPP_set=${CPP+set} 
     780ac_cv_env_CPP_value=$CPP 
     781 
     782# 
     783# Report the --help message. 
     784# 
     785if test "$ac_init_help" = "long"; then 
     786  # Omit some internal or obsolete options to make the list less imposing. 
     787  # This message is too long to be a string in the A/UX 3.1 sh. 
     788  cat <<_ACEOF 
     789\`configure' configures this package to adapt to many kinds of systems. 
     790 
     791Usage: $0 [OPTION]... [VAR=VALUE]... 
     792 
     793To assign environment variables (e.g., CC, CFLAGS...), specify them as 
     794VAR=VALUE.  See below for descriptions of some of the useful variables. 
     795 
     796Defaults for the options are specified in brackets. 
     797 
     798Configuration: 
     799  -h, --help              display this help and exit 
     800      --help=short        display options specific to this package 
     801      --help=recursive    display the short help of all the included packages 
     802  -V, --version           display version information and exit 
     803  -q, --quiet, --silent   do not print \`checking...' messages 
     804      --cache-file=FILE   cache test results in FILE [disabled] 
     805  -C, --config-cache      alias for \`--cache-file=config.cache' 
     806  -n, --no-create         do not create output files 
     807      --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
     808 
     809_ACEOF 
     810 
     811  cat <<_ACEOF 
     812Installation directories: 
     813  --prefix=PREFIX         install architecture-independent files in PREFIX 
     814                          [$ac_default_prefix] 
     815  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
     816                          [PREFIX] 
     817 
     818By default, \`make install' will install all the files in 
     819\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify 
     820an installation prefix other than \`$ac_default_prefix' using \`--prefix', 
     821for instance \`--prefix=\$HOME'. 
     822 
     823For better control, use the options below. 
     824 
     825Fine tuning of the installation directories: 
     826  --bindir=DIR           user executables [EPREFIX/bin] 
     827  --sbindir=DIR          system admin executables [EPREFIX/sbin] 
     828  --libexecdir=DIR       program executables [EPREFIX/libexec] 
     829  --datadir=DIR          read-only architecture-independent data [PREFIX/share] 
     830  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
     831  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
     832  --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
     833  --libdir=DIR           object code libraries [EPREFIX/lib] 
     834  --includedir=DIR       C header files [PREFIX/include] 
     835  --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
     836  --infodir=DIR          info documentation [PREFIX/info] 
     837  --mandir=DIR           man documentation [PREFIX/man] 
     838_ACEOF 
     839 
     840  cat <<\_ACEOF 
     841 
     842System types: 
     843  --build=BUILD     configure for building on BUILD [guessed] 
     844  --host=HOST       cross-compile to build programs to run on HOST [BUILD] 
     845  --target=TARGET   configure for building compilers for TARGET [HOST] 
     846_ACEOF 
     847fi 
     848 
     849if test -n "$ac_init_help"; then 
     850 
     851  cat <<\_ACEOF 
     852 
     853Optional Features: 
     854  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
     855  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     856--enable-debug          build with debugging enabled 
     857--enable-ipv6           build with ipv6 enabled 
     858--disable-ffmpeg-co     Enable or disable ffmpeg svn checkout 
     859--disable-x264-co      Enable or disable x264 svn checkout 
     860--disable-cpudetect     Enable or disable runtime cpu detection 
     861--disable-h261as         Enable or disable the h261as codec 
     862--enable-dvdecode       Enable or disable dv decoding 
     863--enable-xvideo         Enable or disable Xvideo rendering 
     864--enable-v4l2old    Enable or disable old Video4Linux2 grabber 
     865--enable-XvGrabber    Enable or disable old XvGrabber 
     866 
     867Optional Packages: 
     868  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
     869  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
     870--with-fore=path        specify a pathname for fore atm 
     871--with-ucltcl=path      specify a pathname for UCL's tcl 
     872--with-tcl=path specify a pathname for tcl 
     873--with-ucltk=path       specify a pathname for UCL's tk 
     874--with-tk=path  specify a pathname for tk 
     875--with-aix-shm=path     specify a pathname for the AIX shm X extension library file 
     876--with-qcam=dir     specify directory with qcam.h for Connectix QuickCam device driver 
     877--with-ffmpeginc=dir     specify the prefix directory of ffmpeg header 
     878--with-ffmpeglib=dir     specify the directory of ffmpeg library 
     879--with-x264inc=dir     specify the directory of x264 header 
     880--with-x264lib=dir     specify the directory of x264 library 
     881 
     882Some influential environment variables: 
     883  CC          C compiler command 
     884  CFLAGS      C compiler flags 
     885  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     886              nonstandard directory <lib dir> 
     887  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have 
     888              headers in a nonstandard directory <include dir> 
     889  CXX         C++ compiler command 
     890  CXXFLAGS    C++ compiler flags 
     891  CPP         C preprocessor 
     892 
     893Use these variables to override the choices made by `configure' or to help 
     894it to find libraries and programs with nonstandard names/locations. 
     895 
     896_ACEOF 
     897fi 
     898 
     899if test "$ac_init_help" = "recursive"; then 
     900  # If there are subdirs, report their specific --help. 
     901  ac_popdir=`pwd` 
     902  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
     903    test -d $ac_dir || continue 
     904    ac_builddir=. 
     905 
     906if test "$ac_dir" != .; then 
     907  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     908  # A "../" for each directory in $ac_dir_suffix. 
     909  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     910else 
     911  ac_dir_suffix= ac_top_builddir= 
     912fi 
     913 
     914case $srcdir in 
     915  .)  # No --srcdir option.  We are building in place. 
     916    ac_srcdir=. 
     917    if test -z "$ac_top_builddir"; then 
     918       ac_top_srcdir=. 
     919    else 
     920       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     921    fi ;; 
     922  [\\/]* | ?:[\\/]* )  # Absolute path. 
     923    ac_srcdir=$srcdir$ac_dir_suffix; 
     924    ac_top_srcdir=$srcdir ;; 
     925  *) # Relative path. 
     926    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     927    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
     928esac 
     929 
     930# Do not use `cd foo && pwd` to compute absolute paths, because 
     931# the directories may not exist. 
     932case `pwd` in 
     933.) ac_abs_builddir="$ac_dir";; 
     934*) 
     935  case "$ac_dir" in 
     936  .) ac_abs_builddir=`pwd`;; 
     937  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
     938  *) ac_abs_builddir=`pwd`/"$ac_dir";; 
     939  esac;; 
     940esac 
     941case $ac_abs_builddir in 
     942.) ac_abs_top_builddir=${ac_top_builddir}.;; 
     943*) 
     944  case ${ac_top_builddir}. in 
     945  .) ac_abs_top_builddir=$ac_abs_builddir;; 
     946  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
     947  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
     948  esac;; 
     949esac 
     950case $ac_abs_builddir in 
     951.) ac_abs_srcdir=$ac_srcdir;; 
     952*) 
     953  case $ac_srcdir in 
     954  .) ac_abs_srcdir=$ac_abs_builddir;; 
     955  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
     956  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
     957  esac;; 
     958esac 
     959case $ac_abs_builddir in 
     960.) ac_abs_top_srcdir=$ac_top_srcdir;; 
     961*) 
     962  case $ac_top_srcdir in 
     963  .) ac_abs_top_srcdir=$ac_abs_builddir;; 
     964  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
     965  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
     966  esac;; 
     967esac 
     968 
     969    cd $ac_dir 
     970    # Check for guested configure; otherwise get Cygnus style configure. 
     971    if test -f $ac_srcdir/configure.gnu; then 
     972      echo 
     973      $SHELL $ac_srcdir/configure.gnu  --help=recursive 
     974    elif test -f $ac_srcdir/configure; then 
     975      echo 
     976      $SHELL $ac_srcdir/configure  --help=recursive 
     977    elif test -f $ac_srcdir/configure.ac || 
     978           test -f $ac_srcdir/configure.in; then 
     979      echo 
     980      $ac_configure --help 
     981    else 
     982      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     983    fi 
     984    cd $ac_popdir 
     985  done 
     986fi 
     987 
     988test -n "$ac_init_help" && exit 0 
     989if $ac_init_version; then 
     990  cat <<\_ACEOF 
     991 
     992Copyright (C) 2003 Free Software Foundation, Inc. 
     993This configure script is free software; the Free Software Foundation 
     994gives unlimited permission to copy, distribute and modify it. 
     995_ACEOF 
     996  exit 0 
     997fi 
     998exec 5>config.log 
     999cat >&5 <<_ACEOF 
     1000This file contains any messages produced by compilers while 
     1001running configure, to aid debugging if configure makes a mistake. 
     1002 
     1003It was created by $as_me, which was 
     1004generated by GNU Autoconf 2.59.  Invocation command line was 
     1005 
     1006  $ $0 $@ 
     1007 
     1008_ACEOF 
     1009{ 
     1010cat <<_ASUNAME 
     1011## --------- ## 
     1012## Platform. ## 
     1013## --------- ## 
     1014 
     1015hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 
     1016uname -m = `(uname -m) 2>/dev/null || echo unknown` 
     1017uname -r = `(uname -r) 2>/dev/null || echo unknown` 
     1018uname -s = `(uname -s) 2>/dev/null || echo unknown` 
     1019uname -v = `(uname -v) 2>/dev/null || echo unknown` 
     1020 
     1021/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 
     1022/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` 
     1023 
     1024/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` 
     1025/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` 
     1026/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 
     1027hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` 
     1028/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` 
     1029/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` 
     1030/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
     1031 
     1032_ASUNAME 
     1033 
     1034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1035for as_dir in $PATH 
     1036do 
     1037  IFS=$as_save_IFS 
     1038  test -z "$as_dir" && as_dir=. 
     1039  echo "PATH: $as_dir" 
     1040done 
     1041 
     1042} >&5 
     1043 
     1044cat >&5 <<_ACEOF 
     1045 
     1046 
     1047## ----------- ## 
     1048## Core tests. ## 
     1049## ----------- ## 
     1050 
     1051_ACEOF 
     1052 
     1053 
     1054# Keep a trace of the command line. 
     1055# Strip out --no-create and --no-recursion so they do not pile up. 
     1056# Strip out --silent because we don't want to record it for future runs. 
     1057# Also quote any args containing shell meta-characters. 
     1058# Make two passes to allow for proper duplicate-argument suppression. 
     1059ac_configure_args= 
     1060ac_configure_args0= 
     1061ac_configure_args1= 
     1062ac_sep= 
     1063ac_must_keep_next=false 
     1064for ac_pass in 1 2 
     1065do 
     1066  for ac_arg 
     1067  do 
     1068    case $ac_arg in 
     1069    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
     1070    -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     1071    | -silent | --silent | --silen | --sile | --sil) 
     1072      continue ;; 
     1073    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     1074      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1075    esac 
     1076    case $ac_pass in 
     1077    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1078    2) 
     1079      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1080      if test $ac_must_keep_next = true; then 
     1081        ac_must_keep_next=false # Got value, back to normal. 
     1082      else 
     1083        case $ac_arg in 
     1084          *=* | --config-cache | -C | -disable-* | --disable-* \ 
     1085          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
     1086          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
     1087          | -with-* | --with-* | -without-* | --without-* | --x) 
     1088            case "$ac_configure_args0 " in 
     1089              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
     1090            esac 
     1091            ;; 
     1092          -* ) ac_must_keep_next=true ;; 
     1093        esac 
     1094      fi 
     1095      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
     1096      # Get rid of the leading space. 
     1097      ac_sep=" " 
     1098      ;; 
     1099    esac 
     1100  done 
     1101done 
     1102$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1103$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1104 
     1105# When interrupted or exit'd, cleanup temporary files, and complete 
     1106# config.log.  We remove comments because anyway the quotes in there 
     1107# would cause problems or look ugly. 
     1108# WARNING: Be sure not to use single quotes in there, as some shells, 
     1109# such as our DU 5.0 friend, will then `close' the trap. 
     1110trap 'exit_status=$? 
     1111  # Save into config.log some information that might help in debugging. 
     1112  { 
     1113    echo 
     1114 
     1115    cat <<\_ASBOX 
     1116## ---------------- ## 
     1117## Cache variables. ## 
     1118## ---------------- ## 
     1119_ASBOX 
     1120    echo 
     1121    # The following way of writing the cache mishandles newlines in values, 
     1122{ 
     1123  (set) 2>&1 | 
     1124    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 
     1125    *ac_space=\ *) 
     1126      sed -n \ 
     1127        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
     1128          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
     1129      ;; 
     1130    *) 
     1131      sed -n \ 
     1132        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
     1133      ;; 
     1134    esac; 
     1135} 
     1136    echo 
     1137 
     1138    cat <<\_ASBOX 
     1139## ----------------- ## 
     1140## Output variables. ## 
     1141## ----------------- ## 
     1142_ASBOX 
     1143    echo 
     1144    for ac_var in $ac_subst_vars 
     1145    do 
     1146      eval ac_val=$`echo $ac_var` 
     1147      echo "$ac_var='"'"'$ac_val'"'"'" 
     1148    done | sort 
     1149    echo 
     1150 
     1151    if test -n "$ac_subst_files"; then 
     1152      cat <<\_ASBOX 
     1153## ------------- ## 
     1154## Output files. ## 
     1155## ------------- ## 
     1156_ASBOX 
     1157      echo 
     1158      for ac_var in $ac_subst_files 
     1159      do 
     1160        eval ac_val=$`echo $ac_var` 
     1161        echo "$ac_var='"'"'$ac_val'"'"'" 
     1162      done | sort 
     1163      echo 
     1164    fi 
     1165 
     1166    if test -s confdefs.h; then 
     1167      cat <<\_ASBOX 
     1168## ----------- ## 
     1169## confdefs.h. ## 
     1170## ----------- ## 
     1171_ASBOX 
     1172      echo 
     1173      sed "/^$/d" confdefs.h | sort 
     1174      echo 
     1175    fi 
     1176    test "$ac_signal" != 0 && 
     1177      echo "$as_me: caught signal $ac_signal" 
     1178    echo "$as_me: exit $exit_status" 
     1179  } >&5 
     1180  rm -f core *.core && 
     1181  rm -rf conftest* confdefs* conf$$* $ac_clean_files && 
     1182    exit $exit_status 
     1183     ' 0 
     1184for ac_signal in 1 2 13 15; do 
     1185  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     1186done 
     1187ac_signal=0 
     1188 
     1189# confdefs.h avoids OS command line length limits that DEFS can exceed. 
     1190rm -rf conftest* confdefs.h 
     1191# AIX cpp loses on an empty file, so make sure it contains at least a newline. 
     1192echo >confdefs.h 
     1193 
     1194# Predefined preprocessor variables. 
     1195 
     1196cat >>confdefs.h <<_ACEOF 
     1197#define PACKAGE_NAME "$PACKAGE_NAME" 
     1198_ACEOF 
     1199 
     1200 
     1201cat >>confdefs.h <<_ACEOF 
     1202#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
     1203_ACEOF 
     1204 
     1205 
     1206cat >>confdefs.h <<_ACEOF 
     1207#define PACKAGE_VERSION "$PACKAGE_VERSION" 
     1208_ACEOF 
     1209 
     1210 
     1211cat >>confdefs.h <<_ACEOF 
     1212#define PACKAGE_STRING "$PACKAGE_STRING" 
     1213_ACEOF 
     1214 
     1215 
     1216cat >>confdefs.h <<_ACEOF 
     1217#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
     1218_ACEOF 
     1219 
     1220 
     1221# Let the site file select an alternate cache file if it wants to. 
    5211222# Prefer explicitly selected file to automatically selected ones. 
    5221223if test -z "$CONFIG_SITE"; then 
     
    5291230for ac_site_file in $CONFIG_SITE; do 
    5301231  if test -r "$ac_site_file"; then 
    531     echo "loading site script $ac_site_file" 
     1232    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     1233echo "$as_me: loading site script $ac_site_file" >&6;} 
     1234    sed 's/^/| /' "$ac_site_file" >&5 
    5321235    . "$ac_site_file" 
    5331236  fi 
     
    5351238 
    5361239if test -r "$cache_file"; then 
    537   echo "loading cache $cache_file" 
    538   . $cache_file 
    539 else 
    540   echo "creating cache $cache_file" 
    541   > $cache_file 
     1240  # Some versions of bash will fail to source /dev/null (special 
     1241  # files actually), so we avoid doing that. 
     1242  if test -f "$cache_file"; then 
     1243    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     1244echo "$as_me: loading cache $cache_file" >&6;} 
     1245    case $cache_file in 
     1246      [\\/]* | ?:[\\/]* ) . $cache_file;; 
     1247      *)                      . ./$cache_file;; 
     1248    esac 
     1249  fi 
     1250else 
     1251  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     1252echo "$as_me: creating cache $cache_file" >&6;} 
     1253  >$cache_file 
     1254fi 
     1255 
     1256# Check that the precious variables saved in the cache have kept the same 
     1257# value. 
     1258ac_cache_corrupted=false 
     1259for ac_var in `(set) 2>&1 | 
     1260               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 
     1261  eval ac_old_set=\$ac_cv_env_${ac_var}_set 
     1262  eval ac_new_set=\$ac_env_${ac_var}_set 
     1263  eval ac_old_val="\$ac_cv_env_${ac_var}_value" 
     1264  eval ac_new_val="\$ac_env_${ac_var}_value" 
     1265  case $ac_old_set,$ac_new_set in 
     1266    set,) 
     1267      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1268echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     1269      ac_cache_corrupted=: ;; 
     1270    ,set) 
     1271      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     1272echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     1273      ac_cache_corrupted=: ;; 
     1274    ,);; 
     1275    *) 
     1276      if test "x$ac_old_val" != "x$ac_new_val"; then 
     1277        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     1278echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     1279        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
     1280echo "$as_me:   former value:  $ac_old_val" >&2;} 
     1281        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
     1282echo "$as_me:   current value: $ac_new_val" >&2;} 
     1283        ac_cache_corrupted=: 
     1284      fi;; 
     1285  esac 
     1286  # Pass precious variables to config.status. 
     1287  if test "$ac_new_set" = set; then 
     1288    case $ac_new_val in 
     1289    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     1290      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1291    *) ac_arg=$ac_var=$ac_new_val ;; 
     1292    esac 
     1293    case " $ac_configure_args " in 
     1294      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
     1295      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     1296    esac 
     1297  fi 
     1298done 
     1299if $ac_cache_corrupted; then 
     1300  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     1301echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     1302  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1303echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
     1304   { (exit 1); exit 1; }; } 
    5421305fi 
    5431306 
    5441307ac_ext=c 
    545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    5461308ac_cpp='$CPP $CPPFLAGS' 
    547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    549 cross_compiling=$ac_cv_prog_cc_cross 
    550  
    551 ac_exeext= 
    552 ac_objext=o 
    553 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 
    554   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 
    555   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 
    556     ac_n= ac_c=' 
    557 ' ac_t='        ' 
    558   else 
    559     ac_n=-n ac_c= ac_t= 
    560   fi 
    561 else 
    562   ac_n= ac_c='\c' ac_t= 
    563 fi 
     1309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     1310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     1311ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     1312 
     1313 
     1314 
     1315 
     1316 
     1317 
     1318 
     1319 
     1320 
     1321 
     1322 
     1323 
     1324 
     1325 
     1326 
     1327 
     1328 
    5641329 
    5651330 
     
    6241389    ac_install_sh="$ac_aux_dir/install.sh -c" 
    6251390    break 
     1391  elif test -f $ac_dir/shtool; then 
     1392    ac_aux_dir=$ac_dir 
     1393    ac_install_sh="$ac_aux_dir/shtool install -c" 
     1394    break 
    6261395  fi 
    6271396done 
    6281397if test -z "$ac_aux_dir"; then 
    629   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 
    630 fi 
    631 ac_config_guess=$ac_aux_dir/config.guess 
    632 ac_config_sub=$ac_aux_dir/config.sub 
    633 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 
    634  
    635  
    636 # Do some error checking and defaulting for the host and target type. 
    637 # The inputs are: 
    638 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT 
    639 # 
    640 # The rules are: 
    641 # 1. You are not allowed to specify --host, --target, and nonopt at the 
    642 #    same time. 
    643 # 2. Host defaults to nonopt. 
    644 # 3. If nonopt is not specified, then host defaults to the current host, 
    645 #    as determined by config.guess. 
    646 # 4. Target and build default to nonopt. 
    647 # 5. If nonopt is not specified, then target and build default to host. 
     1398  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
     1399echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
     1400   { (exit 1); exit 1; }; } 
     1401fi 
     1402ac_config_guess="$SHELL $ac_aux_dir/config.guess" 
     1403ac_config_sub="$SHELL $ac_aux_dir/config.sub" 
     1404ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 
     1405 
     1406# Make sure we can run config.sub. 
     1407$ac_config_sub sun4 >/dev/null 2>&1 || 
     1408  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
     1409echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
     1410   { (exit 1); exit 1; }; } 
     1411 
     1412echo "$as_me:$LINENO: checking build system type" >&5 
     1413echo $ECHO_N "checking build system type... $ECHO_C" >&6 
     1414if test "${ac_cv_build+set}" = set; then 
     1415  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1416else 
     1417  ac_cv_build_alias=$build_alias 
     1418test -z "$ac_cv_build_alias" && 
     1419  ac_cv_build_alias=`$ac_config_guess` 
     1420test -z "$ac_cv_build_alias" && 
     1421  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
     1422echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
     1423   { (exit 1); exit 1; }; } 
     1424ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
     1425  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
     1426echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
     1427   { (exit 1); exit 1; }; } 
     1428 
     1429fi 
     1430echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
     1431echo "${ECHO_T}$ac_cv_build" >&6 
     1432build=$ac_cv_build 
     1433build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
     1434build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
     1435build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     1436 
     1437 
     1438echo "$as_me:$LINENO: checking host system type" >&5 
     1439echo $ECHO_N "checking host system type... $ECHO_C" >&6 
     1440if test "${ac_cv_host+set}" = set; then 
     1441  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1442else 
     1443  ac_cv_host_alias=$host_alias 
     1444test -z "$ac_cv_host_alias" && 
     1445  ac_cv_host_alias=$ac_cv_build_alias 
     1446ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
     1447  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
     1448echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
     1449   { (exit 1); exit 1; }; } 
     1450 
     1451fi 
     1452echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
     1453echo "${ECHO_T}$ac_cv_host" >&6 
     1454host=$ac_cv_host 
     1455host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
     1456host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
     1457host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     1458 
     1459 
     1460echo "$as_me:$LINENO: checking target system type" >&5 
     1461echo $ECHO_N "checking target system type... $ECHO_C" >&6 
     1462if test "${ac_cv_target+set}" = set; then 
     1463  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1464else 
     1465  ac_cv_target_alias=$target_alias 
     1466test "x$ac_cv_target_alias" = "x" && 
     1467  ac_cv_target_alias=$ac_cv_host_alias 
     1468ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 
     1469  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 
     1470echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 
     1471   { (exit 1); exit 1; }; } 
     1472 
     1473fi 
     1474echo "$as_me:$LINENO: result: $ac_cv_target" >&5 
     1475echo "${ECHO_T}$ac_cv_target" >&6 
     1476target=$ac_cv_target 
     1477target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
     1478target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
     1479target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
     1480 
    6481481 
    6491482# The aliases save the names the user supplied, while $host etc. 
    6501483# will get canonicalized. 
    651 case $host---$target---$nonopt in 
    652 NONE---*---* | *---NONE---* | *---*---NONE) ;; 
    653 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; 
    654 esac 
    655  
    656  
    657 # Make sure we can run config.sub. 
    658 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 
    659 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 
    660 fi 
    661  
    662 echo $ac_n "checking host system type""... $ac_c" 1>&6 
    663 echo "configure:664: checking host system type" >&5 
    664  
    665 host_alias=$host 
    666 case "$host_alias" in 
    667 NONE) 
    668   case $nonopt in 
    669   NONE) 
    670     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 
    671     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 
    672     fi ;; 
    673   *) host_alias=$nonopt ;; 
    674   esac ;; 
    675 esac 
    676  
    677 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 
    678 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    679 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    680 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    681 echo "$ac_t""$host" 1>&6 
    682  
    683 echo $ac_n "checking target system type""... $ac_c" 1>&6 
    684 echo "configure:685: checking target system type" >&5 
    685  
    686 target_alias=$target 
    687 case "$target_alias" in 
    688 NONE) 
    689   case $nonopt in 
    690   NONE) target_alias=$host_alias ;; 
    691   *) target_alias=$nonopt ;; 
    692   esac ;; 
    693 esac 
    694  
    695 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 
    696 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    697 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    698 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    699 echo "$ac_t""$target" 1>&6 
    700  
    701 echo $ac_n "checking build system type""... $ac_c" 1>&6 
    702 echo "configure:703: checking build system type" >&5 
    703  
    704 build_alias=$build 
    705 case "$build_alias" in 
    706 NONE) 
    707   case $nonopt in 
    708   NONE) build_alias=$host_alias ;; 
    709   *) build_alias=$nonopt ;; 
    710   esac ;; 
    711 esac 
    712  
    713 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 
    714 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 
    715 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 
    716 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    717 echo "$ac_t""$build" 1>&6 
    718  
    719 test "$host_alias" != "$target_alias" && 
     1484test -n "$target_alias" && 
    7201485  test "$program_prefix$program_suffix$program_transform_name" = \ 
    7211486    NONENONEs,x,x, && 
    7221487  program_prefix=${target_alias}- 
    7231488 
    724  
    725 # Extract the first word of "gcc", so it can be a program name with args. 
    726 set dummy gcc; ac_word=$2 
    727 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    728 echo "configure:729: checking for $ac_word" >&5 
    729 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    730   echo $ac_n "(cached) $ac_c" 1>&6 
     1489ac_ext=c 
     1490ac_cpp='$CPP $CPPFLAGS' 
     1491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     1492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     1493ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     1494if test -n "$ac_tool_prefix"; then 
     1495  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
     1496set dummy ${ac_tool_prefix}gcc; ac_word=$2 
     1497echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1498echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1499if test "${ac_cv_prog_CC+set}" = set; then 
     1500  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7311501else 
    7321502  if test -n "$CC"; then 
    7331503  ac_cv_prog_CC="$CC" # Let the user override the test. 
    7341504else 
    735   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" 
    736   ac_dummy="$PATH" 
    737   for ac_dir in $ac_dummy; do 
    738     test -z "$ac_dir" && ac_dir=. 
    739     if test -f $ac_dir/$ac_word; then 
    740       ac_cv_prog_CC="gcc" 
    741       break 
    742     fi 
    743   done 
    744   IFS="$ac_save_ifs" 
    745 fi 
    746 fi 
    747 CC="$ac_cv_prog_CC" 
     1505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1506for as_dir in $PATH 
     1507do 
     1508  IFS=$as_save_IFS 
     1509  test -z "$as_dir" && as_dir=. 
     1510  for ac_exec_ext in '' $ac_executable_extensions; do 
     1511  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1512    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
     1513    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1514    break 2 
     1515  fi 
     1516done 
     1517done 
     1518 
     1519fi 
     1520fi 
     1521CC=$ac_cv_prog_CC 
    7481522if test -n "$CC"; then 
    749   echo "$ac_t""$CC" 1>&6 
    750 else 
    751   echo "$ac_t""no" 1>&6 
    752 fi 
    753  
     1523  echo "$as_me:$LINENO: result: $CC" >&5 
     1524echo "${ECHO_T}$CC" >&6 
     1525else 
     1526  echo "$as_me:$LINENO: result: no" >&5 
     1527echo "${ECHO_T}no" >&6 
     1528fi 
     1529 
     1530fi 
     1531if test -z "$ac_cv_prog_CC"; then 
     1532  ac_ct_CC=$CC 
     1533  # Extract the first word of "gcc", so it can be a program name with args. 
     1534set dummy gcc; ac_word=$2 
     1535echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1536echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1537if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     1538  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1539else 
     1540  if test -n "$ac_ct_CC"; then 
     1541  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
     1542else 
     1543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1544for as_dir in $PATH 
     1545do 
     1546  IFS=$as_save_IFS 
     1547  test -z "$as_dir" && as_dir=. 
     1548  for ac_exec_ext in '' $ac_executable_extensions; do 
     1549  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1550    ac_cv_prog_ac_ct_CC="gcc" 
     1551    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1552    break 2 
     1553  fi 
     1554done 
     1555done 
     1556 
     1557fi 
     1558fi 
     1559ac_ct_CC=$ac_cv_prog_ac_ct_CC 
     1560if test -n "$ac_ct_CC"; then 
     1561  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     1562echo "${ECHO_T}$ac_ct_CC" >&6 
     1563else 
     1564  echo "$as_me:$LINENO: result: no" >&5 
     1565echo "${ECHO_T}no" >&6 
     1566fi 
     1567 
     1568  CC=$ac_ct_CC 
     1569else 
     1570  CC="$ac_cv_prog_CC" 
     1571fi 
     1572 
     1573if test -z "$CC"; then 
     1574  if test -n "$ac_tool_prefix"; then 
     1575  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
     1576set dummy ${ac_tool_prefix}cc; ac_word=$2 
     1577echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1578echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1579if test "${ac_cv_prog_CC+set}" = set; then 
     1580  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1581else 
     1582  if test -n "$CC"; then 
     1583  ac_cv_prog_CC="$CC" # Let the user override the test. 
     1584else 
     1585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1586for as_dir in $PATH 
     1587do 
     1588  IFS=$as_save_IFS 
     1589  test -z "$as_dir" && as_dir=. 
     1590  for ac_exec_ext in '' $ac_executable_extensions; do 
     1591  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1592    ac_cv_prog_CC="${ac_tool_prefix}cc" 
     1593    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1594    break 2 
     1595  fi 
     1596done 
     1597done 
     1598 
     1599fi 
     1600fi 
     1601CC=$ac_cv_prog_CC 
     1602if test -n "$CC"; then 
     1603  echo "$as_me:$LINENO: result: $CC" >&5 
     1604echo "${ECHO_T}$CC" >&6 
     1605else 
     1606  echo "$as_me:$LINENO: result: no" >&5 
     1607echo "${ECHO_T}no" >&6 
     1608fi 
     1609 
     1610fi 
     1611if test -z "$ac_cv_prog_CC"; then 
     1612  ac_ct_CC=$CC 
     1613  # Extract the first word of "cc", so it can be a program name with args. 
     1614set dummy cc; ac_word=$2 
     1615echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1616echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1617if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     1618  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1619else 
     1620  if test -n "$ac_ct_CC"; then 
     1621  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
     1622else 
     1623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1624for as_dir in $PATH 
     1625do 
     1626  IFS=$as_save_IFS 
     1627  test -z "$as_dir" && as_dir=. 
     1628  for ac_exec_ext in '' $ac_executable_extensions; do 
     1629  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1630    ac_cv_prog_ac_ct_CC="cc" 
     1631    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1632    break 2 
     1633  fi 
     1634done 
     1635done 
     1636 
     1637fi 
     1638fi 
     1639ac_ct_CC=$ac_cv_prog_ac_ct_CC 
     1640if test -n "$ac_ct_CC"; then 
     1641  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     1642echo "${ECHO_T}$ac_ct_CC" >&6 
     1643else 
     1644  echo "$as_me:$LINENO: result: no" >&5 
     1645echo "${ECHO_T}no" >&6 
     1646fi 
     1647 
     1648  CC=$ac_ct_CC 
     1649else 
     1650  CC="$ac_cv_prog_CC" 
     1651fi 
     1652 
     1653fi 
    7541654if test -z "$CC"; then 
    7551655  # Extract the first word of "cc", so it can be a program name with args. 
    7561656set dummy cc; ac_word=$2 
    757 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    758 echo "configure:759: checking for $ac_word" >&5 
    759 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    760   echo $ac_n "(cached) $ac_c" 1>&6 
     1657echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1658echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1659if test "${ac_cv_prog_CC+set}" = set; then 
     1660  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7611661else 
    7621662  if test -n "$CC"; then 
    7631663  ac_cv_prog_CC="$CC" # Let the user override the test. 
    7641664else 
    765   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" 
    7661665  ac_prog_rejected=no 
    767   ac_dummy="$PATH" 
    768   for ac_dir in $ac_dummy; do 
    769     test -z "$ac_dir" && ac_dir=. 
    770     if test -f $ac_dir/$ac_word; then 
    771       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 
    772         ac_prog_rejected=yes 
    773         continue 
    774       fi 
    775       ac_cv_prog_CC="cc" 
    776       break 
    777     fi 
    778   done 
    779   IFS="$ac_save_ifs" 
     1666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1667for as_dir in $PATH 
     1668do 
     1669  IFS=$as_save_IFS 
     1670  test -z "$as_dir" && as_dir=. 
     1671  for ac_exec_ext in '' $ac_executable_extensions; do 
     1672  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1673    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     1674       ac_prog_rejected=yes 
     1675       continue 
     1676     fi 
     1677    ac_cv_prog_CC="cc" 
     1678    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1679    break 2 
     1680  fi 
     1681done 
     1682done 
     1683 
    7801684if test $ac_prog_rejected = yes; then 
    7811685  # We found a bogon in the path, so make sure we never use it. 
    7821686  set dummy $ac_cv_prog_CC 
    7831687  shift 
    784   if test $# -gt 0; then 
     1688  if test $# != 0; then 
    7851689    # We chose a different compiler from the bogus one. 
    7861690    # However, it has the same basename, so the bogon will be chosen 
    7871691    # first if we set CC to just the basename; use the full file name. 
    7881692    shift 
    789     set dummy "$ac_dir/$ac_word" "$@" 
    790     shift 
    791     ac_cv_prog_CC="$@" 
     1693    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 
    7921694  fi 
    7931695fi 
    7941696fi 
    7951697fi 
    796 CC="$ac_cv_prog_CC" 
     1698CC=$ac_cv_prog_CC 
    7971699if test -n "$CC"; then 
    798   echo "$ac_t""$CC" 1>&6 
    799 else 
    800   echo "$ac_t""no" 1>&6 
    801 fi 
    802  
    803   if test -z "$CC"; then 
    804     case "`uname -s`" in 
    805     *win32* | *WIN32*) 
    806       # Extract the first word of "cl", so it can be a program name with args. 
    807 set dummy cl; ac_word=$2 
    808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    809 echo "configure:810: checking for $ac_word" >&5 
    810 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    811   echo $ac_n "(cached) $ac_c" 1>&6 
     1700  echo "$as_me:$LINENO: result: $CC" >&5 
     1701echo "${ECHO_T}$CC" >&6 
     1702else 
     1703  echo "$as_me:$LINENO: result: no" >&5 
     1704echo "${ECHO_T}no" >&6 
     1705fi 
     1706 
     1707fi 
     1708if test -z "$CC"; then 
     1709  if test -n "$ac_tool_prefix"; then 
     1710  for ac_prog in cl 
     1711  do 
     1712    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
     1713set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
     1714echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1715echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1716if test "${ac_cv_prog_CC+set}" = set; then 
     1717  echo $ECHO_N "(cached) $ECHO_C" >&6 
    8121718else 
    8131719  if test -n "$CC"; then 
    8141720  ac_cv_prog_CC="$CC" # Let the user override the test. 
    8151721else 
    816   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" 
    817   ac_dummy="$PATH" 
    818   for ac_dir in $ac_dummy; do 
    819     test -z "$ac_dir" && ac_dir=. 
    820     if test -f $ac_dir/$ac_word; then 
    821       ac_cv_prog_CC="cl" 
    822       break 
     1722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1723for as_dir in $PATH 
     1724do 
     1725  IFS=$as_save_IFS 
     1726  test -z "$as_dir" && as_dir=. 
     1727  for ac_exec_ext in '' $ac_executable_extensions; do 
     1728  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1729    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
     1730    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1731    break 2 
     1732  fi 
     1733done 
     1734done 
     1735 
     1736fi 
     1737fi 
     1738CC=$ac_cv_prog_CC 
     1739if test -n "$CC"; then 
     1740  echo "$as_me:$LINENO: result: $CC" >&5 
     1741echo "${ECHO_T}$CC" >&6 
     1742else 
     1743  echo "$as_me:$LINENO: result: no" >&5 
     1744echo "${ECHO_T}no" >&6 
     1745fi 
     1746 
     1747    test -n "$CC" && break 
     1748  done 
     1749fi 
     1750if test -z "$CC"; then 
     1751  ac_ct_CC=$CC 
     1752  for ac_prog in cl 
     1753do 
     1754  # Extract the first word of "$ac_prog", so it can be a program name with args. 
     1755set dummy $ac_prog; ac_word=$2 
     1756echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1758if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     1759  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1760else 
     1761  if test -n "$ac_ct_CC"; then 
     1762  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
     1763else 
     1764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1765for as_dir in $PATH 
     1766do 
     1767  IFS=$as_save_IFS 
     1768  test -z "$as_dir" && as_dir=. 
     1769  for ac_exec_ext in '' $ac_executable_extensions; do 
     1770  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1771    ac_cv_prog_ac_ct_CC="$ac_prog" 
     1772    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1773    break 2 
     1774  fi 
     1775done 
     1776done 
     1777 
     1778fi 
     1779fi 
     1780ac_ct_CC=$ac_cv_prog_ac_ct_CC 
     1781if test -n "$ac_ct_CC"; then 
     1782  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     1783echo "${ECHO_T}$ac_ct_CC" >&6 
     1784else 
     1785  echo "$as_me:$LINENO: result: no" >&5 
     1786echo "${ECHO_T}no" >&6 
     1787fi 
     1788 
     1789  test -n "$ac_ct_CC" && break 
     1790done 
     1791 
     1792  CC=$ac_ct_CC 
     1793fi 
     1794 
     1795fi 
     1796 
     1797 
     1798test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     1799See \`config.log' for more details." >&5 
     1800echo "$as_me: error: no acceptable C compiler found in \$PATH 
     1801See \`config.log' for more details." >&2;} 
     1802   { (exit 1); exit 1; }; } 
     1803 
     1804# Provide some information about the compiler. 
     1805echo "$as_me:$LINENO:" \ 
     1806     "checking for C compiler version" >&5 
     1807ac_compiler=`set X $ac_compile; echo $2` 
     1808{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
     1809  (eval $ac_compiler --version </dev/null >&5) 2>&5 
     1810  ac_status=$? 
     1811  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1812  (exit $ac_status); } 
     1813{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
     1814  (eval $ac_compiler -v </dev/null >&5) 2>&5 
     1815  ac_status=$? 
     1816  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1817  (exit $ac_status); } 
     1818{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
     1819  (eval $ac_compiler -V </dev/null >&5) 2>&5 
     1820  ac_status=$? 
     1821  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1822  (exit $ac_status); } 
     1823 
     1824cat >conftest.$ac_ext <<_ACEOF 
     1825/* confdefs.h.  */ 
     1826_ACEOF 
     1827cat confdefs.h >>conftest.$ac_ext 
     1828cat >>conftest.$ac_ext <<_ACEOF 
     1829/* end confdefs.h.  */ 
     1830 
     1831int 
     1832main () 
     1833{ 
     1834 
     1835  ; 
     1836  return 0; 
     1837} 
     1838_ACEOF 
     1839ac_clean_files_save=$ac_clean_files 
     1840ac_clean_files="$ac_clean_files a.out a.exe b.out" 
     1841# Try to create an executable without -o first, disregard a.out. 
     1842# It will help us diagnose broken compilers, and finding out an intuition 
     1843# of exeext. 
     1844echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 
     1845echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 
     1846ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     1847if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
     1848  (eval $ac_link_default) 2>&5 
     1849  ac_status=$? 
     1850  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1851  (exit $ac_status); }; then 
     1852  # Find the output, starting from the most likely.  This scheme is 
     1853# not robust to junk in `.', hence go to wildcards (a.*) only as a last 
     1854# resort. 
     1855 
     1856# Be careful to initialize this variable, since it used to be cached. 
     1857# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
     1858ac_cv_exeext= 
     1859# b.out is created by i960 compilers. 
     1860for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 
     1861do 
     1862  test -f "$ac_file" || continue 
     1863  case $ac_file in 
     1864    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 
     1865        ;; 
     1866    conftest.$ac_ext ) 
     1867        # This is the source file. 
     1868        ;; 
     1869    [ab].out ) 
     1870        # We found the default executable, but exeext='' is most 
     1871        # certainly right. 
     1872        break;; 
     1873    *.* ) 
     1874        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1875        # FIXME: I believe we export ac_cv_exeext for Libtool, 
     1876        # but it would be cool to find out if it's true.  Does anybody 
     1877        # maintain Libtool? --akim. 
     1878        export ac_cv_exeext 
     1879        break;; 
     1880    * ) 
     1881        break;; 
     1882  esac 
     1883done 
     1884else 
     1885  echo "$as_me: failed program was:" >&5 
     1886sed 's/^/| /' conftest.$ac_ext >&5 
     1887 
     1888{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 
     1889See \`config.log' for more details." >&5 
     1890echo "$as_me: error: C compiler cannot create executables 
     1891See \`config.log' for more details." >&2;} 
     1892   { (exit 77); exit 77; }; } 
     1893fi 
     1894 
     1895ac_exeext=$ac_cv_exeext 
     1896echo "$as_me:$LINENO: result: $ac_file" >&5 
     1897echo "${ECHO_T}$ac_file" >&6 
     1898 
     1899# Check the compiler produces executables we can run.  If not, either 
     1900# the compiler is broken, or we cross compile. 
     1901echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
     1902echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 
     1903# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     1904# If not cross compiling, check that we can run a simple program. 
     1905if test "$cross_compiling" != yes; then 
     1906  if { ac_try='./$ac_file' 
     1907  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1908  (eval $ac_try) 2>&5 
     1909  ac_status=$? 
     1910  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1911  (exit $ac_status); }; }; then 
     1912    cross_compiling=no 
     1913  else 
     1914    if test "$cross_compiling" = maybe; then 
     1915        cross_compiling=yes 
     1916    else 
     1917        { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     1918If you meant to cross compile, use \`--host'. 
     1919See \`config.log' for more details." >&5 
     1920echo "$as_me: error: cannot run C compiled programs. 
     1921If you meant to cross compile, use \`--host'. 
     1922See \`config.log' for more details." >&2;} 
     1923   { (exit 1); exit 1; }; } 
    8231924    fi 
    824   done 
    825   IFS="$ac_save_ifs" 
    826 fi 
    827 fi 
    828 CC="$ac_cv_prog_CC" 
    829 if test -n "$CC"; then 
    830   echo "$ac_t""$CC" 1>&6 
    831 else 
    832   echo "$ac_t""no" 1>&6 
    833 fi 
    834  ;; 
    835     esac 
    8361925  fi 
    837   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 
    838 fi 
    839  
    840 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    841 echo "configure:842: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
    842  
    843 ac_ext=c 
    844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    845 ac_cpp='$CPP $CPPFLAGS' 
    846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    848 cross_compiling=$ac_cv_prog_cc_cross 
    849  
    850 cat > conftest.$ac_ext << EOF 
    851  
    852 #line 853 "configure" 
    853 #include "confdefs.h" 
    854  
    855 main(){return(0);} 
    856 EOF 
    857 if { (eval echo configure:858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    858   ac_cv_prog_cc_works=yes 
    859   # If we can't run a trivial program, we are probably using a cross compiler. 
    860   if (./conftest; exit) 2>/dev/null; then 
    861     ac_cv_prog_cc_cross=no 
    862   else 
    863     ac_cv_prog_cc_cross=yes 
    864   fi 
    865 else 
    866   echo "configure: failed program was:" >&5 
    867   cat conftest.$ac_ext >&5 
    868   ac_cv_prog_cc_works=no 
    869 fi 
    870 rm -fr conftest* 
    871 ac_ext=c 
    872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    873 ac_cpp='$CPP $CPPFLAGS' 
    874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    876 cross_compiling=$ac_cv_prog_cc_cross 
    877  
    878 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 
    879 if test $ac_cv_prog_cc_works = no; then 
    880   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 
    881 fi 
    882 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    883 echo "configure:884: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
    884 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 
    885 cross_compiling=$ac_cv_prog_cc_cross 
    886  
    887 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 
    888 echo "configure:889: checking whether we are using GNU C" >&5 
    889 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 
    890   echo $ac_n "(cached) $ac_c" 1>&6 
    891 else 
    892   cat > conftest.c <<EOF 
    893 #ifdef __GNUC__ 
    894   yes; 
     1926fi 
     1927echo "$as_me:$LINENO: result: yes" >&5 
     1928echo "${ECHO_T}yes" >&6 
     1929 
     1930rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     1931ac_clean_files=$ac_clean_files_save 
     1932# Check the compiler produces executables we can run.  If not, either 
     1933# the compiler is broken, or we cross compile. 
     1934echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     1935echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
     1936echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     1937echo "${ECHO_T}$cross_compiling" >&6 
     1938 
     1939echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     1940echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
     1941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     1942  (eval $ac_link) 2>&5 
     1943  ac_status=$? 
     1944  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1945  (exit $ac_status); }; then 
     1946  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
     1947# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     1948# work properly (i.e., refer to `conftest.exe'), while it won't with 
     1949# `rm'. 
     1950for ac_file in conftest.exe conftest conftest.*; do 
     1951  test -f "$ac_file" || continue 
     1952  case $ac_file in 
     1953    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 
     1954    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1955          export ac_cv_exeext 
     1956          break;; 
     1957    * ) break;; 
     1958  esac 
     1959done 
     1960else 
     1961  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     1962See \`config.log' for more details." >&5 
     1963echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     1964See \`config.log' for more details." >&2;} 
     1965   { (exit 1); exit 1; }; } 
     1966fi 
     1967 
     1968rm -f conftest$ac_cv_exeext 
     1969echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     1970echo "${ECHO_T}$ac_cv_exeext" >&6 
     1971 
     1972rm -f conftest.$ac_ext 
     1973EXEEXT=$ac_cv_exeext 
     1974ac_exeext=$EXEEXT 
     1975echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     1976echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
     1977if test "${ac_cv_objext+set}" = set; then 
     1978  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1979else 
     1980  cat >conftest.$ac_ext <<_ACEOF 
     1981/* confdefs.h.  */ 
     1982_ACEOF 
     1983cat confdefs.h >>conftest.$ac_ext 
     1984cat >>conftest.$ac_ext <<_ACEOF 
     1985/* end confdefs.h.  */ 
     1986 
     1987int 
     1988main () 
     1989{ 
     1990 
     1991  ; 
     1992  return 0; 
     1993} 
     1994_ACEOF 
     1995rm -f conftest.o conftest.obj 
     1996if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1997  (eval $ac_compile) 2>&5 
     1998  ac_status=$? 
     1999  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2000  (exit $ac_status); }; then 
     2001  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
     2002  case $ac_file in 
     2003    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 
     2004    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
     2005       break;; 
     2006  esac 
     2007done 
     2008else 
     2009  echo "$as_me: failed program was:" >&5 
     2010sed 's/^/| /' conftest.$ac_ext >&5 
     2011 
     2012{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     2013See \`config.log' for more details." >&5 
     2014echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     2015See \`config.log' for more details." >&2;} 
     2016   { (exit 1); exit 1; }; } 
     2017fi 
     2018 
     2019rm -f conftest.$ac_cv_objext conftest.$ac_ext 
     2020fi 
     2021echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     2022echo "${ECHO_T}$ac_cv_objext" >&6 
     2023OBJEXT=$ac_cv_objext 
     2024ac_objext=$OBJEXT 
     2025echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     2026echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
     2027if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     2028  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2029else 
     2030  cat >conftest.$ac_ext <<_ACEOF 
     2031/* confdefs.h.  */ 
     2032_ACEOF 
     2033cat confdefs.h >>conftest.$ac_ext 
     2034cat >>conftest.$ac_ext <<_ACEOF 
     2035/* end confdefs.h.  */ 
     2036 
     2037int 
     2038main () 
     2039{ 
     2040#ifndef __GNUC__ 
     2041       choke me 
    8952042#endif 
    896 EOF 
    897 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
    898   ac_cv_prog_gcc=yes 
    899 else 
    900   ac_cv_prog_gcc=no 
    901 fi 
    902 fi 
    903  
    904 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 
    905  
    906 if test $ac_cv_prog_gcc = yes; then 
    907   GCC=yes 
    908 else 
    909   GCC= 
    910 fi 
    911  
    912 ac_test_CFLAGS="${CFLAGS+set}" 
    913 ac_save_CFLAGS="$CFLAGS" 
    914 CFLAGS= 
    915 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 
    916 echo "configure:917: checking whether ${CC-cc} accepts -g" >&5 
    917 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 
    918   echo $ac_n "(cached) $ac_c" 1>&6 
    919 else 
    920   echo 'void f(){}' > conftest.c 
    921 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 
     2043 
     2044  ; 
     2045  return 0; 
     2046} 
     2047_ACEOF 
     2048rm -f conftest.$ac_objext 
     2049if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2050  (eval $ac_compile) 2>conftest.er1 
     2051  ac_status=$? 
     2052  grep -v '^ *+' conftest.er1 >conftest.err 
     2053  rm -f conftest.er1 
     2054  cat conftest.err >&5 
     2055  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2056  (exit $ac_status); } && 
     2057         { ac_try='test -z "$ac_c_werror_flag" 
     2058                         || test ! -s conftest.err' 
     2059  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2060  (eval $ac_try) 2>&5 
     2061  ac_status=$? 
     2062  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2063  (exit $ac_status); }; } && 
     2064         { ac_try='test -s conftest.$ac_objext' 
     2065  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2066  (eval $ac_try) 2>&5 
     2067  ac_status=$? 
     2068  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2069  (exit $ac_status); }; }; then 
     2070  ac_compiler_gnu=yes 
     2071else 
     2072  echo "$as_me: failed program was:" >&5 
     2073sed 's/^/| /' conftest.$ac_ext >&5 
     2074 
     2075ac_compiler_gnu=no 
     2076fi 
     2077rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2078ac_cv_c_compiler_gnu=$ac_compiler_gnu 
     2079 
     2080fi 
     2081echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     2082echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
     2083GCC=`test $ac_compiler_gnu = yes && echo yes` 
     2084ac_test_CFLAGS=${CFLAGS+set} 
     2085ac_save_CFLAGS=$CFLAGS 
     2086CFLAGS="-g" 
     2087echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     2088echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
     2089if test "${ac_cv_prog_cc_g+set}" = set; then 
     2090  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2091else 
     2092  cat >conftest.$ac_ext <<_ACEOF 
     2093/* confdefs.h.  */ 
     2094_ACEOF 
     2095cat confdefs.h >>conftest.$ac_ext 
     2096cat >>conftest.$ac_ext <<_ACEOF 
     2097/* end confdefs.h.  */ 
     2098 
     2099int 
     2100main () 
     2101{ 
     2102 
     2103  ; 
     2104  return 0; 
     2105} 
     2106_ACEOF 
     2107rm -f conftest.$ac_objext 
     2108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2109  (eval $ac_compile) 2>conftest.er1 
     2110  ac_status=$? 
     2111  grep -v '^ *+' conftest.er1 >conftest.err 
     2112  rm -f conftest.er1 
     2113  cat conftest.err >&5 
     2114  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2115  (exit $ac_status); } && 
     2116         { ac_try='test -z "$ac_c_werror_flag" 
     2117                         || test ! -s conftest.err' 
     2118  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2119  (eval $ac_try) 2>&5 
     2120  ac_status=$? 
     2121  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2122  (exit $ac_status); }; } && 
     2123         { ac_try='test -s conftest.$ac_objext' 
     2124  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2125  (eval $ac_try) 2>&5 
     2126  ac_status=$? 
     2127  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2128  (exit $ac_status); }; }; then 
    9222129  ac_cv_prog_cc_g=yes 
    9232130else 
    924   ac_cv_prog_cc_g=no 
    925 fi 
    926 rm -f conftest* 
    927  
    928 fi 
    929  
    930 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 
     2131  echo "$as_me: failed program was:" >&5 
     2132sed 's/^/| /' conftest.$ac_ext >&5 
     2133 
     2134ac_cv_prog_cc_g=no 
     2135fi 
     2136rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2137fi 
     2138echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     2139echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
    9312140if test "$ac_test_CFLAGS" = set; then 
    932   CFLAGS="$ac_save_CFLAGS" 
     2141  CFLAGS=$ac_save_CFLAGS 
    9332142elif test $ac_cv_prog_cc_g = yes; then 
    9342143  if test "$GCC" = yes; then 
     
    9442153  fi 
    9452154fi 
    946  
    947 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 
     2155echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
     2156echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
     2157if test "${ac_cv_prog_cc_stdc+set}" = set; then 
     2158  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2159else 
     2160  ac_cv_prog_cc_stdc=no 
     2161ac_save_CC=$CC 
     2162cat >conftest.$ac_ext <<_ACEOF 
     2163/* confdefs.h.  */ 
     2164_ACEOF 
     2165cat confdefs.h >>conftest.$ac_ext 
     2166cat >>conftest.$ac_ext <<_ACEOF 
     2167/* end confdefs.h.  */ 
     2168#include <stdarg.h> 
     2169#include <stdio.h> 
     2170#include <sys/types.h> 
     2171#include <sys/stat.h> 
     2172/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
     2173struct buf { int x; }; 
     2174FILE * (*rcsopen) (struct buf *, struct stat *, int); 
     2175static char *e (p, i) 
     2176     char **p; 
     2177     int i; 
     2178{ 
     2179  return p[i]; 
     2180} 
     2181static char *f (char * (*g) (char **, int), char **p, ...) 
     2182{ 
     2183  char *s; 
     2184  va_list v; 
     2185  va_start (v,p); 
     2186  s = g (p, va_arg (v,int)); 
     2187  va_end (v); 
     2188  return s; 
     2189} 
     2190 
     2191/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has 
     2192   function prototypes and stuff, but not '\xHH' hex character constants. 
     2193   These don't provoke an error unfortunately, instead are silently treated 
     2194   as 'x'.  The following induces an error, until -std1 is added to get 
     2195   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an 
     2196   array size at least.  It's necessary to write '\x00'==0 to get something 
     2197   that's true only with -std1.  */ 
     2198int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 
     2199 
     2200int test (int i, double x); 
     2201struct s1 {int (*f) (int a);}; 
     2202struct s2 {int (*f) (double a);}; 
     2203int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
     2204int argc; 
     2205char **argv; 
     2206int 
     2207main () 
     2208{ 
     2209return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
     2210  ; 
     2211  return 0; 
     2212} 
     2213_ACEOF 
     2214# Don't try gcc -ansi; that turns off useful extensions and 
     2215# breaks some systems' header files. 
     2216# AIX                   -qlanglvl=ansi 
     2217# Ultrix and OSF/1      -std1 
     2218# HP-UX 10.20 and later -Ae 
     2219# HP-UX older versions  -Aa -D_HPUX_SOURCE 
     2220# SVR4                  -Xc -D__EXTENSIONS__ 
     2221for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
    9482222do 
    949 # Extract the first word of "$ac_prog", so it can be a program name with args. 
    950 set dummy $ac_prog; ac_word=$2 
    951 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    952 echo "configure:953: checking for $ac_word" >&5 
    953 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 
    954   echo $ac_n "(cached) $ac_c" 1>&6 
     2223  CC="$ac_save_CC $ac_arg" 
     2224  rm -f conftest.$ac_objext 
     2225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2226  (eval $ac_compile) 2>conftest.er1 
     2227  ac_status=$? 
     2228  grep -v '^ *+' conftest.er1 >conftest.err 
     2229  rm -f conftest.er1 
     2230  cat conftest.err >&5 
     2231  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2232  (exit $ac_status); } && 
     2233         { ac_try='test -z "$ac_c_werror_flag" 
     2234                         || test ! -s conftest.err' 
     2235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2236  (eval $ac_try) 2>&5 
     2237  ac_status=$? 
     2238  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2239  (exit $ac_status); }; } && 
     2240         { ac_try='test -s conftest.$ac_objext' 
     2241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2242  (eval $ac_try) 2>&5 
     2243  ac_status=$? 
     2244  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2245  (exit $ac_status); }; }; then 
     2246  ac_cv_prog_cc_stdc=$ac_arg 
     2247break 
     2248else 
     2249  echo "$as_me: failed program was:" >&5 
     2250sed 's/^/| /' conftest.$ac_ext >&5 
     2251 
     2252fi 
     2253rm -f conftest.err conftest.$ac_objext 
     2254done 
     2255rm -f conftest.$ac_ext conftest.$ac_objext 
     2256CC=$ac_save_CC 
     2257 
     2258fi 
     2259 
     2260case "x$ac_cv_prog_cc_stdc" in 
     2261  x|xno) 
     2262    echo "$as_me:$LINENO: result: none needed" >&5 
     2263echo "${ECHO_T}none needed" >&6 ;; 
     2264  *) 
     2265    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
     2266echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
     2267    CC="$CC $ac_cv_prog_cc_stdc" ;; 
     2268esac 
     2269 
     2270# Some people use a C++ compiler to compile C.  Since we use `exit', 
     2271# in C++ we need to declare it.  In case someone uses the same compiler 
     2272# for both compiling C and C++ we need to have the C++ compiler decide 
     2273# the declaration of exit, since it's the most demanding environment. 
     2274cat >conftest.$ac_ext <<_ACEOF 
     2275#ifndef __cplusplus 
     2276  choke me 
     2277#endif 
     2278_ACEOF 
     2279rm -f conftest.$ac_objext 
     2280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2281  (eval $ac_compile) 2>conftest.er1 
     2282  ac_status=$? 
     2283  grep -v '^ *+' conftest.er1 >conftest.err 
     2284  rm -f conftest.er1 
     2285  cat conftest.err >&5 
     2286  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2287  (exit $ac_status); } && 
     2288         { ac_try='test -z "$ac_c_werror_flag" 
     2289                         || test ! -s conftest.err' 
     2290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2291  (eval $ac_try) 2>&5 
     2292  ac_status=$? 
     2293  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2294  (exit $ac_status); }; } && 
     2295         { ac_try='test -s conftest.$ac_objext' 
     2296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2297  (eval $ac_try) 2>&5 
     2298  ac_status=$? 
     2299  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2300  (exit $ac_status); }; }; then 
     2301  for ac_declaration in \ 
     2302   '' \ 
     2303   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
     2304   'extern "C" void std::exit (int); using std::exit;' \ 
     2305   'extern "C" void exit (int) throw ();' \ 
     2306   'extern "C" void exit (int);' \ 
     2307   'void exit (int);' 
     2308do 
     2309  cat >conftest.$ac_ext <<_ACEOF 
     2310/* confdefs.h.  */ 
     2311_ACEOF 
     2312cat confdefs.h >>conftest.$ac_ext 
     2313cat >>conftest.$ac_ext <<_ACEOF 
     2314/* end confdefs.h.  */ 
     2315$ac_declaration 
     2316#include <stdlib.h> 
     2317int 
     2318main () 
     2319{ 
     2320exit (42); 
     2321  ; 
     2322  return 0; 
     2323} 
     2324_ACEOF 
     2325rm -f conftest.$ac_objext 
     2326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2327  (eval $ac_compile) 2>conftest.er1 
     2328  ac_status=$? 
     2329  grep -v '^ *+' conftest.er1 >conftest.err 
     2330  rm -f conftest.er1 
     2331  cat conftest.err >&5 
     2332  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2333  (exit $ac_status); } && 
     2334         { ac_try='test -z "$ac_c_werror_flag" 
     2335                         || test ! -s conftest.err' 
     2336  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2337  (eval $ac_try) 2>&5 
     2338  ac_status=$? 
     2339  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2340  (exit $ac_status); }; } && 
     2341         { ac_try='test -s conftest.$ac_objext' 
     2342  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2343  (eval $ac_try) 2>&5 
     2344  ac_status=$? 
     2345  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2346  (exit $ac_status); }; }; then 
     2347  : 
     2348else 
     2349  echo "$as_me: failed program was:" >&5 
     2350sed 's/^/| /' conftest.$ac_ext >&5 
     2351 
     2352continue 
     2353fi 
     2354rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2355  cat >conftest.$ac_ext <<_ACEOF 
     2356/* confdefs.h.  */ 
     2357_ACEOF 
     2358cat confdefs.h >>conftest.$ac_ext 
     2359cat >>conftest.$ac_ext <<_ACEOF 
     2360/* end confdefs.h.  */ 
     2361$ac_declaration 
     2362int 
     2363main () 
     2364{ 
     2365exit (42); 
     2366  ; 
     2367  return 0; 
     2368} 
     2369_ACEOF 
     2370rm -f conftest.$ac_objext 
     2371if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2372  (eval $ac_compile) 2>conftest.er1 
     2373  ac_status=$? 
     2374  grep -v '^ *+' conftest.er1 >conftest.err 
     2375  rm -f conftest.er1 
     2376  cat conftest.err >&5 
     2377  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2378  (exit $ac_status); } && 
     2379         { ac_try='test -z "$ac_c_werror_flag" 
     2380                         || test ! -s conftest.err' 
     2381  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2382  (eval $ac_try) 2>&5 
     2383  ac_status=$? 
     2384  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2385  (exit $ac_status); }; } && 
     2386         { ac_try='test -s conftest.$ac_objext' 
     2387  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2388  (eval $ac_try) 2>&5 
     2389  ac_status=$? 
     2390  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2391  (exit $ac_status); }; }; then 
     2392  break 
     2393else 
     2394  echo "$as_me: failed program was:" >&5 
     2395sed 's/^/| /' conftest.$ac_ext >&5 
     2396 
     2397fi 
     2398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2399done 
     2400rm -f conftest* 
     2401if test -n "$ac_declaration"; then 
     2402  echo '#ifdef __cplusplus' >>confdefs.h 
     2403  echo $ac_declaration      >>confdefs.h 
     2404  echo '#endif'             >>confdefs.h 
     2405fi 
     2406 
     2407else 
     2408  echo "$as_me: failed program was:" >&5 
     2409sed 's/^/| /' conftest.$ac_ext >&5 
     2410 
     2411fi 
     2412rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2413ac_ext=c 
     2414ac_cpp='$CPP $CPPFLAGS' 
     2415ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2416ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2417ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     2418 
     2419ac_ext=cc 
     2420ac_cpp='$CXXCPP $CPPFLAGS' 
     2421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 
     2424if test -n "$ac_tool_prefix"; then 
     2425  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 
     2426  do 
     2427    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
     2428set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
     2429echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2430echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2431if test "${ac_cv_prog_CXX+set}" = set; then 
     2432  echo $ECHO_N "(cached) $ECHO_C" >&6 
    9552433else 
    9562434  if test -n "$CXX"; then 
    9572435  ac_cv_prog_CXX="$CXX" # Let the user override the test. 
    9582436else 
    959   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" 
    960   ac_dummy="$PATH" 
    961   for ac_dir in $ac_dummy; do 
    962     test -z "$ac_dir" && ac_dir=. 
    963     if test -f $ac_dir/$ac_word; then 
    964       ac_cv_prog_CXX="$ac_prog" 
    965       break 
    966     fi 
     2437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2438for as_dir in $PATH 
     2439do 
     2440  IFS=$as_save_IFS 
     2441  test -z "$as_dir" && as_dir=. 
     2442  for ac_exec_ext in '' $ac_executable_extensions; do 
     2443  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2444    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
     2445    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2446    break 2 
     2447  fi 
     2448done 
     2449done 
     2450 
     2451fi 
     2452fi 
     2453CXX=$ac_cv_prog_CXX 
     2454if test -n "$CXX"; then 
     2455  echo "$as_me:$LINENO: result: $CXX" >&5 
     2456echo "${ECHO_T}$CXX" >&6 
     2457else 
     2458  echo "$as_me:$LINENO: result: no" >&5 
     2459echo "${ECHO_T}no" >&6 
     2460fi 
     2461 
     2462    test -n "$CXX" && break 
    9672463  done 
    968   IFS="$ac_save_ifs" 
    969 fi 
    970 fi 
    971 CXX="$ac_cv_prog_CXX" 
    972 if test -n "$CXX"; then 
    973   echo "$ac_t""$CXX" 1>&6 
    974 else 
    975   echo "$ac_t""no" 1>&6 
    976 fi 
    977  
    978 test -n "$CXX" && break 
     2464fi 
     2465if test -z "$CXX"; then 
     2466  ac_ct_CXX=$CXX 
     2467  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 
     2468do 
     2469  # Extract the first word of "$ac_prog", so it can be a program name with args. 
     2470set dummy $ac_prog; ac_word=$2 
     2471echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2472echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2473if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     2474  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2475else 
     2476  if test -n "$ac_ct_CXX"; then 
     2477  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
     2478else 
     2479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2480for as_dir in $PATH 
     2481do 
     2482  IFS=$as_save_IFS 
     2483  test -z "$as_dir" && as_dir=. 
     2484  for ac_exec_ext in '' $ac_executable_extensions; do 
     2485  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2486    ac_cv_prog_ac_ct_CXX="$ac_prog" 
     2487    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2488    break 2 
     2489  fi 
    9792490done 
    980 test -n "$CXX" || CXX="gcc" 
    981  
    982  
    983 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    984 echo "configure:985: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 
    985  
    986 ac_ext=C 
    987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    988 ac_cpp='$CXXCPP $CPPFLAGS' 
    989 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    990 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    991 cross_compiling=$ac_cv_prog_cxx_cross 
    992  
    993 cat > conftest.$ac_ext << EOF 
    994  
    995 #line 996 "configure" 
    996 #include "confdefs.h" 
    997  
    998 int main(){return(0);} 
    999 EOF 
    1000 if { (eval echo configure:1001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    1001   ac_cv_prog_cxx_works=yes 
    1002   # If we can't run a trivial program, we are probably using a cross compiler. 
    1003   if (./conftest; exit) 2>/dev/null; then 
    1004     ac_cv_prog_cxx_cross=no 
    1005   else 
    1006     ac_cv_prog_cxx_cross=yes 
    1007   fi 
    1008 else 
    1009   echo "configure: failed program was:" >&5 
    1010   cat conftest.$ac_ext >&5 
    1011   ac_cv_prog_cxx_works=no 
    1012 fi 
    1013 rm -fr conftest* 
    1014 ac_ext=c 
    1015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    1016 ac_cpp='$CPP $CPPFLAGS' 
    1017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    1018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    1019 cross_compiling=$ac_cv_prog_cc_cross 
    1020  
    1021 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 
    1022 if test $ac_cv_prog_cxx_works = no; then 
    1023   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 
    1024 fi 
    1025 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    1026 echo "configure:1027: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 
    1027 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 
    1028 cross_compiling=$ac_cv_prog_cxx_cross 
    1029  
    1030 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 
    1031 echo "configure:1032: checking whether we are using GNU C++" >&5 
    1032 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 
    1033   echo $ac_n "(cached) $ac_c" 1>&6 
    1034 else 
    1035   cat > conftest.C <<EOF 
    1036 #ifdef __GNUC__ 
    1037   yes; 
     2491done 
     2492 
     2493fi 
     2494fi 
     2495ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
     2496if test -n "$ac_ct_CXX"; then 
     2497  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     2498echo "${ECHO_T}$ac_ct_CXX" >&6 
     2499else 
     2500  echo "$as_me:$LINENO: result: no" >&5 
     2501echo "${ECHO_T}no" >&6 
     2502fi 
     2503 
     2504  test -n "$ac_ct_CXX" && break 
     2505done 
     2506test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 
     2507 
     2508  CXX=$ac_ct_CXX 
     2509fi 
     2510 
     2511 
     2512# Provide some information about the compiler. 
     2513echo "$as_me:$LINENO:" \ 
     2514     "checking for C++ compiler version" >&5 
     2515ac_compiler=`set X $ac_compile; echo $2` 
     2516{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
     2517  (eval $ac_compiler --version </dev/null >&5) 2>&5 
     2518  ac_status=$? 
     2519  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2520  (exit $ac_status); } 
     2521{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
     2522  (eval $ac_compiler -v </dev/null >&5) 2>&5 
     2523  ac_status=$? 
     2524  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2525  (exit $ac_status); } 
     2526{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
     2527  (eval $ac_compiler -V </dev/null >&5) 2>&5 
     2528  ac_status=$? 
     2529  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2530  (exit $ac_status); } 
     2531 
     2532echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     2533echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 
     2534if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     2535  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2536else 
     2537  cat >conftest.$ac_ext <<_ACEOF 
     2538/* confdefs.h.  */ 
     2539_ACEOF 
     2540cat confdefs.h >>conftest.$ac_ext 
     2541cat >>conftest.$ac_ext <<_ACEOF 
     2542/* end confdefs.h.  */ 
     2543 
     2544int 
     2545main () 
     2546{ 
     2547#ifndef __GNUC__ 
     2548       choke me 
    10382549#endif 
    1039 EOF 
    1040 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
    1041   ac_cv_prog_gxx=yes 
    1042 else 
    1043   ac_cv_prog_gxx=no 
    1044 fi 
    1045 fi 
    1046  
    1047 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 
    1048  
    1049 if test $ac_cv_prog_gxx = yes; then 
    1050   GXX=yes 
    1051 else 
    1052   GXX= 
    1053 fi 
    1054  
    1055 ac_test_CXXFLAGS="${CXXFLAGS+set}" 
    1056 ac_save_CXXFLAGS="$CXXFLAGS" 
    1057 CXXFLAGS= 
    1058 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 
    1059 echo "configure:1060: checking whether ${CXX-g++} accepts -g" >&5 
    1060 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 
    1061   echo $ac_n "(cached) $ac_c" 1>&6 
    1062 else 
    1063   echo 'void f(){}' > conftest.cc 
    1064 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 
     2550 
     2551  ; 
     2552  return 0; 
     2553} 
     2554_ACEOF 
     2555rm -f conftest.$ac_objext 
     2556if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2557  (eval $ac_compile) 2>conftest.er1 
     2558  ac_status=$? 
     2559  grep -v '^ *+' conftest.er1 >conftest.err 
     2560  rm -f conftest.er1 
     2561  cat conftest.err >&5 
     2562  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2563  (exit $ac_status); } && 
     2564         { ac_try='test -z "$ac_cxx_werror_flag" 
     2565                         || test ! -s conftest.err' 
     2566  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2567  (eval $ac_try) 2>&5 
     2568  ac_status=$? 
     2569  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2570  (exit $ac_status); }; } && 
     2571         { ac_try='test -s conftest.$ac_objext' 
     2572  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2573  (eval $ac_try) 2>&5 
     2574  ac_status=$? 
     2575  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2576  (exit $ac_status); }; }; then 
     2577  ac_compiler_gnu=yes 
     2578else 
     2579  echo "$as_me: failed program was:" >&5 
     2580sed 's/^/| /' conftest.$ac_ext >&5 
     2581 
     2582ac_compiler_gnu=no 
     2583fi 
     2584rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2585ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
     2586 
     2587fi 
     2588echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     2589echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 
     2590GXX=`test $ac_compiler_gnu = yes && echo yes` 
     2591ac_test_CXXFLAGS=${CXXFLAGS+set} 
     2592ac_save_CXXFLAGS=$CXXFLAGS 
     2593CXXFLAGS="-g" 
     2594echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     2595echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 
     2596if test "${ac_cv_prog_cxx_g+set}" = set; then 
     2597  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2598else 
     2599  cat >conftest.$ac_ext <<_ACEOF 
     2600/* confdefs.h.  */ 
     2601_ACEOF 
     2602cat confdefs.h >>conftest.$ac_ext 
     2603cat >>conftest.$ac_ext <<_ACEOF 
     2604/* end confdefs.h.  */ 
     2605 
     2606int 
     2607main () 
     2608{ 
     2609 
     2610  ; 
     2611  return 0; 
     2612} 
     2613_ACEOF 
     2614rm -f conftest.$ac_objext 
     2615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2616  (eval $ac_compile) 2>conftest.er1 
     2617  ac_status=$? 
     2618  grep -v '^ *+' conftest.er1 >conftest.err 
     2619  rm -f conftest.er1 
     2620  cat conftest.err >&5 
     2621  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2622  (exit $ac_status); } && 
     2623         { ac_try='test -z "$ac_cxx_werror_flag" 
     2624                         || test ! -s conftest.err' 
     2625  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2626  (eval $ac_try) 2>&5 
     2627  ac_status=$? 
     2628  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2629  (exit $ac_status); }; } && 
     2630         { ac_try='test -s conftest.$ac_objext' 
     2631  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2632  (eval $ac_try) 2>&5 
     2633  ac_status=$? 
     2634  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2635  (exit $ac_status); }; }; then 
    10652636  ac_cv_prog_cxx_g=yes 
    10662637else 
    1067   ac_cv_prog_cxx_g=no 
    1068 fi 
    1069 rm -f conftest* 
    1070  
    1071 fi 
    1072  
    1073 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 
     2638  echo "$as_me: failed program was:" >&5 
     2639sed 's/^/| /' conftest.$ac_ext >&5 
     2640 
     2641ac_cv_prog_cxx_g=no 
     2642fi 
     2643rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2644fi 
     2645echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     2646echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 
    10742647if test "$ac_test_CXXFLAGS" = set; then 
    1075   CXXFLAGS="$ac_save_CXXFLAGS" 
     2648  CXXFLAGS=$ac_save_CXXFLAGS 
    10762649elif test $ac_cv_prog_cxx_g = yes; then 
    10772650  if test "$GXX" = yes; then 
     
    10872660  fi 
    10882661fi 
    1089  
    1090 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 
    1091 echo "configure:1092: checking how to run the C preprocessor" >&5 
     2662for ac_declaration in \ 
     2663   '' \ 
     2664   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
     2665   'extern "C" void std::exit (int); using std::exit;' \ 
     2666   'extern "C" void exit (int) throw ();' \ 
     2667   'extern "C" void exit (int);' \ 
     2668   'void exit (int);' 
     2669do 
     2670  cat >conftest.$ac_ext <<_ACEOF 
     2671/* confdefs.h.  */ 
     2672_ACEOF 
     2673cat confdefs.h >>conftest.$ac_ext 
     2674cat >>conftest.$ac_ext <<_ACEOF 
     2675/* end confdefs.h.  */ 
     2676$ac_declaration 
     2677#include <stdlib.h> 
     2678int 
     2679main () 
     2680{ 
     2681exit (42); 
     2682  ; 
     2683  return 0; 
     2684} 
     2685_ACEOF 
     2686rm -f conftest.$ac_objext 
     2687if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2688  (eval $ac_compile) 2>conftest.er1 
     2689  ac_status=$? 
     2690  grep -v '^ *+' conftest.er1 >conftest.err 
     2691  rm -f conftest.er1 
     2692  cat conftest.err >&5 
     2693  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2694  (exit $ac_status); } && 
     2695         { ac_try='test -z "$ac_cxx_werror_flag" 
     2696                         || test ! -s conftest.err' 
     2697  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2698  (eval $ac_try) 2>&5 
     2699  ac_status=$? 
     2700  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2701  (exit $ac_status); }; } && 
     2702         { ac_try='test -s conftest.$ac_objext' 
     2703  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2704  (eval $ac_try) 2>&5 
     2705  ac_status=$? 
     2706  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2707  (exit $ac_status); }; }; then 
     2708  : 
     2709else 
     2710  echo "$as_me: failed program was:" >&5 
     2711sed 's/^/| /' conftest.$ac_ext >&5 
     2712 
     2713continue 
     2714fi 
     2715rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2716  cat >conftest.$ac_ext <<_ACEOF 
     2717/* confdefs.h.  */ 
     2718_ACEOF 
     2719cat confdefs.h >>conftest.$ac_ext 
     2720cat >>conftest.$ac_ext <<_ACEOF 
     2721/* end confdefs.h.  */ 
     2722$ac_declaration 
     2723int 
     2724main () 
     2725{ 
     2726exit (42); 
     2727  ; 
     2728  return 0; 
     2729} 
     2730_ACEOF 
     2731rm -f conftest.$ac_objext 
     2732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2733  (eval $ac_compile) 2>conftest.er1 
     2734  ac_status=$? 
     2735  grep -v '^ *+' conftest.er1 >conftest.err 
     2736  rm -f conftest.er1 
     2737  cat conftest.err >&5 
     2738  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2739  (exit $ac_status); } && 
     2740         { ac_try='test -z "$ac_cxx_werror_flag" 
     2741                         || test ! -s conftest.err' 
     2742  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2743  (eval $ac_try) 2>&5 
     2744  ac_status=$? 
     2745  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2746  (exit $ac_status); }; } && 
     2747         { ac_try='test -s conftest.$ac_objext' 
     2748  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2749  (eval $ac_try) 2>&5 
     2750  ac_status=$? 
     2751  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2752  (exit $ac_status); }; }; then 
     2753  break 
     2754else 
     2755  echo "$as_me: failed program was:" >&5 
     2756sed 's/^/| /' conftest.$ac_ext >&5 
     2757 
     2758fi 
     2759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2760done 
     2761rm -f conftest* 
     2762if test -n "$ac_declaration"; then 
     2763  echo '#ifdef __cplusplus' >>confdefs.h 
     2764  echo $ac_declaration      >>confdefs.h 
     2765  echo '#endif'             >>confdefs.h 
     2766fi 
     2767 
     2768ac_ext=c 
     2769ac_cpp='$CPP $CPPFLAGS' 
     2770ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2771ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2772ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     2773 
     2774 
     2775ac_ext=c 
     2776ac_cpp='$CPP $CPPFLAGS' 
     2777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2779ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     2780echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     2781echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
    10922782# On Suns, sometimes $CPP names a directory. 
    10932783if test -n "$CPP" && test -d "$CPP"; then 
     
    10952785fi 
    10962786if test -z "$CPP"; then 
    1097 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 
    1098   echo $ac_n "(cached) $ac_c" 1>&6 
    1099 else 
    1100     # This must be in double quotes, not single quotes, because CPP may get 
    1101   # substituted into the Makefile and "${CC-cc}" will confuse make. 
    1102   CPP="${CC-cc} -E" 
     2787  if test "${ac_cv_prog_CPP+set}" = set; then 
     2788  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2789else 
     2790      # Double quotes because CPP needs to be expanded 
     2791    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
     2792    do 
     2793      ac_preproc_ok=false 
     2794for ac_c_preproc_warn_flag in '' yes 
     2795do 
     2796  # Use a header file that comes with gcc, so configuring glibc 
     2797  # with a fresh cross-compiler works. 
     2798  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     2799  # <limits.h> exists even on freestanding compilers. 
    11032800  # On the NeXT, cc -E runs the code through the compiler's parser, 
    1104   # not just through cpp. 
    1105   cat > conftest.$ac_ext <<EOF 
    1106 #line 1107 "configure" 
    1107 #include "confdefs.h" 
    1108 #include <assert.h> 
    1109 Syntax Error 
    1110 EOF 
    1111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1112 { (eval echo configure:1113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    1114 if test -z "$ac_err"; then 
     2801  # not just through cpp. "Syntax error" is here to catch this case. 
     2802  cat >conftest.$ac_ext <<_ACEOF 
     2803/* confdefs.h.  */ 
     2804_ACEOF 
     2805cat confdefs.h >>conftest.$ac_ext 
     2806cat >>conftest.$ac_ext <<_ACEOF 
     2807/* end confdefs.h.  */ 
     2808#ifdef __STDC__ 
     2809# include <limits.h> 
     2810#else 
     2811# include <assert.h> 
     2812#endif 
     2813                     Syntax error 
     2814_ACEOF 
     2815if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2816  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2817  ac_status=$? 
     2818  grep -v '^ *+' conftest.er1 >conftest.err 
     2819  rm -f conftest.er1 
     2820  cat conftest.err >&5 
     2821  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2822  (exit $ac_status); } >/dev/null; then 
     2823  if test -s conftest.err; then 
     2824    ac_cpp_err=$ac_c_preproc_warn_flag 
     2825    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     2826  else 
     2827    ac_cpp_err= 
     2828  fi 
     2829else 
     2830  ac_cpp_err=yes 
     2831fi 
     2832if test -z "$ac_cpp_err"; then 
    11152833  : 
    11162834else 
    1117   echo "$ac_err" >&5 
    1118   echo "configure: failed program was:" >&5 
    1119   cat conftest.$ac_ext >&5 
    1120   rm -rf conftest* 
    1121   CPP="${CC-cc} -E -traditional-cpp" 
    1122   cat > conftest.$ac_ext <<EOF 
    1123 #line 1124 "configure" 
    1124 #include "confdefs.h" 
    1125 #include <assert.h> 
    1126 Syntax Error 
    1127 EOF 
    1128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1129 { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    1131 if test -z "$ac_err"; then 
     2835  echo "$as_me: failed program was:" >&5 
     2836sed 's/^/| /' conftest.$ac_ext >&5 
     2837 
     2838  # Broken: fails on valid input. 
     2839continue 
     2840fi 
     2841rm -f conftest.err conftest.$ac_ext 
     2842 
     2843  # OK, works on sane cases.  Now check whether non-existent headers 
     2844  # can be detected and how. 
     2845  cat >conftest.$ac_ext <<_ACEOF 
     2846/* confdefs.h.  */ 
     2847_ACEOF 
     2848cat confdefs.h >>conftest.$ac_ext 
     2849cat >>conftest.$ac_ext <<_ACEOF 
     2850/* end confdefs.h.  */ 
     2851#include <ac_nonexistent.h> 
     2852_ACEOF 
     2853if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2854  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2855  ac_status=$? 
     2856  grep -v '^ *+' conftest.er1 >conftest.err 
     2857  rm -f conftest.er1 
     2858  cat conftest.err >&5 
     2859  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2860  (exit $ac_status); } >/dev/null; then 
     2861  if test -s conftest.err; then 
     2862    ac_cpp_err=$ac_c_preproc_warn_flag 
     2863    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     2864  else 
     2865    ac_cpp_err= 
     2866  fi 
     2867else 
     2868  ac_cpp_err=yes 
     2869fi 
     2870if test -z "$ac_cpp_err"; then 
     2871  # Broken: success on invalid input. 
     2872continue 
     2873else 
     2874  echo "$as_me: failed program was:" >&5 
     2875sed 's/^/| /' conftest.$ac_ext >&5 
     2876 
     2877  # Passes both tests. 
     2878ac_preproc_ok=: 
     2879break 
     2880fi 
     2881rm -f conftest.err conftest.$ac_ext 
     2882 
     2883done 
     2884# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
     2885rm -f conftest.err conftest.$ac_ext 
     2886if $ac_preproc_ok; then 
     2887  break 
     2888fi 
     2889 
     2890    done 
     2891    ac_cv_prog_CPP=$CPP 
     2892 
     2893fi 
     2894  CPP=$ac_cv_prog_CPP 
     2895else 
     2896  ac_cv_prog_CPP=$CPP 
     2897fi 
     2898echo "$as_me:$LINENO: result: $CPP" >&5 
     2899echo "${ECHO_T}$CPP" >&6 
     2900ac_preproc_ok=false 
     2901for ac_c_preproc_warn_flag in '' yes 
     2902do 
     2903  # Use a header file that comes with gcc, so configuring glibc 
     2904  # with a fresh cross-compiler works. 
     2905  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     2906  # <limits.h> exists even on freestanding compilers. 
     2907  # On the NeXT, cc -E runs the code through the compiler's parser, 
     2908  # not just through cpp. "Syntax error" is here to catch this case. 
     2909  cat >conftest.$ac_ext <<_ACEOF 
     2910/* confdefs.h.  */ 
     2911_ACEOF 
     2912cat confdefs.h >>conftest.$ac_ext 
     2913cat >>conftest.$ac_ext <<_ACEOF 
     2914/* end confdefs.h.  */ 
     2915#ifdef __STDC__ 
     2916# include <limits.h> 
     2917#else 
     2918# include <assert.h> 
     2919#endif 
     2920                     Syntax error 
     2921_ACEOF 
     2922if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2923  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2924  ac_status=$? 
     2925  grep -v '^ *+' conftest.er1 >conftest.err 
     2926  rm -f conftest.er1 
     2927  cat conftest.err >&5 
     2928  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2929  (exit $ac_status); } >/dev/null; then 
     2930  if test -s conftest.err; then 
     2931    ac_cpp_err=$ac_c_preproc_warn_flag 
     2932    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     2933  else 
     2934    ac_cpp_err= 
     2935  fi 
     2936else 
     2937  ac_cpp_err=yes 
     2938fi 
     2939if test -z "$ac_cpp_err"; then 
    11322940  : 
    11332941else 
    1134   echo "$ac_err" >&5 
    1135   echo "configure: failed program was:" >&5 
    1136   cat conftest.$ac_ext >&5 
    1137   rm -rf conftest* 
    1138   CPP="${CC-cc} -nologo -E" 
    1139   cat > conftest.$ac_ext <<EOF 
    1140 #line 1141 "configure" 
    1141 #include "confdefs.h" 
    1142 #include <assert.h> 
    1143 Syntax Error 
    1144 EOF 
    1145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1146 { (eval echo configure:1147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    1148 if test -z "$ac_err"; then 
     2942  echo "$as_me: failed program was:" >&5 
     2943sed 's/^/| /' conftest.$ac_ext >&5 
     2944 
     2945  # Broken: fails on valid input. 
     2946continue 
     2947fi 
     2948rm -f conftest.err conftest.$ac_ext 
     2949 
     2950  # OK, works on sane cases.  Now check whether non-existent headers 
     2951  # can be detected and how. 
     2952  cat >conftest.$ac_ext <<_ACEOF 
     2953/* confdefs.h.  */ 
     2954_ACEOF 
     2955cat confdefs.h >>conftest.$ac_ext 
     2956cat >>conftest.$ac_ext <<_ACEOF 
     2957/* end confdefs.h.  */ 
     2958#include <ac_nonexistent.h> 
     2959_ACEOF 
     2960if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2961  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2962  ac_status=$? 
     2963  grep -v '^ *+' conftest.er1 >conftest.err 
     2964  rm -f conftest.er1 
     2965  cat conftest.err >&5 
     2966  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2967  (exit $ac_status); } >/dev/null; then 
     2968  if test -s conftest.err; then 
     2969    ac_cpp_err=$ac_c_preproc_warn_flag 
     2970    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     2971  else 
     2972    ac_cpp_err= 
     2973  fi 
     2974else 
     2975  ac_cpp_err=yes 
     2976fi 
     2977if test -z "$ac_cpp_err"; then 
     2978  # Broken: success on invalid input. 
     2979continue 
     2980else 
     2981  echo "$as_me: failed program was:" >&5 
     2982sed 's/^/| /' conftest.$ac_ext >&5 
     2983 
     2984  # Passes both tests. 
     2985ac_preproc_ok=: 
     2986break 
     2987fi 
     2988rm -f conftest.err conftest.$ac_ext 
     2989 
     2990done 
     2991# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
     2992rm -f conftest.err conftest.$ac_ext 
     2993if $ac_preproc_ok; then 
    11492994  : 
    11502995else 
    1151   echo "$ac_err" >&5 
    1152   echo "configure: failed program was:" >&5 
    1153   cat conftest.$ac_ext >&5 
    1154   rm -rf conftest* 
    1155   CPP=/lib/cpp 
    1156 fi 
    1157 rm -f conftest* 
    1158 fi 
    1159 rm -f conftest* 
    1160 fi 
    1161 rm -f conftest* 
    1162   ac_cv_prog_CPP="$CPP" 
    1163 fi 
    1164   CPP="$ac_cv_prog_CPP" 
    1165 else 
    1166   ac_cv_prog_CPP="$CPP" 
    1167 fi 
    1168 echo "$ac_t""$CPP" 1>&6 
    1169  
    1170 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 
    1171 echo "configure:1172: checking for ANSI C header files" >&5 
    1172 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 
    1173   echo $ac_n "(cached) $ac_c" 1>&6 
    1174 else 
    1175   cat > conftest.$ac_ext <<EOF 
    1176 #line 1177 "configure" 
    1177 #include "confdefs.h" 
     2996  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     2997See \`config.log' for more details." >&5 
     2998echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     2999See \`config.log' for more details." >&2;} 
     3000   { (exit 1); exit 1; }; } 
     3001fi 
     3002 
     3003ac_ext=c 
     3004ac_cpp='$CPP $CPPFLAGS' 
     3005ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     3006ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     3007ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     3008 
     3009 
     3010echo "$as_me:$LINENO: checking for egrep" >&5 
     3011echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
     3012if test "${ac_cv_prog_egrep+set}" = set; then 
     3013  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3014else 
     3015  if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
     3016    then ac_cv_prog_egrep='grep -E' 
     3017    else ac_cv_prog_egrep='egrep' 
     3018    fi 
     3019fi 
     3020echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
     3021echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
     3022 EGREP=$ac_cv_prog_egrep 
     3023 
     3024 
     3025echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     3026echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
     3027if test "${ac_cv_header_stdc+set}" = set; then 
     3028  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3029else 
     3030  cat >conftest.$ac_ext <<_ACEOF 
     3031/* confdefs.h.  */ 
     3032_ACEOF 
     3033cat confdefs.h >>conftest.$ac_ext 
     3034cat >>conftest.$ac_ext <<_ACEOF 
     3035/* end confdefs.h.  */ 
    11783036#include <stdlib.h> 
    11793037#include <stdarg.h> 
    11803038#include <string.h> 
    11813039#include <float.h> 
    1182 EOF 
    1183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1184 { (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    1186 if test -z "$ac_err"; then 
    1187   rm -rf conftest* 
     3040 
     3041int 
     3042main () 
     3043{ 
     3044 
     3045  ; 
     3046  return 0; 
     3047} 
     3048_ACEOF 
     3049rm -f conftest.$ac_objext 
     3050if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3051  (eval $ac_compile) 2>conftest.er1 
     3052  ac_status=$? 
     3053  grep -v '^ *+' conftest.er1 >conftest.err 
     3054  rm -f conftest.er1 
     3055  cat conftest.err >&5 
     3056  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3057  (exit $ac_status); } && 
     3058         { ac_try='test -z "$ac_c_werror_flag" 
     3059                         || test ! -s conftest.err' 
     3060  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3061  (eval $ac_try) 2>&5 
     3062  ac_status=$? 
     3063  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3064  (exit $ac_status); }; } && 
     3065         { ac_try='test -s conftest.$ac_objext' 
     3066  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3067  (eval $ac_try) 2>&5 
     3068  ac_status=$? 
     3069  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3070  (exit $ac_status); }; }; then 
    11883071  ac_cv_header_stdc=yes 
    11893072else 
    1190   echo "$ac_err" >&5 
    1191   echo "configure: failed program was:" >&5 
    1192   cat conftest.$ac_ext >&5 
    1193   rm -rf conftest* 
    1194   ac_cv_header_stdc=no 
    1195 fi 
    1196 rm -f conftest* 
     3073  echo "$as_me: failed program was:" >&5 
     3074sed 's/^/| /' conftest.$ac_ext >&5 
     3075 
     3076ac_cv_header_stdc=no 
     3077fi 
     3078rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    11973079 
    11983080if test $ac_cv_header_stdc = yes; then 
    11993081  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    1200 cat > conftest.$ac_ext <<EOF 
    1201 #line 1202 "configure" 
    1202 #include "confdefs.h" 
     3082  cat >conftest.$ac_ext <<_ACEOF 
     3083/* confdefs.h.  */ 
     3084_ACEOF 
     3085cat confdefs.h >>conftest.$ac_ext 
     3086cat >>conftest.$ac_ext <<_ACEOF 
     3087/* end confdefs.h.  */ 
    12033088#include <string.h> 
    1204 EOF 
     3089 
     3090_ACEOF 
    12053091if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1206   egrep "memchr" >/dev/null 2>&1; then 
     3092  $EGREP "memchr" >/dev/null 2>&1; then 
    12073093  : 
    12083094else 
    1209   rm -rf conftest* 
    12103095  ac_cv_header_stdc=no 
    12113096fi 
     
    12163101if test $ac_cv_header_stdc = yes; then 
    12173102  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    1218 cat > conftest.$ac_ext <<EOF 
    1219 #line 1220 "configure" 
    1220 #include "confdefs.h" 
     3103  cat >conftest.$ac_ext <<_ACEOF 
     3104/* confdefs.h.  */ 
     3105_ACEOF 
     3106cat confdefs.h >>conftest.$ac_ext 
     3107cat >>conftest.$ac_ext <<_ACEOF 
     3108/* end confdefs.h.  */ 
    12213109#include <stdlib.h> 
    1222 EOF 
     3110 
     3111_ACEOF 
    12233112if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1224   egrep "free" >/dev/null 2>&1; then 
     3113  $EGREP "free" >/dev/null 2>&1; then 
    12253114  : 
    12263115else 
    1227   rm -rf conftest* 
    12283116  ac_cv_header_stdc=no 
    12293117fi 
     
    12343122if test $ac_cv_header_stdc = yes; then 
    12353123  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    1236 if test "$cross_compiling" = yes; then 
     3124  if test "$cross_compiling" = yes; then 
    12373125  : 
    12383126else 
    1239   cat > conftest.$ac_ext <<EOF 
    1240 #line 1241 "configure" 
    1241 #include "confdefs.h" 
     3127  cat >conftest.$ac_ext <<_ACEOF 
     3128/* confdefs.h.  */ 
     3129_ACEOF 
     3130cat confdefs.h >>conftest.$ac_ext 
     3131cat >>conftest.$ac_ext <<_ACEOF 
     3132/* end confdefs.h.  */ 
    12423133#include <ctype.h> 
    1243 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
    1244 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     3134#if ((' ' & 0x0FF) == 0x020) 
     3135# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
     3136# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     3137#else 
     3138# define ISLOWER(c) \ 
     3139                   (('a' <= (c) && (c) <= 'i') \ 
     3140                     || ('j' <= (c) && (c) <= 'r') \ 
     3141                     || ('s' <= (c) && (c) <= 'z')) 
     3142# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
     3143#endif 
     3144 
    12453145#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
    1246 int main () { int i; for (i = 0; i < 256; i++) 
    1247 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 
    1248 exit (0); } 
    1249  
    1250 EOF 
    1251 if { (eval echo configure:1252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    1252 then 
     3146int 
     3147main () 
     3148{ 
     3149  int i; 
     3150  for (i = 0; i < 256; i++) 
     3151    if (XOR (islower (i), ISLOWER (i)) 
     3152        || toupper (i) != TOUPPER (i)) 
     3153      exit(2); 
     3154  exit (0); 
     3155} 
     3156_ACEOF 
     3157rm -f conftest$ac_exeext 
     3158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3159  (eval $ac_link) 2>&5 
     3160  ac_status=$? 
     3161  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3162  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     3163  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3164  (eval $ac_try) 2>&5 
     3165  ac_status=$? 
     3166  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3167  (exit $ac_status); }; }; then 
    12533168  : 
    12543169else 
    1255   echo "configure: failed program was:" >&5 
    1256   cat conftest.$ac_ext >&5 
    1257   rm -fr conftest* 
    1258   ac_cv_header_stdc=no 
    1259 fi 
    1260 rm -fr conftest* 
    1261 fi 
    1262  
    1263 fi 
    1264 fi 
    1265  
    1266 echo "$ac_t""$ac_cv_header_stdc" 1>&6 
     3170  echo "$as_me: program exited with status $ac_status" >&5 
     3171echo "$as_me: failed program was:" >&5 
     3172sed 's/^/| /' conftest.$ac_ext >&5 
     3173 
     3174( exit $ac_status ) 
     3175ac_cv_header_stdc=no 
     3176fi 
     3177rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     3178fi 
     3179fi 
     3180fi 
     3181echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     3182echo "${ECHO_T}$ac_cv_header_stdc" >&6 
    12673183if test $ac_cv_header_stdc = yes; then 
    1268   cat >> confdefs.h <<\EOF 
     3184 
     3185cat >>confdefs.h <<\_ACEOF 
    12693186#define STDC_HEADERS 1 
    1270 EOF 
    1271  
    1272 fi 
    1273  
    1274 for ac_hdr in string.h malloc.h 
     3187_ACEOF 
     3188 
     3189fi 
     3190 
     3191# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     3192 
     3193 
     3194 
     3195 
     3196 
     3197 
     3198 
     3199 
     3200 
     3201for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
     3202                  inttypes.h stdint.h unistd.h 
    12753203do 
    1276 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    1277 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    1278 echo "configure:1279: checking for $ac_hdr" >&5 
    1279 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    1280   echo $ac_n "(cached) $ac_c" 1>&6 
    1281 else 
    1282   cat > conftest.$ac_ext <<EOF 
    1283 #line 1284 "configure" 
    1284 #include "confdefs.h" 
    1285 #include <$ac_hdr> 
    1286 EOF 
    1287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1288 { (eval echo configure:1289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    1290 if test -z "$ac_err"; then 
    1291   rm -rf conftest* 
    1292   eval "ac_cv_header_$ac_safe=yes" 
    1293 else 
    1294   echo "$ac_err" >&5 
    1295   echo "configure: failed program was:" >&5 
    1296   cat conftest.$ac_ext >&5 
    1297   rm -rf conftest* 
    1298   eval "ac_cv_header_$ac_safe=no" 
    1299 fi 
    1300 rm -f conftest* 
    1301 fi 
    1302 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
    1303   echo "$ac_t""yes" 1>&6 
    1304     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
    1305   cat >> confdefs.h <<EOF 
    1306 #define $ac_tr_hdr 1 
    1307 EOF 
    1308   
    1309 else 
    1310   echo "$ac_t""no" 1>&6 
    1311 fi 
     3204as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     3205echo "$as_me:$LINENO: checking for $ac_header" >&5 
     3206echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     3207if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     3208  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3209else 
     3210  cat >conftest.$ac_ext <<_ACEOF 
     3211/* confdefs.h.  */ 
     3212_ACEOF 
     3213cat confdefs.h >>conftest.$ac_ext 
     3214cat >>conftest.$ac_ext <<_ACEOF 
     3215/* end confdefs.h.  */ 
     3216$ac_includes_default 
     3217 
     3218#include <$ac_header> 
     3219_ACEOF 
     3220rm -f conftest.$ac_objext 
     3221if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3222  (eval $ac_compile) 2>conftest.er1 
     3223  ac_status=$? 
     3224  grep -v '^ *+' conftest.er1 >conftest.err 
     3225  rm -f conftest.er1 
     3226  cat conftest.err >&5 
     3227  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3228  (exit $ac_status); } && 
     3229         { ac_try='test -z "$ac_c_werror_flag" 
     3230                         || test ! -s conftest.err' 
     3231  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3232  (eval $ac_try) 2>&5 
     3233  ac_status=$? 
     3234  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3235  (exit $ac_status); }; } && 
     3236         { ac_try='test -s conftest.$ac_objext' 
     3237  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3238  (eval $ac_try) 2>&5 
     3239  ac_status=$? 
     3240  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3241  (exit $ac_status); }; }; then 
     3242  eval "$as_ac_Header=yes" 
     3243else 
     3244  echo "$as_me: failed program was:" >&5 
     3245sed 's/^/| /' conftest.$ac_ext >&5 
     3246 
     3247eval "$as_ac_Header=no" 
     3248fi 
     3249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3250fi 
     3251echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     3252echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     3253if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     3254  cat >>confdefs.h <<_ACEOF 
     3255#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     3256_ACEOF 
     3257 
     3258fi 
     3259 
     3260done 
     3261 
     3262 
     3263 
     3264 
     3265for ac_header in string.h malloc.h 
     3266do 
     3267as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     3268if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     3269  echo "$as_me:$LINENO: checking for $ac_header" >&5 
     3270echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     3271if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     3272  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3273fi 
     3274echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     3275echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     3276else 
     3277  # Is the header compilable? 
     3278echo "$as_me:$LINENO: checking $ac_header usability" >&5 
     3279echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
     3280cat >conftest.$ac_ext <<_ACEOF 
     3281/* confdefs.h.  */ 
     3282_ACEOF 
     3283cat confdefs.h >>conftest.$ac_ext 
     3284cat >>conftest.$ac_ext <<_ACEOF 
     3285/* end confdefs.h.  */ 
     3286$ac_includes_default 
     3287#include <$ac_header> 
     3288_ACEOF 
     3289rm -f conftest.$ac_objext 
     3290if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3291  (eval $ac_compile) 2>conftest.er1 
     3292  ac_status=$? 
     3293  grep -v '^ *+' conftest.er1 >conftest.err 
     3294  rm -f conftest.er1 
     3295  cat conftest.err >&5 
     3296  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3297  (exit $ac_status); } && 
     3298         { ac_try='test -z "$ac_c_werror_flag" 
     3299                         || test ! -s conftest.err' 
     3300  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3301  (eval $ac_try) 2>&5 
     3302  ac_status=$? 
     3303  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3304  (exit $ac_status); }; } && 
     3305         { ac_try='test -s conftest.$ac_objext' 
     3306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3307  (eval $ac_try) 2>&5 
     3308  ac_status=$? 
     3309  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3310  (exit $ac_status); }; }; then 
     3311  ac_header_compiler=yes 
     3312else 
     3313  echo "$as_me: failed program was:" >&5 
     3314sed 's/^/| /' conftest.$ac_ext >&5 
     3315 
     3316ac_header_compiler=no 
     3317fi 
     3318rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3319echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     3320echo "${ECHO_T}$ac_header_compiler" >&6 
     3321 
     3322# Is the header present? 
     3323echo "$as_me:$LINENO: checking $ac_header presence" >&5 
     3324echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
     3325cat >conftest.$ac_ext <<_ACEOF 
     3326/* confdefs.h.  */ 
     3327_ACEOF 
     3328cat confdefs.h >>conftest.$ac_ext 
     3329cat >>conftest.$ac_ext <<_ACEOF 
     3330/* end confdefs.h.  */ 
     3331#include <$ac_header> 
     3332_ACEOF 
     3333if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3334  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3335  ac_status=$? 
     3336  grep -v '^ *+' conftest.er1 >conftest.err 
     3337  rm -f conftest.er1 
     3338  cat conftest.err >&5 
     3339  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3340  (exit $ac_status); } >/dev/null; then 
     3341  if test -s conftest.err; then 
     3342    ac_cpp_err=$ac_c_preproc_warn_flag 
     3343    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     3344  else 
     3345    ac_cpp_err= 
     3346  fi 
     3347else 
     3348  ac_cpp_err=yes 
     3349fi 
     3350if test -z "$ac_cpp_err"; then 
     3351  ac_header_preproc=yes 
     3352else 
     3353  echo "$as_me: failed program was:" >&5 
     3354sed 's/^/| /' conftest.$ac_ext >&5 
     3355 
     3356  ac_header_preproc=no 
     3357fi 
     3358rm -f conftest.err conftest.$ac_ext 
     3359echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     3360echo "${ECHO_T}$ac_header_preproc" >&6 
     3361 
     3362# So?  What about this header? 
     3363case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     3364  yes:no: ) 
     3365    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
     3366echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     3367    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 
     3368echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 
     3369    ac_header_preproc=yes 
     3370    ;; 
     3371  no:yes:* ) 
     3372    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
     3373echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
     3374    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 
     3375echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} 
     3376    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 
     3377echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 
     3378    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 
     3379echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} 
     3380    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
     3381echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
     3382    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 
     3383echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 
     3384    ( 
     3385      cat <<\_ASBOX 
     3386## ------------------------------------------ ## 
     3387## Report this to the AC_PACKAGE_NAME lists.  ## 
     3388## ------------------------------------------ ## 
     3389_ASBOX 
     3390    ) | 
     3391      sed "s/^/$as_me: WARNING:     /" >&2 
     3392    ;; 
     3393esac 
     3394echo "$as_me:$LINENO: checking for $ac_header" >&5 
     3395echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     3396if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     3397  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3398else 
     3399  eval "$as_ac_Header=\$ac_header_preproc" 
     3400fi 
     3401echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     3402echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     3403 
     3404fi 
     3405if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     3406  cat >>confdefs.h <<_ACEOF 
     3407#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     3408_ACEOF 
     3409 
     3410fi 
     3411 
    13123412done 
    13133413 
     
    13233423V_SIGRET="void" 
    13243424 
    1325 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 
    1326 echo "configure:1327: checking for main in -lXbsd" >&5 
    1327 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 
    1328 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1329   echo $ac_n "(cached) $ac_c" 1>&6 
    1330 else 
    1331   ac_save_LIBS="$LIBS" 
     3425echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 
     3426echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 
     3427if test "${ac_cv_lib_Xbsd_main+set}" = set; then 
     3428  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3429else 
     3430  ac_check_lib_save_LIBS=$LIBS 
    13323431LIBS="-lXbsd  $LIBS" 
    1333 cat > conftest.$ac_ext <<EOF 
    1334 #line 1335 "configure" 
    1335 #include "confdefs.h" 
    1336  
    1337 int main() { 
    1338 main() 
    1339 ; return 0; } 
    1340 EOF 
    1341 if { (eval echo configure:1342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    1342   rm -rf conftest* 
    1343   eval "ac_cv_lib_$ac_lib_var=yes" 
    1344 else 
    1345   echo "configure: failed program was:" >&5 
    1346   cat conftest.$ac_ext >&5 
    1347   rm -rf conftest* 
    1348   eval "ac_cv_lib_$ac_lib_var=no" 
    1349 fi 
    1350 rm -f conftest* 
    1351 LIBS="$ac_save_LIBS" 
    1352  
    1353 fi 
    1354 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1355   echo "$ac_t""yes" 1>&6 
     3432cat >conftest.$ac_ext <<_ACEOF 
     3433/* confdefs.h.  */ 
     3434_ACEOF 
     3435cat confdefs.h >>conftest.$ac_ext 
     3436cat >>conftest.$ac_ext <<_ACEOF 
     3437/* end confdefs.h.  */ 
     3438 
     3439 
     3440int 
     3441main () 
     3442{ 
     3443main (); 
     3444  ; 
     3445  return 0; 
     3446} 
     3447_ACEOF 
     3448rm -f conftest.$ac_objext conftest$ac_exeext 
     3449if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3450  (eval $ac_link) 2>conftest.er1 
     3451  ac_status=$? 
     3452  grep -v '^ *+' conftest.er1 >conftest.err 
     3453  rm -f conftest.er1 
     3454  cat conftest.err >&5 
     3455  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3456  (exit $ac_status); } && 
     3457         { ac_try='test -z "$ac_c_werror_flag" 
     3458                         || test ! -s conftest.err' 
     3459  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3460  (eval $ac_try) 2>&5 
     3461  ac_status=$? 
     3462  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3463  (exit $ac_status); }; } && 
     3464         { ac_try='test -s conftest$ac_exeext' 
     3465  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3466  (eval $ac_try) 2>&5 
     3467  ac_status=$? 
     3468  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3469  (exit $ac_status); }; }; then 
     3470  ac_cv_lib_Xbsd_main=yes 
     3471else 
     3472  echo "$as_me: failed program was:" >&5 
     3473sed 's/^/| /' conftest.$ac_ext >&5 
     3474 
     3475ac_cv_lib_Xbsd_main=no 
     3476fi 
     3477rm -f conftest.err conftest.$ac_objext \ 
     3478      conftest$ac_exeext conftest.$ac_ext 
     3479LIBS=$ac_check_lib_save_LIBS 
     3480fi 
     3481echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 
     3482echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 
     3483if test $ac_cv_lib_Xbsd_main = yes; then 
    13563484  V_LIB="$V_LIB -lXbsd" 
    1357 else 
    1358   echo "$ac_t""no" 1>&6 
    1359 fi 
    1360  
    1361 echo $ac_n "checking for poll in -lsocket""... $ac_c" 1>&6 
    1362 echo "configure:1363: checking for poll in -lsocket" >&5 
    1363 ac_lib_var=`echo socket'_'poll | sed 'y%./+-%__p_%'` 
    1364 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1365   echo $ac_n "(cached) $ac_c" 1>&6 
    1366 else 
    1367   ac_save_LIBS="$LIBS" 
     3485fi 
     3486 
     3487echo "$as_me:$LINENO: checking for poll in -lsocket" >&5 
     3488echo $ECHO_N "checking for poll in -lsocket... $ECHO_C" >&6 
     3489if test "${ac_cv_lib_socket_poll+set}" = set; then 
     3490  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3491else 
     3492  ac_check_lib_save_LIBS=$LIBS 
    13683493LIBS="-lsocket  $LIBS" 
    1369 cat > conftest.$ac_ext <<EOF 
    1370 #line 1371 "configure" 
    1371 #include "confdefs.h" 
     3494cat >conftest.$ac_ext <<_ACEOF 
     3495/* confdefs.h.  */ 
     3496_ACEOF 
     3497cat confdefs.h >>conftest.$ac_ext 
     3498cat >>conftest.$ac_ext <<_ACEOF 
     3499/* end confdefs.h.  */ 
     3500 
    13723501/* Override any gcc2 internal prototype to avoid an error.  */ 
     3502#ifdef __cplusplus 
     3503extern "C" 
     3504#endif 
    13733505/* We use char because int might match the return type of a gcc2 
    1374     builtin and then its argument prototype would still apply.  */ 
    1375 char poll(); 
    1376  
    1377 int main() { 
    1378 poll() 
    1379 ; return 0; } 
    1380 EOF 
    1381 if { (eval echo configure:1382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    1382   rm -rf conftest* 
    1383   eval "ac_cv_lib_$ac_lib_var=yes" 
    1384 else 
    1385   echo "configure: failed program was:" >&5 
    1386   cat conftest.$ac_ext >&5 
    1387   rm -rf conftest* 
    1388   eval "ac_cv_lib_$ac_lib_var=no" 
    1389 fi 
    1390 rm -f conftest* 
    1391 LIBS="$ac_save_LIBS" 
    1392  
    1393 fi 
    1394 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1395   echo "$ac_t""yes" 1>&6 
     3506   builtin and then its argument prototype would still apply.  */ 
     3507char poll (); 
     3508int 
     3509main () 
     3510{ 
     3511poll (); 
     3512  ; 
     3513  return 0; 
     3514} 
     3515_ACEOF 
     3516rm -f conftest.$ac_objext conftest$ac_exeext 
     3517if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3518  (eval $ac_link) 2>conftest.er1 
     3519  ac_status=$? 
     3520  grep -v '^ *+' conftest.er1 >conftest.err 
     3521  rm -f conftest.er1 
     3522  cat conftest.err >&5 
     3523  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3524  (exit $ac_status); } && 
     3525         { ac_try='test -z "$ac_c_werror_flag" 
     3526                         || test ! -s conftest.err' 
     3527  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3528  (eval $ac_try) 2>&5 
     3529  ac_status=$? 
     3530  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3531  (exit $ac_status); }; } && 
     3532         { ac_try='test -s conftest$ac_exeext' 
     3533  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3534  (eval $ac_try) 2>&5 
     3535  ac_status=$? 
     3536  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3537  (exit $ac_status); }; }; then 
     3538  ac_cv_lib_socket_poll=yes 
     3539else 
     3540  echo "$as_me: failed program was:" >&5 
     3541sed 's/^/| /' conftest.$ac_ext >&5 
     3542 
     3543ac_cv_lib_socket_poll=no 
     3544fi 
     3545rm -f conftest.err conftest.$ac_objext \ 
     3546      conftest$ac_exeext conftest.$ac_ext 
     3547LIBS=$ac_check_lib_save_LIBS 
     3548fi 
     3549echo "$as_me:$LINENO: result: $ac_cv_lib_socket_poll" >&5 
     3550echo "${ECHO_T}$ac_cv_lib_socket_poll" >&6 
     3551if test $ac_cv_lib_socket_poll = yes; then 
    13963552  V_LIB="$V_LIB -lsocket" 
    1397 else 
    1398   echo "$ac_t""no" 1>&6 
    13993553fi 
    14003554 
     
    14023556# nsl lib seems to cause problems on IRIX 
    14033557if test `echo "$target_os" | sed 's/\..*//'` != irix6 ; then 
    1404         echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 
    1405 echo "configure:1406: checking for gethostbyname in -lnsl" >&5 
    1406 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 
    1407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1408   echo $ac_n "(cached) $ac_c" 1>&6 
    1409 else 
    1410   ac_save_LIBS="$LIBS" 
     3558        echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 
     3559echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 
     3560if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 
     3561  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3562else 
     3563  ac_check_lib_save_LIBS=$LIBS 
    14113564LIBS="-lnsl  $LIBS" 
    1412 cat > conftest.$ac_ext <<EOF 
    1413 #line 1414 "configure" 
    1414 #include "confdefs.h" 
     3565cat >conftest.$ac_ext <<_ACEOF 
     3566/* confdefs.h.  */ 
     3567_ACEOF 
     3568cat confdefs.h >>conftest.$ac_ext 
     3569cat >>conftest.$ac_ext <<_ACEOF 
     3570/* end confdefs.h.  */ 
     3571 
    14153572/* Override any gcc2 internal prototype to avoid an error.  */ 
     3573#ifdef __cplusplus 
     3574extern "C" 
     3575#endif 
    14163576/* We use char because int might match the return type of a gcc2 
    1417     builtin and then its argument prototype would still apply.  */ 
    1418 char gethostbyname(); 
    1419  
    1420 int main() { 
    1421 gethostbyname() 
    1422 ; return 0; } 
    1423 EOF 
    1424 if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    1425   rm -rf conftest* 
    1426   eval "ac_cv_lib_$ac_lib_var=yes" 
    1427 else 
    1428   echo "configure: failed program was:" >&5 
    1429   cat conftest.$ac_ext >&5 
    1430   rm -rf conftest* 
    1431   eval "ac_cv_lib_$ac_lib_var=no" 
    1432 fi 
    1433 rm -f conftest* 
    1434 LIBS="$ac_save_LIBS" 
    1435  
    1436 fi 
    1437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1438   echo "$ac_t""yes" 1>&6 
     3577   builtin and then its argument prototype would still apply.  */ 
     3578char gethostbyname (); 
     3579int 
     3580main () 
     3581{ 
     3582gethostbyname (); 
     3583  ; 
     3584  return 0; 
     3585} 
     3586_ACEOF 
     3587rm -f conftest.$ac_objext conftest$ac_exeext 
     3588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3589  (eval $ac_link) 2>conftest.er1 
     3590  ac_status=$? 
     3591  grep -v '^ *+' conftest.er1 >conftest.err 
     3592  rm -f conftest.er1 
     3593  cat conftest.err >&5 
     3594  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3595  (exit $ac_status); } && 
     3596         { ac_try='test -z "$ac_c_werror_flag" 
     3597                         || test ! -s conftest.err' 
     3598  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3599  (eval $ac_try) 2>&5 
     3600  ac_status=$? 
     3601  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3602  (exit $ac_status); }; } && 
     3603         { ac_try='test -s conftest$ac_exeext' 
     3604  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3605  (eval $ac_try) 2>&5 
     3606  ac_status=$? 
     3607  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3608  (exit $ac_status); }; }; then 
     3609  ac_cv_lib_nsl_gethostbyname=yes 
     3610else 
     3611  echo "$as_me: failed program was:" >&5 
     3612sed 's/^/| /' conftest.$ac_ext >&5 
     3613 
     3614ac_cv_lib_nsl_gethostbyname=no 
     3615fi 
     3616rm -f conftest.err conftest.$ac_objext \ 
     3617      conftest$ac_exeext conftest.$ac_ext 
     3618LIBS=$ac_check_lib_save_LIBS 
     3619fi 
     3620echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 
     3621echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 
     3622if test $ac_cv_lib_nsl_gethostbyname = yes; then 
    14393623  V_LIB="$V_LIB -lnsl" 
    1440 else 
    1441   echo "$ac_t""no" 1>&6 
    14423624fi 
    14433625 
     
    14553637else 
    14563638  V_CCOPT="-O2" 
    1457 fi 
    1458  
     3639fi; 
    14593640 
    14603641# Check whether --enable-ipv6 or --disable-ipv6 was given. 
     
    14643645else 
    14653646  ipv6=no 
    1466 fi 
     3647fi; 
    14673648 
    14683649 
     
    14733654else 
    14743655  d="" 
    1475 fi 
    1476  
     3656fi; 
    14773657if test "$d" = "" ; then 
    14783658        if test -d /usr/src/local/fore ; then 
     
    15103690done 
    15113691 
     3692case "$target" in 
     3693  *-*-darwin*) 
     3694        aquatcl=yes 
     3695        aquatk=yes 
     3696        ;; 
     3697esac 
     3698 
     3699if test $aquatk != "yes"; then 
    15123700 
    15133701xlibdirs="\ 
     
    15433731echo "checking for X11 header files" 
    15443732if test "$x_includes" = NONE ; then 
    1545         cat > conftest.$ac_ext <<EOF 
    1546 #line 1547 "configure" 
    1547 #include "confdefs.h" 
     3733        cat >conftest.$ac_ext <<_ACEOF 
     3734/* confdefs.h.  */ 
     3735_ACEOF 
     3736cat confdefs.h >>conftest.$ac_ext 
     3737cat >>conftest.$ac_ext <<_ACEOF 
     3738/* end confdefs.h.  */ 
    15483739#include <X11/Intrinsic.h> 
    1549 EOF 
    1550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1551 { (eval echo configure:1552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    1553 if test -z "$ac_err"; then 
    1554   rm -rf conftest* 
     3740_ACEOF 
     3741if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3742  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3743  ac_status=$? 
     3744  grep -v '^ *+' conftest.er1 >conftest.err 
     3745  rm -f conftest.er1 
     3746  cat conftest.err >&5 
     3747  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3748  (exit $ac_status); } >/dev/null; then 
     3749  if test -s conftest.err; then 
     3750    ac_cpp_err=$ac_c_preproc_warn_flag 
     3751    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     3752  else 
     3753    ac_cpp_err= 
     3754  fi 
     3755else 
     3756  ac_cpp_err=yes 
     3757fi 
     3758if test -z "$ac_cpp_err"; then 
    15553759  x_includes="" 
    15563760else 
    1557   echo "$ac_err" >&5 
    1558   echo "configure: failed program was:" >&5 
    1559   cat conftest.$ac_ext >&5 
    1560   rm -rf conftest* 
     3761  echo "$as_me: failed program was:" >&5 
     3762sed 's/^/| /' conftest.$ac_ext >&5 
     3763 
    15613764  x_includes=NONE 
    15623765fi 
    1563 rm -f conftest* 
     3766rm -f conftest.err conftest.$ac_ext 
    15643767        if test "$x_includes" = NONE ; then 
    15653768                for i in $xincdirs ; do 
     
    15753778        fi 
    15763779fi 
    1577 if test -n "$x_includes" ; then  
     3780if test -n "$x_includes" ; then 
    15783781        V_INCLUDE_X11="-isystem $x_includes" 
    1579          
     3782 
    15803783fi 
    15813784 
    15823785echo "checking for X11 library archive" 
    15833786if test "$x_libraries" = NONE ; then 
    1584         echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 
    1585 echo "configure:1586: checking for XOpenDisplay in -lX11" >&5 
    1586 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 
    1587 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1588   echo $ac_n "(cached) $ac_c" 1>&6 
    1589 else 
    1590   ac_save_LIBS="$LIBS" 
     3787        echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5 
     3788echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6 
     3789if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then 
     3790  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3791else 
     3792  ac_check_lib_save_LIBS=$LIBS 
    15913793LIBS="-lX11  $LIBS" 
    1592 cat > conftest.$ac_ext <<EOF 
    1593 #line 1594 "configure" 
    1594 #include "confdefs.h" 
     3794cat >conftest.$ac_ext <<_ACEOF 
     3795/* confdefs.h.  */ 
     3796_ACEOF 
     3797cat confdefs.h >>conftest.$ac_ext 
     3798cat >>conftest.$ac_ext <<_ACEOF 
     3799/* end confdefs.h.  */ 
     3800 
    15953801/* Override any gcc2 internal prototype to avoid an error.  */ 
     3802#ifdef __cplusplus 
     3803extern "C" 
     3804#endif 
    15963805/* We use char because int might match the return type of a gcc2 
    1597     builtin and then its argument prototype would still apply.  */ 
    1598 char XOpenDisplay(); 
    1599  
    1600 int main() { 
    1601 XOpenDisplay() 
    1602 ; return 0; } 
    1603 EOF 
    1604 if { (eval echo configure:1605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    1605   rm -rf conftest* 
    1606   eval "ac_cv_lib_$ac_lib_var=yes" 
    1607 else 
    1608   echo "configure: failed program was:" >&5 
    1609   cat conftest.$ac_ext >&5 
    1610   rm -rf conftest* 
    1611   eval "ac_cv_lib_$ac_lib_var=no" 
    1612 fi 
    1613 rm -f conftest* 
    1614 LIBS="$ac_save_LIBS" 
    1615  
    1616 fi 
    1617 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1618   echo "$ac_t""yes" 1>&6 
     3806   builtin and then its argument prototype would still apply.  */ 
     3807char XOpenDisplay (); 
     3808int 
     3809main () 
     3810{ 
     3811XOpenDisplay (); 
     3812  ; 
     3813  return 0; 
     3814} 
     3815_ACEOF 
     3816rm -f conftest.$ac_objext conftest$ac_exeext 
     3817if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3818  (eval $ac_link) 2>conftest.er1 
     3819  ac_status=$? 
     3820  grep -v '^ *+' conftest.er1 >conftest.err 
     3821  rm -f conftest.er1 
     3822  cat conftest.err >&5 
     3823  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3824  (exit $ac_status); } && 
     3825         { ac_try='test -z "$ac_c_werror_flag" 
     3826                         || test ! -s conftest.err' 
     3827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3828  (eval $ac_try) 2>&5 
     3829  ac_status=$? 
     3830  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3831  (exit $ac_status); }; } && 
     3832         { ac_try='test -s conftest$ac_exeext' 
     3833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3834  (eval $ac_try) 2>&5 
     3835  ac_status=$? 
     3836  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3837  (exit $ac_status); }; }; then 
     3838  ac_cv_lib_X11_XOpenDisplay=yes 
     3839else 
     3840  echo "$as_me: failed program was:" >&5 
     3841sed 's/^/| /' conftest.$ac_ext >&5 
     3842 
     3843ac_cv_lib_X11_XOpenDisplay=no 
     3844fi 
     3845rm -f conftest.err conftest.$ac_objext \ 
     3846      conftest$ac_exeext conftest.$ac_ext 
     3847LIBS=$ac_check_lib_save_LIBS 
     3848fi 
     3849echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5 
     3850echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6 
     3851if test $ac_cv_lib_X11_XOpenDisplay = yes; then 
    16193852  x_libraries="" 
    16203853else 
    1621   echo "$ac_t""no" 1>&6 
    1622 x_libraries=NONE 
     3854  x_libraries=NONE 
    16233855fi 
    16243856 
     
    16413873if test -n "$V_SHM" ; then 
    16423874        if test -z "$x_libraries" ; then 
    1643                 echo $ac_n "checking for XShmAttach in -lXext""... $ac_c" 1>&6 
    1644 echo "configure:1645: checking for XShmAttach in -lXext" >&5 
    1645 ac_lib_var=`echo Xext'_'XShmAttach | sed 'y%./+-%__p_%'` 
    1646 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1647   echo $ac_n "(cached) $ac_c" 1>&6 
    1648 else 
    1649   ac_save_LIBS="$LIBS" 
     3875                echo "$as_me:$LINENO: checking for XShmAttach in -lXext" >&5 
     3876echo $ECHO_N "checking for XShmAttach in -lXext... $ECHO_C" >&6 
     3877if test "${ac_cv_lib_Xext_XShmAttach+set}" = set; then 
     3878  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3879else 
     3880  ac_check_lib_save_LIBS=$LIBS 
    16503881LIBS="-lXext -lX11 $LIBS" 
    1651 cat > conftest.$ac_ext <<EOF 
    1652 #line 1653 "configure" 
    1653 #include "confdefs.h" 
     3882cat >conftest.$ac_ext <<_ACEOF 
     3883/* confdefs.h.  */ 
     3884_ACEOF 
     3885cat confdefs.h >>conftest.$ac_ext 
     3886cat >>conftest.$ac_ext <<_ACEOF 
     3887/* end confdefs.h.  */ 
     3888 
    16543889/* Override any gcc2 internal prototype to avoid an error.  */ 
     3890#ifdef __cplusplus 
     3891extern "C" 
     3892#endif 
    16553893/* We use char because int might match the return type of a gcc2 
    1656     builtin and then its argument prototype would still apply.  */ 
    1657 char XShmAttach(); 
    1658  
    1659 int main() { 
    1660 XShmAttach() 
    1661 ; return 0; } 
    1662 EOF 
    1663 if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    1664   rm -rf conftest* 
    1665   eval "ac_cv_lib_$ac_lib_var=yes" 
    1666 else 
    1667   echo "configure: failed program was:" >&5 
    1668   cat conftest.$ac_ext >&5 
    1669   rm -rf conftest* 
    1670   eval "ac_cv_lib_$ac_lib_var=no" 
    1671 fi 
    1672 rm -f conftest* 
    1673 LIBS="$ac_save_LIBS" 
    1674  
    1675 fi 
    1676 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1677   echo "$ac_t""yes" 1>&6 
     3894   builtin and then its argument prototype would still apply.  */ 
     3895char XShmAttach (); 
     3896int 
     3897main () 
     3898{ 
     3899XShmAttach (); 
     3900  ; 
     3901  return 0; 
     3902} 
     3903_ACEOF 
     3904rm -f conftest.$ac_objext conftest$ac_exeext 
     3905if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3906  (eval $ac_link) 2>conftest.er1 
     3907  ac_status=$? 
     3908  grep -v '^ *+' conftest.er1 >conftest.err 
     3909  rm -f conftest.er1 
     3910  cat conftest.err >&5 
     3911  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3912  (exit $ac_status); } && 
     3913         { ac_try='test -z "$ac_c_werror_flag" 
     3914                         || test ! -s conftest.err' 
     3915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3916  (eval $ac_try) 2>&5 
     3917  ac_status=$? 
     3918  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3919  (exit $ac_status); }; } && 
     3920         { ac_try='test -s conftest$ac_exeext' 
     3921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3922  (eval $ac_try) 2>&5 
     3923  ac_status=$? 
     3924  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3925  (exit $ac_status); }; }; then 
     3926  ac_cv_lib_Xext_XShmAttach=yes 
     3927else 
     3928  echo "$as_me: failed program was:" >&5 
     3929sed 's/^/| /' conftest.$ac_ext >&5 
     3930 
     3931ac_cv_lib_Xext_XShmAttach=no 
     3932fi 
     3933rm -f conftest.err conftest.$ac_objext \ 
     3934      conftest$ac_exeext conftest.$ac_ext 
     3935LIBS=$ac_check_lib_save_LIBS 
     3936fi 
     3937echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmAttach" >&5 
     3938echo "${ECHO_T}$ac_cv_lib_Xext_XShmAttach" >&6 
     3939if test $ac_cv_lib_Xext_XShmAttach = yes; then 
    16783940  V_Xext="-lXext" 
    16793941else 
    1680   echo "$ac_t""no" 1>&6 
    1681 V_Xext=NONE 
     3942  V_Xext=NONE 
    16823943fi 
    16833944 
     
    17053966 
    17063967 
     3968fi 
     3969 
    17073970 
    17083971# Check whether --with-ucltcl or --without-ucltcl was given. 
     
    17123975else 
    17133976  ucltcl="" 
    1714 fi 
     3977fi; 
    17153978 
    17163979 
     
    17213984else 
    17223985  d="" 
    1723 fi 
    1724  
    1725 if test "$ucltcl" != no; then 
    1726         if test -z "$ucltcl"; then  
     3986fi; 
     3987 
     3988if test "$aquatcl" == yes; then 
     3989        V_LIB_TCL="-framework Tcl" 
     3990        V_LIBRARY_TCL=/Library/Frameworks/Tcl.framework/Versions/8.4/Resources/Scripts 
     3991        V_INCLUDE_TCL="-I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tcl.framework/PrivateHeaders" 
     3992elif test "$ucltcl" != no; then 
     3993        if test -z "$ucltcl"; then 
    17273994                # UCL defaults 
    17283995                ucltcl=../tcl-8.0 
     
    17334000        fi 
    17344001        V_INCLUDE_TCL="-I$ucltcl/generic" 
    1735         case "$target" in  
     4002        case "$target" in 
    17364003          *-*-freebsd*) 
    17374004                V_LIB_TCL="$ucltcl/unix/libtcl80.a" 
     
    17444011        V_LIBRARY_TCL=$ucltcl/library 
    17454012        echo "Using UCL's tcl-8.0: $ucltcl" 
    1746                  
    1747 elif test "$d" != "" ; then  
     4013 
     4014elif test "$d" != "" ; then 
    17484015        echo "Not using UCL tcl - You're on your own!" 
    1749         if test ! -d $d ; then  
     4016        if test ! -d $d ; then 
    17504017                echo "'$d' is not a directory" 
    17514018                exit 1 
     
    17574024        fi 
    17584025        places="$d/lib/libtcl8.0.so \ 
     4026                $d/lib/libtcl8.0.dylib \ 
    17594027                $d/lib/libtcl8.0.a \ 
    17604028                $d/lib/libtcl.so \ 
     4029                $d/lib/libtcl.dylib \ 
    17614030                $d/lib/libtcl.a" 
    17624031        V_LIB_TCL=FAIL 
     
    17874056else 
    17884057        echo "Not using UCL tcl - You're on your own!" 
    1789         cat > conftest.$ac_ext <<EOF 
    1790 #line 1791 "configure" 
    1791 #include "confdefs.h" 
     4058        cat >conftest.$ac_ext <<_ACEOF 
     4059/* confdefs.h.  */ 
     4060_ACEOF 
     4061cat confdefs.h >>conftest.$ac_ext 
     4062cat >>conftest.$ac_ext <<_ACEOF 
     4063/* end confdefs.h.  */ 
    17924064#include <tcl.h> 
    1793 EOF 
    1794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1795 { (eval echo configure:1796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    1797 if test -z "$ac_err"; then 
    1798   rm -rf conftest* 
     4065_ACEOF 
     4066if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4067  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4068  ac_status=$? 
     4069  grep -v '^ *+' conftest.er1 >conftest.err 
     4070  rm -f conftest.er1 
     4071  cat conftest.err >&5 
     4072  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4073  (exit $ac_status); } >/dev/null; then 
     4074  if test -s conftest.err; then 
     4075    ac_cpp_err=$ac_c_preproc_warn_flag 
     4076    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     4077  else 
     4078    ac_cpp_err= 
     4079  fi 
     4080else 
     4081  ac_cpp_err=yes 
     4082fi 
     4083if test -z "$ac_cpp_err"; then 
    17994084  V_INCLUDE_TCL="" 
    18004085else 
    1801   echo "$ac_err" >&5 
    1802   echo "configure: failed program was:" >&5 
    1803   cat conftest.$ac_ext >&5 
    1804   rm -rf conftest* 
     4086  echo "$as_me: failed program was:" >&5 
     4087sed 's/^/| /' conftest.$ac_ext >&5 
     4088 
    18054089  V_INCLUDE_TCL=FAIL 
    18064090fi 
    1807 rm -f conftest* 
     4091rm -f conftest.err conftest.$ac_ext 
    18084092        if test "$V_INCLUDE_TCL" = FAIL; then 
    18094093                echo "checking for tcl.h" 
     
    18314115                fi 
    18324116        fi 
    1833         echo $ac_n "checking for main in -ltcl8.0""... $ac_c" 1>&6 
    1834 echo "configure:1835: checking for main in -ltcl8.0" >&5 
    1835 ac_lib_var=`echo tcl8.0'_'main | sed 'y%./+-%__p_%'` 
    1836 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1837   echo $ac_n "(cached) $ac_c" 1>&6 
    1838 else 
    1839   ac_save_LIBS="$LIBS" 
     4117        echo "$as_me:$LINENO: checking for main in -ltcl8.0" >&5 
     4118echo $ECHO_N "checking for main in -ltcl8.0... $ECHO_C" >&6 
     4119if test "${ac_cv_lib_tcl8_0_main+set}" = set; then 
     4120  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4121else 
     4122  ac_check_lib_save_LIBS=$LIBS 
    18404123LIBS="-ltcl8.0  $LIBS" 
    1841 cat > conftest.$ac_ext <<EOF 
    1842 #line 1843 "configure" 
    1843 #include "confdefs.h" 
    1844  
    1845 int main() { 
    1846 main() 
    1847 ; return 0; } 
    1848 EOF 
    1849 if { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    1850   rm -rf conftest* 
    1851   eval "ac_cv_lib_$ac_lib_var=yes" 
    1852 else 
    1853   echo "configure: failed program was:" >&5 
    1854   cat conftest.$ac_ext >&5 
    1855   rm -rf conftest* 
    1856   eval "ac_cv_lib_$ac_lib_var=no" 
    1857 fi 
    1858 rm -f conftest* 
    1859 LIBS="$ac_save_LIBS" 
    1860  
    1861 fi 
    1862 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1863   echo "$ac_t""yes" 1>&6 
     4124cat >conftest.$ac_ext <<_ACEOF 
     4125/* confdefs.h.  */ 
     4126_ACEOF 
     4127cat confdefs.h >>conftest.$ac_ext 
     4128cat >>conftest.$ac_ext <<_ACEOF 
     4129/* end confdefs.h.  */ 
     4130 
     4131 
     4132int 
     4133main () 
     4134{ 
     4135main (); 
     4136  ; 
     4137  return 0; 
     4138} 
     4139_ACEOF 
     4140rm -f conftest.$ac_objext conftest$ac_exeext 
     4141if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4142  (eval $ac_link) 2>conftest.er1 
     4143  ac_status=$? 
     4144  grep -v '^ *+' conftest.er1 >conftest.err 
     4145  rm -f conftest.er1 
     4146  cat conftest.err >&5 
     4147  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4148  (exit $ac_status); } && 
     4149         { ac_try='test -z "$ac_c_werror_flag" 
     4150                         || test ! -s conftest.err' 
     4151  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4152  (eval $ac_try) 2>&5 
     4153  ac_status=$? 
     4154  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4155  (exit $ac_status); }; } && 
     4156         { ac_try='test -s conftest$ac_exeext' 
     4157  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4158  (eval $ac_try) 2>&5 
     4159  ac_status=$? 
     4160  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4161  (exit $ac_status); }; }; then 
     4162  ac_cv_lib_tcl8_0_main=yes 
     4163else 
     4164  echo "$as_me: failed program was:" >&5 
     4165sed 's/^/| /' conftest.$ac_ext >&5 
     4166 
     4167ac_cv_lib_tcl8_0_main=no 
     4168fi 
     4169rm -f conftest.err conftest.$ac_objext \ 
     4170      conftest$ac_exeext conftest.$ac_ext 
     4171LIBS=$ac_check_lib_save_LIBS 
     4172fi 
     4173echo "$as_me:$LINENO: result: $ac_cv_lib_tcl8_0_main" >&5 
     4174echo "${ECHO_T}$ac_cv_lib_tcl8_0_main" >&6 
     4175if test $ac_cv_lib_tcl8_0_main = yes; then 
    18644176  V_LIB_TCL="-ltcl8.0" 
    18654177else 
    1866   echo "$ac_t""no" 1>&6 
    1867 V_LIB_TCL="FAIL" 
     4178  V_LIB_TCL="FAIL" 
    18684179fi 
    18694180 
     
    19314242 
    19324243 
     4244 
    19334245# Check whether --with-ucltk or --without-ucltk was given. 
    19344246if test "${with_ucltk+set}" = set; then 
     
    19374249else 
    19384250  ucltk="" 
    1939 fi 
     4251fi; 
    19404252 
    19414253 
     
    19464258else 
    19474259  d="" 
    1948 fi 
    1949  
    1950  
    1951 if test "$ucltk" != no; then 
    1952         if test -z "$ucltk"; then  
     4260fi; 
     4261 
     4262if test "$aquatk" == yes; then 
     4263        V_LIB_TK="-framework Tk" 
     4264        V_LIBRARY_TK=/Library/Frameworks/Tk.framework/Versions/8.4/Resources/Scripts 
     4265        V_INCLUDE_TK="-I/Library/Frameworks/Tk.framework/Headers -I/Library/Frameworks/Tk.framework/PrivateHeaders" 
     4266elif test "$ucltk" != no; then 
     4267        if test -z "$ucltk"; then 
    19534268                # UCL defaults 
    19544269                ucltk=../tk-8.0 
     
    19604275        V_INCLUDE_TK="-I$ucltk/generic" 
    19614276 
    1962         case "$target" in  
     4277        case "$target" in 
    19634278          *-*-freebsd*) 
    19644279                V_LIB_TK="$ucltk/unix/libtk80.a" 
     
    19704285        V_LIBRARY_TK=$ucltk/library 
    19714286        echo "Using UCL's tk-8.0: $ucltk" 
    1972                  
    1973 elif test "$d" != "" ; then  
     4287 
     4288elif test "$d" != "" ; then 
    19744289        echo "Not using UCL tk - You're on your own!" 
    1975         if test ! -d $d ; then  
     4290        if test ! -d $d ; then 
    19764291                echo "'$d' is not a directory" 
    19774292                exit 1 
     
    20124327else 
    20134328        echo "Not using UCL tk - You're on your own!" 
    2014         cat > conftest.$ac_ext <<EOF 
    2015 #line 2016 "configure" 
    2016 #include "confdefs.h" 
     4329        cat >conftest.$ac_ext <<_ACEOF 
     4330/* confdefs.h.  */ 
     4331_ACEOF 
     4332cat confdefs.h >>conftest.$ac_ext 
     4333cat >>conftest.$ac_ext <<_ACEOF 
     4334/* end confdefs.h.  */ 
    20174335#include <tk.h> 
    2018 EOF 
    2019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    2020 { (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    2021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    2022 if test -z "$ac_err"; then 
    2023   rm -rf conftest* 
     4336_ACEOF 
     4337if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4338  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4339  ac_status=$? 
     4340  grep -v '^ *+' conftest.er1 >conftest.err 
     4341  rm -f conftest.er1 
     4342  cat conftest.err >&5 
     4343  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4344  (exit $ac_status); } >/dev/null; then 
     4345  if test -s conftest.err; then 
     4346    ac_cpp_err=$ac_c_preproc_warn_flag 
     4347    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     4348  else 
     4349    ac_cpp_err= 
     4350  fi 
     4351else 
     4352  ac_cpp_err=yes 
     4353fi 
     4354if test -z "$ac_cpp_err"; then 
    20244355  V_INCLUDE_TK="" 
    20254356else 
    2026   echo "$ac_err" >&5 
    2027   echo "configure: failed program was:" >&5 
    2028   cat conftest.$ac_ext >&5 
    2029   rm -rf conftest* 
     4357  echo "$as_me: failed program was:" >&5 
     4358sed 's/^/| /' conftest.$ac_ext >&5 
     4359 
    20304360  V_INCLUDE_TK=FAIL 
    20314361fi 
    2032 rm -f conftest* 
     4362rm -f conftest.err conftest.$ac_ext 
    20334363        if test "$V_INCLUDE_TK" = FAIL; then 
    20344364                echo "checking for tk.h" 
     
    20584388                fi 
    20594389        fi 
    2060         echo $ac_n "checking for main in -ltk8.0""... $ac_c" 1>&6 
    2061 echo "configure:2062: checking for main in -ltk8.0" >&5 
    2062 ac_lib_var=`echo tk8.0'_'main | sed 'y%./+-%__p_%'` 
    2063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    2064   echo $ac_n "(cached) $ac_c" 1>&6 
    2065 else 
    2066   ac_save_LIBS="$LIBS" 
     4390        echo "$as_me:$LINENO: checking for main in -ltk8.0" >&5 
     4391echo $ECHO_N "checking for main in -ltk8.0... $ECHO_C" >&6 
     4392if test "${ac_cv_lib_tk8_0_main+set}" = set; then 
     4393  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4394else 
     4395  ac_check_lib_save_LIBS=$LIBS 
    20674396LIBS="-ltk8.0  $LIBS" 
    2068 cat > conftest.$ac_ext <<EOF 
    2069 #line 2070 "configure" 
    2070 #include "confdefs.h" 
    2071  
    2072 int main() { 
    2073 main() 
    2074 ; return 0; } 
    2075 EOF 
    2076 if { (eval echo configure:2077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    2077   rm -rf conftest* 
    2078   eval "ac_cv_lib_$ac_lib_var=yes" 
    2079 else 
    2080   echo "configure: failed program was:" >&5 
    2081   cat conftest.$ac_ext >&5 
    2082   rm -rf conftest* 
    2083   eval "ac_cv_lib_$ac_lib_var=no" 
    2084 fi 
    2085 rm -f conftest* 
    2086 LIBS="$ac_save_LIBS" 
    2087  
    2088 fi 
    2089 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    2090   echo "$ac_t""yes" 1>&6 
     4397cat >conftest.$ac_ext <<_ACEOF 
     4398/* confdefs.h.  */ 
     4399_ACEOF 
     4400cat confdefs.h >>conftest.$ac_ext 
     4401cat >>conftest.$ac_ext <<_ACEOF 
     4402/* end confdefs.h.  */ 
     4403 
     4404 
     4405int 
     4406main () 
     4407{ 
     4408main (); 
     4409  ; 
     4410  return 0; 
     4411} 
     4412_ACEOF 
     4413rm -f conftest.$ac_objext conftest$ac_exeext 
     4414if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4415  (eval $ac_link) 2>conftest.er1 
     4416  ac_status=$? 
     4417  grep -v '^ *+' conftest.er1 >conftest.err 
     4418  rm -f conftest.er1 
     4419  cat conftest.err >&5 
     4420  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4421  (exit $ac_status); } && 
     4422         { ac_try='test -z "$ac_c_werror_flag" 
     4423                         || test ! -s conftest.err' 
     4424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4425  (eval $ac_try) 2>&5 
     4426  ac_status=$? 
     4427  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4428  (exit $ac_status); }; } && 
     4429         { ac_try='test -s conftest$ac_exeext' 
     4430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4431  (eval $ac_try) 2>&5 
     4432  ac_status=$? 
     4433  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4434  (exit $ac_status); }; }; then 
     4435  ac_cv_lib_tk8_0_main=yes 
     4436else 
     4437  echo "$as_me: failed program was:" >&5 
     4438sed 's/^/| /' conftest.$ac_ext >&5 
     4439 
     4440ac_cv_lib_tk8_0_main=no 
     4441fi 
     4442rm -f conftest.err conftest.$ac_objext \ 
     4443      conftest$ac_exeext conftest.$ac_ext 
     4444LIBS=$ac_check_lib_save_LIBS 
     4445fi 
     4446echo "$as_me:$LINENO: result: $ac_cv_lib_tk8_0_main" >&5 
     4447echo "${ECHO_T}$ac_cv_lib_tk8_0_main" >&6 
     4448if test $ac_cv_lib_tk8_0_main = yes; then 
    20914449  V_LIB_TK="-ltk8.0" 
    20924450else 
    2093   echo "$ac_t""no" 1>&6 
    2094 V_LIB_TK="FAIL" 
     4451  V_LIB_TK="FAIL" 
    20954452fi 
    20964453 
     
    21194476                        fi 
    21204477                done 
    2121                 if test "$V_LIB_TK" = FAIL; then         
     4478                if test "$V_LIB_TK" = FAIL; then 
    21224479                        echo "can't find libtk.a" 
    21234480                        exit 1 
     
    21814538V_LIB_X264="" 
    21824539 
     4540 
    21834541# Check whether --with-aix-shm or --without-aix-shm was given. 
    21844542if test "${with_aix_shm+set}" = set; then 
     
    21874545else 
    21884546  lib="" 
    2189 fi 
    2190  
     4547fi; 
    21914548if test "$lib" != "" ; then 
    21924549        if test ! -r $lib ; then 
     
    21994556fi 
    22004557 
     4558 
    22014559# Check whether --with-qcam or --without-qcam was given. 
    22024560if test "${with_qcam+set}" = set; then 
     
    22054563else 
    22064564  qcamdir="" 
    2207 fi 
    2208  
     4565fi; 
    22094566if test "$qcamdir" != "" -a ! -r $qcamdir/qcam.h ; then 
    22104567        echo "'$dir/qcam.h' does not exist" 
     
    22184575else 
    22194576  ffmpegco="yes" 
    2220 fi 
    2221  
     4577fi; 
    22224578if test "$ffmpegco" = "yes" ; then 
    22234579   echo "checking out ffmpeg from  svn://svn.mplayerhq.hu/ffmpeg/trunk..." 
     
    22354591else 
    22364592  x264co="yes" 
    2237 fi 
    2238  
     4593fi; 
    22394594if test "$x264co" = "yes" ; then 
    22404595   echo "checking out x264 from  svn co svn://svn.videolan.org/x264/trunk..." 
     
    22464601fi 
    22474602 
     4603 
    22484604# Check whether --with-ffmpeginc or --without-ffmpeginc was given. 
    22494605if test "${with_ffmpeginc+set}" = set; then 
     
    22524608else 
    22534609  ffmpeginc="" 
    2254 fi 
     4610fi; 
    22554611 
    22564612# Check whether --with-ffmpeglib or --without-ffmpeglib was given. 
     
    22604616else 
    22614617  ffmpeglib="" 
    2262 fi 
    2263  
     4618fi; 
    22644619 
    22654620if test "$ffmpegco" != "yes"; then 
     
    22784633           echo "checking for FFmpeg headers...yes" 
    22794634           V_INCLUDE="$V_INCLUDE -I$ffmpeginc" 
    2280          
     4635 
    22814636        else 
    22824637 
    2283            ac_safe=`echo "ffmpeg/avcodec.h" | sed 'y%./+-%__p_%'` 
    2284 echo $ac_n "checking for ffmpeg/avcodec.h""... $ac_c" 1>&6 
    2285 echo "configure:2286: checking for ffmpeg/avcodec.h" >&5 
    2286 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    2287   echo $ac_n "(cached) $ac_c" 1>&6 
    2288 else 
    2289   cat > conftest.$ac_ext <<EOF 
    2290 #line 2291 "configure" 
    2291 #include "confdefs.h" 
     4638           if test "${ac_cv_header_ffmpeg_avcodec_h+set}" = set; then 
     4639  echo "$as_me:$LINENO: checking for ffmpeg/avcodec.h" >&5 
     4640echo $ECHO_N "checking for ffmpeg/avcodec.h... $ECHO_C" >&6 
     4641if test "${ac_cv_header_ffmpeg_avcodec_h+set}" = set; then 
     4642  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4643fi 
     4644echo "$as_me:$LINENO: result: $ac_cv_header_ffmpeg_avcodec_h" >&5 
     4645echo "${ECHO_T}$ac_cv_header_ffmpeg_avcodec_h" >&6 
     4646else 
     4647  # Is the header compilable? 
     4648echo "$as_me:$LINENO: checking ffmpeg/avcodec.h usability" >&5 
     4649echo $ECHO_N "checking ffmpeg/avcodec.h usability... $ECHO_C" >&6 
     4650cat >conftest.$ac_ext <<_ACEOF 
     4651/* confdefs.h.  */ 
     4652_ACEOF 
     4653cat confdefs.h >>conftest.$ac_ext 
     4654cat >>conftest.$ac_ext <<_ACEOF 
     4655/* end confdefs.h.  */ 
     4656$ac_includes_default 
    22924657#include <ffmpeg/avcodec.h> 
    2293 EOF 
    2294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    2295 { (eval echo configure:2296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    2296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    2297 if test -z "$ac_err"; then 
    2298   rm -rf conftest* 
    2299   eval "ac_cv_header_$ac_safe=yes" 
    2300 else 
    2301   echo "$ac_err" >&5 
    2302   echo "configure: failed program was:" >&5 
    2303   cat conftest.$ac_ext >&5 
    2304   rm -rf conftest* 
    2305   eval "ac_cv_header_$ac_safe=no" 
    2306 fi 
    2307 rm -f conftest* 
    2308 fi 
    2309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
    2310   echo "$ac_t""yes" 1>&6 
     4658_ACEOF 
     4659rm -f conftest.$ac_objext 
     4660if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4661  (eval $ac_compile) 2>conftest.er1 
     4662  ac_status=$? 
     4663  grep -v '^ *+' conftest.er1 >conftest.err 
     4664  rm -f conftest.er1 
     4665  cat conftest.err >&5 
     4666  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4667  (exit $ac_status); } && 
     4668         { ac_try='test -z "$ac_c_werror_flag" 
     4669                         || test ! -s conftest.err' 
     4670  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4671  (eval $ac_try) 2>&5 
     4672  ac_status=$? 
     4673  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4674  (exit $ac_status); }; } && 
     4675         { ac_try='test -s conftest.$ac_objext' 
     4676  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4677  (eval $ac_try) 2>&5 
     4678  ac_status=$? 
     4679  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4680  (exit $ac_status); }; }; then 
     4681  ac_header_compiler=yes 
     4682else 
     4683  echo "$as_me: failed program was:" >&5 
     4684sed 's/^/| /' conftest.$ac_ext >&5 
     4685 
     4686ac_header_compiler=no 
     4687fi 
     4688rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4689echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4690echo "${ECHO_T}$ac_header_compiler" >&6 
     4691 
     4692# Is the header present? 
     4693echo "$as_me:$LINENO: checking ffmpeg/avcodec.h presence" >&5 
     4694echo $ECHO_N "checking ffmpeg/avcodec.h presence... $ECHO_C" >&6 
     4695cat >conftest.$ac_ext <<_ACEOF 
     4696/* confdefs.h.  */ 
     4697_ACEOF 
     4698cat confdefs.h >>conftest.$ac_ext 
     4699cat >>conftest.$ac_ext <<_ACEOF 
     4700/* end confdefs.h.  */ 
     4701#include <ffmpeg/avcodec.h> 
     4702_ACEOF 
     4703if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4704  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4705  ac_status=$? 
     4706  grep -v '^ *+' conftest.er1 >conftest.err 
     4707  rm -f conftest.er1 
     4708  cat conftest.err >&5 
     4709  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4710  (exit $ac_status); } >/dev/null; then 
     4711  if test -s conftest.err; then 
     4712    ac_cpp_err=$ac_c_preproc_warn_flag 
     4713    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     4714  else 
     4715    ac_cpp_err= 
     4716  fi 
     4717else 
     4718  ac_cpp_err=yes 
     4719fi 
     4720if test -z "$ac_cpp_err"; then 
     4721  ac_header_preproc=yes 
     4722else 
     4723  echo "$as_me: failed program was:" >&5 
     4724sed 's/^/| /' conftest.$ac_ext >&5 
     4725 
     4726  ac_header_preproc=no 
     4727fi 
     4728rm -f conftest.err conftest.$ac_ext 
     4729echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4730echo "${ECHO_T}$ac_header_preproc" >&6 
     4731 
     4732# So?  What about this header? 
     4733case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4734  yes:no: ) 
     4735    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4736echo "$as_me: WARNING: ffmpeg/avcodec.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4737    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h: proceeding with the compiler's result" >&5 
     4738echo "$as_me: WARNING: ffmpeg/avcodec.h: proceeding with the compiler's result" >&2;} 
     4739    ac_header_preproc=yes 
     4740    ;; 
     4741  no:yes:* ) 
     4742    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h: present but cannot be compiled" >&5 
     4743echo "$as_me: WARNING: ffmpeg/avcodec.h: present but cannot be compiled" >&2;} 
     4744    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h:     check for missing prerequisite headers?" >&5 
     4745echo "$as_me: WARNING: ffmpeg/avcodec.h:     check for missing prerequisite headers?" >&2;} 
     4746    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h: see the Autoconf documentation" >&5 
     4747echo "$as_me: WARNING: ffmpeg/avcodec.h: see the Autoconf documentation" >&2;} 
     4748    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h:     section \"Present But Cannot Be Compiled\"" >&5 
     4749echo "$as_me: WARNING: ffmpeg/avcodec.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4750    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h: proceeding with the preprocessor's result" >&5 
     4751echo "$as_me: WARNING: ffmpeg/avcodec.h: proceeding with the preprocessor's result" >&2;} 
     4752    { echo "$as_me:$LINENO: WARNING: ffmpeg/avcodec.h: in the future, the compiler will take precedence" >&5 
     4753echo "$as_me: WARNING: ffmpeg/avcodec.h: in the future, the compiler will take precedence" >&2;} 
     4754    ( 
     4755      cat <<\_ASBOX 
     4756## ------------------------------------------ ## 
     4757## Report this to the AC_PACKAGE_NAME lists.  ## 
     4758## ------------------------------------------ ## 
     4759_ASBOX 
     4760    ) | 
     4761      sed "s/^/$as_me: WARNING:     /" >&2 
     4762    ;; 
     4763esac 
     4764echo "$as_me:$LINENO: checking for ffmpeg/avcodec.h" >&5 
     4765echo $ECHO_N "checking for ffmpeg/avcodec.h... $ECHO_C" >&6 
     4766if test "${ac_cv_header_ffmpeg_avcodec_h+set}" = set; then 
     4767  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4768else 
     4769  ac_cv_header_ffmpeg_avcodec_h=$ac_header_preproc 
     4770fi 
     4771echo "$as_me:$LINENO: result: $ac_cv_header_ffmpeg_avcodec_h" >&5 
     4772echo "${ECHO_T}$ac_cv_header_ffmpeg_avcodec_h" >&6 
     4773 
     4774fi 
     4775if test $ac_cv_header_ffmpeg_avcodec_h = yes; then 
    23114776  : 
    23124777else 
    2313   echo "$ac_t""no" 1>&6 
    23144778 
    23154779                echo "Error! you need to have avcodec.h around." 
    23164780                exit -1 
    2317             
    2318 fi 
    2319  
    2320            ac_safe=`echo "ffmpeg/avutil.h" | sed 'y%./+-%__p_%'` 
    2321 echo $ac_n "checking for ffmpeg/avutil.h""... $ac_c" 1>&6 
    2322 echo "configure:2323: checking for ffmpeg/avutil.h" >&5 
    2323 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    2324   echo $ac_n "(cached) $ac_c" 1>&6 
    2325 else 
    2326   cat > conftest.$ac_ext <<EOF 
    2327 #line 2328 "configure" 
    2328 #include "confdefs.h" 
     4781 
     4782fi 
     4783 
     4784 
     4785           if test "${ac_cv_header_ffmpeg_avutil_h+set}" = set; then 
     4786  echo "$as_me:$LINENO: checking for ffmpeg/avutil.h" >&5 
     4787echo $ECHO_N "checking for ffmpeg/avutil.h... $ECHO_C" >&6 
     4788if test "${ac_cv_header_ffmpeg_avutil_h+set}" = set; then 
     4789  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4790fi 
     4791echo "$as_me:$LINENO: result: $ac_cv_header_ffmpeg_avutil_h" >&5 
     4792echo "${ECHO_T}$ac_cv_header_ffmpeg_avutil_h" >&6 
     4793else 
     4794  # Is the header compilable? 
     4795echo "$as_me:$LINENO: checking ffmpeg/avutil.h usability" >&5 
     4796echo $ECHO_N "checking ffmpeg/avutil.h usability... $ECHO_C" >&6 
     4797cat >conftest.$ac_ext <<_ACEOF 
     4798/* confdefs.h.  */ 
     4799_ACEOF 
     4800cat confdefs.h >>conftest.$ac_ext 
     4801cat >>conftest.$ac_ext <<_ACEOF 
     4802/* end confdefs.h.  */ 
     4803$ac_includes_default 
    23294804#include <ffmpeg/avutil.h> 
    2330 EOF 
    2331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    2332 { (eval echo configure:2333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    2333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    2334 if test -z "$ac_err"; then 
    2335   rm -rf conftest* 
    2336   eval "ac_cv_header_$ac_safe=yes" 
    2337 else 
    2338   echo "$ac_err" >&5 
    2339   echo "configure: failed program was:" >&5 
    2340   cat conftest.$ac_ext >&5 
    2341   rm -rf conftest* 
    2342   eval "ac_cv_header_$ac_safe=no" 
    2343 fi 
    2344 rm -f conftest* 
    2345 fi 
    2346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
    2347   echo "$ac_t""yes" 1>&6 
     4805_ACEOF 
     4806rm -f conftest.$ac_objext 
     4807if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4808  (eval $ac_compile) 2>conftest.er1 
     4809  ac_status=$? 
     4810  grep -v '^ *+' conftest.er1 >conftest.err 
     4811  rm -f conftest.er1 
     4812  cat conftest.err >&5 
     4813  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4814  (exit $ac_status); } && 
     4815         { ac_try='test -z "$ac_c_werror_flag" 
     4816                         || test ! -s conftest.err' 
     4817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4818  (eval $ac_try) 2>&5 
     4819  ac_status=$? 
     4820  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4821  (exit $ac_status); }; } && 
     4822         { ac_try='test -s conftest.$ac_objext' 
     4823  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4824  (eval $ac_try) 2>&5 
     4825  ac_status=$? 
     4826  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4827  (exit $ac_status); }; }; then 
     4828  ac_header_compiler=yes 
     4829else 
     4830  echo "$as_me: failed program was:" >&5 
     4831sed 's/^/| /' conftest.$ac_ext >&5 
     4832 
     4833ac_header_compiler=no 
     4834fi 
     4835rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4836echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4837echo "${ECHO_T}$ac_header_compiler" >&6 
     4838 
     4839# Is the header present? 
     4840echo "$as_me:$LINENO: checking ffmpeg/avutil.h presence" >&5 
     4841echo $ECHO_N "checking ffmpeg/avutil.h presence... $ECHO_C" >&6 
     4842cat >conftest.$ac_ext <<_ACEOF 
     4843/* confdefs.h.  */ 
     4844_ACEOF 
     4845cat confdefs.h >>conftest.$ac_ext 
     4846cat >>conftest.$ac_ext <<_ACEOF 
     4847/* end confdefs.h.  */ 
     4848#include <ffmpeg/avutil.h> 
     4849_ACEOF 
     4850if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4851  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4852  ac_status=$? 
     4853  grep -v '^ *+' conftest.er1 >conftest.err 
     4854  rm -f conftest.er1 
     4855  cat conftest.err >&5 
     4856  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4857  (exit $ac_status); } >/dev/null; then 
     4858  if test -s conftest.err; then 
     4859    ac_cpp_err=$ac_c_preproc_warn_flag 
     4860    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     4861  else 
     4862    ac_cpp_err= 
     4863  fi 
     4864else 
     4865  ac_cpp_err=yes 
     4866fi 
     4867if test -z "$ac_cpp_err"; then 
     4868  ac_header_preproc=yes 
     4869else 
     4870  echo "$as_me: failed program was:" >&5 
     4871sed 's/^/| /' conftest.$ac_ext >&5 
     4872 
     4873  ac_header_preproc=no 
     4874fi 
     4875rm -f conftest.err conftest.$ac_ext 
     4876echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4877echo "${ECHO_T}$ac_header_preproc" >&6 
     4878 
     4879# So?  What about this header? 
     4880case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4881  yes:no: ) 
     4882    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     4883echo "$as_me: WARNING: ffmpeg/avutil.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4884    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h: proceeding with the compiler's result" >&5 
     4885echo "$as_me: WARNING: ffmpeg/avutil.h: proceeding with the compiler's result" >&2;} 
     4886    ac_header_preproc=yes 
     4887    ;; 
     4888  no:yes:* ) 
     4889    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h: present but cannot be compiled" >&5 
     4890echo "$as_me: WARNING: ffmpeg/avutil.h: present but cannot be compiled" >&2;} 
     4891    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h:     check for missing prerequisite headers?" >&5 
     4892echo "$as_me: WARNING: ffmpeg/avutil.h:     check for missing prerequisite headers?" >&2;} 
     4893    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h: see the Autoconf documentation" >&5 
     4894echo "$as_me: WARNING: ffmpeg/avutil.h: see the Autoconf documentation" >&2;} 
     4895    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h:     section \"Present But Cannot Be Compiled\"" >&5 
     4896echo "$as_me: WARNING: ffmpeg/avutil.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4897    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h: proceeding with the preprocessor's result" >&5 
     4898echo "$as_me: WARNING: ffmpeg/avutil.h: proceeding with the preprocessor's result" >&2;} 
     4899    { echo "$as_me:$LINENO: WARNING: ffmpeg/avutil.h: in the future, the compiler will take precedence" >&5 
     4900echo "$as_me: WARNING: ffmpeg/avutil.h: in the future, the compiler will take precedence" >&2;} 
     4901    ( 
     4902      cat <<\_ASBOX 
     4903## ------------------------------------------ ## 
     4904## Report this to the AC_PACKAGE_NAME lists.  ## 
     4905## ------------------------------------------ ## 
     4906_ASBOX 
     4907    ) | 
     4908      sed "s/^/$as_me: WARNING:     /" >&2 
     4909    ;; 
     4910esac 
     4911echo "$as_me:$LINENO: checking for ffmpeg/avutil.h" >&5 
     4912echo $ECHO_N "checking for ffmpeg/avutil.h... $ECHO_C" >&6 
     4913if test "${ac_cv_header_ffmpeg_avutil_h+set}" = set; then 
     4914  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4915else 
     4916  ac_cv_header_ffmpeg_avutil_h=$ac_header_preproc 
     4917fi 
     4918echo "$as_me:$LINENO: result: $ac_cv_header_ffmpeg_avutil_h" >&5 
     4919echo "${ECHO_T}$ac_cv_header_ffmpeg_avutil_h" >&6 
     4920 
     4921fi 
     4922if test $ac_cv_header_ffmpeg_avutil_h = yes; then 
    23484923  : 
    23494924else 
    2350   echo "$ac_t""no" 1>&6 
    23514925 
    23524926                echo "Error! you need to have avutil.h around." 
    23534927                exit -1 
    2354             
    2355 fi 
    2356  
    2357            ac_safe=`echo "ffmpeg/swscale.h" | sed 'y%./+-%__p_%'` 
    2358 echo $ac_n "checking for ffmpeg/swscale.h""... $ac_c" 1>&6 
    2359 echo "configure:2360: checking for ffmpeg/swscale.h" >&5 
    2360 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    2361   echo $ac_n "(cached) $ac_c" 1>&6 
    2362 else 
    2363   cat > conftest.$ac_ext <<EOF 
    2364 #line 2365 "configure" 
    2365 #include "confdefs.h" 
     4928 
     4929fi 
     4930 
     4931 
     4932           if test "${ac_cv_header_ffmpeg_swscale_h+set}" = set; then 
     4933  echo "$as_me:$LINENO: checking for ffmpeg/swscale.h" >&5 
     4934echo $ECHO_N "checking for ffmpeg/swscale.h... $ECHO_C" >&6 
     4935if test "${ac_cv_header_ffmpeg_swscale_h+set}" = set; then 
     4936  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4937fi 
     4938echo "$as_me:$LINENO: result: $ac_cv_header_ffmpeg_swscale_h" >&5 
     4939echo "${ECHO_T}$ac_cv_header_ffmpeg_swscale_h" >&6 
     4940else 
     4941  # Is the header compilable? 
     4942echo "$as_me:$LINENO: checking ffmpeg/swscale.h usability" >&5 
     4943echo $ECHO_N "checking ffmpeg/swscale.h usability... $ECHO_C" >&6 
     4944cat >conftest.$ac_ext <<_ACEOF 
     4945/* confdefs.h.  */ 
     4946_ACEOF 
     4947cat confdefs.h >>conftest.$ac_ext 
     4948cat >>conftest.$ac_ext <<_ACEOF 
     4949/* end confdefs.h.  */ 
     4950$ac_includes_default 
    23664951#include <ffmpeg/swscale.h> 
    2367 EOF 
    2368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    2369 { (eval echo configure:2370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    2370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    2371 if test -z "$ac_err"; then 
    2372   rm -rf conftest* 
    2373   eval "ac_cv_header_$ac_safe=yes" 
    2374 else 
    2375   echo "$ac_err" >&5 
    2376   echo "configure: failed program was:" >&5 
    2377   cat conftest.$ac_ext >&5 
    2378   rm -rf conftest* 
    2379   eval "ac_cv_header_$ac_safe=no" 
    2380 fi 
    2381 rm -f conftest* 
    2382 fi 
    2383 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
    2384   echo "$ac_t""yes" 1>&6 
     4952_ACEOF 
     4953rm -f conftest.$ac_objext 
     4954if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4955  (eval $ac_compile) 2>conftest.er1 
     4956  ac_status=$? 
     4957  grep -v '^ *+' conftest.er1 >conftest.err 
     4958  rm -f conftest.er1 
     4959  cat conftest.err >&5 
     4960  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4961  (exit $ac_status); } && 
     4962         { ac_try='test -z "$ac_c_werror_flag" 
     4963                         || test ! -s conftest.err' 
     4964  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4965  (eval $ac_try) 2>&5 
     4966  ac_status=$? 
     4967  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4968  (exit $ac_status); }; } && 
     4969         { ac_try='test -s conftest.$ac_objext' 
     4970  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4971  (eval $ac_try) 2>&5 
     4972  ac_status=$? 
     4973  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4974  (exit $ac_status); }; }; then 
     4975  ac_header_compiler=yes 
     4976else 
     4977  echo "$as_me: failed program was:" >&5 
     4978sed 's/^/| /' conftest.$ac_ext >&5 
     4979 
     4980ac_header_compiler=no 
     4981fi 
     4982rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4983echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4984echo "${ECHO_T}$ac_header_compiler" >&6 
     4985 
     4986# Is the header present? 
     4987echo "$as_me:$LINENO: checking ffmpeg/swscale.h presence" >&5 
     4988echo $ECHO_N "checking ffmpeg/swscale.h presence... $ECHO_C" >&6 
     4989cat >conftest.$ac_ext <<_ACEOF 
     4990/* confdefs.h.  */ 
     4991_ACEOF 
     4992cat confdefs.h >>conftest.$ac_ext 
     4993cat >>conftest.$ac_ext <<_ACEOF 
     4994/* end confdefs.h.  */ 
     4995#include <ffmpeg/swscale.h> 
     4996_ACEOF 
     4997if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4998  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4999  ac_status=$? 
     5000  grep -v '^ *+' conftest.er1 >conftest.err 
     5001  rm -f conftest.er1 
     5002  cat conftest.err >&5 
     5003  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5004  (exit $ac_status); } >/dev/null; then 
     5005  if test -s conftest.err; then 
     5006    ac_cpp_err=$ac_c_preproc_warn_flag 
     5007    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     5008  else 
     5009    ac_cpp_err= 
     5010  fi 
     5011else 
     5012  ac_cpp_err=yes 
     5013fi 
     5014if test -z "$ac_cpp_err"; then 
     5015  ac_header_preproc=yes 
     5016else 
     5017  echo "$as_me: failed program was:" >&5 
     5018sed 's/^/| /' conftest.$ac_ext >&5 
     5019 
     5020  ac_header_preproc=no 
     5021fi 
     5022rm -f conftest.err conftest.$ac_ext 
     5023echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     5024echo "${ECHO_T}$ac_header_preproc" >&6 
     5025 
     5026# So?  What about this header? 
     5027case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     5028  yes:no: ) 
     5029    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     5030echo "$as_me: WARNING: ffmpeg/swscale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     5031    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h: proceeding with the compiler's result" >&5 
     5032echo "$as_me: WARNING: ffmpeg/swscale.h: proceeding with the compiler's result" >&2;} 
     5033    ac_header_preproc=yes 
     5034    ;; 
     5035  no:yes:* ) 
     5036    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h: present but cannot be compiled" >&5 
     5037echo "$as_me: WARNING: ffmpeg/swscale.h: present but cannot be compiled" >&2;} 
     5038    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h:     check for missing prerequisite headers?" >&5 
     5039echo "$as_me: WARNING: ffmpeg/swscale.h:     check for missing prerequisite headers?" >&2;} 
     5040    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h: see the Autoconf documentation" >&5 
     5041echo "$as_me: WARNING: ffmpeg/swscale.h: see the Autoconf documentation" >&2;} 
     5042    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h:     section \"Present But Cannot Be Compiled\"" >&5 
     5043echo "$as_me: WARNING: ffmpeg/swscale.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     5044    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h: proceeding with the preprocessor's result" >&5 
     5045echo "$as_me: WARNING: ffmpeg/swscale.h: proceeding with the preprocessor's result" >&2;} 
     5046    { echo "$as_me:$LINENO: WARNING: ffmpeg/swscale.h: in the future, the compiler will take precedence" >&5 
     5047echo "$as_me: WARNING: ffmpeg/swscale.h: in the future, the compiler will take precedence" >&2;} 
     5048    ( 
     5049      cat <<\_ASBOX 
     5050## ------------------------------------------ ## 
     5051## Report this to the AC_PACKAGE_NAME lists.  ## 
     5052## ------------------------------------------ ## 
     5053_ASBOX 
     5054    ) | 
     5055      sed "s/^/$as_me: WARNING:     /" >&2 
     5056    ;; 
     5057esac 
     5058echo "$as_me:$LINENO: checking for ffmpeg/swscale.h" >&5 
     5059echo $ECHO_N "checking for ffmpeg/swscale.h... $ECHO_C" >&6 
     5060if test "${ac_cv_header_ffmpeg_swscale_h+set}" = set; then 
     5061  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5062else 
     5063  ac_cv_header_ffmpeg_swscale_h=$ac_header_preproc 
     5064fi 
     5065echo "$as_me:$LINENO: result: $ac_cv_header_ffmpeg_swscale_h" >&5 
     5066echo "${ECHO_T}$ac_cv_header_ffmpeg_swscale_h" >&6 
     5067 
     5068fi 
     5069if test $ac_cv_header_ffmpeg_swscale_h = yes; then 
    23855070  : 
    23865071else 
    2387   echo "$ac_t""no" 1>&6 
    23885072 
    23895073                echo "Error! you need to have swscale.h around." 
    23905074                exit -1 
    2391             
    2392 fi 
     5075 
     5076fi 
     5077 
    23935078 
    23945079        fi 
     
    24045089           V_LIB_FFMPEG="-L$ffmpeglib -lavcodec -lavutil -lswscale" 
    24055090        else 
    2406            echo $ac_n "checking for main in -lavcodec""... $ac_c" 1>&6 
    2407 echo "configure:2408: checking for main in -lavcodec" >&5 
    2408 ac_lib_var=`echo avcodec'_'main | sed 'y%./+-%__p_%'` 
    2409 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    2410   echo $ac_n "(cached) $ac_c" 1>&6 
    2411 else 
    2412   ac_save_LIBS="$LIBS" 
     5091 
     5092echo "$as_me:$LINENO: checking for main in -lavcodec" >&5 
     5093echo $ECHO_N "checking for main in -lavcodec... $ECHO_C" >&6 
     5094if test "${ac_cv_lib_avcodec_main+set}" = set; then 
     5095  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5096else 
     5097  ac_check_lib_save_LIBS=$LIBS 
    24135098LIBS="-lavcodec  $LIBS" 
    2414 cat > conftest.$ac_ext <<EOF 
    2415 #line 2416 "configure" 
    2416 #include "confdefs.h" 
    2417  
    2418 int main() { 
    2419 main() 
    2420 ; return 0; } 
    2421 EOF 
    2422 if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    2423   rm -rf conftest* 
    2424   eval "ac_cv_lib_$ac_lib_var=yes" 
    2425 else 
    2426   echo "configure: failed program was:" >&5 
    2427   cat conftest.$ac_ext >&5 
    2428   rm -rf conftest* 
    2429   eval "ac_cv_lib_$ac_lib_var=no" 
    2430 fi 
    2431 rm -f conftest* 
    2432 LIBS="$ac_save_LIBS" 
    2433  
    2434 fi 
    2435 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    2436   echo "$ac_t""yes" 1>&6 
    2437     ac_tr_lib=HAVE_LIB`echo avcodec | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 
    2438     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 
    2439   cat >> confdefs.h <<EOF 
    2440 #define $ac_tr_lib 1 
    2441 EOF 
     5099cat >conftest.$ac_ext <<_ACEOF 
     5100/* confdefs.h.  */ 
     5101_ACEOF 
     5102cat confdefs.h >>conftest.$ac_ext 
     5103cat >>conftest.$ac_ext <<_ACEOF 
     5104/* end confdefs.h.  */ 
     5105 
     5106 
     5107int 
     5108main () 
     5109{ 
     5110main (); 
     5111  ; 
     5112  return 0; 
     5113} 
     5114_ACEOF 
     5115rm -f conftest.$ac_objext conftest$ac_exeext 
     5116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     5117  (eval $ac_link) 2>conftest.er1 
     5118  ac_status=$? 
     5119  grep -v '^ *+' conftest.er1 >conftest.err 
     5120  rm -f conftest.er1 
     5121  cat conftest.err >&5 
     5122  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5123  (exit $ac_status); } && 
     5124         { ac_try='test -z "$ac_c_werror_flag" 
     5125                         || test ! -s conftest.err' 
     5126  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5127  (eval $ac_try) 2>&5 
     5128  ac_status=$? 
     5129  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5130  (exit $ac_status); }; } && 
     5131         { ac_try='test -s conftest$ac_exeext' 
     5132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5133  (eval $ac_try) 2>&5 
     5134  ac_status=$? 
     5135  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5136  (exit $ac_status); }; }; then 
     5137  ac_cv_lib_avcodec_main=yes 
     5138else 
     5139  echo "$as_me: failed program was:" >&5 
     5140sed 's/^/| /' conftest.$ac_ext >&5 
     5141 
     5142ac_cv_lib_avcodec_main=no 
     5143fi 
     5144rm -f conftest.err conftest.$ac_objext \ 
     5145      conftest$ac_exeext conftest.$ac_ext 
     5146LIBS=$ac_check_lib_save_LIBS 
     5147fi 
     5148echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5 
     5149echo "${ECHO_T}$ac_cv_lib_avcodec_main" >&6 
     5150if test $ac_cv_lib_avcodec_main = yes; then 
     5151  cat >>confdefs.h <<_ACEOF 
     5152#define HAVE_LIBAVCODEC 1 
     5153_ACEOF 
    24425154 
    24435155  LIBS="-lavcodec $LIBS" 
    24445156 
    24455157else 
    2446   echo "$ac_t""no" 1>&6 
    24475158 
    24485159                echo "Error! you need to have libavcodec around." 
    24495160                exit -1 
    2450             
    2451 fi 
    2452  
    2453            echo $ac_n "checking for main in -lavutil""... $ac_c" 1>&6 
    2454 echo "configure:2455: checking for main in -lavutil" >&5 
    2455 ac_lib_var=`echo avutil'_'main | sed 'y%./+-%__p_%'` 
    2456 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    2457   echo $ac_n "(cached) $ac_c" 1>&6 
    2458 else 
    2459   ac_save_LIBS="$LIBS" 
     5161 
     5162fi 
     5163 
     5164 
     5165echo "$as_me:$LINENO: checking for main in -lavutil" >&5 
     5166echo $ECHO_N "checking for main in -lavutil... $ECHO_C" >&6 
     5167if test "${ac_cv_lib_avutil_main+set}" = set; then 
     5168  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5169else 
     5170  ac_check_lib_save_LIBS=$LIBS 
    24605171LIBS="-lavutil  $LIBS" 
    2461 cat > conftest.$ac_ext <<EOF 
    2462 #line 2463 "configure" 
    2463 #include "confdefs.h" 
    2464  
    2465 int main() { 
    2466 main() 
    2467 ; return 0; } 
    2468 EOF 
    2469 if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    2470   rm -rf conftest* 
    2471   eval "ac_cv_lib_$ac_lib_var=yes" 
    2472 else 
    2473   echo "configure: failed program was:" >&5 
    2474   cat conftest.$ac_ext >&5 
    2475   rm -rf conftest* 
    2476   eval "ac_cv_lib_$ac_lib_var=no" 
    2477 fi 
    2478 rm -f conftest* 
    2479 LIBS="$ac_save_LIBS" 
    2480  
    2481 fi 
    2482 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    2483   echo "$ac_t""yes" 1>&6 
    2484     ac_tr_lib=HAVE_LIB`echo avutil | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 
    2485     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 
    2486   cat >> confdefs.h <<EOF 
    2487 #define $ac_tr_lib 1 
    2488 EOF 
     5172cat >conftest.$ac_ext <<_ACEOF 
     5173/* confdefs.h.  */ 
     5174_ACEOF 
     5175cat confdefs.h >>conftest.$ac_ext 
     5176cat >>conftest.$ac_ext <<_ACEOF 
     5177/* end confdefs.h.  */ 
     5178 
     5179 
     5180int 
     5181main () 
     5182{ 
     5183main (); 
     5184  ; 
     5185  return 0; 
     5186} 
     5187_ACEOF 
     5188rm -f conftest.$ac_objext conftest$ac_exeext 
     5189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     5190  (eval $ac_link) 2>conftest.er1 
     5191  ac_status=$? 
     5192  grep -v '^ *+' conftest.er1 >conftest.err 
     5193  rm -f conftest.er1 
     5194  cat conftest.err >&5 
     5195  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5196  (exit $ac_status); } && 
     5197         { ac_try='test -z "$ac_c_werror_flag" 
     5198                         || test ! -s conftest.err' 
     5199  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5200  (eval $ac_try) 2>&5 
     5201  ac_status=$? 
     5202  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5203  (exit $ac_status); }; } && 
     5204         { ac_try='test -s conftest$ac_exeext' 
     5205  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5206  (eval $ac_try) 2>&5 
     5207  ac_status=$? 
     5208  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5209  (exit $ac_status); }; }; then 
     5210  ac_cv_lib_avutil_main=yes 
     5211else 
     5212  echo "$as_me: failed program was:" >&5 
     5213sed 's/^/| /' conftest.$ac_ext >&5 
     5214 
     5215ac_cv_lib_avutil_main=no 
     5216fi 
     5217rm -f conftest.err conftest.$ac_objext \ 
     5218      conftest$ac_exeext conftest.$ac_ext 
     5219LIBS=$ac_check_lib_save_LIBS 
     5220fi 
     5221echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5 
     5222echo "${ECHO_T}$ac_cv_lib_avutil_main" >&6 
     5223if test $ac_cv_lib_avutil_main = yes; then 
     5224  cat >>confdefs.h <<_ACEOF 
     5225#define HAVE_LIBAVUTIL 1 
     5226_ACEOF 
    24895227 
    24905228  LIBS="-lavutil $LIBS" 
    24915229 
    24925230else 
    2493   echo "$ac_t""no" 1>&6 
    24945231 
    24955232                echo "Error! you need to have libavutil around." 
    24965233                exit -1 
    2497             
    2498 fi 
    2499  
    2500            echo $ac_n "checking for main in -lswscale""... $ac_c" 1>&6 
    2501 echo "configure:2502: checking for main in -lswscale" >&5 
    2502 ac_lib_var=`echo swscale'_'main | sed 'y%./+-%__p_%'` 
    2503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    2504   echo $ac_n "(cached) $ac_c" 1>&6 
    2505 else 
    2506   ac_save_LIBS="$LIBS" 
     5234 
     5235fi 
     5236 
     5237 
     5238echo "$as_me:$LINENO: checking for main in -lswscale" >&5 
     5239echo $ECHO_N "checking for main in -lswscale... $ECHO_C" >&6 
     5240if test "${ac_cv_lib_swscale_main+set}" = set; then 
     5241  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5242else 
     5243  ac_check_lib_save_LIBS=$LIBS 
    25075244LIBS="-lswscale  $LIBS" 
    2508 cat > conftest.$ac_ext <<EOF 
    2509 #line 2510 "configure" 
    2510 #include "confdefs.h" 
    2511  
    2512 int main() { 
    2513 main() 
    2514 ; return 0; } 
    2515 EOF 
    2516 if { (eval echo configure:2517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    2517   rm -rf conftest* 
    2518   eval "ac_cv_lib_$ac_lib_var=yes" 
    2519 else 
    2520   echo "configure: failed program was:" >&5 
    2521   cat conftest.$ac_ext >&5 
    2522   rm -rf conftest* 
    2523   eval "ac_cv_lib_$ac_lib_var=no" 
    2524 fi 
    2525 rm -f conftest* 
    2526 LIBS="$ac_save_LIBS" 
    2527  
    2528 fi 
    2529 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    2530   echo "$ac_t""yes" 1>&6 
    2531     ac_tr_lib=HAVE_LIB`echo swscale | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 
    2532     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 
    2533   cat >> confdefs.h <<EOF 
    2534 #define $ac_tr_lib 1 
    2535 EOF 
     5245cat >conftest.$ac_ext <<_ACEOF 
     5246/* confdefs.h.  */ 
     5247_ACEOF 
     5248cat confdefs.h >>conftest.$ac_ext 
     5249cat >>conftest.$ac_ext <<_ACEOF 
     5250/* end confdefs.h.  */ 
     5251 
     5252 
     5253int 
     5254main () 
     5255{ 
     5256main (); 
     5257  ; 
     5258  return 0; 
     5259} 
     5260_ACEOF 
     5261rm -f conftest.$ac_objext conftest$ac_exeext 
     5262if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     5263  (eval $ac_link) 2>conftest.er1 
     5264  ac_status=$? 
     5265  grep -v '^ *+' conftest.er1 >conftest.err 
     5266  rm -f conftest.er1 
     5267  cat conftest.err >&5 
     5268  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5269  (exit $ac_status); } && 
     5270         { ac_try='test -z "$ac_c_werror_flag" 
     5271                         || test ! -s conftest.err' 
     5272  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5273  (eval $ac_try) 2>&5 
     5274  ac_status=$? 
     5275  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5276  (exit $ac_status); }; } && 
     5277         { ac_try='test -s conftest$ac_exeext' 
     5278  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5279  (eval $ac_try) 2>&5 
     5280  ac_status=$? 
     5281  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5282  (exit $ac_status); }; }; then 
     5283  ac_cv_lib_swscale_main=yes 
     5284else 
     5285  echo "$as_me: failed program was:" >&5 
     5286sed 's/^/| /' conftest.$ac_ext >&5 
     5287 
     5288ac_cv_lib_swscale_main=no 
     5289fi 
     5290rm -f conftest.err conftest.$ac_objext \ 
     5291      conftest$ac_exeext conftest.$ac_ext 
     5292LIBS=$ac_check_lib_save_LIBS 
     5293fi 
     5294echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5 
     5295echo "${ECHO_T}$ac_cv_lib_swscale_main" >&6 
     5296if test $ac_cv_lib_swscale_main = yes; then 
     5297  cat >>confdefs.h <<_ACEOF 
     5298#define HAVE_LIBSWSCALE 1 
     5299_ACEOF 
    25365300 
    25375301  LIBS="-lswscale $LIBS" 
    25385302 
    25395303else 
    2540   echo "$ac_t""no" 1>&6 
    25415304 
    25425305                echo "Error! you need to have libswscale around." 
    25435306                exit -1 
    2544             
     5307 
    25455308fi 
    25465309 
    25475310           V_LIB_FFMPEG="-lavcodec -lavutil -lswscale" 
    25485311        fi 
    2549 fi  
     5312fi 
     5313 
    25505314 
    25515315# Check whether --with-x264inc or --without-x264inc was given. 
     
    25555319else 
    25565320  x264inc="" 
    2557 fi 
     5321fi; 
    25585322 
    25595323# Check whether --with-x264lib or --without-x264lib was given. 
     
    25635327else 
    25645328  x264lib="" 
    2565 fi 
    2566  
    2567 if test "x264co" != "yes" ; then 
     5329fi; 
     5330if test "$x264co" != "yes" ; then 
    25685331        if test "$x264inc" != "" ; then 
    25695332           if test ! -r $x264inc/x264.h ; then 
     
    25865349           V_LIB_X264="-L$x264lib -lx264" 
    25875350        else 
    2588            echo $ac_n "checking for main in -lx264""... $ac_c" 1>&6 
    2589 echo "configure:2590: checking for main in -lx264" >&5 
    2590 ac_lib_var=`echo x264'_'main | sed 'y%./+-%__p_%'` 
    2591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    2592   echo $ac_n "(cached) $ac_c" 1>&6 
    2593 else 
    2594   ac_save_LIBS="$LIBS" 
     5351 
     5352echo "$as_me:$LINENO: checking for main in -lx264" >&5 
     5353echo $ECHO_N "checking for main in -lx264... $ECHO_C" >&6 
     5354if test "${ac_cv_lib_x264_main+set}" = set; then 
     5355  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5356else 
     5357  ac_check_lib_save_LIBS=$LIBS 
    25955358LIBS="-lx264  $LIBS" 
    2596 cat > conftest.$ac_ext <<EOF 
    2597 #line 2598 "configure" 
    2598 #include "confdefs.h" 
    2599  
    2600 int main() { 
    2601 main() 
    2602 ; return 0; } 
    2603 EOF 
    2604 if { (eval echo configure:2605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    2605   rm -rf conftest* 
    2606   eval "ac_cv_lib_$ac_lib_var=yes" 
    2607 else 
    2608   echo "configure: failed program was:" >&5 
    2609   cat conftest.$ac_ext >&5 
    2610   rm -rf conftest* 
    2611   eval "ac_cv_lib_$ac_lib_var=no" 
    2612 fi 
    2613 rm -f conftest* 
    2614 LIBS="$ac_save_LIBS" 
    2615  
    2616 fi 
    2617 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    2618   echo "$ac_t""yes" 1>&6 
    2619     ac_tr_lib=HAVE_LIB`echo x264 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 
    2620     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 
    2621   cat >> confdefs.h <<EOF 
    2622 #define $ac_tr_lib 1 
    2623 EOF 
     5359cat >conftest.$ac_ext <<_ACEOF 
     5360/* confdefs.h.  */ 
     5361_ACEOF 
     5362cat confdefs.h >>conftest.$ac_ext 
     5363cat >>conftest.$ac_ext <<_ACEOF 
     5364/* end confdefs.h.  */ 
     5365 
     5366 
     5367int 
     5368main () 
     5369{ 
     5370main (); 
     5371  ; 
     5372  return 0; 
     5373} 
     5374_ACEOF 
     5375rm -f conftest.$ac_objext conftest$ac_exeext 
     5376if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     5377  (eval $ac_link) 2>conftest.er1 
     5378  ac_status=$? 
     5379  grep -v '^ *+' conftest.er1 >conftest.err 
     5380  rm -f conftest.er1 
     5381  cat conftest.err >&5 
     5382  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5383  (exit $ac_status); } && 
     5384         { ac_try='test -z "$ac_c_werror_flag" 
     5385                         || test ! -s conftest.err' 
     5386  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5387  (eval $ac_try) 2>&5 
     5388  ac_status=$? 
     5389  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5390  (exit $ac_status); }; } && 
     5391         { ac_try='test -s conftest$ac_exeext' 
     5392  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5393  (eval $ac_try) 2>&5 
     5394  ac_status=$? 
     5395  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5396  (exit $ac_status); }; }; then 
     5397  ac_cv_lib_x264_main=yes 
     5398else 
     5399  echo "$as_me: failed program was:" >&5 
     5400sed 's/^/| /' conftest.$ac_ext >&5 
     5401 
     5402ac_cv_lib_x264_main=no 
     5403fi 
     5404rm -f conftest.err conftest.$ac_objext \ 
     5405      conftest$ac_exeext conftest.$ac_ext 
     5406LIBS=$ac_check_lib_save_LIBS 
     5407fi 
     5408echo "$as_me:$LINENO: result: $ac_cv_lib_x264_main" >&5 
     5409echo "${ECHO_T}$ac_cv_lib_x264_main" >&6 
     5410if test $ac_cv_lib_x264_main = yes; then 
     5411  cat >>confdefs.h <<_ACEOF 
     5412#define HAVE_LIBX264 1 
     5413_ACEOF 
    26245414 
    26255415  LIBS="-lx264 $LIBS" 
    26265416 
    26275417else 
    2628   echo "$ac_t""no" 1>&6 
    26295418 
    26305419                echo "Error! you need to have libx264 around." 
    26315420                exit -1 
    2632             
     5421 
    26335422fi 
    26345423 
     
    26445433else 
    26455434  cpudetect="yes" 
    2646 fi 
    2647  
     5435fi; 
    26485436if test "$arch" = "x86_32" -o "$arch" = "x86_64"; then 
    26495437  if test "$cpudetect" = "yes"; then 
     
    26625450else 
    26635451  h261as=yes 
    2664 fi 
    2665  
     5452fi; 
    26665453if test "$h261as" = "yes"; then 
    26675454   V_OBJ="$V_OBJ codec/p64/p64as.o codec/decoder-h261as.o codec/encoder-h261as.o" 
     
    26765463else 
    26775464  dvdecode=no 
    2678 fi 
    2679  
     5465fi; 
    26805466if test "$dvdecode" = "yes"; then 
    2681    echo $ac_n "checking for main in -ldv""... $ac_c" 1>&6 
    2682 echo "configure:2683: checking for main in -ldv" >&5 
    2683 ac_lib_var=`echo dv'_'main | sed 'y%./+-%__p_%'` 
    2684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    2685   echo $ac_n "(cached) $ac_c" 1>&6 
    2686 else 
    2687   ac_save_LIBS="$LIBS" 
     5467 
     5468echo "$as_me:$LINENO: checking for main in -ldv" >&5 
     5469echo $ECHO_N "checking for main in -ldv... $ECHO_C" >&6 
     5470if test "${ac_cv_lib_dv_main+set}" = set; then 
     5471  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5472else 
     5473  ac_check_lib_save_LIBS=$LIBS 
    26885474LIBS="-ldv  $LIBS" 
    2689 cat > conftest.$ac_ext <<EOF 
    2690 #line 2691 "configure" 
    2691 #include "confdefs.h" 
    2692  
    2693 int main() { 
    2694 main() 
    2695 ; return 0; } 
    2696 EOF 
    2697 if { (eval echo configure:2698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    2698   rm -rf conftest* 
    2699   eval "ac_cv_lib_$ac_lib_var=yes" 
    2700 else 
    2701   echo "configure: failed program was:" >&5 
    2702   cat conftest.$ac_ext >&5 
    2703   rm -rf conftest* 
    2704   eval "ac_cv_lib_$ac_lib_var=no" 
    2705 fi 
    2706 rm -f conftest* 
    2707 LIBS="$ac_save_LIBS" 
    2708  
    2709 fi 
    2710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    2711   echo "$ac_t""yes" 1>&6 
    2712     ac_tr_lib=HAVE_LIB`echo dv | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 
    2713     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 
    2714   cat >> confdefs.h <<EOF 
    2715 #define $ac_tr_lib 1 
    2716 EOF 
     5475cat >conftest.$ac_ext <<_ACEOF 
     5476/* confdefs.h.  */ 
     5477_ACEOF 
     5478cat confdefs.h >>conftest.$ac_ext 
     5479cat >>conftest.$ac_ext <<_ACEOF 
     5480/* end confdefs.h.  */ 
     5481 
     5482 
     5483int 
     5484main () 
     5485{ 
     5486main (); 
     5487  ; 
     5488  return 0; 
     5489} 
     5490_ACEOF 
     5491rm -f conftest.$ac_objext conftest$ac_exeext 
     5492if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     5493  (eval $ac_link) 2>conftest.er1 
     5494  ac_status=$? 
     5495  grep -v '^ *+' conftest.er1 >conftest.err 
     5496  rm -f conftest.er1 
     5497  cat conftest.err >&5 
     5498  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5499  (exit $ac_status); } && 
     5500         { ac_try='test -z "$ac_c_werror_flag" 
     5501                         || test ! -s conftest.err' 
     5502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5503  (eval $ac_try) 2>&5 
     5504  ac_status=$? 
     5505  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5506  (exit $ac_status); }; } && 
     5507         { ac_try='test -s conftest$ac_exeext' 
     5508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5509  (eval $ac_try) 2>&5 
     5510  ac_status=$? 
     5511  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5512  (exit $ac_status); }; }; then 
     5513  ac_cv_lib_dv_main=yes 
     5514else 
     5515  echo "$as_me: failed program was:" >&5 
     5516sed 's/^/| /' conftest.$ac_ext >&5 
     5517 
     5518ac_cv_lib_dv_main=no 
     5519fi 
     5520rm -f conftest.err conftest.$ac_objext \ 
     5521      conftest$ac_exeext conftest.$ac_ext 
     5522LIBS=$ac_check_lib_save_LIBS 
     5523fi 
     5524echo "$as_me:$LINENO: result: $ac_cv_lib_dv_main" >&5 
     5525echo "${ECHO_T}$ac_cv_lib_dv_main" >&6 
     5526if test $ac_cv_lib_dv_main = yes; then 
     5527  cat >>confdefs.h <<_ACEOF 
     5528#define HAVE_LIBDV 1 
     5529_ACEOF 
    27175530 
    27185531  LIBS="-ldv $LIBS" 
    27195532 
    27205533else 
    2721   echo "$ac_t""no" 1>&6 
    27225534 
    27235535      echo "Error! libdv not available. Please install libdv." 
    27245536      exit 1 
    2725        
    2726 fi 
    2727  
    2728    for ac_hdr in libdv/dv.h 
     5537 
     5538fi 
     5539 
     5540 
     5541for ac_header in libdv/dv.h 
    27295542do 
    2730 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    2731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    2732 echo "configure:2733: checking for $ac_hdr" >&5 
    2733 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    2734   echo $ac_n "(cached) $ac_c" 1>&6 
    2735 else 
    2736   cat > conftest.$ac_ext <<EOF 
    2737 #line 2738 "configure" 
    2738 #include "confdefs.h" 
    2739 #include <$ac_hdr> 
    2740 EOF 
    2741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    2742 { (eval echo configure:2743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    2743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    2744 if test -z "$ac_err"; then 
    2745   rm -rf conftest* 
    2746   eval "ac_cv_header_$ac_safe=yes" 
    2747 else 
    2748   echo "$ac_err" >&5 
    2749   echo "configure: failed program was:" >&5 
    2750   cat conftest.$ac_ext >&5 
    2751   rm -rf conftest* 
    2752   eval "ac_cv_header_$ac_safe=no" 
    2753 fi 
    2754 rm -f conftest* 
    2755 fi 
    2756 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
    2757   echo "$ac_t""yes" 1>&6 
    2758     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
    2759   cat >> confdefs.h <<EOF 
    2760 #define $ac_tr_hdr 1 
    2761 EOF 
    2762   
    2763 else 
    2764   echo "$ac_t""no" 1>&6 
    2765 echo "Error! libdv/dv.h not found. Please install libdv developer package." 
     5543as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     5544if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     5545  echo "$as_me:$LINENO: checking for $ac_header" >&5 
     5546echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     5547if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     5548  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5549fi 
     5550echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     5551echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     5552else 
     5553  # Is the header compilable? 
     5554echo "$as_me:$LINENO: checking $ac_header usability" >&5 
     5555echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
     5556cat >conftest.$ac_ext <<_ACEOF 
     5557/* confdefs.h.  */ 
     5558_ACEOF 
     5559cat confdefs.h >>conftest.$ac_ext 
     5560cat >>conftest.$ac_ext <<_ACEOF 
     5561/* end confdefs.h.  */ 
     5562$ac_includes_default 
     5563#include <$ac_header> 
     5564_ACEOF 
     5565rm -f conftest.$ac_objext 
     5566if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     5567  (eval $ac_compile) 2>conftest.er1 
     5568  ac_status=$? 
     5569  grep -v '^ *+' conftest.er1 >conftest.err 
     5570  rm -f conftest.er1 
     5571  cat conftest.err >&5 
     5572  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5573  (exit $ac_status); } && 
     5574         { ac_try='test -z "$ac_c_werror_flag" 
     5575                         || test ! -s conftest.err' 
     5576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5577  (eval $ac_try) 2>&5 
     5578  ac_status=$? 
     5579  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5580  (exit $ac_status); }; } && 
     5581         { ac_try='test -s conftest.$ac_objext' 
     5582  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5583  (eval $ac_try) 2>&5 
     5584  ac_status=$? 
     5585  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5586  (exit $ac_status); }; }; then 
     5587  ac_header_compiler=yes 
     5588else 
     5589  echo "$as_me: failed program was:" >&5 
     5590sed 's/^/| /' conftest.$ac_ext >&5 
     5591 
     5592ac_header_compiler=no 
     5593fi 
     5594rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     5595echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     5596echo "${ECHO_T}$ac_header_compiler" >&6 
     5597 
     5598# Is the header present? 
     5599echo "$as_me:$LINENO: checking $ac_header presence" >&5 
     5600echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
     5601cat >conftest.$ac_ext <<_ACEOF 
     5602/* confdefs.h.  */ 
     5603_ACEOF 
     5604cat confdefs.h >>conftest.$ac_ext 
     5605cat >>conftest.$ac_ext <<_ACEOF 
     5606/* end confdefs.h.  */ 
     5607#include <$ac_header> 
     5608_ACEOF 
     5609if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     5610  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     5611  ac_status=$? 
     5612  grep -v '^ *+' conftest.er1 >conftest.err 
     5613  rm -f conftest.er1 
     5614  cat conftest.err >&5 
     5615  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5616  (exit $ac_status); } >/dev/null; then 
     5617  if test -s conftest.err; then 
     5618    ac_cpp_err=$ac_c_preproc_warn_flag 
     5619    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     5620  else 
     5621    ac_cpp_err= 
     5622  fi 
     5623else